@vft/constants 0.0.72 → 0.0.75

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 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\d{10}$/,c=/^1[3-9]\d{9}$/,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}$/,m=/[\\\t\n]/g,h=/^(.*)\([A-z]{0,2}\d{5,10}\)$/,g=/^\w+[^\s]+(\.[^\s]+)+$/,_=/[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/,v=/(\ud83c[\udf00-\udfff])|(\ud83d[\udc00-\ude4f\ude80-\udeff])|[\u2600-\u2B55]/g,y=/^https?:\/\/(.+\/)+.+(\.(swf|avi|flv|mpg|rm|mov|wav|asf|3gp|mkv|rmvb|mp4))$/i,b=/^https?:\/\/(.+\/)+.+(\.(gif|png|jpg|jpeg|webp|svg|psd|bmp|tif))$/i,x={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`},S=`update:modelValue`,C=`change`,w=`input`,T=`https://view.officeapps.live.com/op/view.aspx?src=`;exports.AUDIO_MIME=t,exports.CHANGE_EVENT=`change`,exports.EVENT_CODE=x,exports.EXCEL_MIME=a,exports.IMAGE_MIME=e,exports.INPUT_EVENT=`input`,exports.OFFICE_PREVIEW=`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.activityMobileRegExp=c,exports.activityNameRegExp=l,exports.addressRegExp=g,exports.checkCodeFourRegExp=u,exports.checkCodeSixRegExp=d,exports.emailRegExp=_,exports.emojiRegExp=v,exports.imgUrlRegExp=b,exports.keywordCodeRegExp=h,exports.mobileRegExp=s,exports.passwordRegExp=f,exports.pictureCodeRegExp=p,exports.searchRegExp=m,exports.videoUrlRegExp=y;
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}$/,m=/[\\\t\n]/g,h=/^(.*)\([A-z]{0,2}\d{5,10}\)$/,g=/^\w+[^\s]+(\.[^\s]+)+$/,_=/[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/,v=/(\ud83c[\udf00-\udfff])|(\ud83d[\udc00-\ude4f\ude80-\udeff])|[\u2600-\u2B55]/g,y=/^https?:\/\/(.+\/)+.+(\.(swf|avi|flv|mpg|rm|mov|wav|asf|3gp|mkv|rmvb|mp4))$/i,b=/^https?:\/\/(.+\/)+.+(\.(gif|png|jpg|jpeg|webp|svg|psd|bmp|tif))$/i,x={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`},S=`update:modelValue`,C=`change`,w=`input`,T=`https://view.officeapps.live.com/op/view.aspx?src=`;exports.AUDIO_MIME=t,exports.CHANGE_EVENT=`change`,exports.EVENT_CODE=x,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=g,exports.checkCodeFourRegExp=u,exports.checkCodeSixRegExp=d,exports.emailRegExp=_,exports.emojiRegExp=v,exports.imgUrlRegExp=b,exports.keywordCodeRegExp=h,exports.mobileRegExp=s,exports.mobileSimpleRegExp=c,exports.passwordRegExp=f,exports.pictureCodeRegExp=p,exports.searchRegExp=m,exports.videoUrlRegExp=y;
package/dist/index.d.cts CHANGED
@@ -9,7 +9,7 @@ declare const PPT_MIME: string[];
9
9
  //#endregion
10
10
  //#region src/regular.d.ts
11
11
  declare const mobileRegExp: RegExp;
12
- declare const activityMobileRegExp: RegExp;
12
+ declare const mobileSimpleRegExp: RegExp;
13
13
  declare const activityNameRegExp: RegExp;
14
14
  declare const checkCodeFourRegExp: RegExp;
15
15
  declare const checkCodeSixRegExp: RegExp;
@@ -49,6 +49,6 @@ declare const CHANGE_EVENT = "change";
49
49
  declare const INPUT_EVENT = "input";
50
50
  //#endregion
51
51
  //#region src/urls.d.ts
52
- declare const OFFICE_PREVIEW = "https://view.officeapps.live.com/op/view.aspx?src=";
52
+ declare const OfficePreview = "https://view.officeapps.live.com/op/view.aspx?src=";
53
53
  //#endregion
54
- export { AUDIO_MIME, CHANGE_EVENT, EVENT_CODE, EXCEL_MIME, IMAGE_MIME, INPUT_EVENT, OFFICE_PREVIEW, PDF_MIME, PPT_MIME, UPDATE_MODEL_EVENT, VIDEO_MIME, WORD_MIME, activityMobileRegExp, activityNameRegExp, addressRegExp, checkCodeFourRegExp, checkCodeSixRegExp, emailRegExp, emojiRegExp, imgUrlRegExp, keywordCodeRegExp, mobileRegExp, passwordRegExp, pictureCodeRegExp, searchRegExp, videoUrlRegExp };
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 };
package/dist/index.d.ts CHANGED
@@ -9,7 +9,7 @@ declare const PPT_MIME: string[];
9
9
  //#endregion
10
10
  //#region src/regular.d.ts
11
11
  declare const mobileRegExp: RegExp;
12
- declare const activityMobileRegExp: RegExp;
12
+ declare const mobileSimpleRegExp: RegExp;
13
13
  declare const activityNameRegExp: RegExp;
14
14
  declare const checkCodeFourRegExp: RegExp;
15
15
  declare const checkCodeSixRegExp: RegExp;
@@ -49,6 +49,6 @@ declare const CHANGE_EVENT = "change";
49
49
  declare const INPUT_EVENT = "input";
50
50
  //#endregion
51
51
  //#region src/urls.d.ts
52
- declare const OFFICE_PREVIEW = "https://view.officeapps.live.com/op/view.aspx?src=";
52
+ declare const OfficePreview = "https://view.officeapps.live.com/op/view.aspx?src=";
53
53
  //#endregion
54
- export { AUDIO_MIME, CHANGE_EVENT, EVENT_CODE, EXCEL_MIME, IMAGE_MIME, INPUT_EVENT, OFFICE_PREVIEW, PDF_MIME, PPT_MIME, UPDATE_MODEL_EVENT, VIDEO_MIME, WORD_MIME, activityMobileRegExp, activityNameRegExp, addressRegExp, checkCodeFourRegExp, checkCodeSixRegExp, emailRegExp, emojiRegExp, imgUrlRegExp, keywordCodeRegExp, mobileRegExp, passwordRegExp, pictureCodeRegExp, searchRegExp, videoUrlRegExp };
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 };
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\d{10}$/,c=/^1[3-9]\d{9}$/,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}$/,m=/[\\\t\n]/g,h=/^(.*)\([A-z]{0,2}\d{5,10}\)$/,g=/^\w+[^\s]+(\.[^\s]+)+$/,_=/[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/,v=/(\ud83c[\udf00-\udfff])|(\ud83d[\udc00-\ude4f\ude80-\udeff])|[\u2600-\u2B55]/g,y=/^https?:\/\/(.+\/)+.+(\.(swf|avi|flv|mpg|rm|mov|wav|asf|3gp|mkv|rmvb|mp4))$/i,b=/^https?:\/\/(.+\/)+.+(\.(gif|png|jpg|jpeg|webp|svg|psd|bmp|tif))$/i,x={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`},S=`update:modelValue`,C=`change`,w=`input`,T=`https://view.officeapps.live.com/op/view.aspx?src=`;export{t as AUDIO_MIME,C as CHANGE_EVENT,x as EVENT_CODE,a as EXCEL_MIME,e as IMAGE_MIME,w as INPUT_EVENT,T as OFFICE_PREVIEW,r as PDF_MIME,o as PPT_MIME,S as UPDATE_MODEL_EVENT,n as VIDEO_MIME,i as WORD_MIME,c as activityMobileRegExp,l as activityNameRegExp,g as addressRegExp,u as checkCodeFourRegExp,d as checkCodeSixRegExp,_ as emailRegExp,v as emojiRegExp,b as imgUrlRegExp,h as keywordCodeRegExp,s as mobileRegExp,f as passwordRegExp,p as pictureCodeRegExp,m as searchRegExp,y as videoUrlRegExp};
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}$/,m=/[\\\t\n]/g,h=/^(.*)\([A-z]{0,2}\d{5,10}\)$/,g=/^\w+[^\s]+(\.[^\s]+)+$/,_=/[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/,v=/(\ud83c[\udf00-\udfff])|(\ud83d[\udc00-\ude4f\ude80-\udeff])|[\u2600-\u2B55]/g,y=/^https?:\/\/(.+\/)+.+(\.(swf|avi|flv|mpg|rm|mov|wav|asf|3gp|mkv|rmvb|mp4))$/i,b=/^https?:\/\/(.+\/)+.+(\.(gif|png|jpg|jpeg|webp|svg|psd|bmp|tif))$/i,x={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`},S=`update:modelValue`,C=`change`,w=`input`,T=`https://view.officeapps.live.com/op/view.aspx?src=`;export{t as AUDIO_MIME,C as CHANGE_EVENT,x as EVENT_CODE,a as EXCEL_MIME,e as IMAGE_MIME,w as INPUT_EVENT,T as OfficePreview,r as PDF_MIME,o as PPT_MIME,S as UPDATE_MODEL_EVENT,n as VIDEO_MIME,i as WORD_MIME,l as activityNameRegExp,g as addressRegExp,u as checkCodeFourRegExp,d as checkCodeSixRegExp,_ as emailRegExp,v as emojiRegExp,b as imgUrlRegExp,h as keywordCodeRegExp,s as mobileRegExp,c as mobileSimpleRegExp,f as passwordRegExp,p as pictureCodeRegExp,m as searchRegExp,y as videoUrlRegExp};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vft/constants",
3
- "version": "0.0.72",
3
+ "version": "0.0.75",
4
4
  "main": "./dist/index.cjs",
5
5
  "module": "./dist/index.js",
6
6
  "type": "module",