hs-admin-ui 3.0.4 → 3.0.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.
- package/dist/types/components/business/bcForm/baseForm.vue.d.ts +39 -0
- package/dist/types/components/business/bcForm/bcForm.vue.d.ts +37 -0
- package/dist/types/components/business/bcForm/type.d.ts +16 -0
- package/dist/types/components/business/bcFormTable/bcFormTable.vue.d.ts +101 -0
- package/dist/types/components/business/bcFormTable/bcTable.vue.d.ts +32 -0
- package/dist/types/components/business/bcFormTable/components/contextBody/contextBody.vue.d.ts +45 -0
- package/dist/types/components/business/bcFormTable/components/contextBody/useContextMenu.d.ts +20 -0
- package/dist/types/components/business/bcFormTable/components/form/components/sortForm/index.d.ts +2 -0
- package/dist/types/components/business/bcFormTable/components/form/components/sortForm/sortForm.vue.d.ts +19 -0
- package/dist/types/components/business/bcFormTable/components/form/formSearchBtn.vue.d.ts +76 -0
- package/dist/types/components/business/bcFormTable/components/index.d.ts +6 -0
- package/dist/types/components/business/bcFormTable/components/table/components/sortColumn/index.d.ts +2 -0
- package/dist/types/components/business/bcFormTable/components/table/components/sortColumn/sortColumn.vue.d.ts +21 -0
- package/dist/types/components/business/bcFormTable/components/table/table.vue.d.ts +59 -0
- package/dist/types/components/business/bcFormTable/components/table/useTable.d.ts +16 -0
- package/dist/types/components/business/bcFormTable/components/table/useTableHeight.d.ts +11 -0
- package/dist/types/components/business/bcFormTable/components/tabs/tabs.vue.d.ts +25 -0
- package/dist/types/components/business/bcFormTable/methods/cellDetailMethod.d.ts +3 -0
- package/dist/types/components/business/bcFormTable/methods/filterAgeMethod.d.ts +3 -0
- package/dist/types/components/business/bcFormTable/methods/footerMethod.d.ts +4 -0
- package/dist/types/components/business/bcFormTable/methods/formBtnMethod.d.ts +8 -0
- package/dist/types/components/business/bcFormTable/methods/index.d.ts +2 -0
- package/dist/types/components/business/bcFormTable/utils/exportSelected.d.ts +11 -0
- package/dist/types/components/business/bcFormTable/utils/onFormKey.d.ts +17 -0
- package/dist/types/components/business/bcFormTable/utils/onTableKey.d.ts +17 -0
- package/dist/types/components/business/bcFormTable/utils/parseTable.d.ts +108 -0
- package/dist/types/components/business/bcFormTable/utils/store.d.ts +2937 -0
- package/dist/types/components/business/bcFormTable/utils/useButon.d.ts +13 -0
- package/dist/types/components/business/bcFormTable/utils/useTableHeight.d.ts +14 -0
- package/dist/types/utils/arrayOperation.d.ts +21 -0
- package/dist/types/utils/authFunction.d.ts +18 -0
- package/dist/types/utils/build.d.ts +12 -0
- package/dist/types/utils/common.d.ts +9 -0
- package/dist/types/utils/commonFunction.d.ts +18 -0
- package/dist/types/utils/device_info.d.ts +14 -0
- package/dist/types/utils/download.d.ts +6 -0
- package/dist/types/utils/formatTime.d.ts +37 -0
- package/dist/types/utils/getDataType.d.ts +9 -0
- package/dist/types/utils/getStyleSheets.d.ts +11 -0
- package/dist/types/utils/index.d.ts +21 -0
- package/dist/types/utils/loading.d.ts +10 -0
- package/dist/types/utils/mitt.d.ts +3 -0
- package/dist/types/utils/other.d.ts +75 -0
- package/dist/types/utils/request/index.d.ts +2 -0
- package/dist/types/utils/request/interceptors/request/authorization.interceptor.d.ts +4 -0
- package/dist/types/utils/request/interceptors/request/index.d.ts +2 -0
- package/dist/types/utils/request/interceptors/request/result.type.interceptor.d.ts +4 -0
- package/dist/types/utils/request/interceptors/request/undefined-params-handler.interceptor.d.ts +13 -0
- package/dist/types/utils/request/interceptors/response/error-handler.interceptor.d.ts +4 -0
- package/dist/types/utils/request/interceptors/response/index.d.ts +2 -0
- package/dist/types/utils/request/request.d.ts +6 -0
- package/dist/types/utils/request2.d.ts +3 -0
- package/dist/types/utils/setIconfont.d.ts +11 -0
- package/dist/types/utils/showMessage.d.ts +6 -0
- package/dist/types/utils/showMessageBox.d.ts +6 -0
- package/dist/types/utils/showNotification.d.ts +6 -0
- package/dist/types/utils/showPopup/index.d.ts +35 -0
- package/dist/types/utils/storage.d.ts +84 -0
- package/dist/types/utils/theme.d.ts +13 -0
- package/dist/types/utils/toolsValidate.d.ts +149 -0
- package/dist/types/utils/watermark.d.ts +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 2020.11.29 lyt 整理
|
|
3
|
+
* 工具类集合,适用于平时开发
|
|
4
|
+
* 新增多行注释信息,鼠标放到方法名即可查看
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* 小数或整数(不可以负数)
|
|
8
|
+
* @param val 当前值字符串
|
|
9
|
+
* @returns 返回处理后的字符串
|
|
10
|
+
*/
|
|
11
|
+
export declare function verifyNumberIntegerAndFloat(val: string): string;
|
|
12
|
+
/**
|
|
13
|
+
* 验证百分比(不可以小数)
|
|
14
|
+
* @param val 当前值字符串
|
|
15
|
+
* @returns 返回处理后的字符串
|
|
16
|
+
*/
|
|
17
|
+
export declare function verifyNumberPercentage(val: string): string;
|
|
18
|
+
/**
|
|
19
|
+
* 验证百分比(可以小数)
|
|
20
|
+
* @param val 当前值字符串
|
|
21
|
+
* @returns 返回处理后的字符串
|
|
22
|
+
*/
|
|
23
|
+
export declare function verifyNumberPercentageFloat(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;
|