@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
|
@@ -13,7 +13,7 @@ var __export = (target, all) => {
|
|
|
13
13
|
});
|
|
14
14
|
};
|
|
15
15
|
|
|
16
|
-
// ../../node_modules
|
|
16
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/errors.js
|
|
17
17
|
class ErrorHandler {
|
|
18
18
|
constructor() {
|
|
19
19
|
this.listeners = [];
|
|
@@ -109,7 +109,7 @@ class BugIndicatingError extends Error {
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
// ../../node_modules
|
|
112
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/assert.js
|
|
113
113
|
function assertNever(value, message = "Unreachable") {
|
|
114
114
|
throw new Error(message);
|
|
115
115
|
}
|
|
@@ -139,7 +139,7 @@ function checkAdjacentItems(items, predicate) {
|
|
|
139
139
|
return true;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
// ../../node_modules
|
|
142
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/types.js
|
|
143
143
|
function isString(str) {
|
|
144
144
|
return typeof str === "string";
|
|
145
145
|
}
|
|
@@ -147,7 +147,7 @@ function isIterable(obj) {
|
|
|
147
147
|
return !!obj && typeof obj[Symbol.iterator] === "function";
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
// ../../node_modules
|
|
150
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/iterator.js
|
|
151
151
|
var Iterable;
|
|
152
152
|
(function(Iterable2) {
|
|
153
153
|
function is(thing) {
|
|
@@ -319,7 +319,7 @@ var Iterable;
|
|
|
319
319
|
Iterable2.asyncToArrayFlat = asyncToArrayFlat;
|
|
320
320
|
})(Iterable || (Iterable = {}));
|
|
321
321
|
|
|
322
|
-
// ../../node_modules
|
|
322
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/lifecycle.js
|
|
323
323
|
function setParentOfDisposable(child, parent) {}
|
|
324
324
|
function dispose(arg) {
|
|
325
325
|
if (Iterable.is(arg)) {
|
|
@@ -444,7 +444,7 @@ class Disposable {
|
|
|
444
444
|
}
|
|
445
445
|
}
|
|
446
446
|
|
|
447
|
-
// ../../node_modules
|
|
447
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/linkedList.js
|
|
448
448
|
class Node {
|
|
449
449
|
static {
|
|
450
450
|
this.Undefined = new Node(undefined);
|
|
@@ -555,7 +555,7 @@ class LinkedList {
|
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
557
|
|
|
558
|
-
// ../../node_modules
|
|
558
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/stopwatch.js
|
|
559
559
|
var performanceNow = globalThis.performance.now.bind(globalThis.performance);
|
|
560
560
|
|
|
561
561
|
class StopWatch {
|
|
@@ -582,7 +582,7 @@ class StopWatch {
|
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
584
|
|
|
585
|
-
// ../../node_modules
|
|
585
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/event.js
|
|
586
586
|
var Event;
|
|
587
587
|
(function(Event2) {
|
|
588
588
|
Event2.None = () => Disposable.None;
|
|
@@ -1274,7 +1274,7 @@ class EventDeliveryQueuePrivate {
|
|
|
1274
1274
|
}
|
|
1275
1275
|
}
|
|
1276
1276
|
|
|
1277
|
-
// ../../node_modules
|
|
1277
|
+
// ../../node_modules/monaco-editor/esm/vs/nls.messages.js
|
|
1278
1278
|
function getNLSMessages() {
|
|
1279
1279
|
return globalThis._VSCODE_NLS_MESSAGES;
|
|
1280
1280
|
}
|
|
@@ -1282,7 +1282,7 @@ function getNLSLanguage() {
|
|
|
1282
1282
|
return globalThis._VSCODE_NLS_LANGUAGE;
|
|
1283
1283
|
}
|
|
1284
1284
|
|
|
1285
|
-
// ../../node_modules
|
|
1285
|
+
// ../../node_modules/monaco-editor/esm/vs/nls.js
|
|
1286
1286
|
var isPseudo = getNLSLanguage() === "pseudo" || typeof document !== "undefined" && document.location && typeof document.location.hash === "string" && document.location.hash.indexOf("pseudo=true") >= 0;
|
|
1287
1287
|
function _format(message, args) {
|
|
1288
1288
|
let result;
|
|
@@ -1323,7 +1323,7 @@ function lookupMessage(index, fallback) {
|
|
|
1323
1323
|
return message;
|
|
1324
1324
|
}
|
|
1325
1325
|
|
|
1326
|
-
// ../../node_modules
|
|
1326
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/platform.js
|
|
1327
1327
|
var LANGUAGE_DEFAULT = "en";
|
|
1328
1328
|
var _isWindows = false;
|
|
1329
1329
|
var _isMacintosh = false;
|
|
@@ -1426,7 +1426,7 @@ var isSafari = !!(!isChrome && (userAgent && userAgent.indexOf("Safari") >= 0));
|
|
|
1426
1426
|
var isEdge = !!(userAgent && userAgent.indexOf("Edg/") >= 0);
|
|
1427
1427
|
var isAndroid = !!(userAgent && userAgent.indexOf("Android") >= 0);
|
|
1428
1428
|
|
|
1429
|
-
// ../../node_modules
|
|
1429
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/cache.js
|
|
1430
1430
|
function identity(t) {
|
|
1431
1431
|
return t;
|
|
1432
1432
|
}
|
|
@@ -1453,7 +1453,7 @@ class LRUCachedFunction {
|
|
|
1453
1453
|
}
|
|
1454
1454
|
}
|
|
1455
1455
|
|
|
1456
|
-
// ../../node_modules
|
|
1456
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/lazy.js
|
|
1457
1457
|
var LazyValueState;
|
|
1458
1458
|
(function(LazyValueState2) {
|
|
1459
1459
|
LazyValueState2[LazyValueState2["Uninitialized"] = 0] = "Uninitialized";
|
|
@@ -1489,7 +1489,7 @@ class Lazy {
|
|
|
1489
1489
|
}
|
|
1490
1490
|
}
|
|
1491
1491
|
|
|
1492
|
-
// ../../node_modules
|
|
1492
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/strings.js
|
|
1493
1493
|
function escapeRegExpCharacters(value) {
|
|
1494
1494
|
return value.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g, "\\$&");
|
|
1495
1495
|
}
|
|
@@ -1707,7 +1707,7 @@ class InvisibleCharacters {
|
|
|
1707
1707
|
}
|
|
1708
1708
|
}
|
|
1709
1709
|
|
|
1710
|
-
// ../../node_modules
|
|
1710
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/worker/webWorker.js
|
|
1711
1711
|
var DEFAULT_CHANNEL = "default";
|
|
1712
1712
|
var INITIALIZE = "$initialize";
|
|
1713
1713
|
class RequestMessage {
|
|
@@ -1992,7 +1992,7 @@ class WebWorkerServer {
|
|
|
1992
1992
|
}
|
|
1993
1993
|
}
|
|
1994
1994
|
|
|
1995
|
-
// ../../node_modules
|
|
1995
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/worker/webWorkerBootstrap.js
|
|
1996
1996
|
var initialized = false;
|
|
1997
1997
|
function initialize(factory) {
|
|
1998
1998
|
if (initialized) {
|
|
@@ -2006,7 +2006,7 @@ function initialize(factory) {
|
|
|
2006
2006
|
return webWorkerServer;
|
|
2007
2007
|
}
|
|
2008
2008
|
|
|
2009
|
-
// ../../node_modules
|
|
2009
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/diff/diffChange.js
|
|
2010
2010
|
class DiffChange {
|
|
2011
2011
|
constructor(originalStart, originalLength, modifiedStart, modifiedLength) {
|
|
2012
2012
|
this.originalStart = originalStart;
|
|
@@ -2022,7 +2022,7 @@ class DiffChange {
|
|
|
2022
2022
|
}
|
|
2023
2023
|
}
|
|
2024
2024
|
|
|
2025
|
-
// ../../node_modules
|
|
2025
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/buffer.js
|
|
2026
2026
|
var hasBuffer = typeof Buffer !== "undefined";
|
|
2027
2027
|
new Lazy(() => new Uint8Array(256));
|
|
2028
2028
|
var textDecoder;
|
|
@@ -2060,7 +2060,7 @@ function encodeHex({ buffer }) {
|
|
|
2060
2060
|
return result;
|
|
2061
2061
|
}
|
|
2062
2062
|
|
|
2063
|
-
// ../../node_modules
|
|
2063
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/hash.js
|
|
2064
2064
|
function numberHash(val, initialHashVal) {
|
|
2065
2065
|
return (initialHashVal << 5) - initialHashVal + val | 0;
|
|
2066
2066
|
}
|
|
@@ -2242,7 +2242,7 @@ class StringSHA1 {
|
|
|
2242
2242
|
}
|
|
2243
2243
|
}
|
|
2244
2244
|
|
|
2245
|
-
// ../../node_modules
|
|
2245
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/diff/diff.js
|
|
2246
2246
|
class StringDiffSequence {
|
|
2247
2247
|
constructor(source) {
|
|
2248
2248
|
this.source = source;
|
|
@@ -2878,7 +2878,7 @@ class LcsDiff {
|
|
|
2878
2878
|
}
|
|
2879
2879
|
}
|
|
2880
2880
|
|
|
2881
|
-
// ../../node_modules
|
|
2881
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/core/position.js
|
|
2882
2882
|
class Position {
|
|
2883
2883
|
constructor(lineNumber, column) {
|
|
2884
2884
|
this.lineNumber = lineNumber;
|
|
@@ -2957,7 +2957,7 @@ class Position {
|
|
|
2957
2957
|
}
|
|
2958
2958
|
}
|
|
2959
2959
|
|
|
2960
|
-
// ../../node_modules
|
|
2960
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/core/range.js
|
|
2961
2961
|
class Range {
|
|
2962
2962
|
constructor(startLineNumber, startColumn, endLineNumber, endColumn) {
|
|
2963
2963
|
if (startLineNumber > endLineNumber || startLineNumber === endLineNumber && startColumn > endColumn) {
|
|
@@ -3235,7 +3235,7 @@ class Range {
|
|
|
3235
3235
|
}
|
|
3236
3236
|
}
|
|
3237
3237
|
|
|
3238
|
-
// ../../node_modules
|
|
3238
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/uint.js
|
|
3239
3239
|
function toUint8(v) {
|
|
3240
3240
|
if (v < 0) {
|
|
3241
3241
|
return 0;
|
|
@@ -3255,7 +3255,7 @@ function toUint32(v) {
|
|
|
3255
3255
|
return v | 0;
|
|
3256
3256
|
}
|
|
3257
3257
|
|
|
3258
|
-
// ../../node_modules
|
|
3258
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier.js
|
|
3259
3259
|
class CharacterClassifier {
|
|
3260
3260
|
constructor(_defaultValue) {
|
|
3261
3261
|
const defaultValue = toUint8(_defaultValue);
|
|
@@ -3289,7 +3289,7 @@ class CharacterClassifier {
|
|
|
3289
3289
|
}
|
|
3290
3290
|
}
|
|
3291
3291
|
|
|
3292
|
-
// ../../node_modules
|
|
3292
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/languages/linkComputer.js
|
|
3293
3293
|
class Uint8Matrix {
|
|
3294
3294
|
constructor(rows, cols, defaultValue) {
|
|
3295
3295
|
const data = new Uint8Array(rows * cols);
|
|
@@ -3525,7 +3525,7 @@ function computeLinks(model) {
|
|
|
3525
3525
|
return LinkComputer.computeLinks(model);
|
|
3526
3526
|
}
|
|
3527
3527
|
|
|
3528
|
-
// ../../node_modules
|
|
3528
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/languages/supports/inplaceReplaceSupport.js
|
|
3529
3529
|
class BasicInplaceReplace {
|
|
3530
3530
|
constructor() {
|
|
3531
3531
|
this._defaultValueSet = [
|
|
@@ -3606,7 +3606,7 @@ class BasicInplaceReplace {
|
|
|
3606
3606
|
}
|
|
3607
3607
|
}
|
|
3608
3608
|
|
|
3609
|
-
// ../../node_modules
|
|
3609
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/cancellation.js
|
|
3610
3610
|
var shortcutEvent = Object.freeze(function(callback, context) {
|
|
3611
3611
|
const handle = setTimeout(callback.bind(context), 0);
|
|
3612
3612
|
return { dispose() {
|
|
@@ -3704,7 +3704,7 @@ class CancellationTokenSource {
|
|
|
3704
3704
|
}
|
|
3705
3705
|
}
|
|
3706
3706
|
|
|
3707
|
-
// ../../node_modules
|
|
3707
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/keyCodes.js
|
|
3708
3708
|
class KeyCodeStrMap {
|
|
3709
3709
|
constructor() {
|
|
3710
3710
|
this._keyCodeToStr = [];
|
|
@@ -4035,7 +4035,7 @@ function KeyChord(firstPart, secondPart) {
|
|
|
4035
4035
|
return (firstPart | chordPart) >>> 0;
|
|
4036
4036
|
}
|
|
4037
4037
|
|
|
4038
|
-
// ../../node_modules
|
|
4038
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/process.js
|
|
4039
4039
|
var safeProcess;
|
|
4040
4040
|
var vscodeGlobal = globalThis.vscode;
|
|
4041
4041
|
if (typeof vscodeGlobal !== "undefined" && typeof vscodeGlobal.process !== "undefined") {
|
|
@@ -4089,7 +4089,7 @@ var cwd = safeProcess.cwd;
|
|
|
4089
4089
|
var env = safeProcess.env;
|
|
4090
4090
|
var platform = safeProcess.platform;
|
|
4091
4091
|
|
|
4092
|
-
// ../../node_modules
|
|
4092
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/path.js
|
|
4093
4093
|
var CHAR_UPPERCASE_A = 65;
|
|
4094
4094
|
var CHAR_LOWERCASE_A = 97;
|
|
4095
4095
|
var CHAR_UPPERCASE_Z = 90;
|
|
@@ -5170,7 +5170,7 @@ var basename = platformIsWin32 ? win32.basename : posix.basename;
|
|
|
5170
5170
|
var extname = platformIsWin32 ? win32.extname : posix.extname;
|
|
5171
5171
|
var sep = platformIsWin32 ? win32.sep : posix.sep;
|
|
5172
5172
|
|
|
5173
|
-
// ../../node_modules
|
|
5173
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/uri.js
|
|
5174
5174
|
var _schemePattern = /^\w[\w\d+.-]*$/;
|
|
5175
5175
|
var _singleSlashStart = /^\//;
|
|
5176
5176
|
var _doubleSlashStart = /^\/\//;
|
|
@@ -5562,7 +5562,7 @@ function percentDecode(str) {
|
|
|
5562
5562
|
return str.replace(_rEncodedAsHex, (match) => decodeURIComponentGraceful(match));
|
|
5563
5563
|
}
|
|
5564
5564
|
|
|
5565
|
-
// ../../node_modules
|
|
5565
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/core/selection.js
|
|
5566
5566
|
class Selection extends Range {
|
|
5567
5567
|
constructor(selectionStartLineNumber, selectionStartColumn, positionLineNumber, positionColumn) {
|
|
5568
5568
|
super(selectionStartLineNumber, selectionStartColumn, positionLineNumber, positionColumn);
|
|
@@ -5645,7 +5645,7 @@ class Selection extends Range {
|
|
|
5645
5645
|
}
|
|
5646
5646
|
}
|
|
5647
5647
|
|
|
5648
|
-
// ../../node_modules
|
|
5648
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/codiconsUtil.js
|
|
5649
5649
|
var _codiconFontCharacters = Object.create(null);
|
|
5650
5650
|
function register(id, fontCharacter) {
|
|
5651
5651
|
if (isString(fontCharacter)) {
|
|
@@ -5659,7 +5659,7 @@ function register(id, fontCharacter) {
|
|
|
5659
5659
|
return { id };
|
|
5660
5660
|
}
|
|
5661
5661
|
|
|
5662
|
-
// ../../node_modules
|
|
5662
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/codiconsLibrary.js
|
|
5663
5663
|
var codiconsLibrary = {
|
|
5664
5664
|
add: register("add", 60000),
|
|
5665
5665
|
plus: register("plus", 60000),
|
|
@@ -6292,7 +6292,7 @@ var codiconsLibrary = {
|
|
|
6292
6292
|
terminalGitBash: register("terminal-git-bash", 60529)
|
|
6293
6293
|
};
|
|
6294
6294
|
|
|
6295
|
-
// ../../node_modules
|
|
6295
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/codicons.js
|
|
6296
6296
|
var codiconsDerived = {
|
|
6297
6297
|
dialogError: register("dialog-error", "error"),
|
|
6298
6298
|
dialogWarning: register("dialog-warning", "warning"),
|
|
@@ -6328,7 +6328,7 @@ var Codicon = {
|
|
|
6328
6328
|
...codiconsDerived
|
|
6329
6329
|
};
|
|
6330
6330
|
|
|
6331
|
-
// ../../node_modules
|
|
6331
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/tokenizationRegistry.js
|
|
6332
6332
|
class TokenizationRegistry {
|
|
6333
6333
|
constructor() {
|
|
6334
6334
|
this._tokenizationSupports = new Map;
|
|
@@ -6443,7 +6443,7 @@ class TokenizationSupportFactoryData extends Disposable {
|
|
|
6443
6443
|
}
|
|
6444
6444
|
}
|
|
6445
6445
|
|
|
6446
|
-
// ../../node_modules
|
|
6446
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/languages.js
|
|
6447
6447
|
class Token {
|
|
6448
6448
|
constructor(offset, type, language) {
|
|
6449
6449
|
this.offset = offset;
|
|
@@ -6796,7 +6796,7 @@ var InlayHintKind;
|
|
|
6796
6796
|
})(InlayHintKind || (InlayHintKind = {}));
|
|
6797
6797
|
var TokenizationRegistry2 = new TokenizationRegistry;
|
|
6798
6798
|
|
|
6799
|
-
// ../../node_modules
|
|
6799
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/standalone/standaloneEnums.js
|
|
6800
6800
|
var AccessibilitySupport;
|
|
6801
6801
|
(function(AccessibilitySupport2) {
|
|
6802
6802
|
AccessibilitySupport2[AccessibilitySupport2["Unknown"] = 0] = "Unknown";
|
|
@@ -7449,7 +7449,7 @@ var WrappingIndent;
|
|
|
7449
7449
|
WrappingIndent2[WrappingIndent2["DeepIndent"] = 3] = "DeepIndent";
|
|
7450
7450
|
})(WrappingIndent || (WrappingIndent = {}));
|
|
7451
7451
|
|
|
7452
|
-
// ../../node_modules
|
|
7452
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/services/editorBaseApi.js
|
|
7453
7453
|
class KeyMod {
|
|
7454
7454
|
static {
|
|
7455
7455
|
this.CtrlCmd = 2048;
|
|
@@ -7486,7 +7486,7 @@ function createMonacoBaseAPI() {
|
|
|
7486
7486
|
};
|
|
7487
7487
|
}
|
|
7488
7488
|
|
|
7489
|
-
// ../../node_modules
|
|
7489
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/map.js
|
|
7490
7490
|
var _a;
|
|
7491
7491
|
var _b;
|
|
7492
7492
|
var _c;
|
|
@@ -8026,10 +8026,10 @@ class SetMap {
|
|
|
8026
8026
|
}
|
|
8027
8027
|
}
|
|
8028
8028
|
|
|
8029
|
-
// ../../node_modules
|
|
8029
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/core/wordCharacterClassifier.js
|
|
8030
8030
|
var wordClassifierCache = new LRUCache(10);
|
|
8031
8031
|
|
|
8032
|
-
// ../../node_modules
|
|
8032
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/model.js
|
|
8033
8033
|
var OverviewRulerLane2;
|
|
8034
8034
|
(function(OverviewRulerLane3) {
|
|
8035
8035
|
OverviewRulerLane3[OverviewRulerLane3["Left"] = 1] = "Left";
|
|
@@ -8056,7 +8056,7 @@ var InjectedTextCursorStops2;
|
|
|
8056
8056
|
InjectedTextCursorStops3[InjectedTextCursorStops3["None"] = 3] = "None";
|
|
8057
8057
|
})(InjectedTextCursorStops2 || (InjectedTextCursorStops2 = {}));
|
|
8058
8058
|
|
|
8059
|
-
// ../../node_modules
|
|
8059
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/model/textModelSearch.js
|
|
8060
8060
|
function isMultilineRegexSource(searchString) {
|
|
8061
8061
|
if (!searchString || searchString.length === 0) {
|
|
8062
8062
|
return false;
|
|
@@ -8167,7 +8167,7 @@ class Searcher {
|
|
|
8167
8167
|
}
|
|
8168
8168
|
}
|
|
8169
8169
|
|
|
8170
|
-
// ../../node_modules
|
|
8170
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/core/wordHelper.js
|
|
8171
8171
|
var USUAL_WORD_SEPARATORS = "`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";
|
|
8172
8172
|
function createWordRegExp(allowInWords = "") {
|
|
8173
8173
|
let source = "(-?\\d*\\.\\d\\w*)|([^";
|
|
@@ -8268,7 +8268,7 @@ function _findRegexMatchEnclosingPosition(wordDefinition, text, pos, stopPos) {
|
|
|
8268
8268
|
return null;
|
|
8269
8269
|
}
|
|
8270
8270
|
|
|
8271
|
-
// ../../node_modules
|
|
8271
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/services/unicodeTextModelHighlighter.js
|
|
8272
8272
|
class UnicodeTextModelHighlighter {
|
|
8273
8273
|
static computeUnicodeHighlights(model, options, range) {
|
|
8274
8274
|
const startLine = range ? range.startLineNumber : 1;
|
|
@@ -8437,7 +8437,7 @@ function isAllowedInvisibleCharacter(character) {
|
|
|
8437
8437
|
` || character === "\t";
|
|
8438
8438
|
}
|
|
8439
8439
|
|
|
8440
|
-
// ../../node_modules
|
|
8440
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/diff/linesDiffComputer.js
|
|
8441
8441
|
class LinesDiff {
|
|
8442
8442
|
constructor(changes, moves, hitTimeout) {
|
|
8443
8443
|
this.changes = changes;
|
|
@@ -8453,7 +8453,7 @@ class MovedText {
|
|
|
8453
8453
|
}
|
|
8454
8454
|
}
|
|
8455
8455
|
|
|
8456
|
-
// ../../node_modules
|
|
8456
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/arrays.js
|
|
8457
8457
|
function equals2(one, other, itemEquals = (a, b) => a === b) {
|
|
8458
8458
|
if (one === other) {
|
|
8459
8459
|
return true;
|
|
@@ -8578,7 +8578,7 @@ class CallbackIterable {
|
|
|
8578
8578
|
}
|
|
8579
8579
|
}
|
|
8580
8580
|
|
|
8581
|
-
// ../../node_modules
|
|
8581
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/core/ranges/offsetRange.js
|
|
8582
8582
|
class OffsetRange {
|
|
8583
8583
|
static fromTo(start, endExclusive) {
|
|
8584
8584
|
return new OffsetRange(start, endExclusive);
|
|
@@ -8715,7 +8715,7 @@ class OffsetRange {
|
|
|
8715
8715
|
}
|
|
8716
8716
|
}
|
|
8717
8717
|
|
|
8718
|
-
// ../../node_modules
|
|
8718
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/arraysFind.js
|
|
8719
8719
|
function findLastMonotonous(array, predicate) {
|
|
8720
8720
|
const idx = findLastIdxMonotonous(array, predicate);
|
|
8721
8721
|
return idx === -1 ? undefined : array[idx];
|
|
@@ -8776,7 +8776,7 @@ class MonotonousArray {
|
|
|
8776
8776
|
}
|
|
8777
8777
|
}
|
|
8778
8778
|
|
|
8779
|
-
// ../../node_modules
|
|
8779
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/core/ranges/lineRange.js
|
|
8780
8780
|
class LineRange {
|
|
8781
8781
|
static ofLength(startLineNumber, length) {
|
|
8782
8782
|
return new LineRange(startLineNumber, startLineNumber + length);
|
|
@@ -9016,7 +9016,7 @@ class LineRangeSet {
|
|
|
9016
9016
|
}
|
|
9017
9017
|
}
|
|
9018
9018
|
|
|
9019
|
-
// ../../node_modules
|
|
9019
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/core/text/textLength.js
|
|
9020
9020
|
class TextLength {
|
|
9021
9021
|
static {
|
|
9022
9022
|
this.zero = new TextLength(0, 0);
|
|
@@ -9090,7 +9090,7 @@ class TextLength {
|
|
|
9090
9090
|
}
|
|
9091
9091
|
}
|
|
9092
9092
|
|
|
9093
|
-
// ../../node_modules
|
|
9093
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/core/text/positionToOffsetImpl.js
|
|
9094
9094
|
class PositionOffsetTransformerBase {
|
|
9095
9095
|
getOffsetRange(range) {
|
|
9096
9096
|
return new OffsetRange(this.getOffset(range.getStartPosition()), this.getOffset(range.getEndPosition()));
|
|
@@ -9178,7 +9178,7 @@ class PositionOffsetTransformer extends PositionOffsetTransformerBase {
|
|
|
9178
9178
|
}
|
|
9179
9179
|
}
|
|
9180
9180
|
|
|
9181
|
-
// ../../node_modules
|
|
9181
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/core/text/abstractText.js
|
|
9182
9182
|
class AbstractText {
|
|
9183
9183
|
constructor() {
|
|
9184
9184
|
this._transformer = undefined;
|
|
@@ -9244,7 +9244,7 @@ class ArrayText extends LineBasedText {
|
|
|
9244
9244
|
}
|
|
9245
9245
|
}
|
|
9246
9246
|
|
|
9247
|
-
// ../../node_modules
|
|
9247
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/core/edits/textEdit.js
|
|
9248
9248
|
class TextReplacement {
|
|
9249
9249
|
static joinReplacements(replacements, initialValue) {
|
|
9250
9250
|
if (replacements.length === 0) {
|
|
@@ -9325,7 +9325,7 @@ class TextReplacement {
|
|
|
9325
9325
|
}
|
|
9326
9326
|
}
|
|
9327
9327
|
|
|
9328
|
-
// ../../node_modules
|
|
9328
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/diff/rangeMapping.js
|
|
9329
9329
|
class LineRangeMapping {
|
|
9330
9330
|
static inverse(mapping, originalLineCount, modifiedLineCount) {
|
|
9331
9331
|
const result = [];
|
|
@@ -9495,7 +9495,7 @@ function getLineRangeMapping(rangeMapping, originalLines, modifiedLines) {
|
|
|
9495
9495
|
return new DetailedLineRangeMapping(originalLineRange, modifiedLineRange, [rangeMapping]);
|
|
9496
9496
|
}
|
|
9497
9497
|
|
|
9498
|
-
// ../../node_modules
|
|
9498
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/diff/legacyLinesDiffComputer.js
|
|
9499
9499
|
var MINIMUM_MATCHING_CHARACTER_LENGTH = 3;
|
|
9500
9500
|
|
|
9501
9501
|
class LegacyLinesDiffComputer {
|
|
@@ -9919,7 +9919,7 @@ function createContinueProcessingPredicate(maximumRuntime) {
|
|
|
9919
9919
|
};
|
|
9920
9920
|
}
|
|
9921
9921
|
|
|
9922
|
-
// ../../node_modules
|
|
9922
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js
|
|
9923
9923
|
class DiffAlgorithmResult {
|
|
9924
9924
|
static trivial(seq1, seq2) {
|
|
9925
9925
|
return new DiffAlgorithmResult([new SequenceDiff(OffsetRange.ofLength(seq1.length), OffsetRange.ofLength(seq2.length))], false);
|
|
@@ -10054,7 +10054,7 @@ class DateTimeout {
|
|
|
10054
10054
|
}
|
|
10055
10055
|
}
|
|
10056
10056
|
|
|
10057
|
-
// ../../node_modules
|
|
10057
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/utils.js
|
|
10058
10058
|
class Array2D {
|
|
10059
10059
|
constructor(width, height) {
|
|
10060
10060
|
this.width = width;
|
|
@@ -10116,7 +10116,7 @@ class LineRangeFragment {
|
|
|
10116
10116
|
}
|
|
10117
10117
|
}
|
|
10118
10118
|
|
|
10119
|
-
// ../../node_modules
|
|
10119
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.js
|
|
10120
10120
|
class DynamicProgrammingDiffing {
|
|
10121
10121
|
compute(sequence1, sequence2, timeout = InfiniteTimeout.instance, equalityScore) {
|
|
10122
10122
|
if (sequence1.length === 0 || sequence2.length === 0) {
|
|
@@ -10192,7 +10192,7 @@ class DynamicProgrammingDiffing {
|
|
|
10192
10192
|
}
|
|
10193
10193
|
}
|
|
10194
10194
|
|
|
10195
|
-
// ../../node_modules
|
|
10195
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.js
|
|
10196
10196
|
class MyersDiffAlgorithm {
|
|
10197
10197
|
compute(seq1, seq2, timeout = InfiniteTimeout.instance) {
|
|
10198
10198
|
if (seq1.length === 0 || seq2.length === 0) {
|
|
@@ -10325,7 +10325,7 @@ class FastArrayNegativeIndices {
|
|
|
10325
10325
|
}
|
|
10326
10326
|
}
|
|
10327
10327
|
|
|
10328
|
-
// ../../node_modules
|
|
10328
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js
|
|
10329
10329
|
class LinesSliceCharSequence {
|
|
10330
10330
|
constructor(lines, range, considerWhitespaceChanges) {
|
|
10331
10331
|
this.lines = lines;
|
|
@@ -10497,7 +10497,7 @@ function getCategory(charCode) {
|
|
|
10497
10497
|
}
|
|
10498
10498
|
}
|
|
10499
10499
|
|
|
10500
|
-
// ../../node_modules
|
|
10500
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.js
|
|
10501
10501
|
function computeMovedLines(changes, originalLines, modifiedLines, hashedOriginalLines, hashedModifiedLines, timeout) {
|
|
10502
10502
|
let { moves, excludedChanges } = computeMovesFromSimpleDeletionsToSimpleInsertions(changes, originalLines, modifiedLines, timeout);
|
|
10503
10503
|
if (!timeout.isValid()) {
|
|
@@ -10724,7 +10724,7 @@ function removeMovesInSameDiff(changes, moves) {
|
|
|
10724
10724
|
return moves;
|
|
10725
10725
|
}
|
|
10726
10726
|
|
|
10727
|
-
// ../../node_modules
|
|
10727
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js
|
|
10728
10728
|
function optimizeSequenceDiffs(sequence1, sequence2, sequenceDiffs) {
|
|
10729
10729
|
let result = sequenceDiffs;
|
|
10730
10730
|
result = joinSequenceDiffsByShifting(sequence1, sequence2, result);
|
|
@@ -11032,7 +11032,7 @@ function removeVeryShortMatchingTextBetweenLongDiffs(sequence1, sequence2, seque
|
|
|
11032
11032
|
return newDiffs;
|
|
11033
11033
|
}
|
|
11034
11034
|
|
|
11035
|
-
// ../../node_modules
|
|
11035
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.js
|
|
11036
11036
|
class LineSequence2 {
|
|
11037
11037
|
constructor(trimmedHash, lines) {
|
|
11038
11038
|
this.trimmedHash = trimmedHash;
|
|
@@ -11065,7 +11065,7 @@ function getIndentation(str) {
|
|
|
11065
11065
|
return i;
|
|
11066
11066
|
}
|
|
11067
11067
|
|
|
11068
|
-
// ../../node_modules
|
|
11068
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js
|
|
11069
11069
|
class DefaultLinesDiffComputer {
|
|
11070
11070
|
constructor() {
|
|
11071
11071
|
this.dynamicProgrammingDiffing = new DynamicProgrammingDiffing;
|
|
@@ -11222,13 +11222,13 @@ function toLineRangeMapping(sequenceDiff) {
|
|
|
11222
11222
|
return new LineRangeMapping(new LineRange(sequenceDiff.seq1Range.start + 1, sequenceDiff.seq1Range.endExclusive + 1), new LineRange(sequenceDiff.seq2Range.start + 1, sequenceDiff.seq2Range.endExclusive + 1));
|
|
11223
11223
|
}
|
|
11224
11224
|
|
|
11225
|
-
// ../../node_modules
|
|
11225
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/diff/linesDiffComputers.js
|
|
11226
11226
|
var linesDiffComputers = {
|
|
11227
11227
|
getLegacy: () => new LegacyLinesDiffComputer,
|
|
11228
11228
|
getDefault: () => new DefaultLinesDiffComputer
|
|
11229
11229
|
};
|
|
11230
11230
|
|
|
11231
|
-
// ../../node_modules
|
|
11231
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/color.js
|
|
11232
11232
|
function roundFloat(number, decimalPoints) {
|
|
11233
11233
|
const decimal = Math.pow(10, decimalPoints);
|
|
11234
11234
|
return Math.round(number * decimal) / decimal;
|
|
@@ -12017,7 +12017,7 @@ class Color {
|
|
|
12017
12017
|
})(Color2.Format || (Color2.Format = {}));
|
|
12018
12018
|
})(Color || (Color = {}));
|
|
12019
12019
|
|
|
12020
|
-
// ../../node_modules
|
|
12020
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/languages/defaultDocumentColorsComputer.js
|
|
12021
12021
|
function _parseCaptureGroups(captureGroups) {
|
|
12022
12022
|
const values = [];
|
|
12023
12023
|
for (const captureGroup of captureGroups) {
|
|
@@ -12138,7 +12138,7 @@ function computeDefaultDocumentColors(model) {
|
|
|
12138
12138
|
return computeColors(model);
|
|
12139
12139
|
}
|
|
12140
12140
|
|
|
12141
|
-
// ../../node_modules
|
|
12141
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/services/findSectionHeaders.js
|
|
12142
12142
|
var trimDashesRegex = /^-+|-+$/g;
|
|
12143
12143
|
var CHUNK_SIZE = 100;
|
|
12144
12144
|
var MAX_SECTION_LINES = 5;
|
|
@@ -12241,10 +12241,10 @@ function getHeaderText(text) {
|
|
|
12241
12241
|
return { text, hasSeparatorLine };
|
|
12242
12242
|
}
|
|
12243
12243
|
|
|
12244
|
-
// ../../node_modules
|
|
12244
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/symbols.js
|
|
12245
12245
|
var MicrotaskDelay = Symbol("MicrotaskDelay");
|
|
12246
12246
|
|
|
12247
|
-
// ../../node_modules
|
|
12247
|
+
// ../../node_modules/monaco-editor/esm/vs/base/common/async.js
|
|
12248
12248
|
var runWhenGlobalIdle;
|
|
12249
12249
|
var _runWhenIdle;
|
|
12250
12250
|
(function() {
|
|
@@ -12513,7 +12513,7 @@ class AsyncIterableProducer {
|
|
|
12513
12513
|
}
|
|
12514
12514
|
}
|
|
12515
12515
|
|
|
12516
|
-
// ../../node_modules
|
|
12516
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/model/prefixSumComputer.js
|
|
12517
12517
|
class PrefixSumComputer {
|
|
12518
12518
|
constructor(values) {
|
|
12519
12519
|
this.values = values;
|
|
@@ -12645,7 +12645,7 @@ class PrefixSumIndexOfResult {
|
|
|
12645
12645
|
}
|
|
12646
12646
|
}
|
|
12647
12647
|
|
|
12648
|
-
// ../../node_modules
|
|
12648
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/model/mirrorTextModel.js
|
|
12649
12649
|
class MirrorTextModel {
|
|
12650
12650
|
constructor(uri, lines, eol, versionId) {
|
|
12651
12651
|
this._uri = uri;
|
|
@@ -12733,7 +12733,7 @@ class MirrorTextModel {
|
|
|
12733
12733
|
}
|
|
12734
12734
|
}
|
|
12735
12735
|
|
|
12736
|
-
// ../../node_modules
|
|
12736
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/services/textModelSync/textModelSync.impl.js
|
|
12737
12737
|
var STOP_SYNC_MODEL_DELTA_TIME_MS = 60 * 1000;
|
|
12738
12738
|
class WorkerTextModelSyncServer {
|
|
12739
12739
|
constructor() {
|
|
@@ -12936,7 +12936,7 @@ class MirrorModel extends MirrorTextModel {
|
|
|
12936
12936
|
}
|
|
12937
12937
|
}
|
|
12938
12938
|
|
|
12939
|
-
// ../../node_modules
|
|
12939
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/services/editorWebWorker.js
|
|
12940
12940
|
class EditorWorker {
|
|
12941
12941
|
constructor(_foreignModule = null) {
|
|
12942
12942
|
this._foreignModule = _foreignModule;
|
|
@@ -13200,7 +13200,7 @@ if (typeof importScripts === "function") {
|
|
|
13200
13200
|
globalThis.monaco = createMonacoBaseAPI();
|
|
13201
13201
|
}
|
|
13202
13202
|
|
|
13203
|
-
// ../../node_modules
|
|
13203
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/common/services/editorWorkerHost.js
|
|
13204
13204
|
class EditorWorkerHost {
|
|
13205
13205
|
static {
|
|
13206
13206
|
this.CHANNEL_NAME = "editorWorkerHost";
|
|
@@ -13213,7 +13213,7 @@ class EditorWorkerHost {
|
|
|
13213
13213
|
}
|
|
13214
13214
|
}
|
|
13215
13215
|
|
|
13216
|
-
// ../../node_modules
|
|
13216
|
+
// ../../node_modules/monaco-editor/esm/vs/editor/editor.worker.start.js
|
|
13217
13217
|
function start(createClient) {
|
|
13218
13218
|
let client;
|
|
13219
13219
|
const webWorkerServer = initialize((workerServer) => {
|
|
@@ -13243,7 +13243,7 @@ function start(createClient) {
|
|
|
13243
13243
|
return client;
|
|
13244
13244
|
}
|
|
13245
13245
|
|
|
13246
|
-
// ../../node_modules
|
|
13246
|
+
// ../../node_modules/monaco-editor/esm/vs/common/initialize.js
|
|
13247
13247
|
var initialized2 = false;
|
|
13248
13248
|
function initialize2(callback) {
|
|
13249
13249
|
initialized2 = true;
|
|
@@ -13254,7 +13254,7 @@ function initialize2(callback) {
|
|
|
13254
13254
|
};
|
|
13255
13255
|
}
|
|
13256
13256
|
|
|
13257
|
-
// ../../node_modules
|
|
13257
|
+
// ../../node_modules/monaco-editor/esm/vs/language/typescript/lib/typescriptServices.js
|
|
13258
13258
|
var exports_typescriptServices = {};
|
|
13259
13259
|
__export(exports_typescriptServices, {
|
|
13260
13260
|
typescript: () => typescript,
|
|
@@ -182123,7 +182123,7 @@ var ScriptTarget = ts.ScriptTarget;
|
|
|
182123
182123
|
var TokenClass = ts.TokenClass;
|
|
182124
182124
|
var typescript = ts;
|
|
182125
182125
|
|
|
182126
|
-
// ../../node_modules
|
|
182126
|
+
// ../../node_modules/monaco-editor/esm/vs/language/typescript/lib/lib.js
|
|
182127
182127
|
var libFileMap = {};
|
|
182128
182128
|
libFileMap["lib.d.ts"] = `/*! *****************************************************************************
|
|
182129
182129
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -249486,7 +249486,7 @@ interface WebGLRenderingContextOverloads {
|
|
|
249486
249486
|
}
|
|
249487
249487
|
`;
|
|
249488
249488
|
|
|
249489
|
-
// ../../node_modules
|
|
249489
|
+
// ../../node_modules/monaco-editor/esm/vs/language/typescript/tsWorker.js
|
|
249490
249490
|
function fileNameIsLib(resource) {
|
|
249491
249491
|
if (typeof resource === "string") {
|
|
249492
249492
|
if (/^file:\/\/\//.test(resource)) {
|
|
@@ -249805,7 +249805,7 @@ function create(ctx, createData) {
|
|
|
249805
249805
|
return new TSWorkerClass(ctx, createData);
|
|
249806
249806
|
}
|
|
249807
249807
|
globalThis.ts = typescript;
|
|
249808
|
-
// ../../node_modules
|
|
249808
|
+
// ../../node_modules/monaco-editor/esm/vs/language/typescript/ts.worker.js
|
|
249809
249809
|
self.onmessage = () => {
|
|
249810
249810
|
initialize2((ctx, createData) => {
|
|
249811
249811
|
return create(ctx, createData);
|