@teambit/harmony-ui-app 1.0.187 → 1.0.189

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.187" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.ui-foundation/harmony-ui-app@1.0.189" 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={43094:(e,t,o)=>{var n={id:"teambit.ui-foundation/harmony-ui-app@1.0.187",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(43094);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})()));
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={924:(e,t,o)=>{var n={id:"teambit.ui-foundation/harmony-ui-app@1.0.189",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(924);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})()));
@@ -48,7 +48,11 @@
48
48
  "line": 10,
49
49
  "character": 36
50
50
  },
51
- "name": "ApplicationMain"
51
+ "name": "ApplicationMain",
52
+ "componentId": {
53
+ "scope": "teambit.harmony",
54
+ "name": "application"
55
+ }
52
56
  },
53
57
  "isOptional": false,
54
58
  "isSpread": false
@@ -68,7 +72,11 @@
68
72
  "line": 10,
69
73
  "character": 65
70
74
  },
71
- "name": "UiMain"
75
+ "name": "UiMain",
76
+ "componentId": {
77
+ "scope": "teambit.ui-foundation",
78
+ "name": "ui"
79
+ }
72
80
  },
73
81
  "isOptional": false,
74
82
  "isSpread": false
@@ -88,7 +96,11 @@
88
96
  "line": 10,
89
97
  "character": 98
90
98
  },
91
- "name": "ComponentMain"
99
+ "name": "ComponentMain",
100
+ "componentId": {
101
+ "scope": "teambit.component",
102
+ "name": "component"
103
+ }
92
104
  },
93
105
  "isOptional": false,
94
106
  "isSpread": false
@@ -140,7 +152,8 @@
140
152
  "line": 15,
141
153
  "character": 31
142
154
  },
143
- "name": "HarmonyAppOptions"
155
+ "name": "HarmonyAppOptions",
156
+ "internalFilePath": "harmony-app-options.ts"
144
157
  },
145
158
  "isOptional": false,
146
159
  "isSpread": false
@@ -253,7 +266,11 @@
253
266
  "line": 39,
254
267
  "character": 62
255
268
  },
256
- "name": "ApplicationMain"
269
+ "name": "ApplicationMain",
270
+ "componentId": {
271
+ "scope": "teambit.harmony",
272
+ "name": "application"
273
+ }
257
274
  },
258
275
  {
259
276
  "__schema": "TypeRefSchema",
@@ -262,7 +279,11 @@
262
279
  "line": 39,
263
280
  "character": 79
264
281
  },
265
- "name": "UiMain"
282
+ "name": "UiMain",
283
+ "componentId": {
284
+ "scope": "teambit.ui-foundation",
285
+ "name": "ui"
286
+ }
266
287
  },
267
288
  {
268
289
  "__schema": "TypeRefSchema",
@@ -271,7 +292,11 @@
271
292
  "line": 39,
272
293
  "character": 87
273
294
  },
274
- "name": "ComponentMain"
295
+ "name": "ComponentMain",
296
+ "componentId": {
297
+ "scope": "teambit.component",
298
+ "name": "component"
299
+ }
275
300
  }
276
301
  ]
277
302
  },
@@ -380,7 +405,11 @@
380
405
  "line": 10,
381
406
  "character": 36
382
407
  },
383
- "name": "ApplicationMain"
408
+ "name": "ApplicationMain",
409
+ "componentId": {
410
+ "scope": "teambit.harmony",
411
+ "name": "application"
412
+ }
384
413
  },
385
414
  "isOptional": false,
386
415
  "isSpread": false
@@ -400,7 +429,11 @@
400
429
  "line": 10,
401
430
  "character": 65
402
431
  },
403
- "name": "UiMain"
432
+ "name": "UiMain",
433
+ "componentId": {
434
+ "scope": "teambit.ui-foundation",
435
+ "name": "ui"
436
+ }
404
437
  },
405
438
  "isOptional": false,
406
439
  "isSpread": false
@@ -420,7 +453,11 @@
420
453
  "line": 10,
421
454
  "character": 98
422
455
  },
