@teambit/command-bar 1.0.309 → 1.0.311
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/artifacts/__bit_junit.xml +1 -1
- package/artifacts/preview/teambit_explorer_command_bar-preview.js +1 -1
- package/artifacts/schema.json +255 -195
- package/command-bar.button.module.scss +10 -0
- package/command-bar.button.tsx +10 -0
- package/command-bar.ui.runtime.tsx +3 -0
- package/dist/command-bar.button.d.ts +4 -0
- package/dist/command-bar.button.js +32 -0
- package/dist/command-bar.button.js.map +1 -0
- package/dist/command-bar.button.module.scss +10 -0
- package/dist/command-bar.ui.runtime.d.ts +1 -0
- package/dist/command-bar.ui.runtime.js +10 -0
- package/dist/command-bar.ui.runtime.js.map +1 -1
- package/dist/{preview-1718767379753.js → preview-1719137078208.js} +2 -2
- package/package.json +7 -6
package/artifacts/schema.json
CHANGED
|
@@ -147,7 +147,8 @@
|
|
|
147
147
|
"character": 3
|
|
148
148
|
},
|
|
149
149
|
"raw": "/** provide completions for this search term */",
|
|
150
|
-
"comment": "provide completions for this search term"
|
|
150
|
+
"comment": "provide completions for this search term",
|
|
151
|
+
"tags": []
|
|
151
152
|
},
|
|
152
153
|
"signature": "(property) SearchProvider.search: Searcher",
|
|
153
154
|
"name": "search",
|
|
@@ -177,7 +178,8 @@
|
|
|
177
178
|
"character": 3
|
|
178
179
|
},
|
|
179
180
|
"raw": "/** determines what terms are handled by this searcher. */",
|
|
180
|
-
"comment": "determines what terms are handled by this searcher."
|
|
181
|
+
"comment": "determines what terms are handled by this searcher.",
|
|
182
|
+
"tags": []
|
|
181
183
|
},
|
|
182
184
|
"signature": "(method) SearchProvider.test(term: string): boolean",
|
|
183
185
|
"name": "test",
|
|
@@ -230,18 +232,19 @@
|
|
|
230
232
|
"__schema": "ClassSchema",
|
|
231
233
|
"location": {
|
|
232
234
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
233
|
-
"line":
|
|
235
|
+
"line": 37,
|
|
234
236
|
"character": 1
|
|
235
237
|
},
|
|
236
238
|
"doc": {
|
|
237
239
|
"__schema": "DocSchema",
|
|
238
240
|
"location": {
|
|
239
241
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
240
|
-
"line":
|
|
242
|
+
"line": 36,
|
|
241
243
|
"character": 1
|
|
242
244
|
},
|
|
243
245
|
"raw": "/** Quick launch actions. Use the `addSearcher` slot to extend the available actions */",
|
|
244
|
-
"comment": "Quick launch actions. Use the `addSearcher` slot to extend the available actions"
|
|
246
|
+
"comment": "Quick launch actions. Use the `addSearcher` slot to extend the available actions",
|
|
247
|
+
"tags": []
|
|
245
248
|
},
|
|
246
249
|
"signature": "class CommandBarUI",
|
|
247
250
|
"name": "CommandBarUI",
|
|
@@ -250,18 +253,19 @@
|
|
|
250
253
|
"__schema": "VariableLikeSchema",
|
|
251
254
|
"location": {
|
|
252
255
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
253
|
-
"line":
|
|
256
|
+
"line": 42,
|
|
254
257
|
"character": 3
|
|
255
258
|
},
|
|
256
259
|
"doc": {
|
|
257
260
|
"__schema": "DocSchema",
|
|
258
261
|
"location": {
|
|
259
262
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
260
|
-
"line":
|
|
263
|
+
"line": 41,
|
|
261
264
|
"character": 3
|
|
262
265
|
},
|
|
263
266
|
"raw": "/** Opens the command bar */",
|
|
264
|
-
"comment": "Opens the command bar"
|
|
267
|
+
"comment": "Opens the command bar",
|
|
268
|
+
"tags": []
|
|
265
269
|
},
|
|
266
270
|
"signature": "(property) CommandBarUI.open: () => boolean",
|
|
267
271
|
"name": "open",
|
|
@@ -269,7 +273,7 @@
|
|
|
269
273
|
"__schema": "InferenceTypeSchema",
|
|
270
274
|
"location": {
|
|
271
275
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
272
|
-
"line":
|
|
276
|
+
"line": 42,
|
|
273
277
|
"character": 3
|
|
274
278
|
},
|
|
275
279
|
"type": "() => boolean"
|
|
@@ -281,18 +285,19 @@
|
|
|
281
285
|
"__schema": "VariableLikeSchema",
|
|
282
286
|
"location": {
|
|
283
287
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
284
|
-
"line":
|
|
288
|
+
"line": 48,
|
|
285
289
|
"character": 3
|
|
286
290
|
},
|
|
287
291
|
"doc": {
|
|
288
292
|
"__schema": "DocSchema",
|
|
289
293
|
"location": {
|
|
290
294
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
291
|
-
"line":
|
|
295
|
+
"line": 47,
|
|
292
296
|
"character": 3
|
|
293
297
|
},
|
|
294
298
|
"raw": "/** Closes the command bar */",
|
|
295
|
-
"comment": "Closes the command bar"
|
|
299
|
+
"comment": "Closes the command bar",
|
|
300
|
+
"tags": []
|
|
296
301
|
},
|
|
297
302
|
"signature": "(property) CommandBarUI.close: () => void",
|
|
298
303
|
"name": "close",
|
|
@@ -300,7 +305,7 @@
|
|
|
300
305
|
"__schema": "InferenceTypeSchema",
|
|
301
306
|
"location": {
|
|
302
307
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
303
|
-
"line":
|
|
308
|
+
"line": 48,
|
|
304
309
|
"character": 3
|
|
305
310
|
},
|
|
306
311
|
"type": "() => void"
|
|
@@ -312,18 +317,19 @@
|
|
|
312
317
|
"__schema": "FunctionLikeSchema",
|
|
313
318
|
"location": {
|
|
314
319
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
315
|
-
"line":
|
|
320
|
+
"line": 53,
|
|
316
321
|
"character": 3
|
|
317
322
|
},
|
|
318
323
|
"doc": {
|
|
319
324
|
"__schema": "DocSchema",
|
|
320
325
|
"location": {
|
|
321
326
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
322
|
-
"line":
|
|
327
|
+
"line": 52,
|
|
323
328
|
"character": 3
|
|
324
329
|
},
|
|
325
330
|
"raw": "/** Add and autocomplete provider. To support keyboard navigation, each result should have a props `active: boolean`, and `exectue: () => any` */",
|
|
326
|
-
"comment": "Add and autocomplete provider. To support keyboard navigation, each result should have a props `active: boolean`, and `exectue: () => any`"
|
|
331
|
+
"comment": "Add and autocomplete provider. To support keyboard navigation, each result should have a props `active: boolean`, and `exectue: () => any`",
|
|
332
|
+
"tags": []
|
|
327
333
|
},
|
|
328
334
|
"signature": "(method) CommandBarUI.addSearcher(...commandSearcher: SearchProvider[]): this",
|
|
329
335
|
"name": "addSearcher",
|
|
@@ -332,7 +338,7 @@
|
|
|
332
338
|
"__schema": "ParameterSchema",
|
|
333
339
|
"location": {
|
|
334
340
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
335
|
-
"line":
|
|
341
|
+
"line": 53,
|
|
336
342
|
"character": 15
|
|
337
343
|
},
|
|
338
344
|
"name": "commandSearcher",
|
|
@@ -340,14 +346,14 @@
|
|
|
340
346
|
"__schema": "TypeArraySchema",
|
|
341
347
|
"location": {
|
|
342
348
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
343
|
-
"line":
|
|
349
|
+
"line": 53,
|
|
344
350
|
"character": 35
|
|
345
351
|
},
|
|
346
352
|
"type": {
|
|
347
353
|
"__schema": "TypeRefSchema",
|
|
348
354
|
"location": {
|
|
349
355
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
350
|
-
"line":
|
|
356
|
+
"line": 53,
|
|
351
357
|
"character": 35
|
|
352
358
|
},
|
|
353
359
|
"name": "SearchProvider"
|
|
@@ -361,7 +367,7 @@
|
|
|
361
367
|
"__schema": "TypeRefSchema",
|
|
362
368
|
"location": {
|
|
363
369
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
364
|
-
"line":
|
|
370
|
+
"line": 53,
|
|
365
371
|
"character": 3
|
|
366
372
|
},
|
|
367
373
|
"name": "CommandBarUI"
|
|
@@ -372,18 +378,19 @@
|
|
|
372
378
|
"__schema": "FunctionLikeSchema",
|
|
373
379
|
"location": {
|
|
374
380
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
375
|
-
"line":
|
|
381
|
+
"line": 61,
|
|
376
382
|
"character": 3
|
|
377
383
|
},
|
|
378
384
|
"doc": {
|
|
379
385
|
"__schema": "DocSchema",
|
|
380
386
|
"location": {
|
|
381
387
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
382
|
-
"line":
|
|
388
|
+
"line": 58,
|
|
383
389
|
"character": 3
|
|
384
390
|
},
|
|
385
391
|
"raw": "/**\n * registers a command\n */",
|
|
386
|
-
"comment": "registers a command"
|
|
392
|
+
"comment": "registers a command",
|
|
393
|
+
"tags": []
|
|
387
394
|
},
|
|
388
395
|
"signature": "(method) CommandBarUI.addCommand(...originalCommands: CommandEntry[]): ((next: CommandHandler) => void)[]",
|
|
389
396
|
"name": "addCommand",
|
|
@@ -392,7 +399,7 @@
|
|
|
392
399
|
"__schema": "ParameterSchema",
|
|
393
400
|
"location": {
|
|
394
401
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
395
|
-
"line":
|
|
402
|
+
"line": 61,
|
|
396
403
|
"character": 14
|
|
397
404
|
},
|
|
398
405
|
"name": "originalCommands",
|
|
@@ -400,14 +407,14 @@
|
|
|
400
407
|
"__schema": "TypeArraySchema",
|
|
401
408
|
"location": {
|
|
402
409
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
403
|
-
"line":
|
|
410
|
+
"line": 61,
|
|
404
411
|
"character": 35
|
|
405
412
|
},
|
|
406
413
|
"type": {
|
|
407
414
|
"__schema": "TypeRefSchema",
|
|
408
415
|
"location": {
|
|
409
416
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
410
|
-
"line":
|
|
417
|
+
"line": 61,
|
|
411
418
|
"character": 35
|
|
412
419
|
},
|
|
413
420
|
"name": "CommandEntry"
|
|
@@ -421,7 +428,7 @@
|
|
|
421
428
|
"__schema": "InferenceTypeSchema",
|
|
422
429
|
"location": {
|
|
423
430
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
424
|
-
"line":
|
|
431
|
+
"line": 61,
|
|
425
432
|
"character": 3
|
|
426
433
|
},
|
|
427
434
|
"type": "((next: CommandHandler) => void)[]"
|
|
@@ -432,14 +439,14 @@
|
|
|
432
439
|
"__schema": "FunctionLikeSchema",
|
|
433
440
|
"location": {
|
|
434
441
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
435
|
-
"line":
|
|
442
|
+
"line": 94,
|
|
436
443
|
"character": 3
|
|
437
444
|
},
|
|
438
445
|
"doc": {
|
|
439
446
|
"__schema": "DocSchema",
|
|
440
447
|
"location": {
|
|
441
448
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
442
|
-
"line":
|
|
449
|
+
"line": 90,
|
|
443
450
|
"character": 3
|
|
444
451
|
},
|
|
445
452
|
"raw": "/**\n * executes command by name, if exists.\n * @param commandId\n */",
|
|
@@ -449,7 +456,7 @@
|
|
|
449
456
|
"__schema": "PropertyLikeTagSchema",
|
|
450
457
|
"location": {
|
|
451
458
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
452
|
-
"line":
|
|
459
|
+
"line": 92,
|
|
453
460
|
"character": 6
|
|
454
461
|
},
|
|
455
462
|
"name": "commandId",
|
|
@@ -464,7 +471,7 @@
|
|
|
464
471
|
"__schema": "ParameterSchema",
|
|
465
472
|
"location": {
|
|
466
473
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
467
|
-
"line":
|
|
474
|
+
"line": 94,
|
|
468
475
|
"character": 7
|
|
469
476
|
},
|
|
470
477
|
"name": "commandId",
|
|
@@ -472,7 +479,7 @@
|
|
|
472
479
|
"__schema": "TypeRefSchema",
|
|
473
480
|
"location": {
|
|
474
481
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
475
|
-
"line":
|
|
482
|
+
"line": 94,
|
|
476
483
|
"character": 18
|
|
477
484
|
},
|
|
478
485
|
"name": "CommandId"
|
|
@@ -485,7 +492,7 @@
|
|
|
485
492
|
"__schema": "InferenceTypeSchema",
|
|
486
493
|
"location": {
|
|
487
494
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
488
|
-
"line":
|
|
495
|
+
"line": 94,
|
|
489
496
|
"character": 3
|
|
490
497
|
},
|
|
491
498
|
"type": "any"
|
|
@@ -496,18 +503,19 @@
|
|
|
496
503
|
"__schema": "VariableLikeSchema",
|
|
497
504
|
"location": {
|
|
498
505
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
499
|
-
"line":
|
|
506
|
+
"line": 104,
|
|
500
507
|
"character": 3
|
|
501
508
|
},
|
|
502
509
|
"doc": {
|
|
503
510
|
"__schema": "DocSchema",
|
|
504
511
|
"location": {
|
|
505
512
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
506
|
-
"line":
|
|
513
|
+
"line": 101,
|
|
507
514
|
"character": 3
|
|
508
515
|
},
|
|
509
516
|
"raw": "/**\n * executes a keyboard shortcut manually\n */",
|
|
510
|
-
"comment": "executes a keyboard shortcut manually"
|
|
517
|
+
"comment": "executes a keyboard shortcut manually",
|
|
518
|
+
"tags": []
|
|
511
519
|
},
|
|
512
520
|
"signature": "(property) CommandBarUI.trigger: (key: string) => void",
|
|
513
521
|
"name": "trigger",
|
|
@@ -515,7 +523,7 @@
|
|
|
515
523
|
"__schema": "InferenceTypeSchema",
|
|
516
524
|
"location": {
|
|
517
525
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
518
|
-
"line":
|
|
526
|
+
"line": 104,
|
|
519
527
|
"character": 3
|
|
520
528
|
},
|
|
521
529
|
"type": "(key: string) => void"
|
|
@@ -527,18 +535,19 @@
|
|
|
527
535
|
"__schema": "VariableLikeSchema",
|
|
528
536
|
"location": {
|
|
529
537
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
530
|
-
"line":
|
|
538
|
+
"line": 136,
|
|
531
539
|
"character": 3
|
|
532
540
|
},
|
|
533
541
|
"doc": {
|
|
534
542
|
"__schema": "DocSchema",
|
|
535
543
|
"location": {
|
|
536
544
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
537
|
-
"line":
|
|
545
|
+
"line": 133,
|
|
538
546
|
"character": 3
|
|
539
547
|
},
|
|
540
548
|
"raw": "/**\n * Opens and closes the command bar UI.\n */",
|
|
541
|
-
"comment": "Opens and closes the command bar UI."
|
|
549
|
+
"comment": "Opens and closes the command bar UI.",
|
|
550
|
+
"tags": []
|
|
542
551
|
},
|
|
543
552
|
"signature": "(property) CommandBarUI.setVisibility?: ((visible: boolean) => void) | undefined",
|
|
544
553
|
"name": "setVisibility",
|
|
@@ -546,7 +555,7 @@
|
|
|
546
555
|
"__schema": "FunctionLikeSchema",
|
|
547
556
|
"location": {
|
|
548
557
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
549
|
-
"line":
|
|
558
|
+
"line": 136,
|
|
550
559
|
"character": 19
|
|
551
560
|
},
|
|
552
561
|
"signature": "(visible: boolean): void",
|
|
@@ -556,7 +565,7 @@
|
|
|
556
565
|
"__schema": "ParameterSchema",
|
|
557
566
|
"location": {
|
|
558
567
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
559
|
-
"line":
|
|
568
|
+
"line": 136,
|
|
560
569
|
"character": 20
|
|
561
570
|
},
|
|
562
571
|
"name": "visible",
|
|
@@ -564,7 +573,7 @@
|
|
|
564
573
|
"__schema": "KeywordTypeSchema",
|
|
565
574
|
"location": {
|
|
566
575
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
567
|
-
"line":
|
|
576
|
+
"line": 136,
|
|
568
577
|
"character": 29
|
|
569
578
|
},
|
|
570
579
|
"name": "boolean"
|
|
@@ -577,7 +586,7 @@
|
|
|
577
586
|
"__schema": "KeywordTypeSchema",
|
|
578
587
|
"location": {
|
|
579
588
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
580
|
-
"line":
|
|
589
|
+
"line": 136,
|
|
581
590
|
"character": 41
|
|
582
591
|
},
|
|
583
592
|
"name": "void"
|
|
@@ -590,18 +599,19 @@
|
|
|
590
599
|
"__schema": "VariableLikeSchema",
|
|
591
600
|
"location": {
|
|
592
601
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
593
|
-
"line":
|
|
602
|
+
"line": 141,
|
|
594
603
|
"character": 3
|
|
595
604
|
},
|
|
596
605
|
"doc": {
|
|
597
606
|
"__schema": "DocSchema",
|
|
598
607
|
"location": {
|
|
599
608
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
600
|
-
"line":
|
|
609
|
+
"line": 138,
|
|
601
610
|
"character": 3
|
|
602
611
|
},
|
|
603
612
|
"raw": "/**\n * generate the ui for command bar\n */",
|
|
604
|
-
"comment": "generate the ui for command bar"
|
|
613
|
+
"comment": "generate the ui for command bar",
|
|
614
|
+
"tags": []
|
|
605
615
|
},
|
|
606
616
|
"signature": "(property) CommandBarUI.CommandBar: ({ ResultComponent, onEnter, }: {\n ResultComponent?: React.ComponentType<ResultsComponentProps> | undefined;\n onEnter?: ((value: string) => void) | undefined;\n}) => React.JSX.Element",
|
|
607
617
|
"name": "CommandBar",
|
|
@@ -609,7 +619,7 @@
|
|
|
609
619
|
"__schema": "InferenceTypeSchema",
|
|
610
620
|
"location": {
|
|
611
621
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
612
|
-
"line":
|
|
622
|
+
"line": 141,
|
|
613
623
|
"character": 3
|
|
614
624
|
},
|
|
615
625
|
"type": "({ ResultComponent, onEnter, }: {\n ResultComponent?: React.ComponentType<ResultsComponentProps> | undefined;\n onEnter?: ((value: string) => void) | undefined;\n}) => React.JSX.Element"
|
|
@@ -617,11 +627,32 @@
|
|
|
617
627
|
"isOptional": true,
|
|
618
628
|
"defaultValue": "({\n ResultComponent,\n onEnter,\n }: {\n ResultComponent?: ComponentType<ResultsComponentProps>;\n onEnter?: (value: string) => void;\n }) => {\n const [visible, setVisibility] = useState(false);\n this.setVisibility = setVisibility;\n\n const results = useSearcher(this.search, {\n debounce: this.config.debounce,\n });\n\n return (\n <CommandBar\n {...results}\n onEnter={onEnter}\n key=\"CommandBarUI\"\n className={styles.commanderUi}\n placeholder=\"Search anything or type > to only search commands\"\n visible={visible}\n ResultsComponent={ResultComponent}\n onVisibilityChange={setVisibility}\n autofocus\n />\n );\n }"
|
|
619
629
|
},
|
|
630
|
+
{
|
|
631
|
+
"__schema": "VariableLikeSchema",
|
|
632
|
+
"location": {
|
|
633
|
+
"filePath": "command-bar.ui.runtime.tsx",
|
|
634
|
+
"line": 170,
|
|
635
|
+
"character": 3
|
|
636
|
+
},
|
|
637
|
+
"signature": "(property) CommandBarUI.CommandBarButton: () => React.JSX.Element",
|
|
638
|
+
"name": "CommandBarButton",
|
|
639
|
+
"type": {
|
|
640
|
+
"__schema": "InferenceTypeSchema",
|
|
641
|
+
"location": {
|
|
642
|
+
"filePath": "command-bar.ui.runtime.tsx",
|
|
643
|
+
"line": 170,
|
|
644
|
+
"character": 3
|
|
645
|
+
},
|
|
646
|
+
"type": "() => React.JSX.Element"
|
|
647
|
+
},
|
|
648
|
+
"isOptional": true,
|
|
649
|
+
"defaultValue": "() => <CommandBarButton onClick={() => this.setVisibility?.(true)} />"
|
|
650
|
+
},
|
|
620
651
|
{
|
|
621
652
|
"__schema": "ConstructorSchema",
|
|
622
653
|
"location": {
|
|
623
654
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
624
|
-
"line":
|
|
655
|
+
"line": 172,
|
|
625
656
|
"character": 3
|
|
626
657
|
},
|
|
627
658
|
"signature": "constructor CommandBarUI(searcherSlot: SearcherSlot, commandSlot: CommandSlot, config: CommandBarConfig): CommandBarUI",
|
|
@@ -631,7 +662,7 @@
|
|
|
631
662
|
"__schema": "ParameterSchema",
|
|
632
663
|
"location": {
|
|
633
664
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
634
|
-
"line":
|
|
665
|
+
"line": 172,
|
|
635
666
|
"character": 15
|
|
636
667
|
},
|
|
637
668
|
"name": "searcherSlot",
|
|
@@ -639,7 +670,7 @@
|
|
|
639
670
|
"__schema": "TypeRefSchema",
|
|
640
671
|
"location": {
|
|
641
672
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
642
|
-
"line":
|
|
673
|
+
"line": 172,
|
|
643
674
|
"character": 37
|
|
644
675
|
},
|
|
645
676
|
"name": "SearcherSlot",
|
|
@@ -652,7 +683,7 @@
|
|
|
652
683
|
"__schema": "ParameterSchema",
|
|
653
684
|
"location": {
|
|
654
685
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
655
|
-
"line":
|
|
686
|
+
"line": 172,
|
|
656
687
|
"character": 51
|
|
657
688
|
},
|
|
658
689
|
"name": "commandSlot",
|
|
@@ -660,7 +691,7 @@
|
|
|
660
691
|
"__schema": "TypeRefSchema",
|
|
661
692
|
"location": {
|
|
662
693
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
663
|
-
"line":
|
|
694
|
+
"line": 172,
|
|
664
695
|
"character": 72
|
|
665
696
|
},
|
|
666
697
|
"name": "CommandSlot",
|
|
@@ -673,7 +704,7 @@
|
|
|
673
704
|
"__schema": "ParameterSchema",
|
|
674
705
|
"location": {
|
|
675
706
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
676
|
-
"line":
|
|
707
|
+
"line": 172,
|
|
677
708
|
"character": 85
|
|
678
709
|
},
|
|
679
710
|
"name": "config",
|
|
@@ -681,7 +712,7 @@
|
|
|
681
712
|
"__schema": "TypeRefSchema",
|
|
682
713
|
"location": {
|
|
683
714
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
684
|
-
"line":
|
|
715
|
+
"line": 172,
|
|
685
716
|
"character": 101
|
|
686
717
|
},
|
|
687
718
|
"name": "CommandBarConfig",
|
|
@@ -695,7 +726,7 @@
|
|
|
695
726
|
"__schema": "ThisTypeSchema",
|
|
696
727
|
"location": {
|
|
697
728
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
698
|
-
"line":
|
|
729
|
+
"line": 37,
|
|
699
730
|
"character": 1
|
|
700
731
|
},
|
|
701
732
|
"name": "CommandBarUI"
|
|
@@ -706,7 +737,7 @@
|
|
|
706
737
|
"__schema": "VariableLikeSchema",
|
|
707
738
|
"location": {
|
|
708
739
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
709
|
-
"line":
|
|
740
|
+
"line": 174,
|
|
710
741
|
"character": 3
|
|
711
742
|
},
|
|
712
743
|
"signature": "(property) CommandBarUI.dependencies: Aspect[]",
|
|
@@ -715,7 +746,7 @@
|
|
|
715
746
|
"__schema": "InferenceTypeSchema",
|
|
716
747
|
"location": {
|
|
717
748
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
718
|
-
"line":
|
|
749
|
+
"line": 174,
|
|
719
750
|
"character": 3
|
|
720
751
|
},
|
|
721
752
|
"type": "Aspect[]"
|
|
@@ -727,7 +758,7 @@
|
|
|
727
758
|
"__schema": "VariableLikeSchema",
|
|
728
759
|
"location": {
|
|
729
760
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
730
|
-
"line":
|
|
761
|
+
"line": 175,
|
|
731
762
|
"character": 3
|
|
732
763
|
},
|
|
733
764
|
"signature": "(property) CommandBarUI.slots: (((registerFn: () => string) => SlotRegistry<SearchProvider>) | ((registerFn: () => string) => SlotRegistry<CommandEntry[]>))[]",
|
|
@@ -736,7 +767,7 @@
|
|
|
736
767
|
"__schema": "InferenceTypeSchema",
|
|
737
768
|
"location": {
|
|
738
769
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
739
|
-
"line":
|
|
770
|
+
"line": 175,
|
|
740
771
|
"character": 3
|
|
741
772
|
},
|
|
742
773
|
"type": "(((registerFn: () => string) => SlotRegistry<SearchProvider>) | ((registerFn: () => string) => SlotRegistry<CommandEntry[]>))[]"
|
|
@@ -748,7 +779,7 @@
|
|
|
748
779
|
"__schema": "VariableLikeSchema",
|
|
749
780
|
"location": {
|
|
750
781
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
751
|
-
"line":
|
|
782
|
+
"line": 176,
|
|
752
783
|
"character": 3
|
|
753
784
|
},
|
|
754
785
|
"signature": "(property) CommandBarUI.defaultConfig: CommandBarConfig",
|
|
@@ -757,7 +788,7 @@
|
|
|
757
788
|
"__schema": "TypeRefSchema",
|
|
758
789
|
"location": {
|
|
759
790
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
760
|
-
"line":
|
|
791
|
+
"line": 176,
|
|
761
792
|
"character": 3
|
|
762
793
|
},
|
|
763
794
|
"name": "CommandBarConfig",
|
|
@@ -770,7 +801,7 @@
|
|
|
770
801
|
"__schema": "VariableLikeSchema",
|
|
771
802
|
"location": {
|
|
772
803
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
773
|
-
"line":
|
|
804
|
+
"line": 180,
|
|
774
805
|
"character": 3
|
|
775
806
|
},
|
|
776
807
|
"signature": "(property) CommandBarUI.runtime: RuntimeDefinition",
|
|
@@ -779,7 +810,7 @@
|
|
|
779
810
|
"__schema": "InferenceTypeSchema",
|
|
780
811
|
"location": {
|
|
781
812
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
782
|
-
"line":
|
|
813
|
+
"line": 180,
|
|
783
814
|
"character": 3
|
|
784
815
|
},
|
|
785
816
|
"type": "RuntimeDefinition"
|
|
@@ -791,7 +822,7 @@
|
|
|
791
822
|
"__schema": "FunctionLikeSchema",
|
|
792
823
|
"location": {
|
|
793
824
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
794
|
-
"line":
|
|
825
|
+
"line": 182,
|
|
795
826
|
"character": 3
|
|
796
827
|
},
|
|
797
828
|
"signature": "(method) CommandBarUI.provider([uiUi, pubsubUI]: [UiUI | undefined, PubsubUI | undefined], config: CommandBarConfig, [searcherSlot, commandSlots]: [SearcherSlot, CommandSlot]): Promise<CommandBarUI>",
|
|
@@ -801,7 +832,7 @@
|
|
|
801
832
|
"__schema": "ParameterSchema",
|
|
802
833
|
"location": {
|
|
803
834
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
804
|
-
"line":
|
|
835
|
+
"line": 183,
|
|
805
836
|
"character": 5
|
|
806
837
|
},
|
|
807
838
|
"name": "[ uiUi, pubsubUI ]",
|
|
@@ -809,7 +840,7 @@
|
|
|
809
840
|
"__schema": "TupleTypeSchema",
|
|
810
841
|
"location": {
|
|
811
842
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
812
|
-
"line":
|
|
843
|
+
"line": 183,
|
|
813
844
|
"character": 23
|
|
814
845
|
},
|
|
815
846
|
"elements": [
|
|
@@ -817,7 +848,7 @@
|
|
|
817
848
|
"__schema": "TypeUnionSchema",
|
|
818
849
|
"location": {
|
|
819
850
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
820
|
-
"line":
|
|
851
|
+
"line": 183,
|
|
821
852
|
"character": 24
|
|
822
853
|
},
|
|
823
854
|
"types": [
|
|
@@ -825,7 +856,7 @@
|
|
|
825
856
|
"__schema": "TypeRefSchema",
|
|
826
857
|
"location": {
|
|
827
858
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
828
|
-
"line":
|
|
859
|
+
"line": 183,
|
|
829
860
|
"character": 24
|
|
830
861
|
},
|
|
831
862
|
"name": "UiUI",
|
|
@@ -838,7 +869,7 @@
|
|
|
838
869
|
"__schema": "KeywordTypeSchema",
|
|
839
870
|
"location": {
|
|
840
871
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
841
|
-
"line":
|
|
872
|
+
"line": 183,
|
|
842
873
|
"character": 31
|
|
843
874
|
},
|
|
844
875
|
"name": "undefined"
|
|
@@ -849,7 +880,7 @@
|
|
|
849
880
|
"__schema": "TypeUnionSchema",
|
|
850
881
|
"location": {
|
|
851
882
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
852
|
-
"line":
|
|
883
|
+
"line": 183,
|
|
853
884
|
"character": 42
|
|
854
885
|
},
|
|
855
886
|
"types": [
|
|
@@ -857,7 +888,7 @@
|
|
|
857
888
|
"__schema": "TypeRefSchema",
|
|
858
889
|
"location": {
|
|
859
890
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
860
|
-
"line":
|
|
891
|
+
"line": 183,
|
|
861
892
|
"character": 42
|
|
862
893
|
},
|
|
863
894
|
"name": "PubsubUI",
|
|
@@ -870,7 +901,7 @@
|
|
|
870
901
|
"__schema": "KeywordTypeSchema",
|
|
871
902
|
"location": {
|
|
872
903
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
873
|
-
"line":
|
|
904
|
+
"line": 183,
|
|
874
905
|
"character": 53
|
|
875
906
|
},
|
|
876
907
|
"name": "undefined"
|
|
@@ -886,7 +917,7 @@
|
|
|
886
917
|
"__schema": "ParameterSchema",
|
|
887
918
|
"location": {
|
|
888
919
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
889
|
-
"line":
|
|
920
|
+
"line": 184,
|
|
890
921
|
"character": 5
|
|
891
922
|
},
|
|
892
923
|
"name": "config",
|
|
@@ -894,7 +925,7 @@
|
|
|
894
925
|
"__schema": "TypeRefSchema",
|
|
895
926
|
"location": {
|
|
896
927
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
897
|
-
"line":
|
|
928
|
+
"line": 184,
|
|
898
929
|
"character": 13
|
|
899
930
|
},
|
|
900
931
|
"name": "CommandBarConfig",
|
|
@@ -907,7 +938,7 @@
|
|
|
907
938
|
"__schema": "ParameterSchema",
|
|
908
939
|
"location": {
|
|
909
940
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
910
|
-
"line":
|
|
941
|
+
"line": 185,
|
|
911
942
|
"character": 5
|
|
912
943
|
},
|
|
913
944
|
"name": "[ searcherSlot, commandSlots ]",
|
|
@@ -915,7 +946,7 @@
|
|
|
915
946
|
"__schema": "TupleTypeSchema",
|
|
916
947
|
"location": {
|
|
917
948
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
918
|
-
"line":
|
|
949
|
+
"line": 185,
|
|
919
950
|
"character": 35
|
|
920
951
|
},
|
|
921
952
|
"elements": [
|
|
@@ -923,7 +954,7 @@
|
|
|
923
954
|
"__schema": "TypeRefSchema",
|
|
924
955
|
"location": {
|
|
925
956
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
926
|
-
"line":
|
|
957
|
+
"line": 185,
|
|
927
958
|
"character": 36
|
|
928
959
|
},
|
|
929
960
|
"name": "SearcherSlot",
|
|
@@ -933,7 +964,7 @@
|
|
|
933
964
|
"__schema": "TypeRefSchema",
|
|
934
965
|
"location": {
|
|
935
966
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
936
|
-
"line":
|
|
967
|
+
"line": 185,
|
|
937
968
|
"character": 50
|
|
938
969
|
},
|
|
939
970
|
"name": "CommandSlot",
|
|
@@ -949,7 +980,7 @@
|
|
|
949
980
|
"__schema": "InferenceTypeSchema",
|
|
950
981
|
"location": {
|
|
951
982
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
952
|
-
"line":
|
|
983
|
+
"line": 182,
|
|
953
984
|
"character": 3
|
|
954
985
|
},
|
|
955
986
|
"type": "Promise<CommandBarUI>"
|
|
@@ -976,7 +1007,7 @@
|
|
|
976
1007
|
"__schema": "TypeSchema",
|
|
977
1008
|
"location": {
|
|
978
1009
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
979
|
-
"line":
|
|
1010
|
+
"line": 29,
|
|
980
1011
|
"character": 1
|
|
981
1012
|
},
|
|
982
1013
|
"signature": "type CommandEntry = {\n id: CommandId;\n action: CommandHandler;\n keybinding?: Keybinding | undefined;\n displayName: string;\n}",
|
|
@@ -985,7 +1016,7 @@
|
|
|
985
1016
|
"__schema": "TypeLiteralSchema",
|
|
986
1017
|
"location": {
|
|
987
1018
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
988
|
-
"line":
|
|
1019
|
+
"line": 29,
|
|
989
1020
|
"character": 28
|
|
990
1021
|
},
|
|
991
1022
|
"members": [
|
|
@@ -993,7 +1024,7 @@
|
|
|
993
1024
|
"__schema": "VariableLikeSchema",
|
|
994
1025
|
"location": {
|
|
995
1026
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
996
|
-
"line":
|
|
1027
|
+
"line": 30,
|
|
997
1028
|
"character": 3
|
|
998
1029
|
},
|
|
999
1030
|
"signature": "(property) id: string",
|
|
@@ -1002,7 +1033,7 @@
|
|
|
1002
1033
|
"__schema": "TypeRefSchema",
|
|
1003
1034
|
"location": {
|
|
1004
1035
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1005
|
-
"line":
|
|
1036
|
+
"line": 30,
|
|
1006
1037
|
"character": 7
|
|
1007
1038
|
},
|
|
1008
1039
|
"name": "CommandId"
|
|
@@ -1013,7 +1044,7 @@
|
|
|
1013
1044
|
"__schema": "VariableLikeSchema",
|
|
1014
1045
|
"location": {
|
|
1015
1046
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1016
|
-
"line":
|
|
1047
|
+
"line": 31,
|
|
1017
1048
|
"character": 3
|
|
1018
1049
|
},
|
|
1019
1050
|
"signature": "(property) action: Function",
|
|
@@ -1022,7 +1053,7 @@
|
|
|
1022
1053
|
"__schema": "TypeRefSchema",
|
|
1023
1054
|
"location": {
|
|
1024
1055
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1025
|
-
"line":
|
|
1056
|
+
"line": 31,
|
|
1026
1057
|
"character": 11
|
|
1027
1058
|
},
|
|
1028
1059
|
"name": "CommandHandler"
|
|
@@ -1033,7 +1064,7 @@
|
|
|
1033
1064
|
"__schema": "VariableLikeSchema",
|
|
1034
1065
|
"location": {
|
|
1035
1066
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1036
|
-
"line":
|
|
1067
|
+
"line": 32,
|
|
1037
1068
|
"character": 3
|
|
1038
1069
|
},
|
|
1039
1070
|
"signature": "(property) keybinding?: Keybinding | undefined",
|
|
@@ -1042,7 +1073,7 @@
|
|
|
1042
1073
|
"__schema": "TypeRefSchema",
|
|
1043
1074
|
"location": {
|
|
1044
1075
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1045
|
-
"line":
|
|
1076
|
+
"line": 32,
|
|
1046
1077
|
"character": 16
|
|
1047
1078
|
},
|
|
1048
1079
|
"name": "Keybinding"
|
|
@@ -1053,7 +1084,7 @@
|
|
|
1053
1084
|
"__schema": "VariableLikeSchema",
|
|
1054
1085
|
"location": {
|
|
1055
1086
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1056
|
-
"line":
|
|
1087
|
+
"line": 33,
|
|
1057
1088
|
"character": 3
|
|
1058
1089
|
},
|
|
1059
1090
|
"signature": "(property) displayName: string",
|
|
@@ -1062,7 +1093,7 @@
|
|
|
1062
1093
|
"__schema": "KeywordTypeSchema",
|
|
1063
1094
|
"location": {
|
|
1064
1095
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1065
|
-
"line":
|
|
1096
|
+
"line": 33,
|
|
1066
1097
|
"character": 16
|
|
1067
1098
|
},
|
|
1068
1099
|
"name": "string"
|
|
@@ -1385,7 +1416,7 @@
|
|
|
1385
1416
|
"__schema": "TypeSchema",
|
|
1386
1417
|
"location": {
|
|
1387
1418
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1388
|
-
"line":
|
|
1419
|
+
"line": 25,
|
|
1389
1420
|
"character": 1
|
|
1390
1421
|
},
|
|
1391
1422
|
"signature": "type CommandBarConfig = {\n debounce?: number | undefined;\n}",
|
|
@@ -1394,7 +1425,7 @@
|
|
|
1394
1425
|
"__schema": "TypeLiteralSchema",
|
|
1395
1426
|
"location": {
|
|
1396
1427
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1397
|
-
"line":
|
|
1428
|
+
"line": 25,
|
|
1398
1429
|
"character": 32
|
|
1399
1430
|
},
|
|
1400
1431
|
"members": [
|
|
@@ -1402,7 +1433,7 @@
|
|
|
1402
1433
|
"__schema": "VariableLikeSchema",
|
|
1403
1434
|
"location": {
|
|
1404
1435
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1405
|
-
"line":
|
|
1436
|
+
"line": 26,
|
|
1406
1437
|
"character": 3
|
|
1407
1438
|
},
|
|
1408
1439
|
"signature": "(property) debounce?: number | undefined",
|
|
@@ -1411,7 +1442,7 @@
|
|
|
1411
1442
|
"__schema": "KeywordTypeSchema",
|
|
1412
1443
|
"location": {
|
|
1413
1444
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1414
|
-
"line":
|
|
1445
|
+
"line": 26,
|
|
1415
1446
|
"character": 14
|
|
1416
1447
|
},
|
|
1417
1448
|
"name": "number"
|
|
@@ -1425,7 +1456,7 @@
|
|
|
1425
1456
|
"__schema": "TypeSchema",
|
|
1426
1457
|
"location": {
|
|
1427
1458
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1428
|
-
"line":
|
|
1459
|
+
"line": 29,
|
|
1429
1460
|
"character": 1
|
|
1430
1461
|
},
|
|
1431
1462
|
"signature": "type CommandEntry = {\n id: CommandId;\n action: CommandHandler;\n keybinding?: Keybinding | undefined;\n displayName: string;\n}",
|
|
@@ -1434,7 +1465,7 @@
|
|
|
1434
1465
|
"__schema": "TypeLiteralSchema",
|
|
1435
1466
|
"location": {
|
|
1436
1467
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1437
|
-
"line":
|
|
1468
|
+
"line": 29,
|
|
1438
1469
|
"character": 28
|
|
1439
1470
|
},
|
|
1440
1471
|
"members": [
|
|
@@ -1442,7 +1473,7 @@
|
|
|
1442
1473
|
"__schema": "VariableLikeSchema",
|
|
1443
1474
|
"location": {
|
|
1444
1475
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1445
|
-
"line":
|
|
1476
|
+
"line": 30,
|
|
1446
1477
|
"character": 3
|
|
1447
1478
|
},
|
|
1448
1479
|
"signature": "(property) id: string",
|
|
@@ -1451,7 +1482,7 @@
|
|
|
1451
1482
|
"__schema": "TypeRefSchema",
|
|
1452
1483
|
"location": {
|
|
1453
1484
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1454
|
-
"line":
|
|
1485
|
+
"line": 30,
|
|
1455
1486
|
"character": 7
|
|
1456
1487
|
},
|
|
1457
1488
|
"name": "CommandId"
|
|
@@ -1462,7 +1493,7 @@
|
|
|
1462
1493
|
"__schema": "VariableLikeSchema",
|
|
1463
1494
|
"location": {
|
|
1464
1495
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1465
|
-
"line":
|
|
1496
|
+
"line": 31,
|
|
1466
1497
|
"character": 3
|
|
1467
1498
|
},
|
|
1468
1499
|
"signature": "(property) action: Function",
|
|
@@ -1471,7 +1502,7 @@
|
|
|
1471
1502
|
"__schema": "TypeRefSchema",
|
|
1472
1503
|
"location": {
|
|
1473
1504
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1474
|
-
"line":
|
|
1505
|
+
"line": 31,
|
|
1475
1506
|
"character": 11
|
|
1476
1507
|
},
|
|
1477
1508
|
"name": "CommandHandler"
|
|
@@ -1482,7 +1513,7 @@
|
|
|
1482
1513
|
"__schema": "VariableLikeSchema",
|
|
1483
1514
|
"location": {
|
|
1484
1515
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1485
|
-
"line":
|
|
1516
|
+
"line": 32,
|
|
1486
1517
|
"character": 3
|
|
1487
1518
|
},
|
|
1488
1519
|
"signature": "(property) keybinding?: Keybinding | undefined",
|
|
@@ -1491,7 +1522,7 @@
|
|
|
1491
1522
|
"__schema": "TypeRefSchema",
|
|
1492
1523
|
"location": {
|
|
1493
1524
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1494
|
-
"line":
|
|
1525
|
+
"line": 32,
|
|
1495
1526
|
"character": 16
|
|
1496
1527
|
},
|
|
1497
1528
|
"name": "Keybinding"
|
|
@@ -1502,7 +1533,7 @@
|
|
|
1502
1533
|
"__schema": "VariableLikeSchema",
|
|
1503
1534
|
"location": {
|
|
1504
1535
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1505
|
-
"line":
|
|
1536
|
+
"line": 33,
|
|
1506
1537
|
"character": 3
|
|
1507
1538
|
},
|
|
1508
1539
|
"signature": "(property) displayName: string",
|
|
@@ -1511,7 +1542,7 @@
|
|
|
1511
1542
|
"__schema": "KeywordTypeSchema",
|
|
1512
1543
|
"location": {
|
|
1513
1544
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1514
|
-
"line":
|
|
1545
|
+
"line": 33,
|
|
1515
1546
|
"character": 16
|
|
1516
1547
|
},
|
|
1517
1548
|
"name": "string"
|
|
@@ -1525,18 +1556,19 @@
|
|
|
1525
1556
|
"__schema": "ClassSchema",
|
|
1526
1557
|
"location": {
|
|
1527
1558
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1528
|
-
"line":
|
|
1559
|
+
"line": 37,
|
|
1529
1560
|
"character": 1
|
|
1530
1561
|
},
|
|
1531
1562
|
"doc": {
|
|
1532
1563
|
"__schema": "DocSchema",
|
|
1533
1564
|
"location": {
|
|
1534
1565
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1535
|
-
"line":
|
|
1566
|
+
"line": 36,
|
|
1536
1567
|
"character": 1
|
|
1537
1568
|
},
|
|
1538
1569
|
"raw": "/** Quick launch actions. Use the `addSearcher` slot to extend the available actions */",
|
|
1539
|
-
"comment": "Quick launch actions. Use the `addSearcher` slot to extend the available actions"
|
|
1570
|
+
"comment": "Quick launch actions. Use the `addSearcher` slot to extend the available actions",
|
|
1571
|
+
"tags": []
|
|
1540
1572
|
},
|
|
1541
1573
|
"signature": "class CommandBarUI",
|
|
1542
1574
|
"name": "CommandBarUI",
|
|
@@ -1545,18 +1577,19 @@
|
|
|
1545
1577
|
"__schema": "VariableLikeSchema",
|
|
1546
1578
|
"location": {
|
|
1547
1579
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1548
|
-
"line":
|
|
1580
|
+
"line": 42,
|
|
1549
1581
|
"character": 3
|
|
1550
1582
|
},
|
|
1551
1583
|
"doc": {
|
|
1552
1584
|
"__schema": "DocSchema",
|
|
1553
1585
|
"location": {
|
|
1554
1586
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1555
|
-
"line":
|
|
1587
|
+
"line": 41,
|
|
1556
1588
|
"character": 3
|
|
1557
1589
|
},
|
|
1558
1590
|
"raw": "/** Opens the command bar */",
|
|
1559
|
-
"comment": "Opens the command bar"
|
|
1591
|
+
"comment": "Opens the command bar",
|
|
1592
|
+
"tags": []
|
|
1560
1593
|
},
|
|
1561
1594
|
"signature": "(property) CommandBarUI.open: () => boolean",
|
|
1562
1595
|
"name": "open",
|
|
@@ -1564,7 +1597,7 @@
|
|
|
1564
1597
|
"__schema": "InferenceTypeSchema",
|
|
1565
1598
|
"location": {
|
|
1566
1599
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1567
|
-
"line":
|
|
1600
|
+
"line": 42,
|
|
1568
1601
|
"character": 3
|
|
1569
1602
|
},
|
|
1570
1603
|
"type": "() => boolean"
|
|
@@ -1576,18 +1609,19 @@
|
|
|
1576
1609
|
"__schema": "VariableLikeSchema",
|
|
1577
1610
|
"location": {
|
|
1578
1611
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1579
|
-
"line":
|
|
1612
|
+
"line": 48,
|
|
1580
1613
|
"character": 3
|
|
1581
1614
|
},
|
|
1582
1615
|
"doc": {
|
|
1583
1616
|
"__schema": "DocSchema",
|
|
1584
1617
|
"location": {
|
|
1585
1618
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1586
|
-
"line":
|
|
1619
|
+
"line": 47,
|
|
1587
1620
|
"character": 3
|
|
1588
1621
|
},
|
|
1589
1622
|
"raw": "/** Closes the command bar */",
|
|
1590
|
-
"comment": "Closes the command bar"
|
|
1623
|
+
"comment": "Closes the command bar",
|
|
1624
|
+
"tags": []
|
|
1591
1625
|
},
|
|
1592
1626
|
"signature": "(property) CommandBarUI.close: () => void",
|
|
1593
1627
|
"name": "close",
|
|
@@ -1595,7 +1629,7 @@
|
|
|
1595
1629
|
"__schema": "InferenceTypeSchema",
|
|
1596
1630
|
"location": {
|
|
1597
1631
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1598
|
-
"line":
|
|
1632
|
+
"line": 48,
|
|
1599
1633
|
"character": 3
|
|
1600
1634
|
},
|
|
1601
1635
|
"type": "() => void"
|
|
@@ -1607,18 +1641,19 @@
|
|
|
1607
1641
|
"__schema": "FunctionLikeSchema",
|
|
1608
1642
|
"location": {
|
|
1609
1643
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1610
|
-
"line":
|
|
1644
|
+
"line": 53,
|
|
1611
1645
|
"character": 3
|
|
1612
1646
|
},
|
|
1613
1647
|
"doc": {
|
|
1614
1648
|
"__schema": "DocSchema",
|
|
1615
1649
|
"location": {
|
|
1616
1650
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1617
|
-
"line":
|
|
1651
|
+
"line": 52,
|
|
1618
1652
|
"character": 3
|
|
1619
1653
|
},
|
|
1620
1654
|
"raw": "/** Add and autocomplete provider. To support keyboard navigation, each result should have a props `active: boolean`, and `exectue: () => any` */",
|
|
1621
|
-
"comment": "Add and autocomplete provider. To support keyboard navigation, each result should have a props `active: boolean`, and `exectue: () => any`"
|
|
1655
|
+
"comment": "Add and autocomplete provider. To support keyboard navigation, each result should have a props `active: boolean`, and `exectue: () => any`",
|
|
1656
|
+
"tags": []
|
|
1622
1657
|
},
|
|
1623
1658
|
"signature": "(method) CommandBarUI.addSearcher(...commandSearcher: SearchProvider[]): this",
|
|
1624
1659
|
"name": "addSearcher",
|
|
@@ -1627,7 +1662,7 @@
|
|
|
1627
1662
|
"__schema": "ParameterSchema",
|
|
1628
1663
|
"location": {
|
|
1629
1664
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1630
|
-
"line":
|
|
1665
|
+
"line": 53,
|
|
1631
1666
|
"character": 15
|
|
1632
1667
|
},
|
|
1633
1668
|
"name": "commandSearcher",
|
|
@@ -1635,14 +1670,14 @@
|
|
|
1635
1670
|
"__schema": "TypeArraySchema",
|
|
1636
1671
|
"location": {
|
|
1637
1672
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1638
|
-
"line":
|
|
1673
|
+
"line": 53,
|
|
1639
1674
|
"character": 35
|
|
1640
1675
|
},
|
|
1641
1676
|
"type": {
|
|
1642
1677
|
"__schema": "TypeRefSchema",
|
|
1643
1678
|
"location": {
|
|
1644
1679
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1645
|
-
"line":
|
|
1680
|
+
"line": 53,
|
|
1646
1681
|
"character": 35
|
|
1647
1682
|
},
|
|
1648
1683
|
"name": "SearchProvider"
|
|
@@ -1656,7 +1691,7 @@
|
|
|
1656
1691
|
"__schema": "TypeRefSchema",
|
|
1657
1692
|
"location": {
|
|
1658
1693
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1659
|
-
"line":
|
|
1694
|
+
"line": 53,
|
|
1660
1695
|
"character": 3
|
|
1661
1696
|
},
|
|
1662
1697
|
"name": "CommandBarUI"
|
|
@@ -1667,18 +1702,19 @@
|
|
|
1667
1702
|
"__schema": "FunctionLikeSchema",
|
|
1668
1703
|
"location": {
|
|
1669
1704
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1670
|
-
"line":
|
|
1705
|
+
"line": 61,
|
|
1671
1706
|
"character": 3
|
|
1672
1707
|
},
|
|
1673
1708
|
"doc": {
|
|
1674
1709
|
"__schema": "DocSchema",
|
|
1675
1710
|
"location": {
|
|
1676
1711
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1677
|
-
"line":
|
|
1712
|
+
"line": 58,
|
|
1678
1713
|
"character": 3
|
|
1679
1714
|
},
|
|
1680
1715
|
"raw": "/**\n * registers a command\n */",
|
|
1681
|
-
"comment": "registers a command"
|
|
1716
|
+
"comment": "registers a command",
|
|
1717
|
+
"tags": []
|
|
1682
1718
|
},
|
|
1683
1719
|
"signature": "(method) CommandBarUI.addCommand(...originalCommands: CommandEntry[]): ((next: CommandHandler) => void)[]",
|
|
1684
1720
|
"name": "addCommand",
|
|
@@ -1687,7 +1723,7 @@
|
|
|
1687
1723
|
"__schema": "ParameterSchema",
|
|
1688
1724
|
"location": {
|
|
1689
1725
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1690
|
-
"line":
|
|
1726
|
+
"line": 61,
|
|
1691
1727
|
"character": 14
|
|
1692
1728
|
},
|
|
1693
1729
|
"name": "originalCommands",
|
|
@@ -1695,14 +1731,14 @@
|
|
|
1695
1731
|
"__schema": "TypeArraySchema",
|
|
1696
1732
|
"location": {
|
|
1697
1733
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1698
|
-
"line":
|
|
1734
|
+
"line": 61,
|
|
1699
1735
|
"character": 35
|
|
1700
1736
|
},
|
|
1701
1737
|
"type": {
|
|
1702
1738
|
"__schema": "TypeRefSchema",
|
|
1703
1739
|
"location": {
|
|
1704
1740
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1705
|
-
"line":
|
|
1741
|
+
"line": 61,
|
|
1706
1742
|
"character": 35
|
|
1707
1743
|
},
|
|
1708
1744
|
"name": "CommandEntry"
|
|
@@ -1716,7 +1752,7 @@
|
|
|
1716
1752
|
"__schema": "InferenceTypeSchema",
|
|
1717
1753
|
"location": {
|
|
1718
1754
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1719
|
-
"line":
|
|
1755
|
+
"line": 61,
|
|
1720
1756
|
"character": 3
|
|
1721
1757
|
},
|
|
1722
1758
|
"type": "((next: CommandHandler) => void)[]"
|
|
@@ -1727,14 +1763,14 @@
|
|
|
1727
1763
|
"__schema": "FunctionLikeSchema",
|
|
1728
1764
|
"location": {
|
|
1729
1765
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1730
|
-
"line":
|
|
1766
|
+
"line": 94,
|
|
1731
1767
|
"character": 3
|
|
1732
1768
|
},
|
|
1733
1769
|
"doc": {
|
|
1734
1770
|
"__schema": "DocSchema",
|
|
1735
1771
|
"location": {
|
|
1736
1772
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1737
|
-
"line":
|
|
1773
|
+
"line": 90,
|
|
1738
1774
|
"character": 3
|
|
1739
1775
|
},
|
|
1740
1776
|
"raw": "/**\n * executes command by name, if exists.\n * @param commandId\n */",
|
|
@@ -1744,7 +1780,7 @@
|
|
|
1744
1780
|
"__schema": "PropertyLikeTagSchema",
|
|
1745
1781
|
"location": {
|
|
1746
1782
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1747
|
-
"line":
|
|
1783
|
+
"line": 92,
|
|
1748
1784
|
"character": 6
|
|
1749
1785
|
},
|
|
1750
1786
|
"name": "commandId",
|
|
@@ -1759,7 +1795,7 @@
|
|
|
1759
1795
|
"__schema": "ParameterSchema",
|
|
1760
1796
|
"location": {
|
|
1761
1797
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1762
|
-
"line":
|
|
1798
|
+
"line": 94,
|
|
1763
1799
|
"character": 7
|
|
1764
1800
|
},
|
|
1765
1801
|
"name": "commandId",
|
|
@@ -1767,7 +1803,7 @@
|
|
|
1767
1803
|
"__schema": "TypeRefSchema",
|
|
1768
1804
|
"location": {
|
|
1769
1805
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1770
|
-
"line":
|
|
1806
|
+
"line": 94,
|
|
1771
1807
|
"character": 18
|
|
1772
1808
|
},
|
|
1773
1809
|
"name": "CommandId"
|
|
@@ -1780,7 +1816,7 @@
|
|
|
1780
1816
|
"__schema": "InferenceTypeSchema",
|
|
1781
1817
|
"location": {
|
|
1782
1818
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1783
|
-
"line":
|
|
1819
|
+
"line": 94,
|
|
1784
1820
|
"character": 3
|
|
1785
1821
|
},
|
|
1786
1822
|
"type": "any"
|
|
@@ -1791,18 +1827,19 @@
|
|
|
1791
1827
|
"__schema": "VariableLikeSchema",
|
|
1792
1828
|
"location": {
|
|
1793
1829
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1794
|
-
"line":
|
|
1830
|
+
"line": 104,
|
|
1795
1831
|
"character": 3
|
|
1796
1832
|
},
|
|
1797
1833
|
"doc": {
|
|
1798
1834
|
"__schema": "DocSchema",
|
|
1799
1835
|
"location": {
|
|
1800
1836
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1801
|
-
"line":
|
|
1837
|
+
"line": 101,
|
|
1802
1838
|
"character": 3
|
|
1803
1839
|
},
|
|
1804
1840
|
"raw": "/**\n * executes a keyboard shortcut manually\n */",
|
|
1805
|
-
"comment": "executes a keyboard shortcut manually"
|
|
1841
|
+
"comment": "executes a keyboard shortcut manually",
|
|
1842
|
+
"tags": []
|
|
1806
1843
|
},
|
|
1807
1844
|
"signature": "(property) CommandBarUI.trigger: (key: string) => void",
|
|
1808
1845
|
"name": "trigger",
|
|
@@ -1810,7 +1847,7 @@
|
|
|
1810
1847
|
"__schema": "InferenceTypeSchema",
|
|
1811
1848
|
"location": {
|
|
1812
1849
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1813
|
-
"line":
|
|
1850
|
+
"line": 104,
|
|
1814
1851
|
"character": 3
|
|
1815
1852
|
},
|
|
1816
1853
|
"type": "(key: string) => void"
|
|
@@ -1822,18 +1859,19 @@
|
|
|
1822
1859
|
"__schema": "VariableLikeSchema",
|
|
1823
1860
|
"location": {
|
|
1824
1861
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1825
|
-
"line":
|
|
1862
|
+
"line": 136,
|
|
1826
1863
|
"character": 3
|
|
1827
1864
|
},
|
|
1828
1865
|
"doc": {
|
|
1829
1866
|
"__schema": "DocSchema",
|
|
1830
1867
|
"location": {
|
|
1831
1868
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1832
|
-
"line":
|
|
1869
|
+
"line": 133,
|
|
1833
1870
|
"character": 3
|
|
1834
1871
|
},
|
|
1835
1872
|
"raw": "/**\n * Opens and closes the command bar UI.\n */",
|
|
1836
|
-
"comment": "Opens and closes the command bar UI."
|
|
1873
|
+
"comment": "Opens and closes the command bar UI.",
|
|
1874
|
+
"tags": []
|
|
1837
1875
|
},
|
|
1838
1876
|
"signature": "(property) CommandBarUI.setVisibility?: ((visible: boolean) => void) | undefined",
|
|
1839
1877
|
"name": "setVisibility",
|
|
@@ -1841,7 +1879,7 @@
|
|
|
1841
1879
|
"__schema": "FunctionLikeSchema",
|
|
1842
1880
|
"location": {
|
|
1843
1881
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1844
|
-
"line":
|
|
1882
|
+
"line": 136,
|
|
1845
1883
|
"character": 19
|
|
1846
1884
|
},
|
|
1847
1885
|
"signature": "(visible: boolean): void",
|
|
@@ -1851,7 +1889,7 @@
|
|
|
1851
1889
|
"__schema": "ParameterSchema",
|
|
1852
1890
|
"location": {
|
|
1853
1891
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1854
|
-
"line":
|
|
1892
|
+
"line": 136,
|
|
1855
1893
|
"character": 20
|
|
1856
1894
|
},
|
|
1857
1895
|
"name": "visible",
|
|
@@ -1859,7 +1897,7 @@
|
|
|
1859
1897
|
"__schema": "KeywordTypeSchema",
|
|
1860
1898
|
"location": {
|
|
1861
1899
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1862
|
-
"line":
|
|
1900
|
+
"line": 136,
|
|
1863
1901
|
"character": 29
|
|
1864
1902
|
},
|
|
1865
1903
|
"name": "boolean"
|
|
@@ -1872,7 +1910,7 @@
|
|
|
1872
1910
|
"__schema": "KeywordTypeSchema",
|
|
1873
1911
|
"location": {
|
|
1874
1912
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1875
|
-
"line":
|
|
1913
|
+
"line": 136,
|
|
1876
1914
|
"character": 41
|
|
1877
1915
|
},
|
|
1878
1916
|
"name": "void"
|
|
@@ -1885,18 +1923,19 @@
|
|
|
1885
1923
|
"__schema": "VariableLikeSchema",
|
|
1886
1924
|
"location": {
|
|
1887
1925
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1888
|
-
"line":
|
|
1926
|
+
"line": 141,
|
|
1889
1927
|
"character": 3
|
|
1890
1928
|
},
|
|
1891
1929
|
"doc": {
|
|
1892
1930
|
"__schema": "DocSchema",
|
|
1893
1931
|
"location": {
|
|
1894
1932
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1895
|
-
"line":
|
|
1933
|
+
"line": 138,
|
|
1896
1934
|
"character": 3
|
|
1897
1935
|
},
|
|
1898
1936
|
"raw": "/**\n * generate the ui for command bar\n */",
|
|
1899
|
-
"comment": "generate the ui for command bar"
|
|
1937
|
+
"comment": "generate the ui for command bar",
|
|
1938
|
+
"tags": []
|
|
1900
1939
|
},
|
|
1901
1940
|
"signature": "(property) CommandBarUI.CommandBar: ({ ResultComponent, onEnter, }: {\n ResultComponent?: React.ComponentType<ResultsComponentProps> | undefined;\n onEnter?: ((value: string) => void) | undefined;\n}) => React.JSX.Element",
|
|
1902
1941
|
"name": "CommandBar",
|
|
@@ -1904,7 +1943,7 @@
|
|
|
1904
1943
|
"__schema": "InferenceTypeSchema",
|
|
1905
1944
|
"location": {
|
|
1906
1945
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1907
|
-
"line":
|
|
1946
|
+
"line": 141,
|
|
1908
1947
|
"character": 3
|
|
1909
1948
|
},
|
|
1910
1949
|
"type": "({ ResultComponent, onEnter, }: {\n ResultComponent?: React.ComponentType<ResultsComponentProps> | undefined;\n onEnter?: ((value: string) => void) | undefined;\n}) => React.JSX.Element"
|
|
@@ -1912,11 +1951,32 @@
|
|
|
1912
1951
|
"isOptional": true,
|
|
1913
1952
|
"defaultValue": "({\n ResultComponent,\n onEnter,\n }: {\n ResultComponent?: ComponentType<ResultsComponentProps>;\n onEnter?: (value: string) => void;\n }) => {\n const [visible, setVisibility] = useState(false);\n this.setVisibility = setVisibility;\n\n const results = useSearcher(this.search, {\n debounce: this.config.debounce,\n });\n\n return (\n <CommandBar\n {...results}\n onEnter={onEnter}\n key=\"CommandBarUI\"\n className={styles.commanderUi}\n placeholder=\"Search anything or type > to only search commands\"\n visible={visible}\n ResultsComponent={ResultComponent}\n onVisibilityChange={setVisibility}\n autofocus\n />\n );\n }"
|
|
1914
1953
|
},
|
|
1954
|
+
{
|
|
1955
|
+
"__schema": "VariableLikeSchema",
|
|
1956
|
+
"location": {
|
|
1957
|
+
"filePath": "command-bar.ui.runtime.tsx",
|
|
1958
|
+
"line": 170,
|
|
1959
|
+
"character": 3
|
|
1960
|
+
},
|
|
1961
|
+
"signature": "(property) CommandBarUI.CommandBarButton: () => React.JSX.Element",
|
|
1962
|
+
"name": "CommandBarButton",
|
|
1963
|
+
"type": {
|
|
1964
|
+
"__schema": "InferenceTypeSchema",
|
|
1965
|
+
"location": {
|
|
1966
|
+
"filePath": "command-bar.ui.runtime.tsx",
|
|
1967
|
+
"line": 170,
|
|
1968
|
+
"character": 3
|
|
1969
|
+
},
|
|
1970
|
+
"type": "() => React.JSX.Element"
|
|
1971
|
+
},
|
|
1972
|
+
"isOptional": true,
|
|
1973
|
+
"defaultValue": "() => <CommandBarButton onClick={() => this.setVisibility?.(true)} />"
|
|
1974
|
+
},
|
|
1915
1975
|
{
|
|
1916
1976
|
"__schema": "ConstructorSchema",
|
|
1917
1977
|
"location": {
|
|
1918
1978
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1919
|
-
"line":
|
|
1979
|
+
"line": 172,
|
|
1920
1980
|
"character": 3
|
|
1921
1981
|
},
|
|
1922
1982
|
"signature": "constructor CommandBarUI(searcherSlot: SearcherSlot, commandSlot: CommandSlot, config: CommandBarConfig): CommandBarUI",
|
|
@@ -1926,7 +1986,7 @@
|
|
|
1926
1986
|
"__schema": "ParameterSchema",
|
|
1927
1987
|
"location": {
|
|
1928
1988
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1929
|
-
"line":
|
|
1989
|
+
"line": 172,
|
|
1930
1990
|
"character": 15
|
|
1931
1991
|
},
|
|
1932
1992
|
"name": "searcherSlot",
|
|
@@ -1934,7 +1994,7 @@
|
|
|
1934
1994
|
"__schema": "TypeRefSchema",
|
|
1935
1995
|
"location": {
|
|
1936
1996
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1937
|
-
"line":
|
|
1997
|
+
"line": 172,
|
|
1938
1998
|
"character": 37
|
|
1939
1999
|
},
|
|
1940
2000
|
"name": "SearcherSlot",
|
|
@@ -1947,7 +2007,7 @@
|
|
|
1947
2007
|
"__schema": "ParameterSchema",
|
|
1948
2008
|
"location": {
|
|
1949
2009
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1950
|
-
"line":
|
|
2010
|
+
"line": 172,
|
|
1951
2011
|
"character": 51
|
|
1952
2012
|
},
|
|
1953
2013
|
"name": "commandSlot",
|
|
@@ -1955,7 +2015,7 @@
|
|
|
1955
2015
|
"__schema": "TypeRefSchema",
|
|
1956
2016
|
"location": {
|
|
1957
2017
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1958
|
-
"line":
|
|
2018
|
+
"line": 172,
|
|
1959
2019
|
"character": 72
|
|
1960
2020
|
},
|
|
1961
2021
|
"name": "CommandSlot",
|
|
@@ -1968,7 +2028,7 @@
|
|
|
1968
2028
|
"__schema": "ParameterSchema",
|
|
1969
2029
|
"location": {
|
|
1970
2030
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1971
|
-
"line":
|
|
2031
|
+
"line": 172,
|
|
1972
2032
|
"character": 85
|
|
1973
2033
|
},
|
|
1974
2034
|
"name": "config",
|
|
@@ -1976,7 +2036,7 @@
|
|
|
1976
2036
|
"__schema": "TypeRefSchema",
|
|
1977
2037
|
"location": {
|
|
1978
2038
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1979
|
-
"line":
|
|
2039
|
+
"line": 172,
|
|
1980
2040
|
"character": 101
|
|
1981
2041
|
},
|
|
1982
2042
|
"name": "CommandBarConfig",
|
|
@@ -1990,7 +2050,7 @@
|
|
|
1990
2050
|
"__schema": "ThisTypeSchema",
|
|
1991
2051
|
"location": {
|
|
1992
2052
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
1993
|
-
"line":
|
|
2053
|
+
"line": 37,
|
|
1994
2054
|
"character": 1
|
|
1995
2055
|
},
|
|
1996
2056
|
"name": "CommandBarUI"
|
|
@@ -2001,7 +2061,7 @@
|
|
|
2001
2061
|
"__schema": "VariableLikeSchema",
|
|
2002
2062
|
"location": {
|
|
2003
2063
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2004
|
-
"line":
|
|
2064
|
+
"line": 174,
|
|
2005
2065
|
"character": 3
|
|
2006
2066
|
},
|
|
2007
2067
|
"signature": "(property) CommandBarUI.dependencies: Aspect[]",
|
|
@@ -2010,7 +2070,7 @@
|
|
|
2010
2070
|
"__schema": "InferenceTypeSchema",
|
|
2011
2071
|
"location": {
|
|
2012
2072
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2013
|
-
"line":
|
|
2073
|
+
"line": 174,
|
|
2014
2074
|
"character": 3
|
|
2015
2075
|
},
|
|
2016
2076
|
"type": "Aspect[]"
|
|
@@ -2022,7 +2082,7 @@
|
|
|
2022
2082
|
"__schema": "VariableLikeSchema",
|
|
2023
2083
|
"location": {
|
|
2024
2084
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2025
|
-
"line":
|
|
2085
|
+
"line": 175,
|
|
2026
2086
|
"character": 3
|
|
2027
2087
|
},
|
|
2028
2088
|
"signature": "(property) CommandBarUI.slots: (((registerFn: () => string) => SlotRegistry<SearchProvider>) | ((registerFn: () => string) => SlotRegistry<CommandEntry[]>))[]",
|
|
@@ -2031,7 +2091,7 @@
|
|
|
2031
2091
|
"__schema": "InferenceTypeSchema",
|
|
2032
2092
|
"location": {
|
|
2033
2093
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2034
|
-
"line":
|
|
2094
|
+
"line": 175,
|
|
2035
2095
|
"character": 3
|
|
2036
2096
|
},
|
|
2037
2097
|
"type": "(((registerFn: () => string) => SlotRegistry<SearchProvider>) | ((registerFn: () => string) => SlotRegistry<CommandEntry[]>))[]"
|
|
@@ -2043,7 +2103,7 @@
|
|
|
2043
2103
|
"__schema": "VariableLikeSchema",
|
|
2044
2104
|
"location": {
|
|
2045
2105
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2046
|
-
"line":
|
|
2106
|
+
"line": 176,
|
|
2047
2107
|
"character": 3
|
|
2048
2108
|
},
|
|
2049
2109
|
"signature": "(property) CommandBarUI.defaultConfig: CommandBarConfig",
|
|
@@ -2052,7 +2112,7 @@
|
|
|
2052
2112
|
"__schema": "TypeRefSchema",
|
|
2053
2113
|
"location": {
|
|
2054
2114
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2055
|
-
"line":
|
|
2115
|
+
"line": 176,
|
|
2056
2116
|
"character": 3
|
|
2057
2117
|
},
|
|
2058
2118
|
"name": "CommandBarConfig",
|
|
@@ -2065,7 +2125,7 @@
|
|
|
2065
2125
|
"__schema": "VariableLikeSchema",
|
|
2066
2126
|
"location": {
|
|
2067
2127
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2068
|
-
"line":
|
|
2128
|
+
"line": 180,
|
|
2069
2129
|
"character": 3
|
|
2070
2130
|
},
|
|
2071
2131
|
"signature": "(property) CommandBarUI.runtime: RuntimeDefinition",
|
|
@@ -2074,7 +2134,7 @@
|
|
|
2074
2134
|
"__schema": "InferenceTypeSchema",
|
|
2075
2135
|
"location": {
|
|
2076
2136
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2077
|
-
"line":
|
|
2137
|
+
"line": 180,
|
|
2078
2138
|
"character": 3
|
|
2079
2139
|
},
|
|
2080
2140
|
"type": "RuntimeDefinition"
|
|
@@ -2086,7 +2146,7 @@
|
|
|
2086
2146
|
"__schema": "FunctionLikeSchema",
|
|
2087
2147
|
"location": {
|
|
2088
2148
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2089
|
-
"line":
|
|
2149
|
+
"line": 182,
|
|
2090
2150
|
"character": 3
|
|
2091
2151
|
},
|
|
2092
2152
|
"signature": "(method) CommandBarUI.provider([uiUi, pubsubUI]: [UiUI | undefined, PubsubUI | undefined], config: CommandBarConfig, [searcherSlot, commandSlots]: [SearcherSlot, CommandSlot]): Promise<CommandBarUI>",
|
|
@@ -2096,7 +2156,7 @@
|
|
|
2096
2156
|
"__schema": "ParameterSchema",
|
|
2097
2157
|
"location": {
|
|
2098
2158
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2099
|
-
"line":
|
|
2159
|
+
"line": 183,
|
|
2100
2160
|
"character": 5
|
|
2101
2161
|
},
|
|
2102
2162
|
"name": "[ uiUi, pubsubUI ]",
|
|
@@ -2104,7 +2164,7 @@
|
|
|
2104
2164
|
"__schema": "TupleTypeSchema",
|
|
2105
2165
|
"location": {
|
|
2106
2166
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2107
|
-
"line":
|
|
2167
|
+
"line": 183,
|
|
2108
2168
|
"character": 23
|
|
2109
2169
|
},
|
|
2110
2170
|
"elements": [
|
|
@@ -2112,7 +2172,7 @@
|
|
|
2112
2172
|
"__schema": "TypeUnionSchema",
|
|
2113
2173
|
"location": {
|
|
2114
2174
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2115
|
-
"line":
|
|
2175
|
+
"line": 183,
|
|
2116
2176
|
"character": 24
|
|
2117
2177
|
},
|
|
2118
2178
|
"types": [
|
|
@@ -2120,7 +2180,7 @@
|
|
|
2120
2180
|
"__schema": "TypeRefSchema",
|
|
2121
2181
|
"location": {
|
|
2122
2182
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2123
|
-
"line":
|
|
2183
|
+
"line": 183,
|
|
2124
2184
|
"character": 24
|
|
2125
2185
|
},
|
|
2126
2186
|
"name": "UiUI",
|
|
@@ -2133,7 +2193,7 @@
|
|
|
2133
2193
|
"__schema": "KeywordTypeSchema",
|
|
2134
2194
|
"location": {
|
|
2135
2195
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2136
|
-
"line":
|
|
2196
|
+
"line": 183,
|
|
2137
2197
|
"character": 31
|
|
2138
2198
|
},
|
|
2139
2199
|
"name": "undefined"
|
|
@@ -2144,7 +2204,7 @@
|
|
|
2144
2204
|
"__schema": "TypeUnionSchema",
|
|
2145
2205
|
"location": {
|
|
2146
2206
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2147
|
-
"line":
|
|
2207
|
+
"line": 183,
|
|
2148
2208
|
"character": 42
|
|
2149
2209
|
},
|
|
2150
2210
|
"types": [
|
|
@@ -2152,7 +2212,7 @@
|
|
|
2152
2212
|
"__schema": "TypeRefSchema",
|
|
2153
2213
|
"location": {
|
|
2154
2214
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2155
|
-
"line":
|
|
2215
|
+
"line": 183,
|
|
2156
2216
|
"character": 42
|
|
2157
2217
|
},
|
|
2158
2218
|
"name": "PubsubUI",
|
|
@@ -2165,7 +2225,7 @@
|
|
|
2165
2225
|
"__schema": "KeywordTypeSchema",
|
|
2166
2226
|
"location": {
|
|
2167
2227
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2168
|
-
"line":
|
|
2228
|
+
"line": 183,
|
|
2169
2229
|
"character": 53
|
|
2170
2230
|
},
|
|
2171
2231
|
"name": "undefined"
|
|
@@ -2181,7 +2241,7 @@
|
|
|
2181
2241
|
"__schema": "ParameterSchema",
|
|
2182
2242
|
"location": {
|
|
2183
2243
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2184
|
-
"line":
|
|
2244
|
+
"line": 184,
|
|
2185
2245
|
"character": 5
|
|
2186
2246
|
},
|
|
2187
2247
|
"name": "config",
|
|
@@ -2189,7 +2249,7 @@
|
|
|
2189
2249
|
"__schema": "TypeRefSchema",
|
|
2190
2250
|
"location": {
|
|
2191
2251
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2192
|
-
"line":
|
|
2252
|
+
"line": 184,
|
|
2193
2253
|
"character": 13
|
|
2194
2254
|
},
|
|
2195
2255
|
"name": "CommandBarConfig",
|
|
@@ -2202,7 +2262,7 @@
|
|
|
2202
2262
|
"__schema": "ParameterSchema",
|
|
2203
2263
|
"location": {
|
|
2204
2264
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2205
|
-
"line":
|
|
2265
|
+
"line": 185,
|
|
2206
2266
|
"character": 5
|
|
2207
2267
|
},
|
|
2208
2268
|
"name": "[ searcherSlot, commandSlots ]",
|
|
@@ -2210,7 +2270,7 @@
|
|
|
2210
2270
|
"__schema": "TupleTypeSchema",
|
|
2211
2271
|
"location": {
|
|
2212
2272
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2213
|
-
"line":
|
|
2273
|
+
"line": 185,
|
|
2214
2274
|
"character": 35
|
|
2215
2275
|
},
|
|
2216
2276
|
"elements": [
|
|
@@ -2218,7 +2278,7 @@
|
|
|
2218
2278
|
"__schema": "TypeRefSchema",
|
|
2219
2279
|
"location": {
|
|
2220
2280
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2221
|
-
"line":
|
|
2281
|
+
"line": 185,
|
|
2222
2282
|
"character": 36
|
|
2223
2283
|
},
|
|
2224
2284
|
"name": "SearcherSlot",
|
|
@@ -2228,7 +2288,7 @@
|
|
|
2228
2288
|
"__schema": "TypeRefSchema",
|
|
2229
2289
|
"location": {
|
|
2230
2290
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2231
|
-
"line":
|
|
2291
|
+
"line": 185,
|
|
2232
2292
|
"character": 50
|
|
2233
2293
|
},
|
|
2234
2294
|
"name": "CommandSlot",
|
|
@@ -2244,7 +2304,7 @@
|
|
|
2244
2304
|
"__schema": "InferenceTypeSchema",
|
|
2245
2305
|
"location": {
|
|
2246
2306
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2247
|
-
"line":
|
|
2307
|
+
"line": 182,
|
|
2248
2308
|
"character": 3
|
|
2249
2309
|
},
|
|
2250
2310
|
"type": "Promise<CommandBarUI>"
|
|
@@ -2264,7 +2324,7 @@
|
|
|
2264
2324
|
"__schema": "ModuleSchema",
|
|
2265
2325
|
"location": {
|
|
2266
2326
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2267
|
-
"line":
|
|
2327
|
+
"line": 21,
|
|
2268
2328
|
"character": 1
|
|
2269
2329
|
},
|
|
2270
2330
|
"exports": [
|
|
@@ -2272,7 +2332,7 @@
|
|
|
2272
2332
|
"__schema": "VariableLikeSchema",
|
|
2273
2333
|
"location": {
|
|
2274
2334
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2275
|
-
"line":
|
|
2335
|
+
"line": 21,
|
|
2276
2336
|
"character": 7
|
|
2277
2337
|
},
|
|
2278
2338
|
"signature": "const RESULT_LIMIT: 5",
|
|
@@ -2281,7 +2341,7 @@
|
|
|
2281
2341
|
"__schema": "InferenceTypeSchema",
|
|
2282
2342
|
"location": {
|
|
2283
2343
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2284
|
-
"line":
|
|
2344
|
+
"line": 21,
|
|
2285
2345
|
"character": 7
|
|
2286
2346
|
},
|
|
2287
2347
|
"type": "5"
|
|
@@ -2296,7 +2356,7 @@
|
|
|
2296
2356
|
"__schema": "TypeSchema",
|
|
2297
2357
|
"location": {
|
|
2298
2358
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2299
|
-
"line":
|
|
2359
|
+
"line": 22,
|
|
2300
2360
|
"character": 1
|
|
2301
2361
|
},
|
|
2302
2362
|
"signature": "type SearcherSlot = SlotRegistry<SearchProvider[]>",
|
|
@@ -2305,7 +2365,7 @@
|
|
|
2305
2365
|
"__schema": "TypeRefSchema",
|
|
2306
2366
|
"location": {
|
|
2307
2367
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2308
|
-
"line":
|
|
2368
|
+
"line": 22,
|
|
2309
2369
|
"character": 21
|
|
2310
2370
|
},
|
|
2311
2371
|
"name": "SlotRegistry",
|
|
@@ -2319,14 +2379,14 @@
|
|
|
2319
2379
|
"__schema": "TypeArraySchema",
|
|
2320
2380
|
"location": {
|
|
2321
2381
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2322
|
-
"line":
|
|
2382
|
+
"line": 22,
|
|
2323
2383
|
"character": 34
|
|
2324
2384
|
},
|
|
2325
2385
|
"type": {
|
|
2326
2386
|
"__schema": "TypeRefSchema",
|
|
2327
2387
|
"location": {
|
|
2328
2388
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2329
|
-
"line":
|
|
2389
|
+
"line": 22,
|
|
2330
2390
|
"character": 34
|
|
2331
2391
|
},
|
|
2332
2392
|
"name": "SearchProvider"
|
|
@@ -2339,7 +2399,7 @@
|
|
|
2339
2399
|
"__schema": "TypeSchema",
|
|
2340
2400
|
"location": {
|
|
2341
2401
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2342
|
-
"line":
|
|
2402
|
+
"line": 23,
|
|
2343
2403
|
"character": 1
|
|
2344
2404
|
},
|
|
2345
2405
|
"signature": "type CommandSlot = SlotRegistry<CommandEntry[]>",
|
|
@@ -2348,7 +2408,7 @@
|
|
|
2348
2408
|
"__schema": "TypeRefSchema",
|
|
2349
2409
|
"location": {
|
|
2350
2410
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2351
|
-
"line":
|
|
2411
|
+
"line": 23,
|
|
2352
2412
|
"character": 20
|
|
2353
2413
|
},
|
|
2354
2414
|
"name": "SlotRegistry",
|
|
@@ -2362,14 +2422,14 @@
|
|
|
2362
2422
|
"__schema": "TypeArraySchema",
|
|
2363
2423
|
"location": {
|
|
2364
2424
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2365
|
-
"line":
|
|
2425
|
+
"line": 23,
|
|
2366
2426
|
"character": 33
|
|
2367
2427
|
},
|
|
2368
2428
|
"type": {
|
|
2369
2429
|
"__schema": "TypeRefSchema",
|
|
2370
2430
|
"location": {
|
|
2371
2431
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2372
|
-
"line":
|
|
2432
|
+
"line": 23,
|
|
2373
2433
|
"character": 33
|
|
2374
2434
|
},
|
|
2375
2435
|
"name": "CommandEntry"
|
|
@@ -2382,7 +2442,7 @@
|
|
|
2382
2442
|
"__schema": "UnImplementedSchema",
|
|
2383
2443
|
"location": {
|
|
2384
2444
|
"filePath": "command-bar.ui.runtime.tsx",
|
|
2385
|
-
"line":
|
|
2445
|
+
"line": 212,
|
|
2386
2446
|
"character": 1
|
|
2387
2447
|
},
|
|
2388
2448
|
"name": "CommandBarAspect.addRuntime(CommandBarUI);",
|
|
@@ -2394,7 +2454,7 @@
|
|
|
2394
2454
|
"componentId": {
|
|
2395
2455
|
"scope": "teambit.explorer",
|
|
2396
2456
|
"name": "command-bar",
|
|
2397
|
-
"version": "1.0.
|
|
2457
|
+
"version": "1.0.311"
|
|
2398
2458
|
},
|
|
2399
2459
|
"taggedModuleExports": []
|
|
2400
2460
|
}
|