oeos-components 0.2.23 → 0.2.25

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.
Files changed (32) hide show
  1. package/dist/{index-CzOkH60S.js → index-1XV9-2Cy.js} +2 -2
  2. package/dist/{index-Dj1Fc-fq.js → index-B3BmevVf.js} +1 -1
  3. package/dist/{index-BhUjVpDn.js → index-B8VlvnHB.js} +1 -1
  4. package/dist/{index-BlSRGbTa.js → index-BIWsXDlG.js} +2 -2
  5. package/dist/{index-BdG9MfHW.js → index-BVxV3IZX.js} +1 -1
  6. package/dist/{index-rU8G4dAk.js → index-BWZjiW7O.js} +1 -1
  7. package/dist/{index-l1_Vs-iC.js → index-Bhz66Ovv.js} +1 -1
  8. package/dist/{index-CiU-dy8E.js → index-Bik1duy_.js} +1 -1
  9. package/dist/{index-CwWhE2XM.js → index-Bv1Ot1gj.js} +1 -1
  10. package/dist/{index-C4zebkH-.js → index-BxifZp2d.js} +1 -1
  11. package/dist/{index-pLYGaLJF.js → index-CJJD45Js.js} +1 -1
  12. package/dist/{index-Bb3fGUsu.js → index-CR5-Nhky.js} +1 -1
  13. package/dist/{index-dYBFnUgu.js → index-CWX1jLTC.js} +1 -1
  14. package/dist/{index-D6ltpHL0.js → index-C_pRXtFA.js} +3 -3
  15. package/dist/index-Cc6aWwg0.js +22 -0
  16. package/dist/{index-CI7M5JUV.js → index-CysXv5xt.js} +2 -2
  17. package/dist/{index-Bx7LxMPA.js → index-D2YE_CK1.js} +2 -2
  18. package/dist/{index-CeFiQw-e.js → index-D6RBq1jJ.js} +1 -1
  19. package/dist/{index-DUTNY_YA.js → index-DFjeMO-s.js} +3 -3
  20. package/dist/{index-B-ygmUzr.js → index-Dd0ypMV4.js} +3 -3
  21. package/dist/{index-Pgb7joEc.js → index-DkSTvVGB.js} +22 -22
  22. package/dist/{index-DJ_UAr-6.js → index-DlR59eWY.js} +1 -1
  23. package/dist/{index-DmTxRLqL.js → index-DqMKoDe8.js} +1 -1
  24. package/dist/{index-NXvTgPcC.js → index-E4jh-RZ6.js} +1 -1
  25. package/dist/index-GwF1VsWt.js +21 -0
  26. package/dist/{index-C2Q04YaE.js → index-IcBLFNZx.js} +1 -1
  27. package/dist/{index-C8CBmVdg.js → index-dvFIaMgS.js} +1 -1
  28. package/dist/{index-DRsDXefI.js → index-rS9AldtC.js} +1 -1
  29. package/dist/oeos-components-es.js +1 -1
  30. package/dist/style.css +1 -1
  31. package/dist/useEcharts-BuT3eL3E.js +22077 -0
  32. package/package.json +2 -1
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as s, computed as l, createElementBlock as a, openBlock as n, mergeProps as A, unref as r, createBlock as i, renderSlot as g, createElementVNode as p } from "vue";
2
- import m from "./index-NXvTgPcC.js";
3
- import { p as y, _ as b, w as d } from "./index-Pgb7joEc.js";
2
+ import m from "./index-E4jh-RZ6.js";
3
+ import { p as y, _ as b, w as d } from "./index-DkSTvVGB.js";
4
4
  const h = { 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: "icon" }, u = s({ name: "OWarning" }), C = d(b(s({ ...u, props: { content: { type: String, required: !0 }, type: { type: String, default: "" }, width: { type: [String, Number], default: "100%" }, dangerouslyUseHTMLString: { type: Boolean, default: !1 } }, setup(e) {
5
5
  const t = e, c = l(() => t.dangerouslyUseHTMLString ? { innerHTML: t.content } : { textContent: t.content });
6
6
  return (o, E) => (n(), a("div", A({ class: [e.type === "icon" ? "icon-box" : e.type === "info" ? "info-box" : "warning-box", "base-box"], style: { ...r(y)(t.width) } }, o.$attrs), [e.type === "" ? (n(), a("img", h)) : (n(), i(r(m), A({ key: 1, name: "warning", color: "var(--45)" }, o.$attrs, { class: "icon", size: "16" }), null, 16, ["color"])), g(o.$slots, "content", {}, () => [p("span", A({ class: ["warning-box__content", e.type === "icon" && "cl-45 fs-14"] }, c.value), null, 16)], !0)], 16));
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, computed as f, createElementBlock as n, openBlock as p, mergeProps as d, createElementVNode as c, createCommentVNode as h, renderSlot as m, normalizeStyle as y, normalizeClass as w, toDisplayString as g } from "vue";
2
- import { p as s, _ as b, w as S } from "./index-Pgb7joEc.js";
2
+ import { p as s, _ as b, w as S } from "./index-DkSTvVGB.js";
3
3
  const _ = { class: "o-title__top" }, x = { key: 0, src: "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1742261310954'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='12261'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M800.512%20474.944h-377.6a24.256%2024.256%200%200%200-24.32%2024.32c0%2013.504%2010.816%2024.32%2024.32%2024.32h377.6c13.504%200%2024.32-10.816%2024.32-24.32a24.576%2024.576%200%200%200-24.32-24.32z%20m-377.6%20203.776a24.256%2024.256%200%200%200-24.32%2024.32c0%2013.504%2010.816%2024.32%2024.32%2024.32h377.6c13.504%200%2024.32-10.816%2024.32-24.32a24.576%2024.576%200%200%200-24.32-24.32h-377.6z'%20fill='%23101317'%20p-id='12262'%3e%3c/path%3e%3cpath%20d='M928.064%20209.6h-252.736l-5.376-15.68c-37.824-104.832-110.272-129.728-164.288-132.416h-409.728a62.592%2062.592%200%200%200-62.72%2062.144v776.704c0%2034.048%2028.096%2062.144%2062.72%2062.144h832.128a62.72%2062.72%200%200%200%2062.72-62.144v-628.608a62.272%2062.272%200%200%200-62.72-62.144z%20m-848.384-56.256c0-48.128%2017.856-41.6%2090.816-41.6h261.056c110.784%200%20139.456%2023.808%20160.512%2061.056l15.68%2036.736h-528.064v-56.192z%20m773.248%20759.424H170.496c-74.56%200-86.464-5.952-86.464-85.952v-566.464h784.576c78.912%200%2070.784%2030.784%2070.784%2085.952v492.928c0.064%2072.448-25.344%2073.536-86.464%2073.536z'%20fill='%23101317'%20p-id='12263'%3e%3c/path%3e%3cpath%20d='M196.992%20536.576h78.912v-78.912h-78.912v78.912z%20m0%20205.952h78.912v-78.912h-78.912v78.912z'%20fill='%23101317'%20p-id='12264'%3e%3c/path%3e%3c/svg%3e", width: "14", height: "14", alt: "Logo", class: "m-r-4" }, z = { class: "title-text" }, T = u({ name: "OTitle" }), k = S(b(u({ ...T, props: { title: { type: String, default: "" }, size: { type: String, default: "" }, subTitle: { type: String, default: "" }, subAttrs: { type: Object, default: () => ({}) }, inner: { type: Boolean, defalut: !1 }, t: { type: [String, Number], default: "" }, b: { type: [String, Number], default: "" }, l: { type: [String, Number], default: "" }, tb: { type: [String, Number] }, type: { type: String, default: "icon" } }, setup(e) {
4
4
  const o = e, v = f(() => {
5
5
  const { t, b: i, l: r, tb: l } = o;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, useSlots as m, ref as p, onMounted as d, h as v, resolveComponent as C, createBlock as g, openBlock as h, mergeProps as y, withModifiers as x, withCtx as b, renderSlot as P } from "vue";
2
- import { q as i, w as k } from "./index-Pgb7joEc.js";
2
+ import { q as i, w as k } from "./index-DkSTvVGB.js";
3
3
  const w = u({ name: "OText" }), $ = k(u({ ...w, props: { lineClamp: { type: [String, Number] }, tippyProps: { type: Object, default: () => ({}) } }, setup(a) {
4
4
  const s = a, o = m(), n = p(), l = p(), r = () => ({ content: v(o.content || o.default), ...s.tippyProps });
5
5
  function c(e) {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as m, useAttrs as p, computed as l, resolveComponent as d, createElementBlock as T, openBlock as v, normalizeStyle as x, createVNode as D, unref as i, mergeProps as h } from "vue";
2
- import { p as f, _ as Y, w as y } from "./index-Pgb7joEc.js";
3
- import M from "./index-l1_Vs-iC.js";
2
+ import { p as f, _ as Y, w as y } from "./index-DkSTvVGB.js";
3
+ import M from "./index-Bhz66Ovv.js";
4
4
  const S = m({ name: "ODateRange" }), z = y(Y(m({ ...S, props: { title: { type: String, default: "" }, width: { type: [String, Number], default: "300px" } }, setup(u) {
5
5
  const r = p(), s = u, n = 864e5, w = l(() => o.value.type === "daterange" || o.value.type === "datetimerange" ? [{ text: "今天", value: () => {
6
6
  const e = new Date((/* @__PURE__ */ new Date()).toLocaleDateString()).getTime();
@@ -1,5 +1,5 @@
1
1
  import { getCurrentInstance as J, ref as j, watch as B, nextTick as M, computed as x, defineComponent as G, useAttrs as U, resolveComponent as V, createElementBlock as q, openBlock as h, mergeProps as w, createVNode as F, createBlock as C, createCommentVNode as E, unref as O, withCtx as u, createElementVNode as W, isRef as L, createSlots as T, normalizeStyle as I, toDisplayString as z, renderSlot as b } from "vue";
2
- import { m as R, p as D, _ as H, w as K } from "./index-Pgb7joEc.js";
2
+ import { m as R, p as D, _ as H, w as K } from "./index-DkSTvVGB.js";
3
3
  function Q(n, o, a, y = {}) {
4
4
  var f, r, $;
5
5
  const { clone: v = !1, passive: g = !1, eventName: k, deep: A = !1, defaultValue: N, shouldEmit: S } = y, i = J(), _ = (i == null ? void 0 : i.emit) || ((f = i == null ? void 0 : i.$emit) == null ? void 0 : f.bind(i)) || (($ = (r = i == null ? void 0 : i.proxy) == null ? void 0 : r.$emit) == null ? void 0 : $.bind(i == null ? void 0 : i.proxy));
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as S, useCssVars as _, ref as v, useAttrs as F, computed as h, watch as $, onMounted as E, onBeforeUnmount as O, resolveComponent as T, createElementBlock as D, openBlock as l, createBlock as i, resolveDynamicComponent as j, mergeProps as d, createSlots as N, withCtx as n, createElementVNode as k, normalizeClass as L, renderSlot as m, toDisplayString as u, createCommentVNode as w, createTextVNode as x } from "vue";
2
- import { m as M, _ as z, w as I } from "./index-Pgb7joEc.js";
2
+ import { m as M, _ as z, w as I } from "./index-DkSTvVGB.js";
3
3
  const P = { class: "o-dialog" }, U = S({ name: "ODialog" }), H = I(z(S({ ...U, props: { type: { type: String, default: "" }, title: { type: String, default: "提示" }, theme: { type: String, default: "" }, cancel: { type: [Function, String], default: "" }, cancelText: { type: String, default: "取消" }, confirmText: { type: String, default: "确认" }, showFooter: { type: Boolean, default: !0 }, showCancel: { type: Boolean, default: !0 }, showConfirm: { type: Boolean, default: !0 }, confirmAttrs: { type: Object, default: () => ({}) }, cancelAttrs: { type: Object, default: () => ({}) }, enableConfirm: { type: Boolean, default: !0 }, confirm: { type: Function } }, emits: ["update:modelValue"], setup(t, { emit: b }) {
4
4
  _((o) => ({ "9b0d9700": s.value }));
5
5
  const a = F(), f = b, e = t, B = h(() => e.theme === "norm" ? "kd-norm-dialog" : e.theme === "norm16" ? "kd-norm16-dialog" : e.theme === "simple" ? "kd-simple-dialog" : ""), s = v("calc(100vh - 124px)");
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as l, getCurrentInstance as d, useAttrs as u, computed as i, createElementBlock as h, createCommentVNode as f, openBlock as g, mergeProps as v, toDisplayString as y } from "vue";
2
- import { _ as A, w as _ } from "./index-Pgb7joEc.js";
2
+ import { _ as A, w as _ } from "./index-DkSTvVGB.js";
3
3
  const w = l({ name: "OCompTitle" }), k = _(A(l({ ...w, props: { title: { type: String, default: "" }, titleAttrs: { type: Object, default: () => ({}) } }, setup(o) {
4
4
  const { proxy: r } = d(), s = u(), t = o, p = ["small", "large"], n = i(() => {
5
5
  var e, a;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as x, ref as i, watch as $, computed as j, resolveComponent as b, createElementBlock as y, openBlock as c, createBlock as h, createCommentVNode as A, createVNode as B, mergeProps as r, withCtx as m, createTextVNode as k, renderSlot as V, Fragment as O, renderList as F, resolveDynamicComponent as N, normalizeProps as P, guardReactiveProps as T, toDisplayString as U } from "vue";
2
- import { i as g, _ as z, w as E } from "./index-Pgb7joEc.js";
2
+ import { i as g, _ as z, w as E } from "./index-DkSTvVGB.js";
3
3
  const I = { class: "checkbox" }, R = x({ name: "OCheckbox" }), H = E(z(x({ ...R, props: { type: { type: String, default: "" }, options: { type: Object, default: () => [] }, showType: { type: String, validator: (u) => ["check", "button"].includes(u), default: "check" }, modelValue: { type: Array, defalut: () => [] }, label: { type: String, default: "label" }, value: { type: String, default: "value" }, showAll: { type: Boolean, default: !0 }, attrs: { type: Object, default: () => {
4
4
  } }, customDisabled: { type: Function, default: () => {
5
5
  } }, customLabel: { type: [Function, String], default: "" } }, emits: ["update:modelValue"], setup(u, { emit: w }) {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as s, getCurrentInstance as o, resolveComponent as a, createBlock as r, openBlock as n, mergeProps as c } from "vue";
2
- import { _ as p, w as m } from "./index-Pgb7joEc.js";
2
+ import { _ as p, w as m } from "./index-DkSTvVGB.js";
3
3
  const l = s({ name: "OSwitch" }), h = m(p(s({ ...l, setup(u) {
4
4
  const { proxy: i } = o();
5
5
  return (t, f) => {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, computed as V, resolveComponent as d, createElementBlock as n, openBlock as l, createVNode as y, mergeProps as p, withCtx as s, Fragment as g, renderList as _, createBlock as S, renderSlot as m, createTextVNode as k, toDisplayString as x } from "vue";
2
- import { _ as A, w as B } from "./index-Pgb7joEc.js";
2
+ import { _ as A, w as B } from "./index-DkSTvVGB.js";
3
3
  const C = { class: "tabs-box" }, $ = i({ name: "OTabs" }), O = B(A(i({ ...$, props: { modelValue: { type: String }, options: { type: Array, default: () => [] }, label: { type: String, default: "label" }, value: { type: String, default: "value" }, subAttrs: { type: Object, default: () => {
4
4
  } } }, emits: ["update:modelValue"], setup(o, { emit: b }) {
5
5
  const e = o, c = b, u = V({ get: () => {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as v, ref as u, computed as y, onMounted as b, onUnmounted as x, resolveComponent as p, createElementBlock as N, openBlock as f, createVNode as k, createBlock as h, createCommentVNode as _, mergeProps as m, withCtx as $, createElementVNode as o, normalizeStyle as C, toDisplayString as S, renderSlot as z } from "vue";
2
- import { r as B, s as E, _ as q, w as V } from "./index-Pgb7joEc.js";
2
+ import { r as B, s as E, _ as q, w as V } from "./index-DkSTvVGB.js";
3
3
  const j = { class: "f-st-ct w-100%" }, A = { class: "percentage-value" }, L = { class: "" }, O = v({ name: "OCapacityProgress" }), D = V(q(v({ ...O, props: { total: { type: [String, Number], required: !0 }, used: { type: [String, Number], required: !0 }, iconAttrs: { type: Object, default: () => {
4
4
  } } }, setup(l) {
5
5
  const t = u(null), i = u(null), c = l;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, computed as r, resolveComponent as v, createBlock as s, openBlock as t, normalizeProps as n, guardReactiveProps as d, withCtx as u, renderSlot as i, createElementBlock as f, Fragment as g, renderList as S, resolveDynamicComponent as B, mergeProps as h, createTextVNode as k, toDisplayString as w } from "vue";
2
- import { w as C } from "./index-Pgb7joEc.js";
2
+ import { w as C } from "./index-DkSTvVGB.js";
3
3
  const x = p({ name: "ORadio" }), T = C(p({ ...x, props: { type: { type: String, validator: (a) => ["boolean", "simple", ""].includes(a), default: "" }, showType: { type: String, validator: (a) => ["radio", "button"].includes(a), default: "radio" }, options: { type: Array, default: () => [] }, border: { type: Boolean, default: !1 }, value: { type: [String, Number, Boolean], default: "value" }, label: { type: [String, Number, Boolean], default: "label" }, subAttrs: { type: Object, default: () => ({}) } }, setup(a) {
4
4
  const e = a, b = r(() => ({ radio: "el-radio", button: "el-radio-button" })[e.showType] ?? "el-radio"), m = r(() => e.type === "boolean" ? [{ label: !0, value: !0 }, { label: !1, value: !1 }] : e.type === "simple" && e.options.length > 0 ? e.options.map((o) => ({ label: o, value: o })) : e.options);
5
5
  return (o, A) => {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as n, resolveComponent as d, createBlock as l, openBlock as c, normalizeProps as m, guardReactiveProps as g, withCtx as a, renderSlot as r, createTextVNode as u, toDisplayString as h, createElementVNode as y, normalizeStyle as f, unref as o } from "vue";
2
- import { p as i, n as S, _ as w, w as v } from "./index-Pgb7joEc.js";
2
+ import { p as i, n as S, _ as w, w as v } from "./index-DkSTvVGB.js";
3
3
  const N = ["src"], _ = n({ name: "OEmpty" }), C = v(w(n({ ..._, props: { description: { type: String, default: "暂无数据" }, width: { type: [String, Number], default: 60 }, height: { type: [String, Number] }, imgAttrs: { type: Object, default: () => {
4
4
  } }, src: { type: String, default: () => S } }, setup(s) {
5
5
  const t = s;
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as f, ref as c, watch as b, createElementBlock as n, openBlock as u, createElementVNode as d, createBlock as C, createCommentVNode as w, createVNode as _, Fragment as A, renderList as B, normalizeClass as D, toDisplayString as K, unref as m, withKeys as j, withModifiers as E } from "vue";
2
- import I from "./index-BdG9MfHW.js";
3
- import N from "./index-NXvTgPcC.js";
4
- import { o as p, $ as v, _ as O, w as L } from "./index-Pgb7joEc.js";
2
+ import I from "./index-BVxV3IZX.js";
3
+ import N from "./index-E4jh-RZ6.js";
4
+ import { o as p, $ as v, _ as O, w as L } from "./index-DkSTvVGB.js";
5
5
  const S = { class: "o-input-box cl-blue" }, $ = { class: "o-input-box__content" }, z = { key: 0, class: "spanclose", style: { cursor: "not-allowed" } }, F = ["onClick"], M = f({ name: "OInputLabel" }), P = L(O(f({ ...M, 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(g, { expose: x, emit: h }) {
6
6
  const t = c(""), l = c([]), o = g, r = h;
7
7
  function y() {
@@ -0,0 +1,22 @@
1
+ import { defineComponent as h, ref as p, watch as b, createElementBlock as y, openBlock as w, createVNode as x, createElementVNode as a, unref as n, toDisplayString as m, pushScopeId as S, popScopeId as k } from "vue";
2
+ import { E as O } from "./useEcharts-BuT3eL3E.js";
3
+ import { y as f, x as z, z as r, r as v, _ as N, w as _ } from "./index-DkSTvVGB.js";
4
+ const g = (t) => (S("data-v-fb6d6aa7"), t = t(), k(), t), $ = { class: "box" }, E = { class: "f w-100% list-container" }, I = { class: "list" }, j = g(() => a("div", null, "使用量", -1)), B = { class: "num" }, C = { class: "list" }, L = g(() => a("div", null, "总量", -1)), V = { class: "num" }, A = h({ name: "OUsedPie" }), R = _(N(h({ ...A, props: { used: { type: [Number, String], default: 0 }, total: { type: [Number, String], default: 0 }, options: { type: Object, default: () => {
5
+ } } }, setup(t) {
6
+ const d = t, u = p(), c = p("0%");
7
+ let o = { tooltip: { trigger: "item", show: !1 }, series: [{ type: "pie", center: ["50%", "50%"], radius: ["65%", "85%"], clockwise: !0, avoidLabelOverlap: !0, hoverOffset: 15, itemStyle: { color: function(e) {
8
+ return e.name === "使用量" ? v("--blue") : v("--green");
9
+ } }, label: { show: !1, position: "outside", formatter: function(e) {
10
+ e.name, e.value;
11
+ let { value: i, name: l } = e.data, s = r(i);
12
+ return `${l}: ${s}
13
+ 占比: (${e.percent}%)`;
14
+ }, rich: { hr: { backgroundColor: "t", borderRadius: 3, width: 3, height: 3, padding: [3, 3, 0, -12] }, a: { padding: [-30, 15, -20, 15] } } }, labelLine: { normal: { length: 20, length2: 30, lineStyle: { width: 1 } } }, data: [] }], graphic: [{ type: "text", left: "center", top: "center", style: { text: "", textAlign: "center", fontSize: 34, fontWeight: "bold", fill: "#333" } }] };
15
+ return b(() => [d.used, d.total], ([e, i]) => {
16
+ let l = f(e), s = f(i);
17
+ s != 0 && (c.value = (l / s * 100).toFixed(2) + "%"), o.series[0].data = [{ name: "使用量", value: l }, { name: "剩余量", value: s - l }], o.graphic[0].style.text = c.value, u.value = z(o);
18
+ }, { deep: !0, immediate: !0 }), (e, i) => (w(), y("div", $, [x(n(O), { class: "calc-height", option: u.value, autoresize: "" }, null, 8, ["option"]), a("div", E, [a("div", I, [j, a("div", B, m(n(r)(t.used)), 1)]), a("div", C, [L, a("div", V, m(n(r)(t.total)), 1)])])]));
19
+ } }), [["__scopeId", "data-v-fb6d6aa7"]]));
20
+ export {
21
+ R as default
22
+ };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as Q, getCurrentInstance as W, useAttrs as _, useSlots as z, computed as m, ref as w, watch as q, resolveComponent as v, createElementBlock as p, openBlock as u, normalizeStyle as H, normalizeClass as Z, unref as g, createVNode as b, createCommentVNode as F, mergeProps as L, createSlots as M, withCtx as c, withModifiers as $, createTextVNode as ee, Fragment as le, renderList as x, createBlock as te, renderSlot as k, toDisplayString as V, createElementVNode as I, pushScopeId as ae, popScopeId as oe } from "vue";
2
- import { i as S, p as se, _ as ie, w as ne } from "./index-Pgb7joEc.js";
3
- import ue from "./index-l1_Vs-iC.js";
2
+ import { i as S, p as se, _ as ie, w as ne } from "./index-DkSTvVGB.js";
3
+ import ue from "./index-Bhz66Ovv.js";
4
4
  const re = { key: 0 }, de = { key: 1 }, pe = { key: 0, class: "po-r" }, ce = ((o) => (ae("data-v-d3a669d0"), o = o(), oe(), o))(() => I("div", { class: "mt" }, "全选", -1)), me = ["src"], ge = Q({ name: "OSelect" }), ye = ne(ie(Q({ ...ge, props: { modelValue: { type: [Array, String, Number] }, value: { type: String, default: "value" }, label: { type: [String, Array], default: "label" }, options: { type: Array, default: () => [] }, type: { type: String, default: "" }, multiple: { type: Boolean, default: !1 }, showAll: { type: Boolean, default: !0 }, showPrefix: { type: Boolean, default: !1 }, showQuick: { type: Boolean, default: !0 }, title: { type: String, default: "" }, connect: { type: String, default: "/" }, customLabel: { type: [Function, String], default: "" }, width: { type: [String, Number], default: "" }, disPlaceholder: { type: String, default: "" }, optionDisabled: { type: Function, default: () => {
5
5
  } }, url: { type: [String, Function], default: "" }, urlParams: { type: Object, default: () => {
6
6
  } }, optionsExpression: { type: String, default: "" }, emptyColor: { type: Boolean, default: !1 } }, emits: ["changeSelect", "update:modelValue", "change"], setup(o, { emit: N }) {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as N, withDirectives as z, h as E, inject as H, createElementBlock as m, unref as n, openBlock as a, Fragment as v, createElementVNode as x, renderList as B, createBlock as $, createVNode as O, useSlots as U, provide as X, computed as q, normalizeClass as C, createCommentVNode as Y, renderSlot as F, createTextVNode as L, toDisplayString as P, useCssVars as Z, mergeProps as ee, withCtx as j } from "vue";
2
- import { g as le, a as I, u as J, b as te, c as R, d as ae, e as K, f as se, h as ne, j as re, k as oe, l as ie, p as ce, _ as de, w as pe } from "./index-Pgb7joEc.js";
3
- import G from "./index-DmTxRLqL.js";
2
+ import { g as le, a as I, u as J, b as te, c as R, d as ae, e as K, f as se, h as ne, j as re, k as oe, l as ie, p as ce, _ as de, w as pe } from "./index-DkSTvVGB.js";
3
+ import G from "./index-DqMKoDe8.js";
4
4
  const T = Symbol("elDescriptions");
5
5
  var A = N({ name: "ElDescriptionsCell", props: { cell: { type: Object }, tag: { type: String, default: "td" }, type: { type: String } }, setup: () => ({ descriptions: H(T, {}) }), render() {
6
6
  var g;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as d, getCurrentInstance as y, createElementBlock as o, openBlock as a, createCommentVNode as r, createElementVNode as c, normalizeStyle as s, renderSlot as l } from "vue";
2
- import { _ as n, w as i } from "./index-Pgb7joEc.js";
2
+ import { _ as n, w as i } from "./index-DkSTvVGB.js";
3
3
  const f = { class: "basic-layout-box" }, m = d({ name: "OBasicLayout" }), b = i(n(d({ ...m, props: { headerStyle: { type: Object, default: () => ({}) }, mainStyle: { type: Object, default: () => ({}) }, footerStyle: { type: Object, default: () => ({}) } }, setup(t) {
4
4
  const { proxy: p } = y();
5
5
  return (e, u) => (a(), o("div", f, [e.$slots.header ? (a(), o("div", { key: 0, class: "header", style: s(t.headerStyle) }, [l(e.$slots, "header", {}, void 0, !0)], 4)) : r("", !0), c("div", { class: "main", style: s(t.mainStyle) }, [l(e.$slots, "default", {}, void 0, !0)], 4), e.$slots.footer ? (a(), o("div", { key: 1, class: "footer", style: s(t.footerStyle) }, [l(e.$slots, "footer", {}, void 0, !0)], 4)) : r("", !0)]));
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as Y, useAttrs as yt, ref as z, computed as A, watch as Q, resolveComponent as w, createElementBlock as r, openBlock as s, createVNode as T, createCommentVNode as f, mergeProps as u, withCtx as d, renderSlot as $, createBlock as i, Fragment as c, renderList as E, normalizeProps as U, unref as W, resolveDynamicComponent as I, createTextVNode as j, toDisplayString as b, withModifiers as X, createElementVNode as h, pushScopeId as wt, popScopeId as ft } from "vue";
2
- import bt from "./index-C2Q04YaE.js";
3
- import ht from "./index-NXvTgPcC.js";
4
- import { m as gt, _ as kt, w as vt } from "./index-Pgb7joEc.js";
2
+ import bt from "./index-IcBLFNZx.js";
3
+ import ht from "./index-E4jh-RZ6.js";
4
+ import { m as gt, _ as kt, w as vt } from "./index-DkSTvVGB.js";
5
5
  const V = (y) => (wt("data-v-a65d44b8"), y = y(), ft(), y), xt = { class: "o-table" }, Bt = V(() => h("span", null, "序号", -1)), St = ["onClick"], Ct = { key: 2 }, _t = { key: 3 }, zt = { key: 0, style: { height: "64px" } }, Tt = { class: "page-wrap" }, $t = { class: "page-left" }, Pt = V(() => h("span", null, "共", -1)), Nt = { class: "m-lr-5" }, Ot = V(() => h("span", null, "项数据", -1)), At = Y({ name: "OTable" }), Lt = vt(kt(Y({ ...At, 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(y, { emit: Z }) {
6
6
  const C = yt(), m = y, tt = z(null), L = A(() => m.total || m.data.length), k = z(m.pageSize), et = Z, D = z([]);
7
7
  Q(() => m.columns, () => {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as u, ref as j, resolveComponent as y, resolveDirective as w, createElementBlock as c, openBlock as r, createVNode as k, mergeProps as a, withCtx as p, Fragment as R, renderList as x, createBlock as i, renderSlot as h, withDirectives as B, resolveDynamicComponent as D, createCommentVNode as L, unref as A } from "vue";
2
- import { v as $, i as q, _ as N, w as S } from "./index-Pgb7joEc.js";
3
- import U from "./index-NXvTgPcC.js";
4
- import E from "./index-DmTxRLqL.js";
2
+ import { v as $, i as q, _ as N, w as S } from "./index-DkSTvVGB.js";
3
+ import U from "./index-E4jh-RZ6.js";
4
+ import E from "./index-DqMKoDe8.js";
5
5
  const I = u({ name: "RenderComp", props: { render: Function, item: Object }, render: (t) => t.render(t == null ? void 0 : t.item) }), P = ["src"], z = u({ name: "OForm" }), M = S(N(u({ ...z, props: { fieldList: { type: Object, required: !0 }, model: { type: Object, required: !0 } }, setup(t, { expose: F }) {
6
6
  const O = (l) => {
7
7
  if (l.comp && typeof l.comp == "string") {
@@ -3791,7 +3791,7 @@ const Ed = ["href", "fill"], Id = p({ name: "OSvg" }), Od = p({ ...Id, props: {
3791
3791
  } }), Td = (e, t) => (e.install = (o) => {
3792
3792
  for (const n of [e, ...Object.values({})])
3793
3793
  o.component(n.name, n);
3794
- }, e), Xn = Td(I1(Od, [["__scopeId", "data-v-0cd51f8b"]])), jd = Object.freeze(Object.defineProperty({ __proto__: null, default: Xn }, Symbol.toStringTag, { value: "Module" })), n1 = Object.assign({ "./components/checkbox/index.ts": () => import("./index-CiU-dy8E.js"), "./components/chooseArea/index.ts": () => import("./index-DJ_UAr-6.js"), "./components/compTitle/index.ts": () => import("./index-l1_Vs-iC.js"), "./components/dateRange/index.ts": () => import("./index-BlSRGbTa.js"), "./components/description/index.ts": () => import("./index-Bx7LxMPA.js"), "./components/dialog/index.ts": () => import("./index-rU8G4dAk.js"), "./components/drawer/index.ts": () => import("./index-C8CBmVdg.js"), "./components/empty/index.ts": () => import("./index-dYBFnUgu.js"), "./components/form/index.ts": () => import("./index-B-ygmUzr.js"), "./components/icon/index.ts": () => import("./index-NXvTgPcC.js"), "./components/input/index.ts": () => import("./index-BdG9MfHW.js"), "./components/inputLabel/index.ts": () => import("./index-D6ltpHL0.js"), "./components/popconfirm/index.ts": () => import("./index-C2Q04YaE.js"), "./components/progress/index.ts": () => import("./index-DRsDXefI.js"), "./components/radio/index.ts": () => import("./index-Bb3fGUsu.js"), "./components/select/index.ts": () => import("./index-CI7M5JUV.js"), "./components/svg/index.ts": () => Promise.resolve().then(() => jd), "./components/switch/index.ts": () => import("./index-CwWhE2XM.js"), "./components/table/index.ts": () => import("./index-DUTNY_YA.js"), "./components/tabs/index.ts": () => import("./index-C4zebkH-.js"), "./components/text/index.ts": () => import("./index-BhUjVpDn.js"), "./components/title/index.ts": () => import("./index-Dj1Fc-fq.js"), "./components/tooltip/index.ts": () => import("./index-DmTxRLqL.js"), "./components/warning/index.ts": () => import("./index-CzOkH60S.js") }), Rd = Object.assign({ "./components/company/basicLayout/index.ts": () => import("./index-CeFiQw-e.js"), "./components/company/capacityProgress/index.ts": () => import("./index-pLYGaLJF.js") });
3794
+ }, e), Xn = Td(I1(Od, [["__scopeId", "data-v-0cd51f8b"]])), jd = Object.freeze(Object.defineProperty({ __proto__: null, default: Xn }, Symbol.toStringTag, { value: "Module" })), n1 = Object.assign({ "./components/checkbox/index.ts": () => import("./index-Bik1duy_.js"), "./components/chooseArea/index.ts": () => import("./index-DlR59eWY.js"), "./components/compTitle/index.ts": () => import("./index-Bhz66Ovv.js"), "./components/dateRange/index.ts": () => import("./index-BIWsXDlG.js"), "./components/description/index.ts": () => import("./index-D2YE_CK1.js"), "./components/dialog/index.ts": () => import("./index-BWZjiW7O.js"), "./components/drawer/index.ts": () => import("./index-dvFIaMgS.js"), "./components/empty/index.ts": () => import("./index-CWX1jLTC.js"), "./components/form/index.ts": () => import("./index-Dd0ypMV4.js"), "./components/icon/index.ts": () => import("./index-E4jh-RZ6.js"), "./components/input/index.ts": () => import("./index-BVxV3IZX.js"), "./components/inputLabel/index.ts": () => import("./index-C_pRXtFA.js"), "./components/popconfirm/index.ts": () => import("./index-IcBLFNZx.js"), "./components/progress/index.ts": () => import("./index-rS9AldtC.js"), "./components/radio/index.ts": () => import("./index-CR5-Nhky.js"), "./components/select/index.ts": () => import("./index-CysXv5xt.js"), "./components/svg/index.ts": () => Promise.resolve().then(() => jd), "./components/switch/index.ts": () => import("./index-Bv1Ot1gj.js"), "./components/table/index.ts": () => import("./index-DFjeMO-s.js"), "./components/tabs/index.ts": () => import("./index-BxifZp2d.js"), "./components/text/index.ts": () => import("./index-B8VlvnHB.js"), "./components/title/index.ts": () => import("./index-B3BmevVf.js"), "./components/tooltip/index.ts": () => import("./index-DqMKoDe8.js"), "./components/warning/index.ts": () => import("./index-1XV9-2Cy.js") }), Rd = Object.assign({ "./components/company/basicLayout/index.ts": () => import("./index-D6RBq1jJ.js"), "./components/company/capacityProgress/index.ts": () => import("./index-CJJD45Js.js"), "./components/company/countBar/index.ts": () => import("./index-GwF1VsWt.js"), "./components/company/usedPie/index.ts": () => import("./index-Cc6aWwg0.js") });
3795
3795
  for (const e in n1)
3796
3796
  n1[e]().then((t) => {
3797
3797
  });
@@ -3897,26 +3897,26 @@ typeof window < "u" && window.Vue && $n(window.Vue);
3897
3897
  const qd = { install: $n, utils: Op };
3898
3898
  export {
3899
3899
  E2 as $,
3900
- Zt as A,
3901
- he as B,
3902
- wp as C,
3903
- yp as D,
3900
+ Dd as A,
3901
+ Op as B,
3902
+ qd as C,
3903
+ Zt as D,
3904
3904
  b9 as E,
3905
- xp as F,
3906
- An as G,
3907
- Cp as H,
3908
- Kt as I,
3909
- zp as J,
3910
- _p as K,
3911
- Ap as L,
3912
- Bp as M,
3913
- B1 as N,
3905
+ he as F,
3906
+ wp as G,
3907
+ yp as H,
3908
+ An as I,
3909
+ Cp as J,
3910
+ Kt as K,
3911
+ zp as L,
3912
+ _p as M,
3913
+ Ap as N,
3914
3914
  Xn as O,
3915
- Hp as P,
3916
- et as Q,
3917
- Vp as R,
3918
- Sp as S,
3919
- Lp as T,
3915
+ Bp as P,
3916
+ B1 as Q,
3917
+ Hp as R,
3918
+ et as S,
3919
+ Vp as T,
3920
3920
  Hn as U,
3921
3921
  Vn as V,
3922
3922
  kp as W,
@@ -3945,7 +3945,7 @@ export {
3945
3945
  n0 as u,
3946
3946
  bp as v,
3947
3947
  Td as w,
3948
- Dd as x,
3949
- Op as y,
3950
- qd as z
3948
+ xp as x,
3949
+ Lp as y,
3950
+ Sp as z
3951
3951
  };