423
- "name": "ComponentMain"
456
+ "name": "ComponentMain",
457
+ "componentId": {
458
+ "scope": "teambit.component",
459
+ "name": "component"
460
+ }
424
461
  },
425
462
  "isOptional": false,
426
463
  "isSpread": false
@@ -472,7 +509,8 @@
472
509
  "line": 15,
473
510
  "character": 31
474
511
  },
475
- "name": "HarmonyAppOptions"
512
+ "name": "HarmonyAppOptions",
513
+ "internalFilePath": "harmony-app-options.ts"
476
514
  },
477
515
  "isOptional": false,
478
516
  "isSpread": false
@@ -585,7 +623,11 @@
585
623
  "line": 39,
586
624
  "character": 62
587
625
  },
588
- "name": "ApplicationMain"
626
+ "name": "ApplicationMain",
627
+ "componentId": {
628
+ "scope": "teambit.harmony",
629
+ "name": "application"
630
+ }
589
631
  },
590
632
  {
591
633
  "__schema": "TypeRefSchema",
@@ -594,7 +636,11 @@
594
636
  "line": 39,
595
637
  "character": 79
596
638
  },
597
- "name": "UiMain"
639
+ "name": "UiMain",
640
+ "componentId": {
641
+ "scope": "teambit.ui-foundation",
642
+ "name": "ui"
643
+ }
598
644
  },
599
645
  {
600
646
  "__schema": "TypeRefSchema",
@@ -603,7 +649,11 @@
603
649
  "line": 39,
604
650
  "character": 87
605
651
  },
606
- "name": "ComponentMain"
652
+ "name": "ComponentMain",
653
+ "componentId": {
654
+ "scope": "teambit.component",
655
+ "name": "component"
656
+ }
607
657
  }
608
658
  ]
609
659
  },
@@ -684,7 +734,7 @@
684
734
  "componentId": {
685
735
  "scope": "teambit.ui-foundation",
686
736
  "name": "harmony-ui-app",
687
- "version": "1.0.187"
737
+ "version": "1.0.189"
688
738
  },
689
739
  "taggedModuleExports": []
690
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 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,M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AAC,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;AAAArB,eAAA,CAjCYqB,gBAAgB,WAwBZ,EAAE;AAAArB,eAAA,CAxBNqB,gBAAgB,kBA0BL,CAACiB,gCAAiB,EAAEC,cAAQ,EAAEC,4BAAe,CAAC;AAAAxC,eAAA,CA1BzDqB,gBAAgB,aA4BVoB,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;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,GAAAC,OAAA;EAAAI,aAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAA6D,SAAAM,gBAAAC,GAAA,EAAAC,GAAA,EAAAC,K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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;AAAArB,eAAA,CAjCYqB,gBAAgB,WAwBZ,EAAE;AAAArB,eAAA,CAxBNqB,gBAAgB,kBA0BL,CAACiB,gCAAiB,EAAEC,cAAQ,EAAEC,4BAAe,CAAC;AAAAxC,eAAA,CA1BzDqB,gBAAgB,aA4BVoB,kBAAW;AAO9BC,kCAAkB,CAACC,UAAU,CAACtB,gBAAgB,CAAC","ignoreList":[]}
package/dist/index.js.map CHANGED
@@ -1 +1 @@
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"}
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.189/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.189/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.187",
3
+ "version": "1.0.189",
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.187"
9
+ "version": "1.0.189"
10
10
  },
11
11
  "dependencies": {
12
12
  "@teambit/harmony": "0.4.6",
13
- "@teambit/aspect-loader": "1.0.187",
14
- "@teambit/application": "1.0.187",
15
- "@teambit/cli": "0.0.855",
16
- "@teambit/component": "1.0.187",
17
- "@teambit/ui": "1.0.187"
13
+ "@teambit/aspect-loader": "1.0.189",
14
+ "@teambit/application": "1.0.189",
15
+ "@teambit/cli": "0.0.856",
16
+ "@teambit/component": "1.0.189",
17
+ "@teambit/ui": "1.0.189"
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.25"
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.187/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.187/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"}]};