bkui-vue 2.0.1-beta.12 → 2.0.1-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/dist/index.cjs.js +165 -165
- package/dist/index.esm.js +31253 -31265
- package/dist/index.umd.js +165 -165
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/index.js +7 -7
- package/lib/alert/alert.d.ts +5 -5
- package/lib/alert/index.d.ts +11 -11
- package/lib/backtop/backtop.d.ts +1 -1
- package/lib/backtop/index.d.ts +3 -3
- package/lib/backtop/index.js +6 -6
- package/lib/badge/index.js +1 -1
- package/lib/button/button.d.ts +7 -7
- package/lib/button/index.d.ts +8 -8
- package/lib/button/index.js +6 -7
- package/lib/cascader/cascader-panel.d.ts +1 -1
- package/lib/cascader/cascader.d.ts +1 -1
- package/lib/cascader/index.js +31 -32
- package/lib/cascader/interface.d.ts +1 -1
- package/lib/checkbox/index.js +3 -3
- package/lib/checkbox/type.d.ts +1 -1
- package/lib/code-diff/index.js +8 -8
- package/lib/collapse/index.js +2 -2
- package/lib/collapse/utils.d.ts +2 -2
- package/lib/color-picker/index.js +44 -44
- package/lib/components.d.ts +32 -32
- package/lib/components.js +31 -31
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/container/index.js +6 -7
- package/lib/date-picker/base/date-table.d.ts +1 -1
- package/lib/date-picker/base/month-table.d.ts +1 -1
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/year-table.d.ts +1 -1
- package/lib/date-picker/index.js +190 -188
- package/lib/date-picker/interface.d.ts +9 -9
- package/lib/date-picker/panel/date-range.d.ts +5 -5
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +1 -1
- package/lib/date-picker/panel/time.d.ts +1 -1
- package/lib/date-picker/props.d.ts +1 -1
- package/lib/date-picker/utils.d.ts +1 -1
- package/lib/dialog/dialog.d.ts +18 -18
- package/lib/dialog/index.d.ts +40 -40
- package/lib/dialog/index.js +22 -22
- package/lib/dialog/props.d.ts +7 -7
- package/lib/directives/index.d.ts +3 -3
- package/lib/directives/index.js +166 -166
- package/lib/directives/tooltips.d.ts +1 -1
- package/lib/dist.index.js +2 -2
- package/lib/divider/divider.d.ts +5 -5
- package/lib/divider/index.d.ts +11 -11
- package/lib/divider/index.js +2 -2
- package/lib/divider/props.d.ts +2 -2
- package/lib/dropdown/dropdown.d.ts +5 -5
- package/lib/dropdown/index.d.ts +11 -11
- package/lib/dropdown/index.js +7 -7
- package/lib/exception/exception.d.ts +9 -9
- package/lib/exception/index.d.ts +11 -11
- package/lib/exception/index.js +10 -10
- package/lib/exception/typings/index.d.ts +1 -1
- package/lib/fixed-navbar/index.js +2 -2
- package/lib/form/form.d.ts +2 -2
- package/lib/form/index.js +14 -15
- package/lib/form/type.d.ts +2 -2
- package/lib/icon/index.d.ts +11 -11
- package/lib/icon/index.js +11 -11
- package/lib/image/image-viewer.d.ts +1 -1
- package/lib/image/index.js +20 -21
- package/lib/index.d.ts +3 -3
- package/lib/index.js +3 -3
- package/lib/info-box/index.js +13 -13
- package/lib/info-box/info-box.d.ts +15 -15
- package/lib/input/index.d.ts +15 -15
- package/lib/input/index.js +16 -17
- package/lib/input/input.d.ts +15 -15
- package/lib/link/index.d.ts +11 -11
- package/lib/link/index.js +3 -3
- package/lib/link/link.d.ts +5 -5
- package/lib/loading/index.d.ts +4 -4
- package/lib/loading/index.js +6 -6
- package/lib/loading/loading.d.ts +6 -6
- package/lib/locale/index.d.ts +1 -1
- package/lib/menu/index.js +0 -1
- package/lib/menu/utils.d.ts +3 -3
- package/lib/message/index.js +18 -18
- package/lib/message/messageConstructor.d.ts +11 -11
- package/lib/modal/index.d.ts +3 -3
- package/lib/modal/index.js +7 -7
- package/lib/modal/modal.d.ts +1 -1
- package/lib/navigation/index.js +20 -20
- package/lib/navigation/navigation.d.ts +1 -1
- package/lib/notify/index.js +4 -4
- package/lib/overflow-title/components/overflow-title.d.ts +9 -9
- package/lib/overflow-title/index.d.ts +19 -19
- package/lib/overflow-title/index.js +61 -11
- package/lib/overflow-title/props.d.ts +18 -18
- package/lib/pagination/index.js +16 -16
- package/lib/pagination/type.d.ts +1 -1
- package/lib/pagination/use-limit.d.ts +1 -1
- package/lib/pagination/use-total.d.ts +1 -1
- package/lib/plugin-popover/index.js +18 -20
- package/lib/pop-confirm/index.d.ts +11 -11
- package/lib/pop-confirm/index.js +9 -9
- package/lib/pop-confirm/pop-confirm.d.ts +5 -5
- package/lib/pop-confirm/props.d.ts +4 -4
- package/lib/popover/const.d.ts +3 -3
- package/lib/popover/index.d.ts +19 -19
- package/lib/popover/index.js +18 -20
- package/lib/popover/plugin-popover.d.ts +1 -1
- package/lib/popover/popover.d.ts +7 -7
- package/lib/popover/props.d.ts +4 -4
- package/lib/process/index.js +3 -3
- package/lib/progress/index.d.ts +11 -11
- package/lib/progress/index.js +10 -11
- package/lib/progress/progress.d.ts +7 -7
- package/lib/radio/index.js +10 -10
- package/lib/radio/type.d.ts +1 -1
- package/lib/rate/index.js +8 -8
- package/lib/resize-layout/index.d.ts +11 -11
- package/lib/resize-layout/index.js +7 -8
- package/lib/resize-layout/resize-layout.d.ts +5 -5
- package/lib/scrollbar/index.js +0 -1
- package/lib/scrollbar/scrollbar-core/index.d.ts +9 -9
- package/lib/search-select/index.js +66 -66
- package/lib/search-select/menu.d.ts +1 -1
- package/lib/search-select/selected.d.ts +1 -1
- package/lib/search-select/utils.d.ts +3 -3
- package/lib/select/index.d.ts +61 -61
- package/lib/select/index.js +69 -75
- package/lib/select/option.d.ts +1 -1
- package/lib/select/select.d.ts +24 -24
- package/lib/select/selectTagInput.d.ts +6 -6
- package/lib/select/type.d.ts +2 -2
- package/lib/shared/index.d.ts +1 -1
- package/lib/shared/index.js +38 -46
- package/lib/shared/popover.d.ts +3 -3
- package/lib/shared/token.d.ts +1 -1
- package/lib/shared/vue-types.d.ts +46 -46
- package/lib/shared/z-index-manager.d.ts +6 -6
- package/lib/sideslider/index.d.ts +3 -3
- package/lib/sideslider/index.js +11 -11
- package/lib/sideslider/sideslider.d.ts +1 -1
- package/lib/slider/index.js +21 -23
- package/lib/steps/index.d.ts +11 -11
- package/lib/steps/index.js +3 -3
- package/lib/steps/steps.d.ts +7 -7
- package/lib/swiper/index.js +5 -5
- package/lib/switcher/index.js +2 -2
- package/lib/switcher/switcher.d.ts +2 -2
- package/lib/tab/index.d.ts +22 -22
- package/lib/tab/index.js +15 -15
- package/lib/tab/props.d.ts +15 -15
- package/lib/tab/tab-nav.d.ts +10 -10
- package/lib/tab/tab.d.ts +10 -10
- package/lib/table/components/table-column.d.ts +27 -87
- package/lib/table/const.d.ts +8 -8
- package/lib/table/events.d.ts +21 -21
- package/lib/table/index.d.ts +194 -244
- package/lib/table/index.js +124 -128
- package/lib/table/props.d.ts +33 -33
- package/lib/table/table.d.ts +47 -47
- package/lib/table/use-attributes.d.ts +3 -3
- package/lib/table/use-column.d.ts +9 -129
- package/lib/table/use-common.d.ts +4 -4
- package/lib/table/utils.d.ts +5 -5
- package/lib/table-column/index.d.ts +42 -172
- package/lib/table-column/index.js +18 -18
- package/lib/tag/index.d.ts +11 -11
- package/lib/tag/index.js +2 -2
- package/lib/tag/tag.d.ts +5 -5
- package/lib/tag-input/common.d.ts +1 -1
- package/lib/tag-input/index.d.ts +8 -8
- package/lib/tag-input/index.js +30 -30
- package/lib/tag-input/tag-input.d.ts +4 -4
- package/lib/tag-input/tag-props.d.ts +2 -2
- package/lib/timeline/index.js +2 -2
- package/lib/transfer/const.d.ts +2 -2
- package/lib/transfer/index.js +3 -5
- package/lib/tree/constant.d.ts +20 -20
- package/lib/tree/index.d.ts +20 -20
- package/lib/tree/index.js +36 -36
- package/lib/tree/props.d.ts +6 -6
- package/lib/tree/tree.d.ts +6 -6
- package/lib/tree/use-empty.d.ts +1 -1
- package/lib/tree/use-node-action.d.ts +2 -2
- package/lib/tree/use-search.d.ts +1 -1
- package/lib/upload/index.js +25 -26
- package/lib/upload/props.d.ts +1 -1
- package/lib/upload/upload.type.d.ts +6 -6
- package/lib/upload/use-file-handler.d.ts +1 -1
- package/package.json +13 -49
package/lib/table/index.js
CHANGED
@@ -17401,11 +17401,11 @@ function defineProperty_defineProperty(obj, key, value) {
|
|
17401
17401
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
17402
17402
|
var BORDER_OPTION;
|
17403
17403
|
(function (BORDER_OPTION) {
|
17404
|
-
BORDER_OPTION["NONE"] = "none";
|
17405
|
-
BORDER_OPTION["ROW"] = "row";
|
17406
17404
|
BORDER_OPTION["COL"] = "col";
|
17407
|
-
BORDER_OPTION["OUTER"] = "outer";
|
17408
17405
|
BORDER_OPTION["HORIZONTAL"] = "horizontal";
|
17406
|
+
BORDER_OPTION["NONE"] = "none";
|
17407
|
+
BORDER_OPTION["OUTER"] = "outer";
|
17408
|
+
BORDER_OPTION["ROW"] = "row";
|
17409
17409
|
})(BORDER_OPTION || (BORDER_OPTION = {}));
|
17410
17410
|
/**
|
17411
17411
|
* 鼠标划过行样式
|
@@ -17413,8 +17413,8 @@ var BORDER_OPTION;
|
|
17413
17413
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
17414
17414
|
var ROW_HOVER;
|
17415
17415
|
(function (ROW_HOVER) {
|
17416
|
-
ROW_HOVER["HIGHLIGHT"] = "highlight";
|
17417
17416
|
ROW_HOVER["AUTO"] = "auto";
|
17417
|
+
ROW_HOVER["HIGHLIGHT"] = "highlight";
|
17418
17418
|
})(ROW_HOVER || (ROW_HOVER = {}));
|
17419
17419
|
var ROW_HOVER_OPTIONS = [ROW_HOVER.AUTO, ROW_HOVER.HIGHLIGHT];
|
17420
17420
|
/**
|
@@ -17507,9 +17507,9 @@ var TB_FOOT_HEIGHT = 60;
|
|
17507
17507
|
var SORT_OPTION;
|
17508
17508
|
(function (SORT_OPTION) {
|
17509
17509
|
SORT_OPTION["ASC"] = "asc";
|
17510
|
+
SORT_OPTION["CUSTOM"] = "custom";
|
17510
17511
|
SORT_OPTION["DESC"] = "desc";
|
17511
17512
|
SORT_OPTION["NULL"] = "null";
|
17512
|
-
SORT_OPTION["CUSTOM"] = "custom";
|
17513
17513
|
})(SORT_OPTION || (SORT_OPTION = {}));
|
17514
17514
|
var SORT_OPTIONS = [SORT_OPTION.ASC, SORT_OPTION.DESC, SORT_OPTION.NULL, SORT_OPTION.CUSTOM];
|
17515
17515
|
/**
|
@@ -17534,30 +17534,30 @@ const external_vue_types_namespaceObject = external_vue_types_x({ ["string"]: ()
|
|
17534
17534
|
|
17535
17535
|
var SortScope;
|
17536
17536
|
(function (SortScope) {
|
17537
|
-
SortScope["CURRENT"] = "current";
|
17538
17537
|
SortScope["ALL"] = "all";
|
17538
|
+
SortScope["CURRENT"] = "current";
|
17539
17539
|
})(SortScope || (SortScope = {}));
|
17540
17540
|
var OverflowModeEnum;
|
17541
17541
|
(function (OverflowModeEnum) {
|
17542
|
-
OverflowModeEnum["STATIC"] = "static";
|
17543
17542
|
OverflowModeEnum["AUTO"] = "auto";
|
17543
|
+
OverflowModeEnum["STATIC"] = "static";
|
17544
17544
|
})(OverflowModeEnum || (OverflowModeEnum = {}));
|
17545
17545
|
var EnumOverflowModeType = (0,external_vue_types_namespaceObject.toType)('showOverflowTooltipMode', {
|
17546
17546
|
"default": OverflowModeEnum.AUTO
|
17547
17547
|
});
|
17548
17548
|
var ColumnTypeEnum;
|
17549
17549
|
(function (ColumnTypeEnum) {
|
17550
|
-
ColumnTypeEnum["SELECTION"] = "selection";
|
17551
|
-
ColumnTypeEnum["INDEX"] = "index";
|
17552
17550
|
ColumnTypeEnum["EXPAND"] = "expand";
|
17551
|
+
ColumnTypeEnum["INDEX"] = "index";
|
17553
17552
|
ColumnTypeEnum["NONE"] = "__COL_TYPE_NONE";
|
17553
|
+
ColumnTypeEnum["SELECTION"] = "selection";
|
17554
17554
|
})(ColumnTypeEnum || (ColumnTypeEnum = {}));
|
17555
17555
|
var TableAlignEnum;
|
17556
17556
|
(function (TableAlignEnum) {
|
17557
|
-
TableAlignEnum["LEFT"] = "left";
|
17558
|
-
TableAlignEnum["RIGHT"] = "right";
|
17559
17557
|
TableAlignEnum["CENTER"] = "center";
|
17558
|
+
TableAlignEnum["LEFT"] = "left";
|
17560
17559
|
TableAlignEnum["NONE"] = "";
|
17560
|
+
TableAlignEnum["RIGHT"] = "right";
|
17561
17561
|
})(TableAlignEnum || (TableAlignEnum = {}));
|
17562
17562
|
var columnType = (0,external_vue_types_namespaceObject.toType)('columnType', {
|
17563
17563
|
"default": ColumnTypeEnum.NONE
|
@@ -17575,9 +17575,9 @@ var fullType = (0,external_vue_types_namespaceObject.toType)('full', {
|
|
17575
17575
|
});
|
17576
17576
|
var SettingSizeEnum;
|
17577
17577
|
(function (SettingSizeEnum) {
|
17578
|
-
SettingSizeEnum["SMALL"] = "small";
|
17579
|
-
SettingSizeEnum["MEDIUM"] = "medium";
|
17580
17578
|
SettingSizeEnum["LARGE"] = "large";
|
17579
|
+
SettingSizeEnum["MEDIUM"] = "medium";
|
17580
|
+
SettingSizeEnum["SMALL"] = "small";
|
17581
17581
|
})(SettingSizeEnum || (SettingSizeEnum = {}));
|
17582
17582
|
var settingSizeType = (0,external_vue_types_namespaceObject.toType)('columnSize', {
|
17583
17583
|
"default": SettingSizeEnum.SMALL
|
@@ -17602,9 +17602,9 @@ var IFilterType = (0,external_vue_types_namespaceObject.toType)('IFilterPropShap
|
|
17602
17602
|
});
|
17603
17603
|
var ColumnPickEnum;
|
17604
17604
|
(function (ColumnPickEnum) {
|
17605
|
+
ColumnPickEnum["DISABLED"] = "disabled";
|
17605
17606
|
ColumnPickEnum["MULTI"] = "multi";
|
17606
17607
|
ColumnPickEnum["SINGLE"] = "single";
|
17607
|
-
ColumnPickEnum["DISABLED"] = "disabled";
|
17608
17608
|
})(ColumnPickEnum || (ColumnPickEnum = {}));
|
17609
17609
|
var ResizerWay;
|
17610
17610
|
(function (ResizerWay) {
|
@@ -17640,14 +17640,14 @@ var IColumnProp = (0,external_vue_types_namespaceObject.toType)('IColumnPropType
|
|
17640
17640
|
});
|
17641
17641
|
var IColSortBehavior;
|
17642
17642
|
(function (IColSortBehavior) {
|
17643
|
-
/**
|
17644
|
-
* 列排序是相互依赖的
|
17645
|
-
*/
|
17646
|
-
IColSortBehavior["interdependent"] = "interdependent";
|
17647
17643
|
/**
|
17648
17644
|
* 列与列之间的排序是独立的,互斥的
|
17649
17645
|
*/
|
17650
17646
|
IColSortBehavior["independent"] = "independent";
|
17647
|
+
/**
|
17648
|
+
* 列排序是相互依赖的
|
17649
|
+
*/
|
17650
|
+
IColSortBehavior["interdependent"] = "interdependent";
|
17651
17651
|
})(IColSortBehavior || (IColSortBehavior = {}));
|
17652
17652
|
var tableProps = {
|
17653
17653
|
/**
|
@@ -18010,37 +18010,36 @@ var _EMIT_EVENT_TYPES;
|
|
18010
18010
|
*/
|
18011
18011
|
var EVENTS;
|
18012
18012
|
(function (EVENTS) {
|
18013
|
-
/** 点击排序事件 */
|
18014
|
-
EVENTS["ON_SORT_BY_CLICK"] = "onSortByClick";
|
18015
18013
|
EVENTS["ON_FILTER_CLICK"] = "onFilterClick";
|
18016
|
-
EVENTS["ON_SETTING_CHANGE"] = "onSettingChange";
|
18017
|
-
EVENTS["ON_ROW_EXPAND_CLICK"] = "onRowExpandClick";
|
18018
18014
|
EVENTS["ON_ROW_CHECK"] = "onRowCheck";
|
18015
|
+
EVENTS["ON_ROW_EXPAND_CLICK"] = "onRowExpandClick";
|
18016
|
+
EVENTS["ON_SETTING_CHANGE"] = "onSettingChange";
|
18017
|
+
/** 点击排序事件 */
|
18018
|
+
EVENTS["ON_SORT_BY_CLICK"] = "onSortByClick";
|
18019
18019
|
})(EVENTS || (EVENTS = {}));
|
18020
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
18021
18020
|
var EMIT_EVENTS;
|
18022
18021
|
(function (EMIT_EVENTS) {
|
18023
|
-
EMIT_EVENTS["
|
18024
|
-
EMIT_EVENTS["
|
18022
|
+
EMIT_EVENTS["CELL_CLICK"] = "cellClick";
|
18023
|
+
EMIT_EVENTS["CELL_DBL_CLICK"] = "cellDblclick";
|
18025
18024
|
EMIT_EVENTS["COLUMN_FILTER"] = "columnFilter";
|
18026
18025
|
EMIT_EVENTS["COLUMN_FILTER_SAVE"] = "colFilterSave";
|
18026
|
+
EMIT_EVENTS["COLUMN_PICK"] = "columnPick";
|
18027
|
+
EMIT_EVENTS["COLUMN_SORT"] = "columnSort";
|
18028
|
+
EMIT_EVENTS["DRAG_END"] = "dragend";
|
18029
|
+
EMIT_EVENTS["NATIVE_CLICK"] = "click";
|
18030
|
+
EMIT_EVENTS["NATIVE_DBL_CLICK"] = "dblclick";
|
18031
|
+
EMIT_EVENTS["PAGE_LIMIT_CHANGE"] = "pageLimitChange";
|
18032
|
+
EMIT_EVENTS["PAGE_VALUE_CHANGE"] = "pageValueChange";
|
18027
18033
|
EMIT_EVENTS["ROW_CLICK"] = "rowClick";
|
18028
18034
|
EMIT_EVENTS["ROW_DBL_CLICK"] = "rowDblclick";
|
18029
18035
|
EMIT_EVENTS["ROW_EXPAND_CLICK"] = "rowExpand";
|
18030
18036
|
EMIT_EVENTS["ROW_MOUSE_ENTER"] = "rowMouseEnter";
|
18031
18037
|
EMIT_EVENTS["ROW_MOUSE_LEAVE"] = "rowMouseLeave";
|
18032
|
-
EMIT_EVENTS["PAGE_LIMIT_CHANGE"] = "pageLimitChange";
|
18033
|
-
EMIT_EVENTS["PAGE_VALUE_CHANGE"] = "pageValueChange";
|
18034
|
-
EMIT_EVENTS["SETTING_CHANGE"] = "settingChange";
|
18035
|
-
EMIT_EVENTS["SCROLL_BOTTOM"] = "scrollBottom";
|
18036
18038
|
EMIT_EVENTS["ROW_SELECT"] = "select";
|
18037
18039
|
EMIT_EVENTS["ROW_SELECT_ALL"] = "selectAll";
|
18038
18040
|
EMIT_EVENTS["ROW_SELECT_CHANGE"] = "selectionChange";
|
18039
|
-
EMIT_EVENTS["
|
18040
|
-
EMIT_EVENTS["
|
18041
|
-
EMIT_EVENTS["NATIVE_CLICK"] = "click";
|
18042
|
-
EMIT_EVENTS["NATIVE_DBL_CLICK"] = "dblclick";
|
18043
|
-
EMIT_EVENTS["DRAG_END"] = "dragend";
|
18041
|
+
EMIT_EVENTS["SCROLL_BOTTOM"] = "scrollBottom";
|
18042
|
+
EMIT_EVENTS["SETTING_CHANGE"] = "settingChange";
|
18044
18043
|
})(EMIT_EVENTS || (EMIT_EVENTS = {}));
|
18045
18044
|
var EVENT_COL_PICK = function EVENT_COL_PICK(_cols) {
|
18046
18045
|
return true;
|
@@ -18140,9 +18139,9 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
18140
18139
|
var pluginName = 'HeadColumnResize';
|
18141
18140
|
var EVENTS;
|
18142
18141
|
(function (EVENTS) {
|
18142
|
+
EVENTS["MOUSE_DOWN"] = "onMousedown";
|
18143
18143
|
EVENTS["MOUSE_MOVE"] = "onMousemove";
|
18144
18144
|
EVENTS["MOUSE_OUT"] = "onMouseout";
|
18145
|
-
EVENTS["MOUSE_DOWN"] = "onMousedown";
|
18146
18145
|
})(EVENTS || (EVENTS = {}));
|
18147
18146
|
var isInDragSection = false;
|
18148
18147
|
var isMouseDown = false;
|
@@ -21859,9 +21858,9 @@ const directives_namespaceObject = directives_x({ ["bkEllipsisInstance"]: () =>
|
|
21859
21858
|
return function () {
|
21860
21859
|
var _slots$default;
|
21861
21860
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
21862
|
-
"
|
21861
|
+
"ref": refRoot,
|
21863
21862
|
"style": cellStyle.value,
|
21864
|
-
"
|
21863
|
+
"class": ['cell', props.column.type, hasExplain ? 'explain' : '']
|
21865
21864
|
}, [(_slots$default = slots["default"]) === null || _slots$default === void 0 ? void 0 : _slots$default.call(slots)]);
|
21866
21865
|
};
|
21867
21866
|
}
|
@@ -21962,9 +21961,9 @@ const exception_less_namespaceObject = exception_less_x({ });
|
|
21962
21961
|
});
|
21963
21962
|
return function () {
|
21964
21963
|
return (0,external_vue_namespaceObject.createVNode)(exception_namespaceObject["default"], {
|
21964
|
+
"description": localEmptyText.value,
|
21965
21965
|
"scene": "part",
|
21966
|
-
"type": type.value
|
21967
|
-
"description": localEmptyText.value
|
21966
|
+
"type": type.value
|
21968
21967
|
}, null);
|
21969
21968
|
};
|
21970
21969
|
}
|
@@ -22209,11 +22208,11 @@ function _isSlot(s) {
|
|
22209
22208
|
return function () {
|
22210
22209
|
var _localSettings$value$2;
|
22211
22210
|
return props.settings ? (0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], (0,external_vue_namespaceObject.mergeProps)({
|
22212
|
-
"trigger": (_localSettings$value$2 = localSettings.value.trigger) !== null && _localSettings$value$2 !== void 0 ? _localSettings$value$2 : 'manual',
|
22213
|
-
"placement": "bottom-end",
|
22214
22211
|
"ref": refSetting,
|
22212
|
+
"extCls": localSettings.value.extCls,
|
22215
22213
|
"arrow": true,
|
22216
|
-
"
|
22214
|
+
"placement": "bottom-end",
|
22215
|
+
"trigger": (_localSettings$value$2 = localSettings.value.trigger) !== null && _localSettings$value$2 !== void 0 ? _localSettings$value$2 : 'manual'
|
22217
22216
|
}, {
|
22218
22217
|
theme: theme
|
22219
22218
|
}), {
|
@@ -22249,8 +22248,8 @@ function _isSlot(s) {
|
|
22249
22248
|
"class": "check-all",
|
22250
22249
|
"onClick": handleCheckAllClick
|
22251
22250
|
}, [(0,external_vue_namespaceObject.createVNode)(checkbox_namespaceObject["default"], {
|
22252
|
-
"label": t.value.setting.fields.selectAll,
|
22253
22251
|
"indeterminate": Boolean(indeterminate.value),
|
22252
|
+
"label": t.value.setting.fields.selectAll,
|
22254
22253
|
"modelValue": checkedFields.value.length > 0
|
22255
22254
|
}, {
|
22256
22255
|
"default": function _default() {
|
@@ -22268,8 +22267,8 @@ function _isSlot(s) {
|
|
22268
22267
|
"class": "field-item"
|
22269
22268
|
}, [(0,external_vue_namespaceObject.createVNode)(checkbox_namespaceObject["default"], {
|
22270
22269
|
"checked": checkedFields.value.includes(resolvedColVal(item, index)),
|
22271
|
-
"
|
22272
|
-
"
|
22270
|
+
"disabled": isItemReadonly(item, index),
|
22271
|
+
"label": resolvedColVal(item, index)
|
22273
22272
|
}, _isSlot(_slot = resolvePropVal(item, ['name', 'label'], [item, index])) ? _slot : {
|
22274
22273
|
"default": function _default() {
|
22275
22274
|
return [_slot];
|
@@ -22284,8 +22283,8 @@ function _isSlot(s) {
|
|
22284
22283
|
}, [t.value.setting.lineHeight.title, (0,external_vue_namespaceObject.createTextVNode)("\uFF1A"), renderSize()]) : '']), (0,external_vue_namespaceObject.createVNode)("div", {
|
22285
22284
|
"class": "setting-footer"
|
22286
22285
|
}, [(0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
|
22287
|
-
"theme": "primary",
|
22288
22286
|
"style": buttonStyle,
|
22287
|
+
"theme": "primary",
|
22289
22288
|
"onClick": handleSaveClick
|
22290
22289
|
}, {
|
22291
22290
|
"default": function _default() {
|
@@ -22598,9 +22597,7 @@ var ROW_HEIGHT = 32;
|
|
22598
22597
|
return getRegExp(str, 'img').test(matchText);
|
22599
22598
|
});
|
22600
22599
|
};
|
22601
|
-
var filterFn = typeof filter.value.filterFn === 'function' ?
|
22602
|
-
// eslint-disable-next-line max-len
|
22603
|
-
function (checked, row, index, data) {
|
22600
|
+
var filterFn = typeof filter.value.filterFn === 'function' ? function (checked, row, index, data) {
|
22604
22601
|
return filter.value.filterFn(checked, row, props.column, index, data);
|
22605
22602
|
} : function (checked, row) {
|
22606
22603
|
return checked.length ? defaultFilterFn(checked, row) : true;
|
@@ -22654,9 +22651,9 @@ var ROW_HEIGHT = 32;
|
|
22654
22651
|
}, [text]);
|
22655
22652
|
}
|
22656
22653
|
return (0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
|
22657
|
-
"theme": "primary",
|
22658
|
-
"size": "small",
|
22659
22654
|
"style": "width: 56px; margin-right: 8px;",
|
22655
|
+
"size": "small",
|
22656
|
+
"theme": "primary",
|
22660
22657
|
"onClick": handleBtnSaveClick
|
22661
22658
|
}, head_filter_isSlot(text) ? text : {
|
22662
22659
|
"default": function _default() {
|
@@ -22673,8 +22670,8 @@ var ROW_HEIGHT = 32;
|
|
22673
22670
|
}
|
22674
22671
|
return (0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
|
22675
22672
|
"style": "width: 56px;",
|
22676
|
-
"size": "small",
|
22677
22673
|
"disabled": state.checked.length === 0,
|
22674
|
+
"size": "small",
|
22678
22675
|
"onClick": handleBtnResetClick
|
22679
22676
|
}, head_filter_isSlot(text) ? text : {
|
22680
22677
|
"default": function _default() {
|
@@ -22698,12 +22695,12 @@ var ROW_HEIGHT = 32;
|
|
22698
22695
|
if (scope.data.length) {
|
22699
22696
|
return scope.data.map(function (item) {
|
22700
22697
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
22701
|
-
"
|
22702
|
-
"
|
22698
|
+
"key": item.value,
|
22699
|
+
"class": "list-item"
|
22703
22700
|
}, [(0,external_vue_namespaceObject.createVNode)(checkbox_namespaceObject["default"], {
|
22704
|
-
"label": item.value,
|
22705
|
-
"immediateEmitChange": false,
|
22706
22701
|
"checked": state.checked.includes(item.value),
|
22702
|
+
"immediateEmitChange": false,
|
22703
|
+
"label": item.value,
|
22707
22704
|
"modelValue": state.checked.includes(item.value),
|
22708
22705
|
"onChange": function onChange(val) {
|
22709
22706
|
return handleValueChange(val, item);
|
@@ -22721,20 +22718,20 @@ var ROW_HEIGHT = 32;
|
|
22721
22718
|
};
|
22722
22719
|
return function () {
|
22723
22720
|
return (0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], (0,external_vue_namespaceObject.mergeProps)({
|
22724
|
-
"
|
22721
|
+
"arrow": false,
|
22725
22722
|
"isShow": state.isOpen,
|
22723
|
+
"offset": 0,
|
22726
22724
|
"placement": "bottom-start",
|
22727
22725
|
"renderType": shared_namespaceObject.RenderType.SHOWN,
|
22728
|
-
"
|
22729
|
-
"offset": 0
|
22726
|
+
"trigger": "click"
|
22730
22727
|
}, {
|
22731
22728
|
theme: theme
|
22732
22729
|
}, {
|
22733
|
-
"onAfterShow": function onAfterShow() {
|
22734
|
-
return handlePopShow(true);
|
22735
|
-
},
|
22736
22730
|
"onAfterHidden": function onAfterHidden() {
|
22737
22731
|
return handlePopShow(false);
|
22732
|
+
},
|
22733
|
+
"onAfterShow": function onAfterShow() {
|
22734
|
+
return handlePopShow(true);
|
22738
22735
|
}
|
22739
22736
|
}), {
|
22740
22737
|
"default": function _default() {
|
@@ -22757,15 +22754,15 @@ var ROW_HEIGHT = 32;
|
|
22757
22754
|
}, {
|
22758
22755
|
"default": function _default() {
|
22759
22756
|
return [(0,external_vue_namespaceObject.createVNode)(virtual_render_namespaceObject["default"], {
|
22760
|
-
"
|
22761
|
-
"minHeight": minHeight.value,
|
22757
|
+
"ref": refVirtualRender,
|
22762
22758
|
"height": height.value,
|
22759
|
+
"className": "content-items",
|
22763
22760
|
"lineHeight": 32,
|
22764
22761
|
"list": localData.value,
|
22765
|
-
"
|
22762
|
+
"maxHeight": maxHeight.value,
|
22763
|
+
"minHeight": minHeight.value,
|
22766
22764
|
"scrollEvent": true,
|
22767
|
-
"
|
22768
|
-
"className": "content-items"
|
22765
|
+
"throttleDelay": 0
|
22769
22766
|
}, {
|
22770
22767
|
"default": renderFilterList
|
22771
22768
|
})];
|
@@ -22917,14 +22914,14 @@ function _slicedToArray(arr, i) {
|
|
22917
22914
|
return (0,external_vue_namespaceObject.createVNode)("span", {
|
22918
22915
|
"class": resolveClassName('head-cell-sort')
|
22919
22916
|
}, [(0,external_vue_namespaceObject.createVNode)(_namespaceObject.AngleDownFill, {
|
22920
|
-
"class": ['sort-action', 'sort-asc', props.active && sortType.value === SORT_OPTION.ASC ? 'active' : ''],
|
22921
22917
|
"style": "align-items: flex-end;",
|
22918
|
+
"class": ['sort-action', 'sort-asc', props.active && sortType.value === SORT_OPTION.ASC ? 'active' : ''],
|
22922
22919
|
"onClick": function onClick(e) {
|
22923
22920
|
return handleSortClick(e, SORT_OPTION.ASC);
|
22924
22921
|
}
|
22925
22922
|
}, null), (0,external_vue_namespaceObject.createVNode)(_namespaceObject.AngleUpFill, {
|
22926
|
-
"class": ['sort-action', 'sort-desc', props.active && sortType.value === SORT_OPTION.DESC ? 'active' : ''],
|
22927
22923
|
"style": "align-items: flex-start;",
|
22924
|
+
"class": ['sort-action', 'sort-desc', props.active && sortType.value === SORT_OPTION.DESC ? 'active' : ''],
|
22928
22925
|
"onClick": function onClick(e) {
|
22929
22926
|
return handleSortClick(e, SORT_OPTION.DESC);
|
22930
22927
|
}
|
@@ -23062,10 +23059,10 @@ function use_head_cell_isSlot(s) {
|
|
23062
23059
|
isCheckAll: isAll
|
23063
23060
|
});
|
23064
23061
|
return (0,external_vue_namespaceObject.createVNode)(checkbox_namespaceObject["default"], {
|
23065
|
-
"onChange": handleChecked,
|
23066
23062
|
"disabled": !isEnable,
|
23063
|
+
"indeterminate": indeterminate,
|
23067
23064
|
"modelValue": isChecked,
|
23068
|
-
"
|
23065
|
+
"onChange": handleChecked
|
23069
23066
|
}, null);
|
23070
23067
|
};
|
23071
23068
|
/**
|
@@ -23096,11 +23093,11 @@ function use_head_cell_isSlot(s) {
|
|
23096
23093
|
};
|
23097
23094
|
// 如果是独立的,则只高亮当前排序
|
23098
23095
|
return (0,external_vue_namespaceObject.createVNode)(head_sort, {
|
23096
|
+
"active": active.value,
|
23099
23097
|
"column": column,
|
23100
23098
|
"defaultSort": active.value ? nextSort.value : SORT_OPTION.NULL,
|
23101
|
-
"
|
23102
|
-
"
|
23103
|
-
"sortValFormat": props.sortValFormat
|
23099
|
+
"sortValFormat": props.sortValFormat,
|
23100
|
+
"onChange": handleSortClick
|
23104
23101
|
}, null);
|
23105
23102
|
};
|
23106
23103
|
var getFilterCell = function getFilterCell(column, index) {
|
@@ -23123,8 +23120,8 @@ function use_head_cell_isSlot(s) {
|
|
23123
23120
|
});
|
23124
23121
|
};
|
23125
23122
|
return (0,external_vue_namespaceObject.createVNode)(head_filter, {
|
23126
|
-
"column": column,
|
23127
23123
|
"height": props.headHeight,
|
23124
|
+
"column": column,
|
23128
23125
|
"onChange": handleFilterChange,
|
23129
23126
|
"onFilterSave": filterSave
|
23130
23127
|
}, null);
|
@@ -23168,13 +23165,13 @@ function use_head_cell_isSlot(s) {
|
|
23168
23165
|
};
|
23169
23166
|
return (0,external_vue_namespaceObject.createVNode)(table_cell, {
|
23170
23167
|
"class": headClass,
|
23171
|
-
"title": showTitle,
|
23172
|
-
"observerResize": props.observerResize,
|
23173
|
-
"resizerWay": props.resizerWay,
|
23174
|
-
"isHead": true,
|
23175
23168
|
"column": column,
|
23169
|
+
"headExplain": resolvePropVal(column.explain, 'head', [column]),
|
23170
|
+
"isHead": true,
|
23171
|
+
"observerResize": props.observerResize,
|
23176
23172
|
"parentSetting": props.showOverflowTooltip,
|
23177
|
-
"
|
23173
|
+
"resizerWay": props.resizerWay,
|
23174
|
+
"title": showTitle
|
23178
23175
|
}, use_head_cell_isSlot(cells) ? cells : {
|
23179
23176
|
"default": function _default() {
|
23180
23177
|
return [cells];
|
@@ -23183,11 +23180,11 @@ function use_head_cell_isSlot(s) {
|
|
23183
23180
|
};
|
23184
23181
|
var getTH = function getTH(classList, style, index) {
|
23185
23182
|
return (0,external_vue_namespaceObject.createVNode)("th", (0,external_vue_namespaceObject.mergeProps)({
|
23183
|
+
"style": style,
|
23184
|
+
"class": classList,
|
23186
23185
|
"colspan": 1,
|
23187
|
-
"rowspan": 1,
|
23188
23186
|
"data-id": tableResp.getColumnId(column),
|
23189
|
-
"
|
23190
|
-
"style": style,
|
23187
|
+
"rowspan": 1,
|
23191
23188
|
"onClick": function onClick() {
|
23192
23189
|
return handleColCellClick(index);
|
23193
23190
|
}
|
@@ -23405,8 +23402,8 @@ function use_render_isSlot(s) {
|
|
23405
23402
|
};
|
23406
23403
|
return [props.settings ? (0,external_vue_namespaceObject.createVNode)(plugins_settings, {
|
23407
23404
|
"class": "table-head-settings",
|
23408
|
-
"settings": props.settings,
|
23409
23405
|
"columns": columns.value,
|
23406
|
+
"settings": props.settings,
|
23410
23407
|
"onChange": handleSettingsChanged
|
23411
23408
|
}, {
|
23412
23409
|
"default": function _default() {
|
@@ -23432,9 +23429,9 @@ function use_render_isSlot(s) {
|
|
23432
23429
|
if (!rows.length) {
|
23433
23430
|
var _context$slots$empty, _context$slots$empty2, _context$slots2;
|
23434
23431
|
return (_context$slots$empty = (_context$slots$empty2 = (_context$slots2 = context.slots).empty) === null || _context$slots$empty2 === void 0 ? void 0 : _context$slots$empty2.call(_context$slots2)) !== null && _context$slots$empty !== void 0 ? _context$slots$empty : (0,external_vue_namespaceObject.createVNode)(body_empty, {
|
23432
|
+
"emptyText": localEmptyText.value,
|
23435
23433
|
"filterList": rows,
|
23436
|
-
"list": props.data
|
23437
|
-
"emptyText": localEmptyText.value
|
23434
|
+
"list": props.data
|
23438
23435
|
}, null);
|
23439
23436
|
}
|
23440
23437
|
return (0,external_vue_namespaceObject.createVNode)("table", {
|
@@ -23448,11 +23445,11 @@ function use_render_isSlot(s) {
|
|
23448
23445
|
"style": "width: 100%;"
|
23449
23446
|
}, options, {
|
23450
23447
|
"modelValue": options.current,
|
23451
|
-
"onLimitChange": function onLimitChange(limit) {
|
23452
|
-
return handlePageLimitChange(limit);
|
23453
|
-
},
|
23454
23448
|
"onChange": function onChange(current) {
|
23455
23449
|
return handlePageChange(current);
|
23450
|
+
},
|
23451
|
+
"onLimitChange": function onLimitChange(limit) {
|
23452
|
+
return handlePageLimitChange(limit);
|
23456
23453
|
}
|
23457
23454
|
}), null);
|
23458
23455
|
};
|
@@ -23596,10 +23593,11 @@ function use_render_isSlot(s) {
|
|
23596
23593
|
}, {
|
23597
23594
|
"default": function _default() {
|
23598
23595
|
return [(0,external_vue_namespaceObject.createVNode)("tr", (0,external_vue_namespaceObject.mergeProps)({
|
23596
|
+
"key": rowId,
|
23599
23597
|
"style": rowStyle,
|
23600
23598
|
"class": rowClass,
|
23601
|
-
"key": rowId,
|
23602
23599
|
"data-row-index": rowIndex,
|
23600
|
+
"draggable": !!props.rowDraggable,
|
23603
23601
|
"onClick": function onClick(e) {
|
23604
23602
|
return handleRowClick(e, row, rowIndex, rows);
|
23605
23603
|
},
|
@@ -23611,8 +23609,7 @@ function use_render_isSlot(s) {
|
|
23611
23609
|
},
|
23612
23610
|
"onMouseleave": function onMouseleave(e) {
|
23613
23611
|
return handleRowLeave(e, row, rowIndex, rows);
|
23614
|
-
}
|
23615
|
-
"draggable": !!props.rowDraggable
|
23612
|
+
}
|
23616
23613
|
}, dragEvents), [filterColGroups.value.map(function (column, index) {
|
23617
23614
|
var cellStyle = [resolveFixedColumnStyle(column)].concat(_toConsumableArray(formatPropAsArray(props.cellStyle, [column, index, row, rowIndex])));
|
23618
23615
|
var _resolveCellSpan = resolveCellSpan(column, index, row, rowIndex),
|
@@ -23651,11 +23648,11 @@ function use_render_isSlot(s) {
|
|
23651
23648
|
var columnKey = "".concat(rowId, "_").concat(index);
|
23652
23649
|
var cellKey = "".concat(rowId, "_").concat(index, "_cell");
|
23653
23650
|
return (0,external_vue_namespaceObject.createVNode)("td", {
|
23654
|
-
"
|
23651
|
+
"key": columnKey,
|
23655
23652
|
"style": cellStyle,
|
23653
|
+
"class": cellClass,
|
23656
23654
|
"colspan": colspan,
|
23657
23655
|
"rowspan": rowspan,
|
23658
|
-
"key": columnKey,
|
23659
23656
|
"onClick": function onClick(event) {
|
23660
23657
|
return handleEmit(event, EMIT_EVENTS.CELL_CLICK);
|
23661
23658
|
},
|
@@ -23666,9 +23663,9 @@ function use_render_isSlot(s) {
|
|
23666
23663
|
"key": cellKey,
|
23667
23664
|
"class": tdCtxClass,
|
23668
23665
|
"column": column,
|
23669
|
-
"
|
23666
|
+
"observerResize": props.observerResize,
|
23670
23667
|
"parentSetting": props.showOverflowTooltip,
|
23671
|
-
"
|
23668
|
+
"row": row
|
23672
23669
|
}, use_render_isSlot(_slot = renderCell(row, column, rowIndex, rows, isChild)) ? _slot : {
|
23673
23670
|
"default": function _default() {
|
23674
23671
|
return [_slot];
|
@@ -23850,11 +23847,11 @@ function use_render_isSlot(s) {
|
|
23850
23847
|
isCheckAll: isAll
|
23851
23848
|
});
|
23852
23849
|
return (0,external_vue_namespaceObject.createVNode)(checkbox_namespaceObject["default"], {
|
23853
|
-
"
|
23850
|
+
"beforeChange": beforeRowChange,
|
23854
23851
|
"disabled": !isEnable,
|
23855
|
-
"modelValue": isChecked,
|
23856
23852
|
"indeterminate": indeterminate,
|
23857
|
-
"
|
23853
|
+
"modelValue": isChecked,
|
23854
|
+
"onChange": handleChecked
|
23858
23855
|
}, null);
|
23859
23856
|
};
|
23860
23857
|
var renderExpandColumn = function renderExpandColumn(row, column, index, rows) {
|
@@ -23885,8 +23882,8 @@ function use_render_isSlot(s) {
|
|
23885
23882
|
}
|
23886
23883
|
var fontSize = (_props$rowDraggable$f = (_props$rowDraggable2 = props.rowDraggable) === null || _props$rowDraggable2 === void 0 ? void 0 : _props$rowDraggable2.fontSize) !== null && _props$rowDraggable$f !== void 0 ? _props$rowDraggable$f : '14px';
|
23887
23884
|
var fontIcon = (_props$rowDraggable$i = (_props$rowDraggable3 = props.rowDraggable) === null || _props$rowDraggable3 === void 0 ? void 0 : _props$rowDraggable3.icon) !== null && _props$rowDraggable$i !== void 0 ? _props$rowDraggable$i : (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.GragFill, {
|
23888
|
-
"
|
23889
|
-
"
|
23885
|
+
"style": "'--font-size: ".concat(fontSize, ";'"),
|
23886
|
+
"class": "drag-cell"
|
23890
23887
|
}, null);
|
23891
23888
|
return fontIcon;
|
23892
23889
|
};
|
@@ -23962,11 +23959,11 @@ function use_render_isSlot(s) {
|
|
23962
23959
|
var width = "".concat(resolveWidth(tableResp.getColumnOrderWidth(column))).replace(/px$/i, '');
|
23963
23960
|
var minWidth = tableResp.getColumnAttribute(column, COLUMN_ATTRIBUTE.COL_MIN_WIDTH);
|
23964
23961
|
return (0,external_vue_namespaceObject.createVNode)("col", {
|
23965
|
-
"class": colCls,
|
23966
|
-
"width": width,
|
23967
23962
|
"style": {
|
23968
23963
|
minWidth: resolveNumberOrStringToPix(minWidth, 'auto')
|
23969
|
-
}
|
23964
|
+
},
|
23965
|
+
"width": width,
|
23966
|
+
"class": colCls
|
23970
23967
|
}, null);
|
23971
23968
|
})]);
|
23972
23969
|
};
|
@@ -24023,7 +24020,6 @@ function table_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
24023
24020
|
|
24024
24021
|
|
24025
24022
|
/* harmony default export */ const table = ((0,external_vue_namespaceObject.defineComponent)({
|
24026
|
-
// eslint-disable-next-line vue/no-reserved-component-names
|
24027
24023
|
name: 'Table',
|
24028
24024
|
props: tableProps,
|
24029
24025
|
emits: EMIT_EVENT_TYPES,
|
@@ -24195,36 +24191,36 @@ function table_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
24195
24191
|
return function () {
|
24196
24192
|
var _ctx$slots$default, _ctx$slots;
|
24197
24193
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
24198
|
-
"
|
24194
|
+
"ref": root,
|
24199
24195
|
"style": wrapperStyle.value,
|
24200
|
-
"
|
24196
|
+
"class": tableClass.value
|
24201
24197
|
}, [// @ts-ignore:next-line
|
24202
24198
|
(0,external_vue_namespaceObject.createVNode)("div", {
|
24203
|
-
"
|
24199
|
+
"ref": head,
|
24204
24200
|
"style": headStyle.value,
|
24205
|
-
"
|
24201
|
+
"class": headClass
|
24206
24202
|
}, [renderTableHeadSchema(), (0,external_vue_namespaceObject.createVNode)("div", {
|
24207
|
-
"
|
24208
|
-
"
|
24203
|
+
"style": resizeHeadColStyle.value,
|
24204
|
+
"class": "col-resize-drag"
|
24209
24205
|
}, null)]), (0,external_vue_namespaceObject.createVNode)(virtual_render_namespaceObject["default"], (0,external_vue_namespaceObject.mergeProps)({
|
24210
24206
|
"ref": refVirtualRender,
|
24211
|
-
"lineHeight": tableSchema.formatData.settings.height,
|
24212
24207
|
"height": contentStyle.height,
|
24213
24208
|
"class": tableBodyClass.value,
|
24214
|
-
"
|
24215
|
-
"list": tableSchema.pageData
|
24209
|
+
"lineHeight": tableSchema.formatData.settings.height,
|
24210
|
+
"list": tableSchema.pageData,
|
24211
|
+
"wrapperStyle": contentStyle
|
24216
24212
|
}, scrollClass.value, {
|
24213
|
+
"autoIndex": false,
|
24217
24214
|
"contentClassName": tableBodyContentClass.value,
|
24218
|
-
"
|
24219
|
-
"
|
24220
|
-
"scrollEvent": true,
|
24215
|
+
"enabled": props.virtualEnabled,
|
24216
|
+
"keepAlive": true,
|
24221
24217
|
"rowKey": props.rowKey,
|
24218
|
+
"scrollEvent": true,
|
24222
24219
|
"scrollbar": {
|
24223
24220
|
enabled: true
|
24224
24221
|
},
|
24225
|
-
"
|
24226
|
-
"
|
24227
|
-
"autoIndex": false
|
24222
|
+
"throttleDelay": 120,
|
24223
|
+
"onContentScroll": handleScrollChanged
|
24228
24224
|
}), {
|
24229
24225
|
beforeContent: function beforeContent() {
|
24230
24226
|
return renderPrepend();
|
@@ -24234,26 +24230,26 @@ function table_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
24234
24230
|
},
|
24235
24231
|
afterSection: function afterSection() {
|
24236
24232
|
return [(0,external_vue_namespaceObject.createVNode)("div", {
|
24237
|
-
"
|
24238
|
-
"
|
24233
|
+
"style": resizeColumnStyle.value,
|
24234
|
+
"class": resizeColumnClass
|
24239
24235
|
}, null)];
|
24240
24236
|
}
|
24241
24237
|
}), (0,external_vue_namespaceObject.createVNode)("div", {
|
24242
|
-
"
|
24243
|
-
"
|
24238
|
+
"style": fixedContainerStyle.value,
|
24239
|
+
"class": fixedWrapperClass
|
24244
24240
|
}, [fixedColumns.map(function (_ref) {
|
24245
24241
|
var isExist = _ref.isExist,
|
24246
24242
|
className = _ref.className,
|
24247
24243
|
style = _ref.style;
|
24248
24244
|
return isExist ? '' : (0,external_vue_namespaceObject.createVNode)("div", {
|
24249
|
-
"
|
24250
|
-
"
|
24245
|
+
"style": style,
|
24246
|
+
"class": className
|
24251
24247
|
}, null);
|
24252
24248
|
}), (0,external_vue_namespaceObject.createVNode)("div", {
|
24253
24249
|
"class": loadingRowClass
|
24254
24250
|
}, [renderScrollLoading()])]), (0,external_vue_namespaceObject.createVNode)("div", {
|
24255
|
-
"
|
24256
|
-
"
|
24251
|
+
"style": footerStyle.value,
|
24252
|
+
"class": footerClass.value
|
24257
24253
|
}, [hasFooter.value && renderTableFooter(tableSchema.localPagination.value)]), (0,external_vue_namespaceObject.createVNode)("div", {
|
24258
24254
|
"style": columnGhostStyle
|
24259
24255
|
}, [(_ctx$slots$default = (_ctx$slots = ctx.slots)["default"]) === null || _ctx$slots$default === void 0 ? void 0 : _ctx$slots$default.call(_ctx$slots)])]);
|