vxe-table 4.9.2 → 4.9.4
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.en.md +3 -0
- package/README.ja-JP.md +3 -0
- package/README.md +10 -6
- package/README.zh-TW.md +3 -0
- package/es/style.css +1 -1
- package/es/table/src/cell.js +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +3 -3
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/src/cell.js +1 -1
- package/lib/table/src/cell.min.js +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/package.json +2 -2
- package/packages/table/src/cell.ts +9 -3
- package/styles/theme/light.scss +25 -25
- package/styles/variable.scss +25 -25
- /package/es/{iconfont.1732010161521.ttf → iconfont.1732176664916.ttf} +0 -0
- /package/es/{iconfont.1732010161521.woff → iconfont.1732176664916.woff} +0 -0
- /package/es/{iconfont.1732010161521.woff2 → iconfont.1732176664916.woff2} +0 -0
- /package/lib/{iconfont.1732010161521.ttf → iconfont.1732176664916.ttf} +0 -0
- /package/lib/{iconfont.1732010161521.woff → iconfont.1732176664916.woff} +0 -0
- /package/lib/{iconfont.1732010161521.woff2 → iconfont.1732176664916.woff2} +0 -0
package/lib/ui/src/log.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.warnLog=exports.errLog=void 0;var _core=require("@vxe-ui/core");const log=_core.VxeUI["log"],version="table v4.9.
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.warnLog=exports.errLog=void 0;var _core=require("@vxe-ui/core");const log=_core.VxeUI["log"],version="table v4.9.4",warnLog=exports.warnLog=log.create("warn",version),errLog=exports.errLog=log.create("error",version);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vxe-table",
|
|
3
|
-
"version": "4.9.
|
|
3
|
+
"version": "4.9.4",
|
|
4
4
|
"description": "一个基于 vue 的 PC 端表格组件,支持增删改查、虚拟树、拖拽排序,懒加载、快捷菜单、数据校验、树形结构、打印、导入导出、自定义模板、渲染器、JSON 配置式...",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"update": "npm install --legacy-peer-deps",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"style": "lib/style.css",
|
|
29
29
|
"typings": "types/index.d.ts",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"vxe-pc-ui": "^4.3.
|
|
31
|
+
"vxe-pc-ui": "^4.3.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/resize-observer-browser": "^0.1.11",
|
|
@@ -31,7 +31,7 @@ function renderTitleSuffixIcon (params: VxeTableDefines.CellRenderHeaderParams)
|
|
|
31
31
|
const { $table, column } = params
|
|
32
32
|
const titleSuffix = column.titleSuffix
|
|
33
33
|
if (titleSuffix) {
|
|
34
|
-
h('i', {
|
|
34
|
+
return h('i', {
|
|
35
35
|
class: ['vxe-cell-title-suffix-icon', titleSuffix.icon || getIcon().TABLE_TITLE_SUFFIX],
|
|
36
36
|
onMouseenter (evnt: MouseEvent) {
|
|
37
37
|
$table.triggerHeaderTitleEvent(evnt, titleSuffix, params)
|
|
@@ -839,14 +839,20 @@ export const Cell = {
|
|
|
839
839
|
* 排序和筛选
|
|
840
840
|
*/
|
|
841
841
|
renderSortAndFilterHeader (params: VxeTableDefines.CellRenderHeaderParams) {
|
|
842
|
-
return renderHeaderCellBaseVNs(
|
|
842
|
+
return renderHeaderCellBaseVNs(
|
|
843
|
+
params,
|
|
844
|
+
Cell.renderHeaderTitle(params).concat(Cell.renderSortIcon(params).concat(Cell.renderFilterIcon(params)))
|
|
845
|
+
)
|
|
843
846
|
},
|
|
844
847
|
|
|
845
848
|
/**
|
|
846
849
|
* 排序
|
|
847
850
|
*/
|
|
848
851
|
renderSortHeader (params: VxeTableDefines.CellRenderHeaderParams) {
|
|
849
|
-
return renderHeaderCellBaseVNs(
|
|
852
|
+
return renderHeaderCellBaseVNs(
|
|
853
|
+
params,
|
|
854
|
+
Cell.renderHeaderTitle(params).concat(Cell.renderSortIcon(params))
|
|
855
|
+
)
|
|
850
856
|
},
|
|
851
857
|
renderSortIcon (params: VxeTableDefines.CellRenderHeaderParams | VxeTableDefines.CellRenderHeaderParams) {
|
|
852
858
|
const { $table, column } = params
|
package/styles/theme/light.scss
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
@use './base.scss';
|
|
2
|
-
@use '../variable.scss' as
|
|
2
|
+
@use '../variable.scss' as light_variable;
|
|
3
3
|
|
|
4
4
|
[data-vxe-ui-theme="light"] {
|
|
5
5
|
/*font color*/
|
|
6
|
-
--vxe-ui-font-color: #{
|
|
7
|
-
--vxe-ui-font-primary-color: #{
|
|
8
|
-
--vxe-ui-font-lighten-color: #{
|
|
9
|
-
--vxe-ui-font-darken-color: #{
|
|
10
|
-
--vxe-ui-font-disabled-color: #{
|
|
6
|
+
--vxe-ui-font-color: #{light_variable.$vxe-ui-font-color};
|
|
7
|
+
--vxe-ui-font-primary-color: #{light_variable.$vxe-ui-font-primary-color};
|
|
8
|
+
--vxe-ui-font-lighten-color: #{light_variable.$vxe-ui-font-lighten-color};
|
|
9
|
+
--vxe-ui-font-darken-color: #{light_variable.$vxe-ui-font-darken-color};
|
|
10
|
+
--vxe-ui-font-disabled-color: #{light_variable.$vxe-ui-font-disabled-color};
|
|
11
11
|
|
|
12
12
|
/*base*/
|
|
13
|
-
--vxe-ui-base-popup-border-color: #{
|
|
14
|
-
--vxe-ui-base-popup-box-shadow: #{
|
|
13
|
+
--vxe-ui-base-popup-border-color: #{light_variable.$vxe-ui-base-popup-border-color};
|
|
14
|
+
--vxe-ui-base-popup-box-shadow: #{light_variable.$vxe-ui-base-popup-box-shadow};
|
|
15
15
|
|
|
16
16
|
/*layout*/
|
|
17
|
-
--vxe-ui-layout-background-color: #{
|
|
17
|
+
--vxe-ui-layout-background-color: #{light_variable.$vxe-ui-layout-background-color};
|
|
18
18
|
|
|
19
19
|
/*input*/
|
|
20
|
-
--vxe-ui-input-border-color: #{
|
|
21
|
-
--vxe-ui-input-placeholder-color: #{
|
|
22
|
-
--vxe-ui-input-disabled-background-color: #{
|
|
20
|
+
--vxe-ui-input-border-color: #{light_variable.$vxe-ui-input-border-color};
|
|
21
|
+
--vxe-ui-input-placeholder-color: #{light_variable.$vxe-ui-input-placeholder-color};
|
|
22
|
+
--vxe-ui-input-disabled-background-color: #{light_variable.$vxe-ui-input-disabled-background-color};
|
|
23
23
|
|
|
24
24
|
/*loading*/
|
|
25
|
-
--vxe-ui-loading-background-color: #{
|
|
25
|
+
--vxe-ui-loading-background-color: #{light_variable.$vxe-ui-loading-background-color};
|
|
26
26
|
|
|
27
27
|
/*table*/
|
|
28
|
-
--vxe-ui-table-header-background-color: #{
|
|
29
|
-
--vxe-ui-table-border-color: #{
|
|
30
|
-
--vxe-ui-table-row-hover-background-color: #{
|
|
31
|
-
--vxe-ui-table-row-striped-background-color: #{
|
|
32
|
-
--vxe-ui-table-row-hover-striped-background-color: #{
|
|
33
|
-
--vxe-ui-table-row-radio-checked-background-color: #{
|
|
34
|
-
--vxe-ui-table-row-hover-radio-checked-background-color: #{
|
|
35
|
-
--vxe-ui-table-row-checkbox-checked-background-color: #{
|
|
36
|
-
--vxe-ui-table-row-hover-checkbox-checked-background-color: #{
|
|
37
|
-
--vxe-ui-table-row-current-background-color: #{
|
|
38
|
-
--vxe-ui-table-row-hover-current-background-color: #{
|
|
39
|
-
--vxe-ui-table-fixed-scrolling-box-shadow-color: #{
|
|
28
|
+
--vxe-ui-table-header-background-color: #{light_variable.$vxe-ui-table-header-background-color};
|
|
29
|
+
--vxe-ui-table-border-color: #{light_variable.$vxe-ui-table-border-color};
|
|
30
|
+
--vxe-ui-table-row-hover-background-color: #{light_variable.$vxe-ui-table-row-hover-background-color};
|
|
31
|
+
--vxe-ui-table-row-striped-background-color: #{light_variable.$vxe-ui-table-row-striped-background-color};
|
|
32
|
+
--vxe-ui-table-row-hover-striped-background-color: #{light_variable.$vxe-ui-table-row-hover-striped-background-color};
|
|
33
|
+
--vxe-ui-table-row-radio-checked-background-color: #{light_variable.$vxe-ui-table-row-radio-checked-background-color};
|
|
34
|
+
--vxe-ui-table-row-hover-radio-checked-background-color: #{light_variable.$vxe-ui-table-row-hover-radio-checked-background-color};
|
|
35
|
+
--vxe-ui-table-row-checkbox-checked-background-color: #{light_variable.$vxe-ui-table-row-checkbox-checked-background-color};
|
|
36
|
+
--vxe-ui-table-row-hover-checkbox-checked-background-color: #{light_variable.$vxe-ui-table-row-hover-checkbox-checked-background-color};
|
|
37
|
+
--vxe-ui-table-row-current-background-color: #{light_variable.$vxe-ui-table-row-current-background-color};
|
|
38
|
+
--vxe-ui-table-row-hover-current-background-color: #{light_variable.$vxe-ui-table-row-hover-current-background-color};
|
|
39
|
+
--vxe-ui-table-fixed-scrolling-box-shadow-color: #{light_variable.$vxe-ui-table-fixed-scrolling-box-shadow-color};
|
|
40
40
|
}
|
package/styles/variable.scss
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
/*font color*/
|
|
2
|
-
$vxe-ui-font-color: #606266;
|
|
3
|
-
$vxe-ui-font-tinge-color: #d4d5d7;
|
|
4
|
-
$vxe-ui-font-lighten-color: #797b80;
|
|
5
|
-
$vxe-ui-font-darken-color: #47494c;
|
|
6
|
-
$vxe-ui-font-disabled-color: #BFBFBF;
|
|
2
|
+
$vxe-ui-font-color: #606266 !default;
|
|
3
|
+
$vxe-ui-font-tinge-color: #d4d5d7 !default;
|
|
4
|
+
$vxe-ui-font-lighten-color: #797b80 !default;
|
|
5
|
+
$vxe-ui-font-darken-color: #47494c !default;
|
|
6
|
+
$vxe-ui-font-disabled-color: #BFBFBF !default;
|
|
7
7
|
|
|
8
8
|
/*font status color*/
|
|
9
|
-
$vxe-ui-font-primary-color: #409eff;
|
|
9
|
+
$vxe-ui-font-primary-color: #409eff !default;
|
|
10
10
|
|
|
11
11
|
/*base*/
|
|
12
|
-
$vxe-ui-base-popup-border-color: #DADCE0;
|
|
13
|
-
$vxe-ui-base-popup-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.16);
|
|
12
|
+
$vxe-ui-base-popup-border-color: #DADCE0 !default;
|
|
13
|
+
$vxe-ui-base-popup-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.16) !default;
|
|
14
14
|
|
|
15
15
|
/*layout*/
|
|
16
|
-
$vxe-ui-layout-background-color: #ffffff;
|
|
16
|
+
$vxe-ui-layout-background-color: #ffffff !default;
|
|
17
17
|
|
|
18
18
|
/*input*/
|
|
19
|
-
$vxe-ui-input-border-color: #dcdfe6;
|
|
20
|
-
$vxe-ui-input-placeholder-color: #C0C4CC;
|
|
21
|
-
$vxe-ui-input-disabled-background-color: #f3f3f3;
|
|
19
|
+
$vxe-ui-input-border-color: #dcdfe6 !default;
|
|
20
|
+
$vxe-ui-input-placeholder-color: #C0C4CC !default;
|
|
21
|
+
$vxe-ui-input-disabled-background-color: #f3f3f3 !default;
|
|
22
22
|
|
|
23
23
|
/*loading*/
|
|
24
|
-
$vxe-ui-loading-background-color: rgba(255, 255, 255, 0.5);
|
|
24
|
+
$vxe-ui-loading-background-color: rgba(255, 255, 255, 0.5) !default;
|
|
25
25
|
|
|
26
26
|
/*table*/
|
|
27
|
-
$vxe-ui-table-header-background-color: #f8f8f9;
|
|
28
|
-
$vxe-ui-table-border-color: #e8eaec;
|
|
29
|
-
$vxe-ui-table-row-hover-background-color: #f5f7fa;
|
|
30
|
-
$vxe-ui-table-row-striped-background-color: #fafafa;
|
|
31
|
-
$vxe-ui-table-row-hover-striped-background-color: #f5f7fa;
|
|
32
|
-
$vxe-ui-table-row-radio-checked-background-color: #fff3e0;
|
|
33
|
-
$vxe-ui-table-row-hover-radio-checked-background-color: #ffebbc;
|
|
34
|
-
$vxe-ui-table-row-checkbox-checked-background-color: #fff3e0;
|
|
35
|
-
$vxe-ui-table-row-hover-checkbox-checked-background-color: #ffebbc;
|
|
36
|
-
$vxe-ui-table-row-current-background-color: #e6f7ff;
|
|
37
|
-
$vxe-ui-table-row-hover-current-background-color: #d7effb;
|
|
38
|
-
$vxe-ui-table-fixed-scrolling-box-shadow-color: rgba(0, 0, 0, 0.12);
|
|
27
|
+
$vxe-ui-table-header-background-color: #f8f8f9 !default;
|
|
28
|
+
$vxe-ui-table-border-color: #e8eaec !default;
|
|
29
|
+
$vxe-ui-table-row-hover-background-color: #f5f7fa !default;
|
|
30
|
+
$vxe-ui-table-row-striped-background-color: #fafafa !default;
|
|
31
|
+
$vxe-ui-table-row-hover-striped-background-color: #f5f7fa !default;
|
|
32
|
+
$vxe-ui-table-row-radio-checked-background-color: #fff3e0 !default;
|
|
33
|
+
$vxe-ui-table-row-hover-radio-checked-background-color: #ffebbc !default;
|
|
34
|
+
$vxe-ui-table-row-checkbox-checked-background-color: #fff3e0 !default;
|
|
35
|
+
$vxe-ui-table-row-hover-checkbox-checked-background-color: #ffebbc !default;
|
|
36
|
+
$vxe-ui-table-row-current-background-color: #e6f7ff !default;
|
|
37
|
+
$vxe-ui-table-row-hover-current-background-color: #d7effb !default;
|
|
38
|
+
$vxe-ui-table-fixed-scrolling-box-shadow-color: rgba(0, 0, 0, 0.12) !default;
|
|
39
39
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|