monaco-editor 0.59.0-dev-20261127 → 0.59.0-dev-20261129
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/dev/vs/basic-languages/monaco.contribution.js +18 -18
- package/dev/vs/{cssMode-C8RVEvSk.js → cssMode-BfHaVttQ.js} +1 -1
- package/dev/vs/editor/editor.main.css +104 -0
- package/dev/vs/editor/editor.main.js +1 -1
- package/dev/vs/{editor-Ci32GLSH.js → editor-Kqk0kUu4.js} +145 -20
- package/dev/vs/editor.js +1 -1
- package/dev/vs/{freemarker2-DK0J7zbs.js → freemarker2-B2-gBUC_.js} +1 -1
- package/dev/vs/{handlebars-BfKom126.js → handlebars-CJowd8GL.js} +1 -1
- package/dev/vs/{html-BAw601si.js → html-J3k6_t63.js} +1 -1
- package/dev/vs/{htmlMode-VSpXFyDW.js → htmlMode-DJdqGTlB.js} +1 -1
- package/dev/vs/{index-DoHs2qXD.js → index-Cz3vIIRv.js} +1 -1
- package/dev/vs/index.js +1 -1
- package/dev/vs/{javascript-BIRXLGds.js → javascript-Bi6K1QK-.js} +1 -1
- package/dev/vs/{jsonMode-CydMuFhh.js → jsonMode-Bww4aUf-.js} +1 -1
- package/dev/vs/language/css/monaco.contribution.js +1 -1
- package/dev/vs/language/html/monaco.contribution.js +1 -1
- package/dev/vs/language/json/monaco.contribution.js +1 -1
- package/dev/vs/language/typescript/monaco.contribution.js +1 -1
- package/dev/vs/{liquid-CkO91Mm_.js → liquid-Don2AAH_.js} +1 -1
- package/dev/vs/{lspLanguageFeatures-BP3YwDrm.js → lspLanguageFeatures-DOJ8WbC9.js} +1 -1
- package/dev/vs/{mdx-ClTCg6wz.js → mdx-YReDBjgr.js} +1 -1
- package/dev/vs/{monaco.contribution-BBqZOYMd.js → monaco.contribution-B1c0c51a.js} +2 -2
- package/dev/vs/{monaco.contribution-DurnEYrz.js → monaco.contribution-C9rd6pEV.js} +2 -2
- package/dev/vs/{monaco.contribution-Bd__ry_D.js → monaco.contribution-CZbFPDnk.js} +2 -2
- package/dev/vs/{monaco.contribution-Cwz_svHq.js → monaco.contribution-j-0xUu9C.js} +2 -2
- package/dev/vs/nls/lang/cs.js +1 -1
- package/dev/vs/nls/lang/de.js +1 -1
- package/dev/vs/nls/lang/es.js +1 -1
- package/dev/vs/nls/lang/fr.js +1 -1
- package/dev/vs/nls/lang/it.js +1 -1
- package/dev/vs/nls/lang/ja.js +1 -1
- package/dev/vs/nls/lang/ko.js +1 -1
- package/dev/vs/nls/lang/pl.js +1 -1
- package/dev/vs/nls/lang/pt-br.js +1 -1
- package/dev/vs/nls/lang/ru.js +1 -1
- package/dev/vs/nls/lang/tr.js +1 -1
- package/dev/vs/nls/lang/zh-cn.js +1 -1
- package/dev/vs/nls/lang/zh-tw.js +1 -1
- package/dev/vs/{python-CkEKeotV.js → python-NGD-Eiir.js} +1 -1
- package/dev/vs/{razor-CgahQbaG.js → razor-CuFtlaQ9.js} +1 -1
- package/dev/vs/{toggleHighContrast-DuFgQ-0_.js → toggleHighContrast-DoEeBNAC.js} +39 -20
- package/dev/vs/{tsMode-CpBTdtwg.js → tsMode-BWH55Cfw.js} +1 -1
- package/dev/vs/{typescript-Btb87VHX.js → typescript-DTas5Da0.js} +1 -1
- package/dev/vs/{workers-Cn6N7-z7.js → workers-C6FdPkd6.js} +1 -1
- package/dev/vs/{xml-DldakKoW.js → xml-CW8eZvsV.js} +1 -1
- package/dev/vs/{yaml-DyLaGnAe.js → yaml-DZXq1_Va.js} +1 -1
- package/esm/vs/base/browser/ui/actionbar/actionbar.css +104 -0
- package/esm/vs/base/browser/ui/contextview/contextview.js +1 -1
- package/esm/vs/base/browser/ui/toolbar/toolbar.js +119 -2
- package/esm/vs/base/browser/ui/tree/asyncDataTree.js +32 -3
- package/esm/vs/base/common/keybindingLabels.js +2 -2
- package/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +4 -2
- package/esm/vs/editor/contrib/documentSymbols/browser/outlineModel.js +13 -4
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +5 -3
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.js +10 -8
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +6 -3
- package/esm/vs/nls/lang/cs.js +1 -1
- package/esm/vs/nls/lang/de.js +1 -1
- package/esm/vs/nls/lang/es.js +1 -1
- package/esm/vs/nls/lang/fr.js +1 -1
- package/esm/vs/nls/lang/it.js +1 -1
- package/esm/vs/nls/lang/ja.js +1 -1
- package/esm/vs/nls/lang/ko.js +1 -1
- package/esm/vs/nls/lang/pl.js +1 -1
- package/esm/vs/nls/lang/pt-br.js +1 -1
- package/esm/vs/nls/lang/ru.js +1 -1
- package/esm/vs/nls/lang/tr.js +1 -1
- package/esm/vs/nls/lang/zh-cn.js +1 -1
- package/esm/vs/nls/lang/zh-tw.js +1 -1
- package/esm/vs/platform/actionWidget/browser/actionWidget.js +2 -0
- package/esm/vs/platform/history/browser/historyWidgetKeybindingHint.js +1 -1
- package/esm/vs/platform/keybinding/common/baseResolvedKeybinding.js +1 -13
- package/esm/vs/platform/keybinding/common/usLayoutResolvedKeybinding.js +0 -3
- package/min/vs/basic-languages/monaco.contribution.js +1 -1
- package/min/vs/{cssMode-CHnUMxqg.js → cssMode-CFPDfYTz.js} +1 -1
- package/min/vs/editor/editor.main.css +1 -1
- package/min/vs/editor/editor.main.js +1 -1
- package/min/vs/{editor-DS8QkEgf.js → editor-CxwusS8Q.js} +116 -116
- package/min/vs/editor.js +1 -1
- package/min/vs/{freemarker2-DvUX8qRt.js → freemarker2-C9PyKDk7.js} +1 -1
- package/min/vs/{handlebars-CSovln--.js → handlebars-27UlZo_z.js} +1 -1
- package/min/vs/{html-BBFuhh4j.js → html-BUs3T8Rs.js} +1 -1
- package/min/vs/{htmlMode-RJccGS48.js → htmlMode-BBqiP-fs.js} +1 -1
- package/min/vs/{index-CTgdRmMu.js → index-P5aL40_m.js} +1 -1
- package/min/vs/index.js +1 -1
- package/min/vs/{javascript-E6Sx0G-x.js → javascript-r1t6DVGg.js} +1 -1
- package/min/vs/{jsonMode-D3LASenS.js → jsonMode-J76ZFlS9.js} +1 -1
- package/min/vs/language/css/monaco.contribution.js +1 -1
- package/min/vs/language/html/monaco.contribution.js +1 -1
- package/min/vs/language/json/monaco.contribution.js +1 -1
- package/min/vs/language/typescript/monaco.contribution.js +1 -1
- package/min/vs/{liquid-B47CB39l.js → liquid-BMH4rnE9.js} +1 -1
- package/min/vs/{lspLanguageFeatures-I7l7ErOC.js → lspLanguageFeatures-DiJb8YGw.js} +1 -1
- package/min/vs/{mdx-Dp-Dvs7R.js → mdx-ZnLFqcB8.js} +1 -1
- package/min/vs/{monaco.contribution-BpTOZNGR.js → monaco.contribution-BEzfzF05.js} +1 -1
- package/min/vs/{monaco.contribution-DNwdevtb.js → monaco.contribution-CrqhNwP8.js} +1 -1
- package/min/vs/{monaco.contribution-DZ5O9vYv.js → monaco.contribution-D485oWMQ.js} +1 -1
- package/min/vs/{monaco.contribution-ClItfQG9.js → monaco.contribution-sJ7_OAYP.js} +1 -1
- package/min/vs/nls/lang/cs.js +1 -1
- package/min/vs/nls/lang/de.js +1 -1
- package/min/vs/nls/lang/es.js +1 -1
- package/min/vs/nls/lang/fr.js +1 -1
- package/min/vs/nls/lang/it.js +1 -1
- package/min/vs/nls/lang/ja.js +1 -1
- package/min/vs/nls/lang/ko.js +1 -1
- package/min/vs/nls/lang/pl.js +1 -1
- package/min/vs/nls/lang/pt-br.js +1 -1
- package/min/vs/nls/lang/ru.js +1 -1
- package/min/vs/nls/lang/tr.js +1 -1
- package/min/vs/nls/lang/zh-cn.js +1 -1
- package/min/vs/nls/lang/zh-tw.js +1 -1
- package/min/vs/{python-Cdlbi8yx.js → python-DEe5IYgX.js} +1 -1
- package/min/vs/{razor-5QHxZ6nu.js → razor-DH1E6OOs.js} +1 -1
- package/min/vs/{toggleHighContrast-OAC0EBBg.js → toggleHighContrast-DCiEyAcZ.js} +30 -30
- package/min/vs/{tsMode-DNDvYd8w.js → tsMode-DXbZIKt6.js} +1 -1
- package/min/vs/{typescript-CU4kziqC.js → typescript-BjrCfR_L.js} +1 -1
- package/min/vs/{workers-ChN2D_xq.js → workers-BGQEMO5r.js} +1 -1
- package/min/vs/{xml-D6irn0La.js → xml-SW_OD0XY.js} +1 -1
- package/min/vs/{yaml-DphTob_u.js → yaml-DlQJdCf0.js} +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define("vs/basic-languages/monaco.contribution", ["require", "../editor-
|
|
1
|
+
define("vs/basic-languages/monaco.contribution", ["require", "../editor-Kqk0kUu4"], (function(require, editor) {
|
|
2
2
|
"use strict";
|
|
3
3
|
const languageDefinitions = {};
|
|
4
4
|
const lazyLanguageLoaders = {};
|
|
@@ -174,49 +174,49 @@ define("vs/basic-languages/monaco.contribution", ["require", "../editor-Ci32GLSH
|
|
|
174
174
|
extensions: [".ftl", ".ftlh", ".ftlx"],
|
|
175
175
|
aliases: ["FreeMarker2", "Apache FreeMarker2"],
|
|
176
176
|
loader: () => {
|
|
177
|
-
return new Promise((resolve, reject) => require(["../freemarker2-
|
|
177
|
+
return new Promise((resolve, reject) => require(["../freemarker2-B2-gBUC_"], resolve, reject)).then((m) => m.TagAutoInterpolationDollar);
|
|
178
178
|
}
|
|
179
179
|
});
|
|
180
180
|
registerLanguage({
|
|
181
181
|
id: "freemarker2.tag-angle.interpolation-dollar",
|
|
182
182
|
aliases: ["FreeMarker2 (Angle/Dollar)", "Apache FreeMarker2 (Angle/Dollar)"],
|
|
183
183
|
loader: () => {
|
|
184
|
-
return new Promise((resolve, reject) => require(["../freemarker2-
|
|
184
|
+
return new Promise((resolve, reject) => require(["../freemarker2-B2-gBUC_"], resolve, reject)).then((m) => m.TagAngleInterpolationDollar);
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
187
|
registerLanguage({
|
|
188
188
|
id: "freemarker2.tag-bracket.interpolation-dollar",
|
|
189
189
|
aliases: ["FreeMarker2 (Bracket/Dollar)", "Apache FreeMarker2 (Bracket/Dollar)"],
|
|
190
190
|
loader: () => {
|
|
191
|
-
return new Promise((resolve, reject) => require(["../freemarker2-
|
|
191
|
+
return new Promise((resolve, reject) => require(["../freemarker2-B2-gBUC_"], resolve, reject)).then((m) => m.TagBracketInterpolationDollar);
|
|
192
192
|
}
|
|
193
193
|
});
|
|
194
194
|
registerLanguage({
|
|
195
195
|
id: "freemarker2.tag-angle.interpolation-bracket",
|
|
196
196
|
aliases: ["FreeMarker2 (Angle/Bracket)", "Apache FreeMarker2 (Angle/Bracket)"],
|
|
197
197
|
loader: () => {
|
|
198
|
-
return new Promise((resolve, reject) => require(["../freemarker2-
|
|
198
|
+
return new Promise((resolve, reject) => require(["../freemarker2-B2-gBUC_"], resolve, reject)).then((m) => m.TagAngleInterpolationBracket);
|
|
199
199
|
}
|
|
200
200
|
});
|
|
201
201
|
registerLanguage({
|
|
202
202
|
id: "freemarker2.tag-bracket.interpolation-bracket",
|
|
203
203
|
aliases: ["FreeMarker2 (Bracket/Bracket)", "Apache FreeMarker2 (Bracket/Bracket)"],
|
|
204
204
|
loader: () => {
|
|
205
|
-
return new Promise((resolve, reject) => require(["../freemarker2-
|
|
205
|
+
return new Promise((resolve, reject) => require(["../freemarker2-B2-gBUC_"], resolve, reject)).then((m) => m.TagBracketInterpolationBracket);
|
|
206
206
|
}
|
|
207
207
|
});
|
|
208
208
|
registerLanguage({
|
|
209
209
|
id: "freemarker2.tag-auto.interpolation-dollar",
|
|
210
210
|
aliases: ["FreeMarker2 (Auto/Dollar)", "Apache FreeMarker2 (Auto/Dollar)"],
|
|
211
211
|
loader: () => {
|
|
212
|
-
return new Promise((resolve, reject) => require(["../freemarker2-
|
|
212
|
+
return new Promise((resolve, reject) => require(["../freemarker2-B2-gBUC_"], resolve, reject)).then((m) => m.TagAutoInterpolationDollar);
|
|
213
213
|
}
|
|
214
214
|
});
|
|
215
215
|
registerLanguage({
|
|
216
216
|
id: "freemarker2.tag-auto.interpolation-bracket",
|
|
217
217
|
aliases: ["FreeMarker2 (Auto/Bracket)", "Apache FreeMarker2 (Auto/Bracket)"],
|
|
218
218
|
loader: () => {
|
|
219
|
-
return new Promise((resolve, reject) => require(["../freemarker2-
|
|
219
|
+
return new Promise((resolve, reject) => require(["../freemarker2-B2-gBUC_"], resolve, reject)).then((m) => m.TagAutoInterpolationBracket);
|
|
220
220
|
}
|
|
221
221
|
});
|
|
222
222
|
registerLanguage({
|
|
@@ -237,7 +237,7 @@ define("vs/basic-languages/monaco.contribution", ["require", "../editor-Ci32GLSH
|
|
|
237
237
|
extensions: [".handlebars", ".hbs"],
|
|
238
238
|
aliases: ["Handlebars", "handlebars", "hbs"],
|
|
239
239
|
mimetypes: ["text/x-handlebars-template"],
|
|
240
|
-
loader: () => new Promise((resolve, reject) => require(["../handlebars-
|
|
240
|
+
loader: () => new Promise((resolve, reject) => require(["../handlebars-CJowd8GL"], resolve, reject))
|
|
241
241
|
});
|
|
242
242
|
registerLanguage({
|
|
243
243
|
id: "hcl",
|
|
@@ -250,7 +250,7 @@ define("vs/basic-languages/monaco.contribution", ["require", "../editor-Ci32GLSH
|
|
|
250
250
|
extensions: [".html", ".htm", ".shtml", ".xhtml", ".mdoc", ".jsp", ".asp", ".aspx", ".jshtm"],
|
|
251
251
|
aliases: ["HTML", "htm", "html", "xhtml"],
|
|
252
252
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
253
|
-
loader: () => new Promise((resolve, reject) => require(["../html-
|
|
253
|
+
loader: () => new Promise((resolve, reject) => require(["../html-J3k6_t63"], resolve, reject))
|
|
254
254
|
});
|
|
255
255
|
registerLanguage({
|
|
256
256
|
id: "ini",
|
|
@@ -273,7 +273,7 @@ define("vs/basic-languages/monaco.contribution", ["require", "../editor-Ci32GLSH
|
|
|
273
273
|
filenames: ["jakefile"],
|
|
274
274
|
aliases: ["JavaScript", "javascript", "js"],
|
|
275
275
|
mimetypes: ["text/javascript"],
|
|
276
|
-
loader: () => new Promise((resolve, reject) => require(["../javascript-
|
|
276
|
+
loader: () => new Promise((resolve, reject) => require(["../javascript-Bi6K1QK-"], resolve, reject))
|
|
277
277
|
});
|
|
278
278
|
registerLanguage({
|
|
279
279
|
id: "julia",
|
|
@@ -312,7 +312,7 @@ define("vs/basic-languages/monaco.contribution", ["require", "../editor-Ci32GLSH
|
|
|
312
312
|
extensions: [".liquid", ".html.liquid"],
|
|
313
313
|
aliases: ["Liquid", "liquid"],
|
|
314
314
|
mimetypes: ["application/liquid"],
|
|
315
|
-
loader: () => new Promise((resolve, reject) => require(["../liquid-
|
|
315
|
+
loader: () => new Promise((resolve, reject) => require(["../liquid-Don2AAH_"], resolve, reject))
|
|
316
316
|
});
|
|
317
317
|
registerLanguage({
|
|
318
318
|
id: "m3",
|
|
@@ -330,7 +330,7 @@ define("vs/basic-languages/monaco.contribution", ["require", "../editor-Ci32GLSH
|
|
|
330
330
|
id: "mdx",
|
|
331
331
|
extensions: [".mdx"],
|
|
332
332
|
aliases: ["MDX", "mdx"],
|
|
333
|
-
loader: () => new Promise((resolve, reject) => require(["../mdx-
|
|
333
|
+
loader: () => new Promise((resolve, reject) => require(["../mdx-YReDBjgr"], resolve, reject))
|
|
334
334
|
});
|
|
335
335
|
registerLanguage({
|
|
336
336
|
id: "mips",
|
|
@@ -429,7 +429,7 @@ define("vs/basic-languages/monaco.contribution", ["require", "../editor-Ci32GLSH
|
|
|
429
429
|
extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
|
|
430
430
|
aliases: ["Python", "py"],
|
|
431
431
|
firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
|
|
432
|
-
loader: () => new Promise((resolve, reject) => require(["../python-
|
|
432
|
+
loader: () => new Promise((resolve, reject) => require(["../python-NGD-Eiir"], resolve, reject))
|
|
433
433
|
});
|
|
434
434
|
registerLanguage({
|
|
435
435
|
id: "qsharp",
|
|
@@ -448,7 +448,7 @@ define("vs/basic-languages/monaco.contribution", ["require", "../editor-Ci32GLSH
|
|
|
448
448
|
extensions: [".cshtml"],
|
|
449
449
|
aliases: ["Razor", "razor"],
|
|
450
450
|
mimetypes: ["text/x-cshtml"],
|
|
451
|
-
loader: () => new Promise((resolve, reject) => require(["../razor-
|
|
451
|
+
loader: () => new Promise((resolve, reject) => require(["../razor-CuFtlaQ9"], resolve, reject))
|
|
452
452
|
});
|
|
453
453
|
registerLanguage({
|
|
454
454
|
id: "redis",
|
|
@@ -581,7 +581,7 @@ define("vs/basic-languages/monaco.contribution", ["require", "../editor-Ci32GLSH
|
|
|
581
581
|
aliases: ["TypeScript", "ts", "typescript"],
|
|
582
582
|
mimetypes: ["text/typescript"],
|
|
583
583
|
loader: () => {
|
|
584
|
-
return new Promise((resolve, reject) => require(["../typescript-
|
|
584
|
+
return new Promise((resolve, reject) => require(["../typescript-DTas5Da0"], resolve, reject));
|
|
585
585
|
}
|
|
586
586
|
});
|
|
587
587
|
registerLanguage({
|
|
@@ -626,13 +626,13 @@ define("vs/basic-languages/monaco.contribution", ["require", "../editor-Ci32GLSH
|
|
|
626
626
|
firstLine: "(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",
|
|
627
627
|
aliases: ["XML", "xml"],
|
|
628
628
|
mimetypes: ["text/xml", "application/xml", "application/xaml+xml", "application/xml-dtd"],
|
|
629
|
-
loader: () => new Promise((resolve, reject) => require(["../xml-
|
|
629
|
+
loader: () => new Promise((resolve, reject) => require(["../xml-CW8eZvsV"], resolve, reject))
|
|
630
630
|
});
|
|
631
631
|
registerLanguage({
|
|
632
632
|
id: "yaml",
|
|
633
633
|
extensions: [".yaml", ".yml"],
|
|
634
634
|
aliases: ["YAML", "yaml", "YML", "yml"],
|
|
635
635
|
mimetypes: ["application/x-yaml", "text/x-yaml"],
|
|
636
|
-
loader: () => new Promise((resolve, reject) => require(["../yaml-
|
|
636
|
+
loader: () => new Promise((resolve, reject) => require(["../yaml-DZXq1_Va"], resolve, reject))
|
|
637
637
|
});
|
|
638
638
|
}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define("vs/cssMode-
|
|
1
|
+
define("vs/cssMode-BfHaVttQ", ["exports", "./css.worker-BapYnqZ0", "./workers-C6FdPkd6", "./lspLanguageFeatures-DOJ8WbC9", "./editor-Kqk0kUu4"], (function(exports, css_worker, workers, lspLanguageFeatures, editor) {
|
|
2
2
|
"use strict";
|
|
3
3
|
const STOP_WHEN_IDLE_FOR = 2 * 60 * 1e3;
|
|
4
4
|
class WorkerManager {
|
|
@@ -1717,6 +1717,110 @@
|
|
|
1717
1717
|
.monaco-action-bar .action-item.action-dropdown-item > .action-dropdown-item-separator > div {
|
|
1718
1718
|
width: 1px;
|
|
1719
1719
|
}
|
|
1720
|
+
|
|
1721
|
+
/* The geometry of filled label split buttons that opt in with the `filledSplitButton` option, such as those of the Extensions
|
|
1722
|
+
editor header and the New button of the Chat view title, so that they all look the same. */
|
|
1723
|
+
|
|
1724
|
+
.monaco-action-bar .actions-container .action-item.action-dropdown-item.filled-split-button > .action-label.filled-label {
|
|
1725
|
+
height: auto;
|
|
1726
|
+
margin: 2px 0 2px 2px; /* margin for outline */
|
|
1727
|
+
max-width: 300px;
|
|
1728
|
+
padding: 0 5px;
|
|
1729
|
+
line-height: 22px;
|
|
1730
|
+
outline-offset: 1px;
|
|
1731
|
+
border-radius: 4px 0 0 4px;
|
|
1732
|
+
overflow: hidden;
|
|
1733
|
+
white-space: nowrap;
|
|
1734
|
+
text-overflow: ellipsis;
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
.monaco-action-bar .actions-container .action-item.action-dropdown-item.filled-split-button > .action-dropdown-item-separator {
|
|
1738
|
+
align-self: auto;
|
|
1739
|
+
height: 22px;
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
.monaco-action-bar .actions-container .action-item.action-dropdown-item.filled-split-button > .action-dropdown-item-separator > div {
|
|
1743
|
+
height: 16px;
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1746
|
+
.monaco-action-bar .actions-container .action-item.action-dropdown-item.filled-split-button > .monaco-dropdown .action-label.filled-label {
|
|
1747
|
+
width: auto;
|
|
1748
|
+
height: auto;
|
|
1749
|
+
margin: 2px 2px 2px 0; /* margin for outline */
|
|
1750
|
+
padding: 0 2px;
|
|
1751
|
+
line-height: 22px;
|
|
1752
|
+
outline-offset: 1px;
|
|
1753
|
+
border-radius: 0 4px 4px 0;
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1756
|
+
.monaco-action-bar .actions-container .action-item.action-dropdown-item.filled-split-button.empty > .action-label.filled-label {
|
|
1757
|
+
margin-right: 2px;
|
|
1758
|
+
border-radius: 4px;
|
|
1759
|
+
}
|
|
1760
|
+
|
|
1761
|
+
/* Filled label buttons and split buttons, such as those of the Extensions editor. A split button opts in with a filled
|
|
1762
|
+
primary label: its divider fills the split's full height and its dropdown is a compact chevron. Hosts with their own
|
|
1763
|
+
geometry, such as the Extensions list, override it with more specific rules. */
|
|
1764
|
+
|
|
1765
|
+
.monaco-action-bar .actions-container .action-item .action-label.filled-label,
|
|
1766
|
+
.monaco-action-bar .action-item.action-dropdown-item:where(:has(> .action-label.filled-label)) > .action-dropdown-item-separator {
|
|
1767
|
+
background-color: var(--vscode-extensionButton-background);
|
|
1768
|
+
border: 1px solid var(--vscode-extensionButton-border, transparent);
|
|
1769
|
+
}
|
|
1770
|
+
|
|
1771
|
+
.monaco-action-bar .actions-container .action-item.action-dropdown-item > .action-label.filled-label {
|
|
1772
|
+
border-right-width: 0;
|
|
1773
|
+
}
|
|
1774
|
+
|
|
1775
|
+
.monaco-action-bar .actions-container .action-item.action-dropdown-item > .monaco-dropdown .action-label.filled-label {
|
|
1776
|
+
border-left-width: 0;
|
|
1777
|
+
padding: 0 var(--vscode-spacing-size20);
|
|
1778
|
+
overflow: hidden;
|
|
1779
|
+
}
|
|
1780
|
+
|
|
1781
|
+
.monaco-action-bar .action-item.action-dropdown-item:where(:has(> .action-label.filled-label)) > .action-dropdown-item-separator {
|
|
1782
|
+
align-self: stretch;
|
|
1783
|
+
border-left-width: 0;
|
|
1784
|
+
border-right-width: 0;
|
|
1785
|
+
}
|
|
1786
|
+
|
|
1787
|
+
.monaco-action-bar .action-item.action-dropdown-item:where(:has(> .action-label.filled-label)) > .action-dropdown-item-separator > div {
|
|
1788
|
+
height: var(--vscode-spacing-size160);
|
|
1789
|
+
background-color: var(--vscode-extensionButton-separator, var(--vscode-extensionButton-border));
|
|
1790
|
+
}
|
|
1791
|
+
|
|
1792
|
+
.vscode-high-contrast .monaco-action-bar .action-item.action-dropdown-item:where(:has(> .action-label.filled-label)) > .action-dropdown-item-separator > div {
|
|
1793
|
+
background-color: var(--vscode-button-border);
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
.monaco-action-bar .actions-container .action-item.action-dropdown-item.empty > .action-label.filled-label {
|
|
1797
|
+
border-right-width: 1px;
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1800
|
+
.monaco-action-bar .action-item.action-dropdown-item.empty:where(:has(> .action-label.filled-label)) > .action-dropdown-item-separator {
|
|
1801
|
+
display: none;
|
|
1802
|
+
}
|
|
1803
|
+
|
|
1804
|
+
.monaco-action-bar .actions-container .action-item .action-label.filled-label {
|
|
1805
|
+
color: var(--vscode-extensionButton-foreground);
|
|
1806
|
+
}
|
|
1807
|
+
|
|
1808
|
+
.monaco-action-bar .actions-container .action-item:not(.disabled) .action-label.filled-label:hover {
|
|
1809
|
+
background-color: var(--vscode-extensionButton-hoverBackground);
|
|
1810
|
+
}
|
|
1811
|
+
|
|
1812
|
+
.monaco-action-bar .actions-container .action-item .action-label.filled-label.prominent,
|
|
1813
|
+
.monaco-action-bar .action-item.action-dropdown-item:where(:has(> .action-label.filled-label)) > .action-dropdown-item-separator.prominent {
|
|
1814
|
+
background-color: var(--vscode-extensionButton-prominentBackground);
|
|
1815
|
+
}
|
|
1816
|
+
|
|
1817
|
+
.monaco-action-bar .actions-container .action-item .action-label.filled-label.prominent {
|
|
1818
|
+
color: var(--vscode-extensionButton-prominentForeground) !important;
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
.monaco-action-bar .actions-container .action-item.action-item:not(.disabled) .action-label.filled-label.prominent:hover {
|
|
1822
|
+
background-color: var(--vscode-extensionButton-prominentHoverBackground);
|
|
1823
|
+
}
|
|
1720
1824
|
/*---------------------------------------------------------------------------------------------
|
|
1721
1825
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1722
1826
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define("vs/editor/editor.main", ["exports", "../json.worker-CDq6Do3L", "../css.worker-BapYnqZ0", "../html.worker-uHej7f12", "../ts.worker-FW5jpZK0", "require", "vs/nls.messages-loader!", "../index-
|
|
1
|
+
define("vs/editor/editor.main", ["exports", "../json.worker-CDq6Do3L", "../css.worker-BapYnqZ0", "../html.worker-uHej7f12", "../ts.worker-FW5jpZK0", "require", "vs/nls.messages-loader!", "../index-Cz3vIIRv", "../monaco.contribution-CZbFPDnk", "../editor-Kqk0kUu4", "../monaco.contribution-j-0xUu9C", "../monaco.contribution-B1c0c51a", "../monaco.contribution-C9rd6pEV"], (function(exports, json_worker, css_worker, html_worker, ts_worker, require, nls_messagesLoader_, index, src_deprecated_language_css_monaco_contribution_ts, editor, src_deprecated_language_html_monaco_contribution_ts, src_deprecated_language_typescript_monaco_contribution_ts, src_deprecated_language_json_monaco_contribution_ts) {
|
|
2
2
|
"use strict";
|
|
3
3
|
function _interopNamespaceDefault(e) {
|
|
4
4
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define("vs/editor-
|
|
1
|
+
define("vs/editor-Kqk0kUu4", ["require", "exports"], (function(require, exports) {
|
|
2
2
|
"use strict";
|
|
3
3
|
var _a2, _b2, _c2, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A;
|
|
4
4
|
function tail(arr) {
|
|
@@ -98036,7 +98036,7 @@ ${text2}</tr>
|
|
|
98036
98036
|
:host-context(.mac:lang(ko)) { font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Nanum Gothic", "AppleGothic", sans-serif; }
|
|
98037
98037
|
|
|
98038
98038
|
:host-context(.windows) { font-family: "Segoe WPC", "Segoe UI", sans-serif; }
|
|
98039
|
-
:host-context(.windows:lang(zh-Hans)) { font-family: "Segoe WPC", "Segoe UI", "Microsoft YaHei", sans-serif; }
|
|
98039
|
+
:host-context(.windows:lang(zh-Hans)) { font-family: "Segoe WPC", "Segoe UI", "vscode-digit-full-stop", "Microsoft YaHei", sans-serif; }
|
|
98040
98040
|
:host-context(.windows:lang(zh-Hant)) { font-family: "Segoe WPC", "Segoe UI", "Microsoft Jhenghei", sans-serif; }
|
|
98041
98041
|
:host-context(.windows:lang(ja)) { font-family: "Segoe WPC", "Segoe UI", "Yu Gothic UI", "Meiryo UI", sans-serif; }
|
|
98042
98042
|
:host-context(.windows:lang(ko)) { font-family: "Segoe WPC", "Segoe UI", "Malgun Gothic", "Dotom", sans-serif; }
|
|
@@ -110303,7 +110303,7 @@ ${text2}</tr>
|
|
|
110303
110303
|
metaKey: localize(58, "Super"),
|
|
110304
110304
|
separator: "+"
|
|
110305
110305
|
});
|
|
110306
|
-
|
|
110306
|
+
new ModifierLabelProvider({
|
|
110307
110307
|
ctrlKey: "Ctrl",
|
|
110308
110308
|
shiftKey: "Shift",
|
|
110309
110309
|
altKey: "Alt",
|
|
@@ -114639,15 +114639,6 @@ ${graph.toString()}`;
|
|
|
114639
114639
|
getAriaLabel() {
|
|
114640
114640
|
return AriaLabelProvider.toLabel(this._os, this._chords, (keybinding) => this._getAriaLabel(keybinding));
|
|
114641
114641
|
}
|
|
114642
|
-
getElectronAccelerator() {
|
|
114643
|
-
if (this._chords.length > 1) {
|
|
114644
|
-
return null;
|
|
114645
|
-
}
|
|
114646
|
-
if (this._chords[0].isDuplicateModifierCase()) {
|
|
114647
|
-
return null;
|
|
114648
|
-
}
|
|
114649
|
-
return ElectronAcceleratorLabelProvider.toLabel(this._os, this._chords, (keybinding) => this._getElectronAccelerator(keybinding));
|
|
114650
|
-
}
|
|
114651
114642
|
getUserSettingsLabel() {
|
|
114652
114643
|
return UserSettingsLabelProvider.toLabel(this._os, this._chords, (keybinding) => this._getUserSettingsLabel(keybinding));
|
|
114653
114644
|
}
|
|
@@ -114698,9 +114689,6 @@ ${graph.toString()}`;
|
|
|
114698
114689
|
}
|
|
114699
114690
|
return KeyCodeUtils.toString(chord.keyCode);
|
|
114700
114691
|
}
|
|
114701
|
-
_getElectronAccelerator(chord) {
|
|
114702
|
-
return KeyCodeUtils.toElectronAccelerator(chord.keyCode);
|
|
114703
|
-
}
|
|
114704
114692
|
_getUserSettingsLabel(chord) {
|
|
114705
114693
|
if (chord.isDuplicateModifierCase()) {
|
|
114706
114694
|
return "";
|
|
@@ -122026,6 +122014,7 @@ ${graph.toString()}`;
|
|
|
122026
122014
|
if (node.children.length === 0 && childrenElements.length === 0) {
|
|
122027
122015
|
return [];
|
|
122028
122016
|
}
|
|
122017
|
+
const childrenIds = this.identityProvider && this.getUniqueChildrenIds(childrenElements);
|
|
122029
122018
|
const nodesToForget = /* @__PURE__ */ new Map();
|
|
122030
122019
|
const childrenTreeNodesById = /* @__PURE__ */ new Map();
|
|
122031
122020
|
for (const child of node.children) {
|
|
@@ -122035,16 +122024,16 @@ ${graph.toString()}`;
|
|
|
122035
122024
|
}
|
|
122036
122025
|
}
|
|
122037
122026
|
const childrenToRefresh = [];
|
|
122038
|
-
const children = childrenElements.map((element) => {
|
|
122027
|
+
const children = childrenElements.map((element, index) => {
|
|
122039
122028
|
const hasChildren = !!this.dataSource.hasChildren(element);
|
|
122040
|
-
if (!
|
|
122029
|
+
if (!childrenIds) {
|
|
122041
122030
|
const asyncDataTreeNode = createAsyncDataTreeNode({ element, parent: node, hasChildren, defaultCollapseState: this.getDefaultCollapseState(element) });
|
|
122042
122031
|
if (hasChildren && asyncDataTreeNode.defaultCollapseState === ObjectTreeElementCollapseState.PreserveOrExpanded) {
|
|
122043
122032
|
childrenToRefresh.push(asyncDataTreeNode);
|
|
122044
122033
|
}
|
|
122045
122034
|
return asyncDataTreeNode;
|
|
122046
122035
|
}
|
|
122047
|
-
const id =
|
|
122036
|
+
const id = childrenIds[index];
|
|
122048
122037
|
const result = childrenTreeNodesById.get(id);
|
|
122049
122038
|
if (result) {
|
|
122050
122039
|
const asyncDataTreeNode = result.node;
|
|
@@ -122093,6 +122082,34 @@ ${graph.toString()}`;
|
|
|
122093
122082
|
}
|
|
122094
122083
|
return childrenToRefresh;
|
|
122095
122084
|
}
|
|
122085
|
+
/**
|
|
122086
|
+
* Returns the ids of the children, index-aligned with them. Siblings with the same id would share a node, which
|
|
122087
|
+
* can only appear in the tree once, so all but the last of them are removed from `childrenElements` in place.
|
|
122088
|
+
*/
|
|
122089
|
+
getUniqueChildrenIds(childrenElements) {
|
|
122090
|
+
const ids = childrenElements.map((element) => this.identityProvider.getId(element).toString());
|
|
122091
|
+
if (ids.length < 2) {
|
|
122092
|
+
return ids;
|
|
122093
|
+
}
|
|
122094
|
+
const lastIndexById = /* @__PURE__ */ new Map();
|
|
122095
|
+
for (let i = 0; i < ids.length; i++) {
|
|
122096
|
+
lastIndexById.set(ids[i], i);
|
|
122097
|
+
}
|
|
122098
|
+
if (lastIndexById.size === ids.length) {
|
|
122099
|
+
return ids;
|
|
122100
|
+
}
|
|
122101
|
+
let length = 0;
|
|
122102
|
+
for (let i = 0; i < ids.length; i++) {
|
|
122103
|
+
if (lastIndexById.get(ids[i]) === i) {
|
|
122104
|
+
childrenElements[length] = childrenElements[i];
|
|
122105
|
+
ids[length] = ids[i];
|
|
122106
|
+
length++;
|
|
122107
|
+
}
|
|
122108
|
+
}
|
|
122109
|
+
childrenElements.length = length;
|
|
122110
|
+
ids.length = length;
|
|
122111
|
+
return ids;
|
|
122112
|
+
}
|
|
122096
122113
|
shouldAutoExpandSingleChild(node) {
|
|
122097
122114
|
return this.autoExpandSingleChildren;
|
|
122098
122115
|
}
|
|
@@ -127308,6 +127325,9 @@ ${graph.toString()}`;
|
|
|
127308
127325
|
getItemsLength() {
|
|
127309
127326
|
return this.actionBar.length();
|
|
127310
127327
|
}
|
|
127328
|
+
hasOverflow() {
|
|
127329
|
+
return this.actionBar.hasAction(this.toggleMenuAction);
|
|
127330
|
+
}
|
|
127311
127331
|
setActions(primaryActions, secondaryActions) {
|
|
127312
127332
|
this.clear();
|
|
127313
127333
|
this.originalPrimaryActions = primaryActions ? primaryActions.slice(0) : [];
|
|
@@ -127365,6 +127385,75 @@ ${graph.toString()}`;
|
|
|
127365
127385
|
}
|
|
127366
127386
|
return this.actionBar.getWidth(index) + ACTION_PADDING;
|
|
127367
127387
|
}
|
|
127388
|
+
get prioritizesOverflow() {
|
|
127389
|
+
const responsiveBehavior = this.options.responsiveBehavior;
|
|
127390
|
+
const overflowsLast = responsiveBehavior?.overflowsLast;
|
|
127391
|
+
return responsiveBehavior?.kind === "all" && !!overflowsLast && !responsiveBehavior.minItems && this.originalPrimaryActions.some((action) => !(action instanceof Separator) && overflowsLast(action));
|
|
127392
|
+
}
|
|
127393
|
+
isHiddenByStyle(action) {
|
|
127394
|
+
const index = this.actionBar.viewItems.findIndex((item) => item.action === action);
|
|
127395
|
+
const element = index === -1 ? void 0 : this.getItemElement(index);
|
|
127396
|
+
return !!element && getWindow(element).getComputedStyle(element).display === "none";
|
|
127397
|
+
}
|
|
127398
|
+
overflowsLast(action) {
|
|
127399
|
+
return !!action && !!this.options.responsiveBehavior?.overflowsLast?.(action) && this.prioritizesOverflow;
|
|
127400
|
+
}
|
|
127401
|
+
/**
|
|
127402
|
+
* The separators of the primary actions that show when the given actions are hidden:
|
|
127403
|
+
* those with a visible action on both sides that are not next to the overflow menu, if it shows.
|
|
127404
|
+
*/
|
|
127405
|
+
getShownSeparators(hiddenActions, toggleMenuShown) {
|
|
127406
|
+
const shown = /* @__PURE__ */ new Set();
|
|
127407
|
+
const toggleMenuPosition = toggleMenuShown ? this.getSecondaryActionsPosition() : -1;
|
|
127408
|
+
let pendingSeparator;
|
|
127409
|
+
let hasVisibleActionBefore = false;
|
|
127410
|
+
this.originalPrimaryActions.forEach((action, position) => {
|
|
127411
|
+
if (position === toggleMenuPosition) {
|
|
127412
|
+
pendingSeparator = void 0;
|
|
127413
|
+
hasVisibleActionBefore = false;
|
|
127414
|
+
}
|
|
127415
|
+
if (action instanceof Separator) {
|
|
127416
|
+
pendingSeparator = hasVisibleActionBefore ? pendingSeparator ?? action : void 0;
|
|
127417
|
+
} else if (!hiddenActions.includes(action) && !this.isHiddenByStyle(action)) {
|
|
127418
|
+
if (pendingSeparator) {
|
|
127419
|
+
shown.add(pendingSeparator);
|
|
127420
|
+
pendingSeparator = void 0;
|
|
127421
|
+
}
|
|
127422
|
+
hasVisibleActionBefore = true;
|
|
127423
|
+
}
|
|
127424
|
+
});
|
|
127425
|
+
return shown;
|
|
127426
|
+
}
|
|
127427
|
+
getPrimarySeparatorIndexes() {
|
|
127428
|
+
const indexes = [];
|
|
127429
|
+
for (let index = 0; index < this.actionBar.length(); index++) {
|
|
127430
|
+
const action = this.actionBar.getAction(index);
|
|
127431
|
+
if (action instanceof Separator && this.originalPrimaryActions.includes(action)) {
|
|
127432
|
+
indexes.push(index);
|
|
127433
|
+
}
|
|
127434
|
+
}
|
|
127435
|
+
return indexes;
|
|
127436
|
+
}
|
|
127437
|
+
updateSeparatorVisibility() {
|
|
127438
|
+
const shown = this.getShownSeparators(this.hiddenActions, this.hasOverflow());
|
|
127439
|
+
for (const index of this.getPrimarySeparatorIndexes()) {
|
|
127440
|
+
const element = this.getItemElement(index);
|
|
127441
|
+
if (element) {
|
|
127442
|
+
element.style.display = shown.has(this.actionBar.getAction(index)) ? "" : "none";
|
|
127443
|
+
}
|
|
127444
|
+
}
|
|
127445
|
+
}
|
|
127446
|
+
getSeparatorWidth(index) {
|
|
127447
|
+
const element = this.getItemElement(index);
|
|
127448
|
+
if (!element) {
|
|
127449
|
+
return 0;
|
|
127450
|
+
}
|
|
127451
|
+
const display = element.style.display;
|
|
127452
|
+
element.style.display = "";
|
|
127453
|
+
const width2 = getWindow(element).getComputedStyle(element).display === "none" ? 0 : this.actionBar.getWidth(index) + ACTION_PADDING;
|
|
127454
|
+
element.style.display = display;
|
|
127455
|
+
return width2;
|
|
127456
|
+
}
|
|
127368
127457
|
get overflowFromStart() {
|
|
127369
127458
|
return this.options.responsiveBehavior?.kind === "all" && this.options.responsiveBehavior.overflowFrom === "start";
|
|
127370
127459
|
}
|
|
@@ -127459,6 +127548,9 @@ ${graph.toString()}`;
|
|
|
127459
127548
|
if (this.actionBar.isEmpty()) {
|
|
127460
127549
|
return;
|
|
127461
127550
|
}
|
|
127551
|
+
if (this.prioritizesOverflow) {
|
|
127552
|
+
this.updateSeparatorVisibility();
|
|
127553
|
+
}
|
|
127462
127554
|
this.applyResponsiveActionMinWidths();
|
|
127463
127555
|
const parsedMinWidth = parseInt(this.element.style.minWidth);
|
|
127464
127556
|
containerWidth = Math.max(containerWidth, Number.isNaN(parsedMinWidth) ? 0 : parsedMinWidth);
|
|
@@ -127480,6 +127572,11 @@ ${graph.toString()}`;
|
|
|
127480
127572
|
const getVisiblePrimaryActionCount = () => getVisiblePrimaryActionIndexes().reduce((count, index) => count + (this.actionBar.getAction(index) instanceof Separator ? 0 : 1), 0);
|
|
127481
127573
|
const getActionsToHide = () => {
|
|
127482
127574
|
const indexes = getVisiblePrimaryActionIndexes();
|
|
127575
|
+
if (this.prioritizesOverflow) {
|
|
127576
|
+
const candidates = (this.overflowFromStart ? indexes : indexes.slice().reverse()).filter((index) => !(this.actionBar.getAction(index) instanceof Separator));
|
|
127577
|
+
const priorityIndex = candidates.find((index) => !this.overflowsLast(this.actionBar.getAction(index))) ?? candidates[0];
|
|
127578
|
+
return priorityIndex === void 0 ? [] : [this.actionBar.getAction(priorityIndex)];
|
|
127579
|
+
}
|
|
127483
127580
|
const actionIndex = (this.overflowFromStart ? indexes : indexes.slice().reverse()).find((index) => !(this.actionBar.getAction(index) instanceof Separator));
|
|
127484
127581
|
if (actionIndex === void 0) {
|
|
127485
127582
|
return [];
|
|
@@ -127508,6 +127605,10 @@ ${graph.toString()}`;
|
|
|
127508
127605
|
if (this.hiddenActions.length === 0) {
|
|
127509
127606
|
return [];
|
|
127510
127607
|
}
|
|
127608
|
+
if (this.prioritizesOverflow) {
|
|
127609
|
+
const firstToRestore = this.hiddenActions.find((action) => this.overflowsLast(action)) ?? (this.overflowFromStart ? this.hiddenActions.at(-1) : this.hiddenActions[0]);
|
|
127610
|
+
return [firstToRestore];
|
|
127611
|
+
}
|
|
127511
127612
|
if (this.overflowFromStart) {
|
|
127512
127613
|
let startIndex = this.hiddenActions.length - 1;
|
|
127513
127614
|
while (startIndex > 0 && this.hiddenActions[startIndex] instanceof Separator) {
|
|
@@ -127549,7 +127650,23 @@ ${graph.toString()}`;
|
|
|
127549
127650
|
};
|
|
127550
127651
|
const projectedActionBarMinimumWidth = (actionsToAdd, keepToggleMenuAction) => {
|
|
127551
127652
|
let itemsWidth = actionsToAdd.reduce((width2, action) => width2 + this.getActionMinWidth(action), 0);
|
|
127552
|
-
if (this.
|
|
127653
|
+
if (this.prioritizesOverflow) {
|
|
127654
|
+
const hiddenActions2 = this.hiddenActions.filter((action) => !actionsToAdd.includes(action));
|
|
127655
|
+
const shownSeparators = this.getShownSeparators(hiddenActions2, keepToggleMenuAction);
|
|
127656
|
+
for (let i = 0; i < this.actionBar.length(); i++) {
|
|
127657
|
+
const action = this.actionBar.getAction(i);
|
|
127658
|
+
if (!action || action === this.toggleMenuAction) {
|
|
127659
|
+
continue;
|
|
127660
|
+
}
|
|
127661
|
+
if (!this.originalPrimaryActions.includes(action)) {
|
|
127662
|
+
itemsWidth += isActionItemVisible(i) ? this.actionBar.getWidth(i) + ACTION_PADDING : 0;
|
|
127663
|
+
} else if (action instanceof Separator) {
|
|
127664
|
+
itemsWidth += shownSeparators.has(action) ? this.getSeparatorWidth(i) : 0;
|
|
127665
|
+
} else if (isActionItemVisible(i)) {
|
|
127666
|
+
itemsWidth += this.getActionMinWidth(action);
|
|
127667
|
+
}
|
|
127668
|
+
}
|
|
127669
|
+
} else if (this.options.responsiveBehavior?.kind === "last") {
|
|
127553
127670
|
const primaryActionIndexes = getVisiblePrimaryActionIndexes();
|
|
127554
127671
|
for (const [position, index] of primaryActionIndexes.entries()) {
|
|
127555
127672
|
const itemWidth = position === primaryActionIndexes.length - 1 ? this.getUnshrunkItemWidth(index) : this.actionBar.getWidth(index);
|
|
@@ -127611,6 +127728,9 @@ ${graph.toString()}`;
|
|
|
127611
127728
|
});
|
|
127612
127729
|
this.updateOverflowClassName();
|
|
127613
127730
|
}
|
|
127731
|
+
if (this.prioritizesOverflow) {
|
|
127732
|
+
this.updateSeparatorVisibility();
|
|
127733
|
+
}
|
|
127614
127734
|
this.applyResponsiveActionMinWidths();
|
|
127615
127735
|
minimumWidth = actionBarMinimumWidth();
|
|
127616
127736
|
}
|
|
@@ -127636,10 +127756,15 @@ ${graph.toString()}`;
|
|
|
127636
127756
|
this.pullAction(this.actionBar.viewItems.findIndex((item) => item.action === this.toggleMenuAction));
|
|
127637
127757
|
this.updateOverflowClassName();
|
|
127638
127758
|
}
|
|
127759
|
+
if (this.prioritizesOverflow) {
|
|
127760
|
+
this.updateSeparatorVisibility();
|
|
127761
|
+
}
|
|
127639
127762
|
this.applyResponsiveActionMinWidths();
|
|
127640
127763
|
}
|
|
127641
127764
|
}
|
|
127642
|
-
const
|
|
127765
|
+
const prioritizesOverflow = this.prioritizesOverflow;
|
|
127766
|
+
const overflowedActions = prioritizesOverflow ? this.originalPrimaryActions.filter((action) => action instanceof Separator || this.hiddenActions.includes(action)) : this.hiddenActions;
|
|
127767
|
+
const hiddenActions = overflowedActions.map((action) => prioritizesOverflow && action instanceof Separator ? action : this.options.responsiveBehavior?.getOverflowAction?.(action, () => this.toggleMenuActionViewItem?.element) ?? action);
|
|
127643
127768
|
if (this.originalSecondaryActions.length > 0 || hiddenActions.length > 0) {
|
|
127644
127769
|
const secondaryActions = this.originalSecondaryActions.slice(0);
|
|
127645
127770
|
this.toggleMenuAction.menuActions = Separator.clean(Separator.join(hiddenActions, secondaryActions));
|
package/dev/vs/editor.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define("vs/editor", ["exports", "./editor-
|
|
1
|
+
define("vs/editor", ["exports", "./editor-Kqk0kUu4"], (function(exports, editor) {
|
|
2
2
|
"use strict";
|
|
3
3
|
exports.CancellationTokenSource = editor.CancellationTokenSource;
|
|
4
4
|
exports.Emitter = editor.Emitter;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define("vs/htmlMode-
|
|
1
|
+
define("vs/htmlMode-DJdqGTlB", ["exports", "./html.worker-uHej7f12", "./workers-C6FdPkd6", "./lspLanguageFeatures-DOJ8WbC9", "./editor-Kqk0kUu4"], (function(exports, html_worker, workers, lspLanguageFeatures, editor) {
|
|
2
2
|
"use strict";
|
|
3
3
|
const STOP_WHEN_IDLE_FOR = 2 * 60 * 1e3;
|
|
4
4
|
class WorkerManager {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define("vs/index-
|
|
1
|
+
define("vs/index-Cz3vIIRv", ["exports", "./editor-Kqk0kUu4", "./toggleHighContrast-DoEeBNAC", "./basic-languages/monaco.contribution", "./monaco.contribution-CZbFPDnk", "./monaco.contribution-j-0xUu9C", "./monaco.contribution-C9rd6pEV", "./monaco.contribution-B1c0c51a"], (function(exports, editor, toggleHighContrast, src_deprecated_basicLanguages_monaco_contribution_ts, src_deprecated_language_css_monaco_contribution_ts, src_deprecated_language_html_monaco_contribution_ts, src_deprecated_language_json_monaco_contribution_ts, src_deprecated_language_typescript_monaco_contribution_ts) {
|
|
2
2
|
"use strict";
|
|
3
3
|
function isRequestOrNotification(msg) {
|
|
4
4
|
return msg.method !== void 0;
|
package/dev/vs/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define("vs/index", ["exports", "./index-
|
|
1
|
+
define("vs/index", ["exports", "./index-Cz3vIIRv", "./basic-languages/monaco.contribution", "./monaco.contribution-CZbFPDnk", "./monaco.contribution-j-0xUu9C", "./monaco.contribution-C9rd6pEV", "./monaco.contribution-B1c0c51a", "./toggleHighContrast-DoEeBNAC", "./editor-Kqk0kUu4"], (function(exports, index, src_deprecated_basicLanguages_monaco_contribution_ts, src_deprecated_language_css_monaco_contribution_ts, src_deprecated_language_html_monaco_contribution_ts, src_deprecated_language_json_monaco_contribution_ts, src_deprecated_language_typescript_monaco_contribution_ts, toggleHighContrast, editor) {
|
|
2
2
|
"use strict";
|
|
3
3
|
exports.lsp = index.index;
|
|
4
4
|
exports.css = src_deprecated_language_css_monaco_contribution_ts.register;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define("vs/javascript-
|
|
1
|
+
define("vs/javascript-Bi6K1QK-", ["exports", "./typescript-DTas5Da0"], (function(exports, typescript) {
|
|
2
2
|
"use strict";
|
|
3
3
|
const conf = typescript.conf;
|
|
4
4
|
const language = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define("vs/jsonMode-
|
|
1
|
+
define("vs/jsonMode-Bww4aUf-", ["exports", "./json.worker-CDq6Do3L", "./workers-C6FdPkd6", "./lspLanguageFeatures-DOJ8WbC9", "./editor-Kqk0kUu4"], (function(exports, json_worker, workers, lspLanguageFeatures, editor) {
|
|
2
2
|
"use strict";
|
|
3
3
|
const STOP_WHEN_IDLE_FOR = 2 * 60 * 1e3;
|
|
4
4
|
class WorkerManager {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define("vs/language/css/monaco.contribution", ["exports", "../../monaco.contribution-
|
|
1
|
+
define("vs/language/css/monaco.contribution", ["exports", "../../monaco.contribution-CZbFPDnk"], (function(exports, src_deprecated_language_css_monaco_contribution_ts) {
|
|
2
2
|
"use strict";
|
|
3
3
|
exports.cssDefaults = src_deprecated_language_css_monaco_contribution_ts.cssDefaults;
|
|
4
4
|
exports.lessDefaults = src_deprecated_language_css_monaco_contribution_ts.lessDefaults;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define("vs/language/html/monaco.contribution", ["exports", "../../monaco.contribution-
|
|
1
|
+
define("vs/language/html/monaco.contribution", ["exports", "../../monaco.contribution-j-0xUu9C"], (function(exports, src_deprecated_language_html_monaco_contribution_ts) {
|
|
2
2
|
"use strict";
|
|
3
3
|
exports.handlebarDefaults = src_deprecated_language_html_monaco_contribution_ts.handlebarDefaults;
|
|
4
4
|
exports.handlebarLanguageService = src_deprecated_language_html_monaco_contribution_ts.handlebarLanguageService;
|