xframelib 0.7.3 → 0.7.6

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 (72) hide show
  1. package/README.md +23 -18
  2. package/dist/api/Token.d.ts +15 -15
  3. package/dist/api/User.d.ts +49 -49
  4. package/dist/api/index.d.ts +2 -2
  5. package/dist/assets/output-ad5f5cbf.css +307 -0
  6. package/dist/controls/collapsepanel/VCollapsiblePanel.vue.d.ts +27 -27
  7. package/dist/controls/collapsepanel/VCollapsiblePanelGroup.vue.d.ts +33 -33
  8. package/dist/controls/collapsepanel/color.util.d.ts +1 -1
  9. package/dist/controls/collapsepanel/composables/store.d.ts +7 -7
  10. package/dist/controls/collapsepanel/constant.d.ts +1 -1
  11. package/dist/controls/collapsepanel/index.d.ts +3 -3
  12. package/dist/controls/layoutcontainer/LayoutManager.d.ts +133 -112
  13. package/dist/controls/layoutcontainer/index.d.ts +3 -3
  14. package/dist/controls/layoutcontainer/layout.vue.d.ts +61 -60
  15. package/dist/controls/splitpanes/index.d.ts +3 -3
  16. package/dist/controls/vuewindow/SinglePointerEvent.d.ts +23 -23
  17. package/dist/controls/vuewindow/dom.d.ts +16 -16
  18. package/dist/controls/vuewindow/draggable_helper.d.ts +20 -20
  19. package/dist/controls/vuewindow/index.d.ts +6 -6
  20. package/dist/controls/vuewindow/resizable_helper.d.ts +16 -16
  21. package/dist/controls/vuewindow/style.d.ts +110 -110
  22. package/dist/controls/vuewindow/window/Button.vue.d.ts +29 -29
  23. package/dist/controls/vuewindow/window/index.vue.d.ts +211 -211
  24. package/dist/controls/vuewindow/window/utils.d.ts +17 -17
  25. package/dist/controls/vuewindow/z_element.d.ts +11 -11
  26. package/dist/core/Global.d.ts +2 -2
  27. package/dist/core/IModel.d.ts +46 -46
  28. package/dist/core/Init.d.ts +20 -20
  29. package/dist/core/MsgHelper.d.ts +13 -13
  30. package/dist/core/SysEvents.d.ts +24 -24
  31. package/dist/core/index.d.ts +4 -4
  32. package/dist/hprose/HproseClient.d.ts +20 -20
  33. package/dist/hprose/ProxyClient.d.ts +39 -39
  34. package/dist/hprose/index.d.ts +11 -11
  35. package/dist/index.cjs +10 -5
  36. package/dist/index.css +96 -81
  37. package/dist/index.d.ts +11 -11
  38. package/dist/index.js +10 -5
  39. package/dist/mitt/index.d.ts +25 -25
  40. package/dist/model/Config.d.ts +151 -151
  41. package/dist/model/Constants.d.ts +19 -19
  42. package/dist/model/IRole.d.ts +89 -89
  43. package/dist/model/IUserModel.d.ts +67 -67
  44. package/dist/model/Layout.d.ts +83 -83
  45. package/dist/model/index.d.ts +5 -5
  46. package/dist/permission/RoleSysRightHelper.d.ts +27 -27
  47. package/dist/permission/filter.d.ts +45 -45
  48. package/dist/permission/index.d.ts +4 -4
  49. package/dist/permission/register.d.ts +24 -24
  50. package/dist/permission/right.d.ts +15 -15
  51. package/dist/utils/AxiosHelper.d.ts +58 -58
  52. package/dist/utils/BigFileDownload.d.ts +117 -117
  53. package/dist/utils/CodeHelper.d.ts +14 -14
  54. package/dist/utils/Color.d.ts +74 -74
  55. package/dist/utils/FileDownload.d.ts +36 -36
  56. package/dist/utils/FileUpload.d.ts +90 -90
  57. package/dist/utils/H5Tool.d.ts +158 -150
  58. package/dist/utils/IsTool.d.ts +101 -101
  59. package/dist/utils/JQuery.d.ts +41 -41
  60. package/dist/utils/LockHelper.d.ts +17 -17
  61. package/dist/utils/SignalRClient.d.ts +8 -8
  62. package/dist/utils/Storage.d.ts +66 -66
  63. package/dist/utils/StringUtils.d.ts +15 -15
  64. package/dist/utils/Time.d.ts +11 -11
  65. package/dist/utils/TokenHelper.d.ts +18 -18
  66. package/dist/utils/URLTool.d.ts +18 -18
  67. package/dist/utils/ValidateTool.d.ts +149 -149
  68. package/dist/utils/WaterMark.d.ts +10 -10
  69. package/dist/utils/XXTEA.d.ts +15 -15
  70. package/dist/utils/index.d.ts +21 -21
  71. package/dist/utils/uuid.d.ts +3 -3
  72. package/package.json +19 -19
