mengyue-components 0.0.68
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.
Potentially problematic release.
This version of mengyue-components might be problematic. Click here for more details.
- package/README.md +129 -0
- package/dist/error-BwpcGWbi.js +36 -0
- package/dist/index.d.ts +6370 -0
- package/dist/info-DbR0v1eR.js +31 -0
- package/dist/mengyue-components.css +1 -0
- package/dist/mengyue-components.es.js +10196 -0
- package/dist/mengyue-components.umd.js +37 -0
- package/dist/primary-Cqn9qsg5.js +31 -0
- package/dist/success-DZ3KPGCV.js +31 -0
- package/dist/warning-CQO2jTBs.js +36 -0
- package/package.json +49 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { defineComponent as n, createElementBlock as o, openBlock as r, createElementVNode as t } from "vue";
|
|
2
|
+
const i = {
|
|
3
|
+
width: "40",
|
|
4
|
+
height: "40",
|
|
5
|
+
viewBox: "0 0 24 24",
|
|
6
|
+
fill: "none",
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
8
|
+
}, s = /* @__PURE__ */ n({
|
|
9
|
+
name: "PrimaryIcon",
|
|
10
|
+
__name: "primary",
|
|
11
|
+
setup(l) {
|
|
12
|
+
return (c, e) => (r(), o("svg", i, [...e[0] || (e[0] = [
|
|
13
|
+
t("circle", {
|
|
14
|
+
cx: "12",
|
|
15
|
+
cy: "12",
|
|
16
|
+
r: "10",
|
|
17
|
+
fill: "#1890ff"
|
|
18
|
+
}, null, -1),
|
|
19
|
+
t("text", {
|
|
20
|
+
x: "12",
|
|
21
|
+
y: "16",
|
|
22
|
+
"font-size": "12",
|
|
23
|
+
"text-anchor": "middle",
|
|
24
|
+
fill: "white"
|
|
25
|
+
}, "i", -1)
|
|
26
|
+
])]));
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
export {
|
|
30
|
+
s as default
|
|
31
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { defineComponent as n, createElementBlock as o, openBlock as r, createElementVNode as t } from "vue";
|
|
2
|
+
const s = {
|
|
3
|
+
width: "40",
|
|
4
|
+
height: "40",
|
|
5
|
+
viewBox: "0 0 24 24",
|
|
6
|
+
fill: "none",
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
8
|
+
}, p = /* @__PURE__ */ n({
|
|
9
|
+
name: "SuccessIcon",
|
|
10
|
+
__name: "success",
|
|
11
|
+
setup(c) {
|
|
12
|
+
return (l, e) => (r(), o("svg", s, [...e[0] || (e[0] = [
|
|
13
|
+
t("circle", {
|
|
14
|
+
cx: "12",
|
|
15
|
+
cy: "12",
|
|
16
|
+
r: "10",
|
|
17
|
+
fill: "#52c41a"
|
|
18
|
+
}, null, -1),
|
|
19
|
+
t("path", {
|
|
20
|
+
d: "M7 12L10 15L17 8",
|
|
21
|
+
stroke: "white",
|
|
22
|
+
"stroke-width": "2",
|
|
23
|
+
"stroke-linecap": "round",
|
|
24
|
+
"stroke-linejoin": "round"
|
|
25
|
+
}, null, -1)
|
|
26
|
+
])]));
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
export {
|
|
30
|
+
p as default
|
|
31
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { defineComponent as t, createElementBlock as l, openBlock as o, createElementVNode as e } from "vue";
|
|
2
|
+
const r = {
|
|
3
|
+
width: "40",
|
|
4
|
+
height: "40",
|
|
5
|
+
viewBox: "0 0 24 24",
|
|
6
|
+
fill: "none",
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
8
|
+
}, a = /* @__PURE__ */ t({
|
|
9
|
+
name: "WarningIcon",
|
|
10
|
+
__name: "warning",
|
|
11
|
+
setup(i) {
|
|
12
|
+
return (c, n) => (o(), l("svg", r, [...n[0] || (n[0] = [
|
|
13
|
+
e("circle", {
|
|
14
|
+
cx: "12",
|
|
15
|
+
cy: "12",
|
|
16
|
+
r: "10",
|
|
17
|
+
fill: "#faad14"
|
|
18
|
+
}, null, -1),
|
|
19
|
+
e("path", {
|
|
20
|
+
d: "M12 8V12",
|
|
21
|
+
stroke: "white",
|
|
22
|
+
"stroke-width": "2",
|
|
23
|
+
"stroke-linecap": "round"
|
|
24
|
+
}, null, -1),
|
|
25
|
+
e("circle", {
|
|
26
|
+
cx: "12",
|
|
27
|
+
cy: "16",
|
|
28
|
+
r: "1",
|
|
29
|
+
fill: "white"
|
|
30
|
+
}, null, -1)
|
|
31
|
+
])]));
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
export {
|
|
35
|
+
a as default
|
|
36
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "mengyue-components",
|
|
3
|
+
"version": "0.0.68",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"files": [
|
|
6
|
+
"dist"
|
|
7
|
+
],
|
|
8
|
+
"main": "dist/mengyue-plus.cjs.js",
|
|
9
|
+
"module": "dist/mengyue-plus.es.js",
|
|
10
|
+
"types": "dist/index.d.ts",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"import": "./dist/mengyue-plus.es.js",
|
|
15
|
+
"require": "./dist/mengyue-plus.cjs.js"
|
|
16
|
+
},
|
|
17
|
+
"./style.css": "./dist/mengyue-plus.css"
|
|
18
|
+
},
|
|
19
|
+
"peerDependencies": {
|
|
20
|
+
"vue": "^3.0.0"
|
|
21
|
+
},
|
|
22
|
+
"scripts": {
|
|
23
|
+
"build": "cross-env SASS_QUIET_DEPRECATION=1 vite build",
|
|
24
|
+
"prepublishOnly": "npm run build",
|
|
25
|
+
"analyze": "cross-env ANALYZE=true vite build"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@microsoft/api-extractor": "^7.52.9",
|
|
29
|
+
"@vitejs/plugin-vue": "^5.1.4",
|
|
30
|
+
"cross-env": "^10.1.0",
|
|
31
|
+
"rollup-plugin-visualizer": "^6.0.5",
|
|
32
|
+
"sass": "^1.89.2",
|
|
33
|
+
"sass-loader": "^13.0.0",
|
|
34
|
+
"typescript": "^5.6.3",
|
|
35
|
+
"vite": "^5.4.19",
|
|
36
|
+
"vite-plugin-dts": "^4.5.4",
|
|
37
|
+
"vite-svg-loader": "^5.1.0"
|
|
38
|
+
},
|
|
39
|
+
"keywords": [
|
|
40
|
+
"vue",
|
|
41
|
+
"vite",
|
|
42
|
+
"ui",
|
|
43
|
+
"component",
|
|
44
|
+
"mengyue-components"
|
|
45
|
+
],
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"path": "^0.12.7"
|
|
48
|
+
}
|
|
49
|
+
}
|