@vft/constants 0.0.75 → 0.0.78
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/index.cjs +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=[`image/*`],t=[`audio/*`],n=[`video/*`],r=[`application/pdf`],i=[`.doc`,`.docx`,`application/msword`],a=[`.xls`,`.xlsx`,`.csv`,`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`,`application/vnd.ms-excel`],o=[`.ppt`,`.pptx`,`application/vnd.ms-powerpoint`],s=/^1[3-9]\d{9}$/,c=/^1\d{10}$/,l=/^[\u4e00-\u9fa5]{2,6}$/,u=/^\d{4}$/,d=/^\d{6}$/,f=/(?=.*([a-z].*))(?=.*([A-Z].*))(?=.*[0-9].*)[a-zA-Z0-9-*/+.~!@#$%^&*()]{6,20}$/,p=/^\w{4}$/,
|
|
1
|
+
const e=[`image/*`],t=[`audio/*`],n=[`video/*`],r=[`application/pdf`],i=[`.doc`,`.docx`,`application/msword`],a=[`.xls`,`.xlsx`,`.csv`,`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`,`application/vnd.ms-excel`],o=[`.ppt`,`.pptx`,`application/vnd.ms-powerpoint`],s=/^1[3-9]\d{9}$/,c=/^1\d{10}$/,l=/^[\u4e00-\u9fa5]{2,6}$/,u=/^\d{4}$/,d=/^\d{6}$/,f=/(?=.*([a-z].*))(?=.*([A-Z].*))(?=.*[0-9].*)[a-zA-Z0-9-*/+.~!@#$%^&*()]{6,20}$/,p=/^(?=.*[a-zA-Z])(?=.*[0-9])[a-zA-Z0-9-*/+.~!@#$%^&*()]{6,20}$/,m=/^\w{4}$/,h=/[\\\t\n]/g,g=/^(.*)\([A-z]{0,2}\d{5,10}\)$/,_=/^\w+[^\s]+(\.[^\s]+)+$/,v=/[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/,y=/(\ud83c[\udf00-\udfff])|(\ud83d[\udc00-\ude4f\ude80-\udeff])|[\u2600-\u2B55]/g,b=/^https?:\/\/(.+\/)+.+(\.(swf|avi|flv|mpg|rm|mov|wav|asf|3gp|mkv|rmvb|mp4))$/i,x=/^https?:\/\/(.+\/)+.+(\.(gif|png|jpg|jpeg|webp|svg|psd|bmp|tif))$/i,S={tab:`Tab`,enter:`Enter`,space:`Space`,left:`ArrowLeft`,up:`ArrowUp`,right:`ArrowRight`,down:`ArrowDown`,esc:`Escape`,delete:`Delete`,backspace:`Backspace`,numpadEnter:`NumpadEnter`,pageUp:`PageUp`,pageDown:`PageDown`,home:`Home`,end:`End`,metaLeft:`MetaLeft`},C=`update:modelValue`,w=`change`,T=`input`,E=`https://view.officeapps.live.com/op/view.aspx?src=`;exports.AUDIO_MIME=t,exports.CHANGE_EVENT=`change`,exports.EVENT_CODE=S,exports.EXCEL_MIME=a,exports.IMAGE_MIME=e,exports.INPUT_EVENT=`input`,exports.OfficePreview=`https://view.officeapps.live.com/op/view.aspx?src=`,exports.PDF_MIME=r,exports.PPT_MIME=o,exports.UPDATE_MODEL_EVENT=`update:modelValue`,exports.VIDEO_MIME=n,exports.WORD_MIME=i,exports.activityNameRegExp=l,exports.addressRegExp=_,exports.checkCodeFourRegExp=u,exports.checkCodeSixRegExp=d,exports.emailRegExp=v,exports.emojiRegExp=y,exports.imgUrlRegExp=x,exports.keywordCodeRegExp=g,exports.mobileRegExp=s,exports.mobileSimpleRegExp=c,exports.passwordRegExp=f,exports.pictureCodeRegExp=m,exports.searchRegExp=h,exports.simplePasswordRegExp=p,exports.videoUrlRegExp=b;
|
package/dist/index.d.cts
CHANGED
|
@@ -14,6 +14,7 @@ declare const activityNameRegExp: RegExp;
|
|
|
14
14
|
declare const checkCodeFourRegExp: RegExp;
|
|
15
15
|
declare const checkCodeSixRegExp: RegExp;
|
|
16
16
|
declare const passwordRegExp: RegExp;
|
|
17
|
+
declare const simplePasswordRegExp: RegExp;
|
|
17
18
|
declare const pictureCodeRegExp: RegExp;
|
|
18
19
|
declare const searchRegExp: RegExp;
|
|
19
20
|
declare const keywordCodeRegExp: RegExp;
|
|
@@ -51,4 +52,4 @@ declare const INPUT_EVENT = "input";
|
|
|
51
52
|
//#region src/urls.d.ts
|
|
52
53
|
declare const OfficePreview = "https://view.officeapps.live.com/op/view.aspx?src=";
|
|
53
54
|
//#endregion
|
|
54
|
-
export { AUDIO_MIME, CHANGE_EVENT, EVENT_CODE, EXCEL_MIME, IMAGE_MIME, INPUT_EVENT, OfficePreview, PDF_MIME, PPT_MIME, UPDATE_MODEL_EVENT, VIDEO_MIME, WORD_MIME, activityNameRegExp, addressRegExp, checkCodeFourRegExp, checkCodeSixRegExp, emailRegExp, emojiRegExp, imgUrlRegExp, keywordCodeRegExp, mobileRegExp, mobileSimpleRegExp, passwordRegExp, pictureCodeRegExp, searchRegExp, videoUrlRegExp };
|
|
55
|
+
export { AUDIO_MIME, CHANGE_EVENT, EVENT_CODE, EXCEL_MIME, IMAGE_MIME, INPUT_EVENT, OfficePreview, PDF_MIME, PPT_MIME, UPDATE_MODEL_EVENT, VIDEO_MIME, WORD_MIME, activityNameRegExp, addressRegExp, checkCodeFourRegExp, checkCodeSixRegExp, emailRegExp, emojiRegExp, imgUrlRegExp, keywordCodeRegExp, mobileRegExp, mobileSimpleRegExp, passwordRegExp, pictureCodeRegExp, searchRegExp, simplePasswordRegExp, videoUrlRegExp };
|
package/dist/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ declare const activityNameRegExp: RegExp;
|
|
|
14
14
|
declare const checkCodeFourRegExp: RegExp;
|
|
15
15
|
declare const checkCodeSixRegExp: RegExp;
|
|
16
16
|
declare const passwordRegExp: RegExp;
|
|
17
|
+
declare const simplePasswordRegExp: RegExp;
|
|
17
18
|
declare const pictureCodeRegExp: RegExp;
|
|
18
19
|
declare const searchRegExp: RegExp;
|
|
19
20
|
declare const keywordCodeRegExp: RegExp;
|
|
@@ -51,4 +52,4 @@ declare const INPUT_EVENT = "input";
|
|
|
51
52
|
//#region src/urls.d.ts
|
|
52
53
|
declare const OfficePreview = "https://view.officeapps.live.com/op/view.aspx?src=";
|
|
53
54
|
//#endregion
|
|
54
|
-
export { AUDIO_MIME, CHANGE_EVENT, EVENT_CODE, EXCEL_MIME, IMAGE_MIME, INPUT_EVENT, OfficePreview, PDF_MIME, PPT_MIME, UPDATE_MODEL_EVENT, VIDEO_MIME, WORD_MIME, activityNameRegExp, addressRegExp, checkCodeFourRegExp, checkCodeSixRegExp, emailRegExp, emojiRegExp, imgUrlRegExp, keywordCodeRegExp, mobileRegExp, mobileSimpleRegExp, passwordRegExp, pictureCodeRegExp, searchRegExp, videoUrlRegExp };
|
|
55
|
+
export { AUDIO_MIME, CHANGE_EVENT, EVENT_CODE, EXCEL_MIME, IMAGE_MIME, INPUT_EVENT, OfficePreview, PDF_MIME, PPT_MIME, UPDATE_MODEL_EVENT, VIDEO_MIME, WORD_MIME, activityNameRegExp, addressRegExp, checkCodeFourRegExp, checkCodeSixRegExp, emailRegExp, emojiRegExp, imgUrlRegExp, keywordCodeRegExp, mobileRegExp, mobileSimpleRegExp, passwordRegExp, pictureCodeRegExp, searchRegExp, simplePasswordRegExp, videoUrlRegExp };
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=[`image/*`],t=[`audio/*`],n=[`video/*`],r=[`application/pdf`],i=[`.doc`,`.docx`,`application/msword`],a=[`.xls`,`.xlsx`,`.csv`,`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`,`application/vnd.ms-excel`],o=[`.ppt`,`.pptx`,`application/vnd.ms-powerpoint`],s=/^1[3-9]\d{9}$/,c=/^1\d{10}$/,l=/^[\u4e00-\u9fa5]{2,6}$/,u=/^\d{4}$/,d=/^\d{6}$/,f=/(?=.*([a-z].*))(?=.*([A-Z].*))(?=.*[0-9].*)[a-zA-Z0-9-*/+.~!@#$%^&*()]{6,20}$/,p=/^\w{4}$/,
|
|
1
|
+
const e=[`image/*`],t=[`audio/*`],n=[`video/*`],r=[`application/pdf`],i=[`.doc`,`.docx`,`application/msword`],a=[`.xls`,`.xlsx`,`.csv`,`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`,`application/vnd.ms-excel`],o=[`.ppt`,`.pptx`,`application/vnd.ms-powerpoint`],s=/^1[3-9]\d{9}$/,c=/^1\d{10}$/,l=/^[\u4e00-\u9fa5]{2,6}$/,u=/^\d{4}$/,d=/^\d{6}$/,f=/(?=.*([a-z].*))(?=.*([A-Z].*))(?=.*[0-9].*)[a-zA-Z0-9-*/+.~!@#$%^&*()]{6,20}$/,p=/^(?=.*[a-zA-Z])(?=.*[0-9])[a-zA-Z0-9-*/+.~!@#$%^&*()]{6,20}$/,m=/^\w{4}$/,h=/[\\\t\n]/g,g=/^(.*)\([A-z]{0,2}\d{5,10}\)$/,_=/^\w+[^\s]+(\.[^\s]+)+$/,v=/[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/,y=/(\ud83c[\udf00-\udfff])|(\ud83d[\udc00-\ude4f\ude80-\udeff])|[\u2600-\u2B55]/g,b=/^https?:\/\/(.+\/)+.+(\.(swf|avi|flv|mpg|rm|mov|wav|asf|3gp|mkv|rmvb|mp4))$/i,x=/^https?:\/\/(.+\/)+.+(\.(gif|png|jpg|jpeg|webp|svg|psd|bmp|tif))$/i,S={tab:`Tab`,enter:`Enter`,space:`Space`,left:`ArrowLeft`,up:`ArrowUp`,right:`ArrowRight`,down:`ArrowDown`,esc:`Escape`,delete:`Delete`,backspace:`Backspace`,numpadEnter:`NumpadEnter`,pageUp:`PageUp`,pageDown:`PageDown`,home:`Home`,end:`End`,metaLeft:`MetaLeft`},C=`update:modelValue`,w=`change`,T=`input`,E=`https://view.officeapps.live.com/op/view.aspx?src=`;export{t as AUDIO_MIME,w as CHANGE_EVENT,S as EVENT_CODE,a as EXCEL_MIME,e as IMAGE_MIME,T as INPUT_EVENT,E as OfficePreview,r as PDF_MIME,o as PPT_MIME,C as UPDATE_MODEL_EVENT,n as VIDEO_MIME,i as WORD_MIME,l as activityNameRegExp,_ as addressRegExp,u as checkCodeFourRegExp,d as checkCodeSixRegExp,v as emailRegExp,y as emojiRegExp,x as imgUrlRegExp,g as keywordCodeRegExp,s as mobileRegExp,c as mobileSimpleRegExp,f as passwordRegExp,m as pictureCodeRegExp,h as searchRegExp,p as simplePasswordRegExp,b as videoUrlRegExp};
|