oeos-components 0.2.49 → 0.2.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.
@@ -4307,13 +4307,13 @@ const xP = L({ name: "OText" }), _P = L({ ...xP, props: { lineClamp: { type: [St
4307
4307
  return {};
4308
4308
  });
4309
4309
  return (o, a) => (A(), E("div", be({ class: "o-title", style: { ...t.value } }, o.$attrs), [C("div", bP, [C("div", { class: we(n.type === "simple" || n.type === "icon" ? "o-title__top-simple-left" : "o-title__top-left"), style: Dt({ marginLeft: e.inner ? "8px" : 0 }) }, [C("span", { class: we((o.$slots.icon || e.type === "icon") && "o-title__slot-icon-wrapper") }, [se(o.$slots, "icon", { class: "icon_slot" }, () => [e.type === "icon" ? (A(), E("img", SP)) : ye("", !0)], !0)], 2), C("span", MP, [se(o.$slots, "title", {}, () => [ht(De(n.title), 1)], !0)]), se(o.$slots, "default", {}, void 0, !0)], 6), C("div", { class: we(o.$slots.right && "o-title__slot-right-wrapper") }, [se(o.$slots, "right", {}, void 0, !0)], 2)]), n.subTitle ? (A(), E("div", be({ key: 0, class: "o-title__subTitle" }, n.subAttrs), De(n.subTitle), 17)) : ye("", !0)], 16));
4310
- } }), TP = rt(at(AP, [["__scopeId", "data-v-93ec9997"]])), IP = { key: 0, src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAqJJREFUWEftl0tPE2EUht/TGW90oKWlJhqXeI0ujIQF0b9gXIhJt0oKM1VD2Lhi5cqNIQpTWi9bEnFh/AsaFo3GhXdhqya0UyhM8UJnjk5bDHTaudQqG77dZM457zPvOedLhrDNh7ZZHzsAOw607MCi0tUrsnEPBBYgJELqykIrA90ygCZLN0G4URFl3Iqm9PH/BqANSycg4CWAvTXR7zBwJprW3/mF8O3AlwQ69ojBOwBd2SrGD36US9cPZrDmB8I3QEEJxhmUAhCqEyoSWI6opZl/BsCDEAr7g3Ng6m8oQpyNLJYGaBaGVwjPDlTEY8GrAE04F+fRSK406RXCM0BO7jxKxDMEnLYACFgA8/0KDNEQA73VhcArZorHUqsfvbjgGUBLSmkwEpuKPjfL5iXrOSAGHgE4++cdIROd0ofbBpBXpOMEZAFIngAAnYH+HlV/7wbh6sCyHOo2yXjIwIW6Ys0dqLboSYCFy+FUcckJwhVAU6SLAKxe16+dIwCAIoChqKo/bhlAuxbpgvHzBYDDtiLEWRMsV2bAuhcar+Y8hN190buFlWYQjg7kZSlJhMkmyasAPtXeHQHQ2SiOgGRE1VXfALnhUJ8gGDMb6+U2TA4CC4YhxGPpouWk3chmiXmla4pgjlQcbnzmwTxduwesOHubqnkmIzDdo64kPQNoSucAwM8cxK1abkO4Wc8E6FxUXZ2rh7DNwNJoOGyulzNgDLrY/gGg29UYHgNwzDGeMBvYJSa6J5aXN8fZAAqyNMIEq/C+VvveJO8bMcYiKb3attqxAWiK9BrAyTaLb5R7+/te2FLbBpBXgk8JOAUEXC8pf5CmycCbHrV03tGBXKLjAIniIZjt/WkRmcx1Xv8cy6x9dQTw91V/H91mm/0D7QD8AkUR3SFsA4XSAAAAAElFTkSuQmCC", class: "o-warning__img" }, kP = L({ name: "OWarning" }), DP = L({ ...kP, props: { content: { type: String, required: !0 }, type: { type: String, default: "warning" }, width: { type: [String, Number], default: "100%" }, dangerouslyUseHTMLString: { type: Boolean, default: !0 }, icon: { type: Boolean, default: !0 }, size: { type: String, default: "default" }, dotted: { type: Boolean, default: !1 }, customStyle: { type: Object, default: () => ({}) }, iconAttrs: { type: Object, default: () => ({}) }, left: { type: Boolean, default: !1 } }, setup(n) {
4310
+ } }), TP = rt(at(AP, [["__scopeId", "data-v-93ec9997"]])), IP = { key: 0, src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAqJJREFUWEftl0tPE2EUht/TGW90oKWlJhqXeI0ujIQF0b9gXIhJt0oKM1VD2Lhi5cqNIQpTWi9bEnFh/AsaFo3GhXdhqya0UyhM8UJnjk5bDHTaudQqG77dZM457zPvOedLhrDNh7ZZHzsAOw607MCi0tUrsnEPBBYgJELqykIrA90ygCZLN0G4URFl3Iqm9PH/BqANSycg4CWAvTXR7zBwJprW3/mF8O3AlwQ69ojBOwBd2SrGD36US9cPZrDmB8I3QEEJxhmUAhCqEyoSWI6opZl/BsCDEAr7g3Ng6m8oQpyNLJYGaBaGVwjPDlTEY8GrAE04F+fRSK406RXCM0BO7jxKxDMEnLYACFgA8/0KDNEQA73VhcArZorHUqsfvbjgGUBLSmkwEpuKPjfL5iXrOSAGHgE4++cdIROd0ofbBpBXpOMEZAFIngAAnYH+HlV/7wbh6sCyHOo2yXjIwIW6Ys0dqLboSYCFy+FUcckJwhVAU6SLAKxe16+dIwCAIoChqKo/bhlAuxbpgvHzBYDDtiLEWRMsV2bAuhcar+Y8hN190buFlWYQjg7kZSlJhMkmyasAPtXeHQHQ2SiOgGRE1VXfALnhUJ8gGDMb6+U2TA4CC4YhxGPpouWk3chmiXmla4pgjlQcbnzmwTxduwesOHubqnkmIzDdo64kPQNoSucAwM8cxK1abkO4Wc8E6FxUXZ2rh7DNwNJoOGyulzNgDLrY/gGg29UYHgNwzDGeMBvYJSa6J5aXN8fZAAqyNMIEq/C+VvveJO8bMcYiKb3attqxAWiK9BrAyTaLb5R7+/te2FLbBpBXgk8JOAUEXC8pf5CmycCbHrV03tGBXKLjAIniIZjt/WkRmcx1Xv8cy6x9dQTw91V/H91mm/0D7QD8AkUR3SFsA4XSAAAAAElFTkSuQmCC", class: "o-warning-box__img" }, kP = L({ name: "OWarning" }), DP = L({ ...kP, props: { content: { type: String, required: !0 }, type: { type: String, default: "warning" }, width: { type: [String, Number], default: "100%" }, dangerouslyUseHTMLString: { type: Boolean, default: !0 }, icon: { type: Boolean, default: !0 }, size: { type: String, default: "default" }, dotted: { type: Boolean, default: !1 }, customStyle: { type: Object, default: () => ({}) }, iconAttrs: { type: Object, default: () => ({}) }, left: { type: Boolean, default: !1 } }, setup(n) {
4311
4311
  const e = n, t = Y(() => e.dangerouslyUseHTMLString ? { innerHTML: e.content } : { textContent: e.content }), o = Y(() => {
4312
4312
  let a = {};
4313
4313
  return e.size === "small" && (a.paddingTop = 0, a.paddingBottom = 0), e.dotted && (a["border-style"] = "dotted"), e.left && (a.marginLeft = "8px"), { ...a, ...e.customStyle };
4314
4314
  });
4315
- return (a, r) => (A(), E("div", be({ class: [n.type === "warning" ? "o-warning__box" : "o-warning__info", "o-warning"], style: { ...W(Et)(e.width), ...o.value } }, a.$attrs), [n.type === "warning" && e.icon ? (A(), E("img", IP)) : ye("", !0), n.type !== "warning" && e.icon ? (A(), te(W(x0), be({ key: 1, name: "warning", color: "var(--45)" }, n.iconAttrs, { class: "o-warning__icon", size: "16" }), null, 16, ["color"])) : ye("", !0), se(a.$slots, "content", {}, () => [C("span", be({ class: ["o-warning-box__content", n.type === "icon" && "cl-45 fs-14"] }, t.value), null, 16)], !0)], 16));
4316
- } }), EP = rt(at(DP, [["__scopeId", "data-v-ca279f7b"]])), LP = { class: "base-header-box" }, OP = { class: "base-header-box__left" }, zP = { class: "base-header-box__right" }, VP = L({ name: "OBaseHeader" }), BP = L({ ...VP, setup(n) {
4315
+ return (a, r) => (A(), E("div", be({ class: [`o-warning__${e.type}`, "o-warning-box"], style: { ...W(Et)(e.width), ...o.value } }, a.$attrs), [n.type === "warning" && e.icon ? (A(), E("img", IP)) : ye("", !0), n.type !== "warning" && e.icon ? (A(), te(W(x0), be({ key: 1, name: "warning", color: "var(--45)" }, n.iconAttrs, { class: "o-warning-box__icon", size: "16" }), null, 16, ["color"])) : ye("", !0), se(a.$slots, "content", {}, () => [C("span", be({ class: ["o-warning-box__content", n.type === "icon" && "cl-45 fs-14"] }, t.value), null, 16)], !0)], 16));
4316
+ } }), EP = rt(at(DP, [["__scopeId", "data-v-13187edf"]])), LP = { class: "base-header-box" }, OP = { class: "base-header-box__left" }, zP = { class: "base-header-box__right" }, VP = L({ name: "OBaseHeader" }), BP = L({ ...VP, setup(n) {
4317
4317
  const { proxy: e } = It();
4318
4318
  return (t, o) => (A(), E("div", LP, [C("div", OP, [se(t.$slots, "default", {}, void 0, !0)]), C("div", zP, [se(t.$slots, "right", {}, void 0, !0)])]));
4319
4319
  } }), NP = rt(at(BP, [["__scopeId", "data-v-d4f86f7a"]])), PP = L({ name: "OBasicLayout" }), RP = L({ ...PP, props: { title: { type: String, default: "" }, titleAttrs: { 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 } }, setup(n) {
@@ -26305,7 +26305,7 @@ nn([function(n) {
26305
26305
  n.registerTransform(Tq), n.registerTransform(Iq);
26306
26306
  }]);
26307
26307
  const Eq = { key: 1, class: "vChart-box" }, Lq = L({ name: "OCountBar" }), Oq = L({ ...Lq, props: { data: { type: Array, default: () => [] } }, setup(n) {
26308
- const e = ex(() => import("./index-B00iAZrg.js")), t = n, o = le(), a = le(!1);
26308
+ const e = ex(() => import("./index-WjRknWj8.js")), t = n, o = le(), a = le(!1);
26309
26309
  let r = { tooltip: { trigger: "axis", formatter: (i) => {
26310
26310
  const s = i[0];
26311
26311
  return `${s.name}: ${da(s.value)}个 <br> 总大小: ${Gr(i[1].value)}`;
@@ -26331,7 +26331,7 @@ const Eq = { key: 1, class: "vChart-box" }, Lq = L({ name: "OCountBar" }), Oq =
26331
26331
  return (t, o) => (A(), E("div", Gq, [se(t.$slots, "default", {}, void 0, !0)]));
26332
26332
  } }), Zq = rt(at(Uq, [["__scopeId", "data-v-2148646d"]])), rS = (n) => (hd("data-v-0ed7c01a"), n = n(), md(), n), qq = { class: "vChart-box" }, Xq = { class: "f w-100% list-container" }, Yq = { class: "list" }, Kq = rS(() => C("div", null, "使用量", -1)), $q = { class: "num" }, Jq = { class: "list" }, Qq = rS(() => C("div", null, "总量", -1)), eX = { class: "num" }, tX = L({ name: "OUsedPie" }), nX = L({ ...tX, props: { used: { type: [Number, String], default: 0 }, total: { type: [Number, String], default: 0 }, options: { type: Object, default: () => {
26333
26333
  } } }, setup(n) {
26334
- const e = ex(() => import("./index-B00iAZrg.js")), t = n, o = le(), a = le("0%");
26334
+ const e = ex(() => import("./index-WjRknWj8.js")), t = n, o = le(), a = le("0%");
26335
26335
  let r = { tooltip: { trigger: "item", show: !1 }, series: [{ type: "pie", center: ["50%", "50%"], radius: ["65%", "85%"], clockwise: !0, avoidLabelOverlap: !0, hoverOffset: 15, itemStyle: { color: function(i) {
26336
26336
  return i.name === "使用量" ? Ol("--blue") : Ol("--green");
26337
26337
  } }, label: { show: !1, position: "outside", formatter: function(i) {
@@ -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-C8XrcS7v.js";
2
+ import { i as ie, t as le } from "./index-JBpFKQX6.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 e, O as t, q as o, d as r, f as m, c as i, H as n, w as g, a as p, G as f, b as l, D as c, E as d, j as u, r as y, I as v, x as S, h, g as x, l as E, J as T, e as b, y as B, m as F, n as w, B as C, z as D, s as I, o as L, F as O, C as W, A as $, u as j, k, v as q, p as z } from "./index-C8XrcS7v.js";
1
+ import { $ as e, O as t, q as o, d as r, f as m, c as i, H as n, w as g, a as p, G as f, b as l, D as c, E as d, j as u, r as y, I as v, x as S, h, g as x, l as E, J as T, e as b, y as B, m as F, n as w, B as C, z as D, s as I, o as L, F as O, C as W, A as $, u as j, k, v as q, p as z } from "./index-JBpFKQX6.js";
2
2
  export {
3
3
  e as $toast,
4
4
  t as OSvg,