ling-yun-custom-components 0.0.38 → 0.0.40
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/BuildComponents.mjs +74 -74
- package/es/IconRenderer.mjs +1 -1
- package/es/PageNotFound.mjs +23 -27
- package/es/assets/BuildComponents.css +1 -1
- package/es/chunks/global.Dasz_fnL.js +16065 -0
- package/lib/BuildComponents.js +1 -1
- package/lib/IconRenderer.js +1 -1
- package/lib/PageNotFound.js +1 -1
- package/lib/assets/BuildComponents.css +1 -1
- package/lib/chunks/global.BNjIXg3D.js +1 -0
- package/package.json +2 -2
package/lib/IconRenderer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./chunks/index.CkihWzK6.js"),e=require("vue"),s=require("element-plus"),a={lingyun:"lingyun",aibox:"aibox"},d=async(o,n)=>{if(!n)return null;try{switch(o){case a.lingyun:const{icons:r}=await Promise.resolve().then(()=>require("./chunks/global.BNCddmRI.js"));return r[n]||null;case a.aibox:const{icons:t}=await Promise.resolve().then(()=>require("./chunks/global.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./chunks/index.CkihWzK6.js"),e=require("vue"),s=require("element-plus"),a={lingyun:"lingyun",aibox:"aibox"},d=async(o,n)=>{if(!n)return null;try{switch(o){case a.lingyun:const{icons:r}=await Promise.resolve().then(()=>require("./chunks/global.BNCddmRI.js"));return r[n]||null;case a.aibox:const{icons:t}=await Promise.resolve().then(()=>require("./chunks/global.BNjIXg3D.js"));return t[n]||null}}catch(r){return console.warn(`Failed to load icon ${n} from ${o} library:`,r),null}},m=Object.assign({name:"IconRenderer"},{__name:"layout",props:{iconName:{type:String,default:""},iconLibrary:{type:String,default:a.lingyun,validator:o=>Object.values(a).includes(o)},size:{type:Number,default:16},color:{type:String,default:""}},setup(o){const n=o,r=e.shallowRef(null),t=e.ref(!1),c=async()=>{if(!n.iconName){r.value=null;return}if(!t.value){t.value=!0;try{const l=await d(n.iconLibrary,n.iconName);r.value=l}catch(l){console.error("Failed to load icon component:",l),r.value=null}finally{t.value=!1}}};return e.watch(()=>[n.iconLibrary,n.iconName],()=>{c()},{immediate:!1}),e.onMounted(()=>{c()}),(l,y)=>o.iconName&&r.value?(e.openBlock(),e.createBlock(e.unref(s.ElIcon),e.mergeProps({key:0,size:o.size,color:o.color},l.$attrs),{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.value)))]),_:1},16,["size","color"])):e.createCommentVNode("",!0)}}),i=u.withInstall(m);exports.IconRenderer=i;exports.default=i;exports.iconLibraryMap=a;
|
package/lib/PageNotFound.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./chunks/index.CkihWzK6.js"),e=require("vue"),n=require("color-message-lingyun-vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./chunks/index.CkihWzK6.js"),e=require("vue"),n=require("color-message-lingyun-vue"),u=require("element-plus"),l={class:"page-not-found flex flex-col items-center justify-center h-full w-full overflow-hidden"},c=Object.assign({name:"PageNotFound"},{__name:"layout",setup(a){const s=()=>{const o=window?.$wujie?.props?.useRouter();o&&o?.push?.(window?.$wujie?.props?.firstSubMenu?.path)};return(o,t)=>(e.openBlock(),e.createElementBlock("div",l,[e.createVNode(e.unref(u.ElIcon),{size:140},{default:e.withCtx(()=>[e.createVNode(e.unref(n.Page404))]),_:1}),t[1]||(t[1]=e.createElementVNode("div",{class:"pd-b-20 fz-16 text-666"},"啊哦,你访问的页面不存在了",-1)),e.createVNode(e.unref(u.ElButton),{onClick:s,type:"primary",icon:e.unref(n.IconBack)},{default:e.withCtx(()=>[...t[0]||(t[0]=[e.createTextVNode("返回",-1)])]),_:1},8,["icon"])]))}}),r=i.withInstall(c);exports.PageNotFound=r;exports.default=r;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.text-3d3d3d[data-v-
|
|
1
|
+
.text-3d3d3d[data-v-6c740489]{color:#3d3d3d}.text-5a5a5a[data-v-6c740489]{color:#5a5a5a}.lh-38[data-v-6c740489]{line-height:38px}.lh-24[data-v-6c740489]{line-height:24px}.text-gradient-bg[data-v-6c740489]{background:linear-gradient(15.1914541017deg,#1ba3fa 0% 2%,#4520fb);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-fill-color:transparent;padding-bottom:50px}.w-340[data-v-6c740489]{width:340px}.h-180[data-v-6c740489]{height:180px}.w-210[data-v-6c740489]{width:210px}.h-132[data-v-6c740489]{height:132px}.shadow[data-v-6c740489]{box-shadow:0 4px 11px #0000000d;border:1px solid rgba(255,255,255,.7)}.build-button[data-v-6c740489]{padding-top:116px}.arrow-icon[data-v-6c740489]{width:76px}.title-position[data-v-6c740489]{top:0;left:0}.desc-position[data-v-6c740489]{bottom:20px;left:0}.w-50[data-v-6c740489]{width:50px}
|