oeos-components 0.3.48 → 0.3.50
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.
|
@@ -32784,9 +32784,9 @@ const Dne = R({ name: "OInput" }), kne = R({ ...Dne, props: { modelValue: { requ
|
|
|
32784
32784
|
const u = n;
|
|
32785
32785
|
return t({ close: l }), (d, p) => {
|
|
32786
32786
|
const h = ze("el-button"), f = ze("el-popover");
|
|
32787
|
-
return u.reConfirm ? (L(), me(f, Oe({ key: 0, class: "o-popconfirm", title: u.title, width: u.width }, d.$attrs, { onShow: a, visible: o.value, "onUpdate:visible": p[0] || (p[0] = (m) => o.value = m) }), { reference: he(() => [be(d.$slots, "default", {}, void 0, !0)]), default: he(() => [be(d.$slots, "content", {}, () => [k("div", Rne, Ge(u.content), 1)], !0), k("div", Pne, [be(d.$slots, "footer", {}, () => [qe(h, { size: "small", type: "info", onClick: c }, { default: he(() => [At("取消")]), _: 1 }), qe(h, { size: "small", type: "primary", onClick: s }, { default: he(() => [At("确定")]), _: 1 })], !0)])]), _: 3 }, 16, ["title", "width", "visible"])) : (
|
|
32787
|
+
return u.reConfirm ? (L(), me(f, Oe({ key: 0, class: "o-popconfirm", title: u.title, width: u.width }, d.$attrs, { onShow: a, visible: o.value, "onUpdate:visible": p[0] || (p[0] = (m) => o.value = m) }), { reference: he(() => [be(d.$slots, "default", {}, void 0, !0)]), default: he(() => [be(d.$slots, "content", {}, () => [k("div", Rne, Ge(u.content), 1)], !0), k("div", Pne, [be(d.$slots, "footer", {}, () => [qe(h, { size: "small", type: "info", onClick: c }, { default: he(() => [At("取消")]), _: 1 }), qe(h, { size: "small", type: "primary", onClick: s }, { default: he(() => [At("确定")]), _: 1 })], !0)])]), _: 3 }, 16, ["title", "width", "visible"])) : be(d.$slots, "default", { key: 1 }, void 0, !0);
|
|
32788
32788
|
};
|
|
32789
|
-
} }), YD = dt(vt(Hne, [["__scopeId", "data-v-
|
|
32789
|
+
} }), YD = dt(vt(Hne, [["__scopeId", "data-v-48d423e5"]])), Fne = { class: "o-progress" }, Gne = R({ name: "OProgress" }), Wne = R({ ...Gne, props: { percentage: { type: Number, required: !0 }, animationTime: { type: Number, default: 500 }, isAnimation: { type: Boolean, default: !0 } }, setup(n) {
|
|
32790
32790
|
const t = n, e = { "stroke-width": 16 }, o = fe(0), a = (r) => r < 30 ? "#909399" : r < 70 ? "#e6a23c" : "#67c23a";
|
|
32791
32791
|
return ut(() => t.percentage, (r) => {
|
|
32792
32792
|
t.isAnimation && (() => {
|
|
@@ -34456,7 +34456,7 @@ const mae = R({ name: "OText" }), gae = R({ ...mae, props: { lineClamp: { type:
|
|
|
34456
34456
|
} }), Fae = dt(vt(Hae, [["__scopeId", "data-v-60d77113"]]));
|
|
34457
34457
|
Ye([vM, hM, aM, UI, YI, $g, JI, pv, KI, $I, iT, dT, Kl, fT, mT, vT, wT, bT, _T, MT, TT, Py, Hy, ET, Fy, Gy, VT, OT, zT]);
|
|
34458
34458
|
const Gae = { key: 1, class: "vChart-box" }, Wae = R({ name: "OCountBar" }), Zae = R({ ...Wae, props: { data: { type: Array, default: () => [] } }, setup(n) {
|
|
34459
|
-
const t = Nh(() => import("./index-
|
|
34459
|
+
const t = Nh(() => import("./index-Ehnto3aG.js")), e = n, o = fe(), a = fe(!1);
|
|
34460
34460
|
let r = { tooltip: { trigger: "axis", axisPointer: { type: "shadow" }, formatter: (i) => {
|
|
34461
34461
|
const s = i[0];
|
|
34462
34462
|
return `${s.name}: ${mn(s.value)}个 <br> 总大小: ${Xo(i[1].value)}`;
|
|
@@ -34475,7 +34475,7 @@ const Gae = { key: 1, class: "vChart-box" }, Wae = R({ name: "OCountBar" }), Zae
|
|
|
34475
34475
|
return a.value ? (L(), me(l, { key: 0, class: "h-100%" })) : (L(), B("div", Gae, [qe(U(t), { class: "calc-height", option: o.value, autoresize: "" }, null, 8, ["option"])]));
|
|
34476
34476
|
};
|
|
34477
34477
|
} }), jae = dt(vt(Zae, [["__scopeId", "data-v-5787c7b8"]])), Uae = { key: 1, class: "vChart-box" }, Xae = R({ name: "OCountBarOld" }), Yae = R({ ...Xae, props: { data: { type: Array, default: () => [] } }, setup(n) {
|
|
34478
|
-
const t = Nh(() => import("./index-
|
|
34478
|
+
const t = Nh(() => import("./index-Ehnto3aG.js")), e = n, o = fe(), a = fe(!1);
|
|
34479
34479
|
let r = { tooltip: { trigger: "axis", formatter: (i) => {
|
|
34480
34480
|
const s = i[0];
|
|
34481
34481
|
return `${s.name}: ${mn(s.value)}个 <br> 总大小: ${Xo(i[1].value)}`;
|
|
@@ -34582,7 +34582,7 @@ function a4(n, t) {
|
|
|
34582
34582
|
return n.dataIndex === 0 ? parseInt(t) > 100 ? Or("--red") : Or("--blue") : Or("--green");
|
|
34583
34583
|
}
|
|
34584
34584
|
const xre = 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) {
|
|
34585
|
-
const t = Nh(() => import("./index-
|
|
34585
|
+
const t = Nh(() => import("./index-Ehnto3aG.js")), e = n, o = fe(null), a = fe({ width: 0, height: 0 }), r = fe(!1), i = fe();
|
|
34586
34586
|
fe([]);
|
|
34587
34587
|
const s = fe(0), l = fe(0), c = fe("0%");
|
|
34588
34588
|
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) => a4(p, c.value) }, data: [] }], graphic: { type: "text", left: "center", top: "center", style: { text: ae(() => {
|
|
@@ -34624,7 +34624,7 @@ ${e.text}`;
|
|
|
34624
34624
|
};
|
|
34625
34625
|
} }), wre = dt(vt(xre, [["__scopeId", "data-v-1a72eedc"]])), vk = (n) => (kh("data-v-8e59e54b"), n = n(), Lh(), n), bre = { class: "vChart-box" }, _re = { class: "f w-100% list-container" }, Sre = { class: "list" }, Are = vk(() => k("div", null, "使用量", -1)), Cre = { class: "num" }, Mre = { class: "list" }, Ire = vk(() => k("div", null, "总量", -1)), Tre = { class: "num" }, Dre = R({ name: "OUsedPie" }), kre = R({ ...Dre, props: { used: { type: [Number, String], default: 0 }, total: { type: [Number, String], default: 0 }, options: { type: Object, default: () => {
|
|
34626
34626
|
} } }, setup(n) {
|
|
34627
|
-
const t = Nh(() => import("./index-
|
|
34627
|
+
const t = Nh(() => import("./index-Ehnto3aG.js")), e = n, o = fe(), a = fe("0%");
|
|
34628
34628
|
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) => a4(i, a.value) }, label: { show: !1, position: "outside", formatter: function(i) {
|
|
34629
34629
|
i.name, i.value;
|
|
34630
34630
|
let { value: s, name: l } = i.data, c = Xo(s);
|
|
@@ -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-DbLGfaeA.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() {
|
|
@@ -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-DbLGfaeA.js";
|
|
2
2
|
export {
|
|
3
3
|
t as $toast,
|
|
4
4
|
e as OSvg,
|