ling-yun-custom-components 0.0.22 → 0.0.29

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 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({
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({
6
6
  name: "IconRenderer"
7
7
  }, {
8
8
  __name: "layout",
@@ -24,22 +24,19 @@ const N = /* @__PURE__ */ Object.assign({
24
24
  }
25
25
  },
26
26
  setup(e) {
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));
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);
40
37
  }
41
- }), I = m(N);
38
+ }), z = c(f);
42
39
  export {
43
- I as IconRenderer,
44
- I as default
40
+ z as IconRenderer,
41
+ z as default
45
42
  };
@@ -1 +1 @@
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;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ling-yun-custom-components",
3
- "version": "0.0.22",
3
+ "version": "0.0.29",
4
4
  "keywords": [
5
5
  "component library",
6
6
  "ui framework",
@@ -30,7 +30,7 @@
30
30
  ],
31
31
  "exports": {
32
32
  ".": {
33
- "import": "./index.js",
33
+ "import": "./es/index.mjs",
34
34
  "require": "./lib/index.js"
35
35
  },
36
36
  "./es": {
@@ -140,6 +140,7 @@
140
140
  "element-plus": "^2.11.5",
141
141
  "element-tree-line": "^0.2.1",
142
142
  "js-cookie": "^3.0.5",
143
+ "ling-yun-methods": "^0.0.21",
143
144
  "lodash.debounce": "^4.0.8",
144
145
  "lottie-web": "^5.13.0",
145
146
  "moment": "^2.30.1",
@@ -179,8 +180,7 @@
179
180
  "typescript": "~5.9.3",
180
181
  "vite": "^7.1.11",
181
182
  "vite-plugin-lib-inject-css": "^2.2.2",
182
- "vue": "^3.5.22",
183
- "ling-yun-methods": "0.0.18"
183
+ "vue": "^3.5.22"
184
184
  },
185
185
  "peerDependencies": {
186
186
  "axios": "^1.8.2",