@teambit/component-tree 1.0.186 → 1.0.188

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.
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.component/component-tree@1.0.186" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.component/component-tree@1.0.188" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.component/component-tree-preview"]=t():e["teambit.component/component-tree-preview"]=t()}(self,(()=>(()=>{"use strict";var e={70549:(e,t,o)=>{var n={id:"teambit.component/component-tree@1.0.186",homepage:"https://bit.cloud/teambit/component/component-tree",exported:!0};function r(){const e=i(o(41594));return r=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=n,i.__bit_component=n;const p=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/component-tree.svg"}));p.__bit_component=n,t.Logo=p},41594:e=>{e.exports=React}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{o.r(n),o.d(n,{compositions:()=>u,compositions_metadata:()=>f,overview:()=>m});var e={};o.r(e),o.d(e,{default:()=>d});var t=o(70549);o(41594);const r=MdxJsReact,i=TeambitMdxUiMdxScopeContext;var p=["components"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},c.apply(this,arguments)}var a={},s="wrapper";function d(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,p);return(0,r.mdx)(s,c({},a,o,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}d.isMDXComponent=!0;const u=[t],m=[e],f={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),n})()));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.component/component-tree-preview"]=t():e["teambit.component/component-tree-preview"]=t()}(self,(()=>(()=>{"use strict";var e={97919:(e,t,o)=>{var n={id:"teambit.component/component-tree@1.0.188",homepage:"https://bit.cloud/teambit/component/component-tree",exported:!0};function r(){const e=i(o(41594));return r=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=n,i.__bit_component=n;const p=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/component-tree.svg"}));p.__bit_component=n,t.Logo=p},41594:e=>{e.exports=React}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{o.r(n),o.d(n,{compositions:()=>u,compositions_metadata:()=>f,overview:()=>m});var e={};o.r(e),o.d(e,{default:()=>d});var t=o(97919);o(41594);const r=MdxJsReact,i=TeambitMdxUiMdxScopeContext;var p=["components"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},c.apply(this,arguments)}var a={},s="wrapper";function d(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,p);return(0,r.mdx)(s,c({},a,o,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}d.isMDXComponent=!0;const u=[t],m=[e],f={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),n})()));
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component-tree@1.0.186/dist/component-tree.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component-tree@1.0.186/dist/component-tree.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component-tree@1.0.188/dist/component-tree.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component-tree@1.0.188/dist/component-tree.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@teambit/component-tree",
3
- "version": "1.0.186",
3
+ "version": "1.0.188",
4
4
  "homepage": "https://bit.cloud/teambit/component/component-tree",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.component",
8
8
  "name": "component-tree",
9
- "version": "1.0.186"
9
+ "version": "1.0.188"
10
10
  },
