x-next 0.0.0-alpha.7 → 0.0.0-alpha.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/directives/clipboard/cache.d.ts +8 -0
- package/dist/directives/clipboard/clipboard.d.ts +18 -0
- package/dist/directives/clipboard/convert.d.ts +3 -0
- package/dist/directives/clipboard/index.d.ts +3 -0
- package/dist/directives/clipboard/plugin.d.ts +2 -0
- package/dist/directives/clipboard/textarea.d.ts +3 -0
- package/package.json +22 -10
@@ -0,0 +1,18 @@
|
|
1
|
+
export declare const Clipboard: {
|
2
|
+
/**
|
3
|
+
* Requests Navigator API persmission to clipboard.
|
4
|
+
*/
|
5
|
+
requestClipboardPermission(): Promise<PermissionStatus>;
|
6
|
+
/**
|
7
|
+
* Writes to cliboard using Navigator API.
|
8
|
+
*/
|
9
|
+
writeClipboard(value: string): Promise<boolean>;
|
10
|
+
/**
|
11
|
+
* Writes to clipboard using old-school execCommand('copy').
|
12
|
+
*/
|
13
|
+
writeClipboardExecCommand(value: string): boolean;
|
14
|
+
/**
|
15
|
+
* Maes an attempt to copy data to the clipboard.
|
16
|
+
*/
|
17
|
+
copy(input: any): Promise<true | undefined>;
|
18
|
+
};
|
package/package.json
CHANGED
@@ -1,18 +1,26 @@
|
|
1
1
|
{
|
2
2
|
"name": "x-next",
|
3
3
|
"private": false,
|
4
|
-
"version": "0.0.0-alpha.
|
4
|
+
"version": "0.0.0-alpha.9",
|
5
5
|
"description": "An amazing Vue3 UI library.",
|
6
6
|
"type": "module",
|
7
|
-
"main": "dist/index.umd.js",
|
8
|
-
"module": "dist/index.es.js",
|
9
|
-
"types": "dist/index.d.ts",
|
7
|
+
"main": "./dist/index.umd.js",
|
8
|
+
"module": "./dist/index.es.js",
|
9
|
+
"types": "./dist/index.d.ts",
|
10
10
|
"scripts": {
|
11
11
|
"dev": "vite",
|
12
12
|
"build": "vue-tsc && vite build",
|
13
13
|
"preview": "vite preview",
|
14
|
+
"generate:web-types": "vue-docgen src",
|
14
15
|
"publish": "npm publish --access=public"
|
15
16
|
},
|
17
|
+
"exports": {
|
18
|
+
".": {
|
19
|
+
"import": "./dist/index.es.js",
|
20
|
+
"require": "./dist/index.umd.js",
|
21
|
+
"types": "./dist/index.d.ts"
|
22
|
+
}
|
23
|
+
},
|
16
24
|
"repository": {
|
17
25
|
"type": "git",
|
18
26
|
"url": "git+https://github.com/ztes/x-next.git"
|
@@ -21,20 +29,24 @@
|
|
21
29
|
"url": "https://github.com/ztes/x-next/issues"
|
22
30
|
},
|
23
31
|
"dependencies": {
|
24
|
-
"dayjs": "^1.11.
|
32
|
+
"dayjs": "^1.11.13"
|
25
33
|
},
|
26
34
|
"devDependencies": {
|
27
|
-
"@types/node": "^20.
|
28
|
-
"@vitejs/plugin-vue": "^5.
|
35
|
+
"@types/node": "^20.16.15",
|
36
|
+
"@vitejs/plugin-vue": "^5.1.4",
|
29
37
|
"@vitejs/plugin-vue-jsx": "^4.0.1",
|
38
|
+
"i": "^0.3.7",
|
39
|
+
"npm": "^10.9.0",
|
30
40
|
"prettier": "^3.3.3",
|
31
41
|
"prettier-plugin-packagejson": "^2.5.3",
|
32
42
|
"sass": "^1.80.3",
|
33
|
-
"typescript": "^5.
|
34
|
-
"vite": "^5.
|
43
|
+
"typescript": "^5.6.3",
|
44
|
+
"vite": "^5.4.10",
|
35
45
|
"vite-plugin-dts": "^4.3.0",
|
36
46
|
"vue": "^3.5.12",
|
37
|
-
"vue-
|
47
|
+
"vue-docgen-api": "^4.79.2",
|
48
|
+
"vue-docgen-cli": "^4.79.0",
|
49
|
+
"vue-tsc": "^2.1.6"
|
38
50
|
},
|
39
51
|
"publishConfig": {
|
40
52
|
"access": "public"
|