@vunk/plus 1.12.1 → 1.12.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/broadcasting-markdown/src/index.vue.d.ts +1 -1
- package/components/metahuman-broadcasting/src/index.vue.d.ts +1 -1
- package/components/monaco-editor/index.mjs +39 -10
- package/components/monaco-editor/src/ctx.d.ts +10 -4
- package/components/monaco-editor/src/index.vue.d.ts +14 -0
- package/components/table-columns/src/ctx.d.ts +2 -2
- package/components/table-columns/src/el-ctx.d.ts +2 -2
- package/components/table-columns/src/index.vue.d.ts +4 -4
- package/components/tables-v1/src/ctx.d.ts +14 -14
- package/components/tables-v1/src/el-ctx.d.ts +6 -6
- package/components/tables-v1/src/index.vue.d.ts +40 -40
- package/components/tables-v1-checkbox/src/ctx.d.ts +12 -12
- package/components/tables-v1-checkbox/src/index.vue.d.ts +70 -70
- package/components/text/src/ctx.d.ts +1 -1
- package/components/text/src/index.vue.d.ts +1 -1
- package/components/thinking/src/index.vue.d.ts +1 -1
- package/package.json +1 -1
|
@@ -172,9 +172,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
172
172
|
onSetData?: ((e: import("@vunk/core").SetDataEvent) => any) | undefined;
|
|
173
173
|
onParagraphLoad?: ((_: import("./types").ParagraphLoadEvent) => any) | undefined;
|
|
174
174
|
}>, {
|
|
175
|
-
render: (text: string) => string;
|
|
176
175
|
data: Paragraph[];
|
|
177
176
|
source: string;
|
|
177
|
+
render: (text: string) => string;
|
|
178
178
|
disabled: boolean;
|
|
179
179
|
processing: (paragraph: Paragraph) => void;
|
|
180
180
|
delay: number;
|
|
@@ -255,9 +255,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
255
255
|
onSetData?: ((e: import("@vunk/core/shared").SetDataEvent) => any) | undefined;
|
|
256
256
|
onParagraphLoad?: ((_: __VkBroadcastingMarkdown.ParagraphLoadEvent) => any) | undefined;
|
|
257
257
|
}>, {
|
|
258
|
-
render: (text: string) => string;
|
|
259
258
|
data: __VkBroadcastingMarkdown.Paragraph[];
|
|
260
259
|
source: string;
|
|
260
|
+
render: (text: string) => string;
|
|
261
261
|
disabled: boolean;
|
|
262
262
|
processing: (paragraph: __VkBroadcastingMarkdown.Paragraph) => void;
|
|
263
263
|
delay: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { watchPausable } from '@vueuse/core';
|
|
2
2
|
import { editor } from 'monaco-editor';
|
|
3
|
-
import { defineComponent, ref, onMounted, nextTick, watchEffect, onBeforeUnmount, openBlock, createElementBlock } from 'vue';
|
|
3
|
+
import { defineComponent, ref, computed, onMounted, nextTick, watchEffect, onBeforeUnmount, openBlock, createElementBlock, normalizeStyle } from 'vue';
|
|
4
4
|
import { bindPropsFactory, onEmitsFactory } from '@vunk/core/shared/utils-vue';
|
|
5
5
|
import { _ as _export_sfc } from '../_plugin-vue_export-helper.mjs';
|
|
6
6
|
|
|
@@ -16,11 +16,16 @@ const props = {
|
|
|
16
16
|
readOnly: {
|
|
17
17
|
type: Boolean,
|
|
18
18
|
default: false
|
|
19
|
+
},
|
|
20
|
+
autoHeight: {
|
|
21
|
+
type: Boolean,
|
|
22
|
+
default: false
|
|
19
23
|
}
|
|
20
24
|
};
|
|
21
25
|
const createBindProps = bindPropsFactory(props);
|
|
22
26
|
const emits = {
|
|
23
|
-
"update:modelValue": null
|
|
27
|
+
"update:modelValue": null,
|
|
28
|
+
"load": (_editor) => true
|
|
24
29
|
};
|
|
25
30
|
const createOnEmits = onEmitsFactory(emits);
|
|
26
31
|
|
|
@@ -38,8 +43,28 @@ var _sfc_main = defineComponent({
|
|
|
38
43
|
emits,
|
|
39
44
|
setup(props2, { emit }) {
|
|
40
45
|
const editorNode = ref();
|
|
46
|
+
const autoHeight = ref("");
|
|
47
|
+
const editorStyle = computed(() => {
|
|
48
|
+
if (!props2.autoHeight || !autoHeight.value)
|
|
49
|
+
return void 0;
|
|
50
|
+
return {
|
|
51
|
+
height: autoHeight.value
|
|
52
|
+
};
|
|
53
|
+
});
|
|
41
54
|
onMounted(() => {
|
|
42
55
|
const editor$1 = editor.create(editorNode.value, props2.defaultOptions);
|
|
56
|
+
emit("load", editor$1);
|
|
57
|
+
function syncAutoHeight() {
|
|
58
|
+
if (!props2.autoHeight)
|
|
59
|
+
return;
|
|
60
|
+
const nextHeight = `${Math.ceil(editor$1.getContentHeight())}px`;
|
|
61
|
+
if (autoHeight.value === nextHeight)
|
|
62
|
+
return;
|
|
63
|
+
autoHeight.value = nextHeight;
|
|
64
|
+
nextTick(() => {
|
|
65
|
+
editor$1.layout();
|
|
66
|
+
});
|
|
67
|
+
}
|
|
43
68
|
const subjectModelValueWatcher = watchPausable(
|
|
44
69
|
() => props2.modelValue,
|
|
45
70
|
(v) => {
|
|
@@ -56,6 +81,8 @@ var _sfc_main = defineComponent({
|
|
|
56
81
|
subjectModelValueWatcher.resume();
|
|
57
82
|
});
|
|
58
83
|
});
|
|
84
|
+
const contentSizeDisposable = editor$1.onDidContentSizeChange(syncAutoHeight);
|
|
85
|
+
watchEffect(syncAutoHeight);
|
|
59
86
|
watchEffect(() => {
|
|
60
87
|
editor$1.updateOptions({
|
|
61
88
|
readOnly: props2.readOnly
|
|
@@ -66,27 +93,29 @@ var _sfc_main = defineComponent({
|
|
|
66
93
|
});
|
|
67
94
|
resizeObserver.observe(editorNode.value);
|
|
68
95
|
onBeforeUnmount(() => {
|
|
96
|
+
contentSizeDisposable.dispose();
|
|
69
97
|
resizeObserver.disconnect();
|
|
70
98
|
editor$1.dispose();
|
|
71
99
|
});
|
|
72
100
|
});
|
|
73
101
|
return {
|
|
74
|
-
editorNode
|
|
102
|
+
editorNode,
|
|
103
|
+
editorStyle
|
|
75
104
|
};
|
|
76
105
|
}
|
|
77
106
|
});
|
|
78
107
|
|
|
79
|
-
const _hoisted_1 = {
|
|
80
|
-
ref: "editorNode",
|
|
81
|
-
class: "vk-monaco-editor"
|
|
82
|
-
};
|
|
83
108
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
84
109
|
return openBlock(), createElementBlock(
|
|
85
110
|
"div",
|
|
86
|
-
|
|
111
|
+
{
|
|
112
|
+
ref: "editorNode",
|
|
113
|
+
class: "vk-monaco-editor",
|
|
114
|
+
style: normalizeStyle(_ctx.editorStyle)
|
|
115
|
+
},
|
|
87
116
|
null,
|
|
88
|
-
|
|
89
|
-
/*
|
|
117
|
+
4
|
|
118
|
+
/* STYLE */
|
|
90
119
|
);
|
|
91
120
|
}
|
|
92
121
|
var VkMonacoEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/vunk-plus/vunk-plus/packages/components/monaco-editor/src/index.vue"]]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { editor } from 'monaco-editor';
|
|
2
|
+
import type { PropType } from 'vue';
|
|
3
3
|
export declare const props: {
|
|
4
4
|
modelValue: {
|
|
5
5
|
type: StringConstructor;
|
|
@@ -13,11 +13,17 @@ export declare const props: {
|
|
|
13
13
|
type: BooleanConstructor;
|
|
14
14
|
default: boolean;
|
|
15
15
|
};
|
|
16
|
+
autoHeight: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
16
20
|
};
|
|
17
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"modelValue", keyof T2> | Extract<"readOnly", keyof T2> | Extract<"defaultOptions", keyof T2>)[]>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"readOnly", keyof T2>, KE> | Exclude<Extract<"defaultOptions", keyof T2>, KE> : Extract<"modelValue", keyof T2> | Extract<"readOnly", keyof T2> | Extract<"defaultOptions", keyof T2>]: { [k in Extract<"modelValue", keyof T2> | Extract<"readOnly", keyof T2> | Extract<"defaultOptions", keyof T2>]: T2[k]; }[P]; }>;
|
|
21
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"modelValue", keyof T2> | Extract<"readOnly", keyof T2> | Extract<"defaultOptions", keyof T2> | Extract<"autoHeight", keyof T2>)[]>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"readOnly", keyof T2>, KE> | Exclude<Extract<"defaultOptions", keyof T2>, KE> | Exclude<Extract<"autoHeight", keyof T2>, KE> : Extract<"modelValue", keyof T2> | Extract<"readOnly", keyof T2> | Extract<"defaultOptions", keyof T2> | Extract<"autoHeight", keyof T2>]: { [k in Extract<"modelValue", keyof T2> | Extract<"readOnly", keyof T2> | Extract<"defaultOptions", keyof T2> | Extract<"autoHeight", keyof T2>]: T2[k]; }[P]; }>;
|
|
18
22
|
export declare const emits: {
|
|
19
23
|
'update:modelValue': null;
|
|
24
|
+
load: (_editor: editor.IStandaloneCodeEditor) => boolean;
|
|
20
25
|
};
|
|
21
|
-
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends "update:modelValue"[]>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue", KE> : "update:modelValue"]: {
|
|
26
|
+
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("load" | "update:modelValue")[]>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"load", KE> | Exclude<"update:modelValue", KE> : "load" | "update:modelValue"]: {
|
|
22
27
|
'update:modelValue': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
28
|
+
load: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
23
29
|
}[P]; };
|
|
@@ -13,10 +13,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
13
13
|
type: BooleanConstructor;
|
|
14
14
|
default: boolean;
|
|
15
15
|
};
|
|
16
|
+
autoHeight: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
16
20
|
}>, {
|
|
17
21
|
editorNode: Ref<HTMLDivElement, HTMLDivElement>;
|
|
22
|
+
editorStyle: import("vue").ComputedRef<{
|
|
23
|
+
height: string;
|
|
24
|
+
} | undefined>;
|
|
18
25
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
26
|
'update:modelValue': null;
|
|
27
|
+
load: (_editor: mEditor.IStandaloneCodeEditor) => boolean;
|
|
20
28
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
29
|
modelValue: {
|
|
22
30
|
type: StringConstructor;
|
|
@@ -30,11 +38,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
30
38
|
type: BooleanConstructor;
|
|
31
39
|
default: boolean;
|
|
32
40
|
};
|
|
41
|
+
autoHeight: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
33
45
|
}>> & Readonly<{
|
|
46
|
+
onLoad?: ((_editor: mEditor.IStandaloneCodeEditor) => any) | undefined;
|
|
34
47
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
35
48
|
}>, {
|
|
36
49
|
modelValue: string;
|
|
37
50
|
readOnly: boolean;
|
|
38
51
|
defaultOptions: mEditor.IStandaloneEditorConstructionOptions;
|
|
52
|
+
autoHeight: boolean;
|
|
39
53
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
40
54
|
export default _default;
|
|
@@ -15,11 +15,11 @@ export declare const props: {
|
|
|
15
15
|
property: StringConstructor;
|
|
16
16
|
prop: StringConstructor;
|
|
17
17
|
width: {
|
|
18
|
-
type: (
|
|
18
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
19
19
|
default: string;
|
|
20
20
|
};
|
|
21
21
|
minWidth: {
|
|
22
|
-
type: (
|
|
22
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
23
23
|
default: string;
|
|
24
24
|
};
|
|
25
25
|
renderHeader: PropType<import("element-plus").TableColumnCtx<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["renderHeader"]>;
|
|
@@ -12,11 +12,11 @@ export declare const tableColumnProps: {
|
|
|
12
12
|
property: StringConstructor;
|
|
13
13
|
prop: StringConstructor;
|
|
14
14
|
width: {
|
|
15
|
-
type: (
|
|
15
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
18
|
minWidth: {
|
|
19
|
-
type: (
|
|
19
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
20
20
|
default: string;
|
|
21
21
|
};
|
|
22
22
|
renderHeader: PropType<TableColumnCtx<DefaultRow>["renderHeader"]>;
|
|
@@ -15,11 +15,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
15
15
|
property: StringConstructor;
|
|
16
16
|
prop: StringConstructor;
|
|
17
17
|
width: {
|
|
18
|
-
type: (
|
|
18
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
19
19
|
default: string;
|
|
20
20
|
};
|
|
21
21
|
minWidth: {
|
|
22
|
-
type: (
|
|
22
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
23
23
|
default: string;
|
|
24
24
|
};
|
|
25
25
|
renderHeader: import("vue").PropType<import("element-plus").TableColumnCtx<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["renderHeader"]>;
|
|
@@ -73,11 +73,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
73
73
|
property: StringConstructor;
|
|
74
74
|
prop: StringConstructor;
|
|
75
75
|
width: {
|
|
76
|
-
type: (
|
|
76
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
77
77
|
default: string;
|
|
78
78
|
};
|
|
79
79
|
minWidth: {
|
|
80
|
-
type: (
|
|
80
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
81
81
|
default: string;
|
|
82
82
|
};
|
|
83
83
|
renderHeader: import("vue").PropType<import("element-plus").TableColumnCtx<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["renderHeader"]>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AnyFunc } from '@vunk/core';
|
|
2
2
|
import type { CSSProperties, PropType } from 'vue';
|
|
3
3
|
import type { Column } from './types';
|
|
4
|
-
export declare const createPaginationBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"small", keyof T2> | Extract<"
|
|
4
|
+
export declare const createPaginationBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"small", keyof T2> | Extract<"layout", keyof T2> | Extract<"disabled", keyof T2> | Extract<"background", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"teleported", keyof T2> | Extract<"pageSize", keyof T2> | Extract<"defaultPageSize", keyof T2> | Extract<"total", keyof T2> | Extract<"pageCount", keyof T2> | Extract<"pagerCount", keyof T2> | Extract<"currentPage", keyof T2> | Extract<"defaultCurrentPage", keyof T2> | Extract<"pageSizes", keyof T2> | Extract<"prevText", keyof T2> | Extract<"prevIcon", keyof T2> | Extract<"nextText", keyof T2> | Extract<"nextIcon", keyof T2> | Extract<"hideOnSinglePage", keyof T2> | Extract<"appendSizeTo", keyof T2>)[]>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"small", keyof T2>, KE> | Exclude<Extract<"layout", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"background", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"popperStyle", keyof T2>, KE> | Exclude<Extract<"teleported", keyof T2>, KE> | Exclude<Extract<"pageSize", keyof T2>, KE> | Exclude<Extract<"defaultPageSize", keyof T2>, KE> | Exclude<Extract<"total", keyof T2>, KE> | Exclude<Extract<"pageCount", keyof T2>, KE> | Exclude<Extract<"pagerCount", keyof T2>, KE> | Exclude<Extract<"currentPage", keyof T2>, KE> | Exclude<Extract<"defaultCurrentPage", keyof T2>, KE> | Exclude<Extract<"pageSizes", keyof T2>, KE> | Exclude<Extract<"prevText", keyof T2>, KE> | Exclude<Extract<"prevIcon", keyof T2>, KE> | Exclude<Extract<"nextText", keyof T2>, KE> | Exclude<Extract<"nextIcon", keyof T2>, KE> | Exclude<Extract<"hideOnSinglePage", keyof T2>, KE> | Exclude<Extract<"appendSizeTo", keyof T2>, KE> : Extract<"size", keyof T2> | Extract<"small", keyof T2> | Extract<"layout", keyof T2> | Extract<"disabled", keyof T2> | Extract<"background", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"teleported", keyof T2> | Extract<"pageSize", keyof T2> | Extract<"defaultPageSize", keyof T2> | Extract<"total", keyof T2> | Extract<"pageCount", keyof T2> | Extract<"pagerCount", keyof T2> | Extract<"currentPage", keyof T2> | Extract<"defaultCurrentPage", keyof T2> | Extract<"pageSizes", keyof T2> | Extract<"prevText", keyof T2> | Extract<"prevIcon", keyof T2> | Extract<"nextText", keyof T2> | Extract<"nextIcon", keyof T2> | Extract<"hideOnSinglePage", keyof T2> | Extract<"appendSizeTo", keyof T2>]: { [k in Extract<"size", keyof T2> | Extract<"small", keyof T2> | Extract<"layout", keyof T2> | Extract<"disabled", keyof T2> | Extract<"background", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"teleported", keyof T2> | Extract<"pageSize", keyof T2> | Extract<"defaultPageSize", keyof T2> | Extract<"total", keyof T2> | Extract<"pageCount", keyof T2> | Extract<"pagerCount", keyof T2> | Extract<"currentPage", keyof T2> | Extract<"defaultCurrentPage", keyof T2> | Extract<"pageSizes", keyof T2> | Extract<"prevText", keyof T2> | Extract<"prevIcon", keyof T2> | Extract<"nextText", keyof T2> | Extract<"nextIcon", keyof T2> | Extract<"hideOnSinglePage", keyof T2> | Extract<"appendSizeTo", keyof T2>]: T2[k]; }[P]; }>;
|
|
5
5
|
export declare const createPaginationOnEmits: <T2 extends AnyFunc, EX extends ("change" | "current-change" | "update:current-page" | "update:page-size" | "size-change" | "prev-click" | "next-click")[]>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"change", KE> | Exclude<"current-change", KE> | Exclude<"update:current-page", KE> | Exclude<"update:page-size", KE> | Exclude<"size-change", KE> | Exclude<"prev-click", KE> | Exclude<"next-click", KE> : "change" | "current-change" | "update:current-page" | "update:page-size" | "size-change" | "prev-click" | "next-click"]: {
|
|
6
6
|
'update:current-page': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
7
7
|
'update:page-size': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
@@ -11,7 +11,7 @@ export declare const createPaginationOnEmits: <T2 extends AnyFunc, EX extends ("
|
|
|
11
11
|
'prev-click': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
12
12
|
'next-click': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
13
13
|
}[P]; };
|
|
14
|
-
export declare const createTableBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"
|
|
14
|
+
export declare const createTableBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"data", keyof T2> | Extract<"size", keyof T2> | Extract<"load", keyof T2> | Extract<"height", keyof T2> | Extract<"width", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"border", keyof T2> | Extract<"fit", 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<"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<"height", keyof T2>, KE> | Exclude<Extract<"width", keyof T2>, KE> | Exclude<Extract<"maxHeight", keyof T2>, KE> | Exclude<Extract<"border", keyof T2>, KE> | Exclude<Extract<"fit", 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<"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<"height", keyof T2> | Extract<"width", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"border", keyof T2> | Extract<"fit", 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<"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<"height", keyof T2> | Extract<"width", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"border", keyof T2> | Extract<"fit", 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<"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]; }>;
|
|
15
15
|
export declare const props: {
|
|
16
16
|
border: {
|
|
17
17
|
type: BooleanConstructor;
|
|
@@ -79,24 +79,24 @@ export declare const props: {
|
|
|
79
79
|
type: BooleanConstructor;
|
|
80
80
|
default: boolean;
|
|
81
81
|
};
|
|
82
|
+
data: {
|
|
83
|
+
type: PropType<import("./el-ctx").DefaultRow[]>;
|
|
84
|
+
default: () => never[];
|
|
85
|
+
};
|
|
82
86
|
size: {
|
|
83
87
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
84
88
|
readonly required: false;
|
|
85
89
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
86
90
|
__epPropKey: true;
|
|
87
91
|
};
|
|
92
|
+
load: PropType<((row: any, treeNode: import("element-plus").TreeNode, resolve: (data: any[]) => void) => void) | undefined>;
|
|
93
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
94
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
95
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
88
96
|
fit: {
|
|
89
97
|
type: BooleanConstructor;
|
|
90
98
|
default: boolean;
|
|
91
99
|
};
|
|
92
|
-
data: {
|
|
93
|
-
type: PropType<import("./el-ctx").DefaultRow[]>;
|
|
94
|
-
default: () => never[];
|
|
95
|
-
};
|
|
96
|
-
load: PropType<((row: any, treeNode: import("element-plus").TreeNode, resolve: (data: any[]) => void) => void) | undefined>;
|
|
97
|
-
height: (NumberConstructor | StringConstructor)[];
|
|
98
|
-
width: (NumberConstructor | StringConstructor)[];
|
|
99
|
-
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
100
100
|
showOverflowTooltip: PropType<boolean | Partial<Pick<import("element-plus").ElTooltipProps, "hideAfter" | "appendTo" | "placement" | "offset" | "transition" | "popperClass" | "showArrow" | "effect" | "enterable" | "popperOptions" | "showAfter">> | undefined>;
|
|
101
101
|
rowKey: PropType<string | ((row: any) => string) | undefined>;
|
|
102
102
|
summaryMethod: PropType<import("element-plus").SummaryMethod<any> | undefined>;
|
|
@@ -128,7 +128,7 @@ export declare const props: {
|
|
|
128
128
|
showSummary: BooleanConstructor;
|
|
129
129
|
sumText: StringConstructor;
|
|
130
130
|
highlightCurrentRow: BooleanConstructor;
|
|
131
|
-
currentRowKey: (
|
|
131
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
132
132
|
emptyText: StringConstructor;
|
|
133
133
|
defaultExpandAll: BooleanConstructor;
|
|
134
134
|
tooltipEffect: StringConstructor;
|
|
@@ -157,7 +157,7 @@ export declare const props: {
|
|
|
157
157
|
flexible: BooleanConstructor;
|
|
158
158
|
appendFilterPanelTo: StringConstructor;
|
|
159
159
|
scrollbarTabindex: {
|
|
160
|
-
type: (
|
|
160
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
161
161
|
default: undefined;
|
|
162
162
|
};
|
|
163
163
|
defaultPageSize: NumberConstructor;
|
|
@@ -193,7 +193,7 @@ export declare const props: {
|
|
|
193
193
|
property: StringConstructor;
|
|
194
194
|
prop: StringConstructor;
|
|
195
195
|
minWidth: {
|
|
196
|
-
type: (
|
|
196
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
197
197
|
default: string;
|
|
198
198
|
};
|
|
199
199
|
renderHeader: PropType<import("element-plus").TableColumnCtx<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["renderHeader"]>;
|
|
@@ -228,7 +228,7 @@ export declare const props: {
|
|
|
228
228
|
validator: (val: import("element-plus").TableColumnCtx<any>["sortOrders"]) => boolean;
|
|
229
229
|
};
|
|
230
230
|
};
|
|
231
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"fit", keyof T2> | Extract<"small", keyof T2> | Extract<"type", keyof T2> | Extract<"fixed", keyof T2> | Extract<"data", keyof T2> | Extract<"filters", keyof T2> | Extract<"background", keyof T2> | Extract<"load", keyof T2> | Extract<"height", keyof T2> | Extract<"width", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"start", keyof T2> | Extract<"layout", keyof T2> | Extract<"border", keyof T2> | Extract<"disabled", keyof T2> | Extract<"label", keyof T2> | Extract<"elRef", keyof T2> | Extract<"modules", keyof T2> | Extract<"className", keyof T2> | Extract<"resizable", keyof T2> | Extract<"index", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"teleported", keyof T2> | Extract<"labelClassName", keyof T2> | Extract<"property", keyof T2> | Extract<"prop", keyof T2> | Extract<"minWidth", keyof T2> | Extract<"renderHeader", keyof T2> | Extract<"sortable", keyof T2> | Extract<"sortMethod", keyof T2> | Extract<"sortBy", keyof T2> | Extract<"columnKey", keyof T2> | Extract<"align", keyof T2> | Extract<"headerAlign", keyof T2> | Extract<"showOverflowTooltip", keyof T2> | Extract<"formatter", keyof T2> | Extract<"selectable", keyof T2> | Extract<"reserveSelection", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"filteredValue", keyof T2> | Extract<"filterPlacement", keyof T2> | Extract<"filterMultiple", keyof T2> | Extract<"sortOrders", keyof T2> | Extract<"showTooltipWhenOverflow", 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<"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> | Extract<"pageSize", keyof T2> | Extract<"defaultPageSize", keyof T2> | Extract<"total", keyof T2> | Extract<"pageCount", keyof T2> | Extract<"pagerCount", keyof T2> | Extract<"currentPage", keyof T2> | Extract<"defaultCurrentPage", keyof T2> | Extract<"pageSizes", keyof T2> | Extract<"prevText", keyof T2> | Extract<"prevIcon", keyof T2> | Extract<"nextText", keyof T2> | Extract<"nextIcon", keyof T2> | Extract<"hideOnSinglePage", keyof T2> | Extract<"appendSizeTo", keyof T2> | Extract<"tableClass", keyof T2> | Extract<"tableStyle", keyof T2> | Extract<"columns", keyof T2> | Extract<"duplexFull", keyof T2>)[]>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"fit", keyof T2>, KE> | Exclude<Extract<"small", keyof T2>, KE> | Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"fixed", keyof T2>, KE> | Exclude<Extract<"data", keyof T2>, KE> | Exclude<Extract<"filters", keyof T2>, KE> | Exclude<Extract<"background", keyof T2>, KE> | Exclude<Extract<"load", keyof T2>, KE> | Exclude<Extract<"height", keyof T2>, KE> | Exclude<Extract<"width", keyof T2>, KE> | Exclude<Extract<"maxHeight", keyof T2>, KE> | Exclude<Extract<"start", keyof T2>, KE> | Exclude<Extract<"layout", keyof T2>, KE> | Exclude<Extract<"border", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"modules", keyof T2>, KE> | Exclude<Extract<"className", keyof T2>, KE> | Exclude<Extract<"resizable", keyof T2>, KE> | Exclude<Extract<"index", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"popperStyle", keyof T2>, KE> | Exclude<Extract<"teleported", keyof T2>, KE> | Exclude<Extract<"labelClassName", keyof T2>, KE> | Exclude<Extract<"property", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"minWidth", keyof T2>, KE> | Exclude<Extract<"renderHeader", keyof T2>, KE> | Exclude<Extract<"sortable", keyof T2>, KE> | Exclude<Extract<"sortMethod", keyof T2>, KE> | Exclude<Extract<"sortBy", keyof T2>, KE> | Exclude<Extract<"columnKey", keyof T2>, KE> | Exclude<Extract<"align", keyof T2>, KE> | Exclude<Extract<"headerAlign", keyof T2>, KE> | Exclude<Extract<"showOverflowTooltip", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"selectable", keyof T2>, KE> | Exclude<Extract<"reserveSelection", keyof T2>, KE> | Exclude<Extract<"filterMethod", keyof T2>, KE> | Exclude<Extract<"filteredValue", keyof T2>, KE> | Exclude<Extract<"filterPlacement", keyof T2>, KE> | Exclude<Extract<"filterMultiple", keyof T2>, KE> | Exclude<Extract<"sortOrders", keyof T2>, KE> | Exclude<Extract<"showTooltipWhenOverflow", 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<"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> | Exclude<Extract<"pageSize", keyof T2>, KE> | Exclude<Extract<"defaultPageSize", keyof T2>, KE> | Exclude<Extract<"total", keyof T2>, KE> | Exclude<Extract<"pageCount", keyof T2>, KE> | Exclude<Extract<"pagerCount", keyof T2>, KE> | Exclude<Extract<"currentPage", keyof T2>, KE> | Exclude<Extract<"defaultCurrentPage", keyof T2>, KE> | Exclude<Extract<"pageSizes", keyof T2>, KE> | Exclude<Extract<"prevText", keyof T2>, KE> | Exclude<Extract<"prevIcon", keyof T2>, KE> | Exclude<Extract<"nextText", keyof T2>, KE> | Exclude<Extract<"nextIcon", keyof T2>, KE> | Exclude<Extract<"hideOnSinglePage", keyof T2>, KE> | Exclude<Extract<"appendSizeTo", keyof T2>, KE> | Exclude<Extract<"tableClass", keyof T2>, KE> | Exclude<Extract<"tableStyle", keyof T2>, KE> | Exclude<Extract<"columns", keyof T2>, KE> | Exclude<Extract<"duplexFull", keyof T2>, KE> : Extract<"size", keyof T2> | Extract<"fit", keyof T2> | Extract<"small", keyof T2> | Extract<"type", keyof T2> | Extract<"fixed", keyof T2> | Extract<"data", keyof T2> | Extract<"filters", keyof T2> | Extract<"background", keyof T2> | Extract<"load", keyof T2> | Extract<"height", keyof T2> | Extract<"width", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"start", keyof T2> | Extract<"layout", keyof T2> | Extract<"border", keyof T2> | Extract<"disabled", keyof T2> | Extract<"label", keyof T2> | Extract<"elRef", keyof T2> | Extract<"modules", keyof T2> | Extract<"className", keyof T2> | Extract<"resizable", keyof T2> | Extract<"index", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"teleported", keyof T2> | Extract<"labelClassName", keyof T2> | Extract<"property", keyof T2> | Extract<"prop", keyof T2> | Extract<"minWidth", keyof T2> | Extract<"renderHeader", keyof T2> | Extract<"sortable", keyof T2> | Extract<"sortMethod", keyof T2> | Extract<"sortBy", keyof T2> | Extract<"columnKey", keyof T2> | Extract<"align", keyof T2> | Extract<"headerAlign", keyof T2> | Extract<"showOverflowTooltip", keyof T2> | Extract<"formatter", keyof T2> | Extract<"selectable", keyof T2> | Extract<"reserveSelection", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"filteredValue", keyof T2> | Extract<"filterPlacement", keyof T2> | Extract<"filterMultiple", keyof T2> | Extract<"sortOrders", keyof T2> | Extract<"showTooltipWhenOverflow", 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<"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> | Extract<"pageSize", keyof T2> | Extract<"defaultPageSize", keyof T2> | Extract<"total", keyof T2> | Extract<"pageCount", keyof T2> | Extract<"pagerCount", keyof T2> | Extract<"currentPage", keyof T2> | Extract<"defaultCurrentPage", keyof T2> | Extract<"pageSizes", keyof T2> | Extract<"prevText", keyof T2> | Extract<"prevIcon", keyof T2> | Extract<"nextText", keyof T2> | Extract<"nextIcon", keyof T2> | Extract<"hideOnSinglePage", keyof T2> | Extract<"appendSizeTo", keyof T2> | Extract<"tableClass", keyof T2> | Extract<"tableStyle", keyof T2> | Extract<"columns", keyof T2> | Extract<"duplexFull", keyof T2>]: { [k in Extract<"size", keyof T2> | Extract<"fit", keyof T2> | Extract<"small", keyof T2> | Extract<"type", keyof T2> | Extract<"fixed", keyof T2> | Extract<"data", keyof T2> | Extract<"filters", keyof T2> | Extract<"background", keyof T2> | Extract<"load", keyof T2> | Extract<"height", keyof T2> | Extract<"width", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"start", keyof T2> | Extract<"layout", keyof T2> | Extract<"border", keyof T2> | Extract<"disabled", keyof T2> | Extract<"label", keyof T2> | Extract<"elRef", keyof T2> | Extract<"modules", keyof T2> | Extract<"className", keyof T2> | Extract<"resizable", keyof T2> | Extract<"index", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"teleported", keyof T2> | Extract<"labelClassName", keyof T2> | Extract<"property", keyof T2> | Extract<"prop", keyof T2> | Extract<"minWidth", keyof T2> | Extract<"renderHeader", keyof T2> | Extract<"sortable", keyof T2> | Extract<"sortMethod", keyof T2> | Extract<"sortBy", keyof T2> | Extract<"columnKey", keyof T2> | Extract<"align", keyof T2> | Extract<"headerAlign", keyof T2> | Extract<"showOverflowTooltip", keyof T2> | Extract<"formatter", keyof T2> | Extract<"selectable", keyof T2> | Extract<"reserveSelection", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"filteredValue", keyof T2> | Extract<"filterPlacement", keyof T2> | Extract<"filterMultiple", keyof T2> | Extract<"sortOrders", keyof T2> | Extract<"showTooltipWhenOverflow", 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<"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> | Extract<"pageSize", keyof T2> | Extract<"defaultPageSize", keyof T2> | Extract<"total", keyof T2> | Extract<"pageCount", keyof T2> | Extract<"pagerCount", keyof T2> | Extract<"currentPage", keyof T2> | Extract<"defaultCurrentPage", keyof T2> | Extract<"pageSizes", keyof T2> | Extract<"prevText", keyof T2> | Extract<"prevIcon", keyof T2> | Extract<"nextText", keyof T2> | Extract<"nextIcon", keyof T2> | Extract<"hideOnSinglePage", keyof T2> | Extract<"appendSizeTo", keyof T2> | Extract<"tableClass", keyof T2> | Extract<"tableStyle", keyof T2> | Extract<"columns", keyof T2> | Extract<"duplexFull", keyof T2>]: T2[k]; }[P]; }>;
|
|
231
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"data", keyof T2> | Extract<"size", keyof T2> | Extract<"fixed", keyof T2> | Extract<"small", keyof T2> | Extract<"filters", keyof T2> | Extract<"load", keyof T2> | Extract<"height", keyof T2> | Extract<"width", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"start", keyof T2> | Extract<"layout", keyof T2> | Extract<"border", keyof T2> | Extract<"disabled", keyof T2> | Extract<"label", keyof T2> | Extract<"elRef", keyof T2> | Extract<"modules", keyof T2> | Extract<"fit", keyof T2> | Extract<"background", keyof T2> | Extract<"className", keyof T2> | Extract<"resizable", keyof T2> | Extract<"index", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"teleported", keyof T2> | Extract<"labelClassName", keyof T2> | Extract<"property", keyof T2> | Extract<"prop", keyof T2> | Extract<"minWidth", keyof T2> | Extract<"renderHeader", keyof T2> | Extract<"sortable", keyof T2> | Extract<"sortMethod", keyof T2> | Extract<"sortBy", keyof T2> | Extract<"columnKey", keyof T2> | Extract<"align", keyof T2> | Extract<"headerAlign", keyof T2> | Extract<"showOverflowTooltip", keyof T2> | Extract<"formatter", keyof T2> | Extract<"selectable", keyof T2> | Extract<"reserveSelection", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"filteredValue", keyof T2> | Extract<"filterPlacement", keyof T2> | Extract<"filterMultiple", keyof T2> | Extract<"sortOrders", keyof T2> | Extract<"showTooltipWhenOverflow", 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<"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> | Extract<"pageSize", keyof T2> | Extract<"defaultPageSize", keyof T2> | Extract<"total", keyof T2> | Extract<"pageCount", keyof T2> | Extract<"pagerCount", keyof T2> | Extract<"currentPage", keyof T2> | Extract<"defaultCurrentPage", keyof T2> | Extract<"pageSizes", keyof T2> | Extract<"prevText", keyof T2> | Extract<"prevIcon", keyof T2> | Extract<"nextText", keyof T2> | Extract<"nextIcon", keyof T2> | Extract<"hideOnSinglePage", keyof T2> | Extract<"appendSizeTo", keyof T2> | Extract<"tableClass", keyof T2> | Extract<"tableStyle", keyof T2> | Extract<"columns", keyof T2> | Extract<"duplexFull", keyof T2>)[]>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"data", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"fixed", keyof T2>, KE> | Exclude<Extract<"small", keyof T2>, KE> | Exclude<Extract<"filters", keyof T2>, KE> | Exclude<Extract<"load", keyof T2>, KE> | Exclude<Extract<"height", keyof T2>, KE> | Exclude<Extract<"width", keyof T2>, KE> | Exclude<Extract<"maxHeight", keyof T2>, KE> | Exclude<Extract<"start", keyof T2>, KE> | Exclude<Extract<"layout", keyof T2>, KE> | Exclude<Extract<"border", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"modules", keyof T2>, KE> | Exclude<Extract<"fit", keyof T2>, KE> | Exclude<Extract<"background", keyof T2>, KE> | Exclude<Extract<"className", keyof T2>, KE> | Exclude<Extract<"resizable", keyof T2>, KE> | Exclude<Extract<"index", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"popperStyle", keyof T2>, KE> | Exclude<Extract<"teleported", keyof T2>, KE> | Exclude<Extract<"labelClassName", keyof T2>, KE> | Exclude<Extract<"property", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"minWidth", keyof T2>, KE> | Exclude<Extract<"renderHeader", keyof T2>, KE> | Exclude<Extract<"sortable", keyof T2>, KE> | Exclude<Extract<"sortMethod", keyof T2>, KE> | Exclude<Extract<"sortBy", keyof T2>, KE> | Exclude<Extract<"columnKey", keyof T2>, KE> | Exclude<Extract<"align", keyof T2>, KE> | Exclude<Extract<"headerAlign", keyof T2>, KE> | Exclude<Extract<"showOverflowTooltip", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"selectable", keyof T2>, KE> | Exclude<Extract<"reserveSelection", keyof T2>, KE> | Exclude<Extract<"filterMethod", keyof T2>, KE> | Exclude<Extract<"filteredValue", keyof T2>, KE> | Exclude<Extract<"filterPlacement", keyof T2>, KE> | Exclude<Extract<"filterMultiple", keyof T2>, KE> | Exclude<Extract<"sortOrders", keyof T2>, KE> | Exclude<Extract<"showTooltipWhenOverflow", 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<"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> | Exclude<Extract<"pageSize", keyof T2>, KE> | Exclude<Extract<"defaultPageSize", keyof T2>, KE> | Exclude<Extract<"total", keyof T2>, KE> | Exclude<Extract<"pageCount", keyof T2>, KE> | Exclude<Extract<"pagerCount", keyof T2>, KE> | Exclude<Extract<"currentPage", keyof T2>, KE> | Exclude<Extract<"defaultCurrentPage", keyof T2>, KE> | Exclude<Extract<"pageSizes", keyof T2>, KE> | Exclude<Extract<"prevText", keyof T2>, KE> | Exclude<Extract<"prevIcon", keyof T2>, KE> | Exclude<Extract<"nextText", keyof T2>, KE> | Exclude<Extract<"nextIcon", keyof T2>, KE> | Exclude<Extract<"hideOnSinglePage", keyof T2>, KE> | Exclude<Extract<"appendSizeTo", keyof T2>, KE> | Exclude<Extract<"tableClass", keyof T2>, KE> | Exclude<Extract<"tableStyle", keyof T2>, KE> | Exclude<Extract<"columns", keyof T2>, KE> | Exclude<Extract<"duplexFull", keyof T2>, KE> : Extract<"type", keyof T2> | Extract<"data", keyof T2> | Extract<"size", keyof T2> | Extract<"fixed", keyof T2> | Extract<"small", keyof T2> | Extract<"filters", keyof T2> | Extract<"load", keyof T2> | Extract<"height", keyof T2> | Extract<"width", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"start", keyof T2> | Extract<"layout", keyof T2> | Extract<"border", keyof T2> | Extract<"disabled", keyof T2> | Extract<"label", keyof T2> | Extract<"elRef", keyof T2> | Extract<"modules", keyof T2> | Extract<"fit", keyof T2> | Extract<"background", keyof T2> | Extract<"className", keyof T2> | Extract<"resizable", keyof T2> | Extract<"index", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"teleported", keyof T2> | Extract<"labelClassName", keyof T2> | Extract<"property", keyof T2> | Extract<"prop", keyof T2> | Extract<"minWidth", keyof T2> | Extract<"renderHeader", keyof T2> | Extract<"sortable", keyof T2> | Extract<"sortMethod", keyof T2> | Extract<"sortBy", keyof T2> | Extract<"columnKey", keyof T2> | Extract<"align", keyof T2> | Extract<"headerAlign", keyof T2> | Extract<"showOverflowTooltip", keyof T2> | Extract<"formatter", keyof T2> | Extract<"selectable", keyof T2> | Extract<"reserveSelection", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"filteredValue", keyof T2> | Extract<"filterPlacement", keyof T2> | Extract<"filterMultiple", keyof T2> | Extract<"sortOrders", keyof T2> | Extract<"showTooltipWhenOverflow", 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<"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> | Extract<"pageSize", keyof T2> | Extract<"defaultPageSize", keyof T2> | Extract<"total", keyof T2> | Extract<"pageCount", keyof T2> | Extract<"pagerCount", keyof T2> | Extract<"currentPage", keyof T2> | Extract<"defaultCurrentPage", keyof T2> | Extract<"pageSizes", keyof T2> | Extract<"prevText", keyof T2> | Extract<"prevIcon", keyof T2> | Extract<"nextText", keyof T2> | Extract<"nextIcon", keyof T2> | Extract<"hideOnSinglePage", keyof T2> | Extract<"appendSizeTo", keyof T2> | Extract<"tableClass", keyof T2> | Extract<"tableStyle", keyof T2> | Extract<"columns", keyof T2> | Extract<"duplexFull", keyof T2>]: { [k in Extract<"type", keyof T2> | Extract<"data", keyof T2> | Extract<"size", keyof T2> | Extract<"fixed", keyof T2> | Extract<"small", keyof T2> | Extract<"filters", keyof T2> | Extract<"load", keyof T2> | Extract<"height", keyof T2> | Extract<"width", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"start", keyof T2> | Extract<"layout", keyof T2> | Extract<"border", keyof T2> | Extract<"disabled", keyof T2> | Extract<"label", keyof T2> | Extract<"elRef", keyof T2> | Extract<"modules", keyof T2> | Extract<"fit", keyof T2> | Extract<"background", keyof T2> | Extract<"className", keyof T2> | Extract<"resizable", keyof T2> | Extract<"index", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"teleported", keyof T2> | Extract<"labelClassName", keyof T2> | Extract<"property", keyof T2> | Extract<"prop", keyof T2> | Extract<"minWidth", keyof T2> | Extract<"renderHeader", keyof T2> | Extract<"sortable", keyof T2> | Extract<"sortMethod", keyof T2> | Extract<"sortBy", keyof T2> | Extract<"columnKey", keyof T2> | Extract<"align", keyof T2> | Extract<"headerAlign", keyof T2> | Extract<"showOverflowTooltip", keyof T2> | Extract<"formatter", keyof T2> | Extract<"selectable", keyof T2> | Extract<"reserveSelection", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"filteredValue", keyof T2> | Extract<"filterPlacement", keyof T2> | Extract<"filterMultiple", keyof T2> | Extract<"sortOrders", keyof T2> | Extract<"showTooltipWhenOverflow", 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<"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> | Extract<"pageSize", keyof T2> | Extract<"defaultPageSize", keyof T2> | Extract<"total", keyof T2> | Extract<"pageCount", keyof T2> | Extract<"pagerCount", keyof T2> | Extract<"currentPage", keyof T2> | Extract<"defaultCurrentPage", keyof T2> | Extract<"pageSizes", keyof T2> | Extract<"prevText", keyof T2> | Extract<"prevIcon", keyof T2> | Extract<"nextText", keyof T2> | Extract<"nextIcon", keyof T2> | Extract<"hideOnSinglePage", keyof T2> | Extract<"appendSizeTo", keyof T2> | Extract<"tableClass", keyof T2> | Extract<"tableStyle", keyof T2> | Extract<"columns", keyof T2> | Extract<"duplexFull", keyof T2>]: T2[k]; }[P]; }>;
|
|
232
232
|
export declare const emits: {
|
|
233
233
|
'update:start': (val: number) => boolean;
|
|
234
234
|
select: null;
|
|
@@ -35,15 +35,15 @@ export declare const tableProps: {
|
|
|
35
35
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
36
36
|
__epPropKey: true;
|
|
37
37
|
};
|
|
38
|
-
width: (
|
|
38
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
39
39
|
/**
|
|
40
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
41
|
*/
|
|
42
|
-
height: (
|
|
42
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
43
43
|
/**
|
|
44
44
|
* @description table's max-height. The legal value is a number or the height in px
|
|
45
45
|
*/
|
|
46
|
-
maxHeight: (
|
|
46
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
47
47
|
/**
|
|
48
48
|
* @description whether width of column automatically fits its container
|
|
49
49
|
*/
|
|
@@ -121,7 +121,7 @@ export declare const tableProps: {
|
|
|
121
121
|
/**
|
|
122
122
|
* @description key of current row, a set only prop
|
|
123
123
|
*/
|
|
124
|
-
currentRowKey: (
|
|
124
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
125
125
|
/**
|
|
126
126
|
* @description displayed text when data is empty. You can customize this area with `#empty`
|
|
127
127
|
*/
|
|
@@ -212,11 +212,11 @@ export declare const tableProps: {
|
|
|
212
212
|
showOverflowTooltip: PropType<TableProps<DefaultRow>["showOverflowTooltip"]>;
|
|
213
213
|
appendFilterPanelTo: StringConstructor;
|
|
214
214
|
scrollbarTabindex: {
|
|
215
|
-
type: (
|
|
215
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
216
216
|
default: undefined;
|
|
217
217
|
};
|
|
218
218
|
};
|
|
219
|
-
export declare const createElTableBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"
|
|
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<"height", keyof T2> | Extract<"width", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"style", keyof T2> | Extract<"border", keyof T2> | Extract<"fit", keyof T2> | Extract<"className", 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<"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<"height", keyof T2>, KE> | Exclude<Extract<"width", keyof T2>, KE> | Exclude<Extract<"maxHeight", keyof T2>, KE> | Exclude<Extract<"style", keyof T2>, KE> | Exclude<Extract<"border", keyof T2>, KE> | Exclude<Extract<"fit", keyof T2>, KE> | Exclude<Extract<"className", 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<"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<"height", keyof T2> | Extract<"width", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"style", keyof T2> | Extract<"border", keyof T2> | Extract<"fit", keyof T2> | Extract<"className", 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<"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<"height", keyof T2> | Extract<"width", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"style", keyof T2> | Extract<"border", keyof T2> | Extract<"fit", keyof T2> | Extract<"className", 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<"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
220
|
export declare const tableEmits: {
|
|
221
221
|
select: null;
|
|
222
222
|
'select-all': null;
|