@vft/constants 0.0.58 → 0.0.60

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"),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
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./mime.cjs"),e=require("./regular.cjs"),g=require("./event-code.cjs"),M=require("./event.cjs"),i=require("./urls.cjs");exports.AUDIO_MIME=E.AUDIO_MIME;exports.EXCEL_MIME=E.EXCEL_MIME;exports.IMAGE_MIME=E.IMAGE_MIME;exports.PDF_MIME=E.PDF_MIME;exports.PPT_MIME=E.PPT_MIME;exports.VIDEO_MIME=E.VIDEO_MIME;exports.WORD_MIME=E.WORD_MIME;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=M.CHANGE_EVENT;exports.INPUT_EVENT=M.INPUT_EVENT;exports.UPDATE_MODEL_EVENT=M.UPDATE_MODEL_EVENT;exports.OFFICE_PREVIEW=i.OFFICE_PREVIEW;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=["image/*"],o=["audio/*"],t=["video/*"],E=["application/pdf"],c=[".doc",".docx","application/msword"],e=[".xls",".xlsx",".csv","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.ms-excel"],n=[".ppt",".pptx","application/vnd.ms-powerpoint"];exports.AUDIO_MIME=o;exports.EXCEL_MIME=e;exports.IMAGE_MIME=M;exports.PDF_MIME=E;exports.PPT_MIME=n;exports.VIDEO_MIME=t;exports.WORD_MIME=c;
package/dist/es/index.js CHANGED
@@ -1,25 +1,33 @@
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
- import { OFFICE_PREVIEW as h } from "./urls.js";
1
+ import { AUDIO_MIME as o, EXCEL_MIME as p, IMAGE_MIME as x, PDF_MIME as r, PPT_MIME as M, VIDEO_MIME as R, WORD_MIME as g } from "./mime.js";
2
+ import { activityMobileRegExp as _, activityNameRegExp as i, addressRegExp as m, checkCodeFourRegExp as t, checkCodeSixRegExp as d, emailRegExp as c, emojiRegExp as C, imgUrlRegExp as a, keywordCodeRegExp as D, mobileRegExp as N, passwordRegExp as T, pictureCodeRegExp as O, searchRegExp as P, videoUrlRegExp as V } from "./regular.js";
3
+ import { EVENT_CODE as l } from "./event-code.js";
4
+ import { CHANGE_EVENT as U, INPUT_EVENT as A, UPDATE_MODEL_EVENT as F } from "./event.js";
5
+ import { OFFICE_PREVIEW as k } from "./urls.js";
5
6
  export {
6
- s as CHANGE_EVENT,
7
- _ as EVENT_CODE,
8
- V as INPUT_EVENT,
9
- h as OFFICE_PREVIEW,
10
- f as UPDATE_MODEL_EVENT,
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
7
+ o as AUDIO_MIME,
8
+ U as CHANGE_EVENT,
9
+ l as EVENT_CODE,
10
+ p as EXCEL_MIME,
11
+ x as IMAGE_MIME,
12
+ A as INPUT_EVENT,
13
+ k as OFFICE_PREVIEW,
14
+ r as PDF_MIME,
15
+ M as PPT_MIME,
16
+ F as UPDATE_MODEL_EVENT,
17
+ R as VIDEO_MIME,
18
+ g as WORD_MIME,
19
+ _ as activityMobileRegExp,
20
+ i as activityNameRegExp,
21
+ m as addressRegExp,
22
+ t as checkCodeFourRegExp,
23
+ d as checkCodeSixRegExp,
24
+ c as emailRegExp,
25
+ C as emojiRegExp,
26
+ a as imgUrlRegExp,
27
+ D as keywordCodeRegExp,
28
+ N as mobileRegExp,
29
+ T as passwordRegExp,
30
+ O as pictureCodeRegExp,
31
+ P as searchRegExp,
32
+ V as videoUrlRegExp
25
33
  };
@@ -0,0 +1,10 @@
1
+ const o = ["image/*"], p = ["audio/*"], t = ["video/*"], c = ["application/pdf"], n = [".doc", ".docx", "application/msword"], s = [".xls", ".xlsx", ".csv", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.ms-excel"], i = [".ppt", ".pptx", "application/vnd.ms-powerpoint"];
2
+ export {
3
+ p as AUDIO_MIME,
4
+ s as EXCEL_MIME,
5
+ o as IMAGE_MIME,
6
+ c as PDF_MIME,
7
+ i as PPT_MIME,
8
+ t as VIDEO_MIME,
9
+ n as WORD_MIME
10
+ };
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from './mime';
1
2
  export * from './regular';
2
3
  export * from './event-code';
3
4
  export * from './event';
package/dist/mime.d.ts ADDED
@@ -0,0 +1,7 @@
1
+ export declare const IMAGE_MIME: string[];
2
+ export declare const AUDIO_MIME: string[];
3
+ export declare const VIDEO_MIME: string[];
4
+ export declare const PDF_MIME: string[];
5
+ export declare const WORD_MIME: string[];
6
+ export declare const EXCEL_MIME: string[];
7
+ export declare const PPT_MIME: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vft/constants",
3
- "version": "0.0.58",
3
+ "version": "0.0.60",
4
4
  "main": "./dist/cjs/index.cjs",
5
5
  "module": "./dist/es/index.js",
6
6
  "types": "./dist/index.d.ts",