11
11
  "dependencies": {
12
12
  "@teambit/harmony": "0.4.6",
13
- "@teambit/component": "1.0.186",
14
- "@teambit/ui": "1.0.186"
13
+ "@teambit/component": "1.0.188",
14
+ "@teambit/ui": "1.0.188"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/mocha": "9.1.0",
@@ -1,945 +0,0 @@
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": "VariableLikeSchema",
18
- "location": {
19
- "filePath": "component-tree.aspect.ts",
20
- "line": 3,
21
- "character": 14
22
- },
23
- "signature": "const ComponentTreeAspect: Aspect",
24
- "name": "ComponentTreeAspect",
25
- "type": {
26
- "__schema": "TypeRefSchema",
27
- "location": {
28
- "filePath": "component-tree.aspect.ts",
29
- "line": 3,
30
- "character": 14
31
- },
32
- "name": "Aspect",
33
- "componentId": {
34
- "scope": "teambit.harmony",
35
- "name": "harmony",
36
- "version": "0.4.6"
37
- }
38
- },
39
- "isOptional": false,
40
- "defaultValue": "Aspect.create({\n id: 'teambit.component/component-tree',\n})"
41
- },
42
- {
43
- "__schema": "ClassSchema",
44
- "location": {
45
- "filePath": "component-tree.ui.runtime.tsx",
46
- "line": 9,
47
- "character": 1
48
- },
49
- "signature": "class ComponentTreeUI",
50
- "name": "ComponentTreeUI",
51
- "members": [
52
- {
53
- "__schema": "ConstructorSchema",
54
- "location": {
55
- "filePath": "component-tree.ui.runtime.tsx",
56
- "line": 10,
57
- "character": 3
58
- },
59
- "signature": "constructor ComponentTreeUI(treeNodeSlot: ComponentTreeSlot): ComponentTreeUI",
60
- "name": "constructor",
61
- "params": [
62
- {
63
- "__schema": "ParameterSchema",
64
- "location": {
65
- "filePath": "component-tree.ui.runtime.tsx",
66
- "line": 10,
67
- "character": 15
68
- },
69
- "name": "treeNodeSlot",
70
- "type": {
71
- "__schema": "TypeRefSchema",
72
- "location": {
73
- "filePath": "component-tree.ui.runtime.tsx",
74
- "line": 10,
75
- "character": 37
76
- },
77
- "name": "ComponentTreeSlot"
78
- },
79
- "isOptional": false,
80
- "isSpread": false
81
- }
82
- ],
83
- "returnType": {
84
- "__schema": "ThisTypeSchema",
85
- "location": {
86
- "filePath": "component-tree.ui.runtime.tsx",
87
- "line": 9,
88
- "character": 1
89
- },
90
- "name": "ComponentTreeUI"
91
- },
92
- "modifiers": []
93
- },
94
- {
95
- "__schema": "FunctionLikeSchema",
96
- "location": {
97
- "filePath": "component-tree.ui.runtime.tsx",
98
- "line": 12,
99
- "character": 3
100
- },
101
- "signature": "(method) ComponentTreeUI.registerTreeNode(treeNode: ComponentTreeNode): this",
102
- "name": "registerTreeNode",
103
- "params": [
104
- {
105
- "__schema": "ParameterSchema",
106
- "location": {
107
- "filePath": "component-tree.ui.runtime.tsx",
108
- "line": 12,
109
- "character": 20
110
- },
111
- "name": "treeNode",
112
- "type": {
113
- "__schema": "TypeRefSchema",
114
- "location": {
115
- "filePath": "component-tree.ui.runtime.tsx",
116
- "line": 12,
117
- "character": 30
118
- },
119
- "name": "ComponentTreeNode"
120
- },
121
- "isOptional": false,
122
- "isSpread": false
123
- }
124
- ],
125
- "returnType": {
126
- "__schema": "TypeRefSchema",
127
- "location": {
128
- "filePath": "component-tree.ui.runtime.tsx",
129
- "line": 12,
130
- "character": 3
131
- },
132
- "name": "ComponentTreeUI"
133
- },
134
- "modifiers": []
135
- },
136
- {
137
- "__schema": "VariableLikeSchema",
138
- "location": {
139
- "filePath": "component-tree.ui.runtime.tsx",
140
- "line": 17,
141
- "character": 3
142
- },
143
- "signature": "(property) ComponentTreeUI.runtime: RuntimeDefinition",
144
- "name": "runtime",
145
- "type": {
146
- "__schema": "InferenceTypeSchema",
147
- "location": {
148
- "filePath": "component-tree.ui.runtime.tsx",
149
- "line": 17,
150
- "character": 3
151
- },
152
- "type": "RuntimeDefinition"
153
- },
154
- "isOptional": true,
155
- "defaultValue": "UIRuntime"
156
- },
157
- {
158
- "__schema": "VariableLikeSchema",
159
- "location": {
160
- "filePath": "component-tree.ui.runtime.tsx",
161
- "line": 19,
162
- "character": 3
163
- },
164
- "signature": "(property) ComponentTreeUI.slots: ((registerFn: () => string) => SlotRegistry<ComponentTreeNode>)[]",
165
- "name": "slots",
166
- "type": {
167
- "__schema": "InferenceTypeSchema",
168
- "location": {
169
- "filePath": "component-tree.ui.runtime.tsx",
170
- "line": 19,
171
- "character": 3
172
- },
173
- "type": "((registerFn: () => string) => SlotRegistry<ComponentTreeNode>)[]"
174
- },
175
- "isOptional": true,
176
- "defaultValue": "[Slot.withType<ComponentTreeNode>()]"
177
- },
178
- {
179
- "__schema": "VariableLikeSchema",
180
- "location": {
181
- "filePath": "component-tree.ui.runtime.tsx",
182
- "line": 21,
183
- "character": 3
184
- },
185
- "signature": "(property) ComponentTreeUI.dependencies: never[]",
186
- "name": "dependencies",
187
- "type": {
188
- "__schema": "InferenceTypeSchema",
189
- "location": {
190
- "filePath": "component-tree.ui.runtime.tsx",
191
- "line": 21,
192
- "character": 3
193
- },
194
- "type": "never[]"
195
- },
196
- "isOptional": true,
197
- "defaultValue": "[]"
198
- },
199
- {
200
- "__schema": "FunctionLikeSchema",
201
- "location": {
202
- "filePath": "component-tree.ui.runtime.tsx",
203
- "line": 23,
204
- "character": 3
205
- },
206
- "signature": "(method) ComponentTreeUI.provider(deps: any, config: any, [treeNodeSlot]: [ComponentTreeSlot]): Promise<ComponentTreeUI>",
207
- "name": "provider",
208
- "params": [
209
- {
210
- "__schema": "ParameterSchema",
211
- "location": {
212
- "filePath": "component-tree.ui.runtime.tsx",
213
- "line": 23,
214
- "character": 25
215
- },
216
- "name": "deps",
217
- "type": {
218
- "__schema": "InferenceTypeSchema",
219
- "location": {
220
- "filePath": "component-tree.ui.runtime.tsx",
221
- "line": 23,
222
- "character": 25
223
- },
224
- "type": "any"
225
- },
226
- "isOptional": false,
227
- "isSpread": false
228
- },
229
- {
230
- "__schema": "ParameterSchema",
231
- "location": {
232
- "filePath": "component-tree.ui.runtime.tsx",
233
- "line": 23,
234
- "character": 31
235
- },
236
- "name": "config",
237
- "type": {
238
- "__schema": "InferenceTypeSchema",
239
- "location": {
240
- "filePath": "component-tree.ui.runtime.tsx",
241
- "line": 23,
242
- "character": 31
243
- },
244
- "type": "any"
245
- },
246
- "isOptional": false,
247
- "isSpread": false
248
- },
249
- {
250
- "__schema": "ParameterSchema",
251
- "location": {
252
- "filePath": "component-tree.ui.runtime.tsx",
253
- "line": 23,
254
- "character": 39
255
- },
256
- "name": "[ treeNodeSlot ]",
257
- "type": {
258
- "__schema": "TupleTypeSchema",
259
- "location": {
260
- "filePath": "component-tree.ui.runtime.tsx",
261
- "line": 23,
262
- "character": 55
263
- },
264
- "elements": [
265
- {
266
- "__schema": "TypeRefSchema",
267
- "location": {
268
- "filePath": "component-tree.ui.runtime.tsx",
269
- "line": 23,
270
- "character": 56
271
- },
272
- "name": "ComponentTreeSlot"
273
- }
274
- ]
275
- },
276
- "isOptional": false,
277
- "isSpread": false
278
- }
279
- ],
280
- "returnType": {
281
- "__schema": "InferenceTypeSchema",
282
- "location": {
283
- "filePath": "component-tree.ui.runtime.tsx",
284
- "line": 23,
285
- "character": 3
286
- },
287
- "type": "Promise<ComponentTreeUI>"
288
- },
289
- "modifiers": [
290
- "static",
291
- "async"
292
- ]
293
- }
294
- ],
295
- "extendsNodes": [],
296
- "implementNodes": []
297
- },
298
- {
299
- "__schema": "TypeSchema",
300
- "location": {
301
- "filePath": "component-tree.ui.runtime.tsx",
302
- "line": 7,
303
- "character": 1
304
- },
305
- "signature": "type ComponentTreeSlot = SlotRegistry<ComponentTreeNode>",
306
- "name": "ComponentTreeSlot",
307
- "type": {
308
- "__schema": "TypeRefSchema",
309
- "location": {
310
- "filePath": "component-tree.ui.runtime.tsx",
311
- "line": 7,
312
- "character": 33
313
- },
314
- "name": "SlotRegistry",
315
- "typeArgs": [
316
- {
317
- "__schema": "TypeRefSchema",
318
- "location": {
319
- "filePath": "component-tree.ui.runtime.tsx",
320
- "line": 7,
321
- "character": 46
322
- },
323
- "name": "ComponentTreeNode"
324
- }
325
- ]
326
- }
327
- },
328
- {
329
- "__schema": "TypeSchema",
330
- "location": {
331
- "filePath": "component-tree-node.ts",
332
- "line": 11,
333
- "character": 1
334
- },
335
- "signature": "type ComponentTreeNode = {\n widget: ComponentType<ComponentTreeNodeProps>;\n}",
336
- "name": "ComponentTreeNode",
337
- "type": {
338
- "__schema": "TypeLiteralSchema",
339
- "location": {
340
- "filePath": "component-tree-node.ts",
341
- "line": 11,
342
- "character": 33
343
- },
344
- "members": [
345
- {
346
- "__schema": "VariableLikeSchema",
347
- "location": {
348
- "filePath": "component-tree-node.ts",
349
- "line": 15,
350
- "character": 3
351
- },
352
- "doc": {
353
- "__schema": "DocSchema",
354
- "location": {
355
- "filePath": "component-tree-node.ts",
356
- "line": 12,
357
- "character": 3
358
- },
359
- "raw": "/**\n * component to render inside the tree node.\n */",
360
- "comment": "component to render inside the tree node."
361
- },
362
- "signature": "(property) widget: ComponentType<ComponentTreeNodeProps>",
363
- "name": "widget",
364
- "type": {
365
- "__schema": "TypeRefSchema",
366
- "location": {
367
- "filePath": "component-tree-node.ts",
368
- "line": 15,
369
- "character": 11
370
- },
371
- "name": "ComponentType",
372
- "typeArgs": [
373
- {
374
- "__schema": "TypeRefSchema",
375
- "location": {
376
- "filePath": "component-tree-node.ts",
377
- "line": 15,
378
- "character": 25
379
- },
380
- "name": "ComponentTreeNodeProps"
381
- }
382
- ]
383
- },
384
- "isOptional": false
385
- }
386
- ]
387
- }
388
- },
389
- {
390
- "__schema": "TypeSchema",
391
- "location": {
392
- "filePath": "component-tree-node.ts",
393
- "line": 4,
394
- "character": 1
395
- },
396
- "signature": "type ComponentTreeNodeProps = {\n component: ComponentModel;\n}",
397
- "name": "ComponentTreeNodeProps",
398
- "type": {
399
- "__schema": "TypeLiteralSchema",
400
- "location": {
401
- "filePath": "component-tree-node.ts",
402
- "line": 4,
403
- "character": 38
404
- },
405
- "members": [
406
- {
407
- "__schema": "VariableLikeSchema",
408
- "location": {
409
- "filePath": "component-tree-node.ts",
410
- "line": 8,
411
- "character": 3
412
- },
413
- "doc": {
414
- "__schema": "DocSchema",
415
- "location": {
416
- "filePath": "component-tree-node.ts",
417
- "line": 5,
418
- "character": 3
419
- },
420
- "raw": "/**\n * component model.\n */",
421
- "comment": "component model."
422
- },
423
- "signature": "(property) component: ComponentModel",
424
- "name": "component",
425
- "type": {
426
- "__schema": "TypeRefSchema",
427
- "location": {
428
- "filePath": "component-tree-node.ts",
429
- "line": 8,
430
- "character": 3
431
- },
432
- "name": "ComponentModel",
433
- "componentId": {
434
- "scope": "teambit.component",
435
- "name": "component"
436
- }
437
- },
438
- "isOptional": false
439
- }
440
- ]
441
- }
442
- },
443
- {
444
- "__schema": "UnImplementedSchema",
445
- "location": {
446
- "filePath": "index.ts",
447
- "line": 7,
448
- "character": 16
449
- },
450
- "name": "ComponentTreeAspect",
451
- "type": "Identifier"
452
- }
453
- ],
454
- "internals": []
455
- },
456
- "internals": [
457
- {
458
- "__schema": "ModuleSchema",
459
- "location": {
460
- "filePath": "component-tree.aspect.ts",
461
- "line": 1,
462
- "character": 1
463
- },
464
- "exports": [
465
- {
466
- "__schema": "VariableLikeSchema",
467
- "location": {
468
- "filePath": "component-tree.aspect.ts",
469
- "line": 3,
470
- "character": 14
471
- },
472
- "signature": "const ComponentTreeAspect: Aspect",
473
- "name": "ComponentTreeAspect",
474
- "type": {
475
- "__schema": "TypeRefSchema",
476
- "location": {
477
- "filePath": "component-tree.aspect.ts",
478
- "line": 3,
479
- "character": 14
480
- },
481
- "name": "Aspect",
482
- "componentId": {
483
- "scope": "teambit.harmony",
484
- "name": "harmony",
485
- "version": "0.4.6"
486
- }
487
- },
488
- "isOptional": false,
489
- "defaultValue": "Aspect.create({\n id: 'teambit.component/component-tree',\n})"
490
- },
491
- {
492
- "__schema": "UnImplementedSchema",
493
- "location": {
494
- "filePath": "component-tree.aspect.ts",
495
- "line": 7,
496
- "character": 16
497
- },
498
- "name": "ComponentTreeAspect",
499
- "type": "Identifier"
500
- }
501
- ],
502
- "internals": []
503
- },
504
- {
505
- "__schema": "ModuleSchema",
506
- "location": {
507
- "filePath": "component-tree.ui.runtime.tsx",
508
- "line": 1,
509
- "character": 1
510
- },
511
- "exports": [
512
- {
513
- "__schema": "TypeSchema",
514
- "location": {
515
- "filePath": "component-tree.ui.runtime.tsx",
516
- "line": 7,
517
- "character": 1
518
- },
519
- "signature": "type ComponentTreeSlot = SlotRegistry<ComponentTreeNode>",
520
- "name": "ComponentTreeSlot",
521
- "type": {
522
- "__schema": "TypeRefSchema",
523
- "location": {
524
- "filePath": "component-tree.ui.runtime.tsx",
525
- "line": 7,
526
- "character": 33
527
- },
528
- "name": "SlotRegistry",
529
- "typeArgs": [
530
- {
531
- "__schema": "TypeRefSchema",
532
- "location": {
533
- "filePath": "component-tree.ui.runtime.tsx",
534
- "line": 7,
535
- "character": 46
536
- },
537
- "name": "ComponentTreeNode"
538
- }
539
- ]
540
- }
541
- },
542
- {
543
- "__schema": "ClassSchema",
544
- "location": {
545
- "filePath": "component-tree.ui.runtime.tsx",
546
- "line": 9,
547
- "character": 1
548
- },
549
- "signature": "class ComponentTreeUI",
550
- "name": "ComponentTreeUI",
551
- "members": [
552
- {
553
- "__schema": "ConstructorSchema",
554
- "location": {
555
- "filePath": "component-tree.ui.runtime.tsx",
556
- "line": 10,
557
- "character": 3
558
- },
559
- "signature": "constructor ComponentTreeUI(treeNodeSlot: ComponentTreeSlot): ComponentTreeUI",
560
- "name": "constructor",
561
- "params": [
562
- {
563
- "__schema": "ParameterSchema",
564
- "location": {
565
- "filePath": "component-tree.ui.runtime.tsx",
566
- "line": 10,
567
- "character": 15
568
- },
569
- "name": "treeNodeSlot",
570
- "type": {
571
- "__schema": "TypeRefSchema",
572
- "location": {
573
- "filePath": "component-tree.ui.runtime.tsx",
574
- "line": 10,
575
- "character": 37
576
- },
577
- "name": "ComponentTreeSlot"
578
- },
579
- "isOptional": false,
580
- "isSpread": false
581
- }
582
- ],
583
- "returnType": {
584
- "__schema": "ThisTypeSchema",
585
- "location": {
586
- "filePath": "component-tree.ui.runtime.tsx",
587
- "line": 9,
588
- "character": 1
589
- },
590
- "name": "ComponentTreeUI"
591
- },
592
- "modifiers": []
593
- },
594
- {
595
- "__schema": "FunctionLikeSchema",
596
- "location": {
597
- "filePath": "component-tree.ui.runtime.tsx",
598
- "line": 12,
599
- "character": 3
600
- },
601
- "signature": "(method) ComponentTreeUI.registerTreeNode(treeNode: ComponentTreeNode): this",
602
- "name": "registerTreeNode",
603
- "params": [
604
- {
605
- "__schema": "ParameterSchema",
606
- "location": {
607
- "filePath": "component-tree.ui.runtime.tsx",
608
- "line": 12,
609
- "character": 20
610
- },
611
- "name": "treeNode",
612
- "type": {
613
- "__schema": "TypeRefSchema",
614
- "location": {
615
- "filePath": "component-tree.ui.runtime.tsx",
616
- "line": 12,
617
- "character": 30
618
- },
619
- "name": "ComponentTreeNode"
620
- },
621
- "isOptional": false,
622
- "isSpread": false
623
- }
624
- ],
625
- "returnType": {
626
- "__schema": "TypeRefSchema",
627
- "location": {
628
- "filePath": "component-tree.ui.runtime.tsx",
629
- "line": 12,
630
- "character": 3
631
- },
632
- "name": "ComponentTreeUI"
633
- },
634
- "modifiers": []
635
- },
636
- {
637
- "__schema": "VariableLikeSchema",
638
- "location": {
639
- "filePath": "component-tree.ui.runtime.tsx",
640
- "line": 17,
641
- "character": 3
642
- },
643
- "signature": "(property) ComponentTreeUI.runtime: RuntimeDefinition",
644
- "name": "runtime",
645
- "type": {
646
- "__schema": "InferenceTypeSchema",
647
- "location": {
648
- "filePath": "component-tree.ui.runtime.tsx",
649
- "line": 17,
650
- "character": 3
651
- },
652
- "type": "RuntimeDefinition"
653
- },
654
- "isOptional": true,
655
- "defaultValue": "UIRuntime"
656
- },
657
- {
658
- "__schema": "VariableLikeSchema",
659
- "location": {
660
- "filePath": "component-tree.ui.runtime.tsx",
661
- "line": 19,
662
- "character": 3
663
- },
664
- "signature": "(property) ComponentTreeUI.slots: ((registerFn: () => string) => SlotRegistry<ComponentTreeNode>)[]",
665
- "name": "slots",
666
- "type": {
667
- "__schema": "InferenceTypeSchema",
668
- "location": {
669
- "filePath": "component-tree.ui.runtime.tsx",
670
- "line": 19,
671
- "character": 3
672
- },
673
- "type": "((registerFn: () => string) => SlotRegistry<ComponentTreeNode>)[]"
674
- },
675
- "isOptional": true,
676
- "defaultValue": "[Slot.withType<ComponentTreeNode>()]"
677
- },
678
- {
679
- "__schema": "VariableLikeSchema",
680
- "location": {
681
- "filePath": "component-tree.ui.runtime.tsx",
682
- "line": 21,
683
- "character": 3
684
- },
685
- "signature": "(property) ComponentTreeUI.dependencies: never[]",
686
- "name": "dependencies",
687
- "type": {
688
- "__schema": "InferenceTypeSchema",
689
- "location": {
690
- "filePath": "component-tree.ui.runtime.tsx",
691
- "line": 21,
692
- "character": 3
693
- },
694
- "type": "never[]"
695
- },
696
- "isOptional": true,
697
- "defaultValue": "[]"
698
- },
699
- {
700
- "__schema": "FunctionLikeSchema",
701
- "location": {
702
- "filePath": "component-tree.ui.runtime.tsx",
703
- "line": 23,
704
- "character": 3
705
- },
706
- "signature": "(method) ComponentTreeUI.provider(deps: any, config: any, [treeNodeSlot]: [ComponentTreeSlot]): Promise<ComponentTreeUI>",
707
- "name": "provider",
708
- "params": [
709
- {
710
- "__schema": "ParameterSchema",
711
- "location": {
712
- "filePath": "component-tree.ui.runtime.tsx",
713
- "line": 23,
714
- "character": 25
715
- },
716
- "name": "deps",
717
- "type": {
718
- "__schema": "InferenceTypeSchema",
719
- "location": {
720
- "filePath": "component-tree.ui.runtime.tsx",
721
- "line": 23,
722
- "character": 25
723
- },
724
- "type": "any"
725
- },
726
- "isOptional": false,
727
- "isSpread": false
728
- },
729
- {
730
- "__schema": "ParameterSchema",
731
- "location": {
732
- "filePath": "component-tree.ui.runtime.tsx",
733
- "line": 23,
734
- "character": 31
735
- },
736
- "name": "config",
737
- "type": {
738
- "__schema": "InferenceTypeSchema",
739
- "location": {
740
- "filePath": "component-tree.ui.runtime.tsx",
741
- "line": 23,
742
- "character": 31
743
- },
744
- "type": "any"
745
- },
746
- "isOptional": false,
747
- "isSpread": false
748
- },
749
- {
750
- "__schema": "ParameterSchema",
751
- "location": {
752
- "filePath": "component-tree.ui.runtime.tsx",
753
- "line": 23,
754
- "character": 39
755
- },
756
- "name": "[ treeNodeSlot ]",
757
- "type": {
758
- "__schema": "TupleTypeSchema",
759
- "location": {
760
- "filePath": "component-tree.ui.runtime.tsx",
761
- "line": 23,
762
- "character": 55
763
- },
764
- "elements": [
765
- {
766
- "__schema": "TypeRefSchema",
767
- "location": {
768
- "filePath": "component-tree.ui.runtime.tsx",
769
- "line": 23,
770
- "character": 56
771
- },
772
- "name": "ComponentTreeSlot"
773
- }
774
- ]
775
- },
776
- "isOptional": false,
777
- "isSpread": false
778
- }
779
- ],
780
- "returnType": {
781
- "__schema": "InferenceTypeSchema",
782
- "location": {
783
- "filePath": "component-tree.ui.runtime.tsx",
784
- "line": 23,
785
- "character": 3
786
- },
787
- "type": "Promise<ComponentTreeUI>"
788
- },
789
- "modifiers": [
790
- "static",
791
- "async"
792
- ]
793
- }
794
- ],
795
- "extendsNodes": [],
796
- "implementNodes": []
797
- }
798
- ],
799
- "internals": [
800
- {
801
- "__schema": "UnImplementedSchema",
802
- "location": {
803
- "filePath": "component-tree.ui.runtime.tsx",
804
- "line": 28,
805
- "character": 1
806
- },
807
- "name": "ComponentTreeAspect.addRuntime(ComponentTreeUI);",
808
- "type": "ExpressionStatement"
809
- }
810
- ]
811
- },
812
- {
813
- "__schema": "ModuleSchema",
814
- "location": {
815
- "filePath": "component-tree-node.ts",
816
- "line": 1,
817
- "character": 1
818
- },
819
- "exports": [
820
- {
821
- "__schema": "TypeSchema",
822
- "location": {
823
- "filePath": "component-tree-node.ts",
824
- "line": 4,
825
- "character": 1
826
- },
827
- "signature": "type ComponentTreeNodeProps = {\n component: ComponentModel;\n}",
828
- "name": "ComponentTreeNodeProps",
829
- "type": {
830
- "__schema": "TypeLiteralSchema",
831
- "location": {
832
- "filePath": "component-tree-node.ts",
833
- "line": 4,
834
- "character": 38
835
- },
836
- "members": [
837
- {
838
- "__schema": "VariableLikeSchema",
839
- "location": {
840
- "filePath": "component-tree-node.ts",
841
- "line": 8,
842
- "character": 3
843
- },
844
- "doc": {
845
- "__schema": "DocSchema",
846
- "location": {
847
- "filePath": "component-tree-node.ts",
848
- "line": 5,
849
- "character": 3
850
- },
851
- "raw": "/**\n * component model.\n */",
852
- "comment": "component model."
853
- },
854
- "signature": "(property) component: ComponentModel",
855
- "name": "component",
856
- "type": {
857
- "__schema": "TypeRefSchema",
858
- "location": {
859
- "filePath": "component-tree-node.ts",
860
- "line": 8,
861
- "character": 3
862
- },
863
- "name": "ComponentModel",
864
- "componentId": {
865
- "scope": "teambit.component",
866
- "name": "component"
867
- }
868
- },
869
- "isOptional": false
870
- }
871
- ]
872
- }
873
- },
874
- {
875
- "__schema": "TypeSchema",
876
- "location": {
877
- "filePath": "component-tree-node.ts",
878
- "line": 11,
879
- "character": 1
880
- },
881
- "signature": "type ComponentTreeNode = {\n widget: ComponentType<ComponentTreeNodeProps>;\n}",
882
- "name": "ComponentTreeNode",
883
- "type": {
884
- "__schema": "TypeLiteralSchema",
885
- "location": {
886
- "filePath": "component-tree-node.ts",
887
- "line": 11,
888
- "character": 33
889
- },
890
- "members": [
891
- {
892
- "__schema": "VariableLikeSchema",
893
- "location": {
894
- "filePath": "component-tree-node.ts",
895
- "line": 15,
896
- "character": 3
897
- },
898
- "doc": {
899
- "__schema": "DocSchema",
900
- "location": {
901
- "filePath": "component-tree-node.ts",
902
- "line": 12,
903
- "character": 3
904
- },
905
- "raw": "/**\n * component to render inside the tree node.\n */",
906
- "comment": "component to render inside the tree node."
907
- },
908
- "signature": "(property) widget: ComponentType<ComponentTreeNodeProps>",
909
- "name": "widget",
910
- "type": {
911
- "__schema": "TypeRefSchema",
912
- "location": {
913
- "filePath": "component-tree-node.ts",
914
- "line": 15,
915
- "character": 11
916
- },
917
- "name": "ComponentType",
918
- "typeArgs": [
919
- {
920
- "__schema": "TypeRefSchema",
921
- "location": {
922
- "filePath": "component-tree-node.ts",
923
- "line": 15,
924
- "character": 25
925
- },
926
- "name": "ComponentTreeNodeProps"
927
- }
928
- ]
929
- },
930
- "isOptional": false
931
- }
932
- ]
933
- }
934
- }
935
- ],
936
- "internals": []
937
- }
938
- ],
939
- "componentId": {
940
- "scope": "teambit.component",
941
- "name": "component-tree",
942
- "version": "1.0.186"
943
- },
944
- "taggedModuleExports": []
945
- }