vxe-table 3.14.0-beta.13 → 3.14.0-beta.14
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/src/cell.js +7 -6
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +13 -8
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/src/cell.js +11 -6
- 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 +7 -6
- /package/es/{iconfont.1741830507096.ttf → iconfont.1741919322304.ttf} +0 -0
- /package/es/{iconfont.1741830507096.woff → iconfont.1741919322304.woff} +0 -0
- /package/es/{iconfont.1741830507096.woff2 → iconfont.1741919322304.woff2} +0 -0
- /package/lib/{iconfont.1741830507096.ttf → iconfont.1741919322304.ttf} +0 -0
- /package/lib/{iconfont.1741830507096.woff → iconfont.1741919322304.woff} +0 -0
- /package/lib/{iconfont.1741830507096.woff2 → iconfont.1741919322304.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -2220,7 +2220,7 @@ function getClass(property, params) {
|
|
|
2220
2220
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
2221
2221
|
|
|
2222
2222
|
|
|
2223
|
-
const version = "3.14.0-beta.
|
|
2223
|
+
const version = "3.14.0-beta.14";
|
|
2224
2224
|
core_.VxeUI.version = version;
|
|
2225
2225
|
core_.VxeUI.tableVersion = version;
|
|
2226
2226
|
core_.VxeUI.setConfig({
|
|
@@ -2843,7 +2843,7 @@ function isNodeElement(elem) {
|
|
|
2843
2843
|
const {
|
|
2844
2844
|
log: log_log
|
|
2845
2845
|
} = core_.VxeUI;
|
|
2846
|
-
const log_version = `table v${"3.14.0-beta.
|
|
2846
|
+
const log_version = `table v${"3.14.0-beta.14"}`;
|
|
2847
2847
|
const warnLog = log_log.create('warn', log_version);
|
|
2848
2848
|
const errLog = log_log.create('error', log_version);
|
|
2849
2849
|
;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
|
|
@@ -4302,7 +4302,12 @@ const Cell = {
|
|
|
4302
4302
|
const headerSlot = slots ? slots.header : null;
|
|
4303
4303
|
const titleSlot = slots ? slots.title : null;
|
|
4304
4304
|
const checkboxOpts = $table.computeCheckboxOpts;
|
|
4305
|
-
const
|
|
4305
|
+
const {
|
|
4306
|
+
checkStrictly,
|
|
4307
|
+
showHeader,
|
|
4308
|
+
headerTitle
|
|
4309
|
+
} = checkboxOpts;
|
|
4310
|
+
const colTitle = column.getTitle();
|
|
4306
4311
|
const ons = {};
|
|
4307
4312
|
if (!isHidden) {
|
|
4308
4313
|
ons.click = evnt => {
|
|
@@ -4320,10 +4325,10 @@ const Cell = {
|
|
|
4320
4325
|
if (headerSlot) {
|
|
4321
4326
|
return renderHeaderCellBaseVNs(h, params, renderTitleContent(h, checkboxParams, $table.callSlot(headerSlot, checkboxParams, h)));
|
|
4322
4327
|
}
|
|
4323
|
-
if (
|
|
4328
|
+
if (checkStrictly ? !showHeader : showHeader === false) {
|
|
4324
4329
|
return renderHeaderCellBaseVNs(h, params, renderTitleContent(h, checkboxParams, [h('span', {
|
|
4325
4330
|
class: 'vxe-checkbox--label'
|
|
4326
|
-
}, titleSlot ? $table.callSlot(titleSlot, checkboxParams, h) :
|
|
4331
|
+
}, titleSlot ? $table.callSlot(titleSlot, checkboxParams, h) : colTitle)]));
|
|
4327
4332
|
}
|
|
4328
4333
|
return renderHeaderCellBaseVNs(h, params, renderTitleContent(h, checkboxParams, [h('span', {
|
|
4329
4334
|
class: ['vxe-cell--checkbox', {
|
|
@@ -4332,14 +4337,14 @@ const Cell = {
|
|
|
4332
4337
|
'is--indeterminate': isAllCheckboxIndeterminate
|
|
4333
4338
|
}],
|
|
4334
4339
|
attrs: {
|
|
4335
|
-
title: cell_getI18n('vxe.table.allTitle')
|
|
4340
|
+
title: external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(headerTitle) ? cell_getI18n('vxe.table.allTitle') : `${headerTitle || ''}`
|
|
4336
4341
|
},
|
|
4337
4342
|
on: ons
|
|
4338
4343
|
}, [h('span', {
|
|
4339
4344
|
class: ['vxe-checkbox--icon', isAllCheckboxIndeterminate ? cell_getIcon().TABLE_CHECKBOX_INDETERMINATE : isAllCheckboxSelected ? cell_getIcon().TABLE_CHECKBOX_CHECKED : cell_getIcon().TABLE_CHECKBOX_UNCHECKED]
|
|
4340
|
-
})].concat(titleSlot ||
|
|
4345
|
+
})].concat(titleSlot || colTitle ? [h('span', {
|
|
4341
4346
|
class: 'vxe-checkbox--label'
|
|
4342
|
-
}, titleSlot ? $table.callSlot(titleSlot, checkboxParams, h) :
|
|
4347
|
+
}, titleSlot ? $table.callSlot(titleSlot, checkboxParams, h) : colTitle)] : []))]));
|
|
4343
4348
|
},
|
|
4344
4349
|
renderCheckboxCell(h, params) {
|
|
4345
4350
|
const {
|