@vft/constants 0.0.12 → 0.0.28

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,7 +1,7 @@
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";
4
- import { OFFICE_PREVIEW as h } from "./urls.js";
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.mjs";
2
+ import { EVENT_CODE as l } from "./event-code.mjs";
3
+ import { CHANGE_EVENT as R, INPUT_EVENT as V, UPDATE_MODEL_EVENT as f } from "./event.mjs";
4
+ import { OFFICE_PREVIEW as h } from "./urls.mjs";
5
5
  export {
6
6
  R as CHANGE_EVENT,
7
7
  l as EVENT_CODE,
@@ -0,0 +1,18 @@
1
+ export declare const EVENT_CODE: {
2
+ tab: string;
3
+ enter: string;
4
+ space: string;
5
+ left: string;
6
+ up: string;
7
+ right: string;
8
+ down: string;
9
+ esc: string;
10
+ delete: string;
11
+ backspace: string;
12
+ numpadEnter: string;
13
+ pageUp: string;
14
+ pageDown: string;
15
+ home: string;
16
+ end: string;
17
+ metaLeft: string;
18
+ };
@@ -0,0 +1,3 @@
1
+ export declare const UPDATE_MODEL_EVENT = "update:modelValue";
2
+ export declare const CHANGE_EVENT = "change";
3
+ export declare const INPUT_EVENT = "input";
@@ -0,0 +1,4 @@
1
+ export * from './regular';
2
+ export * from './event-code';
3
+ export * from './event';
4
+ export * from './urls';
@@ -0,0 +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;
8
+ export declare const searchRegExp: RegExp;
9
+ export declare const keywordCodeRegExp: RegExp;
10
+ export declare const address: RegExp;
11
+ export declare const emailRegExp: RegExp;
12
+ export declare const emojiReg: RegExp;
13
+ export declare const videoUrl: RegExp;
14
+ export declare const imgUrl: RegExp;
package/dist/urls.d.ts ADDED
@@ -0,0 +1 @@
1
+ export declare const OFFICE_PREVIEW = "https://view.officeapps.live.com/op/view.aspx?src=";
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@vft/constants",
3
- "version": "0.0.12",
3
+ "version": "0.0.28",
4
4
  "main": "./dist/cjs/index.cjs",
5
- "module": "./dist/es/index.js",
5
+ "module": "./dist/es/index.mjs",
6
6
  "types": "./dist/index.d.ts",
7
7
  "exports": {
8
8
  ".": {
9
9
  "require": "./dist/cjs/index.cjs",
10
- "import": "./dist/es/index.js"
10
+ "import": "./dist/es/index.mjs"
11
11
  }
12
12
  },
13
13
  "files": [
@@ -15,6 +15,7 @@
15
15
  ],
16
16
  "scripts": {
17
17
  "clean": "rimraf dist",
18
- "build": "pnpm clean && vite build"
18
+ "build": "pnpm clean && vite build",
19
+ "pub": "pnpm build && tsx ../../scripts/src/publish.ts --pkg packages/constants -b"
19
20
  }
20
21
  }
File without changes
File without changes
File without changes
File without changes