@vunk/plus 1.7.1 → 1.7.2
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/components/agent-chat-provider/index.d.ts +8 -0
- package/components/agent-chat-provider/index.mjs +1 -1
- package/components/agent-chat-provider/src/MessageView.d.ts +29 -0
- package/components/agent-chat-provider/src/api.d.ts +3 -0
- package/components/agent-chat-provider/src/const-roles.d.ts +8 -0
- package/components/agent-chat-provider/src/const.d.ts +1 -0
- package/components/agent-chat-provider/src/index.vue.d.ts +22 -0
- package/components/agent-chat-provider/src/types.d.ts +56 -0
- package/components/agent-chat-provider/src/use.d.ts +6 -0
- package/components/avatar/index.d.ts +4 -0
- package/components/avatar/index.mjs +1 -1
- package/components/avatar/src/ctx.d.ts +6 -0
- package/components/avatar/src/index.vue.d.ts +261 -0
- package/components/avatar/src/types.d.ts +1 -0
- package/components/broadcasting-markdown/index.d.ts +7 -0
- package/components/broadcasting-markdown/index.mjs +4 -4
- package/components/broadcasting-markdown/src/const.d.ts +13 -0
- package/components/broadcasting-markdown/src/ctx.d.ts +129 -0
- package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +97 -0
- package/components/broadcasting-markdown/src/index.vue.d.ts +432 -0
- package/components/broadcasting-markdown/src/paragraph.vue.d.ts +79 -0
- package/components/broadcasting-markdown/src/speech-error.vue.d.ts +60 -0
- package/components/broadcasting-markdown/src/types.d.ts +26 -0
- package/components/broadcasting-markdown/src/use.d.ts +21 -0
- package/components/bubble-list/index.d.ts +5 -0
- package/components/bubble-list/src/ctx.d.ts +28 -0
- package/components/bubble-list/src/index.vue.d.ts +484 -0
- package/components/bubble-list/src/types.d.ts +4 -0
- package/components/bubble-templates/index.d.ts +5 -0
- package/components/bubble-templates/index.mjs +1 -1
- package/components/bubble-templates/src/core.d.ts +69 -0
- package/components/bubble-templates/src/index.vue.d.ts +242 -0
- package/components/bubble-templates/src/legacy.vue.d.ts +153 -0
- package/components/bubble-templates/src/types.d.ts +45 -0
- package/components/chat-independent/index.d.ts +4 -0
- package/components/chat-independent/index.mjs +1 -1
- package/components/chat-independent/src/const.d.ts +13 -0
- package/components/chat-independent/src/ctx.d.ts +21 -0
- package/components/chat-independent/src/index.vue.d.ts +2407 -0
- package/components/chat-independent/src/types.d.ts +13 -0
- package/components/index.d.ts +0 -0
- package/components/index2.mjs +7 -7
- package/components/index3.mjs +1 -1
- package/components/lottie-animation/index.d.ts +4 -0
- package/components/lottie-animation/index.mjs +1 -1
- package/components/lottie-animation/src/ctx.d.ts +10 -0
- package/components/lottie-animation/src/index.vue.d.ts +21 -0
- package/components/lottie-animation/src/types.d.ts +4 -0
- package/components/metahuman-broadcasting/index.d.ts +5 -0
- package/components/metahuman-broadcasting/index.mjs +1 -1
- package/components/metahuman-broadcasting/src/ctx.d.ts +57 -0
- package/components/metahuman-broadcasting/src/index.vue.d.ts +878 -0
- package/components/metahuman-broadcasting/src/types.d.ts +1 -0
- package/components/monaco-editor/index.d.ts +5 -0
- package/components/monaco-editor/index.mjs +1 -1
- package/components/monaco-editor/src/ctx.d.ts +23 -0
- package/components/monaco-editor/src/index.vue.d.ts +40 -0
- package/components/monaco-editor/src/types.d.ts +1 -0
- package/components/monaco-environment/index.d.ts +4 -0
- package/components/monaco-environment/index.mjs +1 -1
- package/components/monaco-environment/src/ctx.d.ts +8 -0
- package/components/monaco-environment/src/index.vue.d.ts +2 -0
- package/components/monaco-environment/src/types.d.ts +1 -0
- package/components/pixi-frame/index.d.ts +11 -0
- package/components/pixi-frame/src/apng.vue.d.ts +161 -0
- package/components/pixi-frame/src/bitmap.vue.d.ts +158 -0
- package/components/pixi-frame/src/core.vue.d.ts +173 -0
- package/components/pixi-frame/src/ctx.d.ts +55 -0
- package/components/pixi-frame/src/index.vue.d.ts +591 -0
- package/components/pixi-frame/src/provider.vue.d.ts +2 -0
- package/components/pixi-frame/src/types.d.ts +17 -0
- package/components/pixi-frame/src/use.d.ts +16 -0
- package/components/pixi-frame/src/useSprite.d.ts +12 -0
- package/components/pixi-frame/src/video.vue.d.ts +159 -0
- package/components/pixi-frame/src/view.vue.d.ts +29 -0
- package/components/recorder-button/index.d.ts +4 -0
- package/components/recorder-button/index.mjs +1 -1
- package/components/recorder-button/src/ctx.d.ts +41 -0
- package/components/recorder-button/src/index.vue.d.ts +489 -0
- package/components/recorder-button/src/speech-to-text.d.ts +1 -0
- package/components/recorder-button/src/types.d.ts +7 -0
- package/components/routes-menu-content/index.d.ts +4 -0
- package/components/routes-menu-content/index.mjs +3 -3
- package/components/routes-menu-content/src/ctx.d.ts +17 -0
- package/components/routes-menu-content/src/index.vue.d.ts +573 -0
- package/components/routes-menu-content/src/item/core/ctx.d.ts +18 -0
- package/components/routes-menu-content/src/item/core/index.vue.d.ts +408 -0
- package/components/routes-menu-content/src/item/ctx.d.ts +14 -0
- package/components/routes-menu-content/src/item/index.vue.d.ts +539 -0
- package/components/routes-menu-content/src/types.d.ts +1 -0
- package/components/sender/index.d.ts +4 -0
- package/components/sender/index.mjs +2 -2
- package/components/sender/src/SenderHeader.vue.d.ts +256 -0
- package/components/sender/src/ctx.d.ts +64 -0
- package/components/sender/src/index.vue.d.ts +765 -0
- package/components/sender/src/types.d.ts +1 -0
- package/components/speech-button/index.d.ts +4 -0
- package/components/speech-button/index.mjs +3 -3
- package/components/speech-button/src/LoadingIcon.vue.d.ts +2 -0
- package/components/speech-button/src/RecordingIcon.vue.d.ts +2 -0
- package/components/speech-button/src/ctx.d.ts +10 -0
- package/components/speech-button/src/index.vue.d.ts +22 -0
- package/components/speech-button/src/types.d.ts +1 -0
- package/components/table-columns/index.d.ts +5 -0
- package/components/table-columns/index.mjs +4 -4
- package/components/table-columns/src/ctx.d.ts +59 -0
- package/components/table-columns/src/el-ctx.d.ts +57 -0
- package/components/table-columns/src/index.vue.d.ts +132 -0
- package/components/table-columns/src/types.d.ts +21 -0
- package/components/tables-v1/index.d.ts +5 -0
- package/components/tables-v1/index.mjs +42 -49
- package/components/tables-v1/src/ctx.d.ts +337 -0
- package/components/tables-v1/src/el-ctx.d.ts +262 -0
- package/components/tables-v1/src/index.vue.d.ts +2956 -0
- package/components/tables-v1/src/types.d.ts +3 -0
- package/components/tables-v1-checkbox/index.d.ts +5 -0
- package/components/tables-v1-checkbox/index.mjs +1 -1
- package/components/tables-v1-checkbox/src/ctx.d.ts +370 -0
- package/components/tables-v1-checkbox/src/index.vue.d.ts +3843 -0
- package/components/tables-v1-checkbox/src/types.d.ts +1 -0
- package/components/text/index.d.ts +4 -0
- package/components/text/index.mjs +1 -1
- package/components/text/src/ctx.d.ts +356 -0
- package/components/text/src/index.vue.d.ts +2335 -0
- package/components/text/src/types.d.ts +1 -0
- package/components/typing-markdown/index.d.ts +4 -0
- package/components/typing-markdown/index.mjs +1 -1
- package/components/typing-markdown/src/core.d.ts +2 -0
- package/components/typing-markdown/src/ctx.d.ts +41 -0
- package/components/typing-markdown/src/index.vue.d.ts +75 -0
- package/components/typing-markdown/src/types.d.ts +1 -0
- package/components/vditor/index.d.ts +5 -0
- package/components/vditor/index.mjs +3 -3
- package/components/vditor/src/ctx.d.ts +38 -0
- package/components/vditor/src/handle-fullscreen.vue.d.ts +18 -0
- package/components/vditor/src/handle-value.vue.d.ts +18 -0
- package/components/vditor/src/index.vue.d.ts +143 -0
- package/components/vditor/src/types.d.ts +9 -0
- package/components/vditor/src/use.d.ts +4 -0
- package/composables/el-breakpoints/index.d.ts +1 -1
- package/composables/el-breakpoints/index.mjs +2 -2
- package/icons/end/index.mjs +1 -1
- package/icons/keyboard/index.mjs +1 -1
- package/icons/start/index.mjs +1 -1
- package/icons/voice/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
import type { TableProps } from 'element-plus';
|
|
2
|
+
import type { CSSProperties, PropType } from 'vue';
|
|
3
|
+
export declare const componentSizes: readonly ["", "default", "small", "large"];
|
|
4
|
+
export type ComponentSize = typeof componentSizes[number];
|
|
5
|
+
export type DefaultRow = any;
|
|
6
|
+
type Layout = 'fixed' | 'auto';
|
|
7
|
+
export interface Sort {
|
|
8
|
+
prop: string;
|
|
9
|
+
order: 'ascending' | 'descending';
|
|
10
|
+
init?: any;
|
|
11
|
+
silent?: any;
|
|
12
|
+
}
|
|
13
|
+
export interface TreeNode {
|
|
14
|
+
expanded?: boolean;
|
|
15
|
+
loading?: boolean;
|
|
16
|
+
noLazyChildren?: boolean;
|
|
17
|
+
indent?: number;
|
|
18
|
+
level?: number;
|
|
19
|
+
display?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export declare const tableProps: {
|
|
22
|
+
/**
|
|
23
|
+
* @description table data
|
|
24
|
+
*/
|
|
25
|
+
data: {
|
|
26
|
+
type: PropType<DefaultRow[]>;
|
|
27
|
+
default: () => never[];
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @description size of Table
|
|
31
|
+
*/
|
|
32
|
+
size: {
|
|
33
|
+
readonly type: PropType<"" | "small" | "default" | "large">;
|
|
34
|
+
readonly required: false;
|
|
35
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
36
|
+
__epPropKey: true;
|
|
37
|
+
};
|
|
38
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
39
|
+
/**
|
|
40
|
+
* @description table's height. By default it has an `auto` height. If its value is a number, the height is measured in pixels; if its value is a string, the value will be assigned to element's style.height, the height is affected by external styles
|
|
41
|
+
*/
|
|
42
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
43
|
+
/**
|
|
44
|
+
* @description table's max-height. The legal value is a number or the height in px
|
|
45
|
+
*/
|
|
46
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
47
|
+
/**
|
|
48
|
+
* @description whether width of column automatically fits its container
|
|
49
|
+
*/
|
|
50
|
+
fit: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* @description whether Table is striped
|
|
56
|
+
*/
|
|
57
|
+
stripe: BooleanConstructor;
|
|
58
|
+
/**
|
|
59
|
+
* @description whether Table has vertical border
|
|
60
|
+
*/
|
|
61
|
+
border: BooleanConstructor;
|
|
62
|
+
/**
|
|
63
|
+
* @description key of row data, used for optimizing rendering. Required if `reserve-selection` is on or display tree data. When its type is String, multi-level access is supported, e.g. `user.info.id`, but `user.info[0].id` is not supported, in which case `Function` should be used
|
|
64
|
+
*/
|
|
65
|
+
rowKey: PropType<TableProps<DefaultRow>["rowKey"]>;
|
|
66
|
+
/**
|
|
67
|
+
* @description whether Table header is visible
|
|
68
|
+
*/
|
|
69
|
+
showHeader: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* @description whether to display a summary row
|
|
75
|
+
*/
|
|
76
|
+
showSummary: BooleanConstructor;
|
|
77
|
+
/**
|
|
78
|
+
* @description displayed text for the first column of summary row
|
|
79
|
+
*/
|
|
80
|
+
sumText: StringConstructor;
|
|
81
|
+
/**
|
|
82
|
+
* @description custom summary method
|
|
83
|
+
*/
|
|
84
|
+
summaryMethod: PropType<TableProps<DefaultRow>["summaryMethod"]>;
|
|
85
|
+
/**
|
|
86
|
+
* @description function that returns custom class names for a row, or a string assigning class names for every row
|
|
87
|
+
*/
|
|
88
|
+
rowClassName: PropType<TableProps<DefaultRow>["rowClassName"]>;
|
|
89
|
+
/**
|
|
90
|
+
* @description function that returns custom style for a row, or an object assigning custom style for every row
|
|
91
|
+
*/
|
|
92
|
+
rowStyle: PropType<TableProps<DefaultRow>["rowStyle"]>;
|
|
93
|
+
/**
|
|
94
|
+
* @description function that returns custom class names for a cell, or a string assigning class names for every cell
|
|
95
|
+
*/
|
|
96
|
+
cellClassName: PropType<TableProps<DefaultRow>["cellClassName"]>;
|
|
97
|
+
/**
|
|
98
|
+
* @description function that returns custom style for a cell, or an object assigning custom style for every cell
|
|
99
|
+
*/
|
|
100
|
+
cellStyle: PropType<TableProps<DefaultRow>["cellStyle"]>;
|
|
101
|
+
/**
|
|
102
|
+
* @description function that returns custom class names for a row in table header, or a string assigning class names for every row in table header
|
|
103
|
+
*/
|
|
104
|
+
headerRowClassName: PropType<TableProps<DefaultRow>["headerRowClassName"]>;
|
|
105
|
+
/**
|
|
106
|
+
* @description function that returns custom style for a row in table header, or an object assigning custom style for every row in table header
|
|
107
|
+
*/
|
|
108
|
+
headerRowStyle: PropType<TableProps<DefaultRow>["headerRowStyle"]>;
|
|
109
|
+
/**
|
|
110
|
+
* @description function that returns custom class names for a cell in table header, or a string assigning class names for every cell in table header
|
|
111
|
+
*/
|
|
112
|
+
headerCellClassName: PropType<TableProps<DefaultRow>["headerCellClassName"]>;
|
|
113
|
+
/**
|
|
114
|
+
* @description function that returns custom style for a cell in table header, or an object assigning custom style for every cell in table header
|
|
115
|
+
*/
|
|
116
|
+
headerCellStyle: PropType<TableProps<DefaultRow>["headerCellStyle"]>;
|
|
117
|
+
/**
|
|
118
|
+
* @description whether current row is highlighted
|
|
119
|
+
*/
|
|
120
|
+
highlightCurrentRow: BooleanConstructor;
|
|
121
|
+
/**
|
|
122
|
+
* @description key of current row, a set only prop
|
|
123
|
+
*/
|
|
124
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
125
|
+
/**
|
|
126
|
+
* @description displayed text when data is empty. You can customize this area with `#empty`
|
|
127
|
+
*/
|
|
128
|
+
emptyText: StringConstructor;
|
|
129
|
+
/**
|
|
130
|
+
* @description set expanded rows by this prop, prop's value is the keys of expand rows, you should set row-key before using this prop
|
|
131
|
+
*/
|
|
132
|
+
expandRowKeys: PropType<TableProps<DefaultRow>["expandRowKeys"]>;
|
|
133
|
+
/**
|
|
134
|
+
* @description whether expand all rows by default, works when the table has a column type="expand" or contains tree structure data
|
|
135
|
+
*/
|
|
136
|
+
defaultExpandAll: BooleanConstructor;
|
|
137
|
+
/**
|
|
138
|
+
* @description set the default sort column and order. property `prop` is used to set default sort column, property `order` is used to set default sort order
|
|
139
|
+
*/
|
|
140
|
+
defaultSort: PropType<TableProps<DefaultRow>["defaultSort"]>;
|
|
141
|
+
/**
|
|
142
|
+
* @description the `effect` of the overflow tooltip
|
|
143
|
+
*/
|
|
144
|
+
tooltipEffect: StringConstructor;
|
|
145
|
+
/**
|
|
146
|
+
* @description the options for the overflow tooltip, [see the following tooltip component](tooltip.html#attributes)
|
|
147
|
+
*/
|
|
148
|
+
tooltipOptions: PropType<TableProps<DefaultRow>["tooltipOptions"]>;
|
|
149
|
+
/**
|
|
150
|
+
* @description method that returns rowspan and colspan
|
|
151
|
+
*/
|
|
152
|
+
spanMethod: PropType<TableProps<DefaultRow>["spanMethod"]>;
|
|
153
|
+
/**
|
|
154
|
+
* @description controls the behavior of master checkbox in multi-select tables when only some rows are selected (but not all). If true, all rows will be selected, else deselected
|
|
155
|
+
*/
|
|
156
|
+
selectOnIndeterminate: {
|
|
157
|
+
type: BooleanConstructor;
|
|
158
|
+
default: boolean;
|
|
159
|
+
};
|
|
160
|
+
/**
|
|
161
|
+
* @description horizontal indentation of tree data
|
|
162
|
+
*/
|
|
163
|
+
indent: {
|
|
164
|
+
type: NumberConstructor;
|
|
165
|
+
default: number;
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* @description configuration for rendering nested data
|
|
169
|
+
*/
|
|
170
|
+
treeProps: {
|
|
171
|
+
type: PropType<any>;
|
|
172
|
+
default: () => {
|
|
173
|
+
hasChildren: string;
|
|
174
|
+
children: string;
|
|
175
|
+
checkStrictly: boolean;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
/**
|
|
179
|
+
* @description whether to lazy loading data
|
|
180
|
+
*/
|
|
181
|
+
lazy: BooleanConstructor;
|
|
182
|
+
/**
|
|
183
|
+
* @description method for loading child row data, only works when `lazy` is true
|
|
184
|
+
*/
|
|
185
|
+
load: PropType<TableProps<DefaultRow>["load"]>;
|
|
186
|
+
style: {
|
|
187
|
+
type: PropType<CSSProperties>;
|
|
188
|
+
default: () => {};
|
|
189
|
+
};
|
|
190
|
+
className: {
|
|
191
|
+
type: StringConstructor;
|
|
192
|
+
default: string;
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* @description sets the algorithm used to lay out table cells, rows, and columns
|
|
196
|
+
*/
|
|
197
|
+
tableLayout: {
|
|
198
|
+
type: PropType<Layout>;
|
|
199
|
+
default: string;
|
|
200
|
+
};
|
|
201
|
+
/**
|
|
202
|
+
* @description always show scrollbar
|
|
203
|
+
*/
|
|
204
|
+
scrollbarAlwaysOn: BooleanConstructor;
|
|
205
|
+
/**
|
|
206
|
+
* @description ensure main axis minimum-size doesn't follow the content
|
|
207
|
+
*/
|
|
208
|
+
flexible: BooleanConstructor;
|
|
209
|
+
/**
|
|
210
|
+
* @description whether to hide extra content and show them in a tooltip when hovering on the cell.It will affect all the table columns
|
|
211
|
+
*/
|
|
212
|
+
showOverflowTooltip: PropType<TableProps<DefaultRow>["showOverflowTooltip"]>;
|
|
213
|
+
appendFilterPanelTo: StringConstructor;
|
|
214
|
+
scrollbarTabindex: {
|
|
215
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
216
|
+
default: undefined;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
export declare const createElTableBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"data", keyof T2> | Extract<"size", keyof T2> | Extract<"load", keyof T2> | Extract<"style", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"fit", keyof T2> | Extract<"className", keyof T2> | Extract<"height", keyof T2> | Extract<"width", keyof T2> | Extract<"showOverflowTooltip", keyof T2> | Extract<"rowKey", keyof T2> | Extract<"summaryMethod", keyof T2> | Extract<"rowClassName", keyof T2> | Extract<"rowStyle", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"cellStyle", keyof T2> | Extract<"headerRowClassName", keyof T2> | Extract<"headerRowStyle", keyof T2> | Extract<"headerCellClassName", keyof T2> | Extract<"headerCellStyle", keyof T2> | Extract<"expandRowKeys", keyof T2> | Extract<"defaultSort", keyof T2> | Extract<"tooltipOptions", keyof T2> | Extract<"spanMethod", keyof T2> | Extract<"stripe", keyof T2> | Extract<"border", keyof T2> | Extract<"showHeader", keyof T2> | Extract<"showSummary", keyof T2> | Extract<"sumText", keyof T2> | Extract<"highlightCurrentRow", keyof T2> | Extract<"currentRowKey", keyof T2> | Extract<"emptyText", keyof T2> | Extract<"defaultExpandAll", keyof T2> | Extract<"tooltipEffect", keyof T2> | Extract<"selectOnIndeterminate", keyof T2> | Extract<"indent", keyof T2> | Extract<"treeProps", keyof T2> | Extract<"lazy", keyof T2> | Extract<"tableLayout", keyof T2> | Extract<"scrollbarAlwaysOn", keyof T2> | Extract<"flexible", keyof T2> | Extract<"appendFilterPanelTo", keyof T2> | Extract<"scrollbarTabindex", keyof T2>)[]>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"data", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"load", keyof T2>, KE> | Exclude<Extract<"style", keyof T2>, KE> | Exclude<Extract<"maxHeight", keyof T2>, KE> | Exclude<Extract<"fit", keyof T2>, KE> | Exclude<Extract<"className", keyof T2>, KE> | Exclude<Extract<"height", keyof T2>, KE> | Exclude<Extract<"width", keyof T2>, KE> | Exclude<Extract<"showOverflowTooltip", keyof T2>, KE> | Exclude<Extract<"rowKey", keyof T2>, KE> | Exclude<Extract<"summaryMethod", keyof T2>, KE> | Exclude<Extract<"rowClassName", keyof T2>, KE> | Exclude<Extract<"rowStyle", keyof T2>, KE> | Exclude<Extract<"cellClassName", keyof T2>, KE> | Exclude<Extract<"cellStyle", keyof T2>, KE> | Exclude<Extract<"headerRowClassName", keyof T2>, KE> | Exclude<Extract<"headerRowStyle", keyof T2>, KE> | Exclude<Extract<"headerCellClassName", keyof T2>, KE> | Exclude<Extract<"headerCellStyle", keyof T2>, KE> | Exclude<Extract<"expandRowKeys", keyof T2>, KE> | Exclude<Extract<"defaultSort", keyof T2>, KE> | Exclude<Extract<"tooltipOptions", keyof T2>, KE> | Exclude<Extract<"spanMethod", keyof T2>, KE> | Exclude<Extract<"stripe", keyof T2>, KE> | Exclude<Extract<"border", keyof T2>, KE> | Exclude<Extract<"showHeader", keyof T2>, KE> | Exclude<Extract<"showSummary", keyof T2>, KE> | Exclude<Extract<"sumText", keyof T2>, KE> | Exclude<Extract<"highlightCurrentRow", keyof T2>, KE> | Exclude<Extract<"currentRowKey", keyof T2>, KE> | Exclude<Extract<"emptyText", keyof T2>, KE> | Exclude<Extract<"defaultExpandAll", keyof T2>, KE> | Exclude<Extract<"tooltipEffect", keyof T2>, KE> | Exclude<Extract<"selectOnIndeterminate", keyof T2>, KE> | Exclude<Extract<"indent", keyof T2>, KE> | Exclude<Extract<"treeProps", keyof T2>, KE> | Exclude<Extract<"lazy", keyof T2>, KE> | Exclude<Extract<"tableLayout", keyof T2>, KE> | Exclude<Extract<"scrollbarAlwaysOn", keyof T2>, KE> | Exclude<Extract<"flexible", keyof T2>, KE> | Exclude<Extract<"appendFilterPanelTo", keyof T2>, KE> | Exclude<Extract<"scrollbarTabindex", keyof T2>, KE> : Extract<"data", keyof T2> | Extract<"size", keyof T2> | Extract<"load", keyof T2> | Extract<"style", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"fit", keyof T2> | Extract<"className", keyof T2> | Extract<"height", keyof T2> | Extract<"width", keyof T2> | Extract<"showOverflowTooltip", keyof T2> | Extract<"rowKey", keyof T2> | Extract<"summaryMethod", keyof T2> | Extract<"rowClassName", keyof T2> | Extract<"rowStyle", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"cellStyle", keyof T2> | Extract<"headerRowClassName", keyof T2> | Extract<"headerRowStyle", keyof T2> | Extract<"headerCellClassName", keyof T2> | Extract<"headerCellStyle", keyof T2> | Extract<"expandRowKeys", keyof T2> | Extract<"defaultSort", keyof T2> | Extract<"tooltipOptions", keyof T2> | Extract<"spanMethod", keyof T2> | Extract<"stripe", keyof T2> | Extract<"border", keyof T2> | Extract<"showHeader", keyof T2> | Extract<"showSummary", keyof T2> | Extract<"sumText", keyof T2> | Extract<"highlightCurrentRow", keyof T2> | Extract<"currentRowKey", keyof T2> | Extract<"emptyText", keyof T2> | Extract<"defaultExpandAll", keyof T2> | Extract<"tooltipEffect", keyof T2> | Extract<"selectOnIndeterminate", keyof T2> | Extract<"indent", keyof T2> | Extract<"treeProps", keyof T2> | Extract<"lazy", keyof T2> | Extract<"tableLayout", keyof T2> | Extract<"scrollbarAlwaysOn", keyof T2> | Extract<"flexible", keyof T2> | Extract<"appendFilterPanelTo", keyof T2> | Extract<"scrollbarTabindex", keyof T2>]: { [k in Extract<"data", keyof T2> | Extract<"size", keyof T2> | Extract<"load", keyof T2> | Extract<"style", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"fit", keyof T2> | Extract<"className", keyof T2> | Extract<"height", keyof T2> | Extract<"width", keyof T2> | Extract<"showOverflowTooltip", keyof T2> | Extract<"rowKey", keyof T2> | Extract<"summaryMethod", keyof T2> | Extract<"rowClassName", keyof T2> | Extract<"rowStyle", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"cellStyle", keyof T2> | Extract<"headerRowClassName", keyof T2> | Extract<"headerRowStyle", keyof T2> | Extract<"headerCellClassName", keyof T2> | Extract<"headerCellStyle", keyof T2> | Extract<"expandRowKeys", keyof T2> | Extract<"defaultSort", keyof T2> | Extract<"tooltipOptions", keyof T2> | Extract<"spanMethod", keyof T2> | Extract<"stripe", keyof T2> | Extract<"border", keyof T2> | Extract<"showHeader", keyof T2> | Extract<"showSummary", keyof T2> | Extract<"sumText", keyof T2> | Extract<"highlightCurrentRow", keyof T2> | Extract<"currentRowKey", keyof T2> | Extract<"emptyText", keyof T2> | Extract<"defaultExpandAll", keyof T2> | Extract<"tooltipEffect", keyof T2> | Extract<"selectOnIndeterminate", keyof T2> | Extract<"indent", keyof T2> | Extract<"treeProps", keyof T2> | Extract<"lazy", keyof T2> | Extract<"tableLayout", keyof T2> | Extract<"scrollbarAlwaysOn", keyof T2> | Extract<"flexible", keyof T2> | Extract<"appendFilterPanelTo", keyof T2> | Extract<"scrollbarTabindex", keyof T2>]: T2[k]; }[P]; }>;
|
|
220
|
+
export declare const tableEmits: {
|
|
221
|
+
select: null;
|
|
222
|
+
'select-all': null;
|
|
223
|
+
'selection-change': null;
|
|
224
|
+
'cell-mouse-enter': null;
|
|
225
|
+
'cell-mouse-leave': null;
|
|
226
|
+
'cell-contextmenu': null;
|
|
227
|
+
'cell-click': null;
|
|
228
|
+
'cell-dblclick': null;
|
|
229
|
+
'row-click': null;
|
|
230
|
+
'row-contextmenu': null;
|
|
231
|
+
'row-dblclick': null;
|
|
232
|
+
'header-click': null;
|
|
233
|
+
'header-contextmenu': null;
|
|
234
|
+
'sort-change': null;
|
|
235
|
+
'filter-change': null;
|
|
236
|
+
'current-change': null;
|
|
237
|
+
'header-dragend': null;
|
|
238
|
+
'expand-change': null;
|
|
239
|
+
scroll: null;
|
|
240
|
+
};
|
|
241
|
+
export declare const createElTableOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("select" | "scroll" | "select-all" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "current-change" | "header-dragend" | "expand-change")[]>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"select", KE> | Exclude<"scroll", KE> | Exclude<"select-all", KE> | Exclude<"selection-change", KE> | Exclude<"cell-mouse-enter", KE> | Exclude<"cell-mouse-leave", KE> | Exclude<"cell-contextmenu", KE> | Exclude<"cell-click", KE> | Exclude<"cell-dblclick", KE> | Exclude<"row-click", KE> | Exclude<"row-contextmenu", KE> | Exclude<"row-dblclick", KE> | Exclude<"header-click", KE> | Exclude<"header-contextmenu", KE> | Exclude<"sort-change", KE> | Exclude<"filter-change", KE> | Exclude<"current-change", KE> | Exclude<"header-dragend", KE> | Exclude<"expand-change", KE> : "select" | "scroll" | "select-all" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "current-change" | "header-dragend" | "expand-change"]: {
|
|
242
|
+
select: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
243
|
+
'select-all': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
244
|
+
'selection-change': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
245
|
+
'cell-mouse-enter': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
246
|
+
'cell-mouse-leave': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
247
|
+
'cell-contextmenu': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
248
|
+
'cell-click': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
249
|
+
'cell-dblclick': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
250
|
+
'row-click': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
251
|
+
'row-contextmenu': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
252
|
+
'row-dblclick': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
253
|
+
'header-click': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
254
|
+
'header-contextmenu': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
255
|
+
'sort-change': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
256
|
+
'filter-change': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
257
|
+
'current-change': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
258
|
+
'header-dragend': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
259
|
+
'expand-change': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
260
|
+
scroll: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
261
|
+
}[P]; };
|
|
262
|
+
export {};
|