zova-suite-a-devui 5.0.1 → 5.0.3

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zova-module-a-devui",
3
- "version": "5.0.1",
3
+ "version": "5.0.3",
4
4
  "title": "a-devui",
5
5
  "zovaModule": {
6
6
  "capabilities": {
@@ -28,5 +28,5 @@
28
28
  "dist"
29
29
  ],
30
30
  "scripts": {},
31
- "gitHead": "44a817e7928d9fe0ae39da48c68417dfb42a328c"
31
+ "gitHead": "499e7924959a60e59c1641b37bc5bc188e7a5a7f"
32
32
  }
@@ -0,0 +1,10 @@
1
+ import { BeanBase, Tool } from 'zova';
2
+ import { ScopeModule } from '../resource/this.js';
3
+ import { ThemeHandler, ThemeHandlerApplyParams } from 'zova-module-a-style';
4
+
5
+ @Tool()
6
+ export class ToolThemeHandler extends BeanBase<ScopeModule> implements ThemeHandler {
7
+ async apply({ token: _token }: ThemeHandlerApplyParams): Promise<void> {
8
+ // do nothing
9
+ }
10
+ }
@@ -1,4 +1,8 @@
1
+ export * from '../bean/tool.themeHandler.js';
2
+ import { ToolThemeHandler } from '../bean/tool.themeHandler.js';
1
3
  import 'zova';
2
4
  declare module 'zova' {
3
- export interface IBeanRecord {}
5
+ export interface IBeanRecord {
6
+ 'a-devui.tool.themeHandler': ToolThemeHandler;
7
+ }
4
8
  }
@@ -11,4 +11,8 @@ declare module 'zova-module-a-style' {
11
11
  export interface ThemeApplyResult {
12
12
  token: ThemeToken;
13
13
  }
14
+
15
+ export interface ThemeHandlerApplyParams {
16
+ token: ThemeToken;
17
+ }
14
18
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "zova-suite-a-devui",
3
- "version": "5.0.1",
3
+ "version": "5.0.3",
4
4
  "title": "a-devui",
5
5
  "type": "module",
6
6
  "description": "devui",
7
7
  "author": "zhennann",
8
8
  "dependencies": {
9
- "zova-module-a-devui": "^5.0.1"
9
+ "zova-module-a-devui": "^5.0.3"
10
10
  },
11
- "gitHead": "44a817e7928d9fe0ae39da48c68417dfb42a328c"
11
+ "gitHead": "499e7924959a60e59c1641b37bc5bc188e7a5a7f"
12
12
  }
File without changes