@pisell/core 1.0.17 → 1.0.18

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.
@@ -316,9 +316,7 @@ export var Application = /*#__PURE__*/function () {
316
316
  }
317
317
  }));
318
318
  };
319
- this.components.set(code, _objectSpread(_objectSpread({}, component), {}, {
320
- Component: Component
321
- }));
319
+ this.components.set(code, _objectSpread({}, component));
322
320
  }
323
321
 
324
322
  /**
@@ -4,7 +4,6 @@ export declare class ApplicationManager {
4
4
  applicationList: Application[];
5
5
  protected app: APP;
6
6
  applications: Map<string, Application>;
7
- refs: Map<string, any>;
8
7
  constructor(applicationList: Application[], app: APP);
9
8
  init(applicationList: Application[] | ApplicationData[]): Promise<unknown>;
10
9
  add(application: Application): Promise<void>;
@@ -18,7 +18,6 @@ export var ApplicationManager = /*#__PURE__*/function () {
18
18
  var app = arguments.length > 1 ? arguments[1] : undefined;
19
19
  _classCallCheck(this, ApplicationManager);
20
20
  _defineProperty(this, "applications", new Map());
21
- _defineProperty(this, "refs", new Map());
22
21
  this.applicationList = applicationList;
23
22
  this.app = app;
24
23
  this.app = app;
@@ -188,8 +188,8 @@ var Application = class {
188
188
  );
189
189
  };
190
190
  this.components.set(code, {
191
- ...component,
192
- Component
191
+ ...component
192
+ // Component: Component,
193
193
  });
194
194
  }
195
195
  /**
@@ -4,7 +4,6 @@ export declare class ApplicationManager {
4
4
  applicationList: Application[];
5
5
  protected app: APP;
6
6
  applications: Map<string, Application>;
7
- refs: Map<string, any>;
8
7
  constructor(applicationList: Application[], app: APP);
9
8
  init(applicationList: Application[] | ApplicationData[]): Promise<unknown>;
10
9
  add(application: Application): Promise<void>;
@@ -33,7 +33,6 @@ var ApplicationManager = class {
33
33
  }
34
34
  }
35
35
  applications = /* @__PURE__ */ new Map();
36
- refs = /* @__PURE__ */ new Map();
37
36
  async init(applicationList) {
38
37
  return new Promise(async (res, req) => {
39
38
  applicationList.forEach(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/core",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "sideEffects": false,
5
5
  "main": "./lib/index.js",
6
6
  "module": "./es/index.js",