@theia/keymaps 1.67.0-next.13 → 1.67.0-next.56

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.
Files changed (34) hide show
  1. package/README.md +2 -2
  2. package/package.json +6 -6
  3. package/lib/browser/index.d.ts +0 -4
  4. package/lib/browser/index.d.ts.map +0 -1
  5. package/lib/browser/index.js +0 -22
  6. package/lib/browser/index.js.map +0 -1
  7. package/lib/browser/keybinding-schema-updater.d.ts +0 -78
  8. package/lib/browser/keybinding-schema-updater.d.ts.map +0 -1
  9. package/lib/browser/keybinding-schema-updater.js +0 -109
  10. package/lib/browser/keybinding-schema-updater.js.map +0 -1
  11. package/lib/browser/keybindings-widget.d.ts +0 -276
  12. package/lib/browser/keybindings-widget.d.ts.map +0 -1
  13. package/lib/browser/keybindings-widget.js +0 -815
  14. package/lib/browser/keybindings-widget.js.map +0 -1
  15. package/lib/browser/keymaps-frontend-contribution.d.ts +0 -38
  16. package/lib/browser/keymaps-frontend-contribution.d.ts.map +0 -1
  17. package/lib/browser/keymaps-frontend-contribution.js +0 -286
  18. package/lib/browser/keymaps-frontend-contribution.js.map +0 -1
  19. package/lib/browser/keymaps-frontend-module.d.ts +0 -6
  20. package/lib/browser/keymaps-frontend-module.d.ts.map +0 -1
  21. package/lib/browser/keymaps-frontend-module.js +0 -46
  22. package/lib/browser/keymaps-frontend-module.js.map +0 -1
  23. package/lib/browser/keymaps-monaco-contribution.d.ts +0 -2
  24. package/lib/browser/keymaps-monaco-contribution.d.ts.map +0 -1
  25. package/lib/browser/keymaps-monaco-contribution.js +0 -28
  26. package/lib/browser/keymaps-monaco-contribution.js.map +0 -1
  27. package/lib/browser/keymaps-service.d.ts +0 -62
  28. package/lib/browser/keymaps-service.d.ts.map +0 -1
  29. package/lib/browser/keymaps-service.js +0 -224
  30. package/lib/browser/keymaps-service.js.map +0 -1
  31. package/lib/package.spec.d.ts +0 -1
  32. package/lib/package.spec.d.ts.map +0 -1
  33. package/lib/package.spec.js +0 -26
  34. package/lib/package.spec.js.map +0 -1
