@teambit/harmony-ui-app 1.0.424 → 1.0.426

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.ui-foundation/harmony-ui-app@1.0.424" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.ui-foundation/harmony-ui-app@1.0.426" 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={82160:(e,t,o)=>{var n={id:"teambit.ui-foundation/harmony-ui-app@1.0.424",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={};o.r(n),o.d(n,{compositions:()=>f,compositions_metadata:()=>y,overview:()=>m});var r={};o.r(r),o.d(r,{default:()=>l});var i=o(82160);o(41594);const a=MdxJsReact,p=TeambitMdxUiMdxScopeContext;var u=["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)({}).hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},c.apply(null,arguments)}var s={},d="wrapper";function l(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={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;o[n]=e[n]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,u);return(0,a.mdx)(d,c({},s,o,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(p.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}l.isMDXComponent=!0;const f=[i],m=[r],y={compositions:[{displayName:"Logo",identifier:"Logo"}]};return 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.ui-foundation/harmony-ui-app-preview"]=t():e["teambit.ui-foundation/harmony-ui-app-preview"]=t()}(self,(()=>(()=>{"use strict";var e={274:(e,t,o)=>{var n={id:"teambit.ui-foundation/harmony-ui-app@1.0.426",homepage:"https://bit.cloud/teambit/ui-foundation/harmony-ui-app",exported:!0};function r(){const e=i(o(594));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},594: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={};o.r(n),o.d(n,{compositions:()=>f,compositions_metadata:()=>y,overview:()=>m});var r={};o.r(r),o.d(r,{default:()=>l});var i=o(274);o(594);const a=MdxJsReact,p=TeambitMdxUiMdxScopeContext;var u=["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)({}).hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},c.apply(null,arguments)}var s={},d="wrapper";function l(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={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;o[n]=e[n]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,u);return(0,a.mdx)(d,c({},s,o,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(p.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}l.isMDXComponent=!0;const f=[i],m=[r],y={compositions:[{displayName:"Logo",identifier:"Logo"}]};return n})()));
@@ -46,16 +46,16 @@
46
46
  "__schema": "ParameterSchema",
47
47
  "location": {
48
48
  "filePath": "harmony-ui-app.main.runtime.ts",
49
- "line": 10,
50
- "character": 15
49
+ "line": 11,
50
+ "character": 5
51
51
  },
52
52
  "name": "application",
53
53
  "type": {
54
54
  "__schema": "TypeRefSchema",
55
55
  "location": {
56
56
  "filePath": "harmony-ui-app.main.runtime.ts",
57
- "line": 10,
58
- "character": 36
57
+ "line": 11,
58
+ "character": 26
59
59
  },
60
60
  "name": "ApplicationMain",
61
61
  "componentId": {
@@ -70,16 +70,16 @@
70
70
  "__schema": "ParameterSchema",
71
71
  "location": {
72
72
  "filePath": "harmony-ui-app.main.runtime.ts",
73
- "line": 10,
74
- "character": 53
73
+ "line": 12,
74
+ "character": 5
75
75
  },
76
76
  "name": "ui",
77
77
  "type": {
78
78
  "__schema": "TypeRefSchema",
79
79
  "location": {
80
80
  "filePath": "harmony-ui-app.main.runtime.ts",
81
- "line": 10,
82
- "character": 65
81
+ "line": 12,
82
+ "character": 17
83
83
  },
84
84
  "name": "UiMain",
85
85
  "componentId": {
@@ -94,16 +94,16 @@
94
94
  "__schema": "ParameterSchema",
95
95
  "location": {
96
96
  "filePath": "harmony-ui-app.main.runtime.ts",
97
- "line": 10,
98
- "character": 73
97
+ "line": 13,
98
+ "character": 5
99
99
  },
100
100
  "name": "componentAspect",
101
101
  "type": {
102
102
  "__schema": "TypeRefSchema",
103
103
  "location": {
104
104
  "filePath": "harmony-ui-app.main.runtime.ts",
105
- "line": 10,
106
- "character": 98
105
+ "line": 13,
106
+ "character": 30
107
107
  },
108
108
  "name": "ComponentMain",
109
109
  "componentId": {
@@ -130,14 +130,14 @@
130
130
  "__schema": "FunctionLikeSchema",
131
131
  "location": {
132
132
  "filePath": "harmony-ui-app.main.runtime.ts",
133
- "line": 15,
133
+ "line": 19,
134
134
  "character": 3
135
135
  },
136
136
  "doc": {
137
137
  "__schema": "DocSchema",
138
138
  "location": {
139
139
  "filePath": "harmony-ui-app.main.runtime.ts",
140
- "line": 12,
140
+ "line": 16,
141
141
  "character": 3
142
142
  },
143
143
  "raw": "/**\n * register a new harmony UI application.\n */",
@@ -151,7 +151,7 @@
151
151
  "__schema": "ParameterSchema",
152
152
  "location": {
153
153
  "filePath": "harmony-ui-app.main.runtime.ts",
154
- "line": 15,
154
+ "line": 19,
155
155
  "character": 22
156
156
  },
157
157
  "name": "options",
@@ -159,7 +159,7 @@
159
159
  "__schema": "TypeRefSchema",
160
160
  "location": {
161
161
  "filePath": "harmony-ui-app.main.runtime.ts",
162
- "line": 15,
162
+ "line": 19,
163
163
  "character": 31
164
164
  },
165
165
  "name": "HarmonyAppOptions",
@@ -173,7 +173,7 @@
173
173
  "__schema": "TypeRefSchema",
174
174
  "location": {
175
175
  "filePath": "harmony-ui-app.main.runtime.ts",
176
- "line": 15,
176
+ "line": 19,
177
177
  "character": 3
178
178
  },
179
179
  "name": "HarmonyUiAppMain"
@@ -184,7 +184,7 @@
184
184
  "__schema": "VariableLikeSchema",
185
185
  "location": {
186
186
  "filePath": "harmony-ui-app.main.runtime.ts",
187
- "line": 33,
187
+ "line": 37,
188
188
  "character": 3
189
189
  },
190
190
  "signature": "(property) HarmonyUiAppMain.slots: never[]",
@@ -193,7 +193,7 @@
193
193
  "__schema": "InferenceTypeSchema",
194
194
  "location": {
195
195
  "filePath": "harmony-ui-app.main.runtime.ts",
196
- "line": 33,
196
+ "line": 37,
197
197
  "character": 3
198
198
  },
199
199
  "type": "never[]"
@@ -205,7 +205,7 @@
205
205
  "__schema": "VariableLikeSchema",
206
206
  "location": {
207
207
  "filePath": "harmony-ui-app.main.runtime.ts",
208
- "line": 35,
208
+ "line": 39,
209
209
  "character": 3
210
210
  },
211
211
  "signature": "(property) HarmonyUiAppMain.dependencies: Aspect[]",
@@ -214,7 +214,7 @@
214
214
  "__schema": "InferenceTypeSchema",
215
215
  "location": {
216
216
  "filePath": "harmony-ui-app.main.runtime.ts",
217
- "line": 35,
217
+ "line": 39,
218
218
  "character": 3
219
219
  },
220
220
  "type": "Aspect[]"
@@ -226,7 +226,7 @@
226
226
  "__schema": "VariableLikeSchema",
227
227
  "location": {
228
228
  "filePath": "harmony-ui-app.main.runtime.ts",
229
- "line": 37,
229
+ "line": 41,
230
230
  "character": 3
231
231
  },
232
232
  "signature": "(property) HarmonyUiAppMain.runtime: RuntimeDefinition",
@@ -235,7 +235,7 @@
235
235
  "__schema": "InferenceTypeSchema",
236
236
  "location": {
237
237
  "filePath": "harmony-ui-app.main.runtime.ts",
238
- "line": 37,
238
+ "line": 41,
239
239
  "character": 3
240
240
  },
241
241
  "type": "RuntimeDefinition"
@@ -247,7 +247,7 @@
247
247
  "__schema": "FunctionLikeSchema",
248
248
  "location": {
249
249
  "filePath": "harmony-ui-app.main.runtime.ts",
250
- "line": 39,
250
+ "line": 43,
251
251
  "character": 3
252
252
  },
253
253
  "signature": "(method) HarmonyUiAppMain.provider([application, ui, componentAspect]: [ApplicationMain, UiMain, ComponentMain]): Promise<HarmonyUiAppMain>",
@@ -257,7 +257,7 @@
257
257
  "__schema": "ParameterSchema",
258
258
  "location": {
259
259
  "filePath": "harmony-ui-app.main.runtime.ts",
260
- "line": 39,
260
+ "line": 43,
261
261
  "character": 25
262
262
  },
263
263
  "name": "[ application, ui, componentAspect ]",
@@ -265,7 +265,7 @@
265
265
  "__schema": "TupleTypeSchema",
266
266
  "location": {
267
267
  "filePath": "harmony-ui-app.main.runtime.ts",
268
- "line": 39,
268
+ "line": 43,
269
269
  "character": 61
270
270
  },
271
271
  "elements": [
@@ -273,7 +273,7 @@
273
273
  "__schema": "TypeRefSchema",
274
274
  "location": {
275
275
  "filePath": "harmony-ui-app.main.runtime.ts",
276
- "line": 39,
276
+ "line": 43,
277
277
  "character": 62
278
278
  },
279
279
  "name": "ApplicationMain",
@@ -286,7 +286,7 @@
286
286
  "__schema": "TypeRefSchema",
287
287
  "location": {
288
288
  "filePath": "harmony-ui-app.main.runtime.ts",
289
- "line": 39,
289
+ "line": 43,
290
290
  "character": 79
291
291
  },
292
292
  "name": "UiMain",
@@ -299,7 +299,7 @@
299
299
  "__schema": "TypeRefSchema",
300
300
  "location": {
301
301
  "filePath": "harmony-ui-app.main.runtime.ts",
302
- "line": 39,
302
+ "line": 43,
303
303
  "character": 87
304
304
  },
305
305
  "name": "ComponentMain",
@@ -318,7 +318,7 @@
318
318
  "__schema": "InferenceTypeSchema",
319
319
  "location": {
320
320
  "filePath": "harmony-ui-app.main.runtime.ts",
321
- "line": 39,
321
+ "line": 43,
322
322
  "character": 3
323
323
  },
324
324
  "type": "Promise<HarmonyUiAppMain>"
@@ -415,16 +415,16 @@
415
415
  "__schema": "ParameterSchema",
416
416
  "location": {
417
417
  "filePath": "harmony-ui-app.main.runtime.ts",
418
- "line": 10,
419
- "character": 15
418
+ "line": 11,
419
+ "character": 5
420
420
  },
421
421
  "name": "application",
422
422
  "type": {
423
423
  "__schema": "TypeRefSchema",
424
424
  "location": {
425
425
  "filePath": "harmony-ui-app.main.runtime.ts",
426
- "line": 10,
427
- "character": 36
426
+ "line": 11,
427
+ "character": 26
428
428
  },
429
429
  "name": "ApplicationMain",
430
430
  "componentId": {
@@ -439,16 +439,16 @@
439
439
  "__schema": "ParameterSchema",
440
440
  "location": {
441
441
  "filePath": "harmony-ui-app.main.runtime.ts",
442
- "line": 10,
443
- "character": 53
442
+ "line": 12,
443
+ "character": 5
444
444
  },
445
445
  "name": "ui",
446
446
  "type": {
447
447
  "__schema": "TypeRefSchema",
448
448
  "location": {
449
449
  "filePath": "harmony-ui-app.main.runtime.ts",
450
- "line": 10,
451
- "character": 65
450
+ "line": 12,
451
+ "character": 17
452
452
  },
453
453
  "name": "UiMain",
454
454
  "componentId": {
@@ -463,16 +463,16 @@
463
463
  "__schema": "ParameterSchema",
464
464
  "location": {
465
465
  "filePath": "harmony-ui-app.main.runtime.ts",
466
- "line": 10,
467
- "character": 73
466
+ "line": 13,
467
+ "character": 5
468
468
  },
469
469
  "name": "componentAspect",
470
470
  "type": {
471
471
  "__schema": "TypeRefSchema",
472
472
  "location": {
473
473
  "filePath": "harmony-ui-app.main.runtime.ts",
474
- "line": 10,
475
- "character": 98
474
+ "line": 13,
475
+ "character": 30
476
476
  },
477
477
  "name": "ComponentMain",
478
478
  "componentId": {
@@ -499,14 +499,14 @@
499
499
  "__schema": "FunctionLikeSchema",
500
500
  "location": {
501
501
  "filePath": "harmony-ui-app.main.runtime.ts",
502
- "line": 15,
502
+ "line": 19,
503
503
  "character": 3
504
504
  },
505
505
  "doc": {
506
506
  "__schema": "DocSchema",
507
507
  "location": {
508
508
  "filePath": "harmony-ui-app.main.runtime.ts",
509
- "line": 12,
509
+ "line": 16,
510
510
  "character": 3
511
511
  },
512
512
  "raw": "/**\n * register a new harmony UI application.\n */",
@@ -520,7 +520,7 @@
520
520
  "__schema": "ParameterSchema",
521
521
  "location": {
522
522
  "filePath": "harmony-ui-app.main.runtime.ts",
523
- "line": 15,
523
+ "line": 19,
524
524
  "character": 22
525
525
  },
526
526
  "name": "options",
@@ -528,7 +528,7 @@
528
528
  "__schema": "TypeRefSchema",
529
529
  "location": {
530
530
  "filePath": "harmony-ui-app.main.runtime.ts",
531
- "line": 15,
531
+ "line": 19,
532
532
  "character": 31
533
533
  },
534
534
  "name": "HarmonyAppOptions",
@@ -542,7 +542,7 @@
542
542
  "__schema": "TypeRefSchema",
543
543
  "location": {
544
544
  "filePath": "harmony-ui-app.main.runtime.ts",
545
- "line": 15,
545
+ "line": 19,
546
546
  "character": 3
547
547
  },
548
548
  "name": "HarmonyUiAppMain"
@@ -553,7 +553,7 @@
553
553
  "__schema": "VariableLikeSchema",
554
554
  "location": {
555
555
  "filePath": "harmony-ui-app.main.runtime.ts",
556
- "line": 33,
556
+ "line": 37,
557
557
  "character": 3
558
558
  },
559
559
  "signature": "(property) HarmonyUiAppMain.slots: never[]",
@@ -562,7 +562,7 @@
562
562
  "__schema": "InferenceTypeSchema",
563
563
  "location": {
564
564
  "filePath": "harmony-ui-app.main.runtime.ts",
565
- "line": 33,
565
+ "line": 37,
566
566
  "character": 3
567
567
  },
568
568
  "type": "never[]"
@@ -574,7 +574,7 @@
574
574
  "__schema": "VariableLikeSchema",
575
575
  "location": {
576
576
  "filePath": "harmony-ui-app.main.runtime.ts",
577
- "line": 35,
577
+ "line": 39,
578
578
  "character": 3
579
579
  },
580
580
  "signature": "(property) HarmonyUiAppMain.dependencies: Aspect[]",
@@ -583,7 +583,7 @@
583
583
  "__schema": "InferenceTypeSchema",
584
584
  "location": {
585
585
  "filePath": "harmony-ui-app.main.runtime.ts",
586
- "line": 35,
586
+ "line": 39,
587
587
  "character": 3
588
588
  },
589
589
  "type": "Aspect[]"
@@ -595,7 +595,7 @@
595
595
  "__schema": "VariableLikeSchema",
596
596
  "location": {
597
597
  "filePath": "harmony-ui-app.main.runtime.ts",
598
- "line": 37,
598
+ "line": 41,
599
599
  "character": 3
600
600
  },
601
601
  "signature": "(property) HarmonyUiAppMain.runtime: RuntimeDefinition",
@@ -604,7 +604,7 @@
604
604
  "__schema": "InferenceTypeSchema",
605
605
  "location": {
606
606
  "filePath": "harmony-ui-app.main.runtime.ts",
607
- "line": 37,
607
+ "line": 41,
608
608
  "character": 3
609
609
  },
610
610
  "type": "RuntimeDefinition"
@@ -616,7 +616,7 @@
616
616
  "__schema": "FunctionLikeSchema",
617
617
  "location": {
618
618
  "filePath": "harmony-ui-app.main.runtime.ts",
619
- "line": 39,
619
+ "line": 43,
620
620
  "character": 3
621
621
  },
622
622
  "signature": "(method) HarmonyUiAppMain.provider([application, ui, componentAspect]: [ApplicationMain, UiMain, ComponentMain]): Promise<HarmonyUiAppMain>",
@@ -626,7 +626,7 @@
626
626
  "__schema": "ParameterSchema",
627
627
  "location": {
628
628
  "filePath": "harmony-ui-app.main.runtime.ts",
629
- "line": 39,
629
+ "line": 43,
630
630
  "character": 25
631
631
  },
632
632
  "name": "[ application, ui, componentAspect ]",
@@ -634,7 +634,7 @@
634
634
  "__schema": "TupleTypeSchema",
635
635
  "location": {
636
636
  "filePath": "harmony-ui-app.main.runtime.ts",
637
- "line": 39,
637
+ "line": 43,
638
638
  "character": 61
639
639
  },
640
640
  "elements": [
@@ -642,7 +642,7 @@
642
642
  "__schema": "TypeRefSchema",
643
643
  "location": {
644
644
  "filePath": "harmony-ui-app.main.runtime.ts",
645
- "line": 39,
645
+ "line": 43,
646
646
  "character": 62
647
647
  },
648
648
  "name": "ApplicationMain",
@@ -655,7 +655,7 @@
655
655
  "__schema": "TypeRefSchema",
656
656
  "location": {
657
657
  "filePath": "harmony-ui-app.main.runtime.ts",
658
- "line": 39,
658
+ "line": 43,
659
659
  "character": 79
660
660
  },
661
661
  "name": "UiMain",
@@ -668,7 +668,7 @@
668
668
  "__schema": "TypeRefSchema",
669
669
  "location": {
670
670
  "filePath": "harmony-ui-app.main.runtime.ts",
671
- "line": 39,
671
+ "line": 43,
672
672
  "character": 87
673
673
  },
674
674
  "name": "ComponentMain",
@@ -687,7 +687,7 @@
687
687
  "__schema": "InferenceTypeSchema",
688
688
  "location": {
689
689
  "filePath": "harmony-ui-app.main.runtime.ts",
690
- "line": 39,
690
+ "line": 43,
691
691
  "character": 3
692
692
  },
693
693
  "type": "Promise<HarmonyUiAppMain>"
@@ -707,7 +707,7 @@
707
707
  "__schema": "UnImplementedSchema",
708
708
  "location": {
709
709
  "filePath": "harmony-ui-app.main.runtime.ts",
710
- "line": 44,
710
+ "line": 48,
711
711
  "character": 1
712
712
  },
713
713
  "name": "HarmonyUiAppAspect.addRuntime(HarmonyUiAppMain);",
@@ -756,7 +756,7 @@
756
756
  "componentId": {
757
757
  "scope": "teambit.ui-foundation",
758
758
  "name": "harmony-ui-app",
759
- "version": "1.0.424"
759
+ "version": "1.0.426"
760
760
  },
761
761
  "taggedModuleExports": []
762
762
  }
@@ -1 +1 @@
1
- {"version":3,"names":["_application","data","require","_cli","_ui","_component","_harmonyUiApp","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","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;EAAAF,YAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,KAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,IAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,IAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,GAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,S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CAACH,EAAE,CAACI,cAAc,CAAC;MACrBC,IAAI,EAAEF,OAAO,CAACE,IAAI;MAClBC,IAAI,EAAE,IAAI,CAACL,eAAe,CAACM,OAAO,CAAC,CAAC,CAACD,IAAI;MACzCE,UAAU,EAAE,EAAE;MACd,MAAMC,cAAcA,CAAA,EAAG;QACrB,OAAO,EAAE;MACX,CAAC;MACD,MAAMC,cAAcA,CAAA,EAAG;QACrB,OAAOP,OAAO,CAACQ,UAAU;MAC3B;IACF,CAAC,CAAC;;IAEF;;IAEA,OAAO,IAAI;EACb;EAQA,aAAaC,QAAQA,CAAC,CAACb,WAAW,EAAEC,EAAE,EAAEC,eAAe,CAA2C,EAAE;IAClG,OAAO,IAAIJ,gBAAgB,CAACE,WAAW,EAAEC,EAAE,EAAEC,eAAe,CAAC;EAC/D;AACF;AAACY,OAAA,CAAAhB,gBAAA,GAAAA,gBAAA;AAAAnB,eAAA,CAjCYmB,gBAAgB,WAwBZ,EAAE;AAAAnB,eAAA,CAxBNmB,gBAAgB,kBA0BL,CAACiB,gCAAiB,EAAEC,cAAQ,EAAEC,4BAAe,CAAC;AAAAtC,eAAA,CA1BzDmB,gBAAgB,aA4BVoB,kBAAW;AAO9BC,kCAAkB,CAACC,UAAU,CAACtB,gBAAgB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_application","data","require","_cli","_ui","_component","_harmonyUiApp","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","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(\n private application: ApplicationMain,\n private ui: UiMain,\n private componentAspect: ComponentMain\n ) {}\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;EAAAF,YAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,KAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,IAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,IAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,GAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,WAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,UAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAK,cAAA;EAAA,MAAAL,IAAA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AE;MACd,MAAMC,cAAcA,CAAA,EAAG;QACrB,OAAO,EAAE;MACX,CAAC;MACD,MAAMC,cAAcA,CAAA,EAAG;QACrB,OAAOP,OAAO,CAACQ,UAAU;MAC3B;IACF,CAAC,CAAC;;IAEF;;IAEA,OAAO,IAAI;EACb;EAQA,aAAaC,QAAQA,CAAC,CAACb,WAAW,EAAEC,EAAE,EAAEC,eAAe,CAA2C,EAAE;IAClG,OAAO,IAAIJ,gBAAgB,CAACE,WAAW,EAAEC,EAAE,EAAEC,eAAe,CAAC;EAC/D;AACF;AAACY,OAAA,CAAAhB,gBAAA,GAAAA,gBAAA;AAAAnB,eAAA,CArCYmB,gBAAgB,WA4BZ,EAAE;AAAAnB,eAAA,CA5BNmB,gBAAgB,kBA8BL,CAACiB,gCAAiB,EAAEC,cAAQ,EAAEC,4BAAe,CAAC;AAAAtC,eAAA,CA9BzDmB,gBAAgB,aAgCVoB,kBAAW;AAO9BC,kCAAkB,CAACC,UAAU,CAACtB,gBAAgB,CAAC","ignoreList":[]}
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.ui-foundation_harmony-ui-app@1.0.424/dist/harmony-ui-app.compositions.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.ui-foundation_harmony-ui-app@1.0.424/dist/harmony-ui-app.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.ui-foundation_harmony-ui-app@1.0.426/dist/harmony-ui-app.compositions.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.ui-foundation_harmony-ui-app@1.0.426/dist/harmony-ui-app.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@teambit/harmony-ui-app",
3
- "version": "1.0.424",
3
+ "version": "1.0.426",
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.424"
9
+ "version": "1.0.426"
10
10
  },
11
11
  "dependencies": {
12
12
  "@teambit/harmony": "0.4.6",
13
- "@teambit/aspect-loader": "1.0.424",
14
- "@teambit/application": "1.0.424",
15
- "@teambit/cli": "0.0.1001",
16
- "@teambit/component": "1.0.424",
17
- "@teambit/ui": "1.0.424"
13
+ "@teambit/aspect-loader": "1.0.426",
14
+ "@teambit/application": "1.0.426",
15
+ "@teambit/cli": "0.0.1003",
16
+ "@teambit/component": "1.0.426",
17
+ "@teambit/ui": "1.0.426"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@types/mocha": "9.1.0",