yuang-framework-ui-pc 1.1.42 → 1.1.44
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/utils/chart-theme-dark.d.ts +373 -0
- package/es/utils/chart-theme-dark.js +397 -0
- package/es/utils/chart-theme.d.ts +368 -0
- package/es/utils/chart-theme.js +392 -0
- package/es/utils/menu-util.d.ts +14 -0
- package/es/utils/menu-util.js +78 -0
- package/es/utils/message-box.d.ts +25 -0
- package/es/utils/message-box.js +98 -0
- package/es/utils/message.d.ts +66 -0
- package/es/utils/message.js +267 -0
- package/es/utils/resolvers.d.ts +18 -0
- package/es/utils/resolvers.js +50 -0
- package/es/utils/theme-util.d.ts +6 -0
- package/es/utils/theme-util.js +42 -0
- package/es/utils/validate.d.ts +182 -0
- package/es/utils/validate.js +197 -0
- package/lib/core.d.ts +3 -0
- package/lib/ele-admin-layout/components/layout-tabs.d.ts +5646 -0
- package/lib/ele-admin-layout/components/layout-tool.d.ts +2 -0
- package/lib/ele-admin-layout/style/index.d.ts +1 -0
- package/lib/ele-admin-layout/types.d.ts +54 -0
- package/lib/ele-alert/index.d.ts +131 -0
- package/lib/ele-alert/props.d.ts +58 -0
- package/lib/ele-app/el.d.ts +304 -0
- package/lib/ele-app/style/common/index.d.ts +1 -0
- package/lib/ele-app/style/overwrite/backtop/index.d.ts +1 -0
- package/lib/ele-app/style/overwrite/checkbox/index.d.ts +1 -0
- package/lib/ele-app/style/overwrite/date-picker/index.d.ts +1 -0
- package/lib/ele-app/style/overwrite/message-box/index.d.ts +1 -0
- package/lib/ele-app/style/overwrite/popper/index.d.ts +1 -0
- package/lib/ele-app/style/overwrite/select/index.d.ts +1 -0
- package/lib/ele-app/style/overwrite/tag/index.d.ts +1 -0
- package/lib/ele-app/style/overwrite/tree/index.d.ts +1 -0
- package/lib/ele-app/style/scrollbar/index.d.ts +1 -0
- package/lib/ele-app/types.d.ts +48 -0
- package/lib/ele-avatar-group/props.d.ts +56 -0
- package/lib/ele-avatar-group/style/index.d.ts +1 -0
- package/lib/ele-avatar-group/types.d.ts +21 -0
- package/lib/ele-backtop/props.d.ts +36 -0
- package/lib/ele-bar-code/index.d.ts +26 -0
- package/lib/ele-bottom-bar/index.d.ts +15 -0
- package/lib/ele-bottom-bar/props.d.ts +15 -0
- package/lib/ele-breadcrumb/index.d.ts +278 -0
- package/lib/ele-breadcrumb/props.d.ts +24 -0
- package/lib/ele-breadcrumb/style/index.d.ts +1 -0
- package/lib/ele-card/index.d.ts +106 -0
- package/lib/ele-card/style/index.d.ts +1 -0
- package/lib/ele-check-card/components/card-item.d.ts +37 -0
- package/lib/ele-check-card/props.d.ts +49 -0
- package/lib/ele-check-card/style/index.d.ts +1 -0
- package/lib/ele-check-card/types.d.ts +37 -0
- package/lib/ele-config-provider/components/receiver-view.d.ts +71 -0
- package/lib/ele-config-provider/props.d.ts +26 -0
- package/lib/ele-config-provider/style/index.d.ts +0 -0
- package/lib/ele-config-provider/types.d.ts +103 -0
- package/lib/ele-copyable/style/index.d.ts +1 -0
- package/lib/ele-copyable/types.d.ts +14 -0
- package/lib/ele-count-up/style/index.d.ts +0 -0
- package/lib/ele-cropper/index.d.ts +2824 -0
- package/lib/ele-cropper/props.d.ts +68 -0
- package/lib/ele-cropper/style/index.d.ts +1 -0
- package/lib/ele-cropper-modal/props.d.ts +58 -0
- package/lib/ele-cropper-modal/style/index.d.ts +1 -0
- package/lib/ele-dashboard/index.d.ts +14 -0
- package/lib/ele-dashboard/style/index.d.ts +1 -0
- package/lib/ele-dashboard/types.d.ts +4 -0
- package/lib/ele-data-table/props.d.ts +272 -0
- package/lib/ele-data-table/style/index.d.ts +1 -0
- package/lib/ele-data-table/types.d.ts +253 -0
- package/lib/ele-data-table/util.d.ts +172 -0
- package/lib/ele-dialog/index.d.ts +1074 -0
- package/lib/ele-dialog/style/index.d.ts +1 -0
- package/lib/ele-dialog/util.d.ts +52 -0
- package/lib/ele-dot/index.d.ts +29 -0
- package/lib/ele-dot/props.d.ts +25 -0
- package/lib/ele-dot/style/index.d.ts +1 -0
- package/lib/ele-drawer/index.d.ts +1170 -0
- package/lib/ele-drawer/props.d.ts +184 -0
- package/lib/ele-drawer/style/index.d.ts +1 -0
- package/lib/ele-dropdown/components/dropdown-menu-item.d.ts +97 -0
- package/lib/ele-dropdown/index.d.ts +4846 -0
- package/lib/ele-dropdown/types.d.ts +22 -0
- package/lib/ele-edit-tag/props.d.ts +55 -0
- package/lib/ele-edit-tag/style/index.d.ts +1 -0
- package/lib/ele-edit-tag/types.d.ts +9 -0
- package/lib/ele-ellipsis/index.d.ts +1660 -0
- package/lib/ele-icon-select/types.d.ts +16 -0
- package/lib/ele-image-viewer/index.d.ts +635 -0
- package/lib/ele-loading/props.d.ts +33 -0
- package/lib/ele-loading/types.d.ts +19 -0
- package/lib/ele-map-picker/style/index.d.ts +1 -0
- package/lib/ele-menus/components/item-title.d.ts +323 -0
- package/lib/ele-menus/types.d.ts +107 -0
- package/lib/ele-pagination/style/index.d.ts +1 -0
- package/lib/ele-pagination/types.d.ts +9 -0
- package/lib/ele-printer/index.d.ts +111 -0
- package/lib/ele-printer/util.d.ts +25 -0
- package/lib/ele-pro-layout/components/pro-iframe.d.ts +39 -0
- package/lib/ele-pro-layout/style/index.d.ts +1 -0
- package/lib/ele-pro-layout/util.d.ts +88 -0
- package/lib/ele-pro-table/components/tool-column.d.ts +3722 -0
- package/lib/ele-pro-table/components/tool-print-header-cell.d.ts +39 -0
- package/lib/ele-pro-table/style/index.d.ts +1 -0
- package/lib/ele-pro-table/types.d.ts +489 -0
- package/lib/ele-qr-code/components/canvas-render.d.ts +67 -0
- package/lib/ele-qr-code/qrcodegen.d.ts +95 -0
- package/lib/ele-qr-code/style/index.d.ts +0 -0
- package/lib/ele-qr-code/util.d.ts +27 -0
- package/lib/ele-segmented/index.d.ts +485 -0
- package/lib/ele-segmented/style/index.d.ts +1 -0
- package/lib/ele-split-panel/index.d.ts +192 -0
- package/lib/ele-split-panel/props.d.ts +47 -0
- package/lib/ele-steps/index.d.ts +638 -0
- package/lib/ele-steps/style/index.d.ts +1 -0
- package/lib/ele-steps/types.d.ts +14 -0
- package/lib/ele-tab-tool/index.d.ts +75 -0
- package/lib/ele-tab-tool/props.d.ts +14 -0
- package/lib/ele-tab-wrap/components/tab-dropdown.d.ts +5006 -0
- package/lib/ele-tab-wrap/props.d.ts +13 -0
- package/lib/ele-tab-wrap/style/index.d.ts +0 -0
- package/lib/ele-table/index.d.ts +28 -0
- package/lib/ele-table/style/index.d.ts +1 -0
- package/lib/ele-table-select/props.d.ts +120 -0
- package/lib/ele-table-select/style/index.d.ts +1 -0
- package/lib/ele-tabs/props.d.ts +88 -0
- package/lib/ele-test/index.d.ts +2 -0
- package/lib/ele-test/style/index.d.ts +1 -0
- package/lib/ele-text/index.d.ts +93 -0
- package/lib/ele-text/style/index.d.ts +1 -0
- package/lib/ele-text/types.d.ts +35 -0
- package/lib/ele-toolbar/index.d.ts +1633 -0
- package/lib/ele-tooltip/props.d.ts +187 -0
- package/lib/ele-tooltip/style/index.d.ts +1 -0
- package/lib/ele-tour/types.d.ts +42 -0
- package/lib/ele-tour/util.d.ts +20 -0
- package/lib/ele-tree-select/style/index.d.ts +1 -0
- package/lib/ele-upload-list/components/list-item.d.ts +902 -0
- package/lib/ele-upload-list/props.d.ts +81 -0
- package/lib/ele-upload-list/types.d.ts +71 -0
- package/lib/ele-virtual-table/components/body-row.d.ts +984 -0
- package/lib/ele-virtual-table/components/expand-row.d.ts +19 -0
- package/lib/ele-virtual-table/components/footer-row.d.ts +65 -0
- package/lib/ele-virtual-table/components/header-cell.d.ts +3929 -0
- package/lib/ele-virtual-table/index.d.ts +7882 -0
- package/lib/ele-virtual-table/util.d.ts +229 -0
- package/lib/ele-watermark/index.d.ts +57 -0
- package/lib/ele-watermark/types.d.ts +39 -0
- package/lib/ele-xg-player/index.d.ts +22 -0
- package/lib/ele-xg-player/style/index.d.ts +1 -0
- package/lib/icons/AppstoreAddOutlined.d.ts +2 -0
- package/lib/icons/AppstoreOutlined.d.ts +2 -0
- package/lib/icons/ArrowLeft.d.ts +2 -0
- package/lib/icons/ArrowLeftOutlined.d.ts +2 -0
- package/lib/icons/ArrowRight.d.ts +2 -0
- package/lib/icons/ArrowRightOutlined.d.ts +2 -0
- package/lib/icons/ArrowUp.d.ts +2 -0
- package/lib/icons/ArrowUpOutlined.d.ts +2 -0
- package/lib/icons/BellOutlined.d.ts +2 -0
- package/lib/icons/BookOutlined.d.ts +2 -0
- package/lib/icons/CaretDownFilled.d.ts +2 -0
- package/lib/icons/CaretUpFilled.d.ts +2 -0
- package/lib/icons/CheckOutlined.d.ts +2 -0
- package/lib/icons/ClockCircleOutlined.d.ts +2 -0
- package/lib/icons/CloudUploadOutlined.d.ts +2 -0
- package/lib/icons/ClusterOutlined.d.ts +2 -0
- package/lib/icons/CodeOutlined.d.ts +2 -0
- package/lib/icons/CompassOutlined.d.ts +2 -0
- package/lib/icons/ConnectionOutlined.d.ts +2 -0
- package/lib/icons/ControlOutlined.d.ts +2 -0
- package/lib/icons/CornerRightFilled.d.ts +2 -0
- package/lib/icons/DashboardOutlined.d.ts +2 -0
- package/lib/icons/DesktopOutlined.d.ts +2 -0
- package/lib/icons/DragOutlined.d.ts +2 -0
- package/lib/icons/EditOutlined.d.ts +2 -0
- package/lib/icons/EnvironmentOutlined.d.ts +2 -0
- package/lib/icons/FileOutlined.d.ts +2 -0
- package/lib/icons/FilterFilled.d.ts +2 -0
- package/lib/icons/GlobalOutlined.d.ts +2 -0
- package/lib/icons/HomeOutlined.d.ts +2 -0
- package/lib/icons/LoadingDotOutlined.d.ts +2 -0
- package/lib/icons/LoadingOutlined.d.ts +2 -0
- package/lib/icons/LockOutlined.d.ts +2 -0
- package/lib/icons/LogOutlined.d.ts +2 -0
- package/lib/icons/MailOutlined.d.ts +2 -0
- package/lib/icons/MenuFoldOutlined.d.ts +2 -0
- package/lib/icons/MenuOutlined.d.ts +2 -0
- package/lib/icons/MenuUnfoldOutlined.d.ts +2 -0
- package/lib/icons/MessageOutlined.d.ts +2 -0
- package/lib/icons/MinusCircleOutlined.d.ts +2 -0
- package/lib/icons/MoonOutlined.d.ts +2 -0
- package/lib/icons/MoreOutlined.d.ts +2 -0
- package/lib/icons/PauseFilled.d.ts +2 -0
- package/lib/icons/PieChartOutlined.d.ts +2 -0
- package/lib/icons/PlusOutlined.d.ts +2 -0
- package/lib/icons/ProtectOutlined.d.ts +2 -0
- package/lib/icons/QuestionCircleOutlined.d.ts +2 -0
- package/lib/icons/ReloadOutlined.d.ts +2 -0
- package/lib/icons/SortOutlined.d.ts +2 -0
- package/lib/icons/StarFilled.d.ts +2 -0
- package/lib/icons/StepForwardFilled.d.ts +2 -0
- package/lib/icons/UndoOutlined.d.ts +2 -0
- package/lib/icons/UnlockOutlined.d.ts +2 -0
- package/lib/icons/VerticalLeftOutlined.d.ts +2 -0
- package/lib/icons/WarningOutlined.d.ts +2 -0
- package/lib/icons/ZoomOutOutlined.d.ts +2 -0
- package/lib/index.d.ts +4 -0
- package/lib/installer.d.ts +3 -0
- package/lib/lang/en_US.d.ts +4 -0
- package/lib/lang/zh_CN.d.ts +4 -0
- package/lib/utils/chart-theme-dark.d.ts +373 -0
- package/lib/utils/chart-theme.d.ts +368 -0
- package/lib/utils/core.cjs +318 -0
- package/lib/utils/core.d.ts +168 -0
- package/lib/utils/hook.cjs +264 -0
- package/lib/utils/hook.d.ts +113 -0
- package/lib/utils/menu-util.d.ts +14 -0
- package/lib/utils/message-box.d.ts +25 -0
- package/lib/utils/message.d.ts +66 -0
- package/lib/utils/resolvers.cjs +50 -0
- package/lib/utils/resolvers.d.ts +18 -0
- package/lib/utils/theme-util.d.ts +6 -0
- package/lib/utils/validate.cjs +197 -0
- package/lib/utils/validate.d.ts +182 -0
- package/lib/yu-framework-slider-captcha-dialog/SliderCaptcha.d.ts +67 -0
- package/lib/yu-framework-slider-captcha-dialog/index.d.ts +14 -0
- package/package.json +1 -1
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import { Emitter } from '../ele-app/types';
|
|
2
|
+
import { ElTableInstance } from '../ele-app/el';
|
|
3
|
+
import { dataTableEmits } from './props';
|
|
4
|
+
import { DataKey, DataItem, Column, Columns, Sorter, Filter, GetInstance, TableMethods, ShowOverflowTooltip, TooltipEffect, TooltipOptions, RowClass, RowKey } from './types';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* 获取行的类名
|
|
8
|
+
* @param rowClass 自定义行类名
|
|
9
|
+
* @param param 方法类型的参数
|
|
10
|
+
*/
|
|
11
|
+
export declare function getRowClass(rowClass: RowClass | undefined, param: Parameters<Exclude<RowClass, string | undefined>>[0]): string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* 获取行的类名
|
|
14
|
+
* @param rowClass 自定义行类名
|
|
15
|
+
* @param param 方法类型的参数
|
|
16
|
+
*/
|
|
17
|
+
export declare function getBodyRowClass(rowClass: RowClass | undefined, param: Parameters<Exclude<RowClass, string | undefined>>[0]): string;
|
|
18
|
+
/**
|
|
19
|
+
* 获取表头行的类名
|
|
20
|
+
* @param rowClass 自定义行类名
|
|
21
|
+
* @param param 方法类型的参数
|
|
22
|
+
* @param ellipsis 是否单行省略
|
|
23
|
+
*/
|
|
24
|
+
export declare function getHeadRowClass(rowClass: RowClass | undefined, param: Parameters<Exclude<RowClass, string | undefined>>[0], ellipsis: boolean): string;
|
|
25
|
+
/**
|
|
26
|
+
* 获取全局溢出提示组件属性
|
|
27
|
+
* @param showOverflowTooltip 溢出提示组件属性
|
|
28
|
+
* @param tooltipEffect 溢出提示组件主题
|
|
29
|
+
* @param tooltipOptions 溢出提示组件配置
|
|
30
|
+
*/
|
|
31
|
+
export declare function getGlobalTooltipProps(showOverflowTooltip?: ShowOverflowTooltip, tooltipEffect?: TooltipEffect, tooltipOptions?: TooltipOptions): ShowOverflowTooltip;
|
|
32
|
+
/**
|
|
33
|
+
* 合并提示组件相关属性
|
|
34
|
+
* @param props 单元格提示组件属性
|
|
35
|
+
* @param globalProps 表格提示组件属性
|
|
36
|
+
*/
|
|
37
|
+
export declare function mergeTooltipProps(props?: ShowOverflowTooltip, globalProps?: ShowOverflowTooltip): Exclude<ShowOverflowTooltip, true>;
|
|
38
|
+
/**
|
|
39
|
+
* 获取单元格提示组件属性
|
|
40
|
+
* @param props 单元格提示组件属性
|
|
41
|
+
* @param globalProps 表格提示组件属性
|
|
42
|
+
*/
|
|
43
|
+
export declare function getTooltipProps(props?: ShowOverflowTooltip, globalProps?: ShowOverflowTooltip): ShowOverflowTooltip;
|
|
44
|
+
/**
|
|
45
|
+
* 切换表格指定数据的选中状态
|
|
46
|
+
* @param tableRef 表格实例
|
|
47
|
+
* @param row 数据
|
|
48
|
+
* @param selected 选中状态
|
|
49
|
+
*/
|
|
50
|
+
export declare function toggleRowSelectionPro(tableRef: ElTableInstance | undefined, row: DataItem, selected: boolean): void;
|
|
51
|
+
/**
|
|
52
|
+
* 获取表格筛选值
|
|
53
|
+
* @param tableRef 表格实例
|
|
54
|
+
*/
|
|
55
|
+
export declare function getTableFilter(tableRef?: ElTableInstance): Filter | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* 获取含表格状态的列配置
|
|
58
|
+
* @param cols 表格的列
|
|
59
|
+
* @param sorter 当前排序状态
|
|
60
|
+
* @param filter 当前筛选状态
|
|
61
|
+
*/
|
|
62
|
+
export declare function getStateCols(cols: Columns, sorter?: Sorter, filter?: Filter): {
|
|
63
|
+
cols: Columns;
|
|
64
|
+
sorter?: undefined;
|
|
65
|
+
} | {
|
|
66
|
+
cols: Columns;
|
|
67
|
+
sorter: Sorter | undefined;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* 获取判断多选是否可选择的方法
|
|
71
|
+
* @param columns 列配置
|
|
72
|
+
*/
|
|
73
|
+
export declare function getSelectableFunction(columns?: Columns): ((row: any, index: number) => boolean) | null | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* 判断行是否禁止多选
|
|
76
|
+
* @param row 行数据
|
|
77
|
+
* @param index 行索引
|
|
78
|
+
* @param columns 列配置
|
|
79
|
+
*/
|
|
80
|
+
export declare function isDisableRow(row: DataItem, index: number, columns?: Columns): boolean;
|
|
81
|
+
/**
|
|
82
|
+
* 判断是否保存不存在的选中数据
|
|
83
|
+
* @param columns 列配置
|
|
84
|
+
*/
|
|
85
|
+
export declare function isReserveChecked(columns?: Columns): boolean;
|
|
86
|
+
/**
|
|
87
|
+
* 用于根据列的固定值排序
|
|
88
|
+
* @param fixed 固定值
|
|
89
|
+
*/
|
|
90
|
+
export declare function getColFixedNumber(fixed?: boolean | string): 0 | 1 | 2;
|
|
91
|
+
/**
|
|
92
|
+
* 获取列类名
|
|
93
|
+
* @param col 列属性
|
|
94
|
+
*/
|
|
95
|
+
export declare function getCellClass(col: Column): string | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* 获取列筛选下拉框类名
|
|
98
|
+
* @param filterClassName 自定义类名
|
|
99
|
+
*/
|
|
100
|
+
export declare function getFilterPopperClass(filterClassName?: string): string;
|
|
101
|
+
/**
|
|
102
|
+
* 获取数据值
|
|
103
|
+
* @param rows 数据
|
|
104
|
+
* @param rowKey 值键名
|
|
105
|
+
*/
|
|
106
|
+
export declare function getRowKeys(rows: DataItem[] | undefined, rowKey: RowKey): DataKey[];
|
|
107
|
+
/**
|
|
108
|
+
* 获取值对应的数据
|
|
109
|
+
* @param key 值
|
|
110
|
+
* @param data 全部数据
|
|
111
|
+
* @param rowKey 值键名
|
|
112
|
+
* @param childrenField 子级数据键名
|
|
113
|
+
*/
|
|
114
|
+
export declare function getRowByKey(key: DataKey, data?: DataItem[], rowKey?: RowKey, childrenField?: string): DataItem | undefined;
|
|
115
|
+
/**
|
|
116
|
+
* 获取平铺后的数据值和数据
|
|
117
|
+
* @param data 表格数据
|
|
118
|
+
* @param rowKey 数据值字段名
|
|
119
|
+
* @param childrenField 子级字段名
|
|
120
|
+
*/
|
|
121
|
+
export declare function getKeysAndList(data?: DataItem[], rowKey?: RowKey, childrenField?: string): [DataKey[], DataItem[]];
|
|
122
|
+
/**
|
|
123
|
+
* 判断值是否改变
|
|
124
|
+
* @param value1 值
|
|
125
|
+
* @param value2 新值
|
|
126
|
+
*/
|
|
127
|
+
export declare function valueIsChanged<T>(value1?: T | null, value2?: T | null): boolean;
|
|
128
|
+
/**
|
|
129
|
+
* 判断数组数据是否改变
|
|
130
|
+
* @param list1 数组
|
|
131
|
+
* @param list2 新数组
|
|
132
|
+
*/
|
|
133
|
+
export declare function arrayIsChanged<T>(list1?: T[] | null, list2?: T[] | null): boolean;
|
|
134
|
+
/**
|
|
135
|
+
* 使用粘性表头
|
|
136
|
+
*/
|
|
137
|
+
export declare function useStickyHeader(): {
|
|
138
|
+
isLayoutFixedHead: import('vue').ComputedRef<boolean | undefined>;
|
|
139
|
+
isLayoutMaximized: import('vue').ComputedRef<boolean | undefined>;
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* 表格实例方法统一处理
|
|
143
|
+
* @param getInstance 获取表格实例方法
|
|
144
|
+
*/
|
|
145
|
+
export declare function useMethods(getInstance: GetInstance): TableMethods;
|
|
146
|
+
/**
|
|
147
|
+
* 表格事件统一处理
|
|
148
|
+
* @param emit 事件触发器
|
|
149
|
+
*/
|
|
150
|
+
export declare function useEmits(emit: Emitter<typeof dataTableEmits>): {
|
|
151
|
+
onSelect: (selection: DataItem[], row: DataItem) => void;
|
|
152
|
+
onSelectAll: (selection: DataItem[]) => void;
|
|
153
|
+
onCellMouseEnter: (row: DataItem, column: Column, cell: HTMLTableCellElement, event: MouseEvent) => void;
|
|
154
|
+
onCellMouseLeave: (row: DataItem, column: Column, cell: HTMLTableCellElement, event: MouseEvent) => void;
|
|
155
|
+
onCellClick: (row: DataItem, column: Column, cell: HTMLTableCellElement, event: MouseEvent) => void;
|
|
156
|
+
onCellDblclick: (row: DataItem, column: Column, cell: HTMLTableCellElement, event: MouseEvent) => void;
|
|
157
|
+
onCellContextmenu: (row: DataItem, column: Column, cell: HTMLTableCellElement, event: MouseEvent) => void;
|
|
158
|
+
onRowClick: (row: DataItem, column: Column, event: MouseEvent) => void;
|
|
159
|
+
onRowContextmenu: (row: DataItem, column: Column, event: MouseEvent) => void;
|
|
160
|
+
onRowDblclick: (row: DataItem, column: Column, event: MouseEvent) => void;
|
|
161
|
+
onHeaderClick: (column: Column, event: MouseEvent) => void;
|
|
162
|
+
onHeaderContextmenu: (column: Column, event: MouseEvent) => void;
|
|
163
|
+
onHeaderDragend: (newWidth: number, oldWidth: number, column: Column, event: MouseEvent) => void;
|
|
164
|
+
onExpandChange: (row: DataItem | undefined, expanded: boolean | DataItem[]) => void;
|
|
165
|
+
onSelectionChange: (selection: DataItem[]) => void;
|
|
166
|
+
onSortChange: (sorter: Sorter) => void;
|
|
167
|
+
onFilterChange: (filter: Filter) => void;
|
|
168
|
+
onCurrentChange: (currentRow?: DataItem | null, oldCurrentRow?: DataItem | null) => void;
|
|
169
|
+
/** 新增的事件 */
|
|
170
|
+
'onUpdate:currentRowKey': (currentRowKey?: DataKey) => void;
|
|
171
|
+
'onUpdate:selectedRowKeys': (selectedRowKeys: DataKey[]) => void;
|
|
172
|
+
};
|