@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.
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/mime.cjs +1 -0
- package/dist/es/index.js +31 -23
- package/dist/es/mime.js +10 -0
- package/dist/index.d.ts +1 -0
- package/dist/mime.d.ts +7 -0
- 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"),g=require("./event-code.cjs"),
|
|
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 {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
R as
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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
|
};
|
package/dist/es/mime.js
ADDED
|
@@ -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
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[];
|