@teambit/ui-foundation.ui.side-bar 0.0.867 → 0.0.869

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/schema.json ADDED
@@ -0,0 +1,1395 @@
1
+ {
2
+ "__schema": "APISchema",
3
+ "location": {
4
+ "filePath": "index.ts",
5
+ "line": 1,
6
+ "character": 1
7
+ },
8
+ "module": {
9
+ "__schema": "ModuleSchema",
10
+ "location": {
11
+ "filePath": "index.ts",
12
+ "line": 1,
13
+ "character": 1
14
+ },
15
+ "exports": [
16
+ {
17
+ "__schema": "ReactSchema",
18
+ "location": {
19
+ "filePath": "component-tree/component-tree.tsx",
20
+ "line": 20,
21
+ "character": 1
22
+ },
23
+ "signature": "function ComponentTree({ components, isCollapsed, className, transformTree, TreeNode, }: ComponentTreeProps): React.JSX.Element",
24
+ "name": "ComponentTree",
25
+ "props": {
26
+ "__schema": "ParameterSchema",
27
+ "location": {
28
+ "filePath": "component-tree/component-tree.tsx",
29
+ "line": 20,
30
+ "character": 31
31
+ },
32
+ "name": "{ components, isCollapsed, className, transformTree, TreeNode = DefaultTreeNodeRenderer }",
33
+ "type": {
34
+ "__schema": "TypeRefSchema",
35
+ "location": {
36
+ "filePath": "component-tree/component-tree.tsx",
37
+ "line": 27,
38
+ "character": 4
39
+ },
40
+ "name": "ComponentTreeProps",
41
+ "internalFilePath": "component-tree/component-tree.tsx"
42
+ },
43
+ "isOptional": false,
44
+ "objectBindingNodes": [
45
+ {
46
+ "__schema": "InferenceTypeSchema",
47
+ "location": {
48
+ "filePath": "component-tree/component-tree.tsx",
49
+ "line": 21,
50
+ "character": 3
51
+ },
52
+ "name": "components",
53
+ "type": "ComponentModel[]",
54
+ "isSpread": false
55
+ },
56
+ {
57
+ "__schema": "InferenceTypeSchema",
58
+ "location": {
59
+ "filePath": "component-tree/component-tree.tsx",
60
+ "line": 22,
61
+ "character": 3
62
+ },
63
+ "name": "isCollapsed",
64
+ "type": "boolean",
65
+ "isSpread": false
66
+ },
67
+ {
68
+ "__schema": "InferenceTypeSchema",
69
+ "location": {
70
+ "filePath": "component-tree/component-tree.tsx",
71
+ "line": 23,
72
+ "character": 3
73
+ },
74
+ "name": "className",
75
+ "type": "string",
76
+ "isSpread": false
77
+ },
78
+ {
79
+ "__schema": "InferenceTypeSchema",
80
+ "location": {
81
+ "filePath": "component-tree/component-tree.tsx",
82
+ "line": 24,
83
+ "character": 3
84
+ },
85
+ "name": "transformTree",
86
+ "type": "(rootNode: TreeNodeType<any>) => TreeNodeType<any>",
87
+ "isSpread": false
88
+ },
89
+ {
90
+ "__schema": "InferenceTypeSchema",
91
+ "location": {
92
+ "filePath": "component-tree/component-tree.tsx",
93
+ "line": 26,
94
+ "character": 3
95
+ },
96
+ "name": "TreeNode",
97
+ "type": "TreeNodeRenderer<PayloadType>",
98
+ "defaultValue": "DefaultTreeNodeRenderer",
99
+ "isSpread": false
100
+ }
101
+ ],
102
+ "isSpread": false
103
+ },
104
+ "returnType": {
105
+ "__schema": "TypeRefSchema",
106
+ "location": {
107
+ "filePath": "component-tree/component-tree.tsx",
108
+ "line": 20,
109
+ "character": 1
110
+ },
111
+ "name": "React.JSX.Element",
112
+ "packageName": "react"
113
+ },
114
+ "modifiers": [
115
+ "export"
116
+ ]
117
+ },
118
+ {
119
+ "__schema": "ReactSchema",
120
+ "location": {
121
+ "filePath": "component-tree/component-view/component-view.tsx",
122
+ "line": 27,
123
+ "character": 1
124
+ },
125
+ "signature": "function ComponentView(props: ComponentViewProps<PayloadType>): React.JSX.Element",
126
+ "name": "ComponentView",
127
+ "props": {
128
+ "__schema": "ParameterSchema",
129
+ "location": {
130
+ "filePath": "component-tree/component-view/component-view.tsx",
131
+ "line": 27,
132
+ "character": 31
133
+ },
134
+ "name": "props",
135
+ "type": {
136
+ "__schema": "TypeRefSchema",
137
+ "location": {
138
+ "filePath": "component-tree/component-view/component-view.tsx",
139
+ "line": 27,
140
+ "character": 38
141
+ },
142
+ "name": "ComponentViewProps",
143
+ "internalFilePath": "component-tree/component-view/component-view.tsx",
144
+ "typeArgs": [
145
+ {
146
+ "__schema": "TypeRefSchema",
147
+ "location": {
148
+ "filePath": "component-tree/component-view/component-view.tsx",
149
+ "line": 27,
150
+ "character": 57
151
+ },
152
+ "name": "PayloadType"
153
+ }
154
+ ]
155
+ },
156
+ "isOptional": false,
157
+ "isSpread": false
158
+ },
159
+ "returnType": {
160
+ "__schema": "TypeRefSchema",
161
+ "location": {
162
+ "filePath": "component-tree/component-view/component-view.tsx",
163
+ "line": 27,
164
+ "character": 1
165
+ },
166
+ "name": "React.JSX.Element",
167
+ "packageName": "react"
168
+ },
169
+ "modifiers": [
170
+ "export"
171
+ ]
172
+ },
173
+ {
174
+ "__schema": "ReactSchema",
175
+ "location": {
176
+ "filePath": "component-tree/scope-tree-node/scope-tree-node.tsx",
177
+ "line": 13,
178
+ "character": 1
179
+ },
180
+ "signature": "function ScopeTreeNode({ node, depth }: ScopeTreeNodeProps): React.JSX.Element",
181
+ "name": "ScopeTreeNode",
182
+ "props": {
183
+ "__schema": "ParameterSchema",
184
+ "location": {
185
+ "filePath": "component-tree/scope-tree-node/scope-tree-node.tsx",
186
+ "line": 13,
187
+ "character": 31
188
+ },
189
+ "name": "{ node, depth }",
190
+ "type": {
191
+ "__schema": "TypeRefSchema",
192
+ "location": {
193
+ "filePath": "component-tree/scope-tree-node/scope-tree-node.tsx",
194
+ "line": 13,
195
+ "character": 48
196
+ },
197
+ "name": "ScopeTreeNodeProps",
198
+ "internalFilePath": "component-tree/scope-tree-node/scope-tree-node.tsx"
199
+ },
200
+ "isOptional": false,
201
+ "objectBindingNodes": [
202
+ {
203
+ "__schema": "InferenceTypeSchema",
204
+ "location": {
205
+ "filePath": "component-tree/scope-tree-node/scope-tree-node.tsx",
206
+ "line": 13,
207
+ "character": 33
208
+ },
209
+ "name": "node",
210
+ "type": "TreeNode<PayloadType>",
211
+ "isSpread": false
212
+ },
213
+ {
214
+ "__schema": "InferenceTypeSchema",
215
+ "location": {
216
+ "filePath": "component-tree/scope-tree-node/scope-tree-node.tsx",
217
+ "line": 13,
218
+ "character": 39
219
+ },
220
+ "name": "depth",
221
+ "type": "number",
222
+ "isSpread": false
223
+ }
224
+ ],
225
+ "isSpread": false
226
+ },
227
+ "returnType": {
228
+ "__schema": "TypeRefSchema",
229
+ "location": {
230
+ "filePath": "component-tree/scope-tree-node/scope-tree-node.tsx",
231
+ "line": 13,
232
+ "character": 1
233
+ },
234
+ "name": "React.JSX.Element",
235
+ "packageName": "react"
236
+ },
237
+ "modifiers": [
238
+ "export"
239
+ ]
240
+ },
241
+ {
242
+ "__schema": "ReactSchema",
243
+ "location": {
244
+ "filePath": "component-tree/namespace-tree-node/namespace-tree-node.tsx",
245
+ "line": 13,
246
+ "character": 1
247
+ },
248
+ "signature": "function NamespaceTreeNode({ node, depth }: NamespaceTreeNodeProps): React.JSX.Element",
249
+ "name": "NamespaceTreeNode",
250
+ "props": {
251
+ "__schema": "ParameterSchema",
252
+ "location": {
253
+ "filePath": "component-tree/namespace-tree-node/namespace-tree-node.tsx",
254
+ "line": 13,
255
+ "character": 35
256
+ },
257
+ "name": "{ node, depth }",
258
+ "type": {
259
+ "__schema": "TypeRefSchema",
260
+ "location": {
261
+ "filePath": "component-tree/namespace-tree-node/namespace-tree-node.tsx",
262
+ "line": 13,
263
+ "character": 52
264
+ },
265
+ "name": "NamespaceTreeNodeProps",
266
+ "internalFilePath": "component-tree/namespace-tree-node/namespace-tree-node.tsx"
267
+ },
268
+ "isOptional": false,
269
+ "objectBindingNodes": [
270
+ {
271
+ "__schema": "InferenceTypeSchema",
272
+ "location": {
273
+ "filePath": "component-tree/namespace-tree-node/namespace-tree-node.tsx",
274
+ "line": 13,
275
+ "character": 37
276
+ },
277
+ "name": "node",
278
+ "type": "TreeNode<PayloadType>",
279
+ "isSpread": false
280
+ },
281
+ {
282
+ "__schema": "InferenceTypeSchema",
283
+ "location": {
284
+ "filePath": "component-tree/namespace-tree-node/namespace-tree-node.tsx",
285
+ "line": 13,
286
+ "character": 43
287
+ },
288
+ "name": "depth",
289
+ "type": "number",
290
+ "isSpread": false
291
+ }
292
+ ],
293
+ "isSpread": false
294
+ },
295
+ "returnType": {
296
+ "__schema": "TypeRefSchema",
297
+ "location": {
298
+ "filePath": "component-tree/namespace-tree-node/namespace-tree-node.tsx",
299
+ "line": 13,
300
+ "character": 1
301
+ },
302
+ "name": "React.JSX.Element",
303
+ "packageName": "react"
304
+ },
305
+ "modifiers": [
306
+ "export"
307
+ ]
308
+ },
309
+ {
310
+ "__schema": "TypeSchema",
311
+ "location": {
312
+ "filePath": "component-tree/payload-type.tsx",
313
+ "line": 10,
314
+ "character": 1
315
+ },
316
+ "signature": "type PayloadType = ComponentModel | LaneModel | ScopePayload",
317
+ "name": "PayloadType",
318
+ "type": {
319
+ "__schema": "TypeUnionSchema",
320
+ "location": {
321
+ "filePath": "component-tree/payload-type.tsx",
322
+ "line": 10,
323
+ "character": 27
324
+ },
325
+ "types": [
326
+ {
327
+ "__schema": "TypeRefSchema",
328
+ "location": {
329
+ "filePath": "component-tree/payload-type.tsx",
330
+ "line": 10,
331
+ "character": 27
332
+ },
333
+ "name": "ComponentModel",
334
+ "componentId": {
335
+ "scope": "teambit.component",
336
+ "name": "component"
337
+ }
338
+ },
339
+ {
340
+ "__schema": "TypeRefSchema",
341
+ "location": {
342
+ "filePath": "component-tree/payload-type.tsx",
343
+ "line": 10,
344
+ "character": 44
345
+ },
346
+ "name": "ScopePayload"
347
+ },
348
+ {
349
+ "__schema": "TypeRefSchema",
350
+ "location": {
351
+ "filePath": "component-tree/payload-type.tsx",
352
+ "line": 10,
353
+ "character": 59
354
+ },
355
+ "name": "LaneModel",
356
+ "componentId": {
357
+ "scope": "teambit.lanes",
358
+ "name": "ui/models/lanes-model",
359
+ "version": "7a6eb9bfc091000643131b8b3743784d42ef14ac"
360
+ }
361
+ },
362
+ {
363
+ "__schema": "KeywordTypeSchema",
364
+ "location": {
365
+ "filePath": "component-tree/payload-type.tsx",
366
+ "line": 10,
367
+ "character": 71
368
+ },
369
+ "name": "undefined"
370
+ }
371
+ ]
372
+ }
373
+ },
374
+ {
375
+ "__schema": "ClassSchema",
376
+ "location": {
377
+ "filePath": "component-tree/payload-type.tsx",
378
+ "line": 4,
379
+ "character": 1
380
+ },
381
+ "signature": "class ScopePayload",
382
+ "name": "ScopePayload",
383
+ "members": [
384
+ {
385
+ "__schema": "GetAccessorSchema",
386
+ "location": {
387
+ "filePath": "component-tree/payload-type.tsx",
388
+ "line": 5,
389
+ "character": 3
390
+ },
391
+ "signature": "(getter) ScopePayload.isScope: boolean",
392
+ "name": "isScope",
393
+ "type": {
394
+ "__schema": "InferenceTypeSchema",
395
+ "location": {
396
+ "filePath": "component-tree/payload-type.tsx",
397
+ "line": 5,
398
+ "character": 3
399
+ },
400
+ "type": "boolean"
401
+ }
402
+ }
403
+ ],
404
+ "extendsNodes": [],
405
+ "implementNodes": []
406
+ }
407
+ ],
408
+ "internals": []
409
+ },
410
+ "internals": [
411
+ {
412
+ "__schema": "ModuleSchema",
413
+ "location": {
414
+ "filePath": "component-tree/payload-type.tsx",
415
+ "line": 1,
416
+ "character": 1
417
+ },
418
+ "exports": [
419
+ {
420
+ "__schema": "ClassSchema",
421
+ "location": {
422
+ "filePath": "component-tree/payload-type.tsx",
423
+ "line": 4,
424
+ "character": 1
425
+ },
426
+ "signature": "class ScopePayload",
427
+ "name": "ScopePayload",
428
+ "members": [
429
+ {
430
+ "__schema": "GetAccessorSchema",
431
+ "location": {
432
+ "filePath": "component-tree/payload-type.tsx",
433
+ "line": 5,
434
+ "character": 3
435
+ },
436
+ "signature": "(getter) ScopePayload.isScope: boolean",
437
+ "name": "isScope",
438
+ "type": {
439
+ "__schema": "InferenceTypeSchema",
440
+ "location": {
441
+ "filePath": "component-tree/payload-type.tsx",
442
+ "line": 5,
443
+ "character": 3
444
+ },
445
+ "type": "boolean"
446
+ }
447
+ }
448
+ ],
449
+ "extendsNodes": [],
450
+ "implementNodes": []
451
+ },
452
+ {
453
+ "__schema": "TypeSchema",
454
+ "location": {
455
+ "filePath": "component-tree/payload-type.tsx",
456
+ "line": 10,
457
+ "character": 1
458
+ },
459
+ "signature": "type PayloadType = ComponentModel | LaneModel | ScopePayload",
460
+ "name": "PayloadType",
461
+ "type": {
462
+ "__schema": "TypeUnionSchema",
463
+ "location": {
464
+ "filePath": "component-tree/payload-type.tsx",
465
+ "line": 10,
466
+ "character": 27
467
+ },
468
+ "types": [
469
+ {
470
+ "__schema": "TypeRefSchema",
471
+ "location": {
472
+ "filePath": "component-tree/payload-type.tsx",
473
+ "line": 10,
474
+ "character": 27
475
+ },
476
+ "name": "ComponentModel",
477
+ "componentId": {
478
+ "scope": "teambit.component",
479
+ "name": "component"
480
+ }
481
+ },
482
+ {
483
+ "__schema": "TypeRefSchema",
484
+ "location": {
485
+ "filePath": "component-tree/payload-type.tsx",
486
+ "line": 10,
487
+ "character": 44
488
+ },
489
+ "name": "ScopePayload"
490
+ },
491
+ {
492
+ "__schema": "TypeRefSchema",
493
+ "location": {
494
+ "filePath": "component-tree/payload-type.tsx",
495
+ "line": 10,
496
+ "character": 59
497
+ },
498
+ "name": "LaneModel",
499
+ "componentId": {
500
+ "scope": "teambit.lanes",
501
+ "name": "ui/models/lanes-model",
502
+ "version": "7a6eb9bfc091000643131b8b3743784d42ef14ac"
503
+ }
504
+ },
505
+ {
506
+ "__schema": "KeywordTypeSchema",
507
+ "location": {
508
+ "filePath": "component-tree/payload-type.tsx",
509
+ "line": 10,
510
+ "character": 71
511
+ },
512
+ "name": "undefined"
513
+ }
514
+ ]
515
+ }
516
+ }
517
+ ],
518
+ "internals": []
519
+ },
520
+ {
521
+ "__schema": "ModuleSchema",
522
+ "location": {
523
+ "filePath": "component-tree/component-tree.tsx",
524
+ "line": 1,
525
+ "character": 1
526
+ },
527
+ "exports": [
528
+ {
529
+ "__schema": "ReactSchema",
530
+ "location": {
531
+ "filePath": "component-tree/component-tree.tsx",
532
+ "line": 20,
533
+ "character": 1
534
+ },
535
+ "signature": "function ComponentTree({ components, isCollapsed, className, transformTree, TreeNode, }: ComponentTreeProps): React.JSX.Element",
536
+ "name": "ComponentTree",
537
+ "props": {
538
+ "__schema": "ParameterSchema",
539
+ "location": {
540
+ "filePath": "component-tree/component-tree.tsx",
541
+ "line": 20,
542
+ "character": 31
543
+ },
544
+ "name": "{ components, isCollapsed, className, transformTree, TreeNode = DefaultTreeNodeRenderer }",
545
+ "type": {
546
+ "__schema": "TypeRefSchema",
547
+ "location": {
548
+ "filePath": "component-tree/component-tree.tsx",
549
+ "line": 27,
550
+ "character": 4
551
+ },
552
+ "name": "ComponentTreeProps",
553
+ "internalFilePath": "component-tree/component-tree.tsx"
554
+ },
555
+ "isOptional": false,
556
+ "objectBindingNodes": [
557
+ {
558
+ "__schema": "InferenceTypeSchema",
559
+ "location": {
560
+ "filePath": "component-tree/component-tree.tsx",
561
+ "line": 21,
562
+ "character": 3
563
+ },
564
+ "name": "components",
565
+ "type": "ComponentModel[]",
566
+ "isSpread": false
567
+ },
568
+ {
569
+ "__schema": "InferenceTypeSchema",
570
+ "location": {
571
+ "filePath": "component-tree/component-tree.tsx",
572
+ "line": 22,
573
+ "character": 3
574
+ },
575
+ "name": "isCollapsed",
576
+ "type": "boolean",
577
+ "isSpread": false
578
+ },
579
+ {
580
+ "__schema": "InferenceTypeSchema",
581
+ "location": {
582
+ "filePath": "component-tree/component-tree.tsx",
583
+ "line": 23,
584
+ "character": 3
585
+ },
586
+ "name": "className",
587
+ "type": "string",
588
+ "isSpread": false
589
+ },
590
+ {
591
+ "__schema": "InferenceTypeSchema",
592
+ "location": {
593
+ "filePath": "component-tree/component-tree.tsx",
594
+ "line": 24,
595
+ "character": 3
596
+ },
597
+ "name": "transformTree",
598
+ "type": "(rootNode: TreeNodeType<any>) => TreeNodeType<any>",
599
+ "isSpread": false
600
+ },
601
+ {
602
+ "__schema": "InferenceTypeSchema",
603
+ "location": {
604
+ "filePath": "component-tree/component-tree.tsx",
605
+ "line": 26,
606
+ "character": 3
607
+ },
608
+ "name": "TreeNode",
609
+ "type": "TreeNodeRenderer<PayloadType>",
610
+ "defaultValue": "DefaultTreeNodeRenderer",
611
+ "isSpread": false
612
+ }
613
+ ],
614
+ "isSpread": false
615
+ },
616
+ "returnType": {
617
+ "__schema": "TypeRefSchema",
618
+ "location": {
619
+ "filePath": "component-tree/component-tree.tsx",
620
+ "line": 20,
621
+ "character": 1
622
+ },
623
+ "name": "React.JSX.Element",
624
+ "packageName": "react"
625
+ },
626
+ "modifiers": [
627
+ "export"
628
+ ]
629
+ }
630
+ ],
631
+ "internals": [
632
+ {
633
+ "__schema": "TypeSchema",
634
+ "location": {
635
+ "filePath": "component-tree/component-tree.tsx",
636
+ "line": 12,
637
+ "character": 1
638
+ },
639
+ "signature": "type ComponentTreeProps = {\n components: ComponentModel[];\n transformTree?: (rootNode: TreeNodeType) => TreeNodeType;\n TreeNode?: TreeNodeRenderer<PayloadType>;\n isCollapsed?: boolean;\n assumeScopeInUrl?: boolean;\n} & React.HTMLAttributes<HTMLDivElement>",
640
+ "name": "ComponentTreeProps",
641
+ "type": {
642
+ "__schema": "TypeIntersectionSchema",
643
+ "location": {
644
+ "filePath": "component-tree/component-tree.tsx",
645
+ "line": 12,
646
+ "character": 27
647
+ },
648
+ "types": [
649
+ {
650
+ "__schema": "TypeLiteralSchema",
651
+ "location": {
652
+ "filePath": "component-tree/component-tree.tsx",
653
+ "line": 12,
654
+ "character": 27
655
+ },
656
+ "members": [
657
+ {
658
+ "__schema": "VariableLikeSchema",
659
+ "location": {
660
+ "filePath": "component-tree/component-tree.tsx",
661
+ "line": 13,
662
+ "character": 3
663
+ },
664
+ "signature": "(property) components: ComponentModel[]",
665
+ "name": "components",
666
+ "type": {
667
+ "__schema": "TypeArraySchema",
668
+ "location": {
669
+ "filePath": "component-tree/component-tree.tsx",
670
+ "line": 13,
671
+ "character": 15
672
+ },
673
+ "type": {
674
+ "__schema": "TypeRefSchema",
675
+ "location": {
676
+ "filePath": "component-tree/component-tree.tsx",
677
+ "line": 13,
678
+ "character": 15
679
+ },
680
+ "name": "ComponentModel",
681
+ "componentId": {
682
+ "scope": "teambit.component",
683
+ "name": "component"
684
+ }
685
+ }
686
+ },
687
+ "isOptional": false
688
+ },
689
+ {
690
+ "__schema": "VariableLikeSchema",
691
+ "location": {
692
+ "filePath": "component-tree/component-tree.tsx",
693
+ "line": 14,
694
+ "character": 3
695
+ },
696
+ "signature": "(property) transformTree?: (rootNode: TreeNodeType) => TreeNodeType",
697
+ "name": "transformTree",
698
+ "type": {
699
+ "__schema": "FunctionLikeSchema",
700
+ "location": {
701
+ "filePath": "component-tree/component-tree.tsx",
702
+ "line": 14,
703
+ "character": 19
704
+ },
705
+ "signature": "(rootNode: TreeNodeType): TreeNodeType",
706
+ "name": "",
707
+ "params": [
708
+ {
709
+ "__schema": "ParameterSchema",
710
+ "location": {
711
+ "filePath": "component-tree/component-tree.tsx",
712
+ "line": 14,
713
+ "character": 20
714
+ },
715
+ "name": "rootNode",
716
+ "type": {
717
+ "__schema": "TypeRefSchema",
718
+ "location": {
719
+ "filePath": "component-tree/component-tree.tsx",
720
+ "line": 14,
721
+ "character": 30
722
+ },
723
+ "name": "TreeNodeType"
724
+ },
725
+ "isOptional": false,
726
+ "isSpread": false
727
+ }
728
+ ],
729
+ "returnType": {
730
+ "__schema": "TypeRefSchema",
731
+ "location": {
732
+ "filePath": "component-tree/component-tree.tsx",
733
+ "line": 14,
734
+ "character": 47
735
+ },
736
+ "name": "TreeNodeType"
737
+ },
738
+ "modifiers": []
739
+ },
740
+ "isOptional": true
741
+ },
742
+ {
743
+ "__schema": "VariableLikeSchema",
744
+ "location": {
745
+ "filePath": "component-tree/component-tree.tsx",
746
+ "line": 15,
747
+ "character": 3
748
+ },
749
+ "signature": "(property) TreeNode?: TreeNodeRenderer<PayloadType>",
750
+ "name": "TreeNode",
751
+ "type": {
752
+ "__schema": "TypeRefSchema",
753
+ "location": {
754
+ "filePath": "component-tree/component-tree.tsx",
755
+ "line": 15,
756
+ "character": 14
757
+ },
758
+ "name": "TreeNodeRenderer",
759
+ "componentId": {
760
+ "scope": "teambit.design",
761
+ "name": "ui/tree",
762
+ "version": "0.0.15"
763
+ },
764
+ "typeArgs": [
765
+ {
766
+ "__schema": "TypeRefSchema",
767
+ "location": {
768
+ "filePath": "component-tree/component-tree.tsx",
769
+ "line": 15,
770
+ "character": 31
771
+ },
772
+ "name": "PayloadType"
773
+ }
774
+ ]
775
+ },
776
+ "isOptional": true
777
+ },
778
+ {
779
+ "__schema": "VariableLikeSchema",
780
+ "location": {
781
+ "filePath": "component-tree/component-tree.tsx",
782
+ "line": 16,
783
+ "character": 3
784
+ },
785
+ "signature": "(property) isCollapsed?: boolean",
786
+ "name": "isCollapsed",
787
+ "type": {
788
+ "__schema": "KeywordTypeSchema",
789
+ "location": {
790
+ "filePath": "component-tree/component-tree.tsx",
791
+ "line": 16,
792
+ "character": 17
793
+ },
794
+ "name": "boolean"
795
+ },
796
+ "isOptional": true
797
+ },
798
+ {
799
+ "__schema": "VariableLikeSchema",
800
+ "location": {
801
+ "filePath": "component-tree/component-tree.tsx",
802
+ "line": 17,
803
+ "character": 3
804
+ },
805
+ "signature": "(property) assumeScopeInUrl?: boolean",
806
+ "name": "assumeScopeInUrl",
807
+ "type": {
808
+ "__schema": "KeywordTypeSchema",
809
+ "location": {
810
+ "filePath": "component-tree/component-tree.tsx",
811
+ "line": 17,
812
+ "character": 22
813
+ },
814
+ "name": "boolean"
815
+ },
816
+ "isOptional": true
817
+ }
818
+ ]
819
+ },
820
+ {
821
+ "__schema": "TypeRefSchema",
822
+ "location": {
823
+ "filePath": "component-tree/component-tree.tsx",
824
+ "line": 18,
825
+ "character": 5
826
+ },
827
+ "name": "React.HTMLAttributes",
828
+ "typeArgs": [
829
+ {
830
+ "__schema": "TypeRefSchema",
831
+ "location": {
832
+ "filePath": "component-tree/component-tree.tsx",
833
+ "line": 18,
834
+ "character": 26
835
+ },
836
+ "name": "HTMLDivElement"
837
+ }
838
+ ]
839
+ }
840
+ ]
841
+ }
842
+ },
843
+ {
844
+ "__schema": "FunctionLikeSchema",
845
+ "location": {
846
+ "filePath": "component-tree/component-tree.tsx",
847
+ "line": 59,
848
+ "character": 1
849
+ },
850
+ "signature": "function calcPayload(components: ComponentModel[]): Map<string, PayloadType>",
851
+ "name": "calcPayload",
852
+ "params": [
853
+ {
854
+ "__schema": "ParameterSchema",
855
+ "location": {
856
+ "filePath": "component-tree/component-tree.tsx",
857
+ "line": 59,
858
+ "character": 22
859
+ },
860
+ "name": "components",
861
+ "type": {
862
+ "__schema": "TypeArraySchema",
863
+ "location": {
864
+ "filePath": "component-tree/component-tree.tsx",
865
+ "line": 59,
866
+ "character": 34
867
+ },
868
+ "type": {
869
+ "__schema": "TypeRefSchema",
870
+ "location": {
871
+ "filePath": "component-tree/component-tree.tsx",
872
+ "line": 59,
873
+ "character": 34
874
+ },
875
+ "name": "ComponentModel",
876
+ "componentId": {
877
+ "scope": "teambit.component",
878
+ "name": "component"
879
+ }
880
+ }
881
+ },
882
+ "isOptional": false,
883
+ "isSpread": false
884
+ }
885
+ ],
886
+ "returnType": {
887
+ "__schema": "InferenceTypeSchema",
888
+ "location": {
889
+ "filePath": "component-tree/component-tree.tsx",
890
+ "line": 59,
891
+ "character": 1
892
+ },
893
+ "type": "Map<string, PayloadType>"
894
+ },
895
+ "modifiers": []
896
+ }
897
+ ]
898
+ },
899
+ {
900
+ "__schema": "ModuleSchema",
901
+ "location": {
902
+ "filePath": "component-tree/component-view/component-view.tsx",
903
+ "line": 1,
904
+ "character": 1
905
+ },
906
+ "exports": [
907
+ {
908
+ "__schema": "TypeSchema",
909
+ "location": {
910
+ "filePath": "component-tree/component-view/component-view.tsx",
911
+ "line": 21,
912
+ "character": 1
913
+ },
914
+ "signature": "type ComponentViewProps<Payload = any> = {\n treeNodeSlot?: ComponentTreeSlot;\n useLanes?: () => {\n lanesModel?: LanesModel;\n };\n scopeName?: string;\n} & TreeNodeProps<Payload>",
915
+ "name": "ComponentViewProps",
916
+ "type": {
917
+ "__schema": "TypeIntersectionSchema",
918
+ "location": {
919
+ "filePath": "component-tree/component-view/component-view.tsx",
920
+ "line": 21,
921
+ "character": 49
922
+ },
923
+ "types": [
924
+ {
925
+ "__schema": "TypeLiteralSchema",
926
+ "location": {
927
+ "filePath": "component-tree/component-view/component-view.tsx",
928
+ "line": 21,
929
+ "character": 49
930
+ },
931
+ "members": [
932
+ {
933
+ "__schema": "VariableLikeSchema",
934
+ "location": {
935
+ "filePath": "component-tree/component-view/component-view.tsx",
936
+ "line": 22,
937
+ "character": 3
938
+ },
939
+ "signature": "(property) treeNodeSlot?: ComponentTreeSlot",
940
+ "name": "treeNodeSlot",
941
+ "type": {
942
+ "__schema": "TypeRefSchema",
943
+ "location": {
944
+ "filePath": "component-tree/component-view/component-view.tsx",
945
+ "line": 22,
946
+ "character": 3
947
+ },
948
+ "name": "ComponentTreeSlot",
949
+ "componentId": {
950
+ "scope": "teambit.component",
951
+ "name": "component-tree"
952
+ }
953
+ },
954
+ "isOptional": true
955
+ },
956
+ {
957
+ "__schema": "VariableLikeSchema",
958
+ "location": {
959
+ "filePath": "component-tree/component-view/component-view.tsx",
960
+ "line": 23,
961
+ "character": 3
962
+ },
963
+ "signature": "(property) useLanes?: () => {\n lanesModel?: LanesModel;\n}",
964
+ "name": "useLanes",
965
+ "type": {
966
+ "__schema": "FunctionLikeSchema",
967
+ "location": {
968
+ "filePath": "component-tree/component-view/component-view.tsx",
969
+ "line": 23,
970
+ "character": 14
971
+ },
972
+ "signature": "(): { \u001b[1mlanesModel\u001b[22m?: \u001b[2m(component: teambit.lanes/ui/models/lanes-model)\u001b[22m LanesModel }",
973
+ "name": "",
974
+ "params": [],
975
+ "returnType": {
976
+ "__schema": "TypeLiteralSchema",
977
+ "location": {
978
+ "filePath": "component-tree/component-view/component-view.tsx",
979
+ "line": 23,
980
+ "character": 20
981
+ },
982
+ "members": [
983
+ {
984
+ "__schema": "VariableLikeSchema",
985
+ "location": {
986
+ "filePath": "component-tree/component-view/component-view.tsx",
987
+ "line": 23,
988
+ "character": 22
989
+ },
990
+ "signature": "(property) lanesModel?: LanesModel",
991
+ "name": "lanesModel",
992
+ "type": {
993
+ "__schema": "TypeRefSchema",
994
+ "location": {
995
+ "filePath": "component-tree/component-view/component-view.tsx",
996
+ "line": 23,
997
+ "character": 22
998
+ },
999
+ "name": "LanesModel",
1000
+ "componentId": {
1001
+ "scope": "teambit.lanes",
1002
+ "name": "ui/models/lanes-model",
1003
+ "version": "7a6eb9bfc091000643131b8b3743784d42ef14ac"
1004
+ }
1005
+ },
1006
+ "isOptional": true
1007
+ }
1008
+ ]
1009
+ },
1010
+ "modifiers": []
1011
+ },
1012
+ "isOptional": true
1013
+ },
1014
+ {
1015
+ "__schema": "VariableLikeSchema",
1016
+ "location": {
1017
+ "filePath": "component-tree/component-view/component-view.tsx",
1018
+ "line": 24,
1019
+ "character": 3
1020
+ },
1021
+ "signature": "(property) scopeName?: string",
1022
+ "name": "scopeName",
1023
+ "type": {
1024
+ "__schema": "KeywordTypeSchema",
1025
+ "location": {
1026
+ "filePath": "component-tree/component-view/component-view.tsx",
1027
+ "line": 24,
1028
+ "character": 15
1029
+ },
1030
+ "name": "string"
1031
+ },
1032
+ "isOptional": true
1033
+ }
1034
+ ]
1035
+ },
1036
+ {
1037
+ "__schema": "TypeRefSchema",
1038
+ "location": {
1039
+ "filePath": "component-tree/component-view/component-view.tsx",
1040
+ "line": 25,
1041
+ "character": 5
1042
+ },
1043
+ "name": "TreeNodeProps",
1044
+ "componentId": {
1045
+ "scope": "teambit.base-ui",
1046
+ "name": "graph/tree/recursive-tree",
1047
+ "version": "1.0.0"
1048
+ },
1049
+ "typeArgs": [
1050
+ {
1051
+ "__schema": "TypeRefSchema",
1052
+ "location": {
1053
+ "filePath": "component-tree/component-view/component-view.tsx",
1054
+ "line": 25,
1055
+ "character": 19
1056
+ },
1057
+ "name": "Payload"
1058
+ }
1059
+ ]
1060
+ }
1061
+ ]
1062
+ }
1063
+ },
1064
+ {
1065
+ "__schema": "ReactSchema",
1066
+ "location": {
1067
+ "filePath": "component-tree/component-view/component-view.tsx",
1068
+ "line": 27,
1069
+ "character": 1
1070
+ },
1071
+ "signature": "function ComponentView(props: ComponentViewProps<PayloadType>): React.JSX.Element",
1072
+ "name": "ComponentView",
1073
+ "props": {
1074
+ "__schema": "ParameterSchema",
1075
+ "location": {
1076
+ "filePath": "component-tree/component-view/component-view.tsx",
1077
+ "line": 27,
1078
+ "character": 31
1079
+ },
1080
+ "name": "props",
1081
+ "type": {
1082
+ "__schema": "TypeRefSchema",
1083
+ "location": {
1084
+ "filePath": "component-tree/component-view/component-view.tsx",
1085
+ "line": 27,
1086
+ "character": 38
1087
+ },
1088
+ "name": "ComponentViewProps",
1089
+ "internalFilePath": "component-tree/component-view/component-view.tsx",
1090
+ "typeArgs": [
1091
+ {
1092
+ "__schema": "TypeRefSchema",
1093
+ "location": {
1094
+ "filePath": "component-tree/component-view/component-view.tsx",
1095
+ "line": 27,
1096
+ "character": 57
1097
+ },
1098
+ "name": "PayloadType"
1099
+ }
1100
+ ]
1101
+ },
1102
+ "isOptional": false,
1103
+ "isSpread": false
1104
+ },
1105
+ "returnType": {
1106
+ "__schema": "TypeRefSchema",
1107
+ "location": {
1108
+ "filePath": "component-tree/component-view/component-view.tsx",
1109
+ "line": 27,
1110
+ "character": 1
1111
+ },
1112
+ "name": "React.JSX.Element",
1113
+ "packageName": "react"
1114
+ },
1115
+ "modifiers": [
1116
+ "export"
1117
+ ]
1118
+ }
1119
+ ],
1120
+ "internals": []
1121
+ },
1122
+ {
1123
+ "__schema": "ModuleSchema",
1124
+ "location": {
1125
+ "filePath": "component-tree/scope-tree-node/scope-tree-node.tsx",
1126
+ "line": 1,
1127
+ "character": 1
1128
+ },
1129
+ "exports": [
1130
+ {
1131
+ "__schema": "TypeSchema",
1132
+ "location": {
1133
+ "filePath": "component-tree/scope-tree-node/scope-tree-node.tsx",
1134
+ "line": 11,
1135
+ "character": 1
1136
+ },
1137
+ "signature": "type ScopeTreeNodeProps = {\n node: TreeNode<PayloadType>;\n depth: number;\n TreeNode?: TreeNodeProps<PayloadType>;\n}",
1138
+ "name": "ScopeTreeNodeProps",
1139
+ "type": {
1140
+ "__schema": "TypeIntersectionSchema",
1141
+ "location": {
1142
+ "filePath": "component-tree/scope-tree-node/scope-tree-node.tsx",
1143
+ "line": 11,
1144
+ "character": 34
1145
+ },
1146
+ "types": [
1147
+ {
1148
+ "__schema": "TypeLiteralSchema",
1149
+ "location": {
1150
+ "filePath": "component-tree/scope-tree-node/scope-tree-node.tsx",
1151
+ "line": 11,
1152
+ "character": 34
1153
+ },
1154
+ "members": []
1155
+ },
1156
+ {
1157
+ "__schema": "TypeRefSchema",
1158
+ "location": {
1159
+ "filePath": "component-tree/scope-tree-node/scope-tree-node.tsx",
1160
+ "line": 11,
1161
+ "character": 39
1162
+ },
1163
+ "name": "TreeNodeProps",
1164
+ "componentId": {
1165
+ "scope": "teambit.design",
1166
+ "name": "ui/tree",
1167
+ "version": "0.0.15"
1168
+ },
1169
+ "typeArgs": [
1170
+ {
1171
+ "__schema": "TypeRefSchema",
1172
+ "location": {
1173
+ "filePath": "component-tree/scope-tree-node/scope-tree-node.tsx",
1174
+ "line": 11,
1175
+ "character": 53
1176
+ },
1177
+ "name": "PayloadType"
1178
+ }
1179
+ ]
1180
+ }
1181
+ ]
1182
+ }
1183
+ },
1184
+ {
1185
+ "__schema": "ReactSchema",
1186
+ "location": {
1187
+ "filePath": "component-tree/scope-tree-node/scope-tree-node.tsx",
1188
+ "line": 13,
1189
+ "character": 1
1190
+ },
1191
+ "signature": "function ScopeTreeNode({ node, depth }: ScopeTreeNodeProps): React.JSX.Element",
1192
+ "name": "ScopeTreeNode",
1193
+ "props": {
1194
+ "__schema": "ParameterSchema",
1195
+ "location": {
1196
+ "filePath": "component-tree/scope-tree-node/scope-tree-node.tsx",
1197
+ "line": 13,
1198
+ "character": 31
1199
+ },
1200
+ "name": "{ node, depth }",
1201
+ "type": {
1202
+ "__schema": "TypeRefSchema",
1203
+ "location": {
1204
+ "filePath": "component-tree/scope-tree-node/scope-tree-node.tsx",
1205
+ "line": 13,
1206
+ "character": 48
1207
+ },
1208
+ "name": "ScopeTreeNodeProps",
1209
+ "internalFilePath": "component-tree/scope-tree-node/scope-tree-node.tsx"
1210
+ },
1211
+ "isOptional": false,
1212
+ "objectBindingNodes": [
1213
+ {
1214
+ "__schema": "InferenceTypeSchema",
1215
+ "location": {
1216
+ "filePath": "component-tree/scope-tree-node/scope-tree-node.tsx",
1217
+ "line": 13,
1218
+ "character": 33
1219
+ },
1220
+ "name": "node",
1221
+ "type": "TreeNode<PayloadType>",
1222
+ "isSpread": false
1223
+ },
1224
+ {
1225
+ "__schema": "InferenceTypeSchema",
1226
+ "location": {
1227
+ "filePath": "component-tree/scope-tree-node/scope-tree-node.tsx",
1228
+ "line": 13,
1229
+ "character": 39
1230
+ },
1231
+ "name": "depth",
1232
+ "type": "number",
1233
+ "isSpread": false
1234
+ }
1235
+ ],
1236
+ "isSpread": false
1237
+ },
1238
+ "returnType": {
1239
+ "__schema": "TypeRefSchema",
1240
+ "location": {
1241
+ "filePath": "component-tree/scope-tree-node/scope-tree-node.tsx",
1242
+ "line": 13,
1243
+ "character": 1
1244
+ },
1245
+ "name": "React.JSX.Element",
1246
+ "packageName": "react"
1247
+ },
1248
+ "modifiers": [
1249
+ "export"
1250
+ ]
1251
+ }
1252
+ ],
1253
+ "internals": []
1254
+ },
1255
+ {
1256
+ "__schema": "ModuleSchema",
1257
+ "location": {
1258
+ "filePath": "component-tree/namespace-tree-node/namespace-tree-node.tsx",
1259
+ "line": 1,
1260
+ "character": 1
1261
+ },
1262
+ "exports": [
1263
+ {
1264
+ "__schema": "TypeSchema",
1265
+ "location": {
1266
+ "filePath": "component-tree/namespace-tree-node/namespace-tree-node.tsx",
1267
+ "line": 11,
1268
+ "character": 1
1269
+ },
1270
+ "signature": "type NamespaceTreeNodeProps = {\n node: TreeNode<PayloadType>;\n depth: number;\n TreeNode?: TreeNodeProps<PayloadType>;\n}",
1271
+ "name": "NamespaceTreeNodeProps",
1272
+ "type": {
1273
+ "__schema": "TypeIntersectionSchema",
1274
+ "location": {
1275
+ "filePath": "component-tree/namespace-tree-node/namespace-tree-node.tsx",
1276
+ "line": 11,
1277
+ "character": 38
1278
+ },
1279
+ "types": [
1280
+ {
1281
+ "__schema": "TypeLiteralSchema",
1282
+ "location": {
1283
+ "filePath": "component-tree/namespace-tree-node/namespace-tree-node.tsx",
1284
+ "line": 11,
1285
+ "character": 38
1286
+ },
1287
+ "members": []
1288
+ },
1289
+ {
1290
+ "__schema": "TypeRefSchema",
1291
+ "location": {
1292
+ "filePath": "component-tree/namespace-tree-node/namespace-tree-node.tsx",
1293
+ "line": 11,
1294
+ "character": 43
1295
+ },
1296
+ "name": "TreeNodeProps",
1297
+ "componentId": {
1298
+ "scope": "teambit.design",
1299
+ "name": "ui/tree",
1300
+ "version": "0.0.15"
1301
+ },
1302
+ "typeArgs": [
1303
+ {
1304
+ "__schema": "TypeRefSchema",
1305
+ "location": {
1306
+ "filePath": "component-tree/namespace-tree-node/namespace-tree-node.tsx",
1307
+ "line": 11,
1308
+ "character": 57
1309
+ },
1310
+ "name": "PayloadType"
1311
+ }
1312
+ ]
1313
+ }
1314
+ ]
1315
+ }
1316
+ },
1317
+ {
1318
+ "__schema": "ReactSchema",
1319
+ "location": {
1320
+ "filePath": "component-tree/namespace-tree-node/namespace-tree-node.tsx",
1321
+ "line": 13,
1322
+ "character": 1
1323
+ },
1324
+ "signature": "function NamespaceTreeNode({ node, depth }: NamespaceTreeNodeProps): React.JSX.Element",
1325
+ "name": "NamespaceTreeNode",
1326
+ "props": {
1327
+ "__schema": "ParameterSchema",
1328
+ "location": {
1329
+ "filePath": "component-tree/namespace-tree-node/namespace-tree-node.tsx",
1330
+ "line": 13,
1331
+ "character": 35
1332
+ },
1333
+ "name": "{ node, depth }",
1334
+ "type": {
1335
+ "__schema": "TypeRefSchema",
1336
+ "location": {
1337
+ "filePath": "component-tree/namespace-tree-node/namespace-tree-node.tsx",
1338
+ "line": 13,
1339
+ "character": 52
1340
+ },
1341
+ "name": "NamespaceTreeNodeProps",
1342
+ "internalFilePath": "component-tree/namespace-tree-node/namespace-tree-node.tsx"
1343
+ },
1344
+ "isOptional": false,
1345
+ "objectBindingNodes": [
1346
+ {
1347
+ "__schema": "InferenceTypeSchema",
1348
+ "location": {
1349
+ "filePath": "component-tree/namespace-tree-node/namespace-tree-node.tsx",
1350
+ "line": 13,
1351
+ "character": 37
1352
+ },
1353
+ "name": "node",
1354
+ "type": "TreeNode<PayloadType>",
1355
+ "isSpread": false
1356
+ },
1357
+ {
1358
+ "__schema": "InferenceTypeSchema",
1359
+ "location": {
1360
+ "filePath": "component-tree/namespace-tree-node/namespace-tree-node.tsx",
1361
+ "line": 13,
1362
+ "character": 43
1363
+ },
1364
+ "name": "depth",
1365
+ "type": "number",
1366
+ "isSpread": false
1367
+ }
1368
+ ],
1369
+ "isSpread": false
1370
+ },
1371
+ "returnType": {
1372
+ "__schema": "TypeRefSchema",
1373
+ "location": {
1374
+ "filePath": "component-tree/namespace-tree-node/namespace-tree-node.tsx",
1375
+ "line": 13,
1376
+ "character": 1
1377
+ },
1378
+ "name": "React.JSX.Element",
1379
+ "packageName": "react"
1380
+ },
1381
+ "modifiers": [
1382
+ "export"
1383
+ ]
1384
+ }
1385
+ ],
1386
+ "internals": []
1387
+ }
1388
+ ],
1389
+ "componentId": {
1390
+ "scope": "teambit.ui-foundation",
1391
+ "name": "ui/side-bar",
1392
+ "version": "eaf210a62ad7bc08eaa7bbc5c100a9feb2c53747"
1393
+ },
1394
+ "taggedModuleExports": []
1395
+ }