@vft/constants 0.0.57 → 0.0.58
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/cjs/index.cjs +1 -1
- package/dist/cjs/regular.cjs +1 -1
- package/dist/es/index.js +19 -19
- package/dist/es/regular.js +15 -15
- package/dist/regular.d.ts +11 -11
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./regular.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./regular.cjs"),g=require("./event-code.cjs"),E=require("./event.cjs"),p=require("./urls.cjs");exports.activityMobileRegExp=e.activityMobileRegExp;exports.activityNameRegExp=e.activityNameRegExp;exports.addressRegExp=e.addressRegExp;exports.checkCodeFourRegExp=e.checkCodeFourRegExp;exports.checkCodeSixRegExp=e.checkCodeSixRegExp;exports.emailRegExp=e.emailRegExp;exports.emojiRegExp=e.emojiRegExp;exports.imgUrlRegExp=e.imgUrlRegExp;exports.keywordCodeRegExp=e.keywordCodeRegExp;exports.mobileRegExp=e.mobileRegExp;exports.passwordRegExp=e.passwordRegExp;exports.pictureCodeRegExp=e.pictureCodeRegExp;exports.searchRegExp=e.searchRegExp;exports.videoUrlRegExp=e.videoUrlRegExp;exports.EVENT_CODE=g.EVENT_CODE;exports.CHANGE_EVENT=E.CHANGE_EVENT;exports.INPUT_EVENT=E.INPUT_EVENT;exports.UPDATE_MODEL_EVENT=E.UPDATE_MODEL_EVENT;exports.OFFICE_PREVIEW=p.OFFICE_PREVIEW;
|
package/dist/cjs/regular.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=/^1\d{10}$/,
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=/^1\d{10}$/,p=/^1[3-9]\d{9}$/,g=/^[\u4e00-\u9fa5]{2,6}$/,o=/^\d{4}$/,t=/^\d{6}$/,d=/(?=.*([a-z].*))(?=.*([A-Z].*))(?=.*[0-9].*)[a-zA-Z0-9-*/+.~!@#$%^&*()]{6,20}$/,c=/^\w{4}$/,s=/[\\\t\n]/g,i=/^(.*)\([A-z]{0,2}\d{5,10}\)$/,x=/^\w+[^\s]+(\.[^\s]+)+$/,E=/[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/,R=/(\ud83c[\udf00-\udfff])|(\ud83d[\udc00-\ude4f\ude80-\udeff])|[\u2600-\u2B55]/g,a=/^https?:\/\/(.+\/)+.+(\.(swf|avi|flv|mpg|rm|mov|wav|asf|3gp|mkv|rmvb|mp4))$/i,r=/^https?:\/\/(.+\/)+.+(\.(gif|png|jpg|jpeg|webp|svg|psd|bmp|tif))$/i;exports.activityMobileRegExp=p;exports.activityNameRegExp=g;exports.addressRegExp=x;exports.checkCodeFourRegExp=o;exports.checkCodeSixRegExp=t;exports.emailRegExp=E;exports.emojiRegExp=R;exports.imgUrlRegExp=r;exports.keywordCodeRegExp=i;exports.mobileRegExp=e;exports.passwordRegExp=d;exports.pictureCodeRegExp=c;exports.searchRegExp=s;exports.videoUrlRegExp=a;
|
package/dist/es/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { EVENT_CODE as
|
|
3
|
-
import { CHANGE_EVENT as
|
|
1
|
+
import { activityMobileRegExp as p, activityNameRegExp as o, addressRegExp as x, checkCodeFourRegExp as r, checkCodeSixRegExp as g, emailRegExp as R, emojiRegExp as i, imgUrlRegExp as d, keywordCodeRegExp as m, mobileRegExp as t, passwordRegExp as c, pictureCodeRegExp as a, searchRegExp as C, videoUrlRegExp as N } from "./regular.js";
|
|
2
|
+
import { EVENT_CODE as _ } from "./event-code.js";
|
|
3
|
+
import { CHANGE_EVENT as s, INPUT_EVENT as V, UPDATE_MODEL_EVENT as f } from "./event.js";
|
|
4
4
|
import { OFFICE_PREVIEW as h } from "./urls.js";
|
|
5
5
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
s as CHANGE_EVENT,
|
|
7
|
+
_ as EVENT_CODE,
|
|
8
8
|
V as INPUT_EVENT,
|
|
9
9
|
h as OFFICE_PREVIEW,
|
|
10
10
|
f as UPDATE_MODEL_EVENT,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
11
|
+
p as activityMobileRegExp,
|
|
12
|
+
o as activityNameRegExp,
|
|
13
|
+
x as addressRegExp,
|
|
14
|
+
r as checkCodeFourRegExp,
|
|
15
|
+
g as checkCodeSixRegExp,
|
|
16
|
+
R as emailRegExp,
|
|
17
|
+
i as emojiRegExp,
|
|
18
|
+
d as imgUrlRegExp,
|
|
19
|
+
m as keywordCodeRegExp,
|
|
20
|
+
t as mobileRegExp,
|
|
21
|
+
c as passwordRegExp,
|
|
22
|
+
a as pictureCodeRegExp,
|
|
23
|
+
C as searchRegExp,
|
|
24
|
+
N as videoUrlRegExp
|
|
25
25
|
};
|
package/dist/es/regular.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
const e = /^1\d{10}$/,
|
|
1
|
+
const e = /^1\d{10}$/, p = /^1[3-9]\d{9}$/, o = /^[\u4e00-\u9fa5]{2,6}$/, s = /^\d{4}$/, t = /^\d{6}$/, c = /(?=.*([a-z].*))(?=.*([A-Z].*))(?=.*[0-9].*)[a-zA-Z0-9-*/+.~!@#$%^&*()]{6,20}$/, d = /^\w{4}$/, g = /[\\\t\n]/g, i = /^(.*)\([A-z]{0,2}\d{5,10}\)$/, n = /^\w+[^\s]+(\.[^\s]+)+$/, x = /[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/, w = /(\ud83c[\udf00-\udfff])|(\ud83d[\udc00-\ude4f\ude80-\udeff])|[\u2600-\u2B55]/g, u = /^https?:\/\/(.+\/)+.+(\.(swf|avi|flv|mpg|rm|mov|wav|asf|3gp|mkv|rmvb|mp4))$/i, E = /^https?:\/\/(.+\/)+.+(\.(gif|png|jpg|jpeg|webp|svg|psd|bmp|tif))$/i;
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
e as
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
3
|
+
p as activityMobileRegExp,
|
|
4
|
+
o as activityNameRegExp,
|
|
5
|
+
n as addressRegExp,
|
|
6
|
+
s as checkCodeFourRegExp,
|
|
7
|
+
t as checkCodeSixRegExp,
|
|
8
|
+
x as emailRegExp,
|
|
9
|
+
w as emojiRegExp,
|
|
10
|
+
E as imgUrlRegExp,
|
|
11
|
+
i as keywordCodeRegExp,
|
|
12
|
+
e as mobileRegExp,
|
|
13
|
+
c as passwordRegExp,
|
|
14
|
+
d as pictureCodeRegExp,
|
|
15
|
+
g as searchRegExp,
|
|
16
|
+
u as videoUrlRegExp
|
|
17
17
|
};
|
package/dist/regular.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
1
|
+
export declare const mobileRegExp: RegExp;
|
|
2
|
+
export declare const activityMobileRegExp: RegExp;
|
|
3
|
+
export declare const activityNameRegExp: RegExp;
|
|
4
|
+
export declare const checkCodeFourRegExp: RegExp;
|
|
5
|
+
export declare const checkCodeSixRegExp: RegExp;
|
|
6
|
+
export declare const passwordRegExp: RegExp;
|
|
7
|
+
export declare const pictureCodeRegExp: RegExp;
|
|
8
8
|
export declare const searchRegExp: RegExp;
|
|
9
9
|
export declare const keywordCodeRegExp: RegExp;
|
|
10
|
-
export declare const
|
|
10
|
+
export declare const addressRegExp: RegExp;
|
|
11
11
|
export declare const emailRegExp: RegExp;
|
|
12
|
-
export declare const
|
|
13
|
-
export declare const
|
|
14
|
-
export declare const
|
|
12
|
+
export declare const emojiRegExp: RegExp;
|
|
13
|
+
export declare const videoUrlRegExp: RegExp;
|
|
14
|
+
export declare const imgUrlRegExp: RegExp;
|