@indfnd/utils 0.1.39 → 0.1.40
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/CHANGELOG.md +7 -0
- package/dist/ind-utils.es.js +173 -84
- package/dist/ind-utils.umd.cjs +17 -17
- package/package.json +1 -1
- package/src/utils/token.ts +23 -11
- package/types/api/com.d.ts +2 -4
- package/types/api/index-desc.d.ts +2 -4
- package/types/api/index.d.ts +7 -7
- package/types/api/item.d.ts +4 -6
- package/types/api/permission.d.ts +2 -2
- package/types/api/platform/base64.d.ts +5 -5
- package/types/api/platform/config.d.ts +2 -2
- package/types/api/platform/dict.d.ts +4 -6
- package/types/api/platform/index.d.ts +6 -6
- package/types/api/platform/menu.d.ts +11 -21
- package/types/api/platform/oss.d.ts +8 -16
- package/types/api/platform/user.d.ts +12 -19
- package/types/api/user.d.ts +2 -2
- package/types/config/base.config.d.ts +33 -33
- package/types/config/dev.config.d.ts +3 -3
- package/types/config/index.d.ts +6 -6
- package/types/config/prod.config.d.ts +3 -3
- package/types/index.d.ts +4 -4
- package/types/utils/base64.d.ts +22 -22
- package/types/utils/blob.d.ts +3 -3
- package/types/utils/cache/dict-cache.d.ts +3 -3
- package/types/utils/cache/index-desc.d.ts +4 -4
- package/types/utils/cache/index.d.ts +4 -4
- package/types/utils/cache/permission-cache.d.ts +4 -4
- package/types/utils/cache/user-cache.d.ts +4 -4
- package/types/utils/date.d.ts +4 -4
- package/types/utils/enum.d.ts +39 -43
- package/types/utils/event.d.ts +5 -13
- package/types/utils/excel.d.ts +5 -5
- package/types/utils/half-year.d.ts +6 -6
- package/types/utils/index.d.ts +20 -20
- package/types/utils/is-type.d.ts +33 -33
- package/types/utils/mime-type.d.ts +67 -67
- package/types/utils/number.d.ts +8 -8
- package/types/utils/quarter.d.ts +7 -7
- package/types/utils/request/axios.extends.d.ts +6 -18
- package/types/utils/request/cache-rules.d.ts +3 -3
- package/types/utils/request/content-type.d.ts +9 -9
- package/types/utils/request/index.d.ts +9 -9
- package/types/utils/request/interceptors.d.ts +4 -4
- package/types/utils/request/url-params.d.ts +6 -6
- package/types/utils/sm3/index.d.ts +6 -6
- package/types/utils/sm3/sm3.d.ts +3 -3
- package/types/utils/storage.d.ts +8 -8
- package/types/utils/table.d.ts +31 -40
- package/types/utils/token.d.ts +3 -3
- package/types/utils/token.d.ts.map +1 -1
- package/types/utils/uuid.d.ts +4 -4
- package/types/utils/validate.d.ts +5 -5
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare function checkIdCard(idcard: string): string
|
|
2
|
-
export declare function checkPhone(str: string): boolean
|
|
1
|
+
export declare function checkIdCard(idcard: string): string;
|
|
2
|
+
export declare function checkPhone(str: string): boolean;
|
|
3
3
|
/**
|
|
4
4
|
* 校验电话号码是否正确
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
|
-
export declare function checkTel(val: any): boolean
|
|
8
|
-
export declare function checkVehicleNo(str: string): boolean
|
|
9
|
-
//# sourceMappingURL=validate.d.ts.map
|
|
7
|
+
export declare function checkTel(val: any): boolean;
|
|
8
|
+
export declare function checkVehicleNo(str: string): boolean;
|
|
9
|
+
//# sourceMappingURL=validate.d.ts.map
|