zova-module-a-style 5.0.35 → 5.0.37

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.35",
3
+ "version": "5.0.37",
4
4
  "title": "a-style",
5
5
  "zovaModule": {
6
6
  "capabilities": {
@@ -35,7 +35,7 @@
35
35
  "scripts": {
36
36
  "clean": "tsc -b --clean",
37
37
  "tsc:publish": "npm run clean && tsc -b",
38
- "prepublishOnly": "npm run tsc:publish"
38
+ "_prepublishOnly": "npm run tsc:publish"
39
39
  },
40
- "gitHead": "993e48dbb586cd060106cabdeaffcc5df265509f"
40
+ "gitHead": "b87bdd8540395b181993a617d33cad57b3c4d446"
41
41
  }
@@ -0,0 +1,33 @@
1
+ /** beans: begin */
2
+ export * from '../bean/bean.theme.js';
3
+ import { BeanTheme } from '../bean/bean.theme.js';
4
+ import 'zova';
5
+ declare module 'zova' {
6
+ export interface IBeanRecord {
7
+ 'a-style.bean.theme': BeanTheme;
8
+ }
9
+ }
10
+ /** beans: end */
11
+ /** config: begin */
12
+ export * from '../config/config.js';
13
+ import { config } from '../config/config.js';
14
+ /** config: end */
15
+ /** scope: begin */
16
+ import { BeanScopeBase, Scope, TypeModuleResource } from 'zova';
17
+
18
+ @Scope()
19
+ export class ScopeModuleAStyle extends BeanScopeBase {}
20
+
21
+ export interface ScopeModuleAStyle extends TypeModuleResource<any, typeof config, any, any, any, any> {}
22
+
23
+ import 'zova';
24
+ declare module 'zova' {
25
+ export interface IBeanScopeRecord {
26
+ 'a-style': ScopeModuleAStyle;
27
+ }
28
+
29
+ export interface IBeanScopeConfig {
30
+ 'a-style': ReturnType<typeof config>;
31
+ }
32
+ }
33
+ /** scope: end */
@@ -0,0 +1,2 @@
1
+ export const __ThisModule__ = 'a-style';
2
+ export { ScopeModuleAStyle as ScopeModule } from './index.js';
@@ -1,5 +1,5 @@
1
1
  import { Bean, Cast, IBeanRecord } from 'zova';
2
- import { ScopeModule } from '../resource/this.js';
2
+ import { ScopeModule } from '../.metadata/this.js';
3
3
  import { ThemeBase, ThemeHandler } from '../types.js';
4
4
  import { BeanModelBase } from 'zova-module-a-model';
5
5
  import { watch } from 'vue';
package/src/index.ts CHANGED
@@ -1,9 +1,3 @@
1
- import './assets/css/module.scss';
2
- export * from './config/index.js';
3
- export * from './resource/index.js';
4
- export * from './api/index.js';
5
- export * from './routes.js';
1
+ export * from './.metadata/index.js';
6
2
  export * from './types.js';
7
3
  export * from './monkey.js';
8
-
9
- import './typings.js';
package/src/monkey.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { style, createTypeStyle, TypeStyle } from 'typestyle';
2
2
  import { BeanBase, BeanContainer, BeanSimple, IMonkeySystem, SymbolModuleName, useComputed } from 'zova';
3
- import { ScopeModule, __ThisModule__ } from './resource/this.js';
3
+ import { ScopeModule, __ThisModule__ } from './.metadata/this.js';
4
4
  import { BeanTheme } from './bean/bean.theme.js';
5
5
 
6
6
  export class Monkey extends BeanSimple implements IMonkeySystem {
package/src/api/index.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './interface/index.js';
2
- export * from './service/index.js';
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export const services = {};
@@ -1 +0,0 @@
1
-
File without changes
@@ -1 +0,0 @@
1
- export const constants = null;
@@ -1 +0,0 @@
1
- export enum Errors {}
@@ -1,4 +0,0 @@
1
- export * from './locales.js';
2
- export * from './errors.js';
3
- export * from './config.js';
4
- export * from './constants.js';
@@ -1 +0,0 @@
1
- export default {};
@@ -1 +0,0 @@
1
- export default {};
@@ -1,7 +0,0 @@
1
- import en_us from './locale/en-us.js';
2
- import zh_cn from './locale/zh-cn.js';
3
-
4
- export const locales = {
5
- 'en-us': en_us,
6
- 'zh-cn': zh_cn,
7
- };
package/src/page/.gitkeep DELETED
File without changes
@@ -1,8 +0,0 @@
1
- export * from '../bean/bean.theme.js';
2
- import { BeanTheme } from '../bean/bean.theme.js';
3
- import 'zova';
4
- declare module 'zova' {
5
- export interface IBeanRecord {
6
- 'a-style.bean.theme': BeanTheme;
7
- }
8
- }
@@ -1 +0,0 @@
1
- export const components = {};
@@ -1,3 +0,0 @@
1
- export * from './scope.js';
2
- export * from './beans.js';
3
- export * from './components.js';
@@ -1,32 +0,0 @@
1
- import { BeanScopeBase, Scope, TypeLocaleBase, TypeModuleResource } from 'zova';
2
- import { config, Errors, locales, constants } from '../config/index.js';
3
- import { components } from './components.js';
4
- import { services } from '../api/service/index.js';
5
-
6
- @Scope()
7
- export class ScopeModuleAStyle extends BeanScopeBase {}
8
-
9
- export interface ScopeModuleAStyle
10
- extends TypeModuleResource<
11
- typeof components,
12
- typeof config,
13
- typeof Errors,
14
- (typeof locales)[TypeLocaleBase],
15
- typeof constants,
16
- typeof services
17
- > {}
18
-
19
- import 'zova';
20
- declare module 'zova' {
21
- export interface IBeanScopeRecord {
22
- 'a-style': ScopeModuleAStyle;
23
- }
24
-
25
- export interface IBeanScopeConfig {
26
- 'a-style': ReturnType<typeof config>;
27
- }
28
-
29
- export interface IBeanScopeLocale {
30
- 'a-style': (typeof locales)[TypeLocaleBase];
31
- }
32
- }
@@ -1,4 +0,0 @@
1
- export const __ThisModule__ = 'a-style';
2
- export type __ThisModuleType__ = typeof __ThisModule__;
3
-
4
- export { ScopeModuleAStyle as ScopeModule } from './scope.js';
package/src/routes.ts DELETED
@@ -1,3 +0,0 @@
1
- import { IModuleRoute } from 'zova-module-a-router';
2
-
3
- export const routes: IModuleRoute[] = [];
package/src/typings.ts DELETED
@@ -1 +0,0 @@
1
- export {};