oeos-components 0.2.47 → 0.2.48

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.
@@ -2877,7 +2877,7 @@ const NB = O({ name: "OInput" }), PB = O({ ...NB, props: { modelValue: { require
2877
2877
  const a = Ne("el-switch");
2878
2878
  return A(), te(a, be(t.$attrs, { "inline-prompt": "", class: "o-custom-switch" }), null, 16);
2879
2879
  };
2880
- } }), mN = st(it(hN, [["__scopeId", "data-v-40f94812"]])), Ig = O({ name: "RenderComp", props: { render: Function, scope: Object, row: Object, value: [Object, String, Number] }, render: (n) => n.render(n == null ? void 0 : n.row, n == null ? void 0 : n.scope, n == null ? void 0 : n.value) }), Xm = (n) => (hd("data-v-1948642c"), n = n(), md(), n), fN = { class: "o-table" }, gN = Xm(() => C("span", null, "序号", -1)), vN = ["onClick"], yN = { key: 2 }, xN = { key: 3 }, _N = { key: 0, style: { height: "64px" } }, wN = { class: "page-wrap" }, bN = { class: "page-left" }, SN = Xm(() => C("span", null, "共", -1)), MN = { class: "m-lr-5" }, CN = Xm(() => C("span", null, "项数据", -1)), AN = O({ name: "OTable" }), TN = O({ ...AN, props: { data: { type: Array, default: () => [] }, columns: { type: Array, default: () => [] }, showPage: { type: Boolean, default: !0 }, showIndex: { type: Boolean, default: !0 }, pageSize: { type: Number, default: 30 }, pageSizes: { type: Array, default: () => [10, 30, 50, 100] }, total: { type: Number }, columnEmptyText: { type: String, default: "-" }, isLoading: { type: Boolean } }, emits: ["update"], setup(n, { emit: e }) {
2880
+ } }), mN = st(it(hN, [["__scopeId", "data-v-40f94812"]])), Ig = O({ name: "RenderComp", props: { render: Function, scope: Object, row: Object, value: [Object, String, Number] }, render: (n) => n.render(n == null ? void 0 : n.row, n == null ? void 0 : n.scope, n == null ? void 0 : n.value) }), Xm = (n) => (hd("data-v-be78547a"), n = n(), md(), n), fN = { class: "o-table" }, gN = Xm(() => C("span", null, "序号", -1)), vN = ["onClick"], yN = { key: 2 }, xN = { key: 3 }, _N = { key: 0, style: { height: "64px" } }, wN = { class: "page-wrap" }, bN = { class: "page-left" }, SN = Xm(() => C("span", null, "共", -1)), MN = { class: "m-lr-5" }, CN = Xm(() => C("span", null, "项数据", -1)), AN = O({ name: "OTable" }), TN = O({ ...AN, props: { data: { type: Array, default: () => [] }, columns: { type: Array, default: () => [] }, showPage: { type: Boolean, default: !0 }, showIndex: { type: Boolean, default: !0 }, pageSize: { type: Number, default: 30 }, pageSizes: { type: Array, default: () => [10, 30, 50] }, total: { type: Number }, columnEmptyText: { type: String, default: "-" }, isLoading: { type: Boolean } }, emits: ["update"], setup(n, { emit: e }) {
2881
2881
  const t = $o(), o = n, a = se(null), r = Y(() => o.total || o.data.length), i = se(o.pageSize), s = e, l = se([]);
2882
2882
  $e(() => o.columns, () => {
2883
2883
  l.value = o.columns.map((b) => {
@@ -2921,7 +2921,7 @@ const NB = O({ name: "OInput" }), PB = O({ ...NB, props: { modelValue: { require
2921
2921
  var N, F;
2922
2922
  }), 128))]), _: 3 }, 16, ["data", "header-cell-style", "empty-text"]), n.showPage ? (A(), E("div", _N, [C("div", wN, [C("div", bN, [SN, C("span", MN, De(r.value), 1), CN]), We(V, { class: "tab_pagination", background: "", "current-page": f.value, "page-size": i.value, "page-sizes": n.pageSizes, layout: "prev, pager, next, sizes, jumper", total: r.value, onSizeChange: v, onCurrentChange: x }, null, 8, ["current-page", "page-size", "page-sizes", "total"])])])) : ye("", !0)]);
2923
2923
  };
