@vunk/form 2.18.2 → 2.19.0
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/_plugin-vue_export-helper.cjs +1 -11
- package/components/api-tables-select/index.cjs +1 -467
- package/components/api-tables-select/index.mjs +56 -413
- package/components/api-tables-select/src/ctx.d.ts +152 -172
- package/components/api-tables-select/src/index.vue.d.ts +394 -983
- package/components/button/index.cjs +1 -112
- package/components/button/index.mjs +57 -85
- package/components/button/src/ctx.d.ts +28 -113
- package/components/button/src/index.vue.d.ts +317 -625
- package/components/card-input-collection/index.cjs +1 -370
- package/components/card-input-collection/index.mjs +175 -277
- package/components/card-input-collection/src/core.vue.d.ts +54 -951
- package/components/card-input-collection/src/ctx.d.ts +19 -49
- package/components/card-input-collection/src/index.vue.d.ts +46 -110
- package/components/cascader/index.cjs +1 -150
- package/components/cascader/index.mjs +88 -116
- package/components/cascader/src/ctx.d.ts +140 -207
- package/components/cascader/src/index.vue.d.ts +315 -522
- package/components/cascader/src/use.d.ts +1 -1
- package/components/checkbox/index.cjs +1 -152
- package/components/checkbox/index.mjs +75 -119
- package/components/checkbox/src/ctx.d.ts +46 -69
- package/components/checkbox/src/index.vue.d.ts +448 -1016
- package/components/cloneDeep.cjs +1 -2106
- package/components/color-picker/index.cjs +1 -80
- package/components/color-picker/index.mjs +46 -69
- package/components/color-picker/src/ctx.d.ts +130 -107
- package/components/color-picker/src/index.vue.d.ts +285 -255
- package/components/date-picker/index.cjs +1 -119
- package/components/date-picker/index.mjs +63 -97
- package/components/date-picker/src/ctx.d.ts +123 -206
- package/components/date-picker/src/index.vue.d.ts +269 -1358
- package/components/date-picker/src/types.d.ts +7 -7
- package/components/date-picker-range/index.cjs +1 -177
- package/components/date-picker-range/index.mjs +62 -113
- package/components/date-picker-range/src/ctx.d.ts +130 -206
- package/components/date-picker-range/src/index.vue.d.ts +861 -448
- package/components/debounce.cjs +1 -0
- package/components/dialog/index.cjs +1 -126
- package/components/dialog/index.mjs +65 -99
- package/components/dialog/src/ctx.d.ts +17 -108
- package/components/dialog/src/index.vue.d.ts +77 -1072
- package/components/dialog-input-collection/index.cjs +1 -624
- package/components/dialog-input-collection/index.mjs +276 -498
- package/components/dialog-input-collection/src/ctx.d.ts +21 -52
- package/components/dialog-input-collection/src/dialog-form.vue.d.ts +29 -6371
- package/components/dialog-input-collection/src/index.vue.d.ts +65 -7630
- package/components/dialog-input-collection/src/layout.vue.d.ts +13 -73
- package/components/download-plus/index.cjs +1 -456
- package/components/download-plus/index.mjs +215 -358
- package/components/download-plus/src/api.d.ts +1 -1
- package/components/download-plus/src/ctx.d.ts +21 -52
- package/components/download-plus/src/index.vue.d.ts +437 -1177
- package/components/editable-text/index.cjs +1 -295
- package/components/editable-text/index.mjs +113 -239
- package/components/editable-text/src/ctx.d.ts +24 -50
- package/components/editable-text/src/index.vue.d.ts +59 -3258
- package/components/el-slider/index.cjs +1 -0
- package/components/el-slider/index.d.ts +5 -0
- package/components/el-slider/index.mjs +475 -0
- package/components/el-slider/src/button.d.ts +36 -0
- package/components/el-slider/src/button.vue.d.ts +41 -0
- package/components/el-slider/src/composables/index.cjs +1 -0
- package/components/el-slider/src/composables/index.d.ts +6 -0
- package/components/el-slider/src/composables/index.mjs +9 -0
- package/components/el-slider/src/composables/use-lifecycle.d.ts +4 -0
- package/components/el-slider/src/composables/use-marks.d.ts +7 -0
- package/components/el-slider/src/composables/use-slide.d.ts +23 -0
- package/components/el-slider/src/composables/use-slider-button.d.ts +18 -0
- package/components/el-slider/src/composables/use-stops.d.ts +8 -0
- package/components/el-slider/src/composables/use-watch.d.ts +4 -0
- package/components/el-slider/src/constants.d.ts +14 -0
- package/components/el-slider/src/marker.d.ts +37 -0
- package/components/el-slider/src/slider-core.vue.d.ts +218 -0
- package/components/el-slider/src/slider.d.ts +174 -0
- package/components/esri-input-geojson/index.cjs +2 -1604
- package/components/esri-input-geojson/index.mjs +682 -1290
- package/components/esri-input-geojson/src/append.vue.d.ts +239 -1099
- package/components/esri-input-geojson/src/const.d.ts +1 -1
- package/components/esri-input-geojson/src/ctx.d.ts +66 -161
- package/components/esri-input-geojson/src/default-view.vue.d.ts +8 -132
- package/components/esri-input-geojson/src/index.vue.d.ts +982 -708
- package/components/esri-input-geojson/src/types.d.ts +1 -0
- package/components/esri-input-geojson/src/viewer.vue.d.ts +53 -282
- package/components/fieldset/index.cjs +1 -110
- package/components/fieldset/index.mjs +63 -76
- package/components/fieldset/src/ctx.d.ts +4 -4
- package/components/fieldset/src/index.vue.d.ts +7 -7
- package/components/form/index.cjs +1 -248
- package/components/form/index.mjs +107 -161
- package/components/form/src/ctx.d.ts +15 -64
- package/components/form/src/index.vue.d.ts +374 -2431
- package/components/form-item/index.cjs +1 -294
- package/components/form-item/index.mjs +140 -229
- package/components/form-item/src/core.vue.d.ts +32 -1854
- package/components/form-item/src/ctx.d.ts +19 -51
- package/components/form-item/src/index.vue.d.ts +38 -101
- package/components/form-item-renderer/index.cjs +1 -193
- package/components/form-item-renderer/index.mjs +103 -162
- package/components/form-item-renderer/src/core.vue.d.ts +9 -9
- package/components/form-item-renderer/src/ctx.d.ts +3 -3
- package/components/form-item-renderer/src/index.vue.d.ts +24 -74
- package/components/form-item-renderer-template/index.cjs +1 -47
- package/components/form-item-renderer-template/index.mjs +20 -33
- package/components/form-item-renderer-template/src/index.vue.d.ts +1 -1
- package/components/forms-provider/index.cjs +1 -99
- package/components/forms-provider/index.mjs +44 -73
- package/components/forms-provider/src/core.d.ts +3 -2
- package/components/forms-provider/src/segment.vue.d.ts +8 -8
- package/components/forms-provider/src/view.vue.d.ts +14 -4
- package/components/index.cjs +1 -399
- package/components/index2.cjs +1 -17
- package/components/information/index.cjs +1 -65
- package/components/information/index.mjs +28 -38
- package/components/information/src/ctx.d.ts +2 -2
- package/components/information/src/index.vue.d.ts +4 -4
- package/components/information-collection/index.cjs +1 -81
- package/components/information-collection/index.mjs +44 -48
- package/components/information-collection/src/ctx.d.ts +29 -65
- package/components/information-collection/src/index.vue.d.ts +64 -136
- package/components/information-renderer/index.cjs +1 -16
- package/components/information-renderer/index.d.ts +9 -9
- package/components/information-renderer/index.mjs +9 -10
- package/components/information-tag/index.cjs +1 -101
- package/components/information-tag/index.mjs +44 -54
- package/components/information-tag/src/ctx.d.ts +6 -21
- package/components/information-tag/src/index.vue.d.ts +23 -51
- package/components/information-templates-default/index.cjs +1 -101
- package/components/information-templates-default/index.mjs +63 -73
- package/components/information-templates-default/src/index.vue.d.ts +1 -1
- package/components/input/index.cjs +1 -115
- package/components/input/index.mjs +60 -83
- package/components/input/src/ctx.d.ts +51 -152
- package/components/input/src/index.vue.d.ts +392 -951
- package/components/input-array/index.cjs +1 -310
- package/components/input-array/index.mjs +114 -244
- package/components/input-array/src/ctx.d.ts +19 -49
- package/components/input-array/src/form-template.vue.d.ts +1 -901
- package/components/input-array/src/index.vue.d.ts +43 -730
- package/components/input-collection/index.cjs +1 -452
- package/components/input-collection/index.mjs +195 -355
- package/components/input-collection/src/core.vue.d.ts +64 -1026
- package/components/input-collection/src/ctx.d.ts +21 -51
- package/components/input-collection/src/index.vue.d.ts +50 -114
- package/components/input-file/index.cjs +1 -142
- package/components/input-file/index.mjs +68 -100
- package/components/input-file/src/ctx.d.ts +8 -29
- package/components/input-file/src/index.vue.d.ts +444 -74
- package/components/input-file/src/template.vue.d.ts +1 -124
- package/components/input-link/index.cjs +1 -167
- package/components/input-link/index.mjs +60 -83
- package/components/input-link/src/ctx.d.ts +52 -137
- package/components/input-link/src/index.vue.d.ts +833 -311
- package/components/input-number/index.cjs +1 -119
- package/components/input-number/index.mjs +73 -87
- package/components/input-number/src/ctx.d.ts +38 -131
- package/components/input-number/src/index.vue.d.ts +321 -683
- package/components/input-tag/index.cjs +1 -100
- package/components/input-tag/index.mjs +51 -78
- package/components/input-tag/src/ctx.d.ts +43 -145
- package/components/input-tag/src/index.vue.d.ts +324 -778
- package/components/isObject.cjs +1 -165
- package/components/monaco-editor/index.cjs +1 -83
- package/components/monaco-editor/index.mjs +40 -59
- package/components/monaco-editor/src/ctx.d.ts +19 -44
- package/components/monaco-editor/src/index.vue.d.ts +209 -109
- package/components/radio/index.cjs +1 -267
- package/components/radio/index.mjs +110 -209
- package/components/radio/src/ctx.d.ts +27 -91
- package/components/radio/src/index.vue.d.ts +298 -1279
- package/components/radio/src/option.vue.d.ts +29 -881
- package/components/radio/src/wraper.vue.d.ts +64 -196
- package/components/renderer-data/index.cjs +1 -41
- package/components/renderer-data/index.mjs +19 -26
- package/components/renderer-data/src/ctx.d.ts +1 -1
- package/components/renderer-data/src/index.vue.d.ts +2 -2
- package/components/select/index.cjs +1 -311
- package/components/select/index.mjs +156 -214
- package/components/select/src/core.vue.d.ts +638 -1080
- package/components/select/src/ctx.d.ts +140 -223
- package/components/select/src/index.vue.d.ts +334 -610
- package/components/select/src/options.vue.d.ts +1 -1
- package/components/slider/index.cjs +1 -88
- package/components/slider/index.mjs +41 -70
- package/components/slider/src/ctx.d.ts +63 -174
- package/components/slider/src/index.vue.d.ts +151 -420
- package/components/style.css +1 -0
- package/components/switch/index.cjs +1 -88
- package/components/switch/index.mjs +37 -69
- package/components/switch/src/ctx.d.ts +34 -113
- package/components/switch/src/index.vue.d.ts +88 -699
- package/components/switch/src/types.d.ts +2 -2
- package/components/tables-select/index.cjs +1 -263
- package/components/tables-select/index.mjs +102 -172
- package/components/tables-select/src/ctx.d.ts +76 -91
- package/components/tables-select/src/index.vue.d.ts +228 -4969
- package/components/template-instances-provider/index.cjs +1 -31
- package/components/template-instances-provider/index.mjs +18 -22
- package/components/template-instances-provider/src/index.vue.d.ts +2 -2
- package/components/templates-default/index.cjs +1 -235
- package/components/templates-default/index.mjs +152 -211
- package/components/templates-default/src/ctx.d.ts +5 -3
- package/components/templates-default/src/index.vue.d.ts +7298 -157
- package/components/templates-element-plus/index.cjs +1 -112
- package/components/templates-element-plus/index.mjs +49 -91
- package/components/templates-element-plus/src/ctx.d.ts +1 -1
- package/components/templates-element-plus/src/index.vue.d.ts +65 -258
- package/components/templates-esri/index.cjs +1 -65
- package/components/templates-esri/index.mjs +29 -39
- package/components/templates-esri/src/ctx.d.ts +1 -1
- package/components/templates-esri/src/index.vue.d.ts +1776 -24
- package/components/templates-layout/index.cjs +1 -137
- package/components/templates-layout/index.mjs +78 -116
- package/components/templates-layout/src/ctx.d.ts +1 -1
- package/components/templates-layout/src/index.vue.d.ts +79 -411
- package/components/templates-variant/index.cjs +1 -70
- package/components/templates-variant/index.mjs +33 -43
- package/components/templates-variant/src/ctx.d.ts +1 -1
- package/components/templates-variant/src/index.vue.d.ts +1238 -24
- package/components/time-picker/index.cjs +1 -104
- package/components/time-picker/index.mjs +57 -87
- package/components/time-picker/src/ctx.d.ts +121 -211
- package/components/time-picker/src/index.vue.d.ts +263 -1368
- package/components/upload/index.cjs +1 -663
- package/components/upload/index.mjs +343 -537
- package/components/upload/src/ctx.d.ts +108 -195
- package/components/upload/src/file.vue.d.ts +197 -776
- package/components/upload/src/index.vue.d.ts +689 -1931
- package/components/upload/src/types.d.ts +1 -1
- package/components/upload/src/wraper.vue.d.ts +232 -407
- package/components/upload-plus/index.cjs +21 -18673
- package/components/upload-plus/index.mjs +4598 -18372
- package/components/upload-plus/src/api.d.ts +2 -2
- package/components/upload-plus/src/ctx.d.ts +24 -51
- package/components/upload-plus/src/index.vue.d.ts +51 -1656
- package/components/use-watch.cjs +1 -0
- package/components/van-cascader/index.cjs +1 -125
- package/components/van-cascader/index.mjs +51 -96
- package/components/van-cascader/src/ctx.d.ts +135 -203
- package/components/van-cascader/src/index.vue.d.ts +312 -985
- package/components/var-datetime-picker/index.cjs +1 -333
- package/components/var-datetime-picker/index.mjs +175 -254
- package/components/var-datetime-picker/src/ctx.d.ts +19 -50
- package/components/var-datetime-picker/src/index.vue.d.ts +688 -1115
- package/components/vditor/index.cjs +1 -86
- package/components/vditor/index.mjs +40 -66
- package/components/vditor/src/ctx.d.ts +16 -45
- package/components/vditor/src/index.vue.d.ts +195 -120
- package/composables/element-plus/index.cjs +1 -23
- package/composables/element-plus/index.mjs +14 -18
- package/composables/index.cjs +1 -161
- package/composables/index.d.ts +1 -0
- package/composables/index.mjs +102 -135
- package/composables/useForm.d.ts +2 -2
- package/composables/useRtl.d.ts +18 -0
- package/composables/useSourceManager.d.ts +2 -2
- package/composables/useTemplateInstances.d.ts +3 -3
- package/index.css +1 -562
- package/index.d.ts +0 -3
- package/index.esm.js +23 -48
- package/locale/index.cjs +1 -102
- package/locale/index.mjs +34 -34
- package/locale/lang/index.cjs +1 -2
- package/locale/lang/index.d.ts +1 -0
- package/package.json +14 -85
- package/shared/const/index.cjs +1 -59
- package/shared/const/index.d.ts +1 -1
- package/shared/const/index.mjs +18 -20
- package/shared/element-plus/ctx.d.ts +40 -37
- package/shared/element-plus/index.cjs +1 -211
- package/shared/element-plus/index.mjs +93 -161
- package/shared/element-plus/instances.d.ts +207 -321
- package/shared/form/index.cjs +1 -33
- package/shared/form/index.mjs +23 -25
- package/shared/helper/index.cjs +1 -11
- package/shared/helper/index.mjs +7 -8
- package/shared/index.cjs +1 -8
- package/shared/index.mjs +5 -1
- package/shared/infer-prop/index.cjs +1 -36
- package/shared/infer-prop/index.mjs +22 -28
- package/shared/progress-it/index.cjs +1 -42
- package/shared/progress-it/index.mjs +15 -31
- package/shared/rules/index.cjs +1 -56
- package/shared/rules/index.mjs +19 -18
- package/shared/types/form/index.cjs +1 -2
- package/shared/types/index.cjs +1 -2
- package/shared/types/source/index.cjs +1 -2
- package/shared/types/source-manager/index.cjs +1 -2
- package/shared/upload/index.cjs +1 -774
- package/shared/upload/index.mjs +180 -764
- package/component.d.ts +0 -3
- package/components/_plugin-vue_export-helper.mjs +0 -9
- package/components/card-input-collection/index.css +0 -21
- package/components/cascader/index.css +0 -9
- package/components/checkbox/index.css +0 -30
- package/components/cloneDeep.mjs +0 -2104
- package/components/date-picker-range/index.css +0 -18
- package/components/dialog-input-collection/index.css +0 -21
- package/components/download-plus/index.css +0 -68
- package/components/editable-text/index.css +0 -9
- package/components/esri-input-geojson/index.css +0 -32
- package/components/fieldset/index.css +0 -5
- package/components/form-item/index.css +0 -35
- package/components/index.mjs +0 -378
- package/components/index2.mjs +0 -14
- package/components/information-tag/index.css +0 -6
- package/components/information-templates-default/index.css +0 -16
- package/components/input-array/index.css +0 -14
- package/components/input-collection/index.css +0 -20
- package/components/input-link/index.css +0 -4
- package/components/input-number/index.css +0 -13
- package/components/isObject.mjs +0 -158
- package/components/monaco-editor/index.css +0 -4
- package/components/radio/index.css +0 -40
- package/components/select/index.css +0 -15
- package/components/switch/index.css +0 -10
- package/components/tables-select/index.css +0 -3
- package/components/templates-layout/index.css +0 -3
- package/components/upload/index.css +0 -34
- package/components/upload-plus/index.css +0 -84
- package/components/van-cascader/index.css +0 -6
- package/components/var-datetime-picker/index.css +0 -17
- package/defaults.d.ts +0 -5
|
@@ -1,30 +1,102 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { SelectSlots } from './types';
|
|
1
|
+
import type { PropType } from 'vue';
|
|
3
2
|
import type { VueComponentPropsType } from '@vunk/shared';
|
|
4
|
-
import type { ElOption } from 'element-plus';
|
|
5
3
|
export declare const props: {
|
|
6
|
-
modelValue:
|
|
4
|
+
modelValue: null;
|
|
7
5
|
props: {
|
|
8
6
|
type: PropType<{
|
|
9
|
-
label?: string;
|
|
10
|
-
value?: string;
|
|
11
|
-
disabled?: string;
|
|
12
|
-
options?: string;
|
|
7
|
+
label?: string | undefined;
|
|
8
|
+
value?: string | undefined;
|
|
9
|
+
disabled?: string | undefined;
|
|
10
|
+
options?: string | undefined;
|
|
13
11
|
}>;
|
|
14
12
|
default: () => {};
|
|
15
13
|
};
|
|
16
14
|
options: {
|
|
17
|
-
type: PropType<VueComponentPropsType<
|
|
18
|
-
|
|
15
|
+
type: PropType<VueComponentPropsType<import("element-plus/es/utils/index.mjs").SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
16
|
+
value: {
|
|
17
|
+
readonly type: PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[], unknown, unknown>>;
|
|
18
|
+
readonly required: true;
|
|
19
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
20
|
+
__epPropKey: true;
|
|
21
|
+
};
|
|
22
|
+
label: {
|
|
23
|
+
readonly type: PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(StringConstructor | NumberConstructor)[], unknown, unknown>>;
|
|
24
|
+
readonly required: false;
|
|
25
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
26
|
+
__epPropKey: true;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* @description el组件实例ref
|
|
30
|
+
*/
|
|
31
|
+
created: BooleanConstructor;
|
|
32
|
+
disabled: BooleanConstructor;
|
|
33
|
+
}>, {
|
|
34
|
+
ns: {
|
|
35
|
+
namespace: import("vue").ComputedRef<string>;
|
|
36
|
+
b: (blockSuffix?: string | undefined) => string;
|
|
37
|
+
e: (element?: string | undefined) => string;
|
|
38
|
+
m: (modifier?: string | undefined) => string;
|
|
39
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
40
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
41
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
42
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
43
|
+
is: {
|
|
44
|
+
(name: string, state: boolean | undefined): string;
|
|
45
|
+
(name: string): string;
|
|
46
|
+
};
|
|
47
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
48
|
+
cssVarName: (name: string) => string;
|
|
49
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
50
|
+
cssVarBlockName: (name: string) => string;
|
|
51
|
+
};
|
|
52
|
+
id: import("vue").Ref<string, string>;
|
|
53
|
+
containerKls: import("vue").ComputedRef<string[]>;
|
|
54
|
+
currentLabel: import("vue").ComputedRef<boolean | import("element-plus/es/utils/index.mjs").EpPropMergeType<(StringConstructor | NumberConstructor)[], unknown, unknown>>;
|
|
55
|
+
itemSelected: import("vue").ComputedRef<boolean>;
|
|
56
|
+
isDisabled: import("vue").ComputedRef<boolean>;
|
|
57
|
+
select: import("element-plus").SelectContext;
|
|
58
|
+
visible: import("vue").Ref<boolean, boolean>;
|
|
59
|
+
hover: import("vue").Ref<boolean, boolean>;
|
|
60
|
+
states: {
|
|
61
|
+
index: number;
|
|
62
|
+
groupDisabled: boolean;
|
|
63
|
+
visible: boolean;
|
|
64
|
+
hover: boolean;
|
|
65
|
+
};
|
|
66
|
+
mouseMoveEventName: "mousemove" | null;
|
|
67
|
+
hoverItem: () => void;
|
|
68
|
+
handleMousedown: (event: MouseEvent) => void;
|
|
69
|
+
updateOption: (query: string) => void;
|
|
70
|
+
selectOptionClick: () => void;
|
|
71
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
72
|
+
value: {
|
|
73
|
+
readonly type: PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[], unknown, unknown>>;
|
|
74
|
+
readonly required: true;
|
|
75
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
76
|
+
__epPropKey: true;
|
|
77
|
+
};
|
|
78
|
+
label: {
|
|
79
|
+
readonly type: PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(StringConstructor | NumberConstructor)[], unknown, unknown>>;
|
|
80
|
+
readonly required: false;
|
|
81
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
82
|
+
__epPropKey: true;
|
|
83
|
+
};
|
|
84
|
+
created: BooleanConstructor;
|
|
85
|
+
disabled: BooleanConstructor;
|
|
86
|
+
}>> & Readonly<{}>, {
|
|
87
|
+
disabled: boolean;
|
|
88
|
+
created: boolean;
|
|
89
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>>[]>;
|
|
90
|
+
default: () => never[];
|
|
19
91
|
};
|
|
20
92
|
selectSlots: {
|
|
21
|
-
type: PropType<
|
|
22
|
-
default:
|
|
93
|
+
type: PropType<Partial<Record<import("./types").SelectSlotsType, import("@vunk/shared").AnyFunc>>>;
|
|
94
|
+
default: undefined;
|
|
23
95
|
};
|
|
24
96
|
/**
|
|
25
97
|
* @description el组件实例ref
|
|
26
98
|
*/
|
|
27
|
-
selectRef:
|
|
99
|
+
selectRef: null;
|
|
28
100
|
/**
|
|
29
101
|
* @description a url which's response is options
|
|
30
102
|
*/
|
|
@@ -42,7 +114,7 @@ export declare const props: {
|
|
|
42
114
|
/**
|
|
43
115
|
* @description 同插槽
|
|
44
116
|
*/
|
|
45
|
-
slots:
|
|
117
|
+
slots: null;
|
|
46
118
|
/**
|
|
47
119
|
* @description 若 option中含有该字段内容,则渲染为 Group
|
|
48
120
|
* @deprecated use props.options instead
|
|
@@ -53,67 +125,33 @@ export declare const props: {
|
|
|
53
125
|
};
|
|
54
126
|
ariaLabel: StringConstructor;
|
|
55
127
|
emptyValues: ArrayConstructor;
|
|
56
|
-
valueOnClear:
|
|
57
|
-
readonly type: PropType<string | number | boolean | Function>;
|
|
58
|
-
readonly required: false;
|
|
59
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
60
|
-
__epPropKey: true;
|
|
61
|
-
} & {
|
|
62
|
-
readonly default: undefined;
|
|
63
|
-
};
|
|
128
|
+
valueOnClear: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | ((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | null)[], unknown, unknown, undefined, boolean>;
|
|
64
129
|
name: StringConstructor;
|
|
65
130
|
id: StringConstructor;
|
|
66
|
-
autocomplete:
|
|
67
|
-
readonly type: PropType<string>;
|
|
68
|
-
readonly required: false;
|
|
69
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
70
|
-
__epPropKey: true;
|
|
71
|
-
} & {
|
|
72
|
-
readonly default: string;
|
|
73
|
-
};
|
|
131
|
+
autocomplete: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
74
132
|
automaticDropdown: BooleanConstructor;
|
|
75
133
|
size: {
|
|
76
|
-
readonly type: PropType<"" | "default" | "small" | "large"
|
|
77
|
-
readonly required: false;
|
|
78
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
79
|
-
__epPropKey: true;
|
|
80
|
-
};
|
|
81
|
-
effect: {
|
|
82
|
-
readonly type: PropType<import("element-plus").PopperEffect>;
|
|
134
|
+
readonly type: PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
83
135
|
readonly required: false;
|
|
84
136
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
85
137
|
__epPropKey: true;
|
|
86
|
-
} & {
|
|
87
|
-
readonly default: string;
|
|
88
138
|
};
|
|
89
|
-
|
|
139
|
+
effect: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => string) | (() => import("element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("element-plus").PopperEffect) | null)[], unknown, unknown, string, boolean>;
|
|
140
|
+
disabled: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
90
141
|
clearable: BooleanConstructor;
|
|
91
142
|
filterable: BooleanConstructor;
|
|
92
143
|
allowCreate: BooleanConstructor;
|
|
93
144
|
loading: BooleanConstructor;
|
|
94
|
-
popperClass:
|
|
95
|
-
readonly type: PropType<string>;
|
|
96
|
-
readonly required: false;
|
|
97
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
98
|
-
__epPropKey: true;
|
|
99
|
-
} & {
|
|
100
|
-
readonly default: string;
|
|
101
|
-
};
|
|
145
|
+
popperClass: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
102
146
|
popperStyle: {
|
|
103
|
-
readonly type: PropType<string | import("vue").CSSProperties
|
|
147
|
+
readonly type: PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | null)[], unknown, unknown>>;
|
|
104
148
|
readonly required: false;
|
|
105
149
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
106
150
|
__epPropKey: true;
|
|
107
151
|
};
|
|
108
|
-
popperOptions:
|
|
109
|
-
readonly type: PropType<Partial<import("element-plus").Options>>;
|
|
110
|
-
readonly required: false;
|
|
111
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
112
|
-
__epPropKey: true;
|
|
113
|
-
} & {
|
|
114
|
-
readonly default: () => Partial<import("element-plus").Options>;
|
|
115
|
-
};
|
|
152
|
+
popperOptions: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>) | ((new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>) | null)[], unknown, unknown, () => Partial<import("element-plus").Options>, boolean>;
|
|
116
153
|
remote: BooleanConstructor;
|
|
154
|
+
debounce: import("element-plus/es/utils/index.mjs").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
117
155
|
loadingText: StringConstructor;
|
|
118
156
|
noMatchText: StringConstructor;
|
|
119
157
|
noDataText: StringConstructor;
|
|
@@ -130,14 +168,7 @@ export declare const props: {
|
|
|
130
168
|
__epPropKey: true;
|
|
131
169
|
};
|
|
132
170
|
multiple: BooleanConstructor;
|
|
133
|
-
multipleLimit:
|
|
134
|
-
readonly type: PropType<number>;
|
|
135
|
-
readonly required: false;
|
|
136
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
137
|
-
__epPropKey: true;
|
|
138
|
-
} & {
|
|
139
|
-
readonly default: number;
|
|
140
|
-
};
|
|
171
|
+
multipleLimit: import("element-plus/es/utils/index.mjs").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
141
172
|
placeholder: {
|
|
142
173
|
readonly type: PropType<string>;
|
|
143
174
|
readonly required: false;
|
|
@@ -145,145 +176,52 @@ export declare const props: {
|
|
|
145
176
|
__epPropKey: true;
|
|
146
177
|
};
|
|
147
178
|
defaultFirstOption: BooleanConstructor;
|
|
148
|
-
reserveKeyword:
|
|
149
|
-
|
|
150
|
-
readonly required: false;
|
|
151
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
152
|
-
__epPropKey: true;
|
|
153
|
-
} & {
|
|
154
|
-
readonly default: boolean;
|
|
155
|
-
};
|
|
156
|
-
valueKey: {
|
|
157
|
-
readonly type: PropType<string>;
|
|
158
|
-
readonly required: false;
|
|
159
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
160
|
-
__epPropKey: true;
|
|
161
|
-
} & {
|
|
162
|
-
readonly default: string;
|
|
163
|
-
};
|
|
179
|
+
reserveKeyword: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
180
|
+
valueKey: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
164
181
|
collapseTags: BooleanConstructor;
|
|
165
182
|
collapseTagsTooltip: BooleanConstructor;
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
} & {
|
|
172
|
-
readonly default: number;
|
|
173
|
-
};
|
|
174
|
-
teleported: {
|
|
175
|
-
readonly type: PropType<boolean>;
|
|
176
|
-
readonly required: false;
|
|
177
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
178
|
-
__epPropKey: true;
|
|
179
|
-
} & {
|
|
180
|
-
readonly default: true;
|
|
181
|
-
};
|
|
182
|
-
persistent: {
|
|
183
|
-
readonly type: PropType<boolean>;
|
|
184
|
-
readonly required: false;
|
|
185
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
186
|
-
__epPropKey: true;
|
|
187
|
-
} & {
|
|
188
|
-
readonly default: boolean;
|
|
189
|
-
};
|
|
190
|
-
clearIcon: {
|
|
191
|
-
readonly type: PropType<unknown>;
|
|
192
|
-
readonly required: false;
|
|
193
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
194
|
-
__epPropKey: true;
|
|
195
|
-
};
|
|
183
|
+
tagTooltip: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => import("element-plus").TagTooltipProps) | (() => import("element-plus").TagTooltipProps) | ((new (...args: any[]) => import("element-plus").TagTooltipProps) | (() => import("element-plus").TagTooltipProps) | null)[], unknown, unknown, () => {}, boolean>;
|
|
184
|
+
maxCollapseTags: import("element-plus/es/utils/index.mjs").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
185
|
+
teleported: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
186
|
+
persistent: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
187
|
+
clearIcon: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | null)[], unknown, unknown, import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, boolean>;
|
|
196
188
|
fitInputWidth: BooleanConstructor;
|
|
197
|
-
suffixIcon: {
|
|
198
|
-
readonly type: PropType<unknown>;
|
|
199
|
-
readonly required: false;
|
|
200
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
201
|
-
__epPropKey: true;
|
|
202
|
-
};
|
|
189
|
+
suffixIcon: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | null)[], unknown, unknown, import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, boolean>;
|
|
203
190
|
tagType: {
|
|
204
191
|
default: string;
|
|
205
|
-
type: PropType<"primary" | "success" | "warning" | "info" | "danger"
|
|
192
|
+
type: PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "primary" | "success" | "warning" | "info" | "danger", unknown>>;
|
|
206
193
|
required: false;
|
|
207
194
|
validator: ((val: unknown) => boolean) | undefined;
|
|
208
195
|
__epPropKey: true;
|
|
209
196
|
};
|
|
210
197
|
tagEffect: {
|
|
211
198
|
default: string;
|
|
212
|
-
type: PropType<"
|
|
199
|
+
type: PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "light" | "dark" | "plain", unknown>>;
|
|
213
200
|
required: false;
|
|
214
201
|
validator: ((val: unknown) => boolean) | undefined;
|
|
215
202
|
__epPropKey: true;
|
|
216
203
|
};
|
|
217
|
-
validateEvent:
|
|
218
|
-
readonly type: PropType<boolean>;
|
|
219
|
-
readonly required: false;
|
|
220
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
221
|
-
__epPropKey: true;
|
|
222
|
-
} & {
|
|
223
|
-
readonly default: boolean;
|
|
224
|
-
};
|
|
204
|
+
validateEvent: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
225
205
|
remoteShowSuffix: BooleanConstructor;
|
|
226
|
-
showArrow:
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
} & {
|
|
232
|
-
readonly default: boolean;
|
|
233
|
-
};
|
|
234
|
-
offset: {
|
|
235
|
-
readonly type: PropType<number>;
|
|
236
|
-
readonly required: false;
|
|
237
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
238
|
-
__epPropKey: true;
|
|
239
|
-
} & {
|
|
240
|
-
readonly default: number;
|
|
241
|
-
};
|
|
242
|
-
placement: {
|
|
243
|
-
readonly type: PropType<import("element-plus").Placement>;
|
|
244
|
-
readonly required: false;
|
|
245
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
246
|
-
__epPropKey: true;
|
|
247
|
-
} & {
|
|
248
|
-
readonly default: string;
|
|
249
|
-
};
|
|
250
|
-
fallbackPlacements: {
|
|
251
|
-
readonly type: PropType<import("element-plus").Placement[]>;
|
|
252
|
-
readonly required: false;
|
|
253
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
254
|
-
__epPropKey: true;
|
|
255
|
-
} & {
|
|
256
|
-
readonly default: string[];
|
|
257
|
-
};
|
|
258
|
-
tabindex: {
|
|
259
|
-
readonly type: PropType<string | number>;
|
|
260
|
-
readonly required: false;
|
|
261
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
262
|
-
__epPropKey: true;
|
|
263
|
-
} & {
|
|
264
|
-
readonly default: number;
|
|
265
|
-
};
|
|
206
|
+
showArrow: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
207
|
+
offset: import("element-plus/es/utils/index.mjs").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
208
|
+
placement: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => "left" | "right" | "top" | "auto" | "auto-start" | "auto-end" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement) | ((new (...args: any[]) => "left" | "right" | "top" | "auto" | "auto-start" | "auto-end" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement) | null)[], import("element-plus").Placement, unknown, string, boolean>;
|
|
209
|
+
fallbackPlacements: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => import("element-plus").Placement[]) | (() => import("element-plus").Placement[]) | ((new (...args: any[]) => import("element-plus").Placement[]) | (() => import("element-plus").Placement[]) | null)[], unknown, unknown, string[], boolean>;
|
|
210
|
+
tabindex: import("element-plus/es/utils/index.mjs").EpPropFinalized<(StringConstructor | NumberConstructor)[], unknown, unknown, number, boolean>;
|
|
266
211
|
appendTo: {
|
|
267
|
-
readonly type: PropType<string | HTMLElement
|
|
268
|
-
readonly required: false;
|
|
269
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
270
|
-
__epPropKey: true;
|
|
271
|
-
};
|
|
272
|
-
required: {
|
|
273
|
-
readonly type: PropType<boolean>;
|
|
212
|
+
readonly type: PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | null)[], unknown, unknown>>;
|
|
274
213
|
readonly required: false;
|
|
275
214
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
276
215
|
__epPropKey: true;
|
|
277
|
-
} & {
|
|
278
|
-
readonly default: undefined;
|
|
279
216
|
};
|
|
217
|
+
required: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
280
218
|
formItemSize: {
|
|
281
219
|
type: PropType<"default" | "small" | "large">;
|
|
282
220
|
default: "default" | "small" | "large";
|
|
283
221
|
};
|
|
284
222
|
formItemSlots: {
|
|
285
|
-
type: PropType<import("
|
|
286
|
-
default:
|
|
223
|
+
type: PropType<import("../../form-item/src/types").FormItemSlots>;
|
|
224
|
+
default: undefined;
|
|
287
225
|
};
|
|
288
226
|
elRef: {
|
|
289
227
|
type: PropType<any>;
|
|
@@ -295,91 +233,70 @@ export declare const props: {
|
|
|
295
233
|
};
|
|
296
234
|
readonly: {
|
|
297
235
|
type: BooleanConstructor;
|
|
298
|
-
default:
|
|
236
|
+
default: undefined;
|
|
299
237
|
};
|
|
300
238
|
formItemTip: {
|
|
301
239
|
type: StringConstructor;
|
|
302
|
-
default:
|
|
240
|
+
default: undefined;
|
|
303
241
|
};
|
|
304
|
-
formItemTipClass:
|
|
242
|
+
formItemTipClass: null;
|
|
305
243
|
labelTip: {
|
|
306
244
|
type: StringConstructor;
|
|
307
|
-
default:
|
|
245
|
+
default: undefined;
|
|
308
246
|
};
|
|
309
247
|
information: {
|
|
310
248
|
type: BooleanConstructor;
|
|
311
249
|
default: boolean;
|
|
312
250
|
};
|
|
313
|
-
prop:
|
|
314
|
-
defaultModelValue:
|
|
251
|
+
prop: null;
|
|
252
|
+
defaultModelValue: null;
|
|
315
253
|
label: StringConstructor;
|
|
316
254
|
labelWidth: {
|
|
317
|
-
readonly type: PropType<
|
|
255
|
+
readonly type: PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
318
256
|
readonly required: false;
|
|
319
257
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
320
258
|
__epPropKey: true;
|
|
321
|
-
} & {
|
|
322
|
-
readonly default: "";
|
|
323
|
-
};
|
|
324
|
-
labelPosition: {
|
|
325
|
-
readonly type: PropType<"" | "top" | "left" | "right">;
|
|
326
|
-
readonly required: false;
|
|
327
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
328
|
-
__epPropKey: true;
|
|
329
|
-
} & {
|
|
330
|
-
readonly default: "";
|
|
331
259
|
};
|
|
260
|
+
labelPosition: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
332
261
|
rules: {
|
|
333
|
-
readonly type: PropType<unknown
|
|
262
|
+
readonly type: PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | null)[], unknown, unknown>>;
|
|
334
263
|
readonly required: false;
|
|
335
264
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
336
265
|
__epPropKey: true;
|
|
337
266
|
};
|
|
338
267
|
error: StringConstructor;
|
|
339
268
|
validateStatus: {
|
|
340
|
-
readonly type: PropType<"" | "error" | "success" | "validating"
|
|
269
|
+
readonly type: PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
341
270
|
readonly required: false;
|
|
342
271
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
343
272
|
__epPropKey: true;
|
|
344
273
|
};
|
|
345
274
|
for: StringConstructor;
|
|
346
|
-
inlineMessage:
|
|
347
|
-
|
|
348
|
-
readonly required: false;
|
|
349
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
350
|
-
__epPropKey: true;
|
|
351
|
-
} & {
|
|
352
|
-
readonly default: "";
|
|
353
|
-
};
|
|
354
|
-
showMessage: {
|
|
355
|
-
readonly type: PropType<boolean>;
|
|
356
|
-
readonly required: false;
|
|
357
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
358
|
-
__epPropKey: true;
|
|
359
|
-
} & {
|
|
360
|
-
readonly default: true;
|
|
361
|
-
};
|
|
275
|
+
inlineMessage: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
276
|
+
showMessage: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
362
277
|
};
|
|
363
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"size", 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<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", 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<"showArrow", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"appendTo", keyof T2> | Extract<"persistent", keyof T2> | Extract<"teleported", keyof T2> | Extract<"effect", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"offset", keyof T2> | Extract<"placement", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"name", keyof T2> | Extract<"slots", keyof T2> | Extract<"props", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"multiple", keyof T2> | Extract<"stringify", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"loading", keyof T2> | Extract<"options", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"filterable", keyof T2> | Extract<"allowCreate", keyof T2> | Extract<"remote", keyof T2> | Extract<"loadingText", keyof T2> | Extract<"noMatchText", keyof T2> | Extract<"noDataText", keyof T2> | Extract<"remoteMethod", keyof T2> | Extract<"multipleLimit", keyof T2> | Extract<"defaultFirstOption", keyof T2> | Extract<"reserveKeyword", keyof T2> | Extract<"valueKey", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"remoteShowSuffix", keyof T2> | Extract<"selectSlots", keyof T2> | Extract<"selectRef", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"optionChildrenProp", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"formItemTip", keyof T2>, KE> | Exclude<Extract<"formItemTipClass", keyof T2>, KE> | Exclude<Extract<"labelTip", keyof T2>, KE> | Exclude<Extract<"information", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"defaultModelValue", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"showArrow", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"ariaLabel", keyof T2>, KE> | Exclude<Extract<"appendTo", keyof T2>, KE> | Exclude<Extract<"persistent", keyof T2>, KE> | Exclude<Extract<"teleported", keyof T2>, KE> | Exclude<Extract<"effect", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"popperStyle", keyof T2>, KE> | Exclude<Extract<"fallbackPlacements", keyof T2>, KE> | Exclude<Extract<"offset", keyof T2>, KE> | Exclude<Extract<"placement", keyof T2>, KE> | Exclude<Extract<"popperOptions", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"slots", keyof T2>, KE> | Exclude<Extract<"props", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"multiple", keyof T2>, KE> | Exclude<Extract<"stringify", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"filterMethod", keyof T2>, KE> | Exclude<Extract<"loading", keyof T2>, KE> | Exclude<Extract<"options", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"clearIcon", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"emptyValues", keyof T2>, KE> | Exclude<Extract<"valueOnClear", keyof T2>, KE> | Exclude<Extract<"automaticDropdown", keyof T2>, KE> | Exclude<Extract<"filterable", keyof T2>, KE> | Exclude<Extract<"allowCreate", keyof T2>, KE> | Exclude<Extract<"remote", keyof T2>, KE> | Exclude<Extract<"loadingText", keyof T2>, KE> | Exclude<Extract<"noMatchText", keyof T2>, KE> | Exclude<Extract<"noDataText", keyof T2>, KE> | Exclude<Extract<"remoteMethod", keyof T2>, KE> | Exclude<Extract<"multipleLimit", keyof T2>, KE> | Exclude<Extract<"defaultFirstOption", keyof T2>, KE> | Exclude<Extract<"reserveKeyword", keyof T2>, KE> | Exclude<Extract<"valueKey", keyof T2>, KE> | Exclude<Extract<"collapseTags", keyof T2>, KE> | Exclude<Extract<"collapseTagsTooltip", keyof T2>, KE> | Exclude<Extract<"maxCollapseTags", keyof T2>, KE> | Exclude<Extract<"fitInputWidth", keyof T2>, KE> | Exclude<Extract<"tagType", keyof T2>, KE> | Exclude<Extract<"tagEffect", keyof T2>, KE> | Exclude<Extract<"remoteShowSuffix", keyof T2>, KE> | Exclude<Extract<"selectSlots", keyof T2>, KE> | Exclude<Extract<"selectRef", keyof T2>, KE> | Exclude<Extract<"optionsUrl", keyof T2>, KE> | Exclude<Extract<"optionChildrenProp", keyof T2>, KE> : Extract<"required", keyof T2> | Extract<"size", 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<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", 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<"showArrow", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"appendTo", keyof T2> | Extract<"persistent", keyof T2> | Extract<"teleported", keyof T2> | Extract<"effect", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"offset", keyof T2> | Extract<"placement", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"name", keyof T2> | Extract<"slots", keyof T2> | Extract<"props", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"multiple", keyof T2> | Extract<"stringify", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"loading", keyof T2> | Extract<"options", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"filterable", keyof T2> | Extract<"allowCreate", keyof T2> | Extract<"remote", keyof T2> | Extract<"loadingText", keyof T2> | Extract<"noMatchText", keyof T2> | Extract<"noDataText", keyof T2> | Extract<"remoteMethod", keyof T2> | Extract<"multipleLimit", keyof T2> | Extract<"defaultFirstOption", keyof T2> | Extract<"reserveKeyword", keyof T2> | Extract<"valueKey", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"remoteShowSuffix", keyof T2> | Extract<"selectSlots", keyof T2> | Extract<"selectRef", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"optionChildrenProp", keyof T2>]: { [k in Extract<"required", keyof T2> | Extract<"size", 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<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", 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<"showArrow", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"appendTo", keyof T2> | Extract<"persistent", keyof T2> | Extract<"teleported", keyof T2> | Extract<"effect", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"offset", keyof T2> | Extract<"placement", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"name", keyof T2> | Extract<"slots", keyof T2> | Extract<"props", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"multiple", keyof T2> | Extract<"stringify", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"loading", keyof T2> | Extract<"options", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"filterable", keyof T2> | Extract<"allowCreate", keyof T2> | Extract<"remote", keyof T2> | Extract<"loadingText", keyof T2> | Extract<"noMatchText", keyof T2> | Extract<"noDataText", keyof T2> | Extract<"remoteMethod", keyof T2> | Extract<"multipleLimit", keyof T2> | Extract<"defaultFirstOption", keyof T2> | Extract<"reserveKeyword", keyof T2> | Extract<"valueKey", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"remoteShowSuffix", keyof T2> | Extract<"selectSlots", keyof T2> | Extract<"selectRef", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"optionChildrenProp", keyof T2>]: T2[k]; }[P]; }>;
|
|
278
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"size", 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<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", 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<"placement", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"name", keyof T2> | Extract<"props", keyof T2> | Extract<"slots", keyof T2> | Extract<"loading", keyof T2> | Extract<"options", keyof T2> | Extract<"selectSlots", keyof T2> | Extract<"selectRef", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"stringify", keyof T2> | Extract<"optionChildrenProp", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"effect", keyof T2> | Extract<"filterable", keyof T2> | Extract<"allowCreate", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"remote", keyof T2> | Extract<"debounce", keyof T2> | Extract<"loadingText", keyof T2> | Extract<"noMatchText", keyof T2> | Extract<"noDataText", keyof T2> | Extract<"remoteMethod", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"multiple", keyof T2> | Extract<"multipleLimit", keyof T2> | Extract<"defaultFirstOption", keyof T2> | Extract<"reserveKeyword", keyof T2> | Extract<"valueKey", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"tagTooltip", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"remoteShowSuffix", keyof T2> | Extract<"showArrow", keyof T2> | Extract<"offset", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"appendTo", keyof T2>)[]>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"formItemTip", keyof T2>, KE> | Exclude<Extract<"formItemTipClass", keyof T2>, KE> | Exclude<Extract<"labelTip", keyof T2>, KE> | Exclude<Extract<"information", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"defaultModelValue", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"placement", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"clearIcon", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"ariaLabel", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"props", keyof T2>, KE> | Exclude<Extract<"slots", keyof T2>, KE> | Exclude<Extract<"loading", keyof T2>, KE> | Exclude<Extract<"options", keyof T2>, KE> | Exclude<Extract<"selectSlots", keyof T2>, KE> | Exclude<Extract<"selectRef", keyof T2>, KE> | Exclude<Extract<"optionsUrl", keyof T2>, KE> | Exclude<Extract<"stringify", keyof T2>, KE> | Exclude<Extract<"optionChildrenProp", keyof T2>, KE> | Exclude<Extract<"emptyValues", keyof T2>, KE> | Exclude<Extract<"valueOnClear", keyof T2>, KE> | Exclude<Extract<"automaticDropdown", keyof T2>, KE> | Exclude<Extract<"effect", keyof T2>, KE> | Exclude<Extract<"filterable", keyof T2>, KE> | Exclude<Extract<"allowCreate", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"popperStyle", keyof T2>, KE> | Exclude<Extract<"popperOptions", keyof T2>, KE> | Exclude<Extract<"remote", keyof T2>, KE> | Exclude<Extract<"debounce", keyof T2>, KE> | Exclude<Extract<"loadingText", keyof T2>, KE> | Exclude<Extract<"noMatchText", keyof T2>, KE> | Exclude<Extract<"noDataText", keyof T2>, KE> | Exclude<Extract<"remoteMethod", keyof T2>, KE> | Exclude<Extract<"filterMethod", keyof T2>, KE> | Exclude<Extract<"multiple", keyof T2>, KE> | Exclude<Extract<"multipleLimit", keyof T2>, KE> | Exclude<Extract<"defaultFirstOption", keyof T2>, KE> | Exclude<Extract<"reserveKeyword", keyof T2>, KE> | Exclude<Extract<"valueKey", keyof T2>, KE> | Exclude<Extract<"collapseTags", keyof T2>, KE> | Exclude<Extract<"collapseTagsTooltip", keyof T2>, KE> | Exclude<Extract<"tagTooltip", keyof T2>, KE> | Exclude<Extract<"maxCollapseTags", keyof T2>, KE> | Exclude<Extract<"teleported", keyof T2>, KE> | Exclude<Extract<"persistent", keyof T2>, KE> | Exclude<Extract<"fitInputWidth", keyof T2>, KE> | Exclude<Extract<"tagType", keyof T2>, KE> | Exclude<Extract<"tagEffect", keyof T2>, KE> | Exclude<Extract<"remoteShowSuffix", keyof T2>, KE> | Exclude<Extract<"showArrow", keyof T2>, KE> | Exclude<Extract<"offset", keyof T2>, KE> | Exclude<Extract<"fallbackPlacements", keyof T2>, KE> | Exclude<Extract<"appendTo", keyof T2>, KE> : Extract<"required", keyof T2> | Extract<"size", 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<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", 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<"placement", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"name", keyof T2> | Extract<"props", keyof T2> | Extract<"slots", keyof T2> | Extract<"loading", keyof T2> | Extract<"options", keyof T2> | Extract<"selectSlots", keyof T2> | Extract<"selectRef", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"stringify", keyof T2> | Extract<"optionChildrenProp", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"effect", keyof T2> | Extract<"filterable", keyof T2> | Extract<"allowCreate", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"remote", keyof T2> | Extract<"debounce", keyof T2> | Extract<"loadingText", keyof T2> | Extract<"noMatchText", keyof T2> | Extract<"noDataText", keyof T2> | Extract<"remoteMethod", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"multiple", keyof T2> | Extract<"multipleLimit", keyof T2> | Extract<"defaultFirstOption", keyof T2> | Extract<"reserveKeyword", keyof T2> | Extract<"valueKey", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"tagTooltip", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"remoteShowSuffix", keyof T2> | Extract<"showArrow", keyof T2> | Extract<"offset", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"appendTo", keyof T2>]: { [k in Extract<"required", keyof T2> | Extract<"size", 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<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", 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<"placement", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"name", keyof T2> | Extract<"props", keyof T2> | Extract<"slots", keyof T2> | Extract<"loading", keyof T2> | Extract<"options", keyof T2> | Extract<"selectSlots", keyof T2> | Extract<"selectRef", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"stringify", keyof T2> | Extract<"optionChildrenProp", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"effect", keyof T2> | Extract<"filterable", keyof T2> | Extract<"allowCreate", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"remote", keyof T2> | Extract<"debounce", keyof T2> | Extract<"loadingText", keyof T2> | Extract<"noMatchText", keyof T2> | Extract<"noDataText", keyof T2> | Extract<"remoteMethod", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"multiple", keyof T2> | Extract<"multipleLimit", keyof T2> | Extract<"defaultFirstOption", keyof T2> | Extract<"reserveKeyword", keyof T2> | Extract<"valueKey", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"tagTooltip", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"remoteShowSuffix", keyof T2> | Extract<"showArrow", keyof T2> | Extract<"offset", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"appendTo", keyof T2>]: T2[k]; }[P]; }>;
|
|
364
279
|
export declare const emits: {
|
|
365
|
-
'update:modelValue':
|
|
366
|
-
change: (val:
|
|
367
|
-
|
|
280
|
+
'update:modelValue': null;
|
|
281
|
+
change: (val: any) => boolean;
|
|
282
|
+
'popup-scroll': ({ scrollTop, scrollLeft }: {
|
|
368
283
|
scrollTop: number;
|
|
369
284
|
scrollLeft: number;
|
|
370
285
|
}) => boolean;
|
|
371
|
-
|
|
372
|
-
|
|
286
|
+
'end-reached': (direction: import("element-plus").ScrollbarDirection) => boolean;
|
|
287
|
+
'remove-tag': (val: unknown) => boolean;
|
|
288
|
+
'visible-change': (visible: boolean) => boolean;
|
|
373
289
|
focus: (evt: FocusEvent) => boolean;
|
|
374
290
|
blur: (evt: FocusEvent) => boolean;
|
|
375
291
|
clear: () => boolean;
|
|
376
292
|
};
|
|
377
|
-
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("focus" | "
|
|
293
|
+
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("clear" | "focus" | "blur" | "update:modelValue" | "change" | "popup-scroll" | "end-reached" | "remove-tag" | "visible-change")[]>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"clear", KE> | Exclude<"focus", KE> | Exclude<"blur", KE> | Exclude<"update:modelValue", KE> | Exclude<"change", KE> | Exclude<"popup-scroll", KE> | Exclude<"end-reached", KE> | Exclude<"remove-tag", KE> | Exclude<"visible-change", KE> : "clear" | "focus" | "blur" | "update:modelValue" | "change" | "popup-scroll" | "end-reached" | "remove-tag" | "visible-change"]: {
|
|
378
294
|
'update:modelValue': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
379
295
|
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
296
|
+
'popup-scroll': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
297
|
+
'end-reached': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
298
|
+
'remove-tag': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
299
|
+
'visible-change': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
383
300
|
focus: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
384
301
|
blur: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
385
302
|
clear: (...e: import("@vunk/core").RestParameters<T2>) => void;
|