@@ -1,66 +1,66 @@
1
- /**
2
- * 创建本地缓存对象
3
- */
4
- declare class StorageHelper {
5
- private prefixKey;
6
- private storage;
7
- constructor(prefixKey?: string, storage?: Storage);
8
- private getKey;
9
- /**
10
- * @description 设置缓存
11
- * @param {string} key 缓存键
12
- * @param {*} value 缓存值
13
- * @param expire 超时时间为秒
14
- */
15
- set(key: string, value: any, expire?: number | null): void;
16
- /**
17
- * 读取缓存
18
- * @param {string} key 缓存键
19
- * @param {*=} def 默认值
20
- */
21
- get(key: string, def?: any): any;
22
- /**
23
- * 获取存储对象,带expire属性
24
- * 返回:
25
- * {
26
- * value:any,
27
- * expire:null|Time
28
- * }
29
- */
30
- getJsonObject(key: string): any;
31
- /**
32
- * 从缓存删除某项
33
- * @param {string} key
34
- */
35
- remove(key: string): void;
36
- /**
37
- * 清空所有缓存
38
- * @memberOf Cache
39
- */
40
- clear(): void;
41
- /**
42
- * 设置cookie
43
- * @param {string} name cookie 名称
44
- * @param {*} value cookie 值
45
- * @param {number=} expire 过期时间
46
- * 如果过期时间为设置,默认关闭浏览器自动删除
47
- * @example
48
- */
49
- setCookie(name: string, value: any, expire?: number | null): void;
50
- /**
51
- * 根据名字获取cookie值
52
- * @param name
53
- */
54
- getCookie(name: string): string;
55
- /**
56
- * 根据名字删除指定的cookie
57
- * @param {string} key
58
- */
59
- removeCookie(key: string): void;
60
- /**
61
- * 清空cookie,使所有cookie失效
62
- */
63
- clearCookie(): void;
64
- }
65
- export declare const storage: StorageHelper;
66
- export default StorageHelper;
1
+ /**
2
+ * 创建本地缓存对象
3
+ */
4
+ declare class StorageHelper {
5
+ private prefixKey;
6
+ private storage;
7
+ constructor(prefixKey?: string, storage?: Storage);
8
+ private getKey;
9
+ /**
10
+ * @description 设置缓存
11
+ * @param {string} key 缓存键
12
+ * @param {*} value 缓存值
13
+ * @param expire 超时时间为秒
14
+ */
15
+ set(key: string, value: any, expire?: number | null): void;
16
+ /**
17
+ * 读取缓存
18
+ * @param {string} key 缓存键
19
+ * @param {*=} def 默认值
20
+ */
21
+ get(key: string, def?: any): any;
22
+ /**
23
+ * 获取存储对象,带expire属性
24
+ * 返回:
25
+ * {
26
+ * value:any,
27
+ * expire:null|Time
28
+ * }
29
+ */
30
+ getJsonObject(key: string): any;
31
+ /**
32
+ * 从缓存删除某项
33
+ * @param {string} key
34
+ */
35
+ remove(key: string): void;
36
+ /**
37
+ * 清空所有缓存
38
+ * @memberOf Cache
39
+ */
40
+ clear(): void;
41
+ /**
42
+ * 设置cookie
43
+ * @param {string} name cookie 名称
44
+ * @param {*} value cookie 值
45
+ * @param {number=} expire 过期时间
46
+ * 如果过期时间为设置,默认关闭浏览器自动删除
47
+ * @example
48
+ */
49
+ setCookie(name: string, value: any, expire?: number | null): void;
50
+ /**
51
+ * 根据名字获取cookie值
52
+ * @param name
53
+ */
54
+ getCookie(name: string): string;
55
+ /**
56
+ * 根据名字删除指定的cookie
57
+ * @param {string} key
58
+ */
59
+ removeCookie(key: string): void;
60
+ /**
61
+ * 清空cookie,使所有cookie失效
62
+ */
63
+ clearCookie(): void;
64
+ }
65
+ export declare const storage: StorageHelper;
66
+ export default StorageHelper;
@@ -1,15 +1,15 @@
1
- declare class StringUtils {
2
- /**
3
- * 判断字符串是否为空或undefined,不判断为0,不判断为false
4
- * @param str
5
- * @returns {boolean}
6
- */
7
- static isNullOrEmpty: (str: any) => boolean;
8
- static isNotEmpty: (str: any) => boolean;
9
- /**
10
- * / _ - 转换成驼峰并将view替换成空字符串
11
- * @param {*} name name
12
- */
13
- static toHump(name: any): any;
14
- }
15
- export default StringUtils;
1
+ declare class StringUtils {
2
+ /**
3
+ * 判断字符串是否为空或undefined,不判断为0,不判断为false
4
+ * @param str
5
+ * @returns {boolean}
6
+ */
7
+ static isNullOrEmpty: (str: any) => boolean;
8
+ static isNotEmpty: (str: any) => boolean;
9
+ /**
10
+ * / _ - 转换成驼峰并将view替换成空字符串
11
+ * @param {*} name name
12
+ */
13
+ static toHump(name: any): any;
14
+ }
15
+ export default StringUtils;
@@ -1,11 +1,11 @@
1
- /**
2
- * 阻塞方式等待多少毫秒
3
- * @param milliseconds
4
- */
5
- export declare function sleep(milliseconds: number): void;
6
- /**
7
- * 异步等待多少毫秒
8
- * @param milliseconds
9
- * @returns
10
- */
11
- export declare function delay(milliseconds: number): Promise<unknown>;
1
+ /**
2
+ * 阻塞方式等待多少毫秒
3
+ * @param milliseconds
4
+ */
5
+ export declare function sleep(milliseconds: number): void;
6
+ /**
7
+ * 异步等待多少毫秒
8
+ * @param milliseconds
9
+ * @returns
10
+ */
11
+ export declare function delay(milliseconds: number): Promise<unknown>;
@@ -1,18 +1,18 @@
1
- import { ITokenInfo } from '../model/IUserModel';
2
- import StorageHelper from '../utils/Storage';
3
- export declare const storageHelper: StorageHelper;
4
- /**
5
- * 获取token中的授权Key
6
- * @returns
7
- */
8
- declare function getLocalToken(): ITokenInfo;
9
- /**
10
- * 清除本地Token
11
- */
12
- declare function clearLocalToken(): void;
13
- /**
14
- * 获得RefreshToken
15
- * @returns
16
- */
17
- declare function getRefreshToken(): string;
18
- export { getLocalToken, getRefreshToken, clearLocalToken };
1
+ import { ITokenInfo } from '../model/IUserModel';
2
+ import StorageHelper from '../utils/Storage';
3
+ export declare const storageHelper: StorageHelper;
4
+ /**
5
+ * 获取token中的授权Key
6
+ * @returns
7
+ */
8
+ declare function getLocalToken(): ITokenInfo;
9
+ /**
10
+ * 清除本地Token
11
+ */
12
+ declare function clearLocalToken(): void;
13
+ /**
14
+ * 获得RefreshToken
15
+ * @returns
16
+ */
17
+ declare function getRefreshToken(): string;
18
+ export { getLocalToken, getRefreshToken, clearLocalToken };
@@ -1,18 +1,18 @@
1
- /**
2
- * 将对象添加当作参数拼接到URL上面
3
- * @param baseUrl 需要拼接的url
4
- * @param obj 参数对象
5
- * @returns {string} 拼接后的对象
6
- * 例子:
7
- * let obj = {a: '3', b: '4'}
8
- * setObjToUrlParams('www.baidu.com', obj)
9
- * ==>www.baidu.com?a=3&b=4
10
- */
11
- export declare function ObjToUrlParams(baseUrl: string, obj: object): string;
12
- /**
13
- * 深入拷贝对象, 将target合并到src里
14
- * @param src 原始对象
15
- * @param target 要合并的对象
16
- * @returns 更新后的原始对象
17
- */
18
- export declare function deepMerge<T = any>(src?: any, target?: any): T;
1
+ /**
2
+ * 将对象添加当作参数拼接到URL上面
3
+ * @param baseUrl 需要拼接的url
4
+ * @param obj 参数对象
5
+ * @returns {string} 拼接后的对象
6
+ * 例子:
7
+ * let obj = {a: '3', b: '4'}
8
+ * setObjToUrlParams('www.baidu.com', obj)
9
+ * ==>www.baidu.com?a=3&b=4
10
+ */
11
+ export declare function ObjToUrlParams(baseUrl: string, obj: object): string;
12
+ /**
13
+ * 深入拷贝对象, 将target合并到src里
14
+ * @param src 原始对象
15
+ * @param target 要合并的对象
16
+ * @returns 更新后的原始对象
17
+ */
18
+ export declare function deepMerge<T = any>(src?: any, target?: any): T;
@@ -1,149 +1,149 @@
1
- /**
2
- * 2020.11.29 lyt 整理
3
- * 工具类集合,适用于平时开发
4
- * 新增多行注释信息,鼠标放到方法名即可查看
5
- */
6
- /**
7
- * 验证百分比(不可以小数)
8
- * @param val 当前值字符串
9
- * @returns 返回处理后的字符串
10
- */
11
- export declare function verifyNumberPercentage(val: string): string;
12
- /**
13
- * 验证百分比(可以小数)
14
- * @param val 当前值字符串
15
- * @returns 返回处理后的字符串
16
- */
17
- export declare function verifyNumberPercentageFloat(val: string): string;
18
- /**
19
- * 小数或整数(不可以负数)
20
- * @param val 当前值字符串
21
- * @returns 返回处理后的字符串
22
- */
23
- export declare function verifyNumberIntegerAndFloat(val: string): string;
24
- /**
25
- * 正整数验证
26
- * @param val 当前值字符串
27
- * @returns 返回处理后的字符串
28
- */
29
- export declare function verifiyNumberInteger(val: string): string;
30
- /**
31
- * 去掉中文及空格
32
- * @param val 当前值字符串
33
- * @returns 返回处理后的字符串
34
- */
35
- export declare function verifyCnAndSpace(val: string): string;
36
- /**
37
- * 去掉英文及空格
38
- * @param val 当前值字符串
39
- * @returns 返回处理后的字符串
40
- */
41
- export declare function verifyEnAndSpace(val: string): string;
42
- /**
43
- * 禁止输入空格
44
- * @param val 当前值字符串
45
- * @returns 返回处理后的字符串
46
- */
47
- export declare function verifyAndSpace(val: string): string;
48
- /**
49
- * 金额用 `,` 区分开
50
- * @param val 当前值字符串
51
- * @returns 返回处理后的字符串
52
- */
53
- export declare function verifyNumberComma(val: string): any;
54
- /**
55
- * 匹配文字变色(搜索时)
56
- * @param val 当前值字符串
57
- * @param text 要处理的字符串值
58
- * @param color 搜索到时字体高亮颜色
59
- * @returns 返回处理后的字符串
60
- */
61
- export declare function verifyTextColor(val: string, text?: string, color?: string): string;
62
- /**
63
- * 数字转中文大写
64
- * @param val 当前值字符串
65
- * @param unit 默认:仟佰拾亿仟佰拾万仟佰拾元角分
66
- * @returns 返回处理后的字符串
67
- */
68
- export declare function verifyNumberCnUppercase(val: any, unit?: string, v?: string): string;
69
- /**
70
- * 手机号码
71
- * @param val 当前值字符串
72
- * @returns 返回 true: 手机号码正确
73
- */
74
- export declare function verifyPhone(val: string): boolean;
75
- /**
76
- * 国内电话号码
77
- * @param val 当前值字符串
78
- * @returns 返回 true: 国内电话号码正确
79
- */
80
- export declare function verifyTelPhone(val: string): boolean;
81
- /**
82
- * 登录账号 (字母开头,允许5-16字节,允许字母数字下划线)
83
- * @param val 当前值字符串
84
- * @returns 返回 true: 登录账号正确
85
- */
86
- export declare function verifyAccount(val: string): boolean;
87
- /**
88
- * 密码 (以字母开头,长度在6~16之间,只能包含字母、数字和下划线)
89
- * @param val 当前值字符串
90
- * @returns 返回 true: 密码正确
91
- */
92
- export declare function verifyPassword(val: string): boolean;
93
- /**
94
- * 强密码 (字母+数字+特殊字符,长度在6-16之间)
95
- * @param val 当前值字符串
96
- * @returns 返回 true: 强密码正确
97
- */
98
- export declare function verifyPasswordPowerful(val: string): boolean;
99
- /**
100
- * 密码强度
101
- * @param val 当前值字符串
102
- * @description 弱:纯数字,纯字母,纯特殊字符
103
- * @description 中:字母+数字,字母+特殊字符,数字+特殊字符
104
- * @description 强:字母+数字+特殊字符
105
- * @returns 返回处理后的字符串:弱、中、强
106
- */
107
- export declare function verifyPasswordStrength(val: string): string;
108
- /**
109
- * IP地址
110
- * @param val 当前值字符串
111
- * @returns 返回 true: IP地址正确
112
- */
113
- export declare function verifyIPAddress(val: string): boolean;
114
- /**
115
- * 邮箱
116
- * @param val 当前值字符串
117
- * @returns 返回 true: 邮箱正确
118
- */
119
- export declare function verifyEmail(val: string): boolean;
120
- /**
121
- * 身份证
122
- * @param val 当前值字符串
123
- * @returns 返回 true: 身份证正确
124
- */
125
- export declare function verifyIdCard(val: string): boolean;
126
- /**
127
- * 姓名
128
- * @param val 当前值字符串
129
- * @returns 返回 true: 姓名正确
130
- */
131
- export declare function verifyFullName(val: string): boolean;
132
- /**
133
- * 邮政编码
134
- * @param val 当前值字符串
135
- * @returns 返回 true: 邮政编码正确
136
- */
137
- export declare function verifyPostalCode(val: string): boolean;
138
- /**
139
- * url 处理
140
- * @param val 当前值字符串
141
- * @returns 返回 true: url 正确
142
- */
143
- export declare function verifyUrl(val: string): boolean;
144
- /**
145
- * 车牌号
146
- * @param val 当前值字符串
147
- * @returns 返回 true:车牌号正确
148
- */
149
- export declare function verifyCarNum(val: string): boolean;
1
+ /**
2
+ * 2020.11.29 lyt 整理
3
+ * 工具类集合,适用于平时开发
4
+ * 新增多行注释信息,鼠标放到方法名即可查看
5
+ */
6
+ /**
7
+ * 验证百分比(不可以小数)
8
+ * @param val 当前值字符串
9
+ * @returns 返回处理后的字符串
10
+ */
11
+ export declare function verifyNumberPercentage(val: string): string;
12
+ /**
13
+ * 验证百分比(可以小数)
14
+ * @param val 当前值字符串
15
+ * @returns 返回处理后的字符串
16
+ */
17
+ export declare function verifyNumberPercentageFloat(val: string): string;
18
+ /**
19
+ * 小数或整数(不可以负数)
20
+ * @param val 当前值字符串
21
+ * @returns 返回处理后的字符串
22
+ */
23
+ export declare function verifyNumberIntegerAndFloat(val: string): string;
24
+ /**
25
+ * 正整数验证
26
+ * @param val 当前值字符串
27
+ * @returns 返回处理后的字符串
28
+ */
29
+ export declare function verifiyNumberInteger(val: string): string;
30
+ /**
31
+ * 去掉中文及空格
32
+ * @param val 当前值字符串
33
+ * @returns 返回处理后的字符串
34
+ */
35
+ export declare function verifyCnAndSpace(val: string): string;
36
+ /**
37
+ * 去掉英文及空格
38
+ * @param val 当前值字符串
39
+ * @returns 返回处理后的字符串
40
+ */
41
+ export declare function verifyEnAndSpace(val: string): string;
42
+ /**
43
+ * 禁止输入空格
44
+ * @param val 当前值字符串
45
+ * @returns 返回处理后的字符串
46
+ */
47
+ export declare function verifyAndSpace(val: string): string;
48
+ /**
49
+ * 金额用 `,` 区分开
50
+ * @param val 当前值字符串
51
+ * @returns 返回处理后的字符串
52
+ */
53
+ export declare function verifyNumberComma(val: string): any;
54
+ /**
55
+ * 匹配文字变色(搜索时)
56
+ * @param val 当前值字符串
57
+ * @param text 要处理的字符串值
58
+ * @param color 搜索到时字体高亮颜色
59
+ * @returns 返回处理后的字符串
60
+ */
61
+ export declare function verifyTextColor(val: string, text?: string, color?: string): string;
62
+ /**
63
+ * 数字转中文大写
64
+ * @param val 当前值字符串
65
+ * @param unit 默认:仟佰拾亿仟佰拾万仟佰拾元角分
66
+ * @returns 返回处理后的字符串
67
+ */
68
+ export declare function verifyNumberCnUppercase(val: any, unit?: string, v?: string): string;
69
+ /**
70
+ * 手机号码
71
+ * @param val 当前值字符串
72
+ * @returns 返回 true: 手机号码正确
73
+ */
74
+ export declare function verifyPhone(val: string): boolean;
75
+ /**
76
+ * 国内电话号码
77
+ * @param val 当前值字符串
78
+ * @returns 返回 true: 国内电话号码正确
79
+ */
80
+ export declare function verifyTelPhone(val: string): boolean;
81
+ /**
82
+ * 登录账号 (字母开头,允许5-16字节,允许字母数字下划线)
83
+ * @param val 当前值字符串
84
+ * @returns 返回 true: 登录账号正确
85
+ */
86
+ export declare function verifyAccount(val: string): boolean;
87
+ /**
88
+ * 密码 (以字母开头,长度在6~16之间,只能包含字母、数字和下划线)
89
+ * @param val 当前值字符串
90
+ * @returns 返回 true: 密码正确
91
+ */
92
+ export declare function verifyPassword(val: string): boolean;
93
+ /**
94
+ * 强密码 (字母+数字+特殊字符,长度在6-16之间)
95
+ * @param val 当前值字符串
96
+ * @returns 返回 true: 强密码正确
97
+ */
98
+ export declare function verifyPasswordPowerful(val: string): boolean;
99
+ /**
100
+ * 密码强度
101
+ * @param val 当前值字符串
102
+ * @description 弱:纯数字,纯字母,纯特殊字符
103
+ * @description 中:字母+数字,字母+特殊字符,数字+特殊字符
104
+ * @description 强:字母+数字+特殊字符
105
+ * @returns 返回处理后的字符串:弱、中、强
106
+ */
107
+ export declare function verifyPasswordStrength(val: string): string;
108
+ /**
109
+ * IP地址
110
+ * @param val 当前值字符串
111
+ * @returns 返回 true: IP地址正确
112
+ */
113
+ export declare function verifyIPAddress(val: string): boolean;
114
+ /**
115
+ * 邮箱
116
+ * @param val 当前值字符串
117
+ * @returns 返回 true: 邮箱正确
118
+ */
119
+ export declare function verifyEmail(val: string): boolean;
120
+ /**
121
+ * 身份证
122
+ * @param val 当前值字符串
123
+ * @returns 返回 true: 身份证正确
124
+ */
125
+ export declare function verifyIdCard(val: string): boolean;
126
+ /**
127
+ * 姓名
128
+ * @param val 当前值字符串
129
+ * @returns 返回 true: 姓名正确
130
+ */
131
+ export declare function verifyFullName(val: string): boolean;
132
+ /**
133
+ * 邮政编码
134
+ * @param val 当前值字符串
135
+ * @returns 返回 true: 邮政编码正确
136
+ */
137
+ export declare function verifyPostalCode(val: string): boolean;
138
+ /**
139
+ * url 处理
140
+ * @param val 当前值字符串
141
+ * @returns 返回 true: url 正确
142
+ */
143
+ export declare function verifyUrl(val: string): boolean;
144
+ /**
145
+ * 车牌号
146
+ * @param val 当前值字符串
147
+ * @returns 返回 true:车牌号正确
148
+ */
149
+ export declare function verifyCarNum(val: string): boolean;
@@ -1,10 +1,10 @@
1
- /**
2
- * 页面添加水印效果
3
- * @method set 设置水印
4
- * @method del 删除水印
5
- */
6
- declare const watermark: {
7
- set: (str: string) => void;
8
- del: () => void;
9
- };
10
- export default watermark;
1
+ /**
2
+ * 页面添加水印效果
3
+ * @method set 设置水印
4
+ * @method del 删除水印
5
+ */
6
+ declare const watermark: {
7
+ set: (str: string) => void;
8
+ del: () => void;
9
+ };
10
+ export default watermark;
@@ -1,15 +1,15 @@
1
- declare function toBytes(str: any): Uint8Array;
2
- declare function toString(bytes: any): string;
3
- declare function encrypt(data: any, key: any): any;
4
- declare function encryptToString(data: any, key: any): string;
5
- declare function decrypt(data: any, key: any): any;
6
- declare function decryptToString(data: any, key: any): string;
7
- declare const XXTEA: {
8
- toBytes: typeof toBytes;
9
- toString: typeof toString;
10
- encrypt: typeof encrypt;
11
- encryptToString: typeof encryptToString;
12
- decrypt: typeof decrypt;
13
- decryptToString: typeof decryptToString;
14
- };
15
- export default XXTEA;
1
+ declare function toBytes(str: any): Uint8Array;
2
+ declare function toString(bytes: any): string;
3
+ declare function encrypt(data: any, key: any): any;
4
+ declare function encryptToString(data: any, key: any): string;
5
+ declare function decrypt(data: any, key: any): any;
6
+ declare function decryptToString(data: any, key: any): string;
7
+ declare const XXTEA: {
8
+ toBytes: typeof toBytes;
9
+ toString: typeof toString;
10
+ encrypt: typeof encrypt;
11
+ encryptToString: typeof encryptToString;
12
+ decrypt: typeof decrypt;
13
+ decryptToString: typeof decryptToString;
14
+ };
15
+ export default XXTEA;
@@ -1,21 +1,21 @@
1
- import H5Tool from './H5Tool';
2
- import StringUtils from './StringUtils';
3
- import StorageHelper, { storage } from './Storage';
4
- import uuid, { newGuid } from './uuid';
5
- export * from './Color';
6
- export * from './FileDownload';
7
- export * from './Time';
8
- export * from './AxiosHelper';
9
- export * from './TokenHelper';
10
- export * from './FileUpload';
11
- export * from './JQuery';
12
- export * from './LockHelper';
13
- export * from './BigFileDownload';
14
- export * from './IsTool';
15
- export * from './URLTool';
16
- export * from './CodeHelper';
17
- export * from './ValidateTool';
18
- import XXTEA from './XXTEA';
19
- import WaterMark from './WaterMark';
20
- import { GetSignalRClient } from './SignalRClient';
21
- export { GetSignalRClient, WaterMark, XXTEA, H5Tool, StringUtils, StorageHelper as Storage, storage, uuid, newGuid };
1
+ import H5Tool from './H5Tool';
2
+ import StringUtils from './StringUtils';
3
+ import StorageHelper, { storage } from './Storage';
4
+ import uuid, { newGuid } from './uuid';
5
+ export * from './Color';
6
+ export * from './FileDownload';
7
+ export * from './Time';
8
+ export * from './AxiosHelper';
9
+ export * from './TokenHelper';
10
+ export * from './FileUpload';
11
+ export * from './JQuery';
12
+ export * from './LockHelper';
13
+ export * from './BigFileDownload';
14
+ export * from './IsTool';
15
+ export * from './URLTool';
16
+ export * from './CodeHelper';
17
+ export * from './ValidateTool';
18
+ import XXTEA from './XXTEA';
19
+ import WaterMark from './WaterMark';
20
+ import { GetSignalRClient } from './SignalrClient';
21
+ export { GetSignalRClient, WaterMark, XXTEA, H5Tool, StringUtils, StorageHelper as Storage, storage, uuid, newGuid };
@@ -1,3 +1,3 @@
1
- export default function uuid(): string;
2
- export declare function newGuid(): string;
3
- export declare function shortUUID(prefix?: string): string;
1
+ export default function uuid(): string;
2
+ export declare function newGuid(): string;
3
+ export declare function shortUUID(prefix?: string): string;