oeos-components 0.2.40 → 0.2.41
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-DcFmK8lQ.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() {
|
|
@@ -4306,10 +4306,10 @@ const _P = O({ name: "OText" }), wP = O({ ..._P, props: { lineClamp: { type: [St
|
|
|
4306
4306
|
return {};
|
|
4307
4307
|
});
|
|
4308
4308
|
return (o, a) => (A(), E("div", we({ class: "o-title", style: { ...t.value } }, o.$attrs), [C("div", SP, [C("div", { class: be(n.type === "simple" || n.type === "icon" ? "o-title__top-simple-left" : "o-title__top-left"), style: kt({ marginLeft: e.inner ? "8px" : 0 }) }, [le(o.$slots, "icon", {}, () => [e.type === "icon" ? (A(), E("img", MP)) : _e("", !0)], !0), le(o.$slots, "title", {}, () => [C("span", CP, De(n.title), 1)], !0), le(o.$slots, "default", {}, void 0, !0)], 6), le(o.$slots, "right", {}, void 0, !0)]), n.subTitle ? (A(), E("div", we({ key: 0, class: "o-title__subTitle" }, n.subAttrs), De(n.subTitle), 17)) : _e("", !0)], 16));
|
|
4309
|
-
} }), IP = st(it(TP, [["__scopeId", "data-v-c840c1e6"]])), kP = { 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: "
|
|
4309
|
+
} }), IP = st(it(TP, [["__scopeId", "data-v-c840c1e6"]])), kP = { 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" }, DP = O({ name: "OWarning" }), EP = O({ ...DP, props: { content: { type: String, required: !0 }, type: { type: String, default: "" }, width: { type: [String, Number], default: "100%" }, dangerouslyUseHTMLString: { type: Boolean, default: !0 } }, setup(n) {
|
|
4310
4310
|
const e = n, t = Y(() => e.dangerouslyUseHTMLString ? { innerHTML: e.content } : { textContent: e.content });
|
|
4311
|
-
return (o, a) => (A(), E("div", we({ class: [n.type === "icon" ? "
|
|
4312
|
-
} }), LP = st(it(EP, [["__scopeId", "data-v-
|
|
4311
|
+
return (o, a) => (A(), E("div", we({ class: [n.type === "icon" ? "o-warning__icon" : n.type === "info" ? "o-warning__info" : "o-warning__box", "o-warning"], style: { ...W(Dt)(e.width) } }, o.$attrs), [n.type === "" ? (A(), E("img", kP)) : (A(), te(W(x0), we({ key: 1, name: "warning", color: "var(--45)" }, o.$attrs, { class: "icon", size: "16" }), null, 16, ["color"])), le(o.$slots, "content", {}, () => [C("span", we({ class: ["o-warning-box__content", n.type === "icon" && "cl-45 fs-14"] }, t.value), null, 16)], !0)], 16));
|
|
4312
|
+
} }), LP = st(it(EP, [["__scopeId", "data-v-dc8e203e"]])), OP = O({ name: "OBasicLayout" }), zP = O({ ...OP, 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) {
|
|
4313
4313
|
const { proxy: e } = Et(), t = n, o = Y(() => {
|
|
4314
4314
|
let r = {};
|
|
4315
4315
|
return t.clearBrBottom && (r["border-bottom-right-radius"] = 0, r["border-bottom-left-radius"] = 0), t.clearBrTop && (r["border-top-right-radius"] = 0, r["border-top-left-radius"] = 0), t.clearBr && (r["border-bottom-right-radius"] = 0, r["border-bottom-left-radius"] = 0, r["border-top-right-radius"] = 0, r["border-top-left-radius"] = 0), { ...r };
|
|
@@ -26303,7 +26303,7 @@ nn([function(n) {
|
|
|
26303
26303
|
n.registerTransform(Sq), n.registerTransform(Mq);
|
|
26304
26304
|
}]);
|
|
26305
26305
|
const Tq = { key: 1, class: "vChart-box" }, Iq = O({ name: "OCountBar" }), kq = O({ ...Iq, props: { data: { type: Array, default: () => [] } }, setup(n) {
|
|
26306
|
-
const e = ex(() => import("./index-
|
|
26306
|
+
const e = ex(() => import("./index-CFhvObbp.js")), t = n, o = se(), a = se(!1);
|
|
26307
26307
|
let r = { tooltip: { trigger: "axis", formatter: (i) => {
|
|
26308
26308
|
const s = i[0];
|
|
26309
26309
|
return `${s.name}: ${ua(s.value)}个 <br> 总大小: ${Gr(i[1].value)}`;
|
|
@@ -26329,7 +26329,7 @@ const Tq = { key: 1, class: "vChart-box" }, Iq = O({ name: "OCountBar" }), kq =
|
|
|
26329
26329
|
return (t, o) => (A(), E("div", Rq, [le(t.$slots, "default", {}, void 0, !0)]));
|
|
26330
26330
|
} }), Wq = st(it(Fq, [["__scopeId", "data-v-2148646d"]])), rS = (n) => (md("data-v-0ed7c01a"), n = n(), fd(), n), Gq = { class: "vChart-box" }, jq = { class: "f w-100% list-container" }, Uq = { class: "list" }, Xq = rS(() => C("div", null, "使用量", -1)), qq = { class: "num" }, Zq = { class: "list" }, Yq = rS(() => C("div", null, "总量", -1)), Kq = { class: "num" }, $q = O({ name: "OUsedPie" }), Jq = O({ ...$q, props: { used: { type: [Number, String], default: 0 }, total: { type: [Number, String], default: 0 }, options: { type: Object, default: () => {
|
|
26331
26331
|
} } }, setup(n) {
|
|
26332
|
-
const e = ex(() => import("./index-
|
|
26332
|
+
const e = ex(() => import("./index-CFhvObbp.js")), t = n, o = se(), a = se("0%");
|
|
26333
26333
|
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) {
|
|
26334
26334
|
return i.name === "使用量" ? Ol("--blue") : Ol("--green");
|
|
26335
26335
|
} }, label: { show: !1, position: "outside", formatter: function(i) {
|
|
@@ -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-
|
|
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-DcFmK8lQ.js";
|
|
2
2
|
export {
|
|
3
3
|
e as $toast,
|
|
4
4
|
t as OSvg,
|