zova-ui-empty 5.0.213 → 5.0.214

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zova-ui-empty",
3
- "version": "5.0.213",
3
+ "version": "5.0.214",
4
4
  "description": "A vue3 empty framework with ioc",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -53,5 +53,5 @@
53
53
  "zova-vite": "^1.0.139"
54
54
  },
55
55
  "license": "MIT",
56
- "gitHead": "38b917802862663cf6c2e6829857de9a2a742dcd"
56
+ "gitHead": "7a00d14277273403f901e45b218c9ebc2e68aa67"
57
57
  }
@@ -15,6 +15,7 @@ export class AppMonkey extends BeanSimple implements IMonkeyApp, IMonkeySystem,
15
15
  async configLoaded(_module: IModule, _config) {}
16
16
  async appInitialize(_bean: BeanContainer) {}
17
17
  async appInitialized(_bean: BeanContainer) {}
18
+ async appReady(_bean: BeanContainer) {}
18
19
  async beanInit(_bean: BeanContainer, _beanInstance: BeanBase) {}
19
20
  async beanInited(_bean: BeanContainer, _beanInstance: BeanBase) {}
20
21
  beanDispose(_bean: BeanContainer, _beanInstance: BeanBase) {}
@@ -8,6 +8,7 @@ export class Monkey extends BeanSimple implements IMonkeySystem {
8
8
  this.app.meta.$api = (await bean._getBean('home-api.bean.api', false)) as BeanApi;
9
9
  }
10
10
  async appInitialized(_bean: BeanContainer) {}
11
+ async appReady(_bean: BeanContainer) {}
11
12
  async beanInit(bean: BeanContainer, beanInstance: BeanBase) {
12
13
  const self = this;
13
14
  bean.defineProperty(beanInstance, '$api', {
@@ -3,7 +3,7 @@ import { ScopeModule } from '../resource/this.js';
3
3
  import { BeanRouter, BeanRouterBase } from 'zova-module-a-router';
4
4
 
5
5
  @Local()
6
- export class Router extends BeanRouterBase<ScopeModule> {
6
+ export class LocalRouter extends BeanRouterBase<ScopeModule> {
7
7
  protected onRouterGuards(router: BeanRouter) {
8
8
  router.beforeEach(async _to => {
9
9
  //console.log(to);
@@ -1,14 +1,15 @@
1
1
  import { BeanBase, BeanContainer, BeanSimple, IMonkeySystem } from 'zova';
2
- import { Router } from './local/router.js';
2
+ import { LocalRouter } from './bean/local.router.js';
3
3
 
4
4
  export class Monkey extends BeanSimple implements IMonkeySystem {
5
- router: Router;
5
+ localRouter: LocalRouter;
6
6
 
7
7
  async appInitialize(bean: BeanContainer) {
8
8
  // router
9
- this.router = await bean._newBean(Router, false);
9
+ this.localRouter = await bean._newBean(LocalRouter, false);
10
10
  }
11
11
  async appInitialized(_bean: BeanContainer) {}
12
+ async appReady(_bean: BeanContainer) {}
12
13
 
13
14
  async beanInit(_bean: BeanContainer, _beanInstance: BeanBase) {}
14
15
  async beanInited(_bean: BeanContainer, _beanInstance: BeanBase) {}