@dao42/d42paas-front 0.5.17 → 0.5.18
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/DaoPaaS.es.js +65 -65
- package/dist/DaoPaaS.umd.js +313 -313
- package/dist/assets/css.worker.5157db2f.js +62 -0
- package/dist/assets/editor.worker.43309ac9.js +4 -0
- package/dist/assets/html.worker.3f2697f1.js +452 -0
- package/dist/assets/json.worker.66c12891.js +35 -0
- package/dist/assets/ts.worker.d75e32f4.js +35320 -0
- package/dist/dev.html +35 -0
- package/dist/index.html +52 -0
- package/dist/sdkserver.html +36 -0
- package/package.json +1 -1
package/dist/DaoPaaS.es.js
CHANGED
|
@@ -33667,16 +33667,16 @@ var resolveLiveDescriptor = function(descriptor, environment, dnd2, tree2, keybo
|
|
|
33667
33667
|
};
|
|
33668
33668
|
var LiveDescription = function() {
|
|
33669
33669
|
var _a2;
|
|
33670
|
-
var
|
|
33670
|
+
var env2 = useTreeEnvironment();
|
|
33671
33671
|
var tree2 = useTree();
|
|
33672
33672
|
var dnd2 = useDragAndDrop();
|
|
33673
33673
|
var keys2 = useKeyboardBindings();
|
|
33674
|
-
if (!((_a2 =
|
|
33674
|
+
if (!((_a2 = env2.showLiveDescription) !== null && _a2 !== void 0 ? _a2 : true)) {
|
|
33675
33675
|
return null;
|
|
33676
33676
|
}
|
|
33677
33677
|
var descriptors = react.exports.useMemo(function() {
|
|
33678
33678
|
var _a3;
|
|
33679
|
-
return (_a3 =
|
|
33679
|
+
return (_a3 = env2.liveDescriptors) !== null && _a3 !== void 0 ? _a3 : defaultLiveDescriptors;
|
|
33680
33680
|
}, []);
|
|
33681
33681
|
var LiveWrapper = react.exports.useMemo(function() {
|
|
33682
33682
|
return function(_a3) {
|
|
@@ -33686,13 +33686,13 @@ var LiveDescription = function() {
|
|
|
33686
33686
|
}, []);
|
|
33687
33687
|
var MainWrapper = tree2.renderers.renderLiveDescriptorContainer;
|
|
33688
33688
|
if (tree2.treeInformation.isRenaming) {
|
|
33689
|
-
return react.exports.createElement(MainWrapper, { tree: tree2 }, react.exports.createElement(LiveWrapper, { live: "polite" }, resolveLiveDescriptor(descriptors.renamingItem,
|
|
33689
|
+
return react.exports.createElement(MainWrapper, { tree: tree2 }, react.exports.createElement(LiveWrapper, { live: "polite" }, resolveLiveDescriptor(descriptors.renamingItem, env2, dnd2, tree2, keys2)));
|
|
33690
33690
|
} else if (tree2.treeInformation.isSearching) {
|
|
33691
|
-
return react.exports.createElement(MainWrapper, { tree: tree2 }, react.exports.createElement(LiveWrapper, { live: "polite" }, resolveLiveDescriptor(descriptors.searching,
|
|
33691
|
+
return react.exports.createElement(MainWrapper, { tree: tree2 }, react.exports.createElement(LiveWrapper, { live: "polite" }, resolveLiveDescriptor(descriptors.searching, env2, dnd2, tree2, keys2)));
|
|
33692
33692
|
} else if (tree2.treeInformation.isProgrammaticallyDragging) {
|
|
33693
|
-
return react.exports.createElement(MainWrapper, { tree: tree2 }, react.exports.createElement(LiveWrapper, { live: "polite" }, resolveLiveDescriptor(descriptors.programmaticallyDragging,
|
|
33693
|
+
return react.exports.createElement(MainWrapper, { tree: tree2 }, react.exports.createElement(LiveWrapper, { live: "polite" }, resolveLiveDescriptor(descriptors.programmaticallyDragging, env2, dnd2, tree2, keys2)), react.exports.createElement(LiveWrapper, { live: "assertive" }, resolveLiveDescriptor(descriptors.programmaticallyDraggingTarget, env2, dnd2, tree2, keys2)));
|
|
33694
33694
|
} else {
|
|
33695
|
-
return react.exports.createElement(MainWrapper, { tree: tree2 }, react.exports.createElement(LiveWrapper, { live: "off" }, resolveLiveDescriptor(descriptors.introduction,
|
|
33695
|
+
return react.exports.createElement(MainWrapper, { tree: tree2 }, react.exports.createElement(LiveWrapper, { live: "off" }, resolveLiveDescriptor(descriptors.introduction, env2, dnd2, tree2, keys2)));
|
|
33696
33696
|
}
|
|
33697
33697
|
};
|
|
33698
33698
|
var __assign$2 = globalThis && globalThis.__assign || function() {
|
|
@@ -35139,7 +35139,7 @@ class BaseEditorOption {
|
|
|
35139
35139
|
applyUpdate(value, update) {
|
|
35140
35140
|
return applyUpdate(value, update);
|
|
35141
35141
|
}
|
|
35142
|
-
compute(
|
|
35142
|
+
compute(env2, options, value) {
|
|
35143
35143
|
return value;
|
|
35144
35144
|
}
|
|
35145
35145
|
}
|
|
@@ -35200,7 +35200,7 @@ class SimpleEditorOption {
|
|
|
35200
35200
|
}
|
|
35201
35201
|
return input;
|
|
35202
35202
|
}
|
|
35203
|
-
compute(
|
|
35203
|
+
compute(env2, options, value) {
|
|
35204
35204
|
return value;
|
|
35205
35205
|
}
|
|
35206
35206
|
}
|
|
@@ -35389,9 +35389,9 @@ class EditorAccessibilitySupport extends BaseEditorOption {
|
|
|
35389
35389
|
}
|
|
35390
35390
|
return this.defaultValue;
|
|
35391
35391
|
}
|
|
35392
|
-
compute(
|
|
35392
|
+
compute(env2, options, value) {
|
|
35393
35393
|
if (value === 0) {
|
|
35394
|
-
return
|
|
35394
|
+
return env2.accessibilitySupport;
|
|
35395
35395
|
}
|
|
35396
35396
|
return value;
|
|
35397
35397
|
}
|
|
@@ -35469,13 +35469,13 @@ class EditorClassName extends ComputedEditorOption {
|
|
|
35469
35469
|
constructor() {
|
|
35470
35470
|
super(127, [65, 33]);
|
|
35471
35471
|
}
|
|
35472
|
-
compute(
|
|
35472
|
+
compute(env2, options, _) {
|
|
35473
35473
|
const classNames2 = ["monaco-editor"];
|
|
35474
35474
|
if (options.get(33)) {
|
|
35475
35475
|
classNames2.push(options.get(33));
|
|
35476
35476
|
}
|
|
35477
|
-
if (
|
|
35478
|
-
classNames2.push(
|
|
35477
|
+
if (env2.extraEditorClassName) {
|
|
35478
|
+
classNames2.push(env2.extraEditorClassName);
|
|
35479
35479
|
}
|
|
35480
35480
|
if (options.get(65) === "default") {
|
|
35481
35481
|
classNames2.push("mouse-default");
|
|
@@ -35495,8 +35495,8 @@ class EditorEmptySelectionClipboard extends EditorBooleanOption {
|
|
|
35495
35495
|
constructor() {
|
|
35496
35496
|
super(32, "emptySelectionClipboard", true, { description: localize("emptySelectionClipboard", "Controls whether copying without a selection copies the current line.") });
|
|
35497
35497
|
}
|
|
35498
|
-
compute(
|
|
35499
|
-
return value &&
|
|
35498
|
+
compute(env2, options, value) {
|
|
35499
|
+
return value && env2.emptySelectionClipboard;
|
|
35500
35500
|
}
|
|
35501
35501
|
}
|
|
35502
35502
|
class EditorFind extends BaseEditorOption {
|
|
@@ -35612,8 +35612,8 @@ class EditorFontInfo extends ComputedEditorOption {
|
|
|
35612
35612
|
constructor() {
|
|
35613
35613
|
super(43);
|
|
35614
35614
|
}
|
|
35615
|
-
compute(
|
|
35616
|
-
return
|
|
35615
|
+
compute(env2, options, _) {
|
|
35616
|
+
return env2.fontInfo;
|
|
35617
35617
|
}
|
|
35618
35618
|
}
|
|
35619
35619
|
class EditorFontSize extends SimpleEditorOption {
|
|
@@ -35633,8 +35633,8 @@ class EditorFontSize extends SimpleEditorOption {
|
|
|
35633
35633
|
}
|
|
35634
35634
|
return EditorFloatOption.clamp(r2, 6, 100);
|
|
35635
35635
|
}
|
|
35636
|
-
compute(
|
|
35637
|
-
return
|
|
35636
|
+
compute(env2, options, value) {
|
|
35637
|
+
return env2.fontInfo.fontSize;
|
|
35638
35638
|
}
|
|
35639
35639
|
}
|
|
35640
35640
|
class EditorFontWeight extends BaseEditorOption {
|
|
@@ -35819,18 +35819,18 @@ class EditorLayoutInfoComputer extends ComputedEditorOption {
|
|
|
35819
35819
|
2
|
|
35820
35820
|
]);
|
|
35821
35821
|
}
|
|
35822
|
-
compute(
|
|
35822
|
+
compute(env2, options, _) {
|
|
35823
35823
|
return EditorLayoutInfoComputer.computeLayout(options, {
|
|
35824
|
-
memory:
|
|
35825
|
-
outerWidth:
|
|
35826
|
-
outerHeight:
|
|
35827
|
-
isDominatedByLongLines:
|
|
35828
|
-
lineHeight:
|
|
35829
|
-
viewLineCount:
|
|
35830
|
-
lineNumbersDigitCount:
|
|
35831
|
-
typicalHalfwidthCharacterWidth:
|
|
35832
|
-
maxDigitWidth:
|
|
35833
|
-
pixelRatio:
|
|
35824
|
+
memory: env2.memory,
|
|
35825
|
+
outerWidth: env2.outerWidth,
|
|
35826
|
+
outerHeight: env2.outerHeight,
|
|
35827
|
+
isDominatedByLongLines: env2.isDominatedByLongLines,
|
|
35828
|
+
lineHeight: env2.fontInfo.lineHeight,
|
|
35829
|
+
viewLineCount: env2.viewLineCount,
|
|
35830
|
+
lineNumbersDigitCount: env2.lineNumbersDigitCount,
|
|
35831
|
+
typicalHalfwidthCharacterWidth: env2.fontInfo.typicalHalfwidthCharacterWidth,
|
|
35832
|
+
maxDigitWidth: env2.fontInfo.maxDigitWidth,
|
|
35833
|
+
pixelRatio: env2.pixelRatio
|
|
35834
35834
|
});
|
|
35835
35835
|
}
|
|
35836
35836
|
static computeContainedMinimapLineCount(input) {
|
|
@@ -35953,21 +35953,21 @@ class EditorLayoutInfoComputer extends ComputedEditorOption {
|
|
|
35953
35953
|
minimapCanvasOuterHeight
|
|
35954
35954
|
};
|
|
35955
35955
|
}
|
|
35956
|
-
static computeLayout(options,
|
|
35957
|
-
const outerWidth =
|
|
35958
|
-
const outerHeight =
|
|
35959
|
-
const lineHeight =
|
|
35960
|
-
const lineNumbersDigitCount =
|
|
35961
|
-
const typicalHalfwidthCharacterWidth =
|
|
35962
|
-
const maxDigitWidth =
|
|
35963
|
-
const pixelRatio =
|
|
35964
|
-
const viewLineCount =
|
|
35956
|
+
static computeLayout(options, env2) {
|
|
35957
|
+
const outerWidth = env2.outerWidth | 0;
|
|
35958
|
+
const outerHeight = env2.outerHeight | 0;
|
|
35959
|
+
const lineHeight = env2.lineHeight | 0;
|
|
35960
|
+
const lineNumbersDigitCount = env2.lineNumbersDigitCount | 0;
|
|
35961
|
+
const typicalHalfwidthCharacterWidth = env2.typicalHalfwidthCharacterWidth;
|
|
35962
|
+
const maxDigitWidth = env2.maxDigitWidth;
|
|
35963
|
+
const pixelRatio = env2.pixelRatio;
|
|
35964
|
+
const viewLineCount = env2.viewLineCount;
|
|
35965
35965
|
const wordWrapOverride2 = options.get(122);
|
|
35966
35966
|
const wordWrapOverride1 = wordWrapOverride2 === "inherit" ? options.get(121) : wordWrapOverride2;
|
|
35967
35967
|
const wordWrap = wordWrapOverride1 === "inherit" ? options.get(117) : wordWrapOverride1;
|
|
35968
35968
|
const wordWrapColumn = options.get(120);
|
|
35969
35969
|
const accessibilitySupport = options.get(2);
|
|
35970
|
-
const isDominatedByLongLines =
|
|
35970
|
+
const isDominatedByLongLines = env2.isDominatedByLongLines;
|
|
35971
35971
|
const showGlyphMargin = options.get(49);
|
|
35972
35972
|
const showLineNumbers = options.get(59).renderType !== 0;
|
|
35973
35973
|
const lineNumbersMinChars = options.get(60);
|
|
@@ -36029,7 +36029,7 @@ class EditorLayoutInfoComputer extends ComputedEditorOption {
|
|
|
36029
36029
|
viewLineCount,
|
|
36030
36030
|
remainingWidth,
|
|
36031
36031
|
isViewportWrapping
|
|
36032
|
-
},
|
|
36032
|
+
}, env2.memory || new ComputeOptionsMemory());
|
|
36033
36033
|
if (minimapLayout.renderMinimap !== 0 && minimapLayout.minimapLeft === 0) {
|
|
36034
36034
|
glyphMarginLeft += minimapLayout.minimapWidth;
|
|
36035
36035
|
lineNumbersLeft += minimapLayout.minimapWidth;
|
|
@@ -36130,8 +36130,8 @@ class EditorLineHeight extends EditorFloatOption {
|
|
|
36130
36130
|
constructor() {
|
|
36131
36131
|
super(58, "lineHeight", EDITOR_FONT_DEFAULTS.lineHeight, (x2) => EditorFloatOption.clamp(x2, 0, 150), { markdownDescription: localize("lineHeight", "Controls the line height. \n - Use 0 to automatically compute the line height from the font size.\n - Values between 0 and 8 will be used as a multiplier with the font size.\n - Values greater than or equal to 8 will be used as effective values.") });
|
|
36132
36132
|
}
|
|
36133
|
-
compute(
|
|
36134
|
-
return
|
|
36133
|
+
compute(env2, options, value) {
|
|
36134
|
+
return env2.fontInfo.lineHeight;
|
|
36135
36135
|
}
|
|
36136
36136
|
}
|
|
36137
36137
|
class EditorMinimap extends BaseEditorOption {
|
|
@@ -36280,8 +36280,8 @@ class EditorPixelRatio extends ComputedEditorOption {
|
|
|
36280
36280
|
constructor() {
|
|
36281
36281
|
super(128);
|
|
36282
36282
|
}
|
|
36283
|
-
compute(
|
|
36284
|
-
return
|
|
36283
|
+
compute(env2, options, _) {
|
|
36284
|
+
return env2.pixelRatio;
|
|
36285
36285
|
}
|
|
36286
36286
|
}
|
|
36287
36287
|
class EditorQuickSuggestions extends BaseEditorOption {
|
|
@@ -37067,9 +37067,9 @@ class EditorTabFocusMode extends ComputedEditorOption {
|
|
|
37067
37067
|
constructor() {
|
|
37068
37068
|
super(129, [80]);
|
|
37069
37069
|
}
|
|
37070
|
-
compute(
|
|
37070
|
+
compute(env2, options, _) {
|
|
37071
37071
|
const readOnly = options.get(80);
|
|
37072
|
-
return readOnly ? true :
|
|
37072
|
+
return readOnly ? true : env2.tabFocusMode;
|
|
37073
37073
|
}
|
|
37074
37074
|
}
|
|
37075
37075
|
function _wrappingIndentFromString(wrappingIndent) {
|
|
@@ -37088,10 +37088,10 @@ class EditorWrappingInfoComputer extends ComputedEditorOption {
|
|
|
37088
37088
|
constructor() {
|
|
37089
37089
|
super(131, [130]);
|
|
37090
37090
|
}
|
|
37091
|
-
compute(
|
|
37091
|
+
compute(env2, options, _) {
|
|
37092
37092
|
const layoutInfo = options.get(130);
|
|
37093
37093
|
return {
|
|
37094
|
-
isDominatedByLongLines:
|
|
37094
|
+
isDominatedByLongLines: env2.isDominatedByLongLines,
|
|
37095
37095
|
isWordWrapMinified: layoutInfo.isWordWrapMinified,
|
|
37096
37096
|
isViewportWrapping: layoutInfo.isViewportWrapping,
|
|
37097
37097
|
wrappingColumn: layoutInfo.wrappingColumn
|
|
@@ -38848,10 +38848,10 @@ if (typeof globals.vscode !== "undefined" && typeof globals.vscode.process !== "
|
|
|
38848
38848
|
return process.arch;
|
|
38849
38849
|
},
|
|
38850
38850
|
get env() {
|
|
38851
|
-
return
|
|
38851
|
+
return process.env;
|
|
38852
38852
|
},
|
|
38853
38853
|
cwd() {
|
|
38854
|
-
return process.cwd();
|
|
38854
|
+
return process.env["VSCODE_CWD"] || process.cwd();
|
|
38855
38855
|
}
|
|
38856
38856
|
};
|
|
38857
38857
|
} else {
|
|
@@ -38871,7 +38871,7 @@ if (typeof globals.vscode !== "undefined" && typeof globals.vscode.process !== "
|
|
|
38871
38871
|
};
|
|
38872
38872
|
}
|
|
38873
38873
|
const cwd = safeProcess.cwd;
|
|
38874
|
-
safeProcess.env;
|
|
38874
|
+
const env = safeProcess.env;
|
|
38875
38875
|
const platform = safeProcess.platform;
|
|
38876
38876
|
const CHAR_UPPERCASE_A = 65;
|
|
38877
38877
|
const CHAR_LOWERCASE_A = 97;
|
|
@@ -39000,7 +39000,7 @@ const win32 = {
|
|
|
39000
39000
|
} else if (resolvedDevice.length === 0) {
|
|
39001
39001
|
path = cwd();
|
|
39002
39002
|
} else {
|
|
39003
|
-
path =
|
|
39003
|
+
path = env[`=${resolvedDevice}`] || cwd();
|
|
39004
39004
|
if (path === void 0 || path.slice(0, 2).toLowerCase() !== resolvedDevice.toLowerCase() && path.charCodeAt(2) === CHAR_BACKWARD_SLASH) {
|
|
39005
39005
|
path = `${resolvedDevice}\\`;
|
|
39006
39006
|
}
|
|
@@ -55075,10 +55075,10 @@ class EditorConfiguration2 {
|
|
|
55075
55075
|
}
|
|
55076
55076
|
return result;
|
|
55077
55077
|
}
|
|
55078
|
-
static computeOptions(options,
|
|
55078
|
+
static computeOptions(options, env2) {
|
|
55079
55079
|
const result = new ComputedEditorOptions();
|
|
55080
55080
|
for (const editorOption of editorOptionsRegistry) {
|
|
55081
|
-
result._write(editorOption.id, editorOption.compute(
|
|
55081
|
+
result._write(editorOption.id, editorOption.compute(env2, result, options._read(editorOption.id)));
|
|
55082
55082
|
}
|
|
55083
55083
|
return result;
|
|
55084
55084
|
}
|
|
@@ -55298,7 +55298,7 @@ class CommonEditorConfiguration extends Disposable {
|
|
|
55298
55298
|
_computeInternalOptions() {
|
|
55299
55299
|
const partialEnv = this._getEnvConfiguration();
|
|
55300
55300
|
const bareFontInfo = BareFontInfo.createFromValidatedSettings(this._validatedOptions, partialEnv.zoomLevel, partialEnv.pixelRatio, this.isSimpleWidget);
|
|
55301
|
-
const
|
|
55301
|
+
const env2 = {
|
|
55302
55302
|
memory: this._computeOptionsMemory,
|
|
55303
55303
|
outerWidth: partialEnv.outerWidth,
|
|
55304
55304
|
outerHeight: partialEnv.outerHeight - this._reservedHeight,
|
|
@@ -55312,7 +55312,7 @@ class CommonEditorConfiguration extends Disposable {
|
|
|
55312
55312
|
tabFocusMode: TabFocus.getTabFocusMode(),
|
|
55313
55313
|
accessibilitySupport: partialEnv.accessibilitySupport
|
|
55314
55314
|
};
|
|
55315
|
-
return EditorConfiguration2.computeOptions(this._validatedOptions,
|
|
55315
|
+
return EditorConfiguration2.computeOptions(this._validatedOptions, env2);
|
|
55316
55316
|
}
|
|
55317
55317
|
updateOptions(_newOptions) {
|
|
55318
55318
|
if (typeof _newOptions === "undefined") {
|
|
@@ -169452,7 +169452,7 @@ function createVSCodeApi(servicesProvider) {
|
|
|
169452
169452
|
this.callOnDispose();
|
|
169453
169453
|
}
|
|
169454
169454
|
}
|
|
169455
|
-
const
|
|
169455
|
+
const env2 = {
|
|
169456
169456
|
appName: "Monaco",
|
|
169457
169457
|
appRoot: "",
|
|
169458
169458
|
language: navigator.language || "en-US",
|
|
@@ -169479,7 +169479,7 @@ function createVSCodeApi(servicesProvider) {
|
|
|
169479
169479
|
languages: languages2,
|
|
169480
169480
|
window: window2,
|
|
169481
169481
|
commands,
|
|
169482
|
-
env,
|
|
169482
|
+
env: env2,
|
|
169483
169483
|
Uri: Uri2,
|
|
169484
169484
|
CompletionItem: CompletionItem2,
|
|
169485
169485
|
CodeLens: CodeLens2,
|
|
@@ -176912,27 +176912,27 @@ ${JSON.stringify(change, void 0, 4)}`);
|
|
|
176912
176912
|
__exportStar(monacoConverter, exports2);
|
|
176913
176913
|
})(lib);
|
|
176914
176914
|
function WorkerWrapper$4() {
|
|
176915
|
-
return new Worker("/assets/editor.worker.
|
|
176915
|
+
return new Worker("/assets/editor.worker.43309ac9.js", {
|
|
176916
176916
|
"type": "module"
|
|
176917
176917
|
});
|
|
176918
176918
|
}
|
|
176919
176919
|
function WorkerWrapper$3() {
|
|
176920
|
-
return new Worker("/assets/json.worker.
|
|
176920
|
+
return new Worker("/assets/json.worker.66c12891.js", {
|
|
176921
176921
|
"type": "module"
|
|
176922
176922
|
});
|
|
176923
176923
|
}
|
|
176924
176924
|
function WorkerWrapper$2() {
|
|
176925
|
-
return new Worker("/assets/css.worker.
|
|
176925
|
+
return new Worker("/assets/css.worker.5157db2f.js", {
|
|
176926
176926
|
"type": "module"
|
|
176927
176927
|
});
|
|
176928
176928
|
}
|
|
176929
176929
|
function WorkerWrapper$1() {
|
|
176930
|
-
return new Worker("/assets/html.worker.
|
|
176930
|
+
return new Worker("/assets/html.worker.3f2697f1.js", {
|
|
176931
176931
|
"type": "module"
|
|
176932
176932
|
});
|
|
176933
176933
|
}
|
|
176934
176934
|
function WorkerWrapper() {
|
|
176935
|
-
return new Worker("/assets/ts.worker.
|
|
176935
|
+
return new Worker("/assets/ts.worker.d75e32f4.js", {
|
|
176936
176936
|
"type": "module"
|
|
176937
176937
|
});
|
|
176938
176938
|
}
|