@isopodlabs/vscode_utils 0.2.6 → 0.3.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.
@@ -0,0 +1,490 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.codicons = void 0;
4
+ exports.iconAttribute = iconAttribute;
5
+ exports.iconAttributes = iconAttributes;
6
+ //import * as vscode from 'vscode';
7
+ const vscode_1 = require("vscode");
8
+ exports.codicons = {
9
+ add: '\uea60',
10
+ lightbulb: '\uea61',
11
+ repo: '\uea62',
12
+ fork: '\uea63',
13
+ pullRequest: '\uea64',
14
+ keyboard: '\uea65',
15
+ tag: '\uea66',
16
+ person: '\uea67',
17
+ branch: '\uea68',
18
+ mirror: '\uea69',
19
+ star: '\uea6a',
20
+ comment: '\uea6b',
21
+ alert: '\uea6c',
22
+ search: '\uea6d',
23
+ logOut: '\uea6e',
24
+ logIn: '\uea6f',
25
+ eye: '\uea70',
26
+ circleFilled: '\uea71',
27
+ primitiveSquare: '\uea72',
28
+ pencil: '\uea73',
29
+ info: '\uea74',
30
+ private: '\uea75',
31
+ close: '\uea76',
32
+ sync: '\uea77',
33
+ clone: '\uea78',
34
+ beaker: '\uea79',
35
+ desktop: '\uea7a',
36
+ file: '\uea7b',
37
+ ellipsis: '\uea7c',
38
+ reply: '\uea7d',
39
+ organization: '\uea7e',
40
+ newFile: '\uea7f',
41
+ newFolder: '\uea80',
42
+ trash: '\uea81',
43
+ clock: '\uea82',
44
+ folder: '\uea83',
45
+ github: '\uea84',
46
+ terminal: '\uea85',
47
+ symbolEvent: '\uea86',
48
+ error: '\uea87',
49
+ variable: '\uea88',
50
+ array: '\uea8a',
51
+ symbolModule: '\uea8b',
52
+ symbolFunction: '\uea8c',
53
+ symbolBoolean: '\uea8f',
54
+ symbolNumber: '\uea90',
55
+ symbolStruct: '\uea91',
56
+ symbolParameter: '\uea92',
57
+ symbolKey: '\uea93',
58
+ symbolReference: '\uea94',
59
+ symbolValue: '\uea95',
60
+ symbolUnit: '\uea96',
61
+ activateBreakpoints: '\uea97',
62
+ archive: '\uea98',
63
+ arrowBoth: '\uea99',
64
+ arrowDown: '\uea9a',
65
+ arrowLeft: '\uea9b',
66
+ arrowRight: '\uea9c',
67
+ arrowSmallDown: '\uea9d',
68
+ arrowSmallLeft: '\uea9e',
69
+ arrowSmallRight: '\uea9f',
70
+ arrowSmallUp: '\ueaa0',
71
+ arrowUp: '\ueaa1',
72
+ bell: '\ueaa2',
73
+ bold: '\ueaa3',
74
+ book: '\ueaa4',
75
+ bookmark: '\ueaa5',
76
+ debugBreakpointConditionalUnverified: '\ueaa6',
77
+ debugBreakpointConditional: '\ueaa7',
78
+ debugBreakpointDataUnverified: '\ueaa8',
79
+ debugBreakpointData: '\ueaa9',
80
+ debugBreakpointLogUnverified: '\ueaaa',
81
+ debugBreakpointLog: '\ueaab',
82
+ briefcase: '\ueaac',
83
+ broadcast: '\ueaad',
84
+ browser: '\ueaae',
85
+ bug: '\ueaaf',
86
+ calendar: '\ueab0',
87
+ caseSensitive: '\ueab1',
88
+ check: '\ueab2',
89
+ checklist: '\ueab3',
90
+ chevronDown: '\ueab4',
91
+ chevronLeft: '\ueab5',
92
+ chevronRight: '\ueab6',
93
+ chevronUp: '\ueab7',
94
+ chromeClose: '\ueab8',
95
+ chromeMaximize: '\ueab9',
96
+ chromeMinimize: '\ueaba',
97
+ chromeRestore: '\ueabb',
98
+ circle: '\ueabc',
99
+ circleSlash: '\ueabd',
100
+ circuitBoard: '\ueabe',
101
+ clearAll: '\ueabf',
102
+ clippy: '\ueac0',
103
+ closeAll: '\ueac1',
104
+ cloudDownload: '\ueac2',
105
+ cloudUpload: '\ueac3',
106
+ code: '\ueac4',
107
+ collapseAll: '\ueac5',
108
+ colorMode: '\ueac6',
109
+ commentDiscussion: '\ueac7',
110
+ creditCard: '\ueac9',
111
+ dash: '\ueacc',
112
+ dashboard: '\ueacd',
113
+ database: '\ueace',
114
+ debugContinue: '\ueacf',
115
+ debugDisconnect: '\uead0',
116
+ debugPause: '\uead1',
117
+ debugRestart: '\uead2',
118
+ debugStart: '\uead3',
119
+ debugStepInto: '\uead4',
120
+ debugStepOut: '\uead5',
121
+ debugStepOver: '\uead6',
122
+ debugStop: '\uead7',
123
+ debug: '\uead8',
124
+ deviceCameraVideo: '\uead9',
125
+ deviceCamera: '\ueada',
126
+ deviceMobile: '\ueadb',
127
+ diffAdded: '\ueadc',
128
+ diffIgnored: '\ueadd',
129
+ diffModified: '\ueade',
130
+ diffRemoved: '\ueadf',
131
+ diffRenamed: '\ueae0',
132
+ diff: '\ueae1',
133
+ discard: '\ueae2',
134
+ editorLayout: '\ueae3',
135
+ emptyWindow: '\ueae4',
136
+ exclude: '\ueae5',
137
+ extensions: '\ueae6',
138
+ eyeClosed: '\ueae7',
139
+ fileBinary: '\ueae8',
140
+ fileCode: '\ueae9',
141
+ fileMedia: '\ueaea',
142
+ filePdf: '\ueaeb',
143
+ fileSubmodule: '\ueaec',
144
+ fileSymlinkDirectory: '\ueaed',
145
+ fileSymlinkFile: '\ueaee',
146
+ fileZip: '\ueaef',
147
+ files: '\ueaf0',
148
+ filter: '\ueaf1',
149
+ flame: '\ueaf2',
150
+ foldDown: '\ueaf3',
151
+ foldUp: '\ueaf4',
152
+ fold: '\ueaf5',
153
+ folderActive: '\ueaf6',
154
+ folderOpened: '\ueaf7',
155
+ gear: '\ueaf8',
156
+ gift: '\ueaf9',
157
+ gistSecret: '\ueafa',
158
+ gist: '\ueafb',
159
+ gitCommit: '\ueafc',
160
+ compareChanges: '\ueafd',
161
+ gitMerge: '\ueafe',
162
+ githubAction: '\ueaff',
163
+ githubAlt: '\ueb00',
164
+ globe: '\ueb01',
165
+ grabber: '\ueb02',
166
+ graph: '\ueb03',
167
+ gripper: '\ueb04',
168
+ heart: '\ueb05',
169
+ home: '\ueb06',
170
+ horizontalRule: '\ueb07',
171
+ hubot: '\ueb08',
172
+ inbox: '\ueb09',
173
+ issueReopened: '\ueb0b',
174
+ issues: '\ueb0c',
175
+ italic: '\ueb0d',
176
+ jersey: '\ueb0e',
177
+ bracket: '\ueb0f',
178
+ kebabVertical: '\ueb10',
179
+ key: '\ueb11',
180
+ law: '\ueb12',
181
+ lightbulbAutofix: '\ueb13',
182
+ linkExternal: '\ueb14',
183
+ link: '\ueb15',
184
+ listOrdered: '\ueb16',
185
+ listUnordered: '\ueb17',
186
+ liveShare: '\ueb18',
187
+ loading: '\ueb19',
188
+ location: '\ueb1a',
189
+ mailRead: '\ueb1b',
190
+ mail: '\ueb1c',
191
+ markdown: '\ueb1d',
192
+ megaphone: '\ueb1e',
193
+ mention: '\ueb1f',
194
+ milestone: '\ueb20',
195
+ mortarBoard: '\ueb21',
196
+ move: '\ueb22',
197
+ multipleWindows: '\ueb23',
198
+ mute: '\ueb24',
199
+ noNewline: '\ueb25',
200
+ note: '\ueb26',
201
+ octoface: '\ueb27',
202
+ openPreview: '\ueb28',
203
+ package: '\ueb29',
204
+ paintcan: '\ueb2a',
205
+ pin: '\ueb2b',
206
+ play: '\ueb2c',
207
+ plug: '\ueb2d',
208
+ preserveCase: '\ueb2e',
209
+ preview: '\ueb2f',
210
+ project: '\ueb30',
211
+ pulse: '\ueb31',
212
+ question: '\ueb32',
213
+ quote: '\ueb33',
214
+ radioTower: '\ueb34',
215
+ reactions: '\ueb35',
216
+ references: '\ueb36',
217
+ refresh: '\ueb37',
218
+ regex: '\ueb38',
219
+ remoteExplorer: '\ueb39',
220
+ remote: '\ueb3a',
221
+ remove: '\ueb3b',
222
+ replaceAll: '\ueb3c',
223
+ replace: '\ueb3d',
224
+ repoClone: '\ueb3e',
225
+ repoForcePush: '\ueb3f',
226
+ repoPull: '\ueb40',
227
+ repoPush: '\ueb41',
228
+ report: '\ueb42',
229
+ requestChanges: '\ueb43',
230
+ rocket: '\ueb44',
231
+ rootFolderOpened: '\ueb45',
232
+ rootFolder: '\ueb46',
233
+ rss: '\ueb47',
234
+ ruby: '\ueb48',
235
+ saveAll: '\ueb49',
236
+ saveAs: '\ueb4a',
237
+ save: '\ueb4b',
238
+ screenFull: '\ueb4c',
239
+ screenNormal: '\ueb4d',
240
+ searchStop: '\ueb4e',
241
+ server: '\ueb50',
242
+ settingsGear: '\ueb51',
243
+ settings: '\ueb52',
244
+ shield: '\ueb53',
245
+ smiley: '\ueb54',
246
+ sortPrecedence: '\ueb55',
247
+ splitHorizontal: '\ueb56',
248
+ splitVertical: '\ueb57',
249
+ squirrel: '\ueb58',
250
+ starFull: '\ueb59',
251
+ starHalf: '\ueb5a',
252
+ symbolClass: '\ueb5b',
253
+ symbolColor: '\ueb5c',
254
+ symbolConstant: '\ueb5d',
255
+ symbolEnumMember: '\ueb5e',
256
+ symbolField: '\ueb5f',
257
+ symbolFile: '\ueb60',
258
+ symbolInterface: '\ueb61',
259
+ symbolKeyword: '\ueb62',
260
+ symbolMisc: '\ueb63',
261
+ symbolOperator: '\ueb64',
262
+ symbolProperty: '\ueb65',
263
+ symbolSnippet: '\ueb66',
264
+ tasklist: '\ueb67',
265
+ telescope: '\ueb68',
266
+ textSize: '\ueb69',
267
+ threeBars: '\ueb6a',
268
+ thumbsdown: '\ueb6b',
269
+ thumbsup: '\ueb6c',
270
+ tools: '\ueb6d',
271
+ triangleDown: '\ueb6e',
272
+ triangleLeft: '\ueb6f',
273
+ triangleRight: '\ueb70',
274
+ triangleUp: '\ueb71',
275
+ twitter: '\ueb72',
276
+ unfold: '\ueb73',
277
+ unlock: '\ueb74',
278
+ unmute: '\ueb75',
279
+ unverified: '\ueb76',
280
+ verified: '\ueb77',
281
+ versions: '\ueb78',
282
+ vmActive: '\ueb79',
283
+ vmOutline: '\ueb7a',
284
+ vmRunning: '\ueb7b',
285
+ watch: '\ueb7c',
286
+ whitespace: '\ueb7d',
287
+ wholeWord: '\ueb7e',
288
+ window: '\ueb7f',
289
+ wordWrap: '\ueb80',
290
+ zoomIn: '\ueb81',
291
+ zoomOut: '\ueb82',
292
+ listFilter: '\ueb83',
293
+ listFlat: '\ueb84',
294
+ listSelection: '\ueb85',
295
+ listTree: '\ueb86',
296
+ debugBreakpointFunctionUnverified: '\ueb87',
297
+ debugBreakpointFunction: '\ueb88',
298
+ debugStackframeActive: '\ueb89',
299
+ circleSmallFilled: '\ueb8a',
300
+ debugStackframe: '\ueb8b',
301
+ debugBreakpointUnsupported: '\ueb8c',
302
+ symbolString: '\ueb8d',
303
+ debugReverseContinue: '\ueb8e',
304
+ debugStepBack: '\ueb8f',
305
+ debugRestartFrame: '\ueb90',
306
+ debugAlt: '\ueb91',
307
+ callIncoming: '\ueb92',
308
+ callOutgoing: '\ueb93',
309
+ menu: '\ueb94',
310
+ expandAll: '\ueb95',
311
+ feedback: '\ueb96',
312
+ groupByRefType: '\ueb97',
313
+ ungroupByRefType: '\ueb98',
314
+ account: '\ueb99',
315
+ bellDot: '\ueb9a',
316
+ debugConsole: '\ueb9b',
317
+ library: '\ueb9c',
318
+ output: '\ueb9d',
319
+ runAll: '\ueb9e',
320
+ syncIgnored: '\ueb9f',
321
+ pinned: '\ueba0',
322
+ githubInverted: '\ueba1',
323
+ serverProcess: '\ueba2',
324
+ serverEnvironment: '\ueba3',
325
+ pass: '\ueba4',
326
+ stopCircle: '\ueba5',
327
+ playCircle: '\ueba6',
328
+ record: '\ueba7',
329
+ debugAltSmall: '\ueba8',
330
+ vmConnect: '\ueba9',
331
+ cloud: '\uebaa',
332
+ merge: '\uebab',
333
+ export: '\uebac',
334
+ graphLeft: '\uebad',
335
+ magnet: '\uebae',
336
+ notebook: '\uebaf',
337
+ redo: '\uebb0',
338
+ checkAll: '\uebb1',
339
+ pinnedDirty: '\uebb2',
340
+ passFilled: '\uebb3',
341
+ circleLargeFilled: '\uebb4',
342
+ circleLarge: '\uebb5',
343
+ combine: '\uebb6',
344
+ table: '\uebb7',
345
+ variableGroup: '\uebb8',
346
+ typeHierarchy: '\uebb9',
347
+ typeHierarchySub: '\uebba',
348
+ typeHierarchySuper: '\uebbb',
349
+ gitPullRequestCreate: '\uebbc',
350
+ runAbove: '\uebbd',
351
+ runBelow: '\uebbe',
352
+ notebookTemplate: '\uebbf',
353
+ debugRerun: '\uebc0',
354
+ workspaceTrusted: '\uebc1',
355
+ workspaceUntrusted: '\uebc2',
356
+ workspaceUnknown: '\uebc3',
357
+ terminalCmd: '\uebc4',
358
+ terminalDebian: '\uebc5',
359
+ terminalLinux: '\uebc6',
360
+ terminalPowershell: '\uebc7',
361
+ terminalTmux: '\uebc8',
362
+ terminalUbuntu: '\uebc9',
363
+ terminalBash: '\uebca',
364
+ arrowSwap: '\uebcb',
365
+ copy: '\uebcc',
366
+ personAdd: '\uebcd',
367
+ filterFilled: '\uebce',
368
+ wand: '\uebcf',
369
+ debugLineByLine: '\uebd0',
370
+ inspect: '\uebd1',
371
+ layers: '\uebd2',
372
+ layersDot: '\uebd3',
373
+ layersActive: '\uebd4',
374
+ compass: '\uebd5',
375
+ compassDot: '\uebd6',
376
+ compassActive: '\uebd7',
377
+ azure: '\uebd8',
378
+ issueDraft: '\uebd9',
379
+ gitPullRequestClosed: '\uebda',
380
+ gitPullRequestDraft: '\uebdb',
381
+ debugAll: '\uebdc',
382
+ debugCoverage: '\uebdd',
383
+ runErrors: '\uebde',
384
+ folderLibrary: '\uebdf',
385
+ debugContinueSmall: '\uebe0',
386
+ beakerStop: '\uebe1',
387
+ graphLine: '\uebe2',
388
+ graphScatter: '\uebe3',
389
+ pieChart: '\uebe4',
390
+ bracketDot: '\uebe5',
391
+ bracketError: '\uebe6',
392
+ lockSmall: '\uebe7',
393
+ azureDevops: '\uebe8',
394
+ verifiedFilled: '\uebe9',
395
+ newline: '\uebea',
396
+ layout: '\uebeb',
397
+ layoutActivitybarLeft: '\uebec',
398
+ layoutActivitybarRight: '\uebed',
399
+ layoutPanelLeft: '\uebee',
400
+ layoutPanelCenter: '\uebef',
401
+ layoutPanelJustify: '\uebf0',
402
+ layoutPanelRight: '\uebf1',
403
+ layoutPanel: '\uebf2',
404
+ layoutSidebarLeft: '\uebf3',
405
+ layoutSidebarRight: '\uebf4',
406
+ layoutStatusbar: '\uebf5',
407
+ layoutMenubar: '\uebf6',
408
+ layoutCentered: '\uebf7',
409
+ target: '\uebf8',
410
+ indent: '\uebf9',
411
+ recordSmall: '\uebfa',
412
+ errorSmall: '\uebfb',
413
+ arrowCircleDown: '\uebfc',
414
+ arrowCircleLeft: '\uebfd',
415
+ arrowCircleRight: '\uebfe',
416
+ arrowCircleUp: '\uebff',
417
+ layoutSidebarRightOff: '\uec00',
418
+ layoutPanelOff: '\uec01',
419
+ layoutSidebarLeftOff: '\uec02',
420
+ blank: '\uec03',
421
+ heartFilled: '\uec04',
422
+ foldHorizontal: '\uec05',
423
+ foldHorizontalFilled: '\uec06',
424
+ circleSmall: '\uec07',
425
+ bellSlash: '\uec08',
426
+ bellSlashDot: '\uec09',
427
+ commentUnresolved: '\uec0a',
428
+ gitPullRequestGoToChanges: '\uec0b',
429
+ gitPullRequestNewChanges: '\uec0c',
430
+ searchFuzzy: '\uec0d',
431
+ commentDraft: '\uec0e',
432
+ send: '\uec0f',
433
+ sparkle: '\uec10',
434
+ insert: '\uec11',
435
+ mic: '\uec12',
436
+ thumbsdownFilled: '\uec13',
437
+ thumbsupFilled: '\uec14',
438
+ coffee: '\uec15',
439
+ snake: '\uec16',
440
+ game: '\uec17',
441
+ vr: '\uec18',
442
+ chip: '\uec19',
443
+ piano: '\uec1a',
444
+ music: '\uec1b',
445
+ micFilled: '\uec1c',
446
+ repoFetch: '\uec1d',
447
+ copilot: '\uec1e',
448
+ lightbulbSparkle: '\uec1f',
449
+ robot: '\uec20',
450
+ sparkleFilled: '\uec21',
451
+ diffSingle: '\uec22',
452
+ diffMultiple: '\uec23',
453
+ surroundWith: '\uec24',
454
+ share: '\uec25',
455
+ gitStash: '\uec26',
456
+ gitStashApply: '\uec27',
457
+ gitStashPop: '\uec28',
458
+ vscode: '\uec29',
459
+ vscodeInsiders: '\uec2a',
460
+ codeOss: '\uec2b',
461
+ runCoverage: '\uec2c',
462
+ runAllCoverage: '\uec2d',
463
+ coverage: '\uec2e',
464
+ githubProject: '\uec2f',
465
+ foldVertical: '\uec30',
466
+ foldVerticalFilled: '\uec31',
467
+ goToSearch: '\uec32',
468
+ percentage: '\uec33',
469
+ attach: '\uec34',
470
+ };
471
+ function currentlyLight() {
472
+ return vscode_1.window.activeColorTheme.kind === vscode_1.ColorThemeKind.Light || vscode_1.window.activeColorTheme.kind === vscode_1.ColorThemeKind.HighContrastLight;
473
+ }
474
+ function iconAttribute(icon) {
475
+ return typeof icon === 'string' ? exports.codicons[icon] : icon.toString();
476
+ }
477
+ function getColor(col) {
478
+ const id = col instanceof vscode_1.ThemeColor ? col.id : col;
479
+ return `var(--vscode-${id.replace('.', '-')})`;
480
+ }
481
+ function iconAttributes(icon) {
482
+ if (icon) {
483
+ if (typeof icon === 'string' || icon instanceof vscode_1.Uri)
484
+ return { icon: iconAttribute(icon) };
485
+ if (icon instanceof vscode_1.ThemeIcon)
486
+ return icon.color ? { icon: exports.codicons[icon.id], color: getColor(icon.color) } : { icon: exports.codicons[icon.id] };
487
+ return { icon: iconAttribute(currentlyLight() ? icon.light : icon.dark) };
488
+ }
489
+ }
490
+ //# sourceMappingURL=codicon.js.map