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