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.
@@ -1,8 +1,8 @@
1
- import { w as c } from "./chunks/index.bCzIhWFw.js";
2
- import { createBlock as o, createCommentVNode as a, openBlock as t, unref as r, mergeProps as m, withCtx as i, resolveDynamicComponent as s } from "vue";
3
- import { ElIcon as l } from "element-plus";
4
- import { c as u } from "./chunks/global.DVwnOczb.js";
5
- const f = /* @__PURE__ */ Object.assign({
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 (n, p) => e.iconName ? (t(), o(r(l), m({
28
- key: 0,
29
- size: e.size,
30
- color: e.color
31
- }, n.$attrs), {
32
- default: i(() => [
33
- (t(), o(s(r(u)[e.iconName])))
34
- ]),
35
- _: 1
36
- }, 16, ["size", "color"])) : a("", !0);
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
- }), z = c(f);
41
+ }), I = m(N);
39
42
  export {
40
- z as IconRenderer,
41
- z as default
43
+ I as IconRenderer,
44
+ I as default
42
45
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./chunks/index.CkihWzK6.js"),e=require("vue"),c=require("element-plus"),l=require("./chunks/global.Cv8u--Cy.js"),u=Object.assign({name:"IconRenderer"},{__name:"layout",props:{iconName:{type:String,default:""},size:{type:Number,default:16},color:{type:String,default:""}},setup(t){return(n,a)=>t.iconName?(e.openBlock(),e.createBlock(e.unref(c.ElIcon),e.mergeProps({key:0,size:t.size,color:t.color},n.$attrs),{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(l.components_exports)[t.iconName])))]),_:1},16,["size","color"])):e.createCommentVNode("",!0)}}),o=r.withInstall(u);exports.IconRenderer=o;exports.default=o;
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.18",
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": "./es/index.mjs",
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.12"
183
+ "ling-yun-methods": "0.0.18"
184
184
  },
185
185
  "peerDependencies": {
186
186
  "axios": "^1.8.2",