2924
- } }), IN = st(it(TN, [["__scopeId", "data-v-1948642c"]])), kN = { class: "tabs-box" }, DN = O({ name: "OTabs" }), EN = O({ ...DN, props: { modelValue: { type: String }, options: { type: Array, default: () => [] }, label: { type: String, default: "label" }, value: { type: String, default: "value" }, subAttrs: { type: Object, default: () => {
2924
+ } }), IN = st(it(TN, [["__scopeId", "data-v-be78547a"]])), kN = { class: "tabs-box" }, DN = O({ name: "OTabs" }), EN = O({ ...DN, props: { modelValue: { type: String }, options: { type: Array, default: () => [] }, label: { type: String, default: "label" }, value: { type: String, default: "value" }, subAttrs: { type: Object, default: () => {
2925
2925
  } } }, emits: ["update:modelValue"], setup(n, { emit: e }) {
2926
2926
  const t = n, o = e, a = Y({ get: () => {
2927
2927
  var r;
@@ -26302,7 +26302,7 @@ nn([function(n) {
26302
26302
  n.registerTransform(wq), n.registerTransform(bq);
26303
26303
  }]);
26304
26304
  const Cq = { key: 1, class: "vChart-box" }, Aq = O({ name: "OCountBar" }), Tq = O({ ...Aq, props: { data: { type: Array, default: () => [] } }, setup(n) {
26305
- const e = ex(() => import("./index-BEl7QDd8.js")), t = n, o = se(), a = se(!1);
26305
+ const e = ex(() => import("./index-xlI20EUt.js")), t = n, o = se(), a = se(!1);
26306
26306
  let r = { tooltip: { trigger: "axis", formatter: (i) => {
26307
26307
  const s = i[0];
26308
26308
  return `${s.name}: ${da(s.value)}个 <br> 总大小: ${Gr(i[1].value)}`;
@@ -26328,7 +26328,7 @@ const Cq = { key: 1, class: "vChart-box" }, Aq = O({ name: "OCountBar" }), Tq =
26328
26328
  return (t, o) => (A(), E("div", Nq, [le(t.$slots, "default", {}, void 0, !0)]));
26329
26329
  } }), Hq = st(it(Rq, [["__scopeId", "data-v-2148646d"]])), rS = (n) => (hd("data-v-0ed7c01a"), n = n(), md(), n), Fq = { class: "vChart-box" }, Wq = { class: "f w-100% list-container" }, Gq = { class: "list" }, jq = rS(() => C("div", null, "使用量", -1)), Uq = { class: "num" }, Zq = { class: "list" }, qq = rS(() => C("div", null, "总量", -1)), Xq = { class: "num" }, Yq = O({ name: "OUsedPie" }), Kq = O({ ...Yq, props: { used: { type: [Number, String], default: 0 }, total: { type: [Number, String], default: 0 }, options: { type: Object, default: () => {
26330
26330
  } } }, setup(n) {
26331
- const e = ex(() => import("./index-BEl7QDd8.js")), t = n, o = se(), a = se("0%");
26331
+ const e = ex(() => import("./index-xlI20EUt.js")), t = n, o = se(), a = se("0%");
26332
26332
  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) {
26333
26333
  return i.name === "使用量" ? Ol("--blue") : Ol("--green");
26334
26334
  } }, 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-CVWhmL_8.js";
2
+ import { i as ie, t as le } from "./index-DCcXsjL7.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-CVWhmL_8.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-DCcXsjL7.js";
2
2
  export {
3
3
  e as $toast,
4
4
  t as OSvg,