dlzn-ui 2.0.75 → 2.0.76
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/constants/index.mjs +2 -2
- package/constants/regs.d.ts +1 -0
- package/constants/regs.mjs +2 -2
- package/package.json +1 -1
package/constants/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { passwordReg as e, passwordRegMessage as t,
|
|
2
|
-
export { e as passwordReg, t as passwordRegMessage, n as
|
|
1
|
+
import { passwordReg as e, passwordRegMessage as t, telReg as n, validDomainReg as r, validNumberStringReg as i } from "./regs.mjs";
|
|
2
|
+
export { e as passwordReg, t as passwordRegMessage, n as telReg, r as validDomainReg, i as validNumberStringReg };
|
package/constants/regs.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare const telReg: RegExp;
|
|
1
2
|
export declare const passwordReg: RegExp;
|
|
2
3
|
export declare const passwordRegMessage = "\u5BC6\u78018\u4F4D\u53CA\u4EE5\u4E0A\uFF0C\u542B\u5927\u5199\u5B57\u6BCD\u3001\u5C0F\u5199\u5B57\u6BCD\u3001\u6570\u5B57\u3001\u7279\u6B8A\u5B57\u7B26\u4E2D\u81F3\u5C11\u4E09\u7C7B";
|
|
3
4
|
export declare const validNumberStringReg: RegExp;
|
package/constants/regs.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
//#region ../../packages/dlzn-ui/constants/regs.ts
|
|
2
|
-
var e = /^(?=[!-~]{8,}$)(?:(?=.*[A-Z])(?=.*[a-z])(?=.*\d)|(?=.*[A-Z])(?=.*[a-z])(?=.*[^A-Za-z0-9])|(?=.*[A-Z])(?=.*\d)(?=.*[^A-Za-z0-9])|(?=.*[a-z])(?=.*\d)(?=.*[^A-Za-z0-9])).+$/,
|
|
2
|
+
var e = /^(?:(?:\+|00)86)?1\d{10}$/, t = /^(?=[!-~]{8,}$)(?:(?=.*[A-Z])(?=.*[a-z])(?=.*\d)|(?=.*[A-Z])(?=.*[a-z])(?=.*[^A-Za-z0-9])|(?=.*[A-Z])(?=.*\d)(?=.*[^A-Za-z0-9])|(?=.*[a-z])(?=.*\d)(?=.*[^A-Za-z0-9])).+$/, n = "密码8位及以上,含大写字母、小写字母、数字、特殊字符中至少三类", r = /^-?(?:0|[1-9]\d*)(?:\.\d+)?$/, i = /^([0-9a-z-]+\.)+([a-z]{2,})$/i;
|
|
3
3
|
//#endregion
|
|
4
|
-
export {
|
|
4
|
+
export { t as passwordReg, n as passwordRegMessage, e as telReg, i as validDomainReg, r as validNumberStringReg };
|