@tuoyuan/code-editor 1.1.0 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/JavascriptEditor.vue.d.ts +2 -0
- package/dist/JsonEditor.vue.d.ts +2 -0
- package/dist/SqlEditor.vue.d.ts +2 -0
- package/dist/{cssMode-Opz_JLpw.cjs → cssMode-BCryXDVP.cjs} +1 -1
- package/dist/{cssMode-BpY2QZKm.js → cssMode-CXjqIYq4.js} +1 -1
- package/dist/{freemarker2-B09dYp00.cjs → freemarker2-CUVrrGDg.cjs} +1 -1
- package/dist/{freemarker2-uBVO2rOF.js → freemarker2-DlybHztA.js} +1 -1
- package/dist/{handlebars-DCXZu403.js → handlebars-Bf86XcYC.js} +1 -1
- package/dist/{handlebars-DA1mbfg8.cjs → handlebars-CcuLDeQT.cjs} +1 -1
- package/dist/{html-DqYDmf6m.cjs → html-B1AN-YkI.cjs} +1 -1
- package/dist/{html-DaWChHgh.js → html-CC9TJsag.js} +1 -1
- package/dist/{htmlMode-BmaRbaUb.js → htmlMode-BPyAr2to.js} +1 -1
- package/dist/{htmlMode-OnZuz9_d.cjs → htmlMode-DfvjW08o.cjs} +1 -1
- package/dist/{index-CGIln256.js → index-CLA4iUSf.js} +423 -428
- package/dist/{index-CkYrsRHd.cjs → index-DBy21Q0J.cjs} +155 -155
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{javascript-kyQzET-h.js → javascript-H86iPtAN.js} +1 -1
- package/dist/{javascript-CZ5LkNUz.cjs → javascript-Yav3bgjl.cjs} +1 -1
- package/dist/{jsonMode-DkgDlnQP.js → jsonMode-9TsIZPcy.js} +1 -1
- package/dist/{jsonMode-BjlrCQBF.cjs → jsonMode-COW9TJQp.cjs} +1 -1
- package/dist/{liquid-DBmQt-Su.js → liquid-BCIuKpoT.js} +1 -1
- package/dist/{liquid-BV_g9ldr.cjs → liquid-CcRxrnaF.cjs} +1 -1
- package/dist/{mdx-CMn_WqRG.js → mdx-BUQyJHn2.js} +1 -1
- package/dist/{mdx-CnlGeQWI.cjs → mdx-DJ6AIedb.cjs} +1 -1
- package/dist/{python-CIMw6KAi.js → python-B95rqRBw.js} +1 -1
- package/dist/{python-jV8ElUmA.cjs → python-BWX6OvU0.cjs} +1 -1
- package/dist/{razor-BMsZkT51.js → razor-CfrRW9NO.js} +1 -1
- package/dist/{razor-B0mOsBYm.cjs → razor-CoDMSgWQ.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{tsMode-CVcmC_63.cjs → tsMode-D5NvKt6W.cjs} +1 -1
- package/dist/{tsMode-m-l3aETM.js → tsMode-DZZHGQbs.js} +1 -1
- package/dist/{typescript-DEwfjYff.js → typescript-CYPxqy7s.js} +1 -1
- package/dist/{typescript-I5zQzQ1C.cjs → typescript-DdqYMZZo.cjs} +1 -1
- package/dist/{xml-43tWDt_9.js → xml-72ltGbW-.js} +1 -1
- package/dist/{xml-BGfSJ1L-.cjs → xml-zIa4uf2u.cjs} +1 -1
- package/dist/{yaml-CdouwYEZ.js → yaml-CK70Osyq.js} +1 -1
- package/dist/{yaml-B1huN312.cjs → yaml-EvNQiffb.cjs} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as wL, useCssVars as NL, ref as Pi, onMounted as hS, onBeforeUnmount as uS, nextTick as Dh, toRaw as et, watch as ho, openBlock as Oh, createElementBlock as xh, normalizeClass as EY, createElementVNode as
|
|
1
|
+
import { defineComponent as wL, useCssVars as NL, ref as Pi, onMounted as hS, onBeforeUnmount as uS, nextTick as Dh, toRaw as et, watch as ho, openBlock as Oh, createElementBlock as xh, normalizeClass as EY, createElementVNode as It, withDirectives as aB, vModelSelect as lB, createCommentVNode as yL, toDisplayString as b_ } from "vue";
|
|
2
2
|
function nr(o, e = 0) {
|
|
3
3
|
return o[o.length - (1 + e)];
|
|
4
4
|
}
|
|
@@ -302,7 +302,7 @@ function Bl(o) {
|
|
|
302
302
|
function Fo(o) {
|
|
303
303
|
return Xs(o) || o === null;
|
|
304
304
|
}
|
|
305
|
-
function
|
|
305
|
+
function vt(o, e) {
|
|
306
306
|
if (!o)
|
|
307
307
|
throw new Error(e ? `Unexpected type, expected '${e}'` : "Unexpected type");
|
|
308
308
|
}
|
|
@@ -834,7 +834,7 @@ class Xm {
|
|
|
834
834
|
function Te(o, e) {
|
|
835
835
|
return typeof o > "u" ? e : o === "false" ? !1 : !!o;
|
|
836
836
|
}
|
|
837
|
-
class
|
|
837
|
+
class St extends Xm {
|
|
838
838
|
constructor(e, t, i, n = void 0) {
|
|
839
839
|
typeof n < "u" && (n.type = "boolean", n.default = i), super(e, t, i, n);
|
|
840
840
|
}
|
|
@@ -1051,7 +1051,7 @@ class ZY extends JC {
|
|
|
1051
1051
|
) && n.push("showDeprecated"), n.join(" ");
|
|
1052
1052
|
}
|
|
1053
1053
|
}
|
|
1054
|
-
class QY extends
|
|
1054
|
+
class QY extends St {
|
|
1055
1055
|
constructor() {
|
|
1056
1056
|
super(37, "emptySelectionClipboard", !0, { description: p("emptySelectionClipboard", "Controls whether copying without a selection copies the current line.") });
|
|
1057
1057
|
}
|
|
@@ -2988,7 +2988,7 @@ function ne(o) {
|
|
|
2988
2988
|
return ap[o.id] = o, o;
|
|
2989
2989
|
}
|
|
2990
2990
|
const qa = {
|
|
2991
|
-
acceptSuggestionOnCommitCharacter: ne(new
|
|
2991
|
+
acceptSuggestionOnCommitCharacter: ne(new St(0, "acceptSuggestionOnCommitCharacter", !0, { markdownDescription: p("acceptSuggestionOnCommitCharacter", "Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.") })),
|
|
2992
2992
|
acceptSuggestionOnEnter: ne(new Ei(1, "acceptSuggestionOnEnter", "on", ["on", "smart", "off"], {
|
|
2993
2993
|
markdownEnumDescriptions: [
|
|
2994
2994
|
"",
|
|
@@ -3003,8 +3003,8 @@ const qa = {
|
|
|
3003
3003
|
tags: ["accessibility"]
|
|
3004
3004
|
})),
|
|
3005
3005
|
ariaLabel: ne(new Ts(4, "ariaLabel", p("editorViewAccessibleLabel", "Editor content"))),
|
|
3006
|
-
ariaRequired: ne(new
|
|
3007
|
-
screenReaderAnnounceInlineSuggestion: ne(new
|
|
3006
|
+
ariaRequired: ne(new St(5, "ariaRequired", !1, void 0)),
|
|
3007
|
+
screenReaderAnnounceInlineSuggestion: ne(new St(8, "screenReaderAnnounceInlineSuggestion", !0, {
|
|
3008
3008
|
description: p("screenReaderAnnounceInlineSuggestion", "Control whether inline suggestions are announced by a screen reader."),
|
|
3009
3009
|
tags: ["accessibility"]
|
|
3010
3010
|
})),
|
|
@@ -3061,7 +3061,7 @@ const qa = {
|
|
|
3061
3061
|
],
|
|
3062
3062
|
description: p("autoIndent", "Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")
|
|
3063
3063
|
})),
|
|
3064
|
-
automaticLayout: ne(new
|
|
3064
|
+
automaticLayout: ne(new St(13, "automaticLayout", !1)),
|
|
3065
3065
|
autoSurround: ne(new Ei(14, "autoSurround", "languageDefined", ["languageDefined", "quotes", "brackets", "never"], {
|
|
3066
3066
|
enumDescriptions: [
|
|
3067
3067
|
p("editor.autoSurround.languageDefined", "Use language configurations to determine when to automatically surround selections."),
|
|
@@ -3073,8 +3073,8 @@ const qa = {
|
|
|
3073
3073
|
})),
|
|
3074
3074
|
bracketPairColorization: ne(new Iq()),
|
|
3075
3075
|
bracketPairGuides: ne(new Lq()),
|
|
3076
|
-
stickyTabStops: ne(new
|
|
3077
|
-
codeLens: ne(new
|
|
3076
|
+
stickyTabStops: ne(new St(116, "stickyTabStops", !1, { description: p("stickyTabStops", "Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.") })),
|
|
3077
|
+
codeLens: ne(new St(17, "codeLens", !0, { description: p("codeLens", "Controls whether the editor shows CodeLens.") })),
|
|
3078
3078
|
codeLensFontFamily: ne(new Ts(18, "codeLensFontFamily", "", { description: p("codeLensFontFamily", "Controls the font family for CodeLens.") })),
|
|
3079
3079
|
codeLensFontSize: ne(new Gt(19, "codeLensFontSize", 0, 0, 100, {
|
|
3080
3080
|
type: "number",
|
|
@@ -3083,7 +3083,7 @@ const qa = {
|
|
|
3083
3083
|
maximum: 100,
|
|
3084
3084
|
markdownDescription: p("codeLensFontSize", "Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.")
|
|
3085
3085
|
})),
|
|
3086
|
-
colorDecorators: ne(new
|
|
3086
|
+
colorDecorators: ne(new St(20, "colorDecorators", !0, { description: p("colorDecorators", "Controls whether the editor should render the inline color decorators and color picker.") })),
|
|
3087
3087
|
colorDecoratorActivatedOn: ne(new Ei(148, "colorDecoratorsActivatedOn", "clickAndHover", ["clickAndHover", "hover", "click"], {
|
|
3088
3088
|
enumDescriptions: [
|
|
3089
3089
|
p("editor.colorDecoratorActivatedOn.clickAndHover", "Make the color picker appear both on click and hover of the color decorator"),
|
|
@@ -3095,10 +3095,10 @@ const qa = {
|
|
|
3095
3095
|
colorDecoratorsLimit: ne(new Gt(21, "colorDecoratorsLimit", 500, 1, 1e6, {
|
|
3096
3096
|
markdownDescription: p("colorDecoratorsLimit", "Controls the max number of color decorators that can be rendered in an editor at once.")
|
|
3097
3097
|
})),
|
|
3098
|
-
columnSelection: ne(new
|
|
3098
|
+
columnSelection: ne(new St(22, "columnSelection", !1, { description: p("columnSelection", "Enable that the selection with the mouse and keys is doing column selection.") })),
|
|
3099
3099
|
comments: ne(new jY()),
|
|
3100
|
-
contextmenu: ne(new
|
|
3101
|
-
copyWithSyntaxHighlighting: ne(new
|
|
3100
|
+
contextmenu: ne(new St(24, "contextmenu", !0)),
|
|
3101
|
+
copyWithSyntaxHighlighting: ne(new St(25, "copyWithSyntaxHighlighting", !0, { description: p("copyWithSyntaxHighlighting", "Controls whether syntax highlighting should be copied into the clipboard.") })),
|
|
3102
3102
|
cursorBlinking: ne(new tT(26, "cursorBlinking", 1, "blink", ["blink", "smooth", "phase", "expand", "solid"], XY, { description: p("cursorBlinking", "Control the cursor animation style.") })),
|
|
3103
3103
|
cursorSmoothCaretAnimation: ne(new Ei(27, "cursorSmoothCaretAnimation", "off", ["off", "explicit", "on"], {
|
|
3104
3104
|
enumDescriptions: [
|
|
@@ -3118,10 +3118,10 @@ const qa = {
|
|
|
3118
3118
|
markdownDescription: p("cursorSurroundingLinesStyle", "Controls when `#editor.cursorSurroundingLines#` should be enforced.")
|
|
3119
3119
|
})),
|
|
3120
3120
|
cursorWidth: ne(new Gt(31, "cursorWidth", 0, 0, 1073741824, { markdownDescription: p("cursorWidth", "Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.") })),
|
|
3121
|
-
disableLayerHinting: ne(new
|
|
3122
|
-
disableMonospaceOptimizations: ne(new
|
|
3123
|
-
domReadOnly: ne(new
|
|
3124
|
-
dragAndDrop: ne(new
|
|
3121
|
+
disableLayerHinting: ne(new St(32, "disableLayerHinting", !1)),
|
|
3122
|
+
disableMonospaceOptimizations: ne(new St(33, "disableMonospaceOptimizations", !1)),
|
|
3123
|
+
domReadOnly: ne(new St(34, "domReadOnly", !1)),
|
|
3124
|
+
dragAndDrop: ne(new St(35, "dragAndDrop", !0, { description: p("dragAndDrop", "Controls whether the editor should allow moving selections via drag and drop.") })),
|
|
3125
3125
|
emptySelectionClipboard: ne(new QY()),
|
|
3126
3126
|
dropIntoEditor: ne(new Dq()),
|
|
3127
3127
|
stickyScroll: ne(new aq()),
|
|
@@ -3136,8 +3136,8 @@ const qa = {
|
|
|
3136
3136
|
extraEditorClassName: ne(new Ts(39, "extraEditorClassName", "")),
|
|
3137
3137
|
fastScrollSensitivity: ne(new Uo(40, "fastScrollSensitivity", 5, (o) => o <= 0 ? 5 : o, { markdownDescription: p("fastScrollSensitivity", "Scrolling speed multiplier when pressing `Alt`.") })),
|
|
3138
3138
|
find: ne(new eq()),
|
|
3139
|
-
fixedOverflowWidgets: ne(new
|
|
3140
|
-
folding: ne(new
|
|
3139
|
+
fixedOverflowWidgets: ne(new St(42, "fixedOverflowWidgets", !1)),
|
|
3140
|
+
folding: ne(new St(43, "folding", !0, { description: p("folding", "Controls whether the editor has code folding enabled.") })),
|
|
3141
3141
|
foldingStrategy: ne(new Ei(44, "foldingStrategy", "auto", ["auto", "indentation"], {
|
|
3142
3142
|
enumDescriptions: [
|
|
3143
3143
|
p("foldingStrategy.auto", "Use a language-specific folding strategy if available, else the indentation-based one."),
|
|
@@ -3145,8 +3145,8 @@ const qa = {
|
|
|
3145
3145
|
],
|
|
3146
3146
|
description: p("foldingStrategy", "Controls the strategy for computing folding ranges.")
|
|
3147
3147
|
})),
|
|
3148
|
-
foldingHighlight: ne(new
|
|
3149
|
-
foldingImportsByDefault: ne(new
|
|
3148
|
+
foldingHighlight: ne(new St(45, "foldingHighlight", !0, { description: p("foldingHighlight", "Controls whether the editor should highlight folded ranges.") })),
|
|
3149
|
+
foldingImportsByDefault: ne(new St(46, "foldingImportsByDefault", !1, { description: p("foldingImportsByDefault", "Controls whether the editor automatically collapses import ranges.") })),
|
|
3150
3150
|
foldingMaximumRegions: ne(new Gt(
|
|
3151
3151
|
47,
|
|
3152
3152
|
"foldingMaximumRegions",
|
|
@@ -3156,36 +3156,36 @@ const qa = {
|
|
|
3156
3156
|
// limit must be less than foldingRanges MAX_FOLDING_REGIONS
|
|
3157
3157
|
{ description: p("foldingMaximumRegions", "The maximum number of foldable regions. Increasing this value may result in the editor becoming less responsive when the current source has a large number of foldable regions.") }
|
|
3158
3158
|
)),
|
|
3159
|
-
unfoldOnClickAfterEndOfLine: ne(new
|
|
3159
|
+
unfoldOnClickAfterEndOfLine: ne(new St(48, "unfoldOnClickAfterEndOfLine", !1, { description: p("unfoldOnClickAfterEndOfLine", "Controls whether clicking on the empty content after a folded line will unfold the line.") })),
|
|
3160
3160
|
fontFamily: ne(new Ts(49, "fontFamily", Qs.fontFamily, { description: p("fontFamily", "Controls the font family.") })),
|
|
3161
3161
|
fontInfo: ne(new tq()),
|
|
3162
3162
|
fontLigatures2: ne(new Bo()),
|
|
3163
3163
|
fontSize: ne(new iq()),
|
|
3164
3164
|
fontWeight: ne(new bl()),
|
|
3165
3165
|
fontVariations: ne(new Ta()),
|
|
3166
|
-
formatOnPaste: ne(new
|
|
3167
|
-
formatOnType: ne(new
|
|
3168
|
-
glyphMargin: ne(new
|
|
3166
|
+
formatOnPaste: ne(new St(55, "formatOnPaste", !1, { description: p("formatOnPaste", "Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.") })),
|
|
3167
|
+
formatOnType: ne(new St(56, "formatOnType", !1, { description: p("formatOnType", "Controls whether the editor should automatically format the line after typing.") })),
|
|
3168
|
+
glyphMargin: ne(new St(57, "glyphMargin", !0, { description: p("glyphMargin", "Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.") })),
|
|
3169
3169
|
gotoLocation: ne(new nq()),
|
|
3170
|
-
hideCursorInOverviewRuler: ne(new
|
|
3170
|
+
hideCursorInOverviewRuler: ne(new St(59, "hideCursorInOverviewRuler", !1, { description: p("hideCursorInOverviewRuler", "Controls whether the cursor should be hidden in the overview ruler.") })),
|
|
3171
3171
|
hover: ne(new sq()),
|
|
3172
|
-
inDiffEditor: ne(new
|
|
3172
|
+
inDiffEditor: ne(new St(61, "inDiffEditor", !1)),
|
|
3173
3173
|
letterSpacing: ne(new Uo(64, "letterSpacing", Qs.letterSpacing, (o) => Uo.clamp(o, -5, 20), { description: p("letterSpacing", "Controls the letter spacing in pixels.") })),
|
|
3174
3174
|
lightbulb: ne(new rq()),
|
|
3175
3175
|
lineDecorationsWidth: ne(new dq()),
|
|
3176
3176
|
lineHeight: ne(new cq()),
|
|
3177
3177
|
lineNumbers: ne(new _q()),
|
|
3178
3178
|
lineNumbersMinChars: ne(new Gt(69, "lineNumbersMinChars", 5, 1, 300)),
|
|
3179
|
-
linkedEditing: ne(new
|
|
3180
|
-
links: ne(new
|
|
3179
|
+
linkedEditing: ne(new St(70, "linkedEditing", !1, { description: p("linkedEditing", "Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.") })),
|
|
3180
|
+
links: ne(new St(71, "links", !0, { description: p("links", "Controls whether the editor should detect links and make them clickable.") })),
|
|
3181
3181
|
matchBrackets: ne(new Ei(72, "matchBrackets", "always", ["always", "near", "never"], { description: p("matchBrackets", "Highlight matching brackets.") })),
|
|
3182
3182
|
minimap: ne(new hq()),
|
|
3183
3183
|
mouseStyle: ne(new Ei(74, "mouseStyle", "text", ["text", "default", "copy"])),
|
|
3184
3184
|
mouseWheelScrollSensitivity: ne(new Uo(75, "mouseWheelScrollSensitivity", 1, (o) => o === 0 ? 1 : o, { markdownDescription: p("mouseWheelScrollSensitivity", "A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.") })),
|
|
3185
|
-
mouseWheelZoom: ne(new
|
|
3185
|
+
mouseWheelZoom: ne(new St(76, "mouseWheelZoom", !1, {
|
|
3186
3186
|
markdownDescription: rt ? p("mouseWheelZoom.mac", "Zoom the font of the editor when using mouse wheel and holding `Cmd`.") : p("mouseWheelZoom", "Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")
|
|
3187
3187
|
})),
|
|
3188
|
-
multiCursorMergeOverlapping: ne(new
|
|
3188
|
+
multiCursorMergeOverlapping: ne(new St(77, "multiCursorMergeOverlapping", !0, { description: p("multiCursorMergeOverlapping", "Merge multiple cursors when they are overlapping.") })),
|
|
3189
3189
|
multiCursorModifier: ne(new tT(78, "multiCursorModifier", "altKey", "alt", ["ctrlCmd", "alt"], uq, {
|
|
3190
3190
|
markdownEnumDescriptions: [
|
|
3191
3191
|
p("multiCursorModifier.ctrlCmd", "Maps to `Control` on Windows and Linux and to `Command` on macOS."),
|
|
@@ -3217,7 +3217,7 @@ const qa = {
|
|
|
3217
3217
|
],
|
|
3218
3218
|
markdownDescription: p("occurrencesHighlight", "Controls whether occurrences should be highlighted across open files.")
|
|
3219
3219
|
})),
|
|
3220
|
-
overviewRulerBorder: ne(new
|
|
3220
|
+
overviewRulerBorder: ne(new St(82, "overviewRulerBorder", !0, { description: p("overviewRulerBorder", "Controls whether a border should be drawn around the overview ruler.") })),
|
|
3221
3221
|
overviewRulerLanes: ne(new Gt(83, "overviewRulerLanes", 3, 0, 3)),
|
|
3222
3222
|
padding: ne(new gq()),
|
|
3223
3223
|
pasteAs: ne(new Oq()),
|
|
@@ -3229,13 +3229,13 @@ const qa = {
|
|
|
3229
3229
|
],
|
|
3230
3230
|
description: p("peekWidgetDefaultFocus", "Controls whether to focus the inline editor or the tree in the peek widget.")
|
|
3231
3231
|
})),
|
|
3232
|
-
definitionLinkOpensInPeek: ne(new
|
|
3232
|
+
definitionLinkOpensInPeek: ne(new St(88, "definitionLinkOpensInPeek", !1, { description: p("definitionLinkOpensInPeek", "Controls whether the Go to Definition mouse gesture always opens the peek widget.") })),
|
|
3233
3233
|
quickSuggestions: ne(new mq()),
|
|
3234
3234
|
quickSuggestionsDelay: ne(new Gt(90, "quickSuggestionsDelay", 10, 0, 1073741824, { description: p("quickSuggestionsDelay", "Controls the delay in milliseconds after which quick suggestions will show up.") })),
|
|
3235
|
-
readOnly: ne(new
|
|
3235
|
+
readOnly: ne(new St(91, "readOnly", !1)),
|
|
3236
3236
|
readOnlyMessage: ne(new Sq()),
|
|
3237
|
-
renameOnType: ne(new
|
|
3238
|
-
renderControlCharacters: ne(new
|
|
3237
|
+
renameOnType: ne(new St(93, "renameOnType", !1, { description: p("renameOnType", "Controls whether the editor auto renames on type."), markdownDeprecationMessage: p("renameOnTypeDeprecate", "Deprecated, use `editor.linkedEditing` instead.") })),
|
|
3238
|
+
renderControlCharacters: ne(new St(94, "renderControlCharacters", !0, { description: p("renderControlCharacters", "Controls whether the editor should render control characters."), restricted: !0 })),
|
|
3239
3239
|
renderFinalNewline: ne(new Ei(95, "renderFinalNewline", Ps ? "dimmed" : "on", ["off", "on", "dimmed"], { description: p("renderFinalNewline", "Render last line number when the file ends with a newline.") })),
|
|
3240
3240
|
renderLineHighlight: ne(new Ei(96, "renderLineHighlight", "line", ["none", "gutter", "line", "all"], {
|
|
3241
3241
|
enumDescriptions: [
|
|
@@ -3246,7 +3246,7 @@ const qa = {
|
|
|
3246
3246
|
],
|
|
3247
3247
|
description: p("renderLineHighlight", "Controls how the editor should render the current line highlight.")
|
|
3248
3248
|
})),
|
|
3249
|
-
renderLineHighlightOnlyWhenFocus: ne(new
|
|
3249
|
+
renderLineHighlightOnlyWhenFocus: ne(new St(97, "renderLineHighlightOnlyWhenFocus", !1, { description: p("renderLineHighlightOnlyWhenFocus", "Controls if the editor should render the current line highlight only when the editor is focused.") })),
|
|
3250
3250
|
renderValidationDecorations: ne(new Ei(98, "renderValidationDecorations", "editable", ["editable", "on", "off"])),
|
|
3251
3251
|
renderWhitespace: ne(new Ei(99, "renderWhitespace", "selection", ["none", "boundary", "selection", "trailing", "all"], {
|
|
3252
3252
|
enumDescriptions: [
|
|
@@ -3259,18 +3259,18 @@ const qa = {
|
|
|
3259
3259
|
description: p("renderWhitespace", "Controls how the editor should render whitespace characters.")
|
|
3260
3260
|
})),
|
|
3261
3261
|
revealHorizontalRightPadding: ne(new Gt(100, "revealHorizontalRightPadding", 15, 0, 1e3)),
|
|
3262
|
-
roundedSelection: ne(new
|
|
3262
|
+
roundedSelection: ne(new St(101, "roundedSelection", !0, { description: p("roundedSelection", "Controls whether selections should have rounded corners.") })),
|
|
3263
3263
|
rulers: ne(new Eq()),
|
|
3264
3264
|
scrollbar: ne(new Cq()),
|
|
3265
3265
|
scrollBeyondLastColumn: ne(new Gt(104, "scrollBeyondLastColumn", 4, 0, 1073741824, { description: p("scrollBeyondLastColumn", "Controls the number of extra characters beyond which the editor will scroll horizontally.") })),
|
|
3266
|
-
scrollBeyondLastLine: ne(new
|
|
3267
|
-
scrollPredominantAxis: ne(new
|
|
3268
|
-
selectionClipboard: ne(new
|
|
3266
|
+
scrollBeyondLastLine: ne(new St(105, "scrollBeyondLastLine", !0, { description: p("scrollBeyondLastLine", "Controls whether the editor will scroll beyond the last line.") })),
|
|
3267
|
+
scrollPredominantAxis: ne(new St(106, "scrollPredominantAxis", !0, { description: p("scrollPredominantAxis", "Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.") })),
|
|
3268
|
+
selectionClipboard: ne(new St(107, "selectionClipboard", !0, {
|
|
3269
3269
|
description: p("selectionClipboard", "Controls whether the Linux primary clipboard should be supported."),
|
|
3270
3270
|
included: Ps
|
|
3271
3271
|
})),
|
|
3272
|
-
selectionHighlight: ne(new
|
|
3273
|
-
selectOnLineNumbers: ne(new
|
|
3272
|
+
selectionHighlight: ne(new St(108, "selectionHighlight", !0, { description: p("selectionHighlight", "Controls whether the editor should highlight matches similar to the selection.") })),
|
|
3273
|
+
selectOnLineNumbers: ne(new St(109, "selectOnLineNumbers", !0)),
|
|
3274
3274
|
showFoldingControls: ne(new Ei(110, "showFoldingControls", "mouseover", ["always", "never", "mouseover"], {
|
|
3275
3275
|
enumDescriptions: [
|
|
3276
3276
|
p("showFoldingControls.always", "Always show the folding controls."),
|
|
@@ -3279,8 +3279,8 @@ const qa = {
|
|
|
3279
3279
|
],
|
|
3280
3280
|
description: p("showFoldingControls", "Controls when the folding controls on the gutter are shown.")
|
|
3281
3281
|
})),
|
|
3282
|
-
showUnused: ne(new
|
|
3283
|
-
showDeprecated: ne(new
|
|
3282
|
+
showUnused: ne(new St(111, "showUnused", !0, { description: p("showUnused", "Controls fading out of unused code.") })),
|
|
3283
|
+
showDeprecated: ne(new St(140, "showDeprecated", !0, { description: p("showDeprecated", "Controls strikethrough deprecated variables.") })),
|
|
3284
3284
|
inlayHints: ne(new lq()),
|
|
3285
3285
|
snippetSuggestions: ne(new Ei(112, "snippetSuggestions", "inline", ["top", "bottom", "inline", "none"], {
|
|
3286
3286
|
enumDescriptions: [
|
|
@@ -3292,7 +3292,7 @@ const qa = {
|
|
|
3292
3292
|
description: p("snippetSuggestions", "Controls whether snippets are shown with other suggestions and how they are sorted.")
|
|
3293
3293
|
})),
|
|
3294
3294
|
smartSelect: ne(new Aq()),
|
|
3295
|
-
smoothScrolling: ne(new
|
|
3295
|
+
smoothScrolling: ne(new St(114, "smoothScrolling", !1, { description: p("smoothScrolling", "Controls whether the editor will scroll using an animation.") })),
|
|
3296
3296
|
stopRenderingLineAfter: ne(new Gt(
|
|
3297
3297
|
117,
|
|
3298
3298
|
"stopRenderingLineAfter",
|
|
@@ -3304,10 +3304,10 @@ const qa = {
|
|
|
3304
3304
|
suggest: ne(new Rq()),
|
|
3305
3305
|
inlineSuggest: ne(new Tq()),
|
|
3306
3306
|
inlineEdit: ne(new bq()),
|
|
3307
|
-
inlineCompletionsAccessibilityVerbose: ne(new
|
|
3307
|
+
inlineCompletionsAccessibilityVerbose: ne(new St(149, "inlineCompletionsAccessibilityVerbose", !1, { description: p("inlineCompletionsAccessibilityVerbose", "Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown.") })),
|
|
3308
3308
|
suggestFontSize: ne(new Gt(119, "suggestFontSize", 0, 0, 1e3, { markdownDescription: p("suggestFontSize", "Font size for the suggest widget. When set to {0}, the value of {1} is used.", "`0`", "`#editor.fontSize#`") })),
|
|
3309
3309
|
suggestLineHeight: ne(new Gt(120, "suggestLineHeight", 0, 0, 1e3, { markdownDescription: p("suggestLineHeight", "Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.", "`0`", "`#editor.lineHeight#`") })),
|
|
3310
|
-
suggestOnTriggerCharacters: ne(new
|
|
3310
|
+
suggestOnTriggerCharacters: ne(new St(121, "suggestOnTriggerCharacters", !0, { description: p("suggestOnTriggerCharacters", "Controls whether suggestions should automatically show up when typing trigger characters.") })),
|
|
3311
3311
|
suggestSelection: ne(new Ei(122, "suggestSelection", "first", ["first", "recentlyUsed", "recentlyUsedByPrefix"], {
|
|
3312
3312
|
markdownEnumDescriptions: [
|
|
3313
3313
|
p("suggestSelection.first", "Always select the first suggestion."),
|
|
@@ -3341,8 +3341,8 @@ const qa = {
|
|
|
3341
3341
|
],
|
|
3342
3342
|
description: p("unusualLineTerminators", "Remove unusual line terminators that might cause problems.")
|
|
3343
3343
|
})),
|
|
3344
|
-
useShadowDOM: ne(new
|
|
3345
|
-
useTabStops: ne(new
|
|
3344
|
+
useShadowDOM: ne(new St(127, "useShadowDOM", !0)),
|
|
3345
|
+
useTabStops: ne(new St(128, "useTabStops", !0, { description: p("useTabStops", "Spaces and tabs are inserted and deleted in alignment with tab stops.") })),
|
|
3346
3346
|
wordBreak: ne(new Ei(129, "wordBreak", "normal", ["normal", "keepAll"], {
|
|
3347
3347
|
markdownEnumDescriptions: [
|
|
3348
3348
|
p("wordBreak.normal", "Use the default line break rule."),
|
|
@@ -3403,9 +3403,9 @@ const qa = {
|
|
|
3403
3403
|
wordWrapOverride2: ne(new Ei(137, "wordWrapOverride2", "inherit", ["off", "on", "inherit"])),
|
|
3404
3404
|
// Leave these at the end (because they have dependencies!)
|
|
3405
3405
|
editorClassName: ne(new ZY()),
|
|
3406
|
-
defaultColorDecorators: ne(new
|
|
3406
|
+
defaultColorDecorators: ne(new St(147, "defaultColorDecorators", !1, { markdownDescription: p("defaultColorDecorators", "Controls whether inline color decorations should be shown using the default document color provider") })),
|
|
3407
3407
|
pixelRatio: ne(new pq()),
|
|
3408
|
-
tabFocusMode: ne(new
|
|
3408
|
+
tabFocusMode: ne(new St(144, "tabFocusMode", !1, { markdownDescription: p("tabFocusMode", "Controls whether the editor receives tabs or defers them to the workbench for navigation.") })),
|
|
3409
3409
|
layoutInfo: ne(new Op()),
|
|
3410
3410
|
wrappingInfo: ne(new yq()),
|
|
3411
3411
|
wrappingIndent: ne(new Nq()),
|
|
@@ -10440,7 +10440,7 @@ function dt(o) {
|
|
|
10440
10440
|
};
|
|
10441
10441
|
return e.toString = () => o, La.serviceIds.set(o, e), e;
|
|
10442
10442
|
}
|
|
10443
|
-
const
|
|
10443
|
+
const Tt = dt("codeEditorService"), gi = dt("modelService"), so = dt("textModelService");
|
|
10444
10444
|
class po extends U {
|
|
10445
10445
|
constructor(e, t = "", i = "", n = !0, s) {
|
|
10446
10446
|
super(), this._onDidChange = this._register(new B()), this.onDidChange = this._onDidChange.event, this._enabled = !0, this._id = e, this._label = t, this._cssClass = i, this._enabled = n, this._actionCallback = s;
|
|
@@ -12642,7 +12642,7 @@ class rn extends QL {
|
|
|
12642
12642
|
};
|
|
12643
12643
|
}
|
|
12644
12644
|
static runEditorCommand(e, t, i, n) {
|
|
12645
|
-
const s = e.get(
|
|
12645
|
+
const s = e.get(Tt), r = s.getFocusedCodeEditor() || s.getActiveCodeEditor();
|
|
12646
12646
|
if (r)
|
|
12647
12647
|
return r.invokeWithinContext((a) => {
|
|
12648
12648
|
if (a.get(Me).contextMatchesRules(i ?? void 0))
|
|
@@ -12700,7 +12700,7 @@ class Y8 extends ge {
|
|
|
12700
12700
|
}
|
|
12701
12701
|
class Xa extends Hs {
|
|
12702
12702
|
run(e, ...t) {
|
|
12703
|
-
const i = e.get(
|
|
12703
|
+
const i = e.get(Tt), n = i.getFocusedCodeEditor() || i.getActiveCodeEditor();
|
|
12704
12704
|
if (n)
|
|
12705
12705
|
return n.invokeWithinContext((s) => {
|
|
12706
12706
|
var r, a;
|
|
@@ -12716,7 +12716,7 @@ class Xa extends Hs {
|
|
|
12716
12716
|
function od(o, e) {
|
|
12717
12717
|
ft.registerCommand(o, function(t, ...i) {
|
|
12718
12718
|
const n = t.get(Ae), [s, r] = i;
|
|
12719
|
-
|
|
12719
|
+
vt(ye.isUri(s)), vt(W.isIPosition(r));
|
|
12720
12720
|
const a = t.get(gi).getModel(s);
|
|
12721
12721
|
if (a) {
|
|
12722
12722
|
const l = W.lift(r);
|
|
@@ -12747,7 +12747,7 @@ function q8(o) {
|
|
|
12747
12747
|
function PJ(o) {
|
|
12748
12748
|
dr.INSTANCE.registerEditorAction(o);
|
|
12749
12749
|
}
|
|
12750
|
-
function
|
|
12750
|
+
function bt(o, e, t) {
|
|
12751
12751
|
dr.INSTANCE.registerEditorContribution(o, e, t);
|
|
12752
12752
|
}
|
|
12753
12753
|
var kp;
|
|
@@ -17925,7 +17925,7 @@ function Sh(o, e) {
|
|
|
17925
17925
|
const t = Math.pow(10, e);
|
|
17926
17926
|
return Math.round(o * t) / t;
|
|
17927
17927
|
}
|
|
17928
|
-
class
|
|
17928
|
+
class _t {
|
|
17929
17929
|
constructor(e, t, i, n = 1) {
|
|
17930
17930
|
this._rgbaBrand = void 0, this.r = Math.min(255, Math.max(0, e)) | 0, this.g = Math.min(255, Math.max(0, t)) | 0, this.b = Math.min(255, Math.max(0, i)) | 0, this.a = Sh(Math.max(Math.min(1, n), 0), 3);
|
|
17931
17931
|
}
|
|
@@ -17984,7 +17984,7 @@ class Ur {
|
|
|
17984
17984
|
const d = n < 0.5 ? n * (1 + i) : n + i - n * i, c = 2 * n - d;
|
|
17985
17985
|
r = Ur._hue2rgb(c, d, t + 1 / 3), a = Ur._hue2rgb(c, d, t), l = Ur._hue2rgb(c, d, t - 1 / 3);
|
|
17986
17986
|
}
|
|
17987
|
-
return new
|
|
17987
|
+
return new _t(Math.round(r * 255), Math.round(a * 255), Math.round(l * 255), s);
|
|
17988
17988
|
}
|
|
17989
17989
|
}
|
|
17990
17990
|
class yl {
|
|
@@ -18004,7 +18004,7 @@ class yl {
|
|
|
18004
18004
|
static toRGBA(e) {
|
|
18005
18005
|
const { h: t, s: i, v: n, a: s } = e, r = n * i, a = r * (1 - Math.abs(t / 60 % 2 - 1)), l = n - r;
|
|
18006
18006
|
let [d, c, h] = [0, 0, 0];
|
|
18007
|
-
return t < 60 ? (d = r, c = a) : t < 120 ? (d = a, c = r) : t < 180 ? (c = r, h = a) : t < 240 ? (c = a, h = r) : t < 300 ? (d = a, h = r) : t <= 360 && (d = r, h = a), d = Math.round((d + l) * 255), c = Math.round((c + l) * 255), h = Math.round((h + l) * 255), new
|
|
18007
|
+
return t < 60 ? (d = r, c = a) : t < 120 ? (d = a, c = r) : t < 180 ? (c = r, h = a) : t < 240 ? (c = a, h = r) : t < 300 ? (d = a, h = r) : t <= 360 && (d = r, h = a), d = Math.round((d + l) * 255), c = Math.round((c + l) * 255), h = Math.round((h + l) * 255), new _t(d, c, h, s);
|
|
18008
18008
|
}
|
|
18009
18009
|
}
|
|
18010
18010
|
class G {
|
|
@@ -18022,7 +18022,7 @@ class G {
|
|
|
18022
18022
|
}
|
|
18023
18023
|
constructor(e) {
|
|
18024
18024
|
if (e)
|
|
18025
|
-
if (e instanceof
|
|
18025
|
+
if (e instanceof _t)
|
|
18026
18026
|
this.rgba = e;
|
|
18027
18027
|
else if (e instanceof Ur)
|
|
18028
18028
|
this._hsla = e, this.rgba = Ur.toRGBA(e);
|
|
@@ -18033,7 +18033,7 @@ class G {
|
|
|
18033
18033
|
else throw new Error("Color needs a value");
|
|
18034
18034
|
}
|
|
18035
18035
|
equals(e) {
|
|
18036
|
-
return !!e &&
|
|
18036
|
+
return !!e && _t.equals(this.rgba, e.rgba) && Ur.equals(this.hsla, e.hsla) && yl.equals(this.hsva, e.hsva);
|
|
18037
18037
|
}
|
|
18038
18038
|
/**
|
|
18039
18039
|
* http://www.w3.org/TR/WCAG20/#relativeluminancedef
|
|
@@ -18070,7 +18070,7 @@ class G {
|
|
|
18070
18070
|
}
|
|
18071
18071
|
transparent(e) {
|
|
18072
18072
|
const { r: t, g: i, b: n, a: s } = this.rgba;
|
|
18073
|
-
return new G(new
|
|
18073
|
+
return new G(new _t(t, i, n, s * e));
|
|
18074
18074
|
}
|
|
18075
18075
|
isTransparent() {
|
|
18076
18076
|
return this.rgba.a === 0;
|
|
@@ -18079,13 +18079,13 @@ class G {
|
|
|
18079
18079
|
return this.rgba.a === 1;
|
|
18080
18080
|
}
|
|
18081
18081
|
opposite() {
|
|
18082
|
-
return new G(new
|
|
18082
|
+
return new G(new _t(255 - this.rgba.r, 255 - this.rgba.g, 255 - this.rgba.b, this.rgba.a));
|
|
18083
18083
|
}
|
|
18084
18084
|
makeOpaque(e) {
|
|
18085
18085
|
if (this.isOpaque() || e.rgba.a !== 1)
|
|
18086
18086
|
return this;
|
|
18087
18087
|
const { r: t, g: i, b: n, a: s } = this.rgba;
|
|
18088
|
-
return new G(new
|
|
18088
|
+
return new G(new _t(e.rgba.r - s * (e.rgba.r - t), e.rgba.g - s * (e.rgba.g - i), e.rgba.b - s * (e.rgba.b - n), 1));
|
|
18089
18089
|
}
|
|
18090
18090
|
toString() {
|
|
18091
18091
|
return this._toString || (this._toString = G.Format.CSS.format(this)), this._toString;
|
|
@@ -18105,14 +18105,14 @@ class G {
|
|
|
18105
18105
|
return i = i * (n - s) / n, e.darken(i);
|
|
18106
18106
|
}
|
|
18107
18107
|
}
|
|
18108
|
-
G.white = new G(new
|
|
18109
|
-
G.black = new G(new
|
|
18110
|
-
G.red = new G(new
|
|
18111
|
-
G.blue = new G(new
|
|
18112
|
-
G.green = new G(new
|
|
18113
|
-
G.cyan = new G(new
|
|
18114
|
-
G.lightgrey = new G(new
|
|
18115
|
-
G.transparent = new G(new
|
|
18108
|
+
G.white = new G(new _t(255, 255, 255, 1));
|
|
18109
|
+
G.black = new G(new _t(0, 0, 0, 1));
|
|
18110
|
+
G.red = new G(new _t(255, 0, 0, 1));
|
|
18111
|
+
G.blue = new G(new _t(0, 0, 255, 1));
|
|
18112
|
+
G.green = new G(new _t(0, 255, 0, 1));
|
|
18113
|
+
G.cyan = new G(new _t(0, 255, 255, 1));
|
|
18114
|
+
G.lightgrey = new G(new _t(211, 211, 211, 1));
|
|
18115
|
+
G.transparent = new G(new _t(0, 0, 0, 0));
|
|
18116
18116
|
(function(o) {
|
|
18117
18117
|
(function(e) {
|
|
18118
18118
|
(function(t) {
|
|
@@ -18154,19 +18154,19 @@ G.transparent = new G(new Et(0, 0, 0, 0));
|
|
|
18154
18154
|
return null;
|
|
18155
18155
|
if (f === 7) {
|
|
18156
18156
|
const m = 16 * u(g.charCodeAt(1)) + u(g.charCodeAt(2)), _ = 16 * u(g.charCodeAt(3)) + u(g.charCodeAt(4)), E = 16 * u(g.charCodeAt(5)) + u(g.charCodeAt(6));
|
|
18157
|
-
return new o(new
|
|
18157
|
+
return new o(new _t(m, _, E, 1));
|
|
18158
18158
|
}
|
|
18159
18159
|
if (f === 9) {
|
|
18160
18160
|
const m = 16 * u(g.charCodeAt(1)) + u(g.charCodeAt(2)), _ = 16 * u(g.charCodeAt(3)) + u(g.charCodeAt(4)), E = 16 * u(g.charCodeAt(5)) + u(g.charCodeAt(6)), S = 16 * u(g.charCodeAt(7)) + u(g.charCodeAt(8));
|
|
18161
|
-
return new o(new
|
|
18161
|
+
return new o(new _t(m, _, E, S / 255));
|
|
18162
18162
|
}
|
|
18163
18163
|
if (f === 4) {
|
|
18164
18164
|
const m = u(g.charCodeAt(1)), _ = u(g.charCodeAt(2)), E = u(g.charCodeAt(3));
|
|
18165
|
-
return new o(new
|
|
18165
|
+
return new o(new _t(16 * m + m, 16 * _ + _, 16 * E + E));
|
|
18166
18166
|
}
|
|
18167
18167
|
if (f === 5) {
|
|
18168
18168
|
const m = u(g.charCodeAt(1)), _ = u(g.charCodeAt(2)), E = u(g.charCodeAt(3)), S = u(g.charCodeAt(4));
|
|
18169
|
-
return new o(new
|
|
18169
|
+
return new o(new _t(16 * m + m, 16 * _ + _, 16 * E + E, (16 * S + S) / 255));
|
|
18170
18170
|
}
|
|
18171
18171
|
return null;
|
|
18172
18172
|
}
|
|
@@ -20467,7 +20467,7 @@ PS.ID = "editor.contrib.markerDecorations";
|
|
|
20467
20467
|
PS = See([
|
|
20468
20468
|
Cee(1, vk)
|
|
20469
20469
|
], PS);
|
|
20470
|
-
|
|
20470
|
+
bt(
|
|
20471
20471
|
PS.ID,
|
|
20472
20472
|
PS,
|
|
20473
20473
|
0
|
|
@@ -21115,11 +21115,11 @@ M("editorHoverWidget.statusBarBackground", { dark: Oa(q0, 0.2), light: gf(q0, 0.
|
|
|
21115
21115
|
const Gd = M("editorInlayHint.foreground", { dark: "#969696", light: "#969696", hcDark: G.white, hcLight: G.black }, p("editorInlayHintForeground", "Foreground color of inline hints")), zd = M("editorInlayHint.background", { dark: Le(Gb, 0.1), light: Le(Gb, 0.1), hcDark: Le(G.white, 0.1), hcLight: Le(Gb, 0.1) }, p("editorInlayHintBackground", "Background color of inline hints")), zee = M("editorInlayHint.typeForeground", { dark: Gd, light: Gd, hcDark: Gd, hcLight: Gd }, p("editorInlayHintForegroundTypes", "Foreground color of inline hints for types")), $ee = M("editorInlayHint.typeBackground", { dark: zd, light: zd, hcDark: zd, hcLight: zd }, p("editorInlayHintBackgroundTypes", "Background color of inline hints for types")), Kee = M("editorInlayHint.parameterForeground", { dark: Gd, light: Gd, hcDark: Gd, hcLight: Gd }, p("editorInlayHintForegroundParameter", "Foreground color of inline hints for parameters")), Yee = M("editorInlayHint.parameterBackground", { dark: zd, light: zd, hcDark: zd, hcLight: zd }, p("editorInlayHintBackgroundParameter", "Background color of inline hints for parameters")), hT = M("editorLightBulb.foreground", { dark: "#FFCC00", light: "#DDB100", hcDark: "#FFCC00", hcLight: "#007ACC" }, p("editorLightBulbForeground", "The color used for the lightbulb actions icon."));
|
|
21116
21116
|
M("editorLightBulbAutoFix.foreground", { dark: "#75BEFF", light: "#007ACC", hcDark: "#75BEFF", hcLight: "#007ACC" }, p("editorLightBulbAutoFixForeground", "The color used for the lightbulb auto fix actions icon."));
|
|
21117
21117
|
M("editorLightBulbAi.foreground", { dark: hT, light: hT, hcDark: hT, hcLight: hT }, p("editorLightBulbAiForeground", "The color used for the lightbulb AI icon."));
|
|
21118
|
-
M("editor.snippetTabstopHighlightBackground", { dark: new G(new
|
|
21118
|
+
M("editor.snippetTabstopHighlightBackground", { dark: new G(new _t(124, 124, 124, 0.3)), light: new G(new _t(10, 50, 100, 0.2)), hcDark: new G(new _t(124, 124, 124, 0.3)), hcLight: new G(new _t(10, 50, 100, 0.2)) }, p("snippetTabstopHighlightBackground", "Highlight background color of a snippet tabstop."));
|
|
21119
21119
|
M("editor.snippetTabstopHighlightBorder", { dark: null, light: null, hcDark: null, hcLight: null }, p("snippetTabstopHighlightBorder", "Highlight border color of a snippet tabstop."));
|
|
21120
21120
|
M("editor.snippetFinalTabstopHighlightBackground", { dark: null, light: null, hcDark: null, hcLight: null }, p("snippetFinalTabstopHighlightBackground", "Highlight background color of the final tabstop of a snippet."));
|
|
21121
|
-
M("editor.snippetFinalTabstopHighlightBorder", { dark: "#525252", light: new G(new
|
|
21122
|
-
const DD = new G(new
|
|
21121
|
+
M("editor.snippetFinalTabstopHighlightBorder", { dark: "#525252", light: new G(new _t(10, 50, 100, 0.5)), hcDark: "#525252", hcLight: "#292929" }, p("snippetFinalTabstopHighlightBorder", "Highlight border color of the final tabstop of a snippet."));
|
|
21122
|
+
const DD = new G(new _t(155, 185, 85, 0.2)), OD = new G(new _t(255, 0, 0, 0.2)), qee = M("diffEditor.insertedTextBackground", { dark: "#9ccc2c33", light: "#9ccc2c40", hcDark: null, hcLight: null }, p("diffEditorInserted", "Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."), !0), jee = M("diffEditor.removedTextBackground", { dark: "#ff000033", light: "#ff000033", hcDark: null, hcLight: null }, p("diffEditorRemoved", "Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
21123
21123
|
M("diffEditor.insertedLineBackground", { dark: DD, light: DD, hcDark: null, hcLight: null }, p("diffEditorInsertedLines", "Background color for lines that got inserted. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
21124
21124
|
M("diffEditor.removedLineBackground", { dark: OD, light: OD, hcDark: null, hcLight: null }, p("diffEditorRemovedLines", "Background color for lines that got removed. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
21125
21125
|
M("diffEditorGutter.insertedLineBackground", { dark: null, light: null, hcDark: null, hcLight: null }, p("diffEditorInsertedLineGutter", "Background color for the margin where lines got inserted."));
|
|
@@ -21147,7 +21147,7 @@ const _m = M("merge.border", { dark: null, light: null, hcDark: "#C3DF6F", hcLig
|
|
|
21147
21147
|
M("editorOverviewRuler.currentContentForeground", { dark: Le(gp, mm), light: Le(gp, mm), hcDark: _m, hcLight: _m }, p("overviewRulerCurrentContentForeground", "Current overview ruler foreground for inline merge-conflicts."));
|
|
21148
21148
|
M("editorOverviewRuler.incomingContentForeground", { dark: Le(fp, mm), light: Le(fp, mm), hcDark: _m, hcLight: _m }, p("overviewRulerIncomingContentForeground", "Incoming overview ruler foreground for inline merge-conflicts."));
|
|
21149
21149
|
M("editorOverviewRuler.commonContentForeground", { dark: Le(pp, mm), light: Le(pp, mm), hcDark: _m, hcLight: _m }, p("overviewRulerCommonContentForeground", "Common ancestor overview ruler foreground for inline merge-conflicts."));
|
|
21150
|
-
const Ik = M("editorOverviewRuler.findMatchForeground", { dark: "#d186167e", light: "#d186167e", hcDark: "#AB5A00", hcLight: "" }, p("overviewRulerFindMatchForeground", "Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."), !0), dE = M("editorOverviewRuler.selectionHighlightForeground", { dark: "#A0A0A0CC", light: "#A0A0A0CC", hcDark: "#A0A0A0CC", hcLight: "#A0A0A0CC" }, p("overviewRulerSelectionHighlightForeground", "Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."), !0), tte = M("problemsErrorIcon.foreground", { dark: Ol, light: Ol, hcDark: Ol, hcLight: Ol }, p("problemsErrorIconForeground", "The color used for the problems error icon.")), ite = M("problemsWarningIcon.foreground", { dark: gs, light: gs, hcDark: gs, hcLight: gs }, p("problemsWarningIconForeground", "The color used for the problems warning icon.")), nte = M("problemsInfoIcon.foreground", { dark: Js, light: Js, hcDark: Js, hcLight: Js }, p("problemsInfoIconForeground", "The color used for the problems info icon.")), mp = M("minimap.findMatchHighlight", { light: "#d18616", dark: "#d18616", hcDark: "#AB5A00", hcLight: "#0F4A85" }, p("minimapFindMatchHighlight", "Minimap marker color for find matches."), !0), aR = M("minimap.selectionOccurrenceHighlight", { light: "#c9c9c9", dark: "#676767", hcDark: "#ffffff", hcLight: "#0F4A85" }, p("minimapSelectionOccurrenceHighlight", "Minimap marker color for repeating editor selections."), !0), KH = M("minimap.selectionHighlight", { light: "#ADD6FF", dark: "#264F78", hcDark: "#ffffff", hcLight: "#0F4A85" }, p("minimapSelectionHighlight", "Minimap marker color for the editor selection."), !0), ste = M("minimap.infoHighlight", { dark: Js, light: Js, hcDark: BS, hcLight: BS }, p("minimapInfo", "Minimap marker color for infos.")), ote = M("minimap.warningHighlight", { dark: gs, light: gs, hcDark: FS, hcLight: FS }, p("overviewRuleWarning", "Minimap marker color for warnings.")), rte = M("minimap.errorHighlight", { dark: new G(new
|
|
21150
|
+
const Ik = M("editorOverviewRuler.findMatchForeground", { dark: "#d186167e", light: "#d186167e", hcDark: "#AB5A00", hcLight: "" }, p("overviewRulerFindMatchForeground", "Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."), !0), dE = M("editorOverviewRuler.selectionHighlightForeground", { dark: "#A0A0A0CC", light: "#A0A0A0CC", hcDark: "#A0A0A0CC", hcLight: "#A0A0A0CC" }, p("overviewRulerSelectionHighlightForeground", "Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."), !0), tte = M("problemsErrorIcon.foreground", { dark: Ol, light: Ol, hcDark: Ol, hcLight: Ol }, p("problemsErrorIconForeground", "The color used for the problems error icon.")), ite = M("problemsWarningIcon.foreground", { dark: gs, light: gs, hcDark: gs, hcLight: gs }, p("problemsWarningIconForeground", "The color used for the problems warning icon.")), nte = M("problemsInfoIcon.foreground", { dark: Js, light: Js, hcDark: Js, hcLight: Js }, p("problemsInfoIconForeground", "The color used for the problems info icon.")), mp = M("minimap.findMatchHighlight", { light: "#d18616", dark: "#d18616", hcDark: "#AB5A00", hcLight: "#0F4A85" }, p("minimapFindMatchHighlight", "Minimap marker color for find matches."), !0), aR = M("minimap.selectionOccurrenceHighlight", { light: "#c9c9c9", dark: "#676767", hcDark: "#ffffff", hcLight: "#0F4A85" }, p("minimapSelectionOccurrenceHighlight", "Minimap marker color for repeating editor selections."), !0), KH = M("minimap.selectionHighlight", { light: "#ADD6FF", dark: "#264F78", hcDark: "#ffffff", hcLight: "#0F4A85" }, p("minimapSelectionHighlight", "Minimap marker color for the editor selection."), !0), ste = M("minimap.infoHighlight", { dark: Js, light: Js, hcDark: BS, hcLight: BS }, p("minimapInfo", "Minimap marker color for infos.")), ote = M("minimap.warningHighlight", { dark: gs, light: gs, hcDark: FS, hcLight: FS }, p("overviewRuleWarning", "Minimap marker color for warnings.")), rte = M("minimap.errorHighlight", { dark: new G(new _t(255, 18, 18, 0.7)), light: new G(new _t(255, 18, 18, 0.7)), hcDark: new G(new _t(255, 50, 50, 1)), hcLight: "#B5200D" }, p("minimapError", "Minimap marker color for errors.")), ate = M("minimap.background", { dark: null, light: null, hcDark: null, hcLight: null }, p("minimapBackground", "Minimap background color.")), lte = M("minimap.foregroundOpacity", { dark: G.fromHex("#000f"), light: G.fromHex("#000f"), hcDark: G.fromHex("#000f"), hcLight: G.fromHex("#000f") }, p("minimapForegroundOpacity", 'Opacity of foreground elements rendered in the minimap. For example, "#000000c0" will render the elements with 75% opacity.'));
|
|
21151
21151
|
M("minimapSlider.background", { light: Le(rE, 0.5), dark: Le(rE, 0.5), hcDark: Le(rE, 0.5), hcLight: Le(rE, 0.5) }, p("minimapSliderBackground", "Minimap slider background color."));
|
|
21152
21152
|
M("minimapSlider.hoverBackground", { light: Le(aE, 0.5), dark: Le(aE, 0.5), hcDark: Le(aE, 0.5), hcLight: Le(aE, 0.5) }, p("minimapSliderHoverBackground", "Minimap slider background color when hovering."));
|
|
21153
21153
|
M("minimapSlider.activeBackground", { light: Le(lE, 0.5), dark: Le(lE, 0.5), hcDark: Le(lE, 0.5), hcLight: Le(lE, 0.5) }, p("minimapSliderActiveBackground", "Minimap slider background color when clicked on."));
|
|
@@ -21167,7 +21167,7 @@ const dte = M("inputValidation.infoBackground", { dark: "#063B49", light: "#D6EC
|
|
|
21167
21167
|
M("checkbox.selectBackground", { dark: Bi, light: Bi, hcDark: Bi, hcLight: Bi }, p("checkbox.select.background", "Background color of checkbox widget when the element it's in is selected."));
|
|
21168
21168
|
const Lte = M("checkbox.foreground", { dark: Kd, light: Kd, hcDark: Kd, hcLight: Kd }, p("checkbox.foreground", "Foreground color of checkbox widget.")), Rte = M("checkbox.border", { dark: _p, light: _p, hcDark: _p, hcLight: _p }, p("checkbox.border", "Border color of checkbox widget."));
|
|
21169
21169
|
M("checkbox.selectBorder", { dark: Dl, light: Dl, hcDark: Dl, hcLight: Dl }, p("checkbox.select.border", "Border color of checkbox widget when the element it's in is selected."));
|
|
21170
|
-
const Ate = M("keybindingLabel.background", { dark: new G(new
|
|
21170
|
+
const Ate = M("keybindingLabel.background", { dark: new G(new _t(128, 128, 128, 0.17)), light: new G(new _t(221, 221, 221, 0.4)), hcDark: G.transparent, hcLight: G.transparent }, p("keybindingLabelBackground", "Keybinding label background color. The keybinding label is used to represent a keyboard shortcut.")), wte = M("keybindingLabel.foreground", { dark: G.fromHex("#CCCCCC"), light: G.fromHex("#555555"), hcDark: G.white, hcLight: ae }, p("keybindingLabelForeground", "Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut.")), Nte = M("keybindingLabel.border", { dark: new G(new _t(51, 51, 51, 0.6)), light: new G(new _t(204, 204, 204, 0.4)), hcDark: new G(new _t(111, 195, 223)), hcLight: ht }, p("keybindingLabelBorder", "Keybinding label border color. The keybinding label is used to represent a keyboard shortcut.")), yte = M("keybindingLabel.bottomBorder", { dark: new G(new _t(68, 68, 68, 0.6)), light: new G(new _t(187, 187, 187, 0.4)), hcDark: new G(new _t(111, 195, 223)), hcLight: ae }, p("keybindingLabelBottomBorder", "Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut.")), Dte = M("list.focusBackground", { dark: null, light: null, hcDark: null, hcLight: null }, p("listFocusBackground", "List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")), Ote = M("list.focusForeground", { dark: null, light: null, hcDark: null, hcLight: null }, p("listFocusForeground", "List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")), xte = M("list.focusOutline", { dark: gr, light: gr, hcDark: ai, hcLight: ai }, p("listFocusOutline", "List/Tree outline color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")), Mte = M("list.focusAndSelectionOutline", { dark: null, light: null, hcDark: null, hcLight: null }, p("listFocusAndSelectionOutline", "List/Tree outline color for the focused item when the list/tree is active and selected. An active list/tree has keyboard focus, an inactive does not.")), Yd = M("list.activeSelectionBackground", { dark: "#04395E", light: "#0060C0", hcDark: null, hcLight: G.fromHex("#0F4A85").transparent(0.1) }, p("listActiveSelectionBackground", "List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")), Ml = M("list.activeSelectionForeground", { dark: G.white, light: G.white, hcDark: null, hcLight: null }, p("listActiveSelectionForeground", "List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")), uE = M("list.activeSelectionIconForeground", { dark: null, light: null, hcDark: null, hcLight: null }, p("listActiveSelectionIconForeground", "List/Tree icon foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")), Pte = M("list.inactiveSelectionBackground", { dark: "#37373D", light: "#E4E6F1", hcDark: null, hcLight: G.fromHex("#0F4A85").transparent(0.1) }, p("listInactiveSelectionBackground", "List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")), kte = M("list.inactiveSelectionForeground", { dark: null, light: null, hcDark: null, hcLight: null }, p("listInactiveSelectionForeground", "List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")), Fte = M("list.inactiveSelectionIconForeground", { dark: null, light: null, hcDark: null, hcLight: null }, p("listInactiveSelectionIconForeground", "List/Tree icon foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")), Bte = M("list.inactiveFocusBackground", { dark: null, light: null, hcDark: null, hcLight: null }, p("listInactiveFocusBackground", "List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")), Hte = M("list.inactiveFocusOutline", { dark: null, light: null, hcDark: null, hcLight: null }, p("listInactiveFocusOutline", "List/Tree outline color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")), k9 = M("list.hoverBackground", { dark: "#2A2D2E", light: "#F0F0F0", hcDark: G.white.transparent(0.1), hcLight: G.fromHex("#0F4A85").transparent(0.1) }, p("listHoverBackground", "List/Tree background when hovering over items using the mouse.")), F9 = M("list.hoverForeground", { dark: null, light: null, hcDark: null, hcLight: null }, p("listHoverForeground", "List/Tree foreground when hovering over items using the mouse.")), Wte = M("list.dropBackground", { dark: "#062F4A", light: "#D6EBFF", hcDark: null, hcLight: null }, p("listDropBackground", "List/Tree drag and drop background when moving items over other items when using the mouse.")), Ute = M("list.dropBetweenBackground", { dark: Dl, light: Dl, hcDark: null, hcLight: null }, p("listDropBetweenBackground", "List/Tree drag and drop border color when moving items between items when using the mouse.")), qr = M("list.highlightForeground", { dark: "#2AAAFF", light: "#0066BF", hcDark: gr, hcLight: gr }, p("highlight", "List/Tree foreground color of the match highlights when searching inside the list/tree.")), uT = M("list.focusHighlightForeground", { dark: qr, light: xee(Yd, qr, "#BBE7FF"), hcDark: qr, hcLight: qr }, p("listFocusHighlightForeground", "List/Tree foreground color of the match highlights on actively focused items when searching inside the list/tree."));
|
|
21171
21171
|
M("list.invalidItemForeground", { dark: "#B89500", light: "#B89500", hcDark: "#B89500", hcLight: "#B5200D" }, p("invalidItemForeground", "List/Tree foreground color for invalid items, for example an unresolved root in explorer."));
|
|
21172
21172
|
M("list.errorForeground", { dark: "#F88070", light: "#B01011", hcDark: null, hcLight: null }, p("listErrorForeground", "Foreground color of list items containing errors."));
|
|
21173
21173
|
M("list.warningForeground", { dark: "#CCA700", light: "#855F00", hcDark: null, hcLight: null }, p("listWarningForeground", "Foreground color of list items containing warnings."));
|
|
@@ -21175,7 +21175,7 @@ const Vte = M("listFilterWidget.background", { light: gf(Bi, 0), dark: Oa(Bi, 0)
|
|
|
21175
21175
|
M("list.filterMatchBackground", { dark: Vd, light: Vd, hcDark: null, hcLight: null }, p("listFilterMatchHighlight", "Background color of the filtered match."));
|
|
21176
21176
|
M("list.filterMatchBorder", { dark: sh, light: sh, hcDark: ht, hcLight: ai }, p("listFilterMatchHighlightBorder", "Border color of the filtered match."));
|
|
21177
21177
|
M("list.deemphasizedForeground", { dark: "#8C8C8C", light: "#8E8E90", hcDark: "#A7A8A9", hcLight: "#666666" }, p("listDeemphasizedForeground", "List/Tree foreground color for items that are deemphasized."));
|
|
21178
|
-
const gE = M("tree.indentGuidesStroke", { dark: "#585858", light: "#a9a9a9", hcDark: "#a9a9a9", hcLight: "#a5a5a5" }, p("treeIndentGuidesStroke", "Tree stroke color for the indentation guides.")), Kte = M("tree.inactiveIndentGuidesStroke", { dark: Le(gE, 0.4), light: Le(gE, 0.4), hcDark: Le(gE, 0.4), hcLight: Le(gE, 0.4) }, p("treeInactiveIndentGuidesStroke", "Tree stroke color for the indentation guides that are not active.")), Yte = M("tree.tableColumnsBorder", { dark: "#CCCCCC20", light: "#61616120", hcDark: null, hcLight: null }, p("tableColumnsBorder", "Table border color between columns.")), qte = M("tree.tableOddRowsBackground", { dark: Le(ae, 0.04), light: Le(ae, 0.04), hcDark: null, hcLight: null }, p("tableOddRowsBackgroundColor", "Background color for odd table rows.")), jte = M("menu.border", { dark: null, light: null, hcDark: ht, hcLight: ht }, p("menuBorder", "Border color of menus.")), Xte = M("menu.foreground", { dark: Kd, light: Kd, hcDark: Kd, hcLight: Kd }, p("menuForeground", "Foreground color of menu items.")), Jte = M("menu.background", { dark: xl, light: xl, hcDark: xl, hcLight: xl }, p("menuBackground", "Background color of menu items.")), Zte = M("menu.selectionForeground", { dark: Ml, light: Ml, hcDark: Ml, hcLight: Ml }, p("menuSelectionForeground", "Foreground color of the selected menu item in menus.")), Qte = M("menu.selectionBackground", { dark: Yd, light: Yd, hcDark: Yd, hcLight: Yd }, p("menuSelectionBackground", "Background color of the selected menu item in menus.")), eie = M("menu.selectionBorder", { dark: null, light: null, hcDark: ai, hcLight: ai }, p("menuSelectionBorder", "Border color of the selected menu item in menus.")), tie = M("menu.separatorBackground", { dark: "#606060", light: "#D4D4D4", hcDark: ht, hcLight: ht }, p("menuSeparatorBackground", "Color of a separator menu item in menus.")), YH = M("quickInput.background", { dark: Bi, light: Bi, hcDark: Bi, hcLight: Bi }, p("pickerBackground", "Quick picker background color. The quick picker widget is the container for pickers like the command palette.")), iie = M("quickInput.foreground", { dark: Wd, light: Wd, hcDark: Wd, hcLight: Wd }, p("pickerForeground", "Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")), nie = M("quickInputTitle.background", { dark: new G(new
|
|
21178
|
+
const gE = M("tree.indentGuidesStroke", { dark: "#585858", light: "#a9a9a9", hcDark: "#a9a9a9", hcLight: "#a5a5a5" }, p("treeIndentGuidesStroke", "Tree stroke color for the indentation guides.")), Kte = M("tree.inactiveIndentGuidesStroke", { dark: Le(gE, 0.4), light: Le(gE, 0.4), hcDark: Le(gE, 0.4), hcLight: Le(gE, 0.4) }, p("treeInactiveIndentGuidesStroke", "Tree stroke color for the indentation guides that are not active.")), Yte = M("tree.tableColumnsBorder", { dark: "#CCCCCC20", light: "#61616120", hcDark: null, hcLight: null }, p("tableColumnsBorder", "Table border color between columns.")), qte = M("tree.tableOddRowsBackground", { dark: Le(ae, 0.04), light: Le(ae, 0.04), hcDark: null, hcLight: null }, p("tableOddRowsBackgroundColor", "Background color for odd table rows.")), jte = M("menu.border", { dark: null, light: null, hcDark: ht, hcLight: ht }, p("menuBorder", "Border color of menus.")), Xte = M("menu.foreground", { dark: Kd, light: Kd, hcDark: Kd, hcLight: Kd }, p("menuForeground", "Foreground color of menu items.")), Jte = M("menu.background", { dark: xl, light: xl, hcDark: xl, hcLight: xl }, p("menuBackground", "Background color of menu items.")), Zte = M("menu.selectionForeground", { dark: Ml, light: Ml, hcDark: Ml, hcLight: Ml }, p("menuSelectionForeground", "Foreground color of the selected menu item in menus.")), Qte = M("menu.selectionBackground", { dark: Yd, light: Yd, hcDark: Yd, hcLight: Yd }, p("menuSelectionBackground", "Background color of the selected menu item in menus.")), eie = M("menu.selectionBorder", { dark: null, light: null, hcDark: ai, hcLight: ai }, p("menuSelectionBorder", "Border color of the selected menu item in menus.")), tie = M("menu.separatorBackground", { dark: "#606060", light: "#D4D4D4", hcDark: ht, hcLight: ht }, p("menuSeparatorBackground", "Color of a separator menu item in menus.")), YH = M("quickInput.background", { dark: Bi, light: Bi, hcDark: Bi, hcLight: Bi }, p("pickerBackground", "Quick picker background color. The quick picker widget is the container for pickers like the command palette.")), iie = M("quickInput.foreground", { dark: Wd, light: Wd, hcDark: Wd, hcLight: Wd }, p("pickerForeground", "Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")), nie = M("quickInputTitle.background", { dark: new G(new _t(255, 255, 255, 0.105)), light: new G(new _t(0, 0, 0, 0.06)), hcDark: "#000000", hcLight: G.white }, p("pickerTitleBackground", "Quick picker title background color. The quick picker widget is the container for pickers like the command palette.")), B9 = M("pickerGroup.foreground", { dark: "#3794FF", light: "#0066BF", hcDark: G.white, hcLight: "#0F4A85" }, p("pickerGroupForeground", "Quick picker color for grouping labels.")), sie = M("pickerGroup.border", { dark: "#3F3F46", light: "#CCCEDB", hcDark: G.white, hcLight: "#0F4A85" }, p("pickerGroupBorder", "Quick picker color for grouping borders.")), qH = M("quickInput.list.focusBackground", { dark: null, light: null, hcDark: null, hcLight: null }, "", void 0, p("quickInput.list.focusBackground deprecation", "Please use quickInputList.focusBackground instead")), oh = M("quickInputList.focusForeground", { dark: Ml, light: Ml, hcDark: Ml, hcLight: Ml }, p("quickInput.listFocusForeground", "Quick picker foreground color for the focused item.")), Ep = M("quickInputList.focusIconForeground", { dark: uE, light: uE, hcDark: uE, hcLight: uE }, p("quickInput.listFocusIconForeground", "Quick picker icon foreground color for the focused item.")), rh = M("quickInputList.focusBackground", { dark: kS(qH, Yd), light: kS(qH, Yd), hcDark: null, hcLight: null }, p("quickInput.listFocusBackground", "Quick picker background color for the focused item."));
|
|
21179
21179
|
M("search.resultsInfoForeground", { light: ae, dark: Le(ae, 0.65), hcDark: ae, hcLight: ae }, p("search.resultsInfoForeground", "Color of the text in the search viewlet's completion message."));
|
|
21180
21180
|
M("searchEditor.findMatchBackground", { light: Le(Vd, 0.66), dark: Le(Vd, 0.66), hcDark: Vd, hcLight: Vd }, p("searchEditor.queryMatch", "Color of the Search Editor query matches."));
|
|
21181
21181
|
M("searchEditor.findMatchBorder", { light: Le(sh, 0.66), dark: Le(sh, 0.66), hcDark: sh, hcLight: sh }, p("searchEditor.editorFindMatchBorder", "Border color of the Search Editor query matches."));
|
|
@@ -24729,7 +24729,7 @@ const cne = M("editorUnnecessaryCode.opacity", { dark: G.fromHex("#000a"), light
|
|
|
24729
24729
|
M("editorGhostText.border", { dark: null, light: null, hcDark: G.fromHex("#fff").transparent(0.8), hcLight: G.fromHex("#292929").transparent(0.8) }, p("editorGhostTextBorder", "Border color of ghost text in the editor."));
|
|
24730
24730
|
M("editorGhostText.foreground", { dark: G.fromHex("#ffffff56"), light: G.fromHex("#0007"), hcDark: null, hcLight: null }, p("editorGhostTextForeground", "Foreground color of the ghost text in the editor."));
|
|
24731
24731
|
M("editorGhostText.background", { dark: null, light: null, hcDark: null, hcLight: null }, p("editorGhostTextBackground", "Background color of the ghost text in the editor."));
|
|
24732
|
-
const _T = new G(new
|
|
24732
|
+
const _T = new G(new _t(0, 122, 204, 0.6)), X9 = M("editorOverviewRuler.rangeHighlightForeground", { dark: _T, light: _T, hcDark: _T, hcLight: _T }, p("overviewRulerRangeHighlight", "Overview ruler marker color for range highlights. The color must not be opaque so as not to hide underlying decorations."), !0), hne = M("editorOverviewRuler.errorForeground", { dark: new G(new _t(255, 18, 18, 0.7)), light: new G(new _t(255, 18, 18, 0.7)), hcDark: new G(new _t(255, 50, 50, 1)), hcLight: "#B5200D" }, p("overviewRuleError", "Overview ruler marker color for errors.")), une = M("editorOverviewRuler.warningForeground", { dark: gs, light: gs, hcDark: FS, hcLight: FS }, p("overviewRuleWarning", "Overview ruler marker color for warnings.")), gne = M("editorOverviewRuler.infoForeground", { dark: Js, light: Js, hcDark: BS, hcLight: BS }, p("overviewRuleInfo", "Overview ruler marker color for infos.")), J9 = M("editorBracketHighlight.foreground1", { dark: "#FFD700", light: "#0431FAFF", hcDark: "#FFD700", hcLight: "#0431FAFF" }, p("editorBracketHighlightForeground1", "Foreground color of brackets (1). Requires enabling bracket pair colorization.")), Z9 = M("editorBracketHighlight.foreground2", { dark: "#DA70D6", light: "#319331FF", hcDark: "#DA70D6", hcLight: "#319331FF" }, p("editorBracketHighlightForeground2", "Foreground color of brackets (2). Requires enabling bracket pair colorization.")), Q9 = M("editorBracketHighlight.foreground3", { dark: "#179FFF", light: "#7B3814FF", hcDark: "#87CEFA", hcLight: "#7B3814FF" }, p("editorBracketHighlightForeground3", "Foreground color of brackets (3). Requires enabling bracket pair colorization.")), e7 = M("editorBracketHighlight.foreground4", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, p("editorBracketHighlightForeground4", "Foreground color of brackets (4). Requires enabling bracket pair colorization.")), t7 = M("editorBracketHighlight.foreground5", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, p("editorBracketHighlightForeground5", "Foreground color of brackets (5). Requires enabling bracket pair colorization.")), i7 = M("editorBracketHighlight.foreground6", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, p("editorBracketHighlightForeground6", "Foreground color of brackets (6). Requires enabling bracket pair colorization.")), fne = M("editorBracketHighlight.unexpectedBracket.foreground", { dark: new G(new _t(255, 18, 18, 0.8)), light: new G(new _t(255, 18, 18, 0.8)), hcDark: new G(new _t(255, 50, 50, 1)), hcLight: "" }, p("editorBracketHighlightUnexpectedBracketForeground", "Foreground color of unexpected brackets.")), pne = M("editorBracketPairGuide.background1", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, p("editorBracketPairGuide.background1", "Background color of inactive bracket pair guides (1). Requires enabling bracket pair guides.")), mne = M("editorBracketPairGuide.background2", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, p("editorBracketPairGuide.background2", "Background color of inactive bracket pair guides (2). Requires enabling bracket pair guides.")), _ne = M("editorBracketPairGuide.background3", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, p("editorBracketPairGuide.background3", "Background color of inactive bracket pair guides (3). Requires enabling bracket pair guides.")), Ene = M("editorBracketPairGuide.background4", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, p("editorBracketPairGuide.background4", "Background color of inactive bracket pair guides (4). Requires enabling bracket pair guides.")), Sne = M("editorBracketPairGuide.background5", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, p("editorBracketPairGuide.background5", "Background color of inactive bracket pair guides (5). Requires enabling bracket pair guides.")), Cne = M("editorBracketPairGuide.background6", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, p("editorBracketPairGuide.background6", "Background color of inactive bracket pair guides (6). Requires enabling bracket pair guides.")), vne = M("editorBracketPairGuide.activeBackground1", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, p("editorBracketPairGuide.activeBackground1", "Background color of active bracket pair guides (1). Requires enabling bracket pair guides.")), Tne = M("editorBracketPairGuide.activeBackground2", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, p("editorBracketPairGuide.activeBackground2", "Background color of active bracket pair guides (2). Requires enabling bracket pair guides.")), bne = M("editorBracketPairGuide.activeBackground3", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, p("editorBracketPairGuide.activeBackground3", "Background color of active bracket pair guides (3). Requires enabling bracket pair guides.")), Ine = M("editorBracketPairGuide.activeBackground4", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, p("editorBracketPairGuide.activeBackground4", "Background color of active bracket pair guides (4). Requires enabling bracket pair guides.")), Lne = M("editorBracketPairGuide.activeBackground5", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, p("editorBracketPairGuide.activeBackground5", "Background color of active bracket pair guides (5). Requires enabling bracket pair guides.")), Rne = M("editorBracketPairGuide.activeBackground6", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, p("editorBracketPairGuide.activeBackground6", "Background color of active bracket pair guides (6). Requires enabling bracket pair guides."));
|
|
24733
24733
|
M("editorUnicodeHighlight.border", { dark: gs, light: gs, hcDark: gs, hcLight: gs }, p("editorUnicodeHighlight.border", "Border color used to highlight unicode characters."));
|
|
24734
24734
|
M("editorUnicodeHighlight.background", { dark: cT, light: cT, hcDark: cT, hcLight: cT }, p("editorUnicodeHighlight.background", "Background color used to highlight unicode characters."));
|
|
24735
24735
|
Ir((o, e) => {
|
|
@@ -25587,7 +25587,7 @@ class Mf {
|
|
|
25587
25587
|
return n > r ? r : n;
|
|
25588
25588
|
}
|
|
25589
25589
|
}
|
|
25590
|
-
let
|
|
25590
|
+
let Ct = class n7 {
|
|
25591
25591
|
static fromModelState(e) {
|
|
25592
25592
|
return new Pne(e);
|
|
25593
25593
|
}
|
|
@@ -26456,7 +26456,7 @@ class An {
|
|
|
26456
26456
|
let s = 0;
|
|
26457
26457
|
for (let r = 0, a = t.length; r < a; r++) {
|
|
26458
26458
|
const l = t[r];
|
|
26459
|
-
n[s++] = new
|
|
26459
|
+
n[s++] = new Ct(l.modelState, l.viewState), i ? n[s++] = Ct.fromModelState(Ot.translateDown(e.cursorConfig, e.model, l.modelState)) : n[s++] = Ct.fromViewState(Ot.translateDown(e.cursorConfig, e, l.viewState));
|
|
26460
26460
|
}
|
|
26461
26461
|
return n;
|
|
26462
26462
|
}
|
|
@@ -26465,7 +26465,7 @@ class An {
|
|
|
26465
26465
|
let s = 0;
|
|
26466
26466
|
for (let r = 0, a = t.length; r < a; r++) {
|
|
26467
26467
|
const l = t[r];
|
|
26468
|
-
n[s++] = new
|
|
26468
|
+
n[s++] = new Ct(l.modelState, l.viewState), i ? n[s++] = Ct.fromModelState(Ot.translateUp(e.cursorConfig, e.model, l.modelState)) : n[s++] = Ct.fromViewState(Ot.translateUp(e.cursorConfig, e, l.viewState));
|
|
26469
26469
|
}
|
|
26470
26470
|
return n;
|
|
26471
26471
|
}
|
|
@@ -26482,10 +26482,10 @@ class An {
|
|
|
26482
26482
|
return !r && !(n === l) ? this._moveToLineStartByView(e, t, i) : this._moveToLineStartByModel(e, t, i);
|
|
26483
26483
|
}
|
|
26484
26484
|
static _moveToLineStartByView(e, t, i) {
|
|
26485
|
-
return
|
|
26485
|
+
return Ct.fromViewState(Ot.moveToBeginningOfLine(e.cursorConfig, e, t.viewState, i));
|
|
26486
26486
|
}
|
|
26487
26487
|
static _moveToLineStartByModel(e, t, i) {
|
|
26488
|
-
return
|
|
26488
|
+
return Ct.fromModelState(Ot.moveToBeginningOfLine(e.cursorConfig, e.model, t.modelState, i));
|
|
26489
26489
|
}
|
|
26490
26490
|
static moveToEndOfLine(e, t, i, n) {
|
|
26491
26491
|
const s = [];
|
|
@@ -26500,17 +26500,17 @@ class An {
|
|
|
26500
26500
|
return a || c ? this._moveToLineEndByModel(e, t, i, n) : this._moveToLineEndByView(e, t, i, n);
|
|
26501
26501
|
}
|
|
26502
26502
|
static _moveToLineEndByView(e, t, i, n) {
|
|
26503
|
-
return
|
|
26503
|
+
return Ct.fromViewState(Ot.moveToEndOfLine(e.cursorConfig, e, t.viewState, i, n));
|
|
26504
26504
|
}
|
|
26505
26505
|
static _moveToLineEndByModel(e, t, i, n) {
|
|
26506
|
-
return
|
|
26506
|
+
return Ct.fromModelState(Ot.moveToEndOfLine(e.cursorConfig, e.model, t.modelState, i, n));
|
|
26507
26507
|
}
|
|
26508
26508
|
static expandLineSelection(e, t) {
|
|
26509
26509
|
const i = [];
|
|
26510
26510
|
for (let n = 0, s = t.length; n < s; n++) {
|
|
26511
26511
|
const r = t[n], a = r.modelState.selection.startLineNumber, l = e.model.getLineCount();
|
|
26512
26512
|
let d = r.modelState.selection.endLineNumber, c;
|
|
26513
|
-
d === l ? c = e.model.getLineMaxColumn(l) : (d++, c = 1), i[n] =
|
|
26513
|
+
d === l ? c = e.model.getLineMaxColumn(l) : (d++, c = 1), i[n] = Ct.fromModelState(new Nn(new w(a, 1, a, 1), 0, 0, new W(d, c), 0));
|
|
26514
26514
|
}
|
|
26515
26515
|
return i;
|
|
26516
26516
|
}
|
|
@@ -26518,7 +26518,7 @@ class An {
|
|
|
26518
26518
|
const n = [];
|
|
26519
26519
|
for (let s = 0, r = t.length; s < r; s++) {
|
|
26520
26520
|
const a = t[s];
|
|
26521
|
-
n[s] =
|
|
26521
|
+
n[s] = Ct.fromModelState(Ot.moveToBeginningOfBuffer(e.cursorConfig, e.model, a.modelState, i));
|
|
26522
26522
|
}
|
|
26523
26523
|
return n;
|
|
26524
26524
|
}
|
|
@@ -26526,42 +26526,42 @@ class An {
|
|
|
26526
26526
|
const n = [];
|
|
26527
26527
|
for (let s = 0, r = t.length; s < r; s++) {
|
|
26528
26528
|
const a = t[s];
|
|
26529
|
-
n[s] =
|
|
26529
|
+
n[s] = Ct.fromModelState(Ot.moveToEndOfBuffer(e.cursorConfig, e.model, a.modelState, i));
|
|
26530
26530
|
}
|
|
26531
26531
|
return n;
|
|
26532
26532
|
}
|
|
26533
26533
|
static selectAll(e, t) {
|
|
26534
26534
|
const i = e.model.getLineCount(), n = e.model.getLineMaxColumn(i);
|
|
26535
|
-
return
|
|
26535
|
+
return Ct.fromModelState(new Nn(new w(1, 1, 1, 1), 0, 0, new W(i, n), 0));
|
|
26536
26536
|
}
|
|
26537
26537
|
static line(e, t, i, n, s) {
|
|
26538
26538
|
const r = e.model.validatePosition(n), a = s ? e.coordinatesConverter.validateViewPosition(new W(s.lineNumber, s.column), r) : e.coordinatesConverter.convertModelPositionToViewPosition(r);
|
|
26539
26539
|
if (!i) {
|
|
26540
26540
|
const d = e.model.getLineCount();
|
|
26541
26541
|
let c = r.lineNumber + 1, h = 1;
|
|
26542
|
-
return c > d && (c = d, h = e.model.getLineMaxColumn(c)),
|
|
26542
|
+
return c > d && (c = d, h = e.model.getLineMaxColumn(c)), Ct.fromModelState(new Nn(new w(r.lineNumber, 1, c, h), 2, 0, new W(c, h), 0));
|
|
26543
26543
|
}
|
|
26544
26544
|
const l = t.modelState.selectionStart.getStartPosition().lineNumber;
|
|
26545
26545
|
if (r.lineNumber < l)
|
|
26546
|
-
return
|
|
26546
|
+
return Ct.fromViewState(t.viewState.move(!0, a.lineNumber, 1, 0));
|
|
26547
26547
|
if (r.lineNumber > l) {
|
|
26548
26548
|
const d = e.getLineCount();
|
|
26549
26549
|
let c = a.lineNumber + 1, h = 1;
|
|
26550
|
-
return c > d && (c = d, h = e.getLineMaxColumn(c)),
|
|
26550
|
+
return c > d && (c = d, h = e.getLineMaxColumn(c)), Ct.fromViewState(t.viewState.move(!0, c, h, 0));
|
|
26551
26551
|
} else {
|
|
26552
26552
|
const d = t.modelState.selectionStart.getEndPosition();
|
|
26553
|
-
return
|
|
26553
|
+
return Ct.fromModelState(t.modelState.move(!0, d.lineNumber, d.column, 0));
|
|
26554
26554
|
}
|
|
26555
26555
|
}
|
|
26556
26556
|
static word(e, t, i, n) {
|
|
26557
26557
|
const s = e.model.validatePosition(n);
|
|
26558
|
-
return
|
|
26558
|
+
return Ct.fromModelState(Nt.word(e.cursorConfig, e.model, t.modelState, i, s));
|
|
26559
26559
|
}
|
|
26560
26560
|
static cancelSelection(e, t) {
|
|
26561
26561
|
if (!t.modelState.hasSelection())
|
|
26562
|
-
return new
|
|
26562
|
+
return new Ct(t.modelState, t.viewState);
|
|
26563
26563
|
const i = t.viewState.position.lineNumber, n = t.viewState.position.column;
|
|
26564
|
-
return
|
|
26564
|
+
return Ct.fromViewState(new Nn(new w(i, n, i, n), 0, 0, new W(i, n), 0));
|
|
26565
26565
|
}
|
|
26566
26566
|
static moveTo(e, t, i, n, s) {
|
|
26567
26567
|
if (i) {
|
|
@@ -26571,7 +26571,7 @@ class An {
|
|
|
26571
26571
|
return this.line(e, t, i, n, s);
|
|
26572
26572
|
}
|
|
26573
26573
|
const r = e.model.validatePosition(n), a = s ? e.coordinatesConverter.validateViewPosition(new W(s.lineNumber, s.column), r) : e.coordinatesConverter.convertModelPositionToViewPosition(r);
|
|
26574
|
-
return
|
|
26574
|
+
return Ct.fromViewState(t.viewState.move(i, a.lineNumber, a.column, 0));
|
|
26575
26575
|
}
|
|
26576
26576
|
static simpleMove(e, t, i, n, s, r) {
|
|
26577
26577
|
switch (i) {
|
|
@@ -26584,9 +26584,9 @@ class An {
|
|
|
26584
26584
|
case 3:
|
|
26585
26585
|
return r === 2 ? this._moveDownByViewLines(e, t, n, s) : this._moveDownByModelLines(e, t, n, s);
|
|
26586
26586
|
case 4:
|
|
26587
|
-
return r === 2 ? t.map((a) =>
|
|
26587
|
+
return r === 2 ? t.map((a) => Ct.fromViewState(Ot.moveToPrevBlankLine(e.cursorConfig, e, a.viewState, n))) : t.map((a) => Ct.fromModelState(Ot.moveToPrevBlankLine(e.cursorConfig, e.model, a.modelState, n)));
|
|
26588
26588
|
case 5:
|
|
26589
|
-
return r === 2 ? t.map((a) =>
|
|
26589
|
+
return r === 2 ? t.map((a) => Ct.fromViewState(Ot.moveToNextBlankLine(e.cursorConfig, e, a.viewState, n))) : t.map((a) => Ct.fromModelState(Ot.moveToNextBlankLine(e.cursorConfig, e.model, a.modelState, n)));
|
|
26590
26590
|
case 6:
|
|
26591
26591
|
return this._moveToViewMinColumn(e, t, n);
|
|
26592
26592
|
case 7:
|
|
@@ -26631,12 +26631,12 @@ class An {
|
|
|
26631
26631
|
static findPositionInViewportIfOutside(e, t, i, n) {
|
|
26632
26632
|
const s = t.viewState.position.lineNumber;
|
|
26633
26633
|
if (i.startLineNumber <= s && s <= i.endLineNumber - 1)
|
|
26634
|
-
return new
|
|
26634
|
+
return new Ct(t.modelState, t.viewState);
|
|
26635
26635
|
{
|
|
26636
26636
|
let r;
|
|
26637
26637
|
s > i.endLineNumber - 1 ? r = i.endLineNumber - 1 : s < i.startLineNumber ? r = i.startLineNumber : r = s;
|
|
26638
26638
|
const a = Ot.vertical(e.cursorConfig, e, s, t.viewState.position.column, t.viewState.leftoverVisibleColumns, r, !1);
|
|
26639
|
-
return
|
|
26639
|
+
return Ct.fromViewState(t.viewState.move(n, a.lineNumber, a.column, a.leftoverVisibleColumns));
|
|
26640
26640
|
}
|
|
26641
26641
|
}
|
|
26642
26642
|
/**
|
|
@@ -26654,24 +26654,24 @@ class An {
|
|
|
26654
26654
|
return t.startColumn !== e.getLineMinColumn(n) && n++, Math.max(n, t.endLineNumber - i + 1);
|
|
26655
26655
|
}
|
|
26656
26656
|
static _moveLeft(e, t, i, n) {
|
|
26657
|
-
return t.map((s) =>
|
|
26657
|
+
return t.map((s) => Ct.fromViewState(Ot.moveLeft(e.cursorConfig, e, s.viewState, i, n)));
|
|
26658
26658
|
}
|
|
26659
26659
|
static _moveHalfLineLeft(e, t, i) {
|
|
26660
26660
|
const n = [];
|
|
26661
26661
|
for (let s = 0, r = t.length; s < r; s++) {
|
|
26662
26662
|
const a = t[s], l = a.viewState.position.lineNumber, d = Math.round(e.getLineLength(l) / 2);
|
|
26663
|
-
n[s] =
|
|
26663
|
+
n[s] = Ct.fromViewState(Ot.moveLeft(e.cursorConfig, e, a.viewState, i, d));
|
|
26664
26664
|
}
|
|
26665
26665
|
return n;
|
|
26666
26666
|
}
|
|
26667
26667
|
static _moveRight(e, t, i, n) {
|
|
26668
|
-
return t.map((s) =>
|
|
26668
|
+
return t.map((s) => Ct.fromViewState(Ot.moveRight(e.cursorConfig, e, s.viewState, i, n)));
|
|
26669
26669
|
}
|
|
26670
26670
|
static _moveHalfLineRight(e, t, i) {
|
|
26671
26671
|
const n = [];
|
|
26672
26672
|
for (let s = 0, r = t.length; s < r; s++) {
|
|
26673
26673
|
const a = t[s], l = a.viewState.position.lineNumber, d = Math.round(e.getLineLength(l) / 2);
|
|
26674
|
-
n[s] =
|
|
26674
|
+
n[s] = Ct.fromViewState(Ot.moveRight(e.cursorConfig, e, a.viewState, i, d));
|
|
26675
26675
|
}
|
|
26676
26676
|
return n;
|
|
26677
26677
|
}
|
|
@@ -26679,7 +26679,7 @@ class An {
|
|
|
26679
26679
|
const s = [];
|
|
26680
26680
|
for (let r = 0, a = t.length; r < a; r++) {
|
|
26681
26681
|
const l = t[r];
|
|
26682
|
-
s[r] =
|
|
26682
|
+
s[r] = Ct.fromViewState(Ot.moveDown(e.cursorConfig, e, l.viewState, i, n));
|
|
26683
26683
|
}
|
|
26684
26684
|
return s;
|
|
26685
26685
|
}
|
|
@@ -26687,7 +26687,7 @@ class An {
|
|
|
26687
26687
|
const s = [];
|
|
26688
26688
|
for (let r = 0, a = t.length; r < a; r++) {
|
|
26689
26689
|
const l = t[r];
|
|
26690
|
-
s[r] =
|
|
26690
|
+
s[r] = Ct.fromModelState(Ot.moveDown(e.cursorConfig, e.model, l.modelState, i, n));
|
|
26691
26691
|
}
|
|
26692
26692
|
return s;
|
|
26693
26693
|
}
|
|
@@ -26695,7 +26695,7 @@ class An {
|
|
|
26695
26695
|
const s = [];
|
|
26696
26696
|
for (let r = 0, a = t.length; r < a; r++) {
|
|
26697
26697
|
const l = t[r];
|
|
26698
|
-
s[r] =
|
|
26698
|
+
s[r] = Ct.fromViewState(Ot.moveUp(e.cursorConfig, e, l.viewState, i, n));
|
|
26699
26699
|
}
|
|
26700
26700
|
return s;
|
|
26701
26701
|
}
|
|
@@ -26703,15 +26703,15 @@ class An {
|
|
|
26703
26703
|
const s = [];
|
|
26704
26704
|
for (let r = 0, a = t.length; r < a; r++) {
|
|
26705
26705
|
const l = t[r];
|
|
26706
|
-
s[r] =
|
|
26706
|
+
s[r] = Ct.fromModelState(Ot.moveUp(e.cursorConfig, e.model, l.modelState, i, n));
|
|
26707
26707
|
}
|
|
26708
26708
|
return s;
|
|
26709
26709
|
}
|
|
26710
26710
|
static _moveToViewPosition(e, t, i, n, s) {
|
|
26711
|
-
return
|
|
26711
|
+
return Ct.fromViewState(t.viewState.move(i, n, s, 0));
|
|
26712
26712
|
}
|
|
26713
26713
|
static _moveToModelPosition(e, t, i, n, s) {
|
|
26714
|
-
return
|
|
26714
|
+
return Ct.fromModelState(t.modelState.move(i, n, s, 0));
|
|
26715
26715
|
}
|
|
26716
26716
|
static _moveToViewMinColumn(e, t, i) {
|
|
26717
26717
|
const n = [];
|
|
@@ -28162,13 +28162,13 @@ var Cp;
|
|
|
28162
28162
|
class WD {
|
|
28163
28163
|
constructor(e) {
|
|
28164
28164
|
e.addImplementation(1e4, "code-editor", (t, i) => {
|
|
28165
|
-
const n = t.get(
|
|
28165
|
+
const n = t.get(Tt).getFocusedCodeEditor();
|
|
28166
28166
|
return n && n.hasTextFocus() ? this._runEditorCommand(t, n, i) : !1;
|
|
28167
28167
|
}), e.addImplementation(1e3, "generic-dom-input-textarea", (t, i) => {
|
|
28168
28168
|
const n = Vn();
|
|
28169
28169
|
return n && ["input", "textarea"].indexOf(n.tagName.toLowerCase()) >= 0 ? (this.runDOMCommand(n), !0) : !1;
|
|
28170
28170
|
}), e.addImplementation(0, "generic-dom", (t, i) => {
|
|
28171
|
-
const n = t.get(
|
|
28171
|
+
const n = t.get(Tt).getActiveCodeEditor();
|
|
28172
28172
|
return n ? (n.focus(), this._runEditorCommand(t, n, i)) : !1;
|
|
28173
28173
|
});
|
|
28174
28174
|
}
|
|
@@ -28204,7 +28204,7 @@ var _n;
|
|
|
28204
28204
|
runCoreEditorCommand(S, C) {
|
|
28205
28205
|
S.model.pushStackElement();
|
|
28206
28206
|
const v = this._getColumnSelectResult(S, S.getPrimaryCursorState(), S.getCursorColumnSelectData(), C);
|
|
28207
|
-
v !== null && (S.setCursorStates(C.source, 3, v.viewStates.map((T) =>
|
|
28207
|
+
v !== null && (S.setCursorStates(C.source, 3, v.viewStates.map((T) => Ct.fromViewState(T))), S.setCursorColumnSelectData({
|
|
28208
28208
|
isReal: !0,
|
|
28209
28209
|
fromViewLineNumber: v.fromLineNumber,
|
|
28210
28210
|
fromViewVisualColumn: v.fromVisualColumn,
|
|
@@ -28675,7 +28675,7 @@ var _n;
|
|
|
28675
28675
|
const C = [];
|
|
28676
28676
|
for (let v = 0, T = S.length; v < T; v++) {
|
|
28677
28677
|
const b = S[v], I = b.modelState.position.lineNumber;
|
|
28678
|
-
C[v] =
|
|
28678
|
+
C[v] = Ct.fromModelState(b.modelState.move(this._inSelectionMode, I, 1, 0));
|
|
28679
28679
|
}
|
|
28680
28680
|
return C;
|
|
28681
28681
|
}
|
|
@@ -28787,7 +28787,7 @@ var _n;
|
|
|
28787
28787
|
const v = [];
|
|
28788
28788
|
for (let T = 0, b = C.length; T < b; T++) {
|
|
28789
28789
|
const I = C[T], A = I.modelState.position.lineNumber, y = S.model.getLineMaxColumn(A);
|
|
28790
|
-
v[T] =
|
|
28790
|
+
v[T] = Ct.fromModelState(I.modelState.move(this._inSelectionMode, A, y, 0));
|
|
28791
28791
|
}
|
|
28792
28792
|
return v;
|
|
28793
28793
|
}
|
|
@@ -29343,7 +29343,7 @@ var _n;
|
|
|
29343
29343
|
}
|
|
29344
29344
|
runCoreEditorCommand(E, S) {
|
|
29345
29345
|
S.selection && (E.model.pushStackElement(), E.setCursorStates(S.source, 3, [
|
|
29346
|
-
|
|
29346
|
+
Ct.fromModelSelection(S.selection)
|
|
29347
29347
|
]));
|
|
29348
29348
|
}
|
|
29349
29349
|
}());
|
|
@@ -29541,7 +29541,7 @@ class r4 extends QL {
|
|
|
29541
29541
|
}), this._handlerId = t;
|
|
29542
29542
|
}
|
|
29543
29543
|
runCommand(e, t) {
|
|
29544
|
-
const i = e.get(
|
|
29544
|
+
const i = e.get(Tt).getFocusedCodeEditor();
|
|
29545
29545
|
i && i.trigger("keyboard", this._handlerId, t);
|
|
29546
29546
|
}
|
|
29547
29547
|
}
|
|
@@ -42244,7 +42244,7 @@ class oI {
|
|
|
42244
42244
|
);
|
|
42245
42245
|
}
|
|
42246
42246
|
asCursorState() {
|
|
42247
|
-
return new
|
|
42247
|
+
return new Ct(this.modelState, this.viewState);
|
|
42248
42248
|
}
|
|
42249
42249
|
readSelectionFromMarkers(e) {
|
|
42250
42250
|
const t = e.model._getTrackedRange(this._selTrackedRange);
|
|
@@ -42336,7 +42336,7 @@ class V4 {
|
|
|
42336
42336
|
return this.cursors.map((e) => e.viewState.selection);
|
|
42337
42337
|
}
|
|
42338
42338
|
setSelections(e) {
|
|
42339
|
-
this.setStates(
|
|
42339
|
+
this.setStates(Ct.fromModelSelections(e));
|
|
42340
42340
|
}
|
|
42341
42341
|
getPrimaryCursor() {
|
|
42342
42342
|
return this.cursors[0].asCursorState();
|
|
@@ -42396,7 +42396,7 @@ class V4 {
|
|
|
42396
42396
|
h === this.lastAddedCursorIndex ? (S = _, this.lastAddedCursorIndex = u) : S = E;
|
|
42397
42397
|
let C;
|
|
42398
42398
|
S ? C = new ve(m.startLineNumber, m.startColumn, m.endLineNumber, m.endColumn) : C = new ve(m.endLineNumber, m.endColumn, m.startLineNumber, m.startColumn), t[d].selection = C;
|
|
42399
|
-
const v =
|
|
42399
|
+
const v = Ct.fromModelSelection(C);
|
|
42400
42400
|
e[u].setState(this.context, v.modelState, v.viewState);
|
|
42401
42401
|
}
|
|
42402
42402
|
for (const m of t)
|
|
@@ -42834,7 +42834,7 @@ class qre extends U {
|
|
|
42834
42834
|
positionColumn: l
|
|
42835
42835
|
});
|
|
42836
42836
|
}
|
|
42837
|
-
this.setStates(e, "restoreState", 0,
|
|
42837
|
+
this.setStates(e, "restoreState", 0, Ct.fromModelSelections(i)), this.revealAll(
|
|
42838
42838
|
e,
|
|
42839
42839
|
"restoreState",
|
|
42840
42840
|
!1,
|
|
@@ -42865,7 +42865,7 @@ class qre extends U {
|
|
|
42865
42865
|
if (this._prevEditOperationType = 0, n)
|
|
42866
42866
|
this._cursors.dispose(), this._cursors = new V4(this.context), this._validateAutoClosedActions(), this._emitStateChangedIfNecessary(e, "model", 1, null, !1);
|
|
42867
42867
|
else if (this._hasFocus && i.resultingSelection && i.resultingSelection.length > 0) {
|
|
42868
|
-
const s =
|
|
42868
|
+
const s = Ct.fromModelSelections(i.resultingSelection);
|
|
42869
42869
|
this.setStates(e, "modelChange", i.isUndoing ? 5 : i.isRedoing ? 6 : 2, s) && this.revealAll(
|
|
42870
42870
|
e,
|
|
42871
42871
|
"modelChange",
|
|
@@ -42877,7 +42877,7 @@ class qre extends U {
|
|
|
42877
42877
|
);
|
|
42878
42878
|
} else {
|
|
42879
42879
|
const s = this._cursors.readSelectionFromMarkers();
|
|
42880
|
-
this.setStates(e, "modelChange", 2,
|
|
42880
|
+
this.setStates(e, "modelChange", 2, Ct.fromModelSelections(s));
|
|
42881
42881
|
}
|
|
42882
42882
|
}
|
|
42883
42883
|
}
|
|
@@ -42906,7 +42906,7 @@ class qre extends U {
|
|
|
42906
42906
|
return this._cursors.getSelections();
|
|
42907
42907
|
}
|
|
42908
42908
|
setSelections(e, t, i, n) {
|
|
42909
|
-
this.setStates(e, t, n,
|
|
42909
|
+
this.setStates(e, t, n, Ct.fromModelSelections(i));
|
|
42910
42910
|
}
|
|
42911
42911
|
getPrevEditOperationType() {
|
|
42912
42912
|
return this._prevEditOperationType;
|
|
@@ -46918,7 +46918,7 @@ bm.dropIntoEditorDecorationOptions = Ye.register({
|
|
|
46918
46918
|
});
|
|
46919
46919
|
bm = Gu = Eae([
|
|
46920
46920
|
ud(3, Ae),
|
|
46921
|
-
ud(4,
|
|
46921
|
+
ud(4, Tt),
|
|
46922
46922
|
ud(5, ni),
|
|
46923
46923
|
ud(6, Me),
|
|
46924
46924
|
ud(7, an),
|
|
@@ -47244,7 +47244,7 @@ dI = Oae([
|
|
|
47244
47244
|
Q4(1, an)
|
|
47245
47245
|
], dI);
|
|
47246
47246
|
pt(
|
|
47247
|
-
|
|
47247
|
+
Tt,
|
|
47248
47248
|
dI,
|
|
47249
47249
|
0
|
|
47250
47250
|
/* InstantiationType.Eager */
|
|
@@ -47293,7 +47293,7 @@ let cI = class {
|
|
|
47293
47293
|
}
|
|
47294
47294
|
};
|
|
47295
47295
|
cI = U7([
|
|
47296
|
-
V7(0,
|
|
47296
|
+
V7(0, Tt)
|
|
47297
47297
|
], cI);
|
|
47298
47298
|
let rO = class extends cI {
|
|
47299
47299
|
get mainContainer() {
|
|
@@ -47304,7 +47304,7 @@ let rO = class extends cI {
|
|
|
47304
47304
|
}
|
|
47305
47305
|
};
|
|
47306
47306
|
rO = U7([
|
|
47307
|
-
V7(1,
|
|
47307
|
+
V7(1, Tt)
|
|
47308
47308
|
], rO);
|
|
47309
47309
|
pt(
|
|
47310
47310
|
uu,
|
|
@@ -56045,7 +56045,7 @@ class yR {
|
|
|
56045
56045
|
this.updatingObservers = null, (e = Vl()) === null || e === void 0 || e.handleEndTransaction();
|
|
56046
56046
|
}
|
|
56047
56047
|
}
|
|
56048
|
-
function
|
|
56048
|
+
function mt(o, e) {
|
|
56049
56049
|
let t;
|
|
56050
56050
|
return typeof o == "string" ? t = new io(void 0, o, void 0) : t = new io(o, void 0, void 0), new C2(t, e, za);
|
|
56051
56051
|
}
|
|
@@ -58067,7 +58067,7 @@ class ym extends Sa {
|
|
|
58067
58067
|
super(e, t, i), this.options = i, this.options.icon = i.icon !== void 0 ? i.icon : !1, this.options.label = i.label !== void 0 ? i.label : !0, this.cssClass = "";
|
|
58068
58068
|
}
|
|
58069
58069
|
render(e) {
|
|
58070
|
-
super.render(e),
|
|
58070
|
+
super.render(e), vt(this.element);
|
|
58071
58071
|
const t = document.createElement("a");
|
|
58072
58072
|
if (t.classList.add("action-label"), t.setAttribute("role", this.getDefaultAriaRole()), this.label = t, this.element.appendChild(t), this.options.label && this.options.keybinding) {
|
|
58073
58073
|
const i = document.createElement("span");
|
|
@@ -58763,7 +58763,7 @@ let MO = class extends vI {
|
|
|
58763
58763
|
super(e, { getActions: () => e.actions }, n, d), this._keybindingService = i, this._contextMenuService = n, this._themeService = s;
|
|
58764
58764
|
}
|
|
58765
58765
|
render(e) {
|
|
58766
|
-
super.render(e),
|
|
58766
|
+
super.render(e), vt(this.element), e.classList.add("menu-entry");
|
|
58767
58767
|
const t = this._action, { icon: i } = t.item;
|
|
58768
58768
|
if (i && !xe.isThemeIcon(i)) {
|
|
58769
58769
|
this.element.classList.add("icon");
|
|
@@ -60050,7 +60050,7 @@ let VO = class {
|
|
|
60050
60050
|
}
|
|
60051
60051
|
};
|
|
60052
60052
|
VO = v2([
|
|
60053
|
-
RI(0,
|
|
60053
|
+
RI(0, Tt)
|
|
60054
60054
|
], VO);
|
|
60055
60055
|
let GO = class {
|
|
60056
60056
|
constructor(e, t) {
|
|
@@ -60109,7 +60109,7 @@ let GO = class {
|
|
|
60109
60109
|
}
|
|
60110
60110
|
};
|
|
60111
60111
|
GO = v2([
|
|
60112
|
-
RI(0,
|
|
60112
|
+
RI(0, Tt),
|
|
60113
60113
|
RI(1, ni)
|
|
60114
60114
|
], GO);
|
|
60115
60115
|
const Ar = dt("editorWorkerService");
|
|
@@ -68037,7 +68037,7 @@ ox = mG([
|
|
|
68037
68037
|
ig(1, Ae),
|
|
68038
68038
|
ig(2, Me),
|
|
68039
68039
|
ig(3, an),
|
|
68040
|
-
ig(4,
|
|
68040
|
+
ig(4, Tt),
|
|
68041
68041
|
ig(5, nt)
|
|
68042
68042
|
], ox);
|
|
68043
68043
|
let rx = class {
|
|
@@ -68075,7 +68075,7 @@ let rx = class {
|
|
|
68075
68075
|
};
|
|
68076
68076
|
rx = mG([
|
|
68077
68077
|
ig(0, Ae),
|
|
68078
|
-
ig(1,
|
|
68078
|
+
ig(1, Tt)
|
|
68079
68079
|
], rx);
|
|
68080
68080
|
class xm {
|
|
68081
68081
|
static get(e) {
|
|
@@ -68110,7 +68110,7 @@ class qR {
|
|
|
68110
68110
|
}
|
|
68111
68111
|
}
|
|
68112
68112
|
qR.ID = "editor.contrib.quickInputWidget";
|
|
68113
|
-
|
|
68113
|
+
bt(
|
|
68114
68114
|
xm.ID,
|
|
68115
68115
|
xm,
|
|
68116
68116
|
4
|
|
@@ -70611,7 +70611,7 @@ Pm = Rc([
|
|
|
70611
70611
|
vn(2, $n),
|
|
70612
70612
|
vn(3, Wi),
|
|
70613
70613
|
vn(4, ts),
|
|
70614
|
-
vn(5,
|
|
70614
|
+
vn(5, Tt)
|
|
70615
70615
|
], Pm);
|
|
70616
70616
|
class rfe extends U {
|
|
70617
70617
|
constructor(e, t) {
|
|
@@ -70772,7 +70772,7 @@ let Sx = class extends vde {
|
|
|
70772
70772
|
};
|
|
70773
70773
|
Sx = Rc([
|
|
70774
70774
|
vn(0, uu),
|
|
70775
|
-
vn(1,
|
|
70775
|
+
vn(1, Tt)
|
|
70776
70776
|
], Sx);
|
|
70777
70777
|
class dfe {
|
|
70778
70778
|
constructor() {
|
|
@@ -71194,7 +71194,7 @@ class NG extends U {
|
|
|
71194
71194
|
return this._automaticLayout;
|
|
71195
71195
|
}
|
|
71196
71196
|
constructor(e, t) {
|
|
71197
|
-
super(), this._automaticLayout = !1, this.elementSizeObserver = this._register(new R9(e, t)), this._width =
|
|
71197
|
+
super(), this._automaticLayout = !1, this.elementSizeObserver = this._register(new R9(e, t)), this._width = mt(this, this.elementSizeObserver.getWidth()), this._height = mt(this, this.elementSizeObserver.getHeight()), this._register(this.elementSizeObserver.onDidChange((i) => $t((n) => {
|
|
71198
71198
|
this._width.set(this.elementSizeObserver.getWidth(), n), this._height.set(this.elementSizeObserver.getHeight(), n);
|
|
71199
71199
|
})));
|
|
71200
71200
|
}
|
|
@@ -71207,7 +71207,7 @@ class NG extends U {
|
|
|
71207
71207
|
}
|
|
71208
71208
|
function EU(o, e, t) {
|
|
71209
71209
|
let i = e.get(), n = i, s = i;
|
|
71210
|
-
const r =
|
|
71210
|
+
const r = mt("animatedValue", i);
|
|
71211
71211
|
let a = -1;
|
|
71212
71212
|
const l = 300;
|
|
71213
71213
|
let d;
|
|
@@ -71239,7 +71239,7 @@ class qI {
|
|
|
71239
71239
|
return this._afterLineNumber.get();
|
|
71240
71240
|
}
|
|
71241
71241
|
constructor(e, t) {
|
|
71242
|
-
this._afterLineNumber = e, this.heightInPx = t, this.domNode = document.createElement("div"), this._actualTop =
|
|
71242
|
+
this._afterLineNumber = e, this.heightInPx = t, this.domNode = document.createElement("div"), this._actualTop = mt(this, void 0), this._actualHeight = mt(this, void 0), this.actualTop = this._actualTop, this.actualHeight = this._actualHeight, this.showInHiddenAreas = !0, this.onChange = this._afterLineNumber, this.onDomNodeTop = (i) => {
|
|
71243
71243
|
this._actualTop.set(i, void 0);
|
|
71244
71244
|
}, this.onComputedHeight = (i) => {
|
|
71245
71245
|
this._actualHeight.set(i, void 0);
|
|
@@ -71392,7 +71392,7 @@ hh = $2([
|
|
|
71392
71392
|
], hh);
|
|
71393
71393
|
let vx = class extends U {
|
|
71394
71394
|
constructor(e, t, i, n, s) {
|
|
71395
|
-
super(), this._diffs = e, this._models = t, this._setVisible = i, this.canClose = n, this._accessibilitySignalService = s, this._groups =
|
|
71395
|
+
super(), this._diffs = e, this._models = t, this._setVisible = i, this.canClose = n, this._accessibilitySignalService = s, this._groups = mt(this, []), this._currentGroupIdx = mt(this, 0), this._currentElementIdx = mt(this, 0), this.groups = this._groups, this.currentGroup = this._currentGroupIdx.map((r, a) => this._groups.read(a)[r]), this.currentGroupIndex = this._currentGroupIdx, this.currentElement = this._currentElementIdx.map((r, a) => {
|
|
71396
71396
|
var l;
|
|
71397
71397
|
return (l = this.currentGroup.read(a)) === null || l === void 0 ? void 0 : l.lines[r];
|
|
71398
71398
|
}), this._register(it((r) => {
|
|
@@ -71740,7 +71740,7 @@ class yfe {
|
|
|
71740
71740
|
}
|
|
71741
71741
|
class Rh extends U {
|
|
71742
71742
|
constructor(e, t, i, n, s) {
|
|
71743
|
-
super(), this._rootElement = e, this._diffModel = t, this._originalEditorLayoutInfo = i, this._modifiedEditorLayoutInfo = n, this._editors = s, this._originalScrollTop = kt(this._editors.original.onDidScrollChange, () => this._editors.original.getScrollTop()), this._modifiedScrollTop = kt(this._editors.modified.onDidScrollChange, () => this._editors.modified.getScrollTop()), this._viewZonesChanged = Zn("onDidChangeViewZones", this._editors.modified.onDidChangeViewZones), this.width =
|
|
71743
|
+
super(), this._rootElement = e, this._diffModel = t, this._originalEditorLayoutInfo = i, this._modifiedEditorLayoutInfo = n, this._editors = s, this._originalScrollTop = kt(this._editors.original.onDidScrollChange, () => this._editors.original.getScrollTop()), this._modifiedScrollTop = kt(this._editors.modified.onDidScrollChange, () => this._editors.modified.getScrollTop()), this._viewZonesChanged = Zn("onDidChangeViewZones", this._editors.modified.onDidChangeViewZones), this.width = mt(this, 0), this._modifiedViewZonesChangedSignal = Zn("modified.onDidChangeViewZones", this._editors.modified.onDidChangeViewZones), this._originalViewZonesChangedSignal = Zn("original.onDidChangeViewZones", this._editors.original.onDidChangeViewZones), this._state = mf(this, (c, h) => {
|
|
71744
71744
|
var u;
|
|
71745
71745
|
this._element.replaceChildren();
|
|
71746
71746
|
const g = this._diffModel.read(c), f = (u = g == null ? void 0 : g.diff.read(c)) === null || u === void 0 ? void 0 : u.movedTexts;
|
|
@@ -71976,7 +71976,7 @@ class Ffe {
|
|
|
71976
71976
|
}, (i, n) => {
|
|
71977
71977
|
const s = this.dimensions.width.get();
|
|
71978
71978
|
this._sashRatio.set(i / s, n);
|
|
71979
|
-
}), this._sashRatio =
|
|
71979
|
+
}), this._sashRatio = mt(this, void 0);
|
|
71980
71980
|
}
|
|
71981
71981
|
/** @pure */
|
|
71982
71982
|
_computeSashLeft(e, t) {
|
|
@@ -72114,14 +72114,14 @@ let Rx = class extends U {
|
|
|
72114
72114
|
this._activeMovedText.set(e, void 0);
|
|
72115
72115
|
}
|
|
72116
72116
|
constructor(e, t, i) {
|
|
72117
|
-
super(), this.model = e, this._options = t, this._diffProviderFactoryService = i, this._isDiffUpToDate =
|
|
72117
|
+
super(), this.model = e, this._options = t, this._diffProviderFactoryService = i, this._isDiffUpToDate = mt(this, !1), this.isDiffUpToDate = this._isDiffUpToDate, this._diff = mt(this, void 0), this.diff = this._diff, this._unchangedRegions = mt(this, void 0), this.unchangedRegions = ze(this, (a) => {
|
|
72118
72118
|
var l, d;
|
|
72119
72119
|
return this._options.hideUnchangedRegions.read(a) ? (d = (l = this._unchangedRegions.read(a)) === null || l === void 0 ? void 0 : l.regions) !== null && d !== void 0 ? d : [] : ($t((c) => {
|
|
72120
72120
|
var h;
|
|
72121
72121
|
for (const u of ((h = this._unchangedRegions.get()) === null || h === void 0 ? void 0 : h.regions) || [])
|
|
72122
72122
|
u.collapseAll(c);
|
|
72123
72123
|
}), []);
|
|
72124
|
-
}), this.movedTextToCompare =
|
|
72124
|
+
}), this.movedTextToCompare = mt(this, void 0), this._activeMovedText = mt(this, void 0), this._hoveredMovedText = mt(this, void 0), this.activeMovedText = ze(this, (a) => {
|
|
72125
72125
|
var l, d;
|
|
72126
72126
|
return (d = (l = this.movedTextToCompare.read(a)) !== null && l !== void 0 ? l : this._hoveredMovedText.read(a)) !== null && d !== void 0 ? d : this._activeMovedText.read(a);
|
|
72127
72127
|
}), this._cancellationTokenSource = new mi(), this._diffProvider = ze(this, (a) => {
|
|
@@ -72324,10 +72324,10 @@ class uh {
|
|
|
72324
72324
|
return Xe.ofLength(this.modifiedLineNumber, this.lineCount);
|
|
72325
72325
|
}
|
|
72326
72326
|
constructor(e, t, i, n, s) {
|
|
72327
|
-
this.originalLineNumber = e, this.modifiedLineNumber = t, this.lineCount = i, this._visibleLineCountTop =
|
|
72327
|
+
this.originalLineNumber = e, this.modifiedLineNumber = t, this.lineCount = i, this._visibleLineCountTop = mt(this, 0), this.visibleLineCountTop = this._visibleLineCountTop, this._visibleLineCountBottom = mt(this, 0), this.visibleLineCountBottom = this._visibleLineCountBottom, this._shouldHideControls = ze(this, (l) => (
|
|
72328
72328
|
/** @description isVisible */
|
|
72329
72329
|
this.visibleLineCountTop.read(l) + this.visibleLineCountBottom.read(l) === this.lineCount && !this.isDragged.read(l)
|
|
72330
|
-
)), this.isDragged =
|
|
72330
|
+
)), this.isDragged = mt(this, void 0);
|
|
72331
72331
|
const r = Math.max(Math.min(n, this.lineCount), 0), a = Math.max(Math.min(s, this.lineCount - n), 0);
|
|
72332
72332
|
VB(n === r), VB(s === a), this._visibleLineCountTop.set(r, void 0), this._visibleLineCountBottom.set(a, void 0);
|
|
72333
72333
|
}
|
|
@@ -72566,8 +72566,8 @@ var $fe = function(o, e, t, i) {
|
|
|
72566
72566
|
};
|
|
72567
72567
|
let Ax = class extends U {
|
|
72568
72568
|
constructor(e, t, i, n, s, r, a, l, d, c) {
|
|
72569
|
-
super(), this._targetWindow = e, this._editors = t, this._diffModel = i, this._options = n, this._diffEditorWidget = s, this._canIgnoreViewZoneUpdateEvent = r, this._origViewZonesToIgnore = a, this._modViewZonesToIgnore = l, this._clipboardService = d, this._contextMenuService = c, this._originalTopPadding =
|
|
72570
|
-
const h =
|
|
72569
|
+
super(), this._targetWindow = e, this._editors = t, this._diffModel = i, this._options = n, this._diffEditorWidget = s, this._canIgnoreViewZoneUpdateEvent = r, this._origViewZonesToIgnore = a, this._modViewZonesToIgnore = l, this._clipboardService = d, this._contextMenuService = c, this._originalTopPadding = mt(this, 0), this._originalScrollOffset = mt(this, 0), this._originalScrollOffsetAnimated = EU(this._targetWindow, this._originalScrollOffset, this._store), this._modifiedTopPadding = mt(this, 0), this._modifiedScrollOffset = mt(this, 0), this._modifiedScrollOffsetAnimated = EU(this._targetWindow, this._modifiedScrollOffset, this._store);
|
|
72570
|
+
const h = mt("invalidateAlignmentsState", 0), u = this._register(new Wt(() => {
|
|
72571
72571
|
h.set(h.get() + 1, void 0);
|
|
72572
72572
|
}, 0));
|
|
72573
72573
|
this._register(this._editors.original.onDidChangeViewZones((C) => {
|
|
@@ -72935,7 +72935,7 @@ class Kfe extends U {
|
|
|
72935
72935
|
else {
|
|
72936
72936
|
const m = document.createElement("div");
|
|
72937
72937
|
this._domNode.appendChild(m);
|
|
72938
|
-
const _ =
|
|
72938
|
+
const _ = mt("item", c), E = this.itemProvider.createView(_, m);
|
|
72939
72939
|
h = new Yfe(_, E, m), this.views.set(c.id, h);
|
|
72940
72940
|
}
|
|
72941
72941
|
const u = c.range.startLineNumber <= this._editor.getModel().getLineCount() ? this._editor.getTopForLineNumber(c.range.startLineNumber, !0) - t : this._editor.getBottomForLineNumber(c.range.startLineNumber - 1, !1) - t, f = (c.range.isEmpty ? u : this._editor.getBottomForLineNumber(c.range.endLineNumberExclusive - 1, !0) - t) - u;
|
|
@@ -73300,7 +73300,7 @@ let Nx = class extends U {
|
|
|
73300
73300
|
super(), this._item = e, this._elements = Lt("div.gutterItem", { style: { height: "20px", width: "34px" } }, [
|
|
73301
73301
|
Lt("div.background@background", {}, []),
|
|
73302
73302
|
Lt("div.buttons@buttons", {}, [])
|
|
73303
|
-
]), this._showAlways = this._item.map(this, (r) => r.showAlways), this._menuId = this._item.map(this, (r) => r.menuId), this._isSmall =
|
|
73303
|
+
]), this._showAlways = this._item.map(this, (r) => r.showAlways), this._menuId = this._item.map(this, (r) => r.menuId), this._isSmall = mt(this, !1), this._lastItemRange = void 0, this._lastViewRange = void 0;
|
|
73304
73304
|
const s = this._register(n.createInstance(Im, "element", !0, { position: {
|
|
73305
73305
|
hoverPosition: 1
|
|
73306
73306
|
/* HoverPosition.RIGHT */
|
|
@@ -73483,7 +73483,7 @@ let EC = yx = class extends U {
|
|
|
73483
73483
|
}));
|
|
73484
73484
|
}
|
|
73485
73485
|
};
|
|
73486
|
-
EC._breadcrumbsSourceFactory =
|
|
73486
|
+
EC._breadcrumbsSourceFactory = mt("breadcrumbsSourceFactory", void 0);
|
|
73487
73487
|
EC = yx = jfe([
|
|
73488
73488
|
Xfe(3, Ae)
|
|
73489
73489
|
], EC);
|
|
@@ -73965,9 +73965,9 @@ let Ox = class {
|
|
|
73965
73965
|
return this._options;
|
|
73966
73966
|
}
|
|
73967
73967
|
constructor(e, t) {
|
|
73968
|
-
this._accessibilityService = t, this._diffEditorWidth =
|
|
73968
|
+
this._accessibilityService = t, this._diffEditorWidth = mt(this, 0), this._screenReaderMode = kt(this._accessibilityService.onDidChangeScreenReaderOptimized, () => this._accessibilityService.isScreenReaderOptimized()), this.couldShowInlineViewBecauseOfSize = ze(this, (n) => this._options.read(n).renderSideBySide && this._diffEditorWidth.read(n) <= this._options.read(n).renderSideBySideInlineBreakpoint), this.renderOverviewRuler = ze(this, (n) => this._options.read(n).renderOverviewRuler), this.renderSideBySide = ze(this, (n) => this._options.read(n).renderSideBySide && !(this._options.read(n).useInlineViewWhenSpaceIsLimited && this.couldShowInlineViewBecauseOfSize.read(n) && !this._screenReaderMode.read(n))), this.readOnly = ze(this, (n) => this._options.read(n).readOnly), this.shouldRenderOldRevertArrows = ze(this, (n) => !(!this._options.read(n).renderMarginRevertIcon || !this.renderSideBySide.read(n) || this.readOnly.read(n) || this.shouldRenderGutterMenu.read(n))), this.shouldRenderGutterMenu = ze(this, (n) => this._options.read(n).renderGutterMenu), this.renderIndicators = ze(this, (n) => this._options.read(n).renderIndicators), this.enableSplitViewResizing = ze(this, (n) => this._options.read(n).enableSplitViewResizing), this.splitViewDefaultRatio = ze(this, (n) => this._options.read(n).splitViewDefaultRatio), this.ignoreTrimWhitespace = ze(this, (n) => this._options.read(n).ignoreTrimWhitespace), this.maxComputationTimeMs = ze(this, (n) => this._options.read(n).maxComputationTime), this.showMoves = ze(this, (n) => this._options.read(n).experimental.showMoves && this.renderSideBySide.read(n)), this.isInEmbeddedEditor = ze(this, (n) => this._options.read(n).isInEmbeddedEditor), this.diffWordWrap = ze(this, (n) => this._options.read(n).diffWordWrap), this.originalEditable = ze(this, (n) => this._options.read(n).originalEditable), this.diffCodeLens = ze(this, (n) => this._options.read(n).diffCodeLens), this.accessibilityVerbose = ze(this, (n) => this._options.read(n).accessibilityVerbose), this.diffAlgorithm = ze(this, (n) => this._options.read(n).diffAlgorithm), this.showEmptyDecorations = ze(this, (n) => this._options.read(n).experimental.showEmptyDecorations), this.onlyShowAccessibleDiffViewer = ze(this, (n) => this._options.read(n).onlyShowAccessibleDiffViewer), this.hideUnchangedRegions = ze(this, (n) => this._options.read(n).hideUnchangedRegions.enabled), this.hideUnchangedRegionsRevealLineCount = ze(this, (n) => this._options.read(n).hideUnchangedRegions.revealLineCount), this.hideUnchangedRegionsContextLineCount = ze(this, (n) => this._options.read(n).hideUnchangedRegions.contextLineCount), this.hideUnchangedRegionsMinimumLineCount = ze(this, (n) => this._options.read(n).hideUnchangedRegions.minimumLineCount);
|
|
73969
73969
|
const i = { ...e, ...PU(e, Yn) };
|
|
73970
|
-
this._options =
|
|
73970
|
+
this._options = mt(this, i);
|
|
73971
73971
|
}
|
|
73972
73972
|
updateOptions(e) {
|
|
73973
73973
|
const t = PU(e, this._options.get()), i = { ...this._options.get(), ...e, ...t };
|
|
@@ -74070,7 +74070,7 @@ let pc = class extends ZR {
|
|
|
74070
74070
|
Lt("div.editor.original@original", { style: { position: "absolute", height: "100%" } }),
|
|
74071
74071
|
Lt("div.editor.modified@modified", { style: { position: "absolute", height: "100%" } }),
|
|
74072
74072
|
Lt("div.accessibleDiffViewer@accessibleDiffViewer", { style: { position: "absolute", height: "100%" } })
|
|
74073
|
-
]), this._diffModel =
|
|
74073
|
+
]), this._diffModel = mt(this, void 0), this._shouldDisposeDiffModel = !1, this.onDidChangeModel = le.fromObservableLight(this._diffModel), this._contextKeyService = this._register(this._parentContextKeyService.createScoped(this._domElement)), this._instantiationService = this._register(this._parentInstantiationService.createChild(new Ev([Me, this._contextKeyService]))), this._boundarySashes = mt(this, void 0), this._accessibleDiffViewerShouldBeVisible = mt(this, !1), this._accessibleDiffViewerVisible = ze(this, (T) => this._options.onlyShowAccessibleDiffViewer.read(T) ? !0 : this._accessibleDiffViewerShouldBeVisible.read(T)), this._movedBlocksLinesPart = mt(this, void 0), this._layoutInfo = ze(this, (T) => {
|
|
74074
74074
|
var b, I, A, y, R;
|
|
74075
74075
|
const x = this._rootSizeObserver.width.read(T), D = this._rootSizeObserver.height.read(T);
|
|
74076
74076
|
this._rootSizeObserver.automaticLayout ? this.elements.root.style.height = "100%" : this.elements.root.style.height = D + "px";
|
|
@@ -74347,7 +74347,7 @@ let pc = class extends ZR {
|
|
|
74347
74347
|
pc = spe([
|
|
74348
74348
|
$_(3, Me),
|
|
74349
74349
|
$_(4, Ae),
|
|
74350
|
-
$_(5,
|
|
74350
|
+
$_(5, Tt),
|
|
74351
74351
|
$_(6, mu),
|
|
74352
74352
|
$_(7, fu)
|
|
74353
74353
|
], pc);
|
|
@@ -74445,7 +74445,7 @@ let ZI = class extends bm {
|
|
|
74445
74445
|
};
|
|
74446
74446
|
ZI = X2([
|
|
74447
74447
|
Zt(2, Ae),
|
|
74448
|
-
Zt(3,
|
|
74448
|
+
Zt(3, Tt),
|
|
74449
74449
|
Zt(4, ni),
|
|
74450
74450
|
Zt(5, Me),
|
|
74451
74451
|
Zt(6, ad),
|
|
@@ -74490,7 +74490,7 @@ let xx = class extends ZI {
|
|
|
74490
74490
|
};
|
|
74491
74491
|
xx = X2([
|
|
74492
74492
|
Zt(2, Ae),
|
|
74493
|
-
Zt(3,
|
|
74493
|
+
Zt(3, Tt),
|
|
74494
74494
|
Zt(4, ni),
|
|
74495
74495
|
Zt(5, Me),
|
|
74496
74496
|
Zt(6, ad),
|
|
@@ -74539,7 +74539,7 @@ let Mx = class extends pc {
|
|
|
74539
74539
|
Mx = X2([
|
|
74540
74540
|
Zt(2, Ae),
|
|
74541
74541
|
Zt(3, Me),
|
|
74542
|
-
Zt(4,
|
|
74542
|
+
Zt(4, Tt),
|
|
74543
74543
|
Zt(5, ir),
|
|
74544
74544
|
Zt(6, Wi),
|
|
74545
74545
|
Zt(7, nt),
|
|
@@ -74580,10 +74580,10 @@ class cpe {
|
|
|
74580
74580
|
}
|
|
74581
74581
|
let QI = class extends U {
|
|
74582
74582
|
constructor(e, t, i, n) {
|
|
74583
|
-
super(), this._container = e, this._overflowWidgetsDomNode = t, this._workbenchUIElementFactory = i, this._instantiationService = n, this._viewModel =
|
|
74583
|
+
super(), this._container = e, this._overflowWidgetsDomNode = t, this._workbenchUIElementFactory = i, this._instantiationService = n, this._viewModel = mt(this, void 0), this._collapsed = ze(this, (r) => {
|
|
74584
74584
|
var a;
|
|
74585
74585
|
return (a = this._viewModel.read(r)) === null || a === void 0 ? void 0 : a.collapsed.read(r);
|
|
74586
|
-
}), this._editorContentHeight =
|
|
74586
|
+
}), this._editorContentHeight = mt(this, 500), this.contentHeight = ze(this, (r) => (this._collapsed.read(r) ? 0 : this._editorContentHeight.read(r)) + this._outerEditorHeight), this._modifiedContentWidth = mt(this, 0), this._modifiedWidth = mt(this, 0), this._originalContentWidth = mt(this, 0), this._originalWidth = mt(this, 0), this.maxScroll = ze(this, (r) => {
|
|
74587
74587
|
const a = this._modifiedContentWidth.read(r) - this._modifiedWidth.read(r), l = this._originalContentWidth.read(r) - this._originalWidth.read(r);
|
|
74588
74588
|
return a > l ? { maxScroll: a, width: this._modifiedWidth.read(r) } : { maxScroll: l, width: this._originalWidth.read(r) };
|
|
74589
74589
|
}), this._elements = Lt("div.multiDiffEntry", [
|
|
@@ -74872,7 +74872,7 @@ class gpe extends U {
|
|
|
74872
74872
|
}), this.template = ze(this, (s) => {
|
|
74873
74873
|
var r;
|
|
74874
74874
|
return (r = this._templateRef.read(s)) === null || r === void 0 ? void 0 : r.object;
|
|
74875
|
-
}), this._isHidden =
|
|
74875
|
+
}), this._isHidden = mt(this, !1), this._isFocused = ze(this, (s) => {
|
|
74876
74876
|
var r, a;
|
|
74877
74877
|
return (a = (r = this.template.read(s)) === null || r === void 0 ? void 0 : r.isFocused.read(s)) !== null && a !== void 0 ? a : !1;
|
|
74878
74878
|
}), this.viewModel.setIsFocused(this._isFocused, void 0), this._register(it((s) => {
|
|
@@ -74948,7 +74948,7 @@ var fpe = function(o, e, t, i) {
|
|
|
74948
74948
|
};
|
|
74949
74949
|
let kx = class extends U {
|
|
74950
74950
|
constructor(e, t, i) {
|
|
74951
|
-
super(), this._element = e, this._workbenchUIElementFactory = t, this._instantiationService = i, this._dimension =
|
|
74951
|
+
super(), this._element = e, this._workbenchUIElementFactory = t, this._instantiationService = i, this._dimension = mt(this, void 0), this._viewModel = mt(this, void 0), this._widgetImpl = mf(this, (n, s) => (Hr(QI, n), s.add(this._instantiationService.createInstance(Hr(Px, n), this._element, this._dimension, this._viewModel, this._workbenchUIElementFactory)))), this._register(Lv(this._widgetImpl));
|
|
74952
74952
|
}
|
|
74953
74953
|
};
|
|
74954
74954
|
kx = fpe([
|
|
@@ -74958,20 +74958,20 @@ function mpe(o, e, t) {
|
|
|
74958
74958
|
return ke.initialize(t || {}).createInstance(xx, o, e);
|
|
74959
74959
|
}
|
|
74960
74960
|
function _pe(o) {
|
|
74961
|
-
return ke.get(
|
|
74961
|
+
return ke.get(Tt).onCodeEditorAdd((t) => {
|
|
74962
74962
|
o(t);
|
|
74963
74963
|
});
|
|
74964
74964
|
}
|
|
74965
74965
|
function Epe(o) {
|
|
74966
|
-
return ke.get(
|
|
74966
|
+
return ke.get(Tt).onDiffEditorAdd((t) => {
|
|
74967
74967
|
o(t);
|
|
74968
74968
|
});
|
|
74969
74969
|
}
|
|
74970
74970
|
function Spe() {
|
|
74971
|
-
return ke.get(
|
|
74971
|
+
return ke.get(Tt).listCodeEditors();
|
|
74972
74972
|
}
|
|
74973
74973
|
function Cpe() {
|
|
74974
|
-
return ke.get(
|
|
74974
|
+
return ke.get(Tt).listDiffEditors();
|
|
74975
74975
|
}
|
|
74976
74976
|
function vpe(o, e, t) {
|
|
74977
74977
|
return ke.initialize(t || {}).createInstance(Mx, o, e);
|
|
@@ -75121,7 +75121,7 @@ function Ype(o) {
|
|
|
75121
75121
|
});
|
|
75122
75122
|
}
|
|
75123
75123
|
function qpe(o) {
|
|
75124
|
-
return ke.get(
|
|
75124
|
+
return ke.get(Tt).registerCodeEditorOpenHandler(async (t, i, n) => {
|
|
75125
75125
|
var s;
|
|
75126
75126
|
if (!i)
|
|
75127
75127
|
return null;
|
|
@@ -76122,7 +76122,7 @@ function jG(o, e, t, i, n, s, r) {
|
|
|
76122
76122
|
}
|
|
76123
76123
|
ft.registerCommand("_executeFormatRangeProvider", async function(o, ...e) {
|
|
76124
76124
|
const [t, i, n] = e;
|
|
76125
|
-
|
|
76125
|
+
vt(ye.isUri(t)), vt(w.isIRange(i));
|
|
76126
76126
|
const s = o.get(so), r = o.get(Ar), a = o.get(Se), l = await s.createModelReference(t);
|
|
76127
76127
|
try {
|
|
76128
76128
|
return Yme(r, a, l.object.textEditorModel, w.lift(i), n, lt.None);
|
|
@@ -76132,7 +76132,7 @@ ft.registerCommand("_executeFormatRangeProvider", async function(o, ...e) {
|
|
|
76132
76132
|
});
|
|
76133
76133
|
ft.registerCommand("_executeFormatDocumentProvider", async function(o, ...e) {
|
|
76134
76134
|
const [t, i] = e;
|
|
76135
|
-
|
|
76135
|
+
vt(ye.isUri(t));
|
|
76136
76136
|
const n = o.get(so), s = o.get(Ar), r = o.get(Se), a = await n.createModelReference(t);
|
|
76137
76137
|
try {
|
|
76138
76138
|
return qme(s, r, a.object.textEditorModel, i, lt.None);
|
|
@@ -76142,7 +76142,7 @@ ft.registerCommand("_executeFormatDocumentProvider", async function(o, ...e) {
|
|
|
76142
76142
|
});
|
|
76143
76143
|
ft.registerCommand("_executeFormatOnTypeProvider", async function(o, ...e) {
|
|
76144
76144
|
const [t, i, n, s] = e;
|
|
76145
|
-
|
|
76145
|
+
vt(ye.isUri(t)), vt(W.isIPosition(i)), vt(typeof n == "string");
|
|
76146
76146
|
const r = o.get(so), a = o.get(Ar), l = o.get(Se), d = await r.createModelReference(t);
|
|
76147
76147
|
try {
|
|
76148
76148
|
return jG(a, l, d.object.textEditorModel, W.lift(i), n, s, lt.None);
|
|
@@ -76481,37 +76481,37 @@ we({
|
|
|
76481
76481
|
id: "freemarker2",
|
|
76482
76482
|
extensions: [".ftl", ".ftlh", ".ftlx"],
|
|
76483
76483
|
aliases: ["FreeMarker2", "Apache FreeMarker2"],
|
|
76484
|
-
loader: () => import("./freemarker2-
|
|
76484
|
+
loader: () => import("./freemarker2-DlybHztA.js").then((o) => o.TagAutoInterpolationDollar)
|
|
76485
76485
|
});
|
|
76486
76486
|
we({
|
|
76487
76487
|
id: "freemarker2.tag-angle.interpolation-dollar",
|
|
76488
76488
|
aliases: ["FreeMarker2 (Angle/Dollar)", "Apache FreeMarker2 (Angle/Dollar)"],
|
|
76489
|
-
loader: () => import("./freemarker2-
|
|
76489
|
+
loader: () => import("./freemarker2-DlybHztA.js").then((o) => o.TagAngleInterpolationDollar)
|
|
76490
76490
|
});
|
|
76491
76491
|
we({
|
|
76492
76492
|
id: "freemarker2.tag-bracket.interpolation-dollar",
|
|
76493
76493
|
aliases: ["FreeMarker2 (Bracket/Dollar)", "Apache FreeMarker2 (Bracket/Dollar)"],
|
|
76494
|
-
loader: () => import("./freemarker2-
|
|
76494
|
+
loader: () => import("./freemarker2-DlybHztA.js").then((o) => o.TagBracketInterpolationDollar)
|
|
76495
76495
|
});
|
|
76496
76496
|
we({
|
|
76497
76497
|
id: "freemarker2.tag-angle.interpolation-bracket",
|
|
76498
76498
|
aliases: ["FreeMarker2 (Angle/Bracket)", "Apache FreeMarker2 (Angle/Bracket)"],
|
|
76499
|
-
loader: () => import("./freemarker2-
|
|
76499
|
+
loader: () => import("./freemarker2-DlybHztA.js").then((o) => o.TagAngleInterpolationBracket)
|
|
76500
76500
|
});
|
|
76501
76501
|
we({
|
|
76502
76502
|
id: "freemarker2.tag-bracket.interpolation-bracket",
|
|
76503
76503
|
aliases: ["FreeMarker2 (Bracket/Bracket)", "Apache FreeMarker2 (Bracket/Bracket)"],
|
|
76504
|
-
loader: () => import("./freemarker2-
|
|
76504
|
+
loader: () => import("./freemarker2-DlybHztA.js").then((o) => o.TagBracketInterpolationBracket)
|
|
76505
76505
|
});
|
|
76506
76506
|
we({
|
|
76507
76507
|
id: "freemarker2.tag-auto.interpolation-dollar",
|
|
76508
76508
|
aliases: ["FreeMarker2 (Auto/Dollar)", "Apache FreeMarker2 (Auto/Dollar)"],
|
|
76509
|
-
loader: () => import("./freemarker2-
|
|
76509
|
+
loader: () => import("./freemarker2-DlybHztA.js").then((o) => o.TagAutoInterpolationDollar)
|
|
76510
76510
|
});
|
|
76511
76511
|
we({
|
|
76512
76512
|
id: "freemarker2.tag-auto.interpolation-bracket",
|
|
76513
76513
|
aliases: ["FreeMarker2 (Auto/Bracket)", "Apache FreeMarker2 (Auto/Bracket)"],
|
|
76514
|
-
loader: () => import("./freemarker2-
|
|
76514
|
+
loader: () => import("./freemarker2-DlybHztA.js").then((o) => o.TagAutoInterpolationBracket)
|
|
76515
76515
|
});
|
|
76516
76516
|
/*!-----------------------------------------------------------------------------
|
|
76517
76517
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -76549,7 +76549,7 @@ we({
|
|
|
76549
76549
|
extensions: [".handlebars", ".hbs"],
|
|
76550
76550
|
aliases: ["Handlebars", "handlebars", "hbs"],
|
|
76551
76551
|
mimetypes: ["text/x-handlebars-template"],
|
|
76552
|
-
loader: () => import("./handlebars-
|
|
76552
|
+
loader: () => import("./handlebars-Bf86XcYC.js")
|
|
76553
76553
|
});
|
|
76554
76554
|
/*!-----------------------------------------------------------------------------
|
|
76555
76555
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -76574,7 +76574,7 @@ we({
|
|
|
76574
76574
|
extensions: [".html", ".htm", ".shtml", ".xhtml", ".mdoc", ".jsp", ".asp", ".aspx", ".jshtm"],
|
|
76575
76575
|
aliases: ["HTML", "htm", "html", "xhtml"],
|
|
76576
76576
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
76577
|
-
loader: () => import("./html-
|
|
76577
|
+
loader: () => import("./html-CC9TJsag.js")
|
|
76578
76578
|
});
|
|
76579
76579
|
/*!-----------------------------------------------------------------------------
|
|
76580
76580
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -76615,7 +76615,7 @@ we({
|
|
|
76615
76615
|
filenames: ["jakefile"],
|
|
76616
76616
|
aliases: ["JavaScript", "javascript", "js"],
|
|
76617
76617
|
mimetypes: ["text/javascript"],
|
|
76618
|
-
loader: () => import("./javascript-
|
|
76618
|
+
loader: () => import("./javascript-H86iPtAN.js")
|
|
76619
76619
|
});
|
|
76620
76620
|
/*!-----------------------------------------------------------------------------
|
|
76621
76621
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -76690,7 +76690,7 @@ we({
|
|
|
76690
76690
|
extensions: [".liquid", ".html.liquid"],
|
|
76691
76691
|
aliases: ["Liquid", "liquid"],
|
|
76692
76692
|
mimetypes: ["application/liquid"],
|
|
76693
|
-
loader: () => import("./liquid-
|
|
76693
|
+
loader: () => import("./liquid-BCIuKpoT.js")
|
|
76694
76694
|
});
|
|
76695
76695
|
/*!-----------------------------------------------------------------------------
|
|
76696
76696
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -76726,7 +76726,7 @@ we({
|
|
|
76726
76726
|
id: "mdx",
|
|
76727
76727
|
extensions: [".mdx"],
|
|
76728
76728
|
aliases: ["MDX", "mdx"],
|
|
76729
|
-
loader: () => import("./mdx-
|
|
76729
|
+
loader: () => import("./mdx-BUQyJHn2.js")
|
|
76730
76730
|
});
|
|
76731
76731
|
/*!-----------------------------------------------------------------------------
|
|
76732
76732
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -76921,7 +76921,7 @@ we({
|
|
|
76921
76921
|
extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
|
|
76922
76922
|
aliases: ["Python", "py"],
|
|
76923
76923
|
firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
|
|
76924
|
-
loader: () => import("./python-
|
|
76924
|
+
loader: () => import("./python-B95rqRBw.js")
|
|
76925
76925
|
});
|
|
76926
76926
|
/*!-----------------------------------------------------------------------------
|
|
76927
76927
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -76958,7 +76958,7 @@ we({
|
|
|
76958
76958
|
extensions: [".cshtml"],
|
|
76959
76959
|
aliases: ["Razor", "razor"],
|
|
76960
76960
|
mimetypes: ["text/x-cshtml"],
|
|
76961
|
-
loader: () => import("./razor-
|
|
76961
|
+
loader: () => import("./razor-CfrRW9NO.js")
|
|
76962
76962
|
});
|
|
76963
76963
|
/*!-----------------------------------------------------------------------------
|
|
76964
76964
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -77210,7 +77210,7 @@ we({
|
|
|
77210
77210
|
extensions: [".ts", ".tsx", ".cts", ".mts"],
|
|
77211
77211
|
aliases: ["TypeScript", "ts", "typescript"],
|
|
77212
77212
|
mimetypes: ["text/typescript"],
|
|
77213
|
-
loader: () => import("./typescript-
|
|
77213
|
+
loader: () => import("./typescript-CYPxqy7s.js")
|
|
77214
77214
|
});
|
|
77215
77215
|
/*!-----------------------------------------------------------------------------
|
|
77216
77216
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -77278,7 +77278,7 @@ we({
|
|
|
77278
77278
|
firstLine: "(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",
|
|
77279
77279
|
aliases: ["XML", "xml"],
|
|
77280
77280
|
mimetypes: ["text/xml", "application/xml", "application/xaml+xml", "application/xml-dtd"],
|
|
77281
|
-
loader: () => import("./xml-
|
|
77281
|
+
loader: () => import("./xml-72ltGbW-.js")
|
|
77282
77282
|
});
|
|
77283
77283
|
/*!-----------------------------------------------------------------------------
|
|
77284
77284
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -77291,7 +77291,7 @@ we({
|
|
|
77291
77291
|
extensions: [".yaml", ".yml"],
|
|
77292
77292
|
aliases: ["YAML", "yaml", "YML", "yml"],
|
|
77293
77293
|
mimetypes: ["application/x-yaml", "text/x-yaml"],
|
|
77294
|
-
loader: () => import("./yaml-
|
|
77294
|
+
loader: () => import("./yaml-CK70Osyq.js")
|
|
77295
77295
|
});
|
|
77296
77296
|
/*!-----------------------------------------------------------------------------
|
|
77297
77297
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -77394,7 +77394,7 @@ var tF = class {
|
|
|
77394
77394
|
);
|
|
77395
77395
|
d_.languages.css = { cssDefaults: ZG, lessDefaults: ez, scssDefaults: QG };
|
|
77396
77396
|
function sF() {
|
|
77397
|
-
return import("./cssMode-
|
|
77397
|
+
return import("./cssMode-CXjqIYq4.js");
|
|
77398
77398
|
}
|
|
77399
77399
|
d_.languages.onLanguage("less", () => {
|
|
77400
77400
|
sF().then((o) => o.setupMode(ez));
|
|
@@ -77500,7 +77500,7 @@ QR.languages.html = {
|
|
|
77500
77500
|
registerHTMLLanguageService: iA
|
|
77501
77501
|
};
|
|
77502
77502
|
function y_e() {
|
|
77503
|
-
return import("./htmlMode-
|
|
77503
|
+
return import("./htmlMode-BPyAr2to.js");
|
|
77504
77504
|
}
|
|
77505
77505
|
function iA(o, e = eA, t = tA(o)) {
|
|
77506
77506
|
const i = new L_e(o, e, t);
|
|
@@ -77577,7 +77577,7 @@ var F_e = class {
|
|
|
77577
77577
|
), W_e = () => oz().then((o) => o.getWorker());
|
|
77578
77578
|
Pv.languages.json = { jsonDefaults: sz, getWorker: W_e };
|
|
77579
77579
|
function oz() {
|
|
77580
|
-
return import("./jsonMode-
|
|
77580
|
+
return import("./jsonMode-9TsIZPcy.js");
|
|
77581
77581
|
}
|
|
77582
77582
|
Pv.languages.register({
|
|
77583
77583
|
id: "json",
|
|
@@ -77741,7 +77741,7 @@ Bm.languages.typescript = {
|
|
|
77741
77741
|
getJavaScriptWorker: X_e
|
|
77742
77742
|
};
|
|
77743
77743
|
function nA() {
|
|
77744
|
-
return import("./tsMode-
|
|
77744
|
+
return import("./tsMode-DZZHGQbs.js");
|
|
77745
77745
|
}
|
|
77746
77746
|
Bm.languages.onLanguage("typescript", () => nA().then((o) => o.setupTypeScript(gz)));
|
|
77747
77747
|
Bm.languages.onLanguage("javascript", () => nA().then((o) => o.setupJavaScript(fz)));
|
|
@@ -77924,14 +77924,14 @@ class Fv extends Hs {
|
|
|
77924
77924
|
}
|
|
77925
77925
|
Fv.id = "editor.action.accessibleDiffViewer.prev";
|
|
77926
77926
|
function iEe(o, e, t) {
|
|
77927
|
-
return o.get(
|
|
77927
|
+
return o.get(Tt).listDiffEditors().find((s) => {
|
|
77928
77928
|
var r, a;
|
|
77929
77929
|
const l = s.getModifiedEditor(), d = s.getOriginalEditor();
|
|
77930
77930
|
return l && ((r = l.getModel()) === null || r === void 0 ? void 0 : r.uri.toString()) === t.toString() && d && ((a = d.getModel()) === null || a === void 0 ? void 0 : a.uri.toString()) === e.toString();
|
|
77931
77931
|
}) || null;
|
|
77932
77932
|
}
|
|
77933
77933
|
function h_(o) {
|
|
77934
|
-
const t = o.get(
|
|
77934
|
+
const t = o.get(Tt).listDiffEditors(), i = Vn();
|
|
77935
77935
|
if (i)
|
|
77936
77936
|
for (const n of t) {
|
|
77937
77937
|
const s = n.getContainerDomNode();
|
|
@@ -78161,7 +78161,7 @@ class dEe extends ge {
|
|
|
78161
78161
|
(i = mc.get(t)) === null || i === void 0 || i.cancelSelectionAnchor();
|
|
78162
78162
|
}
|
|
78163
78163
|
}
|
|
78164
|
-
|
|
78164
|
+
bt(
|
|
78165
78165
|
mc.ID,
|
|
78166
78166
|
mc,
|
|
78167
78167
|
4
|
|
@@ -78406,7 +78406,7 @@ Zr._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER = Ye.register({
|
|
|
78406
78406
|
stickiness: 1,
|
|
78407
78407
|
className: "bracket-match"
|
|
78408
78408
|
});
|
|
78409
|
-
|
|
78409
|
+
bt(
|
|
78410
78410
|
Zr.ID,
|
|
78411
78411
|
Zr,
|
|
78412
78412
|
1
|
|
@@ -79680,7 +79680,7 @@ let qU = class {
|
|
|
79680
79680
|
);
|
|
79681
79681
|
}
|
|
79682
79682
|
};
|
|
79683
|
-
|
|
79683
|
+
bt(
|
|
79684
79684
|
Ms.ID,
|
|
79685
79685
|
Ms,
|
|
79686
79686
|
4
|
|
@@ -80303,7 +80303,7 @@ class PEe extends ge {
|
|
|
80303
80303
|
}
|
|
80304
80304
|
function Oz(o, e) {
|
|
80305
80305
|
o && (o.addImplementation(1e4, "code-editor", (t, i) => {
|
|
80306
|
-
const n = t.get(
|
|
80306
|
+
const n = t.get(Tt).getFocusedCodeEditor();
|
|
80307
80307
|
if (n && n.hasTextFocus()) {
|
|
80308
80308
|
const s = n.getOption(
|
|
80309
80309
|
37
|
|
@@ -80318,7 +80318,7 @@ Oz(xEe, "cut");
|
|
|
80318
80318
|
Oz(MEe, "copy");
|
|
80319
80319
|
Ww && (Ww.addImplementation(1e4, "code-editor", (o, e) => {
|
|
80320
80320
|
var t, i;
|
|
80321
|
-
const n = o.get(
|
|
80321
|
+
const n = o.get(Tt), s = o.get(Lc), r = n.getFocusedCodeEditor();
|
|
80322
80322
|
return r && r.hasTextFocus() ? r.getContainerDomNode().ownerDocument.execCommand("paste") ? (i = (t = td.get(r)) === null || t === void 0 ? void 0 : t.finishedPaste()) !== null && i !== void 0 ? i : Promise.resolve() : du ? (async () => {
|
|
80323
80323
|
const l = await s.readText();
|
|
80324
80324
|
if (l !== "") {
|
|
@@ -81981,13 +81981,13 @@ class dSe extends ge {
|
|
|
81981
81981
|
}, "ifSingle", Co.AutoFix);
|
|
81982
81982
|
}
|
|
81983
81983
|
}
|
|
81984
|
-
|
|
81984
|
+
bt(
|
|
81985
81985
|
jh.ID,
|
|
81986
81986
|
jh,
|
|
81987
81987
|
3
|
|
81988
81988
|
/* EditorContributionInstantiation.Eventually */
|
|
81989
81989
|
);
|
|
81990
|
-
|
|
81990
|
+
bt(
|
|
81991
81991
|
jg.ID,
|
|
81992
81992
|
jg,
|
|
81993
81993
|
4
|
|
@@ -82052,7 +82052,7 @@ async function $z(o, e, t) {
|
|
|
82052
82052
|
}
|
|
82053
82053
|
ft.registerCommand("_executeCodeLensProvider", function(o, ...e) {
|
|
82054
82054
|
let [t, i] = e;
|
|
82055
|
-
|
|
82055
|
+
vt(ye.isUri(t)), vt(typeof i == "number" || !i);
|
|
82056
82056
|
const { codeLensProvider: n } = o.get(Se), s = o.get(gi).getModel(t);
|
|
82057
82057
|
if (!s)
|
|
82058
82058
|
throw mr();
|
|
@@ -82540,7 +82540,7 @@ Hm = gSe([
|
|
|
82540
82540
|
K_(4, Wi),
|
|
82541
82541
|
K_(5, Kz)
|
|
82542
82542
|
], Hm);
|
|
82543
|
-
|
|
82543
|
+
bt(
|
|
82544
82544
|
Hm.ID,
|
|
82545
82545
|
Hm,
|
|
82546
82546
|
1
|
|
@@ -82613,7 +82613,7 @@ class pF {
|
|
|
82613
82613
|
return this._editorWorkerClient.computeDefaultDocumentColors(e.uri);
|
|
82614
82614
|
}
|
|
82615
82615
|
provideColorPresentations(e, t, i) {
|
|
82616
|
-
const n = t.range, s = t.color, r = s.alpha, a = new G(new
|
|
82616
|
+
const n = t.range, s = t.color, r = s.alpha, a = new G(new _t(Math.round(255 * s.red), Math.round(255 * s.green), Math.round(255 * s.blue), r)), l = r ? G.Format.CSS.formatRGB(a) : G.Format.CSS.formatRGBA(a), d = r ? G.Format.CSS.formatHSL(a) : G.Format.CSS.formatHSLA(a), c = r ? G.Format.CSS.formatHex(a) : G.Format.CSS.formatHexA(a), h = [];
|
|
82617
82617
|
return h.push({ label: l, textEdit: { range: n, text: l } }), h.push({ label: d, textEdit: { range: n, text: d } }), h.push({ label: c, textEdit: { range: n, text: c } }), h;
|
|
82618
82618
|
}
|
|
82619
82619
|
}
|
|
@@ -82806,7 +82806,7 @@ let Xh = Qx = class extends U {
|
|
|
82806
82806
|
/* EditorOption.colorDecoratorsLimit */
|
|
82807
82807
|
);
|
|
82808
82808
|
for (let s = 0; s < e.length && t.length < i; s++) {
|
|
82809
|
-
const { red: r, green: a, blue: l, alpha: d } = e[s].colorInfo.color, c = new
|
|
82809
|
+
const { red: r, green: a, blue: l, alpha: d } = e[s].colorInfo.color, c = new _t(Math.round(r * 255), Math.round(a * 255), Math.round(l * 255), d), h = `rgba(${c.r}, ${c.g}, ${c.b}, ${c.a})`, u = this._colorDecorationClassRefs.add(this._ruleFactory.createClassNameRef({
|
|
82810
82810
|
backgroundColor: h
|
|
82811
82811
|
}));
|
|
82812
82812
|
t.push({
|
|
@@ -82859,7 +82859,7 @@ class SSe {
|
|
|
82859
82859
|
(e !== this._computed || t !== this._limited) && (this._computed = e, this._limited = t, this._onDidChange.fire());
|
|
82860
82860
|
}
|
|
82861
82861
|
}
|
|
82862
|
-
|
|
82862
|
+
bt(
|
|
82863
82863
|
Xh.ID,
|
|
82864
82864
|
Xh,
|
|
82865
82865
|
1
|
|
@@ -83055,7 +83055,7 @@ class LSe extends Jz {
|
|
|
83055
83055
|
}
|
|
83056
83056
|
onDidChangeColor(e) {
|
|
83057
83057
|
super.onDidChangeColor(e);
|
|
83058
|
-
const { r: t, g: i, b: n } = e.rgba, s = new G(new
|
|
83058
|
+
const { r: t, g: i, b: n } = e.rgba, s = new G(new _t(t, i, n, 1)), r = new G(new _t(t, i, n, 0));
|
|
83059
83059
|
this.overlay.style.background = `linear-gradient(to bottom, ${s} 0%, ${r} 100%)`;
|
|
83060
83060
|
}
|
|
83061
83061
|
getValue(e) {
|
|
@@ -83182,7 +83182,7 @@ LC = Zz([
|
|
|
83182
83182
|
Qz(1, an)
|
|
83183
83183
|
], LC);
|
|
83184
83184
|
async function e$(o, e, t, i) {
|
|
83185
|
-
const n = e.getValueInRange(t.range), { red: s, green: r, blue: a, alpha: l } = t.color, d = new
|
|
83185
|
+
const n = e.getValueInRange(t.range), { red: s, green: r, blue: a, alpha: l } = t.color, d = new _t(Math.round(s * 255), Math.round(r * 255), Math.round(a * 255), l), c = new G(d), h = await qz(e, t, i, lt.None), u = new CSe(c, [], 0);
|
|
83186
83186
|
return u.colorPresentations = h || [], u.guessColorPresentation(c, n), o instanceof aL ? new NSe(o, w.lift(t.range), u, i) : new ySe(o, w.lift(t.range), u, i);
|
|
83187
83187
|
}
|
|
83188
83188
|
function t$(o, e, t, i, n) {
|
|
@@ -84347,7 +84347,7 @@ let Zh = class extends bm {
|
|
|
84347
84347
|
};
|
|
84348
84348
|
Zh = dCe([
|
|
84349
84349
|
pd(4, Ae),
|
|
84350
|
-
pd(5,
|
|
84350
|
+
pd(5, Tt),
|
|
84351
84351
|
pd(6, ni),
|
|
84352
84352
|
pd(7, Me),
|
|
84353
84353
|
pd(8, an),
|
|
@@ -84356,7 +84356,7 @@ Zh = dCe([
|
|
|
84356
84356
|
pd(11, Xt),
|
|
84357
84357
|
pd(12, Se)
|
|
84358
84358
|
], Zh);
|
|
84359
|
-
const l5 = new G(new
|
|
84359
|
+
const l5 = new G(new _t(0, 122, 204)), cCe = {
|
|
84360
84360
|
showArrow: !0,
|
|
84361
84361
|
showFrame: !0,
|
|
84362
84362
|
className: "",
|
|
@@ -84632,14 +84632,14 @@ AC.ID = "editor.contrib.referenceController";
|
|
|
84632
84632
|
AC = h$([
|
|
84633
84633
|
u$(1, Me)
|
|
84634
84634
|
], AC);
|
|
84635
|
-
|
|
84635
|
+
bt(
|
|
84636
84636
|
AC.ID,
|
|
84637
84637
|
AC,
|
|
84638
84638
|
0
|
|
84639
84639
|
/* EditorContributionInstantiation.Eager */
|
|
84640
84640
|
);
|
|
84641
84641
|
function pCe(o) {
|
|
84642
|
-
const e = o.get(
|
|
84642
|
+
const e = o.get(Tt).getFocusedCodeEditor();
|
|
84643
84643
|
return e instanceof Zh ? e.getParentEditor() : e;
|
|
84644
84644
|
}
|
|
84645
84645
|
const mCe = {
|
|
@@ -85385,7 +85385,7 @@ let eu = d0 = class {
|
|
|
85385
85385
|
eu.ID = "editor.contrib.referencesController";
|
|
85386
85386
|
eu = d0 = wCe([
|
|
85387
85387
|
Uf(2, Me),
|
|
85388
|
-
Uf(3,
|
|
85388
|
+
Uf(3, Tt),
|
|
85389
85389
|
Uf(4, Wi),
|
|
85390
85390
|
Uf(5, Ae),
|
|
85391
85391
|
Uf(6, na),
|
|
@@ -85575,7 +85575,7 @@ let lM = class {
|
|
|
85575
85575
|
};
|
|
85576
85576
|
lM = m$([
|
|
85577
85577
|
TE(0, Me),
|
|
85578
|
-
TE(1,
|
|
85578
|
+
TE(1, Tt),
|
|
85579
85579
|
TE(2, Wi),
|
|
85580
85580
|
TE(3, wt)
|
|
85581
85581
|
], lM);
|
|
@@ -85626,7 +85626,7 @@ let dM = class {
|
|
|
85626
85626
|
}
|
|
85627
85627
|
};
|
|
85628
85628
|
dM = m$([
|
|
85629
|
-
TE(0,
|
|
85629
|
+
TE(0, Tt)
|
|
85630
85630
|
], dM);
|
|
85631
85631
|
function cM(o, e) {
|
|
85632
85632
|
return e.uri.scheme === o.uri.scheme ? !0 : !dD(e.uri, We.walkThroughSnippet, We.vscodeChatCodeBlock, We.vscodeChatCodeCompareBlock, We.vscodeCopilotBackingChatCodeBlock);
|
|
@@ -85715,7 +85715,7 @@ class us extends Xa {
|
|
|
85715
85715
|
runEditorCommand(e, t, i, n) {
|
|
85716
85716
|
if (!t.hasModel())
|
|
85717
85717
|
return Promise.resolve(void 0);
|
|
85718
|
-
const s = e.get(Wi), r = e.get(
|
|
85718
|
+
const s = e.get(Wi), r = e.get(Tt), a = e.get(fu), l = e.get(pA), d = e.get(Se), c = e.get(Ae), h = t.getModel(), u = t.getPosition(), g = Um.is(i) ? i : new Um(h, u), f = new qh(
|
|
85719
85719
|
t,
|
|
85720
85720
|
5
|
|
85721
85721
|
/* CodeEditorStateFlag.Position */
|
|
@@ -86228,8 +86228,8 @@ ft.registerCommand({
|
|
|
86228
86228
|
]
|
|
86229
86229
|
},
|
|
86230
86230
|
handler: async (o, e, t, i, n, s, r) => {
|
|
86231
|
-
|
|
86232
|
-
const a = o.get(
|
|
86231
|
+
vt(ye.isUri(e)), vt(W.isIPosition(t)), vt(Array.isArray(i)), vt(typeof n > "u" || typeof n == "string"), vt(typeof r > "u" || typeof r == "boolean");
|
|
86232
|
+
const a = o.get(Tt), l = await a.openCodeEditor({ resource: e }, a.getFocusedCodeEditor());
|
|
86233
86233
|
if (ed(l))
|
|
86234
86234
|
return l.setPosition(t), l.revealPositionInCenterIfOutsideViewport(
|
|
86235
86235
|
t,
|
|
@@ -86267,8 +86267,8 @@ ft.registerCommand({
|
|
|
86267
86267
|
ft.registerCommand({
|
|
86268
86268
|
id: "editor.action.findReferences",
|
|
86269
86269
|
handler: (o, e, t) => {
|
|
86270
|
-
|
|
86271
|
-
const i = o.get(Se), n = o.get(
|
|
86270
|
+
vt(ye.isUri(e)), vt(W.isIPosition(t));
|
|
86271
|
+
const i = o.get(Se), n = o.get(Tt);
|
|
86272
86272
|
return n.openCodeEditor({ resource: e }, n.getFocusedCodeEditor()).then((s) => {
|
|
86273
86273
|
if (!ed(s) || !s.hasModel())
|
|
86274
86274
|
return;
|
|
@@ -86670,7 +86670,7 @@ function xCe(o) {
|
|
|
86670
86670
|
}
|
|
86671
86671
|
ft.registerCommand("_executeInlayHintProvider", async (o, ...e) => {
|
|
86672
86672
|
const [t, i] = e;
|
|
86673
|
-
|
|
86673
|
+
vt(ye.isUri(t)), vt(w.isIRange(i));
|
|
86674
86674
|
const { inlayHintsProvider: n } = o.get(Se), s = await o.get(so).createModelReference(t);
|
|
86675
86675
|
try {
|
|
86676
86676
|
const r = await Lg.create(n, s.object.textEditorModel, [w.lift(i)], lt.None), a = r.items.map((l) => l.hint);
|
|
@@ -87430,7 +87430,7 @@ class gM extends U {
|
|
|
87430
87430
|
}
|
|
87431
87431
|
}
|
|
87432
87432
|
gM.ID = "editor.contrib.colorContribution";
|
|
87433
|
-
|
|
87433
|
+
bt(
|
|
87434
87434
|
gM.ID,
|
|
87435
87435
|
gM,
|
|
87436
87436
|
2
|
|
@@ -87476,7 +87476,7 @@ iu = fM = A$([
|
|
|
87476
87476
|
Ca(5, Se),
|
|
87477
87477
|
Ca(6, Xt)
|
|
87478
87478
|
], iu);
|
|
87479
|
-
|
|
87479
|
+
bt(
|
|
87480
87480
|
iu.ID,
|
|
87481
87481
|
iu,
|
|
87482
87482
|
1
|
|
@@ -88270,7 +88270,7 @@ class QCe extends ge {
|
|
|
88270
88270
|
(i = Vm.get(t)) === null || i === void 0 || i.showContextMenu();
|
|
88271
88271
|
}
|
|
88272
88272
|
}
|
|
88273
|
-
|
|
88273
|
+
bt(
|
|
88274
88274
|
Vm.ID,
|
|
88275
88275
|
Vm,
|
|
88276
88276
|
2
|
|
@@ -88360,7 +88360,7 @@ class tve extends ge {
|
|
|
88360
88360
|
(n = Zg.get(t)) === null || n === void 0 || n.cursorRedo();
|
|
88361
88361
|
}
|
|
88362
88362
|
}
|
|
88363
|
-
|
|
88363
|
+
bt(
|
|
88364
88364
|
Zg.ID,
|
|
88365
88365
|
Zg,
|
|
88366
88366
|
0
|
|
@@ -88510,14 +88510,14 @@ oc._DECORATION_OPTIONS = Ye.register({
|
|
|
88510
88510
|
description: "dnd-target",
|
|
88511
88511
|
className: "dnd-target"
|
|
88512
88512
|
});
|
|
88513
|
-
|
|
88513
|
+
bt(
|
|
88514
88514
|
oc.ID,
|
|
88515
88515
|
oc,
|
|
88516
88516
|
2
|
|
88517
88517
|
/* EditorContributionInstantiation.BeforeFirstInteraction */
|
|
88518
88518
|
);
|
|
88519
88519
|
var ib;
|
|
88520
|
-
|
|
88520
|
+
bt(
|
|
88521
88521
|
td.ID,
|
|
88522
88522
|
td,
|
|
88523
88523
|
0
|
|
@@ -88721,7 +88721,7 @@ Qg = _M = sve([
|
|
|
88721
88721
|
nb(3, Se),
|
|
88722
88722
|
nb(4, w$)
|
|
88723
88723
|
], Qg);
|
|
88724
|
-
|
|
88724
|
+
bt(
|
|
88725
88725
|
Qg.ID,
|
|
88726
88726
|
Qg,
|
|
88727
88727
|
2
|
|
@@ -91164,7 +91164,7 @@ Yve.addImplementation(0, (o, e, t) => {
|
|
|
91164
91164
|
).loop
|
|
91165
91165
|
});
|
|
91166
91166
|
});
|
|
91167
|
-
|
|
91167
|
+
bt(
|
|
91168
91168
|
Bs.ID,
|
|
91169
91169
|
TM,
|
|
91170
91170
|
0
|
|
@@ -93094,7 +93094,7 @@ class OTe extends ms {
|
|
|
93094
93094
|
}
|
|
93095
93095
|
}
|
|
93096
93096
|
}
|
|
93097
|
-
|
|
93097
|
+
bt(
|
|
93098
93098
|
Ec.ID,
|
|
93099
93099
|
Ec,
|
|
93100
93100
|
0
|
|
@@ -93356,13 +93356,13 @@ class FTe extends ge {
|
|
|
93356
93356
|
await e.get(fu).showWhile(i.invokeFunction(qG, t, s, 1, sc.None, lt.None, !0), 250);
|
|
93357
93357
|
}
|
|
93358
93358
|
}
|
|
93359
|
-
|
|
93359
|
+
bt(
|
|
93360
93360
|
DC.ID,
|
|
93361
93361
|
DC,
|
|
93362
93362
|
2
|
|
93363
93363
|
/* EditorContributionInstantiation.BeforeFirstInteraction */
|
|
93364
93364
|
);
|
|
93365
|
-
|
|
93365
|
+
bt(
|
|
93366
93366
|
OC.ID,
|
|
93367
93367
|
OC,
|
|
93368
93368
|
2
|
|
@@ -93371,7 +93371,7 @@ It(
|
|
|
93371
93371
|
ee(kTe);
|
|
93372
93372
|
ee(FTe);
|
|
93373
93373
|
ft.registerCommand("editor.action.format", async (o) => {
|
|
93374
|
-
const e = o.get(
|
|
93374
|
+
const e = o.get(Tt).getFocusedCodeEditor();
|
|
93375
93375
|
if (!e || !e.hasModel())
|
|
93376
93376
|
return;
|
|
93377
93377
|
const t = o.get(ni);
|
|
@@ -93538,7 +93538,7 @@ pt(
|
|
|
93538
93538
|
);
|
|
93539
93539
|
ft.registerCommand("_executeDocumentSymbolProvider", async function(o, ...e) {
|
|
93540
93540
|
const [t] = e;
|
|
93541
|
-
|
|
93541
|
+
vt(ye.isUri(t));
|
|
93542
93542
|
const i = o.get($v), s = await o.get(so).createModelReference(t);
|
|
93543
93543
|
try {
|
|
93544
93544
|
return (await i.getOrCreate(s.object.textEditorModel, lt.None)).getTopLevelSymbols();
|
|
@@ -93675,7 +93675,7 @@ var VTe = function(o, e, t, i) {
|
|
|
93675
93675
|
const O5 = "ghost-text";
|
|
93676
93676
|
let RM = class extends U {
|
|
93677
93677
|
constructor(e, t, i) {
|
|
93678
|
-
super(), this.editor = e, this.model = t, this.languageService = i, this.isDisposed =
|
|
93678
|
+
super(), this.editor = e, this.model = t, this.languageService = i, this.isDisposed = mt(this, !1), this.currentTextModel = kt(this.editor.onDidChangeModel, () => (
|
|
93679
93679
|
/** @description editor.model */
|
|
93680
93680
|
this.editor.getModel()
|
|
93681
93681
|
)), this.uiState = ze(this, (n) => {
|
|
@@ -94450,7 +94450,7 @@ function cbe(o) {
|
|
|
94450
94450
|
}
|
|
94451
94451
|
ft.registerCommand("_executeCompletionItemProvider", async (o, ...e) => {
|
|
94452
94452
|
const [t, i, n, s] = e;
|
|
94453
|
-
|
|
94453
|
+
vt(ye.isUri(t)), vt(W.isIPosition(i)), vt(typeof n == "string" || !n), vt(typeof s == "number" || !s);
|
|
94454
94454
|
const { completionProvider: r } = o.get(Se), a = await o.get(so).createModelReference(t);
|
|
94455
94455
|
try {
|
|
94456
94456
|
const l = {
|
|
@@ -95116,7 +95116,7 @@ let kn = sp = class {
|
|
|
95116
95116
|
_doInsert(e, t) {
|
|
95117
95117
|
var i;
|
|
95118
95118
|
if (this._editor.hasModel()) {
|
|
95119
|
-
if (this._snippetListener.clear(), t.undoStopBefore && this._editor.getModel().pushStackElement(), this._session && typeof e != "string" && this.cancel(), this._session ? (
|
|
95119
|
+
if (this._snippetListener.clear(), t.undoStopBefore && this._editor.getModel().pushStackElement(), this._session && typeof e != "string" && this.cancel(), this._session ? (vt(typeof e == "string"), this._session.merge(e, t)) : (this._modelVersionId = this._editor.getModel().getAlternativeVersionId(), this._session = new EL(this._editor, e, t, this._languageConfigurationService), this._session.insert()), t.undoStopAfter && this._editor.getModel().pushStackElement(), !((i = this._session) === null || i === void 0) && i.hasChoice) {
|
|
95120
95120
|
const n = {
|
|
95121
95121
|
_debugDisplayName: "snippetChoiceCompletions",
|
|
95122
95122
|
provideCompletionItems: (c, h) => {
|
|
@@ -95213,7 +95213,7 @@ kn = sp = mbe([
|
|
|
95213
95213
|
hb(3, Me),
|
|
95214
95214
|
hb(4, Xt)
|
|
95215
95215
|
], kn);
|
|
95216
|
-
|
|
95216
|
+
bt(
|
|
95217
95217
|
kn.ID,
|
|
95218
95218
|
kn,
|
|
95219
95219
|
4
|
|
@@ -95284,7 +95284,7 @@ let wM = class extends U {
|
|
|
95284
95284
|
return this._isAcceptingPartially;
|
|
95285
95285
|
}
|
|
95286
95286
|
constructor(e, t, i, n, s, r, a, l, d, c, h, u) {
|
|
95287
|
-
super(), this.textModel = e, this.selectedSuggestItem = t, this.textModelVersionId = i, this._positions = n, this._debounceValue = s, this._suggestPreviewEnabled = r, this._suggestPreviewMode = a, this._inlineSuggestMode = l, this._enabled = d, this._instantiationService = c, this._commandService = h, this._languageConfigurationService = u, this._source = this._register(this._instantiationService.createInstance(AM, this.textModel, this.textModelVersionId, this._debounceValue)), this._isActive =
|
|
95287
|
+
super(), this.textModel = e, this.selectedSuggestItem = t, this.textModelVersionId = i, this._positions = n, this._debounceValue = s, this._suggestPreviewEnabled = r, this._suggestPreviewMode = a, this._inlineSuggestMode = l, this._enabled = d, this._instantiationService = c, this._commandService = h, this._languageConfigurationService = u, this._source = this._register(this._instantiationService.createInstance(AM, this.textModel, this.textModelVersionId, this._debounceValue)), this._isActive = mt(this, !1), this._forceUpdateExplicitlySignal = MR(this), this._selectedInlineCompletionId = mt(this, void 0), this._primaryPosition = ze(this, (f) => {
|
|
95288
95288
|
var m;
|
|
95289
95289
|
return (m = this._positions.read(f)[0]) !== null && m !== void 0 ? m : new W(1, 1);
|
|
95290
95290
|
}), this._isAcceptingPartially = !1, this._preserveCurrentCompletionReasons = /* @__PURE__ */ new Set([
|
|
@@ -96275,7 +96275,7 @@ let SL = yM = class {
|
|
|
96275
96275
|
)));
|
|
96276
96276
|
}
|
|
96277
96277
|
_refilterCompletionItems() {
|
|
96278
|
-
|
|
96278
|
+
vt(this._editor.hasModel()), vt(this._triggerState !== void 0);
|
|
96279
96279
|
const e = this._editor.getModel(), t = this._editor.getPosition(), i = new Fu(e, t, { ...this._triggerState, refilter: !0 });
|
|
96280
96280
|
this._onNewContext(i);
|
|
96281
96281
|
}
|
|
@@ -97724,7 +97724,7 @@ let jr = MM = class {
|
|
|
97724
97724
|
});
|
|
97725
97725
|
}
|
|
97726
97726
|
getOverwriteInfo(e, t) {
|
|
97727
|
-
|
|
97727
|
+
vt(this.editor.hasModel());
|
|
97728
97728
|
let i = this.editor.getOption(
|
|
97729
97729
|
118
|
|
97730
97730
|
/* EditorOption.suggest */
|
|
@@ -97911,7 +97911,7 @@ class Kv extends ge {
|
|
|
97911
97911
|
}
|
|
97912
97912
|
}
|
|
97913
97913
|
Kv.id = "editor.action.triggerSuggest";
|
|
97914
|
-
|
|
97914
|
+
bt(
|
|
97915
97915
|
jr.ID,
|
|
97916
97916
|
jr,
|
|
97917
97917
|
2
|
|
@@ -98208,7 +98208,7 @@ class Ybe extends U {
|
|
|
98208
98208
|
return this._selectedItem;
|
|
98209
98209
|
}
|
|
98210
98210
|
constructor(e, t, i, n) {
|
|
98211
|
-
super(), this.editor = e, this.suggestControllerPreselector = t, this.checkModelVersion = i, this.onWillAccept = n, this.isSuggestWidgetVisible = !1, this.isShiftKeyPressed = !1, this._isActive = !1, this._currentSuggestItemInfo = void 0, this._selectedItem =
|
|
98211
|
+
super(), this.editor = e, this.suggestControllerPreselector = t, this.checkModelVersion = i, this.onWillAccept = n, this.isSuggestWidgetVisible = !1, this.isShiftKeyPressed = !1, this._isActive = !1, this._currentSuggestItemInfo = void 0, this._selectedItem = mt(this, void 0), this._register(e.onKeyDown((r) => {
|
|
98212
98212
|
r.shiftKey && !this.isShiftKeyPressed && (this.isShiftKeyPressed = !0, this.update(this._isActive));
|
|
98213
98213
|
})), this._register(e.onKeyUp((r) => {
|
|
98214
98214
|
r.shiftKey && this.isShiftKeyPressed && (this.isShiftKeyPressed = !1, this.update(this._isActive));
|
|
@@ -98318,7 +98318,7 @@ let Zo = PM = class extends U {
|
|
|
98318
98318
|
return e.getContribution(PM.ID);
|
|
98319
98319
|
}
|
|
98320
98320
|
constructor(e, t, i, n, s, r, a, l, d, c) {
|
|
98321
|
-
super(), this.editor = e, this._instantiationService = t, this._contextKeyService = i, this._configurationService = n, this._commandService = s, this._debounceService = r, this._languageFeaturesService = a, this._accessibilitySignalService = l, this._keybindingService = d, this._accessibilityService = c, this.model = this._register(sC("inlineCompletionModel", void 0)), this._textModelVersionId =
|
|
98321
|
+
super(), this.editor = e, this._instantiationService = t, this._contextKeyService = i, this._configurationService = n, this._commandService = s, this._debounceService = r, this._languageFeaturesService = a, this._accessibilitySignalService = l, this._keybindingService = d, this._accessibilityService = c, this.model = this._register(sC("inlineCompletionModel", void 0)), this._textModelVersionId = mt(this, -1), this._positions = Nce({ owner: this, equalsFn: DO(C6()) }, [new W(1, 1)]), this._suggestWidgetAdaptor = this._register(new Ybe(this.editor, () => {
|
|
98322
98322
|
var m, _;
|
|
98323
98323
|
return (_ = (m = this.model.get()) === null || m === void 0 ? void 0 : m.selectedInlineCompletion.get()) === null || _ === void 0 ? void 0 : _.toSingleTextEdit(void 0);
|
|
98324
98324
|
}, (m) => this.updateObservables(m, Do.Other), (m) => {
|
|
@@ -98477,14 +98477,14 @@ Zo = PM = jbe([
|
|
|
98477
98477
|
_d(9, To)
|
|
98478
98478
|
], Zo);
|
|
98479
98479
|
function Xbe(o, e) {
|
|
98480
|
-
const t =
|
|
98480
|
+
const t = mt("result", []), i = [];
|
|
98481
98481
|
return e.add(it((n) => {
|
|
98482
98482
|
const s = o.read(n);
|
|
98483
98483
|
$t((r) => {
|
|
98484
98484
|
if (s.length !== i.length) {
|
|
98485
98485
|
i.length = s.length;
|
|
98486
98486
|
for (let a = 0; a < i.length; a++)
|
|
98487
|
-
i[a] || (i[a] =
|
|
98487
|
+
i[a] || (i[a] = mt("item", s[a]));
|
|
98488
98488
|
t.set([...i], r);
|
|
98489
98489
|
}
|
|
98490
98490
|
i.forEach((a, l) => a.set(s[l], r));
|
|
@@ -98766,7 +98766,7 @@ const OA = new class {
|
|
|
98766
98766
|
return this._implementations;
|
|
98767
98767
|
}
|
|
98768
98768
|
}();
|
|
98769
|
-
|
|
98769
|
+
bt(
|
|
98770
98770
|
Zo.ID,
|
|
98771
98771
|
Zo,
|
|
98772
98772
|
3
|
|
@@ -98949,7 +98949,7 @@ nf = LE = s0e([
|
|
|
98949
98949
|
sN(2, ci),
|
|
98950
98950
|
sN(3, Se)
|
|
98951
98951
|
], nf);
|
|
98952
|
-
|
|
98952
|
+
bt(
|
|
98953
98953
|
nf.ID,
|
|
98954
98954
|
nf,
|
|
98955
98955
|
2
|
|
@@ -99339,7 +99339,7 @@ nu.ID = "editor.contrib.markerController";
|
|
|
99339
99339
|
nu = RE = h0e([
|
|
99340
99340
|
mb(1, sK),
|
|
99341
99341
|
mb(2, Me),
|
|
99342
|
-
mb(3,
|
|
99342
|
+
mb(3, Tt),
|
|
99343
99343
|
mb(4, Ae)
|
|
99344
99344
|
], nu);
|
|
99345
99345
|
class xA extends ge {
|
|
@@ -99445,7 +99445,7 @@ class g0e extends xA {
|
|
|
99445
99445
|
});
|
|
99446
99446
|
}
|
|
99447
99447
|
}
|
|
99448
|
-
|
|
99448
|
+
bt(
|
|
99449
99449
|
nu.ID,
|
|
99450
99450
|
nu,
|
|
99451
99451
|
4
|
|
@@ -100006,7 +100006,7 @@ class D0e {
|
|
|
100006
100006
|
dispose() {
|
|
100007
100007
|
}
|
|
100008
100008
|
}
|
|
100009
|
-
|
|
100009
|
+
bt(
|
|
100010
100010
|
ps.ID,
|
|
100011
100011
|
ps,
|
|
100012
100012
|
2
|
|
@@ -100461,7 +100461,7 @@ class W0e {
|
|
|
100461
100461
|
return t.getTrackedSelection(this.selectionId);
|
|
100462
100462
|
}
|
|
100463
100463
|
}
|
|
100464
|
-
|
|
100464
|
+
bt(
|
|
100465
100465
|
BC.ID,
|
|
100466
100466
|
BC,
|
|
100467
100467
|
2
|
|
@@ -100475,7 +100475,7 @@ ee(BA);
|
|
|
100475
100475
|
ee(HA);
|
|
100476
100476
|
ee(P0e);
|
|
100477
100477
|
ee(k0e);
|
|
100478
|
-
|
|
100478
|
+
bt(
|
|
100479
100479
|
tu.ID,
|
|
100480
100480
|
tu,
|
|
100481
100481
|
1
|
|
@@ -100596,7 +100596,7 @@ class $0e extends ge {
|
|
|
100596
100596
|
return i ? i.run(this.id, !0) : Promise.resolve(void 0);
|
|
100597
100597
|
}
|
|
100598
100598
|
}
|
|
100599
|
-
|
|
100599
|
+
bt(
|
|
100600
100600
|
su.ID,
|
|
100601
100601
|
su,
|
|
100602
100602
|
4
|
|
@@ -101911,7 +101911,7 @@ class SIe extends ge {
|
|
|
101911
101911
|
});
|
|
101912
101912
|
}
|
|
101913
101913
|
runCommand(e, t) {
|
|
101914
|
-
const i = e.get(
|
|
101914
|
+
const i = e.get(Tt), [n, s] = Array.isArray(t) && t || [void 0, void 0];
|
|
101915
101915
|
return ye.isUri(n) && W.isIPosition(s) ? i.openCodeEditor({ resource: n }, i.getActiveCodeEditor()).then((r) => {
|
|
101916
101916
|
r && (r.setPosition(s), r.invokeWithinContext((a) => (this.reportTelemetry(a, r), this.run(a, r))));
|
|
101917
101917
|
}, $e) : super.runCommand(e, t);
|
|
@@ -101952,7 +101952,7 @@ od("_executeLinkedEditingProvider", (o, e, t) => {
|
|
|
101952
101952
|
const { linkedEditingRangeProvider: i } = o.get(Se);
|
|
101953
101953
|
return pK(i, e, t, lt.None);
|
|
101954
101954
|
});
|
|
101955
|
-
|
|
101955
|
+
bt(
|
|
101956
101956
|
ou.ID,
|
|
101957
101957
|
ou,
|
|
101958
101958
|
1
|
|
@@ -102025,7 +102025,7 @@ function mK(o, e, t) {
|
|
|
102025
102025
|
}
|
|
102026
102026
|
ft.registerCommand("_executeLinkProvider", async (o, ...e) => {
|
|
102027
102027
|
let [t, i] = e;
|
|
102028
|
-
|
|
102028
|
+
vt(t instanceof ye), typeof i != "number" && (i = 0);
|
|
102029
102029
|
const { linkProvider: n } = o.get(Se), s = o.get(gi).getModel(t);
|
|
102030
102030
|
if (!s)
|
|
102031
102031
|
return [];
|
|
@@ -102281,7 +102281,7 @@ class IIe extends ge {
|
|
|
102281
102281
|
}
|
|
102282
102282
|
}
|
|
102283
102283
|
}
|
|
102284
|
-
|
|
102284
|
+
bt(
|
|
102285
102285
|
$m.ID,
|
|
102286
102286
|
$m,
|
|
102287
102287
|
1
|
|
@@ -102302,7 +102302,7 @@ class KM extends U {
|
|
|
102302
102302
|
}
|
|
102303
102303
|
}
|
|
102304
102304
|
KM.ID = "editor.contrib.longLinesHelper";
|
|
102305
|
-
|
|
102305
|
+
bt(
|
|
102306
102306
|
KM.ID,
|
|
102307
102307
|
KM,
|
|
102308
102308
|
2
|
|
@@ -103150,13 +103150,13 @@ class XIe extends ge {
|
|
|
103150
103150
|
r && (s.unshift(r), n.setCursorStates(i.source, 3, s), n.revealPrimaryCursor(i.source, !0), Eu(s, n.getCursorStates()));
|
|
103151
103151
|
}
|
|
103152
103152
|
}
|
|
103153
|
-
|
|
103153
|
+
bt(
|
|
103154
103154
|
of.ID,
|
|
103155
103155
|
of,
|
|
103156
103156
|
4
|
|
103157
103157
|
/* EditorContributionInstantiation.Lazy */
|
|
103158
103158
|
);
|
|
103159
|
-
|
|
103159
|
+
bt(
|
|
103160
103160
|
VC.ID,
|
|
103161
103161
|
VC,
|
|
103162
103162
|
1
|
|
@@ -103189,7 +103189,7 @@ var tLe = function(o, e, t, i) {
|
|
|
103189
103189
|
const rN = "inline-edit";
|
|
103190
103190
|
let qM = class extends U {
|
|
103191
103191
|
constructor(e, t, i) {
|
|
103192
|
-
super(), this.editor = e, this.model = t, this.languageService = i, this.isDisposed =
|
|
103192
|
+
super(), this.editor = e, this.model = t, this.languageService = i, this.isDisposed = mt(this, !1), this.currentTextModel = kt(this.editor.onDidChangeModel, () => (
|
|
103193
103193
|
/** @description editor.model */
|
|
103194
103194
|
this.editor.getModel()
|
|
103195
103195
|
)), this.uiState = ze(this, (n) => {
|
|
@@ -103456,7 +103456,7 @@ let on = fg = class extends U {
|
|
|
103456
103456
|
return e.getContribution(fg.ID);
|
|
103457
103457
|
}
|
|
103458
103458
|
constructor(e, t, i, n, s, r) {
|
|
103459
|
-
super(), this.editor = e, this.instantiationService = t, this.contextKeyService = i, this.languageFeaturesService = n, this._commandService = s, this._configurationService = r, this._isVisibleContext = fg.inlineEditVisibleContext.bindTo(this.contextKeyService), this._isCursorAtInlineEditContext = fg.cursorAtInlineEditContext.bindTo(this.contextKeyService), this._currentEdit = this._register(sC(this, void 0)), this._isAccepting =
|
|
103459
|
+
super(), this.editor = e, this.instantiationService = t, this.contextKeyService = i, this.languageFeaturesService = n, this._commandService = s, this._configurationService = r, this._isVisibleContext = fg.inlineEditVisibleContext.bindTo(this.contextKeyService), this._isCursorAtInlineEditContext = fg.cursorAtInlineEditContext.bindTo(this.contextKeyService), this._currentEdit = this._register(sC(this, void 0)), this._isAccepting = mt(this, !1), this._enabled = kt(this.editor.onDidChangeConfiguration, () => this.editor.getOption(
|
|
103460
103460
|
63
|
|
103461
103461
|
/* EditorOption.inlineEdit */
|
|
103462
103462
|
).enabled), this._fontFamily = kt(this.editor.onDidChangeConfiguration, () => this.editor.getOption(
|
|
@@ -103832,7 +103832,7 @@ ee(hLe);
|
|
|
103832
103832
|
ee(dLe);
|
|
103833
103833
|
ee(cLe);
|
|
103834
103834
|
ee(lLe);
|
|
103835
|
-
|
|
103835
|
+
bt(
|
|
103836
103836
|
on.ID,
|
|
103837
103837
|
on,
|
|
103838
103838
|
3
|
|
@@ -103856,7 +103856,7 @@ async function EK(o, e, t, i, n) {
|
|
|
103856
103856
|
}
|
|
103857
103857
|
ft.registerCommand("_executeSignatureHelpProvider", async (o, ...e) => {
|
|
103858
103858
|
const [t, i, n] = e;
|
|
103859
|
-
|
|
103859
|
+
vt(ye.isUri(t)), vt(W.isIPosition(i)), vt(typeof n == "string" || !n);
|
|
103860
103860
|
const s = o.get(Se), r = await o.get(so).createModelReference(t);
|
|
103861
103861
|
try {
|
|
103862
103862
|
const a = await EK(s.signatureHelpProvider, r.object.textEditorModel, W.lift(i), {
|
|
@@ -104271,7 +104271,7 @@ class SLe extends ge {
|
|
|
104271
104271
|
});
|
|
104272
104272
|
}
|
|
104273
104273
|
}
|
|
104274
|
-
|
|
104274
|
+
bt(
|
|
104275
104275
|
af.ID,
|
|
104276
104276
|
af,
|
|
104277
104277
|
2
|
|
@@ -104387,7 +104387,7 @@ let eP = class {
|
|
|
104387
104387
|
_updateFont() {
|
|
104388
104388
|
if (this._domNode === void 0)
|
|
104389
104389
|
return;
|
|
104390
|
-
|
|
104390
|
+
vt(this._label !== void 0, "RenameWidget#_updateFont: _label must not be undefined given _domNode is defined"), this._editor.applyFontInfo(this._inputWithButton.input);
|
|
104391
104391
|
const e = this._editor.getOption(
|
|
104392
104392
|
50
|
|
104393
104393
|
/* EditorOption.fontInfo */
|
|
@@ -104433,7 +104433,7 @@ let eP = class {
|
|
|
104433
104433
|
if (!this._editor.hasModel() || // shouldn't happen
|
|
104434
104434
|
!this._editor.getDomNode())
|
|
104435
104435
|
return;
|
|
104436
|
-
|
|
104436
|
+
vt(this._renameCandidateListView), vt(this._nPxAvailableAbove !== void 0), vt(this._nPxAvailableBelow !== void 0);
|
|
104437
104437
|
const t = Bd(this._inputWithButton.domNode), i = Bd(this._label);
|
|
104438
104438
|
let n;
|
|
104439
104439
|
e === 2 ? n = this._nPxAvailableBelow : n = this._nPxAvailableAbove, this._renameCandidateListView.layout({
|
|
@@ -104485,7 +104485,7 @@ let eP = class {
|
|
|
104485
104485
|
var h;
|
|
104486
104486
|
return this._trace("invoking _currentCancelInput"), this._currentAcceptInput = void 0, this._currentCancelInput = void 0, (h = this._renameCandidateListView) === null || h === void 0 || h.clearCandidates(), d.complete(c), !0;
|
|
104487
104487
|
}, this._currentAcceptInput = (c) => {
|
|
104488
|
-
this._trace("invoking _currentAcceptInput"),
|
|
104488
|
+
this._trace("invoking _currentAcceptInput"), vt(this._renameCandidateListView !== void 0);
|
|
104489
104489
|
const h = this._renameCandidateListView.nCandidates;
|
|
104490
104490
|
let u, g;
|
|
104491
104491
|
const f = this._renameCandidateListView.focusedCandidate;
|
|
@@ -104510,7 +104510,7 @@ let eP = class {
|
|
|
104510
104510
|
})), this._show(), d.p;
|
|
104511
104511
|
}
|
|
104512
104512
|
_requestRenameCandidates(e, t) {
|
|
104513
|
-
if (this._requestRenameCandidatesOnce !== void 0 && (this._renameCandidateProvidersCts !== void 0 && this._renameCandidateProvidersCts.dispose(!0),
|
|
104513
|
+
if (this._requestRenameCandidatesOnce !== void 0 && (this._renameCandidateProvidersCts !== void 0 && this._renameCandidateProvidersCts.dispose(!0), vt(this._renameCts), this._inputWithButton.buttonState !== "stop")) {
|
|
104514
104514
|
this._renameCandidateProvidersCts = new mi();
|
|
104515
104515
|
const i = t ? vS.Invoke : vS.Automatic, n = this._requestRenameCandidatesOnce(i, this._renameCandidateProvidersCts.token);
|
|
104516
104516
|
if (n.length === 0) {
|
|
@@ -104524,7 +104524,7 @@ let eP = class {
|
|
|
104524
104524
|
* This allows selecting only part of the symbol name in the input field based on the selection in the editor
|
|
104525
104525
|
*/
|
|
104526
104526
|
_getSelection(e, t) {
|
|
104527
|
-
|
|
104527
|
+
vt(this._editor.hasModel());
|
|
104528
104528
|
const i = this._editor.getSelection();
|
|
104529
104529
|
let n = 0, s = t.length;
|
|
104530
104530
|
return !w.isEmpty(i) && !w.spansMultipleLines(i) && w.containsRange(e, i) && (n = Math.max(0, i.startColumn - e.startColumn), s = Math.min(e.endColumn, i.endColumn) - e.startColumn), { start: n, end: s };
|
|
@@ -104717,10 +104717,10 @@ class vLe {
|
|
|
104717
104717
|
}))), this._domNode;
|
|
104718
104718
|
}
|
|
104719
104719
|
get input() {
|
|
104720
|
-
return
|
|
104720
|
+
return vt(this._inputNode), this._inputNode;
|
|
104721
104721
|
}
|
|
104722
104722
|
get button() {
|
|
104723
|
-
return
|
|
104723
|
+
return vt(this._buttonNode), this._buttonNode;
|
|
104724
104724
|
}
|
|
104725
104725
|
get buttonState() {
|
|
104726
104726
|
return this._buttonState;
|
|
@@ -104984,7 +104984,7 @@ class ILe extends ge {
|
|
|
104984
104984
|
});
|
|
104985
104985
|
}
|
|
104986
104986
|
runCommand(e, t) {
|
|
104987
|
-
const i = e.get(
|
|
104987
|
+
const i = e.get(Tt), [n, s] = Array.isArray(t) && t || [void 0, void 0];
|
|
104988
104988
|
return ye.isUri(n) && W.isIPosition(s) ? i.openCodeEditor({ resource: n }, i.getActiveCodeEditor()).then((r) => {
|
|
104989
104989
|
r && (r.setPosition(s), r.invokeWithinContext((a) => (this.reportTelemetry(a, r), this.run(a, r))));
|
|
104990
104990
|
}, $e) : super.runCommand(e, t);
|
|
@@ -104994,7 +104994,7 @@ class ILe extends ge {
|
|
|
104994
104994
|
return n ? (i.trace("[RenameAction] got controller, running..."), n.run()) : (i.trace("[RenameAction] returning early - controller missing"), Promise.resolve());
|
|
104995
104995
|
}
|
|
104996
104996
|
}
|
|
104997
|
-
|
|
104997
|
+
bt(
|
|
104998
104998
|
Sc.ID,
|
|
104999
104999
|
Sc,
|
|
105000
105000
|
4
|
|
@@ -105055,7 +105055,7 @@ Yt(class extends Hs {
|
|
|
105055
105055
|
});
|
|
105056
105056
|
}
|
|
105057
105057
|
run(e) {
|
|
105058
|
-
const t = e.get(
|
|
105058
|
+
const t = e.get(Tt).getFocusedCodeEditor();
|
|
105059
105059
|
if (!t)
|
|
105060
105060
|
return;
|
|
105061
105061
|
const i = Sc.get(t);
|
|
@@ -105079,7 +105079,7 @@ Yt(class extends Hs {
|
|
|
105079
105079
|
});
|
|
105080
105080
|
}
|
|
105081
105081
|
run(e) {
|
|
105082
|
-
const t = e.get(
|
|
105082
|
+
const t = e.get(Tt).getFocusedCodeEditor();
|
|
105083
105083
|
if (!t)
|
|
105084
105084
|
return;
|
|
105085
105085
|
const i = Sc.get(t);
|
|
@@ -105088,7 +105088,7 @@ Yt(class extends Hs {
|
|
|
105088
105088
|
});
|
|
105089
105089
|
od("_executeDocumentRenameProvider", function(o, e, t, ...i) {
|
|
105090
105090
|
const [n] = i;
|
|
105091
|
-
|
|
105091
|
+
vt(typeof n == "string");
|
|
105092
105092
|
const { renameProvider: s } = o.get(Se);
|
|
105093
105093
|
return bLe(s, e, t, n);
|
|
105094
105094
|
});
|
|
@@ -105229,7 +105229,7 @@ function RLe(o) {
|
|
|
105229
105229
|
})
|
|
105230
105230
|
};
|
|
105231
105231
|
}
|
|
105232
|
-
|
|
105232
|
+
bt(
|
|
105233
105233
|
GC.ID,
|
|
105234
105234
|
GC,
|
|
105235
105235
|
1
|
|
@@ -105337,7 +105337,7 @@ async function GF(o, e, t, i) {
|
|
|
105337
105337
|
}
|
|
105338
105338
|
ft.registerCommand("_provideDocumentSemanticTokensLegend", async (o, ...e) => {
|
|
105339
105339
|
const [t] = e;
|
|
105340
|
-
|
|
105340
|
+
vt(t instanceof ye);
|
|
105341
105341
|
const i = o.get(gi).getModel(t);
|
|
105342
105342
|
if (!i)
|
|
105343
105343
|
return;
|
|
@@ -105346,7 +105346,7 @@ ft.registerCommand("_provideDocumentSemanticTokensLegend", async (o, ...e) => {
|
|
|
105346
105346
|
});
|
|
105347
105347
|
ft.registerCommand("_provideDocumentSemanticTokens", async (o, ...e) => {
|
|
105348
105348
|
const [t] = e;
|
|
105349
|
-
|
|
105349
|
+
vt(t instanceof ye);
|
|
105350
105350
|
const i = o.get(gi).getModel(t);
|
|
105351
105351
|
if (!i)
|
|
105352
105352
|
return;
|
|
@@ -105368,7 +105368,7 @@ ft.registerCommand("_provideDocumentSemanticTokens", async (o, ...e) => {
|
|
|
105368
105368
|
});
|
|
105369
105369
|
ft.registerCommand("_provideDocumentRangeSemanticTokensLegend", async (o, ...e) => {
|
|
105370
105370
|
const [t, i] = e;
|
|
105371
|
-
|
|
105371
|
+
vt(t instanceof ye);
|
|
105372
105372
|
const n = o.get(gi).getModel(t);
|
|
105373
105373
|
if (!n)
|
|
105374
105374
|
return;
|
|
@@ -105385,7 +105385,7 @@ ft.registerCommand("_provideDocumentRangeSemanticTokensLegend", async (o, ...e)
|
|
|
105385
105385
|
});
|
|
105386
105386
|
ft.registerCommand("_provideDocumentRangeSemanticTokens", async (o, ...e) => {
|
|
105387
105387
|
const [t, i] = e;
|
|
105388
|
-
|
|
105388
|
+
vt(t instanceof ye), vt(w.isIRange(i));
|
|
105389
105389
|
const n = o.get(gi).getModel(t);
|
|
105390
105390
|
if (!n)
|
|
105391
105391
|
return;
|
|
@@ -105665,7 +105665,7 @@ $C = kLe([
|
|
|
105665
105665
|
eE(4, Lr),
|
|
105666
105666
|
eE(5, Se)
|
|
105667
105667
|
], $C);
|
|
105668
|
-
|
|
105668
|
+
bt(
|
|
105669
105669
|
$C.ID,
|
|
105670
105670
|
$C,
|
|
105671
105671
|
1
|
|
@@ -105849,7 +105849,7 @@ class ULe extends LK {
|
|
|
105849
105849
|
});
|
|
105850
105850
|
}
|
|
105851
105851
|
}
|
|
105852
|
-
|
|
105852
|
+
bt(
|
|
105853
105853
|
Ym.ID,
|
|
105854
105854
|
Ym,
|
|
105855
105855
|
4
|
|
@@ -105896,7 +105896,7 @@ async function RK(o, e, t, i, n) {
|
|
|
105896
105896
|
}
|
|
105897
105897
|
ft.registerCommand("_executeSelectionRangeProvider", async function(o, ...e) {
|
|
105898
105898
|
const [t, i] = e;
|
|
105899
|
-
|
|
105899
|
+
vt(ye.isUri(t));
|
|
105900
105900
|
const n = o.get(Se).selectionRangeProvider, s = await o.get(so).createModelReference(t);
|
|
105901
105901
|
try {
|
|
105902
105902
|
return RK(n, s.object.textEditorModel, i, { selectLeadingAndTrailingWhitespace: !0, selectSubwords: !0 }, lt.None);
|
|
@@ -106926,7 +106926,7 @@ class tRe extends Xa {
|
|
|
106926
106926
|
(i = id.get(t)) === null || i === void 0 || i.selectEditor();
|
|
106927
106927
|
}
|
|
106928
106928
|
}
|
|
106929
|
-
|
|
106929
|
+
bt(
|
|
106930
106930
|
id.ID,
|
|
106931
106931
|
id,
|
|
106932
106932
|
1
|
|
@@ -107050,7 +107050,7 @@ hP = yK([
|
|
|
107050
107050
|
AE(0, Se),
|
|
107051
107051
|
AE(1, Lc),
|
|
107052
107052
|
AE(2, RA),
|
|
107053
|
-
AE(3,
|
|
107053
|
+
AE(3, Tt)
|
|
107054
107054
|
], hP);
|
|
107055
107055
|
Dv(hP);
|
|
107056
107056
|
class nRe extends ge {
|
|
@@ -107708,7 +107708,7 @@ ee(Su);
|
|
|
107708
107708
|
ee(E_);
|
|
107709
107709
|
ee(S_);
|
|
107710
107710
|
ee(Yv);
|
|
107711
|
-
|
|
107711
|
+
bt(
|
|
107712
107712
|
qm.ID,
|
|
107713
107713
|
qm,
|
|
107714
107714
|
1
|
|
@@ -107788,9 +107788,9 @@ let YC = class extends U {
|
|
|
107788
107788
|
YC.ID = "editor.contrib.unusualLineTerminatorsDetector";
|
|
107789
107789
|
YC = pRe([
|
|
107790
107790
|
pV(1, Sv),
|
|
107791
|
-
pV(2,
|
|
107791
|
+
pV(2, Tt)
|
|
107792
107792
|
], YC);
|
|
107793
|
-
|
|
107793
|
+
bt(
|
|
107794
107794
|
YC.ID,
|
|
107795
107795
|
YC,
|
|
107796
107796
|
1
|
|
@@ -108116,7 +108116,7 @@ let qC = nn = class {
|
|
|
108116
108116
|
qC.storedDecorations = new Fi();
|
|
108117
108117
|
qC.query = null;
|
|
108118
108118
|
qC = nn = kK([
|
|
108119
|
-
m0(4,
|
|
108119
|
+
m0(4, Tt)
|
|
108120
108120
|
], qC);
|
|
108121
108121
|
let Cc = EP = class extends U {
|
|
108122
108122
|
static get(e) {
|
|
@@ -108156,7 +108156,7 @@ Cc.ID = "editor.contrib.wordHighlighter";
|
|
|
108156
108156
|
Cc = EP = kK([
|
|
108157
108157
|
m0(1, Me),
|
|
108158
108158
|
m0(2, Se),
|
|
108159
|
-
m0(3,
|
|
108159
|
+
m0(3, Tt)
|
|
108160
108160
|
], Cc);
|
|
108161
108161
|
class HK extends ge {
|
|
108162
108162
|
constructor(e, t) {
|
|
@@ -108219,7 +108219,7 @@ class LRe extends ge {
|
|
|
108219
108219
|
n && n.restoreViewState(!0);
|
|
108220
108220
|
}
|
|
108221
108221
|
}
|
|
108222
|
-
|
|
108222
|
+
bt(
|
|
108223
108223
|
Cc.ID,
|
|
108224
108224
|
Cc,
|
|
108225
108225
|
0
|
|
@@ -108245,7 +108245,7 @@ class YA extends rn {
|
|
|
108245
108245
|
const d = new W(l.positionLineNumber, l.positionColumn), c = this._move(n, s, d, this._wordNavigationType);
|
|
108246
108246
|
return this._moveTo(l, c, this._inSelectionMode);
|
|
108247
108247
|
});
|
|
108248
|
-
if (s.pushStackElement(), t._getViewModel().setCursorStates("moveWordCommand", 3, a.map((l) =>
|
|
108248
|
+
if (s.pushStackElement(), t._getViewModel().setCursorStates("moveWordCommand", 3, a.map((l) => Ct.fromModelSelection(l))), a.length === 1) {
|
|
108249
108249
|
const l = new W(a[0].positionLineNumber, a[0].positionColumn);
|
|
108250
108250
|
t.revealPosition(
|
|
108251
108251
|
l,
|
|
@@ -108832,7 +108832,7 @@ class SP extends U {
|
|
|
108832
108832
|
}
|
|
108833
108833
|
}
|
|
108834
108834
|
SP.ID = "editor.contrib.readOnlyMessageController";
|
|
108835
|
-
|
|
108835
|
+
bt(
|
|
108836
108836
|
SP.ID,
|
|
108837
108837
|
SP,
|
|
108838
108838
|
2
|
|
@@ -108850,7 +108850,7 @@ var tAe = function(o, e, t, i) {
|
|
|
108850
108850
|
};
|
|
108851
108851
|
let CP = class extends U {
|
|
108852
108852
|
constructor(e, t, i) {
|
|
108853
|
-
super(), this._textModel = e, this._languageFeaturesService = t, this._outlineModelService = i, this._currentModel =
|
|
108853
|
+
super(), this._textModel = e, this._languageFeaturesService = t, this._outlineModelService = i, this._currentModel = mt(this, void 0);
|
|
108854
108854
|
const n = Zn("documentSymbolProvider.onDidChange", this._languageFeaturesService.documentSymbolProvider.onDidChange), s = Zn("_textModel.onDidChangeContent", le.debounce((r) => this._textModel.onDidChangeContent(r), () => {
|
|
108855
108855
|
}, 100));
|
|
108856
108856
|
this._register(Tr(async (r, a) => {
|
|
@@ -108914,7 +108914,7 @@ class jA extends U {
|
|
|
108914
108914
|
}
|
|
108915
108915
|
}
|
|
108916
108916
|
jA.ID = "editor.contrib.ShowKeyboardWidget";
|
|
108917
|
-
|
|
108917
|
+
bt(
|
|
108918
108918
|
vP.ID,
|
|
108919
108919
|
vP,
|
|
108920
108920
|
3
|
|
@@ -109088,7 +109088,7 @@ class XA extends U {
|
|
|
109088
109088
|
}
|
|
109089
109089
|
}
|
|
109090
109090
|
XA._ID = "editor.contrib.inspectTokensWidget";
|
|
109091
|
-
|
|
109091
|
+
bt(
|
|
109092
109092
|
jm.ID,
|
|
109093
109093
|
jm,
|
|
109094
109094
|
4
|
|
@@ -109344,7 +109344,7 @@ let jC = class extends JA {
|
|
|
109344
109344
|
}
|
|
109345
109345
|
};
|
|
109346
109346
|
jC = aAe([
|
|
109347
|
-
lAe(0,
|
|
109347
|
+
lAe(0, Tt)
|
|
109348
109348
|
], jC);
|
|
109349
109349
|
let XF = class GK extends ge {
|
|
109350
109350
|
constructor() {
|
|
@@ -109671,7 +109671,7 @@ let IP = class extends zl {
|
|
|
109671
109671
|
}
|
|
109672
109672
|
};
|
|
109673
109673
|
IP = gAe([
|
|
109674
|
-
uN(0,
|
|
109674
|
+
uN(0, Tt),
|
|
109675
109675
|
uN(1, Se),
|
|
109676
109676
|
uN(2, $v)
|
|
109677
109677
|
], IP);
|
|
@@ -110217,7 +110217,7 @@ let XC = class extends _Ae {
|
|
|
110217
110217
|
};
|
|
110218
110218
|
XC = EAe([
|
|
110219
110219
|
qf(0, Ae),
|
|
110220
|
-
qf(1,
|
|
110220
|
+
qf(1, Tt),
|
|
110221
110221
|
qf(2, wt),
|
|
110222
110222
|
qf(3, ni),
|
|
110223
110223
|
qf(4, $n),
|
|
@@ -110270,13 +110270,13 @@ let LP = class extends eu {
|
|
|
110270
110270
|
};
|
|
110271
110271
|
LP = SAe([
|
|
110272
110272
|
jf(1, Me),
|
|
110273
|
-
jf(2,
|
|
110273
|
+
jf(2, Tt),
|
|
110274
110274
|
jf(3, Wi),
|
|
110275
110275
|
jf(4, Ae),
|
|
110276
110276
|
jf(5, na),
|
|
110277
110277
|
jf(6, nt)
|
|
110278
110278
|
], LP);
|
|
110279
|
-
|
|
110279
|
+
bt(
|
|
110280
110280
|
eu.ID,
|
|
110281
110281
|
LP,
|
|
110282
110282
|
4
|
|
@@ -130991,7 +130991,7 @@ var Qe;
|
|
|
130991
130991
|
function XN(o) {
|
|
130992
130992
|
return o[0];
|
|
130993
130993
|
}
|
|
130994
|
-
const
|
|
130994
|
+
const Et = new uY((o) => []), Bu = ([[o]]) => o, os = (o) => ({
|
|
130995
130995
|
type: Qe.keyword,
|
|
130996
130996
|
tokenType: o.type,
|
|
130997
130997
|
text: o.text,
|
|
@@ -131011,7 +131011,7 @@ const St = new uY((o) => []), Bu = ([[o]]) => o, os = (o) => ({
|
|
|
131011
131011
|
}
|
|
131012
131012
|
return o;
|
|
131013
131013
|
}, aDe = {
|
|
131014
|
-
Lexer:
|
|
131014
|
+
Lexer: Et,
|
|
131015
131015
|
ParserRules: [
|
|
131016
131016
|
{ name: "main$ebnf$1", symbols: [] },
|
|
131017
131017
|
{ name: "main$ebnf$1", symbols: ["main$ebnf$1", "statement"], postprocess: (o) => o[0].concat([o[1]]) },
|
|
@@ -131023,8 +131023,8 @@ const St = new uY((o) => []), Bu = ([[o]]) => o, os = (o) => ({
|
|
|
131023
131023
|
return e && !e.hasSemicolon ? e.children.length > 0 ? o : o.slice(0, -1) : o;
|
|
131024
131024
|
}
|
|
131025
131025
|
},
|
|
131026
|
-
{ name: "statement$subexpression$1", symbols: [
|
|
131027
|
-
{ name: "statement$subexpression$1", symbols: [
|
|
131026
|
+
{ name: "statement$subexpression$1", symbols: [Et.has("DELIMITER") ? { type: "DELIMITER" } : DELIMITER] },
|
|
131027
|
+
{ name: "statement$subexpression$1", symbols: [Et.has("EOF") ? { type: "EOF" } : EOF] },
|
|
131028
131028
|
{
|
|
131029
131029
|
name: "statement",
|
|
131030
131030
|
symbols: ["expressions_or_clauses", "statement$subexpression$1"],
|
|
@@ -131050,12 +131050,12 @@ const St = new uY((o) => []), Bu = ([[o]]) => o, os = (o) => ({
|
|
|
131050
131050
|
{ name: "clause", symbols: ["clause$subexpression$1"], postprocess: Bu },
|
|
131051
131051
|
{ name: "limit_clause$ebnf$1$subexpression$1$ebnf$1", symbols: ["free_form_sql"] },
|
|
131052
131052
|
{ name: "limit_clause$ebnf$1$subexpression$1$ebnf$1", symbols: ["limit_clause$ebnf$1$subexpression$1$ebnf$1", "free_form_sql"], postprocess: (o) => o[0].concat([o[1]]) },
|
|
131053
|
-
{ name: "limit_clause$ebnf$1$subexpression$1", symbols: [
|
|
131053
|
+
{ name: "limit_clause$ebnf$1$subexpression$1", symbols: [Et.has("COMMA") ? { type: "COMMA" } : COMMA, "limit_clause$ebnf$1$subexpression$1$ebnf$1"] },
|
|
131054
131054
|
{ name: "limit_clause$ebnf$1", symbols: ["limit_clause$ebnf$1$subexpression$1"], postprocess: XN },
|
|
131055
131055
|
{ name: "limit_clause$ebnf$1", symbols: [], postprocess: () => null },
|
|
131056
131056
|
{
|
|
131057
131057
|
name: "limit_clause",
|
|
131058
|
-
symbols: [
|
|
131058
|
+
symbols: [Et.has("LIMIT") ? { type: "LIMIT" } : LIMIT, "_", "expression_chain_", "limit_clause$ebnf$1"],
|
|
131059
131059
|
postprocess: ([o, e, t, i]) => {
|
|
131060
131060
|
if (i) {
|
|
131061
131061
|
const [n, s] = i;
|
|
@@ -131081,7 +131081,7 @@ const St = new uY((o) => []), Bu = ([[o]]) => o, os = (o) => ({
|
|
|
131081
131081
|
{ name: "select_clause$subexpression$1", symbols: ["asteriskless_free_form_sql", "select_clause$subexpression$1$ebnf$2"] },
|
|
131082
131082
|
{
|
|
131083
131083
|
name: "select_clause",
|
|
131084
|
-
symbols: [
|
|
131084
|
+
symbols: [Et.has("RESERVED_SELECT") ? { type: "RESERVED_SELECT" } : RESERVED_SELECT, "select_clause$subexpression$1"],
|
|
131085
131085
|
postprocess: ([o, [e, t]]) => ({
|
|
131086
131086
|
type: Qe.clause,
|
|
131087
131087
|
nameKw: os(o),
|
|
@@ -131090,7 +131090,7 @@ const St = new uY((o) => []), Bu = ([[o]]) => o, os = (o) => ({
|
|
|
131090
131090
|
},
|
|
131091
131091
|
{
|
|
131092
131092
|
name: "select_clause",
|
|
131093
|
-
symbols: [
|
|
131093
|
+
symbols: [Et.has("RESERVED_SELECT") ? { type: "RESERVED_SELECT" } : RESERVED_SELECT],
|
|
131094
131094
|
postprocess: ([o]) => ({
|
|
131095
131095
|
type: Qe.clause,
|
|
131096
131096
|
nameKw: os(o),
|
|
@@ -131099,14 +131099,14 @@ const St = new uY((o) => []), Bu = ([[o]]) => o, os = (o) => ({
|
|
|
131099
131099
|
},
|
|
131100
131100
|
{
|
|
131101
131101
|
name: "all_columns_asterisk",
|
|
131102
|
-
symbols: [
|
|
131102
|
+
symbols: [Et.has("ASTERISK") ? { type: "ASTERISK" } : ASTERISK],
|
|
131103
131103
|
postprocess: () => ({ type: Qe.all_columns_asterisk })
|
|
131104
131104
|
},
|
|
131105
131105
|
{ name: "other_clause$ebnf$1", symbols: [] },
|
|
131106
131106
|
{ name: "other_clause$ebnf$1", symbols: ["other_clause$ebnf$1", "free_form_sql"], postprocess: (o) => o[0].concat([o[1]]) },
|
|
131107
131107
|
{
|
|
131108
131108
|
name: "other_clause",
|
|
131109
|
-
symbols: [
|
|
131109
|
+
symbols: [Et.has("RESERVED_CLAUSE") ? { type: "RESERVED_CLAUSE" } : RESERVED_CLAUSE, "other_clause$ebnf$1"],
|
|
131110
131110
|
postprocess: ([o, e]) => ({
|
|
131111
131111
|
type: Qe.clause,
|
|
131112
131112
|
nameKw: os(o),
|
|
@@ -131117,7 +131117,7 @@ const St = new uY((o) => []), Bu = ([[o]]) => o, os = (o) => ({
|
|
|
131117
131117
|
{ name: "set_operation$ebnf$1", symbols: ["set_operation$ebnf$1", "free_form_sql"], postprocess: (o) => o[0].concat([o[1]]) },
|
|
131118
131118
|
{
|
|
131119
131119
|
name: "set_operation",
|
|
131120
|
-
symbols: [
|
|
131120
|
+
symbols: [Et.has("RESERVED_SET_OPERATION") ? { type: "RESERVED_SET_OPERATION" } : RESERVED_SET_OPERATION, "set_operation$ebnf$1"],
|
|
131121
131121
|
postprocess: ([o, e]) => ({
|
|
131122
131122
|
type: Qe.set_operation,
|
|
131123
131123
|
nameKw: os(o),
|
|
@@ -131190,7 +131190,7 @@ const St = new uY((o) => []), Bu = ([[o]]) => o, os = (o) => ({
|
|
|
131190
131190
|
{ name: "atomic_expression", symbols: ["atomic_expression$subexpression$1"], postprocess: Bu },
|
|
131191
131191
|
{
|
|
131192
131192
|
name: "array_subscript",
|
|
131193
|
-
symbols: [
|
|
131193
|
+
symbols: [Et.has("ARRAY_IDENTIFIER") ? { type: "ARRAY_IDENTIFIER" } : ARRAY_IDENTIFIER, "_", "square_brackets"],
|
|
131194
131194
|
postprocess: ([o, e, t]) => ({
|
|
131195
131195
|
type: Qe.array_subscript,
|
|
131196
131196
|
array: as({ type: Qe.identifier, quoted: !1, text: o.text }, { trailing: e }),
|
|
@@ -131199,7 +131199,7 @@ const St = new uY((o) => []), Bu = ([[o]]) => o, os = (o) => ({
|
|
|
131199
131199
|
},
|
|
131200
131200
|
{
|
|
131201
131201
|
name: "array_subscript",
|
|
131202
|
-
symbols: [
|
|
131202
|
+
symbols: [Et.has("ARRAY_KEYWORD") ? { type: "ARRAY_KEYWORD" } : ARRAY_KEYWORD, "_", "square_brackets"],
|
|
131203
131203
|
postprocess: ([o, e, t]) => ({
|
|
131204
131204
|
type: Qe.array_subscript,
|
|
131205
131205
|
array: as(os(o), { trailing: e }),
|
|
@@ -131208,7 +131208,7 @@ const St = new uY((o) => []), Bu = ([[o]]) => o, os = (o) => ({
|
|
|
131208
131208
|
},
|
|
131209
131209
|
{
|
|
131210
131210
|
name: "function_call",
|
|
131211
|
-
symbols: [
|
|
131211
|
+
symbols: [Et.has("RESERVED_FUNCTION_NAME") ? { type: "RESERVED_FUNCTION_NAME" } : RESERVED_FUNCTION_NAME, "_", "parenthesis"],
|
|
131212
131212
|
postprocess: ([o, e, t]) => ({
|
|
131213
131213
|
type: Qe.function_call,
|
|
131214
131214
|
nameKw: as(os(o), { trailing: e }),
|
|
@@ -131255,7 +131255,7 @@ const St = new uY((o) => []), Bu = ([[o]]) => o, os = (o) => ({
|
|
|
131255
131255
|
{ name: "property_access$subexpression$1", symbols: ["parameter"] },
|
|
131256
131256
|
{
|
|
131257
131257
|
name: "property_access",
|
|
131258
|
-
symbols: ["atomic_expression", "_",
|
|
131258
|
+
symbols: ["atomic_expression", "_", Et.has("PROPERTY_ACCESS_OPERATOR") ? { type: "PROPERTY_ACCESS_OPERATOR" } : PROPERTY_ACCESS_OPERATOR, "_", "property_access$subexpression$1"],
|
|
131259
131259
|
postprocess: (
|
|
131260
131260
|
// Allowing property to be <array_subscript> is currently a hack.
|
|
131261
131261
|
// A better way would be to allow <property_access> on the left side of array_subscript,
|
|
@@ -131271,7 +131271,7 @@ const St = new uY((o) => []), Bu = ([[o]]) => o, os = (o) => ({
|
|
|
131271
131271
|
},
|
|
131272
131272
|
{
|
|
131273
131273
|
name: "between_predicate",
|
|
131274
|
-
symbols: [
|
|
131274
|
+
symbols: [Et.has("BETWEEN") ? { type: "BETWEEN" } : BETWEEN, "_", "andless_expression_chain", "_", Et.has("AND") ? { type: "AND" } : AND, "_", "andless_expression"],
|
|
131275
131275
|
postprocess: ([o, e, t, i, n, s, r]) => ({
|
|
131276
131276
|
type: Qe.between_predicate,
|
|
131277
131277
|
betweenKw: os(o),
|
|
@@ -131286,7 +131286,7 @@ const St = new uY((o) => []), Bu = ([[o]]) => o, os = (o) => ({
|
|
|
131286
131286
|
{ name: "case_expression$ebnf$2", symbols: ["case_expression$ebnf$2", "case_clause"], postprocess: (o) => o[0].concat([o[1]]) },
|
|
131287
131287
|
{
|
|
131288
131288
|
name: "case_expression",
|
|
131289
|
-
symbols: [
|
|
131289
|
+
symbols: [Et.has("CASE") ? { type: "CASE" } : CASE, "_", "case_expression$ebnf$1", "case_expression$ebnf$2", Et.has("END") ? { type: "END" } : END],
|
|
131290
131290
|
postprocess: ([o, e, t, i, n]) => ({
|
|
131291
131291
|
type: Qe.case_expression,
|
|
131292
131292
|
caseKw: as(os(o), { trailing: e }),
|
|
@@ -131297,7 +131297,7 @@ const St = new uY((o) => []), Bu = ([[o]]) => o, os = (o) => ({
|
|
|
131297
131297
|
},
|
|
131298
131298
|
{
|
|
131299
131299
|
name: "case_clause",
|
|
131300
|
-
symbols: [
|
|
131300
|
+
symbols: [Et.has("WHEN") ? { type: "WHEN" } : WHEN, "_", "expression_chain_", Et.has("THEN") ? { type: "THEN" } : THEN, "_", "expression_chain_"],
|
|
131301
131301
|
postprocess: ([o, e, t, i, n, s]) => ({
|
|
131302
131302
|
type: Qe.case_when,
|
|
131303
131303
|
whenKw: as(os(o), { trailing: e }),
|
|
@@ -131308,42 +131308,42 @@ const St = new uY((o) => []), Bu = ([[o]]) => o, os = (o) => ({
|
|
|
131308
131308
|
},
|
|
131309
131309
|
{
|
|
131310
131310
|
name: "case_clause",
|
|
131311
|
-
symbols: [
|
|
131311
|
+
symbols: [Et.has("ELSE") ? { type: "ELSE" } : ELSE, "_", "expression_chain_"],
|
|
131312
131312
|
postprocess: ([o, e, t]) => ({
|
|
131313
131313
|
type: Qe.case_else,
|
|
131314
131314
|
elseKw: as(os(o), { trailing: e }),
|
|
131315
131315
|
result: t
|
|
131316
131316
|
})
|
|
131317
131317
|
},
|
|
131318
|
-
{ name: "comma$subexpression$1", symbols: [
|
|
131318
|
+
{ name: "comma$subexpression$1", symbols: [Et.has("COMMA") ? { type: "COMMA" } : COMMA] },
|
|
131319
131319
|
{ name: "comma", symbols: ["comma$subexpression$1"], postprocess: ([[o]]) => ({ type: Qe.comma }) },
|
|
131320
|
-
{ name: "asterisk$subexpression$1", symbols: [
|
|
131320
|
+
{ name: "asterisk$subexpression$1", symbols: [Et.has("ASTERISK") ? { type: "ASTERISK" } : ASTERISK] },
|
|
131321
131321
|
{ name: "asterisk", symbols: ["asterisk$subexpression$1"], postprocess: ([[o]]) => ({ type: Qe.operator, text: o.text }) },
|
|
131322
|
-
{ name: "operator$subexpression$1", symbols: [
|
|
131322
|
+
{ name: "operator$subexpression$1", symbols: [Et.has("OPERATOR") ? { type: "OPERATOR" } : OPERATOR] },
|
|
131323
131323
|
{ name: "operator", symbols: ["operator$subexpression$1"], postprocess: ([[o]]) => ({ type: Qe.operator, text: o.text }) },
|
|
131324
|
-
{ name: "identifier$subexpression$1", symbols: [
|
|
131325
|
-
{ name: "identifier$subexpression$1", symbols: [
|
|
131326
|
-
{ name: "identifier$subexpression$1", symbols: [
|
|
131324
|
+
{ name: "identifier$subexpression$1", symbols: [Et.has("IDENTIFIER") ? { type: "IDENTIFIER" } : IDENTIFIER] },
|
|
131325
|
+
{ name: "identifier$subexpression$1", symbols: [Et.has("QUOTED_IDENTIFIER") ? { type: "QUOTED_IDENTIFIER" } : QUOTED_IDENTIFIER] },
|
|
131326
|
+
{ name: "identifier$subexpression$1", symbols: [Et.has("VARIABLE") ? { type: "VARIABLE" } : VARIABLE] },
|
|
131327
131327
|
{ name: "identifier", symbols: ["identifier$subexpression$1"], postprocess: ([[o]]) => ({ type: Qe.identifier, quoted: o.type !== "IDENTIFIER", text: o.text }) },
|
|
131328
|
-
{ name: "parameter$subexpression$1", symbols: [
|
|
131329
|
-
{ name: "parameter$subexpression$1", symbols: [
|
|
131330
|
-
{ name: "parameter$subexpression$1", symbols: [
|
|
131331
|
-
{ name: "parameter$subexpression$1", symbols: [
|
|
131332
|
-
{ name: "parameter$subexpression$1", symbols: [
|
|
131328
|
+
{ name: "parameter$subexpression$1", symbols: [Et.has("NAMED_PARAMETER") ? { type: "NAMED_PARAMETER" } : NAMED_PARAMETER] },
|
|
131329
|
+
{ name: "parameter$subexpression$1", symbols: [Et.has("QUOTED_PARAMETER") ? { type: "QUOTED_PARAMETER" } : QUOTED_PARAMETER] },
|
|
131330
|
+
{ name: "parameter$subexpression$1", symbols: [Et.has("NUMBERED_PARAMETER") ? { type: "NUMBERED_PARAMETER" } : NUMBERED_PARAMETER] },
|
|
131331
|
+
{ name: "parameter$subexpression$1", symbols: [Et.has("POSITIONAL_PARAMETER") ? { type: "POSITIONAL_PARAMETER" } : POSITIONAL_PARAMETER] },
|
|
131332
|
+
{ name: "parameter$subexpression$1", symbols: [Et.has("CUSTOM_PARAMETER") ? { type: "CUSTOM_PARAMETER" } : CUSTOM_PARAMETER] },
|
|
131333
131333
|
{ name: "parameter", symbols: ["parameter$subexpression$1"], postprocess: ([[o]]) => ({ type: Qe.parameter, key: o.key, text: o.text }) },
|
|
131334
|
-
{ name: "literal$subexpression$1", symbols: [
|
|
131335
|
-
{ name: "literal$subexpression$1", symbols: [
|
|
131334
|
+
{ name: "literal$subexpression$1", symbols: [Et.has("NUMBER") ? { type: "NUMBER" } : NUMBER] },
|
|
131335
|
+
{ name: "literal$subexpression$1", symbols: [Et.has("STRING") ? { type: "STRING" } : STRING] },
|
|
131336
131336
|
{ name: "literal", symbols: ["literal$subexpression$1"], postprocess: ([[o]]) => ({ type: Qe.literal, text: o.text }) },
|
|
131337
|
-
{ name: "keyword$subexpression$1", symbols: [
|
|
131338
|
-
{ name: "keyword$subexpression$1", symbols: [
|
|
131339
|
-
{ name: "keyword$subexpression$1", symbols: [
|
|
131337
|
+
{ name: "keyword$subexpression$1", symbols: [Et.has("RESERVED_KEYWORD") ? { type: "RESERVED_KEYWORD" } : RESERVED_KEYWORD] },
|
|
131338
|
+
{ name: "keyword$subexpression$1", symbols: [Et.has("RESERVED_KEYWORD_PHRASE") ? { type: "RESERVED_KEYWORD_PHRASE" } : RESERVED_KEYWORD_PHRASE] },
|
|
131339
|
+
{ name: "keyword$subexpression$1", symbols: [Et.has("RESERVED_JOIN") ? { type: "RESERVED_JOIN" } : RESERVED_JOIN] },
|
|
131340
131340
|
{
|
|
131341
131341
|
name: "keyword",
|
|
131342
131342
|
symbols: ["keyword$subexpression$1"],
|
|
131343
131343
|
postprocess: ([[o]]) => os(o)
|
|
131344
131344
|
},
|
|
131345
|
-
{ name: "data_type$subexpression$1", symbols: [
|
|
131346
|
-
{ name: "data_type$subexpression$1", symbols: [
|
|
131345
|
+
{ name: "data_type$subexpression$1", symbols: [Et.has("RESERVED_DATA_TYPE") ? { type: "RESERVED_DATA_TYPE" } : RESERVED_DATA_TYPE] },
|
|
131346
|
+
{ name: "data_type$subexpression$1", symbols: [Et.has("RESERVED_DATA_TYPE_PHRASE") ? { type: "RESERVED_DATA_TYPE_PHRASE" } : RESERVED_DATA_TYPE_PHRASE] },
|
|
131347
131347
|
{
|
|
131348
131348
|
name: "data_type",
|
|
131349
131349
|
symbols: ["data_type$subexpression$1"],
|
|
@@ -131351,25 +131351,25 @@ const St = new uY((o) => []), Bu = ([[o]]) => o, os = (o) => ({
|
|
|
131351
131351
|
},
|
|
131352
131352
|
{
|
|
131353
131353
|
name: "data_type",
|
|
131354
|
-
symbols: [
|
|
131354
|
+
symbols: [Et.has("RESERVED_PARAMETERIZED_DATA_TYPE") ? { type: "RESERVED_PARAMETERIZED_DATA_TYPE" } : RESERVED_PARAMETERIZED_DATA_TYPE, "_", "parenthesis"],
|
|
131355
131355
|
postprocess: ([o, e, t]) => ({
|
|
131356
131356
|
type: Qe.parameterized_data_type,
|
|
131357
131357
|
dataType: as(b3(o), { trailing: e }),
|
|
131358
131358
|
parenthesis: t
|
|
131359
131359
|
})
|
|
131360
131360
|
},
|
|
131361
|
-
{ name: "logic_operator$subexpression$1", symbols: [
|
|
131362
|
-
{ name: "logic_operator$subexpression$1", symbols: [
|
|
131363
|
-
{ name: "logic_operator$subexpression$1", symbols: [
|
|
131361
|
+
{ name: "logic_operator$subexpression$1", symbols: [Et.has("AND") ? { type: "AND" } : AND] },
|
|
131362
|
+
{ name: "logic_operator$subexpression$1", symbols: [Et.has("OR") ? { type: "OR" } : OR] },
|
|
131363
|
+
{ name: "logic_operator$subexpression$1", symbols: [Et.has("XOR") ? { type: "XOR" } : XOR] },
|
|
131364
131364
|
{
|
|
131365
131365
|
name: "logic_operator",
|
|
131366
131366
|
symbols: ["logic_operator$subexpression$1"],
|
|
131367
131367
|
postprocess: ([[o]]) => os(o)
|
|
131368
131368
|
},
|
|
131369
|
-
{ name: "other_keyword$subexpression$1", symbols: [
|
|
131370
|
-
{ name: "other_keyword$subexpression$1", symbols: [
|
|
131371
|
-
{ name: "other_keyword$subexpression$1", symbols: [
|
|
131372
|
-
{ name: "other_keyword$subexpression$1", symbols: [
|
|
131369
|
+
{ name: "other_keyword$subexpression$1", symbols: [Et.has("WHEN") ? { type: "WHEN" } : WHEN] },
|
|
131370
|
+
{ name: "other_keyword$subexpression$1", symbols: [Et.has("THEN") ? { type: "THEN" } : THEN] },
|
|
131371
|
+
{ name: "other_keyword$subexpression$1", symbols: [Et.has("ELSE") ? { type: "ELSE" } : ELSE] },
|
|
131372
|
+
{ name: "other_keyword$subexpression$1", symbols: [Et.has("END") ? { type: "END" } : END] },
|
|
131373
131373
|
{
|
|
131374
131374
|
name: "other_keyword",
|
|
131375
131375
|
symbols: ["other_keyword$subexpression$1"],
|
|
@@ -131380,7 +131380,7 @@ const St = new uY((o) => []), Bu = ([[o]]) => o, os = (o) => ({
|
|
|
131380
131380
|
{ name: "_", symbols: ["_$ebnf$1"], postprocess: ([o]) => o },
|
|
131381
131381
|
{
|
|
131382
131382
|
name: "comment",
|
|
131383
|
-
symbols: [
|
|
131383
|
+
symbols: [Et.has("LINE_COMMENT") ? { type: "LINE_COMMENT" } : LINE_COMMENT],
|
|
131384
131384
|
postprocess: ([o]) => ({
|
|
131385
131385
|
type: Qe.line_comment,
|
|
131386
131386
|
text: o.text,
|
|
@@ -131389,7 +131389,7 @@ const St = new uY((o) => []), Bu = ([[o]]) => o, os = (o) => ({
|
|
|
131389
131389
|
},
|
|
131390
131390
|
{
|
|
131391
131391
|
name: "comment",
|
|
131392
|
-
symbols: [
|
|
131392
|
+
symbols: [Et.has("BLOCK_COMMENT") ? { type: "BLOCK_COMMENT" } : BLOCK_COMMENT],
|
|
131393
131393
|
postprocess: ([o]) => ({
|
|
131394
131394
|
type: Qe.block_comment,
|
|
131395
131395
|
text: o.text,
|
|
@@ -131398,7 +131398,7 @@ const St = new uY((o) => []), Bu = ([[o]]) => o, os = (o) => ({
|
|
|
131398
131398
|
},
|
|
131399
131399
|
{
|
|
131400
131400
|
name: "comment",
|
|
131401
|
-
symbols: [
|
|
131401
|
+
symbols: [Et.has("DISABLE_COMMENT") ? { type: "DISABLE_COMMENT" } : DISABLE_COMMENT],
|
|
131402
131402
|
postprocess: ([o]) => ({
|
|
131403
131403
|
type: Qe.disable_comment,
|
|
131404
131404
|
text: o.text,
|
|
@@ -132318,38 +132318,38 @@ const IDe = {
|
|
|
132318
132318
|
class: EY(["tuoyuan-code-editor", { "is-fullscreen": h.value }])
|
|
132319
132319
|
}, [
|
|
132320
132320
|
P.showToolbar ? (Oh(), xh("div", IDe, [
|
|
132321
|
-
|
|
132322
|
-
aB(
|
|
132321
|
+
It("div", LDe, [
|
|
132322
|
+
aB(It("select", {
|
|
132323
132323
|
"onUpdate:modelValue": H[0] || (H[0] = (Y) => u.value = Y),
|
|
132324
132324
|
class: "tuoyuan-code-editor__select",
|
|
132325
132325
|
title: "选择语言"
|
|
132326
132326
|
}, H[2] || (H[2] = [
|
|
132327
|
-
|
|
132328
|
-
|
|
132329
|
-
|
|
132327
|
+
It("option", { value: "javascript" }, "JavaScript", -1),
|
|
132328
|
+
It("option", { value: "json" }, "JSON", -1),
|
|
132329
|
+
It("option", { value: "sql" }, "SQL", -1)
|
|
132330
132330
|
]), 512), [
|
|
132331
132331
|
[lB, u.value]
|
|
132332
132332
|
]),
|
|
132333
|
-
aB(
|
|
132333
|
+
aB(It("select", {
|
|
132334
132334
|
"onUpdate:modelValue": H[1] || (H[1] = (Y) => g.value = Y),
|
|
132335
132335
|
class: "tuoyuan-code-editor__select",
|
|
132336
132336
|
title: "选择主题"
|
|
132337
132337
|
}, H[3] || (H[3] = [
|
|
132338
|
-
|
|
132339
|
-
|
|
132340
|
-
|
|
132338
|
+
It("option", { value: "vs" }, "浅色主题", -1),
|
|
132339
|
+
It("option", { value: "vs-dark" }, "深色主题", -1),
|
|
132340
|
+
It("option", { value: "hc-black" }, "高对比度", -1)
|
|
132341
132341
|
]), 512), [
|
|
132342
132342
|
[lB, g.value]
|
|
132343
132343
|
])
|
|
132344
132344
|
]),
|
|
132345
|
-
|
|
132346
|
-
|
|
132345
|
+
It("div", RDe, [
|
|
132346
|
+
It("button", {
|
|
132347
132347
|
class: "tuoyuan-code-editor__btn tuoyuan-code-editor__btn--primary",
|
|
132348
132348
|
onClick: T,
|
|
132349
132349
|
disabled: P.readonly,
|
|
132350
132350
|
title: "格式化代码"
|
|
132351
132351
|
}, " 美化代码 ", 8, ADe),
|
|
132352
|
-
|
|
132352
|
+
It("button", {
|
|
132353
132353
|
class: "tuoyuan-code-editor__btn",
|
|
132354
132354
|
onClick: b,
|
|
132355
132355
|
disabled: P.readonly,
|
|
@@ -132357,39 +132357,39 @@ const IDe = {
|
|
|
132357
132357
|
}, " 压缩代码 ", 8, wDe)
|
|
132358
132358
|
])
|
|
132359
132359
|
])) : yL("", !0),
|
|
132360
|
-
|
|
132360
|
+
It("div", {
|
|
132361
132361
|
ref_key: "containerRef",
|
|
132362
132362
|
ref: s,
|
|
132363
132363
|
class: "tuoyuan-code-editor__container"
|
|
132364
132364
|
}, null, 512),
|
|
132365
|
-
|
|
132366
|
-
|
|
132367
|
-
|
|
132368
|
-
H[6] || (H[6] =
|
|
132369
|
-
|
|
132370
|
-
H[4] || (H[4] =
|
|
132371
|
-
|
|
132365
|
+
It("div", NDe, [
|
|
132366
|
+
It("div", yDe, [
|
|
132367
|
+
It("span", DDe, "Ln " + b_(a.value) + ", Col " + b_(l.value), 1),
|
|
132368
|
+
H[6] || (H[6] = It("span", { class: "statusbar-separator" }, "|", -1)),
|
|
132369
|
+
It("span", ODe, [
|
|
132370
|
+
H[4] || (H[4] = It("span", { class: "statusbar-label" }, "总行数", -1)),
|
|
132371
|
+
It("span", xDe, b_(d.value), 1)
|
|
132372
132372
|
]),
|
|
132373
|
-
H[7] || (H[7] =
|
|
132374
|
-
|
|
132375
|
-
H[5] || (H[5] =
|
|
132376
|
-
|
|
132373
|
+
H[7] || (H[7] = It("span", { class: "statusbar-separator" }, "|", -1)),
|
|
132374
|
+
It("span", MDe, [
|
|
132375
|
+
H[5] || (H[5] = It("span", { class: "statusbar-label" }, "字符数", -1)),
|
|
132376
|
+
It("span", PDe, b_(c.value), 1)
|
|
132377
132377
|
])
|
|
132378
132378
|
]),
|
|
132379
|
-
|
|
132380
|
-
|
|
132379
|
+
It("div", kDe, [
|
|
132380
|
+
It("button", {
|
|
132381
132381
|
class: "statusbar-btn",
|
|
132382
132382
|
onClick: I,
|
|
132383
132383
|
title: "保存 (Ctrl+S)"
|
|
132384
132384
|
}, H[8] || (H[8] = [
|
|
132385
|
-
|
|
132386
|
-
|
|
132387
|
-
|
|
132385
|
+
It("span", { class: "statusbar-icon" }, "💾", -1),
|
|
132386
|
+
It("span", null, "保存代码", -1),
|
|
132387
|
+
It("span", { class: "statusbar-shortcut" }, "Ctrl + S", -1)
|
|
132388
132388
|
])),
|
|
132389
|
-
H[9] || (H[9] =
|
|
132390
|
-
|
|
132391
|
-
H[10] || (H[10] =
|
|
132392
|
-
H[11] || (H[11] =
|
|
132389
|
+
H[9] || (H[9] = It("span", { class: "statusbar-separator" }, "|", -1)),
|
|
132390
|
+
It("span", FDe, b_(P.language.toUpperCase()), 1),
|
|
132391
|
+
H[10] || (H[10] = It("span", { class: "statusbar-separator" }, "|", -1)),
|
|
132392
|
+
H[11] || (H[11] = It("span", { class: "statusbar-item" }, "UTF-8", -1))
|
|
132393
132393
|
])
|
|
132394
132394
|
])
|
|
132395
132395
|
], 2));
|
|
@@ -132408,6 +132408,7 @@ const IDe = {
|
|
|
132408
132408
|
props: {
|
|
132409
132409
|
modelValue: { default: "" },
|
|
132410
132410
|
height: { default: "400px" },
|
|
132411
|
+
width: { default: "100%" },
|
|
132411
132412
|
theme: { default: "vs-dark" },
|
|
132412
132413
|
readonly: { type: Boolean, default: !1 },
|
|
132413
132414
|
showToolbar: { type: Boolean, default: !0 },
|
|
@@ -132416,7 +132417,8 @@ const IDe = {
|
|
|
132416
132417
|
emits: ["update:modelValue", "change", "blur", "format", "minify", "save"],
|
|
132417
132418
|
setup(o, { expose: e, emit: t }) {
|
|
132418
132419
|
NL((S) => ({
|
|
132419
|
-
"
|
|
132420
|
+
"183cd378": S.height,
|
|
132421
|
+
"4befdd55": S.width
|
|
132420
132422
|
}));
|
|
132421
132423
|
const i = o, n = t, s = Pi(null), r = Pi(null), a = Pi(1), l = Pi(1), d = Pi(0), c = Pi(0), h = (S) => {
|
|
132422
132424
|
d.value = S.split(`
|
|
@@ -132538,17 +132540,15 @@ const IDe = {
|
|
|
132538
132540
|
r.value && et(r.value).dispose();
|
|
132539
132541
|
}), (S, C) => (Oh(), xh("div", HDe, [
|
|
132540
132542
|
S.showToolbar ? (Oh(), xh("div", WDe, [
|
|
132541
|
-
C[0] || (C[0] =
|
|
132542
|
-
|
|
132543
|
-
|
|
132544
|
-
mt("div", UDe, [
|
|
132545
|
-
mt("button", {
|
|
132543
|
+
C[0] || (C[0] = It("div", { class: "toolbar-left" }, null, -1)),
|
|
132544
|
+
It("div", UDe, [
|
|
132545
|
+
It("button", {
|
|
132546
132546
|
class: "javascript-editor__btn javascript-editor__btn--primary",
|
|
132547
132547
|
onClick: u,
|
|
132548
132548
|
disabled: S.readonly,
|
|
132549
132549
|
title: "格式化 JavaScript 代码"
|
|
132550
132550
|
}, " 美化代码 ", 8, VDe),
|
|
132551
|
-
|
|
132551
|
+
It("button", {
|
|
132552
132552
|
class: "javascript-editor__btn",
|
|
132553
132553
|
onClick: g,
|
|
132554
132554
|
disabled: S.readonly,
|
|
@@ -132556,14 +132556,14 @@ const IDe = {
|
|
|
132556
132556
|
}, " 压缩代码 ", 8, GDe)
|
|
132557
132557
|
])
|
|
132558
132558
|
])) : yL("", !0),
|
|
132559
|
-
|
|
132559
|
+
It("div", {
|
|
132560
132560
|
ref_key: "containerRef",
|
|
132561
132561
|
ref: s,
|
|
132562
132562
|
class: "javascript-editor__container"
|
|
132563
132563
|
}, null, 512)
|
|
132564
132564
|
]));
|
|
132565
132565
|
}
|
|
132566
|
-
}), n2e = /* @__PURE__ */ i1(zDe, [["__scopeId", "data-v-
|
|
132566
|
+
}), n2e = /* @__PURE__ */ i1(zDe, [["__scopeId", "data-v-595f0897"]]), $De = { class: "json-editor" }, KDe = {
|
|
132567
132567
|
key: 0,
|
|
132568
132568
|
class: "json-editor__toolbar"
|
|
132569
132569
|
}, YDe = { class: "toolbar-right" }, qDe = ["disabled"], jDe = ["disabled"], XDe = /* @__PURE__ */ wL({
|
|
@@ -132572,6 +132572,7 @@ const IDe = {
|
|
|
132572
132572
|
props: {
|
|
132573
132573
|
modelValue: { default: "" },
|
|
132574
132574
|
height: { default: "400px" },
|
|
132575
|
+
width: { default: "100%" },
|
|
132575
132576
|
theme: { default: "vs-dark" },
|
|
132576
132577
|
readonly: { type: Boolean, default: !1 },
|
|
132577
132578
|
showToolbar: { type: Boolean, default: !0 },
|
|
@@ -132580,7 +132581,8 @@ const IDe = {
|
|
|
132580
132581
|
emits: ["update:modelValue", "change", "blur", "format", "minify", "save", "validate"],
|
|
132581
132582
|
setup(o, { expose: e, emit: t }) {
|
|
132582
132583
|
NL((v) => ({
|
|
132583
|
-
|
|
132584
|
+
"4a566bb5": v.height,
|
|
132585
|
+
"6653c978": v.width
|
|
132584
132586
|
}));
|
|
132585
132587
|
const i = o, n = t, s = Pi(null), r = Pi(null), a = Pi(1), l = Pi(1), d = Pi(0), c = Pi(0), h = Pi(!0), u = (v) => {
|
|
132586
132588
|
d.value = v.split(`
|
|
@@ -132718,37 +132720,30 @@ ${v.message}`), !1;
|
|
|
132718
132720
|
r.value && et(r.value).dispose();
|
|
132719
132721
|
}), (v, T) => (Oh(), xh("div", $De, [
|
|
132720
132722
|
v.showToolbar ? (Oh(), xh("div", KDe, [
|
|
132721
|
-
T[0] || (T[0] =
|
|
132722
|
-
|
|
132723
|
-
|
|
132724
|
-
mt("div", YDe, [
|
|
132725
|
-
mt("button", {
|
|
132723
|
+
T[0] || (T[0] = It("div", { class: "toolbar-left" }, null, -1)),
|
|
132724
|
+
It("div", YDe, [
|
|
132725
|
+
It("button", {
|
|
132726
132726
|
class: "json-editor__btn json-editor__btn--primary",
|
|
132727
132727
|
onClick: g,
|
|
132728
132728
|
disabled: v.readonly,
|
|
132729
132729
|
title: "格式化 JSON 代码"
|
|
132730
132730
|
}, " 美化代码 ", 8, qDe),
|
|
132731
|
-
|
|
132731
|
+
It("button", {
|
|
132732
132732
|
class: "json-editor__btn",
|
|
132733
132733
|
onClick: f,
|
|
132734
132734
|
disabled: v.readonly,
|
|
132735
132735
|
title: "压缩 JSON 代码"
|
|
132736
|
-
}, " 压缩代码 ", 8, jDe)
|
|
132737
|
-
mt("button", {
|
|
132738
|
-
class: "json-editor__btn",
|
|
132739
|
-
onClick: m,
|
|
132740
|
-
title: "验证 JSON 格式"
|
|
132741
|
-
}, " 验证格式 ")
|
|
132736
|
+
}, " 压缩代码 ", 8, jDe)
|
|
132742
132737
|
])
|
|
132743
132738
|
])) : yL("", !0),
|
|
132744
|
-
|
|
132739
|
+
It("div", {
|
|
132745
132740
|
ref_key: "containerRef",
|
|
132746
132741
|
ref: s,
|
|
132747
132742
|
class: "json-editor__container"
|
|
132748
132743
|
}, null, 512)
|
|
132749
132744
|
]));
|
|
132750
132745
|
}
|
|
132751
|
-
}), s2e = /* @__PURE__ */ i1(XDe, [["__scopeId", "data-v-
|
|
132746
|
+
}), s2e = /* @__PURE__ */ i1(XDe, [["__scopeId", "data-v-38e09abb"]]), JDe = { class: "sql-editor" }, ZDe = {
|
|
132752
132747
|
key: 0,
|
|
132753
132748
|
class: "sql-editor__toolbar"
|
|
132754
132749
|
}, QDe = { class: "toolbar-right" }, eOe = ["disabled"], tOe = ["disabled"], iOe = /* @__PURE__ */ wL({
|
|
@@ -132757,6 +132752,7 @@ ${v.message}`), !1;
|
|
|
132757
132752
|
props: {
|
|
132758
132753
|
modelValue: { default: "" },
|
|
132759
132754
|
height: { default: "400px" },
|
|
132755
|
+
width: { default: "100%" },
|
|
132760
132756
|
theme: { default: "vs-dark" },
|
|
132761
132757
|
readonly: { type: Boolean, default: !1 },
|
|
132762
132758
|
showToolbar: { type: Boolean, default: !0 },
|
|
@@ -132765,7 +132761,8 @@ ${v.message}`), !1;
|
|
|
132765
132761
|
emits: ["update:modelValue", "change", "blur", "format", "minify", "save"],
|
|
132766
132762
|
setup(o, { expose: e, emit: t }) {
|
|
132767
132763
|
NL((S) => ({
|
|
132768
|
-
|
|
132764
|
+
"3b13bceb": S.height,
|
|
132765
|
+
"7ea70cfc": S.width
|
|
132769
132766
|
}));
|
|
132770
132767
|
const i = o, n = t, s = Pi(null), r = Pi(null), a = Pi(1), l = Pi(1), d = Pi(0), c = Pi(0), h = (S) => {
|
|
132771
132768
|
d.value = S.split(`
|
|
@@ -132887,17 +132884,15 @@ ${v.message}`), !1;
|
|
|
132887
132884
|
r.value && et(r.value).dispose();
|
|
132888
132885
|
}), (S, C) => (Oh(), xh("div", JDe, [
|
|
132889
132886
|
S.showToolbar ? (Oh(), xh("div", ZDe, [
|
|
132890
|
-
C[0] || (C[0] =
|
|
132891
|
-
|
|
132892
|
-
|
|
132893
|
-
mt("div", QDe, [
|
|
132894
|
-
mt("button", {
|
|
132887
|
+
C[0] || (C[0] = It("div", { class: "toolbar-left" }, null, -1)),
|
|
132888
|
+
It("div", QDe, [
|
|
132889
|
+
It("button", {
|
|
132895
132890
|
class: "sql-editor__btn sql-editor__btn--primary",
|
|
132896
132891
|
onClick: u,
|
|
132897
132892
|
disabled: S.readonly,
|
|
132898
132893
|
title: "格式化 SQL 代码"
|
|
132899
132894
|
}, " 美化代码 ", 8, eOe),
|
|
132900
|
-
|
|
132895
|
+
It("button", {
|
|
132901
132896
|
class: "sql-editor__btn",
|
|
132902
132897
|
onClick: g,
|
|
132903
132898
|
disabled: S.readonly,
|
|
@@ -132905,14 +132900,14 @@ ${v.message}`), !1;
|
|
|
132905
132900
|
}, " 压缩代码 ", 8, tOe)
|
|
132906
132901
|
])
|
|
132907
132902
|
])) : yL("", !0),
|
|
132908
|
-
|
|
132903
|
+
It("div", {
|
|
132909
132904
|
ref_key: "containerRef",
|
|
132910
132905
|
ref: s,
|
|
132911
132906
|
class: "sql-editor__container"
|
|
132912
132907
|
}, null, 512)
|
|
132913
132908
|
]));
|
|
132914
132909
|
}
|
|
132915
|
-
}), o2e = /* @__PURE__ */ i1(iOe, [["__scopeId", "data-v-
|
|
132910
|
+
}), o2e = /* @__PURE__ */ i1(iOe, [["__scopeId", "data-v-51b2dd57"]]);
|
|
132916
132911
|
export {
|
|
132917
132912
|
i2e as C,
|
|
132918
132913
|
n2e as J,
|