@@ -1,224 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2017 Ericsson and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.KeymapsService = void 0;
19
- const tslib_1 = require("tslib");
20
- const inversify_1 = require("@theia/core/shared/inversify");
21
- const browser_1 = require("@theia/core/lib/browser");
22
- const keybinding_1 = require("@theia/core/lib/browser/keybinding");
23
- const keybinding_2 = require("@theia/core/lib/common/keybinding");
24
- const browser_2 = require("@theia/userstorage/lib/browser");
25
- const jsoncparser = require("jsonc-parser");
26
- const event_1 = require("@theia/core/lib/common/event");
27
- const monaco_text_model_service_1 = require("@theia/monaco/lib/browser/monaco-text-model-service");
28
- const promise_util_1 = require("@theia/core/lib/common/promise-util");
29
- const uri_1 = require("@theia/core/lib/common/uri");
30
- const monaco_workspace_1 = require("@theia/monaco/lib/browser/monaco-workspace");
31
- const message_service_1 = require("@theia/core/lib/common/message-service");
32
- const monaco_jsonc_editor_1 = require("@theia/preferences/lib/browser/monaco-jsonc-editor");
33
- let KeymapsService = class KeymapsService {
34
- constructor() {
35
- this.changeKeymapEmitter = new event_1.Emitter();
36
- this.onDidChangeKeymaps = this.changeKeymapEmitter.event;
37
- this.deferredModel = new promise_util_1.Deferred();
38
- }
39
- /**
40
- * Initialize the keybinding service.
41
- */
42
- init() {
43
- this.doInit();
44
- }
45
- async doInit() {
46
- const reference = await this.textModelService.createModelReference(browser_2.UserStorageUri.resolve('keymaps.json'));
47
- this.model = reference.object;
48
- this.deferredModel.resolve(this.model);
49
- this.reconcile();
50
- this.model.onDidChangeContent(() => this.reconcile());
51
- this.model.onDirtyChanged(() => this.reconcile());
52
- this.model.onDidChangeValid(() => this.reconcile());
53
- this.keybindingRegistry.onKeybindingsChanged(() => this.changeKeymapEmitter.fire(undefined));
54
- }
55
- /**
56
- * Reconcile all the keybindings, registering them to the registry.
57
- */
58
- reconcile() {
59
- const model = this.model;
60
- if (!model || model.dirty) {
61
- return;
62
- }
63
- try {
64
- const keybindings = [];
65
- if (model.valid) {
66
- const content = model.getText();
67
- const json = jsoncparser.parse(content, undefined, { disallowComments: false });
68
- if (Array.isArray(json)) {
69
- for (const value of json) {
70
- if (keybinding_2.Keybinding.is(value)) {
71
- keybindings.push(value);
72
- }
73
- else if (keybinding_2.RawKeybinding.is(value)) {
74
- keybindings.push(keybinding_2.Keybinding.apiObjectify(value));
75
- }
76
- }
77
- }
78
- }
79
- this.keybindingRegistry.setKeymap(keybinding_1.KeybindingScope.USER, keybindings);
80
- }
81
- catch (e) {
82
- console.error(`Failed to load keymaps from '${model.uri}'.`, e);
83
- }
84
- }
85
- /**
86
- * Open the keybindings widget.
87
- * @param ref the optional reference for opening the widget.
88
- */
89
- async open(ref) {
90
- const model = await this.deferredModel.promise;
91
- const options = {
92
- widgetOptions: ref ? { area: 'main', mode: 'split-right', ref } : { area: 'main' },
93
- mode: 'activate'
94
- };
95
- if (!model.valid) {
96
- await model.save();
97
- }
98
- await (0, browser_1.open)(this.opener, new uri_1.default(model.uri), options);
99
- }
100
- /**
101
- * Set the keybinding in the JSON.
102
- * @param newKeybinding the new JSON keybinding
103
- * @param oldKeybinding the old JSON keybinding
104
- */
105
- async setKeybinding(newKeybinding, oldKeybinding) {
106
- return this.updateKeymap(() => {
107
- const keybindings = [...this.keybindingRegistry.getKeybindingsByScope(keybinding_1.KeybindingScope.USER)];
108
- if (!oldKeybinding) {
109
- keybinding_2.Keybinding.addKeybinding(keybindings, newKeybinding);
110
- return keybindings;
111
- }
112
- else if (oldKeybinding.scope === keybinding_1.KeybindingScope.DEFAULT) {
113
- keybinding_2.Keybinding.addKeybinding(keybindings, newKeybinding);
114
- const disabledBinding = {
115
- ...oldKeybinding,
116
- command: '-' + oldKeybinding.command
117
- };
118
- keybinding_2.Keybinding.addKeybinding(keybindings, disabledBinding);
119
- return keybindings;
120
- }
121
- else if (keybinding_2.Keybinding.replaceKeybinding(keybindings, oldKeybinding, newKeybinding)) {
122
- return keybindings;
123
- }
124
- });
125
- }
126
- /**
127
- * Unset the given keybinding in the JSON.
128
- * If the given keybinding has a default scope, it will be disabled in the JSON.
129
- * Otherwise, it will be removed from the JSON.
130
- * @param keybinding the keybinding to unset
131
- */
132
- unsetKeybinding(keybinding) {
133
- return this.updateKeymap(() => {
134
- const keybindings = this.keybindingRegistry.getKeybindingsByScope(keybinding_1.KeybindingScope.USER);
135
- if (keybinding.scope === keybinding_1.KeybindingScope.DEFAULT) {
136
- const result = [...keybindings];
137
- const disabledBinding = {
138
- ...keybinding,
139
- command: '-' + keybinding.command
140
- };
141
- keybinding_2.Keybinding.addKeybinding(result, disabledBinding);
142
- return result;
143
- }
144
- else {
145
- const filtered = keybindings.filter(a => !keybinding_2.Keybinding.equals(a, keybinding, false, true));
146
- if (filtered.length !== keybindings.length) {
147
- return filtered;
148
- }
149
- }
150
- });
151
- }
152
- /**
153
- * Whether there is a keybinding with the given command id in the JSON.
154
- * @param commandId the keybinding command id
155
- */
156
- hasKeybinding(commandId) {
157
- const keybindings = this.keybindingRegistry.getKeybindingsByScope(keybinding_1.KeybindingScope.USER);
158
- return keybindings.some(a => a.command === commandId);
159
- }
160
- /**
161
- * Remove the keybindings with the given command id from the JSON.
162
- * This includes disabled keybindings.
163
- * @param commandId the keybinding command id.
164
- */
165
- removeKeybinding(commandId) {
166
- return this.updateKeymap(() => {
167
- const keybindings = this.keybindingRegistry.getKeybindingsByScope(keybinding_1.KeybindingScope.USER);
168
- const removedCommand = '-' + commandId;
169
- const filtered = keybindings.filter(a => a.command !== commandId && a.command !== removedCommand);
170
- if (filtered.length !== keybindings.length) {
171
- return filtered;
172
- }
173
- });
174
- }
175
- async updateKeymap(op) {
176
- const model = await this.deferredModel.promise;
177
- try {
178
- const keybindings = op();
179
- if (keybindings && this.model) {
180
- await this.jsoncEditor.setValue(this.model, [], keybindings.map(binding => keybinding_2.Keybinding.apiObjectify(binding)));
181
- }
182
- }
183
- catch (e) {
184
- const message = `Failed to update a keymap in '${model.uri}'.`;
185
- this.messageService.error(`${message} Please check if it is corrupted.`);
186
- console.error(`${message}`, e);
187
- }
188
- }
189
- };
190
- exports.KeymapsService = KeymapsService;
191
- tslib_1.__decorate([
192
- (0, inversify_1.inject)(monaco_workspace_1.MonacoWorkspace),
193
- tslib_1.__metadata("design:type", monaco_workspace_1.MonacoWorkspace)
194
- ], KeymapsService.prototype, "workspace", void 0);
195
- tslib_1.__decorate([
196
- (0, inversify_1.inject)(monaco_text_model_service_1.MonacoTextModelService),
197
- tslib_1.__metadata("design:type", monaco_text_model_service_1.MonacoTextModelService)
198
- ], KeymapsService.prototype, "textModelService", void 0);
199
- tslib_1.__decorate([
200
- (0, inversify_1.inject)(keybinding_1.KeybindingRegistry),
201
- tslib_1.__metadata("design:type", keybinding_1.KeybindingRegistry)
202
- ], KeymapsService.prototype, "keybindingRegistry", void 0);
203
- tslib_1.__decorate([
204
- (0, inversify_1.inject)(browser_1.OpenerService),
205
- tslib_1.__metadata("design:type", Object)
206
- ], KeymapsService.prototype, "opener", void 0);
207
- tslib_1.__decorate([
208
- (0, inversify_1.inject)(message_service_1.MessageService),
209
- tslib_1.__metadata("design:type", message_service_1.MessageService)
210
- ], KeymapsService.prototype, "messageService", void 0);
211
- tslib_1.__decorate([
212
- (0, inversify_1.inject)(monaco_jsonc_editor_1.MonacoJSONCEditor),
213
- tslib_1.__metadata("design:type", monaco_jsonc_editor_1.MonacoJSONCEditor)
214
- ], KeymapsService.prototype, "jsoncEditor", void 0);
215
- tslib_1.__decorate([
216
- (0, inversify_1.postConstruct)(),
217
- tslib_1.__metadata("design:type", Function),
218
- tslib_1.__metadata("design:paramtypes", []),
219
- tslib_1.__metadata("design:returntype", void 0)
220
- ], KeymapsService.prototype, "init", null);
221
- exports.KeymapsService = KeymapsService = tslib_1.__decorate([
222
- (0, inversify_1.injectable)()
223
- ], KeymapsService);
224
- //# sourceMappingURL=keymaps-service.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"keymaps-service.js","sourceRoot":"","sources":["../../src/browser/keymaps-service.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,0CAA0C;AAC1C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,4DAAiF;AACjF,qDAA2F;AAC3F,mEAA2G;AAC3G,kEAA8E;AAC9E,4DAAgE;AAChE,4CAA4C;AAC5C,wDAAuD;AACvD,mGAA6F;AAE7F,sEAA+D;AAC/D,oDAA6C;AAC7C,iFAA6E;AAC7E,4EAAwE;AACxE,4FAAuF;AAGhF,IAAM,cAAc,GAApB,MAAM,cAAc;IAApB;QAoBgB,wBAAmB,GAAG,IAAI,eAAO,EAAQ,CAAC;QACpD,uBAAkB,GAAG,IAAI,CAAC,mBAAmB,CAAC,KAAK,CAAC;QAG1C,kBAAa,GAAG,IAAI,uBAAQ,EAAqB,CAAC;IA6JzE,CAAC;IA3JG;;OAEG;IAEO,IAAI;QACV,IAAI,CAAC,MAAM,EAAE,CAAC;IAClB,CAAC;IAES,KAAK,CAAC,MAAM;QAClB,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,wBAAc,CAAC,OAAO,CAAC,c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IAAI,WAAW,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;gBAC5B,MAAM,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,EAAE,WAAW,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,uBAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;YAClH,CAAC;QACL,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACT,MAAM,OAAO,GAAG,iCAAiC,KAAK,CAAC,GAAG,IAAI,CAAC;YAC/D,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,OAAO,mCAAmC,CAAC,CAAC;YACzE,OAAO,CAAC,KAAK,CAAC,GAAG,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC;QACnC,CAAC;IACL,CAAC;CAEJ,CAAA;AArLY,wCAAc;AAGJ;IADlB,IAAA,kBAAM,EAAC,kCAAe,CAAC;sCACM,kCAAe;iDAAC;AAG3B;IADlB,IAAA,kBAAM,EAAC,kDAAsB,CAAC;sCACM,kDAAsB;wDAAC;AAGzC;IADlB,IAAA,kBAAM,EAAC,+BAAkB,CAAC;sCACY,+BAAkB;0DAAC;AAGvC;IADlB,IAAA,kBAAM,EAAC,uBAAa,CAAC;;8CACmB;AAGtB;IADlB,IAAA,kBAAM,EAAC,gCAAc,CAAC;sCACY,gCAAc;sDAAC;AAG/B;IADlB,IAAA,kBAAM,EAAC,uCAAiB,CAAC;sCACM,uCAAiB;mDAAC;AAYxC;IADT,IAAA,yBAAa,GAAE;;;;0CAGf;yBAhCQ,cAAc;IAD1B,IAAA,sBAAU,GAAE;GACA,cAAc,CAqL1B"}
@@ -1 +0,0 @@
1
- //# sourceMappingURL=package.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"package.spec.d.ts","sourceRoot":"","sources":["../src/package.spec.ts"],"names":[],"mappings":""}
@@ -1,26 +0,0 @@
1
- // *****************************************************************************
2
- // Copyright (C) 2017 Ericsson and others.
3
- //
4
- // This program and the accompanying materials are made available under the
5
- // terms of the Eclipse Public License v. 2.0 which is available at
6
- // http://www.eclipse.org/legal/epl-2.0.
7
- //
8
- // This Source Code may also be made available under the following Secondary
9
- // Licenses when the conditions for such availability set forth in the Eclipse
10
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- // with the GNU Classpath Exception which is available at
12
- // https://www.gnu.org/software/classpath/license.html.
13
- //
14
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
- // *****************************************************************************
16
- /* note: this bogus test file is required so that
17
- we are able to run mocha unit tests on this
18
- package, without having any actual unit tests in it.
19
- This way a coverage report will be generated,
20
- showing 0% coverage, instead of no report.
21
- This file can be removed once we have real unit
22
- tests in place. */
23
- describe('keymaps package', () => {
24
- it('support code coverage statistics', () => true);
25
- });
26
- //# sourceMappingURL=package.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"package.spec.js","sourceRoot":"","sources":["../src/package.spec.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,0CAA0C;AAC1C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;AAEhF;;;;;;qBAMqB;AAErB,QAAQ,CAAC,iBAAiB,EAAE,GAAG,EAAE;IAE7B,EAAE,CAAC,kCAAkC,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC;AACvD,CAAC,CAAC,CAAC"}