@xlui/xux-ui 1.2.2 → 1.2.4
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.d.ts +283 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +21570 -0
- package/package.json +78 -77
- package/src/composables/Alert.ts +1 -1
- package/src/composables/Msg.ts +2 -2
package/package.json
CHANGED
|
@@ -1,77 +1,78 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@xlui/xux-ui",
|
|
3
|
-
"version": "1.2.
|
|
4
|
-
"description": "VUE3 电商组件库",
|
|
5
|
-
"author": "leheya",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"main": "./dist/index.js",
|
|
8
|
-
"module": "./dist/index.mjs",
|
|
9
|
-
"types": "./dist/index.d.ts",
|
|
10
|
-
"exports": {
|
|
11
|
-
".": {
|
|
12
|
-
"types": "./dist/index.d.ts",
|
|
13
|
-
"import": "./dist/index.mjs",
|
|
14
|
-
"require": "./dist/index.js"
|
|
15
|
-
},
|
|
16
|
-
"./dist/index.css": {
|
|
17
|
-
"default": "./dist/index.css"
|
|
18
|
-
},
|
|
19
|
-
"./style.css": {
|
|
20
|
-
"default": "./dist/index.css"
|
|
21
|
-
},
|
|
22
|
-
"./dist/*": {
|
|
23
|
-
"types": "./dist/*.d.ts",
|
|
24
|
-
"import": "./dist/*.mjs",
|
|
25
|
-
"require": "./dist/*.js",
|
|
26
|
-
"default": "./dist/*"
|
|
27
|
-
},
|
|
28
|
-
"./*": "./dist/*"
|
|
29
|
-
},
|
|
30
|
-
"files": [
|
|
31
|
-
"dist",
|
|
32
|
-
"src",
|
|
33
|
-
"README.md"
|
|
34
|
-
],
|
|
35
|
-
"scripts": {
|
|
36
|
-
"dev": "vite build --watch",
|
|
37
|
-
"build": "vite build",
|
|
38
|
-
"prepublishOnly": "pnpm build"
|
|
39
|
-
},
|
|
40
|
-
"keywords": [
|
|
41
|
-
"vue3",
|
|
42
|
-
"vue3-ui",
|
|
43
|
-
"components",
|
|
44
|
-
"ui-library",
|
|
45
|
-
"ecommerce",
|
|
46
|
-
"电商组件",
|
|
47
|
-
"ui-components"
|
|
48
|
-
],
|
|
49
|
-
"repository": {
|
|
50
|
-
"type": "git",
|
|
51
|
-
"url": "https://gitee.com/leheya/xux"
|
|
52
|
-
},
|
|
53
|
-
"homepage": "https://gitee.com/leheya/xux",
|
|
54
|
-
"bugs": {
|
|
55
|
-
"url": "https://gitee.com/leheya/xux/issues"
|
|
56
|
-
},
|
|
57
|
-
"dependencies": {
|
|
58
|
-
"@iconify/vue": "^4.1.1",
|
|
59
|
-
"axios": "^1.12.2",
|
|
60
|
-
"dayjs": "^1.11.10",
|
|
61
|
-
"element-china-area-data": "^6.1.0",
|
|
62
|
-
"glob": "^11.0.3",
|
|
63
|
-
"pinyin": "^4.0.0",
|
|
64
|
-
"qrcode": "^1.5.4"
|
|
65
|
-
},
|
|
66
|
-
"peerDependencies": {
|
|
67
|
-
"vue": "^3.3.0"
|
|
68
|
-
},
|
|
69
|
-
"devDependencies": {
|
|
70
|
-
"@types/qrcode": "^1.5.5",
|
|
71
|
-
"@vitejs/plugin-vue": "^5.0.3",
|
|
72
|
-
"typescript": "^5.3.3",
|
|
73
|
-
"vite": "^5.0.11",
|
|
74
|
-
"
|
|
75
|
-
"vue
|
|
76
|
-
|
|
77
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@xlui/xux-ui",
|
|
3
|
+
"version": "1.2.4",
|
|
4
|
+
"description": "VUE3 电商组件库",
|
|
5
|
+
"author": "leheya",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"module": "./dist/index.mjs",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.mjs",
|
|
14
|
+
"require": "./dist/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./dist/index.css": {
|
|
17
|
+
"default": "./dist/index.css"
|
|
18
|
+
},
|
|
19
|
+
"./style.css": {
|
|
20
|
+
"default": "./dist/index.css"
|
|
21
|
+
},
|
|
22
|
+
"./dist/*": {
|
|
23
|
+
"types": "./dist/*.d.ts",
|
|
24
|
+
"import": "./dist/*.mjs",
|
|
25
|
+
"require": "./dist/*.js",
|
|
26
|
+
"default": "./dist/*"
|
|
27
|
+
},
|
|
28
|
+
"./*": "./dist/*"
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"dist",
|
|
32
|
+
"src",
|
|
33
|
+
"README.md"
|
|
34
|
+
],
|
|
35
|
+
"scripts": {
|
|
36
|
+
"dev": "vite build --watch",
|
|
37
|
+
"build": "vite build",
|
|
38
|
+
"prepublishOnly": "pnpm build"
|
|
39
|
+
},
|
|
40
|
+
"keywords": [
|
|
41
|
+
"vue3",
|
|
42
|
+
"vue3-ui",
|
|
43
|
+
"components",
|
|
44
|
+
"ui-library",
|
|
45
|
+
"ecommerce",
|
|
46
|
+
"电商组件",
|
|
47
|
+
"ui-components"
|
|
48
|
+
],
|
|
49
|
+
"repository": {
|
|
50
|
+
"type": "git",
|
|
51
|
+
"url": "https://gitee.com/leheya/xux"
|
|
52
|
+
},
|
|
53
|
+
"homepage": "https://gitee.com/leheya/xux",
|
|
54
|
+
"bugs": {
|
|
55
|
+
"url": "https://gitee.com/leheya/xux/issues"
|
|
56
|
+
},
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"@iconify/vue": "^4.1.1",
|
|
59
|
+
"axios": "^1.12.2",
|
|
60
|
+
"dayjs": "^1.11.10",
|
|
61
|
+
"element-china-area-data": "^6.1.0",
|
|
62
|
+
"glob": "^11.0.3",
|
|
63
|
+
"pinyin": "^4.0.0",
|
|
64
|
+
"qrcode": "^1.5.4"
|
|
65
|
+
},
|
|
66
|
+
"peerDependencies": {
|
|
67
|
+
"vue": "^3.3.0"
|
|
68
|
+
},
|
|
69
|
+
"devDependencies": {
|
|
70
|
+
"@types/qrcode": "^1.5.5",
|
|
71
|
+
"@vitejs/plugin-vue": "^5.0.3",
|
|
72
|
+
"typescript": "^5.3.3",
|
|
73
|
+
"vite": "^5.0.11",
|
|
74
|
+
"vite-plugin-dts": "^4.5.4",
|
|
75
|
+
"vue": "^3.4.15",
|
|
76
|
+
"vue-tsc": "^1.8.27"
|
|
77
|
+
}
|
|
78
|
+
}
|
package/src/composables/Alert.ts
CHANGED
package/src/composables/Msg.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @displayName XMsg
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
interface ConfirmOptions {
|
|
6
|
+
export interface ConfirmOptions {
|
|
7
7
|
title: string
|
|
8
8
|
content: string
|
|
9
9
|
confirmText?: string
|
|
@@ -14,7 +14,7 @@ interface ConfirmOptions {
|
|
|
14
14
|
duration?: number
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
interface MessageOptions {
|
|
17
|
+
export interface MessageOptions {
|
|
18
18
|
title: string
|
|
19
19
|
content?: string
|
|
20
20
|
type?: 'success' | 'error' | 'warning' | 'info'
|