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 +3 -3
- package/src/.metadata/index.ts +33 -0
- package/src/.metadata/this.ts +2 -0
- package/src/bean/bean.theme.ts +1 -1
- package/src/index.ts +1 -7
- package/src/monkey.ts +1 -1
- package/src/api/index.ts +0 -2
- package/src/api/interface/index.ts +0 -1
- package/src/api/service/index.ts +0 -1
- package/src/assets/css/module.scss +0 -1
- package/src/component/.gitkeep +0 -0
- package/src/config/constants.ts +0 -1
- package/src/config/errors.ts +0 -1
- package/src/config/index.ts +0 -4
- package/src/config/locale/en-us.ts +0 -1
- package/src/config/locale/zh-cn.ts +0 -1
- package/src/config/locales.ts +0 -7
- package/src/page/.gitkeep +0 -0
- package/src/resource/beans.ts +0 -8
- package/src/resource/components.ts +0 -1
- package/src/resource/index.ts +0 -3
- package/src/resource/scope.ts +0 -32
- package/src/resource/this.ts +0 -4
- package/src/routes.ts +0 -3
- package/src/typings.ts +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zova-module-a-style",
|
|
3
|
-
"version": "5.0.
|
|
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
|
-
"
|
|
38
|
+
"_prepublishOnly": "npm run tsc:publish"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
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 */
|
package/src/bean/bean.theme.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Bean, Cast, IBeanRecord } from 'zova';
|
|
2
|
-
import { ScopeModule } from '
|
|
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
|
-
|
|
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 '
|
|
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 +0,0 @@
|
|
|
1
|
-
export {};
|
package/src/api/service/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const services = {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/src/component/.gitkeep
DELETED
|
File without changes
|
package/src/config/constants.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const constants = null;
|
package/src/config/errors.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export enum Errors {}
|
package/src/config/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default {};
|
package/src/config/locales.ts
DELETED
package/src/page/.gitkeep
DELETED
|
File without changes
|
package/src/resource/beans.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const components = {};
|
package/src/resource/index.ts
DELETED
package/src/resource/scope.ts
DELETED
|
@@ -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
|
-
}
|
package/src/resource/this.ts
DELETED
package/src/routes.ts
DELETED
package/src/typings.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|