@aplus-frontend/ui 6.29.3 → 6.30.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/es/src/ag-grid/index.vue.mjs +228 -222
- package/es/src/ag-grid/renderer/select.mjs +8 -11
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +5 -6
- package/es/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/es/src/ap-field/checkbox/read.vue.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.d.ts +4 -4
- package/es/src/ap-field/date/index.vue.mjs +11 -10
- package/es/src/ap-field/date/read.vue.d.ts +1 -1
- package/es/src/ap-field/date/read.vue2.mjs +8 -7
- package/es/src/ap-field/date-range/index.vue.d.ts +4 -4
- package/es/src/ap-field/date-range/index.vue.mjs +1 -0
- package/es/src/ap-field/date-range/read.vue.d.ts +1 -1
- package/es/src/ap-field/date-range/read.vue2.mjs +1 -0
- package/es/src/ap-field/index.d.ts +7 -7
- package/es/src/ap-field/number/index.vue.d.ts +90 -50
- package/es/src/ap-field/number/index.vue.mjs +14 -12
- package/es/src/ap-field/number/read.vue2.mjs +8 -6
- package/es/src/ap-field/rate/index.vue.d.ts +6 -6
- package/es/src/ap-field/select/index.vue.d.ts +241 -241
- package/es/src/ap-field/select/index.vue.mjs +27 -27
- package/es/src/ap-field/select/read.vue2.mjs +27 -27
- package/es/src/ap-field/slider/index.vue.d.ts +9 -9
- package/es/src/ap-field/switch/index.vue.d.ts +1 -1
- package/es/src/ap-field/switch/read.vue.d.ts +1 -1
- package/es/src/ap-field/text/index.vue.d.ts +1 -1
- package/es/src/ap-field/text/index.vue2.mjs +39 -38
- package/es/src/ap-field/text/password.vue.d.ts +1 -1
- package/es/src/ap-field/text/password.vue.mjs +34 -33
- package/es/src/ap-field/text/read-password.vue.d.ts +1 -1
- package/es/src/ap-field/text/read-password.vue2.mjs +31 -30
- package/es/src/ap-field/text/read.vue.d.ts +1 -1
- package/es/src/ap-field/text/read.vue2.mjs +21 -20
- package/es/src/ap-field/text-area/index.vue.d.ts +67 -57
- package/es/src/ap-field/text-area/index.vue.mjs +15 -14
- package/es/src/ap-field/text-area/read.vue.d.ts +1 -1
- package/es/src/ap-field/text-area/read.vue2.mjs +11 -10
- package/es/src/ap-field/tree-select/index.vue.d.ts +326 -326
- package/es/src/ap-field/tree-select/index.vue.mjs +46 -46
- package/es/src/ap-field/tree-select/read.vue2.mjs +45 -45
- package/es/src/ap-form/ap-form.vue.d.ts +71 -67
- package/es/src/ap-form/drawer-form/index.vue.d.ts +65 -65
- package/es/src/ap-form/item/index.vue.d.ts +36 -36
- package/es/src/ap-form/item/index.vue.mjs +10 -10
- package/es/src/ap-form/items/number/index.vue.d.ts +103 -59
- package/es/src/ap-form/items/select/index.vue.d.ts +306 -306
- package/es/src/ap-form/items/text/index.vue.d.ts +19 -17
- package/es/src/ap-form/items/text/password.vue.d.ts +19 -17
- package/es/src/ap-form/items/text-area/index.vue.d.ts +138 -118
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +407 -407
- package/es/src/ap-form/modal-form/index.vue.d.ts +69 -70
- package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +5 -6
- package/es/src/ap-form/search-form/index.vue.d.ts +67 -67
- package/es/src/ap-form/search-form/index.vue.mjs +40 -40
- package/es/src/ap-grid/constants.d.ts +3 -0
- package/es/src/ap-grid/constants.mjs +6 -3
- package/es/src/ap-grid/index.vue.mjs +221 -214
- package/es/src/ap-grid/utils/table.d.ts +1 -1
- package/es/src/ap-grid/utils/table.mjs +59 -62
- package/es/src/ap-table/constants.d.ts +499 -465
- package/es/src/ap-table/utils.d.ts +1 -1
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +8 -8
- package/es/src/business/ap-batch-action-group/index.d.ts +7 -8
- package/es/src/business/ap-label/ApLabel.d.ts +4 -4
- package/es/src/business/ap-label/constans.d.ts +1 -1
- package/es/src/business/ap-label/index.d.ts +9 -9
- package/es/src/business/ap-radio-group/ap-radio-group.vue.d.ts +1 -1
- package/es/src/business/ap-radio-group/index.d.ts +3 -3
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +1 -1
- package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +1 -1
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +1 -1
- package/es/src/business/ap-table-modal/index.d.ts +3 -3
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +1 -1
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -2
- package/es/src/business/ap-view/ap-view.vue2.mjs +80 -80
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +33 -33
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +33 -33
- package/es/src/business/ap-view/interface.d.ts +13 -3
- package/es/src/business/batch-input-group/index.vue.d.ts +11 -10
- package/es/src/business/batch-input-group/index.vue.mjs +20 -19
- package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +66 -56
- package/es/src/business/hooks/usePageListApTable.d.ts +1 -1
- package/es/src/config-provider/config-provider-props.d.ts +64 -52
- package/es/src/config-provider/config-provider-props.mjs +10 -2
- package/es/src/config-provider/config-provider.d.ts +130 -113
- package/es/src/config-provider/config-provider.mjs +26 -24
- package/es/src/config-provider/hooks/use-global-config.d.ts +60 -49
- package/es/src/config-provider/index.d.ts +214 -197
- package/es/src/mask/utils.d.ts +1 -1
- package/es/src/mask/utils.mjs +29 -13
- package/es/src/text/index.vue.mjs +3 -3
- package/es/src/utils/config-provider-preset.d.ts +36 -49
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +33 -33
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/renderer/select.js +1 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +5 -6
- package/lib/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/lib/src/ap-field/checkbox/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +4 -4
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date/read.vue2.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +4 -4
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date-range/read.vue2.js +1 -1
- package/lib/src/ap-field/index.d.ts +7 -7
- package/lib/src/ap-field/number/index.vue.d.ts +90 -50
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/number/read.vue2.js +1 -1
- package/lib/src/ap-field/rate/index.vue.d.ts +6 -6
- package/lib/src/ap-field/select/index.vue.d.ts +241 -241
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/read.vue2.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +9 -9
- package/lib/src/ap-field/switch/index.vue.d.ts +1 -1
- package/lib/src/ap-field/switch/read.vue.d.ts +1 -1
- package/lib/src/ap-field/text/index.vue.d.ts +1 -1
- package/lib/src/ap-field/text/index.vue2.js +1 -1
- package/lib/src/ap-field/text/password.vue.d.ts +1 -1
- package/lib/src/ap-field/text/password.vue.js +1 -1
- package/lib/src/ap-field/text/read-password.vue.d.ts +1 -1
- package/lib/src/ap-field/text/read-password.vue2.js +1 -1
- package/lib/src/ap-field/text/read.vue.d.ts +1 -1
- package/lib/src/ap-field/text/read.vue2.js +1 -1
- package/lib/src/ap-field/text-area/index.vue.d.ts +67 -57
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-field/text-area/read.vue.d.ts +1 -1
- package/lib/src/ap-field/text-area/read.vue2.js +1 -1
- package/lib/src/ap-field/tree-select/index.vue.d.ts +326 -326
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/read.vue2.js +1 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +71 -67
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +65 -65
- package/lib/src/ap-form/item/index.vue.d.ts +36 -36
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +103 -59
- package/lib/src/ap-form/items/select/index.vue.d.ts +306 -306
- package/lib/src/ap-form/items/text/index.vue.d.ts +19 -17
- package/lib/src/ap-form/items/text/password.vue.d.ts +19 -17
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +138 -118
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +407 -407
- package/lib/src/ap-form/modal-form/index.vue.d.ts +69 -70
- package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +5 -6
- package/lib/src/ap-form/search-form/index.vue.d.ts +67 -67
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-grid/constants.d.ts +3 -0
- package/lib/src/ap-grid/constants.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/utils/table.d.ts +1 -1
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-table/constants.d.ts +499 -465
- package/lib/src/ap-table/utils.d.ts +1 -1
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +8 -8
- package/lib/src/business/ap-batch-action-group/index.d.ts +7 -8
- package/lib/src/business/ap-label/ApLabel.d.ts +4 -4
- package/lib/src/business/ap-label/constans.d.ts +1 -1
- package/lib/src/business/ap-label/index.d.ts +9 -9
- package/lib/src/business/ap-radio-group/ap-radio-group.vue.d.ts +1 -1
- package/lib/src/business/ap-radio-group/index.d.ts +3 -3
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +1 -1
- package/lib/src/business/ap-table-modal/index.d.ts +3 -3
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +1 -1
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +33 -33
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +33 -33
- package/lib/src/business/ap-view/interface.d.ts +13 -3
- package/lib/src/business/batch-input-group/index.vue.d.ts +11 -10
- package/lib/src/business/batch-input-group/index.vue.js +1 -1
- package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +66 -56
- package/lib/src/business/hooks/usePageListApTable.d.ts +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +64 -52
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +130 -113
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +60 -49
- package/lib/src/config-provider/index.d.ts +214 -197
- package/lib/src/mask/utils.d.ts +1 -1
- package/lib/src/mask/utils.js +3 -3
- package/lib/src/text/index.vue.js +1 -1
- package/lib/src/utils/config-provider-preset.d.ts +36 -49
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +33 -33
- package/package.json +3 -3
- package/theme/ag-grid/index.css +0 -6
- package/theme/antdv-override.css +0 -6
- package/theme/antdv-override.less +0 -8
- package/theme/ap-expand-alert/ap-expand-alert.css +0 -4
- package/theme/ap-expand-alert/ap-expand-alert.less +6 -5
- package/theme/ap-form/ap-form-item.css +0 -6
- package/theme/ap-form/ap-form-item.less +0 -6
- package/theme/ap-form/index.css +0 -6
- package/theme/ap-form/search-form.css +0 -6
- package/theme/ap-grid/index.css +0 -6
- package/theme/ap-table/ap-table.css +0 -6
- package/theme/ap-table-modal/index.css +0 -6
- package/theme/ap-view/ap-view.css +4 -0
- package/theme/ap-view/ap-view.less +4 -0
- package/theme/editable-table/index.css +0 -6
- package/theme/index.css +4 -16
|
@@ -2,10 +2,10 @@ import { DefaultOptionType, SelectValue, LabeledValue } from '@aplus-frontend/an
|
|
|
2
2
|
import { ApFieldSelectProps } from '../interface';
|
|
3
3
|
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, CSSProperties, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent } from 'vue';
|
|
4
4
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
5
|
-
import {
|
|
5
|
+
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
6
6
|
import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
|
|
7
7
|
import { SelectHandler, FieldNames, FilterFunc } from '@aplus-frontend/antdv/es/vc-select/Select';
|
|
8
|
-
import { RenderDOMFunc,
|
|
8
|
+
import { RenderDOMFunc, CustomTagProps, DropdownRender } from '@aplus-frontend/antdv/es/vc-select/BaseSelect';
|
|
9
9
|
import { AlignType } from '@aplus-frontend/antdv/es/vc-trigger/interface';
|
|
10
10
|
import { FieldMode } from '..';
|
|
11
11
|
type ApFieldSelectSlots = {
|
|
@@ -39,8 +39,8 @@ declare function __VLS_template(): {
|
|
|
39
39
|
suffixIcon: VueTypeValidableDef<any>;
|
|
40
40
|
itemIcon: VueTypeValidableDef<any>;
|
|
41
41
|
size: {
|
|
42
|
-
type: PropType<
|
|
43
|
-
default:
|
|
42
|
+
type: PropType<ButtonSize>;
|
|
43
|
+
default: ButtonSize;
|
|
44
44
|
};
|
|
45
45
|
mode: {
|
|
46
46
|
type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
|
|
@@ -108,6 +108,8 @@ declare function __VLS_template(): {
|
|
|
108
108
|
default: any;
|
|
109
109
|
};
|
|
110
110
|
prefixCls: StringConstructor;
|
|
111
|
+
id: StringConstructor;
|
|
112
|
+
autofocus: BooleanConstructor;
|
|
111
113
|
getPopupContainer: {
|
|
112
114
|
type: PropType<RenderDOMFunc>;
|
|
113
115
|
};
|
|
@@ -119,51 +121,48 @@ declare function __VLS_template(): {
|
|
|
119
121
|
type: PropType<number | boolean>;
|
|
120
122
|
default: any;
|
|
121
123
|
};
|
|
124
|
+
placeholder: VueTypeValidableDef<any>;
|
|
122
125
|
loading: {
|
|
123
126
|
type: BooleanConstructor;
|
|
124
127
|
default: any;
|
|
125
128
|
};
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
};
|
|
129
|
-
dropdownAlign: PropType<AlignType>;
|
|
130
|
-
placeholder: VueTypeValidableDef<any>;
|
|
129
|
+
prefix: VueTypeValidableDef<any>;
|
|
130
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
131
131
|
allowClear: {
|
|
132
132
|
type: BooleanConstructor;
|
|
133
133
|
default: any;
|
|
134
134
|
};
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
fieldNames: PropType<FieldNames>;
|
|
136
|
+
inputValue: StringConstructor;
|
|
137
|
+
searchValue: StringConstructor;
|
|
138
|
+
onSearch: PropType<(value: string) => void>;
|
|
139
|
+
autoClearSearchValue: {
|
|
137
140
|
type: BooleanConstructor;
|
|
138
141
|
default: any;
|
|
139
142
|
};
|
|
140
|
-
id: StringConstructor;
|
|
141
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
142
|
-
options: PropType<DefaultOptionType[]>;
|
|
143
143
|
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
dropdownStyle: {
|
|
148
|
-
type: PropType<CSSProperties>;
|
|
149
|
-
};
|
|
150
|
-
dropdownRender: {
|
|
151
|
-
type: PropType<DropdownRender>;
|
|
144
|
+
filterOption: {
|
|
145
|
+
type: PropType<boolean | FilterFunc<DefaultOptionType>>;
|
|
146
|
+
default: any;
|
|
152
147
|
};
|
|
153
|
-
|
|
148
|
+
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType) => number>;
|
|
149
|
+
optionFilterProp: StringConstructor;
|
|
150
|
+
optionLabelProp: StringConstructor;
|
|
151
|
+
options: PropType<DefaultOptionType[]>;
|
|
152
|
+
defaultActiveFirstOption: {
|
|
154
153
|
type: BooleanConstructor;
|
|
155
154
|
default: any;
|
|
156
155
|
};
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
type:
|
|
156
|
+
listItemHeight: NumberConstructor;
|
|
157
|
+
onClickOption: PropType<(e: MouseEvent, value: SelectValue, selected: boolean) => boolean | Promise<boolean>>;
|
|
158
|
+
menuItemSelectedIcon: VueTypeValidableDef<any>;
|
|
159
|
+
labelInValue: {
|
|
160
|
+
type: BooleanConstructor;
|
|
161
|
+
default: any;
|
|
162
162
|
};
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
type: PropType<string[]>;
|
|
163
|
+
showSearch: {
|
|
164
|
+
type: BooleanConstructor;
|
|
165
|
+
default: any;
|
|
167
166
|
};
|
|
168
167
|
tagRender: {
|
|
169
168
|
type: PropType<(props: CustomTagProps) => any>;
|
|
@@ -172,57 +171,58 @@ declare function __VLS_template(): {
|
|
|
172
171
|
type: PropType<(option: Record<string, any>) => any>;
|
|
173
172
|
};
|
|
174
173
|
onClear: PropType<() => void>;
|
|
174
|
+
defaultOpen: {
|
|
175
|
+
type: BooleanConstructor;
|
|
176
|
+
default: any;
|
|
177
|
+
};
|
|
175
178
|
onDropdownVisibleChange: {
|
|
176
179
|
type: PropType<(open: boolean) => void>;
|
|
177
180
|
};
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
inputValue: StringConstructor;
|
|
182
|
-
autoClearSearchValue: {
|
|
183
|
-
type: BooleanConstructor;
|
|
184
|
-
default: any;
|
|
181
|
+
maxTagTextLength: NumberConstructor;
|
|
182
|
+
maxTagCount: {
|
|
183
|
+
type: PropType<number | "responsive">;
|
|
185
184
|
};
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
185
|
+
maxTagPlaceholder: VueTypeValidableDef<any>;
|
|
186
|
+
tokenSeparators: {
|
|
187
|
+
type: PropType<string[]>;
|
|
189
188
|
};
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
defaultActiveFirstOption: {
|
|
194
|
-
type: BooleanConstructor;
|
|
195
|
-
default: any;
|
|
189
|
+
removeIcon: VueTypeValidableDef<any>;
|
|
190
|
+
dropdownStyle: {
|
|
191
|
+
type: PropType<CSSProperties>;
|
|
196
192
|
};
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
193
|
+
dropdownRender: {
|
|
194
|
+
type: PropType<DropdownRender>;
|
|
195
|
+
};
|
|
196
|
+
dropdownAlign: PropType<AlignType>;
|
|
197
|
+
showAction: {
|
|
198
|
+
type: PropType<("click" | "focus")[]>;
|
|
201
199
|
};
|
|
200
|
+
onPopupScroll: PropType<(e: UIEvent) => void>;
|
|
201
|
+
onInputKeyDown: PropType<(e: KeyboardEvent) => void>;
|
|
202
202
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
203
|
-
size:
|
|
203
|
+
size: ButtonSize;
|
|
204
204
|
value: SelectValue;
|
|
205
205
|
mode: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
206
206
|
open: boolean;
|
|
207
207
|
disabled: boolean;
|
|
208
|
+
autofocus: boolean;
|
|
209
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
208
210
|
virtual: boolean;
|
|
209
211
|
dropdownMatchSelectWidth: number | boolean;
|
|
210
212
|
loading: boolean;
|
|
211
|
-
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
212
213
|
bordered: boolean;
|
|
213
|
-
|
|
214
|
+
'onUpdate:value': (val: SelectValue) => void;
|
|
214
215
|
status: "" | "error" | "warning";
|
|
216
|
+
defaultValue: SelectValue;
|
|
215
217
|
allowClear: boolean;
|
|
216
|
-
autofocus: boolean;
|
|
217
|
-
defaultOpen: boolean;
|
|
218
|
-
'onUpdate:value': (val: SelectValue) => void;
|
|
219
|
-
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
220
|
-
showSearch: boolean;
|
|
221
|
-
choiceTransitionName: "";
|
|
222
218
|
autoClearSearchValue: boolean;
|
|
223
219
|
filterOption: boolean | FilterFunc<DefaultOptionType>;
|
|
224
220
|
defaultActiveFirstOption: boolean;
|
|
225
221
|
labelInValue: boolean;
|
|
222
|
+
showSearch: boolean;
|
|
223
|
+
choiceTransitionName: "";
|
|
224
|
+
defaultOpen: boolean;
|
|
225
|
+
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
226
226
|
showArrow: boolean;
|
|
227
227
|
}, true, {}, CustomSlotsType<{
|
|
228
228
|
notFoundContent: any;
|
|
@@ -258,8 +258,8 @@ declare function __VLS_template(): {
|
|
|
258
258
|
suffixIcon: VueTypeValidableDef<any>;
|
|
259
259
|
itemIcon: VueTypeValidableDef<any>;
|
|
260
260
|
size: {
|
|
261
|
-
type: PropType<
|
|
262
|
-
default:
|
|
261
|
+
type: PropType<ButtonSize>;
|
|
262
|
+
default: ButtonSize;
|
|
263
263
|
};
|
|
264
264
|
mode: {
|
|
265
265
|
type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
|
|
@@ -327,6 +327,8 @@ declare function __VLS_template(): {
|
|
|
327
327
|
default: any;
|
|
328
328
|
};
|
|
329
329
|
prefixCls: StringConstructor;
|
|
330
|
+
id: StringConstructor;
|
|
331
|
+
autofocus: BooleanConstructor;
|
|
330
332
|
getPopupContainer: {
|
|
331
333
|
type: PropType<RenderDOMFunc>;
|
|
332
334
|
};
|
|
@@ -338,51 +340,48 @@ declare function __VLS_template(): {
|
|
|
338
340
|
type: PropType<number | boolean>;
|
|
339
341
|
default: any;
|
|
340
342
|
};
|
|
343
|
+
placeholder: VueTypeValidableDef<any>;
|
|
341
344
|
loading: {
|
|
342
345
|
type: BooleanConstructor;
|
|
343
346
|
default: any;
|
|
344
347
|
};
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
};
|
|
348
|
-
dropdownAlign: PropType<AlignType>;
|
|
349
|
-
placeholder: VueTypeValidableDef<any>;
|
|
348
|
+
prefix: VueTypeValidableDef<any>;
|
|
349
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
350
350
|
allowClear: {
|
|
351
351
|
type: BooleanConstructor;
|
|
352
352
|
default: any;
|
|
353
353
|
};
|
|
354
|
-
|
|
355
|
-
|
|
354
|
+
fieldNames: PropType<FieldNames>;
|
|
355
|
+
inputValue: StringConstructor;
|
|
356
|
+
searchValue: StringConstructor;
|
|
357
|
+
onSearch: PropType<(value: string) => void>;
|
|
358
|
+
autoClearSearchValue: {
|
|
356
359
|
type: BooleanConstructor;
|
|
357
360
|
default: any;
|
|
358
361
|
};
|
|
359
|
-
id: StringConstructor;
|
|
360
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
361
|
-
options: PropType<DefaultOptionType[]>;
|
|
362
362
|
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
dropdownStyle: {
|
|
367
|
-
type: PropType<CSSProperties>;
|
|
368
|
-
};
|
|
369
|
-
dropdownRender: {
|
|
370
|
-
type: PropType<DropdownRender>;
|
|
363
|
+
filterOption: {
|
|
364
|
+
type: PropType<boolean | FilterFunc<DefaultOptionType>>;
|
|
365
|
+
default: any;
|
|
371
366
|
};
|
|
372
|
-
|
|
367
|
+
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType) => number>;
|
|
368
|
+
optionFilterProp: StringConstructor;
|
|
369
|
+
optionLabelProp: StringConstructor;
|
|
370
|
+
options: PropType<DefaultOptionType[]>;
|
|
371
|
+
defaultActiveFirstOption: {
|
|
373
372
|
type: BooleanConstructor;
|
|
374
373
|
default: any;
|
|
375
374
|
};
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
type:
|
|
375
|
+
listItemHeight: NumberConstructor;
|
|
376
|
+
onClickOption: PropType<(e: MouseEvent, value: SelectValue, selected: boolean) => boolean | Promise<boolean>>;
|
|
377
|
+
menuItemSelectedIcon: VueTypeValidableDef<any>;
|
|
378
|
+
labelInValue: {
|
|
379
|
+
type: BooleanConstructor;
|
|
380
|
+
default: any;
|
|
381
381
|
};
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
type: PropType<string[]>;
|
|
382
|
+
showSearch: {
|
|
383
|
+
type: BooleanConstructor;
|
|
384
|
+
default: any;
|
|
386
385
|
};
|
|
387
386
|
tagRender: {
|
|
388
387
|
type: PropType<(props: CustomTagProps) => any>;
|
|
@@ -391,57 +390,58 @@ declare function __VLS_template(): {
|
|
|
391
390
|
type: PropType<(option: Record<string, any>) => any>;
|
|
392
391
|
};
|
|
393
392
|
onClear: PropType<() => void>;
|
|
393
|
+
defaultOpen: {
|
|
394
|
+
type: BooleanConstructor;
|
|
395
|
+
default: any;
|
|
396
|
+
};
|
|
394
397
|
onDropdownVisibleChange: {
|
|
395
398
|
type: PropType<(open: boolean) => void>;
|
|
396
399
|
};
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
inputValue: StringConstructor;
|
|
401
|
-
autoClearSearchValue: {
|
|
402
|
-
type: BooleanConstructor;
|
|
403
|
-
default: any;
|
|
400
|
+
maxTagTextLength: NumberConstructor;
|
|
401
|
+
maxTagCount: {
|
|
402
|
+
type: PropType<number | "responsive">;
|
|
404
403
|
};
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
404
|
+
maxTagPlaceholder: VueTypeValidableDef<any>;
|
|
405
|
+
tokenSeparators: {
|
|
406
|
+
type: PropType<string[]>;
|
|
408
407
|
};
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
defaultActiveFirstOption: {
|
|
413
|
-
type: BooleanConstructor;
|
|
414
|
-
default: any;
|
|
408
|
+
removeIcon: VueTypeValidableDef<any>;
|
|
409
|
+
dropdownStyle: {
|
|
410
|
+
type: PropType<CSSProperties>;
|
|
415
411
|
};
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
412
|
+
dropdownRender: {
|
|
413
|
+
type: PropType<DropdownRender>;
|
|
414
|
+
};
|
|
415
|
+
dropdownAlign: PropType<AlignType>;
|
|
416
|
+
showAction: {
|
|
417
|
+
type: PropType<("click" | "focus")[]>;
|
|
420
418
|
};
|
|
419
|
+
onPopupScroll: PropType<(e: UIEvent) => void>;
|
|
420
|
+
onInputKeyDown: PropType<(e: KeyboardEvent) => void>;
|
|
421
421
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
422
|
-
size:
|
|
422
|
+
size: ButtonSize;
|
|
423
423
|
value: SelectValue;
|
|
424
424
|
mode: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
425
425
|
open: boolean;
|
|
426
426
|
disabled: boolean;
|
|
427
|
+
autofocus: boolean;
|
|
428
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
427
429
|
virtual: boolean;
|
|
428
430
|
dropdownMatchSelectWidth: number | boolean;
|
|
429
431
|
loading: boolean;
|
|
430
|
-
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
431
432
|
bordered: boolean;
|
|
432
|
-
|
|
433
|
+
'onUpdate:value': (val: SelectValue) => void;
|
|
433
434
|
status: "" | "error" | "warning";
|
|
435
|
+
defaultValue: SelectValue;
|
|
434
436
|
allowClear: boolean;
|
|
435
|
-
autofocus: boolean;
|
|
436
|
-
defaultOpen: boolean;
|
|
437
|
-
'onUpdate:value': (val: SelectValue) => void;
|
|
438
|
-
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
439
|
-
showSearch: boolean;
|
|
440
|
-
choiceTransitionName: "";
|
|
441
437
|
autoClearSearchValue: boolean;
|
|
442
438
|
filterOption: boolean | FilterFunc<DefaultOptionType>;
|
|
443
439
|
defaultActiveFirstOption: boolean;
|
|
444
440
|
labelInValue: boolean;
|
|
441
|
+
showSearch: boolean;
|
|
442
|
+
choiceTransitionName: "";
|
|
443
|
+
defaultOpen: boolean;
|
|
444
|
+
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
445
445
|
showArrow: boolean;
|
|
446
446
|
}> | null;
|
|
447
447
|
};
|
|
@@ -464,16 +464,16 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
464
464
|
loading: boolean;
|
|
465
465
|
autofocus: boolean;
|
|
466
466
|
bordered: boolean;
|
|
467
|
+
emptyText: string;
|
|
467
468
|
virtual: boolean;
|
|
468
469
|
lazy: boolean;
|
|
469
470
|
allowClear: boolean;
|
|
470
|
-
defaultOpen: boolean;
|
|
471
471
|
showArrow: boolean;
|
|
472
|
-
showSearch: boolean;
|
|
473
472
|
autoClearSearchValue: boolean;
|
|
474
473
|
defaultActiveFirstOption: boolean;
|
|
475
474
|
labelInValue: boolean;
|
|
476
|
-
|
|
475
|
+
showSearch: boolean;
|
|
476
|
+
defaultOpen: boolean;
|
|
477
477
|
searchMode: "filter" | "request";
|
|
478
478
|
refetchOnFocus: boolean;
|
|
479
479
|
searchDelay: number;
|
|
@@ -491,8 +491,8 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
491
491
|
suffixIcon: VueTypeValidableDef<any>;
|
|
492
492
|
itemIcon: VueTypeValidableDef<any>;
|
|
493
493
|
size: {
|
|
494
|
-
type: PropType<
|
|
495
|
-
default:
|
|
494
|
+
type: PropType<ButtonSize>;
|
|
495
|
+
default: ButtonSize;
|
|
496
496
|
};
|
|
497
497
|
mode: {
|
|
498
498
|
type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
|
|
@@ -560,6 +560,8 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
560
560
|
default: any;
|
|
561
561
|
};
|
|
562
562
|
prefixCls: StringConstructor;
|
|
563
|
+
id: StringConstructor;
|
|
564
|
+
autofocus: BooleanConstructor;
|
|
563
565
|
getPopupContainer: {
|
|
564
566
|
type: PropType<RenderDOMFunc>;
|
|
565
567
|
};
|
|
@@ -571,51 +573,48 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
571
573
|
type: PropType<number | boolean>;
|
|
572
574
|
default: any;
|
|
573
575
|
};
|
|
576
|
+
placeholder: VueTypeValidableDef<any>;
|
|
574
577
|
loading: {
|
|
575
578
|
type: BooleanConstructor;
|
|
576
579
|
default: any;
|
|
577
580
|
};
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
};
|
|
581
|
-
dropdownAlign: PropType<AlignType>;
|
|
582
|
-
placeholder: VueTypeValidableDef<any>;
|
|
581
|
+
prefix: VueTypeValidableDef<any>;
|
|
582
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
583
583
|
allowClear: {
|
|
584
584
|
type: BooleanConstructor;
|
|
585
585
|
default: any;
|
|
586
586
|
};
|
|
587
|
-
|
|
588
|
-
|
|
587
|
+
fieldNames: PropType<FieldNames>;
|
|
588
|
+
inputValue: StringConstructor;
|
|
589
|
+
searchValue: StringConstructor;
|
|
590
|
+
onSearch: PropType<(value: string) => void>;
|
|
591
|
+
autoClearSearchValue: {
|
|
589
592
|
type: BooleanConstructor;
|
|
590
593
|
default: any;
|
|
591
594
|
};
|
|
592
|
-
id: StringConstructor;
|
|
593
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
594
|
-
options: PropType<DefaultOptionType[]>;
|
|
595
595
|
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
dropdownStyle: {
|
|
600
|
-
type: PropType<CSSProperties>;
|
|
601
|
-
};
|
|
602
|
-
dropdownRender: {
|
|
603
|
-
type: PropType<DropdownRender>;
|
|
596
|
+
filterOption: {
|
|
597
|
+
type: PropType<boolean | FilterFunc<DefaultOptionType>>;
|
|
598
|
+
default: any;
|
|
604
599
|
};
|
|
605
|
-
|
|
600
|
+
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType) => number>;
|
|
601
|
+
optionFilterProp: StringConstructor;
|
|
602
|
+
optionLabelProp: StringConstructor;
|
|
603
|
+
options: PropType<DefaultOptionType[]>;
|
|
604
|
+
defaultActiveFirstOption: {
|
|
606
605
|
type: BooleanConstructor;
|
|
607
606
|
default: any;
|
|
608
607
|
};
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
type:
|
|
608
|
+
listItemHeight: NumberConstructor;
|
|
609
|
+
onClickOption: PropType<(e: MouseEvent, value: SelectValue, selected: boolean) => boolean | Promise<boolean>>;
|
|
610
|
+
menuItemSelectedIcon: VueTypeValidableDef<any>;
|
|
611
|
+
labelInValue: {
|
|
612
|
+
type: BooleanConstructor;
|
|
613
|
+
default: any;
|
|
614
614
|
};
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
type: PropType<string[]>;
|
|
615
|
+
showSearch: {
|
|
616
|
+
type: BooleanConstructor;
|
|
617
|
+
default: any;
|
|
619
618
|
};
|
|
620
619
|
tagRender: {
|
|
621
620
|
type: PropType<(props: CustomTagProps) => any>;
|
|
@@ -624,57 +623,58 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
624
623
|
type: PropType<(option: Record<string, any>) => any>;
|
|
625
624
|
};
|
|
626
625
|
onClear: PropType<() => void>;
|
|
626
|
+
defaultOpen: {
|
|
627
|
+
type: BooleanConstructor;
|
|
628
|
+
default: any;
|
|
629
|
+
};
|
|
627
630
|
onDropdownVisibleChange: {
|
|
628
631
|
type: PropType<(open: boolean) => void>;
|
|
629
632
|
};
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
inputValue: StringConstructor;
|
|
634
|
-
autoClearSearchValue: {
|
|
635
|
-
type: BooleanConstructor;
|
|
636
|
-
default: any;
|
|
633
|
+
maxTagTextLength: NumberConstructor;
|
|
634
|
+
maxTagCount: {
|
|
635
|
+
type: PropType<number | "responsive">;
|
|
637
636
|
};
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
637
|
+
maxTagPlaceholder: VueTypeValidableDef<any>;
|
|
638
|
+
tokenSeparators: {
|
|
639
|
+
type: PropType<string[]>;
|
|
641
640
|
};
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
defaultActiveFirstOption: {
|
|
646
|
-
type: BooleanConstructor;
|
|
647
|
-
default: any;
|
|
641
|
+
removeIcon: VueTypeValidableDef<any>;
|
|
642
|
+
dropdownStyle: {
|
|
643
|
+
type: PropType<CSSProperties>;
|
|
648
644
|
};
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
type: BooleanConstructor;
|
|
652
|
-
default: any;
|
|
645
|
+
dropdownRender: {
|
|
646
|
+
type: PropType<DropdownRender>;
|
|
653
647
|
};
|
|
648
|
+
dropdownAlign: PropType<AlignType>;
|
|
649
|
+
showAction: {
|
|
650
|
+
type: PropType<("click" | "focus")[]>;
|
|
651
|
+
};
|
|
652
|
+
onPopupScroll: PropType<(e: UIEvent) => void>;
|
|
653
|
+
onInputKeyDown: PropType<(e: KeyboardEvent) => void>;
|
|
654
654
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
655
|
-
size:
|
|
655
|
+
size: ButtonSize;
|
|
656
656
|
value: SelectValue;
|
|
657
657
|
mode: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
658
658
|
open: boolean;
|
|
659
659
|
disabled: boolean;
|
|
660
|
+
autofocus: boolean;
|
|
661
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
660
662
|
virtual: boolean;
|
|
661
663
|
dropdownMatchSelectWidth: number | boolean;
|
|
662
664
|
loading: boolean;
|
|
663
|
-
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
664
665
|
bordered: boolean;
|
|
665
|
-
|
|
666
|
+
'onUpdate:value': (val: SelectValue) => void;
|
|
666
667
|
status: "" | "error" | "warning";
|
|
668
|
+
defaultValue: SelectValue;
|
|
667
669
|
allowClear: boolean;
|
|
668
|
-
autofocus: boolean;
|
|
669
|
-
defaultOpen: boolean;
|
|
670
|
-
'onUpdate:value': (val: SelectValue) => void;
|
|
671
|
-
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
672
|
-
showSearch: boolean;
|
|
673
|
-
choiceTransitionName: "";
|
|
674
670
|
autoClearSearchValue: boolean;
|
|
675
671
|
filterOption: boolean | FilterFunc<DefaultOptionType>;
|
|
676
672
|
defaultActiveFirstOption: boolean;
|
|
677
673
|
labelInValue: boolean;
|
|
674
|
+
showSearch: boolean;
|
|
675
|
+
choiceTransitionName: "";
|
|
676
|
+
defaultOpen: boolean;
|
|
677
|
+
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
678
678
|
showArrow: boolean;
|
|
679
679
|
}, true, {}, CustomSlotsType<{
|
|
680
680
|
notFoundContent: any;
|
|
@@ -710,8 +710,8 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
710
710
|
suffixIcon: VueTypeValidableDef<any>;
|
|
711
711
|
itemIcon: VueTypeValidableDef<any>;
|
|
712
712
|
size: {
|
|
713
|
-
type: PropType<
|
|
714
|
-
default:
|
|
713
|
+
type: PropType<ButtonSize>;
|
|
714
|
+
default: ButtonSize;
|
|
715
715
|
};
|
|
716
716
|
mode: {
|
|
717
717
|
type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
|
|
@@ -779,6 +779,8 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
779
779
|
default: any;
|
|
780
780
|
};
|
|
781
781
|
prefixCls: StringConstructor;
|
|
782
|
+
id: StringConstructor;
|
|
783
|
+
autofocus: BooleanConstructor;
|
|
782
784
|
getPopupContainer: {
|
|
783
785
|
type: PropType<RenderDOMFunc>;
|
|
784
786
|
};
|
|
@@ -790,51 +792,48 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
790
792
|
type: PropType<number | boolean>;
|
|
791
793
|
default: any;
|
|
792
794
|
};
|
|
795
|
+
placeholder: VueTypeValidableDef<any>;
|
|
793
796
|
loading: {
|
|
794
797
|
type: BooleanConstructor;
|
|
795
798
|
default: any;
|
|
796
799
|
};
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
};
|
|
800
|
-
dropdownAlign: PropType<AlignType>;
|
|
801
|
-
placeholder: VueTypeValidableDef<any>;
|
|
800
|
+
prefix: VueTypeValidableDef<any>;
|
|
801
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
802
802
|
allowClear: {
|
|
803
803
|
type: BooleanConstructor;
|
|
804
804
|
default: any;
|
|
805
805
|
};
|
|
806
|
-
|
|
807
|
-
|
|
806
|
+
fieldNames: PropType<FieldNames>;
|
|
807
|
+
inputValue: StringConstructor;
|
|
808
|
+
searchValue: StringConstructor;
|
|
809
|
+
onSearch: PropType<(value: string) => void>;
|
|
810
|
+
autoClearSearchValue: {
|
|
808
811
|
type: BooleanConstructor;
|
|
809
812
|
default: any;
|
|
810
813
|
};
|
|
811
|
-
id: StringConstructor;
|
|
812
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
813
|
-
options: PropType<DefaultOptionType[]>;
|
|
814
814
|
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
dropdownStyle: {
|
|
819
|
-
type: PropType<CSSProperties>;
|
|
820
|
-
};
|
|
821
|
-
dropdownRender: {
|
|
822
|
-
type: PropType<DropdownRender>;
|
|
815
|
+
filterOption: {
|
|
816
|
+
type: PropType<boolean | FilterFunc<DefaultOptionType>>;
|
|
817
|
+
default: any;
|
|
823
818
|
};
|
|
824
|
-
|
|
819
|
+
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType) => number>;
|
|
820
|
+
optionFilterProp: StringConstructor;
|
|
821
|
+
optionLabelProp: StringConstructor;
|
|
822
|
+
options: PropType<DefaultOptionType[]>;
|
|
823
|
+
defaultActiveFirstOption: {
|
|
825
824
|
type: BooleanConstructor;
|
|
826
825
|
default: any;
|
|
827
826
|
};
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
type:
|
|
827
|
+
listItemHeight: NumberConstructor;
|
|
828
|
+
onClickOption: PropType<(e: MouseEvent, value: SelectValue, selected: boolean) => boolean | Promise<boolean>>;
|
|
829
|
+
menuItemSelectedIcon: VueTypeValidableDef<any>;
|
|
830
|
+
labelInValue: {
|
|
831
|
+
type: BooleanConstructor;
|
|
832
|
+
default: any;
|
|
833
833
|
};
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
type: PropType<string[]>;
|
|
834
|
+
showSearch: {
|
|
835
|
+
type: BooleanConstructor;
|
|
836
|
+
default: any;
|
|
838
837
|
};
|
|
839
838
|
tagRender: {
|
|
840
839
|
type: PropType<(props: CustomTagProps) => any>;
|
|
@@ -843,57 +842,58 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
843
842
|
type: PropType<(option: Record<string, any>) => any>;
|
|
844
843
|
};
|
|
845
844
|
onClear: PropType<() => void>;
|
|
845
|
+
defaultOpen: {
|
|
846
|
+
type: BooleanConstructor;
|
|
847
|
+
default: any;
|
|
848
|
+
};
|
|
846
849
|
onDropdownVisibleChange: {
|
|
847
850
|
type: PropType<(open: boolean) => void>;
|
|
848
851
|
};
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
inputValue: StringConstructor;
|
|
853
|
-
autoClearSearchValue: {
|
|
854
|
-
type: BooleanConstructor;
|
|
855
|
-
default: any;
|
|
852
|
+
maxTagTextLength: NumberConstructor;
|
|
853
|
+
maxTagCount: {
|
|
854
|
+
type: PropType<number | "responsive">;
|
|
856
855
|
};
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
856
|
+
maxTagPlaceholder: VueTypeValidableDef<any>;
|
|
857
|
+
tokenSeparators: {
|
|
858
|
+
type: PropType<string[]>;
|
|
860
859
|
};
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
defaultActiveFirstOption: {
|
|
865
|
-
type: BooleanConstructor;
|
|
866
|
-
default: any;
|
|
860
|
+
removeIcon: VueTypeValidableDef<any>;
|
|
861
|
+
dropdownStyle: {
|
|
862
|
+
type: PropType<CSSProperties>;
|
|
867
863
|
};
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
864
|
+
dropdownRender: {
|
|
865
|
+
type: PropType<DropdownRender>;
|
|
866
|
+
};
|
|
867
|
+
dropdownAlign: PropType<AlignType>;
|
|
868
|
+
showAction: {
|
|
869
|
+
type: PropType<("click" | "focus")[]>;
|
|
872
870
|
};
|
|
871
|
+
onPopupScroll: PropType<(e: UIEvent) => void>;
|
|
872
|
+
onInputKeyDown: PropType<(e: KeyboardEvent) => void>;
|
|
873
873
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
874
|
-
size:
|
|
874
|
+
size: ButtonSize;
|
|
875
875
|
value: SelectValue;
|
|
876
876
|
mode: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
877
877
|
open: boolean;
|
|
878
878
|
disabled: boolean;
|
|
879
|
+
autofocus: boolean;
|
|
880
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
879
881
|
virtual: boolean;
|
|
880
882
|
dropdownMatchSelectWidth: number | boolean;
|
|
881
883
|
loading: boolean;
|
|
882
|
-
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
883
884
|
bordered: boolean;
|
|
884
|
-
|
|
885
|
+
'onUpdate:value': (val: SelectValue) => void;
|
|
885
886
|
status: "" | "error" | "warning";
|
|
887
|
+
defaultValue: SelectValue;
|
|
886
888
|
allowClear: boolean;
|
|
887
|
-
autofocus: boolean;
|
|
888
|
-
defaultOpen: boolean;
|
|
889
|
-
'onUpdate:value': (val: SelectValue) => void;
|
|
890
|
-
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
891
|
-
showSearch: boolean;
|
|
892
|
-
choiceTransitionName: "";
|
|
893
889
|
autoClearSearchValue: boolean;
|
|
894
890
|
filterOption: boolean | FilterFunc<DefaultOptionType>;
|
|
895
891
|
defaultActiveFirstOption: boolean;
|
|
896
892
|
labelInValue: boolean;
|
|
893
|
+
showSearch: boolean;
|
|
894
|
+
choiceTransitionName: "";
|
|
895
|
+
defaultOpen: boolean;
|
|
896
|
+
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
897
897
|
showArrow: boolean;
|
|
898
898
|
}> | null;
|
|
899
899
|
}, any>;
|