vxe-table 3.16.9 → 3.16.10
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/panel.js +1 -1
- package/es/table/src/methods.js +2 -2
- package/es/table/src/table.js +10 -2
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +19 -7
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/module/custom/panel.js +1 -1
- package/lib/table/module/custom/panel.min.js +1 -1
- package/lib/table/src/methods.js +2 -2
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/src/table.js +14 -2
- package/lib/table/src/table.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 +1 -1
- package/packages/table/module/custom/panel.ts +1 -1
- package/packages/table/src/methods.ts +2 -2
- package/packages/table/src/table.ts +11 -3
- /package/es/{iconfont.1753928145583.ttf → iconfont.1754358121155.ttf} +0 -0
- /package/es/{iconfont.1753928145583.woff → iconfont.1754358121155.woff} +0 -0
- /package/es/{iconfont.1753928145583.woff2 → iconfont.1754358121155.woff2} +0 -0
- /package/lib/{iconfont.1753928145583.ttf → iconfont.1754358121155.ttf} +0 -0
- /package/lib/{iconfont.1753928145583.woff → iconfont.1754358121155.woff} +0 -0
- /package/lib/{iconfont.1753928145583.woff2 → iconfont.1754358121155.woff2} +0 -0
package/es/table/src/methods.js
CHANGED
|
@@ -298,10 +298,10 @@ function cacheColumnMap($xeTable) {
|
|
|
298
298
|
}
|
|
299
299
|
if (htmlColumn) {
|
|
300
300
|
if (!columnOpts.useKey) {
|
|
301
|
-
errLog('vxe.error.
|
|
301
|
+
errLog('vxe.error.notSupportProp', ['column.type=html', 'column-config.useKey=false', 'column-config.useKey=true']);
|
|
302
302
|
}
|
|
303
303
|
if (!rowOpts.useKey) {
|
|
304
|
-
errLog('vxe.error.
|
|
304
|
+
errLog('vxe.error.notSupportProp', ['column.type=html', 'row-config.useKey=false', 'row-config.useKey=true']);
|
|
305
305
|
}
|
|
306
306
|
}
|
|
307
307
|
reactData.isGroup = isGroup;
|
package/es/table/src/table.js
CHANGED
|
@@ -757,12 +757,20 @@ export default {
|
|
|
757
757
|
computeVirtualXOpts() {
|
|
758
758
|
const $xeTable = this;
|
|
759
759
|
const props = $xeTable;
|
|
760
|
-
|
|
760
|
+
const { virtualXConfig } = props;
|
|
761
|
+
if (virtualXConfig) {
|
|
762
|
+
return Object.assign({}, getConfig().table.virtualXConfig, virtualXConfig);
|
|
763
|
+
}
|
|
764
|
+
return Object.assign({}, getConfig().table.virtualXConfig, getConfig().table.scrollX, props.scrollX);
|
|
761
765
|
},
|
|
762
766
|
computeVirtualYOpts() {
|
|
763
767
|
const $xeTable = this;
|
|
764
768
|
const props = $xeTable;
|
|
765
|
-
|
|
769
|
+
const { virtualYConfig } = props;
|
|
770
|
+
if (virtualYConfig) {
|
|
771
|
+
return Object.assign({}, getConfig().table.virtualYConfig, virtualYConfig);
|
|
772
|
+
}
|
|
773
|
+
return Object.assign({}, getConfig().table.virtualYConfig, getConfig().table.scrollY, props.scrollY);
|
|
766
774
|
},
|
|
767
775
|
computeScrollbarOpts() {
|
|
768
776
|
const $xeTable = this;
|
package/es/ui/index.js
CHANGED
package/es/ui/src/log.js
CHANGED
package/lib/index.umd.js
CHANGED
|
@@ -3234,7 +3234,7 @@ function getClass(property, params) {
|
|
|
3234
3234
|
;// ./packages/ui/index.ts
|
|
3235
3235
|
|
|
3236
3236
|
|
|
3237
|
-
const version = "3.16.
|
|
3237
|
+
const version = "3.16.10";
|
|
3238
3238
|
core_.VxeUI.version = version;
|
|
3239
3239
|
core_.VxeUI.tableVersion = version;
|
|
3240
3240
|
core_.VxeUI.setConfig({
|
|
@@ -3908,7 +3908,7 @@ var es_iterator_map = __webpack_require__(1701);
|
|
|
3908
3908
|
const {
|
|
3909
3909
|
log: log_log
|
|
3910
3910
|
} = core_.VxeUI;
|
|
3911
|
-
const log_version = `table v${"3.16.
|
|
3911
|
+
const log_version = `table v${"3.16.10"}`;
|
|
3912
3912
|
const warnLog = log_log.create('warn', log_version);
|
|
3913
3913
|
const errLog = log_log.create('error', log_version);
|
|
3914
3914
|
;// ./packages/table/src/columnInfo.ts
|
|
@@ -6864,10 +6864,10 @@ function cacheColumnMap($xeTable) {
|
|
|
6864
6864
|
}
|
|
6865
6865
|
if (htmlColumn) {
|
|
6866
6866
|
if (!columnOpts.useKey) {
|
|
6867
|
-
errLog('vxe.error.
|
|
6867
|
+
errLog('vxe.error.notSupportProp', ['column.type=html', 'column-config.useKey=false', 'column-config.useKey=true']);
|
|
6868
6868
|
}
|
|
6869
6869
|
if (!rowOpts.useKey) {
|
|
6870
|
-
errLog('vxe.error.
|
|
6870
|
+
errLog('vxe.error.notSupportProp', ['column.type=html', 'row-config.useKey=false', 'row-config.useKey=true']);
|
|
6871
6871
|
}
|
|
6872
6872
|
}
|
|
6873
6873
|
reactData.isGroup = isGroup;
|
|
@@ -22080,7 +22080,7 @@ const renderPopupPanel = (h, $xeTableCustomPanel) => {
|
|
|
22080
22080
|
}
|
|
22081
22081
|
}
|
|
22082
22082
|
}
|
|
22083
|
-
if (
|
|
22083
|
+
if (targetFixed !== null) {
|
|
22084
22084
|
$xeTable.dispatchEvent('custom-fixed-change', {
|
|
22085
22085
|
column,
|
|
22086
22086
|
fixed: targetFixed
|
|
@@ -29952,12 +29952,24 @@ function renderBody(h, $xeTable) {
|
|
|
29952
29952
|
computeVirtualXOpts() {
|
|
29953
29953
|
const $xeTable = this;
|
|
29954
29954
|
const props = $xeTable;
|
|
29955
|
-
|
|
29955
|
+
const {
|
|
29956
|
+
virtualXConfig
|
|
29957
|
+
} = props;
|
|
29958
|
+
if (virtualXConfig) {
|
|
29959
|
+
return Object.assign({}, table_getConfig().table.virtualXConfig, virtualXConfig);
|
|
29960
|
+
}
|
|
29961
|
+
return Object.assign({}, table_getConfig().table.virtualXConfig, table_getConfig().table.scrollX, props.scrollX);
|
|
29956
29962
|
},
|
|
29957
29963
|
computeVirtualYOpts() {
|
|
29958
29964
|
const $xeTable = this;
|
|
29959
29965
|
const props = $xeTable;
|
|
29960
|
-
|
|
29966
|
+
const {
|
|
29967
|
+
virtualYConfig
|
|
29968
|
+
} = props;
|
|
29969
|
+
if (virtualYConfig) {
|
|
29970
|
+
return Object.assign({}, table_getConfig().table.virtualYConfig, virtualYConfig);
|
|
29971
|
+
}
|
|
29972
|
+
return Object.assign({}, table_getConfig().table.virtualYConfig, table_getConfig().table.scrollY, props.scrollY);
|
|
29961
29973
|
},
|
|
29962
29974
|
computeScrollbarOpts() {
|
|
29963
29975
|
const $xeTable = this;
|