yxuse 3.0.10 → 3.0.11
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/README.md +122 -80
- package/lib/api.cjs.js +1 -1
- package/lib/api.es.js +1 -1
- package/lib/components.cjs.js +1 -1
- package/lib/components.es.js +8 -9
- package/lib/directives.cjs.js +1 -1
- package/lib/directives.es.js +1 -1
- package/lib/icons.cjs.js +1 -1
- package/lib/icons.es.js +1 -1
- package/lib/index.cjs.js +1 -1
- package/lib/index.cjs2.js +5 -5
- package/lib/index.cjs2.js.gz +0 -0
- package/lib/index.cjs4.js +1 -1
- package/lib/index.cjs6.js +3 -3
- package/lib/index.cjs6.js.gz +0 -0
- package/lib/index.es.js +12 -13
- package/lib/index.es2.js +87 -73
- package/lib/index.es2.js.gz +0 -0
- package/lib/index.es4.js +5 -5
- package/lib/index.es6.js +2957 -770
- package/lib/index.es6.js.gz +0 -0
- package/lib/style.css +1 -1
- package/lib/style.css.gz +0 -0
- package/lib/theme.cjs.js +1 -1
- package/lib/theme.es.js +9 -10
- package/lib/utils.cjs.js +1 -1
- package/lib/utils.es.js +1 -1
- package/lib/vue.runtime.esm-bundler.cjs.js +8 -0
- package/lib/vue.runtime.esm-bundler.cjs.js.gz +0 -0
- package/lib/vue.runtime.esm-bundler.es.js +4588 -0
- package/lib/vue.runtime.esm-bundler.es.js.gz +0 -0
- package/package.json +1 -2
- package/types/theme/config.d.ts +2 -0
- package/types/theme/index.d.ts +3 -3
- package/types/theme/type.d.ts +2 -2
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yxuse",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.11",
|
|
4
4
|
"private": false,
|
|
5
5
|
"keywords": [
|
|
6
6
|
"yx"
|
|
@@ -115,7 +115,6 @@
|
|
|
115
115
|
"rollup-plugin-visualizer": "^5.9.2",
|
|
116
116
|
"sass": "^1.58.3",
|
|
117
117
|
"stylelint": "^15.6.0",
|
|
118
|
-
"stylelint-config-html": "^1.1.0",
|
|
119
118
|
"stylelint-config-prettier": "^9.0.3",
|
|
120
119
|
"stylelint-config-recess-order": "^4.0.0",
|
|
121
120
|
"stylelint-config-recommended-scss": "^11.0.0",
|
package/types/theme/config.d.ts
CHANGED
package/types/theme/index.d.ts
CHANGED
|
@@ -32,11 +32,11 @@ export declare const getCurThemeCssVar: () => any;
|
|
|
32
32
|
*/
|
|
33
33
|
export declare const getGroupColor: (groupName: string) => object;
|
|
34
34
|
/**
|
|
35
|
-
* @description
|
|
36
|
-
* @param
|
|
35
|
+
* @description:判断当前css变量的色值是否在所有主题中
|
|
36
|
+
* @param cssVarName 色值变量
|
|
37
37
|
* @param color 名称
|
|
38
38
|
*/
|
|
39
|
-
export declare const findColorByTheme: (
|
|
39
|
+
export declare const findColorByTheme: (cssVarName: string, color: string) => string | null;
|
|
40
40
|
/**
|
|
41
41
|
* @description:注册当前系统私有css变量
|
|
42
42
|
* @param systemName 系统名称
|
package/types/theme/type.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export interface ThemeDTO {
|
|
|
6
6
|
}
|
|
7
7
|
export interface YxuseOptions {
|
|
8
8
|
/** 是否渲染悬浮球*/
|
|
9
|
-
isRenderToolbar
|
|
9
|
+
isRenderToolbar: boolean;
|
|
10
10
|
/** 是否加载工单*/
|
|
11
11
|
isRenderIssue?: boolean;
|
|
12
12
|
/** 是否加载语言切换*/
|
|
@@ -18,7 +18,7 @@ export interface YxuseOptions {
|
|
|
18
18
|
/** 翻译Api地址,非运管系统项目使用*/
|
|
19
19
|
translateApiUrl?: string;
|
|
20
20
|
/** 主题列表接口,非运管系统项目使用*/
|
|
21
|
-
themeApiUrl
|
|
21
|
+
themeApiUrl?: string;
|
|
22
22
|
/** 首页地址*/
|
|
23
23
|
homeUrl?: string;
|
|
24
24
|
/** 系统语言*/
|