@vunk/form 2.2.3 → 2.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/api-tables-select/index.cjs +468 -0
- package/components/api-tables-select/index.d.ts +4 -0
- package/components/api-tables-select/index.mjs +462 -0
- package/components/api-tables-select/src/ctx.d.ts +340 -0
- package/components/api-tables-select/src/index.vue.d.ts +845 -0
- package/components/api-tables-select/src/types.d.ts +19 -0
- package/components/button/src/index.vue.d.ts +16 -16
- package/components/card-input-collection/index.cjs +1 -0
- package/components/card-input-collection/index.mjs +1 -0
- package/components/card-input-collection/src/index.vue.d.ts +3 -3
- package/components/cascader/src/ctx.d.ts +2 -2
- package/components/cascader/src/index.vue.d.ts +22 -22
- package/components/checkbox/src/ctx.d.ts +1 -1
- package/components/checkbox/src/index.vue.d.ts +8 -8
- package/components/cloneDeep.cjs +25 -180
- package/components/cloneDeep.mjs +1 -156
- package/components/color-picker/src/index.vue.d.ts +4 -4
- package/components/date-picker/src/ctx.d.ts +2 -2
- package/components/date-picker/src/index.vue.d.ts +18 -18
- package/components/date-picker-range/src/ctx.d.ts +21 -21
- package/components/date-picker-range/src/index.vue.d.ts +50 -50
- package/components/download-plus/src/index.vue.d.ts +1 -1
- package/components/esri-input-geojson/src/append.vue.d.ts +1 -1
- package/components/esri-input-geojson/src/ctx.d.ts +2 -2
- package/components/esri-input-geojson/src/index.vue.d.ts +18 -18
- package/components/form/src/ctx.d.ts +2 -2
- package/components/form/src/index.vue.d.ts +11 -11
- package/components/form-item/src/index.vue.d.ts +2 -2
- package/components/input/src/ctx.d.ts +2 -2
- package/components/input/src/index.vue.d.ts +13 -13
- package/components/input-collection/index.cjs +1 -0
- package/components/input-collection/index.mjs +1 -0
- package/components/input-collection/src/index.vue.d.ts +4 -4
- package/components/input-link/src/index.vue.d.ts +6 -6
- package/components/input-number/src/ctx.d.ts +2 -2
- package/components/input-number/src/index.vue.d.ts +9 -9
- package/components/isObject.cjs +165 -0
- package/components/isObject.mjs +158 -0
- package/components/monaco-editor/src/index.vue.d.ts +2 -2
- package/components/radio/src/index.vue.d.ts +7 -7
- package/components/select/src/ctx.d.ts +3 -3
- package/components/select/src/index.vue.d.ts +24 -24
- package/components/slider/src/index.vue.d.ts +11 -11
- package/components/switch/src/index.vue.d.ts +10 -10
- package/components/tables-select/index.cjs +30 -4
- package/components/tables-select/index.d.ts +1 -0
- package/components/tables-select/index.mjs +30 -5
- package/components/tables-select/src/ctx.d.ts +15 -6
- package/components/tables-select/src/index.vue.d.ts +126 -116
- package/components/tables-select/src/types.d.ts +9 -1
- package/components/upload/src/ctx.d.ts +1 -1
- package/components/upload/src/index.vue.d.ts +4 -4
- package/components/upload-plus/src/index.vue.d.ts +1 -1
- package/components/van-cascader/src/index.vue.d.ts +14 -14
- package/components/var-datetime-picker/src/index.vue.d.ts +2 -2
- package/components/vditor/src/index.vue.d.ts +2 -2
- package/package.json +6 -1
|
@@ -115,14 +115,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
115
115
|
}>, {
|
|
116
116
|
formItemBindProps: import("vue").ComputedRef<{}>;
|
|
117
117
|
switchBindProps: import("vue").ComputedRef<{
|
|
118
|
-
size: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "" | "small" | "default" | "large") | (() => "" | "small" | "default" | "large") | ((new (...args: any[]) => "" | "small" | "default" | "large") | (() => "" | "small" | "default" | "large"))[], unknown, "" | "
|
|
119
|
-
loading: boolean;
|
|
120
|
-
name: string;
|
|
118
|
+
size: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "" | "small" | "default" | "large") | (() => "" | "small" | "default" | "large") | ((new (...args: any[]) => "" | "small" | "default" | "large") | (() => "" | "small" | "default" | "large"))[], unknown, "" | "default" | "small" | "large">;
|
|
121
119
|
id: string;
|
|
122
|
-
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
123
|
-
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
124
120
|
ariaLabel: string;
|
|
121
|
+
name: string;
|
|
125
122
|
width: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
123
|
+
loading: boolean;
|
|
124
|
+
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
125
|
+
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
126
126
|
inlinePrompt: boolean;
|
|
127
127
|
inactiveActionIcon: unknown;
|
|
128
128
|
activeActionIcon: unknown;
|
|
@@ -259,11 +259,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
259
259
|
onChange?: (val: string | number | boolean) => any;
|
|
260
260
|
onInput?: (val: string | number | boolean) => any;
|
|
261
261
|
}>, {
|
|
262
|
-
disabled: boolean;
|
|
263
|
-
loading: boolean;
|
|
264
262
|
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
265
|
-
|
|
266
|
-
formItemSize: "small" | "default" | "large";
|
|
263
|
+
formItemSize: "default" | "small" | "large";
|
|
267
264
|
formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
|
|
268
265
|
inline: boolean;
|
|
269
266
|
readonly: boolean;
|
|
@@ -274,10 +271,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
274
271
|
labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "top" | "left" | "right", unknown>;
|
|
275
272
|
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
276
273
|
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
274
|
+
disabled: boolean;
|
|
275
|
+
name: string;
|
|
277
276
|
modelValue: any;
|
|
277
|
+
width: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
278
|
+
loading: boolean;
|
|
278
279
|
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
279
280
|
defaultModelValue: boolean;
|
|
280
|
-
width: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
281
281
|
inlinePrompt: boolean;
|
|
282
282
|
activeText: string;
|
|
283
283
|
inactiveText: string;
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var tablesV1Checkbox = require('@vunk/plus/components/tables-v1-checkbox');
|
|
6
6
|
var formItem = require('@vunk/form/components/form-item');
|
|
7
|
+
var utilsVue = require('@vunk/core/shared/utils-vue');
|
|
7
8
|
var vue = require('vue');
|
|
8
9
|
var select = require('@vunk/form/components/select');
|
|
9
10
|
var elementPlus = require('element-plus');
|
|
@@ -15,6 +16,7 @@ var _pluginVue_exportHelper = require('../_plugin-vue_export-helper.cjs');
|
|
|
15
16
|
const props = {
|
|
16
17
|
...formItem._VkfFormItemCtx.props,
|
|
17
18
|
...tablesV1Checkbox._VkTablesV1CheckboxCtx.props,
|
|
19
|
+
prop: null,
|
|
18
20
|
/**
|
|
19
21
|
* @description v-model 绑定值
|
|
20
22
|
*/
|
|
@@ -62,14 +64,36 @@ const props = {
|
|
|
62
64
|
type: Boolean,
|
|
63
65
|
default: void 0
|
|
64
66
|
},
|
|
67
|
+
placeholder: {
|
|
68
|
+
type: String,
|
|
69
|
+
default: ""
|
|
70
|
+
},
|
|
65
71
|
/**
|
|
66
72
|
* @description dialog 样式
|
|
67
73
|
*/
|
|
68
|
-
dialogClass: null
|
|
74
|
+
dialogClass: null,
|
|
75
|
+
/**
|
|
76
|
+
* @description check 触发方式
|
|
77
|
+
*/
|
|
78
|
+
checkTrigger: {
|
|
79
|
+
type: String,
|
|
80
|
+
default: "rowClick"
|
|
81
|
+
}
|
|
69
82
|
};
|
|
83
|
+
const createBindProps = utilsVue.bindPropsFactory(props);
|
|
70
84
|
const emits = {
|
|
71
|
-
...tablesV1Checkbox._VkTablesV1CheckboxCtx.emits
|
|
85
|
+
...tablesV1Checkbox._VkTablesV1CheckboxCtx.emits,
|
|
86
|
+
"update:modelValue": null
|
|
72
87
|
};
|
|
88
|
+
const createOnEmits = utilsVue.onEmitsFactory(emits);
|
|
89
|
+
|
|
90
|
+
var ctx = /*#__PURE__*/Object.freeze({
|
|
91
|
+
__proto__: null,
|
|
92
|
+
createBindProps: createBindProps,
|
|
93
|
+
createOnEmits: createOnEmits,
|
|
94
|
+
emits: emits,
|
|
95
|
+
props: props
|
|
96
|
+
});
|
|
73
97
|
|
|
74
98
|
var _sfc_main = vue.defineComponent({
|
|
75
99
|
name: "VkfTablesSelect",
|
|
@@ -189,13 +213,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
189
213
|
"popper-class": "vkf-tables-select__popper",
|
|
190
214
|
"value-key": _ctx.oidField,
|
|
191
215
|
readonly: _ctx.readonly,
|
|
216
|
+
placeholder: _ctx.placeholder,
|
|
192
217
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.theModelValue = $event),
|
|
193
218
|
onVisibleChange: _cache[1] || (_cache[1] = ($event) => !_ctx.readonly && (_ctx.dialogVisible = true))
|
|
194
|
-
}), null, 16, ["multiple", "options", "model-value", "clearable", "value-key", "readonly"]),
|
|
219
|
+
}), null, 16, ["multiple", "options", "model-value", "clearable", "value-key", "readonly", "placeholder"]),
|
|
195
220
|
vue.createVNode(_component_ElDialog, {
|
|
196
221
|
modelValue: _ctx.dialogVisible,
|
|
197
222
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => _ctx.dialogVisible = $event),
|
|
198
|
-
title: _ctx.label
|
|
223
|
+
title: _ctx.placeholder || _ctx.label || "\u8BF7\u9009\u62E9",
|
|
199
224
|
"append-to-body": "",
|
|
200
225
|
"model-class": "vkf-tables-select__model",
|
|
201
226
|
class: vue.normalizeClass(["vkf-tables-select__dialog", _ctx.dialogClass])
|
|
@@ -226,5 +251,6 @@ VkfTablesSelect.install = (app) => {
|
|
|
226
251
|
};
|
|
227
252
|
|
|
228
253
|
exports.VkfTablesSelect = VkfTablesSelect;
|
|
254
|
+
exports._VkfTablesSelectCtx = ctx;
|
|
229
255
|
exports.__VkfTablesSelect = types;
|
|
230
256
|
exports.default = VkfTablesSelect;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { _VkTablesV1CheckboxCtx, VkTablesV1Checkbox } from '@vunk/plus/components/tables-v1-checkbox';
|
|
2
2
|
import { _VkfFormItemCtx } from '@vunk/form/components/form-item';
|
|
3
|
+
import { bindPropsFactory, onEmitsFactory } from '@vunk/core/shared/utils-vue';
|
|
3
4
|
import { defineComponent, ref, computed, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, mergeProps, normalizeClass, withCtx, renderSlot, toHandlers } from 'vue';
|
|
4
5
|
import { VkfSelect } from '@vunk/form/components/select';
|
|
5
6
|
import { ElDialog } from 'element-plus';
|
|
@@ -11,6 +12,7 @@ import { _ as _export_sfc } from '../_plugin-vue_export-helper.mjs';
|
|
|
11
12
|
const props = {
|
|
12
13
|
..._VkfFormItemCtx.props,
|
|
13
14
|
..._VkTablesV1CheckboxCtx.props,
|
|
15
|
+
prop: null,
|
|
14
16
|
/**
|
|
15
17
|
* @description v-model 绑定值
|
|
16
18
|
*/
|
|
@@ -58,14 +60,36 @@ const props = {
|
|
|
58
60
|
type: Boolean,
|
|
59
61
|
default: void 0
|
|
60
62
|
},
|
|
63
|
+
placeholder: {
|
|
64
|
+
type: String,
|
|
65
|
+
default: ""
|
|
66
|
+
},
|
|
61
67
|
/**
|
|
62
68
|
* @description dialog 样式
|
|
63
69
|
*/
|
|
64
|
-
dialogClass: null
|
|
70
|
+
dialogClass: null,
|
|
71
|
+
/**
|
|
72
|
+
* @description check 触发方式
|
|
73
|
+
*/
|
|
74
|
+
checkTrigger: {
|
|
75
|
+
type: String,
|
|
76
|
+
default: "rowClick"
|
|
77
|
+
}
|
|
65
78
|
};
|
|
79
|
+
const createBindProps = bindPropsFactory(props);
|
|
66
80
|
const emits = {
|
|
67
|
-
..._VkTablesV1CheckboxCtx.emits
|
|
81
|
+
..._VkTablesV1CheckboxCtx.emits,
|
|
82
|
+
"update:modelValue": null
|
|
68
83
|
};
|
|
84
|
+
const createOnEmits = onEmitsFactory(emits);
|
|
85
|
+
|
|
86
|
+
var ctx = /*#__PURE__*/Object.freeze({
|
|
87
|
+
__proto__: null,
|
|
88
|
+
createBindProps: createBindProps,
|
|
89
|
+
createOnEmits: createOnEmits,
|
|
90
|
+
emits: emits,
|
|
91
|
+
props: props
|
|
92
|
+
});
|
|
69
93
|
|
|
70
94
|
var _sfc_main = defineComponent({
|
|
71
95
|
name: "VkfTablesSelect",
|
|
@@ -185,13 +209,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
185
209
|
"popper-class": "vkf-tables-select__popper",
|
|
186
210
|
"value-key": _ctx.oidField,
|
|
187
211
|
readonly: _ctx.readonly,
|
|
212
|
+
placeholder: _ctx.placeholder,
|
|
188
213
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.theModelValue = $event),
|
|
189
214
|
onVisibleChange: _cache[1] || (_cache[1] = ($event) => !_ctx.readonly && (_ctx.dialogVisible = true))
|
|
190
|
-
}), null, 16, ["multiple", "options", "model-value", "clearable", "value-key", "readonly"]),
|
|
215
|
+
}), null, 16, ["multiple", "options", "model-value", "clearable", "value-key", "readonly", "placeholder"]),
|
|
191
216
|
createVNode(_component_ElDialog, {
|
|
192
217
|
modelValue: _ctx.dialogVisible,
|
|
193
218
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => _ctx.dialogVisible = $event),
|
|
194
|
-
title: _ctx.label
|
|
219
|
+
title: _ctx.placeholder || _ctx.label || "\u8BF7\u9009\u62E9",
|
|
195
220
|
"append-to-body": "",
|
|
196
221
|
"model-class": "vkf-tables-select__model",
|
|
197
222
|
class: normalizeClass(["vkf-tables-select__dialog", _ctx.dialogClass])
|
|
@@ -221,4 +246,4 @@ VkfTablesSelect.install = (app) => {
|
|
|
221
246
|
app.component(VkfTablesSelect.name || "VkfTablesSelect", VkfTablesSelect);
|
|
222
247
|
};
|
|
223
248
|
|
|
224
|
-
export { VkfTablesSelect, types as __VkfTablesSelect, VkfTablesSelect as default };
|
|
249
|
+
export { VkfTablesSelect, ctx as _VkfTablesSelectCtx, types as __VkfTablesSelect, VkfTablesSelect as default };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { NormalObject } from '@vunk/shared';
|
|
3
3
|
export declare const props: {
|
|
4
|
+
prop: any;
|
|
4
5
|
/**
|
|
5
6
|
* @description v-model 绑定值
|
|
6
7
|
*/
|
|
@@ -48,10 +49,21 @@ export declare const props: {
|
|
|
48
49
|
type: BooleanConstructor;
|
|
49
50
|
default: any;
|
|
50
51
|
};
|
|
52
|
+
placeholder: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
51
56
|
/**
|
|
52
57
|
* @description dialog 样式
|
|
53
58
|
*/
|
|
54
59
|
dialogClass: any;
|
|
60
|
+
/**
|
|
61
|
+
* @description check 触发方式
|
|
62
|
+
*/
|
|
63
|
+
checkTrigger: {
|
|
64
|
+
type: PropType<"check" | "rowClick">;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
55
67
|
oidField: {
|
|
56
68
|
type: StringConstructor;
|
|
57
69
|
default: string;
|
|
@@ -64,10 +76,6 @@ export declare const props: {
|
|
|
64
76
|
type: BooleanConstructor;
|
|
65
77
|
default: boolean;
|
|
66
78
|
};
|
|
67
|
-
checkTrigger: {
|
|
68
|
-
type: PropType<"check" | "rowClick">;
|
|
69
|
-
default: string;
|
|
70
|
-
};
|
|
71
79
|
paginationDisabled: {
|
|
72
80
|
type: BooleanConstructor;
|
|
73
81
|
default: boolean;
|
|
@@ -227,7 +235,6 @@ export declare const props: {
|
|
|
227
235
|
className: StringConstructor;
|
|
228
236
|
labelClassName: StringConstructor;
|
|
229
237
|
property: StringConstructor;
|
|
230
|
-
prop: StringConstructor;
|
|
231
238
|
minWidth: {
|
|
232
239
|
type: (StringConstructor | NumberConstructor)[];
|
|
233
240
|
default: string;
|
|
@@ -311,8 +318,9 @@ export declare const props: {
|
|
|
311
318
|
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
312
319
|
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
313
320
|
};
|
|
321
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"small", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"teleported", keyof T2> | Extract<"className", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"fixed", keyof T2> | Extract<"data", keyof T2> | Extract<"filters", keyof T2> | Extract<"currentPage", keyof T2> | Extract<"pageSize", keyof T2> | Extract<"total", keyof T2> | Extract<"start", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"labelField", keyof T2> | Extract<"clearable", keyof T2> | Extract<"multiple", keyof T2> | Extract<"getRows", keyof T2> | Extract<"updateWhenCompleted", keyof T2> | Extract<"stringify", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"dialogClass", keyof T2> | Extract<"checkTrigger", keyof T2> | Extract<"oidField", keyof T2> | Extract<"selectionHidden", keyof T2> | Extract<"paginationDisabled", keyof T2> | Extract<"border", keyof T2> | Extract<"tableClass", keyof T2> | Extract<"tableStyle", keyof T2> | Extract<"layout", keyof T2> | Extract<"columns", keyof T2> | Extract<"modules", keyof T2> | Extract<"align", keyof T2> | Extract<"headerAlign", keyof T2> | Extract<"load", 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<"height", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"fit", 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<"lazy", keyof T2> | Extract<"tableLayout", keyof T2> | Extract<"scrollbarAlwaysOn", keyof T2> | Extract<"flexible", keyof T2> | Extract<"appendFilterPanelTo", keyof T2> | Extract<"scrollbarTabindex", keyof T2> | Extract<"defaultPageSize", keyof T2> | Extract<"pageCount", keyof T2> | Extract<"pagerCount", 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<"background", keyof T2> | Extract<"hideOnSinglePage", keyof T2> | Extract<"labelClassName", keyof T2> | Extract<"property", keyof T2> | Extract<"minWidth", keyof T2> | Extract<"renderHeader", keyof T2> | Extract<"sortable", keyof T2> | Extract<"sortMethod", keyof T2> | Extract<"sortBy", keyof T2> | Extract<"resizable", keyof T2> | Extract<"columnKey", keyof T2> | Extract<"showTooltipWhenOverflow", 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<"index", keyof T2> | Extract<"sortOrders", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "type" | "required" | "small" | "formItemSize" | "formItemSlots" | "elRef" | "inline" | "readonly" | "formItemTip" | "formItemTipClass" | "labelTip" | "label" | "labelWidth" | "labelPosition" | "prop" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage" | "disabled" | "teleported" | "className" | "popperClass" | "fixed" | "data" | "filters" | "currentPage" | "pageSize" | "total" | "start" | "modelValue" | "labelField" | "clearable" | "multiple" | "getRows" | "updateWhenCompleted" | "stringify" | "placeholder" | "dialogClass" | "checkTrigger" | "oidField" | "selectionHidden" | "paginationDisabled" | "border" | "tableClass" | "tableStyle" | "layout" | "columns" | "modules" | "align" | "headerAlign" | "load" | "width" | "showOverflowTooltip" | "rowKey" | "summaryMethod" | "rowClassName" | "rowStyle" | "cellClassName" | "cellStyle" | "headerRowClassName" | "headerRowStyle" | "headerCellClassName" | "headerCellStyle" | "expandRowKeys" | "defaultSort" | "tooltipOptions" | "spanMethod" | "treeProps" | "height" | "maxHeight" | "fit" | "stripe" | "showHeader" | "showSummary" | "sumText" | "highlightCurrentRow" | "currentRowKey" | "emptyText" | "defaultExpandAll" | "tooltipEffect" | "selectOnIndeterminate" | "indent" | "lazy" | "tableLayout" | "scrollbarAlwaysOn" | "flexible" | "appendFilterPanelTo" | "scrollbarTabindex" | "defaultPageSize" | "pageCount" | "pagerCount" | "defaultCurrentPage" | "pageSizes" | "prevText" | "prevIcon" | "nextText" | "nextIcon" | "background" | "hideOnSinglePage" | "labelClassName" | "property" | "minWidth" | "renderHeader" | "sortable" | "sortMethod" | "sortBy" | "resizable" | "columnKey" | "showTooltipWhenOverflow" | "formatter" | "selectable" | "reserveSelection" | "filterMethod" | "filteredValue" | "filterPlacement" | "filterMultiple" | "index" | "sortOrders", keyof T2>, KE> : Extract<"size" | "type" | "required" | "small" | "formItemSize" | "formItemSlots" | "elRef" | "inline" | "readonly" | "formItemTip" | "formItemTipClass" | "labelTip" | "label" | "labelWidth" | "labelPosition" | "prop" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage" | "disabled" | "teleported" | "className" | "popperClass" | "fixed" | "data" | "filters" | "currentPage" | "pageSize" | "total" | "start" | "modelValue" | "labelField" | "clearable" | "multiple" | "getRows" | "updateWhenCompleted" | "stringify" | "placeholder" | "dialogClass" | "checkTrigger" | "oidField" | "selectionHidden" | "paginationDisabled" | "border" | "tableClass" | "tableStyle" | "layout" | "columns" | "modules" | "align" | "headerAlign" | "load" | "width" | "showOverflowTooltip" | "rowKey" | "summaryMethod" | "rowClassName" | "rowStyle" | "cellClassName" | "cellStyle" | "headerRowClassName" | "headerRowStyle" | "headerCellClassName" | "headerCellStyle" | "expandRowKeys" | "defaultSort" | "tooltipOptions" | "spanMethod" | "treeProps" | "height" | "maxHeight" | "fit" | "stripe" | "showHeader" | "showSummary" | "sumText" | "highlightCurrentRow" | "currentRowKey" | "emptyText" | "defaultExpandAll" | "tooltipEffect" | "selectOnIndeterminate" | "indent" | "lazy" | "tableLayout" | "scrollbarAlwaysOn" | "flexible" | "appendFilterPanelTo" | "scrollbarTabindex" | "defaultPageSize" | "pageCount" | "pagerCount" | "defaultCurrentPage" | "pageSizes" | "prevText" | "prevIcon" | "nextText" | "nextIcon" | "background" | "hideOnSinglePage" | "labelClassName" | "property" | "minWidth" | "renderHeader" | "sortable" | "sortMethod" | "sortBy" | "resizable" | "columnKey" | "showTooltipWhenOverflow" | "formatter" | "selectable" | "reserveSelection" | "filterMethod" | "filteredValue" | "filterPlacement" | "filterMultiple" | "index" | "sortOrders", keyof T2>]: { [k in Extract<"size" | "type" | "required" | "small" | "formItemSize" | "formItemSlots" | "elRef" | "inline" | "readonly" | "formItemTip" | "formItemTipClass" | "labelTip" | "label" | "labelWidth" | "labelPosition" | "prop" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage" | "disabled" | "teleported" | "className" | "popperClass" | "fixed" | "data" | "filters" | "currentPage" | "pageSize" | "total" | "start" | "modelValue" | "labelField" | "clearable" | "multiple" | "getRows" | "updateWhenCompleted" | "stringify" | "placeholder" | "dialogClass" | "checkTrigger" | "oidField" | "selectionHidden" | "paginationDisabled" | "border" | "tableClass" | "tableStyle" | "layout" | "columns" | "modules" | "align" | "headerAlign" | "load" | "width" | "showOverflowTooltip" | "rowKey" | "summaryMethod" | "rowClassName" | "rowStyle" | "cellClassName" | "cellStyle" | "headerRowClassName" | "headerRowStyle" | "headerCellClassName" | "headerCellStyle" | "expandRowKeys" | "defaultSort" | "tooltipOptions" | "spanMethod" | "treeProps" | "height" | "maxHeight" | "fit" | "stripe" | "showHeader" | "showSummary" | "sumText" | "highlightCurrentRow" | "currentRowKey" | "emptyText" | "defaultExpandAll" | "tooltipEffect" | "selectOnIndeterminate" | "indent" | "lazy" | "tableLayout" | "scrollbarAlwaysOn" | "flexible" | "appendFilterPanelTo" | "scrollbarTabindex" | "defaultPageSize" | "pageCount" | "pagerCount" | "defaultCurrentPage" | "pageSizes" | "prevText" | "prevIcon" | "nextText" | "nextIcon" | "background" | "hideOnSinglePage" | "labelClassName" | "property" | "minWidth" | "renderHeader" | "sortable" | "sortMethod" | "sortBy" | "resizable" | "columnKey" | "showTooltipWhenOverflow" | "formatter" | "selectable" | "reserveSelection" | "filterMethod" | "filteredValue" | "filterPlacement" | "filterMultiple" | "index" | "sortOrders", keyof T2>]: T2[k]; }[P]; }>;
|
|
314
322
|
export declare const emits: {
|
|
315
|
-
'update:modelValue':
|
|
323
|
+
'update:modelValue': any;
|
|
316
324
|
'update:start': (val: number) => boolean;
|
|
317
325
|
select: any;
|
|
318
326
|
'select-all': any;
|
|
@@ -340,3 +348,4 @@ export declare const emits: {
|
|
|
340
348
|
'prev-click': (val: number) => boolean;
|
|
341
349
|
'next-click': (val: number) => boolean;
|
|
342
350
|
};
|
|
351
|
+
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "update:start" | "select" | "select-all" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "current-change" | "header-dragend" | "expand-change" | "scroll" | "update:current-page" | "update:page-size" | "size-change" | "change" | "prev-click" | "next-click")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue" | "update:start" | "select" | "select-all" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "current-change" | "header-dragend" | "expand-change" | "scroll" | "update:current-page" | "update:page-size" | "size-change" | "change" | "prev-click" | "next-click", KE> : "update:modelValue" | "update:start" | "select" | "select-all" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "current-change" | "header-dragend" | "expand-change" | "scroll" | "update:current-page" | "update:page-size" | "size-change" | "change" | "prev-click" | "next-click"]: { [k in "update:modelValue" | "update:start" | "select" | "select-all" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "current-change" | "header-dragend" | "expand-change" | "scroll" | "update:current-page" | "update:page-size" | "size-change" | "change" | "prev-click" | "next-click"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
|