@innovatorved/code-lab 0.3.2 → 0.4.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/ARCHITECTURE.md +5 -3
- package/CHANGELOG.md +20 -0
- package/README.md +70 -168
- package/dist/apps/web/src/index.d.ts +34 -0
- package/dist/code-lab-sql.css +482 -0
- package/dist/code-lab-sql.d.ts +179 -0
- package/dist/code-lab-sql.esm.js +542 -0
- package/dist/code-lab-sql.umd.js +531 -0
- package/dist/code-lab.css +246 -0
- package/dist/code-lab.d.ts +110 -15
- package/dist/code-lab.esm.js +34265 -18104
- package/dist/code-lab.js +33186 -17053
- package/dist/code-lab.umd.js +65502 -0
- package/dist/extensions/cpp.esm.js +19478 -3760
- package/dist/extensions/cpp.js +19475 -3757
- package/dist/extensions/guided-lab.esm.js +19401 -3725
- package/dist/extensions/guided-lab.js +19400 -3724
- package/dist/extensions/python.d.ts +1 -0
- package/dist/extensions/python.esm.js +19576 -3766
- package/dist/extensions/python.js +19576 -3766
- package/dist/extensions/umbrella.d.ts +5 -0
- package/dist/index.d.ts +1 -1
- package/dist/modular-kernel.d.ts +11 -0
- package/dist/packages/commands/src/index.d.ts +96 -0
- package/dist/packages/core/src/di.d.ts +36 -0
- package/dist/packages/core/src/disposable.d.ts +27 -0
- package/dist/packages/core/src/errors.d.ts +69 -0
- package/dist/packages/core/src/events.d.ts +38 -0
- package/dist/packages/core/src/index.d.ts +6 -0
- package/dist/packages/core/src/path.d.ts +14 -0
- package/dist/packages/core/src/registry.d.ts +23 -0
- package/dist/packages/editor/src/index.d.ts +118 -0
- package/dist/packages/fs/src/backends.d.ts +37 -0
- package/dist/packages/fs/src/index.d.ts +3 -0
- package/dist/packages/fs/src/types.d.ts +40 -0
- package/dist/packages/fs/src/vfs-service.d.ts +33 -0
- package/dist/packages/preview/src/index.d.ts +34 -0
- package/dist/packages/runtime/src/index.d.ts +47 -0
- package/dist/packages/settings/src/builtin-schemas.d.ts +15 -0
- package/dist/packages/settings/src/configuration-service.d.ts +100 -0
- package/dist/packages/settings/src/index.d.ts +4 -0
- package/dist/packages/settings/src/jsonc.d.ts +20 -0
- package/dist/packages/settings/src/schema.d.ts +28 -0
- package/dist/packages/sql/src/completions.d.ts +8 -0
- package/dist/packages/sql/src/diagnostics.d.ts +2 -0
- package/dist/packages/sql/src/formatter.d.ts +2 -0
- package/dist/packages/sql/src/index.d.ts +7 -0
- package/dist/packages/sql/src/sql-editor.d.ts +2 -0
- package/dist/packages/sql/src/styles.d.ts +2 -0
- package/dist/packages/sql/src/tokenizer.d.ts +13 -0
- package/dist/packages/sql/src/types.d.ts +130 -0
- package/dist/packages/terminal/src/index.d.ts +54 -0
- package/dist/packages/ui/src/index.d.ts +4 -0
- package/dist/packages/ui/src/observability.d.ts +22 -0
- package/dist/packages/ui/src/plugin-registry.d.ts +89 -0
- package/dist/packages/ui/src/settings-dialog.d.ts +25 -0
- package/dist/packages/ui/src/themes.d.ts +35 -0
- package/dist/preview-sw.js +53 -12
- package/dist/runtime.d.ts +3 -3
- package/dist/runtime.esm.js +467 -44
- package/dist/runtime.js +465 -44
- package/dist/schemas.d.ts +234 -814
- package/dist/schemas.esm.js +19401 -3725
- package/dist/schemas.js +19404 -3728
- package/dist/shell.d.ts +1 -1
- package/dist/shell.esm.js +364 -39
- package/dist/shell.js +364 -39
- package/dist/terminal.esm.js +62 -3
- package/dist/terminal.js +62 -3
- package/dist/workbench/diff-editor.d.ts +1 -0
- package/package.json +37 -8
- package/packages/commands/README.md +7 -0
- package/packages/commands/package.json +16 -0
- package/packages/commands/src/index.ts +467 -0
- package/packages/commands/tsconfig.json +22 -0
- package/packages/core/README.md +12 -0
- package/packages/core/package.json +13 -0
- package/packages/core/src/di.ts +147 -0
- package/packages/core/src/disposable.ts +112 -0
- package/packages/core/src/errors.ts +205 -0
- package/packages/core/src/events.ts +157 -0
- package/packages/core/src/index.ts +49 -0
- package/packages/core/src/path.ts +118 -0
- package/packages/core/src/registry.ts +61 -0
- package/packages/core/tsconfig.json +19 -0
- package/packages/editor/README.md +9 -0
- package/packages/editor/package.json +18 -0
- package/packages/editor/src/index.ts +344 -0
- package/packages/editor/tsconfig.json +24 -0
- package/packages/fs/README.md +7 -0
- package/packages/fs/package.json +16 -0
- package/packages/fs/src/backends.ts +301 -0
- package/packages/fs/src/index.ts +18 -0
- package/packages/fs/src/types.ts +44 -0
- package/packages/fs/src/vfs-service.ts +257 -0
- package/packages/fs/tsconfig.json +22 -0
- package/packages/preview/README.md +3 -0
- package/packages/preview/package.json +16 -0
- package/packages/preview/src/index.ts +125 -0
- package/packages/preview/tsconfig.json +22 -0
- package/packages/runtime/README.md +3 -0
- package/packages/runtime/package.json +17 -0
- package/packages/runtime/src/index.ts +134 -0
- package/packages/runtime/tsconfig.json +23 -0
- package/packages/settings/README.md +7 -0
- package/packages/settings/package.json +16 -0
- package/packages/settings/src/builtin-schemas.ts +235 -0
- package/packages/settings/src/configuration-service.ts +543 -0
- package/packages/settings/src/index.ts +37 -0
- package/packages/settings/src/jsonc.ts +189 -0
- package/packages/settings/src/schema.ts +164 -0
- package/packages/settings/tsconfig.json +22 -0
- package/packages/sql/README.md +12 -0
- package/packages/sql/package.json +13 -0
- package/packages/sql/src/completions.ts +359 -0
- package/packages/sql/src/diagnostics.ts +200 -0
- package/packages/sql/src/formatter.ts +271 -0
- package/packages/sql/src/index.ts +54 -0
- package/packages/sql/src/sql-editor.ts +802 -0
- package/packages/sql/src/styles.ts +501 -0
- package/packages/sql/src/tokenizer.ts +457 -0
- package/packages/sql/src/types.ts +148 -0
- package/packages/sql/tsconfig.json +19 -0
- package/packages/terminal/README.md +3 -0
- package/packages/terminal/package.json +16 -0
- package/packages/terminal/src/index.ts +183 -0
- package/packages/terminal/tsconfig.json +22 -0
- package/packages/ui/README.md +8 -0
- package/packages/ui/package.json +18 -0
- package/packages/ui/src/index.ts +36 -0
- package/packages/ui/src/observability.ts +175 -0
- package/packages/ui/src/plugin-registry.ts +274 -0
- package/packages/ui/src/settings-dialog.ts +293 -0
- package/packages/ui/src/themes.ts +174 -0
- package/packages/ui/tsconfig.json +24 -0
- package/src/code-lab.css +246 -0
- package/src/extensions/cpp.ts +58 -15
- package/src/extensions/python.ts +156 -24
- package/src/extensions/umbrella.ts +5 -0
- package/src/index.ts +1 -1
- package/src/modular-kernel.ts +11 -0
- package/src/preview-sw.js +52 -11
- package/src/runtime.ts +466 -46
- package/src/schemas.ts +62 -62
- package/src/shell.ts +363 -39
- package/src/terminal.ts +60 -2
- package/src/workbench/diff-editor.ts +66 -6
- package/src/workbench/icons.ts +5 -2
- package/src/workbench.ts +2410 -220
- package/dist/runtime/index.d.ts +0 -4
- package/dist/shell/coreutils/compilers-cli.d.ts +0 -24
- package/dist/shell/index.d.ts +0 -4
- package/src/runtime/index.ts +0 -5
- package/src/shell/coreutils/compilers-cli.ts +0 -103
- package/src/shell/index.ts +0 -5
package/src/terminal.ts
CHANGED
|
@@ -328,6 +328,9 @@
|
|
|
328
328
|
this.maxScrollback = typeof this.options.maxScrollback === 'number' && this.options.maxScrollback > 0
|
|
329
329
|
? this.options.maxScrollback
|
|
330
330
|
: MAX_SCROLLBACK;
|
|
331
|
+
this.maxHistory = typeof this.options.maxHistory === 'number' && this.options.maxHistory > 0
|
|
332
|
+
? this.options.maxHistory
|
|
333
|
+
: 1000;
|
|
331
334
|
this.logs = Array.isArray(this.options.logs) ? this.options.logs : [];
|
|
332
335
|
this.cwd = this.options.cwd || '/workspace';
|
|
333
336
|
this.replMode = Boolean(this.options.replMode);
|
|
@@ -616,14 +619,60 @@
|
|
|
616
619
|
}
|
|
617
620
|
}
|
|
618
621
|
|
|
619
|
-
|
|
622
|
+
_drainReadLineQueue(result = null) {
|
|
623
|
+
if (!Array.isArray(this._readLineQueue) || this._readLineQueue.length === 0) return;
|
|
624
|
+
const queued = this._readLineQueue.splice(0, this._readLineQueue.length);
|
|
625
|
+
let restoredPrompt = undefined;
|
|
626
|
+
for (const entry of queued) {
|
|
627
|
+
if (entry && typeof entry === 'object' && entry._activated && restoredPrompt === undefined) {
|
|
628
|
+
restoredPrompt = entry.prevPrompt;
|
|
629
|
+
}
|
|
630
|
+
if (entry && typeof entry.cleanup === 'function') {
|
|
631
|
+
entry.cleanup();
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
if (restoredPrompt !== undefined) {
|
|
635
|
+
this.promptOverride = restoredPrompt;
|
|
636
|
+
}
|
|
637
|
+
for (const entry of queued) {
|
|
638
|
+
if (typeof entry === 'function') {
|
|
639
|
+
try { entry(result); } catch (err) { _terminalLogger.debug('readLine callback threw during drain.', err); }
|
|
640
|
+
} else if (entry && typeof entry.resolve === 'function') {
|
|
641
|
+
try { entry.resolve(result); } catch (err) { _terminalLogger.debug('readLine resolve threw during drain.', err); }
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
readLine(promptText = '', options = {}) {
|
|
647
|
+
if (options && options.signal && options.signal.aborted) {
|
|
648
|
+
return Promise.resolve(null);
|
|
649
|
+
}
|
|
620
650
|
return new Promise((resolve) => {
|
|
621
651
|
const item = {
|
|
622
652
|
promptText: String(promptText || ''),
|
|
623
653
|
prevPrompt: null,
|
|
624
654
|
_activated: false,
|
|
655
|
+
cleanup: null,
|
|
625
656
|
resolve
|
|
626
657
|
};
|
|
658
|
+
if (options && options.signal && typeof options.signal.addEventListener === 'function') {
|
|
659
|
+
const onAbort = () => {
|
|
660
|
+
const idx = this._readLineQueue.indexOf(item);
|
|
661
|
+
if (idx !== -1) {
|
|
662
|
+
this._readLineQueue.splice(idx, 1);
|
|
663
|
+
if (item._activated) {
|
|
664
|
+
this.promptOverride = item.prevPrompt;
|
|
665
|
+
this._activateNextReadLine();
|
|
666
|
+
}
|
|
667
|
+
this.updateActiveLine();
|
|
668
|
+
resolve(null);
|
|
669
|
+
}
|
|
670
|
+
};
|
|
671
|
+
options.signal.addEventListener('abort', onAbort, { once: true });
|
|
672
|
+
item.cleanup = () => {
|
|
673
|
+
try { options.signal.removeEventListener('abort', onAbort); } catch (err) { _terminalLogger.debug('readLine abort listener cleanup failed.', err); }
|
|
674
|
+
};
|
|
675
|
+
}
|
|
627
676
|
this._readLineQueue.push(item);
|
|
628
677
|
this._activateNextReadLine();
|
|
629
678
|
this.updateActiveLine();
|
|
@@ -667,6 +716,7 @@
|
|
|
667
716
|
}
|
|
668
717
|
|
|
669
718
|
destroy() {
|
|
719
|
+
this._drainReadLineQueue(null);
|
|
670
720
|
this._cleanupListeners();
|
|
671
721
|
this._mounted = false;
|
|
672
722
|
}
|
|
@@ -749,12 +799,13 @@
|
|
|
749
799
|
|
|
750
800
|
if (isCtrl && (key === 'c' || key === 'C')) {
|
|
751
801
|
if (e.preventDefault) e.preventDefault();
|
|
752
|
-
const wasBusy = this.isBusy;
|
|
802
|
+
const wasBusy = this.isBusy || (this._readLineQueue && this._readLineQueue.length > 0);
|
|
753
803
|
this.isBusy = false;
|
|
754
804
|
this._pushLog({ type: 'system', text: wasBusy ? '^C' : `${this.getPrompt()}${this.buffer}^C` });
|
|
755
805
|
this.buffer = '';
|
|
756
806
|
this.cursor = 0;
|
|
757
807
|
this.historyIdx = -1;
|
|
808
|
+
this._drainReadLineQueue(null);
|
|
758
809
|
if (this.replMode) {
|
|
759
810
|
this.replMode = false;
|
|
760
811
|
}
|
|
@@ -1016,6 +1067,9 @@
|
|
|
1016
1067
|
this.searchMatchIdx = -1;
|
|
1017
1068
|
|
|
1018
1069
|
const entry = this._readLineQueue.shift();
|
|
1070
|
+
if (entry && typeof entry.cleanup === 'function') {
|
|
1071
|
+
entry.cleanup();
|
|
1072
|
+
}
|
|
1019
1073
|
if (typeof entry === 'function') {
|
|
1020
1074
|
this.updateActiveLine();
|
|
1021
1075
|
entry(line);
|
|
@@ -1052,6 +1106,10 @@
|
|
|
1052
1106
|
if (line.trim()) {
|
|
1053
1107
|
if (this.history[this.history.length - 1] !== line.trim()) {
|
|
1054
1108
|
this.history.push(line.trim());
|
|
1109
|
+
const maxHist = typeof this.maxHistory === 'number' && this.maxHistory > 0 ? this.maxHistory : 1000;
|
|
1110
|
+
if (this.history.length > maxHist) {
|
|
1111
|
+
this.history.splice(0, this.history.length - maxHist);
|
|
1112
|
+
}
|
|
1055
1113
|
}
|
|
1056
1114
|
}
|
|
1057
1115
|
|
|
@@ -158,10 +158,16 @@ export class CodeLabDiffEditorManager {
|
|
|
158
158
|
`;
|
|
159
159
|
|
|
160
160
|
const slot = diffContainer.querySelector('#cl-diff-editor-slot');
|
|
161
|
+
const resolvedTheme = typeof this.workbench._resolvedTheme === 'function'
|
|
162
|
+
? this.workbench._resolvedTheme()
|
|
163
|
+
: this.workbench.theme;
|
|
164
|
+
const monacoTheme = resolvedTheme === 'light'
|
|
165
|
+
? 'vs'
|
|
166
|
+
: (resolvedTheme === 'high-contrast' ? 'hc-black' : 'vs-dark');
|
|
161
167
|
this.diffEditor = monaco.editor.createDiffEditor(slot, {
|
|
162
168
|
readOnly: false,
|
|
163
169
|
originalEditable: false,
|
|
164
|
-
theme:
|
|
170
|
+
theme: monacoTheme,
|
|
165
171
|
renderSideBySide: true,
|
|
166
172
|
automaticLayout: true,
|
|
167
173
|
minimap: { enabled: false }
|
|
@@ -176,13 +182,32 @@ export class CodeLabDiffEditorManager {
|
|
|
176
182
|
modified: this.modifiedModel
|
|
177
183
|
});
|
|
178
184
|
|
|
179
|
-
|
|
180
|
-
this.modifiedModel.onDidChangeContent(() => {
|
|
181
|
-
const val = this.modifiedModel.getValue();
|
|
185
|
+
const syncFileToWorkbench = (val: string): void => {
|
|
182
186
|
this.workbench.files[file] = val;
|
|
187
|
+
const mainModel = this.workbench.models && typeof this.workbench.models.get === 'function'
|
|
188
|
+
? this.workbench.models.get(file)
|
|
189
|
+
: null;
|
|
190
|
+
if (mainModel && typeof mainModel.getValue === 'function' && mainModel.getValue() !== val) {
|
|
191
|
+
mainModel.setValue(val);
|
|
192
|
+
}
|
|
193
|
+
if (this.workbench.activeFile === file && fallbackTextarea && fallbackTextarea.value !== val) {
|
|
194
|
+
fallbackTextarea.value = val;
|
|
195
|
+
}
|
|
196
|
+
if (this.workbench.shell && this.workbench.shell.vfs && typeof this.workbench.shell.vfs.writeFileSync === 'function') {
|
|
197
|
+
const vfsPath = file.startsWith('/') ? file : `/workspace/${file}`;
|
|
198
|
+
this.workbench.shell.vfs.writeFileSync(vfsPath, val);
|
|
199
|
+
}
|
|
200
|
+
if (typeof this.workbench._saveState === 'function') {
|
|
201
|
+
this.workbench._saveState();
|
|
202
|
+
}
|
|
183
203
|
if (typeof this.workbench._markDirty === 'function') {
|
|
184
204
|
this.workbench._markDirty(file);
|
|
185
205
|
}
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
// Wire modified model edits back to workbench, main Monaco model, VFS, and persistence
|
|
209
|
+
this.modifiedModel.onDidChangeContent(() => {
|
|
210
|
+
syncFileToWorkbench(this.modifiedModel.getValue());
|
|
186
211
|
});
|
|
187
212
|
|
|
188
213
|
// Wire buttons
|
|
@@ -195,7 +220,11 @@ export class CodeLabDiffEditorManager {
|
|
|
195
220
|
diffContainer.querySelector('#cl-diff-revert-btn')?.addEventListener('click', () => {
|
|
196
221
|
const starterMap = this.workbench.starterFiles || (typeof this.workbench._getBaseFilesForModeAndLang === 'function' ? this.workbench._getBaseFilesForModeAndLang('guided', this.workbench.lang) : {});
|
|
197
222
|
const starterCode = (starterMap && starterMap[file]) || '';
|
|
198
|
-
this.workbench.
|
|
223
|
+
if (typeof this.workbench.setFile === 'function') {
|
|
224
|
+
this.workbench.setFile(file, starterCode);
|
|
225
|
+
} else {
|
|
226
|
+
syncFileToWorkbench(starterCode);
|
|
227
|
+
}
|
|
199
228
|
this.closeInlineDiff();
|
|
200
229
|
this.workbench.openFile(file);
|
|
201
230
|
});
|
|
@@ -207,7 +236,11 @@ export class CodeLabDiffEditorManager {
|
|
|
207
236
|
}
|
|
208
237
|
const solutionMap = this.workbench.solutionFiles || (typeof this.workbench._getBaseFilesForModeAndLang === 'function' ? this.workbench._getBaseFilesForModeAndLang('sandbox', this.workbench.lang) : {});
|
|
209
238
|
const solutionCode = (solutionMap && solutionMap[file]) || '';
|
|
210
|
-
this.workbench.
|
|
239
|
+
if (typeof this.workbench.setFile === 'function') {
|
|
240
|
+
this.workbench.setFile(file, solutionCode);
|
|
241
|
+
} else {
|
|
242
|
+
syncFileToWorkbench(solutionCode);
|
|
243
|
+
}
|
|
211
244
|
this.closeInlineDiff();
|
|
212
245
|
this.workbench.openFile(file);
|
|
213
246
|
});
|
|
@@ -218,6 +251,33 @@ export class CodeLabDiffEditorManager {
|
|
|
218
251
|
return true;
|
|
219
252
|
}
|
|
220
253
|
|
|
254
|
+
public syncFileToWorkbench(file: string, nextVal: string): void {
|
|
255
|
+
this.workbench.files[file] = nextVal;
|
|
256
|
+
const mainModel = this.workbench.models instanceof Map ? this.workbench.models.get(file) : null;
|
|
257
|
+
if (mainModel && typeof mainModel.getValue === 'function' && mainModel.getValue() !== nextVal) {
|
|
258
|
+
mainModel.setValue(nextVal);
|
|
259
|
+
}
|
|
260
|
+
const fallbackEl = this.workbench.container?.querySelector('#cl-fallback-editor');
|
|
261
|
+
if (fallbackEl && this.workbench.activeFile === file) {
|
|
262
|
+
fallbackEl.value = nextVal;
|
|
263
|
+
}
|
|
264
|
+
if (this.workbench.shell?.vfs && typeof this.workbench.shell.vfs.writeFileSync === 'function') {
|
|
265
|
+
try {
|
|
266
|
+
this.workbench.shell.vfs.writeFileSync('/workspace/' + String(file).replace(/^\/+/, ''), nextVal);
|
|
267
|
+
} catch (err) {
|
|
268
|
+
if (this.workbench.logger && typeof this.workbench.logger.debug === 'function') {
|
|
269
|
+
this.workbench.logger.debug('Diff VFS sync skipped.', err);
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
if (typeof this.workbench._saveState === 'function') {
|
|
274
|
+
this.workbench._saveState();
|
|
275
|
+
}
|
|
276
|
+
if (typeof this.workbench._markDirty === 'function') {
|
|
277
|
+
this.workbench._markDirty(file);
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
|
|
221
281
|
public closeInlineDiff(): void {
|
|
222
282
|
this.isActive = false;
|
|
223
283
|
const diffContainer = this.workbench.container?.querySelector('#cl-inline-diff-container');
|
package/src/workbench/icons.ts
CHANGED
|
@@ -43,6 +43,9 @@ export const CL_ICONS: Record<string, string> = {
|
|
|
43
43
|
warning: '<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"/><line x1="12" y1="9" x2="12" y2="13"/><line x1="12" y1="17" x2="12.01" y2="17"/></svg>',
|
|
44
44
|
clock: '<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/></svg>',
|
|
45
45
|
memory: '<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 19v2"/><path d="M10 19v2"/><path d="M14 19v2"/><path d="M18 19v2"/><path d="M6 3v2"/><path d="M10 3v2"/><path d="M14 3v2"/><path d="M18 3v2"/><rect x="2" y="5" width="20" height="14" rx="2"/></svg>',
|
|
46
|
-
keyboard: '<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="4" width="20" height="16" rx="2"/><path d="M6 8h.01"/><path d="M10 8h.01"/><path d="M14 8h.01"/><path d="M18 8h.01"/><path d="M6 12h.01"/><path d="M10 12h.01"/><path d="M14 12h.01"/><path d="M18 12h.01"/><path d="M7 16h10"/></svg>',
|
|
47
|
-
share: '<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="18" cy="5" r="3"/><circle cx="6" cy="12" r="3"/><circle cx="18" cy="19" r="3"/><line x1="8.59" y1="13.51" x2="15.42" y2="17.49"/><line x1="15.41" y1="6.51" x2="8.59" y2="10.49"/></svg>'
|
|
46
|
+
keyboard: '<svg aria-hidden="true" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="4" width="20" height="16" rx="2"/><path d="M6 8h.01"/><path d="M10 8h.01"/><path d="M14 8h.01"/><path d="M18 8h.01"/><path d="M6 12h.01"/><path d="M10 12h.01"/><path d="M14 12h.01"/><path d="M18 12h.01"/><path d="M7 16h10"/></svg>',
|
|
47
|
+
share: '<svg aria-hidden="true" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="18" cy="5" r="3"/><circle cx="6" cy="12" r="3"/><circle cx="18" cy="19" r="3"/><line x1="8.59" y1="13.51" x2="15.42" y2="17.49"/><line x1="15.41" y1="6.51" x2="8.59" y2="10.49"/></svg>',
|
|
48
|
+
layout: '<svg aria-hidden="true" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2"/><line x1="3" y1="9" x2="21" y2="9"/><line x1="9" y1="21" x2="9" y2="9"/></svg>',
|
|
49
|
+
maximize: '<svg aria-hidden="true" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 3 21 3 21 9"/><polyline points="9 21 3 21 3 15"/><line x1="21" y1="3" x2="14" y2="10"/><line x1="3" y1="21" x2="10" y2="14"/></svg>',
|
|
50
|
+
settings: '<svg aria-hidden="true" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z"/></svg>'
|
|
48
51
|
};
|