oeos-components 0.3.62 → 0.3.63

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.
@@ -34472,7 +34472,7 @@ const Eae = R({ name: "OText" }), Vae = R({ ...Eae, props: { lineClamp: { type:
34472
34472
  return t.size === "small" && (a.paddingTop = 0, a.paddingBottom = 0), t.dotted && (a["border-style"] = "dotted"), t.left && (a.marginLeft = "8px"), { ...a, ...t.customStyle };
34473
34473
  });
34474
34474
  return (a, i) => (k(), B("div", Le({ class: [`o-warning__${t.type}`, "o-warning-box"], style: { ...j(Tt)(t.width), ...o.value } }, a.$attrs), [n.type === "warning" && t.icon ? (k(), B("img", Fae)) : n.type === "error" && t.icon ? (k(), me(j(Ui), Le({ key: 1, name: "circle-close", color: "#f56c6c" }, n.iconAttrs, { class: "o-warning-box__icon", size: "16" }), null, 16)) : n.type !== "warning" && t.icon ? (k(), me(j(Ui), Le({ key: 2, name: "warning", color: "var(--45)" }, n.iconAttrs, { class: "o-warning-box__icon", size: "16" }), null, 16, ["color"])) : Oe("", !0), L("div", Gae, [a.$slots.title || n.title ? (k(), B("div", { key: 0, class: Be(["o-warning-box__title", `o-warning-box__title--${n.type}`]) }, [be(a.$slots, "title", {}, () => [wt(Pe(n.title), 1)], !0)], 2)) : Oe("", !0), be(a.$slots, "content", {}, () => [L("span", Le({ class: ["o-warning-box__content", n.type === "icon" && "cl-45 fs-14"] }, e.value), null, 16)], !0)])], 16));
34475
- } }), jae = st(ht(Zae, [["__scopeId", "data-v-571064f1"]])), Uae = { class: "base-header-box" }, Xae = { class: "base-header-box__left" }, Yae = { class: "base-header-box__right" }, Qae = R({ name: "OBaseHeader" }), Jae = R({ ...Qae, setup(n) {
34475
+ } }), jae = st(ht(Zae, [["__scopeId", "data-v-ee9e82b6"]])), Uae = { class: "base-header-box" }, Xae = { class: "base-header-box__left" }, Yae = { class: "base-header-box__right" }, Qae = R({ name: "OBaseHeader" }), Jae = R({ ...Qae, setup(n) {
34476
34476
  const { proxy: t } = Lt();
34477
34477
  return (e, o) => (k(), B("div", Uae, [L("div", Xae, [be(e.$slots, "default", {}, void 0, !0)]), L("div", Yae, [be(e.$slots, "right", {}, void 0, !0)])]));
34478
34478
  } }), Kae = st(ht(Jae, [["__scopeId", "data-v-645dc0a4"]])), qae = R({ name: "OBasicLayout" }), $ae = R({ ...qae, props: { title: { type: String, default: "" }, boxStyle: { type: Object, default: () => ({}) }, headerStyle: { type: Object, default: () => ({}) }, bodyStyle: { type: Object, default: () => ({}) }, footerStyle: { type: Object, default: () => ({}) }, border: { type: Boolean, default: !0 }, clearBrBottom: { type: Boolean, default: !1 }, clearBrTop: { type: Boolean, default: !1 }, clearBr: { type: Boolean, default: !1 }, scroll: { type: Boolean, default: !0 }, square: { type: Boolean, default: !1 } }, setup(n) {
@@ -34552,7 +34552,7 @@ const Eae = R({ name: "OText" }), Vae = R({ ...Eae, props: { lineClamp: { type:
34552
34552
  } }), rie = st(ht(iie, [["__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 sie = { key: 1, class: "vChart-box" }, lie = R({ name: "OCountBar" }), cie = R({ ...lie, props: { data: { type: Array, default: () => [] }, options: { type: Object, default: () => ({ count: "inCount", size: "inSize", format: "" }) } }, setup(n) {
34555
- const t = Oh(() => import("./index-CejFKg3k.js")), e = n, o = ue(), a = ue(!1);
34555
+ const t = Oh(() => import("./index-CupJ_Rs9.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 sie = { key: 1, class: "vChart-box" }, lie = R({ name: "OCountBar" }), cie
34565
34565
  return a.value ? (k(), me(l, { key: 0, class: "h-100%" })) : (k(), B("div", sie, [Ye(j(t), { class: "calc-height", option: o.value, autoresize: "" }, null, 8, ["option"])]));
34566
34566
  };
34567
34567
  } }), uie = st(ht(cie, [["__scopeId", "data-v-fa121cf7"]])), die = { key: 1, class: "vChart-box" }, pie = R({ name: "OCountBarOld" }), hie = R({ ...pie, props: { data: { type: Array, default: () => [] } }, setup(n) {
34568
- const t = Oh(() => import("./index-CejFKg3k.js")), e = n, o = ue(), a = ue(!1);
34568
+ const t = Oh(() => import("./index-CupJ_Rs9.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 Rie = 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-CejFKg3k.js")), e = n, o = ue(null), a = ue({ width: 0, height: 0 }), i = ue(!1), r = ue();
34675
+ const t = Oh(() => import("./index-CupJ_Rs9.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(() => {
@@ -34737,7 +34737,7 @@ ${e.text}`;
34737
34737
  };
34738
34738
  } }), Zie = st(ht(Wie, [["__scopeId", "data-v-d4b20d87"]])), ML = (n) => (Eh("data-v-8e59e54b"), n = n(), Vh(), n), jie = { class: "vChart-box" }, Uie = { class: "f w-100% list-container" }, Xie = { class: "list" }, Yie = ML(() => L("div", null, "使用量", -1)), Qie = { class: "num" }, Jie = { class: "list" }, Kie = ML(() => L("div", null, "总量", -1)), qie = { class: "num" }, $ie = R({ name: "OUsedPie" }), ere = R({ ...$ie, 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-CejFKg3k.js")), e = n, o = ue(), a = ue("0%");
34740
+ const t = Oh(() => import("./index-CupJ_Rs9.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,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-RhsQX0Cn.js";
2
+ import { i as ie, t as le } from "./index-Ci0AFynF.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-RhsQX0Cn.js";
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-Ci0AFynF.js";
2
2
  export {
3
3
  t as $toast,
4
4
  e as OSvg,