@devtron-labs/devtron-fe-common-lib 0.0.83-beta-1 → 0.0.83-beta-2
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/{cssMode-602f9e2b.js → cssMode-d2dee8fa.js} +1 -1
- package/dist/{freemarker2-c6d96c25.js → freemarker2-3a003360.js} +1 -1
- package/dist/{handlebars-ba6a9670.js → handlebars-b2269272.js} +1 -1
- package/dist/{html-21cc7f4e.js → html-68940811.js} +1 -1
- package/dist/{htmlMode-85c08811.js → htmlMode-2133ab9c.js} +1 -1
- package/dist/{index-004be56e.js → index-d31ffffc.js} +159 -152
- package/dist/index.js +1 -1
- package/dist/{javascript-512904ad.js → javascript-4b48654a.js} +1 -1
- package/dist/{jsonMode-25c71cc4.js → jsonMode-8feec0cd.js} +1 -1
- package/dist/{liquid-558d7dd4.js → liquid-baf62c60.js} +1 -1
- package/dist/{mdx-4e8b75ad.js → mdx-c905cea2.js} +1 -1
- package/dist/{python-65d02f0b.js → python-3c034f19.js} +1 -1
- package/dist/{razor-eba1a8dd.js → razor-20fd2bef.js} +1 -1
- package/dist/{tsMode-36f87b75.js → tsMode-589e11f2.js} +1 -1
- package/dist/{typescript-74998c13.js → typescript-3f2f9023.js} +1 -1
- package/dist/{xml-388ad29b.js → xml-16a27948.js} +1 -1
- package/dist/{yaml-4e406163.js → yaml-1f9d4934.js} +1 -1
- package/package.json +1 -1
|
@@ -1147,7 +1147,7 @@ Check the top-level render call using <` + Ke + ">.");
|
|
|
1147
1147
|
q.ref !== null && (me(q), D("Invalid attribute `ref` supplied to `React.Fragment`."), me(null));
|
|
1148
1148
|
}
|
|
1149
1149
|
}
|
|
1150
|
-
function
|
|
1150
|
+
function ro(q, De, Ke, Ft, Ti, oi) {
|
|
1151
1151
|
{
|
|
1152
1152
|
var di = R(q);
|
|
1153
1153
|
if (!di) {
|
|
@@ -1178,10 +1178,10 @@ Check the top-level render call using <` + Ke + ">.");
|
|
|
1178
1178
|
}
|
|
1179
1179
|
}
|
|
1180
1180
|
function lc(q, De, Ke) {
|
|
1181
|
-
return
|
|
1181
|
+
return ro(q, De, Ke, !0);
|
|
1182
1182
|
}
|
|
1183
1183
|
function Qr(q, De, Ke) {
|
|
1184
|
-
return
|
|
1184
|
+
return ro(q, De, Ke, !1);
|
|
1185
1185
|
}
|
|
1186
1186
|
var cc = Qr, Da = lc;
|
|
1187
1187
|
n.jsx = cc, n.jsxs = Da;
|
|
@@ -8326,12 +8326,12 @@ function Bue(n, e) {
|
|
|
8326
8326
|
phase: "beforeWrite",
|
|
8327
8327
|
requires: ["computeStyles"],
|
|
8328
8328
|
fn: function(hr) {
|
|
8329
|
-
var
|
|
8329
|
+
var ro = hr.state;
|
|
8330
8330
|
if (E()) {
|
|
8331
8331
|
var lc = W(), Qr = lc.box;
|
|
8332
8332
|
["placement", "reference-hidden", "escaped"].forEach(function(cc) {
|
|
8333
|
-
cc === "placement" ? Qr.setAttribute("data-placement",
|
|
8334
|
-
}),
|
|
8333
|
+
cc === "placement" ? Qr.setAttribute("data-placement", ro.placement) : ro.attributes.popper["data-popper-" + cc] ? Qr.setAttribute("data-" + cc, "") : Qr.removeAttribute("data-" + cc);
|
|
8334
|
+
}), ro.attributes.popper = {};
|
|
8335
8335
|
}
|
|
8336
8336
|
}
|
|
8337
8337
|
}, Qn = [{
|
|
@@ -8448,8 +8448,8 @@ function Bue(n, e) {
|
|
|
8448
8448
|
var Qn;
|
|
8449
8449
|
if (!(!w.state.isVisible || c)) {
|
|
8450
8450
|
if (c = !0, L.offsetHeight, L.style.transition = w.props.moveTransition, E() && w.props.animation) {
|
|
8451
|
-
var ur = W(), hr = ur.box,
|
|
8452
|
-
wM([hr,
|
|
8451
|
+
var ur = W(), hr = ur.box, ro = ur.content;
|
|
8452
|
+
wM([hr, ro], Ot), E8([hr, ro], "visible");
|
|
8453
8453
|
}
|
|
8454
8454
|
ce(), fe(), N8(SM, w), (Qn = w.popperInstance) == null || Qn.forceUpdate(), ie("onMount", [w]), w.props.animation && E() && Pt(Ot, function() {
|
|
8455
8455
|
w.state.isShown = !0, ie("onShown", [w]);
|
|
@@ -13000,7 +13000,7 @@ const hC = hpe, DK = (n = {}) => ({
|
|
|
13000
13000
|
}), VXe = (n) => {
|
|
13001
13001
|
const { selectProps: e, data: t, showTippy: i, style: s, placement: o, tippyContent: r, tippyClass: a } = n;
|
|
13002
13002
|
e.styles.option = fpe(s);
|
|
13003
|
-
const l = () => /* @__PURE__ */ y.jsx("div", { onClick:
|
|
13003
|
+
const l = () => /* @__PURE__ */ y.jsx("div", { onClick: to, children: /* @__PURE__ */ y.jsx(Sd.Option, { ...n }) });
|
|
13004
13004
|
return i ? /* @__PURE__ */ y.jsx(
|
|
13005
13005
|
an,
|
|
13006
13006
|
{
|
|
@@ -13763,7 +13763,7 @@ const OK = (n) => {
|
|
|
13763
13763
|
const e = ii(null), [t, i] = Ue(!1), s = n.theme === fN.white, o = (C) => {
|
|
13764
13764
|
e.current = C, document.addEventListener("keydown", a);
|
|
13765
13765
|
}, r = (C) => {
|
|
13766
|
-
|
|
13766
|
+
to(C), e.current?.hide && (e.current.hide(), e.current = null, n.onClose && n.onClose()), i(!1);
|
|
13767
13767
|
}, a = (C) => {
|
|
13768
13768
|
C.keyCode === 27 && r(C);
|
|
13769
13769
|
}, l = (C) => {
|
|
@@ -14166,7 +14166,7 @@ const Ime = ({ className: n, hideGettingStartedCard: e }) => {
|
|
|
14166
14166
|
});
|
|
14167
14167
|
}, h = () => {
|
|
14168
14168
|
e(!o);
|
|
14169
|
-
}, g = () => /* @__PURE__ */ y.jsxs("div", { onClick:
|
|
14169
|
+
}, g = () => /* @__PURE__ */ y.jsxs("div", { onClick: to, className: "help-card__option help-card__link flex left cn-9", children: [
|
|
14170
14170
|
/* @__PURE__ */ y.jsx(Ome, {}),
|
|
14171
14171
|
/* @__PURE__ */ y.jsx(
|
|
14172
14172
|
Xne,
|
|
@@ -14630,10 +14630,17 @@ const Zme = (n) => /* @__PURE__ */ V.createElement("svg", { width: 16, height: 1
|
|
|
14630
14630
|
]
|
|
14631
14631
|
}
|
|
14632
14632
|
);
|
|
14633
|
-
return /* @__PURE__ */ y.jsx(b9, { className: "", close: o, children: /* @__PURE__ */ y.jsxs(
|
|
14634
|
-
|
|
14635
|
-
|
|
14636
|
-
|
|
14633
|
+
return /* @__PURE__ */ y.jsx(b9, { className: "", close: o, children: /* @__PURE__ */ y.jsxs(
|
|
14634
|
+
"div",
|
|
14635
|
+
{
|
|
14636
|
+
className: "feature-description modal__body w-600 mt-40 flex column p-0 fs-13 dc__overflow-hidden",
|
|
14637
|
+
onClick: to,
|
|
14638
|
+
children: [
|
|
14639
|
+
d(),
|
|
14640
|
+
u()
|
|
14641
|
+
]
|
|
14642
|
+
}
|
|
14643
|
+
) });
|
|
14637
14644
|
}, Xme = ({
|
|
14638
14645
|
additionalContainerClasses: n,
|
|
14639
14646
|
breadCrumbs: e,
|
|
@@ -14797,7 +14804,7 @@ function KI(n, e, t, i) {
|
|
|
14797
14804
|
let s = e[n], o = t[n];
|
|
14798
14805
|
return i && (s = s.toLowerCase(), o = o.toLowerCase()), s < o ? -1 : s > o ? 1 : 0;
|
|
14799
14806
|
}
|
|
14800
|
-
const
|
|
14807
|
+
const to = (n) => {
|
|
14801
14808
|
n.stopPropagation();
|
|
14802
14809
|
}, mJe = (n) => {
|
|
14803
14810
|
n.preventDefault();
|
|
@@ -15457,7 +15464,7 @@ class b9 extends Qt.Component {
|
|
|
15457
15464
|
this.escFunction = this.escFunction.bind(this);
|
|
15458
15465
|
}
|
|
15459
15466
|
escFunction(t) {
|
|
15460
|
-
|
|
15467
|
+
to(t), (t.keyCode === 27 || t.key === "Escape") && (this.props.onEscape ? this.props.onEscape(t) : this.props.close && this.props.close(t));
|
|
15461
15468
|
}
|
|
15462
15469
|
componentDidMount() {
|
|
15463
15470
|
document.addEventListener("keydown", this.escFunction), this.modalRef.classList.add(this.props.noBackground ? "show" : "show-with-bg"), __(!0), this.props.parentClassName && this.modalRef.classList.add(this.props.parentClassName);
|
|
@@ -15575,7 +15582,7 @@ class S0e extends Qt.Component {
|
|
|
15575
15582
|
this.escFunction = this.escFunction.bind(this);
|
|
15576
15583
|
}
|
|
15577
15584
|
escFunction(t) {
|
|
15578
|
-
|
|
15585
|
+
to(t), t.keyCode === 27 && this.props.close && this.props.close(t);
|
|
15579
15586
|
}
|
|
15580
15587
|
componentDidMount() {
|
|
15581
15588
|
document.addEventListener("keydown", this.escFunction), this.modalRef.classList.add("show-with-bg"), __(!0);
|
|
@@ -15992,12 +15999,12 @@ const kB = ({
|
|
|
15992
15999
|
}, b = (x) => {
|
|
15993
16000
|
h(x.target.value);
|
|
15994
16001
|
}, C = (x) => {
|
|
15995
|
-
|
|
16002
|
+
to(x);
|
|
15996
16003
|
const T = { ...e };
|
|
15997
16004
|
T[o] = x.currentTarget.dataset.key, T.propagate = x.currentTarget.dataset.propagate === "true", t(n, T), f("");
|
|
15998
16005
|
}, w = () => {
|
|
15999
16006
|
let x = { isValid: !0, messages: [] };
|
|
16000
|
-
return o === Kd.KEY ? (u || e.value) && (x = p.propagateTagKey(u)) : (s || u || e.propagate) && (x = p.propagateTagValue(u, e.key)), x.isValid ? null : /* @__PURE__ */ y.jsxs("div", { className: "p-4", onClick:
|
|
16007
|
+
return o === Kd.KEY ? (u || e.value) && (x = p.propagateTagKey(u)) : (s || u || e.propagate) && (x = p.propagateTagValue(u, e.key)), x.isValid ? null : /* @__PURE__ */ y.jsxs("div", { className: "p-4", onClick: to, "data-testid": "tag-label-cross-stop-propagation", children: [
|
|
16001
16008
|
x.messages.map((T) => /* @__PURE__ */ y.jsxs("div", { className: "flexbox pr-4 pl-4", children: [
|
|
16002
16009
|
/* @__PURE__ */ y.jsx("span", { children: /* @__PURE__ */ y.jsx(ry, { className: "icon-dim-14 scr-5 mt-3 mr-4" }) }),
|
|
16003
16010
|
/* @__PURE__ */ y.jsx("span", { children: T })
|
|
@@ -16078,7 +16085,7 @@ const kB = ({
|
|
|
16078
16085
|
suggestedTagsOptions: o
|
|
16079
16086
|
}) => {
|
|
16080
16087
|
const r = ii(null), a = ii(null), l = new XK(), c = (u) => {
|
|
16081
|
-
|
|
16088
|
+
to(u), i(n);
|
|
16082
16089
|
}, d = () => {
|
|
16083
16090
|
const u = { ...e };
|
|
16084
16091
|
u.propagate = !u.propagate, u.propagate ? (u.isInvalidKey = u.isInvalidKey || !u.key, u.isInvalidValue = u.isInvalidValue || !u.value) : (u.isInvalidKey = u.key || u.value ? !l.propagateTagKey(u.key).isValid : !1, u.isInvalidValue = u.value ? !l.propagateTagValue(u.value, u.key).isValid : !1), t(n, u);
|
|
@@ -17093,7 +17100,7 @@ const VN = (n) => /* @__PURE__ */ V.createElement("svg", { xmlns: "http://www.w3
|
|
|
17093
17100
|
}, Gr = (G) => {
|
|
17094
17101
|
G.target.value && Ai(G.target.value), ve(G.target.value);
|
|
17095
17102
|
}, se = (G) => {
|
|
17096
|
-
|
|
17103
|
+
to(G), Ie.trim() && Yt(Ie.trim());
|
|
17097
17104
|
}, J = () => {
|
|
17098
17105
|
let G = M;
|
|
17099
17106
|
Ie.trim() && (G = Yt(Ie)), nn(G);
|
|
@@ -17145,10 +17152,10 @@ const VN = (n) => /* @__PURE__ */ V.createElement("svg", { xmlns: "http://www.w3
|
|
|
17145
17152
|
isSoftDeleted: G?.deleted,
|
|
17146
17153
|
isEditing: S,
|
|
17147
17154
|
onSoftDeleteClick: (B) => {
|
|
17148
|
-
|
|
17155
|
+
to(B), We(k);
|
|
17149
17156
|
},
|
|
17150
17157
|
onHardDeleteClick: (B) => {
|
|
17151
|
-
|
|
17158
|
+
to(B), Ve(k);
|
|
17152
17159
|
},
|
|
17153
17160
|
tagId: G.id,
|
|
17154
17161
|
softDeleteTags: W,
|
|
@@ -17190,7 +17197,7 @@ const VN = (n) => /* @__PURE__ */ V.createElement("svg", { xmlns: "http://www.w3
|
|
|
17190
17197
|
className: "cta flex cancel h-32 lh-32-imp",
|
|
17191
17198
|
type: "button",
|
|
17192
17199
|
onClick: (G) => {
|
|
17193
|
-
|
|
17200
|
+
to(G), Pt();
|
|
17194
17201
|
},
|
|
17195
17202
|
disabled: re,
|
|
17196
17203
|
children: "Cancel"
|
|
@@ -17203,7 +17210,7 @@ const VN = (n) => /* @__PURE__ */ V.createElement("svg", { xmlns: "http://www.w3
|
|
|
17203
17210
|
"data-testid": "save-tags-button",
|
|
17204
17211
|
type: "button",
|
|
17205
17212
|
onClick: (G) => {
|
|
17206
|
-
|
|
17213
|
+
to(G), J();
|
|
17207
17214
|
},
|
|
17208
17215
|
disabled: re,
|
|
17209
17216
|
children: re ? /* @__PURE__ */ y.jsx(tc, {}) : "Save"
|
|
@@ -17225,10 +17232,10 @@ const VN = (n) => /* @__PURE__ */ V.createElement("svg", { xmlns: "http://www.w3
|
|
|
17225
17232
|
isSoftDeleted: G?.deleted,
|
|
17226
17233
|
isEditing: S,
|
|
17227
17234
|
onSoftDeleteClick: (B) => {
|
|
17228
|
-
|
|
17235
|
+
to(B), We(k);
|
|
17229
17236
|
},
|
|
17230
17237
|
onHardDeleteClick: (B) => {
|
|
17231
|
-
|
|
17238
|
+
to(B), Ve(k);
|
|
17232
17239
|
},
|
|
17233
17240
|
tagId: G.id,
|
|
17234
17241
|
softDeleteTags: W,
|
|
@@ -17247,7 +17254,7 @@ const VN = (n) => /* @__PURE__ */ V.createElement("svg", { xmlns: "http://www.w3
|
|
|
17247
17254
|
className: "icon-dim-16 image-tags-container-edit__icon cursor",
|
|
17248
17255
|
"data-testid": "edit-tags-icon",
|
|
17249
17256
|
onClick: (G) => {
|
|
17250
|
-
|
|
17257
|
+
to(G), ct();
|
|
17251
17258
|
}
|
|
17252
17259
|
}
|
|
17253
17260
|
) })
|
|
@@ -17307,7 +17314,7 @@ const VN = (n) => /* @__PURE__ */ V.createElement("svg", { xmlns: "http://www.w3
|
|
|
17307
17314
|
);
|
|
17308
17315
|
}, L_e = ({ handleEditClick: n }) => {
|
|
17309
17316
|
const e = (t) => {
|
|
17310
|
-
|
|
17317
|
+
to(t), n();
|
|
17311
17318
|
};
|
|
17312
17319
|
return /* @__PURE__ */ y.jsx("div", { className: "add-tag-button flex pt-12 pr-12", "data-testid": "add-tags-button", onClick: e, children: /* @__PURE__ */ y.jsxs("div", { className: "lh-16 flex", children: [
|
|
17313
17320
|
/* @__PURE__ */ y.jsx(jN, { className: "icon-dim-16 cn-6" }),
|
|
@@ -19844,7 +19851,7 @@ function lg(n, e = (t) => t) {
|
|
|
19844
19851
|
function MZ(n, e) {
|
|
19845
19852
|
return n.length > 0 ? n[0] : e;
|
|
19846
19853
|
}
|
|
19847
|
-
function
|
|
19854
|
+
function ao(n, e) {
|
|
19848
19855
|
let t = typeof e == "number" ? n : 0;
|
|
19849
19856
|
typeof e == "number" ? t = n : (t = 0, e = n);
|
|
19850
19857
|
const i = [];
|
|
@@ -20179,18 +20186,18 @@ var UM;
|
|
|
20179
20186
|
const n0 = "en";
|
|
20180
20187
|
let lx = !1, cx = !1, XI = !1, FZ = !1, N9 = !1, A9 = !1, BZ = !1, _S, JI = n0, Dj = n0, DIe, gl;
|
|
20181
20188
|
const Ua = typeof self == "object" ? self : typeof global == "object" ? global : {};
|
|
20182
|
-
let
|
|
20183
|
-
typeof Ua.vscode < "u" && typeof Ua.vscode.process < "u" ?
|
|
20184
|
-
const NIe = typeof ((UM =
|
|
20189
|
+
let lo;
|
|
20190
|
+
typeof Ua.vscode < "u" && typeof Ua.vscode.process < "u" ? lo = Ua.vscode.process : typeof process < "u" && (lo = process);
|
|
20191
|
+
const NIe = typeof ((UM = lo?.versions) === null || UM === void 0 ? void 0 : UM.electron) == "string", AIe = NIe && lo?.type === "renderer";
|
|
20185
20192
|
if (typeof navigator == "object" && !AIe)
|
|
20186
20193
|
gl = navigator.userAgent, lx = gl.indexOf("Windows") >= 0, cx = gl.indexOf("Macintosh") >= 0, A9 = (gl.indexOf("Macintosh") >= 0 || gl.indexOf("iPad") >= 0 || gl.indexOf("iPhone") >= 0) && !!navigator.maxTouchPoints && navigator.maxTouchPoints > 0, XI = gl.indexOf("Linux") >= 0, BZ = gl?.indexOf("Mobi") >= 0, N9 = !0, // This call _must_ be done in the file that calls `nls.getConfiguredDefaultLocale`
|
|
20187
20194
|
// to ensure that the NLS AMD Loader plugin has been loaded and configured.
|
|
20188
20195
|
// This is because the loader plugin decides what the default locale is based on
|
|
20189
20196
|
// how it's able to resolve the strings.
|
|
20190
20197
|
m({ key: "ensureLoaderPluginIsLoaded", comment: ["{Locked}"] }, "_"), _S = n0, JI = _S, Dj = navigator.language;
|
|
20191
|
-
else if (typeof
|
|
20192
|
-
lx =
|
|
20193
|
-
const n =
|
|
20198
|
+
else if (typeof lo == "object") {
|
|
20199
|
+
lx = lo.platform === "win32", cx = lo.platform === "darwin", XI = lo.platform === "linux", XI && lo.env.SNAP && lo.env.SNAP_REVISION, lo.env.CI || lo.env.BUILD_ARTIFACTSTAGINGDIRECTORY, _S = n0, JI = n0;
|
|
20200
|
+
const n = lo.env.VSCODE_NLS_CONFIG;
|
|
20194
20201
|
if (n)
|
|
20195
20202
|
try {
|
|
20196
20203
|
const e = JSON.parse(n), t = e.availableLanguages["*"];
|
|
@@ -20200,7 +20207,7 @@ else if (typeof ao == "object") {
|
|
|
20200
20207
|
FZ = !0;
|
|
20201
20208
|
} else
|
|
20202
20209
|
console.error("Unable to resolve platform.");
|
|
20203
|
-
const Os = lx, Dt = cx,
|
|
20210
|
+
const Os = lx, Dt = cx, so = XI, jl = FZ, Bg = N9, EIe = N9 && typeof Ua.importScripts == "function", Ql = A9, MIe = BZ, ld = gl, TIe = JI, kIe = typeof Ua.postMessage == "function" && !Ua.importScripts, jZ = (() => {
|
|
20204
20211
|
if (kIe) {
|
|
20205
20212
|
const n = [];
|
|
20206
20213
|
Ua.addEventListener("message", (t) => {
|
|
@@ -22541,7 +22548,7 @@ class SLe extends Vi {
|
|
|
22541
22548
|
}
|
|
22542
22549
|
}
|
|
22543
22550
|
const ILe = "Consolas, 'Courier New', monospace", LLe = "Menlo, Monaco, 'Courier New', monospace", xLe = "'Droid Sans Mono', 'monospace', monospace", nr = {
|
|
22544
|
-
fontFamily: Dt ? LLe :
|
|
22551
|
+
fontFamily: Dt ? LLe : so ? xLe : ILe,
|
|
22545
22552
|
fontWeight: "normal",
|
|
22546
22553
|
fontSize: Dt ? 12 : 14,
|
|
22547
22554
|
lineHeight: 0,
|
|
@@ -22790,7 +22797,7 @@ const ic = {
|
|
|
22790
22797
|
readOnlyMessage: ue(new hLe()),
|
|
22791
22798
|
renameOnType: ue(new Et(92, "renameOnType", !1, { description: m("renameOnType", "Controls whether the editor auto renames on type."), markdownDeprecationMessage: m("renameOnTypeDeprecate", "Deprecated, use `editor.linkedEditing` instead.") })),
|
|
22792
22799
|
renderControlCharacters: ue(new Et(93, "renderControlCharacters", !0, { description: m("renderControlCharacters", "Controls whether the editor should render control characters."), restricted: !0 })),
|
|
22793
|
-
renderFinalNewline: ue(new qi(94, "renderFinalNewline",
|
|
22800
|
+
renderFinalNewline: ue(new qi(94, "renderFinalNewline", so ? "dimmed" : "on", ["off", "on", "dimmed"], { description: m("renderFinalNewline", "Render last line number when the file ends with a newline.") })),
|
|
22794
22801
|
renderLineHighlight: ue(new qi(95, "renderLineHighlight", "line", ["none", "gutter", "line", "all"], {
|
|
22795
22802
|
enumDescriptions: [
|
|
22796
22803
|
"",
|
|
@@ -22821,7 +22828,7 @@ const ic = {
|
|
|
22821
22828
|
scrollPredominantAxis: ue(new Et(105, "scrollPredominantAxis", !0, { description: m("scrollPredominantAxis", "Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.") })),
|
|
22822
22829
|
selectionClipboard: ue(new Et(106, "selectionClipboard", !0, {
|
|
22823
22830
|
description: m("selectionClipboard", "Controls whether the Linux primary clipboard should be supported."),
|
|
22824
|
-
included:
|
|
22831
|
+
included: so
|
|
22825
22832
|
})),
|
|
22826
22833
|
selectionHighlight: ue(new Et(107, "selectionHighlight", !0, { description: m("selectionHighlight", "Controls whether the editor should highlight matches similar to the selection.") })),
|
|
22827
22834
|
selectOnLineNumbers: ue(new Et(108, "selectOnLineNumbers", !0)),
|
|
@@ -26704,7 +26711,7 @@ function _xe(n) {
|
|
|
26704
26711
|
function cd(n) {
|
|
26705
26712
|
return n.split(/\r\n|\r|\n/);
|
|
26706
26713
|
}
|
|
26707
|
-
function
|
|
26714
|
+
function no(n) {
|
|
26708
26715
|
for (let e = 0, t = n.length; e < t; e++) {
|
|
26709
26716
|
const i = n.charCodeAt(e);
|
|
26710
26717
|
if (i !== 32 && i !== 9)
|
|
@@ -28079,7 +28086,7 @@ const Ys = /* @__PURE__ */ new Map();
|
|
|
28079
28086
|
Ys.set("false", !1);
|
|
28080
28087
|
Ys.set("true", !0);
|
|
28081
28088
|
Ys.set("isMac", Dt);
|
|
28082
|
-
Ys.set("isLinux",
|
|
28089
|
+
Ys.set("isLinux", so);
|
|
28083
28090
|
Ys.set("isWindows", Os);
|
|
28084
28091
|
Ys.set("isWeb", Bg);
|
|
28085
28092
|
Ys.set("isMacNative", Dt && !Bg);
|
|
@@ -29715,7 +29722,7 @@ function lDe(n) {
|
|
|
29715
29722
|
case 59:
|
|
29716
29723
|
return 85;
|
|
29717
29724
|
case 60:
|
|
29718
|
-
if (
|
|
29725
|
+
if (so)
|
|
29719
29726
|
return 97;
|
|
29720
29727
|
break;
|
|
29721
29728
|
case 61:
|
|
@@ -30101,7 +30108,7 @@ function Aq() {
|
|
|
30101
30108
|
C === void 0 && (C = ODe(g, i)), C !== null && typeof w == "string" && (w = C.createHTML(""));
|
|
30102
30109
|
ar && ar($), Jt = $;
|
|
30103
30110
|
}
|
|
30104
|
-
}, ur = $t({}, ["mi", "mo", "mn", "ms", "mtext"]), hr = $t({}, ["foreignobject", "desc", "title", "annotation-xml"]),
|
|
30111
|
+
}, ur = $t({}, ["mi", "mo", "mn", "ms", "mtext"]), hr = $t({}, ["foreignobject", "desc", "title", "annotation-xml"]), ro = $t({}, ["title", "style", "font", "a", "script"]), lc = $t({}, JM);
|
|
30105
30112
|
$t(lc, $M), $t(lc, IDe);
|
|
30106
30113
|
const Qr = $t({}, eT);
|
|
30107
30114
|
$t(Qr, LDe);
|
|
@@ -30112,7 +30119,7 @@ function Aq() {
|
|
|
30112
30119
|
tagName: "template"
|
|
30113
30120
|
});
|
|
30114
30121
|
const je = sL($.tagName), sn = sL(Ee.tagName);
|
|
30115
|
-
return ae[$.namespaceURI] ? $.namespaceURI === Be ? Ee.namespaceURI === rt ? je === "svg" : Ee.namespaceURI === Re ? je === "svg" && (sn === "annotation-xml" || ur[sn]) : !!lc[je] : $.namespaceURI === Re ? Ee.namespaceURI === rt ? je === "math" : Ee.namespaceURI === Be ? je === "math" && hr[sn] : !!Qr[je] : $.namespaceURI === rt ? Ee.namespaceURI === Be && !hr[sn] || Ee.namespaceURI === Re && !ur[sn] ? !1 : !Qr[je] && (
|
|
30122
|
+
return ae[$.namespaceURI] ? $.namespaceURI === Be ? Ee.namespaceURI === rt ? je === "svg" : Ee.namespaceURI === Re ? je === "svg" && (sn === "annotation-xml" || ur[sn]) : !!lc[je] : $.namespaceURI === Re ? Ee.namespaceURI === rt ? je === "math" : Ee.namespaceURI === Be ? je === "math" && hr[sn] : !!Qr[je] : $.namespaceURI === rt ? Ee.namespaceURI === Be && !hr[sn] || Ee.namespaceURI === Re && !ur[sn] ? !1 : !Qr[je] && (ro[je] || !lc[je]) : !!(ze === "application/xhtml+xml" && ae[$.namespaceURI]) : !1;
|
|
30116
30123
|
}, Da = function($) {
|
|
30117
30124
|
t1(e.removed, {
|
|
30118
30125
|
element: $
|
|
@@ -35874,7 +35881,7 @@ class BAe {
|
|
|
35874
35881
|
}
|
|
35875
35882
|
}
|
|
35876
35883
|
function uO(n, e) {
|
|
35877
|
-
const t =
|
|
35884
|
+
const t = no(n);
|
|
35878
35885
|
return t === -1 ? e : t + 1;
|
|
35879
35886
|
}
|
|
35880
35887
|
function hO(n, e) {
|
|
@@ -38679,7 +38686,7 @@ function IEe(n, e, t, i) {
|
|
|
38679
38686
|
const s = n.continuesWithWrappedLine, o = n.fauxIndentLength, r = n.tabSize, a = n.startVisibleColumn, l = n.useMonospaceOptimizations, c = n.selectionsOnLine, d = n.renderWhitespace === 1, u = n.renderWhitespace === 3, h = n.renderSpaceWidth !== n.spaceWidth, g = [];
|
|
38680
38687
|
let f = 0, p = 0, _ = i[p].type, v = i[p].containsRTL, b = i[p].endIndex;
|
|
38681
38688
|
const C = i.length;
|
|
38682
|
-
let w = !1, S =
|
|
38689
|
+
let w = !1, S = no(e), L;
|
|
38683
38690
|
S === -1 ? (w = !0, S = t, L = t) : L = Vl(e);
|
|
38684
38691
|
let I = !1, D = 0, x = c && c[D], T = a % r;
|
|
38685
38692
|
for (let E = o; E < t; E++) {
|
|
@@ -40832,7 +40839,7 @@ function T_(n) {
|
|
|
40832
40839
|
return n === ra.DARK || n === ra.HIGH_CONTRAST_DARK;
|
|
40833
40840
|
}
|
|
40834
40841
|
const GTe = function() {
|
|
40835
|
-
return jl ? !0 : !(
|
|
40842
|
+
return jl ? !0 : !(so || fa || Ru);
|
|
40836
40843
|
}();
|
|
40837
40844
|
let G0 = !0;
|
|
40838
40845
|
class sV {
|
|
@@ -42497,7 +42504,7 @@ class Fx {
|
|
|
42497
42504
|
}
|
|
42498
42505
|
acceptStandardWheelEvent(e) {
|
|
42499
42506
|
const t = window.devicePixelRatio / Mxe();
|
|
42500
|
-
Os ||
|
|
42507
|
+
Os || so ? this.accept(Date.now(), e.deltaX / t, e.deltaY / t) : this.accept(Date.now(), e.deltaX, e.deltaY);
|
|
42501
42508
|
}
|
|
42502
42509
|
accept(e, t, i) {
|
|
42503
42510
|
const s = new l2e(e, t, i);
|
|
@@ -43848,7 +43855,7 @@ class Dy extends im {
|
|
|
43848
43855
|
this._renderResult = null;
|
|
43849
43856
|
return;
|
|
43850
43857
|
}
|
|
43851
|
-
const t =
|
|
43858
|
+
const t = so ? this._lineHeight % 2 === 0 ? " lh-even" : " lh-odd" : "", i = e.visibleRange.startLineNumber, s = e.visibleRange.endLineNumber, o = this._context.viewModel.getLineCount(), r = [];
|
|
43852
43859
|
for (let a = i; a <= s; a++) {
|
|
43853
43860
|
const l = a - i, c = this._getLineRenderLineNumber(a);
|
|
43854
43861
|
if (!c) {
|
|
@@ -44432,7 +44439,7 @@ function ske(n, e, t) {
|
|
|
44432
44439
|
return s;
|
|
44433
44440
|
}
|
|
44434
44441
|
function jx(n, e, t) {
|
|
44435
|
-
let i =
|
|
44442
|
+
let i = no(n);
|
|
44436
44443
|
return i === -1 && (i = n.length), ske(n.substring(0, i), e, t) + n.substring(i);
|
|
44437
44444
|
}
|
|
44438
44445
|
const oke = () => !0, rke = () => !1, ake = (n) => n === " " || n === " ";
|
|
@@ -45057,7 +45064,7 @@ class wp {
|
|
|
45057
45064
|
return e;
|
|
45058
45065
|
const s = e.getPosition();
|
|
45059
45066
|
if (i.useTabStops && s.column > 1) {
|
|
45060
|
-
const o = t.getLineContent(s.lineNumber), r =
|
|
45067
|
+
const o = t.getLineContent(s.lineNumber), r = no(o), a = r === -1 ? (
|
|
45061
45068
|
/* entire string is whitespace */
|
|
45062
45069
|
o.length + 1
|
|
45063
45070
|
) : r + 1;
|
|
@@ -46007,7 +46014,7 @@ let ia = fL = class {
|
|
|
46007
46014
|
for (let u = i; u <= s; u++, c = d) {
|
|
46008
46015
|
d = 0;
|
|
46009
46016
|
const h = e.getLineContent(u);
|
|
46010
|
-
let g =
|
|
46017
|
+
let g = no(h);
|
|
46011
46018
|
if (this._opts.isUnshift && (h.length === 0 || g === 0) || !l && !this._opts.isUnshift && h.length === 0)
|
|
46012
46019
|
continue;
|
|
46013
46020
|
if (g === -1 && (g = h.length), u > 1 && Bn.visibleColumnFromColumn(h, g + 1, o) % r !== 0 && e.tokenization.isCheapToTokenize(u - 1)) {
|
|
@@ -46031,7 +46038,7 @@ let ia = fL = class {
|
|
|
46031
46038
|
const c = a ? tf(" ", r) : " ";
|
|
46032
46039
|
for (let d = i; d <= s; d++) {
|
|
46033
46040
|
const u = e.getLineContent(d);
|
|
46034
|
-
let h =
|
|
46041
|
+
let h = no(u);
|
|
46035
46042
|
if (!(this._opts.isUnshift && (u.length === 0 || h === 0)) && !(!l && !this._opts.isUnshift && u.length === 0) && (h === -1 && (h = u.length), !(this._opts.isUnshift && h === 0)))
|
|
46036
46043
|
if (this._opts.isUnshift) {
|
|
46037
46044
|
h = Math.min(h, r);
|
|
@@ -46491,7 +46498,7 @@ class Wi {
|
|
|
46491
46498
|
}, e.languageConfigurationService);
|
|
46492
46499
|
if (l) {
|
|
46493
46500
|
let c = e.visibleColumnFromColumn(t, s.getEndPosition());
|
|
46494
|
-
const d = s.endColumn, u = t.getLineContent(s.endLineNumber), h =
|
|
46501
|
+
const d = s.endColumn, u = t.getLineContent(s.endLineNumber), h = no(u);
|
|
46495
46502
|
if (h >= 0 ? s = s.setEndPosition(s.endLineNumber, Math.max(s.endColumn, h + 1)) : s = s.setEndPosition(s.endLineNumber, t.getLineMaxColumn(s.endLineNumber)), i)
|
|
46496
46503
|
return new kS(s, `
|
|
46497
46504
|
` + e.normalizeIndentation(l.afterEnter), !0);
|
|
@@ -48560,7 +48567,7 @@ class Cke {
|
|
|
48560
48567
|
}
|
|
48561
48568
|
}
|
|
48562
48569
|
dispatchMouse(e) {
|
|
48563
|
-
const t = this.configuration.options, i =
|
|
48570
|
+
const t = this.configuration.options, i = so && t.get(
|
|
48564
48571
|
106
|
|
48565
48572
|
/* EditorOption.selectionClipboard */
|
|
48566
48573
|
), s = t.get(
|
|
@@ -50055,7 +50062,7 @@ class Eke extends rJ {
|
|
|
50055
50062
|
}
|
|
50056
50063
|
const b = this.getVisibleColumnFromPosition(_), C = this.getVisibleColumnFromPosition(h.openingBracketRange.getStartPosition()), w = Math.min(C, b, h.minVisibleColumnIndentation + 1);
|
|
50057
50064
|
let S = !1;
|
|
50058
|
-
|
|
50065
|
+
no(this.textModel.getLineContent(h.closingBracketRange.startLineNumber)) < h.closingBracketRange.startColumn - 1 && (S = !0);
|
|
50059
50066
|
const D = Math.max(p.lineNumber, e), x = Math.min(_.lineNumber, t), T = S ? 1 : 0;
|
|
50060
50067
|
for (let R = D; R < x + T; R++)
|
|
50061
50068
|
r[R - e].push(new Uf(w, -1, f, null, R === p.lineNumber ? p.column : -1, R === _.lineNumber ? _.column : -1));
|
|
@@ -50651,7 +50658,7 @@ class TA extends cr {
|
|
|
50651
50658
|
}, i.scrollType));
|
|
50652
50659
|
}
|
|
50653
50660
|
}
|
|
50654
|
-
if (this._updateLineWidthsFast() ? this._asyncUpdateLineWidths.cancel() : this._asyncUpdateLineWidths.schedule(),
|
|
50661
|
+
if (this._updateLineWidthsFast() ? this._asyncUpdateLineWidths.cancel() : this._asyncUpdateLineWidths.schedule(), so && !this._asyncCheckMonospaceFontAssumptions.isScheduled()) {
|
|
50655
50662
|
const i = this._visibleLines.getStartLineNumber(), s = this._visibleLines.getEndLineNumber();
|
|
50656
50663
|
for (let o = i; o <= s; o++)
|
|
50657
50664
|
if (this._visibleLines.getVisibleLine(o).needsMonospaceFontCheck()) {
|
|
@@ -53575,7 +53582,7 @@ class u4e extends im {
|
|
|
53575
53582
|
if (this._options.renderWhitespace === "selection" && !i || this._options.renderWhitespace === "trailing" && s.continuesWithWrappedLine)
|
|
53576
53583
|
return "";
|
|
53577
53584
|
const o = this._context.theme.getColor(pu), r = this._options.renderWithSVG, a = s.content, l = this._options.stopRenderingLineAfter === -1 ? a.length : Math.min(this._options.stopRenderingLineAfter, a.length), c = s.continuesWithWrappedLine, d = s.minColumn - 1, u = this._options.renderWhitespace === "boundary", h = this._options.renderWhitespace === "trailing", g = this._options.lineHeight, f = this._options.middotWidth, p = this._options.wsmiddotWidth, _ = this._options.spaceWidth, v = Math.abs(p - _), b = Math.abs(f - _), C = v < b ? 11825 : 183, w = this._options.canUseHalfwidthRightwardsArrow;
|
|
53578
|
-
let S = "", L = !1, I =
|
|
53585
|
+
let S = "", L = !1, I = no(a), D;
|
|
53579
53586
|
I === -1 ? (L = !0, I = l, D = l) : D = Vl(a);
|
|
53580
53587
|
let x = 0, T = i && i[x], R = 0;
|
|
53581
53588
|
for (let E = d; E < l; E++) {
|
|
@@ -57844,7 +57851,7 @@ class X0 extends K {
|
|
|
57844
57851
|
return this._pieceTree.getLineLength(e);
|
|
57845
57852
|
}
|
|
57846
57853
|
getLineFirstNonWhitespaceColumn(e) {
|
|
57847
|
-
const t =
|
|
57854
|
+
const t = no(this.getLineContent(e));
|
|
57848
57855
|
return t === -1 ? 0 : t + 1;
|
|
57849
57856
|
}
|
|
57850
57857
|
getLineLastNonWhitespaceColumn(e) {
|
|
@@ -57918,7 +57925,7 @@ class X0 extends K {
|
|
|
57918
57925
|
if (_.isAutoWhitespaceEdit && _.range.isEmpty())
|
|
57919
57926
|
for (let b = v.startLineNumber; b <= v.endLineNumber; b++) {
|
|
57920
57927
|
let C = "";
|
|
57921
|
-
b === v.startLineNumber && (C = this.getLineContent(_.range.startLineNumber),
|
|
57928
|
+
b === v.startLineNumber && (C = this.getLineContent(_.range.startLineNumber), no(C) !== -1) || u.push({ lineNumber: b, oldContent: C });
|
|
57922
57929
|
}
|
|
57923
57930
|
}
|
|
57924
57931
|
let h = null;
|
|
@@ -57947,7 +57954,7 @@ class X0 extends K {
|
|
|
57947
57954
|
if (p > 0 && u[p - 1].lineNumber === v)
|
|
57948
57955
|
continue;
|
|
57949
57956
|
const b = u[p].oldContent, C = this.getLineContent(v);
|
|
57950
|
-
C.length === 0 || C === b ||
|
|
57957
|
+
C.length === 0 || C === b || no(C) !== -1 || f.push(v);
|
|
57951
57958
|
}
|
|
57952
57959
|
}
|
|
57953
57960
|
return this._onDidChangeContent.fire(), new wAe(h, g, f);
|
|
@@ -63610,7 +63617,7 @@ let M3e = class extends K {
|
|
|
63610
63617
|
return this._lines.getViewLineMaxColumn(e);
|
|
63611
63618
|
}
|
|
63612
63619
|
getLineFirstNonWhitespaceColumn(e) {
|
|
63613
|
-
const t =
|
|
63620
|
+
const t = no(this.getLineContent(e));
|
|
63614
63621
|
return t === -1 ? 0 : t + 1;
|
|
63615
63622
|
}
|
|
63616
63623
|
getLineLastNonWhitespaceColumn(e) {
|
|
@@ -64401,7 +64408,7 @@ function GO(n, e, t, i, s) {
|
|
|
64401
64408
|
function RJ(n, e, t, i, s) {
|
|
64402
64409
|
let o = 0;
|
|
64403
64410
|
if (s !== 0) {
|
|
64404
|
-
const r =
|
|
64411
|
+
const r = no(n);
|
|
64405
64412
|
if (r !== -1) {
|
|
64406
64413
|
for (let l = 0; l < r; l++) {
|
|
64407
64414
|
const c = n.charCodeAt(l) === 9 ? nz(o, e) : 1;
|
|
@@ -64457,7 +64464,7 @@ function j3e(n, e, t, i, s, o, r) {
|
|
|
64457
64464
|
const T = Zl.applyInjectedText(n[x], r[x]);
|
|
64458
64465
|
let R = 0, E = 0, M = c;
|
|
64459
64466
|
if (s !== 0)
|
|
64460
|
-
if (R =
|
|
64467
|
+
if (R = no(T), R === -1)
|
|
64461
64468
|
R = 0;
|
|
64462
64469
|
else {
|
|
64463
64470
|
for (let X = 0; X < R; X++) {
|
|
@@ -67513,7 +67520,7 @@ function vz(n, e) {
|
|
|
67513
67520
|
if (typeof e == "string")
|
|
67514
67521
|
return n;
|
|
67515
67522
|
const t = function(i, s) {
|
|
67516
|
-
return RO(i, e.base, !
|
|
67523
|
+
return RO(i, e.base, !so) ? n(hy(i.substr(e.base.length), Wl), s) : null;
|
|
67517
67524
|
};
|
|
67518
67525
|
return t.allBasenames = n.allBasenames, t.allPaths = n.allPaths, t.basenames = n.basenames, t.patterns = n.patterns, t;
|
|
67519
67526
|
}
|
|
@@ -71283,9 +71290,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
71283
71290
|
var hr = dt.items.length;
|
|
71284
71291
|
for (Re = 0; Re < hr; Re++) {
|
|
71285
71292
|
this.lexer.state.top = !1, dt.items[Re].tokens = this.lexer.blockTokens(dt.items[Re].text, []);
|
|
71286
|
-
var
|
|
71293
|
+
var ro = dt.items[Re].tokens.filter(function(Qr) {
|
|
71287
71294
|
return Qr.type === "space";
|
|
71288
|
-
}), lc =
|
|
71295
|
+
}), lc = ro.every(function(Qr) {
|
|
71289
71296
|
for (var cc = Qr.raw.split(""), Da = 0, q = r(cc), De; !(De = q()).done; ) {
|
|
71290
71297
|
var Ke = De.value;
|
|
71291
71298
|
if (Ke === `
|
|
@@ -71294,7 +71301,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
71294
71301
|
}
|
|
71295
71302
|
return !1;
|
|
71296
71303
|
});
|
|
71297
|
-
!dt.loose &&
|
|
71304
|
+
!dt.loose && ro.length && lc && (dt.loose = !0, dt.items[Re].loose = !0);
|
|
71298
71305
|
}
|
|
71299
71306
|
return dt;
|
|
71300
71307
|
}
|
|
@@ -72077,12 +72084,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
72077
72084
|
continue;
|
|
72078
72085
|
}
|
|
72079
72086
|
default: {
|
|
72080
|
-
var
|
|
72087
|
+
var ro = 'Token with "' + me.type + '" type was not found.';
|
|
72081
72088
|
if (this.options.silent) {
|
|
72082
|
-
console.error(
|
|
72089
|
+
console.error(ro);
|
|
72083
72090
|
return;
|
|
72084
72091
|
} else
|
|
72085
|
-
throw new Error(
|
|
72092
|
+
throw new Error(ro);
|
|
72086
72093
|
}
|
|
72087
72094
|
}
|
|
72088
72095
|
}
|
|
@@ -73732,7 +73739,7 @@ class g$ {
|
|
|
73732
73739
|
this.list.setAnchor(t), this.list.reveal(t), this.view.domNode.focus();
|
|
73733
73740
|
}
|
|
73734
73741
|
onCtrlA(e) {
|
|
73735
|
-
e.preventDefault(), e.stopPropagation(), this.list.setSelection(
|
|
73742
|
+
e.preventDefault(), e.stopPropagation(), this.list.setSelection(ao(this.list.length), e.browserEvent), this.list.setAnchor(void 0), this.view.domNode.focus();
|
|
73736
73743
|
}
|
|
73737
73744
|
onEscape(e) {
|
|
73738
73745
|
this.list.getSelection().length && (e.preventDefault(), e.stopPropagation(), this.list.setSelection([], e.browserEvent), this.list.setAnchor(void 0), this.view.domNode.focus());
|
|
@@ -73906,7 +73913,7 @@ class m$ {
|
|
|
73906
73913
|
const d = this.list.getFocus()[0];
|
|
73907
73914
|
i = d ?? t, this.list.setAnchor(i);
|
|
73908
73915
|
}
|
|
73909
|
-
const s = Math.min(i, t), o = Math.max(i, t), r =
|
|
73916
|
+
const s = Math.min(i, t), o = Math.max(i, t), r = ao(s, o + 1), a = this.list.getSelection(), l = kPe(b3(a, [i]), i);
|
|
73910
73917
|
if (l.length === 0)
|
|
73911
73918
|
return;
|
|
73912
73919
|
const c = b3(r, OPe(a, l));
|
|
@@ -75606,7 +75613,7 @@ var GA = globalThis && globalThis.__decorate || function(n, e, t, i) {
|
|
|
75606
75613
|
});
|
|
75607
75614
|
};
|
|
75608
75615
|
function e9e(n, e, t, i) {
|
|
75609
|
-
const s = n.getActions(e), o = lu.getInstance(), r = o.keyStatus.altKey || (Os ||
|
|
75616
|
+
const s = n.getActions(e), o = lu.getInstance(), r = o.keyStatus.altKey || (Os || so) && o.keyStatus.shiftKey;
|
|
75610
75617
|
S$(s, t, r, i ? (a) => a === i : (a) => a === "navigation");
|
|
75611
75618
|
}
|
|
75612
75619
|
function y$(n, e, t, i, s, o) {
|
|
@@ -76104,7 +76111,7 @@ class i_ extends Ca {
|
|
|
76104
76111
|
ariaLabel: i.ariaLabel,
|
|
76105
76112
|
ariaRole: "menu",
|
|
76106
76113
|
focusOnlyEnabledItems: !0,
|
|
76107
|
-
triggerKeys: { keys: [3, ...Dt ||
|
|
76114
|
+
triggerKeys: { keys: [3, ...Dt || so ? [
|
|
76108
76115
|
10
|
|
76109
76116
|
/* KeyCode.Space */
|
|
76110
76117
|
] : []], keyDown: !0 }
|
|
@@ -76123,7 +76130,7 @@ class i_ extends Ca {
|
|
|
76123
76130
|
u && u.container && (this.focusItemByElement(u.container), d.push(u)), this.mnemonics.set(c, d);
|
|
76124
76131
|
}
|
|
76125
76132
|
}
|
|
76126
|
-
})),
|
|
76133
|
+
})), so && this._register(ee(o, be.KEY_DOWN, (l) => {
|
|
76127
76134
|
const c = new wi(l);
|
|
76128
76135
|
c.equals(
|
|
76129
76136
|
14
|
|
@@ -77358,7 +77365,7 @@ class h9e {
|
|
|
77358
77365
|
this._modelEventListeners.dispose();
|
|
77359
77366
|
}
|
|
77360
77367
|
}
|
|
77361
|
-
const g9e =
|
|
77368
|
+
const g9e = so || Dt ? 1 : 2;
|
|
77362
77369
|
class f9e {
|
|
77363
77370
|
constructor(e, t, i, s, o, r, a, l) {
|
|
77364
77371
|
this.uri = e, this.initialUndoRedoSnapshot = t, this.time = i, this.sharesUndoRedoStack = s, this.heapSize = o, this.sha1 = r, this.versionId = a, this.alternativeVersionId = l;
|
|
@@ -77641,7 +77648,7 @@ class v9e {
|
|
|
77641
77648
|
return this._model;
|
|
77642
77649
|
}
|
|
77643
77650
|
set model(e) {
|
|
77644
|
-
this._model = e, this.list.splice(0, this.list.length,
|
|
77651
|
+
this._model = e, this.list.splice(0, this.list.length, ao(e.length));
|
|
77645
77652
|
}
|
|
77646
77653
|
getFocus() {
|
|
77647
77654
|
return this.list.getFocus();
|
|
@@ -78085,7 +78092,7 @@ class x$ extends K {
|
|
|
78085
78092
|
typeof a == "number" && (r.size = Ko(Math.round(a * e / s), r.minimumSize, r.maximumSize));
|
|
78086
78093
|
}
|
|
78087
78094
|
} else {
|
|
78088
|
-
const s =
|
|
78095
|
+
const s = ao(this.viewItems.length), o = s.filter(
|
|
78089
78096
|
(a) => this.viewItems[a].priority === 1
|
|
78090
78097
|
/* LayoutPriority.Low */
|
|
78091
78098
|
), r = s.filter(
|
|
@@ -78115,7 +78122,7 @@ class x$ extends K {
|
|
|
78115
78122
|
}
|
|
78116
78123
|
let h, g;
|
|
78117
78124
|
if (!l) {
|
|
78118
|
-
const f =
|
|
78125
|
+
const f = ao(s, -1), p = ao(s + 1, this.viewItems.length), _ = f.reduce((D, x) => D + (this.viewItems[x].minimumSize - c[x]), 0), v = f.reduce((D, x) => D + (this.viewItems[x].viewMaximumSize - c[x]), 0), b = p.length === 0 ? Number.POSITIVE_INFINITY : p.reduce((D, x) => D + (c[x] - this.viewItems[x].minimumSize), 0), C = p.length === 0 ? Number.NEGATIVE_INFINITY : p.reduce((D, x) => D + (c[x] - this.viewItems[x].viewMaximumSize), 0), w = Math.max(_, C), S = Math.min(b, v), L = this.findFirstSnapIndex(f), I = this.findFirstSnapIndex(p);
|
|
78119
78126
|
if (typeof L == "number") {
|
|
78120
78127
|
const D = this.viewItems[L], x = Math.floor(D.viewMinimumSize / 2);
|
|
78121
78128
|
h = {
|
|
@@ -78167,7 +78174,7 @@ class x$ extends K {
|
|
|
78167
78174
|
throw new Error("Cant modify splitview");
|
|
78168
78175
|
if (this.state = Gd.Busy, e < 0 || e >= this.viewItems.length)
|
|
78169
78176
|
return;
|
|
78170
|
-
const i =
|
|
78177
|
+
const i = ao(this.viewItems.length).filter((a) => a !== e), s = [...i.filter(
|
|
78171
78178
|
(a) => this.viewItems[a].priority === 1
|
|
78172
78179
|
/* LayoutPriority.Low */
|
|
78173
78180
|
), e], o = i.filter(
|
|
@@ -78187,7 +78194,7 @@ class x$ extends K {
|
|
|
78187
78194
|
const i = Math.floor(t / e.length);
|
|
78188
78195
|
for (const a of e)
|
|
78189
78196
|
a.size = Ko(i, a.minimumSize, a.maximumSize);
|
|
78190
|
-
const s =
|
|
78197
|
+
const s = ao(this.viewItems.length), o = s.filter(
|
|
78191
78198
|
(a) => this.viewItems[a].priority === 1
|
|
78192
78199
|
/* LayoutPriority.Low */
|
|
78193
78200
|
), r = s.filter(
|
|
@@ -78220,7 +78227,7 @@ class x$ extends K {
|
|
|
78220
78227
|
orientation: 0
|
|
78221
78228
|
/* Orientation.VERTICAL */
|
|
78222
78229
|
})), f = this.orientation === 0 ? (D) => ({ sash: g, start: D.startY, current: D.currentY, alt: D.altKey }) : (D) => ({ sash: g, start: D.startX, current: D.currentX, alt: D.altKey }), _ = we.map(g.onDidStart, f)(this.onSashStart, this), b = we.map(g.onDidChange, f)(this.onSashChange, this), w = we.map(g.onDidEnd, () => this.sashItems.findIndex((D) => D.sash === g))(this.onSashEnd, this), S = g.onDidReset(() => {
|
|
78223
|
-
const D = this.sashItems.findIndex((M) => M.sash === g), x =
|
|
78230
|
+
const D = this.sashItems.findIndex((M) => M.sash === g), x = ao(D, -1), T = ao(D + 1, this.viewItems.length), R = this.findFirstSnapIndex(x), E = this.findFirstSnapIndex(T);
|
|
78224
78231
|
typeof R == "number" && !this.viewItems[R].visible || typeof E == "number" && !this.viewItems[E].visible || this._onDidSashReset.fire(D);
|
|
78225
78232
|
}), L = Ga(_, b, w, S, g), I = { sash: g, disposable: L };
|
|
78226
78233
|
this.sashItems.splice(i - 1, 0, I);
|
|
@@ -78236,7 +78243,7 @@ class x$ extends K {
|
|
|
78236
78243
|
resize(e, t, i = this.viewItems.map((d) => d.size), s, o, r = Number.NEGATIVE_INFINITY, a = Number.POSITIVE_INFINITY, l, c) {
|
|
78237
78244
|
if (e < 0 || e >= this.viewItems.length)
|
|
78238
78245
|
return 0;
|
|
78239
|
-
const d =
|
|
78246
|
+
const d = ao(e, -1), u = ao(e + 1, this.viewItems.length);
|
|
78240
78247
|
if (o)
|
|
78241
78248
|
for (const I of o)
|
|
78242
78249
|
HM(d, I), HM(u, I);
|
|
@@ -78269,7 +78276,7 @@ class x$ extends K {
|
|
|
78269
78276
|
distributeEmptySpace(e) {
|
|
78270
78277
|
const t = this.viewItems.reduce((a, l) => a + l.size, 0);
|
|
78271
78278
|
let i = this.size - t;
|
|
78272
|
-
const s =
|
|
78279
|
+
const s = ao(this.viewItems.length - 1, -1), o = s.filter(
|
|
78273
78280
|
(a) => this.viewItems[a].priority === 1
|
|
78274
78281
|
/* LayoutPriority.Low */
|
|
78275
78282
|
), r = s.filter(
|
|
@@ -78317,7 +78324,7 @@ class x$ extends K {
|
|
|
78317
78324
|
a += d.size;
|
|
78318
78325
|
const u = !(t[l] && r[l + 1]), h = !(i[l] && o[l + 1]);
|
|
78319
78326
|
if (u && h) {
|
|
78320
|
-
const g =
|
|
78327
|
+
const g = ao(l, -1), f = ao(l + 1, this.viewItems.length), p = this.findFirstSnapIndex(g), _ = this.findFirstSnapIndex(f), v = typeof p == "number" && !this.viewItems[p].visible, b = typeof _ == "number" && !this.viewItems[_].visible;
|
|
78321
78328
|
v && o[l] && (a > 0 || this.startSnappingEnabled) ? c.state = 1 : b && t[l] && (a < this.contentSize || this.endSnappingEnabled) ? c.state = 2 : c.state = 0;
|
|
78322
78329
|
} else
|
|
78323
78330
|
u && !h ? c.state = 1 : !u && h ? c.state = 2 : c.state = 3;
|
|
@@ -79426,7 +79433,7 @@ class B9e {
|
|
|
79426
79433
|
return this.onDragOver(e, p, _, s, !1);
|
|
79427
79434
|
}
|
|
79428
79435
|
const l = this.modelProvider(), c = l.getNodeLocation(t), d = l.getListIndex(c), u = l.getListRenderCount(c);
|
|
79429
|
-
return Object.assign(Object.assign({}, r), { feedback:
|
|
79436
|
+
return Object.assign(Object.assign({}, r), { feedback: ao(d, d + u) });
|
|
79430
79437
|
}
|
|
79431
79438
|
drop(e, t, i, s) {
|
|
79432
79439
|
this.autoExpandDisposable.dispose(), this.autoExpandNode = void 0, this.dnd.drop(i2(e), t && t.element, i, s);
|
|
@@ -81196,7 +81203,7 @@ class a6e extends T$ {
|
|
|
81196
81203
|
}
|
|
81197
81204
|
}
|
|
81198
81205
|
new ye("isMac", Dt, m("isMac", "Whether the operating system is macOS"));
|
|
81199
|
-
new ye("isLinux",
|
|
81206
|
+
new ye("isLinux", so, m("isLinux", "Whether the operating system is Linux"));
|
|
81200
81207
|
const KA = new ye("isWindows", Os, m("isWindows", "Whether the operating system is Windows")), B$ = new ye("isWeb", Bg, m("isWeb", "Whether the platform is a web browser"));
|
|
81201
81208
|
new ye("isMacNative", Dt && !Bg, m("isMacNative", "Whether the operating system is macOS on a non-browser platform"));
|
|
81202
81209
|
new ye("isIOS", Ql, m("isIOS", "Whether the operating system is iOS"));
|
|
@@ -82682,7 +82689,7 @@ class A7 {
|
|
|
82682
82689
|
this.toggleCheckbox();
|
|
82683
82690
|
break;
|
|
82684
82691
|
case 31:
|
|
82685
|
-
(Dt ? a.metaKey : a.ctrlKey) && this.list.setFocus(
|
|
82692
|
+
(Dt ? a.metaKey : a.ctrlKey) && this.list.setFocus(ao(this.list.length));
|
|
82686
82693
|
break;
|
|
82687
82694
|
case 16: {
|
|
82688
82695
|
const c = this.list.getFocus();
|
|
@@ -86487,7 +86494,7 @@ let eR = class {
|
|
|
86487
86494
|
}
|
|
86488
86495
|
getEOL(e, t) {
|
|
86489
86496
|
const i = this.configurationService.getValue("files.eol", { overrideIdentifier: t, resource: e });
|
|
86490
|
-
return i && typeof i == "string" && i !== "auto" ? i :
|
|
86497
|
+
return i && typeof i == "string" && i !== "auto" ? i : so || Dt ? `
|
|
86491
86498
|
` : `\r
|
|
86492
86499
|
`;
|
|
86493
86500
|
}
|
|
@@ -93020,37 +93027,37 @@ Pe({
|
|
|
93020
93027
|
id: "freemarker2",
|
|
93021
93028
|
extensions: [".ftl", ".ftlh", ".ftlx"],
|
|
93022
93029
|
aliases: ["FreeMarker2", "Apache FreeMarker2"],
|
|
93023
|
-
loader: () => import("./freemarker2-
|
|
93030
|
+
loader: () => import("./freemarker2-3a003360.js").then((n) => n.TagAutoInterpolationDollar)
|
|
93024
93031
|
});
|
|
93025
93032
|
Pe({
|
|
93026
93033
|
id: "freemarker2.tag-angle.interpolation-dollar",
|
|
93027
93034
|
aliases: ["FreeMarker2 (Angle/Dollar)", "Apache FreeMarker2 (Angle/Dollar)"],
|
|
93028
|
-
loader: () => import("./freemarker2-
|
|
93035
|
+
loader: () => import("./freemarker2-3a003360.js").then((n) => n.TagAngleInterpolationDollar)
|
|
93029
93036
|
});
|
|
93030
93037
|
Pe({
|
|
93031
93038
|
id: "freemarker2.tag-bracket.interpolation-dollar",
|
|
93032
93039
|
aliases: ["FreeMarker2 (Bracket/Dollar)", "Apache FreeMarker2 (Bracket/Dollar)"],
|
|
93033
|
-
loader: () => import("./freemarker2-
|
|
93040
|
+
loader: () => import("./freemarker2-3a003360.js").then((n) => n.TagBracketInterpolationDollar)
|
|
93034
93041
|
});
|
|
93035
93042
|
Pe({
|
|
93036
93043
|
id: "freemarker2.tag-angle.interpolation-bracket",
|
|
93037
93044
|
aliases: ["FreeMarker2 (Angle/Bracket)", "Apache FreeMarker2 (Angle/Bracket)"],
|
|
93038
|
-
loader: () => import("./freemarker2-
|
|
93045
|
+
loader: () => import("./freemarker2-3a003360.js").then((n) => n.TagAngleInterpolationBracket)
|
|
93039
93046
|
});
|
|
93040
93047
|
Pe({
|
|
93041
93048
|
id: "freemarker2.tag-bracket.interpolation-bracket",
|
|
93042
93049
|
aliases: ["FreeMarker2 (Bracket/Bracket)", "Apache FreeMarker2 (Bracket/Bracket)"],
|
|
93043
|
-
loader: () => import("./freemarker2-
|
|
93050
|
+
loader: () => import("./freemarker2-3a003360.js").then((n) => n.TagBracketInterpolationBracket)
|
|
93044
93051
|
});
|
|
93045
93052
|
Pe({
|
|
93046
93053
|
id: "freemarker2.tag-auto.interpolation-dollar",
|
|
93047
93054
|
aliases: ["FreeMarker2 (Auto/Dollar)", "Apache FreeMarker2 (Auto/Dollar)"],
|
|
93048
|
-
loader: () => import("./freemarker2-
|
|
93055
|
+
loader: () => import("./freemarker2-3a003360.js").then((n) => n.TagAutoInterpolationDollar)
|
|
93049
93056
|
});
|
|
93050
93057
|
Pe({
|
|
93051
93058
|
id: "freemarker2.tag-auto.interpolation-bracket",
|
|
93052
93059
|
aliases: ["FreeMarker2 (Auto/Bracket)", "Apache FreeMarker2 (Auto/Bracket)"],
|
|
93053
|
-
loader: () => import("./freemarker2-
|
|
93060
|
+
loader: () => import("./freemarker2-3a003360.js").then((n) => n.TagAutoInterpolationBracket)
|
|
93054
93061
|
});
|
|
93055
93062
|
/*!-----------------------------------------------------------------------------
|
|
93056
93063
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -93088,7 +93095,7 @@ Pe({
|
|
|
93088
93095
|
extensions: [".handlebars", ".hbs"],
|
|
93089
93096
|
aliases: ["Handlebars", "handlebars", "hbs"],
|
|
93090
93097
|
mimetypes: ["text/x-handlebars-template"],
|
|
93091
|
-
loader: () => import("./handlebars-
|
|
93098
|
+
loader: () => import("./handlebars-b2269272.js")
|
|
93092
93099
|
});
|
|
93093
93100
|
/*!-----------------------------------------------------------------------------
|
|
93094
93101
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -93113,7 +93120,7 @@ Pe({
|
|
|
93113
93120
|
extensions: [".html", ".htm", ".shtml", ".xhtml", ".mdoc", ".jsp", ".asp", ".aspx", ".jshtm"],
|
|
93114
93121
|
aliases: ["HTML", "htm", "html", "xhtml"],
|
|
93115
93122
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
93116
|
-
loader: () => import("./html-
|
|
93123
|
+
loader: () => import("./html-68940811.js")
|
|
93117
93124
|
});
|
|
93118
93125
|
/*!-----------------------------------------------------------------------------
|
|
93119
93126
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -93154,7 +93161,7 @@ Pe({
|
|
|
93154
93161
|
filenames: ["jakefile"],
|
|
93155
93162
|
aliases: ["JavaScript", "javascript", "js"],
|
|
93156
93163
|
mimetypes: ["text/javascript"],
|
|
93157
|
-
loader: () => import("./javascript-
|
|
93164
|
+
loader: () => import("./javascript-4b48654a.js")
|
|
93158
93165
|
});
|
|
93159
93166
|
/*!-----------------------------------------------------------------------------
|
|
93160
93167
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -93229,7 +93236,7 @@ Pe({
|
|
|
93229
93236
|
extensions: [".liquid", ".html.liquid"],
|
|
93230
93237
|
aliases: ["Liquid", "liquid"],
|
|
93231
93238
|
mimetypes: ["application/liquid"],
|
|
93232
|
-
loader: () => import("./liquid-
|
|
93239
|
+
loader: () => import("./liquid-baf62c60.js")
|
|
93233
93240
|
});
|
|
93234
93241
|
/*!-----------------------------------------------------------------------------
|
|
93235
93242
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -93265,7 +93272,7 @@ Pe({
|
|
|
93265
93272
|
id: "mdx",
|
|
93266
93273
|
extensions: [".mdx"],
|
|
93267
93274
|
aliases: ["MDX", "mdx"],
|
|
93268
|
-
loader: () => import("./mdx-
|
|
93275
|
+
loader: () => import("./mdx-c905cea2.js")
|
|
93269
93276
|
});
|
|
93270
93277
|
/*!-----------------------------------------------------------------------------
|
|
93271
93278
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -93460,7 +93467,7 @@ Pe({
|
|
|
93460
93467
|
extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
|
|
93461
93468
|
aliases: ["Python", "py"],
|
|
93462
93469
|
firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
|
|
93463
|
-
loader: () => import("./python-
|
|
93470
|
+
loader: () => import("./python-3c034f19.js")
|
|
93464
93471
|
});
|
|
93465
93472
|
/*!-----------------------------------------------------------------------------
|
|
93466
93473
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -93497,7 +93504,7 @@ Pe({
|
|
|
93497
93504
|
extensions: [".cshtml"],
|
|
93498
93505
|
aliases: ["Razor", "razor"],
|
|
93499
93506
|
mimetypes: ["text/x-cshtml"],
|
|
93500
|
-
loader: () => import("./razor-
|
|
93507
|
+
loader: () => import("./razor-20fd2bef.js")
|
|
93501
93508
|
});
|
|
93502
93509
|
/*!-----------------------------------------------------------------------------
|
|
93503
93510
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -93749,7 +93756,7 @@ Pe({
|
|
|
93749
93756
|
extensions: [".ts", ".tsx", ".cts", ".mts"],
|
|
93750
93757
|
aliases: ["TypeScript", "ts", "typescript"],
|
|
93751
93758
|
mimetypes: ["text/typescript"],
|
|
93752
|
-
loader: () => import("./typescript-
|
|
93759
|
+
loader: () => import("./typescript-3f2f9023.js")
|
|
93753
93760
|
});
|
|
93754
93761
|
/*!-----------------------------------------------------------------------------
|
|
93755
93762
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -93805,7 +93812,7 @@ Pe({
|
|
|
93805
93812
|
firstLine: "(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",
|
|
93806
93813
|
aliases: ["XML", "xml"],
|
|
93807
93814
|
mimetypes: ["text/xml", "application/xml", "application/xaml+xml", "application/xml-dtd"],
|
|
93808
|
-
loader: () => import("./xml-
|
|
93815
|
+
loader: () => import("./xml-16a27948.js")
|
|
93809
93816
|
});
|
|
93810
93817
|
/*!-----------------------------------------------------------------------------
|
|
93811
93818
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -93818,7 +93825,7 @@ Pe({
|
|
|
93818
93825
|
extensions: [".yaml", ".yml"],
|
|
93819
93826
|
aliases: ["YAML", "yaml", "YML", "yml"],
|
|
93820
93827
|
mimetypes: ["application/x-yaml", "text/x-yaml"],
|
|
93821
|
-
loader: () => import("./yaml-
|
|
93828
|
+
loader: () => import("./yaml-1f9d4934.js")
|
|
93822
93829
|
});
|
|
93823
93830
|
/*!-----------------------------------------------------------------------------
|
|
93824
93831
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -93913,7 +93920,7 @@ var Z7 = class {
|
|
|
93913
93920
|
}, jee = new Z7("css", q7, X7), Wee = new Z7("scss", q7, X7), Vee = new Z7("less", q7, X7);
|
|
93914
93921
|
Ov.languages.css = { cssDefaults: jee, lessDefaults: Vee, scssDefaults: Wee };
|
|
93915
93922
|
function J7() {
|
|
93916
|
-
return import("./cssMode-
|
|
93923
|
+
return import("./cssMode-d2dee8fa.js");
|
|
93917
93924
|
}
|
|
93918
93925
|
Ov.languages.onLanguage("less", () => {
|
|
93919
93926
|
J7().then((n) => n.setupMode(Vee));
|
|
@@ -94008,7 +94015,7 @@ dE.languages.html = {
|
|
|
94008
94015
|
registerHTMLLanguageService: gE
|
|
94009
94016
|
};
|
|
94010
94017
|
function Pje() {
|
|
94011
|
-
return import("./htmlMode-
|
|
94018
|
+
return import("./htmlMode-2133ab9c.js");
|
|
94012
94019
|
}
|
|
94013
94020
|
function gE(n, e = uE, t = hE(n)) {
|
|
94014
94021
|
const i = new Mje(n, e, t);
|
|
@@ -94085,7 +94092,7 @@ var zje = class {
|
|
|
94085
94092
|
}, Gee = new zje("json", Hje, Uje);
|
|
94086
94093
|
Wy.languages.json = { jsonDefaults: Gee };
|
|
94087
94094
|
function Gje() {
|
|
94088
|
-
return import("./jsonMode-
|
|
94095
|
+
return import("./jsonMode-8feec0cd.js");
|
|
94089
94096
|
}
|
|
94090
94097
|
Wy.languages.register({
|
|
94091
94098
|
id: "json",
|
|
@@ -94248,7 +94255,7 @@ Q_.languages.typescript = {
|
|
|
94248
94255
|
getJavaScriptWorker: eWe
|
|
94249
94256
|
};
|
|
94250
94257
|
function fE() {
|
|
94251
|
-
return import("./tsMode-
|
|
94258
|
+
return import("./tsMode-589e11f2.js");
|
|
94252
94259
|
}
|
|
94253
94260
|
Q_.languages.onLanguage("typescript", () => fE().then((n) => n.setupTypeScript($ee)));
|
|
94254
94261
|
Q_.languages.onLanguage("javascript", () => fE().then((n) => n.setupJavaScript(ete)));
|
|
@@ -100269,9 +100276,9 @@ class q_ {
|
|
|
100269
100276
|
this.model = e, this.position = t;
|
|
100270
100277
|
}
|
|
100271
100278
|
}
|
|
100272
|
-
class
|
|
100279
|
+
class io extends sc {
|
|
100273
100280
|
static all() {
|
|
100274
|
-
return
|
|
100281
|
+
return io._allSymbolNavigationCommands.values();
|
|
100275
100282
|
}
|
|
100276
100283
|
static _patchConfig(e) {
|
|
100277
100284
|
const t = Object.assign(Object.assign({}, e), { f1: !0 });
|
|
@@ -100281,7 +100288,7 @@ class to extends sc {
|
|
|
100281
100288
|
return t;
|
|
100282
100289
|
}
|
|
100283
100290
|
constructor(e, t) {
|
|
100284
|
-
super(
|
|
100291
|
+
super(io._patchConfig(t)), this.configuration = e, io._allSymbolNavigationCommands.set(t.id, this);
|
|
100285
100292
|
}
|
|
100286
100293
|
runEditorCommand(e, t, i, s) {
|
|
100287
100294
|
if (!t.hasModel())
|
|
@@ -100298,7 +100305,7 @@ class to extends sc {
|
|
|
100298
100305
|
let b;
|
|
100299
100306
|
if (_.referenceAt(u.uri, h)) {
|
|
100300
100307
|
const w = this._getAlternativeCommand(t);
|
|
100301
|
-
!
|
|
100308
|
+
!io._activeAlternativeCommands.has(w) && io._allSymbolNavigationCommands.has(w) && (b = io._allSymbolNavigationCommands.get(w));
|
|
100302
100309
|
}
|
|
100303
100310
|
const C = _.references.length;
|
|
100304
100311
|
if (C === 0) {
|
|
@@ -100307,8 +100314,8 @@ class to extends sc {
|
|
|
100307
100314
|
(v = or.get(t)) === null || v === void 0 || v.showMessage(this._getNoResultFoundMessage(w), h);
|
|
100308
100315
|
}
|
|
100309
100316
|
} else if (C === 1 && b)
|
|
100310
|
-
|
|
100311
|
-
|
|
100317
|
+
io._activeAlternativeCommands.add(this.desc.id), d.invokeFunction((w) => b.runEditorCommand(w, t, i, s).finally(() => {
|
|
100318
|
+
io._activeAlternativeCommands.delete(this.desc.id);
|
|
100312
100319
|
}));
|
|
100313
100320
|
else
|
|
100314
100321
|
return this._onResult(r, l, t, _, s);
|
|
@@ -100360,9 +100367,9 @@ class to extends sc {
|
|
|
100360
100367
|
s && e.hasModel() ? s.toggleWidget(i ?? e.getSelection(), jn((o) => Promise.resolve(t)), this.configuration.openInPeek) : t.dispose();
|
|
100361
100368
|
}
|
|
100362
100369
|
}
|
|
100363
|
-
|
|
100364
|
-
|
|
100365
|
-
class Ky extends
|
|
100370
|
+
io._allSymbolNavigationCommands = /* @__PURE__ */ new Map();
|
|
100371
|
+
io._activeAlternativeCommands = /* @__PURE__ */ new Set();
|
|
100372
|
+
class Ky extends io {
|
|
100366
100373
|
_getLocationModel(e, t, i, s) {
|
|
100367
100374
|
return Ka(this, void 0, void 0, function* () {
|
|
100368
100375
|
return new rr(yield LE(e.definitionProvider, t, i, s), m("def.title", "Definitions"));
|
|
@@ -100488,7 +100495,7 @@ Ni((S1 = class extends Ky {
|
|
|
100488
100495
|
}), Nt.registerCommandAlias("editor.action.previewDeclaration", S1.id);
|
|
100489
100496
|
}
|
|
100490
100497
|
}, S1.id = "editor.action.peekDefinition", S1));
|
|
100491
|
-
class Hte extends
|
|
100498
|
+
class Hte extends io {
|
|
100492
100499
|
_getLocationModel(e, t, i, s) {
|
|
100493
100500
|
return Ka(this, void 0, void 0, function* () {
|
|
100494
100501
|
return new rr(yield Wte(e.declarationProvider, t, i, s), m("decl.title", "Declarations"));
|
|
@@ -100561,7 +100568,7 @@ Ni(class extends Hte {
|
|
|
100561
100568
|
});
|
|
100562
100569
|
}
|
|
100563
100570
|
});
|
|
100564
|
-
class Ute extends
|
|
100571
|
+
class Ute extends io {
|
|
100565
100572
|
_getLocationModel(e, t, i, s) {
|
|
100566
100573
|
return Ka(this, void 0, void 0, function* () {
|
|
100567
100574
|
return new rr(yield zte(e.typeDefinitionProvider, t, i, s), m("typedef.title", "Type Definitions"));
|
|
@@ -100637,7 +100644,7 @@ Ni((uI = class extends Ute {
|
|
|
100637
100644
|
});
|
|
100638
100645
|
}
|
|
100639
100646
|
}, uI.ID = "editor.action.peekTypeDefinition", uI));
|
|
100640
|
-
class Gte extends
|
|
100647
|
+
class Gte extends io {
|
|
100641
100648
|
_getLocationModel(e, t, i, s) {
|
|
100642
100649
|
return Ka(this, void 0, void 0, function* () {
|
|
100643
100650
|
return new rr(yield Vte(e.implementationProvider, t, i, s), m("impl.title", "Implementations"));
|
|
@@ -100719,7 +100726,7 @@ Ni((gI = class extends Gte {
|
|
|
100719
100726
|
});
|
|
100720
100727
|
}
|
|
100721
100728
|
}, gI.ID = "editor.action.peekImplementation", gI));
|
|
100722
|
-
class Yte extends
|
|
100729
|
+
class Yte extends io {
|
|
100723
100730
|
_getNoResultFoundMessage(e) {
|
|
100724
100731
|
return e ? m("references.no", "No references found for '{0}'", e.word) : m("references.noGeneric", "No references found");
|
|
100725
100732
|
}
|
|
@@ -100800,7 +100807,7 @@ Ni(class extends Yte {
|
|
|
100800
100807
|
});
|
|
100801
100808
|
}
|
|
100802
100809
|
});
|
|
100803
|
-
class $Ve extends
|
|
100810
|
+
class $Ve extends io {
|
|
100804
100811
|
constructor(e, t, i) {
|
|
100805
100812
|
super(e, {
|
|
100806
100813
|
id: "editor.action.goToLocation",
|
|
@@ -104224,7 +104231,7 @@ class Qd {
|
|
|
104224
104231
|
g.ignore = !0;
|
|
104225
104232
|
continue;
|
|
104226
104233
|
}
|
|
104227
|
-
const p = i.getLineContent(f), _ =
|
|
104234
|
+
const p = i.getLineContent(f), _ = no(p);
|
|
104228
104235
|
if (_ === -1) {
|
|
104229
104236
|
g.ignore = r, g.commentStrOffset = p.length;
|
|
104230
104237
|
continue;
|
|
@@ -104284,7 +104291,7 @@ class Qd {
|
|
|
104284
104291
|
if (!l) {
|
|
104285
104292
|
if (i.isEmpty()) {
|
|
104286
104293
|
const c = e.getLineContent(i.startLineNumber);
|
|
104287
|
-
let d =
|
|
104294
|
+
let d = no(c);
|
|
104288
104295
|
d === -1 && (d = c.length), l = Wh._createAddBlockCommentOperations(new A(i.startLineNumber, d + 1, i.startLineNumber, c.length + 1), r, a, this._insertSpace);
|
|
104289
104296
|
} else
|
|
104290
104297
|
l = Wh._createAddBlockCommentOperations(new A(i.startLineNumber, e.getLineFirstNonWhitespaceColumn(i.startLineNumber), i.endLineNumber, e.getLineMaxColumn(i.endLineNumber)), r, a, this._insertSpace);
|
|
@@ -107771,7 +107778,7 @@ class kE extends nl {
|
|
|
107771
107778
|
) && this._isReplaceVisible && (this._replaceInput.focusOnPreserve(), l.preventDefault());
|
|
107772
107779
|
})), this._register(this._findInput.inputBox.onDidHeightChange((l) => {
|
|
107773
107780
|
this._tryUpdateHeight() && this._showViewZone();
|
|
107774
|
-
})),
|
|
107781
|
+
})), so && this._register(this._findInput.onMouseDown((l) => this._onFindInputMouseDown(l))), this._matchesCount = document.createElement("div"), this._matchesCount.className = "matchesCount", this._updateMatchesCount(), this._prevBtn = this._register(new jm({
|
|
107775
107782
|
label: zHe + this._keybindingLabelFor(_i.PreviousMatchFindAction),
|
|
107776
107783
|
icon: FHe,
|
|
107777
107784
|
onTrigger: () => {
|
|
@@ -110084,7 +110091,7 @@ class Pie {
|
|
|
110084
110091
|
(e !== this._computed || t !== this._limited) && (this._computed = e, this._limited = t, this._onDidChange.fire());
|
|
110085
110092
|
}
|
|
110086
110093
|
}
|
|
110087
|
-
class
|
|
110094
|
+
class oo extends Le {
|
|
110088
110095
|
runEditorCommand(e, t, i) {
|
|
110089
110096
|
const s = e.get(mi), o = bd.get(t);
|
|
110090
110097
|
if (!o)
|
|
@@ -110119,7 +110126,7 @@ function Fie(n) {
|
|
|
110119
110126
|
}
|
|
110120
110127
|
return !0;
|
|
110121
110128
|
}
|
|
110122
|
-
class PUe extends
|
|
110129
|
+
class PUe extends oo {
|
|
110123
110130
|
constructor() {
|
|
110124
110131
|
super({
|
|
110125
110132
|
id: "editor.unfold",
|
|
@@ -110177,7 +110184,7 @@ class PUe extends so {
|
|
|
110177
110184
|
s && s.direction === "up" ? Tie(t, !1, o, r) : Fv(t, !1, o, r);
|
|
110178
110185
|
}
|
|
110179
110186
|
}
|
|
110180
|
-
class FUe extends
|
|
110187
|
+
class FUe extends oo {
|
|
110181
110188
|
constructor() {
|
|
110182
110189
|
super({
|
|
110183
110190
|
id: "editor.unfoldRecursively",
|
|
@@ -110200,7 +110207,7 @@ class FUe extends so {
|
|
|
110200
110207
|
Fv(t, !1, Number.MAX_VALUE, this.getSelectedLines(i));
|
|
110201
110208
|
}
|
|
110202
110209
|
}
|
|
110203
|
-
class BUe extends
|
|
110210
|
+
class BUe extends oo {
|
|
110204
110211
|
constructor() {
|
|
110205
110212
|
super({
|
|
110206
110213
|
id: "editor.fold",
|
|
@@ -110257,7 +110264,7 @@ class BUe extends so {
|
|
|
110257
110264
|
typeof r != "number" && typeof a != "string" ? mUe(t, !0, o) : a === "up" ? Tie(t, !0, r || 1, o) : Fv(t, !0, r || 1, o);
|
|
110258
110265
|
}
|
|
110259
110266
|
}
|
|
110260
|
-
class jUe extends
|
|
110267
|
+
class jUe extends oo {
|
|
110261
110268
|
constructor() {
|
|
110262
110269
|
super({
|
|
110263
110270
|
id: "editor.toggleFold",
|
|
@@ -110281,7 +110288,7 @@ class jUe extends so {
|
|
|
110281
110288
|
Mie(t, 1, s);
|
|
110282
110289
|
}
|
|
110283
110290
|
}
|
|
110284
|
-
class WUe extends
|
|
110291
|
+
class WUe extends oo {
|
|
110285
110292
|
constructor() {
|
|
110286
110293
|
super({
|
|
110287
110294
|
id: "editor.foldRecursively",
|
|
@@ -110305,7 +110312,7 @@ class WUe extends so {
|
|
|
110305
110312
|
Fv(t, !0, Number.MAX_VALUE, s);
|
|
110306
110313
|
}
|
|
110307
110314
|
}
|
|
110308
|
-
class VUe extends
|
|
110315
|
+
class VUe extends oo {
|
|
110309
110316
|
constructor() {
|
|
110310
110317
|
super({
|
|
110311
110318
|
id: "editor.foldAllBlockComments",
|
|
@@ -110339,7 +110346,7 @@ class VUe extends so {
|
|
|
110339
110346
|
}
|
|
110340
110347
|
}
|
|
110341
110348
|
}
|
|
110342
|
-
class zUe extends
|
|
110349
|
+
class zUe extends oo {
|
|
110343
110350
|
constructor() {
|
|
110344
110351
|
super({
|
|
110345
110352
|
id: "editor.foldAllMarkerRegions",
|
|
@@ -110373,7 +110380,7 @@ class zUe extends so {
|
|
|
110373
110380
|
}
|
|
110374
110381
|
}
|
|
110375
110382
|
}
|
|
110376
|
-
class HUe extends
|
|
110383
|
+
class HUe extends oo {
|
|
110377
110384
|
constructor() {
|
|
110378
110385
|
super({
|
|
110379
110386
|
id: "editor.unfoldAllMarkerRegions",
|
|
@@ -110407,7 +110414,7 @@ class HUe extends so {
|
|
|
110407
110414
|
}
|
|
110408
110415
|
}
|
|
110409
110416
|
}
|
|
110410
|
-
class UUe extends
|
|
110417
|
+
class UUe extends oo {
|
|
110411
110418
|
constructor() {
|
|
110412
110419
|
super({
|
|
110413
110420
|
id: "editor.foldAllExcept",
|
|
@@ -110431,7 +110438,7 @@ class UUe extends so {
|
|
|
110431
110438
|
kie(t, !0, s);
|
|
110432
110439
|
}
|
|
110433
110440
|
}
|
|
110434
|
-
class GUe extends
|
|
110441
|
+
class GUe extends oo {
|
|
110435
110442
|
constructor() {
|
|
110436
110443
|
super({
|
|
110437
110444
|
id: "editor.unfoldAllExcept",
|
|
@@ -110455,7 +110462,7 @@ class GUe extends so {
|
|
|
110455
110462
|
kie(t, !1, s);
|
|
110456
110463
|
}
|
|
110457
110464
|
}
|
|
110458
|
-
class YUe extends
|
|
110465
|
+
class YUe extends oo {
|
|
110459
110466
|
constructor() {
|
|
110460
110467
|
super({
|
|
110461
110468
|
id: "editor.foldAll",
|
|
@@ -110478,7 +110485,7 @@ class YUe extends so {
|
|
|
110478
110485
|
Fv(t, !0);
|
|
110479
110486
|
}
|
|
110480
110487
|
}
|
|
110481
|
-
class QUe extends
|
|
110488
|
+
class QUe extends oo {
|
|
110482
110489
|
constructor() {
|
|
110483
110490
|
super({
|
|
110484
110491
|
id: "editor.unfoldAll",
|
|
@@ -110501,7 +110508,7 @@ class QUe extends so {
|
|
|
110501
110508
|
Fv(t, !1);
|
|
110502
110509
|
}
|
|
110503
110510
|
}
|
|
110504
|
-
class Bp extends
|
|
110511
|
+
class Bp extends oo {
|
|
110505
110512
|
getFoldingLevel() {
|
|
110506
110513
|
return parseInt(this.id.substr(Bp.ID_PREFIX.length));
|
|
110507
110514
|
}
|
|
@@ -110511,7 +110518,7 @@ class Bp extends so {
|
|
|
110511
110518
|
}
|
|
110512
110519
|
Bp.ID_PREFIX = "editor.foldLevel";
|
|
110513
110520
|
Bp.ID = (n) => Bp.ID_PREFIX + n;
|
|
110514
|
-
class KUe extends
|
|
110521
|
+
class KUe extends oo {
|
|
110515
110522
|
constructor() {
|
|
110516
110523
|
super({
|
|
110517
110524
|
id: "editor.gotoParentFold",
|
|
@@ -110538,7 +110545,7 @@ class KUe extends so {
|
|
|
110538
110545
|
}
|
|
110539
110546
|
}
|
|
110540
110547
|
}
|
|
110541
|
-
class ZUe extends
|
|
110548
|
+
class ZUe extends oo {
|
|
110542
110549
|
constructor() {
|
|
110543
110550
|
super({
|
|
110544
110551
|
id: "editor.gotoPreviousFold",
|
|
@@ -110565,7 +110572,7 @@ class ZUe extends so {
|
|
|
110565
110572
|
}
|
|
110566
110573
|
}
|
|
110567
110574
|
}
|
|
110568
|
-
class qUe extends
|
|
110575
|
+
class qUe extends oo {
|
|
110569
110576
|
constructor() {
|
|
110570
110577
|
super({
|
|
110571
110578
|
id: "editor.gotoNextFold",
|
|
@@ -110592,7 +110599,7 @@ class qUe extends so {
|
|
|
110592
110599
|
}
|
|
110593
110600
|
}
|
|
110594
110601
|
}
|
|
110595
|
-
class XUe extends
|
|
110602
|
+
class XUe extends oo {
|
|
110596
110603
|
constructor() {
|
|
110597
110604
|
super({
|
|
110598
110605
|
id: "editor.createFoldingRangeFromSelection",
|
|
@@ -110639,7 +110646,7 @@ class XUe extends so {
|
|
|
110639
110646
|
}
|
|
110640
110647
|
}
|
|
110641
110648
|
}
|
|
110642
|
-
class JUe extends
|
|
110649
|
+
class JUe extends oo {
|
|
110643
110650
|
constructor() {
|
|
110644
110651
|
super({
|
|
110645
110652
|
id: "editor.removeManualFoldingRanges",
|
|
@@ -111228,7 +111235,7 @@ class ts extends K {
|
|
|
111228
111235
|
if (s?.selectedSuggestItem && a && a.parts.length > 0) {
|
|
111229
111236
|
const { column: l, lines: c } = a.parts[0], d = c[0], u = s.textModel.getLineIndentColumn(a.lineNumber);
|
|
111230
111237
|
if (l <= u) {
|
|
111231
|
-
let g =
|
|
111238
|
+
let g = no(d);
|
|
111232
111239
|
g === -1 && (g = d.length - 1), o = g > 0;
|
|
111233
111240
|
const f = s.textModel.getOptions().tabSize;
|
|
111234
111241
|
r = Bn.visibleColumnFromColumn(d, g + 1, f) < f;
|
|
@@ -117851,7 +117858,7 @@ function WYe(n, e, t, i) {
|
|
|
117851
117858
|
if (yield i.item.resolve(_t.None), !i.part.location)
|
|
117852
117859
|
return;
|
|
117853
117860
|
const d = i.part.location, u = [], h = new Set(fs.getMenuItems(O.EditorContext).map((f) => r0(f) ? f.command.id : NE()));
|
|
117854
|
-
for (const f of
|
|
117861
|
+
for (const f of io.all())
|
|
117855
117862
|
h.has(f.desc.id) && u.push(new Co(f.desc.id, Xa.label(f.desc, { renderShortTitle: !0 }), void 0, !0, () => Ub(this, void 0, void 0, function* () {
|
|
117856
117863
|
const p = yield o.createModelReference(d.uri);
|
|
117857
117864
|
try {
|
|
@@ -128789,7 +128796,7 @@ export {
|
|
|
128789
128796
|
Fg as aI,
|
|
128790
128797
|
fv as aJ,
|
|
128791
128798
|
KI as aK,
|
|
128792
|
-
|
|
128799
|
+
to as aL,
|
|
128793
128800
|
mJe as aM,
|
|
128794
128801
|
jK as aN,
|
|
128795
128802
|
ly as aO,
|