@bsgoal/common 1.9.7 → 1.9.8
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/index.mjs
CHANGED
|
@@ -229,7 +229,7 @@ var Jt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
229
229
|
Hr.exports;
|
|
230
230
|
(function(_, A) {
|
|
231
231
|
(function() {
|
|
232
|
-
var l, I = "4.17.21", T = 200, S = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", h = "Expected a function", L = "Invalid `variable` option passed into `_.template`", D = "__lodash_hash_undefined__", K = 500, z = "__lodash_placeholder__", ue = 1, be = 2, ee = 4, ce = 1, oe = 2, B = 1, V = 2, ne = 4, R = 8, q = 16, Q = 32,
|
|
232
|
+
var l, I = "4.17.21", T = 200, S = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", h = "Expected a function", L = "Invalid `variable` option passed into `_.template`", D = "__lodash_hash_undefined__", K = 500, z = "__lodash_placeholder__", ue = 1, be = 2, ee = 4, ce = 1, oe = 2, B = 1, V = 2, ne = 4, R = 8, q = 16, Q = 32, ie = 64, te = 128, Te = 256, me = 512, Fe = 30, xn = "...", Sn = 800, Mn = 16, Gn = 1, et = 2, zn = 3, En = 1 / 0, _e = 9007199254740991, y = 17976931348623157e292, x = 0 / 0, de = 4294967295, dt = de - 1, nt = de >>> 1, Bt = [
|
|
233
233
|
["ary", te],
|
|
234
234
|
["bind", B],
|
|
235
235
|
["bindKey", V],
|
|
@@ -237,7 +237,7 @@ Hr.exports;
|
|
|
237
237
|
["curryRight", q],
|
|
238
238
|
["flip", me],
|
|
239
239
|
["partial", Q],
|
|
240
|
-
["partialRight",
|
|
240
|
+
["partialRight", ie],
|
|
241
241
|
["rearg", Te]
|
|
242
242
|
], un = "[object Arguments]", In = "[object Array]", Re = "[object AsyncFunction]", De = "[object Boolean]", ln = "[object Date]", W = "[object DOMException]", an = "[object Error]", ht = "[object Function]", er = "[object GeneratorFunction]", Xe = "[object Map]", tt = "[object Number]", N = "[object Null]", Ve = "[object Object]", vi = "[object Promise]", ro = "[object Proxy]", Mt = "[object RegExp]", wn = "[object Set]", Lt = "[object String]", nr = "[object Symbol]", uo = "[object Undefined]", Dt = "[object WeakMap]", io = "[object WeakSet]", Nt = "[object ArrayBuffer]", gt = "[object DataView]", kr = "[object Float32Array]", Yr = "[object Float64Array]", Kr = "[object Int8Array]", qr = "[object Int16Array]", Zr = "[object Int32Array]", Xr = "[object Uint8Array]", Jr = "[object Uint8ClampedArray]", Qr = "[object Uint16Array]", jr = "[object Uint32Array]", lo = /\b__p \+= '';/g, ao = /\b(__p \+=) '' \+/g, oo = /(__e\(.*?\)|\b__t\)) \+\n'';/g, mi = /&(?:amp|lt|gt|quot|#39);/g, xi = /[&<>"']/g, so = RegExp(mi.source), fo = RegExp(xi.source), co = /<%-([\s\S]+?)%>/g, _o = /<%([\s\S]+?)%>/g, Ei = /<%=([\s\S]+?)%>/g, ho = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, go = /^\w*$/, po = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, eu = /[\\^$.*+?()[\]{}|]/g, vo = RegExp(eu.source), nu = /^\s+/, mo = /\s/, xo = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, Eo = /\{\n\/\* \[wrapped with (.+)\] \*/, wo = /,? & /, yo = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Ao = /[()=,{}\[\]\/\s]/, bo = /\\(\\)?/g, To = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, wi = /\w*$/, Co = /^[-+]0x[0-9a-f]+$/i, So = /^0b[01]+$/i, Io = /^\[object .+?Constructor\]$/, Oo = /^0o[0-7]+$/i, Ro = /^(?:0|[1-9]\d*)$/, Bo = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, tr = /($^)/, Mo = /['\n\r\u2028\u2029\\]/g, rr = "\\ud800-\\udfff", Lo = "\\u0300-\\u036f", Do = "\\ufe20-\\ufe2f", No = "\\u20d0-\\u20ff", yi = Lo + Do + No, Ai = "\\u2700-\\u27bf", bi = "a-z\\xdf-\\xf6\\xf8-\\xff", $o = "\\xac\\xb1\\xd7\\xf7", Fo = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Po = "\\u2000-\\u206f", Uo = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Ti = "A-Z\\xc0-\\xd6\\xd8-\\xde", Ci = "\\ufe0e\\ufe0f", Si = $o + Fo + Po + Uo, tu = "['’]", Vo = "[" + rr + "]", Ii = "[" + Si + "]", ur = "[" + yi + "]", Oi = "\\d+", Wo = "[" + Ai + "]", Ri = "[" + bi + "]", Bi = "[^" + rr + Si + Oi + Ai + bi + Ti + "]", ru = "\\ud83c[\\udffb-\\udfff]", Go = "(?:" + ur + "|" + ru + ")", Mi = "[^" + rr + "]", uu = "(?:\\ud83c[\\udde6-\\uddff]){2}", iu = "[\\ud800-\\udbff][\\udc00-\\udfff]", pt = "[" + Ti + "]", Li = "\\u200d", Di = "(?:" + Ri + "|" + Bi + ")", zo = "(?:" + pt + "|" + Bi + ")", Ni = "(?:" + tu + "(?:d|ll|m|re|s|t|ve))?", $i = "(?:" + tu + "(?:D|LL|M|RE|S|T|VE))?", Fi = Go + "?", Pi = "[" + Ci + "]?", Ho = "(?:" + Li + "(?:" + [Mi, uu, iu].join("|") + ")" + Pi + Fi + ")*", ko = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Yo = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Ui = Pi + Fi + Ho, Ko = "(?:" + [Wo, uu, iu].join("|") + ")" + Ui, qo = "(?:" + [Mi + ur + "?", ur, uu, iu, Vo].join("|") + ")", Zo = RegExp(tu, "g"), Xo = RegExp(ur, "g"), lu = RegExp(ru + "(?=" + ru + ")|" + qo + Ui, "g"), Jo = RegExp([
|
|
243
243
|
pt + "?" + Ri + "+" + Ni + "(?=" + [Ii, pt, "$"].join("|") + ")",
|
|
@@ -786,7 +786,7 @@ Hr.exports;
|
|
|
786
786
|
}
|
|
787
787
|
}(), Us = g.clearTimeout !== Ne.clearTimeout && g.clearTimeout, Vs = O && O.now !== Ne.Date.now && O.now, Ws = g.setTimeout !== Ne.setTimeout && g.setTimeout, vr = Be.ceil, mr = Be.floor, xu = xe.getOwnPropertySymbols, Gs = _r ? _r.isBuffer : l, sl = g.isFinite, zs = or.join, Hs = tl(xe.keys, xe), Me = Be.max, Pe = Be.min, ks = O.now, Ys = g.parseInt, fl = Be.random, Ks = or.reverse, Eu = st(g, "DataView"), Pt = st(g, "Map"), wu = st(g, "Promise"), yt = st(g, "Set"), Ut = st(g, "WeakMap"), Vt = st(xe, "create"), xr = Ut && new Ut(), At = {}, qs = ft(Eu), Zs = ft(Pt), Xs = ft(wu), Js = ft(yt), Qs = ft(Ut), Er = Kn ? Kn.prototype : l, Wt = Er ? Er.valueOf : l, cl = Er ? Er.toString : l;
|
|
788
788
|
function i(e) {
|
|
789
|
-
if (Se(e) && !Y(e) && !(e instanceof
|
|
789
|
+
if (Se(e) && !Y(e) && !(e instanceof le)) {
|
|
790
790
|
if (e instanceof cn)
|
|
791
791
|
return e;
|
|
792
792
|
if (ve.call(e, "__wrapped__"))
|
|
@@ -857,16 +857,16 @@ Hr.exports;
|
|
|
857
857
|
_: i
|
|
858
858
|
}
|
|
859
859
|
}, i.prototype = wr.prototype, i.prototype.constructor = i, cn.prototype = bt(wr.prototype), cn.prototype.constructor = cn;
|
|
860
|
-
function
|
|
860
|
+
function le(e) {
|
|
861
861
|
this.__wrapped__ = e, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = de, this.__views__ = [];
|
|
862
862
|
}
|
|
863
863
|
function js() {
|
|
864
|
-
var e = new
|
|
864
|
+
var e = new le(this.__wrapped__);
|
|
865
865
|
return e.__actions__ = ke(this.__actions__), e.__dir__ = this.__dir__, e.__filtered__ = this.__filtered__, e.__iteratees__ = ke(this.__iteratees__), e.__takeCount__ = this.__takeCount__, e.__views__ = ke(this.__views__), e;
|
|
866
866
|
}
|
|
867
867
|
function ef() {
|
|
868
868
|
if (this.__filtered__) {
|
|
869
|
-
var e = new
|
|
869
|
+
var e = new le(this);
|
|
870
870
|
e.__dir__ = -1, e.__filtered__ = !0;
|
|
871
871
|
} else
|
|
872
872
|
e = this.clone(), e.__dir__ *= -1;
|
|
@@ -894,7 +894,7 @@ Hr.exports;
|
|
|
894
894
|
}
|
|
895
895
|
return P;
|
|
896
896
|
}
|
|
897
|
-
|
|
897
|
+
le.prototype = bt(wr.prototype), le.prototype.constructor = le;
|
|
898
898
|
function it(e) {
|
|
899
899
|
var n = -1, t = e == null ? 0 : e.length;
|
|
900
900
|
for (this.clear(); ++n < t; ) {
|
|
@@ -1616,7 +1616,7 @@ Hr.exports;
|
|
|
1616
1616
|
}
|
|
1617
1617
|
function Nl(e, n) {
|
|
1618
1618
|
var t = e;
|
|
1619
|
-
return t instanceof
|
|
1619
|
+
return t instanceof le && (t = t.value()), fu(n, function(r, u) {
|
|
1620
1620
|
return u.func.apply(u.thisArg, kn([r], u.args));
|
|
1621
1621
|
}, t);
|
|
1622
1622
|
}
|
|
@@ -1969,7 +1969,7 @@ Hr.exports;
|
|
|
1969
1969
|
}
|
|
1970
1970
|
function Xl(e, n, t, r, u, a, o, s, c, p) {
|
|
1971
1971
|
var v = n & R, m = v ? o : l, b = v ? l : o, M = v ? a : l, P = v ? l : a;
|
|
1972
|
-
n |= v ? Q :
|
|
1972
|
+
n |= v ? Q : ie, n &= ~(v ? ie : Q), n & ne || (n &= ~(B | V));
|
|
1973
1973
|
var X = [
|
|
1974
1974
|
e,
|
|
1975
1975
|
n,
|
|
@@ -2008,7 +2008,7 @@ Hr.exports;
|
|
|
2008
2008
|
if (!c && typeof e != "function")
|
|
2009
2009
|
throw new fn(h);
|
|
2010
2010
|
var p = r ? r.length : 0;
|
|
2011
|
-
if (p || (n &= ~(Q |
|
|
2011
|
+
if (p || (n &= ~(Q | ie), r = u = l), o = o === l ? o : Me(Z(o), 0), s = s === l ? s : Z(s), p -= u ? u.length : 0, n & ie) {
|
|
2012
2012
|
var v = r, m = u;
|
|
2013
2013
|
r = u = l;
|
|
2014
2014
|
}
|
|
@@ -2326,7 +2326,7 @@ Hr.exports;
|
|
|
2326
2326
|
}
|
|
2327
2327
|
function qu(e) {
|
|
2328
2328
|
var n = Lr(e), t = i[n];
|
|
2329
|
-
if (typeof t != "function" || !(n in
|
|
2329
|
+
if (typeof t != "function" || !(n in le.prototype))
|
|
2330
2330
|
return !1;
|
|
2331
2331
|
if (e === t)
|
|
2332
2332
|
return !0;
|
|
@@ -2460,7 +2460,7 @@ Hr.exports;
|
|
|
2460
2460
|
}), e.sort();
|
|
2461
2461
|
}
|
|
2462
2462
|
function _a(e) {
|
|
2463
|
-
if (e instanceof
|
|
2463
|
+
if (e instanceof le)
|
|
2464
2464
|
return e.clone();
|
|
2465
2465
|
var n = new cn(e.__wrapped__, e.__chain__);
|
|
2466
2466
|
return n.__actions__ = ke(e.__actions__), n.__index__ = e.__index__, n.__values__ = e.__values__, n;
|
|
@@ -2749,7 +2749,7 @@ Hr.exports;
|
|
|
2749
2749
|
var n = e.length, t = n ? e[0] : 0, r = this.__wrapped__, u = function(a) {
|
|
2750
2750
|
return Au(a, e);
|
|
2751
2751
|
};
|
|
2752
|
-
return n > 1 || this.__actions__.length || !(r instanceof
|
|
2752
|
+
return n > 1 || this.__actions__.length || !(r instanceof le) || !Pn(t) ? this.thru(u) : (r = r.slice(t, +t + (n ? 1 : 0)), r.__actions__.push({
|
|
2753
2753
|
func: $r,
|
|
2754
2754
|
args: [u],
|
|
2755
2755
|
thisArg: l
|
|
@@ -2782,9 +2782,9 @@ Hr.exports;
|
|
|
2782
2782
|
}
|
|
2783
2783
|
function F_() {
|
|
2784
2784
|
var e = this.__wrapped__;
|
|
2785
|
-
if (e instanceof
|
|
2785
|
+
if (e instanceof le) {
|
|
2786
2786
|
var n = e;
|
|
2787
|
-
return this.__actions__.length && (n = new
|
|
2787
|
+
return this.__actions__.length && (n = new le(this)), n = n.reverse(), n.__actions__.push({
|
|
2788
2788
|
func: $r,
|
|
2789
2789
|
args: [Ju],
|
|
2790
2790
|
thisArg: l
|
|
@@ -3043,7 +3043,7 @@ Hr.exports;
|
|
|
3043
3043
|
return $n(e, Q, l, n, t);
|
|
3044
3044
|
}), Ia = j(function(e, n) {
|
|
3045
3045
|
var t = Yn(n, St(Ia));
|
|
3046
|
-
return $n(e,
|
|
3046
|
+
return $n(e, ie, l, n, t);
|
|
3047
3047
|
}), hd = Fn(function(e, n) {
|
|
3048
3048
|
return $n(e, Te, l, l, l, n);
|
|
3049
3049
|
});
|
|
@@ -3801,19 +3801,19 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
3801
3801
|
}(), { chain: !1 }), i.VERSION = I, sn(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(e) {
|
|
3802
3802
|
i[e].placeholder = i;
|
|
3803
3803
|
}), sn(["drop", "take"], function(e, n) {
|
|
3804
|
-
|
|
3804
|
+
le.prototype[e] = function(t) {
|
|
3805
3805
|
t = t === l ? 1 : Me(Z(t), 0);
|
|
3806
|
-
var r = this.__filtered__ && !n ? new
|
|
3806
|
+
var r = this.__filtered__ && !n ? new le(this) : this.clone();
|
|
3807
3807
|
return r.__filtered__ ? r.__takeCount__ = Pe(t, r.__takeCount__) : r.__views__.push({
|
|
3808
3808
|
size: Pe(t, de),
|
|
3809
3809
|
type: e + (r.__dir__ < 0 ? "Right" : "")
|
|
3810
3810
|
}), r;
|
|
3811
|
-
},
|
|
3811
|
+
}, le.prototype[e + "Right"] = function(t) {
|
|
3812
3812
|
return this.reverse()[e](t).reverse();
|
|
3813
3813
|
};
|
|
3814
3814
|
}), sn(["filter", "map", "takeWhile"], function(e, n) {
|
|
3815
3815
|
var t = n + 1, r = t == Gn || t == zn;
|
|
3816
|
-
|
|
3816
|
+
le.prototype[e] = function(u) {
|
|
3817
3817
|
var a = this.clone();
|
|
3818
3818
|
return a.__iteratees__.push({
|
|
3819
3819
|
iteratee: $(u, 3),
|
|
@@ -3822,45 +3822,45 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
3822
3822
|
};
|
|
3823
3823
|
}), sn(["head", "last"], function(e, n) {
|
|
3824
3824
|
var t = "take" + (n ? "Right" : "");
|
|
3825
|
-
|
|
3825
|
+
le.prototype[e] = function() {
|
|
3826
3826
|
return this[t](1).value()[0];
|
|
3827
3827
|
};
|
|
3828
3828
|
}), sn(["initial", "tail"], function(e, n) {
|
|
3829
3829
|
var t = "drop" + (n ? "" : "Right");
|
|
3830
|
-
|
|
3831
|
-
return this.__filtered__ ? new
|
|
3830
|
+
le.prototype[e] = function() {
|
|
3831
|
+
return this.__filtered__ ? new le(this) : this[t](1);
|
|
3832
3832
|
};
|
|
3833
|
-
}),
|
|
3833
|
+
}), le.prototype.compact = function() {
|
|
3834
3834
|
return this.filter(qe);
|
|
3835
|
-
},
|
|
3835
|
+
}, le.prototype.find = function(e) {
|
|
3836
3836
|
return this.filter(e).head();
|
|
3837
|
-
},
|
|
3837
|
+
}, le.prototype.findLast = function(e) {
|
|
3838
3838
|
return this.reverse().find(e);
|
|
3839
|
-
},
|
|
3840
|
-
return typeof e == "function" ? new
|
|
3839
|
+
}, le.prototype.invokeMap = j(function(e, n) {
|
|
3840
|
+
return typeof e == "function" ? new le(this) : this.map(function(t) {
|
|
3841
3841
|
return Ht(t, e, n);
|
|
3842
3842
|
});
|
|
3843
|
-
}),
|
|
3843
|
+
}), le.prototype.reject = function(e) {
|
|
3844
3844
|
return this.filter(Vr($(e)));
|
|
3845
|
-
},
|
|
3845
|
+
}, le.prototype.slice = function(e, n) {
|
|
3846
3846
|
e = Z(e);
|
|
3847
3847
|
var t = this;
|
|
3848
|
-
return t.__filtered__ && (e > 0 || n < 0) ? new
|
|
3849
|
-
},
|
|
3848
|
+
return t.__filtered__ && (e > 0 || n < 0) ? new le(t) : (e < 0 ? t = t.takeRight(-e) : e && (t = t.drop(e)), n !== l && (n = Z(n), t = n < 0 ? t.dropRight(-n) : t.take(n - e)), t);
|
|
3849
|
+
}, le.prototype.takeRightWhile = function(e) {
|
|
3850
3850
|
return this.reverse().takeWhile(e).reverse();
|
|
3851
|
-
},
|
|
3851
|
+
}, le.prototype.toArray = function() {
|
|
3852
3852
|
return this.take(de);
|
|
3853
|
-
}, On(
|
|
3853
|
+
}, On(le.prototype, function(e, n) {
|
|
3854
3854
|
var t = /^(?:filter|find|map|reject)|While$/.test(n), r = /^(?:head|last)$/.test(n), u = i[r ? "take" + (n == "last" ? "Right" : "") : n], a = r || /^find/.test(n);
|
|
3855
3855
|
u && (i.prototype[n] = function() {
|
|
3856
|
-
var o = this.__wrapped__, s = r ? [1] : arguments, c = o instanceof
|
|
3856
|
+
var o = this.__wrapped__, s = r ? [1] : arguments, c = o instanceof le, p = s[0], v = c || Y(o), m = function(re) {
|
|
3857
3857
|
var ae = u.apply(i, kn([re], s));
|
|
3858
3858
|
return r && b ? ae[0] : ae;
|
|
3859
3859
|
};
|
|
3860
3860
|
v && t && typeof p == "function" && p.length != 1 && (c = v = !1);
|
|
3861
3861
|
var b = this.__chain__, M = !!this.__actions__.length, P = a && !b, X = c && !M;
|
|
3862
3862
|
if (!a && v) {
|
|
3863
|
-
o = X ? o : new
|
|
3863
|
+
o = X ? o : new le(this);
|
|
3864
3864
|
var U = e.apply(o, s);
|
|
3865
3865
|
return U.__actions__.push({ func: $r, args: [m], thisArg: l }), new cn(U, b);
|
|
3866
3866
|
}
|
|
@@ -3878,7 +3878,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
3878
3878
|
return n.apply(Y(o) ? o : [], u);
|
|
3879
3879
|
});
|
|
3880
3880
|
};
|
|
3881
|
-
}), On(
|
|
3881
|
+
}), On(le.prototype, function(e, n) {
|
|
3882
3882
|
var t = i[n];
|
|
3883
3883
|
if (t) {
|
|
3884
3884
|
var r = t.name + "";
|
|
@@ -3887,7 +3887,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
3887
3887
|
}), At[Or(l, V).name] = [{
|
|
3888
3888
|
name: "wrapper",
|
|
3889
3889
|
func: l
|
|
3890
|
-
}],
|
|
3890
|
+
}], le.prototype.clone = js, le.prototype.reverse = ef, le.prototype.value = nf, i.prototype.at = B_, i.prototype.chain = M_, i.prototype.commit = L_, i.prototype.next = D_, i.prototype.plant = $_, i.prototype.reverse = F_, i.prototype.toJSON = i.prototype.valueOf = i.prototype.value = P_, i.prototype.first = i.prototype.head, Ft && (i.prototype[Ft] = N_), i;
|
|
3891
3891
|
}, Et = Ms();
|
|
3892
3892
|
rt ? ((rt.exports = Et)._ = Et, au._ = Et) : Ne._ = Et;
|
|
3893
3893
|
}).call(Jt);
|
|
@@ -3978,25 +3978,25 @@ const t0 = { class: "bsgoal-base-form" }, r0 = { class: "base_form" }, u0 = { ke
|
|
|
3978
3978
|
const R = [];
|
|
3979
3979
|
for (const [te = "", Te = []] of Object.entries(B))
|
|
3980
3980
|
R.push(Te.includes(`${V[te]}`));
|
|
3981
|
-
const { configOptions: q } = I,
|
|
3982
|
-
R.every((te) => !!te) ?
|
|
3981
|
+
const { configOptions: q } = I, ie = C(q).find((te) => te.prop === ne);
|
|
3982
|
+
R.every((te) => !!te) ? ie.visible = !0 : ie.visible = !1;
|
|
3983
3983
|
});
|
|
3984
3984
|
};
|
|
3985
3985
|
Qt(() => {
|
|
3986
3986
|
const { configOptions: B, values: V } = I, ne = C(B), R = C(V);
|
|
3987
3987
|
ne.forEach((q) => {
|
|
3988
|
-
const { value: Q = "", prop:
|
|
3988
|
+
const { value: Q = "", prop: ie = "", type: te = "", show: Te = null } = q;
|
|
3989
3989
|
[E.INPUT, E.INPUT_TEXT_AREA].includes(te);
|
|
3990
|
-
const me = C(h)[
|
|
3991
|
-
h.value[
|
|
3990
|
+
const me = C(h)[ie];
|
|
3991
|
+
ie.startsWith("_") || (h.value[ie] = me || R[ie] || Q, jg(Te) && L(Te, C(h), ie));
|
|
3992
3992
|
});
|
|
3993
3993
|
});
|
|
3994
3994
|
const D = vn(() => {
|
|
3995
3995
|
const { configOptions: B } = I;
|
|
3996
3996
|
return C(B).map((R) => {
|
|
3997
3997
|
let { rules: q = [], label: Q = "" } = R;
|
|
3998
|
-
const
|
|
3999
|
-
return n0.isBoolean(q) && q ? q = [
|
|
3998
|
+
const ie = { required: !0, message: `${Q}不能为空`, trigger: "blur" };
|
|
3999
|
+
return n0.isBoolean(q) && q ? q = [ie] : Array.isArray(q) && q.length ? q = [ie, ...q] : q = [], R.rules = q, R;
|
|
4000
4000
|
});
|
|
4001
4001
|
}), K = (B = "", V = "", ne = "") => {
|
|
4002
4002
|
if (!ne)
|
|
@@ -4046,9 +4046,9 @@ const t0 = { class: "bsgoal-base-form" }, r0 = { class: "base_form" }, u0 = { ke
|
|
|
4046
4046
|
}, ue = () => {
|
|
4047
4047
|
const B = C(h), { configOptions: V } = I, ne = C(V);
|
|
4048
4048
|
for (const R of ne) {
|
|
4049
|
-
const { type: q = "", range: Q = [], prop:
|
|
4049
|
+
const { type: q = "", range: Q = [], prop: ie = "" } = R;
|
|
4050
4050
|
if (q.endsWith("range") && Q && Q.length === 2) {
|
|
4051
|
-
const { 0: te = "", 1: Te = "" } = B[
|
|
4051
|
+
const { 0: te = "", 1: Te = "" } = B[ie], { 0: me = "", 1: Fe = "" } = Q;
|
|
4052
4052
|
B[me] = te, B[Fe] = Te;
|
|
4053
4053
|
}
|
|
4054
4054
|
}
|
|
@@ -4079,12 +4079,12 @@ const t0 = { class: "bsgoal-base-form" }, r0 = { class: "base_form" }, u0 = { ke
|
|
|
4079
4079
|
}
|
|
4080
4080
|
});
|
|
4081
4081
|
}, oe = (B = [], V = "") => {
|
|
4082
|
-
const { 0: ne = {}, 1: R = {} } = B, { value: q = !1, label: Q = "" } = ne, { value:
|
|
4082
|
+
const { 0: ne = {}, 1: R = {} } = B, { value: q = !1, label: Q = "" } = ne, { value: ie = !1, label: te = "" } = R;
|
|
4083
4083
|
switch (V) {
|
|
4084
4084
|
case "active-value":
|
|
4085
4085
|
return q;
|
|
4086
4086
|
case "inactive-value":
|
|
4087
|
-
return
|
|
4087
|
+
return ie;
|
|
4088
4088
|
case "active-text":
|
|
4089
4089
|
return Q;
|
|
4090
4090
|
case "inactive-text":
|
|
@@ -4096,7 +4096,7 @@ const t0 = { class: "bsgoal-base-form" }, r0 = { class: "base_form" }, u0 = { ke
|
|
|
4096
4096
|
triggerOperationForm: ue,
|
|
4097
4097
|
validateForm: ce
|
|
4098
4098
|
}), (B, V) => {
|
|
4099
|
-
const ne = F("el-input"), R = F("el-input-number"), q = F("el-radio"), Q = F("el-radio-group"),
|
|
4099
|
+
const ne = F("el-input"), R = F("el-input-number"), q = F("el-radio"), Q = F("el-radio-group"), ie = F("el-option"), te = F("el-select"), Te = F("el-slider"), me = F("el-switch"), Fe = F("el-date-picker"), xn = F("el-time-picker"), Sn = F("el-checkbox"), Mn = F("el-checkbox-group"), Gn = F("el-form-item"), et = F("el-col"), zn = F("el-row"), En = F("el-form");
|
|
4100
4100
|
return w(), G("div", t0, [
|
|
4101
4101
|
Ee("div", r0, [
|
|
4102
4102
|
mn((w(), k(En, {
|
|
@@ -4209,7 +4209,7 @@ const t0 = { class: "bsgoal-base-form" }, r0 = { class: "base_form" }, u0 = { ke
|
|
|
4209
4209
|
onChange: (N) => ee(x, y)
|
|
4210
4210
|
}, {
|
|
4211
4211
|
default: J(() => [
|
|
4212
|
-
(w(!0), G(He, null, pn(Re, (N, Ve) => (w(), k(
|
|
4212
|
+
(w(!0), G(He, null, pn(Re, (N, Ve) => (w(), k(ie, {
|
|
4213
4213
|
key: Ve,
|
|
4214
4214
|
label: N.label,
|
|
4215
4215
|
value: N.value
|
|
@@ -4235,9 +4235,12 @@ const t0 = { class: "bsgoal-base-form" }, r0 = { class: "base_form" }, u0 = { ke
|
|
|
4235
4235
|
"inactive-text": oe(Re, "inactive-text"),
|
|
4236
4236
|
onChange: (N) => ee(x, y)
|
|
4237
4237
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "active-text", "inactive-text", "onChange"])) : se("", !0),
|
|
4238
|
-
[
|
|
4239
|
-
|
|
4240
|
-
|
|
4238
|
+
[
|
|
4239
|
+
C(E).DATE,
|
|
4240
|
+
C(E).MONTH,
|
|
4241
|
+
C(E).YEAR,
|
|
4242
|
+
C(E).DATE_TIME
|
|
4243
|
+
].includes(x) ? (w(), k(Fe, {
|
|
4241
4244
|
key: 7,
|
|
4242
4245
|
modelValue: h.value[y],
|
|
4243
4246
|
"onUpdate:modelValue": (N) => h.value[y] = N,
|
|
@@ -4729,13 +4732,13 @@ const T0 = { class: "bsgoal-base-table" }, C0 = { class: "base_table" }, S0 = {
|
|
|
4729
4732
|
},
|
|
4730
4733
|
setup(_, { expose: A }) {
|
|
4731
4734
|
const l = _, I = vn(() => {
|
|
4732
|
-
const { configOptions: R = [], operation: q = !1, operationWidth: Q = 0 } = l,
|
|
4735
|
+
const { configOptions: R = [], operation: q = !1, operationWidth: Q = 0 } = l, ie = C(R), te = [];
|
|
4733
4736
|
return q && te.push({
|
|
4734
4737
|
label: "操作",
|
|
4735
4738
|
fixed: "right",
|
|
4736
4739
|
prop: "operation",
|
|
4737
4740
|
width: Q
|
|
4738
|
-
}), [...
|
|
4741
|
+
}), [...ie, ...te];
|
|
4739
4742
|
}), T = pe(null), S = Xa("transferFoldStatus");
|
|
4740
4743
|
Qt(() => {
|
|
4741
4744
|
const { height: R } = l, q = S ? S.value : !1, Q = C(l.expression);
|
|
@@ -4747,7 +4750,7 @@ const T0 = { class: "bsgoal-base-table" }, C0 = { class: "base_table" }, S0 = {
|
|
|
4747
4750
|
rows: "rows",
|
|
4748
4751
|
total: "total"
|
|
4749
4752
|
}, h), D = pe(1), K = pe(10), z = pe(0), ue = pe({}), be = pe(l.loading), ee = pe(), ce = pe({}), oe = () => {
|
|
4750
|
-
const { fetch: R, call: q, hasPage: Q } = l,
|
|
4753
|
+
const { fetch: R, call: q, hasPage: Q } = l, ie = ue.value, te = D.value, Te = K.value, me = _i({}, ie);
|
|
4751
4754
|
Q && (me[L.currentPage] = te, me[L.pageSize] = Te), gi(R(me), q, be, ce);
|
|
4752
4755
|
};
|
|
4753
4756
|
Qt(() => {
|
|
@@ -4767,7 +4770,7 @@ const T0 = { class: "bsgoal-base-table" }, C0 = { class: "base_table" }, S0 = {
|
|
|
4767
4770
|
}), A({
|
|
4768
4771
|
refreshList: B
|
|
4769
4772
|
}), (R, q) => {
|
|
4770
|
-
const Q = F("el-table-column"),
|
|
4773
|
+
const Q = F("el-table-column"), ie = F("el-table"), te = Hg("loading");
|
|
4771
4774
|
return w(), G("div", T0, [
|
|
4772
4775
|
Ee("div", C0, [
|
|
4773
4776
|
R.$slots.menu ? (w(), G("div", S0, [
|
|
@@ -4777,7 +4780,7 @@ const T0 = { class: "bsgoal-base-table" }, C0 = { class: "base_table" }, S0 = {
|
|
|
4777
4780
|
ref_key: "EL_TABLE_WRAP_REF",
|
|
4778
4781
|
ref: T
|
|
4779
4782
|
}, [
|
|
4780
|
-
mn((w(), k(
|
|
4783
|
+
mn((w(), k(ie, {
|
|
4781
4784
|
stripe: "",
|
|
4782
4785
|
border: "",
|
|
4783
4786
|
"highlight-current-row": "",
|
|
@@ -5239,14 +5242,14 @@ const Ap = { class: "bsgoal-base-search" }, bp = { class: "base_search" }, Tp =
|
|
|
5239
5242
|
}, z = () => {
|
|
5240
5243
|
const { configOptions: B } = I, V = C(h), ne = C(B), R = {};
|
|
5241
5244
|
for (const q of ne) {
|
|
5242
|
-
const { type: Q = "", range:
|
|
5245
|
+
const { type: Q = "", range: ie = [], prop: te = "", single: Te = !1 } = q, me = V[te];
|
|
5243
5246
|
if ([E.CASCADER].includes(Q) && Array.isArray(me) && Te) {
|
|
5244
5247
|
const Fe = me.length;
|
|
5245
5248
|
Fe ? R[te] = me[Fe - 1] : R[te] = me;
|
|
5246
5249
|
} else
|
|
5247
5250
|
kg(me) ? R[te] = Yg(me) : R[te] = me;
|
|
5248
|
-
if (Q.endsWith("range") &&
|
|
5249
|
-
const { 0: Fe = "", 1: xn = "" } = me, { 0: Sn = "", 1: Mn = "" } =
|
|
5251
|
+
if (Q.endsWith("range") && ie && ie.length === 2) {
|
|
5252
|
+
const { 0: Fe = "", 1: xn = "" } = me, { 0: Sn = "", 1: Mn = "" } = ie;
|
|
5250
5253
|
R[Sn] = Fe, R[Mn] = xn;
|
|
5251
5254
|
}
|
|
5252
5255
|
}
|
|
@@ -5271,7 +5274,7 @@ const Ap = { class: "bsgoal-base-search" }, bp = { class: "base_search" }, Tp =
|
|
|
5271
5274
|
return A({
|
|
5272
5275
|
triggerOperationSearch: z
|
|
5273
5276
|
}), (B, V) => {
|
|
5274
|
-
const ne = F("el-input"), R = F("el-input-number"), q = F("el-radio"), Q = F("el-radio-group"),
|
|
5277
|
+
const ne = F("el-input"), R = F("el-input-number"), q = F("el-radio"), Q = F("el-radio-group"), ie = F("el-option"), te = F("el-select"), Te = F("el-slider"), me = F("el-switch"), Fe = F("el-date-picker"), xn = F("el-time-picker"), Sn = F("el-checkbox"), Mn = F("el-checkbox-group"), Gn = F("el-form-item"), et = F("el-col"), zn = F("el-row"), En = F("el-form");
|
|
5275
5278
|
return w(), G("div", Ap, [
|
|
5276
5279
|
Ee("div", bp, [
|
|
5277
5280
|
mn((w(), k(En, {
|
|
@@ -5361,7 +5364,7 @@ const Ap = { class: "bsgoal-base-search" }, bp = { class: "base_search" }, Tp =
|
|
|
5361
5364
|
onChange: (W) => oe(x, y)
|
|
5362
5365
|
}, {
|
|
5363
5366
|
default: J(() => [
|
|
5364
|
-
(w(!0), G(He, null, pn(Re, (W, an) => (w(), k(
|
|
5367
|
+
(w(!0), G(He, null, pn(Re, (W, an) => (w(), k(ie, {
|
|
5365
5368
|
key: an,
|
|
5366
5369
|
label: W.label,
|
|
5367
5370
|
value: W.value
|