@opensumi/ide-core-browser 2.18.13 → 2.19.1
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/bootstrap/app.d.ts +3 -3
- package/lib/bootstrap/app.d.ts.map +1 -1
- package/lib/bootstrap/app.js +3 -3
- package/lib/bootstrap/app.js.map +1 -1
- package/lib/bootstrap/connection.d.ts +2 -1
- package/lib/bootstrap/connection.d.ts.map +1 -1
- package/lib/bootstrap/connection.js.map +1 -1
- package/lib/bootstrap/inner-providers.d.ts.map +1 -1
- package/lib/bootstrap/inner-providers.js +5 -0
- package/lib/bootstrap/inner-providers.js.map +1 -1
- package/lib/common/common.command.d.ts +4 -0
- package/lib/common/common.command.d.ts.map +1 -1
- package/lib/common/common.command.js +31 -17
- package/lib/common/common.command.js.map +1 -1
- package/lib/common/common.contribution.d.ts +2 -1
- package/lib/common/common.contribution.d.ts.map +1 -1
- package/lib/common/common.contribution.js +15 -2
- package/lib/common/common.contribution.js.map +1 -1
- package/lib/components/actions/index.js +1 -1
- package/lib/components/actions/index.js.map +1 -1
- package/lib/components/layout/split-panel.d.ts +1 -0
- package/lib/components/layout/split-panel.d.ts.map +1 -1
- package/lib/components/layout/split-panel.js +3 -3
- package/lib/components/layout/split-panel.js.map +1 -1
- package/lib/components/layout/styles.module.less +3 -100
- package/lib/core-preferences.d.ts.map +1 -1
- package/lib/core-preferences.js +3 -3
- package/lib/core-preferences.js.map +1 -1
- package/lib/extensions/extensions-point.service.d.ts +24 -0
- package/lib/extensions/extensions-point.service.d.ts.map +1 -0
- package/lib/extensions/extensions-point.service.js +69 -0
- package/lib/extensions/extensions-point.service.js.map +1 -0
- package/lib/extensions/index.d.ts +4 -0
- package/lib/extensions/index.d.ts.map +1 -0
- package/lib/extensions/index.js +7 -0
- package/lib/extensions/index.js.map +1 -0
- package/lib/extensions/schema/browserViews.d.ts +220 -0
- package/lib/extensions/schema/browserViews.d.ts.map +1 -0
- package/lib/extensions/schema/browserViews.js +82 -0
- package/lib/extensions/schema/browserViews.js.map +1 -0
- package/lib/extensions/schema/menu.d.ts +6 -0
- package/lib/extensions/schema/menu.d.ts.map +1 -0
- package/lib/extensions/schema/menu.js +231 -0
- package/lib/extensions/schema/menu.js.map +1 -0
- package/lib/extensions/schema/opensumiExtensionPackageSchema.d.ts +13 -0
- package/lib/extensions/schema/opensumiExtensionPackageSchema.d.ts.map +1 -0
- package/lib/extensions/schema/opensumiExtensionPackageSchema.js +15 -0
- package/lib/extensions/schema/opensumiExtensionPackageSchema.js.map +1 -0
- package/lib/extensions/schema/toolbar.d.ts +5 -0
- package/lib/extensions/schema/toolbar.d.ts.map +1 -0
- package/lib/extensions/schema/toolbar.js +340 -0
- package/lib/extensions/schema/toolbar.js.map +1 -0
- package/lib/extensions/schema/vscodeExtensionPackageSchema.d.ts +163 -0
- package/lib/extensions/schema/vscodeExtensionPackageSchema.d.ts.map +1 -0
- package/lib/extensions/schema/vscodeExtensionPackageSchema.js +242 -0
- package/lib/extensions/schema/vscodeExtensionPackageSchema.js.map +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/layout/constants.d.ts +8 -0
- package/lib/layout/constants.d.ts.map +1 -0
- package/lib/layout/constants.js +12 -0
- package/lib/layout/constants.js.map +1 -0
- package/lib/menu/next/menu-id.d.ts +6 -1
- package/lib/menu/next/menu-id.d.ts.map +1 -1
- package/lib/menu/next/menu-id.js +7 -0
- package/lib/menu/next/menu-id.js.map +1 -1
- package/lib/preferences/early-preferences.d.ts +4 -0
- package/lib/preferences/early-preferences.d.ts.map +1 -1
- package/lib/preferences/early-preferences.js +6 -1
- package/lib/preferences/early-preferences.js.map +1 -1
- package/lib/preferences/preference-service.d.ts +1 -0
- package/lib/preferences/preference-service.d.ts.map +1 -1
- package/lib/preferences/preference-service.js +10 -0
- package/lib/preferences/preference-service.js.map +1 -1
- package/lib/preferences/types.d.ts +9 -1
- package/lib/preferences/types.d.ts.map +1 -1
- package/lib/preferences/types.js.map +1 -1
- package/lib/react-providers/config-provider.d.ts +2 -2
- package/lib/react-providers/config-provider.d.ts.map +1 -1
- package/lib/services/storage-service.d.ts +17 -12
- package/lib/services/storage-service.d.ts.map +1 -1
- package/lib/services/storage-service.js +74 -35
- package/lib/services/storage-service.js.map +1 -1
- package/lib/style/icon/icon.d.ts +1 -1
- package/lib/style/icon/icon.d.ts.map +1 -1
- package/lib/style/icon/ide-iconfont.d.ts +1 -1
- package/lib/style/icon/ide-iconfont.d.ts.map +1 -1
- package/lib/style/icon/ide-iconfont.js +1 -1
- package/lib/style/icon/ide-iconfont.js.map +1 -1
- package/lib/style/normalize.less +0 -1
- package/lib/toolbar/toolbar.d.ts.map +1 -1
- package/lib/toolbar/toolbar.js +3 -0
- package/lib/toolbar/toolbar.js.map +1 -1
- package/lib/toolbar/toolbar.registry.d.ts +3 -0
- package/lib/toolbar/toolbar.registry.d.ts.map +1 -1
- package/lib/toolbar/toolbar.registry.js +20 -1
- package/lib/toolbar/toolbar.registry.js.map +1 -1
- package/lib/toolbar/types.d.ts +3 -0
- package/lib/toolbar/types.d.ts.map +1 -1
- package/lib/toolbar/types.js +4 -1
- package/lib/toolbar/types.js.map +1 -1
- package/package.json +5 -8
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
export declare namespace browserViews {
|
|
2
|
+
const properties: {
|
|
3
|
+
type: string;
|
|
4
|
+
required: string[];
|
|
5
|
+
defaultSnippets: {
|
|
6
|
+
label: string;
|
|
7
|
+
bodyText: string;
|
|
8
|
+
}[];
|
|
9
|
+
properties: {
|
|
10
|
+
type: {
|
|
11
|
+
type: string;
|
|
12
|
+
enum: string[];
|
|
13
|
+
};
|
|
14
|
+
view: {
|
|
15
|
+
type: string;
|
|
16
|
+
items: {
|
|
17
|
+
type: string;
|
|
18
|
+
required: string[];
|
|
19
|
+
defaultSnippets: {
|
|
20
|
+
label: string;
|
|
21
|
+
description: string;
|
|
22
|
+
bodyText: string;
|
|
23
|
+
}[];
|
|
24
|
+
properties: {
|
|
25
|
+
id: {
|
|
26
|
+
type: string;
|
|
27
|
+
description: string;
|
|
28
|
+
};
|
|
29
|
+
icon: {
|
|
30
|
+
type: string;
|
|
31
|
+
markdownDescription: string;
|
|
32
|
+
};
|
|
33
|
+
iconPath: {
|
|
34
|
+
type: string;
|
|
35
|
+
description: string;
|
|
36
|
+
};
|
|
37
|
+
title: {
|
|
38
|
+
type: string;
|
|
39
|
+
description: string;
|
|
40
|
+
};
|
|
41
|
+
titleComponentId: {
|
|
42
|
+
type: string;
|
|
43
|
+
description: string;
|
|
44
|
+
};
|
|
45
|
+
expanded: {
|
|
46
|
+
type: string;
|
|
47
|
+
description: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
const schema: {
|
|
55
|
+
description: string;
|
|
56
|
+
type: string;
|
|
57
|
+
properties: {
|
|
58
|
+
left: {
|
|
59
|
+
description: string;
|
|
60
|
+
type: string;
|
|
61
|
+
required: string[];
|
|
62
|
+
defaultSnippets: {
|
|
63
|
+
label: string;
|
|
64
|
+
bodyText: string;
|
|
65
|
+
}[];
|
|
66
|
+
properties: {
|
|
67
|
+
type: {
|
|
68
|
+
type: string;
|
|
69
|
+
enum: string[];
|
|
70
|
+
};
|
|
71
|
+
view: {
|
|
72
|
+
type: string;
|
|
73
|
+
items: {
|
|
74
|
+
type: string;
|
|
75
|
+
required: string[];
|
|
76
|
+
defaultSnippets: {
|
|
77
|
+
label: string;
|
|
78
|
+
description: string;
|
|
79
|
+
bodyText: string;
|
|
80
|
+
}[];
|
|
81
|
+
properties: {
|
|
82
|
+
id: {
|
|
83
|
+
type: string;
|
|
84
|
+
description: string;
|
|
85
|
+
};
|
|
86
|
+
icon: {
|
|
87
|
+
type: string;
|
|
88
|
+
markdownDescription: string;
|
|
89
|
+
};
|
|
90
|
+
iconPath: {
|
|
91
|
+
type: string;
|
|
92
|
+
description: string;
|
|
93
|
+
};
|
|
94
|
+
title: {
|
|
95
|
+
type: string;
|
|
96
|
+
description: string;
|
|
97
|
+
};
|
|
98
|
+
titleComponentId: {
|
|
99
|
+
type: string;
|
|
100
|
+
description: string;
|
|
101
|
+
};
|
|
102
|
+
expanded: {
|
|
103
|
+
type: string;
|
|
104
|
+
description: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
right: {
|
|
112
|
+
description: string;
|
|
113
|
+
type: string;
|
|
114
|
+
required: string[];
|
|
115
|
+
defaultSnippets: {
|
|
116
|
+
label: string;
|
|
117
|
+
bodyText: string;
|
|
118
|
+
}[];
|
|
119
|
+
properties: {
|
|
120
|
+
type: {
|
|
121
|
+
type: string;
|
|
122
|
+
enum: string[];
|
|
123
|
+
};
|
|
124
|
+
view: {
|
|
125
|
+
type: string;
|
|
126
|
+
items: {
|
|
127
|
+
type: string;
|
|
128
|
+
required: string[];
|
|
129
|
+
defaultSnippets: {
|
|
130
|
+
label: string;
|
|
131
|
+
description: string;
|
|
132
|
+
bodyText: string;
|
|
133
|
+
}[];
|
|
134
|
+
properties: {
|
|
135
|
+
id: {
|
|
136
|
+
type: string;
|
|
137
|
+
description: string;
|
|
138
|
+
};
|
|
139
|
+
icon: {
|
|
140
|
+
type: string;
|
|
141
|
+
markdownDescription: string;
|
|
142
|
+
};
|
|
143
|
+
iconPath: {
|
|
144
|
+
type: string;
|
|
145
|
+
description: string;
|
|
146
|
+
};
|
|
147
|
+
title: {
|
|
148
|
+
type: string;
|
|
149
|
+
description: string;
|
|
150
|
+
};
|
|
151
|
+
titleComponentId: {
|
|
152
|
+
type: string;
|
|
153
|
+
description: string;
|
|
154
|
+
};
|
|
155
|
+
expanded: {
|
|
156
|
+
type: string;
|
|
157
|
+
description: string;
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
bottom: {
|
|
165
|
+
description: string;
|
|
166
|
+
type: string;
|
|
167
|
+
required: string[];
|
|
168
|
+
defaultSnippets: {
|
|
169
|
+
label: string;
|
|
170
|
+
bodyText: string;
|
|
171
|
+
}[];
|
|
172
|
+
properties: {
|
|
173
|
+
type: {
|
|
174
|
+
type: string;
|
|
175
|
+
enum: string[];
|
|
176
|
+
};
|
|
177
|
+
view: {
|
|
178
|
+
type: string;
|
|
179
|
+
items: {
|
|
180
|
+
type: string;
|
|
181
|
+
required: string[];
|
|
182
|
+
defaultSnippets: {
|
|
183
|
+
label: string;
|
|
184
|
+
description: string;
|
|
185
|
+
bodyText: string;
|
|
186
|
+
}[];
|
|
187
|
+
properties: {
|
|
188
|
+
id: {
|
|
189
|
+
type: string;
|
|
190
|
+
description: string;
|
|
191
|
+
};
|
|
192
|
+
icon: {
|
|
193
|
+
type: string;
|
|
194
|
+
markdownDescription: string;
|
|
195
|
+
};
|
|
196
|
+
iconPath: {
|
|
197
|
+
type: string;
|
|
198
|
+
description: string;
|
|
199
|
+
};
|
|
200
|
+
title: {
|
|
201
|
+
type: string;
|
|
202
|
+
description: string;
|
|
203
|
+
};
|
|
204
|
+
titleComponentId: {
|
|
205
|
+
type: string;
|
|
206
|
+
description: string;
|
|
207
|
+
};
|
|
208
|
+
expanded: {
|
|
209
|
+
type: string;
|
|
210
|
+
description: string;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
//# sourceMappingURL=browserViews.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"browserViews.d.ts","sourceRoot":"","sources":["../../../src/extensions/schema/browserViews.ts"],"names":[],"mappings":"AAEA,yBAAiB,YAAY,CAAC;IAErB,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgEtB,CAAC;IAEK,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAiBlB,CAAC;CACH"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.browserViews = void 0;
|
|
4
|
+
const ide_core_common_1 = require("@opensumi/ide-core-common");
|
|
5
|
+
var browserViews;
|
|
6
|
+
(function (browserViews) {
|
|
7
|
+
browserViews.properties = {
|
|
8
|
+
type: 'object',
|
|
9
|
+
required: ['type', 'view'],
|
|
10
|
+
defaultSnippets: [
|
|
11
|
+
{
|
|
12
|
+
label: 'type',
|
|
13
|
+
bodyText: JSON.stringify({
|
|
14
|
+
type: '${1:add}',
|
|
15
|
+
view: [
|
|
16
|
+
{
|
|
17
|
+
id: '${2}',
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
}, null, '\t'),
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
properties: {
|
|
24
|
+
type: {
|
|
25
|
+
type: 'string',
|
|
26
|
+
enum: ['add', 'replace'],
|
|
27
|
+
},
|
|
28
|
+
view: {
|
|
29
|
+
type: 'array',
|
|
30
|
+
items: {
|
|
31
|
+
type: 'object',
|
|
32
|
+
required: ['id'],
|
|
33
|
+
defaultSnippets: [
|
|
34
|
+
{
|
|
35
|
+
label: '{\"id\":\"\"}',
|
|
36
|
+
description: '',
|
|
37
|
+
bodyText: JSON.stringify({
|
|
38
|
+
id: '${3}',
|
|
39
|
+
}, null, '\t'),
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
properties: {
|
|
43
|
+
id: {
|
|
44
|
+
type: 'string',
|
|
45
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.browserViews.view.id'),
|
|
46
|
+
},
|
|
47
|
+
icon: {
|
|
48
|
+
type: 'string',
|
|
49
|
+
markdownDescription: (0, ide_core_common_1.localize)('sumiContributes.browserViews.view.icon'),
|
|
50
|
+
},
|
|
51
|
+
iconPath: {
|
|
52
|
+
type: 'string',
|
|
53
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.browserViews.view.iconPath'),
|
|
54
|
+
},
|
|
55
|
+
title: {
|
|
56
|
+
type: 'string',
|
|
57
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.browserViews.view.title'),
|
|
58
|
+
},
|
|
59
|
+
titleComponentId: {
|
|
60
|
+
type: 'string',
|
|
61
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.browserViews.view.titleComponentId'),
|
|
62
|
+
},
|
|
63
|
+
expanded: {
|
|
64
|
+
type: 'boolean',
|
|
65
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.browserViews.view.expanded'),
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
browserViews.schema = {
|
|
73
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.browserViews'),
|
|
74
|
+
type: 'object',
|
|
75
|
+
properties: {
|
|
76
|
+
left: Object.assign(Object.assign({}, browserViews.properties), { description: (0, ide_core_common_1.localize)('sumiContributes.browserViews.left') }),
|
|
77
|
+
right: Object.assign(Object.assign({}, browserViews.properties), { description: (0, ide_core_common_1.localize)('sumiContributes.browserViews.right') }),
|
|
78
|
+
bottom: Object.assign(Object.assign({}, browserViews.properties), { description: (0, ide_core_common_1.localize)('sumiContributes.browserViews.bottom') }),
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
})(browserViews = exports.browserViews || (exports.browserViews = {}));
|
|
82
|
+
//# sourceMappingURL=browserViews.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"browserViews.js","sourceRoot":"","sources":["../../../src/extensions/schema/browserViews.ts"],"names":[],"mappings":";;;AAAA,+DAAqD;AAErD,IAAiB,YAAY,CAsF5B;AAtFD,WAAiB,YAAY;IAEd,uBAAU,GAAG;QACxB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;QAC1B,eAAe,EAAE;YACf;gBACE,KAAK,EAAE,MAAM;gBACb,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC;oBACvB,IAAI,EAAE,UAAU;oBAChB,IAAI,EAAE;wBACJ;4BACE,EAAE,EAAE,MAAM;yBACX;qBACF;iBACF,EAAE,IAAI,EAAE,IAAI,CAAC;aACf;SACF;QACD,UAAU,EAAE;YACV,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC;aACzB;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,QAAQ,EAAE,CAAC,IAAI,CAAC;oBAChB,eAAe,EAAE;wBACf;4BACE,KAAK,EAAE,eAAe;4BACtB,WAAW,EAAE,EAAE;4BACf,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC;gCACvB,EAAE,EAAE,MAAM;6BACX,EAAE,IAAI,EAAE,IAAI,CAAC;yBACf;qBACF;oBACD,UAAU,EAAE;wBACV,EAAE,EAAE;4BACF,IAAI,EAAE,QAAQ;4BACd,WAAW,EAAE,IAAA,0BAAQ,EAAC,sCAAsC,CAAC;yBAC9D;wBACD,IAAI,EAAE;4BACJ,IAAI,EAAE,QAAQ;4BACd,mBAAmB,EAAE,IAAA,0BAAQ,EAAC,wCAAwC,CAAC;yBACxE;wBACD,QAAQ,EAAE;4BACR,IAAI,EAAE,QAAQ;4BACd,WAAW,EAAE,IAAA,0BAAQ,EAAC,4CAA4C,CAAC;yBACpE;wBACD,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;4BACd,WAAW,EAAE,IAAA,0BAAQ,EAAC,yCAAyC,CAAC;yBACjE;wBACD,gBAAgB,EAAE;4BAChB,IAAI,EAAE,QAAQ;4BACd,WAAW,EAAE,IAAA,0BAAQ,EAAC,oDAAoD,CAAC;yBAC5E;wBACD,QAAQ,EAAE;4BACR,IAAI,EAAE,SAAS;4BACf,WAAW,EAAE,IAAA,0BAAQ,EAAC,4CAA4C,CAAC;yBACpE;qBACF;iBACF;aACF;SACF;KACF,CAAC;IAEW,mBAAM,GAAG;QACpB,WAAW,EAAE,IAAA,0BAAQ,EAAC,8BAA8B,CAAC;QACrD,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,IAAI,kCACC,aAAA,UAAU,KACb,WAAW,EAAE,IAAA,0BAAQ,EAAC,mCAAmC,CAAC,GAC3D;YACD,KAAK,kCACA,aAAA,UAAU,KACb,WAAW,EAAE,IAAA,0BAAQ,EAAC,oCAAoC,CAAC,GAC5D;YACD,MAAM,kCACD,aAAA,UAAU,KACb,WAAW,EAAE,IAAA,0BAAQ,EAAC,qCAAqC,CAAC,GAC7D;SACF;KACF,CAAC;AACJ,CAAC,EAtFgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAsF5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../src/extensions/schema/menu.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAY,MAAM,2BAA2B,CAAC;AA8NlE,yBAAiB,KAAK,CAAC;IACd,MAAM,MAAM,EAAE,WAQpB,CAAC;IAEK,MAAM,cAAc,EAAE,WAI5B,CAAC;CACH"}
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.menus = void 0;
|
|
4
|
+
const ide_core_common_1 = require("@opensumi/ide-core-common");
|
|
5
|
+
const next_1 = require("../../menu/next");
|
|
6
|
+
const menuItem = {
|
|
7
|
+
type: 'object',
|
|
8
|
+
required: ['command'],
|
|
9
|
+
defaultSnippets: [
|
|
10
|
+
{
|
|
11
|
+
body: {
|
|
12
|
+
command: '${1}',
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
],
|
|
16
|
+
properties: {
|
|
17
|
+
command: {
|
|
18
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.common.command'),
|
|
19
|
+
type: 'string',
|
|
20
|
+
},
|
|
21
|
+
when: {
|
|
22
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.common.when'),
|
|
23
|
+
type: 'string',
|
|
24
|
+
},
|
|
25
|
+
group: {
|
|
26
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.common.group'),
|
|
27
|
+
type: 'string',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
const submenu = {
|
|
32
|
+
type: 'object',
|
|
33
|
+
required: ['id', 'title'],
|
|
34
|
+
properties: {
|
|
35
|
+
id: {
|
|
36
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.submenus.id'),
|
|
37
|
+
type: 'string',
|
|
38
|
+
},
|
|
39
|
+
title: {
|
|
40
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.submenus.title'),
|
|
41
|
+
type: 'string',
|
|
42
|
+
},
|
|
43
|
+
group: {
|
|
44
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.common.group'),
|
|
45
|
+
type: 'string',
|
|
46
|
+
},
|
|
47
|
+
when: {
|
|
48
|
+
type: 'string',
|
|
49
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.common.when'),
|
|
50
|
+
},
|
|
51
|
+
icon: {
|
|
52
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.submenus.icon'),
|
|
53
|
+
anyOf: [{
|
|
54
|
+
type: 'string',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
type: 'object',
|
|
58
|
+
properties: {
|
|
59
|
+
light: {
|
|
60
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.submenus.icon.light'),
|
|
61
|
+
type: 'string',
|
|
62
|
+
},
|
|
63
|
+
dark: {
|
|
64
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.submenus.dark'),
|
|
65
|
+
type: 'string',
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
}],
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
const apiMenus = [
|
|
73
|
+
{
|
|
74
|
+
id: next_1.MenuId.CommandPalette,
|
|
75
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.CommandPalette'),
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
id: next_1.MenuId.ActivityBarExtra,
|
|
79
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.ActivityBarExtra'),
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
id: next_1.MenuId.DebugBreakpointsContext,
|
|
83
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.DebugBreakpointsContext'),
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
id: next_1.MenuId.DebugCallStackContext,
|
|
87
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.DebugCallStackContext'),
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
id: next_1.MenuId.DebugConsoleContext,
|
|
91
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.DebugConsoleContext'),
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
id: next_1.MenuId.DebugVariablesContext,
|
|
95
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.DebugVariablesContext'),
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
id: next_1.MenuId.DebugWatchContext,
|
|
99
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.DebugWatchContext'),
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
id: next_1.MenuId.DebugToolBar,
|
|
103
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.DebugToolBar'),
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
id: next_1.MenuId.EditorContext,
|
|
107
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.EditorContext'),
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
id: next_1.MenuId.EditorTitle,
|
|
111
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.EditorTitle'),
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
id: next_1.MenuId.EditorTitleContext,
|
|
115
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.EditorTitleContext'),
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
id: next_1.MenuId.ExplorerContext,
|
|
119
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.ExplorerContext'),
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
id: next_1.MenuId.MenubarAppMenu,
|
|
123
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.MenubarAppMenu'),
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
id: next_1.MenuId.MenubarEditMenu,
|
|
127
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.MenubarEditMenu'),
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
id: next_1.MenuId.MenubarFileMenu,
|
|
131
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.MenubarFileMenu'),
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
id: next_1.MenuId.MenubarGoMenu,
|
|
135
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.MenubarGoMenu'),
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
id: next_1.MenuId.MenubarHelpMenu,
|
|
139
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.MenubarHelpMenu'),
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
id: next_1.MenuId.MenubarViewMenu,
|
|
143
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.MenubarViewMenu'),
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
id: next_1.MenuId.MenubarSelectionMenu,
|
|
147
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.MenubarSelectionMenu'),
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
id: next_1.MenuId.MenubarTerminalMenu,
|
|
151
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.MenubarTerminalMenu'),
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
id: next_1.MenuId.TerminalInstanceContext,
|
|
155
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.TerminalInstanceContext'),
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
id: next_1.MenuId.TerminalNewDropdownContext,
|
|
159
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.TerminalNewDropdownContext'),
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
id: next_1.MenuId.TerminalTabContext,
|
|
163
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.TerminalTabContext'),
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
id: next_1.MenuId.OpenEditorsContext,
|
|
167
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.OpenEditorsContext'),
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
id: next_1.MenuId.SCMResourceContext,
|
|
171
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.SCMResourceContext'),
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
id: next_1.MenuId.SCMResourceGroupContext,
|
|
175
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.SCMResourceGroupContext'),
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
id: next_1.MenuId.SCMResourceFolderContext,
|
|
179
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.SCMResourceFolderContext'),
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
id: next_1.MenuId.SCMTitle,
|
|
183
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.SCMTitle'),
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
id: next_1.MenuId.SCMInput,
|
|
187
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.SCMInput'),
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
id: next_1.MenuId.SearchContext,
|
|
191
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.SearchContext'),
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
id: next_1.MenuId.StatusBarContext,
|
|
195
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.StatusBarContext'),
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
id: next_1.MenuId.ViewItemContext,
|
|
199
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.ViewItemContext'),
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
id: next_1.MenuId.ViewTitle,
|
|
203
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.ViewTitle'),
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
id: next_1.MenuId.SettingsIconMenu,
|
|
207
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu.api.SettingsIconMenu'),
|
|
208
|
+
},
|
|
209
|
+
];
|
|
210
|
+
const index = (array, indexer, mapper) => array.reduce((r, t) => {
|
|
211
|
+
r[indexer(t)] = mapper ? mapper(t) : t;
|
|
212
|
+
return r;
|
|
213
|
+
}, Object.create(null));
|
|
214
|
+
var menus;
|
|
215
|
+
(function (menus) {
|
|
216
|
+
menus.schema = {
|
|
217
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.menu'),
|
|
218
|
+
type: 'object',
|
|
219
|
+
properties: index(apiMenus, (menu) => menu.id, (menu) => ({
|
|
220
|
+
type: 'array',
|
|
221
|
+
description: menu.description,
|
|
222
|
+
items: menuItem,
|
|
223
|
+
})),
|
|
224
|
+
};
|
|
225
|
+
menus.subMenusSchema = {
|
|
226
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.submenus'),
|
|
227
|
+
type: 'object',
|
|
228
|
+
additionalProperties: submenu,
|
|
229
|
+
};
|
|
230
|
+
})(menus = exports.menus || (exports.menus = {}));
|
|
231
|
+
//# sourceMappingURL=menu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu.js","sourceRoot":"","sources":["../../../src/extensions/schema/menu.ts"],"names":[],"mappings":";;;AAAA,+DAAkE;AAElE,0CAAyC;AAOzC,MAAM,QAAQ,GAAgB;IAC5B,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,CAAC,SAAS,CAAC;IACrB,eAAe,EAAE;QACf;YACE,IAAI,EAAE;gBACJ,OAAO,EAAE,MAAM;aAChB;SACF;KACF;IACD,UAAU,EAAE;QACV,OAAO,EAAE;YACP,WAAW,EAAE,IAAA,0BAAQ,EAAC,gCAAgC,CAAC;YACvD,IAAI,EAAE,QAAQ;SACf;QACD,IAAI,EAAE;YACJ,WAAW,EAAE,IAAA,0BAAQ,EAAC,6BAA6B,CAAC;YACpD,IAAI,EAAE,QAAQ;SACf;QACD,KAAK,EAAE;YACL,WAAW,EAAE,IAAA,0BAAQ,EAAC,8BAA8B,CAAC;YACrD,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,OAAO,GAAgB;IAC3B,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC;IACzB,UAAU,EAAE;QACV,EAAE,EAAE;YACF,WAAW,EAAE,IAAA,0BAAQ,EAAC,6BAA6B,C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;YAC7B,KAAK,EAAE,QAAQ;SAChB,CAAC,CAAC;KACJ,CAAC;IAEW,oBAAc,GAAgB;QACzC,WAAW,EAAE,IAAA,0BAAQ,EAAC,0BAA0B,CAAC;QACjD,IAAI,EAAE,QAAQ;QACd,oBAAoB,EAAE,OAAO;KAC9B,CAAC;AACJ,CAAC,EAhBgB,KAAK,GAAL,aAAK,KAAL,aAAK,QAgBrB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const OpensumiExtensionPackageSchema: {
|
|
2
|
+
properties: {
|
|
3
|
+
kaitianContributes: {
|
|
4
|
+
description: string;
|
|
5
|
+
type: string;
|
|
6
|
+
properties: {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
};
|
|
9
|
+
default: {};
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=opensumiExtensionPackageSchema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"opensumiExtensionPackageSchema.d.ts","sourceRoot":"","sources":["../../../src/extensions/schema/opensumiExtensionPackageSchema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,8BAA8B;;;;;;;;;;;CAS1C,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OpensumiExtensionPackageSchema = void 0;
|
|
4
|
+
const ide_core_common_1 = require("@opensumi/ide-core-common");
|
|
5
|
+
exports.OpensumiExtensionPackageSchema = {
|
|
6
|
+
properties: {
|
|
7
|
+
kaitianContributes: {
|
|
8
|
+
description: (0, ide_core_common_1.localize)('sumiContributes.opensumiContributes'),
|
|
9
|
+
type: 'object',
|
|
10
|
+
properties: {},
|
|
11
|
+
default: {},
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=opensumiExtensionPackageSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"opensumiExtensionPackageSchema.js","sourceRoot":"","sources":["../../../src/extensions/schema/opensumiExtensionPackageSchema.ts"],"names":[],"mappings":";;;AAAA,+DAAqD;AAExC,QAAA,8BAA8B,GAAG;IAC5C,UAAU,EAAE;QACV,kBAAkB,EAAE;YAClB,WAAW,EAAE,IAAA,0BAAQ,EAAC,qCAAqC,CAAC;YAC5D,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE,EAA4B;YACxC,OAAO,EAAE,EAAE;SACZ;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbar.d.ts","sourceRoot":"","sources":["../../../src/extensions/schema/toolbar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAY,MAAM,2BAA2B,CAAC;AAsGlE,yBAAiB,OAAO,CAAC;IAChB,MAAM,MAAM,EAAE,WA0OpB,CAAC;CACH"}
|