@devtron-labs/devtron-fe-common-lib 0.1.14-beta-15 → 0.1.14-beta-6
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/Shared/Components/GitCommitInfoGeneric/GitMaterialInfoHeader.d.ts +1 -0
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-36985497.js → cssMode-a8b27bee.js} +1 -1
- package/dist/{freemarker2-3119cef5.js → freemarker2-b6b9913d.js} +1 -1
- package/dist/{handlebars-f9f91919.js → handlebars-7bc9d5c7.js} +1 -1
- package/dist/{html-3bb9b53b.js → html-edaa2ce7.js} +1 -1
- package/dist/{htmlMode-157bc67b.js → htmlMode-b7c3baa0.js} +1 -1
- package/dist/{index-228778e0.js → index-55870bbc.js} +119 -112
- package/dist/index.js +1 -1
- package/dist/{javascript-5ada1043.js → javascript-9f0c9c8d.js} +1 -1
- package/dist/{jsonMode-9aa1811a.js → jsonMode-383d2071.js} +1 -1
- package/dist/{liquid-690ce9cd.js → liquid-e74730a6.js} +1 -1
- package/dist/{mdx-11c021cb.js → mdx-0b0ad466.js} +1 -1
- package/dist/{python-4e7ce449.js → python-ec4bedf5.js} +1 -1
- package/dist/{razor-054c914f.js → razor-ef6419c2.js} +1 -1
- package/dist/{tsMode-aafc61a7.js → tsMode-a8a8a1b8.js} +1 -1
- package/dist/{typescript-bbb6a152.js → typescript-836ad001.js} +1 -1
- package/dist/{xml-53ec81b7.js → xml-9be11860.js} +1 -1
- package/dist/{yaml-7f50c732.js → yaml-84c326f6.js} +1 -1
- package/package.json +1 -1
|
@@ -10014,7 +10014,7 @@ const Si = aMe, O9 = (n) => /* @__PURE__ */ Z.createElement("svg", { xmlns: "htt
|
|
|
10014
10014
|
}), Z_t = (n) => {
|
|
10015
10015
|
const { selectProps: e, data: t, showTippy: i, style: r, placement: s, tippyContent: o, tippyClass: a } = n;
|
|
10016
10016
|
e.styles.option = Hle(r);
|
|
10017
|
-
const l = () => /* @__PURE__ */ _.jsx("div", { onClick:
|
|
10017
|
+
const l = () => /* @__PURE__ */ _.jsx("div", { onClick: mr, children: /* @__PURE__ */ _.jsx(Rr.Option, { ...n }) });
|
|
10018
10018
|
return i ? /* @__PURE__ */ _.jsx(
|
|
10019
10019
|
Si,
|
|
10020
10020
|
{
|
|
@@ -11188,7 +11188,7 @@ const Zle = (n) => {
|
|
|
11188
11188
|
const e = Xt(null), [t, i] = Ue(!1), r = n.theme === _S.white, s = (w) => {
|
|
11189
11189
|
e.current = w, document.addEventListener("keydown", a);
|
|
11190
11190
|
}, o = (w) => {
|
|
11191
|
-
|
|
11191
|
+
mr(w), e.current?.hide && (e.current.hide(), e.current = null, n.onClose && n.onClose()), i(!1);
|
|
11192
11192
|
}, a = (w) => {
|
|
11193
11193
|
w.keyCode === 27 && o(w);
|
|
11194
11194
|
}, l = (w) => {
|
|
@@ -11603,7 +11603,7 @@ const Txe = ({ className: n, hideGettingStartedCard: e }) => {
|
|
|
11603
11603
|
});
|
|
11604
11604
|
}, h = () => {
|
|
11605
11605
|
e(!s);
|
|
11606
|
-
}, f = () => /* @__PURE__ */ _.jsxs("div", { onClick:
|
|
11606
|
+
}, f = () => /* @__PURE__ */ _.jsxs("div", { onClick: mr, className: "help-card__option help-card__link flex left cn-9", children: [
|
|
11607
11607
|
/* @__PURE__ */ _.jsx(zxe, {}),
|
|
11608
11608
|
/* @__PURE__ */ _.jsx(
|
|
11609
11609
|
dbe,
|
|
@@ -13324,7 +13324,7 @@ const FG = (n) => {
|
|
|
13324
13324
|
"div",
|
|
13325
13325
|
{
|
|
13326
13326
|
className: "feature-description modal__body w-600 mt-40 flex column p-0 fs-13 dc__overflow-hidden",
|
|
13327
|
-
onClick:
|
|
13327
|
+
onClick: mr,
|
|
13328
13328
|
children: [
|
|
13329
13329
|
c(),
|
|
13330
13330
|
d()
|
|
@@ -28474,7 +28474,7 @@ var ja = globalThis && globalThis.__awaiter || function(n, e, t, i) {
|
|
|
28474
28474
|
function $7(n) {
|
|
28475
28475
|
return !!n && typeof n.then == "function";
|
|
28476
28476
|
}
|
|
28477
|
-
function
|
|
28477
|
+
function _r(n) {
|
|
28478
28478
|
const e = new Xn(), t = n(e.token), i = new Promise((r, s) => {
|
|
28479
28479
|
const o = e.token.onCancellationRequested(() => {
|
|
28480
28480
|
o.dispose(), e.dispose(), s(new Og());
|
|
@@ -28621,7 +28621,7 @@ function ag(n, e) {
|
|
|
28621
28621
|
}, n), s = e.onCancellationRequested(() => {
|
|
28622
28622
|
clearTimeout(r), s.dispose(), i(new Og());
|
|
28623
28623
|
});
|
|
28624
|
-
}) :
|
|
28624
|
+
}) : _r((t) => ag(n, t));
|
|
28625
28625
|
}
|
|
28626
28626
|
function lg(n, e = 0, t) {
|
|
28627
28627
|
const i = setTimeout(() => {
|
|
@@ -38119,9 +38119,9 @@ function fH(n, e, t) {
|
|
|
38119
38119
|
e = e.previousSibling, r++;
|
|
38120
38120
|
return n.getColumn(new Sue(r, t), i);
|
|
38121
38121
|
}
|
|
38122
|
-
class
|
|
38122
|
+
class vr {
|
|
38123
38123
|
static _nextVisibleColumn(e, t, i) {
|
|
38124
|
-
return e === 9 ?
|
|
38124
|
+
return e === 9 ? vr.nextRenderTabStop(t, i) : sg(e) || RW(e) ? t + 2 : t + 1;
|
|
38125
38125
|
}
|
|
38126
38126
|
/**
|
|
38127
38127
|
* Returns a visible column from a column.
|
|
@@ -38204,7 +38204,7 @@ class lw {
|
|
|
38204
38204
|
s += 1;
|
|
38205
38205
|
break;
|
|
38206
38206
|
case 9:
|
|
38207
|
-
s =
|
|
38207
|
+
s = vr.nextRenderTabStop(s, i);
|
|
38208
38208
|
break;
|
|
38209
38209
|
default:
|
|
38210
38210
|
return [-1, -1, -1];
|
|
@@ -38251,7 +38251,7 @@ class lw {
|
|
|
38251
38251
|
h += 1;
|
|
38252
38252
|
break;
|
|
38253
38253
|
case 9:
|
|
38254
|
-
h =
|
|
38254
|
+
h = vr.nextRenderTabStop(h, i);
|
|
38255
38255
|
break;
|
|
38256
38256
|
default:
|
|
38257
38257
|
return -1;
|
|
@@ -38259,7 +38259,7 @@ class lw {
|
|
|
38259
38259
|
}
|
|
38260
38260
|
return h === a + i ? o : -1;
|
|
38261
38261
|
}
|
|
38262
|
-
const d =
|
|
38262
|
+
const d = vr.nextRenderTabStop(l, i);
|
|
38263
38263
|
let u = l;
|
|
38264
38264
|
for (let h = t; h < s; h++) {
|
|
38265
38265
|
if (u === d)
|
|
@@ -38269,7 +38269,7 @@ class lw {
|
|
|
38269
38269
|
u += 1;
|
|
38270
38270
|
break;
|
|
38271
38271
|
case 9:
|
|
38272
|
-
u =
|
|
38272
|
+
u = vr.nextRenderTabStop(u, i);
|
|
38273
38273
|
break;
|
|
38274
38274
|
default:
|
|
38275
38275
|
return -1;
|
|
@@ -38479,7 +38479,7 @@ class gH extends URe {
|
|
|
38479
38479
|
target: ${this.target ? this.target.outerHTML : null}`;
|
|
38480
38480
|
}
|
|
38481
38481
|
_getMouseColumn(e = null) {
|
|
38482
|
-
return e && e.column < this._ctx.viewModel.getLineMaxColumn(e.lineNumber) ?
|
|
38482
|
+
return e && e.column < this._ctx.viewModel.getLineMaxColumn(e.lineNumber) ? vr.visibleColumnFromColumn(this._ctx.viewModel.getLineContent(e.lineNumber), e.column, this._ctx.viewModel.model.getOptions().tabSize) + 1 : this.mouseColumn;
|
|
38483
38483
|
}
|
|
38484
38484
|
fulfillUnknown(e = null) {
|
|
38485
38485
|
return Fs.createUnknown(this.target, this._getMouseColumn(e), e);
|
|
@@ -41374,7 +41374,7 @@ function X6e(n, e, t, i) {
|
|
|
41374
41374
|
function J6e(n, e, t) {
|
|
41375
41375
|
let i = 0;
|
|
41376
41376
|
for (let s = 0; s < n.length; s++)
|
|
41377
|
-
n.charAt(s) === " " ? i =
|
|
41377
|
+
n.charAt(s) === " " ? i = vr.nextIndentTabStop(i, e) : i++;
|
|
41378
41378
|
let r = "";
|
|
41379
41379
|
if (!t) {
|
|
41380
41380
|
const s = Math.floor(i / e);
|
|
@@ -41552,14 +41552,14 @@ class O0 {
|
|
|
41552
41552
|
* @see {@link CursorColumns}
|
|
41553
41553
|
*/
|
|
41554
41554
|
visibleColumnFromColumn(e, t) {
|
|
41555
|
-
return
|
|
41555
|
+
return vr.visibleColumnFromColumn(e.getLineContent(t.lineNumber), t.column, this.tabSize);
|
|
41556
41556
|
}
|
|
41557
41557
|
/**
|
|
41558
41558
|
* Returns a visible column from a column.
|
|
41559
41559
|
* @see {@link CursorColumns}
|
|
41560
41560
|
*/
|
|
41561
41561
|
columnFromVisibleColumn(e, t, i) {
|
|
41562
|
-
const r =
|
|
41562
|
+
const r = vr.columnFromVisibleColumn(e.getLineContent(t), i, this.tabSize), s = e.getLineMinColumn(t);
|
|
41563
41563
|
if (r < s)
|
|
41564
41564
|
return s;
|
|
41565
41565
|
const o = e.getLineMaxColumn(t);
|
|
@@ -41828,8 +41828,8 @@ class yi {
|
|
|
41828
41828
|
return i.move(r, o, a, 0);
|
|
41829
41829
|
}
|
|
41830
41830
|
static vertical(e, t, i, r, s, o, a, l) {
|
|
41831
|
-
const c =
|
|
41832
|
-
if (i = o, i < 1 ? (i = 1, a ? r = t.getLineMinColumn(i) : r = Math.min(t.getLineMaxColumn(i), r)) : i > d ? (i = d, a ? r = t.getLineMaxColumn(i) : r = Math.min(t.getLineMaxColumn(i), r)) : r = e.columnFromVisibleColumn(t, i, c), f ? s = 0 : s = c -
|
|
41831
|
+
const c = vr.visibleColumnFromColumn(t.getLineContent(i), r, e.tabSize) + s, d = t.getLineCount(), u = i === 1 && r === 1, h = i === d && r === t.getLineMaxColumn(i), f = o < i ? u : h;
|
|
41832
|
+
if (i = o, i < 1 ? (i = 1, a ? r = t.getLineMinColumn(i) : r = Math.min(t.getLineMaxColumn(i), r)) : i > d ? (i = d, a ? r = t.getLineMaxColumn(i) : r = Math.min(t.getLineMaxColumn(i), r)) : r = e.columnFromVisibleColumn(t, i, c), f ? s = 0 : s = c - vr.visibleColumnFromColumn(t.getLineContent(i), r, e.tabSize), l !== void 0) {
|
|
41833
41833
|
const g = new me(i, r), p = t.normalizePosition(g, l);
|
|
41834
41834
|
s = s + (r - p.column), i = p.lineNumber, r = p.column;
|
|
41835
41835
|
}
|
|
@@ -42017,7 +42017,7 @@ class Sm {
|
|
|
42017
42017
|
s.length + 1
|
|
42018
42018
|
) : o + 1;
|
|
42019
42019
|
if (r.column <= a) {
|
|
42020
|
-
const l = i.visibleColumnFromColumn(t, r), c =
|
|
42020
|
+
const l = i.visibleColumnFromColumn(t, r), c = vr.prevIndentTabStop(l, i.indentSize), d = i.columnFromVisibleColumn(t, r.lineNumber, c);
|
|
42021
42021
|
return new F(r.lineNumber, d, r.lineNumber, r.column);
|
|
42022
42022
|
}
|
|
42023
42023
|
}
|
|
@@ -42926,22 +42926,22 @@ function Xg(n, e) {
|
|
|
42926
42926
|
}
|
|
42927
42927
|
let Ua = eM = class {
|
|
42928
42928
|
static unshiftIndent(e, t, i, r, s) {
|
|
42929
|
-
const o =
|
|
42929
|
+
const o = vr.visibleColumnFromColumn(e, t, i);
|
|
42930
42930
|
if (s) {
|
|
42931
|
-
const a = Xg(" ", r), c =
|
|
42931
|
+
const a = Xg(" ", r), c = vr.prevIndentTabStop(o, r) / r;
|
|
42932
42932
|
return Xg(a, c);
|
|
42933
42933
|
} else {
|
|
42934
|
-
const a = " ", c =
|
|
42934
|
+
const a = " ", c = vr.prevRenderTabStop(o, i) / i;
|
|
42935
42935
|
return Xg(a, c);
|
|
42936
42936
|
}
|
|
42937
42937
|
}
|
|
42938
42938
|
static shiftIndent(e, t, i, r, s) {
|
|
42939
|
-
const o =
|
|
42939
|
+
const o = vr.visibleColumnFromColumn(e, t, i);
|
|
42940
42940
|
if (s) {
|
|
42941
|
-
const a = Xg(" ", r), c =
|
|
42941
|
+
const a = Xg(" ", r), c = vr.nextIndentTabStop(o, r) / r;
|
|
42942
42942
|
return Xg(a, c);
|
|
42943
42943
|
} else {
|
|
42944
|
-
const a = " ", c =
|
|
42944
|
+
const a = " ", c = vr.nextRenderTabStop(o, i) / i;
|
|
42945
42945
|
return Xg(a, c);
|
|
42946
42946
|
}
|
|
42947
42947
|
}
|
|
@@ -42965,7 +42965,7 @@ let Ua = eM = class {
|
|
|
42965
42965
|
let f = Ws(h);
|
|
42966
42966
|
if (this._opts.isUnshift && (h.length === 0 || f === 0) || !l && !this._opts.isUnshift && h.length === 0)
|
|
42967
42967
|
continue;
|
|
42968
|
-
if (f === -1 && (f = h.length), u > 1 &&
|
|
42968
|
+
if (f === -1 && (f = h.length), u > 1 && vr.visibleColumnFromColumn(h, f + 1, s) % o !== 0 && e.tokenization.isCheapToTokenize(u - 1)) {
|
|
42969
42969
|
const m = r_(this._opts.autoIndent, e, new F(u - 1, e.getLineMaxColumn(u - 1), u - 1, e.getLineMaxColumn(u - 1)), this._languageConfigurationService);
|
|
42970
42970
|
if (m) {
|
|
42971
42971
|
if (d = c, m.appendText)
|
|
@@ -47021,7 +47021,7 @@ class D9e extends dhe {
|
|
|
47021
47021
|
return o;
|
|
47022
47022
|
}
|
|
47023
47023
|
getVisibleColumnFromPosition(e) {
|
|
47024
|
-
return
|
|
47024
|
+
return vr.visibleColumnFromColumn(this.textModel.getLineContent(e.lineNumber), e.column, this.textModel.getOptions().tabSize) + 1;
|
|
47025
47025
|
}
|
|
47026
47026
|
getLinesIndentGuides(e, t) {
|
|
47027
47027
|
this.assertNotDisposed();
|
|
@@ -51397,7 +51397,7 @@ class Mp extends wH {
|
|
|
51397
51397
|
const l = t.getLineFirstNonWhitespaceColumn(a), c = t.getLineContent(a);
|
|
51398
51398
|
if (l === 0)
|
|
51399
51399
|
continue;
|
|
51400
|
-
const d =
|
|
51400
|
+
const d = vr.visibleColumnFromColumn(c, l, t.getOptions().tabSize);
|
|
51401
51401
|
o = Math.min(o, d);
|
|
51402
51402
|
}
|
|
51403
51403
|
return o;
|
|
@@ -61863,7 +61863,7 @@ let Bje = 0, zje = class {
|
|
|
61863
61863
|
if (!this._modelData)
|
|
61864
61864
|
return e.column;
|
|
61865
61865
|
const t = this._modelData.model.validatePosition(e), i = this._modelData.model.getOptions().tabSize;
|
|
61866
|
-
return
|
|
61866
|
+
return vr.visibleColumnFromColumn(this._modelData.model.getLineContent(t.lineNumber), t.column, i) + 1;
|
|
61867
61867
|
}
|
|
61868
61868
|
getPosition() {
|
|
61869
61869
|
return this._modelData ? this._modelData.viewModel.getPosition() : null;
|
|
@@ -77939,7 +77939,7 @@ class Wfe {
|
|
|
77939
77939
|
if (t)
|
|
77940
77940
|
return t;
|
|
77941
77941
|
const i = this.dataSource.getChildren(e.element);
|
|
77942
|
-
return cQ(i) ? this.processChildren(i) : (t =
|
|
77942
|
+
return cQ(i) ? this.processChildren(i) : (t = _r(() => qh(this, void 0, void 0, function* () {
|
|
77943
77943
|
return this.processChildren(yield i);
|
|
77944
77944
|
})), this.refreshPromises.set(e, t), t.finally(() => {
|
|
77945
77945
|
this.refreshPromises.delete(e);
|
|
@@ -89985,37 +89985,37 @@ ht({
|
|
|
89985
89985
|
id: "freemarker2",
|
|
89986
89986
|
extensions: [".ftl", ".ftlh", ".ftlx"],
|
|
89987
89987
|
aliases: ["FreeMarker2", "Apache FreeMarker2"],
|
|
89988
|
-
loader: () => import("./freemarker2-
|
|
89988
|
+
loader: () => import("./freemarker2-b6b9913d.js").then((n) => n.TagAutoInterpolationDollar)
|
|
89989
89989
|
});
|
|
89990
89990
|
ht({
|
|
89991
89991
|
id: "freemarker2.tag-angle.interpolation-dollar",
|
|
89992
89992
|
aliases: ["FreeMarker2 (Angle/Dollar)", "Apache FreeMarker2 (Angle/Dollar)"],
|
|
89993
|
-
loader: () => import("./freemarker2-
|
|
89993
|
+
loader: () => import("./freemarker2-b6b9913d.js").then((n) => n.TagAngleInterpolationDollar)
|
|
89994
89994
|
});
|
|
89995
89995
|
ht({
|
|
89996
89996
|
id: "freemarker2.tag-bracket.interpolation-dollar",
|
|
89997
89997
|
aliases: ["FreeMarker2 (Bracket/Dollar)", "Apache FreeMarker2 (Bracket/Dollar)"],
|
|
89998
|
-
loader: () => import("./freemarker2-
|
|
89998
|
+
loader: () => import("./freemarker2-b6b9913d.js").then((n) => n.TagBracketInterpolationDollar)
|
|
89999
89999
|
});
|
|
90000
90000
|
ht({
|
|
90001
90001
|
id: "freemarker2.tag-angle.interpolation-bracket",
|
|
90002
90002
|
aliases: ["FreeMarker2 (Angle/Bracket)", "Apache FreeMarker2 (Angle/Bracket)"],
|
|
90003
|
-
loader: () => import("./freemarker2-
|
|
90003
|
+
loader: () => import("./freemarker2-b6b9913d.js").then((n) => n.TagAngleInterpolationBracket)
|
|
90004
90004
|
});
|
|
90005
90005
|
ht({
|
|
90006
90006
|
id: "freemarker2.tag-bracket.interpolation-bracket",
|
|
90007
90007
|
aliases: ["FreeMarker2 (Bracket/Bracket)", "Apache FreeMarker2 (Bracket/Bracket)"],
|
|
90008
|
-
loader: () => import("./freemarker2-
|
|
90008
|
+
loader: () => import("./freemarker2-b6b9913d.js").then((n) => n.TagBracketInterpolationBracket)
|
|
90009
90009
|
});
|
|
90010
90010
|
ht({
|
|
90011
90011
|
id: "freemarker2.tag-auto.interpolation-dollar",
|
|
90012
90012
|
aliases: ["FreeMarker2 (Auto/Dollar)", "Apache FreeMarker2 (Auto/Dollar)"],
|
|
90013
|
-
loader: () => import("./freemarker2-
|
|
90013
|
+
loader: () => import("./freemarker2-b6b9913d.js").then((n) => n.TagAutoInterpolationDollar)
|
|
90014
90014
|
});
|
|
90015
90015
|
ht({
|
|
90016
90016
|
id: "freemarker2.tag-auto.interpolation-bracket",
|
|
90017
90017
|
aliases: ["FreeMarker2 (Auto/Bracket)", "Apache FreeMarker2 (Auto/Bracket)"],
|
|
90018
|
-
loader: () => import("./freemarker2-
|
|
90018
|
+
loader: () => import("./freemarker2-b6b9913d.js").then((n) => n.TagAutoInterpolationBracket)
|
|
90019
90019
|
});
|
|
90020
90020
|
/*!-----------------------------------------------------------------------------
|
|
90021
90021
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90053,7 +90053,7 @@ ht({
|
|
|
90053
90053
|
extensions: [".handlebars", ".hbs"],
|
|
90054
90054
|
aliases: ["Handlebars", "handlebars", "hbs"],
|
|
90055
90055
|
mimetypes: ["text/x-handlebars-template"],
|
|
90056
|
-
loader: () => import("./handlebars-
|
|
90056
|
+
loader: () => import("./handlebars-7bc9d5c7.js")
|
|
90057
90057
|
});
|
|
90058
90058
|
/*!-----------------------------------------------------------------------------
|
|
90059
90059
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90078,7 +90078,7 @@ ht({
|
|
|
90078
90078
|
extensions: [".html", ".htm", ".shtml", ".xhtml", ".mdoc", ".jsp", ".asp", ".aspx", ".jshtm"],
|
|
90079
90079
|
aliases: ["HTML", "htm", "html", "xhtml"],
|
|
90080
90080
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
90081
|
-
loader: () => import("./html-
|
|
90081
|
+
loader: () => import("./html-edaa2ce7.js")
|
|
90082
90082
|
});
|
|
90083
90083
|
/*!-----------------------------------------------------------------------------
|
|
90084
90084
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90119,7 +90119,7 @@ ht({
|
|
|
90119
90119
|
filenames: ["jakefile"],
|
|
90120
90120
|
aliases: ["JavaScript", "javascript", "js"],
|
|
90121
90121
|
mimetypes: ["text/javascript"],
|
|
90122
|
-
loader: () => import("./javascript-
|
|
90122
|
+
loader: () => import("./javascript-9f0c9c8d.js")
|
|
90123
90123
|
});
|
|
90124
90124
|
/*!-----------------------------------------------------------------------------
|
|
90125
90125
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90194,7 +90194,7 @@ ht({
|
|
|
90194
90194
|
extensions: [".liquid", ".html.liquid"],
|
|
90195
90195
|
aliases: ["Liquid", "liquid"],
|
|
90196
90196
|
mimetypes: ["application/liquid"],
|
|
90197
|
-
loader: () => import("./liquid-
|
|
90197
|
+
loader: () => import("./liquid-e74730a6.js")
|
|
90198
90198
|
});
|
|
90199
90199
|
/*!-----------------------------------------------------------------------------
|
|
90200
90200
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90230,7 +90230,7 @@ ht({
|
|
|
90230
90230
|
id: "mdx",
|
|
90231
90231
|
extensions: [".mdx"],
|
|
90232
90232
|
aliases: ["MDX", "mdx"],
|
|
90233
|
-
loader: () => import("./mdx-
|
|
90233
|
+
loader: () => import("./mdx-0b0ad466.js")
|
|
90234
90234
|
});
|
|
90235
90235
|
/*!-----------------------------------------------------------------------------
|
|
90236
90236
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90425,7 +90425,7 @@ ht({
|
|
|
90425
90425
|
extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
|
|
90426
90426
|
aliases: ["Python", "py"],
|
|
90427
90427
|
firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
|
|
90428
|
-
loader: () => import("./python-
|
|
90428
|
+
loader: () => import("./python-ec4bedf5.js")
|
|
90429
90429
|
});
|
|
90430
90430
|
/*!-----------------------------------------------------------------------------
|
|
90431
90431
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90462,7 +90462,7 @@ ht({
|
|
|
90462
90462
|
extensions: [".cshtml"],
|
|
90463
90463
|
aliases: ["Razor", "razor"],
|
|
90464
90464
|
mimetypes: ["text/x-cshtml"],
|
|
90465
|
-
loader: () => import("./razor-
|
|
90465
|
+
loader: () => import("./razor-ef6419c2.js")
|
|
90466
90466
|
});
|
|
90467
90467
|
/*!-----------------------------------------------------------------------------
|
|
90468
90468
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90714,7 +90714,7 @@ ht({
|
|
|
90714
90714
|
extensions: [".ts", ".tsx", ".cts", ".mts"],
|
|
90715
90715
|
aliases: ["TypeScript", "ts", "typescript"],
|
|
90716
90716
|
mimetypes: ["text/typescript"],
|
|
90717
|
-
loader: () => import("./typescript-
|
|
90717
|
+
loader: () => import("./typescript-836ad001.js")
|
|
90718
90718
|
});
|
|
90719
90719
|
/*!-----------------------------------------------------------------------------
|
|
90720
90720
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90770,7 +90770,7 @@ ht({
|
|
|
90770
90770
|
firstLine: "(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",
|
|
90771
90771
|
aliases: ["XML", "xml"],
|
|
90772
90772
|
mimetypes: ["text/xml", "application/xml", "application/xaml+xml", "application/xml-dtd"],
|
|
90773
|
-
loader: () => import("./xml-
|
|
90773
|
+
loader: () => import("./xml-9be11860.js")
|
|
90774
90774
|
});
|
|
90775
90775
|
/*!-----------------------------------------------------------------------------
|
|
90776
90776
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90783,7 +90783,7 @@ ht({
|
|
|
90783
90783
|
extensions: [".yaml", ".yml"],
|
|
90784
90784
|
aliases: ["YAML", "yaml", "YML", "yml"],
|
|
90785
90785
|
mimetypes: ["application/x-yaml", "text/x-yaml"],
|
|
90786
|
-
loader: () => import("./yaml-
|
|
90786
|
+
loader: () => import("./yaml-84c326f6.js")
|
|
90787
90787
|
});
|
|
90788
90788
|
/*!-----------------------------------------------------------------------------
|
|
90789
90789
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90878,7 +90878,7 @@ var WV = class {
|
|
|
90878
90878
|
}, Vge = new WV("css", HV, VV), Uge = new WV("scss", HV, VV), Yge = new WV("less", HV, VV);
|
|
90879
90879
|
z1.languages.css = { cssDefaults: Vge, lessDefaults: Yge, scssDefaults: Uge };
|
|
90880
90880
|
function UV() {
|
|
90881
|
-
return import("./cssMode-
|
|
90881
|
+
return import("./cssMode-a8b27bee.js");
|
|
90882
90882
|
}
|
|
90883
90883
|
z1.languages.onLanguage("less", () => {
|
|
90884
90884
|
UV().then((n) => n.setupMode(Yge));
|
|
@@ -90973,7 +90973,7 @@ ZT.languages.html = {
|
|
|
90973
90973
|
registerHTMLLanguageService: $T
|
|
90974
90974
|
};
|
|
90975
90975
|
function AQe() {
|
|
90976
|
-
return import("./htmlMode-
|
|
90976
|
+
return import("./htmlMode-b7c3baa0.js");
|
|
90977
90977
|
}
|
|
90978
90978
|
function $T(n, e = XT, t = JT(n)) {
|
|
90979
90979
|
const i = new IQe(n, e, t);
|
|
@@ -91050,7 +91050,7 @@ var RQe = class {
|
|
|
91050
91050
|
}, Kge = new RQe("json", jQe, FQe);
|
|
91051
91051
|
aD.languages.json = { jsonDefaults: Kge };
|
|
91052
91052
|
function BQe() {
|
|
91053
|
-
return import("./jsonMode-
|
|
91053
|
+
return import("./jsonMode-383d2071.js");
|
|
91054
91054
|
}
|
|
91055
91055
|
aD.languages.register({
|
|
91056
91056
|
id: "json",
|
|
@@ -91213,7 +91213,7 @@ r1.languages.typescript = {
|
|
|
91213
91213
|
getJavaScriptWorker: qQe
|
|
91214
91214
|
};
|
|
91215
91215
|
function eE() {
|
|
91216
|
-
return import("./tsMode-
|
|
91216
|
+
return import("./tsMode-a8a8a1b8.js");
|
|
91217
91217
|
}
|
|
91218
91218
|
r1.languages.onLanguage("typescript", () => eE().then((n) => n.setupTypeScript(npe)));
|
|
91219
91219
|
r1.languages.onLanguage("javascript", () => eE().then((n) => n.setupJavaScript(rpe)));
|
|
@@ -93675,7 +93675,7 @@ class qqe extends ye {
|
|
|
93675
93675
|
this.setState(Tp.Empty);
|
|
93676
93676
|
return;
|
|
93677
93677
|
}
|
|
93678
|
-
const s = i.selection.getStartPosition(), o =
|
|
93678
|
+
const s = i.selection.getStartPosition(), o = _r((a) => Gqe(this, void 0, void 0, function* () {
|
|
93679
93679
|
var l, c, d, u, h, f;
|
|
93680
93680
|
if (this._settingEnabledNearbyQuickfixes() && i.trigger.type === 1 && (i.trigger.triggerAction === Yo.QuickFix || !((c = (l = i.trigger.filter) === null || l === void 0 ? void 0 : l.include) === null || c === void 0) && c.contains(vt.QuickFix))) {
|
|
93681
93681
|
const g = yield ly(this._registry, e, i.selection, i.trigger, vh.None, a);
|
|
@@ -94650,7 +94650,7 @@ let s1 = class {
|
|
|
94650
94650
|
const i = new Ti(() => {
|
|
94651
94651
|
var r;
|
|
94652
94652
|
const s = Date.now();
|
|
94653
|
-
(r = this._getCodeLensModelPromise) === null || r === void 0 || r.cancel(), this._getCodeLensModelPromise =
|
|
94653
|
+
(r = this._getCodeLensModelPromise) === null || r === void 0 || r.cancel(), this._getCodeLensModelPromise = _r((o) => Ipe(this._languageFeaturesService.codeLensProvider, e, o)), this._getCodeLensModelPromise.then((o) => {
|
|
94654
94654
|
this._currentCodeLensModel && this._oldCodeLensModels.add(this._currentCodeLensModel), this._currentCodeLensModel = o, this._codeLensCache.put(e, o);
|
|
94655
94655
|
const a = this._provideCodeLensDebounce.update(e, Date.now() - s);
|
|
94656
94656
|
i.delay = a, this._renderCodeLensSymbols(o), this._resolveCodeLensesInViewportSoon();
|
|
@@ -94752,7 +94752,7 @@ let s1 = class {
|
|
|
94752
94752
|
l && (i.push(l), r.push(a));
|
|
94753
94753
|
}), i.length === 0)
|
|
94754
94754
|
return;
|
|
94755
|
-
const s = Date.now(), o =
|
|
94755
|
+
const s = Date.now(), o = _r((a) => {
|
|
94756
94756
|
const l = i.map((c, d) => {
|
|
94757
94757
|
const u = new Array(c.length), h = c.map((f, g) => !f.symbol.command && typeof f.provider.resolveCodeLens == "function" ? Promise.resolve(f.provider.resolveCodeLens(t, f.symbol, a)).then((p) => {
|
|
94758
94758
|
u[g] = p;
|
|
@@ -95113,7 +95113,7 @@ let bg = LF = class extends ye {
|
|
|
95113
95113
|
}
|
|
95114
95114
|
beginCompute() {
|
|
95115
95115
|
return UX(this, void 0, void 0, function* () {
|
|
95116
|
-
this._computePromise =
|
|
95116
|
+
this._computePromise = _r((e) => UX(this, void 0, void 0, function* () {
|
|
95117
95117
|
const t = this._editor.getModel();
|
|
95118
95118
|
if (!t)
|
|
95119
95119
|
return [];
|
|
@@ -96847,7 +96847,7 @@ let wg = mM = class {
|
|
|
96847
96847
|
this._widget.show(r), this._widget.focusOnReferenceTree();
|
|
96848
96848
|
else {
|
|
96849
96849
|
const a = mM.get(s), l = this._model.clone();
|
|
96850
|
-
this.closeWidget(), s.focus(), a?.toggleWidget(r,
|
|
96850
|
+
this.closeWidget(), s.focus(), a?.toggleWidget(r, _r((c) => Promise.resolve(l)), (o = this._peekMode) !== null && o !== void 0 ? o : !1);
|
|
96851
96851
|
}
|
|
96852
96852
|
}, (s) => {
|
|
96853
96853
|
this._ignoreModelChangeEvent = !1, xt(s);
|
|
@@ -97322,7 +97322,7 @@ class Bs extends Zc {
|
|
|
97322
97322
|
}
|
|
97323
97323
|
_openInPeek(e, t, i) {
|
|
97324
97324
|
const r = wg.get(e);
|
|
97325
|
-
r && e.hasModel() ? r.toggleWidget(i ?? e.getSelection(),
|
|
97325
|
+
r && e.hasModel() ? r.toggleWidget(i ?? e.getSelection(), _r((s) => Promise.resolve(t)), this.configuration.openInPeek) : t.dispose();
|
|
97326
97326
|
}
|
|
97327
97327
|
}
|
|
97328
97328
|
Bs._allSymbolNavigationCommands = /* @__PURE__ */ new Map();
|
|
@@ -97855,7 +97855,7 @@ ni.registerCommand({
|
|
|
97855
97855
|
const o = wg.get(s);
|
|
97856
97856
|
if (!o)
|
|
97857
97857
|
return;
|
|
97858
|
-
const a =
|
|
97858
|
+
const a = _r((c) => hE(i.referenceProvider, s.getModel(), me.lift(t), !1, c).then((d) => new Vo(d, C("ref.title", "References")))), l = new F(t.lineNumber, t.column, t.lineNumber, t.column);
|
|
97859
97859
|
return Promise.resolve(o.toggleWidget(l, a, !1));
|
|
97860
97860
|
});
|
|
97861
97861
|
}
|
|
@@ -97955,7 +97955,7 @@ let Rm = IC = class {
|
|
|
97955
97955
|
15
|
|
97956
97956
|
/* CodeEditorStateFlag.Scroll */
|
|
97957
97957
|
);
|
|
97958
|
-
this.previousPromise && (this.previousPromise.cancel(), this.previousPromise = null), this.previousPromise =
|
|
97958
|
+
this.previousPromise && (this.previousPromise.cancel(), this.previousPromise = null), this.previousPromise = _r((a) => this.findDefinition(e, a));
|
|
97959
97959
|
let s;
|
|
97960
97960
|
try {
|
|
97961
97961
|
s = yield this.previousPromise;
|
|
@@ -99888,7 +99888,7 @@ let WF = class {
|
|
|
99888
99888
|
}
|
|
99889
99889
|
}
|
|
99890
99890
|
getCodeActions(e) {
|
|
99891
|
-
return
|
|
99891
|
+
return _r((t) => ly(this._languageFeaturesService.codeActionProvider, this._editor.getModel(), new F(e.startLineNumber, e.startColumn, e.endLineNumber, e.endColumn), oJ, vh.None, t));
|
|
99892
99892
|
}
|
|
99893
99893
|
};
|
|
99894
99894
|
WF = wZe([
|
|
@@ -102603,7 +102603,7 @@ let Fm = XF = class extends ye {
|
|
|
102603
102603
|
providerCopyMimeTypes: g,
|
|
102604
102604
|
defaultPastePayload: u
|
|
102605
102605
|
});
|
|
102606
|
-
const m =
|
|
102606
|
+
const m = _r((v) => Lu(this, void 0, void 0, function* () {
|
|
102607
102607
|
const b = Qd(yield Promise.all(h.map((w) => Lu(this, void 0, void 0, function* () {
|
|
102608
102608
|
try {
|
|
102609
102609
|
return yield w.prepareDocumentPaste(r, a, f, v);
|
|
@@ -102646,7 +102646,7 @@ let Fm = XF = class extends ye {
|
|
|
102646
102646
|
});
|
|
102647
102647
|
}
|
|
102648
102648
|
doPasteInline(e, t, i, r) {
|
|
102649
|
-
const s =
|
|
102649
|
+
const s = _r((o) => Lu(this, void 0, void 0, function* () {
|
|
102650
102650
|
const a = this._editor;
|
|
102651
102651
|
if (!a.hasModel())
|
|
102652
102652
|
return;
|
|
@@ -102681,7 +102681,7 @@ let Fm = XF = class extends ye {
|
|
|
102681
102681
|
this._pasteProgressManager.showWhile(t[0].getEndPosition(), C("pasteIntoEditorProgress", "Running paste handlers. Click to cancel"), s), this._currentPasteOperation = s;
|
|
102682
102682
|
}
|
|
102683
102683
|
showPasteAsPick(e, t, i, r, s) {
|
|
102684
|
-
const o =
|
|
102684
|
+
const o = _r((a) => Lu(this, void 0, void 0, function* () {
|
|
102685
102685
|
const l = this._editor;
|
|
102686
102686
|
if (!l.hasModel())
|
|
102687
102687
|
return;
|
|
@@ -103094,7 +103094,7 @@ let u1 = eB = class extends ye {
|
|
|
103094
103094
|
if (!i.dataTransfer || !e.hasModel())
|
|
103095
103095
|
return;
|
|
103096
103096
|
(r = this._currentOperation) === null || r === void 0 || r.cancel(), e.focus(), e.setPosition(t);
|
|
103097
|
-
const s =
|
|
103097
|
+
const s = _r((o) => Hb(this, void 0, void 0, function* () {
|
|
103098
103098
|
const a = new vg(e, 1, void 0, o);
|
|
103099
103099
|
try {
|
|
103100
103100
|
const l = yield this.extractDataTransferData(i);
|
|
@@ -106908,7 +106908,7 @@ let su = ov = class extends ye {
|
|
|
106908
106908
|
const e = this.foldingModel;
|
|
106909
106909
|
if (!e)
|
|
106910
106910
|
return null;
|
|
106911
|
-
const t = new xs(), i = this.getRangeProvider(e.textModel), r = this.foldingRegionPromise =
|
|
106911
|
+
const t = new xs(), i = this.getRangeProvider(e.textModel), r = this.foldingRegionPromise = _r((s) => i.compute(s));
|
|
106912
106912
|
return r.then((s) => {
|
|
106913
106913
|
if (s && r === this.foldingRegionPromise) {
|
|
106914
106914
|
let o;
|
|
@@ -108196,7 +108196,7 @@ class Er extends ye {
|
|
|
108196
108196
|
let f = Ws(d);
|
|
108197
108197
|
f === -1 && (f = d.length - 1), s = f > 0;
|
|
108198
108198
|
const g = r.textModel.getOptions().tabSize;
|
|
108199
|
-
o =
|
|
108199
|
+
o = vr.visibleColumnFromColumn(d, f + 1, g) < g;
|
|
108200
108200
|
}
|
|
108201
108201
|
}
|
|
108202
108202
|
this.inlineCompletionSuggestsIndentation.set(s), this.inlineCompletionSuggestsIndentationLessThanTabSize.set(o);
|
|
@@ -112621,7 +112621,7 @@ let tS = lv = class {
|
|
|
112621
112621
|
return;
|
|
112622
112622
|
this._ctxSuggestWidgetHasFocusedSuggestion.set(!0);
|
|
112623
112623
|
const i = e.elements[0], r = e.indexes[0];
|
|
112624
|
-
i !== this._focusedItem && ((t = this._currentSuggestionDetails) === null || t === void 0 || t.cancel(), this._currentSuggestionDetails = void 0, this._focusedItem = i, this._list.reveal(r), this._currentSuggestionDetails =
|
|
112624
|
+
i !== this._focusedItem && ((t = this._currentSuggestionDetails) === null || t === void 0 || t.cancel(), this._currentSuggestionDetails = void 0, this._focusedItem = i, this._list.reveal(r), this._currentSuggestionDetails = _r((s) => uet(this, void 0, void 0, function* () {
|
|
112625
112625
|
const o = lg(() => {
|
|
112626
112626
|
this._isDetailsVisible() && this.showDetails(!0);
|
|
112627
112627
|
}, 250), a = s.onCancellationRequested(() => o.dispose());
|
|
@@ -115422,7 +115422,7 @@ let Lg = wM = class {
|
|
|
115422
115422
|
5
|
|
115423
115423
|
/* CodeEditorStateFlag.Position */
|
|
115424
115424
|
), l = s.uri;
|
|
115425
|
-
return this.editorWorkerService.canNavigateValueSet(l) ? (this.currentRequest =
|
|
115425
|
+
return this.editorWorkerService.canNavigateValueSet(l) ? (this.currentRequest = _r((c) => this.editorWorkerService.navigateValueSet(l, o, t)), this.currentRequest.then((c) => {
|
|
115426
115426
|
var d;
|
|
115427
115427
|
if (!c || !c.range || !c.value || !a.validate(this.editor))
|
|
115428
115428
|
return;
|
|
@@ -116744,7 +116744,7 @@ let Mg = SM = class extends ye {
|
|
|
116744
116744
|
}
|
|
116745
116745
|
}
|
|
116746
116746
|
this.clearRanges(), this._currentRequestPosition = t, this._currentRequestModelVersion = r;
|
|
116747
|
-
const s =
|
|
116747
|
+
const s = _r((o) => MB(this, void 0, void 0, function* () {
|
|
116748
116748
|
try {
|
|
116749
116749
|
const a = new xs(!1), l = yield s0e(this._providers, i, t, o);
|
|
116750
116750
|
if (this._debounceInformation.update(i, a.elapsed()), s !== this._currentRequest || (this._currentRequest = null, r !== i.getVersionId()))
|
|
@@ -117033,7 +117033,7 @@ let p1 = xB = class extends ye {
|
|
|
117033
117033
|
return;
|
|
117034
117034
|
const e = this.editor.getModel();
|
|
117035
117035
|
if (!e.isTooLargeForSyncing() && this.providers.has(e)) {
|
|
117036
|
-
this.activeLinksList && (this.activeLinksList.dispose(), this.activeLinksList = null), this.computePromise =
|
|
117036
|
+
this.activeLinksList && (this.activeLinksList.dispose(), this.activeLinksList = null), this.computePromise = _r((t) => a0e(this.providers, e, t));
|
|
117037
117037
|
try {
|
|
117038
117038
|
const t = new xs(!1);
|
|
117039
117039
|
if (this.activeLinksList = yield this.computePromise, this.debounceInformation.update(e, t.elapsed()), e.isDisposed())
|
|
@@ -118294,7 +118294,7 @@ class FE extends ye {
|
|
|
118294
118294
|
if (!this.editor.hasModel())
|
|
118295
118295
|
return !1;
|
|
118296
118296
|
const o = this.editor.getModel(), a = this.editor.getPosition();
|
|
118297
|
-
this.state = new df.Pending(
|
|
118297
|
+
this.state = new df.Pending(_r((l) => d0e(this.providers, o, a, s, l)), i);
|
|
118298
118298
|
try {
|
|
118299
118299
|
const l = yield this.state.request;
|
|
118300
118300
|
return e !== this.triggerId ? (l?.dispose(), !1) : !l || !l.value.signatures || l.value.signatures.length === 0 ? (l?.dispose(), this._lastSignatureHelpResult.clear(), this.cancel(), !1) : (this.state = new df.Active(l.value), this._lastSignatureHelpResult.value = l, this._onChangedHints.fire(this.state.hints), !0);
|
|
@@ -119535,7 +119535,7 @@ let cS = class extends ye {
|
|
|
119535
119535
|
this._outstandingRequests = this._outstandingRequests.concat(t.map((i) => this._requestRange(e, i)));
|
|
119536
119536
|
}
|
|
119537
119537
|
_requestRange(e, t) {
|
|
119538
|
-
const i = e.getVersionId(), r =
|
|
119538
|
+
const i = e.getVersionId(), r = _r((o) => Promise.resolve(TU(this._provider, e, t, o))), s = new xs(!1);
|
|
119539
119539
|
return r.then((o) => {
|
|
119540
119540
|
if (this._debounceInformation.update(e, s.elapsed()), !o || !o.tokens || e.isDisposed() || e.getVersionId() !== i)
|
|
119541
119541
|
return;
|
|
@@ -120235,7 +120235,7 @@ class C0e {
|
|
|
120235
120235
|
computeStickyModel(e, t, i) {
|
|
120236
120236
|
if (i.isCancellationRequested || !this.isProviderValid(e))
|
|
120237
120237
|
return { statusPromise: this._invalid(), modelPromise: null };
|
|
120238
|
-
const r =
|
|
120238
|
+
const r = _r((s) => this.createModelFromProvider(e, t, s));
|
|
120239
120239
|
return {
|
|
120240
120240
|
statusPromise: r.then((s) => this.isModelValid(s) ? i.isCancellationRequested ? Rf.CANCELED : (this._stickyModel = this.createStickyModel(e, t, i, s), Rf.VALID) : this._invalid()).then(void 0, (s) => (xt(s), Rf.CANCELED)),
|
|
120241
120241
|
modelPromise: r
|
|
@@ -122008,7 +122008,7 @@ class M0e {
|
|
|
122008
122008
|
this._model = e, this._selection = t, this._wordSeparators = i, this._wordRange = this._getCurrentWordRange(e, t), this._result = null;
|
|
122009
122009
|
}
|
|
122010
122010
|
get result() {
|
|
122011
|
-
return this._result || (this._result =
|
|
122011
|
+
return this._result || (this._result = _r((e) => this._compute(this._model, this._selection, this._wordSeparators, e))), this._result;
|
|
122012
122012
|
}
|
|
122013
122013
|
_getCurrentWordRange(e, t) {
|
|
122014
122014
|
const i = e.getWordAtPosition(t.getPosition());
|
|
@@ -124103,7 +124103,7 @@ var j0e = globalThis && globalThis.__decorate || function(n, e, t, i) {
|
|
|
124103
124103
|
}
|
|
124104
124104
|
c((i = i.apply(n, e || [])).next());
|
|
124105
124105
|
});
|
|
124106
|
-
}, bp,
|
|
124106
|
+
}, bp, br;
|
|
124107
124107
|
let qm = bp = class extends nrt {
|
|
124108
124108
|
constructor(e, t, i, r, s, o) {
|
|
124109
124109
|
super(bp.PREFIX, e), this.instantiationService = t, this.keybindingService = i, this.commandService = r, this.telemetryService = s, this.dialogService = o, this.commandsHistory = this._register(this.instantiationService.createInstance(Km)), this.options = e;
|
|
@@ -124218,7 +124218,7 @@ qm = bp = j0e([
|
|
|
124218
124218
|
Ep(4, xa),
|
|
124219
124219
|
Ep(5, ZS)
|
|
124220
124220
|
], qm);
|
|
124221
|
-
let Km =
|
|
124221
|
+
let Km = br = class extends ye {
|
|
124222
124222
|
constructor(e, t) {
|
|
124223
124223
|
super(), this.storageService = e, this.configurationService = t, this.configuredCommandsHistoryLength = 0, this.updateConfiguration(), this.load(), this.registerListeners();
|
|
124224
124224
|
}
|
|
@@ -124226,11 +124226,11 @@ let Km = _r = class extends ye {
|
|
|
124226
124226
|
this._register(this.configurationService.onDidChangeConfiguration((e) => this.updateConfiguration(e)));
|
|
124227
124227
|
}
|
|
124228
124228
|
updateConfiguration(e) {
|
|
124229
|
-
e && !e.affectsConfiguration("workbench.commandPalette.history") || (this.configuredCommandsHistoryLength =
|
|
124229
|
+
e && !e.affectsConfiguration("workbench.commandPalette.history") || (this.configuredCommandsHistoryLength = br.getConfiguredCommandHistoryLength(this.configurationService), br.cache && br.cache.limit !== this.configuredCommandsHistoryLength && (br.cache.limit = this.configuredCommandsHistoryLength, br.saveState(this.storageService)));
|
|
124230
124230
|
}
|
|
124231
124231
|
load() {
|
|
124232
124232
|
const e = this.storageService.get(
|
|
124233
|
-
|
|
124233
|
+
br.PREF_KEY_CACHE,
|
|
124234
124234
|
0
|
|
124235
124235
|
/* StorageScope.PROFILE */
|
|
124236
124236
|
);
|
|
@@ -124240,33 +124240,33 @@ let Km = _r = class extends ye {
|
|
|
124240
124240
|
t = JSON.parse(e);
|
|
124241
124241
|
} catch {
|
|
124242
124242
|
}
|
|
124243
|
-
const i =
|
|
124243
|
+
const i = br.cache = new jg(this.configuredCommandsHistoryLength, 1);
|
|
124244
124244
|
if (t) {
|
|
124245
124245
|
let r;
|
|
124246
124246
|
t.usesLRU ? r = t.entries : r = t.entries.sort((s, o) => s.value - o.value), r.forEach((s) => i.set(s.key, s.value));
|
|
124247
124247
|
}
|
|
124248
|
-
|
|
124248
|
+
br.counter = this.storageService.getNumber(br.PREF_KEY_COUNTER, 0, br.counter);
|
|
124249
124249
|
}
|
|
124250
124250
|
push(e) {
|
|
124251
|
-
|
|
124251
|
+
br.cache && (br.cache.set(e, br.counter++), br.saveState(this.storageService));
|
|
124252
124252
|
}
|
|
124253
124253
|
peek(e) {
|
|
124254
124254
|
var t;
|
|
124255
|
-
return (t =
|
|
124255
|
+
return (t = br.cache) === null || t === void 0 ? void 0 : t.peek(e);
|
|
124256
124256
|
}
|
|
124257
124257
|
static saveState(e) {
|
|
124258
|
-
if (!
|
|
124258
|
+
if (!br.cache)
|
|
124259
124259
|
return;
|
|
124260
124260
|
const t = { usesLRU: !0, entries: [] };
|
|
124261
|
-
|
|
124262
|
-
|
|
124261
|
+
br.cache.forEach((i, r) => t.entries.push({ key: r, value: i })), e.store(
|
|
124262
|
+
br.PREF_KEY_CACHE,
|
|
124263
124263
|
JSON.stringify(t),
|
|
124264
124264
|
0,
|
|
124265
124265
|
0
|
|
124266
124266
|
/* StorageTarget.USER */
|
|
124267
124267
|
), e.store(
|
|
124268
|
-
|
|
124269
|
-
|
|
124268
|
+
br.PREF_KEY_COUNTER,
|
|
124269
|
+
br.counter,
|
|
124270
124270
|
0,
|
|
124271
124271
|
0
|
|
124272
124272
|
/* StorageTarget.USER */
|
|
@@ -124275,14 +124275,14 @@ let Km = _r = class extends ye {
|
|
|
124275
124275
|
static getConfiguredCommandHistoryLength(e) {
|
|
124276
124276
|
var t, i;
|
|
124277
124277
|
const s = (i = (t = e.getValue().workbench) === null || t === void 0 ? void 0 : t.commandPalette) === null || i === void 0 ? void 0 : i.history;
|
|
124278
|
-
return typeof s == "number" ? s :
|
|
124278
|
+
return typeof s == "number" ? s : br.DEFAULT_COMMANDS_HISTORY_LENGTH;
|
|
124279
124279
|
}
|
|
124280
124280
|
};
|
|
124281
124281
|
Km.DEFAULT_COMMANDS_HISTORY_LENGTH = 50;
|
|
124282
124282
|
Km.PREF_KEY_CACHE = "commandPalette.mru.cache";
|
|
124283
124283
|
Km.PREF_KEY_COUNTER = "commandPalette.mru.counter";
|
|
124284
124284
|
Km.counter = 1;
|
|
124285
|
-
Km =
|
|
124285
|
+
Km = br = j0e([
|
|
124286
124286
|
Ep(0, Kl),
|
|
124287
124287
|
Ep(1, $t)
|
|
124288
124288
|
], Km);
|
|
@@ -125257,7 +125257,14 @@ function b1({
|
|
|
125257
125257
|
rootClassName: s = "",
|
|
125258
125258
|
iconSize: o = 16
|
|
125259
125259
|
}) {
|
|
125260
|
-
const [a, l] = Ue(!1), [c, d] = Ue(!1), u = () =>
|
|
125260
|
+
const [a, l] = Ue(!1), [c, d] = Ue(!1), u = () => {
|
|
125261
|
+
l(!0);
|
|
125262
|
+
}, h = () => d(!0), f = () => d(!1), g = Lc(
|
|
125263
|
+
(p) => {
|
|
125264
|
+
mr(p), hut(n, u);
|
|
125265
|
+
},
|
|
125266
|
+
[n]
|
|
125267
|
+
);
|
|
125261
125268
|
return it(() => {
|
|
125262
125269
|
if (!a)
|
|
125263
125270
|
return;
|
|
@@ -125899,7 +125906,7 @@ const nst = ({
|
|
|
125899
125906
|
"div",
|
|
125900
125907
|
{
|
|
125901
125908
|
...s,
|
|
125902
|
-
className: "git-commit-info-generic__header px-16 py-12 dc__box-shadow fs-12 fw-6 dc__gap-
|
|
125909
|
+
className: "git-commit-info-generic__header px-16 py-12 dc__box-shadow fs-12 fw-6 dc__gap-4",
|
|
125903
125910
|
style: r,
|
|
125904
125911
|
children: [
|
|
125905
125912
|
/* @__PURE__ */ _.jsx("div", { className: ist(e) }),
|
|
@@ -126039,7 +126046,7 @@ const nst = ({
|
|
|
126039
126046
|
target: "_blank",
|
|
126040
126047
|
rel: "noopener noreferrer",
|
|
126041
126048
|
className: "commit-hash",
|
|
126042
|
-
onClick:
|
|
126049
|
+
onClick: mr,
|
|
126043
126050
|
"data-testid": `deployment-history-source-code-material-history${a}`,
|
|
126044
126051
|
children: /* @__PURE__ */ _.jsxs(
|
|
126045
126052
|
"div",
|
|
@@ -126118,7 +126125,7 @@ const nst = ({
|
|
|
126118
126125
|
target: "_blank",
|
|
126119
126126
|
rel: "noopener noreferrer",
|
|
126120
126127
|
className: "commit-hash",
|
|
126121
|
-
onClick:
|
|
126128
|
+
onClick: mr,
|
|
126122
126129
|
children: [
|
|
126123
126130
|
/* @__PURE__ */ _.jsx(q4, { className: "commit-hash__icon" }),
|
|
126124
126131
|
g.data["source checkout"]
|
|
@@ -126148,7 +126155,7 @@ const nst = ({
|
|
|
126148
126155
|
target: "_blank",
|
|
126149
126156
|
rel: "noopener noreferrer",
|
|
126150
126157
|
className: "commit-hash",
|
|
126151
|
-
onClick:
|
|
126158
|
+
onClick: mr,
|
|
126152
126159
|
children: [
|
|
126153
126160
|
/* @__PURE__ */ _.jsx(q4, { className: "commit-hash__icon" }),
|
|
126154
126161
|
g.data["target checkout"]
|
|
@@ -143043,7 +143050,7 @@ const Sdt = ({ URL: n, width: e, height: t, title: i, maxHeight: r, maxWidth: s
|
|
|
143043
143050
|
"div",
|
|
143044
143051
|
{
|
|
143045
143052
|
className: "dc__overflow-scroll br-8 dc__position-rel bcn-0 custom-panel--iframe-element flexbox-col dc__content-space",
|
|
143046
|
-
onClick:
|
|
143053
|
+
onClick: mr,
|
|
143047
143054
|
children: [
|
|
143048
143055
|
/* @__PURE__ */ _.jsxs("div", { className: "flexbox dc__align-items-center dc__content-space dc__border-bottom py-20 px-16", children: [
|
|
143049
143056
|
/* @__PURE__ */ _.jsx("h3", { className: "m-0 cn-9 fs-16 fw-6 lh-24 dc__truncate", children: i }),
|
|
@@ -143358,7 +143365,7 @@ const HSt = {
|
|
|
143358
143365
|
className: "anchor fs-12 fw-6 lh-20",
|
|
143359
143366
|
target: "_blank",
|
|
143360
143367
|
rel: "noopener noreferrer",
|
|
143361
|
-
onClick:
|
|
143368
|
+
onClick: mr,
|
|
143362
143369
|
children: "Learn more"
|
|
143363
143370
|
}
|
|
143364
143371
|
),
|
|
@@ -144196,7 +144203,7 @@ function IM(n, e, t, i) {
|
|
|
144196
144203
|
let r = e[n], s = t[n];
|
|
144197
144204
|
return i && (r = r.toLowerCase(), s = s.toLowerCase()), r < s ? -1 : r > s ? 1 : 0;
|
|
144198
144205
|
}
|
|
144199
|
-
const
|
|
144206
|
+
const mr = (n) => {
|
|
144200
144207
|
n.stopPropagation();
|
|
144201
144208
|
}, eDt = (n) => {
|
|
144202
144209
|
n.preventDefault();
|
|
@@ -144914,7 +144921,7 @@ class c2 extends nt.Component {
|
|
|
144914
144921
|
this.escFunction = this.escFunction.bind(this);
|
|
144915
144922
|
}
|
|
144916
144923
|
escFunction(t) {
|
|
144917
|
-
|
|
144924
|
+
mr(t), (t.keyCode === 27 || t.key === "Escape") && (this.props.onEscape ? this.props.onEscape(t) : this.props.close && this.props.close(t));
|
|
144918
144925
|
}
|
|
144919
144926
|
componentDidMount() {
|
|
144920
144927
|
document.addEventListener("keydown", this.escFunction), this.modalRef.classList.add(this.props.noBackground ? "show" : "show-with-bg"), x_(!0), this.props.parentClassName && this.modalRef.classList.add(this.props.parentClassName);
|
|
@@ -144964,7 +144971,7 @@ class Mut extends nt.Component {
|
|
|
144964
144971
|
this.escFunction = this.escFunction.bind(this);
|
|
144965
144972
|
}
|
|
144966
144973
|
escFunction(t) {
|
|
144967
|
-
|
|
144974
|
+
mr(t), t.keyCode === 27 && this.props.close && this.props.close(t);
|
|
144968
144975
|
}
|
|
144969
144976
|
componentDidMount() {
|
|
144970
144977
|
document.addEventListener("keydown", this.escFunction), this.modalRef.classList.add("show-with-bg"), x_(!0);
|
|
@@ -145244,12 +145251,12 @@ const soe = ({
|
|
|
145244
145251
|
}, b = (M) => {
|
|
145245
145252
|
h(M.target.value);
|
|
145246
145253
|
}, w = (M) => {
|
|
145247
|
-
|
|
145254
|
+
mr(M);
|
|
145248
145255
|
const E = { ...e };
|
|
145249
145256
|
E[s] = M.currentTarget.dataset.key, E.propagate = M.currentTarget.dataset.propagate === "true", t(n, E), g("");
|
|
145250
145257
|
}, y = () => {
|
|
145251
145258
|
let M = { isValid: !0, messages: [] };
|
|
145252
|
-
return s === Bu.KEY ? (u || e.value) && (M = p.propagateTagKey(u)) : (r || u || e.propagate) && (M = p.propagateTagValue(u, e.key)), M.isValid ? null : /* @__PURE__ */ _.jsxs("div", { className: "p-4", onClick:
|
|
145259
|
+
return s === Bu.KEY ? (u || e.value) && (M = p.propagateTagKey(u)) : (r || u || e.propagate) && (M = p.propagateTagValue(u, e.key)), M.isValid ? null : /* @__PURE__ */ _.jsxs("div", { className: "p-4", onClick: mr, "data-testid": "tag-label-cross-stop-propagation", children: [
|
|
145253
145260
|
M.messages.map((E) => /* @__PURE__ */ _.jsxs("div", { className: "flexbox pr-4 pl-4", children: [
|
|
145254
145261
|
/* @__PURE__ */ _.jsx("span", { children: /* @__PURE__ */ _.jsx(I1, { className: "icon-dim-14 scr-5 mt-3 mr-4" }) }),
|
|
145255
145262
|
/* @__PURE__ */ _.jsx("span", { children: E })
|
|
@@ -145330,7 +145337,7 @@ const soe = ({
|
|
|
145330
145337
|
suggestedTagsOptions: s
|
|
145331
145338
|
}) => {
|
|
145332
145339
|
const o = Xt(null), a = Xt(null), l = new y1e(), c = (u) => {
|
|
145333
|
-
|
|
145340
|
+
mr(u), i(n);
|
|
145334
145341
|
}, d = () => {
|
|
145335
145342
|
const u = { ...e };
|
|
145336
145343
|
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);
|
|
@@ -146095,7 +146102,7 @@ const aht = ({
|
|
|
146095
146102
|
}, Be = (ie) => {
|
|
146096
146103
|
ie.target.value && ue(ie.target.value), Y(ie.target.value);
|
|
146097
146104
|
}, ae = (ie) => {
|
|
146098
|
-
|
|
146105
|
+
mr(ie), T.trim() && U(T.trim());
|
|
146099
146106
|
}, re = () => {
|
|
146100
146107
|
let ie = N;
|
|
146101
146108
|
T.trim() && (ie = U(T)), Ie(ie);
|
|
@@ -146147,10 +146154,10 @@ const aht = ({
|
|
|
146147
146154
|
isSoftDeleted: ie?.deleted,
|
|
146148
146155
|
isEditing: S,
|
|
146149
146156
|
onSoftDeleteClick: (V) => {
|
|
146150
|
-
|
|
146157
|
+
mr(V), ne(B);
|
|
146151
146158
|
},
|
|
146152
146159
|
onHardDeleteClick: (V) => {
|
|
146153
|
-
|
|
146160
|
+
mr(V), H(B);
|
|
146154
146161
|
},
|
|
146155
146162
|
tagId: ie.id,
|
|
146156
146163
|
softDeleteTags: O,
|
|
@@ -146192,7 +146199,7 @@ const aht = ({
|
|
|
146192
146199
|
className: "cta flex cancel h-32 lh-32-imp",
|
|
146193
146200
|
type: "button",
|
|
146194
146201
|
onClick: (ie) => {
|
|
146195
|
-
|
|
146202
|
+
mr(ie), _e();
|
|
146196
146203
|
},
|
|
146197
146204
|
disabled: Q,
|
|
146198
146205
|
children: "Cancel"
|
|
@@ -146205,7 +146212,7 @@ const aht = ({
|
|
|
146205
146212
|
"data-testid": "save-tags-button",
|
|
146206
146213
|
type: "button",
|
|
146207
146214
|
onClick: (ie) => {
|
|
146208
|
-
|
|
146215
|
+
mr(ie), re();
|
|
146209
146216
|
},
|
|
146210
146217
|
disabled: Q,
|
|
146211
146218
|
children: Q ? /* @__PURE__ */ _.jsx(ms, {}) : "Save"
|
|
@@ -146227,10 +146234,10 @@ const aht = ({
|
|
|
146227
146234
|
isSoftDeleted: ie?.deleted,
|
|
146228
146235
|
isEditing: S,
|
|
146229
146236
|
onSoftDeleteClick: (V) => {
|
|
146230
|
-
|
|
146237
|
+
mr(V), ne(B);
|
|
146231
146238
|
},
|
|
146232
146239
|
onHardDeleteClick: (V) => {
|
|
146233
|
-
|
|
146240
|
+
mr(V), H(B);
|
|
146234
146241
|
},
|
|
146235
146242
|
tagId: ie.id,
|
|
146236
146243
|
softDeleteTags: O,
|
|
@@ -146249,7 +146256,7 @@ const aht = ({
|
|
|
146249
146256
|
className: "icon-dim-16 image-tags-container-edit__icon cursor",
|
|
146250
146257
|
"data-testid": "edit-tags-icon",
|
|
146251
146258
|
onClick: (ie) => {
|
|
146252
|
-
|
|
146259
|
+
mr(ie), se();
|
|
146253
146260
|
}
|
|
146254
146261
|
}
|
|
146255
146262
|
) })
|
|
@@ -146309,7 +146316,7 @@ const aht = ({
|
|
|
146309
146316
|
);
|
|
146310
146317
|
}, uht = ({ handleEditClick: n }) => {
|
|
146311
146318
|
const e = (t) => {
|
|
146312
|
-
|
|
146319
|
+
mr(t), n();
|
|
146313
146320
|
};
|
|
146314
146321
|
return /* @__PURE__ */ _.jsx("div", { className: "add-tag-button flex pt-12 pr-12", "data-testid": "add-tags-button", onClick: e, children: /* @__PURE__ */ _.jsxs("div", { className: "lh-16 flex", children: [
|
|
146315
146322
|
/* @__PURE__ */ _.jsx(EA, { className: "icon-dim-16 cn-6" }),
|
|
@@ -148451,7 +148458,7 @@ export {
|
|
|
148451
148458
|
As as aJ,
|
|
148452
148459
|
vu as aK,
|
|
148453
148460
|
IM as aL,
|
|
148454
|
-
|
|
148461
|
+
mr as aM,
|
|
148455
148462
|
eDt as aN,
|
|
148456
148463
|
SY as aO,
|
|
148457
148464
|
ED as aP,
|