hs-admin-ui 17.0.5 → 17.0.7
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-CmuHspNk.js → index-BEjZGPL9.js} +29 -15
- package/dist/{index-8j3cHwnv.js → index-CvU85qzE.js} +3118 -3007
- package/dist/{index-B8REha8K.js → index-DQ__Y1be.js} +200 -101
- package/dist/index.mjs +6 -6
- package/dist/{setting-BjaCWt3K.js → setting-C2i4nh7B.js} +8 -5
- package/dist/{table-xRAByXLr.js → table-dXIZiY9l.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 { b7 as ge, dR as i, dS as qi } from "./bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-
|
|
1
|
+
import { b7 as ge, dR as i, dS as qi } from "./bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-vyql0LvH.js";
|
|
2
2
|
import { watch as Dt, reactive as wl, nextTick as fe, h as g, defineComponent as Ko, ref as je, inject as Lo, createCommentVNode as lt, onMounted as Jl, onUnmounted as en, provide as Ql, TransitionGroup as Bn, computed as Pe, Teleport as Xi, onActivated as ic, onDeactivated as ac, onBeforeUnmount as cc, resolveComponent as dc } from "vue";
|
|
3
3
|
function vt(e) {
|
|
4
4
|
return e && e.enabled !== !1;
|
|
@@ -1125,7 +1125,8 @@ const ft = {
|
|
|
1125
1125
|
totalValue: R
|
|
1126
1126
|
};
|
|
1127
1127
|
J && (z = `${J(oe)}`), W && (z = Un("vxe.table.rowGroupContentTotal", [z, ee ? ee(oe) : R, R]));
|
|
1128
|
-
} else
|
|
1128
|
+
} else
|
|
1129
|
+
S && c.isAggregate || (z = l.getCellLabel(c, p));
|
|
1129
1130
|
const H = P ? P.placeholder : "";
|
|
1130
1131
|
return Oo(e, [
|
|
1131
1132
|
g("span", {
|
|
@@ -9680,9 +9681,10 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
|
|
|
9680
9681
|
} catch {
|
|
9681
9682
|
A.isRefresh = !1;
|
|
9682
9683
|
}
|
|
9683
|
-
} else
|
|
9684
|
-
A.isRefresh = !
|
|
9685
|
-
|
|
9684
|
+
} else
|
|
9685
|
+
z && (A.isRefresh = !0, z.triggerToolbarCommitEvent({ code: ie.code || "reload" }, re).catch((Me) => Me).then(() => {
|
|
9686
|
+
A.isRefresh = !1;
|
|
9687
|
+
}));
|
|
9686
9688
|
}
|
|
9687
9689
|
}, q = ({ $event: re }) => {
|
|
9688
9690
|
z && z.triggerZoomEvent(re);
|
|
@@ -10857,7 +10859,8 @@ kd.add("tableMenuModule", {
|
|
|
10857
10859
|
break;
|
|
10858
10860
|
}
|
|
10859
10861
|
V[Y] = J || ee[0];
|
|
10860
|
-
} else
|
|
10862
|
+
} else
|
|
10863
|
+
V[Y] && (Tr.hasKey(H, Fr.ENTER) || Tr.hasKey(H, Fr.SPACEBAR)) && e.ctxMenuLinkEvent(H, V[Y]);
|
|
10861
10864
|
},
|
|
10862
10865
|
handleOpenMenuEvent: z,
|
|
10863
10866
|
/**
|
package/dist/element-plus-ui.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { aT as r, b1 as u, b2 as l, b3 as m, H as E, aR as c } from "./bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-
|
|
2
|
-
import { W as N, b5 as R, b6 as i, aw as s } from "./bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-
|
|
3
|
-
import "./index-
|
|
4
|
-
import { q as d } from "./index-
|
|
1
|
+
import { aT as r, b1 as u, b2 as l, b3 as m, H as E, aR as c } from "./bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-vyql0LvH.js";
|
|
2
|
+
import { W as N, b5 as R, b6 as i, aw as s } from "./bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-vyql0LvH.js";
|
|
3
|
+
import "./index-B6IjumNu.js";
|
|
4
|
+
import { q as d } from "./index-CvU85qzE.js";
|
|
5
5
|
import "vue";
|
|
6
|
-
import { i as T } from "./index-
|
|
6
|
+
import { i as T } from "./index-BEjZGPL9.js";
|
|
7
7
|
function b(a, e) {
|
|
8
8
|
r.value = e == null ? void 0 : e.NEXT_NAME, u.value = e == null ? void 0 : e.IS_DEV, l.value = e == null ? void 0 : e.currentRoute, m.value = e == null ? void 0 : e.currentRouter, E.has(a, "_context.directives.loading") || a.directive("loading", c.directive), a.use(d);
|
|
9
9
|
}
|
package/dist/h5.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h as G, g as Y, E as K, a as f, f as W, d as X } from "./index-
|
|
1
|
+
import { h as G, g as Y, E as K, a as f, f as W, d as X } from "./index-B6IjumNu.js";
|
|
2
2
|
import { defineComponent as B, shallowRef as J, reactive as M, computed as F, watch as Q, resolveComponent as Z, resolveDirective as ee, withDirectives as ae, createElementBlock as O, openBlock as V, createElementVNode as p, createBlock as A, createCommentVNode as te, createVNode as n, unref as e, withCtx as d, createTextVNode as S, ref as x, onMounted as le, onUnmounted as ne, toDisplayString as N, Fragment as oe, renderList as re } from "vue";
|
|
3
|
-
import { b9 as T, H, M as se, a3 as j, E as de, bf as ie, aP as v, bg as P, aj as ue, K as pe, S as R, aR as ce } from "./bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-
|
|
3
|
+
import { b9 as T, H, M as se, a3 as j, E as de, bf as ie, aP as v, bg as P, aj as ue, K as pe, S as R, aR as ce } from "./bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-vyql0LvH.js";
|
|
4
4
|
const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" }, fe = /* @__PURE__ */ B({
|
|
5
5
|
__name: "Upload",
|
|
6
6
|
props: {
|
|
@@ -220,14 +220,16 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
220
220
|
defaultMemberType: "",
|
|
221
221
|
discount: 0
|
|
222
222
|
}), D = async () => {
|
|
223
|
-
if (!o.value)
|
|
223
|
+
if (!o.value)
|
|
224
|
+
return !1;
|
|
224
225
|
try {
|
|
225
226
|
return await o.value.validate();
|
|
226
227
|
} catch {
|
|
227
228
|
return !1;
|
|
228
229
|
}
|
|
229
230
|
}, u = async () => {
|
|
230
|
-
if (!await D())
|
|
231
|
+
if (!await D())
|
|
232
|
+
return;
|
|
231
233
|
g.value = !0;
|
|
232
234
|
const a = {
|
|
233
235
|
vip_name: t.name,
|
|
@@ -283,7 +285,8 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
283
285
|
isCountingDown: b,
|
|
284
286
|
stopCountdown: q,
|
|
285
287
|
sendSmsCode: async () => {
|
|
286
|
-
if (b.value || !o.value)
|
|
288
|
+
if (b.value || !o.value)
|
|
289
|
+
return;
|
|
287
290
|
if (!await o.value.validateField("phone")) {
|
|
288
291
|
R.warning("请先输入正确的手机号");
|
|
289
292
|
return;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as C, computed as E, defineComponent as q, watch as ue, provide as je, reactive as Ye, toRefs as Tt, createElementBlock as I, openBlock as F, normalizeClass as T, unref as o, renderSlot as N, inject as de, onMounted as Xe, onBeforeUnmount as Je, onUpdated as Cr, createVNode as H, Fragment as At, nextTick as _e, useSlots as xn, createElementVNode as k, withCtx as D, createBlock as J, createCommentVNode as B, resolveDynamicComponent as Ot, normalizeStyle as Q, createTextVNode as Ft, toDisplayString as ce, TransitionGroup as xr, toRef as ot, Transition as qn, withDirectives as Pt, vShow as Bn, onActivated as In, withModifiers as ie, isRef as qr, vModelRadio as Br, renderList as Mn, withKeys as Ir, shallowRef as lt, createSlots as Kt, mergeProps as Yt } from "vue";
|
|
2
|
-
import { dB as Ze, bv as ye, bi as Rt, bw as Nn, dC as Mr, dD as Nr, by as kn, bo as Re, bp as Lt, dE as Dn, bx as Un, bm as zn, bu as Se, dF as jt, dG as Ue, dH as kr, dI as Dr, dJ as Te, dK as ze, bn as Wn, v as Ct, e as me, bF as We, b as Y, d as R, c as Ur, bT as oe, _ as te, ci as xt, u as Z, dd as qt, o as Qe, bZ as ut, t as Ce, A as zr, c1 as Wr, dL as Vn, f as Ve, dl as nt, w as xe, s as Bt, k as ft, l as Gn, a as ve, bX as Vr, z as Hn, bL as Kn, c3 as It, ce as Gr, cp as Xt, c5 as qe, cr as Yn, cg as Xn, cq as Jn, dg as Zn, dM as Hr, cf as Qn, ct as Kr, cy as Yr, E as pe, bW as Xr, bS as K, B as dt, h as ea, dN as ta, cU as ra, dO as na, dP as Jt, dQ as aa, ds as sa } from "./bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-
|
|
2
|
+
import { dB as Ze, bv as ye, bi as Rt, bw as Nn, dC as Mr, dD as Nr, by as kn, bo as Re, bp as Lt, dE as Dn, bx as Un, bm as zn, bu as Se, dF as jt, dG as Ue, dH as kr, dI as Dr, dJ as Te, dK as ze, bn as Wn, v as Ct, e as me, bF as We, b as Y, d as R, c as Ur, bT as oe, _ as te, ci as xt, u as Z, dd as qt, o as Qe, bZ as ut, t as Ce, A as zr, c1 as Wr, dL as Vn, f as Ve, dl as nt, w as xe, s as Bt, k as ft, l as Gn, a as ve, bX as Vr, z as Hn, bL as Kn, c3 as It, ce as Gr, cp as Xt, c5 as qe, cr as Yn, cg as Xn, cq as Jn, dg as Zn, dM as Hr, cf as Qn, ct as Kr, cy as Yr, E as pe, bW as Xr, bS as K, B as dt, h as ea, dN as ta, cU as ra, dO as na, dP as Jt, dQ as aa, ds as sa } from "./bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-vyql0LvH.js";
|
|
3
3
|
var ct = Ze(ye, "WeakMap"), Zt = Object.create, ia = /* @__PURE__ */ function() {
|
|
4
4
|
function t() {
|
|
5
5
|
}
|
|
@@ -568,7 +568,8 @@ function fo() {
|
|
|
568
568
|
if (s && i) {
|
|
569
569
|
const l = r(i);
|
|
570
570
|
t.value.splice(l, 1, s);
|
|
571
|
-
} else
|
|
571
|
+
} else
|
|
572
|
+
s && t.value.push(s);
|
|
572
573
|
}
|
|
573
574
|
function a(s) {
|
|
574
575
|
const i = r(s);
|
|
@@ -704,8 +705,10 @@ function Le(t, e) {
|
|
|
704
705
|
}, Le(t, e);
|
|
705
706
|
}
|
|
706
707
|
function mo() {
|
|
707
|
-
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
708
|
-
|
|
708
|
+
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
709
|
+
return !1;
|
|
710
|
+
if (typeof Proxy == "function")
|
|
711
|
+
return !0;
|
|
709
712
|
try {
|
|
710
713
|
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
711
714
|
})), !0;
|
|
@@ -727,11 +730,13 @@ function yo(t) {
|
|
|
727
730
|
function bt(t) {
|
|
728
731
|
var e = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
729
732
|
return bt = function(n) {
|
|
730
|
-
if (n === null || !yo(n))
|
|
733
|
+
if (n === null || !yo(n))
|
|
734
|
+
return n;
|
|
731
735
|
if (typeof n != "function")
|
|
732
736
|
throw new TypeError("Super expression must either be null or a function");
|
|
733
737
|
if (typeof e < "u") {
|
|
734
|
-
if (e.has(n))
|
|
738
|
+
if (e.has(n))
|
|
739
|
+
return e.get(n);
|
|
735
740
|
e.set(n, a);
|
|
736
741
|
}
|
|
737
742
|
function a() {
|
|
@@ -755,7 +760,8 @@ typeof process < "u" && process.env && process.env.NODE_ENV !== "production" &&
|
|
|
755
760
|
}) && console.warn(e, r);
|
|
756
761
|
});
|
|
757
762
|
function wt(t) {
|
|
758
|
-
if (!t || !t.length)
|
|
763
|
+
if (!t || !t.length)
|
|
764
|
+
return null;
|
|
759
765
|
var e = {};
|
|
760
766
|
return t.forEach(function(r) {
|
|
761
767
|
var n = r.field;
|
|
@@ -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
|
};
|