zova-suite-a-devui 5.0.1

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2016-present Zova
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2016-present Zova
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "zova-module-a-devui",
3
+ "version": "5.0.1",
4
+ "title": "a-devui",
5
+ "zovaModule": {
6
+ "capabilities": {
7
+ "monkey": true
8
+ }
9
+ },
10
+ "type": "module",
11
+ "exports": {
12
+ ".": {
13
+ "types": [
14
+ "./src/index.ts",
15
+ "./dist/index.d.ts"
16
+ ],
17
+ "import": "./src/index.ts",
18
+ "default": "./dist/index.js"
19
+ },
20
+ "./*": "./*"
21
+ },
22
+ "description": "devui",
23
+ "keywords": [
24
+ "Zova Module"
25
+ ],
26
+ "author": "zhennann",
27
+ "files": [
28
+ "dist"
29
+ ],
30
+ "scripts": {},
31
+ "gitHead": "44a817e7928d9fe0ae39da48c68417dfb42a328c"
32
+ }
File without changes
File without changes
@@ -0,0 +1,5 @@
1
+ import { ZovaApplication } from 'zova';
2
+
3
+ export const config = (_app: ZovaApplication) => {
4
+ return {};
5
+ };
@@ -0,0 +1 @@
1
+ export const constants = null;
@@ -0,0 +1 @@
1
+ export enum Errors {}
@@ -0,0 +1,4 @@
1
+ export * from './locales.js';
2
+ export * from './errors.js';
3
+ export * from './config.js';
4
+ export * from './constants.js';
@@ -0,0 +1 @@
1
+ export default {};
@@ -0,0 +1 @@
1
+ export default {};
@@ -0,0 +1,7 @@
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
+ };
@@ -0,0 +1,9 @@
1
+ import './assets/css/module.scss';
2
+ export * from './config/index.js';
3
+ export * from './resource/index.js';
4
+ export * from './routes.js';
5
+ export * from './types.js';
6
+ export * from './monkey.js';
7
+ export * from './themeToken.js';
8
+
9
+ import './typings.js';
@@ -0,0 +1,10 @@
1
+ import { BeanBase, BeanContainerLike, BeanSimple, IMonkeySystem } from 'zova';
2
+
3
+ export class Monkey extends BeanSimple implements IMonkeySystem {
4
+ async appInitialize() {}
5
+ async appInitialized() {}
6
+ async beanInit(_bean: BeanContainerLike, _beanInstance: BeanBase) {}
7
+ async beanInited(_bean: BeanContainerLike, _beanInstance: BeanBase) {}
8
+ beanDispose(_bean: BeanContainerLike, _beanInstance: BeanBase) {}
9
+ beanDisposed(_bean: BeanContainerLike, _beanInstance: BeanBase) {}
10
+ }
File without changes
@@ -0,0 +1,4 @@
1
+ import 'zova';
2
+ declare module 'zova' {
3
+ export interface IBeanRecord {}
4
+ }
@@ -0,0 +1 @@
1
+ export const components = {};
@@ -0,0 +1,3 @@
1
+ export * from './scope.js';
2
+ export * from './beans.js';
3
+ export * from './components.js';
@@ -0,0 +1,30 @@
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
+
5
+ @Scope()
6
+ export class ScopeModuleADevui extends BeanScopeBase {}
7
+
8
+ export interface ScopeModuleADevui
9
+ extends TypeModuleResource<
10
+ typeof components,
11
+ typeof config,
12
+ typeof Errors,
13
+ (typeof locales)[TypeLocaleBase],
14
+ typeof constants
15
+ > {}
16
+
17
+ import 'zova';
18
+ declare module 'zova' {
19
+ export interface IBeanScopeRecord {
20
+ 'a-devui': ScopeModuleADevui;
21
+ }
22
+
23
+ export interface IBeanScopeConfig {
24
+ 'a-devui': ReturnType<typeof config>;
25
+ }
26
+
27
+ export interface IBeanScopeLocale {
28
+ 'a-devui': (typeof locales)[TypeLocaleBase];
29
+ }
30
+ }
@@ -0,0 +1,4 @@
1
+ export const __ThisModule__ = 'a-devui';
2
+ export type __ThisModuleType__ = typeof __ThisModule__;
3
+
4
+ export { ScopeModuleADevui as ScopeModule } from './scope.js';
@@ -0,0 +1,3 @@
1
+ import { IModuleRoute } from 'zova-module-a-router';
2
+
3
+ export const routes: IModuleRoute[] = [];
@@ -0,0 +1,14 @@
1
+ export interface ThemeToken {
2
+ color: {
3
+ primary: string;
4
+ };
5
+ var: {
6
+ borderColor: string;
7
+ };
8
+ component: {
9
+ page: {
10
+ background: string;
11
+ color: string;
12
+ };
13
+ };
14
+ }
@@ -0,0 +1,14 @@
1
+ import 'zova';
2
+ import { ThemeToken } from './themeToken.js';
3
+ declare module 'zova' {
4
+ export interface BeanBase {
5
+ $token: ThemeToken;
6
+ }
7
+ }
8
+
9
+ import 'zova-module-a-style';
10
+ declare module 'zova-module-a-style' {
11
+ export interface ThemeApplyResult {
12
+ token: ThemeToken;
13
+ }
14
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ {
2
+ "extends": "../../tsconfig.base.json",
3
+ "compilerOptions": {},
4
+ "exclude": ["dist", "node_modules"]
5
+ }
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "zova-suite-a-devui",
3
+ "version": "5.0.1",
4
+ "title": "a-devui",
5
+ "type": "module",
6
+ "description": "devui",
7
+ "author": "zhennann",
8
+ "dependencies": {
9
+ "zova-module-a-devui": "^5.0.1"
10
+ },
11
+ "gitHead": "44a817e7928d9fe0ae39da48c68417dfb42a328c"
12
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "extends": "../../../tsconfig.base.json",
3
+ "compilerOptions": {}
4
+ }