@teambit/harmony-ui-app 1.0.103 → 1.0.105

Sign up to get free protection for your applications and to get access to all the features.
@@ -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(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); }
44
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
45
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
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","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;EAA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EC,kBAAkBA,CAACC,OAA0B,EAAE;IAC7C,IAAI,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;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"}
1
+ {"version":3,"names":["_application","data","require","_cli","_ui","_interopRequireDefault","_component","_harmonyUiApp","obj","__esModule","default","_defineProperty","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,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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BA,CAACC,OAA0B,EAAE;IAC7C,IAAI,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;AAAApB,eAAA,CAjCYoB,gBAAgB,WAwBZ,EAAE;AAAApB,eAAA,CAxBNoB,gBAAgB,kBA0BL,CAACiB,gCAAiB,EAAEC,aAAQ,EAAEC,4BAAe,CAAC;AAAAvC,eAAA,CA1BzDoB,gBAAgB,aA4BVoB,kBAAW;AAO9BC,kCAAkB,CAACC,UAAU,CAACtB,gBAAgB,CAAC"}
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_harmony-ui-app@1.0.103/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.103/dist/harmony-ui-app.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_harmony-ui-app@1.0.105/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.105/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,22 +1,22 @@
1
1
  {
2
2
  "name": "@teambit/harmony-ui-app",
3
- "version": "1.0.103",
3
+ "version": "1.0.105",
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.103"
9
+ "version": "1.0.105"
10
10
  },
11
11
  "dependencies": {
12
12
  "core-js": "^3.0.0",
13
13
  "@babel/runtime": "7.20.0",
14
14
  "@teambit/harmony": "0.4.6",
15
- "@teambit/aspect-loader": "1.0.103",
16
- "@teambit/application": "1.0.103",
17
- "@teambit/cli": "0.0.837",
18
- "@teambit/component": "1.0.103",
19
- "@teambit/ui": "1.0.103"
15
+ "@teambit/aspect-loader": "1.0.105",
16
+ "@teambit/application": "1.0.105",
17
+ "@teambit/cli": "0.0.838",
18
+ "@teambit/component": "1.0.105",
19
+ "@teambit/ui": "1.0.105"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/react": "^17.0.8",
@@ -27,7 +27,7 @@
27
27
  "@types/testing-library__jest-dom": "5.9.5"
28
28
  },
29
29
  "peerDependencies": {
30
- "@teambit/legacy": "1.0.622",
30
+ "@teambit/legacy": "1.0.623",
31
31
  "react": "^16.8.0 || ^17.0.0",
32
32
  "react-dom": "^16.8.0 || ^17.0.0"
33
33
  },