@infinilabs/ui-web-cli 0.0.4 → 0.0.5
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/README-zh_CN.md +71 -0
- package/README.md +16 -0
- package/dist/webCli.cjs +14 -14
- package/dist/webCli.iife.js +9 -9
- package/dist/webCli.js +90 -89
- package/dist/webCli.umd.cjs +9 -9
- package/package.json +1 -1
package/dist/webCli.js
CHANGED
|
@@ -12,7 +12,7 @@ import de from "classnames";
|
|
|
12
12
|
import * as XC from "react-dom";
|
|
13
13
|
import Np, { createPortal as xv, unstable_batchedUpdates as YC, flushSync as QC } from "react-dom";
|
|
14
14
|
import Sv from "resize-observer-polyfill";
|
|
15
|
-
import
|
|
15
|
+
import Je from "brace";
|
|
16
16
|
import { FormattedMessage as sn } from "react-intl";
|
|
17
17
|
import _e, { throttle as Ev, get as JC, merge as Ip, defaultsDeep as ZC, isEqual as ex, startsWith as tx, transform as nx, keys as rx } from "lodash";
|
|
18
18
|
import Pt from "jquery";
|
|
@@ -623,7 +623,7 @@ function dx() {
|
|
|
623
623
|
}
|
|
624
624
|
var It;
|
|
625
625
|
It = !1;
|
|
626
|
-
function
|
|
626
|
+
function Ze(K) {
|
|
627
627
|
return typeof K == "object" && K !== null && K.$$typeof === t;
|
|
628
628
|
}
|
|
629
629
|
function ft() {
|
|
@@ -674,15 +674,15 @@ Check the top-level render call using <` + ye + ">.");
|
|
|
674
674
|
if ($e(K))
|
|
675
675
|
for (var ye = 0; ye < K.length; ye++) {
|
|
676
676
|
var Oe = K[ye];
|
|
677
|
-
|
|
677
|
+
Ze(Oe) && N(Oe, ue);
|
|
678
678
|
}
|
|
679
|
-
else if (
|
|
679
|
+
else if (Ze(K))
|
|
680
680
|
K._store && (K._store.validated = !0);
|
|
681
681
|
else if (K) {
|
|
682
682
|
var Fe = g(K);
|
|
683
683
|
if (typeof Fe == "function" && Fe !== K.entries)
|
|
684
684
|
for (var ke = Fe.call(K), Be; !(Be = ke.next()).done; )
|
|
685
|
-
|
|
685
|
+
Ze(Be.value) && N(Be.value, ue);
|
|
686
686
|
}
|
|
687
687
|
}
|
|
688
688
|
}
|
|
@@ -774,8 +774,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
774
774
|
function De(K, ue, ye) {
|
|
775
775
|
return se(K, ue, ye, !1);
|
|
776
776
|
}
|
|
777
|
-
var
|
|
778
|
-
Bi.Fragment = r, Bi.jsx =
|
|
777
|
+
var et = De, nt = ge;
|
|
778
|
+
Bi.Fragment = r, Bi.jsx = et, Bi.jsxs = nt;
|
|
779
779
|
}()), Bi;
|
|
780
780
|
}
|
|
781
781
|
te.env.NODE_ENV === "production" ? hu.exports = fx() : hu.exports = dx();
|
|
@@ -5276,10 +5276,10 @@ const x1 = (e) => {
|
|
|
5276
5276
|
return V ? `${ge}-${V}` : ge;
|
|
5277
5277
|
}, [g.getPrefixCls, e.prefixCls]), _t = v || g.iconPrefixCls || ld, It = n || g.csp;
|
|
5278
5278
|
Ny(_t, It);
|
|
5279
|
-
const
|
|
5279
|
+
const Ze = XE(f, g.theme, {
|
|
5280
5280
|
prefixCls: Yt("")
|
|
5281
5281
|
});
|
|
5282
|
-
te.env.NODE_ENV !== "production" && (Yu = Yu || !!
|
|
5282
|
+
te.env.NODE_ENV !== "production" && (Yu = Yu || !!Ze);
|
|
5283
5283
|
const ft = {
|
|
5284
5284
|
csp: It,
|
|
5285
5285
|
autoInsertSpaceInButton: r,
|
|
@@ -5293,7 +5293,7 @@ const x1 = (e) => {
|
|
|
5293
5293
|
popupOverflow: _,
|
|
5294
5294
|
getPrefixCls: Yt,
|
|
5295
5295
|
iconPrefixCls: _t,
|
|
5296
|
-
theme:
|
|
5296
|
+
theme: Ze,
|
|
5297
5297
|
segmented: b,
|
|
5298
5298
|
statistic: C,
|
|
5299
5299
|
spin: E,
|
|
@@ -5386,19 +5386,19 @@ const x1 = (e) => {
|
|
|
5386
5386
|
size: l
|
|
5387
5387
|
}, N)), N = /* @__PURE__ */ h.createElement(v1, null, N);
|
|
5388
5388
|
const $ = h.useMemo(() => {
|
|
5389
|
-
const V =
|
|
5389
|
+
const V = Ze || {}, {
|
|
5390
5390
|
algorithm: ee,
|
|
5391
5391
|
token: se,
|
|
5392
5392
|
components: ge,
|
|
5393
5393
|
cssVar: De
|
|
5394
|
-
} = V,
|
|
5394
|
+
} = V, et = b1(V, ["algorithm", "token", "components", "cssVar"]), nt = ee && (!Array.isArray(ee) || ee.length > 0) ? Cu(ee) : Cy, K = {};
|
|
5395
5395
|
Object.entries(ge || {}).forEach((ye) => {
|
|
5396
5396
|
let [Oe, Fe] = ye;
|
|
5397
5397
|
const ke = Object.assign({}, Fe);
|
|
5398
5398
|
"algorithm" in ke && (ke.algorithm === !0 ? ke.theme = nt : (Array.isArray(ke.algorithm) || typeof ke.algorithm == "function") && (ke.theme = Cu(ke.algorithm)), delete ke.algorithm), K[Oe] = ke;
|
|
5399
5399
|
});
|
|
5400
5400
|
const ue = Object.assign(Object.assign({}, ya), se);
|
|
5401
|
-
return Object.assign(Object.assign({},
|
|
5401
|
+
return Object.assign(Object.assign({}, et), {
|
|
5402
5402
|
theme: nt,
|
|
5403
5403
|
token: ue,
|
|
5404
5404
|
components: K,
|
|
@@ -5407,7 +5407,7 @@ const x1 = (e) => {
|
|
|
5407
5407
|
}, K),
|
|
5408
5408
|
cssVar: De
|
|
5409
5409
|
});
|
|
5410
|
-
}, [
|
|
5410
|
+
}, [Ze]);
|
|
5411
5411
|
return f && (N = /* @__PURE__ */ h.createElement(xy.Provider, {
|
|
5412
5412
|
value: $
|
|
5413
5413
|
}, N)), Ke.warning && (N = /* @__PURE__ */ h.createElement(dy.Provider, {
|
|
@@ -13910,25 +13910,25 @@ function dP(e, t) {
|
|
|
13910
13910
|
registerSize: ut,
|
|
13911
13911
|
display: N <= Me
|
|
13912
13912
|
}));
|
|
13913
|
-
},
|
|
13913
|
+
}, Ze, ft = {
|
|
13914
13914
|
order: Ht ? Me : Number.MAX_SAFE_INTEGER,
|
|
13915
13915
|
className: "".concat(ve, "-rest"),
|
|
13916
13916
|
registerSize: at,
|
|
13917
13917
|
display: Ht
|
|
13918
13918
|
};
|
|
13919
13919
|
if (g)
|
|
13920
|
-
g && (
|
|
13920
|
+
g && (Ze = /* @__PURE__ */ h.createElement(ol.Provider, {
|
|
13921
13921
|
value: oe(oe({}, _t), ft)
|
|
13922
13922
|
}, g(mt)));
|
|
13923
13923
|
else {
|
|
13924
13924
|
var At = x || fP;
|
|
13925
|
-
|
|
13925
|
+
Ze = /* @__PURE__ */ h.createElement(na, Pe({}, _t, ft), typeof At == "function" ? At(mt) : At);
|
|
13926
13926
|
}
|
|
13927
13927
|
var Ke = /* @__PURE__ */ h.createElement(m, Pe({
|
|
13928
13928
|
className: de(!qe && r, y),
|
|
13929
13929
|
style: d,
|
|
13930
13930
|
ref: t
|
|
13931
|
-
}, E), Ye.map(It), We ?
|
|
13931
|
+
}, E), Ye.map(It), We ? Ze : null, v && /* @__PURE__ */ h.createElement(na, Pe({}, _t, {
|
|
13932
13932
|
responsive: Se,
|
|
13933
13933
|
responsiveDisabled: !Ee,
|
|
13934
13934
|
order: Me,
|
|
@@ -14232,18 +14232,18 @@ function yP(e, t, n, r, o, i, a) {
|
|
|
14232
14232
|
return;
|
|
14233
14233
|
var Ye = X.offset, mt = X.targetOffset, bt = Cm(H, Ye), pt = he(bt, 2), Ve = pt[0], Ie = pt[1], ut = Cm(q, mt), at = he(ut, 2), Qe = at[0], Nt = at[1];
|
|
14234
14234
|
q.x -= Qe, q.y -= Nt;
|
|
14235
|
-
var Ht = X.points || [], Yt = he(Ht, 2), _t = Yt[0], It = Yt[1],
|
|
14235
|
+
var Ht = X.points || [], Yt = he(Ht, 2), _t = Yt[0], It = Yt[1], Ze = xm(It), ft = xm(_t), At = Ko(q, Ze), Ke = Ko(H, ft), Le = oe({}, X), N = At.x - Ke.x + Ve, O = At.y - Ke.y + Ie, $ = wn(N, O), V = wn(N, O, ve), ee = Ko(q, ["t", "l"]), se = Ko(H, ["t", "l"]), ge = Ko(q, ["b", "r"]), De = Ko(H, ["b", "r"]), et = X.overflow || {}, nt = et.adjustX, K = et.adjustY, ue = et.shiftX, ye = et.shiftY, Oe = function(Cr) {
|
|
14236
14236
|
return typeof Cr == "boolean" ? Cr : Cr >= 0;
|
|
14237
14237
|
}, Fe, ke, Be, He;
|
|
14238
14238
|
Ho();
|
|
14239
|
-
var St = Oe(K), gt = ft[0] ===
|
|
14239
|
+
var St = Oe(K), gt = ft[0] === Ze[0];
|
|
14240
14240
|
if (St && ft[0] === "t" && (ke > Se.bottom || y.current.bt)) {
|
|
14241
14241
|
var Xe = O;
|
|
14242
14242
|
gt ? Xe -= L - J : Xe = ee.y - De.y - Ie;
|
|
14243
14243
|
var Ft = wn(N, Xe), _n = wn(N, Xe, ve);
|
|
14244
14244
|
// Of course use larger one
|
|
14245
14245
|
Ft > $ || Ft === $ && (!Ne || // Choose recommend one
|
|
14246
|
-
_n >= V) ? (y.current.bt = !0, O = Xe, Ie = -Ie, Le.points = [zr(ft, 0), zr(
|
|
14246
|
+
_n >= V) ? (y.current.bt = !0, O = Xe, Ie = -Ie, Le.points = [zr(ft, 0), zr(Ze, 0)]) : y.current.bt = !1;
|
|
14247
14247
|
}
|
|
14248
14248
|
if (St && ft[0] === "b" && (Fe < Se.top || y.current.tb)) {
|
|
14249
14249
|
var Qt = O;
|
|
@@ -14251,16 +14251,16 @@ function yP(e, t, n, r, o, i, a) {
|
|
|
14251
14251
|
var Lt = wn(N, Qt), yr = wn(N, Qt, ve);
|
|
14252
14252
|
// Of course use larger one
|
|
14253
14253
|
Lt > $ || Lt === $ && (!Ne || // Choose recommend one
|
|
14254
|
-
yr >= V) ? (y.current.tb = !0, O = Qt, Ie = -Ie, Le.points = [zr(ft, 0), zr(
|
|
14254
|
+
yr >= V) ? (y.current.tb = !0, O = Qt, Ie = -Ie, Le.points = [zr(ft, 0), zr(Ze, 0)]) : y.current.tb = !1;
|
|
14255
14255
|
}
|
|
14256
|
-
var br = Oe(nt), In = ft[1] ===
|
|
14256
|
+
var br = Oe(nt), In = ft[1] === Ze[1];
|
|
14257
14257
|
if (br && ft[1] === "l" && (He > Se.right || y.current.rl)) {
|
|
14258
14258
|
var Un = N;
|
|
14259
14259
|
In ? Un -= ie - me : Un = ee.x - De.x - Ve;
|
|
14260
14260
|
var Bo = wn(Un, O), kr = wn(Un, O, ve);
|
|
14261
14261
|
// Of course use larger one
|
|
14262
14262
|
Bo > $ || Bo === $ && (!Ne || // Choose recommend one
|
|
14263
|
-
kr >= V) ? (y.current.rl = !0, N = Un, Ve = -Ve, Le.points = [zr(ft, 1), zr(
|
|
14263
|
+
kr >= V) ? (y.current.rl = !0, N = Un, Ve = -Ve, Le.points = [zr(ft, 1), zr(Ze, 1)]) : y.current.rl = !1;
|
|
14264
14264
|
}
|
|
14265
14265
|
if (br && ft[1] === "r" && (Be < Se.left || y.current.lr)) {
|
|
14266
14266
|
var Gn = N;
|
|
@@ -14268,7 +14268,7 @@ function yP(e, t, n, r, o, i, a) {
|
|
|
14268
14268
|
var io = wn(Gn, O), _r = wn(Gn, O, ve);
|
|
14269
14269
|
// Of course use larger one
|
|
14270
14270
|
io > $ || io === $ && (!Ne || // Choose recommend one
|
|
14271
|
-
_r >= V) ? (y.current.lr = !0, N = Gn, Ve = -Ve, Le.points = [zr(ft, 1), zr(
|
|
14271
|
+
_r >= V) ? (y.current.lr = !0, N = Gn, Ve = -Ve, Le.points = [zr(ft, 1), zr(Ze, 1)]) : y.current.lr = !1;
|
|
14272
14272
|
}
|
|
14273
14273
|
Ho();
|
|
14274
14274
|
var An = ue === !0 ? 0 : ue;
|
|
@@ -14373,7 +14373,7 @@ function CP() {
|
|
|
14373
14373
|
return (qt == null ? void 0 : qt.contains(je)) || ((Ue = Zs(qt)) === null || Ue === void 0 ? void 0 : Ue.host) === je || je === qt || (Ee == null ? void 0 : Ee.contains(je)) || ((Mt = Zs(Ee)) === null || Mt === void 0 ? void 0 : Mt.host) === je || je === Ee || Object.values(Ae.current).some(function(Dt) {
|
|
14374
14374
|
return (Dt == null ? void 0 : Dt.contains(je)) || je === Dt;
|
|
14375
14375
|
});
|
|
14376
|
-
}), Yt = bm(i, D, ne, G), _t = bm(i, z, M, ae), It = h.useState(d || !1),
|
|
14376
|
+
}), Yt = bm(i, D, ne, G), _t = bm(i, z, M, ae), It = h.useState(d || !1), Ze = he(It, 2), ft = Ze[0], At = Ze[1], Ke = p ?? ft, Le = rn(function(je) {
|
|
14377
14377
|
p === void 0 && At(je);
|
|
14378
14378
|
});
|
|
14379
14379
|
Zt(function() {
|
|
@@ -14397,14 +14397,14 @@ function CP() {
|
|
|
14397
14397
|
h.useEffect(function() {
|
|
14398
14398
|
return ee;
|
|
14399
14399
|
}, []);
|
|
14400
|
-
var ge = h.useState(!1), De = he(ge, 2),
|
|
14400
|
+
var ge = h.useState(!1), De = he(ge, 2), et = De[0], nt = De[1];
|
|
14401
14401
|
Zt(function(je) {
|
|
14402
14402
|
(!je || Ke) && nt(!0);
|
|
14403
14403
|
}, [Ke]);
|
|
14404
14404
|
var K = h.useState(null), ue = he(K, 2), ye = ue[0], Oe = ue[1], Fe = h.useState(null), ke = he(Fe, 2), Be = ke[0], He = ke[1], St = function(Ue) {
|
|
14405
14405
|
He([Ue.clientX, Ue.clientY]);
|
|
14406
14406
|
}, gt = yP(Ke, Ee, j && Be !== null ? Be : pt, F, U, B, H), Xe = he(gt, 11), Ft = Xe[0], _n = Xe[1], Qt = Xe[2], Lt = Xe[3], yr = Xe[4], br = Xe[5], In = Xe[6], Un = Xe[7], Bo = Xe[8], kr = Xe[9], Gn = Xe[10], io = mP(Me, l, c, u), _r = he(io, 2), An = _r[0], Sn = _r[1], Lr = An.has("click"), wr = Sn.has("click") || Sn.has("contextMenu"), jn = rn(function() {
|
|
14407
|
-
|
|
14407
|
+
et || Gn();
|
|
14408
14408
|
}), Mi = function() {
|
|
14409
14409
|
N.current && j && wr && se(!1);
|
|
14410
14410
|
};
|
|
@@ -14465,7 +14465,7 @@ function CP() {
|
|
|
14465
14465
|
}), dn("onPointerEnter", !0, x, function(je) {
|
|
14466
14466
|
St(je);
|
|
14467
14467
|
}), Ho = function(Ue) {
|
|
14468
|
-
(Ke ||
|
|
14468
|
+
(Ke || et) && Ee !== null && Ee !== void 0 && Ee.contains(Ue.target) && se(!0, x);
|
|
14469
14469
|
}, j && (Nt.onMouseMove = function(je) {
|
|
14470
14470
|
var Ue;
|
|
14471
14471
|
(Ue = Qe.onMouseMove) === null || Ue === void 0 || Ue.call(Qe, je);
|
|
@@ -14511,7 +14511,7 @@ function CP() {
|
|
|
14511
14511
|
onPointerEnter: Ho,
|
|
14512
14512
|
zIndex: X,
|
|
14513
14513
|
open: Ke,
|
|
14514
|
-
keepDom:
|
|
14514
|
+
keepDom: et,
|
|
14515
14515
|
fresh: W,
|
|
14516
14516
|
onClick: A,
|
|
14517
14517
|
mask: b,
|
|
@@ -17177,15 +17177,15 @@ var nI = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
|
|
|
17177
17177
|
Nt(ht), pe == null || pe(ht);
|
|
17178
17178
|
}
|
|
17179
17179
|
Et ? QC(tn) : tn();
|
|
17180
|
-
}, Yt = h.useState(Qe), _t = he(Yt, 2), It = _t[0],
|
|
17180
|
+
}, Yt = h.useState(Qe), _t = he(Yt, 2), It = _t[0], Ze = _t[1], ft = h.useRef(!1), At = h.useMemo(function() {
|
|
17181
17181
|
return (v === "inline" || v === "vertical") && f ? ["vertical", f] : [v, !1];
|
|
17182
|
-
}, [v, f]), Ke = he(At, 2), Le = Ke[0], N = Ke[1], O = Le === "inline", $ = h.useState(Le), V = he($, 2), ee = V[0], se = V[1], ge = h.useState(N), De = he(ge, 2),
|
|
17182
|
+
}, [v, f]), Ke = he(At, 2), Le = Ke[0], N = Ke[1], O = Le === "inline", $ = h.useState(Le), V = he($, 2), ee = V[0], se = V[1], ge = h.useState(N), De = he(ge, 2), et = De[0], nt = De[1];
|
|
17183
17183
|
h.useEffect(function() {
|
|
17184
17184
|
se(Le), nt(N), ft.current && (O ? Nt(It) : Ht(co));
|
|
17185
17185
|
}, [Le, N]);
|
|
17186
17186
|
var K = h.useState(0), ue = he(K, 2), ye = ue[0], Oe = ue[1], Fe = ye >= Ee.length - 1 || ee !== "horizontal" || b;
|
|
17187
17187
|
h.useEffect(function() {
|
|
17188
|
-
O &&
|
|
17188
|
+
O && Ze(Qe);
|
|
17189
17189
|
}, [Qe]), h.useEffect(function() {
|
|
17190
17190
|
return ft.current = !0, function() {
|
|
17191
17191
|
ft.current = !1;
|
|
@@ -17289,7 +17289,7 @@ var nI = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
|
|
|
17289
17289
|
prefixCls: "".concat(a, "-overflow"),
|
|
17290
17290
|
component: "ul",
|
|
17291
17291
|
itemComponent: Vl,
|
|
17292
|
-
className: de(a, "".concat(a, "-root"), "".concat(a, "-").concat(ee), c, (r = {}, re(r, "".concat(a, "-inline-collapsed"),
|
|
17292
|
+
className: de(a, "".concat(a, "-root"), "".concat(a, "-").concat(ee), c, (r = {}, re(r, "".concat(a, "-inline-collapsed"), et), re(r, "".concat(a, "-rtl"), Ie), r), s),
|
|
17293
17293
|
dir: _,
|
|
17294
17294
|
style: l,
|
|
17295
17295
|
role: "menu",
|
|
@@ -18814,8 +18814,8 @@ var II = function(t) {
|
|
|
18814
18814
|
var Fe = X;
|
|
18815
18815
|
ye.top < -X ? Fe = -ye.top : ye.top + ye.height > -X + Ee && (Fe = -(ye.top + ye.height - Ee)), Y(0), Z(mt(Fe));
|
|
18816
18816
|
}
|
|
18817
|
-
}),
|
|
18818
|
-
p === "top" || p === "bottom" ?
|
|
18817
|
+
}), Ze = {};
|
|
18818
|
+
p === "top" || p === "bottom" ? Ze[s ? "marginRight" : "marginLeft"] = d : Ze.marginTop = d;
|
|
18819
18819
|
var ft = m.map(function(ue, ye) {
|
|
18820
18820
|
var Oe = ue.key;
|
|
18821
18821
|
return /* @__PURE__ */ h.createElement(II, {
|
|
@@ -18823,7 +18823,7 @@ var II = function(t) {
|
|
|
18823
18823
|
prefixCls: f,
|
|
18824
18824
|
key: Oe,
|
|
18825
18825
|
tab: ue,
|
|
18826
|
-
style: ye === 0 ? void 0 :
|
|
18826
|
+
style: ye === 0 ? void 0 : Ze,
|
|
18827
18827
|
closable: ue.closable,
|
|
18828
18828
|
editable: c,
|
|
18829
18829
|
active: Oe === a,
|
|
@@ -18878,8 +18878,8 @@ var II = function(t) {
|
|
|
18878
18878
|
}, [a, We, Ye, zm($), zm(Ae), I]), tt(function() {
|
|
18879
18879
|
Ke();
|
|
18880
18880
|
}, [s]);
|
|
18881
|
-
var se = !!O.length, ge = "".concat(f, "-nav-wrap"), De,
|
|
18882
|
-
return I ? s ? (
|
|
18881
|
+
var se = !!O.length, ge = "".concat(f, "-nav-wrap"), De, et, nt, K;
|
|
18882
|
+
return I ? s ? (et = F > 0, De = F !== Ye) : (De = F < 0, et = F !== We) : (nt = X < 0, K = X !== We), /* @__PURE__ */ h.createElement(gr, {
|
|
18883
18883
|
onResize: Ke
|
|
18884
18884
|
}, /* @__PURE__ */ h.createElement("div", {
|
|
18885
18885
|
ref: Ei(t, b),
|
|
@@ -18897,7 +18897,7 @@ var II = function(t) {
|
|
|
18897
18897
|
}), /* @__PURE__ */ h.createElement(gr, {
|
|
18898
18898
|
onResize: Ke
|
|
18899
18899
|
}, /* @__PURE__ */ h.createElement("div", {
|
|
18900
|
-
className: de(ge, re(re(re(re({}, "".concat(ge, "-ping-left"), De), "".concat(ge, "-ping-right"),
|
|
18900
|
+
className: de(ge, re(re(re(re({}, "".concat(ge, "-ping-left"), De), "".concat(ge, "-ping-right"), et), "".concat(ge, "-ping-top"), nt), "".concat(ge, "-ping-bottom"), K)),
|
|
18901
18901
|
ref: S
|
|
18902
18902
|
}, /* @__PURE__ */ h.createElement(gr, {
|
|
18903
18903
|
onResize: Ke
|
|
@@ -18913,7 +18913,7 @@ var II = function(t) {
|
|
|
18913
18913
|
prefixCls: f,
|
|
18914
18914
|
locale: u,
|
|
18915
18915
|
editable: c,
|
|
18916
|
-
style: oe(oe({}, ft.length === 0 ? void 0 :
|
|
18916
|
+
style: oe(oe({}, ft.length === 0 ? void 0 : Ze), {}, {
|
|
18917
18917
|
visibility: se ? "hidden" : null
|
|
18918
18918
|
})
|
|
18919
18919
|
}), /* @__PURE__ */ h.createElement("div", {
|
|
@@ -25201,7 +25201,8 @@ class _M {
|
|
|
25201
25201
|
return !r || !r.length ? [] : yM(t, r);
|
|
25202
25202
|
}
|
|
25203
25203
|
getTokenAt(t) {
|
|
25204
|
-
|
|
25204
|
+
var r;
|
|
25205
|
+
const n = (r = this.session) == null ? void 0 : r.getTokens(t.lineNumber - 1);
|
|
25205
25206
|
return n ? bM(t.lineNumber, t.column, n) : null;
|
|
25206
25207
|
}
|
|
25207
25208
|
}
|
|
@@ -25931,7 +25932,7 @@ var QM = { exports: {} }, k_ = {}, Ii = {};
|
|
|
25931
25932
|
throw new TypeError(
|
|
25932
25933
|
"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof N
|
|
25933
25934
|
);
|
|
25934
|
-
if (
|
|
25935
|
+
if (Ze(N, w) || N && Ze(N.buffer, w) || typeof R < "u" && (Ze(N, R) || N && Ze(N.buffer, R)))
|
|
25935
25936
|
return q(N, O, $);
|
|
25936
25937
|
if (typeof N == "number")
|
|
25937
25938
|
throw new TypeError(
|
|
@@ -25986,7 +25987,7 @@ var QM = { exports: {} }, k_ = {}, Ii = {};
|
|
|
25986
25987
|
return $;
|
|
25987
25988
|
}
|
|
25988
25989
|
function Z(N) {
|
|
25989
|
-
if (
|
|
25990
|
+
if (Ze(N, S)) {
|
|
25990
25991
|
const O = new S(N);
|
|
25991
25992
|
return q(O.buffer, O.byteOffset, O.byteLength);
|
|
25992
25993
|
}
|
|
@@ -26021,7 +26022,7 @@ var QM = { exports: {} }, k_ = {}, Ii = {};
|
|
|
26021
26022
|
T.isBuffer = function(O) {
|
|
26022
26023
|
return O != null && O._isBuffer === !0 && O !== T.prototype;
|
|
26023
26024
|
}, T.compare = function(O, $) {
|
|
26024
|
-
if (
|
|
26025
|
+
if (Ze(O, S) && (O = T.from(O, O.offset, O.byteLength)), Ze($, S) && ($ = T.from($, $.offset, $.byteLength)), !T.isBuffer(O) || !T.isBuffer($))
|
|
26025
26026
|
throw new TypeError(
|
|
26026
26027
|
'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
|
|
26027
26028
|
);
|
|
@@ -26063,7 +26064,7 @@ var QM = { exports: {} }, k_ = {}, Ii = {};
|
|
|
26063
26064
|
let se = 0;
|
|
26064
26065
|
for (V = 0; V < O.length; ++V) {
|
|
26065
26066
|
let ge = O[V];
|
|
26066
|
-
if (
|
|
26067
|
+
if (Ze(ge, S))
|
|
26067
26068
|
se + ge.length > ee.length ? (T.isBuffer(ge) || (ge = T.from(ge)), ge.copy(ee, se)) : S.prototype.set.call(
|
|
26068
26069
|
ee,
|
|
26069
26070
|
ge,
|
|
@@ -26080,7 +26081,7 @@ var QM = { exports: {} }, k_ = {}, Ii = {};
|
|
|
26080
26081
|
function H(N, O) {
|
|
26081
26082
|
if (T.isBuffer(N))
|
|
26082
26083
|
return N.length;
|
|
26083
|
-
if (w.isView(N) ||
|
|
26084
|
+
if (w.isView(N) || Ze(N, w))
|
|
26084
26085
|
return N.byteLength;
|
|
26085
26086
|
if (typeof N != "string")
|
|
26086
26087
|
throw new TypeError(
|
|
@@ -26179,7 +26180,7 @@ var QM = { exports: {} }, k_ = {}, Ii = {};
|
|
|
26179
26180
|
const $ = f.INSPECT_MAX_BYTES;
|
|
26180
26181
|
return O = this.toString("hex", 0, $).replace(/(.{2})/g, "$1 ").trim(), this.length > $ && (O += " ... "), "<Buffer " + O + ">";
|
|
26181
26182
|
}, C && (T.prototype[C] = T.prototype.inspect), T.prototype.compare = function(O, $, V, ee, se) {
|
|
26182
|
-
if (
|
|
26183
|
+
if (Ze(O, S) && (O = T.from(O, O.offset, O.byteLength)), !T.isBuffer(O))
|
|
26183
26184
|
throw new TypeError(
|
|
26184
26185
|
'The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof O
|
|
26185
26186
|
);
|
|
@@ -26193,8 +26194,8 @@ var QM = { exports: {} }, k_ = {}, Ii = {};
|
|
|
26193
26194
|
return 1;
|
|
26194
26195
|
if ($ >>>= 0, V >>>= 0, ee >>>= 0, se >>>= 0, this === O) return 0;
|
|
26195
26196
|
let ge = se - ee, De = V - $;
|
|
26196
|
-
const
|
|
26197
|
-
for (let ue = 0; ue <
|
|
26197
|
+
const et = Math.min(ge, De), nt = this.slice(ee, se), K = O.slice($, V);
|
|
26198
|
+
for (let ue = 0; ue < et; ++ue)
|
|
26198
26199
|
if (nt[ue] !== K[ue]) {
|
|
26199
26200
|
ge = nt[ue], De = K[ue];
|
|
26200
26201
|
break;
|
|
@@ -26222,14 +26223,14 @@ var QM = { exports: {} }, k_ = {}, Ii = {};
|
|
|
26222
26223
|
return -1;
|
|
26223
26224
|
se = 2, ge /= 2, De /= 2, $ /= 2;
|
|
26224
26225
|
}
|
|
26225
|
-
function
|
|
26226
|
+
function et(K, ue) {
|
|
26226
26227
|
return se === 1 ? K[ue] : K.readUInt16BE(ue * se);
|
|
26227
26228
|
}
|
|
26228
26229
|
let nt;
|
|
26229
26230
|
if (ee) {
|
|
26230
26231
|
let K = -1;
|
|
26231
26232
|
for (nt = $; nt < ge; nt++)
|
|
26232
|
-
if (
|
|
26233
|
+
if (et(N, nt) === et(O, K === -1 ? 0 : nt - K)) {
|
|
26233
26234
|
if (K === -1 && (K = nt), nt - K + 1 === De) return K * se;
|
|
26234
26235
|
} else
|
|
26235
26236
|
K !== -1 && (nt -= nt - K), K = -1;
|
|
@@ -26237,7 +26238,7 @@ var QM = { exports: {} }, k_ = {}, Ii = {};
|
|
|
26237
26238
|
for ($ + De > ge && ($ = ge - De), nt = $; nt >= 0; nt--) {
|
|
26238
26239
|
let K = !0;
|
|
26239
26240
|
for (let ue = 0; ue < De; ue++)
|
|
26240
|
-
if (
|
|
26241
|
+
if (et(N, nt + ue) !== et(O, ue)) {
|
|
26241
26242
|
K = !1;
|
|
26242
26243
|
break;
|
|
26243
26244
|
}
|
|
@@ -26333,19 +26334,19 @@ var QM = { exports: {} }, k_ = {}, Ii = {};
|
|
|
26333
26334
|
const se = N[ee];
|
|
26334
26335
|
let ge = null, De = se > 239 ? 4 : se > 223 ? 3 : se > 191 ? 2 : 1;
|
|
26335
26336
|
if (ee + De <= $) {
|
|
26336
|
-
let
|
|
26337
|
+
let et, nt, K, ue;
|
|
26337
26338
|
switch (De) {
|
|
26338
26339
|
case 1:
|
|
26339
26340
|
se < 128 && (ge = se);
|
|
26340
26341
|
break;
|
|
26341
26342
|
case 2:
|
|
26342
|
-
|
|
26343
|
+
et = N[ee + 1], (et & 192) === 128 && (ue = (se & 31) << 6 | et & 63, ue > 127 && (ge = ue));
|
|
26343
26344
|
break;
|
|
26344
26345
|
case 3:
|
|
26345
|
-
|
|
26346
|
+
et = N[ee + 1], nt = N[ee + 2], (et & 192) === 128 && (nt & 192) === 128 && (ue = (se & 15) << 12 | (et & 63) << 6 | nt & 63, ue > 2047 && (ue < 55296 || ue > 57343) && (ge = ue));
|
|
26346
26347
|
break;
|
|
26347
26348
|
case 4:
|
|
26348
|
-
|
|
26349
|
+
et = N[ee + 1], nt = N[ee + 2], K = N[ee + 3], (et & 192) === 128 && (nt & 192) === 128 && (K & 192) === 128 && (ue = (se & 15) << 18 | (et & 63) << 12 | (nt & 63) << 6 | K & 63, ue > 65535 && ue < 1114112 && (ge = ue));
|
|
26349
26350
|
}
|
|
26350
26351
|
}
|
|
26351
26352
|
ge === null ? (ge = 65533, De = 1) : ge > 65535 && (ge -= 65536, V.push(ge >>> 10 & 1023 | 55296), ge = 56320 | ge & 1023), V.push(ge), ee += De;
|
|
@@ -26540,8 +26541,8 @@ var QM = { exports: {} }, k_ = {}, Ii = {};
|
|
|
26540
26541
|
return Se(this, O, $, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
26541
26542
|
}), T.prototype.writeIntLE = function(O, $, V, ee) {
|
|
26542
26543
|
if (O = +O, $ = $ >>> 0, !ee) {
|
|
26543
|
-
const
|
|
26544
|
-
ve(this, O, $, V,
|
|
26544
|
+
const et = Math.pow(2, 8 * V - 1);
|
|
26545
|
+
ve(this, O, $, V, et - 1, -et);
|
|
26545
26546
|
}
|
|
26546
26547
|
let se = 0, ge = 1, De = 0;
|
|
26547
26548
|
for (this[$] = O & 255; ++se < V && (ge *= 256); )
|
|
@@ -26549,8 +26550,8 @@ var QM = { exports: {} }, k_ = {}, Ii = {};
|
|
|
26549
26550
|
return $ + V;
|
|
26550
26551
|
}, T.prototype.writeIntBE = function(O, $, V, ee) {
|
|
26551
26552
|
if (O = +O, $ = $ >>> 0, !ee) {
|
|
26552
|
-
const
|
|
26553
|
-
ve(this, O, $, V,
|
|
26553
|
+
const et = Math.pow(2, 8 * V - 1);
|
|
26554
|
+
ve(this, O, $, V, et - 1, -et);
|
|
26554
26555
|
}
|
|
26555
26556
|
let se = V - 1, ge = 1, De = 0;
|
|
26556
26557
|
for (this[$ + se] = O & 255; --se >= 0 && (ge *= 256); )
|
|
@@ -26791,7 +26792,7 @@ var QM = { exports: {} }, k_ = {}, Ii = {};
|
|
|
26791
26792
|
O[ee + $] = N[ee];
|
|
26792
26793
|
return ee;
|
|
26793
26794
|
}
|
|
26794
|
-
function
|
|
26795
|
+
function Ze(N, O) {
|
|
26795
26796
|
return N instanceof O || N != null && N.constructor != null && N.constructor.name != null && N.constructor.name === O.name;
|
|
26796
26797
|
}
|
|
26797
26798
|
function ft(N) {
|
|
@@ -35485,7 +35486,7 @@ async function KB() {
|
|
|
35485
35486
|
const XB = {
|
|
35486
35487
|
id: "sense_editor/mode/worker",
|
|
35487
35488
|
src: KB
|
|
35488
|
-
}, { TextHighlightRules: YB } =
|
|
35489
|
+
}, { TextHighlightRules: YB } = Je.acequire("ace/mode/text_highlight_rules"), QB = Je.acequire("ace/lib/oop"), bp = function() {
|
|
35489
35490
|
const o = this.createKeywordMapper(
|
|
35490
35491
|
{
|
|
35491
35492
|
keyword: ["describe|between|in|like|not|and|or|desc|select|from|where|having|group|by|order|asc|desc|pivot|for|in|as|show|columns|include|frozen|tables|escape|limit|rlike|all|distinct|is", "avg|count|first|first_value|last|last_value|max|min|sum|kurtosis|mad|percentile|percentile_rank|skewness|stddev_pop|sum_of_squares|var_pop|histogram|case|coalesce|greatest|ifnull|iif|isnull|least|nullif|nvl|curdate|current_date|current_time|current_timestamp|curtime|dateadd|datediff|datepart|datetrunc|date_add|date_diff|date_part|date_trunc|day|dayname|dayofmonth|dayofweek|dayofyear|day_name|day_of_month|day_of_week|day_of_year|dom|dow|doy|hour|hour_of_day|idow|isodayofweek|isodow|isoweek|isoweekofyear|iso_day_of_week|iso_week_of_year|iw|iwoy|minute|minute_of_day|minute_of_hour|month|monthname|month_name|month_of_year|now|quarter|second|second_of_minute|timestampadd|timestampdiff|timestamp_add|timestamp_diff|today|week|week_of_year|year|abs|acos|asin|atan|atan2|cbrt|ceil|ceiling|cos|cosh|cot|degrees|e|exp|expm1|floor|log|log10|mod|pi|power|radians|rand|random|round|sign|signum|sin|sinh|sqrt|tan|truncate|ascii|bit_length|char|character_length|char_length|concat|insert|lcase|left|length|locate|ltrim|octet_length|position|repeat|replace|right|rtrim|space|substring|ucase|cast|convert|database|user|st_astext|st_aswkt|st_distance|st_geometrytype|st_geomfromtext|st_wkttosql|st_x|st_y|st_z|score", "true|false", "null|boolean|byte|short|integer|long|double|float|half_float|scaled_float|keyword|text|binary|date|ip|object|nested|time|interval_year|interval_month|interval_day|interval_hour|interval_minute|interval_second|interval_year_to_monthinteval_day_to_hour|interval_day_to_minute|interval_day_to_second|interval_hour_to_minute|interval_hour_to_secondinterval_minute_to_second|geo_point|geo_shape|shape"].join("|")
|
|
@@ -35548,7 +35549,7 @@ const XB = {
|
|
|
35548
35549
|
}, this.normalizeRules();
|
|
35549
35550
|
};
|
|
35550
35551
|
QB.inherits(bp, YB);
|
|
35551
|
-
const JB =
|
|
35552
|
+
const JB = Je.acequire("ace/lib/oop"), { TextHighlightRules: ZB } = Je.acequire("ace/mode/text_highlight_rules"), e4 = "def|int|long|byte|String|float|double|char|null|if|else|while|do|for|continue|break|new|try|catch|throw|this|instanceof|return|ctx";
|
|
35552
35553
|
function _p() {
|
|
35553
35554
|
this.name = "ScriptHighlightRules", this.$rules = {
|
|
35554
35555
|
start: [
|
|
@@ -35607,7 +35608,7 @@ function _p() {
|
|
|
35607
35608
|
};
|
|
35608
35609
|
}
|
|
35609
35610
|
JB.inherits(_p, ZB);
|
|
35610
|
-
const { JsonHighlightRules: t4 } =
|
|
35611
|
+
const { JsonHighlightRules: t4 } = Je.acequire("ace/mode/json_highlight_rules"), n4 = Je.acequire("ace/lib/oop"), lC = function(e) {
|
|
35611
35612
|
e = e || "json";
|
|
35612
35613
|
const t = {}, n = [
|
|
35613
35614
|
{
|
|
@@ -35770,7 +35771,7 @@ async function r4() {
|
|
|
35770
35771
|
const o4 = {
|
|
35771
35772
|
id: "ace/mode/json_worker",
|
|
35772
35773
|
src: r4
|
|
35773
|
-
}, { WorkerClient: i4 } =
|
|
35774
|
+
}, { WorkerClient: i4 } = Je.acequire("ace/worker/worker_client"), a4 = Je.acequire("ace/lib/oop"), { Mode: s4 } = Je.acequire("ace/mode/json"), { Tokenizer: l4 } = Je.acequire("ace/tokenizer"), { MatchingBraceOutdent: c4 } = Je.acequire("ace/mode/matching_brace_outdent"), { CstyleBehaviour: u4 } = Je.acequire("ace/mode/behaviour/cstyle"), { FoldMode: f4 } = Je.acequire("ace/mode/folding/cstyle"), fC = function() {
|
|
35774
35775
|
const t = new cC();
|
|
35775
35776
|
t.normalizeRules(), this.$tokenizer = new l4(t.getRules()), this.$outdent = new c4(), this.$behaviour = new u4(), this.foldingRules = new f4();
|
|
35776
35777
|
};
|
|
@@ -35792,7 +35793,7 @@ function Kt(e, t, n, r) {
|
|
|
35792
35793
|
function ri() {
|
|
35793
35794
|
return [].concat.apply([], arguments);
|
|
35794
35795
|
}
|
|
35795
|
-
const d4 =
|
|
35796
|
+
const d4 = Je.acequire("ace/lib/oop"), { TextHighlightRules: p4 } = Je.acequire("ace/mode/text_highlight_rules");
|
|
35796
35797
|
function wp() {
|
|
35797
35798
|
const e = "describe|between|in|like|not|and|or|desc|select|from|where|having|group|by|order|asc|desc|pivot|for|in|as|show|columns|include|frozen|tables|escape|limit|rlike|all|distinct|is", t = "true|false", n = "avg|count|first|first_value|last|last_value|max|min|sum|kurtosis|mad|percentile|percentile_rank|skewness|stddev_pop|sum_of_squares|var_pop|histogram|case|coalesce|greatest|ifnull|iif|isnull|least|nullif|nvl|curdate|current_date|current_time|current_timestamp|curtime|dateadd|datediff|datepart|datetrunc|date_add|date_diff|date_part|date_trunc|day|dayname|dayofmonth|dayofweek|dayofyear|day_name|day_of_month|day_of_week|day_of_year|dom|dow|doy|hour|hour_of_day|idow|isodayofweek|isodow|isoweek|isoweekofyear|iso_day_of_week|iso_week_of_year|iw|iwoy|minute|minute_of_day|minute_of_hour|month|monthname|month_name|month_of_year|now|quarter|second|second_of_minute|timestampadd|timestampdiff|timestamp_add|timestamp_diff|today|week|week_of_year|year|abs|acos|asin|atan|atan2|cbrt|ceil|ceiling|cos|cosh|cot|degrees|e|exp|expm1|floor|log|log10|mod|pi|power|radians|rand|random|round|sign|signum|sin|sinh|sqrt|tan|truncate|ascii|bit_length|char|character_length|char_length|concat|insert|lcase|left|length|locate|ltrim|octet_length|position|repeat|replace|right|rtrim|space|substring|ucase|cast|convert|database|user|st_astext|st_aswkt|st_distance|st_geometrytype|st_geomfromtext|st_wkttosql|st_x|st_y|st_z|score", r = "null|boolean|byte|short|integer|long|double|float|half_float|scaled_float|keyword|text|binary|date|ip|object|nested|time|interval_year|interval_month|interval_day|interval_hour|interval_minute|interval_second|interval_year_to_monthinteval_day_to_hour|interval_day_to_minute|interval_day_to_second|interval_hour_to_minute|interval_hour_to_secondinterval_minute_to_second|geo_point|geo_shape|shape";
|
|
35798
35799
|
this.createKeywordMapper(
|
|
@@ -35867,7 +35868,7 @@ function wp() {
|
|
|
35867
35868
|
}, uC(this), this.constructor === wp && this.normalizeRules();
|
|
35868
35869
|
}
|
|
35869
35870
|
d4.inherits(wp, p4);
|
|
35870
|
-
const h4 =
|
|
35871
|
+
const h4 = Je.acequire("ace/lib/oop"), { TextHighlightRules: m4 } = Je.acequire("ace/mode/text_highlight_rules"), g4 = "def|int|long|byte|String|float|double|char|null|if|else|while|do|for|continue|break|new|try|catch|throw|this|instanceof|return|ctx";
|
|
35871
35872
|
function dC() {
|
|
35872
35873
|
this.name = "ScriptHighlightRules", this.$rules = {
|
|
35873
35874
|
start: [
|
|
@@ -35926,8 +35927,8 @@ function dC() {
|
|
|
35926
35927
|
};
|
|
35927
35928
|
}
|
|
35928
35929
|
h4.inherits(dC, m4);
|
|
35929
|
-
const v4 =
|
|
35930
|
-
|
|
35930
|
+
const v4 = Je.acequire("ace/lib/oop"), y4 = Je.acequire("ace/mode/text").Mode;
|
|
35931
|
+
Je.acequire("ace/tokenizer");
|
|
35931
35932
|
function Cp() {
|
|
35932
35933
|
}
|
|
35933
35934
|
v4.inherits(Cp, y4);
|
|
@@ -35941,7 +35942,7 @@ v4.inherits(Cp, y4);
|
|
|
35941
35942
|
this.$outdent.autoOutdent(t, n);
|
|
35942
35943
|
};
|
|
35943
35944
|
}).call(Cp.prototype);
|
|
35944
|
-
const b4 =
|
|
35945
|
+
const b4 = Je.acequire("ace/lib/oop"), _4 = Je.acequire("ace/mode/text").Mode, w4 = Je.acequire("ace/mode/matching_brace_outdent").MatchingBraceOutdent, C4 = Je.acequire("ace/mode/behaviour/cstyle").CstyleBehaviour, x4 = Je.acequire("ace/mode/folding/cstyle").FoldMode, S4 = Je.acequire("ace/worker/worker_client").WorkerClient, E4 = Je.acequire("ace/tokenizer").Tokenizer;
|
|
35945
35946
|
function xp() {
|
|
35946
35947
|
this.$tokenizer = new E4(new wp().getRules()), this.$outdent = new w4(), this.$behaviour = new C4(), this.foldingRules = new x4(), this.createModeDelegates({
|
|
35947
35948
|
"script-": Cp
|
|
@@ -35973,7 +35974,7 @@ b4.inherits(xp, _4);
|
|
|
35973
35974
|
}).call(xp.prototype);
|
|
35974
35975
|
var la = { exports: {} };
|
|
35975
35976
|
(function() {
|
|
35976
|
-
|
|
35977
|
+
Je.define(
|
|
35977
35978
|
"ace/autocomplete/text_completer",
|
|
35978
35979
|
["require", "exports", "module"],
|
|
35979
35980
|
function(n, r) {
|
|
@@ -35981,7 +35982,7 @@ var la = { exports: {} };
|
|
|
35981
35982
|
l(null, []);
|
|
35982
35983
|
};
|
|
35983
35984
|
}
|
|
35984
|
-
),
|
|
35985
|
+
), Je.acequire("ace/ext/language_tools").setCompleters(
|
|
35985
35986
|
//addCompleters
|
|
35986
35987
|
[
|
|
35987
35988
|
{
|
|
@@ -36000,7 +36001,7 @@ var la = { exports: {} };
|
|
|
36000
36001
|
]
|
|
36001
36002
|
);
|
|
36002
36003
|
})();
|
|
36003
|
-
const O4 =
|
|
36004
|
+
const O4 = Je.acequire("ace/range").Range, Es = ({ start: e, end: t }) => new O4(
|
|
36004
36005
|
e.lineNumber - 1,
|
|
36005
36006
|
e.column - 1,
|
|
36006
36007
|
t.lineNumber - 1,
|
|
@@ -36158,16 +36159,15 @@ class R4 {
|
|
|
36158
36159
|
}
|
|
36159
36160
|
forceRetokenize() {
|
|
36160
36161
|
const t = this.editor.getSession();
|
|
36161
|
-
return new Promise((n) => {
|
|
36162
|
+
return console.log(333333, t, this.editor), new Promise((n) => {
|
|
36162
36163
|
setTimeout(function() {
|
|
36163
36164
|
let r;
|
|
36164
36165
|
for (r = 0; r < t.getLength(); r++)
|
|
36165
|
-
t.getTokens(r);
|
|
36166
|
+
console.log(4444444, r, t.getTokens), t.getTokens(r);
|
|
36166
36167
|
n();
|
|
36167
36168
|
});
|
|
36168
36169
|
});
|
|
36169
36170
|
}
|
|
36170
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
36171
36171
|
DO_NOT_USE_onPaste(t) {
|
|
36172
36172
|
if (t && CM(t)) {
|
|
36173
36173
|
const n = xM(t);
|
|
@@ -36253,7 +36253,7 @@ class R4 {
|
|
|
36253
36253
|
}
|
|
36254
36254
|
(la.exports == null ? {} : la.exports).default || la.exports;
|
|
36255
36255
|
(la.exports == null ? {} : la.exports).getCompletions;
|
|
36256
|
-
const $4 =
|
|
36256
|
+
const $4 = Je.acequire("ace/lib/oop"), T4 = Je.acequire("ace/mode/json_highlight_rules").JsonHighlightRules;
|
|
36257
36257
|
function Sp() {
|
|
36258
36258
|
this.$rules = {}, uC(this, "start"), this.$rules.start.unshift(
|
|
36259
36259
|
{
|
|
@@ -36267,9 +36267,9 @@ function Sp() {
|
|
|
36267
36267
|
), this.constructor === Sp && this.normalizeRules();
|
|
36268
36268
|
}
|
|
36269
36269
|
$4.inherits(Sp, T4);
|
|
36270
|
-
const P4 =
|
|
36271
|
-
|
|
36272
|
-
const M4 =
|
|
36270
|
+
const P4 = Je.acequire("ace/lib/oop"), N4 = Je.acequire("ace/mode/json").Mode, I4 = Je.acequire("ace/mode/matching_brace_outdent").MatchingBraceOutdent, A4 = Je.acequire("ace/mode/behaviour/cstyle").CstyleBehaviour, j4 = Je.acequire("ace/mode/folding/cstyle").FoldMode;
|
|
36271
|
+
Je.acequire("ace/worker/worker_client");
|
|
36272
|
+
const M4 = Je.acequire("ace/tokenizer").Tokenizer;
|
|
36273
36273
|
function Ep() {
|
|
36274
36274
|
this.$tokenizer = new M4(new Sp().getRules()), this.$outdent = new I4(), this.$behaviour = new A4(), this.foldingRules = new j4();
|
|
36275
36275
|
}
|
|
@@ -36280,7 +36280,7 @@ P4.inherits(Ep, N4);
|
|
|
36280
36280
|
}, this.$id = "sense/mode/input";
|
|
36281
36281
|
}).call(Ep.prototype);
|
|
36282
36282
|
function k4(e) {
|
|
36283
|
-
const t =
|
|
36283
|
+
const t = Je.acequire("ace/ace").edit(e), n = new Ep();
|
|
36284
36284
|
return t.$blockScrolling = 1 / 0, t.resize = P_(t), t.update = (r, o, i) => {
|
|
36285
36285
|
typeof o == "function" && (i = o, o = void 0);
|
|
36286
36286
|
const a = t.getSession();
|
|
@@ -37090,8 +37090,9 @@ const tz = {
|
|
|
37090
37090
|
services: { settings: x }
|
|
37091
37091
|
} = Rp();
|
|
37092
37092
|
tt(() => {
|
|
37093
|
-
|
|
37094
|
-
|
|
37093
|
+
console.log(55555, s.current, s.current, Je);
|
|
37094
|
+
const f = Je.edit(s.current);
|
|
37095
|
+
console.log(666666, f), d.current = f;
|
|
37095
37096
|
const m = new R4(
|
|
37096
37097
|
f,
|
|
37097
37098
|
l.current
|
|
@@ -37124,7 +37125,7 @@ const tz = {
|
|
|
37124
37125
|
function E() {
|
|
37125
37126
|
try {
|
|
37126
37127
|
const w = b.getCoreEditor().getValue();
|
|
37127
|
-
n(w);
|
|
37128
|
+
console.log(121212, w), n(w);
|
|
37128
37129
|
} catch (w) {
|
|
37129
37130
|
console.error(w);
|
|
37130
37131
|
}
|
|
@@ -38083,7 +38084,7 @@ const Cz = ({ status: e, size: t = 14 }) => {
|
|
|
38083
38084
|
tabBarExtraContent: o,
|
|
38084
38085
|
renderTabBarItemIcon: i,
|
|
38085
38086
|
addTab: a,
|
|
38086
|
-
|
|
38087
|
+
updateTabData: s,
|
|
38087
38088
|
sendRequestToES: l,
|
|
38088
38089
|
...c
|
|
38089
38090
|
}) => {
|
|
@@ -38360,8 +38361,8 @@ GET /.infini_k8sconfig/_doc/crgldsg2sdbfgjhp5l4g
|
|
|
38360
38361
|
newTabClick: l = () => {
|
|
38361
38362
|
console.warn("newTabClick function is null");
|
|
38362
38363
|
},
|
|
38363
|
-
|
|
38364
|
-
console.warn("
|
|
38364
|
+
updateTabData: c = () => {
|
|
38365
|
+
console.warn("updateTabData function is null");
|
|
38365
38366
|
},
|
|
38366
38367
|
sendRequestToES: u = () => {
|
|
38367
38368
|
console.warn("sendRequestToES function is null");
|
|
@@ -38454,7 +38455,7 @@ GET /.infini_k8sconfig/_doc/crgldsg2sdbfgjhp5l4g
|
|
|
38454
38455
|
tabData: o,
|
|
38455
38456
|
renderTabBarItemIcon: i,
|
|
38456
38457
|
addTab: a,
|
|
38457
|
-
|
|
38458
|
+
updateTabData: c,
|
|
38458
38459
|
sendRequestToES: u
|
|
38459
38460
|
}
|
|
38460
38461
|
)
|