oeos-components 0.3.59 → 0.3.60
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,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as Q, h as V, shallowRef as w, inject as _, toRefs as X, computed as p, getCurrentInstance as ee, watch as E, watchEffect as P, onMounted as te, onBeforeUnmount as ne, isRef as oe, unref as se, nextTick as ae } from "vue";
|
|
2
|
-
import { i as ie, t as le } from "./index-
|
|
2
|
+
import { i as ie, t as le } from "./index-DoBe9-fR.js";
|
|
3
3
|
const re = ["getWidth", "getHeight", "getDom", "getOption", "resize", "dispatchAction", "convertToPixel", "convertFromPixel", "containPixel", "getDataURL", "getConnectedDataURL", "appendData", "clear", "isDisposed", "dispose"];
|
|
4
4
|
function ue(t) {
|
|
5
5
|
return function() {
|
|
@@ -34552,7 +34552,7 @@ const Eae = R({ name: "OText" }), Vae = R({ ...Eae, props: { lineClamp: { type:
|
|
|
34552
34552
|
} }), iie = st(mt(aie, [["__scopeId", "data-v-60d77113"]]));
|
|
34553
34553
|
Qe([_M, yM, cM, KI, $I, ov, tT, gv, nT, aT, dT, gT, Kl, xT, wT, _T, CT, MT, IT, kT, ET, Wy, Zy, RT, jy, Uy, PT, FT, HT]);
|
|
34554
34554
|
const rie = { key: 1, class: "vChart-box" }, sie = R({ name: "OCountBar" }), lie = R({ ...sie, props: { data: { type: Array, default: () => [] }, options: { type: Object, default: () => ({ count: "inCount", size: "inSize", format: "" }) } }, setup(n) {
|
|
34555
|
-
const t = Oh(() => import("./index-
|
|
34555
|
+
const t = Oh(() => import("./index-CRm2Dzfs.js")), e = n, o = ue(), a = ue(!1);
|
|
34556
34556
|
let i = { tooltip: { trigger: "axis", axisPointer: { type: "shadow" }, formatter: (r) => `总数量: ${go(r[0].value)}个 <br> 总大小: ${Xo(r[1].value)}` }, grid: { containLabel: !0, top: "2%", right: "2%", bottom: "2%", left: "2%" }, xAxis: [{ type: "value", show: !1 }, { type: "value", show: !1 }], yAxis: { type: "category", axisTick: { show: !1 }, axisLine: { show: !1 }, splitLine: { show: !1, lineStyle: { type: "dashed", color: "#1b78fc", opacity: 0.4 } }, minInterval: 1, axisLabel: { color: "#8e97ae", formatter: (r) => r } }, series: [{ data: [], type: "bar", barWidth: "20%", label: { show: !1, position: "top", formatter: (r) => go(r.value) }, itemStyle: { borderRadius: 10, color: "#1b78fc" } }, { data: [], xAxisIndex: 1, type: "bar", barWidth: "20%", label: { show: !1, position: "top", formatter: (r) => Xo(r.value) }, itemStyle: { borderRadius: 10, color: "#30bd82" } }] };
|
|
34557
34557
|
return ot(() => e.data, (r) => {
|
|
34558
34558
|
if (on(r))
|
|
@@ -34565,7 +34565,7 @@ const rie = { key: 1, class: "vChart-box" }, sie = R({ name: "OCountBar" }), lie
|
|
|
34565
34565
|
return a.value ? (k(), me(l, { key: 0, class: "h-100%" })) : (k(), B("div", rie, [Ye(U(t), { class: "calc-height", option: o.value, autoresize: "" }, null, 8, ["option"])]));
|
|
34566
34566
|
};
|
|
34567
34567
|
} }), cie = st(mt(lie, [["__scopeId", "data-v-fa121cf7"]])), uie = { key: 1, class: "vChart-box" }, die = R({ name: "OCountBarOld" }), pie = R({ ...die, props: { data: { type: Array, default: () => [] } }, setup(n) {
|
|
34568
|
-
const t = Oh(() => import("./index-
|
|
34568
|
+
const t = Oh(() => import("./index-CRm2Dzfs.js")), e = n, o = ue(), a = ue(!1);
|
|
34569
34569
|
let i = { tooltip: { trigger: "axis", formatter: (r) => {
|
|
34570
34570
|
const s = r[0];
|
|
34571
34571
|
return `${s.name}: ${go(s.value)}个 <br> 总大小: ${Xo(r[1].value)}`;
|
|
@@ -34672,7 +34672,7 @@ function l4(n, t) {
|
|
|
34672
34672
|
return n.dataIndex === 0 ? parseInt(t) > 100 ? zi("--red") : zi("--blue") : zi("--green");
|
|
34673
34673
|
}
|
|
34674
34674
|
const Bie = R({ name: "OQuotaPie", __name: "index", props: { used: { type: [String, Number], required: !0 }, total: { type: [String, Number], required: !0 }, type: { type: String, default: "used" }, text: { type: String, required: !0, default: "总使用量 / 总可用量" } }, setup(n) {
|
|
34675
|
-
const t = Oh(() => import("./index-
|
|
34675
|
+
const t = Oh(() => import("./index-CRm2Dzfs.js")), e = n, o = ue(null), a = ue({ width: 0, height: 0 }), i = ue(!1), r = ue();
|
|
34676
34676
|
ue([]);
|
|
34677
34677
|
const s = ue(0), l = ue(0), c = ue("0%");
|
|
34678
34678
|
let u = { title: { text: "", textStyle: { color: "blue", fontSize: 16 } }, legend: { top: "bottom", textStyle: { fontSize: 10 }, left: "center" }, tooltip: { trigger: "item", show: !1 }, toolbox: { show: !0, feature: { mark: { show: !0 } } }, series: [{ type: "pie", radius: ["75%", "95%"], center: ["50%", "50%"], label: { backgroundColor: "#F6F8FC", borderColor: "#8C8D8E", position: "inner", borderRadius: 4, textStyle: { fontSize: 12, color: "#e4393c" }, rich: { a: { color: "#6E7079", lineHeight: 22, fontSize: 10, align: "center" }, hr: { borderColor: "#8C8D8E", width: "100%", borderWidth: 1, height: 0 }, b: { color: "#4C5058", fontSize: 12, fontWeight: "bold", lineHeight: 33 } } }, itemStyle: { borderRadius: 8, color: (p) => l4(p, c.value) }, data: [] }], graphic: { type: "text", left: "center", top: "center", style: { text: ae(() => {
|
|
@@ -34733,11 +34733,11 @@ ${e.text}`;
|
|
|
34733
34733
|
});
|
|
34734
34734
|
}) : Promise.reject("form item ref not found") }), (c, u) => {
|
|
34735
34735
|
const d = Le("el-input-number"), p = Le("o-radio"), h = Le("el-form-item");
|
|
34736
|
-
return k(), me(h, Ne({ label: "配额", prop: "quota", rules: l.value, ref_key: "formItemRef", ref: s, required: "" }, c.$attrs), { default: fe(() => [L("div", Pie, [L("div", Hie, [Ye(d, { modelValue: i.value, "onUpdate:modelValue": u[0] || (u[0] = (f) => i.value = f),
|
|
34736
|
+
return k(), me(h, Ne({ label: "配额", prop: "quota", rules: l.value, ref_key: "formItemRef", ref: s, required: "" }, c.$attrs), { default: fe(() => [L("div", Pie, [L("div", Hie, [Ye(d, { modelValue: i.value, "onUpdate:modelValue": u[0] || (u[0] = (f) => i.value = f), style: { "min-width": "150px" }, class: "mr" }, null, 8, ["modelValue"]), Ye(p, { modelValue: r.value, "onUpdate:modelValue": u[1] || (u[1] = (f) => r.value = f), options: Fie, showType: "button" }, null, 8, ["modelValue"])])])]), _: 1 }, 16, ["rules"]);
|
|
34737
34737
|
};
|
|
34738
34738
|
} }), Wie = st(Gie), ML = (n) => (Eh("data-v-8e59e54b"), n = n(), Vh(), n), Zie = { class: "vChart-box" }, jie = { class: "f w-100% list-container" }, Uie = { class: "list" }, Xie = ML(() => L("div", null, "使用量", -1)), Yie = { class: "num" }, Qie = { class: "list" }, Jie = ML(() => L("div", null, "总量", -1)), Kie = { class: "num" }, qie = R({ name: "OUsedPie" }), $ie = R({ ...qie, props: { used: { type: [Number, String], default: 0 }, total: { type: [Number, String], default: 0 }, options: { type: Object, default: () => {
|
|
34739
34739
|
} } }, setup(n) {
|
|
34740
|
-
const t = Oh(() => import("./index-
|
|
34740
|
+
const t = Oh(() => import("./index-CRm2Dzfs.js")), e = n, o = ue(), a = ue("0%");
|
|
34741
34741
|
let i = { tooltip: { trigger: "item", show: !1 }, series: [{ type: "pie", center: ["50%", "50%"], radius: ["65%", "85%"], clockwise: !0, avoidLabelOverlap: !0, hoverOffset: 15, itemStyle: { color: (r) => l4(r, a.value) }, label: { show: !1, position: "outside", formatter: function(r) {
|
|
34742
34742
|
r.name, r.value;
|
|
34743
34743
|
let { value: s, name: l } = r.data, c = Xo(s);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as t, O as e, x as o, h as r, k as m, c as i, L as n, z as g, a as c, K as f, b as l, G as p, H as d, o as u, y, M as S, A as v, l as b, g as h, q as N, N as T, j as x, f as B, d as C, e as E, B as F, m as L, n as w, E as D, C as I, s as O, r as W, I as $, F as j, D as k, J as q, u as z, p as A, v as G, w as H } from "./index-
|
|
1
|
+
import { $ as t, O as e, x as o, h as r, k as m, c as i, L as n, z as g, a as c, K as f, b as l, G as p, H as d, o as u, y, M as S, A as v, l as b, g as h, q as N, N as T, j as x, f as B, d as C, e as E, B as F, m as L, n as w, E as D, C as I, s as O, r as W, I as $, F as j, D as k, J as q, u as z, p as A, v as G, w as H } from "./index-DoBe9-fR.js";
|
|
2
2
|
export {
|
|
3
3
|
t as $toast,
|
|
4
4
|
e as OSvg,
|
|
@@ -82,6 +82,6 @@ For more detail, please visit: ${w}
|
|
|
82
82
|
|
|
83
83
|
${h}
|
|
84
84
|
|
|
85
|
-
${e.text}`}),textAlign:"center",fill:"#000",fontSize:14,fontWeight:"bold"}}};d.watch(()=>[e.used,e.total],([h,m])=>{h||m?(r.value=!1,s.value=Ou(h),l.value=Ou(m),u.series[0].data=[s.value,l.value-s.value],i.value=function(f,g=1){if(uy(f)&&(f=dy(f)),vl(f)!=="array")return Wk(f);const v=Wk(f),y=[];for(let x=0;x<g;x++)y.push(...v);return y}(u)):r.value=!0},{deep:!0,immediate:!0});const p=(h,m)=>{let f=Math.min(h,m)/20;f<10?f=10:f>24&&(f=24),u.graphic.style.fontSize=f+"px",u.series[0].label.textStyle={fontSize:f/30,color:"#e4393c"},u.title.textStyle={color:"blue",fontSize:f/25},u.legend.textStyle={fontSize:f/35},i.value={...u}};return d.onMounted(()=>{const h=new ResizeObserver(m=>{for(let f of m){const{width:g,height:v}=f.contentRect;a.value={width:g,height:v},p(g,v)}});return o.value&&h.observe(o.value),()=>{h.disconnect()}}),(h,m)=>{const f=d.resolveComponent("o-empty");return r.value?(d.openBlock(),d.createBlock(f,{key:0,class:"h-100%"})):(d.openBlock(),d.createElementBlock("div",{key:1,class:"vChart-box",ref_key:"containerRef",ref:o},[d.createVNode(d.unref(t),{class:"calc-height",option:i.value,autoresize:""},null,8,["option"])],512))}}}),Rae=Ue($e(Oae,[["__scopeId","data-v-1a72eedc"]])),Pae={class:"f-st-ct"},Hae={class:"f-st-ct w-100% mr2"},Fae=[{label:"GB",value:"GB"},{label:"TB",value:"TB"},{label:"PB",value:"PB"}],Wae=d.defineComponent({name:"OQuotaUnit",__name:"index",props:{modelValue:{type:[Number,null]},unit:{type:[Number,null]},validator:{type:[Function,null]}},emits:["update:modelValue","update:unit"],setup(n,{expose:t,emit:e}){const o=n,a=e,r=d.ref(o.modelValue??1),i=d.ref(o.unit??"GB"),s=d.ref(null),l=d.computed(()=>{let c={validator:(u,p,h)=>{/^[1-9]+\d*$/.test(r.value)?h():h(new Error("请输入正整数"))},trigger:[]};return o.validator?[c,{validator:o.validator,trigger:[]}]:[c]});return d.watch(()=>o.modelValue,c=>{r.value=c}),d.watch(()=>r.value,c=>{a("update:modelValue",c)},{immediate:!0}),d.watch(()=>o.unit,c=>{i.value=c}),d.watch(()=>i.value,c=>{a("update:unit",c)},{immediate:!0}),t({validate:async()=>s.value?new Promise((c,u)=>{s.value.validate(p=>{p?c(p):u(new Error("配额校验失败"))})}):Promise.reject("form item ref not found")}),(c,u)=>{const p=d.resolveComponent("el-input-number"),h=d.resolveComponent("o-radio"),m=d.resolveComponent("el-form-item");return d.openBlock(),d.createBlock(m,d.mergeProps({label:"配额",prop:"quota",rules:l.value,ref_key:"formItemRef",ref:s,required:""},c.$attrs),{default:d.withCtx(()=>[d.createElementVNode("div",Pae,[d.createElementVNode("div",Hae,[d.createVNode(p,{modelValue:r.value,"onUpdate:modelValue":u[0]||(u[0]=f=>r.value=f),
|
|
85
|
+
${e.text}`}),textAlign:"center",fill:"#000",fontSize:14,fontWeight:"bold"}}};d.watch(()=>[e.used,e.total],([h,m])=>{h||m?(r.value=!1,s.value=Ou(h),l.value=Ou(m),u.series[0].data=[s.value,l.value-s.value],i.value=function(f,g=1){if(uy(f)&&(f=dy(f)),vl(f)!=="array")return Wk(f);const v=Wk(f),y=[];for(let x=0;x<g;x++)y.push(...v);return y}(u)):r.value=!0},{deep:!0,immediate:!0});const p=(h,m)=>{let f=Math.min(h,m)/20;f<10?f=10:f>24&&(f=24),u.graphic.style.fontSize=f+"px",u.series[0].label.textStyle={fontSize:f/30,color:"#e4393c"},u.title.textStyle={color:"blue",fontSize:f/25},u.legend.textStyle={fontSize:f/35},i.value={...u}};return d.onMounted(()=>{const h=new ResizeObserver(m=>{for(let f of m){const{width:g,height:v}=f.contentRect;a.value={width:g,height:v},p(g,v)}});return o.value&&h.observe(o.value),()=>{h.disconnect()}}),(h,m)=>{const f=d.resolveComponent("o-empty");return r.value?(d.openBlock(),d.createBlock(f,{key:0,class:"h-100%"})):(d.openBlock(),d.createElementBlock("div",{key:1,class:"vChart-box",ref_key:"containerRef",ref:o},[d.createVNode(d.unref(t),{class:"calc-height",option:i.value,autoresize:""},null,8,["option"])],512))}}}),Rae=Ue($e(Oae,[["__scopeId","data-v-1a72eedc"]])),Pae={class:"f-st-ct"},Hae={class:"f-st-ct w-100% mr2"},Fae=[{label:"GB",value:"GB"},{label:"TB",value:"TB"},{label:"PB",value:"PB"}],Wae=d.defineComponent({name:"OQuotaUnit",__name:"index",props:{modelValue:{type:[Number,null]},unit:{type:[Number,null]},validator:{type:[Function,null]}},emits:["update:modelValue","update:unit"],setup(n,{expose:t,emit:e}){const o=n,a=e,r=d.ref(o.modelValue??1),i=d.ref(o.unit??"GB"),s=d.ref(null),l=d.computed(()=>{let c={validator:(u,p,h)=>{/^[1-9]+\d*$/.test(r.value)?h():h(new Error("请输入正整数"))},trigger:[]};return o.validator?[c,{validator:o.validator,trigger:[]}]:[c]});return d.watch(()=>o.modelValue,c=>{r.value=c}),d.watch(()=>r.value,c=>{a("update:modelValue",c)},{immediate:!0}),d.watch(()=>o.unit,c=>{i.value=c}),d.watch(()=>i.value,c=>{a("update:unit",c)},{immediate:!0}),t({validate:async()=>s.value?new Promise((c,u)=>{s.value.validate(p=>{p?c(p):u(new Error("配额校验失败"))})}):Promise.reject("form item ref not found")}),(c,u)=>{const p=d.resolveComponent("el-input-number"),h=d.resolveComponent("o-radio"),m=d.resolveComponent("el-form-item");return d.openBlock(),d.createBlock(m,d.mergeProps({label:"配额",prop:"quota",rules:l.value,ref_key:"formItemRef",ref:s,required:""},c.$attrs),{default:d.withCtx(()=>[d.createElementVNode("div",Pae,[d.createElementVNode("div",Hae,[d.createVNode(p,{modelValue:r.value,"onUpdate:modelValue":u[0]||(u[0]=f=>r.value=f),style:{"min-width":"150px"},class:"mr"},null,8,["modelValue"]),d.createVNode(h,{modelValue:i.value,"onUpdate:modelValue":u[1]||(u[1]=f=>i.value=f),options:Fae,showType:"button"},null,8,["modelValue"])])])]),_:1},16,["rules"])}}}),Gae=Ue(Wae),LE=n=>(d.pushScopeId("data-v-8e59e54b"),n=n(),d.popScopeId(),n),Zae={class:"vChart-box"},jae={class:"f w-100% list-container"},Uae={class:"list"},Xae=LE(()=>d.createElementVNode("div",null,"使用量",-1)),Yae={class:"num"},Qae={class:"list"},Jae=LE(()=>d.createElementVNode("div",null,"总量",-1)),Kae={class:"num"},qae=d.defineComponent({name:"OUsedPie"}),$ae=d.defineComponent({...qae,props:{used:{type:[Number,String],default:0},total:{type:[Number,String],default:0},options:{type:Object,default:()=>{}}},setup(n){const t=d.defineAsyncComponent(()=>Promise.resolve().then(()=>Oh)),e=n,o=d.ref(),a=d.ref("0%");let r={tooltip:{trigger:"item",show:!1},series:[{type:"pie",center:["50%","50%"],radius:["65%","85%"],clockwise:!0,avoidLabelOverlap:!0,hoverOffset:15,itemStyle:{color:i=>Ry(i,a.value)},label:{show:!1,position:"outside",formatter:function(i){i.name,i.value;let{value:s,name:l}=i.data,c=to(s);return`${l}: ${c}
|
|
86
86
|
占比: (${i.percent}%)`},rich:{hr:{backgroundColor:"t",borderRadius:3,width:3,height:3,padding:[3,3,0,-12]},a:{padding:[-30,15,-20,15]}}},labelLine:{normal:{length:20,length2:30,lineStyle:{width:1}}},data:[]}],graphic:[{type:"text",left:"center",top:"center",style:{text:"",textAlign:"center",fontSize:34,fontWeight:"bold",fill:"#333"}}]};return d.watch(()=>[e.used,e.total],([i,s])=>{let l=Ah(i),c=Ah(s);c!=0&&(a.value=(l/c*100).toFixed(2)+"%"),r.series[0].data=[{prop:"used",name:"使用量",value:l}],l!=0||c!=0?(r.series[0].data.push({name:"剩余量",value:c-l}),r.series[0].itemStyle.color=u=>Ry(u,a.value)):r.series[0].itemStyle.color=Na("--green"),r.graphic[0].style.text=a.value,o.value=Eu(r)},{deep:!0,immediate:!0}),(i,s)=>(d.openBlock(),d.createElementBlock("div",Zae,[d.createVNode(d.unref(t),{class:"calc-height",option:o.value,autoresize:""},null,8,["option"]),d.createElementVNode("div",jae,[d.createElementVNode("div",Uae,[Xae,d.createElementVNode("div",Yae,d.toDisplayString(d.unref(to)(n.used)),1)]),d.createElementVNode("div",Qae,[Jae,d.createElementVNode("div",Kae,d.toDisplayString(d.unref(to)(n.total)),1)])])]))}}),ere=Ue($e($ae,[["__scopeId","data-v-8e59e54b"]])),tre={class:"cus-loading"},nre={class:"cus-loading-content"},ore=(n=>(d.pushScopeId("data-v-adfb2349"),n=n(),d.popScopeId(),n))(()=>d.createElementVNode("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAFpJJREFUeF7tXQvMbkV1XTuNxBRpkWhbWh+RJhaVequA4gUFNLyLSLHYSuUhFKFYuC1iKhLh1lqaACqNovJS0BqBXkVAEAkPsYgoz0tFalM02gIttNpSjEra1bNk/t4vP///fWfmzJzn3snNTe7ds2f2mrO+OWdmz94GF0fAEVgVAXNsHAFHYHUEnCD+dDgCcxBwgvjj4Qg4QfwZcATSEPAVJA03bzURBJwgE5lodzMNASdIGm7eaiIIOEEmMtHuZhoCTpA03LzVRBBwgkxkot3NNAScIGm4eauJIOAE6cFEk9wcwIsBvDQMZyOA+8zs8R4Mb9JDcIJ0PP0kTwNwNICtlw3lQQDnmtn6joc46e6dIB1OP8nLALxxwRAuM7ODOxzmpLt2gnQ0/ST3BHBtze73MrMv1dR1tYwIOEEyghljqiLIVyuCvKpmm1srgqytqetqGRFwg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bzVvyH1eQQJBtgirSEyclhMk8jntTJ3kyQBigumyx1sNmSCBJMowGROndbKZnd7ZpBfqeKyvWEojqqTGdX4BN5jZbOrNQlBvMtv3FWRppCTrXi7Td9tObaUDLT5BMx2MkiDhF1AJsz++IIJXlVL3yhlGXmfyBkQQFba5FsCOc/xSZO8RZqagx9HJaAkSSPJKJTquConq71nRXYxPVdk9Plq6jPBKT8xQCBIw3BbAMQDeAmCrZf7cVhXSPN7Mvj46ZgSHRk2QmVcF1cLbv5pohUP8a5Uk4faSlVEXPSxDIsgMhorTUq37Xw5/rqoSSuh24ahlEgTp2wwOkSB9w7Ct8ThB2kJ6ph8nSAegJ3bpBEkErkkzJ0gT9Npt6wRpF++f9eYE6QD0xC6dIInANWlGUpsGd0TaeHl1P/6uyDau3hABJ0hDAFOak3xalR9XYS2b1Wz/k6rQ6RZm9kRNfVfLhIATJBOQsWaqhNWKmK1b4/sWM9sltg/Xb46AE6Q5hkkWSB4N4GM1G7/NzM6tqetqGRFwgmQEM9YUSWVZV7b1eXK1me0Xa9v18yDgBMmDY7IVkso0r5od2ywz8k8ATjKzzyUb94aNEXCCNIawuQGSyrKum3xLCap1P2VjznzAzUc5TQtOkGnOu3tdEwEnSE2gXG2aCDhBpjnv7nVNBJwgNYFytWki4ASZ5ry71zURcILUBMrVpomAE2Sa8+5e10TACVITKFebJgJOkGnOu3tdEwEnSE2gXG2aCDhBpjnv7nVNBJwgNYFytWki8H90hZ4jFbQIigAAAABJRU5ErkJggg==",class:"w-24 h-24"},null,-1)),are={class:"desc"};function zE(n,t){n.classList.contains(t)||n.classList.add(t)}function OE(n,t){n.classList.remove(t)}const RE="po-r";function PE(n){return{mounted(o,a){const r=d.createApp(n).mount(document.createElement("div")),i=n.__name;o[i]||(o[i]={}),o[i].instance=r;const s=a.arg;s!==void 0&&(o[i].instance.loadingText=s),a.value&&e(o)},updated(o,a){const r=a.arg,i=n.__name;typeof title<"u"&&(o[i].instance.loadingText=r),a.value!==a.oldValue&&(a.value?e(o):function(s){const l=n.__name;OE(s,RE),OE(s,"c-model"),s.removeChild(s[l].instance.$el)}(o))}};async function e(o){await d.nextTick();const a=getComputedStyle(o),r=n.__name;["relative","absolute","fixed"].includes(a.position)||(zE(o,RE),r==="cusLoading"&&zE(o,"c-model")),o.appendChild(o[r].instance.$el)}}let rre=PE($e(d.defineComponent({__name:"cusLoading",setup(n,{expose:t}){const{proxy:e}=d.getCurrentInstance(),o=d.ref("正在载入...");return t({setLoadingText:a=>{o.value=a},loadingText:o}),(a,r)=>(d.openBlock(),d.createElementBlock("div",tre,[d.createElementVNode("div",nre,[ore,d.createElementVNode("p",are,d.toDisplayString(o.value),1)])]))}}),[["__scopeId","data-v-adfb2349"]]));const ire={class:"cus-loading"},sre={class:"cus-loading-content"},lre=["src"],cre={class:"desc"};let ure=PE($e(d.defineComponent({__name:"cusEmpty",setup(n,{expose:t}){const{proxy:e}=d.getCurrentInstance(),o=d.ref("暂无数据");return t({setLoadingText:a=>{o.value=a},loadingText:o}),(a,r)=>(d.openBlock(),d.createElementBlock("div",ire,[d.createElementVNode("div",sre,[d.createElementVNode("img",{src:d.unref(Zk),style:{width:"40px"}},null,8,lre),d.createElementVNode("p",cre,d.toDisplayString(o.value),1)])]))}}),[["__scopeId","data-v-1d5c1cea"]]));const Py={...Object.assign({"./components/chart/index.ts":XZ,"./components/checkbox/index.ts":KZ,"./components/chooseArea/index.ts":tj,"./components/clickOutside/index.ts":lj,"./components/compTitle/index.ts":ny,"./components/dateRange/index.ts":hj,"./components/description/index.ts":pte,"./components/dialog/index.ts":xte,"./components/drawer/index.ts":Mte,"./components/empty/index.ts":Nte,"./components/form/index.ts":Fte,"./components/functionSourceCode/index.ts":Ute,"./components/icon/index.ts":Oi,"./components/input/index.ts":jk,"./components/inputLabel/index.ts":tne,"./components/popconfirm/index.ts":Uk,"./components/progress/index.ts":lne,"./components/radio/index.ts":dne,"./components/select/index.ts":bne,"./components/svg/index.ts":kh,"./components/switch/index.ts":Sne,"./components/table/index.ts":Rne,"./components/tabs/index.ts":Wne,"./components/tag/index.ts":Zne,"./components/test/index.ts":Une,"./components/text/index.ts":Loe,"./components/title/index.ts":Hoe,"./components/tooltip/index.ts":Ih,"./components/warning/index.ts":Zoe}),...Object.assign({"./components/company/baseHeader/index.ts":Joe,"./components/company/basicLayout/index.ts":$oe,"./components/company/capacityProgress/index.ts":rae,"./components/company/countBar/index.ts":cae,"./components/company/countBarOld/index.ts":hae,"./components/company/item/index.ts":yae,"./components/company/itemWrapper/index.ts":wae,"./components/company/objectLine/index.ts":Cae,"./components/company/outService/index.ts":Bae,"./components/company/overviewItem/index.ts":zae,"./components/company/quotaPie/index.ts":Rae,"./components/company/quotaUnit/index.ts":Gae,"./components/company/usedPie/index.ts":ere})},HE=Object.entries(Py).reduce((n,[t,e])=>(n[e.name||"o"+e.__name]=e,n),{}),FE=n=>{Object.keys(Py).forEach(t=>{let e=Py[t];n.component(e.name||"o"+e.__name,e)}),function(t){function e(){const r=document.createElement("input");r.value=this.copyData.toLocaleString(),document.body.appendChild(r),r.select(),document.execCommand("Copy"),document.body.removeChild(r),cn(`${r.value} 复制成功`,"s",{duration:1e3})}function o(r){const i=r.target,s=i.selectionStart,l=i.value.length;i.value=i.value.replace(/[^0-9]/g,""),a(i),i.value&&(i.value=Number(i.value));const c=l-i.value.length;i.setSelectionRange(s-c,s-c)}function a(r){const i=r._min,s=r._max;i!==null&&r.value&&Number(r.value)<i&&(r.value=Number(i.toString())),s!==null&&r.value&&Number(r.value)>s&&(r.value=Number(s.toString()))}t.directive("cusLoading",rre),t.directive("cusEmpty",ure),t.directive("copy",{mounted(r,i){r.copyData=i.value,r.addEventListener("click",e)}}),t.directive("focus",{mounted(r){const i=r.nodeName==="INPUT"?r:r.querySelector("input");setTimeout(()=>{i.focus()},0)}}),t.directive("directives",{mounted(r,i){const s=i.value,l=i.instance,c=l.$.appContext.directives;if(!s)return{};Object.keys(s).forEach(u=>{if(s[u]){const p=c[u];p&&p.mounted?p.mounted(r,{value:s[u],instance:l}):p&&p.inserted&&p.inserted(r,{value:s[u],instance:l})}})}}),t.directive("number",{mounted(r){const i=r.nodeName==="INPUT"?r:r.querySelector("input");i&&(i.value=i.value,i.addEventListener("input",o))},updated(r){const i=r.nodeName==="INPUT"?r:r.querySelector("input");if(!i)return;const s=i.min?Number(i.min):null,l=i.max?Number(i.max):null;i._min=s,i._max=l,a(i)}}),t.directive("throttle",{mounted(r,i){if(typeof i.value!="function")return;let s=1e3;for(let c in i.modifiers)isNaN(Number(c))||typeof Number(c)!="number"?(r.method===void 0&&(r.method={}),r.method[c]=!0):s=Number(c);Bt(r.method)&&(r.nodeName==="INPUT"||r.getElementsByTagName("input").length>0?r.method={input:!0}:r.method={click:!0});const l=q4(i.value,s);r._ThrottleDirective=l;for(const c in r.method)r.addEventListener(c,l)},unmounted(r,i){if(r._ThrottleDirective){for(const s in r.method)r.removeEventListener(s,r._ThrottleDirective);delete r._ThrottleDirective}}}),t.directive("debounce",{mounted(r,i){if(typeof i.value!="function")return;let s=1e3;for(let c in i.modifiers)isNaN(Number(c))||typeof Number(c)!="number"?(r.method===void 0&&(r.method={}),r.method[c]=!0):s=Number(c);Bt(r.method)&&(r.nodeName==="INPUT"||r.getElementsByTagName("input").length>0?r.method={input:!0}:r.method={click:!0});const l=$4(i.value,s);r._DebounceDirective=l;for(const c in r.method)r.addEventListener(c,l)},unmounted(r,i){if(r._DebounceDirective){for(const s in r.method)r.removeEventListener(s,r._DebounceDirective);delete r._DebounceDirective}}})}(n);for(const[t,e]of Object.entries(Ok))n.component(`el-icon-${Tu(t)}`,e);n.use(Boe)};typeof window<"u"&&window.Vue&&FE(window.Vue);const dre={install:FE,...HE,utils:ey},pre=["getWidth","getHeight","getDom","getOption","resize","dispatchAction","convertToPixel","convertFromPixel","containPixel","getDataURL","getConnectedDataURL","appendData","clear","isDisposed","dispose"];function hre(n){return function(){const t=Object.create(null);return pre.forEach(e=>{t[e]=function(o){return(...a)=>{if(!n.value)throw new Error("ECharts is not initialized yet.");return n.value[o].apply(n.value,a)}}(e)}),t}()}const mre={autoresize:[Boolean,Object]},fre=/^on[^a-z]/,WE=n=>fre.test(n);function zh(n,t){const e=d.isRef(n)?d.unref(n):n;return e&&typeof e=="object"&&"value"in e?e.value||t:e||t}const GE="ecLoadingOptions",gre={loading:Boolean,loadingOptions:Object};let Uu=null;const ZE="x-vue-echarts";document.head.appendChild(document.createElement("style")).textContent=`x-vue-echarts{display:block;width:100%;height:100%;min-width:0}
|
|
87
87
|
`;const vre=function(){if(Uu!=null)return Uu;if(typeof HTMLElement>"u"||typeof customElements>"u")return Uu=!1;try{new Function("tag","class EChartsElement extends HTMLElement{__dispose=null;disconnectedCallback(){this.__dispose&&(this.__dispose(),this.__dispose=null)}}customElements.get(tag)==null&&customElements.define(tag,EChartsElement);")(ZE)}catch{return Uu=!1}return Uu=!0}(),jE="ecTheme",UE="ecInitOptions",XE="ecUpdateOptions",YE=/(^&?~?!?)native:/;var yre=d.defineComponent({name:"echarts",props:{option:Object,theme:{type:[Object,String]},initOptions:Object,updateOptions:Object,group:String,manualUpdate:Boolean,...mre,...gre},emits:{},inheritAttrs:!1,setup(n,{attrs:t}){const e=d.shallowRef(),o=d.shallowRef(),a=d.shallowRef(),r=d.inject(jE,null),i=d.inject(UE,null),s=d.inject(XE,null),{autoresize:l,manualUpdate:c,loading:u,loadingOptions:p}=d.toRefs(n),h=d.computed(()=>a.value||n.option||null),m=d.computed(()=>n.theme||zh(r,{})),f=d.computed(()=>n.initOptions||zh(i,{})),g=d.computed(()=>n.updateOptions||zh(s,{})),v=d.computed(()=>function(A){const M={};for(const I in A)WE(I)||(M[I]=A[I]);return M}(t)),y={},x=d.getCurrentInstance().proxy.$listeners,w={};function b(A){if(!e.value)return;const M=o.value=Vm(e.value,m.value,f.value);function I(){const k=A||h.value;k&&M.setOption(k,g.value)}n.group&&(M.group=n.group),Object.keys(w).forEach(k=>{let E=w[k];if(!E)return;let N=k.toLowerCase();N.charAt(0)==="~"&&(N=N.substring(1),E.__once__=!0);let T=M;if(N.indexOf("zr:")===0&&(T=M.getZr(),N=N.substring(3)),E.__once__){delete E.__once__;const V=E;E=(...D)=>{V(...D),T.off(N,E)}}T.on(N,E)}),l.value?d.nextTick(()=>{M&&!M.isDisposed()&&M.resize(),I()}):I()}function C(){o.value&&(o.value.dispose(),o.value=void 0)}x?Object.keys(x).forEach(A=>{YE.test(A)?y[A.replace(YE,"$1")]=x[A]:w[A]=x[A]}):Object.keys(t).filter(A=>WE(A)).forEach(A=>{let M=A.charAt(2).toLowerCase()+A.slice(3);if(M.indexOf("native:")!==0)M.substring(M.length-4)==="Once"&&(M=`~${M.substring(0,M.length-4)}`),w[M]=t[A];else{const I=`on${M.charAt(7).toUpperCase()}${M.slice(8)}`;y[I]=t[A]}});let _=null;d.watch(c,A=>{typeof _=="function"&&(_(),_=null),A||(_=d.watch(()=>n.option,(M,I)=>{M&&(o.value?o.value.setOption(M,{notMerge:M!==I,...g.value}):b())},{deep:!0}))},{immediate:!0}),d.watch([m,f],()=>{C(),b()},{deep:!0}),d.watchEffect(()=>{n.group&&o.value&&(o.value.group=n.group)});const S=hre(o);return function(A,M,I){const k=d.inject(GE,{}),E=d.computed(()=>({...zh(k,{}),...I==null?void 0:I.value}));d.watchEffect(()=>{const N=A.value;N&&(M.value?N.showLoading(E.value):N.hideLoading())})}(o,u,p),function(A,M,I){d.watch([I,A,M],([k,E,N],T,V)=>{let D=null;if(k&&E&&N){const{offsetWidth:L,offsetHeight:z}=k,O=N===!0?{}:N,{throttle:R=100,onResize:P}=O;let G=!1;const j=()=>{E.resize(),P==null||P()},F=R?w0(j,R):j;D=new ResizeObserver(()=>{(G||(G=!0,k.offsetWidth!==L||k.offsetHeight!==z))&&F()}),D.observe(k)}V(()=>{D&&(D.disconnect(),D=null)})})}(o,l,e),d.onMounted(()=>{b()}),d.onBeforeUnmount(()=>{vre&&e.value?e.value.__dispose=C:C()}),{chart:o,root:e,setOption:function(A,M){n.manualUpdate&&(a.value=A),o.value?o.value.setOption(A,M||{}):b(A)},nonEventAttrs:v,nativeListeners:y,...S}},render(){const n={...this.nonEventAttrs,...this.nativeListeners};return n.ref="root",n.class=n.class?["echarts"].concat(n.class):"echarts",d.h(ZE,n)}});const Oh=Object.freeze(Object.defineProperty({__proto__:null,INIT_OPTIONS_KEY:UE,LOADING_OPTIONS_KEY:GE,THEME_KEY:jE,UPDATE_OPTIONS_KEY:XE,default:yre},Symbol.toStringTag,{value:"Module"}));De.$toast=cn,De.OSvg=kh,De.asyncWrapper=wk,De.clearStorage=gk,De.clone=Eu,De.components=HE,De.confirm=Ak,De.copy=_k,De.createSvg=function(n){return{Svg:e=>({component:kh,props:{...e,iconDirs:n}})}},De.debounce=$4,De.default=dre,De.formatBytes=to,De.formatBytesConvert=Ah,De.formatDurationTime=yk,De.formatImg=bk,De.formatNewLines=Mk,De.formatThousands=Nn,De.formatTime=Q4,De.getStorage=fl,De.getType=En,De.getVariable=Na,De.isEmpty=Bt,De.isNumber=ml,De.isString=X4,De.isStringNumber=hl,De.log=Ck,De.merge=vk,De.notEmpty=Di,De.processWidth=ut,De.random=Nu,De.setStorage=Ch,De.sleep=J4,De.throttle=q4,De.toFixed=K4,De.toLine=Tu,De.tryCatch=Sk,De.utils=ey,De.uuid=Sh,De.validForm=Y4,De.validate=xk,Object.defineProperties(De,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|