zova-module-a-style 5.0.10 → 5.0.12

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-module-a-style",
3
- "version": "5.0.10",
3
+ "version": "5.0.12",
4
4
  "title": "a-style",
5
5
  "zovaModule": {
6
6
  "capabilities": {
@@ -34,5 +34,5 @@
34
34
  "tsc:publish": "npm run clean && tsc -b",
35
35
  "prepublishOnly": "npm run tsc:publish"
36
36
  },
37
- "gitHead": "499e7924959a60e59c1641b37bc5bc188e7a5a7f"
37
+ "gitHead": "90bb78df182aa8db862d6b44e86d23aa33b195fa"
38
38
  }
@@ -0,0 +1,2 @@
1
+ export * from './interface/index.js';
2
+ export * from './service/index.js';
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export const services = {};
package/src/index.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import './assets/css/module.scss';
2
2
  export * from './config/index.js';
3
3
  export * from './resource/index.js';
4
+ export * from './api/index.js';
4
5
  export * from './routes.js';
5
6
  export * from './types.js';
6
7
  export * from './monkey.js';
package/src/monkey.ts CHANGED
@@ -7,14 +7,14 @@ export class Monkey extends BeanSimple implements IMonkeySystem {
7
7
  private _storeTheme: StoreTheme;
8
8
  private _storeStyleDefault: any;
9
9
 
10
- async appInitialize() {
10
+ async appInitialize(_bean: BeanContainerLike) {
11
11
  // theme
12
12
  this._storeTheme = await this.bean._getBean(StoreTheme, true);
13
13
  // style default
14
14
  const scope: ScopeModule = await this.bean.getScope(__ThisModule__);
15
15
  this._storeStyleDefault = await this.bean._getBean(scope.config.defaultStyle, true);
16
16
  }
17
- async appInitialized() {}
17
+ async appInitialized(_bean: BeanContainerLike) {}
18
18
  async beanInit(bean: BeanContainerLike, beanInstance: BeanBase) {
19
19
  const self = this;
20
20
  bean.defineProperty(beanInstance, '$style', {
@@ -1,6 +1,7 @@
1
1
  import { BeanScopeBase, Scope, TypeLocaleBase, TypeModuleResource } from 'zova';
2
2
  import { config, Errors, locales, constants } from '../config/index.js';
3
3
  import { components } from './components.js';
4
+ import { services } from '../api/service/index.js';
4
5
 
5
6
  @Scope()
6
7
  export class ScopeModuleAStyle extends BeanScopeBase {}
@@ -11,7 +12,8 @@ export interface ScopeModuleAStyle
11
12
  typeof config,
12
13
  typeof Errors,
13
14
  (typeof locales)[TypeLocaleBase],
14
- typeof constants
15
+ typeof constants,
16
+ typeof services
15
17
  > {}
16
18
 
17
19
  import 'zova';