hs-admin-ui 17.0.5 → 17.0.6
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.
- package/dist/{bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-BcYE-BQ8.js → bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-vyql0LvH.js} +10060 -8461
- package/dist/{components-BQqQsHab.js → components-jA6cfy0p.js} +9 -6
- package/dist/element-plus-ui.mjs +5 -5
- package/dist/h5.mjs +8 -5
- package/dist/{index-BUCSA3Vy.js → index-B6IjumNu.js} +13 -7
- package/dist/{index-8j3cHwnv.js → index-BC3xR_qZ.js} +3118 -3007
- package/dist/{index-CmuHspNk.js → index-BEjZGPL9.js} +29 -15
- package/dist/{index-B8REha8K.js → index-CN_m_pg7.js} +200 -101
- package/dist/index.mjs +6 -6
- package/dist/{setting-BjaCWt3K.js → setting-BqE8F5Hv.js} +8 -5
- package/dist/{table-xRAByXLr.js → table-B75lM7EH.js} +2 -2
- package/dist/types/src/components/base/DatePicker/src/DatePicker.vue.d.ts +5 -0
- package/dist/types/src/components/base/index.d.ts +10 -0
- package/dist/types/src/components/business/bcVisual/bcVisual.vue.d.ts +2 -2
- package/dist/vxe-table-ui.mjs +4 -4
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as v, X as F, H as y, ax as P, J as L, dT as K, M as S, dU as ne, dV as C, dW as h, aa as R, T as le, be as re, ap as oe, ae as D, aj as se, b2 as ie, b3 as ue, dX as ce, W as de, b5 as fe, b6 as ge, b1 as me, dY as pe, aT as ye, aS as be, dZ as he, d_ as ve, d$ as _e, e0 as xe, e1 as we, e2 as De, e3 as Ce, e4 as Ee, e5 as Se, am as Ae, Z as Te, L as Ne, e6 as Be, e7 as Fe, a4 as Pe, e8 as Me, e9 as je, ea as Ie, eb as Le, ec as Re, K as Oe, ed as Ye, ee as $e, ef as ke, eg as Ue, eh as Ke, ei as He, ej as We, ek as qe, aw as Je, el as ze, em as Ze, ac as Qe, en as Xe, eo as Ge, ep as Ve, eq as et, er as tt, V as at, al as nt, N as lt, es as rt, et as ot, an as st, eu as it, ev as ut, at as ct, ew as dt, ex as ft, ey as gt, ez as mt, eA as pt, eB as yt, eC as bt, eD as ht, eE as vt, eF as _t, eG as xt, eH as wt, eI as Dt, eJ as Ct, eK as Et, eL as St, eM as At, eN as Tt, eO as Nt, eP as Bt, eQ as Ft, eR as Pt, eS as Mt, eT as jt, eU as It } from "./bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-
|
|
1
|
+
import { S as v, X as F, H as y, ax as P, J as L, dT as K, M as S, dU as ne, dV as C, dW as h, aa as R, T as le, be as re, ap as oe, ae as D, aj as se, b2 as ie, b3 as ue, dX as ce, W as de, b5 as fe, b6 as ge, b1 as me, dY as pe, aT as ye, aS as be, dZ as he, d_ as ve, d$ as _e, e0 as xe, e1 as we, e2 as De, e3 as Ce, e4 as Ee, e5 as Se, am as Ae, Z as Te, L as Ne, e6 as Be, e7 as Fe, a4 as Pe, e8 as Me, e9 as je, ea as Ie, eb as Le, ec as Re, K as Oe, ed as Ye, ee as $e, ef as ke, eg as Ue, eh as Ke, ei as He, ej as We, ek as qe, aw as Je, el as ze, em as Ze, ac as Qe, en as Xe, eo as Ge, ep as Ve, eq as et, er as tt, V as at, al as nt, N as lt, es as rt, et as ot, an as st, eu as it, ev as ut, at as ct, ew as dt, ex as ft, ey as gt, ez as mt, eA as pt, eB as yt, eC as bt, eD as ht, eE as vt, eF as _t, eG as xt, eH as wt, eI as Dt, eJ as Ct, eK as Et, eL as St, eM as At, eN as Tt, eO as Nt, eP as Bt, eQ as Ft, eR as Pt, eS as Mt, eT as jt, eU as It } from "./bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-vyql0LvH.js";
|
|
2
2
|
import { ref as Lt, onBeforeUnmount as Rt, nextTick as Ot } from "vue";
|
|
3
3
|
function Yt(t, e) {
|
|
4
4
|
const n = M(t), a = M(e);
|
|
@@ -10,14 +10,18 @@ function Yt(t, e) {
|
|
|
10
10
|
return l === o;
|
|
11
11
|
}
|
|
12
12
|
function H(t, e) {
|
|
13
|
-
if (!t || !e)
|
|
13
|
+
if (!t || !e)
|
|
14
|
+
return !1;
|
|
14
15
|
let n = Object.getOwnPropertyNames(t), a = Object.getOwnPropertyNames(e);
|
|
15
|
-
if (n.length != a.length)
|
|
16
|
+
if (n.length != a.length)
|
|
17
|
+
return !1;
|
|
16
18
|
for (let l = 0; l < n.length; l++) {
|
|
17
19
|
let o = n[l], r = t[o], s = e[o];
|
|
18
|
-
if (!e.hasOwnProperty(o))
|
|
20
|
+
if (!e.hasOwnProperty(o))
|
|
21
|
+
return !1;
|
|
19
22
|
if (r instanceof Object) {
|
|
20
|
-
if (!H(r, s))
|
|
23
|
+
if (!H(r, s))
|
|
24
|
+
return !1;
|
|
21
25
|
} else if (r !== s)
|
|
22
26
|
return !1;
|
|
23
27
|
}
|
|
@@ -131,7 +135,8 @@ async function Z(t, e) {
|
|
|
131
135
|
"real_amount"
|
|
132
136
|
//实收
|
|
133
137
|
].forEach((i) => {
|
|
134
|
-
if (!e[i])
|
|
138
|
+
if (!e[i])
|
|
139
|
+
return;
|
|
135
140
|
let p = K(e[i]);
|
|
136
141
|
l.本单合计金额大写 = p, l.本单合计金额 = e.commodity_sum || e.delivery_sum;
|
|
137
142
|
}), o = ((T = n.tableData) == null ? void 0 : T.map((i) => ({
|
|
@@ -255,7 +260,8 @@ function Wt(t) {
|
|
|
255
260
|
}), { isFullPage: e, toggle: a };
|
|
256
261
|
}
|
|
257
262
|
function A(t, e) {
|
|
258
|
-
if (!t)
|
|
263
|
+
if (!t)
|
|
264
|
+
return "";
|
|
259
265
|
let n = t.getDay(), a = X(t), l = Math.floor((t.getMonth() + 3) / 3).toString();
|
|
260
266
|
const o = {
|
|
261
267
|
"Y+": t.getFullYear().toString(),
|
|
@@ -323,7 +329,8 @@ function Jt(t) {
|
|
|
323
329
|
return e < 6 ? "凌晨好" : e < 9 ? "早上好" : e < 12 ? "上午好" : e < 14 ? "中午好" : e < 17 ? "下午好" : e < 19 ? "傍晚好" : e < 22 ? "晚上好" : "夜里好";
|
|
324
330
|
}
|
|
325
331
|
const zt = (t, e, n) => n ? `${n}%` : "-", Zt = (t, e, n) => n ? A(new Date(n), "YYYY-mm-dd") : "-", Qt = (t, e, n) => n ? A(new Date(n), "YYYY-mm-dd HH:MM:SS") : "-", Xt = (t, e, n) => {
|
|
326
|
-
if (!n)
|
|
332
|
+
if (!n)
|
|
333
|
+
return "-";
|
|
327
334
|
let a = 0;
|
|
328
335
|
return typeof t == "number" && (a = t), typeof n == "number" && (a = n), A(new Date(a * 1e3), "HH:MM:SS");
|
|
329
336
|
}, Gt = (t = "0", e = 4) => Number.parseFloat(t).toFixed(e), Vt = (t = "0") => Number.parseFloat(t).toFixed(2), ea = (t) => {
|
|
@@ -752,7 +759,8 @@ function E() {
|
|
|
752
759
|
if (!/^\#?[0-9A-Fa-f]{6}$/.test(l))
|
|
753
760
|
return v.warning("输入错误的hex"), "";
|
|
754
761
|
l = l.replace("#", ""), o = l.match(/../g);
|
|
755
|
-
for (let s = 0; s < 3; s++)
|
|
762
|
+
for (let s = 0; s < 3; s++)
|
|
763
|
+
o[s] = parseInt(o[s], 16);
|
|
756
764
|
return o;
|
|
757
765
|
},
|
|
758
766
|
rgbToHex: (l, o, r) => {
|
|
@@ -760,21 +768,24 @@ function E() {
|
|
|
760
768
|
if (!s.test(String(l)) || !s.test(String(o)) || !s.test(String(r)))
|
|
761
769
|
return v.warning("输入错误的rgb颜色值"), "";
|
|
762
770
|
let u = [l.toString(16), o.toString(16), r.toString(16)];
|
|
763
|
-
for (let c = 0; c < 3; c++)
|
|
771
|
+
for (let c = 0; c < 3; c++)
|
|
772
|
+
u[c].length == 1 && (u[c] = `0${u[c]}`);
|
|
764
773
|
return `#${u.join("")}`;
|
|
765
774
|
},
|
|
766
775
|
getDarkColor: (l, o) => {
|
|
767
776
|
if (!/^\#?[0-9A-Fa-f]{6}$/.test(l))
|
|
768
777
|
return v.warning("输入错误的hex颜色值"), "";
|
|
769
778
|
let s = E().hexToRgb(l);
|
|
770
|
-
for (let u = 0; u < 3; u++)
|
|
779
|
+
for (let u = 0; u < 3; u++)
|
|
780
|
+
s[u] = Math.floor(s[u] * (1 - o));
|
|
771
781
|
return E().rgbToHex(s[0], s[1], s[2]);
|
|
772
782
|
},
|
|
773
783
|
getLightColor: (l, o) => {
|
|
774
784
|
if (!/^\#?[0-9A-Fa-f]{6}$/.test(l))
|
|
775
785
|
return v.warning("输入错误的hex颜色值"), "";
|
|
776
786
|
let s = E().hexToRgb(l);
|
|
777
|
-
for (let u = 0; u < 3; u++)
|
|
787
|
+
for (let u = 0; u < 3; u++)
|
|
788
|
+
s[u] = Math.floor((255 - s[u]) * o + s[u]);
|
|
778
789
|
return E().rgbToHex(s[0], s[1], s[2]);
|
|
779
790
|
}
|
|
780
791
|
};
|
|
@@ -807,13 +818,16 @@ function fa(t, e = !1) {
|
|
|
807
818
|
}
|
|
808
819
|
function ga(t) {
|
|
809
820
|
if (Array.isArray(t)) {
|
|
810
|
-
if (t.length === 0 || t.every((e) => typeof e == "string" || typeof e == "number"))
|
|
811
|
-
|
|
821
|
+
if (t.length === 0 || t.every((e) => typeof e == "string" || typeof e == "number"))
|
|
822
|
+
return String(t);
|
|
823
|
+
if (t.every((e) => typeof e == "object" && e !== null))
|
|
824
|
+
return JSON.stringify(t);
|
|
812
825
|
}
|
|
813
826
|
return typeof t == "object" && t !== null ? JSON.stringify(t) : t;
|
|
814
827
|
}
|
|
815
828
|
const ma = (t, e, n) => {
|
|
816
|
-
if (!e)
|
|
829
|
+
if (!e)
|
|
830
|
+
return t;
|
|
817
831
|
const a = e.toLowerCase();
|
|
818
832
|
return t.filter((l) => n(l).some((r) => r && r.toLowerCase().includes(a)));
|
|
819
833
|
};
|