oeos-components 0.2.69 → 0.2.70

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.
@@ -32292,11 +32292,11 @@ const tne = P({ name: "OInput" }), nne = P({ ...tne, props: { modelValue: { requ
32292
32292
  return (g, v) => {
32293
32293
  const x = Re("el-autocomplete"), y = Re("el-input"), w = Re("el-tooltip"), b = Re("o-icon");
32294
32294
  return N(), B("div", Ve({ class: "o-input" }, n.subAttrs, { style: { ...u() } }), [$e(w, Ve({ content: "" + Y(r), disabled: a.value || n.hideTooltip }, n.tooltipAttrs), { default: he(() => [k("div", null, [e.options ? (N(), ve(x, Ve({ key: 0, modelValue: Y(r), "onUpdate:modelValue": v[0] || (v[0] = (_) => vn(r) ? r.value = _ : null), "fetch-suggestions": h, placeholder: l(), clearable: g.$attrs.clearable !== !1, onMouseover: v[1] || (v[1] = (_) => c(_)) }, m.value), Sp({ _: 2 }, [g.$attrs.title ? { name: "prepend", fn: he(() => [k("div", { style: Et({ ...s.value }), class: "o-input__title" }, je(g.$attrs.title), 5)]), key: "0" } : void 0]), 1040, ["modelValue", "placeholder", "clearable"])) : (N(), ve(y, Ve({ key: 1, modelValue: Y(r), "onUpdate:modelValue": v[2] || (v[2] = (_) => vn(r) ? r.value = _ : null), placeholder: l(), class: ["kd-ipt", { "kd-textarea": g.$attrs.type === "textarea" }], showPassword: p.value, maxlength: i.value }, m.value, { "show-word-limit": typeof e.showWordLimit == "boolean" ? e.showWordLimit : t.type === "textarea", onFocus: v[3] || (v[3] = (_) => {
32295
- return S = _, void (t.type === "password" && S.currentTarget.select());
32295
+ return S = _, void (t.type === "password" && S.target.select());
32296
32296
  var S;
32297
32297
  }), onMouseover: v[4] || (v[4] = (_) => c(_)) }), Sp({ default: he(() => [be(g.$slots, "default", {}, void 0, !0)]), _: 2 }, [g.$attrs.title ? { name: "prepend", fn: he(() => [k("div", { style: Et({ ...s.value }), class: "o-input__title" }, je(g.$attrs.title), 5)]), key: "0" } : void 0, g.$slots.prefix ? { name: "prefix", fn: he(() => [be(g.$slots, "prefix", {}, void 0, !0)]), key: "1" } : void 0, g.$slots.suffix ? { name: "suffix", fn: he(() => [be(g.$slots, "suffix", {}, void 0, !0)]), key: "2" } : void 0, g.$slots.append ? { name: "append", fn: he(() => [be(g.$slots, "append", {}, void 0, !0)]), key: "3" } : void 0, g.$slots.prepend ? { name: "prepend", fn: he(() => [be(g.$slots, "prepend", {}, void 0, !0)]), key: "4" } : void 0]), 1040, ["modelValue", "placeholder", "showPassword", "class", "maxlength", "show-word-limit"]))])]), _: 3 }, 16, ["content", "disabled"]), n.content ? (N(), ve(b, Ve({ key: 0, class: "o-input__icon" }, { name: "warning", color: "#DCDEE0", size: "16px", ...e.iconAttrs }, { content: n.content }), null, 16, ["content"])) : Oe("", !0), g.$attrs.type === "textarea" && Y(r) && g.$attrs.disabled !== !0 && g.$attrs.disabled !== "" ? (N(), ve(b, { key: 1, name: "circle-close", class: "o-input__clear", onClick: d })) : Oe("", !0)], 16);
32298
32298
  };
32299
- } }), tk = ht(vt(nne, [["__scopeId", "data-v-fa217d2f"]])), one = { class: "o-input-box cl-blue" }, ane = { class: "o-input-box__content" }, rne = { key: 0, class: "spanclose", style: { cursor: "not-allowed" } }, ine = ["onClick"], sne = P({ name: "OInputLabel" }), lne = P({ ...sne, props: { modelValue: { type: Array, default: () => [] }, isComplex: { type: Boolean, default: !1 }, regexp: { tupe: RegExp, default: "" }, message: { tupe: String, default: "输入有误" }, inputAttrs: { type: Object, default: () => ({}) } }, emits: ["update:modelValue"], setup(n, { expose: t, emit: e }) {
32299
+ } }), tk = ht(vt(nne, [["__scopeId", "data-v-f8586155"]])), one = { class: "o-input-box cl-blue" }, ane = { class: "o-input-box__content" }, rne = { key: 0, class: "spanclose", style: { cursor: "not-allowed" } }, ine = ["onClick"], sne = P({ name: "OInputLabel" }), lne = P({ ...sne, props: { modelValue: { type: Array, default: () => [] }, isComplex: { type: Boolean, default: !1 }, regexp: { tupe: RegExp, default: "" }, message: { tupe: String, default: "输入有误" }, inputAttrs: { type: Object, default: () => ({}) } }, emits: ["update:modelValue"], setup(n, { expose: t, emit: e }) {
32300
32300
  const o = ye(""), a = ye([]), r = n, i = e;
32301
32301
  function s() {
32302
32302
  var u;
@@ -33881,7 +33881,7 @@ const Boe = P({ name: "OText" }), Poe = P({ ...Boe, props: { lineClamp: { type:
33881
33881
  return t.size === "small" && (a.paddingTop = 0, a.paddingBottom = 0), t.dotted && (a["border-style"] = "dotted"), t.left && (a.marginLeft = "8px"), { ...a, ...t.customStyle };
33882
33882
  });
33883
33883
  return (a, r) => (N(), B("div", Ve({ class: [`o-warning__${t.type}`, "o-warning-box"], style: { ...Y(Vt)(t.width), ...o.value } }, a.$attrs), [n.type === "warning" && t.icon ? (N(), B("img", joe)) : Oe("", !0), n.type !== "warning" && t.icon ? (N(), ve(Y(_0), Ve({ key: 1, name: "warning", color: "var(--45)" }, n.iconAttrs, { class: "o-warning-box__icon", size: "16" }), null, 16, ["color"])) : Oe("", !0), be(a.$slots, "content", {}, () => [k("span", Ve({ class: ["o-warning-box__content", n.type === "icon" && "cl-45 fs-14"] }, e.value), null, 16)], !0)], 16));
33884
- } }), Zoe = ht(vt(Xoe, [["__scopeId", "data-v-7d6d2b7f"]])), qoe = { class: "base-header-box" }, Qoe = { class: "base-header-box__left" }, Koe = { class: "base-header-box__right" }, Joe = P({ name: "OBaseHeader" }), $oe = P({ ...Joe, setup(n) {
33884
+ } }), Zoe = ht(vt(Xoe, [["__scopeId", "data-v-898b0d71"]])), qoe = { class: "base-header-box" }, Qoe = { class: "base-header-box__left" }, Koe = { class: "base-header-box__right" }, Joe = P({ name: "OBaseHeader" }), $oe = P({ ...Joe, setup(n) {
33885
33885
  const { proxy: t } = Tt();
33886
33886
  return (e, o) => (N(), B("div", qoe, [k("div", Qoe, [be(e.$slots, "default", {}, void 0, !0)]), k("div", Koe, [be(e.$slots, "right", {}, void 0, !0)])]));
33887
33887
  } }), eae = ht(vt($oe, [["__scopeId", "data-v-f3ff0a9f"]])), tae = P({ name: "OBasicLayout" }), nae = P({ ...tae, 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 }, scroll: { type: Boolean, default: !0 } }, setup(n) {
@@ -33931,7 +33931,7 @@ const Boe = P({ name: "OText" }), Poe = P({ ...Boe, props: { lineClamp: { type:
33931
33931
  } }), cae = ht(vt(lae, [["__scopeId", "data-v-bb1c45a2"]]));
33932
33932
  qe([SC, xC, uC, JI, eT, Yg, nT, rv, oT, rT, pT, vT, Jl, wT, _T, ST, CT, IT, TT, ET, OT, Dy, ky, RT, Ly, Ey, HT, GT, FT]);
33933
33933
  const uae = { key: 1, class: "vChart-box" }, dae = P({ name: "OCountBar" }), pae = P({ ...dae, props: { data: { type: Array, default: () => [] } }, setup(n) {
33934
- const t = Jv(() => import("./index-16uRYrvT.js")), e = n, o = ye(), a = ye(!1);
33934
+ const t = Jv(() => import("./index-oBb4sfr3.js")), e = n, o = ye(), a = ye(!1);
33935
33935
  let r = { tooltip: { trigger: "axis", formatter: (i) => {
33936
33936
  const s = i[0];
33937
33937
  return `${s.name}: ${Fn(s.value)}个 <br> 总大小: ${_a(i[1].value)}`;
@@ -34014,7 +34014,7 @@ const uae = { key: 1, class: "vChart-box" }, dae = P({ name: "OCountBar" }), pae
34014
34014
  return N(), ve(l, { class: "h-100%" }, { default: he(() => [$e(s, { class: "w-100%" }, { default: he(() => [(N(!0), B(mt, null, cn(o.value, (c, u) => (N(), ve(i, { key: u, label: c.label, value: c.value, style: Et({ background: c.style.background, fontSize: "12px" }), labelStyle: { color: c.style.color }, itemStyle: { minWidth: "100px" }, valueStyle: { color: c.style.color, fontSize: "16px" } }, { img: he(() => [k("div", Vae, [k("img", { src: c.src, class: "po-r", useResize: !0 }, null, 8, Bae)])]), _: 2 }, 1032, ["label", "value", "style", "labelStyle", "valueStyle"]))), 128))]), _: 1 })]), _: 1 });
34015
34015
  };
34016
34016
  } }), Rae = ht(vt(Pae, [["__scopeId", "data-v-203686cc"]])), Hae = { key: 1, class: "vChart-box" }, Fae = P({ 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 } }, setup(n) {
34017
- const t = Jv(() => import("./index-16uRYrvT.js")), { proxy: e } = Tt(), o = n, a = ye(!1), r = ye();
34017
+ const t = Jv(() => import("./index-oBb4sfr3.js")), { proxy: e } = Tt(), o = n, a = ye(!1), r = ye();
34018
34018
  ye([]);
34019
34019
  const i = ye(0), s = ye(0);
34020
34020
  let l = { 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: ["70%", "90%"], 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: function(c) {
@@ -34041,7 +34041,7 @@ ${o.text}`;
34041
34041
  };
34042
34042
  } }), Gae = ht(vt(Fae, [["__scopeId", "data-v-d220cfdc"]])), Sk = (n) => (Lh("data-v-0ed7c01a"), n = n(), Eh(), n), Wae = { class: "vChart-box" }, Uae = { class: "f w-100% list-container" }, jae = { class: "list" }, Yae = Sk(() => k("div", null, "使用量", -1)), Xae = { class: "num" }, Zae = { class: "list" }, qae = Sk(() => k("div", null, "总量", -1)), Qae = { class: "num" }, Kae = P({ name: "OUsedPie" }), Jae = P({ ...Kae, props: { used: { type: [Number, String], default: 0 }, total: { type: [Number, String], default: 0 }, options: { type: Object, default: () => {
34043
34043
  } } }, setup(n) {
34044
- const t = Jv(() => import("./index-16uRYrvT.js")), e = n, o = ye(), a = ye("0%");
34044
+ const t = Jv(() => import("./index-oBb4sfr3.js")), e = n, o = ye(), a = ye("0%");
34045
34045
  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) {
34046
34046
  return i.name === "使用量" ? Mu("--blue") : Mu("--green");
34047
34047
  } }, 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-DgzmZZK8.js";
2
+ import { i as ie, t as le } from "./index-ChwDqYnV.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-DgzmZZK8.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-ChwDqYnV.js";
2
2
  export {
3
3
  e as $toast,
4
4
  t as OSvg,