@vft/constants 0.0.57 → 0.0.59

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