vxe-table 3.23.3 → 3.23.5
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/es/style.css +1 -1
- package/es/table/module/custom/mixin.js +1 -1
- package/es/table/render/index.js +15 -6
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +17 -7
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/module/custom/mixin.js +1 -1
- package/lib/table/module/custom/mixin.min.js +1 -1
- package/lib/table/render/index.js +14 -4
- package/lib/table/render/index.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/module/custom/mixin.ts +1 -2
- package/packages/table/render/index.ts +15 -6
- /package/es/{iconfont.1788176636871.ttf → iconfont.1788403274136.ttf} +0 -0
- /package/es/{iconfont.1788176636871.woff → iconfont.1788403274136.woff} +0 -0
- /package/es/{iconfont.1788176636871.woff2 → iconfont.1788403274136.woff2} +0 -0
- /package/lib/{iconfont.1788176636871.ttf → iconfont.1788403274136.ttf} +0 -0
- /package/lib/{iconfont.1788176636871.woff → iconfont.1788403274136.woff} +0 -0
- /package/lib/{iconfont.1788176636871.woff2 → iconfont.1788403274136.woff2} +0 -0
|
@@ -497,7 +497,7 @@ export default {
|
|
|
497
497
|
},
|
|
498
498
|
handleCustomStyle() {
|
|
499
499
|
const $xeTable = this;
|
|
500
|
-
const reactData = $xeTable
|
|
500
|
+
const reactData = $xeTable;
|
|
501
501
|
const { customStore } = reactData;
|
|
502
502
|
if (!customStore.visible) {
|
|
503
503
|
return $xeTable.$nextTick();
|
package/es/table/render/index.js
CHANGED
|
@@ -1484,16 +1484,25 @@ renderer.mixin({
|
|
|
1484
1484
|
];
|
|
1485
1485
|
},
|
|
1486
1486
|
renderTableCell(h, renderOpts, params) {
|
|
1487
|
-
const { row, column } = params;
|
|
1487
|
+
const { $table, row, column } = params;
|
|
1488
|
+
const { props } = renderOpts;
|
|
1489
|
+
const customSize = props ? props.size : null;
|
|
1490
|
+
const vSize = customSize || $table.computeSize;
|
|
1488
1491
|
const cellValue = XEUtils.get(row, column.field);
|
|
1489
1492
|
return h('span', {
|
|
1490
|
-
class: 'vxe-color-picker--readonly'
|
|
1493
|
+
class: ['vxe-color-picker--readonly', {
|
|
1494
|
+
[`size--${vSize}`]: vSize
|
|
1495
|
+
}]
|
|
1491
1496
|
}, [
|
|
1492
1497
|
h('div', {
|
|
1493
|
-
class: 'vxe-color-picker--readonly-color',
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1498
|
+
class: ['vxe-color-picker--readonly-color', {
|
|
1499
|
+
'is--empty': !cellValue
|
|
1500
|
+
}],
|
|
1501
|
+
style: cellValue
|
|
1502
|
+
? {
|
|
1503
|
+
backgroundColor: cellValue
|
|
1504
|
+
}
|
|
1505
|
+
: undefined
|
|
1497
1506
|
})
|
|
1498
1507
|
]);
|
|
1499
1508
|
}
|
package/es/ui/index.js
CHANGED
package/es/ui/src/log.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VxeUI } from '@vxe-ui/core';
|
|
2
2
|
const { log } = VxeUI;
|
|
3
|
-
const tableVersion = `table v${"3.23.
|
|
3
|
+
const tableVersion = `table v${"3.23.5"}`;
|
|
4
4
|
export function createComponentLog(name) {
|
|
5
5
|
const uiVersion = VxeUI.uiVersion ? `ui v${VxeUI.uiVersion}` : '';
|
|
6
6
|
const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : '';
|
package/lib/index.umd.js
CHANGED
|
@@ -3314,7 +3314,7 @@ function getDefaultConfig(val1, def1) {
|
|
|
3314
3314
|
/* unused harmony import specifier */ var VxeUI;
|
|
3315
3315
|
|
|
3316
3316
|
|
|
3317
|
-
const version = "3.23.
|
|
3317
|
+
const version = "3.23.5";
|
|
3318
3318
|
core_.VxeUI.version = version;
|
|
3319
3319
|
core_.VxeUI.tableVersion = version;
|
|
3320
3320
|
core_.VxeUI.setConfig({
|
|
@@ -4112,7 +4112,7 @@ function getPopupAppendElement(appendTo) {
|
|
|
4112
4112
|
const {
|
|
4113
4113
|
log: log_log
|
|
4114
4114
|
} = core_.VxeUI;
|
|
4115
|
-
const tableVersion = `table v${"3.23.
|
|
4115
|
+
const tableVersion = `table v${"3.23.5"}`;
|
|
4116
4116
|
function createComponentLog(name) {
|
|
4117
4117
|
const uiVersion = core_.VxeUI.uiVersion ? `ui v${core_.VxeUI.uiVersion}` : '';
|
|
4118
4118
|
const ganttVersion = core_.VxeUI.ganttVersion ? `gantt v${core_.VxeUI.ganttVersion}` : '';
|
|
@@ -20904,7 +20904,7 @@ function emitCustomEvent($xeTable, type, evnt) {
|
|
|
20904
20904
|
},
|
|
20905
20905
|
handleCustomStyle() {
|
|
20906
20906
|
const $xeTable = this;
|
|
20907
|
-
const reactData = $xeTable
|
|
20907
|
+
const reactData = $xeTable;
|
|
20908
20908
|
const {
|
|
20909
20909
|
customStore
|
|
20910
20910
|
} = reactData;
|
|
@@ -28594,17 +28594,27 @@ render_renderer.mixin({
|
|
|
28594
28594
|
},
|
|
28595
28595
|
renderTableCell(h, renderOpts, params) {
|
|
28596
28596
|
const {
|
|
28597
|
+
$table,
|
|
28597
28598
|
row,
|
|
28598
28599
|
column
|
|
28599
28600
|
} = params;
|
|
28601
|
+
const {
|
|
28602
|
+
props
|
|
28603
|
+
} = renderOpts;
|
|
28604
|
+
const customSize = props ? props.size : null;
|
|
28605
|
+
const vSize = customSize || $table.computeSize;
|
|
28600
28606
|
const cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.field);
|
|
28601
28607
|
return h('span', {
|
|
28602
|
-
class: 'vxe-color-picker--readonly'
|
|
28608
|
+
class: ['vxe-color-picker--readonly', {
|
|
28609
|
+
[`size--${vSize}`]: vSize
|
|
28610
|
+
}]
|
|
28603
28611
|
}, [h('div', {
|
|
28604
|
-
class: 'vxe-color-picker--readonly-color',
|
|
28605
|
-
|
|
28612
|
+
class: ['vxe-color-picker--readonly-color', {
|
|
28613
|
+
'is--empty': !cellValue
|
|
28614
|
+
}],
|
|
28615
|
+
style: cellValue ? {
|
|
28606
28616
|
backgroundColor: cellValue
|
|
28607
|
-
}
|
|
28617
|
+
} : undefined
|
|
28608
28618
|
})]);
|
|
28609
28619
|
}
|
|
28610
28620
|
},
|