@jxsuite/studio 0.29.0 → 0.31.0
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/studio.css +98 -98
- package/dist/studio.js +4628 -2543
- package/dist/studio.js.map +58 -32
- package/dist/workers/editor.worker.js +79 -79
- package/dist/workers/json.worker.js +109 -109
- package/dist/workers/ts.worker.js +82 -82
- package/package.json +13 -11
- package/src/about/about-modal.ts +156 -0
- package/src/editor/context-menu.ts +4 -2
- package/src/files/files.ts +50 -18
- package/src/files/fs-events.ts +162 -0
- package/src/packages/ensure-deps.ts +39 -0
- package/src/packages/jxsuite-update.ts +131 -0
- package/src/packages/semver.ts +54 -0
- package/src/panels/activity-bar.ts +13 -1
- package/src/panels/ai-panel.ts +3 -1
- package/src/panels/dnd.ts +2 -2
- package/src/panels/elements-panel.ts +2 -1
- package/src/panels/layers-panel.ts +5 -1
- package/src/panels/preview-render.ts +1 -1
- package/src/panels/properties-panel.ts +20 -14
- package/src/panels/signals-panel.ts +29 -18
- package/src/panels/style-panel.ts +2 -2
- package/src/panels/stylebook-layers-panel.ts +5 -5
- package/src/panels/stylebook-panel.ts +1 -1
- package/src/platforms/devserver.ts +92 -2
- package/src/settings/dependencies-editor.ts +262 -0
- package/src/settings/general-settings.ts +5 -3
- package/src/settings/settings-modal.ts +6 -0
- package/src/studio.ts +21 -2
- package/src/tabs/tab.ts +10 -4
- package/src/types.ts +82 -1
- package/src/ui/expression-editor.ts +4 -3
- package/src/ui/field-input.ts +1 -1
- package/src/ui/media-picker.ts +1 -1
- package/src/ui/panel-resize.ts +8 -7
- package/src/ui/progress-modal.ts +94 -0
- package/src/ui/spectrum.ts +4 -0
- package/src/ui/unit-selector.ts +3 -0
- package/src/utils/canvas-media.ts +3 -3
- package/src/version.ts +34 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ../../node_modules
|
|
1
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/errors.js
|
|
2
2
|
class ErrorHandler {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.listeners = [];
|
|
@@ -94,7 +94,7 @@ class BugIndicatingError extends Error {
|
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
// ../../node_modules
|
|
97
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/assert.js
|
|
98
98
|
function assertNever(value, message = "Unreachable") {
|
|
99
99
|
throw new Error(message);
|
|
100
100
|
}
|
|
@@ -124,7 +124,7 @@ function checkAdjacentItems(items, predicate) {
|
|
|
124
124
|
return true;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
// ../../node_modules
|
|
127
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/types.js
|
|
128
128
|
function isString(str) {
|
|
129
129
|
return typeof str === "string";
|
|
130
130
|
}
|
|
@@ -132,7 +132,7 @@ function isIterable(obj) {
|
|
|
132
132
|
return !!obj && typeof obj[Symbol.iterator] === "function";
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
// ../../node_modules
|
|
135
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/iterator.js
|
|
136
136
|
var Iterable;
|
|
137
137
|
(function(Iterable2) {
|
|
138
138
|
function is(thing) {
|
|
@@ -304,7 +304,7 @@ var Iterable;
|
|
|
304
304
|
Iterable2.asyncToArrayFlat = asyncToArrayFlat;
|
|
305
305
|
})(Iterable || (Iterable = {}));
|
|
306
306
|
|
|
307
|
-
// ../../node_modules
|
|
307
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/lifecycle.js
|
|
308
308
|
function setParentOfDisposable(child, parent) {}
|
|
309
309
|
function dispose(arg) {
|
|
310
310
|
if (Iterable.is(arg)) {
|
|
@@ -429,7 +429,7 @@ class Disposable {
|
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
431
|
|
|
432
|
-
// ../../node_modules
|
|
432
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/linkedList.js
|
|
433
433
|
class Node {
|
|
434
434
|
static {
|
|
435
435
|
this.Undefined = new Node(undefined);
|
|
@@ -540,7 +540,7 @@ class LinkedList {
|
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
542
|
|
|
543
|
-
// ../../node_modules
|
|
543
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/stopwatch.js
|
|
544
544
|
var performanceNow = globalThis.performance.now.bind(globalThis.performance);
|
|
545
545
|
|
|
546
546
|
class StopWatch {
|
|
@@ -567,7 +567,7 @@ class StopWatch {
|
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
569
|
|
|
570
|
-
// ../../node_modules
|
|
570
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/event.js
|
|
571
571
|
var Event;
|
|
572
572
|
(function(Event2) {
|
|
573
573
|
Event2.None = () => Disposable.None;
|
|
@@ -1259,7 +1259,7 @@ class EventDeliveryQueuePrivate {
|
|
|
1259
1259
|
}
|
|
1260
1260
|
}
|
|
1261
1261
|
|
|
1262
|
-
// ../../node_modules
|
|
1262
|
+
// ../../node_modules/monaco-editor/esm/vs/nls.messages.js
|
|
1263
1263
|
function getNLSMessages() {
|
|
1264
1264
|
return globalThis._VSCODE_NLS_MESSAGES;
|
|
1265
1265
|
}
|
|
@@ -1267,7 +1267,7 @@ function getNLSLanguage() {
|
|
|
1267
1267
|
return globalThis._VSCODE_NLS_LANGUAGE;
|
|
1268
1268
|
}
|
|
1269
1269
|
|
|
1270
|
-
// ../../node_modules
|
|
1270
|
+
// ../../node_modules/monaco-editor/esm/vs/nls.js
|
|
1271
1271
|
var isPseudo = getNLSLanguage() === "pseudo" || typeof document !== "undefined" && document.location && typeof document.location.hash === "string" && document.location.hash.indexOf("pseudo=true") >= 0;
|
|
1272
1272
|
function _format(message, args) {
|
|
1273
1273
|
let result;
|
|
@@ -1308,7 +1308,7 @@ function lookupMessage(index, fallback) {
|
|
|
1308
1308
|
return message;
|
|
1309
1309
|
}
|
|
1310
1310
|
|
|
1311
|
-
// ../../node_modules
|
|
1311
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/platform.js
|
|
1312
1312
|
var LANGUAGE_DEFAULT = "en";
|
|
1313
1313
|
var _isWindows = false;
|
|
1314
1314
|
var _isMacintosh = false;
|
|
@@ -1411,7 +1411,7 @@ var isSafari = !!(!isChrome && (userAgent && userAgent.indexOf("Safari") >= 0));
|
|
|
1411
1411
|
var isEdge = !!(userAgent && userAgent.indexOf("Edg/") >= 0);
|
|
1412
1412
|
var isAndroid = !!(userAgent && userAgent.indexOf("Android") >= 0);
|
|
1413
1413
|
|
|
1414
|
-
// ../../node_modules
|
|
1414
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/cache.js
|
|
1415
1415
|
function identity(t) {
|
|
1416
1416
|
return t;
|
|
1417
1417
|
}
|
|
@@ -1438,7 +1438,7 @@ class LRUCachedFunction {
|
|
|
1438
1438
|
}
|
|
1439
1439
|
}
|
|
1440
1440
|
|
|
1441
|
-
// ../../node_modules
|
|
1441
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/lazy.js
|
|
1442
1442
|
var LazyValueState;
|
|
1443
1443
|
(function(LazyValueState2) {
|
|
1444
1444
|
LazyValueState2[LazyValueState2["Uninitialized"] = 0] = "Uninitialized";
|
|
@@ -1474,7 +1474,7 @@ class Lazy {
|
|
|
1474
1474
|
}
|
|
1475
1475
|
}
|
|
1476
1476
|
|
|
1477
|
-
// ../../node_modules
|
|
1477
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/strings.js
|
|
1478
1478
|
function escapeRegExpCharacters(value) {
|
|
1479
1479
|
return value.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g, "\\$&");
|
|
1480
1480
|
}
|
|
@@ -1692,7 +1692,7 @@ class InvisibleCharacters {
|
|
|
1692
1692
|
}
|
|
1693
1693
|
}
|
|
1694
1694
|
|
|
1695
|
-
// ../../node_modules
|
|
1695
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/worker/webWorker.js
|
|
1696
1696
|
var DEFAULT_CHANNEL = "default";
|
|
1697
1697
|
var INITIALIZE = "$initialize";
|
|
1698
1698
|
class RequestMessage {
|
|
@@ -1977,7 +1977,7 @@ class WebWorkerServer {
|
|
|
1977
1977
|
}
|
|
1978
1978
|
}
|
|
1979
1979
|
|
|
1980
|
-
// ../../node_modules
|
|
1980
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/worker/webWorkerBootstrap.js
|
|
1981
1981
|
var initialized = false;
|
|
1982
1982
|
function initialize(factory) {
|
|
1983
1983
|
if (initialized) {
|
|
@@ -1991,7 +1991,7 @@ function initialize(factory) {
|
|
|
1991
1991
|
return webWorkerServer;
|
|
1992
1992
|
}
|
|
1993
1993
|
|
|
1994
|
-
// ../../node_modules
|
|
1994
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/diff/diffChange.js
|
|
1995
1995
|
class DiffChange {
|
|
1996
1996
|
constructor(originalStart, originalLength, modifiedStart, modifiedLength) {
|
|
1997
1997
|
this.originalStart = originalStart;
|
|
@@ -2007,7 +2007,7 @@ class DiffChange {
|
|
|
2007
2007
|
}
|
|
2008
2008
|
}
|
|
2009
2009
|
|
|
2010
|
-
// ../../node_modules
|
|
2010
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/buffer.js
|
|
2011
2011
|
var hasBuffer = typeof Buffer !== "undefined";
|
|
2012
2012
|
new Lazy(() => new Uint8Array(256));
|
|
2013
2013
|
var textDecoder;
|
|
@@ -2045,7 +2045,7 @@ function encodeHex({ buffer }) {
|
|
|
2045
2045
|
return result;
|
|
2046
2046
|
}
|
|
2047
2047
|
|
|
2048
|
-
// ../../node_modules
|
|
2048
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/hash.js
|
|
2049
2049
|
function numberHash(val, initialHashVal) {
|
|
2050
2050
|
return (initialHashVal << 5) - initialHashVal + val | 0;
|
|
2051
2051
|
}
|
|
@@ -2227,7 +2227,7 @@ class StringSHA1 {
|
|
|
2227
2227
|
}
|
|
2228
2228
|
}
|
|
2229
2229
|
|
|
2230
|
-
// ../../node_modules
|
|
2230
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/diff/diff.js
|
|
2231
2231
|
class StringDiffSequence {
|
|
2232
2232
|
constructor(source) {
|
|
2233
2233
|
this.source = source;
|
|
@@ -2863,7 +2863,7 @@ class LcsDiff {
|
|
|
2863
2863
|
}
|
|
2864
2864
|
}
|
|
2865
2865
|
|
|
2866
|
-
// ../../node_modules
|
|
2866
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/core/position.js
|
|
2867
2867
|
class Position {
|
|
2868
2868
|
constructor(lineNumber, column) {
|
|
2869
2869
|
this.lineNumber = lineNumber;
|
|
@@ -2942,7 +2942,7 @@ class Position {
|
|
|
2942
2942
|
}
|
|
2943
2943
|
}
|
|
2944
2944
|
|
|
2945
|
-
// ../../node_modules
|
|
2945
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/core/range.js
|
|
2946
2946
|
class Range {
|
|
2947
2947
|
constructor(startLineNumber, startColumn, endLineNumber, endColumn) {
|
|
2948
2948
|
if (startLineNumber > endLineNumber || startLineNumber === endLineNumber && startColumn > endColumn) {
|
|
@@ -3220,7 +3220,7 @@ class Range {
|
|
|
3220
3220
|
}
|
|
3221
3221
|
}
|
|
3222
3222
|
|
|
3223
|
-
// ../../node_modules
|
|
3223
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/uint.js
|
|
3224
3224
|
function toUint8(v) {
|
|
3225
3225
|
if (v < 0) {
|
|
3226
3226
|
return 0;
|
|
@@ -3240,7 +3240,7 @@ function toUint32(v) {
|
|
|
3240
3240
|
return v | 0;
|
|
3241
3241
|
}
|
|
3242
3242
|
|
|
3243
|
-
// ../../node_modules
|
|
3243
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier.js
|
|
3244
3244
|
class CharacterClassifier {
|
|
3245
3245
|
constructor(_defaultValue) {
|
|
3246
3246
|
const defaultValue = toUint8(_defaultValue);
|
|
@@ -3274,7 +3274,7 @@ class CharacterClassifier {
|
|
|
3274
3274
|
}
|
|
3275
3275
|
}
|
|
3276
3276
|
|
|
3277
|
-
// ../../node_modules
|
|
3277
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/languages/linkComputer.js
|
|
3278
3278
|
class Uint8Matrix {
|
|
3279
3279
|
constructor(rows, cols, defaultValue) {
|
|
3280
3280
|
const data = new Uint8Array(rows * cols);
|
|
@@ -3510,7 +3510,7 @@ function computeLinks(model) {
|
|
|
3510
3510
|
return LinkComputer.computeLinks(model);
|
|
3511
3511
|
}
|
|
3512
3512
|
|
|
3513
|
-
// ../../node_modules
|
|
3513
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/languages/supports/inplaceReplaceSupport.js
|
|
3514
3514
|
class BasicInplaceReplace {
|
|
3515
3515
|
constructor() {
|
|
3516
3516
|
this._defaultValueSet = [
|
|
@@ -3591,7 +3591,7 @@ class BasicInplaceReplace {
|
|
|
3591
3591
|
}
|
|
3592
3592
|
}
|
|
3593
3593
|
|
|
3594
|
-
// ../../node_modules
|
|
3594
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/cancellation.js
|
|
3595
3595
|
var shortcutEvent = Object.freeze(function(callback, context) {
|
|
3596
3596
|
const handle = setTimeout(callback.bind(context), 0);
|
|
3597
3597
|
return { dispose() {
|
|
@@ -3689,7 +3689,7 @@ class CancellationTokenSource {
|
|
|
3689
3689
|
}
|
|
3690
3690
|
}
|
|
3691
3691
|
|
|
3692
|
-
// ../../node_modules
|
|
3692
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/keyCodes.js
|
|
3693
3693
|
class KeyCodeStrMap {
|
|
3694
3694
|
constructor() {
|
|
3695
3695
|
this._keyCodeToStr = [];
|
|
@@ -4020,7 +4020,7 @@ function KeyChord(firstPart, secondPart) {
|
|
|
4020
4020
|
return (firstPart | chordPart) >>> 0;
|
|
4021
4021
|
}
|
|
4022
4022
|
|
|
4023
|
-
// ../../node_modules
|
|
4023
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/process.js
|
|
4024
4024
|
var safeProcess;
|
|
4025
4025
|
var vscodeGlobal = globalThis.vscode;
|
|
4026
4026
|
if (typeof vscodeGlobal !== "undefined" && typeof vscodeGlobal.process !== "undefined") {
|
|
@@ -4074,7 +4074,7 @@ var cwd = safeProcess.cwd;
|
|
|
4074
4074
|
var env = safeProcess.env;
|
|
4075
4075
|
var platform = safeProcess.platform;
|
|
4076
4076
|
|
|
4077
|
-
// ../../node_modules
|
|
4077
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/path.js
|
|
4078
4078
|
var CHAR_UPPERCASE_A = 65;
|
|
4079
4079
|
var CHAR_LOWERCASE_A = 97;
|
|
4080
4080
|
var CHAR_UPPERCASE_Z = 90;
|
|
@@ -5155,7 +5155,7 @@ var basename = platformIsWin32 ? win32.basename : posix.basename;
|
|
|
5155
5155
|
var extname = platformIsWin32 ? win32.extname : posix.extname;
|
|
5156
5156
|
var sep = platformIsWin32 ? win32.sep : posix.sep;
|
|
5157
5157
|
|
|
5158
|
-
// ../../node_modules
|
|
5158
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/uri.js
|
|
5159
5159
|
var _schemePattern = /^\w[\w\d+.-]*$/;
|
|
5160
5160
|
var _singleSlashStart = /^\//;
|
|
5161
5161
|
var _doubleSlashStart = /^\/\//;
|
|
@@ -5547,7 +5547,7 @@ function percentDecode(str) {
|
|
|
5547
5547
|
return str.replace(_rEncodedAsHex, (match) => decodeURIComponentGraceful(match));
|
|
5548
5548
|
}
|
|
5549
5549
|
|
|
5550
|
-
// ../../node_modules
|
|
5550
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/core/selection.js
|
|
5551
5551
|
class Selection extends Range {
|
|
5552
5552
|
constructor(selectionStartLineNumber, selectionStartColumn, positionLineNumber, positionColumn) {
|
|
5553
5553
|
super(selectionStartLineNumber, selectionStartColumn, positionLineNumber, positionColumn);
|
|
@@ -5630,7 +5630,7 @@ class Selection extends Range {
|
|
|
5630
5630
|
}
|
|
5631
5631
|
}
|
|
5632
5632
|
|
|
5633
|
-
// ../../node_modules
|
|
5633
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/codiconsUtil.js
|
|
5634
5634
|
var _codiconFontCharacters = Object.create(null);
|
|
5635
5635
|
function register(id, fontCharacter) {
|
|
5636
5636
|
if (isString(fontCharacter)) {
|
|
@@ -5644,7 +5644,7 @@ function register(id, fontCharacter) {
|
|
|
5644
5644
|
return { id };
|
|
5645
5645
|
}
|
|
5646
5646
|
|
|
5647
|
-
// ../../node_modules
|
|
5647
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/codiconsLibrary.js
|
|
5648
5648
|
var codiconsLibrary = {
|
|
5649
5649
|
add: register("add", 60000),
|
|
5650
5650
|
plus: register("plus", 60000),
|
|
@@ -6277,7 +6277,7 @@ var codiconsLibrary = {
|
|
|
6277
6277
|
terminalGitBash: register("terminal-git-bash", 60529)
|
|
6278
6278
|
};
|
|
6279
6279
|
|
|
6280
|
-
// ../../node_modules
|
|
6280
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/codicons.js
|
|
6281
6281
|
var codiconsDerived = {
|
|
6282
6282
|
dialogError: register("dialog-error", "error"),
|
|
6283
6283
|
dialogWarning: register("dialog-warning", "warning"),
|
|
@@ -6313,7 +6313,7 @@ var Codicon = {
|
|
|
6313
6313
|
...codiconsDerived
|
|
6314
6314
|
};
|
|
6315
6315
|
|
|
6316
|
-
// ../../node_modules
|
|
6316
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/tokenizationRegistry.js
|
|
6317
6317
|
class TokenizationRegistry {
|
|
6318
6318
|
constructor() {
|
|
6319
6319
|
this._tokenizationSupports = new Map;
|
|
@@ -6428,7 +6428,7 @@ class TokenizationSupportFactoryData extends Disposable {
|
|
|
6428
6428
|
}
|
|
6429
6429
|
}
|
|
6430
6430
|
|
|
6431
|
-
// ../../node_modules
|
|
6431
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/languages.js
|
|
6432
6432
|
class Token {
|
|
6433
6433
|
constructor(offset, type, language) {
|
|
6434
6434
|
this.offset = offset;
|
|
@@ -6781,7 +6781,7 @@ var InlayHintKind;
|
|
|
6781
6781
|
})(InlayHintKind || (InlayHintKind = {}));
|
|
6782
6782
|
var TokenizationRegistry2 = new TokenizationRegistry;
|
|
6783
6783
|
|
|
6784
|
-
// ../../node_modules
|
|
6784
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/standalone/standaloneEnums.js
|
|
6785
6785
|
var AccessibilitySupport;
|
|
6786
6786
|
(function(AccessibilitySupport2) {
|
|
6787
6787
|
AccessibilitySupport2[AccessibilitySupport2["Unknown"] = 0] = "Unknown";
|
|
@@ -7434,7 +7434,7 @@ var WrappingIndent;
|
|
|
7434
7434
|
WrappingIndent2[WrappingIndent2["DeepIndent"] = 3] = "DeepIndent";
|
|
7435
7435
|
})(WrappingIndent || (WrappingIndent = {}));
|
|
7436
7436
|
|
|
7437
|
-
// ../../node_modules
|
|
7437
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/services/editorBaseApi.js
|
|
7438
7438
|
class KeyMod {
|
|
7439
7439
|
static {
|
|
7440
7440
|
this.CtrlCmd = 2048;
|
|
@@ -7471,7 +7471,7 @@ function createMonacoBaseAPI() {
|
|
|
7471
7471
|
};
|
|
7472
7472
|
}
|
|
7473
7473
|
|
|
7474
|
-
// ../../node_modules
|
|
7474
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/map.js
|
|
7475
7475
|
var _a;
|
|
7476
7476
|
var _b;
|
|
7477
7477
|
var _c;
|
|
@@ -8011,10 +8011,10 @@ class SetMap {
|
|
|
8011
8011
|
}
|
|
8012
8012
|
}
|
|
8013
8013
|
|
|
8014
|
-
// ../../node_modules
|
|
8014
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/core/wordCharacterClassifier.js
|
|
8015
8015
|
var wordClassifierCache = new LRUCache(10);
|
|
8016
8016
|
|
|
8017
|
-
// ../../node_modules
|
|
8017
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/model.js
|
|
8018
8018
|
var OverviewRulerLane2;
|
|
8019
8019
|
(function(OverviewRulerLane3) {
|
|
8020
8020
|
OverviewRulerLane3[OverviewRulerLane3["Left"] = 1] = "Left";
|
|
@@ -8041,7 +8041,7 @@ var InjectedTextCursorStops2;
|
|
|
8041
8041
|
InjectedTextCursorStops3[InjectedTextCursorStops3["None"] = 3] = "None";
|
|
8042
8042
|
})(InjectedTextCursorStops2 || (InjectedTextCursorStops2 = {}));
|
|
8043
8043
|
|
|
8044
|
-
// ../../node_modules
|
|
8044
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/model/textModelSearch.js
|
|
8045
8045
|
function isMultilineRegexSource(searchString) {
|
|
8046
8046
|
if (!searchString || searchString.length === 0) {
|
|
8047
8047
|
return false;
|
|
@@ -8152,7 +8152,7 @@ class Searcher {
|
|
|
8152
8152
|
}
|
|
8153
8153
|
}
|
|
8154
8154
|
|
|
8155
|
-
// ../../node_modules
|
|
8155
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/core/wordHelper.js
|
|
8156
8156
|
var USUAL_WORD_SEPARATORS = "`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";
|
|
8157
8157
|
function createWordRegExp(allowInWords = "") {
|
|
8158
8158
|
let source = "(-?\\d*\\.\\d\\w*)|([^";
|
|
@@ -8253,7 +8253,7 @@ function _findRegexMatchEnclosingPosition(wordDefinition, text, pos, stopPos) {
|
|
|
8253
8253
|
return null;
|
|
8254
8254
|
}
|
|
8255
8255
|
|
|
8256
|
-
// ../../node_modules
|
|
8256
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/services/unicodeTextModelHighlighter.js
|
|
8257
8257
|
class UnicodeTextModelHighlighter {
|
|
8258
8258
|
static computeUnicodeHighlights(model, options, range) {
|
|
8259
8259
|
const startLine = range ? range.startLineNumber : 1;
|
|
@@ -8422,7 +8422,7 @@ function isAllowedInvisibleCharacter(character) {
|
|
|
8422
8422
|
` || character === "\t";
|
|
8423
8423
|
}
|
|
8424
8424
|
|
|
8425
|
-
// ../../node_modules
|
|
8425
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/diff/linesDiffComputer.js
|
|
8426
8426
|
class LinesDiff {
|
|
8427
8427
|
constructor(changes, moves, hitTimeout) {
|
|
8428
8428
|
this.changes = changes;
|
|
@@ -8438,7 +8438,7 @@ class MovedText {
|
|
|
8438
8438
|
}
|
|
8439
8439
|
}
|
|
8440
8440
|
|
|
8441
|
-
// ../../node_modules
|
|
8441
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/arrays.js
|
|
8442
8442
|
function equals2(one, other, itemEquals = (a, b) => a === b) {
|
|
8443
8443
|
if (one === other) {
|
|
8444
8444
|
return true;
|
|
@@ -8563,7 +8563,7 @@ class CallbackIterable {
|
|
|
8563
8563
|
}
|
|
8564
8564
|
}
|
|
8565
8565
|
|
|
8566
|
-
// ../../node_modules
|
|
8566
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/core/ranges/offsetRange.js
|
|
8567
8567
|
class OffsetRange {
|
|
8568
8568
|
static fromTo(start, endExclusive) {
|
|
8569
8569
|
return new OffsetRange(start, endExclusive);
|
|
@@ -8700,7 +8700,7 @@ class OffsetRange {
|
|
|
8700
8700
|
}
|
|
8701
8701
|
}
|
|
8702
8702
|
|
|
8703
|
-
// ../../node_modules
|
|
8703
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/arraysFind.js
|
|
8704
8704
|
function findLastMonotonous(array, predicate) {
|
|
8705
8705
|
const idx = findLastIdxMonotonous(array, predicate);
|
|
8706
8706
|
return idx === -1 ? undefined : array[idx];
|
|
@@ -8761,7 +8761,7 @@ class MonotonousArray {
|
|
|
8761
8761
|
}
|
|
8762
8762
|
}
|
|
8763
8763
|
|
|
8764
|
-
// ../../node_modules
|
|
8764
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/core/ranges/lineRange.js
|
|
8765
8765
|
class LineRange {
|
|
8766
8766
|
static ofLength(startLineNumber, length) {
|
|
8767
8767
|
return new LineRange(startLineNumber, startLineNumber + length);
|
|
@@ -9001,7 +9001,7 @@ class LineRangeSet {
|
|
|
9001
9001
|
}
|
|
9002
9002
|
}
|
|
9003
9003
|
|
|
9004
|
-
// ../../node_modules
|
|
9004
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/core/text/textLength.js
|
|
9005
9005
|
class TextLength {
|
|
9006
9006
|
static {
|
|
9007
9007
|
this.zero = new TextLength(0, 0);
|
|
@@ -9075,7 +9075,7 @@ class TextLength {
|
|
|
9075
9075
|
}
|
|
9076
9076
|
}
|
|
9077
9077
|
|
|
9078
|
-
// ../../node_modules
|
|
9078
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/core/text/positionToOffsetImpl.js
|
|
9079
9079
|
class PositionOffsetTransformerBase {
|
|
9080
9080
|
getOffsetRange(range) {
|
|
9081
9081
|
return new OffsetRange(this.getOffset(range.getStartPosition()), this.getOffset(range.getEndPosition()));
|
|
@@ -9163,7 +9163,7 @@ class PositionOffsetTransformer extends PositionOffsetTransformerBase {
|
|
|
9163
9163
|
}
|
|
9164
9164
|
}
|
|
9165
9165
|
|
|
9166
|
-
// ../../node_modules
|
|
9166
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/core/text/abstractText.js
|
|
9167
9167
|
class AbstractText {
|
|
9168
9168
|
constructor() {
|
|
9169
9169
|
this._transformer = undefined;
|
|
@@ -9229,7 +9229,7 @@ class ArrayText extends LineBasedText {
|
|
|
9229
9229
|
}
|
|
9230
9230
|
}
|
|
9231
9231
|
|
|
9232
|
-
// ../../node_modules
|
|
9232
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/core/edits/textEdit.js
|
|
9233
9233
|
class TextReplacement {
|
|
9234
9234
|
static joinReplacements(replacements, initialValue) {
|
|
9235
9235
|
if (replacements.length === 0) {
|
|
@@ -9310,7 +9310,7 @@ class TextReplacement {
|
|
|
9310
9310
|
}
|
|
9311
9311
|
}
|
|
9312
9312
|
|
|
9313
|
-
// ../../node_modules
|
|
9313
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/diff/rangeMapping.js
|
|
9314
9314
|
class LineRangeMapping {
|
|
9315
9315
|
static inverse(mapping, originalLineCount, modifiedLineCount) {
|
|
9316
9316
|
const result = [];
|
|
@@ -9480,7 +9480,7 @@ function getLineRangeMapping(rangeMapping, originalLines, modifiedLines) {
|
|
|
9480
9480
|
return new DetailedLineRangeMapping(originalLineRange, modifiedLineRange, [rangeMapping]);
|
|
9481
9481
|
}
|
|
9482
9482
|
|
|
9483
|
-
// ../../node_modules
|
|
9483
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/diff/legacyLinesDiffComputer.js
|
|
9484
9484
|
var MINIMUM_MATCHING_CHARACTER_LENGTH = 3;
|
|
9485
9485
|
|
|
9486
9486
|
class LegacyLinesDiffComputer {
|
|
@@ -9904,7 +9904,7 @@ function createContinueProcessingPredicate(maximumRuntime) {
|
|
|
9904
9904
|
};
|
|
9905
9905
|
}
|
|
9906
9906
|
|
|
9907
|
-
// ../../node_modules
|
|
9907
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js
|
|
9908
9908
|
class DiffAlgorithmResult {
|
|
9909
9909
|
static trivial(seq1, seq2) {
|
|
9910
9910
|
return new DiffAlgorithmResult([new SequenceDiff(OffsetRange.ofLength(seq1.length), OffsetRange.ofLength(seq2.length))], false);
|
|
@@ -10039,7 +10039,7 @@ class DateTimeout {
|
|
|
10039
10039
|
}
|
|
10040
10040
|
}
|
|
10041
10041
|
|
|
10042
|
-
// ../../node_modules
|
|
10042
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/utils.js
|
|
10043
10043
|
class Array2D {
|
|
10044
10044
|
constructor(width, height) {
|
|
10045
10045
|
this.width = width;
|
|
@@ -10101,7 +10101,7 @@ class LineRangeFragment {
|
|
|
10101
10101
|
}
|
|
10102
10102
|
}
|
|
10103
10103
|
|
|
10104
|
-
// ../../node_modules
|
|
10104
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.js
|
|
10105
10105
|
class DynamicProgrammingDiffing {
|
|
10106
10106
|
compute(sequence1, sequence2, timeout = InfiniteTimeout.instance, equalityScore) {
|
|
10107
10107
|
if (sequence1.length === 0 || sequence2.length === 0) {
|
|
@@ -10177,7 +10177,7 @@ class DynamicProgrammingDiffing {
|
|
|
10177
10177
|
}
|
|
10178
10178
|
}
|
|
10179
10179
|
|
|
10180
|
-
// ../../node_modules
|
|
10180
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.js
|
|
10181
10181
|
class MyersDiffAlgorithm {
|
|
10182
10182
|
compute(seq1, seq2, timeout = InfiniteTimeout.instance) {
|
|
10183
10183
|
if (seq1.length === 0 || seq2.length === 0) {
|
|
@@ -10310,7 +10310,7 @@ class FastArrayNegativeIndices {
|
|
|
10310
10310
|
}
|
|
10311
10311
|
}
|
|
10312
10312
|
|
|
10313
|
-
// ../../node_modules
|
|
10313
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js
|
|
10314
10314
|
class LinesSliceCharSequence {
|
|
10315
10315
|
constructor(lines, range, considerWhitespaceChanges) {
|
|
10316
10316
|
this.lines = lines;
|
|
@@ -10482,7 +10482,7 @@ function getCategory(charCode) {
|
|
|
10482
10482
|
}
|
|
10483
10483
|
}
|
|
10484
10484
|
|
|
10485
|
-
// ../../node_modules
|
|
10485
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.js
|
|
10486
10486
|
function computeMovedLines(changes, originalLines, modifiedLines, hashedOriginalLines, hashedModifiedLines, timeout) {
|
|
10487
10487
|
let { moves, excludedChanges } = computeMovesFromSimpleDeletionsToSimpleInsertions(changes, originalLines, modifiedLines, timeout);
|
|
10488
10488
|
if (!timeout.isValid()) {
|
|
@@ -10709,7 +10709,7 @@ function removeMovesInSameDiff(changes, moves) {
|
|
|
10709
10709
|
return moves;
|
|
10710
10710
|
}
|
|
10711
10711
|
|
|
10712
|
-
// ../../node_modules
|
|
10712
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js
|
|
10713
10713
|
function optimizeSequenceDiffs(sequence1, sequence2, sequenceDiffs) {
|
|
10714
10714
|
let result = sequenceDiffs;
|
|
10715
10715
|
result = joinSequenceDiffsByShifting(sequence1, sequence2, result);
|
|
@@ -11017,7 +11017,7 @@ function removeVeryShortMatchingTextBetweenLongDiffs(sequence1, sequence2, seque
|
|
|
11017
11017
|
return newDiffs;
|
|
11018
11018
|
}
|
|
11019
11019
|
|
|
11020
|
-
// ../../node_modules
|
|
11020
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.js
|
|
11021
11021
|
class LineSequence2 {
|
|
11022
11022
|
constructor(trimmedHash, lines) {
|
|
11023
11023
|
this.trimmedHash = trimmedHash;
|
|
@@ -11050,7 +11050,7 @@ function getIndentation(str) {
|
|
|
11050
11050
|
return i;
|
|
11051
11051
|
}
|
|
11052
11052
|
|
|
11053
|
-
// ../../node_modules
|
|
11053
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js
|
|
11054
11054
|
class DefaultLinesDiffComputer {
|
|
11055
11055
|
constructor() {
|
|
11056
11056
|
this.dynamicProgrammingDiffing = new DynamicProgrammingDiffing;
|
|
@@ -11207,13 +11207,13 @@ function toLineRangeMapping(sequenceDiff) {
|
|
|
11207
11207
|
return new LineRangeMapping(new LineRange(sequenceDiff.seq1Range.start + 1, sequenceDiff.seq1Range.endExclusive + 1), new LineRange(sequenceDiff.seq2Range.start + 1, sequenceDiff.seq2Range.endExclusive + 1));
|
|
11208
11208
|
}
|
|
11209
11209
|
|
|
11210
|
-
// ../../node_modules
|
|
11210
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/diff/linesDiffComputers.js
|
|
11211
11211
|
var linesDiffComputers = {
|
|
11212
11212
|
getLegacy: () => new LegacyLinesDiffComputer,
|
|
11213
11213
|
getDefault: () => new DefaultLinesDiffComputer
|
|
11214
11214
|
};
|
|
11215
11215
|
|
|
11216
|
-
// ../../node_modules
|
|
11216
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/color.js
|
|
11217
11217
|
function roundFloat(number, decimalPoints) {
|
|
11218
11218
|
const decimal = Math.pow(10, decimalPoints);
|
|
11219
11219
|
return Math.round(number * decimal) / decimal;
|
|
@@ -12002,7 +12002,7 @@ class Color {
|
|
|
12002
12002
|
})(Color2.Format || (Color2.Format = {}));
|
|
12003
12003
|
})(Color || (Color = {}));
|
|
12004
12004
|
|
|
12005
|
-
// ../../node_modules
|
|
12005
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/languages/defaultDocumentColorsComputer.js
|
|
12006
12006
|
function _parseCaptureGroups(captureGroups) {
|
|
12007
12007
|
const values = [];
|
|
12008
12008
|
for (const captureGroup of captureGroups) {
|
|
@@ -12123,7 +12123,7 @@ function computeDefaultDocumentColors(model) {
|
|
|
12123
12123
|
return computeColors(model);
|
|
12124
12124
|
}
|
|
12125
12125
|
|
|
12126
|
-
// ../../node_modules
|
|
12126
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/services/findSectionHeaders.js
|
|
12127
12127
|
var trimDashesRegex = /^-+|-+$/g;
|
|
12128
12128
|
var CHUNK_SIZE = 100;
|
|
12129
12129
|
var MAX_SECTION_LINES = 5;
|
|
@@ -12226,10 +12226,10 @@ function getHeaderText(text) {
|
|
|
12226
12226
|
return { text, hasSeparatorLine };
|
|
12227
12227
|
}
|
|
12228
12228
|
|
|
12229
|
-
// ../../node_modules
|
|
12229
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/symbols.js
|
|
12230
12230
|
var MicrotaskDelay = Symbol("MicrotaskDelay");
|
|
12231
12231
|
|
|
12232
|
-
// ../../node_modules
|
|
12232
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/async.js
|
|
12233
12233
|
var runWhenGlobalIdle;
|
|
12234
12234
|
var _runWhenIdle;
|
|
12235
12235
|
(function() {
|
|
@@ -12498,7 +12498,7 @@ class AsyncIterableProducer {
|
|
|
12498
12498
|
}
|
|
12499
12499
|
}
|
|
12500
12500
|
|
|
12501
|
-
// ../../node_modules
|
|
12501
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/model/prefixSumComputer.js
|
|
12502
12502
|
class PrefixSumComputer {
|
|
12503
12503
|
constructor(values) {
|
|
12504
12504
|
this.values = values;
|
|
@@ -12630,7 +12630,7 @@ class PrefixSumIndexOfResult {
|
|
|
12630
12630
|
}
|
|
12631
12631
|
}
|
|
12632
12632
|
|
|
12633
|
-
// ../../node_modules
|
|
12633
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/model/mirrorTextModel.js
|
|
12634
12634
|
class MirrorTextModel {
|
|
12635
12635
|
constructor(uri, lines, eol, versionId) {
|
|
12636
12636
|
this._uri = uri;
|
|
@@ -12718,7 +12718,7 @@ class MirrorTextModel {
|
|
|
12718
12718
|
}
|
|
12719
12719
|
}
|
|
12720
12720
|
|
|
12721
|
-
// ../../node_modules
|
|
12721
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/services/textModelSync/textModelSync.impl.js
|
|
12722
12722
|
var STOP_SYNC_MODEL_DELTA_TIME_MS = 60 * 1000;
|
|
12723
12723
|
class WorkerTextModelSyncServer {
|
|
12724
12724
|
constructor() {
|
|
@@ -12921,7 +12921,7 @@ class MirrorModel extends MirrorTextModel {
|
|
|
12921
12921
|
}
|
|
12922
12922
|
}
|
|
12923
12923
|
|
|
12924
|
-
// ../../node_modules
|
|
12924
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/services/editorWebWorker.js
|
|
12925
12925
|
class EditorWorker {
|
|
12926
12926
|
constructor(_foreignModule = null) {
|
|
12927
12927
|
this._foreignModule = _foreignModule;
|
|
@@ -13185,7 +13185,7 @@ if (typeof importScripts === "function") {
|
|
|
13185
13185
|
globalThis.monaco = createMonacoBaseAPI();
|
|
13186
13186
|
}
|
|
13187
13187
|
|
|
13188
|
-
// ../../node_modules
|
|
13188
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/services/editorWorkerHost.js
|
|
13189
13189
|
class EditorWorkerHost {
|
|
13190
13190
|
static {
|
|
13191
13191
|
this.CHANNEL_NAME = "editorWorkerHost";
|
|
@@ -13198,7 +13198,7 @@ class EditorWorkerHost {
|
|
|
13198
13198
|
}
|
|
13199
13199
|
}
|
|
13200
13200
|
|
|
13201
|
-
// ../../node_modules
|
|
13201
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/editor.worker.start.js
|
|
13202
13202
|
function start(createClient) {
|
|
13203
13203
|
let client;
|
|
13204
13204
|
const webWorkerServer = initialize((workerServer) => {
|
|
@@ -13228,7 +13228,7 @@ function start(createClient) {
|
|
|
13228
13228
|
return client;
|
|
13229
13229
|
}
|
|
13230
13230
|
|
|
13231
|
-
// ../../node_modules
|
|
13231
|
+
// ../../node_modules/monaco-editor/esm/vs/common/initialize.js
|
|
13232
13232
|
var initialized2 = false;
|
|
13233
13233
|
function isWorkerInitialized() {
|
|
13234
13234
|
return initialized2;
|
|
@@ -13241,7 +13241,7 @@ function initialize2(callback) {
|
|
|
13241
13241
|
});
|
|
13242
13242
|
};
|
|
13243
13243
|
}
|
|
13244
|
-
// ../../node_modules
|
|
13244
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/editor.worker.js
|
|
13245
13245
|
self.onmessage = () => {
|
|
13246
13246
|
if (!isWorkerInitialized()) {
|
|
13247
13247
|
start(() => {
|