ling-yun-custom-components 0.0.18 → 0.0.22
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/es/IconRenderer.mjs +21 -18
- package/lib/IconRenderer.js +1 -1
- package/package.json +3 -3
package/es/IconRenderer.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { w as
|
|
2
|
-
import {
|
|
3
|
-
import { ElIcon as
|
|
4
|
-
import { c as
|
|
5
|
-
const
|
|
1
|
+
import { w as m } from "./chunks/index.bCzIhWFw.js";
|
|
2
|
+
import { createElementBlock as c, openBlock as t, Fragment as l, createTextVNode as i, createBlock as r, createCommentVNode as s, unref as n, mergeProps as u, withCtx as f, resolveDynamicComponent as p } from "vue";
|
|
3
|
+
import { ElIcon as d } from "element-plus";
|
|
4
|
+
import { c as y } from "./chunks/global.DVwnOczb.js";
|
|
5
|
+
const N = /* @__PURE__ */ Object.assign({
|
|
6
6
|
name: "IconRenderer"
|
|
7
7
|
}, {
|
|
8
8
|
__name: "layout",
|
|
@@ -24,19 +24,22 @@ const f = /* @__PURE__ */ Object.assign({
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
setup(e) {
|
|
27
|
-
return (
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
return (a, o) => (t(), c(l, null, [
|
|
28
|
+
o[0] || (o[0] = i("000 ", -1)),
|
|
29
|
+
e.iconName ? (t(), r(n(d), u({
|
|
30
|
+
key: 0,
|
|
31
|
+
size: e.size,
|
|
32
|
+
color: e.color
|
|
33
|
+
}, a.$attrs), {
|
|
34
|
+
default: f(() => [
|
|
35
|
+
(t(), r(p(n(y)[e.iconName])))
|
|
36
|
+
]),
|
|
37
|
+
_: 1
|
|
38
|
+
}, 16, ["size", "color"])) : s("", !0)
|
|
39
|
+
], 64));
|
|
37
40
|
}
|
|
38
|
-
}),
|
|
41
|
+
}), I = m(N);
|
|
39
42
|
export {
|
|
40
|
-
|
|
41
|
-
|
|
43
|
+
I as IconRenderer,
|
|
44
|
+
I as default
|
|
42
45
|
};
|
package/lib/IconRenderer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=require("./chunks/index.CkihWzK6.js"),e=require("vue"),l=require("element-plus"),u=require("./chunks/global.Cv8u--Cy.js"),a=Object.assign({name:"IconRenderer"},{__name:"layout",props:{iconName:{type:String,default:""},size:{type:Number,default:16},color:{type:String,default:""}},setup(t){return(r,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[o[0]||(o[0]=e.createTextVNode("000 ",-1)),t.iconName?(e.openBlock(),e.createBlock(e.unref(l.ElIcon),e.mergeProps({key:0,size:t.size,color:t.color},r.$attrs),{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(u.components_exports)[t.iconName])))]),_:1},16,["size","color"])):e.createCommentVNode("",!0)],64))}}),n=c.withInstall(a);exports.IconRenderer=n;exports.default=n;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ling-yun-custom-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.22",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"component library",
|
|
6
6
|
"ui framework",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
],
|
|
31
31
|
"exports": {
|
|
32
32
|
".": {
|
|
33
|
-
"import": "./
|
|
33
|
+
"import": "./index.js",
|
|
34
34
|
"require": "./lib/index.js"
|
|
35
35
|
},
|
|
36
36
|
"./es": {
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
"vite": "^7.1.11",
|
|
181
181
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
182
182
|
"vue": "^3.5.22",
|
|
183
|
-
"ling-yun-methods": "0.0.
|
|
183
|
+
"ling-yun-methods": "0.0.18"
|
|
184
184
|
},
|
|
185
185
|
"peerDependencies": {
|
|
186
186
|
"axios": "^1.8.2",
|