@teambit/harmony-ui-app 1.0.116 → 1.0.118
Sign up to get free protection for your applications and to get access to all the features.
- package/artifacts/preview/teambit_ui_foundation_harmony_ui_app-preview.js +1 -1
- package/dist/harmony-ui-app.compositions.d.ts +1 -2
- package/dist/harmony-ui-app.main.runtime.js +2 -2
- package/dist/harmony-ui-app.main.runtime.js.map +1 -1
- package/dist/preview-1704177213607.js +7 -0
- package/package.json +8 -10
- package/dist/preview-1704113440840.js +0 -7
@@ -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={645:(e,t,o)=>{var n={id:"teambit.ui-foundation/harmony-ui-app@1.0.118",homepage:"https://bit.cloud/teambit/ui-foundation/harmony-ui-app",exported:!0};function r(){const e=i(o(363));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},363: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(645);o(363);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,2 +1 @@
|
|
1
|
-
|
2
|
-
export declare const Logo: () => JSX.Element;
|
1
|
+
export declare const Logo: () => import("react/jsx-runtime").JSX.Element;
|
@@ -41,8 +41,8 @@ function _harmonyUiApp() {
|
|
41
41
|
}
|
42
42
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
43
43
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
44
|
-
function _toPropertyKey(
|
45
|
-
function _toPrimitive(
|
44
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
45
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
46
46
|
// import { HarmonyUIApp } from './ui.application';
|
47
47
|
|
48
48
|
class HarmonyUiAppMain {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_application","data","require","_cli","_ui","_interopRequireDefault","_component","_harmonyUiApp","obj","__esModule","default","_defineProperty","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","
|
1
|
+
{"version":3,"names":["_application","data","require","_cli","_ui","_interopRequireDefault","_component","_harmonyUiApp","obj","__esModule","default","_defineProperty","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","arg","_toPrimitive","String","input","hint","prim","Symbol","toPrimitive","undefined","res","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,GAAAI,sBAAA,CAAAH,OAAA;EAAAE,GAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAK,WAAA;EAAA,MAAAL,IAAA,GAAAC,OAAA;EAAAI,UAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAM,cAAA;EAAA,MAAAN,IAAA,GAAAC,OAAA;EAAAK,aAAA,YAAAA,CAAA;IAAA,OAAAN,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAA6D,SAAAI,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,SAAAG,gBAAAH,GAAA,EAAAI,GAAA,EAAAC,KAAA,I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OP,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;AAAAtB,eAAA,CAjCYsB,gBAAgB,WAwBZ,EAAE;AAAAtB,eAAA,CAxBNsB,gBAAgB,kBA0BL,CAACiB,gCAAiB,EAAEC,aAAQ,EAAEC,4BAAe,CAAC;AAAAzC,eAAA,CA1BzDsB,gBAAgB,aA4BVoB,kBAAW;AAO9BC,kCAAkB,CAACC,UAAU,CAACtB,gBAAgB,CAAC"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import * as compositions_0 from '/tmp/capsules-root/sign-capsules/2024-0-2/1mj42jl/teambit.ui-foundation_harmony-ui-app@1.0.118/dist/harmony-ui-app.compositions.js';
|
2
|
+
import * as overview_0 from '/tmp/capsules-root/sign-capsules/2024-0-2/1mj42jl/teambit.ui-foundation_harmony-ui-app@1.0.118/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"}]};
|
package/package.json
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/harmony-ui-app",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.118",
|
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.118"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
|
-
"@teambit/harmony": "0.
|
13
|
-
"@teambit/
|
14
|
-
"@teambit/application": "1.0.
|
15
|
-
"@teambit/cli": "0.0.842",
|
16
|
-
"@teambit/component": "1.0.
|
17
|
-
"@teambit/ui": "1.0.
|
12
|
+
"@teambit/harmony.aspect-loader": "1.0.118",
|
13
|
+
"@teambit/harmony.harmony": "0.4.6",
|
14
|
+
"@teambit/harmony.application": "1.0.118",
|
15
|
+
"@teambit/harmony.cli": "0.0.842",
|
16
|
+
"@teambit/component.component": "1.0.118",
|
17
|
+
"@teambit/ui-foundation.ui": "1.0.118"
|
18
18
|
},
|
19
19
|
"devDependencies": {
|
20
20
|
"@types/mocha": "9.1.0",
|
@@ -28,8 +28,6 @@
|
|
28
28
|
"@teambit/legacy": "1.0.624"
|
29
29
|
},
|
30
30
|
"license": "Apache-2.0",
|
31
|
-
"optionalDependencies": {},
|
32
|
-
"peerDependenciesMeta": {},
|
33
31
|
"exports": {
|
34
32
|
".": {
|
35
33
|
"node": {
|
@@ -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.116/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.116/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"}]};
|