@opensumi/ide-debug 2.24.6-rc-1685671765.0 → 2.25.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/lib/browser/components/floating-click-widget/index.d.ts.map +1 -1
- package/lib/browser/components/floating-click-widget/index.js +3 -2
- package/lib/browser/components/floating-click-widget/index.js.map +1 -1
- package/lib/browser/components/floating-click-widget/index.module.less +4 -0
- package/lib/browser/debug-configuration-manager.d.ts +6 -0
- package/lib/browser/debug-configuration-manager.d.ts.map +1 -1
- package/lib/browser/debug-configuration-manager.js +64 -17
- package/lib/browser/debug-configuration-manager.js.map +1 -1
- package/lib/browser/debug-contribution.d.ts.map +1 -1
- package/lib/browser/debug-contribution.js +11 -3
- package/lib/browser/debug-contribution.js.map +1 -1
- package/lib/browser/{debug-schema-updater.d.ts → debug-schema-manager.d.ts} +2 -2
- package/lib/browser/debug-schema-manager.d.ts.map +1 -0
- package/lib/browser/{debug-schema-updater.js → debug-schema-manager.js} +10 -10
- package/lib/browser/debug-schema-manager.js.map +1 -0
- package/lib/browser/debugUtils.d.ts +1 -0
- package/lib/browser/debugUtils.d.ts.map +1 -1
- package/lib/browser/debugUtils.js +22 -1
- package/lib/browser/debugUtils.js.map +1 -1
- package/lib/browser/editor/debug-breakpoint-zone-widget.d.ts +2 -0
- package/lib/browser/editor/debug-breakpoint-zone-widget.d.ts.map +1 -1
- package/lib/browser/editor/debug-breakpoint-zone-widget.js +14 -0
- package/lib/browser/editor/debug-breakpoint-zone-widget.js.map +1 -1
- package/lib/browser/index.d.ts.map +1 -1
- package/lib/browser/index.js +5 -0
- package/lib/browser/index.js.map +1 -1
- package/lib/browser/preferences/components/checkbox-widget.d.ts +4 -0
- package/lib/browser/preferences/components/checkbox-widget.d.ts.map +1 -0
- package/lib/browser/preferences/components/checkbox-widget.js +27 -0
- package/lib/browser/preferences/components/checkbox-widget.js.map +1 -0
- package/lib/browser/preferences/components/fields/any-of-field.d.ts +4 -0
- package/lib/browser/preferences/components/fields/any-of-field.d.ts.map +1 -0
- package/lib/browser/preferences/components/fields/any-of-field.js +28 -0
- package/lib/browser/preferences/components/fields/any-of-field.js.map +1 -0
- package/lib/browser/preferences/components/fields/array-field.d.ts +5 -0
- package/lib/browser/preferences/components/fields/array-field.d.ts.map +1 -0
- package/lib/browser/preferences/components/fields/array-field.js +19 -0
- package/lib/browser/preferences/components/fields/array-field.js.map +1 -0
- package/lib/browser/preferences/components/fields/object-filed.d.ts +5 -0
- package/lib/browser/preferences/components/fields/object-filed.d.ts.map +1 -0
- package/lib/browser/preferences/components/fields/object-filed.js +26 -0
- package/lib/browser/preferences/components/fields/object-filed.js.map +1 -0
- package/lib/browser/preferences/components/fields/title-field.d.ts +4 -0
- package/lib/browser/preferences/components/fields/title-field.d.ts.map +1 -0
- package/lib/browser/preferences/components/fields/title-field.js +12 -0
- package/lib/browser/preferences/components/fields/title-field.js.map +1 -0
- package/lib/browser/preferences/components/json-widget.module.less +36 -0
- package/lib/browser/preferences/components/select-widget.d.ts +4 -0
- package/lib/browser/preferences/components/select-widget.d.ts.map +1 -0
- package/lib/browser/preferences/components/select-widget.js +28 -0
- package/lib/browser/preferences/components/select-widget.js.map +1 -0
- package/lib/browser/preferences/components/text-widget.d.ts +4 -0
- package/lib/browser/preferences/components/text-widget.d.ts.map +1 -0
- package/lib/browser/preferences/components/text-widget.js +41 -0
- package/lib/browser/preferences/components/text-widget.js.map +1 -0
- package/lib/browser/preferences/launch-preferences-contribution.d.ts +14 -2
- package/lib/browser/preferences/launch-preferences-contribution.d.ts.map +1 -1
- package/lib/browser/preferences/launch-preferences-contribution.js +61 -2
- package/lib/browser/preferences/launch-preferences-contribution.js.map +1 -1
- package/lib/browser/preferences/launch.module.less +102 -0
- package/lib/browser/preferences/launch.service.d.ts +31 -0
- package/lib/browser/preferences/launch.service.d.ts.map +1 -0
- package/lib/browser/preferences/launch.service.js +109 -0
- package/lib/browser/preferences/launch.service.js.map +1 -0
- package/lib/browser/preferences/launch.view.d.ts +3 -0
- package/lib/browser/preferences/launch.view.d.ts.map +1 -0
- package/lib/browser/preferences/launch.view.js +287 -0
- package/lib/browser/preferences/launch.view.js.map +1 -0
- package/lib/browser/preferences/model/configuration-items.d.ts +12 -0
- package/lib/browser/preferences/model/configuration-items.d.ts.map +1 -0
- package/lib/browser/preferences/model/configuration-items.js +22 -0
- package/lib/browser/preferences/model/configuration-items.js.map +1 -0
- package/lib/browser/preferences/templates/additional-template.d.ts +4 -0
- package/lib/browser/preferences/templates/additional-template.d.ts.map +1 -0
- package/lib/browser/preferences/templates/additional-template.js +30 -0
- package/lib/browser/preferences/templates/additional-template.js.map +1 -0
- package/lib/browser/preferences/templates/array-field-item-template.d.ts +4 -0
- package/lib/browser/preferences/templates/array-field-item-template.d.ts.map +1 -0
- package/lib/browser/preferences/templates/array-field-item-template.js +31 -0
- package/lib/browser/preferences/templates/array-field-item-template.js.map +1 -0
- package/lib/browser/preferences/templates/array-field-template.d.ts +4 -0
- package/lib/browser/preferences/templates/array-field-template.d.ts.map +1 -0
- package/lib/browser/preferences/templates/array-field-template.js +31 -0
- package/lib/browser/preferences/templates/array-field-template.js.map +1 -0
- package/lib/browser/preferences/templates/base-input-template.d.ts +4 -0
- package/lib/browser/preferences/templates/base-input-template.d.ts.map +1 -0
- package/lib/browser/preferences/templates/base-input-template.js +29 -0
- package/lib/browser/preferences/templates/base-input-template.js.map +1 -0
- package/lib/browser/preferences/templates/button-template.d.ts +12 -0
- package/lib/browser/preferences/templates/button-template.d.ts.map +1 -0
- package/lib/browser/preferences/templates/button-template.js +71 -0
- package/lib/browser/preferences/templates/button-template.js.map +1 -0
- package/lib/browser/preferences/templates/description-field-template.d.ts +4 -0
- package/lib/browser/preferences/templates/description-field-template.d.ts.map +1 -0
- package/lib/browser/preferences/templates/description-field-template.js +16 -0
- package/lib/browser/preferences/templates/description-field-template.js.map +1 -0
- package/lib/browser/preferences/templates/field-template.d.ts +4 -0
- package/lib/browser/preferences/templates/field-template.d.ts.map +1 -0
- package/lib/browser/preferences/templates/field-template.js +19 -0
- package/lib/browser/preferences/templates/field-template.js.map +1 -0
- package/lib/browser/preferences/templates/json-templates.module.less +133 -0
- package/lib/browser/preferences/templates/object-field-template.d.ts +4 -0
- package/lib/browser/preferences/templates/object-field-template.d.ts.map +1 -0
- package/lib/browser/preferences/templates/object-field-template.js +74 -0
- package/lib/browser/preferences/templates/object-field-template.js.map +1 -0
- package/lib/browser/view/breakpoints/debug-breakpoints.module.less +19 -17
- package/lib/browser/view/breakpoints/debug-breakpoints.view.d.ts.map +1 -1
- package/lib/browser/view/breakpoints/debug-breakpoints.view.js +15 -7
- package/lib/browser/view/breakpoints/debug-breakpoints.view.js.map +1 -1
- package/lib/browser/view/configuration/debug-configuration.service.d.ts +1 -0
- package/lib/browser/view/configuration/debug-configuration.service.d.ts.map +1 -1
- package/lib/browser/view/configuration/debug-configuration.service.js +3 -0
- package/lib/browser/view/configuration/debug-configuration.service.js.map +1 -1
- package/lib/common/constants.d.ts +2 -0
- package/lib/common/constants.d.ts.map +1 -1
- package/lib/common/constants.js +4 -2
- package/lib/common/constants.js.map +1 -1
- package/lib/common/debug-schema.d.ts +5 -0
- package/lib/common/debug-schema.d.ts.map +1 -0
- package/lib/common/debug-schema.js +7 -0
- package/lib/common/debug-schema.js.map +1 -0
- package/lib/common/debug-service.d.ts +10 -0
- package/lib/common/debug-service.d.ts.map +1 -1
- package/lib/common/debug-service.js +8 -1
- package/lib/common/debug-service.js.map +1 -1
- package/lib/common/index.d.ts +1 -1
- package/lib/common/index.d.ts.map +1 -1
- package/lib/common/index.js +1 -1
- package/lib/common/index.js.map +1 -1
- package/package.json +26 -23
- package/src/browser/components/floating-click-widget/index.module.less +4 -0
- package/src/browser/components/floating-click-widget/index.tsx +4 -1
- package/src/browser/debug-configuration-manager.ts +82 -18
- package/src/browser/debug-contribution.ts +12 -4
- package/src/browser/{debug-schema-updater.ts → debug-schema-manager.ts} +5 -4
- package/src/browser/debugUtils.ts +23 -0
- package/src/browser/editor/debug-breakpoint-zone-widget.tsx +16 -1
- package/src/browser/index.ts +6 -0
- package/src/browser/preferences/components/checkbox-widget.tsx +78 -0
- package/src/browser/preferences/components/fields/any-of-field.tsx +90 -0
- package/src/browser/preferences/components/fields/array-field.tsx +25 -0
- package/src/browser/preferences/components/fields/object-filed.tsx +33 -0
- package/src/browser/preferences/components/fields/title-field.tsx +16 -0
- package/src/browser/preferences/components/json-widget.module.less +36 -0
- package/src/browser/preferences/components/select-widget.tsx +68 -0
- package/src/browser/preferences/components/text-widget.tsx +114 -0
- package/src/browser/preferences/launch-preferences-contribution.ts +84 -3
- package/src/browser/preferences/launch.module.less +102 -0
- package/src/browser/preferences/launch.service.ts +133 -0
- package/src/browser/preferences/launch.view.tsx +494 -0
- package/src/browser/preferences/model/configuration-items.ts +24 -0
- package/src/browser/preferences/templates/additional-template.tsx +77 -0
- package/src/browser/preferences/templates/array-field-item-template.tsx +90 -0
- package/src/browser/preferences/templates/array-field-template.tsx +92 -0
- package/src/browser/preferences/templates/base-input-template.tsx +79 -0
- package/src/browser/preferences/templates/button-template.tsx +107 -0
- package/src/browser/preferences/templates/description-field-template.tsx +29 -0
- package/src/browser/preferences/templates/field-template.tsx +71 -0
- package/src/browser/preferences/templates/json-templates.module.less +133 -0
- package/src/browser/preferences/templates/object-field-template.tsx +156 -0
- package/src/browser/view/breakpoints/debug-breakpoints.module.less +19 -17
- package/src/browser/view/breakpoints/debug-breakpoints.view.tsx +22 -10
- package/src/browser/view/configuration/debug-configuration.service.ts +4 -0
- package/src/common/constants.ts +3 -0
- package/src/common/debug-schema.ts +5 -0
- package/src/common/debug-service.ts +13 -0
- package/src/common/index.ts +1 -1
- package/lib/browser/debug-schema-updater.d.ts.map +0 -1
- package/lib/browser/debug-schema-updater.js.map +0 -1
- package/lib/common/debug-schema-updater.d.ts +0 -3
- package/lib/common/debug-schema-updater.d.ts.map +0 -1
- package/lib/common/debug-schema-updater.js +0 -5
- package/lib/common/debug-schema-updater.js.map +0 -1
- package/src/common/debug-schema-updater.ts +0 -3
|
@@ -7,9 +7,11 @@ const react_1 = tslib_1.__importDefault(require("react"));
|
|
|
7
7
|
const react_dom_1 = tslib_1.__importDefault(require("react-dom"));
|
|
8
8
|
const di_1 = require("@opensumi/di");
|
|
9
9
|
const ide_components_1 = require("@opensumi/ide-components");
|
|
10
|
+
const ide_core_browser_1 = require("@opensumi/ide-core-browser");
|
|
10
11
|
const ide_core_common_1 = require("@opensumi/ide-core-common");
|
|
11
12
|
const ide_monaco_enhance_1 = require("@opensumi/ide-monaco-enhance");
|
|
12
13
|
const ide_theme_1 = require("@opensumi/ide-theme");
|
|
14
|
+
const editorOptions_1 = require("@opensumi/monaco-editor-core/esm/vs/editor/common/config/editorOptions");
|
|
13
15
|
const common_1 = require("../../common");
|
|
14
16
|
const debug_breakpoints_service_1 = require("../view/breakpoints/debug-breakpoints.service");
|
|
15
17
|
const debug_breakpoint_module_less_1 = tslib_1.__importDefault(require("./debug-breakpoint.module.less"));
|
|
@@ -152,6 +154,14 @@ let DebugBreakpointZoneWidget = DebugBreakpointZoneWidget_1 = class DebugBreakpo
|
|
|
152
154
|
this._wrapper.className = debug_breakpoint_module_less_1.default.debug_breakpoint_wrapper;
|
|
153
155
|
this._selection.className = debug_breakpoint_module_less_1.default.debug_breakpoint_selected;
|
|
154
156
|
this._input.className = debug_breakpoint_module_less_1.default.debug_breakpoint_input;
|
|
157
|
+
const model = this.editor.getModel();
|
|
158
|
+
if (!model) {
|
|
159
|
+
return;
|
|
160
|
+
}
|
|
161
|
+
const lineHeight = this.editor.getOption(editorOptions_1.EditorOption.lineHeight);
|
|
162
|
+
const fontSize = this.editor.getOption(editorOptions_1.EditorOption.fontSize);
|
|
163
|
+
const newTopMargin = lineHeight - fontSize;
|
|
164
|
+
this._input.style.marginTop = newTopMargin + 'px';
|
|
155
165
|
}
|
|
156
166
|
applyStyle() {
|
|
157
167
|
this.syncPreContent();
|
|
@@ -186,6 +196,10 @@ tslib_1.__decorate([
|
|
|
186
196
|
(0, di_1.Autowired)(debug_breakpoints_service_1.DebugBreakpointsService),
|
|
187
197
|
tslib_1.__metadata("design:type", debug_breakpoints_service_1.DebugBreakpointsService)
|
|
188
198
|
], DebugBreakpointZoneWidget.prototype, "debugBreakpointsService", void 0);
|
|
199
|
+
tslib_1.__decorate([
|
|
200
|
+
(0, di_1.Autowired)(ide_core_browser_1.PreferenceService),
|
|
201
|
+
tslib_1.__metadata("design:type", Object)
|
|
202
|
+
], DebugBreakpointZoneWidget.prototype, "preferenceService", void 0);
|
|
189
203
|
tslib_1.__decorate([
|
|
190
204
|
(0, di_1.Autowired)(ide_theme_1.ICSSStyleService),
|
|
191
205
|
tslib_1.__metadata("design:type", Object)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug-breakpoint-zone-widget.js","sourceRoot":"","sources":["../../../src/browser/editor/debug-breakpoint-zone-widget.tsx"],"names":[],"mappings":";;;;;AAAA,0DAA0B;AAC1B,kEAAiC;AAEjC,qCAAqD;AACrD,6DAA0D;AAC1D,+DAAqE;AAErE,qEAA0D;AAC1D,mDAAuD;
|
|
1
|
+
{"version":3,"file":"debug-breakpoint-zone-widget.js","sourceRoot":"","sources":["../../../src/browser/editor/debug-breakpoint-zone-widget.tsx"],"names":[],"mappings":";;;;;AAAA,0DAA0B;AAC1B,kEAAiC;AAEjC,qCAAqD;AACrD,6DAA0D;AAC1D,iEAA+D;AAC/D,+DAAqE;AAErE,qEAA0D;AAC1D,mDAAuD;AACvD,0GAAsG;AAGtG,yCAKsB;AACtB,6FAAwF;AAExF,0GAAoD;AAG7C,IAAM,yBAAyB,iCAA/B,MAAM,yBAA0B,SAAQ,+BAAU;IAC7C,cAAc,CAAC,SAAsB,IAAS,CAAC;IA4BzD,IAAI,MAAM;QACR,uCACK,IAAI,CAAC,QAAQ,KAChB,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,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ourceRoot":"","sources":["../../src/browser/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAwB,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAsB,MAAM,4BAA4B,CAAC;AAkB/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAsB7D,OAAO,oBAAoB,CAAC;AAE5B,qBACa,WAAY,SAAQ,aAAa;IAC5C,SAAS,EAAE,QAAQ,EAAE,CAuEnB;IAEF,oBAAoB,SAA4B;IAEhD,WAAW,gCAA0B;IAErC,SAAS,UAAQ;IACjB,SAAS,4CAA6B;CACvC"}
|
package/lib/browser/index.js
CHANGED
|
@@ -20,6 +20,7 @@ const debug_hover_source_1 = require("./editor/debug-hover-source");
|
|
|
20
20
|
const evaluatable_expression_1 = require("./editor/evaluatable-expression");
|
|
21
21
|
const launch_folder_preference_provider_1 = require("./preferences/launch-folder-preference-provider");
|
|
22
22
|
const launch_preferences_contribution_1 = require("./preferences/launch-preferences-contribution");
|
|
23
|
+
const launch_service_1 = require("./preferences/launch.service");
|
|
23
24
|
const debug_toolbar_view_1 = require("./view/configuration/debug-toolbar.view");
|
|
24
25
|
const debug_console_tree_model_service_1 = require("./view/console/debug-console-tree.model.service");
|
|
25
26
|
const debug_console_contribution_1 = require("./view/console/debug-console.contribution");
|
|
@@ -77,6 +78,10 @@ let DebugModule = class DebugModule extends ide_core_browser_1.BrowserModule {
|
|
|
77
78
|
token: common_1.IDebugService,
|
|
78
79
|
useClass: debug_service_1.DebugService,
|
|
79
80
|
},
|
|
81
|
+
{
|
|
82
|
+
token: common_1.ILaunchService,
|
|
83
|
+
useClass: launch_service_1.LaunchService,
|
|
84
|
+
},
|
|
80
85
|
{
|
|
81
86
|
token: common_1.IDebugProgress,
|
|
82
87
|
useClass: debug_progress_service_1.DebugProgressService,
|
package/lib/browser/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/browser/index.ts"],"names":[],"mappings":";;;;AAAA,qCAA8D;AAC9D,iEAA+E;AAC/E,2HAAqH;AAErH,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/browser/index.ts"],"names":[],"mappings":";;;;AAAA,qCAA8D;AAC9D,iEAA+E;AAC/E,2HAAqH;AAErH,sCASmB;AAEnB,6CAAiD;AACjD,+CAA0D;AAC1D,+EAA0E;AAC1E,6DAAyD;AACzD,2DAA6D;AAC7D,qEAAgE;AAChE,mDAA+C;AAC/C,6EAIsC;AACtC,mEAA8D;AAC9D,qCAAkF;AAClF,oEAA+D;AAC/D,4EAAkH;AAClH,uGAAiG;AACjG,mGAA8F;AAC9F,iEAA6D;AAC7D,gFAAoF;AACpF,sGAA2F;AAC3F,0FAAqF;AACrF,+FAAyF;AACzF,gGAA2F;AAC3F,oFAA+E;AAE/E,8BAA4B;AAGrB,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,gCAAa;IAAvC;;QACL,cAAS,GAAe;YACtB;gBACE,KAAK,EAAE,qCAAgB;gBACvB,QAAQ,EAAE,qCAAgB;aAC3B;YACD;gBACE,KAAK,EAAE,gCAAuB;gBAC9B,QAAQ,EAAE,gCAAuB;aAClC;YACD;gBACE,KAAK,EAAE,2BAAkB;gBACzB,QAAQ,EAAE,0BAAiB;aAC5B;YACD;gBACE,KAAK,EAAE,6BAAoB;gBAC3B,QAAQ,EAAE,2CAAmB;aAC9B;YACD;gBACE,KAAK,EAAE,8BAAiB;gBACxB,QAAQ,EAAE,8BAAiB;aAC5B;YACD;gBACE,KAAK,EAAE,uDAAyB;gBAChC,QAAQ,EAAE,uDAAyB;aACpC;YACD;gBACE,KAAK,EAAE,sDAA6B;gBACpC,QAAQ,EAAE,yDAAgC;aAC3C;YACD;gBACE,KAAK,EAAE,8DAA4B;gBACnC,QAAQ,EAAE,kEAA8B;gBACxC,cAAc,EAAE,IAAI;gBACpB,GAAG,EAAE,QAAQ;aACd;YACD;gBACE,KAAK,EAAE,0BAAiB;gBACxB,UAAU,EAAE,CAAC,QAAkB,EAAE,EAAE,CAAC,CAAC,MAAmB,EAAE,EAAE,CAAC,mBAAU,CAAC,WAAW,CAAC,QAAQ,EAAE,MAAM,CAAC;aACtG;YACD;gBACE,KAAK,EAAE,6DAAgC;gBACvC,QAAQ,EAAE,iEAAoC;aAC/C;YACD;gBACE,KAAK,EAAE,sBAAa;gBACpB,QAAQ,EAAE,4BAAY;aACvB;YACD;gBACE,KAAK,EAAE,uBAAc;gBACrB,QAAQ,EAAE,8BAAa;aACxB;YACD;gBACE,KAAK,EAAE,uBAAc;gBACrB,QAAQ,EAAE,6CAAoB;aAC/B;YACD;gBACE,KAAK,EAAE,kCAAyB;gBAChC,QAAQ,EAAE,2DAAwB;aACnC;YACD,gBAAgB;YAChB,+DAA6B;YAC7B,sCAAiB;YACjB,qDAAwB;YACxB,yDAA0B;YAC1B,0DAA0B;YAC1B,iDAAsB;YACtB,cAAc;YACd;gBACE,KAAK,EAAE,uCAAyB;gBAChC,UAAU,EAAE,CAAC,QAAkB,EAAE,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,qCAAkB,CAAC,CAAC,SAAS,CAAC,mBAAmB,CAAC;aACpG;SACF,CAAC;QAEF,yBAAoB,GAAG,qDAAwB,CAAC;QAEhD,gBAAW,GAAG,0CAAsB,CAAC;QAErC,cAAS,GAAG,IAAI,CAAC;QACjB,cAAS,GAAG,8CAAyB,CAAC;IACxC,CAAC;CAAA,CAAA;AAhFY,WAAW;IADvB,IAAA,eAAU,GAAE;GACA,WAAW,CAgFvB;AAhFY,kCAAW"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { RJSFSchema, WidgetProps, GenericObjectType } from '@rjsf/utils';
|
|
3
|
+
export declare const CheckboxWidget: <T = any, S extends import("json-schema").JSONSchema7 = RJSFSchema, F extends GenericObjectType = any>(props: WidgetProps<T, S, F>) => JSX.Element;
|
|
4
|
+
//# sourceMappingURL=checkbox-widget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox-widget.d.ts","sourceRoot":"","sources":["../../../../src/browser/preferences/components/checkbox-widget.tsx"],"names":[],"mappings":";AAAA,OAAO,EAML,UAAU,EAEV,WAAW,EACX,iBAAiB,EAClB,MAAM,aAAa,CAAC;AAQrB,eAAO,MAAM,cAAc,oJA2D1B,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CheckboxWidget = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const utils_1 = require("@rjsf/utils");
|
|
6
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
7
|
+
const ide_components_1 = require("@opensumi/ide-components");
|
|
8
|
+
const json_widget_module_less_1 = tslib_1.__importDefault(require("./json-widget.module.less"));
|
|
9
|
+
const CheckboxWidget = (props) => {
|
|
10
|
+
var _a, _b;
|
|
11
|
+
const { disabled, formContext, id, label, hideLabel, onBlur, onChange, onFocus, readonly, value, registry, options, schema, uiSchema, } = props;
|
|
12
|
+
const { readonlyAsDisabled = true } = formContext;
|
|
13
|
+
const DescriptionFieldTemplate = (0, utils_1.getTemplate)('DescriptionFieldTemplate', registry, options);
|
|
14
|
+
const handleChange = ({ target }) => onChange(target.checked);
|
|
15
|
+
const handleBlur = ({ target }) => onBlur(id, target.checked);
|
|
16
|
+
const handleFocus = ({ target }) => onFocus(id, target.checked);
|
|
17
|
+
const extraProps = {
|
|
18
|
+
onBlur: !readonly ? handleBlur : undefined,
|
|
19
|
+
onFocus: !readonly ? handleFocus : undefined,
|
|
20
|
+
};
|
|
21
|
+
const description = (_b = (_a = options.description) !== null && _a !== void 0 ? _a : schema.description) !== null && _b !== void 0 ? _b : schema.markdownDescription;
|
|
22
|
+
return (react_1.default.createElement("div", { className: json_widget_module_less_1.default.checkbox_widget_control },
|
|
23
|
+
!hideLabel && (react_1.default.createElement("label", { title: label, className: json_widget_module_less_1.default.field_label }, label)),
|
|
24
|
+
react_1.default.createElement(ide_components_1.CheckBox, Object.assign({ checked: typeof value === 'undefined' ? false : value, disabled: disabled || (readonlyAsDisabled && readonly), id: id, name: id, onChange: !readonly ? handleChange : undefined }, extraProps, { "aria-describedby": (0, utils_1.ariaDescribedByIds)(id), label: description, className: json_widget_module_less_1.default.checkbox }))));
|
|
25
|
+
};
|
|
26
|
+
exports.CheckboxWidget = CheckboxWidget;
|
|
27
|
+
//# sourceMappingURL=checkbox-widget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox-widget.js","sourceRoot":"","sources":["../../../../src/browser/preferences/components/checkbox-widget.tsx"],"names":[],"mappings":";;;;AAAA,uCAUqB;AACrB,0DAA0C;AAE1C,6DAAoD;AAGpD,gGAA+C;AAExC,MAAM,cAAc,GAAG,CAC5B,KAA2B,EAC3B,EAAE;;IACF,MAAM,EACJ,QAAQ,EACR,WAAW,EACX,EAAE,EACF,KAAK,EACL,SAAS,EACT,MAAM,EACN,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,OAAO,EACP,MAAM,EACN,QAAQ,GACT,GAAG,KAAK,CAAC;IACV,MAAM,EAAE,kBAAkB,GAAG,IAAI,EAAE,GAAG,WAAgC,CAAC;IACvE,MAAM,wBAAwB,GAAG,IAAA,mBAAW,EAC1C,0BAA0B,EAC1B,QAAQ,EACR,OAAO,CACR,CAAC;IAEF,MAAM,YAAY,GAAG,CAAC,EAAE,MAAM,EAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAEnE,MAAM,UAAU,GAAG,CAAC,EAAE,MAAM,EAAgC,EAAE,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IAE5F,MAAM,WAAW,GAAG,CAAC,EAAE,MAAM,EAAgC,EAAE,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IAE9F,MAAM,UAAU,GAAG;QACjB,MAAM,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS;QAC1C,OAAO,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS;KAC7C,CAAC;IAEF,MAAM,WAAW,GAAG,MAAA,MAAA,OAAO,CAAC,WAAW,mCAAI,MAAM,CAAC,WAAW,mCAAK,MAAsB,CAAC,mBAAmB,CAAC;IAE7G,OAAO,CACL,uCAAK,SAAS,EAAE,iCAAM,CAAC,uBAAuB;QAC3C,CAAC,SAAS,IAAI,CACb,yCAAO,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,iCAAM,CAAC,WAAW,IAC/C,KAAK,CACA,CACT;QACD,8BAAC,yBAAQ,kBACP,OAAO,EAAE,OAAO,KAAK,KAAK,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,EACrD,QAAQ,EAAE,QAAQ,IAAI,CAAC,kBAAkB,IAAI,QAAQ,CAAC,EACtD,EAAE,EAAE,EAAE,EACN,IAAI,EAAE,EAAE,EACR,QAAQ,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,IAC1C,UAAU,wBACI,IAAA,0BAAkB,EAAI,EAAE,CAAC,EAC3C,KAAK,EAAE,WAAW,EAClB,SAAS,EAAE,iCAAM,CAAC,QAAQ,IAC1B,CACE,CACP,CAAC;AACJ,CAAC,CAAC;AA3DW,QAAA,cAAc,kBA2DzB"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FieldProps, GenericObjectType, RJSFSchema } from '@rjsf/utils';
|
|
3
|
+
export declare const AnyOfField: <T = any, S extends import("json-schema").JSONSchema7 = RJSFSchema, F extends GenericObjectType = any>(props: FieldProps<T, S, F>) => JSX.Element;
|
|
4
|
+
//# sourceMappingURL=any-of-field.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"any-of-field.d.ts","sourceRoot":"","sources":["../../../../../src/browser/preferences/components/fields/any-of-field.tsx"],"names":[],"mappings":";AAAA,OAAO,EAEL,UAAU,EAEV,iBAAiB,EAEjB,UAAU,EAGX,MAAM,aAAa,CAAC;AASrB,eAAO,MAAM,UAAU,mJAuEtB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AnyOfField = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const utils_1 = require("@rjsf/utils");
|
|
6
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
7
|
+
const ide_components_1 = require("@opensumi/ide-components");
|
|
8
|
+
const json_widget_module_less_1 = tslib_1.__importDefault(require("../json-widget.module.less"));
|
|
9
|
+
// 对于 anyof/oneof 的处理统一使用 input
|
|
10
|
+
const AnyOfField = (props) => {
|
|
11
|
+
var _a, _b;
|
|
12
|
+
const { disabled, formContext, idSchema, onBlur, id, onChange, onFocus, options, placeholder, readonly, registry, name, required, schema, uiOptions, } = props;
|
|
13
|
+
const { readonlyAsDisabled = true } = formContext;
|
|
14
|
+
const handleTextChange = ({ target }) => onChange(target.value === '' ? options.emptyValue : target.value);
|
|
15
|
+
const handleBlur = ({ target }) => onBlur(id, target.value);
|
|
16
|
+
const handleFocus = ({ target }) => onFocus(id, target.value);
|
|
17
|
+
const description = (_b = (_a = options.description) !== null && _a !== void 0 ? _a : schema.description) !== null && _b !== void 0 ? _b : schema.markdownDescription;
|
|
18
|
+
const TitleFieldTemplate = (0, utils_1.getTemplate)('TitleFieldTemplate', registry, uiOptions);
|
|
19
|
+
const DescriptionFieldTemplate = (0, utils_1.getTemplate)('DescriptionFieldTemplate', registry, uiOptions);
|
|
20
|
+
return (react_1.default.createElement("div", { className: json_widget_module_less_1.default.any_of_widget_control },
|
|
21
|
+
name && (react_1.default.createElement("div", { className: json_widget_module_less_1.default.object_title },
|
|
22
|
+
react_1.default.createElement(TitleFieldTemplate, { id: (0, utils_1.titleId)(idSchema), title: name, required: required, schema: schema, registry: registry }))),
|
|
23
|
+
description && (react_1.default.createElement("div", { className: json_widget_module_less_1.default.object_description },
|
|
24
|
+
react_1.default.createElement(DescriptionFieldTemplate, { id: (0, utils_1.descriptionId)(idSchema), description: description, schema: schema, registry: registry }))),
|
|
25
|
+
react_1.default.createElement(ide_components_1.Input, { disabled: disabled || (readonlyAsDisabled && readonly), onBlur: !readonly ? handleBlur : undefined, onChange: !readonly ? handleTextChange : undefined, onFocus: !readonly ? handleFocus : undefined, placeholder: placeholder, autoComplete: 'off' })));
|
|
26
|
+
};
|
|
27
|
+
exports.AnyOfField = AnyOfField;
|
|
28
|
+
//# sourceMappingURL=any-of-field.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"any-of-field.js","sourceRoot":"","sources":["../../../../../src/browser/preferences/components/fields/any-of-field.tsx"],"names":[],"mappings":";;;;AAAA,uCASqB;AACrB,0DAA0B;AAE1B,6DAAiD;AAGjD,iGAAgD;AAEhD,+BAA+B;AACxB,MAAM,UAAU,GAAG,CACxB,KAA0B,EAC1B,EAAE;;IACF,MAAM,EACJ,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,MAAM,EACN,EAAE,EACF,QAAQ,EACR,OAAO,EACP,OAAO,EACP,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,MAAM,EACN,SAAS,GACV,GAAG,KAAK,CAAC;IACV,MAAM,EAAE,kBAAkB,GAAG,IAAI,EAAE,GAAG,WAAgC,CAAC;IAEvE,MAAM,gBAAgB,GAAG,CAAC,EAAE,MAAM,EAAuC,EAAE,EAAE,CAC3E,QAAQ,CA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QAAQ,IAAI,CAAC,kBAAkB,IAAI,QAAQ,CAAC,EACtD,MAAM,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,EAC1C,QAAQ,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,EAClD,OAAO,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,EAC5C,WAAW,EAAE,WAAW,EACxB,YAAY,EAAC,KAAK,GAClB,CACE,CACP,CAAC;AACJ,CAAC,CAAC;AAvEW,QAAA,UAAU,cAuErB"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FieldProps } from '@rjsf/utils';
|
|
3
|
+
import { RJSFSchema } from '@rjsf/utils';
|
|
4
|
+
export declare const ArrayField: <T = any, S extends import("json-schema").JSONSchema7 = RJSFSchema, F extends import("@rjsf/utils").GenericObjectType = any>(props: FieldProps<T, S, F>) => JSX.Element;
|
|
5
|
+
//# sourceMappingURL=array-field.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"array-field.d.ts","sourceRoot":"","sources":["../../../../../src/browser/preferences/components/fields/array-field.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAmB,UAAU,EAAoB,MAAM,aAAa,CAAC;AAO5E,eAAO,MAAM,UAAU,yKAetB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ArrayField = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const core_1 = require("@rjsf/core");
|
|
6
|
+
const react_1 = tslib_1.__importStar(require("react"));
|
|
7
|
+
const ide_core_common_1 = require("@opensumi/ide-core-common");
|
|
8
|
+
const DefaultArrayField = (0, core_1.getDefaultRegistry)().fields.ArrayField;
|
|
9
|
+
const ArrayField = (props) => {
|
|
10
|
+
const { onChange } = props;
|
|
11
|
+
const handleOnChange = (0, react_1.useCallback)((newFormData) => {
|
|
12
|
+
if (Array.isArray(newFormData)) {
|
|
13
|
+
onChange(newFormData.map((data) => ((0, ide_core_common_1.isUndefined)(data) ? '' : data)));
|
|
14
|
+
}
|
|
15
|
+
}, [onChange]);
|
|
16
|
+
return react_1.default.createElement(DefaultArrayField, Object.assign({}, props, { onChange: handleOnChange }));
|
|
17
|
+
};
|
|
18
|
+
exports.ArrayField = ArrayField;
|
|
19
|
+
//# sourceMappingURL=array-field.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"array-field.js","sourceRoot":"","sources":["../../../../../src/browser/preferences/components/fields/array-field.tsx"],"names":[],"mappings":";;;;AAAA,qCAAgD;AAGhD,uDAA2C;AAE3C,+DAAwD;AAExD,MAAM,iBAAiB,GAAQ,IAAA,yBAAkB,GAAE,CAAC,MAAM,CAAC,UAAU,CAAC;AAE/D,MAAM,UAAU,GAAG,CACxB,KAA0B,EAC1B,EAAE;IACF,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAE3B,MAAM,cAAc,GAAG,IAAA,mBAAW,EAChC,CAAC,WAAc,EAAE,EAAE;QACjB,IAAI,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE;YAC9B,QAAQ,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAA,6BAAW,EAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAiB,CAAC,CAAC;SACtF;IACH,CAAC,EACD,CAAC,QAAQ,CAAC,CACX,CAAC;IAEF,OAAO,8BAAC,iBAAiB,oBAAK,KAAK,IAAE,QAAQ,EAAE,cAAc,IAAI,CAAC;AACpE,CAAC,CAAC;AAfW,QAAA,UAAU,cAerB"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FieldProps } from '@rjsf/utils';
|
|
3
|
+
import { RJSFSchema } from '@rjsf/utils';
|
|
4
|
+
export declare const ObjectField: <T = any, S extends import("json-schema").JSONSchema7 = RJSFSchema, F extends import("@rjsf/utils").GenericObjectType = any>(props: FieldProps<T, S, F>) => JSX.Element;
|
|
5
|
+
//# sourceMappingURL=object-filed.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"object-filed.d.ts","sourceRoot":"","sources":["../../../../../src/browser/preferences/components/fields/object-filed.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAmB,UAAU,EAAoB,MAAM,aAAa,CAAC;AAW5E,eAAO,MAAM,WAAW,yKAmBvB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ObjectField = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const core_1 = require("@rjsf/core");
|
|
6
|
+
const react_1 = tslib_1.__importStar(require("react"));
|
|
7
|
+
const ide_core_browser_1 = require("@opensumi/ide-core-browser");
|
|
8
|
+
const ide_core_common_1 = require("@opensumi/ide-core-common");
|
|
9
|
+
const common_1 = require("../../../../common");
|
|
10
|
+
const DefaultObjectField = (0, core_1.getDefaultRegistry)().fields.ObjectField;
|
|
11
|
+
const ObjectField = (props) => {
|
|
12
|
+
const launchService = (0, ide_core_browser_1.useInjectable)(common_1.ILaunchService);
|
|
13
|
+
const { idSchema, onChange } = props;
|
|
14
|
+
(0, react_1.useEffect)(() => {
|
|
15
|
+
const { $id } = idSchema;
|
|
16
|
+
const disabled = new ide_core_common_1.Disposable();
|
|
17
|
+
// 仅处理 root 节点
|
|
18
|
+
if ($id === 'root') {
|
|
19
|
+
disabled.addDispose(launchService.onChangeFormData((newFormData) => onChange(newFormData)));
|
|
20
|
+
}
|
|
21
|
+
return () => disabled.dispose();
|
|
22
|
+
}, [idSchema]);
|
|
23
|
+
return react_1.default.createElement(DefaultObjectField, Object.assign({}, props));
|
|
24
|
+
};
|
|
25
|
+
exports.ObjectField = ObjectField;
|
|
26
|
+
//# sourceMappingURL=object-filed.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"object-filed.js","sourceRoot":"","sources":["../../../../../src/browser/preferences/components/fields/object-filed.tsx"],"names":[],"mappings":";;;;AAAA,qCAAgD;AAGhD,uDAAyC;AAEzC,iEAA2D;AAC3D,+DAAuD;AAEvD,+CAAoD;AAGpD,MAAM,kBAAkB,GAAQ,IAAA,yBAAkB,GAAE,CAAC,MAAM,CAAC,WAAW,CAAC;AAEjE,MAAM,WAAW,GAAG,CACzB,KAA0B,EAC1B,EAAE;IACF,MAAM,aAAa,GAAG,IAAA,gCAAa,EAAgB,uBAAc,CAAC,CAAC;IACnE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAErC,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,MAAM,EAAE,GAAG,EAAE,GAAG,QAAQ,CAAC;QACzB,MAAM,QAAQ,GAAG,IAAI,4BAAU,EAAE,CAAC;QAElC,cAAc;QACd,IAAI,GAAG,KAAK,MAAM,EAAE;YAClB,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,QAAQ,CAAC,WAAgB,CAAC,CAAC,CAAC,CAAC;SAClG;QAED,OAAO,GAAG,EAAE,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC;IAClC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,OAAO,8BAAC,kBAAkB,oBAAK,KAAK,EAAI,CAAC;AAC3C,CAAC,CAAC;AAnBW,QAAA,WAAW,eAmBtB"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TitleFieldProps, RJSFSchema } from '@rjsf/utils';
|
|
3
|
+
export declare const TitleField: <T = any, S extends import("json-schema").JSONSchema7 = RJSFSchema, F extends import("@rjsf/utils").GenericObjectType = any>(props: TitleFieldProps<T, S, F>) => JSX.Element | null;
|
|
4
|
+
//# sourceMappingURL=title-field.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"title-field.d.ts","sourceRoot":"","sources":["../../../../../src/browser/preferences/components/fields/title-field.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAmB,eAAe,EAAE,UAAU,EAAoB,MAAM,aAAa,CAAC;AAK7F,eAAO,MAAM,UAAU,qLAUtB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TitleField = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
|
+
const json_widget_module_less_1 = tslib_1.__importDefault(require("../json-widget.module.less"));
|
|
7
|
+
const TitleField = (props) => {
|
|
8
|
+
const { title } = props;
|
|
9
|
+
return title ? (react_1.default.createElement("label", { title: title, className: json_widget_module_less_1.default.field_label }, title)) : null;
|
|
10
|
+
};
|
|
11
|
+
exports.TitleField = TitleField;
|
|
12
|
+
//# sourceMappingURL=title-field.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"title-field.js","sourceRoot":"","sources":["../../../../../src/browser/preferences/components/fields/title-field.tsx"],"names":[],"mappings":";;;;AACA,0DAA0B;AAE1B,iGAAgD;AAEzC,MAAM,UAAU,GAAG,CACxB,KAA+B,EAC/B,EAAE;IACF,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAExB,OAAO,KAAK,CAAC,CAAC,CAAC,CACb,yCAAO,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,iCAAM,CAAC,WAAW,IAC/C,KAAK,CACA,CACT,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAVW,QAAA,UAAU,cAUrB"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@max_width: 500px;
|
|
2
|
+
@min_width: 300px;
|
|
3
|
+
|
|
4
|
+
.select_widget_control,
|
|
5
|
+
.text_widget_control,
|
|
6
|
+
.any_of_widget_control {
|
|
7
|
+
min-width: @min_width;
|
|
8
|
+
max-width: @max_width;
|
|
9
|
+
width: 100%;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.text_widget_control {
|
|
13
|
+
input[type='number']::-webkit-outer-spin-button,
|
|
14
|
+
input[type='number']::-webkit-inner-spin-button {
|
|
15
|
+
-webkit-appearance: none;
|
|
16
|
+
margin: 0;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.checkbox_widget_control {
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
|
|
24
|
+
.checkbox {
|
|
25
|
+
font-size: 14px;
|
|
26
|
+
opacity: 0.75;
|
|
27
|
+
white-space: pre-wrap;
|
|
28
|
+
color: var(--descriptionForeground);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.field_label {
|
|
33
|
+
margin-bottom: 10px;
|
|
34
|
+
font-size: 1.5em;
|
|
35
|
+
display: inline-block;
|
|
36
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { RJSFSchema, WidgetProps } from '@rjsf/utils';
|
|
3
|
+
export declare const SelectWidget: <T = any, S extends import("json-schema").JSONSchema7 = RJSFSchema, F extends import("@rjsf/utils").GenericObjectType = any>(props: WidgetProps<T, S, F>) => JSX.Element;
|
|
4
|
+
//# sourceMappingURL=select-widget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select-widget.d.ts","sourceRoot":"","sources":["../../../../src/browser/preferences/components/select-widget.tsx"],"names":[],"mappings":";AAAA,OAAO,EAIL,UAAU,EAGV,WAAW,EACZ,MAAM,aAAa,CAAC;AAOrB,eAAO,MAAM,YAAY,0KAoDxB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SelectWidget = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const utils_1 = require("@rjsf/utils");
|
|
6
|
+
const react_1 = tslib_1.__importStar(require("react"));
|
|
7
|
+
const ide_components_1 = require("@opensumi/ide-components");
|
|
8
|
+
const json_widget_module_less_1 = tslib_1.__importDefault(require("./json-widget.module.less"));
|
|
9
|
+
const SelectWidget = (props) => {
|
|
10
|
+
const { schema, value, id, registry, uiOptions, name, required, onChange } = props;
|
|
11
|
+
const description = schema.description;
|
|
12
|
+
const TitleFieldTemplate = (0, utils_1.getTemplate)('TitleFieldTemplate', registry, uiOptions);
|
|
13
|
+
const DescriptionFieldTemplate = (0, utils_1.getTemplate)('DescriptionFieldTemplate', registry, uiOptions);
|
|
14
|
+
const enumValue = (0, react_1.useMemo)(() => {
|
|
15
|
+
if (schema && schema.enum) {
|
|
16
|
+
return schema.enum;
|
|
17
|
+
}
|
|
18
|
+
return [];
|
|
19
|
+
}, [schema, schema.enum]);
|
|
20
|
+
return (react_1.default.createElement("div", { className: json_widget_module_less_1.default.select_widget_control },
|
|
21
|
+
name && (react_1.default.createElement("div", { className: json_widget_module_less_1.default.object_title },
|
|
22
|
+
react_1.default.createElement(TitleFieldTemplate, { id: (0, utils_1.titleId)(id), title: name, required: required, schema: schema, registry: registry }))),
|
|
23
|
+
description && (react_1.default.createElement("div", { className: json_widget_module_less_1.default.object_description },
|
|
24
|
+
react_1.default.createElement(DescriptionFieldTemplate, { id: (0, utils_1.descriptionId)(id), description: description, schema: schema, registry: registry }))),
|
|
25
|
+
react_1.default.createElement(ide_components_1.Select, { key: id, value: value, dropdownRenderType: 'absolute', onChange: onChange }, enumValue.map((data) => (react_1.default.createElement(ide_components_1.Option, { value: data, label: data, key: data }, data))))));
|
|
26
|
+
};
|
|
27
|
+
exports.SelectWidget = SelectWidget;
|
|
28
|
+
//# sourceMappingURL=select-widget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select-widget.js","sourceRoot":"","sources":["../../../../src/browser/preferences/components/select-widget.tsx"],"names":[],"mappings":";;;;AAAA,uCAQqB;AACrB,uDAAuC;AAEvC,6DAA0D;AAE1D,gGAA+C;AAExC,MAAM,YAAY,GAAG,CAC1B,KAA2B,EAC3B,EAAE;IACF,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IACnF,MAAM,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;IAEvC,MAAM,kBAAkB,GAAG,IAAA,mBAAW,EAAgC,oBAAoB,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC;IACjH,MAAM,wBAAwB,GAAG,IAAA,mBAAW,EAC1C,0BAA0B,EAC1B,QAAQ,EACR,SAAS,CACV,CAAC;IAEF,MAAM,SAAS,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE;QAC7B,IAAI,MAAM,IAAI,MAAM,CAAC,IAAI,EAAE;YACzB,OAAO,MAAM,CAAC,IAAI,CAAC;SACpB;QACD,OAAO,EAAE,CAAC;IACZ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;IAE1B,OAAO,CACL,uCAAK,SAAS,EAAE,iCAAM,CAAC,qBAAqB;QACzC,IAAI,IAAI,CACP,uCAAK,SAAS,EAAE,iCAAM,CAAC,YAAY;YACjC,8BAAC,kBAAkB,IACjB,EAAE,EAAE,IAAA,eAAO,EAAI,EAAE,CAAC,EAClB,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,GAClB,CACE,CACP;QACA,WAAW,IAAI,CACd,uCAAK,SAAS,EAAE,iCAAM,CAAC,kBAAkB;YACvC,8BAAC,wBAAwB,IACvB,EAAE,EAAE,IAAA,qBAAa,EAAI,EAAE,CAAC,EACxB,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,GAClB,CACE,CACP;QACD,8BAAC,uBAAM,IAAC,GAAG,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,kBAAkB,EAAC,UAAU,EAAC,QAAQ,EAAE,QAAQ,IAC5E,SAAS,CAAC,GAAG,CAAC,CAAC,IAAY,EAAE,EAAE,CAAC,CAC/B,8BAAC,uBAAM,IAAC,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,IACxC,IAAI,CACE,CACV,CAAC,CACK,CACL,CACP,CAAC;AACJ,CAAC,CAAC;AApDW,QAAA,YAAY,gBAoDvB"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GenericObjectType, RJSFSchema, WidgetProps } from '@rjsf/utils';
|
|
3
|
+
export declare const TextWidget: <T = any, S extends import("json-schema").JSONSchema7 = RJSFSchema, F extends GenericObjectType = any>(props: WidgetProps<T, S, F>) => JSX.Element;
|
|
4
|
+
//# sourceMappingURL=text-widget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-widget.d.ts","sourceRoot":"","sources":["../../../../src/browser/preferences/components/text-widget.tsx"],"names":[],"mappings":";AAAA,OAAO,EAGL,iBAAiB,EAEjB,UAAU,EAGV,WAAW,EACZ,MAAM,aAAa,CAAC;AASrB,eAAO,MAAM,UAAU,oJA+FtB,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TextWidget = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const utils_1 = require("@rjsf/utils");
|
|
6
|
+
const react_1 = tslib_1.__importStar(require("react"));
|
|
7
|
+
const ide_components_1 = require("@opensumi/ide-components");
|
|
8
|
+
const debugUtils_1 = require("../../debugUtils");
|
|
9
|
+
const json_widget_module_less_1 = tslib_1.__importDefault(require("./json-widget.module.less"));
|
|
10
|
+
const TextWidget = (props) => {
|
|
11
|
+
const { disabled, formContext, id, onBlur, onChange, onFocus, options, placeholder, readonly, schema, value, registry, label, hideLabel, required, uiSchema, uiOptions, } = props;
|
|
12
|
+
const { readonlyAsDisabled = true } = formContext;
|
|
13
|
+
const TitleFieldTemplate = (0, utils_1.getTemplate)('TitleFieldTemplate', registry, uiOptions);
|
|
14
|
+
const DescriptionFieldTemplate = (0, utils_1.getTemplate)('DescriptionFieldTemplate', registry, uiOptions);
|
|
15
|
+
const parseValue = (0, react_1.useMemo)(() => {
|
|
16
|
+
if (typeof value !== 'string') {
|
|
17
|
+
return value;
|
|
18
|
+
}
|
|
19
|
+
return (0, debugUtils_1.parseSnippet)(value);
|
|
20
|
+
}, [value]);
|
|
21
|
+
const handleBlur = ({ target }) => {
|
|
22
|
+
onChange(target.value === '' ? options.emptyValue : target.value);
|
|
23
|
+
onBlur(id, target.value);
|
|
24
|
+
};
|
|
25
|
+
const handleFocus = ({ target }) => onFocus(id, target.value);
|
|
26
|
+
const type = (0, react_1.useMemo)(() => {
|
|
27
|
+
if (schema.type !== 'string' && schema.type !== 'number') {
|
|
28
|
+
return 'string';
|
|
29
|
+
}
|
|
30
|
+
return schema.type;
|
|
31
|
+
}, [schema, schema.type]);
|
|
32
|
+
const description = (0, react_1.useMemo)(() => schema.description || '', [schema, schema.description]);
|
|
33
|
+
return (react_1.default.createElement("div", null,
|
|
34
|
+
!hideLabel && label && (react_1.default.createElement("div", { className: json_widget_module_less_1.default.object_title },
|
|
35
|
+
react_1.default.createElement(TitleFieldTemplate, { id: (0, utils_1.titleId)(id), title: label, required: required, schema: schema, uiSchema: uiSchema, registry: registry }))),
|
|
36
|
+
description && (react_1.default.createElement("div", { className: json_widget_module_less_1.default.object_description },
|
|
37
|
+
react_1.default.createElement(DescriptionFieldTemplate, { id: (0, utils_1.descriptionId)(id), description: description, schema: schema, uiSchema: uiSchema, registry: registry }))),
|
|
38
|
+
react_1.default.createElement(ide_components_1.Input, { disabled: disabled || (readonlyAsDisabled && readonly), id: id, name: id, onBlur: !readonly ? handleBlur : undefined, onFocus: !readonly ? handleFocus : undefined, placeholder: placeholder, type: type, value: parseValue, className: json_widget_module_less_1.default.text_widget_control, autoComplete: 'off' })));
|
|
39
|
+
};
|
|
40
|
+
exports.TextWidget = TextWidget;
|
|
41
|
+
//# sourceMappingURL=text-widget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-widget.js","sourceRoot":"","sources":["../../../../src/browser/preferences/components/text-widget.tsx"],"names":[],"mappings":";;;;AAAA,uCASqB;AACrB,uDAAuC;AAEvC,6DAAiD;AAEjD,iDAAgD;AAEhD,gGAA+C;AAExC,MAAM,UAAU,GAAG,CACxB,KAA2B,EAC3B,EAAE;IACF,MAAM,EACJ,QAAQ,EACR,WAAW,EACX,EAAE,EACF,MAAM,EACN,QAAQ,EACR,OAAO,EACP,OAAO,EACP,WAAW,EACX,QAAQ,EACR,MAAM,EACN,KAAK,EACL,QAAQ,EACR,KAAK,EACL,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,SAAS,GACV,GAAG,KAAK,CAAC;IACV,MAAM,EAAE,kBAAkB,GAAG,IAAI,EAAE,GAAG,WAAgC,CAAC;IAEvE,MAAM,kBAAkB,GAAG,IAAA,mBAAW,EAAgC,oBAAoB,EAAE,QAAQ,EAAE,SAAS,CAAC,C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AM,CAAC,YAAY;YACjC,8BAAC,kBAAkB,IACjB,EAAE,EAAE,IAAA,eAAO,EAAI,EAAE,CAAC,EAClB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,GAClB,CACE,CACP;QACA,WAAW,IAAI,CACd,uCAAK,SAAS,EAAE,iCAAM,CAAC,kBAAkB;YACvC,8BAAC,wBAAwB,IACvB,EAAE,EAAE,IAAA,qBAAa,EAAI,EAAE,CAAC,EACxB,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,GAClB,CACE,CACP;QACD,8BAAC,sBAAK,IACJ,QAAQ,EAAE,QAAQ,IAAI,CAAC,kBAAkB,IAAI,QAAQ,CAAC,EACtD,EAAE,EAAE,EAAE,EACN,IAAI,EAAE,EAAE,EACR,MAAM,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,EAC1C,OAAO,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,EAC5C,WAAW,EAAE,WAAW,EACxB,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,UAAU,EACjB,SAAS,EAAE,iCAAM,CAAC,mBAAmB,EACrC,YAAY,EAAC,KAAK,GAClB,CACE,CACP,CAAC;AACJ,CAAC,CAAC;AA/FW,QAAA,UAAU,cA+FrB"}
|
|
@@ -1,6 +1,18 @@
|
|
|
1
|
-
import { PreferenceContribution, PreferenceSchema, PreferenceConfiguration } from '@opensumi/ide-core-browser';
|
|
2
|
-
|
|
1
|
+
import { PreferenceContribution, PreferenceSchema, PreferenceConfiguration, URI, MaybePromise } from '@opensumi/ide-core-browser';
|
|
2
|
+
import { IMenuRegistry, MenuContribution } from '@opensumi/ide-core-browser/lib/menu/next/base';
|
|
3
|
+
import { BrowserEditorContribution, EditorComponentRegistry, IResource, IResourceProvider, ResourceService } from '@opensumi/ide-editor/lib/browser';
|
|
4
|
+
export declare class LaunchResourceProvider implements IResourceProvider {
|
|
5
|
+
readonly scheme: string;
|
|
6
|
+
provideResource(uri: URI): MaybePromise<IResource<any>>;
|
|
7
|
+
provideResourceSubname(): string | null;
|
|
8
|
+
shouldCloseResource(): Promise<boolean>;
|
|
9
|
+
}
|
|
10
|
+
export declare class LaunchPreferencesContribution implements PreferenceContribution, PreferenceConfiguration, BrowserEditorContribution, MenuContribution {
|
|
11
|
+
private readonly prefResourceProvider;
|
|
3
12
|
schema: PreferenceSchema;
|
|
4
13
|
name: string;
|
|
14
|
+
registerResource(resourceService: ResourceService): void;
|
|
15
|
+
registerEditorComponent(editorComponentRegistry: EditorComponentRegistry): void;
|
|
16
|
+
registerMenus(menus: IMenuRegistry): void;
|
|
5
17
|
}
|
|
6
18
|
//# sourceMappingURL=launch-preferences-contribution.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"launch-preferences-contribution.d.ts","sourceRoot":"","sources":["../../../src/browser/preferences/launch-preferences-contribution.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"launch-preferences-contribution.d.ts","sourceRoot":"","sources":["../../../src/browser/preferences/launch-preferences-contribution.ts"],"names":[],"mappings":"AACA,OAAO,EACL,sBAAsB,EACtB,gBAAgB,EAEhB,uBAAuB,EACvB,GAAG,EACH,YAAY,EAIb,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AAEhG,OAAO,EACL,yBAAyB,EACzB,uBAAuB,EAEvB,SAAS,EACT,iBAAiB,EACjB,eAAe,EAChB,MAAM,kCAAkC,CAAC;AAO1C,qBACa,sBAAuB,YAAW,iBAAiB;IAC9D,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAsB;IAE7C,eAAe,CAAC,GAAG,EAAE,GAAG,GAAG,YAAY,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IASvD,sBAAsB,IAAI,MAAM,GAAG,IAAI;IAIjC,mBAAmB,IAAI,OAAO,CAAC,OAAO,CAAC;CAG9C;AAED,qBACa,6BACX,YAAW,sBAAsB,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,gBAAgB;IAGvG,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAyB;IAE9D,MAAM,EAAE,gBAAgB,CAA2B;IACnD,IAAI,SAAY;IAEhB,gBAAgB,CAAC,eAAe,EAAE,eAAe,GAAG,IAAI;IAIxD,uBAAuB,CAAC,uBAAuB,EAAE,uBAAuB,GAAG,IAAI;IAiB/E,aAAa,CAAC,KAAK,EAAE,aAAa;CAQnC"}
|
|
@@ -1,17 +1,76 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LaunchPreferencesContribution = void 0;
|
|
3
|
+
exports.LaunchPreferencesContribution = exports.LaunchResourceProvider = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
+
const di_1 = require("@opensumi/di");
|
|
5
6
|
const ide_core_browser_1 = require("@opensumi/ide-core-browser");
|
|
7
|
+
const base_1 = require("@opensumi/ide-core-browser/lib/menu/next/base");
|
|
8
|
+
const menu_id_1 = require("@opensumi/ide-core-browser/lib/menu/next/menu-id");
|
|
9
|
+
const browser_1 = require("@opensumi/ide-editor/lib/browser");
|
|
10
|
+
const constants_1 = require("../../common/constants");
|
|
6
11
|
const launch_preferences_1 = require("./launch-preferences");
|
|
12
|
+
const launch_view_1 = require("./launch.view");
|
|
13
|
+
let LaunchResourceProvider = class LaunchResourceProvider {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.scheme = constants_1.LAUNCH_VIEW_SCHEME;
|
|
16
|
+
}
|
|
17
|
+
provideResource(uri) {
|
|
18
|
+
return {
|
|
19
|
+
supportsRevive: true,
|
|
20
|
+
name: (0, ide_core_browser_1.localize)('menu-bar.title.debug'),
|
|
21
|
+
icon: (0, ide_core_browser_1.getIcon)('debug'),
|
|
22
|
+
uri,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
provideResourceSubname() {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
async shouldCloseResource() {
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
LaunchResourceProvider = tslib_1.__decorate([
|
|
33
|
+
(0, di_1.Injectable)()
|
|
34
|
+
], LaunchResourceProvider);
|
|
35
|
+
exports.LaunchResourceProvider = LaunchResourceProvider;
|
|
7
36
|
let LaunchPreferencesContribution = class LaunchPreferencesContribution {
|
|
8
37
|
constructor() {
|
|
9
38
|
this.schema = launch_preferences_1.launchPreferencesSchema;
|
|
10
39
|
this.name = 'launch';
|
|
11
40
|
}
|
|
41
|
+
registerResource(resourceService) {
|
|
42
|
+
resourceService.registerResourceProvider(this.prefResourceProvider);
|
|
43
|
+
}
|
|
44
|
+
registerEditorComponent(editorComponentRegistry) {
|
|
45
|
+
editorComponentRegistry.registerEditorComponent({
|
|
46
|
+
component: launch_view_1.LaunchViewContainer,
|
|
47
|
+
uid: constants_1.LAUNCH_VIEW_COMPONENT_ID,
|
|
48
|
+
scheme: constants_1.LAUNCH_VIEW_SCHEME,
|
|
49
|
+
});
|
|
50
|
+
editorComponentRegistry.registerEditorComponentResolver(constants_1.LAUNCH_VIEW_SCHEME, (_, __, resolve) => {
|
|
51
|
+
resolve([
|
|
52
|
+
{
|
|
53
|
+
type: browser_1.EditorOpenType.component,
|
|
54
|
+
componentId: constants_1.LAUNCH_VIEW_COMPONENT_ID,
|
|
55
|
+
},
|
|
56
|
+
]);
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
registerMenus(menus) {
|
|
60
|
+
menus.registerMenuItem(menu_id_1.MenuId.EditorTitle, {
|
|
61
|
+
command: ide_core_browser_1.COMMON_COMMANDS.OPEN_LAUNCH_CONFIGURATION.id,
|
|
62
|
+
iconClass: (0, ide_core_browser_1.getIcon)('open'),
|
|
63
|
+
group: 'navigation',
|
|
64
|
+
when: `resourceScheme == ${constants_1.LAUNCH_VIEW_SCHEME}`,
|
|
65
|
+
});
|
|
66
|
+
}
|
|
12
67
|
};
|
|
68
|
+
tslib_1.__decorate([
|
|
69
|
+
(0, di_1.Autowired)(LaunchResourceProvider),
|
|
70
|
+
tslib_1.__metadata("design:type", LaunchResourceProvider)
|
|
71
|
+
], LaunchPreferencesContribution.prototype, "prefResourceProvider", void 0);
|
|
13
72
|
LaunchPreferencesContribution = tslib_1.__decorate([
|
|
14
|
-
(0, ide_core_browser_1.Domain)(ide_core_browser_1.PreferenceContribution, ide_core_browser_1.PreferenceConfiguration)
|
|
73
|
+
(0, ide_core_browser_1.Domain)(ide_core_browser_1.PreferenceContribution, ide_core_browser_1.PreferenceConfiguration, browser_1.BrowserEditorContribution, base_1.MenuContribution)
|
|
15
74
|
], LaunchPreferencesContribution);
|
|
16
75
|
exports.LaunchPreferencesContribution = LaunchPreferencesContribution;
|
|
17
76
|
//# sourceMappingURL=launch-preferences-contribution.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"launch-preferences-contribution.js","sourceRoot":"","sources":["../../../src/browser/preferences/launch-preferences-contribution.ts"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"launch-preferences-contribution.js","sourceRoot":"","sources":["../../../src/browser/preferences/launch-preferences-contribution.ts"],"names":[],"mappings":";;;;AAAA,qCAAqD;AACrD,iEAUoC;AACpC,wEAAgG;AAChG,8EAA0E;AAC1E,8DAO0C;AAE1C,sDAAsF;AAEtF,6DAA+D;AAC/D,+CAAoD;AAG7C,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAA5B;QACI,WAAM,GAAW,8BAAkB,CAAC;IAkB/C,CAAC;IAhBC,eAAe,CAAC,GAAQ;QACtB,OAAO;YACL,cAAc,EAAE,IAAI;YAC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