@ws-ui/store 0.2.25 → 0.2.26
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.cjs.js +14 -14
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +86 -90
- package/dist/index.es.js.map +1 -1
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -2101,7 +2101,7 @@ Ts.exports;
|
|
|
2101
2101
|
["partial", x],
|
|
2102
2102
|
["partialRight", Y],
|
|
2103
2103
|
["rearg", q]
|
|
2104
|
-
], de = "[object Arguments]", ae = "[object Array]", fe = "[object AsyncFunction]", ce = "[object Boolean]", ge = "[object Date]", ve = "[object DOMException]", J = "[object Error]", M = "[object Function]", ze = "[object GeneratorFunction]", qe = "[object Map]", bt = "[object Number]", ro = "[object Null]", Jt = "[object Object]", hr = "[object Promise]", Zs = "[object Proxy]", un = "[object RegExp]", Rt = "[object Set]", gr = "[object String]", vr = "[object Symbol]", ao = "[object Undefined]", Dn = "[object WeakMap]", Qs = "[object WeakSet]", mr = "[object ArrayBuffer]", Yn = "[object DataView]", la = "[object Float32Array]", da = "[object Float64Array]", pa = "[object Int8Array]", ha = "[object Int16Array]", yr = "[object Int32Array]", Lr = "[object Uint8Array]", _n = "[object Uint8ClampedArray]", _r = "[object Uint16Array]", br = "[object Uint32Array]", oo = /\b__p \+= '';/g, ei = /\b(__p \+=) '' \+/g, so = /(__e\(.*?\)|\b__t\)) \+\n'';/g, io = /&(?:amp|lt|gt|quot|#39);/g, ga = /[&<>"']/g, uo = RegExp(io.source), ti = RegExp(ga.source), ni = /<%-([\s\S]+?)%>/g, co = /<%([\s\S]+?)%>/g, fo = /<%=([\s\S]+?)%>/g, ri = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, ai = /^\w*$/, oi = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, T = /[\\^$.*+?()[\]{}|]/g, G = RegExp(T.source), X = /^\s+/, ue = /\s/, ke = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, je = /\{\n\/\* \[wrapped with (.+)\] \*/,
|
|
2104
|
+
], de = "[object Arguments]", ae = "[object Array]", fe = "[object AsyncFunction]", ce = "[object Boolean]", ge = "[object Date]", ve = "[object DOMException]", J = "[object Error]", M = "[object Function]", ze = "[object GeneratorFunction]", qe = "[object Map]", bt = "[object Number]", ro = "[object Null]", Jt = "[object Object]", hr = "[object Promise]", Zs = "[object Proxy]", un = "[object RegExp]", Rt = "[object Set]", gr = "[object String]", vr = "[object Symbol]", ao = "[object Undefined]", Dn = "[object WeakMap]", Qs = "[object WeakSet]", mr = "[object ArrayBuffer]", Yn = "[object DataView]", la = "[object Float32Array]", da = "[object Float64Array]", pa = "[object Int8Array]", ha = "[object Int16Array]", yr = "[object Int32Array]", Lr = "[object Uint8Array]", _n = "[object Uint8ClampedArray]", _r = "[object Uint16Array]", br = "[object Uint32Array]", oo = /\b__p \+= '';/g, ei = /\b(__p \+=) '' \+/g, so = /(__e\(.*?\)|\b__t\)) \+\n'';/g, io = /&(?:amp|lt|gt|quot|#39);/g, ga = /[&<>"']/g, uo = RegExp(io.source), ti = RegExp(ga.source), ni = /<%-([\s\S]+?)%>/g, co = /<%([\s\S]+?)%>/g, fo = /<%=([\s\S]+?)%>/g, ri = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, ai = /^\w*$/, oi = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, T = /[\\^$.*+?()[\]{}|]/g, G = RegExp(T.source), X = /^\s+/, ue = /\s/, ke = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, je = /\{\n\/\* \[wrapped with (.+)\] \*/, Re = /,? & /, Te = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, gt = /[()=,{}\[\]\/\s]/, Xe = /\\(\\)?/g, nt = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Xt = /\w*$/, zn = /^[-+]0x[0-9a-f]+$/i, lo = /^0b[01]+$/i, cn = /^\[object .+?Constructor\]$/, iv = /^0o[0-7]+$/i, uv = /^(?:0|[1-9]\d*)$/, cv = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, po = /($^)/, fv = /['\n\r\u2028\u2029\\]/g, ho = "\\ud800-\\udfff", lv = "\\u0300-\\u036f", dv = "\\ufe20-\\ufe2f", pv = "\\u20d0-\\u20ff", pf = lv + dv + pv, hf = "\\u2700-\\u27bf", gf = "a-z\\xdf-\\xf6\\xf8-\\xff", hv = "\\xac\\xb1\\xd7\\xf7", gv = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", vv = "\\u2000-\\u206f", mv = " \\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", vf = "A-Z\\xc0-\\xd6\\xd8-\\xde", mf = "\\ufe0e\\ufe0f", yf = hv + gv + vv + mv, si = "['’]", yv = "[" + ho + "]", _f = "[" + yf + "]", go = "[" + pf + "]", bf = "\\d+", _v = "[" + hf + "]", Ef = "[" + gf + "]", Sf = "[^" + ho + yf + bf + hf + gf + vf + "]", ii = "\\ud83c[\\udffb-\\udfff]", bv = "(?:" + go + "|" + ii + ")", wf = "[^" + ho + "]", ui = "(?:\\ud83c[\\udde6-\\uddff]){2}", ci = "[\\ud800-\\udbff][\\udc00-\\udfff]", Nr = "[" + vf + "]", Tf = "\\u200d", Cf = "(?:" + Ef + "|" + Sf + ")", Ev = "(?:" + Nr + "|" + Sf + ")", xf = "(?:" + si + "(?:d|ll|m|re|s|t|ve))?", Of = "(?:" + si + "(?:D|LL|M|RE|S|T|VE))?", Rf = bv + "?", Af = "[" + mf + "]?", Sv = "(?:" + Tf + "(?:" + [wf, ui, ci].join("|") + ")" + Af + Rf + ")*", wv = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Tv = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Df = Af + Rf + Sv, Cv = "(?:" + [_v, ui, ci].join("|") + ")" + Df, xv = "(?:" + [wf + go + "?", go, ui, ci, yv].join("|") + ")", Ov = RegExp(si, "g"), Rv = RegExp(go, "g"), fi = RegExp(ii + "(?=" + ii + ")|" + xv + Df, "g"), Av = RegExp([
|
|
2105
2105
|
Nr + "?" + Ef + "+" + xf + "(?=" + [_f, Nr, "$"].join("|") + ")",
|
|
2106
2106
|
Ev + "+" + Of + "(?=" + [_f, Nr + Cf, "$"].join("|") + ")",
|
|
2107
2107
|
Nr + "?" + Cf + "+" + xf,
|
|
@@ -2743,7 +2743,7 @@ Ts.exports;
|
|
|
2743
2743
|
for (; R-- && V < ee; ) {
|
|
2744
2744
|
F += o;
|
|
2745
2745
|
for (var be = -1, se = r[F]; ++be < W; ) {
|
|
2746
|
-
var Ce = k[be],
|
|
2746
|
+
var Ce = k[be], Ae = Ce.iteratee, Gt = Ce.type, Pt = Ae(se);
|
|
2747
2747
|
if (Gt == ut)
|
|
2748
2748
|
se = Pt;
|
|
2749
2749
|
else if (!Pt) {
|
|
@@ -3748,19 +3748,19 @@ Ts.exports;
|
|
|
3748
3748
|
function Bo(r, o, u, l, g, y, E, C, R, F) {
|
|
3749
3749
|
var k = o & U, W = o & D, V = o & A, ee = o & ($ | L), oe = o & te, be = V ? t : Oa(r);
|
|
3750
3750
|
function se() {
|
|
3751
|
-
for (var Ce = arguments.length,
|
|
3752
|
-
|
|
3751
|
+
for (var Ce = arguments.length, Ae = I(Ce), Gt = Ce; Gt--; )
|
|
3752
|
+
Ae[Gt] = arguments[Gt];
|
|
3753
3753
|
if (ee)
|
|
3754
|
-
var Pt = zr(se), qt = Jv(
|
|
3755
|
-
if (l && (
|
|
3756
|
-
var st = Jn(
|
|
3754
|
+
var Pt = zr(se), qt = Jv(Ae, Pt);
|
|
3755
|
+
if (l && (Ae = Il(Ae, l, g, ee)), y && (Ae = $l(Ae, y, E, ee)), Ce -= qt, ee && Ce < F) {
|
|
3756
|
+
var st = Jn(Ae, Pt);
|
|
3757
3757
|
return Wl(
|
|
3758
3758
|
r,
|
|
3759
3759
|
o,
|
|
3760
3760
|
Bo,
|
|
3761
3761
|
se.placeholder,
|
|
3762
3762
|
u,
|
|
3763
|
-
|
|
3763
|
+
Ae,
|
|
3764
3764
|
st,
|
|
3765
3765
|
C,
|
|
3766
3766
|
R,
|
|
@@ -3768,7 +3768,7 @@ Ts.exports;
|
|
|
3768
3768
|
);
|
|
3769
3769
|
}
|
|
3770
3770
|
var pn = W ? u : this, jn = V ? pn[r] : r;
|
|
3771
|
-
return Ce =
|
|
3771
|
+
return Ce = Ae.length, C ? Ae = a0(Ae, C) : oe && Ce > 1 && Ae.reverse(), k && R < Ce && (Ae.length = R), this && this !== vt && this instanceof se && (jn = be || Oa(jn)), jn.apply(pn, Ae);
|
|
3772
3772
|
}
|
|
3773
3773
|
return se;
|
|
3774
3774
|
}
|
|
@@ -3921,9 +3921,9 @@ Ts.exports;
|
|
|
3921
3921
|
break;
|
|
3922
3922
|
}
|
|
3923
3923
|
if (ee) {
|
|
3924
|
-
if (!gi(o, function(Ce,
|
|
3925
|
-
if (!va(ee,
|
|
3926
|
-
return ee.push(
|
|
3924
|
+
if (!gi(o, function(Ce, Ae) {
|
|
3925
|
+
if (!va(ee, Ae) && (oe === Ce || g(oe, Ce, u, l, y)))
|
|
3926
|
+
return ee.push(Ae);
|
|
3927
3927
|
})) {
|
|
3928
3928
|
V = !1;
|
|
3929
3929
|
break;
|
|
@@ -3986,10 +3986,10 @@ Ts.exports;
|
|
|
3986
3986
|
y.set(r, o), y.set(o, r);
|
|
3987
3987
|
for (var se = E; ++W < R; ) {
|
|
3988
3988
|
V = C[W];
|
|
3989
|
-
var Ce = r[V],
|
|
3989
|
+
var Ce = r[V], Ae = o[V];
|
|
3990
3990
|
if (l)
|
|
3991
|
-
var Gt = E ? l(
|
|
3992
|
-
if (!(Gt === t ? Ce ===
|
|
3991
|
+
var Gt = E ? l(Ae, Ce, V, o, r, y) : l(Ce, Ae, V, r, o, y);
|
|
3992
|
+
if (!(Gt === t ? Ce === Ae || g(Ce, Ae, u, l, y) : Gt)) {
|
|
3993
3993
|
be = !1;
|
|
3994
3994
|
break;
|
|
3995
3995
|
}
|
|
@@ -4102,7 +4102,7 @@ Ts.exports;
|
|
|
4102
4102
|
}
|
|
4103
4103
|
function Yy(r) {
|
|
4104
4104
|
var o = r.match(je);
|
|
4105
|
-
return o ? o[1].split(
|
|
4105
|
+
return o ? o[1].split(Re) : [];
|
|
4106
4106
|
}
|
|
4107
4107
|
function zl(r, o, u) {
|
|
4108
4108
|
o = er(o, r);
|
|
@@ -4826,17 +4826,17 @@ Ts.exports;
|
|
|
4826
4826
|
function Ce() {
|
|
4827
4827
|
var st = Ko();
|
|
4828
4828
|
if (se(st))
|
|
4829
|
-
return
|
|
4829
|
+
return Ae(st);
|
|
4830
4830
|
C = Aa(Ce, be(st));
|
|
4831
4831
|
}
|
|
4832
|
-
function
|
|
4832
|
+
function Ae(st) {
|
|
4833
4833
|
return C = t, V && l ? ee(st) : (l = g = t, E);
|
|
4834
4834
|
}
|
|
4835
4835
|
function Gt() {
|
|
4836
4836
|
C !== t && Rl(C), F = 0, l = R = g = C = t;
|
|
4837
4837
|
}
|
|
4838
4838
|
function Pt() {
|
|
4839
|
-
return C === t ? E :
|
|
4839
|
+
return C === t ? E : Ae(Ko());
|
|
4840
4840
|
}
|
|
4841
4841
|
function qt() {
|
|
4842
4842
|
var st = Ko(), pn = se(st);
|
|
@@ -5392,13 +5392,13 @@ Ts.exports;
|
|
|
5392
5392
|
"g"
|
|
5393
5393
|
), ee = "//# sourceURL=" + (Be.call(o, "sourceURL") ? (o.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++$v + "]") + `
|
|
5394
5394
|
`;
|
|
5395
|
-
r.replace(V, function(se, Ce,
|
|
5396
|
-
return
|
|
5395
|
+
r.replace(V, function(se, Ce, Ae, Gt, Pt, qt) {
|
|
5396
|
+
return Ae || (Ae = Gt), W += r.slice(F, qt).replace(fv, Qv), Ce && (C = !0, W += `' +
|
|
5397
5397
|
__e(` + Ce + `) +
|
|
5398
5398
|
'`), Pt && (R = !0, W += `';
|
|
5399
5399
|
` + Pt + `;
|
|
5400
|
-
__p += '`),
|
|
5401
|
-
((__t = (` +
|
|
5400
|
+
__p += '`), Ae && (W += `' +
|
|
5401
|
+
((__t = (` + Ae + `)) == null ? '' : __t) +
|
|
5402
5402
|
'`), F = qt + se.length, se;
|
|
5403
5403
|
}), W += `';
|
|
5404
5404
|
`;
|
|
@@ -5716,8 +5716,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
5716
5716
|
var u = /^(?:filter|find|map|reject)|While$/.test(o), l = /^(?:head|last)$/.test(o), g = m[l ? "take" + (o == "last" ? "Right" : "") : o], y = l || /^find/.test(o);
|
|
5717
5717
|
g && (m.prototype[o] = function() {
|
|
5718
5718
|
var E = this.__wrapped__, C = l ? [1] : arguments, R = E instanceof xe, F = C[0], k = R || me(E), W = function(Ce) {
|
|
5719
|
-
var
|
|
5720
|
-
return l && V ?
|
|
5719
|
+
var Ae = g.apply(m, Kn([Ce], C));
|
|
5720
|
+
return l && V ? Ae[0] : Ae;
|
|
5721
5721
|
};
|
|
5722
5722
|
k && u && typeof F == "function" && F.length != 1 && (R = k = !1);
|
|
5723
5723
|
var V = this.__chain__, ee = !!this.__actions__.length, oe = y && !V, be = R && !ee;
|
|
@@ -5754,8 +5754,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
5754
5754
|
Er ? ((Er.exports = Br)._ = Br, li._ = Br) : vt._ = Br;
|
|
5755
5755
|
}).call(Bn);
|
|
5756
5756
|
})(Ts, Ts.exports);
|
|
5757
|
-
var
|
|
5758
|
-
const V1 = /* @__PURE__ */ ks(
|
|
5757
|
+
var Oe = Ts.exports;
|
|
5758
|
+
const V1 = /* @__PURE__ */ ks(Oe), Vc = 2e3, Lh = {
|
|
5759
5759
|
tabs: [],
|
|
5760
5760
|
activeTab: "",
|
|
5761
5761
|
recent: [],
|
|
@@ -5934,7 +5934,7 @@ function Q1(e, n) {
|
|
|
5934
5934
|
}
|
|
5935
5935
|
};
|
|
5936
5936
|
}
|
|
5937
|
-
const KD = (e, n) =>
|
|
5937
|
+
const KD = (e, n) => Oe.isEqual(e, n);
|
|
5938
5938
|
function eT() {
|
|
5939
5939
|
this.__data__ = [], this.size = 0;
|
|
5940
5940
|
}
|
|
@@ -8861,7 +8861,7 @@ const XD = () => bR(), qn = TR, ef = B(
|
|
|
8861
8861
|
RR(e),
|
|
8862
8862
|
AR,
|
|
8863
8863
|
(s, i) => {
|
|
8864
|
-
const c =
|
|
8864
|
+
const c = Oe.flatten(Oe.values(i)), f = [
|
|
8865
8865
|
...n !== "private" ? s : [],
|
|
8866
8866
|
...n !== "shared" ? c : []
|
|
8867
8867
|
];
|
|
@@ -9017,7 +9017,7 @@ const XD = () => bR(), qn = TR, ef = B(
|
|
|
9017
9017
|
), dr = (e) => B(
|
|
9018
9018
|
lr,
|
|
9019
9019
|
(n) => n.tabs.find(({ path: t }) => t === e)
|
|
9020
|
-
), IR = (e, n = "") => B(dr(e), (t) => !t || !t.content || typeof t.content == "string" ? t == null ? void 0 : t.content :
|
|
9020
|
+
), IR = (e, n = "") => B(dr(e), (t) => !t || !t.content || typeof t.content == "string" ? t == null ? void 0 : t.content : Oe.get(t.content, n)), IP = (e) => B(dr(e), (n) => n == null ? void 0 : n.extra), $P = (e, n = (t) => t) => B(
|
|
9021
9021
|
IR(e, "components"),
|
|
9022
9022
|
(t) => n(t || {})
|
|
9023
9023
|
), Sg = B(
|
|
@@ -9091,7 +9091,7 @@ const XD = () => bR(), qn = TR, ef = B(
|
|
|
9091
9091
|
(e) => e.session
|
|
9092
9092
|
), KP = (...e) => B(
|
|
9093
9093
|
to,
|
|
9094
|
-
(n) => e.length > 0 ?
|
|
9094
|
+
(n) => e.length > 0 ? Oe.pick(n, e) : n
|
|
9095
9095
|
), JP = (e) => B(to, (n) => n[e]), XP = (e) => B(to, (n) => ["states"].includes(e) ? !0 : !!n[`features.experimental.${e}`]), NR = B(
|
|
9096
9096
|
(e) => e.settings,
|
|
9097
9097
|
(e) => e.project
|
|
@@ -9251,7 +9251,7 @@ const XD = () => bR(), qn = TR, ef = B(
|
|
|
9251
9251
|
);
|
|
9252
9252
|
return ((a = t == null ? void 0 : t.content) == null ? void 0 : a.metadata) || {};
|
|
9253
9253
|
}
|
|
9254
|
-
), Va = { label: "Base", id: "root" }, BR = (e) => !e.find((n) =>
|
|
9254
|
+
), Va = { label: "Base", id: "root" }, BR = (e) => !e.find((n) => Oe.isEqual(n, Va)), WR = (e, n = []) => B(dr(e), (t) => {
|
|
9255
9255
|
var i, c;
|
|
9256
9256
|
let s = ((c = (i = t == null ? void 0 : t.content) == null ? void 0 : i.metadata) == null ? void 0 : c.states) || [
|
|
9257
9257
|
Va
|
|
@@ -9807,7 +9807,7 @@ function pr(e, n) {
|
|
|
9807
9807
|
}
|
|
9808
9808
|
function EA({ applyTo: e, type: n, ...t }) {
|
|
9809
9809
|
return Object.entries(t).reduce((a, [s, i]) => {
|
|
9810
|
-
const c =
|
|
9810
|
+
const c = Oe.find(rf, ["key", s]);
|
|
9811
9811
|
return !c || !c.canApplyTo.includes(n) || (typeof i == "string" ? i.split(",") : i).forEach((d) => {
|
|
9812
9812
|
a[d] = mn(a[d] || [], s);
|
|
9813
9813
|
}), a;
|
|
@@ -9849,7 +9849,7 @@ function SA(e, n) {
|
|
|
9849
9849
|
if (!d)
|
|
9850
9850
|
return;
|
|
9851
9851
|
a[d] = a[d] || { ...n[d] };
|
|
9852
|
-
let p =
|
|
9852
|
+
let p = Oe.find(a[d].resources, {
|
|
9853
9853
|
resource: s.applyTo,
|
|
9854
9854
|
type: s.type
|
|
9855
9855
|
});
|
|
@@ -9907,7 +9907,7 @@ function sf(e) {
|
|
|
9907
9907
|
permissions: {
|
|
9908
9908
|
allowed: Object.values(e.privileges).reduce(
|
|
9909
9909
|
(a, s) => (s.resources.forEach(({ permissions: i, resource: c, type: f }) => {
|
|
9910
|
-
let d =
|
|
9910
|
+
let d = Oe.find(a, {
|
|
9911
9911
|
applyTo: c,
|
|
9912
9912
|
type: f
|
|
9913
9913
|
});
|
|
@@ -9982,7 +9982,7 @@ function DI(e, n) {
|
|
|
9982
9982
|
}
|
|
9983
9983
|
function PI(e, n, t) {
|
|
9984
9984
|
const a = pr(e, t);
|
|
9985
|
-
if (!a ||
|
|
9985
|
+
if (!a || Oe.find(a.resources, {
|
|
9986
9986
|
resource: n.applyTo,
|
|
9987
9987
|
type: n.type
|
|
9988
9988
|
}))
|
|
@@ -10031,7 +10031,7 @@ function TA(e, n, t, a, s) {
|
|
|
10031
10031
|
const i = pr(e, s);
|
|
10032
10032
|
if (!i)
|
|
10033
10033
|
return s;
|
|
10034
|
-
const f =
|
|
10034
|
+
const f = Oe.find(i.resources, {
|
|
10035
10035
|
type: t,
|
|
10036
10036
|
resource: n
|
|
10037
10037
|
}) ? {
|
|
@@ -10074,7 +10074,7 @@ function MI(e, n, t, a) {
|
|
|
10074
10074
|
const s = pr(e, a);
|
|
10075
10075
|
if (!s)
|
|
10076
10076
|
return a;
|
|
10077
|
-
const c =
|
|
10077
|
+
const c = Oe.find(s.resources, {
|
|
10078
10078
|
type: n.type,
|
|
10079
10079
|
resource: n.resource
|
|
10080
10080
|
}) ? {
|
|
@@ -10143,7 +10143,7 @@ function CA(e, n) {
|
|
|
10143
10143
|
({ checked: b, name: S }) => b && S !== "promote"
|
|
10144
10144
|
).length === 0)
|
|
10145
10145
|
return;
|
|
10146
|
-
const _ =
|
|
10146
|
+
const _ = Oe.find(f, {
|
|
10147
10147
|
type: h.type,
|
|
10148
10148
|
resource: h.resource
|
|
10149
10149
|
});
|
|
@@ -10167,7 +10167,7 @@ function CA(e, n) {
|
|
|
10167
10167
|
};
|
|
10168
10168
|
});
|
|
10169
10169
|
}), f),
|
|
10170
|
-
|
|
10170
|
+
Oe.clone(
|
|
10171
10171
|
t.resources.map((f) => ({
|
|
10172
10172
|
...f,
|
|
10173
10173
|
permissions: f.permissions.map(({ checked: d, ...p }) => ({
|
|
@@ -10259,7 +10259,7 @@ const NI = (e) => e.reduce((n, t) => ({
|
|
|
10259
10259
|
var p;
|
|
10260
10260
|
const { modals: f } = t.getState(), d = f.list.find((h) => h.id === s);
|
|
10261
10261
|
if (d && !d.isOpen) {
|
|
10262
|
-
const h = d.closeReason === _S.CONFIRMED, v =
|
|
10262
|
+
const h = d.closeReason === _S.CONFIRMED, v = Oe.entries((p = d.views) == null ? void 0 : p.toggles).reduce(
|
|
10263
10263
|
(_, b) => ({
|
|
10264
10264
|
..._,
|
|
10265
10265
|
[b[0]]: b[1].value
|
|
@@ -10687,7 +10687,7 @@ const NI = (e) => e.reduce((n, t) => ({
|
|
|
10687
10687
|
},
|
|
10688
10688
|
isRoot: !0
|
|
10689
10689
|
}
|
|
10690
|
-
], FA = jh(), kA = !!
|
|
10690
|
+
], FA = jh(), kA = !!Oe.get(FA, "features.experimental.reports");
|
|
10691
10691
|
kA && Hg.unshift({
|
|
10692
10692
|
name: Qe.REPORTS,
|
|
10693
10693
|
type: j.FOLDER,
|
|
@@ -11164,7 +11164,7 @@ const Gg = Vt({
|
|
|
11164
11164
|
...s,
|
|
11165
11165
|
children: b
|
|
11166
11166
|
});
|
|
11167
|
-
return
|
|
11167
|
+
return Oe.merge(n, S);
|
|
11168
11168
|
}), e.addCase(ka.fulfilled, (n, t) => {
|
|
11169
11169
|
const { fileName: a, path: s, type: i, qodly: c } = t.meta.arg, f = ar(i, c), d = `${s}/${a}${f ? `.${f}` : ""}`, { editor: p, supportedEditors: h } = It(d), v = De(n, {
|
|
11170
11170
|
name: a,
|
|
@@ -11312,7 +11312,7 @@ function BA(e, n) {
|
|
|
11312
11312
|
classNames: [],
|
|
11313
11313
|
events: []
|
|
11314
11314
|
},
|
|
11315
|
-
displayName: "
|
|
11315
|
+
displayName: "Page",
|
|
11316
11316
|
custom: {},
|
|
11317
11317
|
hidden: !1,
|
|
11318
11318
|
nodes: [],
|
|
@@ -12669,7 +12669,7 @@ const a$ = Q(
|
|
|
12669
12669
|
locked: !1
|
|
12670
12670
|
}
|
|
12671
12671
|
};
|
|
12672
|
-
}, Kg =
|
|
12672
|
+
}, Kg = Oe.debounce((e, n) => {
|
|
12673
12673
|
n(CD(e));
|
|
12674
12674
|
}, 300), p$ = Q("tabs/setTabContent", (e, { getState: n, dispatch: t }) => {
|
|
12675
12675
|
var c;
|
|
@@ -12749,10 +12749,10 @@ const a$ = Q(
|
|
|
12749
12749
|
});
|
|
12750
12750
|
function nh(e, n) {
|
|
12751
12751
|
const { line: t, offset: a, type: s = "saved" } = n;
|
|
12752
|
-
e.breakpoints[s].locations.push({ line: t }),
|
|
12752
|
+
e.breakpoints[s].locations.push({ line: t }), Oe.isNumber(a) && (e.breakpoints[s].offset = a);
|
|
12753
12753
|
}
|
|
12754
12754
|
function rh(e, n, t, a) {
|
|
12755
|
-
e.breakpoints[t].locations = n,
|
|
12755
|
+
e.breakpoints[t].locations = n, Oe.isNumber(a) && (e.breakpoints[t].offset = a);
|
|
12756
12756
|
}
|
|
12757
12757
|
function ah({
|
|
12758
12758
|
filePath: e,
|
|
@@ -13560,15 +13560,15 @@ const oD = {
|
|
|
13560
13560
|
setTemplateData: lD,
|
|
13561
13561
|
setDatasourcesTheme: iM,
|
|
13562
13562
|
setWebformsFlag: uM
|
|
13563
|
-
} = Zg.actions, dD = Zg.reducer, ff =
|
|
13563
|
+
} = Zg.actions, dD = Zg.reducer, ff = Oe.curry((e, n) => {
|
|
13564
13564
|
var s, i;
|
|
13565
13565
|
const t = {
|
|
13566
13566
|
...n.sharedDatasources.sources
|
|
13567
13567
|
}, a = (i = ((s = n.root.tabs.find(Cn("path", e))) == null ? void 0 : s.content).metadata) == null ? void 0 : i.datasources;
|
|
13568
|
-
return a && (t[e] = a),
|
|
13568
|
+
return a && (t[e] = a), Oe.cloneDeep(t);
|
|
13569
13569
|
}), cM = Q("webforms/fetchTemplates", async (e, { dispatch: n, getState: t }) => {
|
|
13570
13570
|
const { data: a } = t().webforms.templates, s = t().settings.session["studio.tipsBaseUrl"] || "";
|
|
13571
|
-
if (!
|
|
13571
|
+
if (!Oe.isEmpty(a))
|
|
13572
13572
|
return a;
|
|
13573
13573
|
try {
|
|
13574
13574
|
const c = await (await fetch(`${s}/build/index.json?t=${Date.now()}`)).json();
|
|
@@ -13578,7 +13578,7 @@ const oD = {
|
|
|
13578
13578
|
}
|
|
13579
13579
|
}), fM = Q("webforms/fetchTemplate", async ({ name: e }, { dispatch: n, getState: t }) => {
|
|
13580
13580
|
const { data: a } = t().webforms.templates, s = a.find((i) => i.group === e);
|
|
13581
|
-
if (s && !
|
|
13581
|
+
if (s && !Oe.isEmpty(s.components))
|
|
13582
13582
|
return s.components;
|
|
13583
13583
|
try {
|
|
13584
13584
|
const c = await (await fetch(`${s == null ? void 0 : s.link}?t=${Date.now()}`)).json();
|
|
@@ -13672,7 +13672,7 @@ const oD = {
|
|
|
13672
13672
|
async (e, { getState: n, rejectWithValue: t }) => {
|
|
13673
13673
|
try {
|
|
13674
13674
|
const { namespace: a, path: s } = e, i = n(), c = !!e.namespace, f = ff(s, i);
|
|
13675
|
-
let d =
|
|
13675
|
+
let d = Oe.defaultTo(
|
|
13676
13676
|
f[a || s],
|
|
13677
13677
|
[]
|
|
13678
13678
|
);
|
|
@@ -13698,7 +13698,7 @@ const oD = {
|
|
|
13698
13698
|
"datasources/rename-datasource",
|
|
13699
13699
|
async (e, { getState: n, rejectWithValue: t }) => {
|
|
13700
13700
|
try {
|
|
13701
|
-
const a = n(), s = !!e.namespace, i = e.namespace || e.path, c = ff(e.path, a), f =
|
|
13701
|
+
const a = n(), s = !!e.namespace, i = e.namespace || e.path, c = ff(e.path, a), f = Oe.defaultTo(c[i], []), d = new RegExp(`^${e.id}\\b`, "");
|
|
13702
13702
|
if (f.forEach((p) => {
|
|
13703
13703
|
var v;
|
|
13704
13704
|
const h = (lh(p) || !dh(p)) && p.from && d.test(p.from);
|
|
@@ -14089,7 +14089,7 @@ const lf = (e, n) => {
|
|
|
14089
14089
|
[a]: {
|
|
14090
14090
|
...i.content.components[a],
|
|
14091
14091
|
custom: {
|
|
14092
|
-
...
|
|
14092
|
+
...Oe.omit(
|
|
14093
14093
|
i.content.components[a].custom,
|
|
14094
14094
|
`states:${s.id}`
|
|
14095
14095
|
)
|
|
@@ -14278,14 +14278,10 @@ const lf = (e, n) => {
|
|
|
14278
14278
|
if (typeof a == "string")
|
|
14279
14279
|
c = i.initialContent !== a, f = !f && c ? !0 : f;
|
|
14280
14280
|
else {
|
|
14281
|
-
const d =
|
|
14282
|
-
|
|
14283
|
-
), p = JSON.stringify(
|
|
14284
|
-
Ae.get(a, s || "", a)
|
|
14285
|
-
);
|
|
14286
|
-
c = d !== p, f = !f && c ? !0 : f;
|
|
14281
|
+
const d = Oe.get(i.initialContent, s || "", i.initialContent), p = Oe.get(a, s || "", a);
|
|
14282
|
+
c = !Oe.isEqual(d, p), f = !f && c ? !0 : f;
|
|
14287
14283
|
}
|
|
14288
|
-
return a && typeof a == "object" && (s ?
|
|
14284
|
+
return a && typeof a == "object" && (s ? Oe.set(i.content, s, a) : i.content = a), typeof a == "string" && (i.content = a), {
|
|
14289
14285
|
...i,
|
|
14290
14286
|
flags: {
|
|
14291
14287
|
...i.flags,
|
|
@@ -14360,7 +14356,7 @@ const lf = (e, n) => {
|
|
|
14360
14356
|
var i, c;
|
|
14361
14357
|
if (a.path !== t)
|
|
14362
14358
|
return a;
|
|
14363
|
-
const s = !
|
|
14359
|
+
const s = !Oe.isEqual(
|
|
14364
14360
|
a.content,
|
|
14365
14361
|
(i = a.history) == null ? void 0 : i.stack[a.history.active]
|
|
14366
14362
|
);
|
|
@@ -14707,7 +14703,7 @@ exposed Function ${t.meta.arg.name}()
|
|
|
14707
14703
|
return c ? {
|
|
14708
14704
|
...i,
|
|
14709
14705
|
conditions: c
|
|
14710
|
-
} :
|
|
14706
|
+
} : Oe.omit(i, "conditions");
|
|
14711
14707
|
}
|
|
14712
14708
|
return i;
|
|
14713
14709
|
}
|
|
@@ -14987,7 +14983,7 @@ exposed Function ${t.meta.arg.name}()
|
|
|
14987
14983
|
(D) => h(D, () => {
|
|
14988
14984
|
p.local = !0;
|
|
14989
14985
|
})
|
|
14990
|
-
), _ =
|
|
14986
|
+
), _ = Oe.flatten(Oe.values(f.sources)).map(
|
|
14991
14987
|
(D) => h(D, () => {
|
|
14992
14988
|
p.shared = !0;
|
|
14993
14989
|
})
|
|
@@ -15238,8 +15234,8 @@ function GD() {
|
|
|
15238
15234
|
{
|
|
15239
15235
|
var ue = U.ReactDebugCurrentFrame, ke = ue.getStackAddendum();
|
|
15240
15236
|
ke !== "" && (G += "%s", X = X.concat([ke]));
|
|
15241
|
-
var je = X.map(function(
|
|
15242
|
-
return "" +
|
|
15237
|
+
var je = X.map(function(Re) {
|
|
15238
|
+
return "" + Re;
|
|
15243
15239
|
});
|
|
15244
15240
|
je.unshift("Warning: " + G), Function.prototype.apply.call(console[T], console, je);
|
|
15245
15241
|
}
|
|
@@ -15398,27 +15394,27 @@ function GD() {
|
|
|
15398
15394
|
je = ae.current, ae.current = null, ie();
|
|
15399
15395
|
try {
|
|
15400
15396
|
if (G) {
|
|
15401
|
-
var
|
|
15397
|
+
var Re = function() {
|
|
15402
15398
|
throw Error();
|
|
15403
15399
|
};
|
|
15404
|
-
if (Object.defineProperty(
|
|
15400
|
+
if (Object.defineProperty(Re.prototype, "props", {
|
|
15405
15401
|
set: function() {
|
|
15406
15402
|
throw Error();
|
|
15407
15403
|
}
|
|
15408
15404
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
15409
15405
|
try {
|
|
15410
|
-
Reflect.construct(
|
|
15406
|
+
Reflect.construct(Re, []);
|
|
15411
15407
|
} catch (cn) {
|
|
15412
15408
|
ue = cn;
|
|
15413
15409
|
}
|
|
15414
|
-
Reflect.construct(T, [],
|
|
15410
|
+
Reflect.construct(T, [], Re);
|
|
15415
15411
|
} else {
|
|
15416
15412
|
try {
|
|
15417
|
-
|
|
15413
|
+
Re.call();
|
|
15418
15414
|
} catch (cn) {
|
|
15419
15415
|
ue = cn;
|
|
15420
15416
|
}
|
|
15421
|
-
T.call(
|
|
15417
|
+
T.call(Re.prototype);
|
|
15422
15418
|
}
|
|
15423
15419
|
} else {
|
|
15424
15420
|
try {
|
|
@@ -15502,19 +15498,19 @@ function GD() {
|
|
|
15502
15498
|
function Zs(T, G, X, ue, ke) {
|
|
15503
15499
|
{
|
|
15504
15500
|
var je = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
15505
|
-
for (var
|
|
15506
|
-
if (je(T,
|
|
15501
|
+
for (var Re in T)
|
|
15502
|
+
if (je(T, Re)) {
|
|
15507
15503
|
var Te = void 0;
|
|
15508
15504
|
try {
|
|
15509
|
-
if (typeof T[
|
|
15510
|
-
var gt = Error((ue || "React class") + ": " + X + " type `" +
|
|
15505
|
+
if (typeof T[Re] != "function") {
|
|
15506
|
+
var gt = Error((ue || "React class") + ": " + X + " type `" + Re + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof T[Re] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
15511
15507
|
throw gt.name = "Invariant Violation", gt;
|
|
15512
15508
|
}
|
|
15513
|
-
Te = T[
|
|
15509
|
+
Te = T[Re](G, Re, ue, X, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
15514
15510
|
} catch (Xe) {
|
|
15515
15511
|
Te = Xe;
|
|
15516
15512
|
}
|
|
15517
|
-
Te && !(Te instanceof Error) && (hr(ke), q("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ue || "React class", X,
|
|
15513
|
+
Te && !(Te instanceof Error) && (hr(ke), q("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ue || "React class", X, Re, typeof Te), hr(null)), Te instanceof Error && !(Te.message in ro) && (ro[Te.message] = !0, hr(ke), q("Failed %s type: %s", X, Te.message), hr(null));
|
|
15518
15514
|
}
|
|
15519
15515
|
}
|
|
15520
15516
|
}
|
|
@@ -15569,7 +15565,7 @@ function GD() {
|
|
|
15569
15565
|
});
|
|
15570
15566
|
}
|
|
15571
15567
|
}
|
|
15572
|
-
var pa = function(T, G, X, ue, ke, je,
|
|
15568
|
+
var pa = function(T, G, X, ue, ke, je, Re) {
|
|
15573
15569
|
var Te = {
|
|
15574
15570
|
// This tag allows us to uniquely identify this as a React Element
|
|
15575
15571
|
$$typeof: a,
|
|
@@ -15577,7 +15573,7 @@ function GD() {
|
|
|
15577
15573
|
type: T,
|
|
15578
15574
|
key: G,
|
|
15579
15575
|
ref: X,
|
|
15580
|
-
props:
|
|
15576
|
+
props: Re,
|
|
15581
15577
|
// Record the component responsible for creating this element.
|
|
15582
15578
|
_owner: je
|
|
15583
15579
|
};
|
|
@@ -15600,20 +15596,20 @@ function GD() {
|
|
|
15600
15596
|
};
|
|
15601
15597
|
function ha(T, G, X, ue, ke) {
|
|
15602
15598
|
{
|
|
15603
|
-
var je,
|
|
15599
|
+
var je, Re = {}, Te = null, gt = null;
|
|
15604
15600
|
X !== void 0 && (Te = "" + X), mr(G) && (Te = "" + G.key), Qs(G) && (gt = G.ref, Yn(G, ke));
|
|
15605
15601
|
for (je in G)
|
|
15606
|
-
Rt.call(G, je) && !gr.hasOwnProperty(je) && (
|
|
15602
|
+
Rt.call(G, je) && !gr.hasOwnProperty(je) && (Re[je] = G[je]);
|
|
15607
15603
|
if (T && T.defaultProps) {
|
|
15608
15604
|
var Xe = T.defaultProps;
|
|
15609
15605
|
for (je in Xe)
|
|
15610
|
-
|
|
15606
|
+
Re[je] === void 0 && (Re[je] = Xe[je]);
|
|
15611
15607
|
}
|
|
15612
15608
|
if (Te || gt) {
|
|
15613
15609
|
var nt = typeof T == "function" ? T.displayName || T.name || "Unknown" : T;
|
|
15614
|
-
Te && la(
|
|
15610
|
+
Te && la(Re, nt), gt && da(Re, nt);
|
|
15615
15611
|
}
|
|
15616
|
-
return pa(T, Te, gt, ke, ue, un.current,
|
|
15612
|
+
return pa(T, Te, gt, ke, ue, un.current, Re);
|
|
15617
15613
|
}
|
|
15618
15614
|
}
|
|
15619
15615
|
var yr = U.ReactCurrentOwner, Lr = U.ReactDebugCurrentFrame;
|
|
@@ -15692,8 +15688,8 @@ Check the top-level render call using <` + X + ">.");
|
|
|
15692
15688
|
else if (T) {
|
|
15693
15689
|
var ke = Y(T);
|
|
15694
15690
|
if (typeof ke == "function" && ke !== T.entries)
|
|
15695
|
-
for (var je = ke.call(T),
|
|
15696
|
-
br(
|
|
15691
|
+
for (var je = ke.call(T), Re; !(Re = je.next()).done; )
|
|
15692
|
+
br(Re.value) && ga(Re.value, G);
|
|
15697
15693
|
}
|
|
15698
15694
|
}
|
|
15699
15695
|
}
|
|
@@ -15736,8 +15732,8 @@ Check the top-level render call using <` + X + ">.");
|
|
|
15736
15732
|
}
|
|
15737
15733
|
function co(T, G, X, ue, ke, je) {
|
|
15738
15734
|
{
|
|
15739
|
-
var
|
|
15740
|
-
if (!
|
|
15735
|
+
var Re = Se(T);
|
|
15736
|
+
if (!Re) {
|
|
15741
15737
|
var Te = "";
|
|
15742
15738
|
(T === void 0 || typeof T == "object" && T !== null && Object.keys(T).length === 0) && (Te += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
15743
15739
|
var gt = ei(ke);
|
|
@@ -15748,7 +15744,7 @@ Check the top-level render call using <` + X + ">.");
|
|
|
15748
15744
|
var nt = ha(T, G, X, ke, je);
|
|
15749
15745
|
if (nt == null)
|
|
15750
15746
|
return nt;
|
|
15751
|
-
if (
|
|
15747
|
+
if (Re) {
|
|
15752
15748
|
var Xt = G.children;
|
|
15753
15749
|
if (Xt !== void 0)
|
|
15754
15750
|
if (ue)
|