bkui-vue 0.0.3-beta.2-5 → 0.0.3-beta.2-6
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/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +571 -569
- package/dist/index.umd.js +1 -1
- package/lib/table/index.js +16 -14
- package/package.json +1 -1
package/lib/table/index.js
CHANGED
@@ -4437,8 +4437,21 @@ const external_directives_namespaceObject = external_directives_x({ ["bkEllipsis
|
|
4437
4437
|
if (typeof disabled === 'function') {
|
4438
4438
|
disabled = Reflect.apply(disabled, _this, [props.column, props.row]);
|
4439
4439
|
}
|
4440
|
-
|
4440
|
+
/**
|
4441
|
+
* 当表格中的字段或数据需要做解释说明时,可增加 [下划线] 提示,hover 可查看解释说明的 tooltips
|
4442
|
+
*/
|
4443
|
+
if (props.column.explain) {
|
4441
4444
|
disabled = false;
|
4445
|
+
mode = 'static';
|
4446
|
+
if (typeof_typeof(props.column.explain) === 'object') {
|
4447
|
+
content = function content() {
|
4448
|
+
return resolvePropVal(props.column.explain, 'content', [props.column, props.row]);
|
4449
|
+
};
|
4450
|
+
}
|
4451
|
+
}
|
4452
|
+
if (props.isHead) {
|
4453
|
+
var _props$column$showOve, _props$column;
|
4454
|
+
disabled = !((_props$column$showOve = (_props$column = props.column) === null || _props$column === void 0 || (_props$column = _props$column.showOverflowTooltip) === null || _props$column === void 0 ? void 0 : _props$column.showHead) !== null && _props$column$showOve !== void 0 ? _props$column$showOve : true);
|
4442
4455
|
mode = 'auto';
|
4443
4456
|
content = function content() {
|
4444
4457
|
var _getEllipsisTarget;
|
@@ -4451,18 +4464,6 @@ const external_directives_namespaceObject = external_directives_x({ ["bkEllipsis
|
|
4451
4464
|
};
|
4452
4465
|
}
|
4453
4466
|
}
|
4454
|
-
/**
|
4455
|
-
* 当表格中的字段或数据需要做解释说明时,可增加 [下划线] 提示,hover 可查看解释说明的 tooltips
|
4456
|
-
*/
|
4457
|
-
if (props.column.explain) {
|
4458
|
-
disabled = false;
|
4459
|
-
mode = 'static';
|
4460
|
-
if (typeof_typeof(props.column.explain) === 'object') {
|
4461
|
-
content = function content() {
|
4462
|
-
return resolvePropVal(props.column.explain, 'content', [props.column, props.row]);
|
4463
|
-
};
|
4464
|
-
}
|
4465
|
-
}
|
4466
4467
|
return {
|
4467
4468
|
disabled: disabled,
|
4468
4469
|
content: content,
|
@@ -5697,7 +5698,8 @@ function use_head_cell_isSlot(s) {
|
|
5697
5698
|
"column": column,
|
5698
5699
|
"defaultSort": active.value ? nextSort.value : SORT_OPTION.NULL,
|
5699
5700
|
"onChange": handleSortClick,
|
5700
|
-
"active": active.value
|
5701
|
+
"active": active.value,
|
5702
|
+
"sortValFormat": props.sortValFormat
|
5701
5703
|
}, null);
|
5702
5704
|
};
|
5703
5705
|
var getFilterCell = function getFilterCell(column, index) {
|