@teambit/harmony-ui-app 1.0.188 → 1.0.190
Sign up to get free protection for your applications and to get access to all the features.
- package/artifacts/__bit_junit.xml +1 -1
- package/artifacts/preview/teambit_ui_foundation_harmony_ui_app-preview.js +1 -1
- package/artifacts/schema.json +740 -0
- package/dist/harmony-app-options.js.map +1 -1
- package/dist/harmony-ui-app.aspect.js.map +1 -1
- package/dist/harmony-ui-app.compositions.js.map +1 -1
- package/dist/harmony-ui-app.main.runtime.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/preview-1710232535180.js +7 -0
- package/dist/ui.application.js.map +1 -1
- package/package.json +8 -8
- package/dist/preview-1710040632859.js +0 -7
@@ -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.ui-foundation/harmony-ui-app@1.0.
|
3
|
+
<testsuite name="teambit.ui-foundation/harmony-ui-app@1.0.190" 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.ui-foundation/harmony-ui-app-preview"]=t():e["teambit.ui-foundation/harmony-ui-app-preview"]=t()}(self,(()=>(()=>{"use strict";var e={
|
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.ui-foundation/harmony-ui-app-preview"]=t():e["teambit.ui-foundation/harmony-ui-app-preview"]=t()}(self,(()=>(()=>{"use strict";var e={43050:(e,t,o)=>{var n={id:"teambit.ui-foundation/harmony-ui-app@1.0.190",homepage:"https://bit.cloud/teambit/ui-foundation/harmony-ui-app",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 a=()=>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/harmony-ui-app.svg"}));a.__bit_component=n,t.Logo=a},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:()=>d,compositions_metadata:()=>l,overview:()=>f});var e={};o.r(e),o.d(e,{default:()=>s});var t=o(43050);o(41594);const r=MdxJsReact,i=TeambitMdxUiMdxScopeContext;var a=["components"];function p(){return p=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},p.apply(this,arguments)}var u={},c="wrapper";function s(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,a);return(0,r.mdx)(c,p({},u,o,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}s.isMDXComponent=!0;const d=[t],f=[e],l={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),n})()));
|
@@ -0,0 +1,740 @@
|
|
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": "ClassSchema",
|
18
|
+
"location": {
|
19
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
20
|
+
"line": 9,
|
21
|
+
"character": 1
|
22
|
+
},
|
23
|
+
"signature": "class HarmonyUiAppMain",
|
24
|
+
"name": "HarmonyUiAppMain",
|
25
|
+
"members": [
|
26
|
+
{
|
27
|
+
"__schema": "ConstructorSchema",
|
28
|
+
"location": {
|
29
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
30
|
+
"line": 10,
|
31
|
+
"character": 3
|
32
|
+
},
|
33
|
+
"signature": "constructor HarmonyUiAppMain(application: ApplicationMain, ui: UiMain, componentAspect: ComponentMain): HarmonyUiAppMain",
|
34
|
+
"name": "constructor",
|
35
|
+
"params": [
|
36
|
+
{
|
37
|
+
"__schema": "ParameterSchema",
|
38
|
+
"location": {
|
39
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
40
|
+
"line": 10,
|
41
|
+
"character": 15
|
42
|
+
},
|
43
|
+
"name": "application",
|
44
|
+
"type": {
|
45
|
+
"__schema": "TypeRefSchema",
|
46
|
+
"location": {
|
47
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
48
|
+
"line": 10,
|
49
|
+
"character": 36
|
50
|
+
},
|
51
|
+
"name": "ApplicationMain",
|
52
|
+
"componentId": {
|
53
|
+
"scope": "teambit.harmony",
|
54
|
+
"name": "application"
|
55
|
+
}
|
56
|
+
},
|
57
|
+
"isOptional": false,
|
58
|
+
"isSpread": false
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"__schema": "ParameterSchema",
|
62
|
+
"location": {
|
63
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
64
|
+
"line": 10,
|
65
|
+
"character": 53
|
66
|
+
},
|
67
|
+
"name": "ui",
|
68
|
+
"type": {
|
69
|
+
"__schema": "TypeRefSchema",
|
70
|
+
"location": {
|
71
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
72
|
+
"line": 10,
|
73
|
+
"character": 65
|
74
|
+
},
|
75
|
+
"name": "UiMain",
|
76
|
+
"componentId": {
|
77
|
+
"scope": "teambit.ui-foundation",
|
78
|
+
"name": "ui"
|
79
|
+
}
|
80
|
+
},
|
81
|
+
"isOptional": false,
|
82
|
+
"isSpread": false
|
83
|
+
},
|
84
|
+
{
|
85
|
+
"__schema": "ParameterSchema",
|
86
|
+
"location": {
|
87
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
88
|
+
"line": 10,
|
89
|
+
"character": 73
|
90
|
+
},
|
91
|
+
"name": "componentAspect",
|
92
|
+
"type": {
|
93
|
+
"__schema": "TypeRefSchema",
|
94
|
+
"location": {
|
95
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
96
|
+
"line": 10,
|
97
|
+
"character": 98
|
98
|
+
},
|
99
|
+
"name": "ComponentMain",
|
100
|
+
"componentId": {
|
101
|
+
"scope": "teambit.component",
|
102
|
+
"name": "component"
|
103
|
+
}
|
104
|
+
},
|
105
|
+
"isOptional": false,
|
106
|
+
"isSpread": false
|
107
|
+
}
|
108
|
+
],
|
109
|
+
"returnType": {
|
110
|
+
"__schema": "ThisTypeSchema",
|
111
|
+
"location": {
|
112
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
113
|
+
"line": 9,
|
114
|
+
"character": 1
|
115
|
+
},
|
116
|
+
"name": "HarmonyUiAppMain"
|
117
|
+
},
|
118
|
+
"modifiers": []
|
119
|
+
},
|
120
|
+
{
|
121
|
+
"__schema": "FunctionLikeSchema",
|
122
|
+
"location": {
|
123
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
124
|
+
"line": 15,
|
125
|
+
"character": 3
|
126
|
+
},
|
127
|
+
"doc": {
|
128
|
+
"__schema": "DocSchema",
|
129
|
+
"location": {
|
130
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
131
|
+
"line": 12,
|
132
|
+
"character": 3
|
133
|
+
},
|
134
|
+
"raw": "/**\n * register a new harmony UI application.\n */",
|
135
|
+
"comment": "register a new harmony UI application."
|
136
|
+
},
|
137
|
+
"signature": "(method) HarmonyUiAppMain.registerHarmonyApp(options: HarmonyAppOptions): this",
|
138
|
+
"name": "registerHarmonyApp",
|
139
|
+
"params": [
|
140
|
+
{
|
141
|
+
"__schema": "ParameterSchema",
|
142
|
+
"location": {
|
143
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
144
|
+
"line": 15,
|
145
|
+
"character": 22
|
146
|
+
},
|
147
|
+
"name": "options",
|
148
|
+
"type": {
|
149
|
+
"__schema": "TypeRefSchema",
|
150
|
+
"location": {
|
151
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
152
|
+
"line": 15,
|
153
|
+
"character": 31
|
154
|
+
},
|
155
|
+
"name": "HarmonyAppOptions",
|
156
|
+
"internalFilePath": "harmony-app-options.ts"
|
157
|
+
},
|
158
|
+
"isOptional": false,
|
159
|
+
"isSpread": false
|
160
|
+
}
|
161
|
+
],
|
162
|
+
"returnType": {
|
163
|
+
"__schema": "TypeRefSchema",
|
164
|
+
"location": {
|
165
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
166
|
+
"line": 15,
|
167
|
+
"character": 3
|
168
|
+
},
|
169
|
+
"name": "HarmonyUiAppMain"
|
170
|
+
},
|
171
|
+
"modifiers": []
|
172
|
+
},
|
173
|
+
{
|
174
|
+
"__schema": "VariableLikeSchema",
|
175
|
+
"location": {
|
176
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
177
|
+
"line": 33,
|
178
|
+
"character": 3
|
179
|
+
},
|
180
|
+
"signature": "(property) HarmonyUiAppMain.slots: never[]",
|
181
|
+
"name": "slots",
|
182
|
+
"type": {
|
183
|
+
"__schema": "InferenceTypeSchema",
|
184
|
+
"location": {
|
185
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
186
|
+
"line": 33,
|
187
|
+
"character": 3
|
188
|
+
},
|
189
|
+
"type": "never[]"
|
190
|
+
},
|
191
|
+
"isOptional": true,
|
192
|
+
"defaultValue": "[]"
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"__schema": "VariableLikeSchema",
|
196
|
+
"location": {
|
197
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
198
|
+
"line": 35,
|
199
|
+
"character": 3
|
200
|
+
},
|
201
|
+
"signature": "(property) HarmonyUiAppMain.dependencies: Aspect[]",
|
202
|
+
"name": "dependencies",
|
203
|
+
"type": {
|
204
|
+
"__schema": "InferenceTypeSchema",
|
205
|
+
"location": {
|
206
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
207
|
+
"line": 35,
|
208
|
+
"character": 3
|
209
|
+
},
|
210
|
+
"type": "Aspect[]"
|
211
|
+
},
|
212
|
+
"isOptional": true,
|
213
|
+
"defaultValue": "[ApplicationAspect, UIAspect, ComponentAspect]"
|
214
|
+
},
|
215
|
+
{
|
216
|
+
"__schema": "VariableLikeSchema",
|
217
|
+
"location": {
|
218
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
219
|
+
"line": 37,
|
220
|
+
"character": 3
|
221
|
+
},
|
222
|
+
"signature": "(property) HarmonyUiAppMain.runtime: RuntimeDefinition",
|
223
|
+
"name": "runtime",
|
224
|
+
"type": {
|
225
|
+
"__schema": "InferenceTypeSchema",
|
226
|
+
"location": {
|
227
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
228
|
+
"line": 37,
|
229
|
+
"character": 3
|
230
|
+
},
|
231
|
+
"type": "RuntimeDefinition"
|
232
|
+
},
|
233
|
+
"isOptional": true,
|
234
|
+
"defaultValue": "MainRuntime"
|
235
|
+
},
|
236
|
+
{
|
237
|
+
"__schema": "FunctionLikeSchema",
|
238
|
+
"location": {
|
239
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
240
|
+
"line": 39,
|
241
|
+
"character": 3
|
242
|
+
},
|
243
|
+
"signature": "(method) HarmonyUiAppMain.provider([application, ui, componentAspect]: [ApplicationMain, UiMain, ComponentMain]): Promise<HarmonyUiAppMain>",
|
244
|
+
"name": "provider",
|
245
|
+
"params": [
|
246
|
+
{
|
247
|
+
"__schema": "ParameterSchema",
|
248
|
+
"location": {
|
249
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
250
|
+
"line": 39,
|
251
|
+
"character": 25
|
252
|
+
},
|
253
|
+
"name": "[ application, ui, componentAspect ]",
|
254
|
+
"type": {
|
255
|
+
"__schema": "TupleTypeSchema",
|
256
|
+
"location": {
|
257
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
258
|
+
"line": 39,
|
259
|
+
"character": 61
|
260
|
+
},
|
261
|
+
"elements": [
|
262
|
+
{
|
263
|
+
"__schema": "TypeRefSchema",
|
264
|
+
"location": {
|
265
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
266
|
+
"line": 39,
|
267
|
+
"character": 62
|
268
|
+
},
|
269
|
+
"name": "ApplicationMain",
|
270
|
+
"componentId": {
|
271
|
+
"scope": "teambit.harmony",
|
272
|
+
"name": "application"
|
273
|
+
}
|
274
|
+
},
|
275
|
+
{
|
276
|
+
"__schema": "TypeRefSchema",
|
277
|
+
"location": {
|
278
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
279
|
+
"line": 39,
|
280
|
+
"character": 79
|
281
|
+
},
|
282
|
+
"name": "UiMain",
|
283
|
+
"componentId": {
|
284
|
+
"scope": "teambit.ui-foundation",
|
285
|
+
"name": "ui"
|
286
|
+
}
|
287
|
+
},
|
288
|
+
{
|
289
|
+
"__schema": "TypeRefSchema",
|
290
|
+
"location": {
|
291
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
292
|
+
"line": 39,
|
293
|
+
"character": 87
|
294
|
+
},
|
295
|
+
"name": "ComponentMain",
|
296
|
+
"componentId": {
|
297
|
+
"scope": "teambit.component",
|
298
|
+
"name": "component"
|
299
|
+
}
|
300
|
+
}
|
301
|
+
]
|
302
|
+
},
|
303
|
+
"isOptional": false,
|
304
|
+
"isSpread": false
|
305
|
+
}
|
306
|
+
],
|
307
|
+
"returnType": {
|
308
|
+
"__schema": "InferenceTypeSchema",
|
309
|
+
"location": {
|
310
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
311
|
+
"line": 39,
|
312
|
+
"character": 3
|
313
|
+
},
|
314
|
+
"type": "Promise<HarmonyUiAppMain>"
|
315
|
+
},
|
316
|
+
"modifiers": [
|
317
|
+
"static",
|
318
|
+
"async"
|
319
|
+
]
|
320
|
+
}
|
321
|
+
],
|
322
|
+
"extendsNodes": [],
|
323
|
+
"implementNodes": []
|
324
|
+
},
|
325
|
+
{
|
326
|
+
"__schema": "UnImplementedSchema",
|
327
|
+
"location": {
|
328
|
+
"filePath": "index.ts",
|
329
|
+
"line": 4,
|
330
|
+
"character": 16
|
331
|
+
},
|
332
|
+
"name": "HarmonyUiAppAspect",
|
333
|
+
"type": "Identifier"
|
334
|
+
},
|
335
|
+
{
|
336
|
+
"__schema": "VariableLikeSchema",
|
337
|
+
"location": {
|
338
|
+
"filePath": "harmony-ui-app.aspect.ts",
|
339
|
+
"line": 3,
|
340
|
+
"character": 14
|
341
|
+
},
|
342
|
+
"signature": "const HarmonyUiAppAspect: Aspect",
|
343
|
+
"name": "HarmonyUiAppAspect",
|
344
|
+
"type": {
|
345
|
+
"__schema": "TypeRefSchema",
|
346
|
+
"location": {
|
347
|
+
"filePath": "harmony-ui-app.aspect.ts",
|
348
|
+
"line": 3,
|
349
|
+
"character": 14
|
350
|
+
},
|
351
|
+
"name": "Aspect",
|
352
|
+
"componentId": {
|
353
|
+
"scope": "teambit.harmony",
|
354
|
+
"name": "harmony",
|
355
|
+
"version": "0.4.6"
|
356
|
+
}
|
357
|
+
},
|
358
|
+
"isOptional": false,
|
359
|
+
"defaultValue": "Aspect.create({\n id: 'teambit.ui-foundation/harmony-ui-app',\n})"
|
360
|
+
}
|
361
|
+
],
|
362
|
+
"internals": []
|
363
|
+
},
|
364
|
+
"internals": [
|
365
|
+
{
|
366
|
+
"__schema": "ModuleSchema",
|
367
|
+
"location": {
|
368
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
369
|
+
"line": 1,
|
370
|
+
"character": 1
|
371
|
+
},
|
372
|
+
"exports": [
|
373
|
+
{
|
374
|
+
"__schema": "ClassSchema",
|
375
|
+
"location": {
|
376
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
377
|
+
"line": 9,
|
378
|
+
"character": 1
|
379
|
+
},
|
380
|
+
"signature": "class HarmonyUiAppMain",
|
381
|
+
"name": "HarmonyUiAppMain",
|
382
|
+
"members": [
|
383
|
+
{
|
384
|
+
"__schema": "ConstructorSchema",
|
385
|
+
"location": {
|
386
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
387
|
+
"line": 10,
|
388
|
+
"character": 3
|
389
|
+
},
|
390
|
+
"signature": "constructor HarmonyUiAppMain(application: ApplicationMain, ui: UiMain, componentAspect: ComponentMain): HarmonyUiAppMain",
|
391
|
+
"name": "constructor",
|
392
|
+
"params": [
|
393
|
+
{
|
394
|
+
"__schema": "ParameterSchema",
|
395
|
+
"location": {
|
396
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
397
|
+
"line": 10,
|
398
|
+
"character": 15
|
399
|
+
},
|
400
|
+
"name": "application",
|
401
|
+
"type": {
|
402
|
+
"__schema": "TypeRefSchema",
|
403
|
+
"location": {
|
404
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
405
|
+
"line": 10,
|
406
|
+
"character": 36
|
407
|
+
},
|
408
|
+
"name": "ApplicationMain",
|
409
|
+
"componentId": {
|
410
|
+
"scope": "teambit.harmony",
|
411
|
+
"name": "application"
|
412
|
+
}
|
413
|
+
},
|
414
|
+
"isOptional": false,
|
415
|
+
"isSpread": false
|
416
|
+
},
|
417
|
+
{
|
418
|
+
"__schema": "ParameterSchema",
|
419
|
+
"location": {
|
420
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
421
|
+
"line": 10,
|
422
|
+
"character": 53
|
423
|
+
},
|
424
|
+
"name": "ui",
|
425
|
+
"type": {
|
426
|
+
"__schema": "TypeRefSchema",
|
427
|
+
"location": {
|
428
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
429
|
+
"line": 10,
|
430
|
+
"character": 65
|
431
|
+
},
|
432
|
+
"name": "UiMain",
|
433
|
+
"componentId": {
|
434
|
+
"scope": "teambit.ui-foundation",
|
435
|
+
"name": "ui"
|
436
|
+
}
|
437
|
+
},
|
438
|
+
"isOptional": false,
|
439
|
+
"isSpread": false
|
440
|
+
},
|
441
|
+
{
|
442
|
+
"__schema": "ParameterSchema",
|
443
|
+
"location": {
|
444
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
445
|
+
"line": 10,
|
446
|
+
"character": 73
|
447
|
+
},
|
448
|
+
"name": "componentAspect",
|
449
|
+
"type": {
|
450
|
+
"__schema": "TypeRefSchema",
|
451
|
+
"location": {
|
452
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
453
|
+
"line": 10,
|
454
|
+
"character": 98
|
455
|
+
},
|
456
|
+
"name": "ComponentMain",
|
457
|
+
"componentId": {
|
458
|
+
"scope": "teambit.component",
|
459
|
+
"name": "component"
|
460
|
+
}
|
461
|
+
},
|
462
|
+
"isOptional": false,
|
463
|
+
"isSpread": false
|
464
|
+
}
|
465
|
+
],
|
466
|
+
"returnType": {
|
467
|
+
"__schema": "ThisTypeSchema",
|
468
|
+
"location": {
|
469
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
470
|
+
"line": 9,
|
471
|
+
"character": 1
|
472
|
+
},
|
473
|
+
"name": "HarmonyUiAppMain"
|
474
|
+
},
|
475
|
+
"modifiers": []
|
476
|
+
},
|
477
|
+
{
|
478
|
+
"__schema": "FunctionLikeSchema",
|
479
|
+
"location": {
|
480
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
481
|
+
"line": 15,
|
482
|
+
"character": 3
|
483
|
+
},
|
484
|
+
"doc": {
|
485
|
+
"__schema": "DocSchema",
|
486
|
+
"location": {
|
487
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
488
|
+
"line": 12,
|
489
|
+
"character": 3
|
490
|
+
},
|
491
|
+
"raw": "/**\n * register a new harmony UI application.\n */",
|
492
|
+
"comment": "register a new harmony UI application."
|
493
|
+
},
|
494
|
+
"signature": "(method) HarmonyUiAppMain.registerHarmonyApp(options: HarmonyAppOptions): this",
|
495
|
+
"name": "registerHarmonyApp",
|
496
|
+
"params": [
|
497
|
+
{
|
498
|
+
"__schema": "ParameterSchema",
|
499
|
+
"location": {
|
500
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
501
|
+
"line": 15,
|
502
|
+
"character": 22
|
503
|
+
},
|
504
|
+
"name": "options",
|
505
|
+
"type": {
|
506
|
+
"__schema": "TypeRefSchema",
|
507
|
+
"location": {
|
508
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
509
|
+
"line": 15,
|
510
|
+
"character": 31
|
511
|
+
},
|
512
|
+
"name": "HarmonyAppOptions",
|
513
|
+
"internalFilePath": "harmony-app-options.ts"
|
514
|
+
},
|
515
|
+
"isOptional": false,
|
516
|
+
"isSpread": false
|
517
|
+
}
|
518
|
+
],
|
519
|
+
"returnType": {
|
520
|
+
"__schema": "TypeRefSchema",
|
521
|
+
"location": {
|
522
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
523
|
+
"line": 15,
|
524
|
+
"character": 3
|
525
|
+
},
|
526
|
+
"name": "HarmonyUiAppMain"
|
527
|
+
},
|
528
|
+
"modifiers": []
|
529
|
+
},
|
530
|
+
{
|
531
|
+
"__schema": "VariableLikeSchema",
|
532
|
+
"location": {
|
533
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
534
|
+
"line": 33,
|
535
|
+
"character": 3
|
536
|
+
},
|
537
|
+
"signature": "(property) HarmonyUiAppMain.slots: never[]",
|
538
|
+
"name": "slots",
|
539
|
+
"type": {
|
540
|
+
"__schema": "InferenceTypeSchema",
|
541
|
+
"location": {
|
542
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
543
|
+
"line": 33,
|
544
|
+
"character": 3
|
545
|
+
},
|
546
|
+
"type": "never[]"
|
547
|
+
},
|
548
|
+
"isOptional": true,
|
549
|
+
"defaultValue": "[]"
|
550
|
+
},
|
551
|
+
{
|
552
|
+
"__schema": "VariableLikeSchema",
|
553
|
+
"location": {
|
554
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
555
|
+
"line": 35,
|
556
|
+
"character": 3
|
557
|
+
},
|
558
|
+
"signature": "(property) HarmonyUiAppMain.dependencies: Aspect[]",
|
559
|
+
"name": "dependencies",
|
560
|
+
"type": {
|
561
|
+
"__schema": "InferenceTypeSchema",
|
562
|
+
"location": {
|
563
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
564
|
+
"line": 35,
|
565
|
+
"character": 3
|
566
|
+
},
|
567
|
+
"type": "Aspect[]"
|
568
|
+
},
|
569
|
+
"isOptional": true,
|
570
|
+
"defaultValue": "[ApplicationAspect, UIAspect, ComponentAspect]"
|
571
|
+
},
|
572
|
+
{
|
573
|
+
"__schema": "VariableLikeSchema",
|
574
|
+
"location": {
|
575
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
576
|
+
"line": 37,
|
577
|
+
"character": 3
|
578
|
+
},
|
579
|
+
"signature": "(property) HarmonyUiAppMain.runtime: RuntimeDefinition",
|
580
|
+
"name": "runtime",
|
581
|
+
"type": {
|
582
|
+
"__schema": "InferenceTypeSchema",
|
583
|
+
"location": {
|
584
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
585
|
+
"line": 37,
|
586
|
+
"character": 3
|
587
|
+
},
|
588
|
+
"type": "RuntimeDefinition"
|
589
|
+
},
|
590
|
+
"isOptional": true,
|
591
|
+
"defaultValue": "MainRuntime"
|
592
|
+
},
|
593
|
+
{
|
594
|
+
"__schema": "FunctionLikeSchema",
|
595
|
+
"location": {
|
596
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
597
|
+
"line": 39,
|
598
|
+
"character": 3
|
599
|
+
},
|
600
|
+
"signature": "(method) HarmonyUiAppMain.provider([application, ui, componentAspect]: [ApplicationMain, UiMain, ComponentMain]): Promise<HarmonyUiAppMain>",
|
601
|
+
"name": "provider",
|
602
|
+
"params": [
|
603
|
+
{
|
604
|
+
"__schema": "ParameterSchema",
|
605
|
+
"location": {
|
606
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
607
|
+
"line": 39,
|
608
|
+
"character": 25
|
609
|
+
},
|
610
|
+
"name": "[ application, ui, componentAspect ]",
|
611
|
+
"type": {
|
612
|
+
"__schema": "TupleTypeSchema",
|
613
|
+
"location": {
|
614
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
615
|
+
"line": 39,
|
616
|
+
"character": 61
|
617
|
+
},
|
618
|
+
"elements": [
|
619
|
+
{
|
620
|
+
"__schema": "TypeRefSchema",
|
621
|
+
"location": {
|
622
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
623
|
+
"line": 39,
|
624
|
+
"character": 62
|
625
|
+
},
|
626
|
+
"name": "ApplicationMain",
|
627
|
+
"componentId": {
|
628
|
+
"scope": "teambit.harmony",
|
629
|
+
"name": "application"
|
630
|
+
}
|
631
|
+
},
|
632
|
+
{
|
633
|
+
"__schema": "TypeRefSchema",
|
634
|
+
"location": {
|
635
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
636
|
+
"line": 39,
|
637
|
+
"character": 79
|
638
|
+
},
|
639
|
+
"name": "UiMain",
|
640
|
+
"componentId": {
|
641
|
+
"scope": "teambit.ui-foundation",
|
642
|
+
"name": "ui"
|
643
|
+
}
|
644
|
+
},
|
645
|
+
{
|
646
|
+
"__schema": "TypeRefSchema",
|
647
|
+
"location": {
|
648
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
649
|
+
"line": 39,
|
650
|
+
"character": 87
|
651
|
+
},
|
652
|
+
"name": "ComponentMain",
|
653
|
+
"componentId": {
|
654
|
+
"scope": "teambit.component",
|
655
|
+
"name": "component"
|
656
|
+
}
|
657
|
+
}
|
658
|
+
]
|
659
|
+
},
|
660
|
+
"isOptional": false,
|
661
|
+
"isSpread": false
|
662
|
+
}
|
663
|
+
],
|
664
|
+
"returnType": {
|
665
|
+
"__schema": "InferenceTypeSchema",
|
666
|
+
"location": {
|
667
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
668
|
+
"line": 39,
|
669
|
+
"character": 3
|
670
|
+
},
|
671
|
+
"type": "Promise<HarmonyUiAppMain>"
|
672
|
+
},
|
673
|
+
"modifiers": [
|
674
|
+
"static",
|
675
|
+
"async"
|
676
|
+
]
|
677
|
+
}
|
678
|
+
],
|
679
|
+
"extendsNodes": [],
|
680
|
+
"implementNodes": []
|
681
|
+
}
|
682
|
+
],
|
683
|
+
"internals": [
|
684
|
+
{
|
685
|
+
"__schema": "UnImplementedSchema",
|
686
|
+
"location": {
|
687
|
+
"filePath": "harmony-ui-app.main.runtime.ts",
|
688
|
+
"line": 44,
|
689
|
+
"character": 1
|
690
|
+
},
|
691
|
+
"name": "HarmonyUiAppAspect.addRuntime(HarmonyUiAppMain);",
|
692
|
+
"type": "ExpressionStatement"
|
693
|
+
}
|
694
|
+
]
|
695
|
+
},
|
696
|
+
{
|
697
|
+
"__schema": "ModuleSchema",
|
698
|
+
"location": {
|
699
|
+
"filePath": "harmony-ui-app.aspect.ts",
|
700
|
+
"line": 1,
|
701
|
+
"character": 1
|
702
|
+
},
|
703
|
+
"exports": [
|
704
|
+
{
|
705
|
+
"__schema": "VariableLikeSchema",
|
706
|
+
"location": {
|
707
|
+
"filePath": "harmony-ui-app.aspect.ts",
|
708
|
+
"line": 3,
|
709
|
+
"character": 14
|
710
|
+
},
|
711
|
+
"signature": "const HarmonyUiAppAspect: Aspect",
|
712
|
+
"name": "HarmonyUiAppAspect",
|
713
|
+
"type": {
|
714
|
+
"__schema": "TypeRefSchema",
|
715
|
+
"location": {
|
716
|
+
"filePath": "harmony-ui-app.aspect.ts",
|
717
|
+
"line": 3,
|
718
|
+
"character": 14
|
719
|
+
},
|
720
|
+
"name": "Aspect",
|
721
|
+
"componentId": {
|
722
|
+
"scope": "teambit.harmony",
|
723
|
+
"name": "harmony",
|
724
|
+
"version": "0.4.6"
|
725
|
+
}
|
726
|
+
},
|
727
|
+
"isOptional": false,
|
728
|
+
"defaultValue": "Aspect.create({\n id: 'teambit.ui-foundation/harmony-ui-app',\n})"
|
729
|
+
}
|
730
|
+
],
|
731
|
+
"internals": []
|
732
|
+
}
|
733
|
+
],
|
734
|
+
"componentId": {
|
735
|
+
"scope": "teambit.ui-foundation",
|
736
|
+
"name": "harmony-ui-app",
|
737
|
+
"version": "1.0.190"
|
738
|
+
},
|
739
|
+
"taggedModuleExports": []
|
740
|
+
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sources":["harmony-app-options.ts"],"sourcesContent":["import { AspectDefinition } from '@teambit/aspect-loader';\n\nexport type HarmonyAppOptions = {\n /**\n * name of the app. e.g. 'ripple-ci'\n */\n name: string;\n\n aspectDefs: AspectDefinition[];\n};\n"],"mappings":""}
|
1
|
+
{"version":3,"names":[],"sources":["harmony-app-options.ts"],"sourcesContent":["import { AspectDefinition } from '@teambit/aspect-loader';\n\nexport type HarmonyAppOptions = {\n /**\n * name of the app. e.g. 'ripple-ci'\n */\n name: string;\n\n aspectDefs: AspectDefinition[];\n};\n"],"mappings":"","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_harmony","data","require","HarmonyUiAppAspect","exports","Aspect","create","id"],"sources":["harmony-ui-app.aspect.ts"],"sourcesContent":["import { Aspect } from '@teambit/harmony';\n\nexport const HarmonyUiAppAspect = Aspect.create({\n id: 'teambit.ui-foundation/harmony-ui-app',\n});\n"],"mappings":";;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEO,MAAME,kBAAkB,GAAAC,OAAA,CAAAD,kBAAA,GAAGE,iBAAM,CAACC,MAAM,CAAC;EAC9CC,EAAE,EAAE;AACN,CAAC,CAAC"}
|
1
|
+
{"version":3,"names":["_harmony","data","require","HarmonyUiAppAspect","exports","Aspect","create","id"],"sources":["harmony-ui-app.aspect.ts"],"sourcesContent":["import { Aspect } from '@teambit/harmony';\n\nexport const HarmonyUiAppAspect = Aspect.create({\n id: 'teambit.ui-foundation/harmony-ui-app',\n});\n"],"mappings":";;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEO,MAAME,kBAAkB,GAAAC,OAAA,CAAAD,kBAAA,GAAGE,iBAAM,CAACC,MAAM,CAAC;EAC9CC,EAAE,EAAE;AACN,CAAC,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_react","data","_interopRequireDefault","require","obj","__esModule","default","Logo","createElement","style","height","display","justifyContent","width","src","exports"],"sources":["harmony-ui-app.compositions.tsx"],"sourcesContent":["import React from 'react';\n\nexport const Logo = () => (\n <div style={{ height: '100%', display: 'flex', justifyContent: 'center' }}>\n <img style={{ width: 70 }} src=\"https://static.bit.dev/extensions-icons/harmony-ui-app.svg\" />\n </div>\n);\n"],"mappings":";;;;;;AAAA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAA0B,SAAAC,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAEnB,MAAMG,IAAI,GAAGA,CAAA,kBAClBP,MAAA,GAAAM,OAAA,CAAAE,aAAA;EAAKC,KAAK,EAAE;IAAEC,MAAM,EAAE,MAAM;IAAEC,OAAO,EAAE,MAAM;IAAEC,cAAc,EAAE;EAAS;AAAE,gBACxEZ,MAAA,GAAAM,OAAA,CAAAE,aAAA;EAAKC,KAAK,EAAE;IAAEI,KAAK,EAAE;EAAG,CAAE;EAACC,GAAG,EAAC;AAA4D,CAAE,CAC1F,CACN;AAACC,OAAA,CAAAR,IAAA,GAAAA,IAAA"}
|
1
|
+
{"version":3,"names":["_react","data","_interopRequireDefault","require","obj","__esModule","default","Logo","createElement","style","height","display","justifyContent","width","src","exports"],"sources":["harmony-ui-app.compositions.tsx"],"sourcesContent":["import React from 'react';\n\nexport const Logo = () => (\n <div style={{ height: '100%', display: 'flex', justifyContent: 'center' }}>\n <img style={{ width: 70 }} src=\"https://static.bit.dev/extensions-icons/harmony-ui-app.svg\" />\n </div>\n);\n"],"mappings":";;;;;;AAAA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAA0B,SAAAC,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAEnB,MAAMG,IAAI,GAAGA,CAAA,kBAClBP,MAAA,GAAAM,OAAA,CAAAE,aAAA;EAAKC,KAAK,EAAE;IAAEC,MAAM,EAAE,MAAM;IAAEC,OAAO,EAAE,MAAM;IAAEC,cAAc,EAAE;EAAS;AAAE,gBACxEZ,MAAA,GAAAM,OAAA,CAAAE,aAAA;EAAKC,KAAK,EAAE;IAAEI,KAAK,EAAE;EAAG,CAAE;EAACC,GAAG,EAAC;AAA4D,CAAE,CAC1F,CACN;AAACC,OAAA,CAAAR,IAAA,GAAAA,IAAA","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_application","data","require","_cli","_ui","_component","_harmonyUiApp","_defineProperty","obj","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","t","i","_toPrimitive","String","r","e","Symbol","toPrimitive","call","TypeError","Number","HarmonyUiAppMain","constructor","application","ui","componentAspect","registerHarmonyApp","options","registerUiRoot","name","path","getHost","configFile","resolvePattern","resolveAspects","aspectDefs","provider","exports","ApplicationAspect","UIAspect","ComponentAspect","MainRuntime","HarmonyUiAppAspect","addRuntime"],"sources":["harmony-ui-app.main.runtime.ts"],"sourcesContent":["import { ApplicationAspect, ApplicationMain } from '@teambit/application';\nimport { MainRuntime } from '@teambit/cli';\nimport { UIAspect, UiMain } from '@teambit/ui';\nimport { ComponentAspect, ComponentMain } from '@teambit/component';\nimport { HarmonyAppOptions } from './harmony-app-options';\nimport { HarmonyUiAppAspect } from './harmony-ui-app.aspect';\n// import { HarmonyUIApp } from './ui.application';\n\nexport class HarmonyUiAppMain {\n constructor(private application: ApplicationMain, private ui: UiMain, private componentAspect: ComponentMain) {}\n\n /**\n * register a new harmony UI application.\n */\n registerHarmonyApp(options: HarmonyAppOptions) {\n this.ui.registerUiRoot({\n name: options.name,\n path: this.componentAspect.getHost().path,\n configFile: '',\n async resolvePattern() {\n return [];\n },\n async resolveAspects() {\n return options.aspectDefs;\n },\n });\n\n // this.application.registerApp(new HarmonyUIApp(options.name, this.ui));\n\n return this;\n }\n\n static slots = [];\n\n static dependencies = [ApplicationAspect, UIAspect, ComponentAspect];\n\n static runtime = MainRuntime;\n\n static async provider([application, ui, componentAspect]: [ApplicationMain, UiMain, ComponentMain]) {\n return new Har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4BVoB,kBAAW;AAO9BC,kCAAkB,CAACC,UAAU,CAACtB,gBAAgB,CAAC"}
|
1
|
+
{"version":3,"names":["_application","data","require","_cli","_ui","_component","_harmonyUiApp","_defineProperty","obj","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","t","i","_toPrimitive","String","r","e","Symbol","toPrimitive","call","TypeError","Number","HarmonyUiAppMain","constructor","application","ui","componentAspect","registerHarmonyApp","options","registerUiRoot","name","path","getHost","configFile","resolvePattern","resolveAspects","aspectDefs","provider","exports","ApplicationAspect","UIAspect","ComponentAspect","MainRuntime","HarmonyUiAppAspect","addRuntime"],"sources":["harmony-ui-app.main.runtime.ts"],"sourcesContent":["import { ApplicationAspect, ApplicationMain } from '@teambit/application';\nimport { MainRuntime } from '@teambit/cli';\nimport { UIAspect, UiMain } from '@teambit/ui';\nimport { ComponentAspect, ComponentMain } from '@teambit/component';\nimport { HarmonyAppOptions } from './harmony-app-options';\nimport { HarmonyUiAppAspect } from './harmony-ui-app.aspect';\n// import { HarmonyUIApp } from './ui.application';\n\nexport class HarmonyUiAppMain {\n constructor(private application: ApplicationMain, private ui: UiMain, private componentAspect: ComponentMain) {}\n\n /**\n * register a new harmony UI application.\n */\n registerHarmonyApp(options: HarmonyAppOptions) {\n this.ui.registerUiRoot({\n name: options.name,\n path: this.componentAspect.getHost().path,\n configFile: '',\n async resolvePattern() {\n return [];\n },\n async resolveAspects() {\n return options.aspectDefs;\n },\n });\n\n // this.application.registerApp(new HarmonyUIApp(options.name, this.ui));\n\n return this;\n }\n\n static slots = [];\n\n static dependencies = [ApplicationAspect, UIAspect, ComponentAspect];\n\n static runtime = MainRuntime;\n\n static async provider([application, ui, componentAspect]: [ApplicationMain, UiMain, ComponentMain]) {\n return new HarmonyUiAppMain(application, ui, componentAspect);\n }\n}\n\nHarmonyUiAppAspect.addRuntime(HarmonyUiAppMain);\n"],"mappings":";;;;;;AAAA,SAAAA,aAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAA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p","data","require","_default","exports","default","HarmonyUiAppAspect"],"sources":["index.ts"],"sourcesContent":["import { HarmonyUiAppAspect } from './harmony-ui-app.aspect';\n\nexport type { HarmonyUiAppMain } from './harmony-ui-app.main.runtime';\nexport default HarmonyUiAppAspect;\nexport { HarmonyUiAppAspect };\n"],"mappings":";;;;;;;;;;;;AAAA,SAAAA,cAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,aAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAA6D,IAAAE,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAG9CC,kCAAkB"}
|
1
|
+
{"version":3,"names":["_harmonyUiApp","data","require","_default","exports","default","HarmonyUiAppAspect"],"sources":["index.ts"],"sourcesContent":["import { HarmonyUiAppAspect } from './harmony-ui-app.aspect';\n\nexport type { HarmonyUiAppMain } from './harmony-ui-app.main.runtime';\nexport default HarmonyUiAppAspect;\nexport { HarmonyUiAppAspect };\n"],"mappings":";;;;;;;;;;;;AAAA,SAAAA,cAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,aAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAA6D,IAAAE,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAG9CC,kCAAkB","ignoreList":[]}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import * as compositions_0 from '/Users/giladshoham/Library/Caches/Bit/capsules/root/b5ea46ec36fa42b9dbedfc12ecb7bb63e03fcfe6/teambit.ui-foundation_harmony-ui-app@1.0.190/dist/harmony-ui-app.compositions.js';
|
2
|
+
import * as overview_0 from '/Users/giladshoham/Library/Caches/Bit/capsules/root/b5ea46ec36fa42b9dbedfc12ecb7bb63e03fcfe6/teambit.ui-foundation_harmony-ui-app@1.0.190/dist/harmony-ui-app.docs.mdx';
|
3
|
+
|
4
|
+
export const compositions = [compositions_0];
|
5
|
+
export const overview = [overview_0];
|
6
|
+
|
7
|
+
export const compositions_metadata = {"compositions":[{"displayName":"Logo","identifier":"Logo"}]};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sources":["ui.application.ts"],"sourcesContent":["// import { Application } from '@teambit/application';\n// import { UiMain } from '@teambit/ui';\n\n// export class HarmonyUIApp implements Application {\n// constructor(readonly name: string, private uiAspect: UiMain) {}\n\n// async run() {\n// const uiServer = await this.uiAspect.createRuntime({\n// uiRootName: this.name,\n// dev: true,\n// });\n\n// await uiServer.dev();\n// }\n\n// // async deploy() {\n// // return '';\n// // }\n// }\n"],"mappings":"AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AAAA"}
|
1
|
+
{"version":3,"names":[],"sources":["ui.application.ts"],"sourcesContent":["// import { Application } from '@teambit/application';\n// import { UiMain } from '@teambit/ui';\n\n// export class HarmonyUIApp implements Application {\n// constructor(readonly name: string, private uiAspect: UiMain) {}\n\n// async run() {\n// const uiServer = await this.uiAspect.createRuntime({\n// uiRootName: this.name,\n// dev: true,\n// });\n\n// await uiServer.dev();\n// }\n\n// // async deploy() {\n// // return '';\n// // }\n// }\n"],"mappings":"AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AAAA","ignoreList":[]}
|
package/package.json
CHANGED
@@ -1,25 +1,25 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/harmony-ui-app",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.190",
|
4
4
|
"homepage": "https://bit.cloud/teambit/ui-foundation/harmony-ui-app",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"componentId": {
|
7
7
|
"scope": "teambit.ui-foundation",
|
8
8
|
"name": "harmony-ui-app",
|
9
|
-
"version": "1.0.
|
9
|
+
"version": "1.0.190"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"@teambit/harmony": "0.4.6",
|
13
|
-
"@teambit/aspect-loader": "1.0.
|
14
|
-
"@teambit/application": "1.0.
|
15
|
-
"@teambit/cli": "0.0.
|
16
|
-
"@teambit/component": "1.0.
|
17
|
-
"@teambit/ui": "1.0.
|
13
|
+
"@teambit/aspect-loader": "1.0.190",
|
14
|
+
"@teambit/application": "1.0.190",
|
15
|
+
"@teambit/cli": "0.0.857",
|
16
|
+
"@teambit/component": "1.0.190",
|
17
|
+
"@teambit/ui": "1.0.190"
|
18
18
|
},
|
19
19
|
"devDependencies": {
|
20
20
|
"@types/mocha": "9.1.0",
|
21
21
|
"chai": "4.3.0",
|
22
|
-
"@teambit/harmony.envs.core-aspect-env": "0.0.
|
22
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.27"
|
23
23
|
},
|
24
24
|
"peerDependencies": {
|
25
25
|
"react": "^17.0.0 || ^18.0.0",
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_harmony-ui-app@1.0.188/dist/harmony-ui-app.compositions.js';
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_harmony-ui-app@1.0.188/dist/harmony-ui-app.docs.mdx';
|
3
|
-
|
4
|
-
export const compositions = [compositions_0];
|
5
|
-
export const overview = [overview_0];
|
6
|
-
|
7
|
-
export const compositions_metadata = {"compositions":[{"displayName":"Logo","identifier":"Logo"}]};
|