@vunk/plus 1.2.2 → 1.3.1
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/SendOutlined.mjs +2 -2
- package/components/agent-chat-provider/index.d.ts +7 -0
- package/components/agent-chat-provider/index.mjs +789 -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 +47 -0
- package/components/agent-chat-provider/src/types.d.ts +37 -0
- package/components/agent-chat-provider/src/use.d.ts +29 -0
- package/components/avatar/index.mjs +2 -2
- package/components/avatar/src/ctx.d.ts +4 -4
- package/components/avatar/src/index.vue.d.ts +66 -125
- package/components/broadcasting-markdown/index.css +3 -0
- package/components/broadcasting-markdown/index.d.ts +5 -0
- package/components/broadcasting-markdown/index.mjs +637 -0
- package/components/broadcasting-markdown/src/const.d.ts +18 -0
- package/components/broadcasting-markdown/src/ctx.d.ts +93 -0
- package/components/broadcasting-markdown/src/custom-speech.vue.d.ts +109 -0
- package/components/broadcasting-markdown/src/index.vue.d.ts +477 -0
- package/components/broadcasting-markdown/src/paragraph.vue.d.ts +78 -0
- package/components/broadcasting-markdown/src/speech-error.vue.d.ts +60 -0
- package/components/broadcasting-markdown/src/types.d.ts +17 -0
- package/components/broadcasting-markdown/src/use.d.ts +3 -0
- package/components/broadcasting-markdown/src/web-speech.vue.d.ts +102 -0
- package/components/bubble-list/index.css +18 -0
- package/components/bubble-list/index.d.ts +5 -0
- package/components/bubble-list/index.mjs +386 -0
- package/components/bubble-list/src/ctx.d.ts +30 -0
- package/components/bubble-list/src/index.vue.d.ts +927 -0
- package/components/bubble-list/src/types.d.ts +4 -0
- package/components/bubble-templates/index.css +18 -0
- package/components/bubble-templates/index.d.ts +4 -0
- package/components/bubble-templates/index.mjs +258 -0
- package/components/bubble-templates/src/index.vue.d.ts +631 -0
- package/components/bubble-templates/src/types.d.ts +30 -0
- package/components/chat-independent/index.css +47 -0
- package/components/chat-independent/index.d.ts +4 -0
- package/components/chat-independent/index.mjs +184 -0
- package/components/chat-independent/src/const.d.ts +13 -0
- package/components/chat-independent/src/ctx.d.ts +20 -0
- package/components/chat-independent/src/index.vue.d.ts +2388 -0
- package/components/chat-independent/src/types.d.ts +13 -0
- package/components/index.d.ts +0 -0
- package/components/index.mjs +1 -0
- package/components/index2.mjs +35980 -0
- package/components/lottie-animation/index.mjs +2 -2
- package/components/lottie-animation/src/index.vue.d.ts +1 -1
- package/components/monaco-editor/index.mjs +2 -2
- package/components/monaco-editor/src/ctx.d.ts +3 -3
- package/components/monaco-editor/src/index.vue.d.ts +3 -3
- package/components/monaco-environment/index.mjs +1 -1
- package/components/recorder-button/index.css +7 -10
- package/components/recorder-button/index.mjs +115 -83
- package/components/recorder-button/src/ctx.d.ts +27 -6
- package/components/recorder-button/src/index.vue.d.ts +196 -202
- package/components/recorder-button/src/types.d.ts +1 -0
- package/components/routes-menu-content/index.mjs +5 -5
- package/components/routes-menu-content/src/ctx.d.ts +1 -1
- package/components/routes-menu-content/src/index.vue.d.ts +223 -101
- package/components/routes-menu-content/src/item/core/ctx.d.ts +1 -1
- package/components/routes-menu-content/src/item/core/index.vue.d.ts +175 -53
- package/components/routes-menu-content/src/item/index.vue.d.ts +221 -99
- package/components/sender/index.css +2 -5
- package/components/sender/index.mjs +32 -13
- package/components/sender/src/SenderHeader.vue.d.ts +31 -45
- package/components/sender/src/ctx.d.ts +23 -3
- package/components/sender/src/index.vue.d.ts +170 -124
- package/components/sender/src/types.d.ts +1 -1
- package/components/speech-button/index.mjs +7 -14
- package/components/speech-button/src/ctx.d.ts +1 -1
- package/components/speech-button/src/index.vue.d.ts +3 -3
- package/components/table-columns/index.d.ts +1 -1
- package/components/table-columns/index.mjs +3 -6
- package/components/table-columns/src/ctx.d.ts +8 -8
- package/components/table-columns/src/el-ctx.d.ts +7 -7
- package/components/table-columns/src/index.vue.d.ts +38 -36
- package/components/tables-v1/index.mjs +3 -3
- package/components/tables-v1/src/ctx.d.ts +66 -68
- package/components/tables-v1/src/el-ctx.d.ts +48 -51
- package/components/tables-v1/src/index.vue.d.ts +1950 -1933
- package/components/tables-v1-checkbox/index.mjs +269 -33
- package/components/tables-v1-checkbox/src/ctx.d.ts +65 -67
- package/components/tables-v1-checkbox/src/index.vue.d.ts +2167 -2159
- package/components/typing-markdown/index.mjs +128 -33
- package/components/typing-markdown/src/core.d.ts +2 -3
- package/components/typing-markdown/src/ctx.d.ts +5 -5
- package/components/typing-markdown/src/index.vue.d.ts +9 -9
- package/components/vditor/index.mjs +5 -9
- package/components/vditor/src/ctx.d.ts +2 -2
- package/components/vditor/src/handle-fullscreen.vue.d.ts +3 -3
- package/components/vditor/src/handle-value.vue.d.ts +3 -3
- package/components/vditor/src/index.vue.d.ts +11 -11
- package/composables/el-breakpoints/index.d.ts +1 -1
- package/composables/recorder/index.mjs +751 -182
- package/icons/_plugin-vue_export-helper.mjs +9 -0
- package/icons/end/index.d.ts +4 -0
- package/icons/end/index.mjs +36 -0
- package/icons/end/src/avatar.d.ts +12 -0
- package/icons/end/src/icon.d.ts +57 -0
- package/icons/keyboard/index.d.ts +4 -0
- package/icons/keyboard/index.mjs +36 -0
- package/icons/keyboard/src/avatar.d.ts +12 -0
- package/icons/keyboard/src/icon.d.ts +57 -0
- package/icons/start/index.d.ts +4 -0
- package/icons/start/index.mjs +36 -0
- package/icons/start/src/avatar.d.ts +12 -0
- package/icons/start/src/icon.d.ts +57 -0
- package/icons/voice/index.d.ts +4 -0
- package/icons/voice/index.mjs +51 -0
- package/icons/voice/src/avatar.d.ts +12 -0
- package/icons/voice/src/icon.d.ts +57 -0
- package/icons/voice/src/index.vue.d.ts +4 -0
- package/index.css +99 -15
- package/package.json +51 -7
- package/fetch/PlusFetch/index.d.ts +0 -14
- package/fetch/PlusFetch/index.mjs +0 -638
- package/fetch/PlusFetch/types.d.ts +0 -54
- package/fetch/index.d.ts +0 -1
- package/fetch/index.mjs +0 -5
|
@@ -23,26 +23,26 @@ export declare const tableProps: {
|
|
|
23
23
|
*/
|
|
24
24
|
data: {
|
|
25
25
|
type: PropType<any[]>;
|
|
26
|
-
default: () =>
|
|
26
|
+
default: () => never[];
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* @description size of Table
|
|
30
30
|
*/
|
|
31
31
|
size: {
|
|
32
|
-
readonly type: PropType<import("element-plus").ButtonType<StringConstructor, "" | "
|
|
32
|
+
readonly type: PropType<import("element-plus").ButtonType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
33
33
|
readonly required: false;
|
|
34
|
-
readonly validator: (val: unknown) => boolean;
|
|
34
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
35
35
|
__epPropKey: true;
|
|
36
36
|
};
|
|
37
|
-
width: (
|
|
37
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
38
38
|
/**
|
|
39
39
|
* @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
|
|
40
40
|
*/
|
|
41
|
-
height: (
|
|
41
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
42
42
|
/**
|
|
43
43
|
* @description table's max-height. The legal value is a number or the height in px
|
|
44
44
|
*/
|
|
45
|
-
maxHeight: (
|
|
45
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
46
46
|
/**
|
|
47
47
|
* @description whether width of column automatically fits its container
|
|
48
48
|
*/
|
|
@@ -61,7 +61,7 @@ export declare const tableProps: {
|
|
|
61
61
|
/**
|
|
62
62
|
* @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
|
|
63
63
|
*/
|
|
64
|
-
rowKey: PropType<string | ((row: any) => string)>;
|
|
64
|
+
rowKey: PropType<string | ((row: any) => string) | undefined>;
|
|
65
65
|
/**
|
|
66
66
|
* @description whether Table header is visible
|
|
67
67
|
*/
|
|
@@ -80,39 +80,39 @@ export declare const tableProps: {
|
|
|
80
80
|
/**
|
|
81
81
|
* @description custom summary method
|
|
82
82
|
*/
|
|
83
|
-
summaryMethod: PropType<import("element-plus").SummaryMethod<any
|
|
83
|
+
summaryMethod: PropType<import("element-plus").SummaryMethod<any> | undefined>;
|
|
84
84
|
/**
|
|
85
85
|
* @description function that returns custom class names for a row, or a string assigning class names for every row
|
|
86
86
|
*/
|
|
87
|
-
rowClassName: PropType<import("element-plus").ColumnCls<any
|
|
87
|
+
rowClassName: PropType<import("element-plus").ColumnCls<any> | undefined>;
|
|
88
88
|
/**
|
|
89
89
|
* @description function that returns custom style for a row, or an object assigning custom style for every row
|
|
90
90
|
*/
|
|
91
|
-
rowStyle: PropType<import("element-plus").ColumnStyle<any
|
|
91
|
+
rowStyle: PropType<import("element-plus").ColumnStyle<any> | undefined>;
|
|
92
92
|
/**
|
|
93
93
|
* @description function that returns custom class names for a cell, or a string assigning class names for every cell
|
|
94
94
|
*/
|
|
95
|
-
cellClassName: PropType<import("element-plus").CellCls<any
|
|
95
|
+
cellClassName: PropType<import("element-plus").CellCls<any> | undefined>;
|
|
96
96
|
/**
|
|
97
97
|
* @description function that returns custom style for a cell, or an object assigning custom style for every cell
|
|
98
98
|
*/
|
|
99
|
-
cellStyle: PropType<import("element-plus").CellStyle<any
|
|
99
|
+
cellStyle: PropType<import("element-plus").CellStyle<any> | undefined>;
|
|
100
100
|
/**
|
|
101
101
|
* @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
|
|
102
102
|
*/
|
|
103
|
-
headerRowClassName: PropType<import("element-plus").ColumnCls<any
|
|
103
|
+
headerRowClassName: PropType<import("element-plus").ColumnCls<any> | undefined>;
|
|
104
104
|
/**
|
|
105
105
|
* @description function that returns custom style for a row in table header, or an object assigning custom style for every row in table header
|
|
106
106
|
*/
|
|
107
|
-
headerRowStyle: PropType<import("element-plus").ColumnStyle<any
|
|
107
|
+
headerRowStyle: PropType<import("element-plus").ColumnStyle<any> | undefined>;
|
|
108
108
|
/**
|
|
109
109
|
* @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
|
|
110
110
|
*/
|
|
111
|
-
headerCellClassName: PropType<import("element-plus").CellCls<any
|
|
111
|
+
headerCellClassName: PropType<import("element-plus").CellCls<any> | undefined>;
|
|
112
112
|
/**
|
|
113
113
|
* @description function that returns custom style for a cell in table header, or an object assigning custom style for every cell in table header
|
|
114
114
|
*/
|
|
115
|
-
headerCellStyle: PropType<import("element-plus").CellStyle<any
|
|
115
|
+
headerCellStyle: PropType<import("element-plus").CellStyle<any> | undefined>;
|
|
116
116
|
/**
|
|
117
117
|
* @description whether current row is highlighted
|
|
118
118
|
*/
|
|
@@ -120,7 +120,7 @@ export declare const tableProps: {
|
|
|
120
120
|
/**
|
|
121
121
|
* @description key of current row, a set only prop
|
|
122
122
|
*/
|
|
123
|
-
currentRowKey: (
|
|
123
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
124
124
|
/**
|
|
125
125
|
* @description displayed text when data is empty. You can customize this area with `#empty`
|
|
126
126
|
*/
|
|
@@ -128,7 +128,7 @@ export declare const tableProps: {
|
|
|
128
128
|
/**
|
|
129
129
|
* @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
|
|
130
130
|
*/
|
|
131
|
-
expandRowKeys: PropType<
|
|
131
|
+
expandRowKeys: PropType<string[] | undefined>;
|
|
132
132
|
/**
|
|
133
133
|
* @description whether expand all rows by default, works when the table has a column type="expand" or contains tree structure data
|
|
134
134
|
*/
|
|
@@ -136,7 +136,7 @@ export declare const tableProps: {
|
|
|
136
136
|
/**
|
|
137
137
|
* @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
|
|
138
138
|
*/
|
|
139
|
-
defaultSort: PropType<import("element-plus").Sort>;
|
|
139
|
+
defaultSort: PropType<import("element-plus").Sort | undefined>;
|
|
140
140
|
/**
|
|
141
141
|
* @description the `effect` of the overflow tooltip
|
|
142
142
|
*/
|
|
@@ -144,11 +144,11 @@ export declare const tableProps: {
|
|
|
144
144
|
/**
|
|
145
145
|
* @description the options for the overflow tooltip, [see the following tooltip component](tooltip.html#attributes)
|
|
146
146
|
*/
|
|
147
|
-
tooltipOptions: PropType<Partial<Pick<import("element-plus").ElTooltipProps, "
|
|
147
|
+
tooltipOptions: PropType<Partial<Pick<import("element-plus").ElTooltipProps, "placement" | "appendTo" | "offset" | "popperClass" | "showArrow" | "transition" | "effect" | "enterable" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
148
148
|
/**
|
|
149
149
|
* @description method that returns rowspan and colspan
|
|
150
150
|
*/
|
|
151
|
-
spanMethod: PropType<(data: {
|
|
151
|
+
spanMethod: PropType<((data: {
|
|
152
152
|
row: any;
|
|
153
153
|
rowIndex: number;
|
|
154
154
|
column: import("element-plus").TableColumnCtx<any>;
|
|
@@ -156,7 +156,7 @@ export declare const tableProps: {
|
|
|
156
156
|
}) => number[] | {
|
|
157
157
|
rowspan: number;
|
|
158
158
|
colspan: number;
|
|
159
|
-
}>;
|
|
159
|
+
} | undefined) | undefined>;
|
|
160
160
|
/**
|
|
161
161
|
* @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
|
|
162
162
|
*/
|
|
@@ -175,10 +175,7 @@ export declare const tableProps: {
|
|
|
175
175
|
* @description configuration for rendering nested data
|
|
176
176
|
*/
|
|
177
177
|
treeProps: {
|
|
178
|
-
type: PropType<
|
|
179
|
-
hasChildren?: string;
|
|
180
|
-
children?: string;
|
|
181
|
-
}>;
|
|
178
|
+
type: PropType<import("element-plus/es/components/table/src/table/defaults").TreeProps | undefined>;
|
|
182
179
|
default: () => {
|
|
183
180
|
hasChildren: string;
|
|
184
181
|
children: string;
|
|
@@ -192,7 +189,7 @@ export declare const tableProps: {
|
|
|
192
189
|
/**
|
|
193
190
|
* @description method for loading child row data, only works when `lazy` is true
|
|
194
191
|
*/
|
|
195
|
-
load: PropType<(row: any, treeNode: import("element-plus").TreeNode, resolve: (data: any[]) => void) => void>;
|
|
192
|
+
load: PropType<((row: any, treeNode: import("element-plus").TreeNode, resolve: (data: any[]) => void) => void) | undefined>;
|
|
196
193
|
style: {
|
|
197
194
|
type: PropType<CSSProperties>;
|
|
198
195
|
default: () => {};
|
|
@@ -219,36 +216,36 @@ export declare const tableProps: {
|
|
|
219
216
|
/**
|
|
220
217
|
* @description whether to hide extra content and show them in a tooltip when hovering on the cell.It will affect all the table columns
|
|
221
218
|
*/
|
|
222
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick<import("element-plus").ElTooltipProps, "
|
|
219
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick<import("element-plus").ElTooltipProps, "placement" | "appendTo" | "offset" | "popperClass" | "showArrow" | "transition" | "effect" | "enterable" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
223
220
|
appendFilterPanelTo: StringConstructor;
|
|
224
221
|
scrollbarTabindex: {
|
|
225
|
-
type: (
|
|
226
|
-
default:
|
|
222
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
223
|
+
default: undefined;
|
|
227
224
|
};
|
|
228
225
|
};
|
|
229
|
-
export declare const createElTableBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"
|
|
226
|
+
export declare const createElTableBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"data", keyof T2> | Extract<"size", keyof T2> | Extract<"style", keyof T2> | Extract<"load", 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<"treeProps", keyof T2> | Extract<"maxHeight", 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<"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<"style", keyof T2>, KE> | Exclude<Extract<"load", 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<"treeProps", keyof T2>, KE> | Exclude<Extract<"maxHeight", 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<"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<"style", keyof T2> | Extract<"load", 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<"treeProps", keyof T2> | Extract<"maxHeight", 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<"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<"style", keyof T2> | Extract<"load", 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<"treeProps", keyof T2> | Extract<"maxHeight", 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<"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]; }>;
|
|
230
227
|
export declare const tableEmits: {
|
|
231
|
-
select:
|
|
232
|
-
'select-all':
|
|
233
|
-
'selection-change':
|
|
234
|
-
'cell-mouse-enter':
|
|
235
|
-
'cell-mouse-leave':
|
|
236
|
-
'cell-contextmenu':
|
|
237
|
-
'cell-click':
|
|
238
|
-
'cell-dblclick':
|
|
239
|
-
'row-click':
|
|
240
|
-
'row-contextmenu':
|
|
241
|
-
'row-dblclick':
|
|
242
|
-
'header-click':
|
|
243
|
-
'header-contextmenu':
|
|
244
|
-
'sort-change':
|
|
245
|
-
'filter-change':
|
|
246
|
-
'current-change':
|
|
247
|
-
'header-dragend':
|
|
248
|
-
'expand-change':
|
|
249
|
-
scroll:
|
|
228
|
+
select: null;
|
|
229
|
+
'select-all': null;
|
|
230
|
+
'selection-change': null;
|
|
231
|
+
'cell-mouse-enter': null;
|
|
232
|
+
'cell-mouse-leave': null;
|
|
233
|
+
'cell-contextmenu': null;
|
|
234
|
+
'cell-click': null;
|
|
235
|
+
'cell-dblclick': null;
|
|
236
|
+
'row-click': null;
|
|
237
|
+
'row-contextmenu': null;
|
|
238
|
+
'row-dblclick': null;
|
|
239
|
+
'header-click': null;
|
|
240
|
+
'header-contextmenu': null;
|
|
241
|
+
'sort-change': null;
|
|
242
|
+
'filter-change': null;
|
|
243
|
+
'current-change': null;
|
|
244
|
+
'header-dragend': null;
|
|
245
|
+
'expand-change': null;
|
|
246
|
+
scroll: null;
|
|
250
247
|
};
|
|
251
|
-
export declare const createElTableOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("select" | "scroll" | "select-all" | "expand-change" | "current-change" | "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" | "header-dragend")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"select", KE> | Exclude<"scroll", KE> | Exclude<"select-all", KE> | Exclude<"expand-change", KE> | Exclude<"current-change", 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<"header-dragend", KE> : "select" | "scroll" | "select-all" | "expand-change" | "current-change" | "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" | "header-dragend"]: {
|
|
248
|
+
export declare const createElTableOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("select" | "scroll" | "select-all" | "expand-change" | "current-change" | "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" | "header-dragend")[]>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"select", KE> | Exclude<"scroll", KE> | Exclude<"select-all", KE> | Exclude<"expand-change", KE> | Exclude<"current-change", 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<"header-dragend", KE> : "select" | "scroll" | "select-all" | "expand-change" | "current-change" | "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" | "header-dragend"]: {
|
|
252
249
|
select: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
253
250
|
'select-all': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
254
251
|
'selection-change': (...e: import("@vunk/core").RestParameters<T2>) => void;
|