@aplus-frontend/ui 6.29.2 → 6.30.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/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/index.vue.mjs +20 -20
- 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/radio/index.vue.mjs +24 -24
- 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/hooks/use-count-per-row.mjs +27 -26
- package/es/src/ap-form/search-form/index.vue.d.ts +67 -67
- 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/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/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/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/index.vue.js +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/radio/index.vue.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/hooks/use-count-per-row.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +67 -67
- 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/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/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/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 +6 -6
- package/theme/ap-field/checkbox.css +3 -0
- package/theme/ap-field/checkbox.less +3 -0
- package/theme/ap-field/index.css +6 -0
- package/theme/ap-field/radio.css +3 -0
- package/theme/ap-field/radio.less +3 -0
- 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 +6 -6
- package/theme/ap-table/ap-table.css +6 -6
- package/theme/ap-table-modal/index.css +6 -6
- package/theme/batch-input-group/index.css +6 -0
- package/theme/editable-table/index.css +6 -6
- package/theme/index.css +6 -6
|
@@ -2,12 +2,12 @@ import { ApFieldTreeSelectProps } from '../interface';
|
|
|
2
2
|
import { LegacyDataNode, FieldNames, Key } from '@aplus-frontend/antdv/es/vc-tree-select/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 { ChangeEventExtra, FieldNames, LegacyDataNode, DefaultOptionType, SimpleModeConfig } from '@aplus-frontend/antdv/es/vc-tree-select/TreeSelect';
|
|
8
8
|
import { SelectHandler } from '@aplus-frontend/antdv/es/vc-select/Select';
|
|
9
9
|
import { BaseOptionType } from '@aplus-frontend/antdv/es/select';
|
|
10
|
-
import { RenderDOMFunc,
|
|
10
|
+
import { RenderDOMFunc, CustomTagProps, DisplayValueType, DropdownRender } from '@aplus-frontend/antdv/es/vc-select/BaseSelect';
|
|
11
11
|
import { AlignType } from '@aplus-frontend/antdv/es/vc-trigger/interface';
|
|
12
12
|
import { CheckedStrategy } from '@aplus-frontend/antdv/es/vc-tree-select/utils/strategyUtil';
|
|
13
13
|
import { ExpandAction } from '@aplus-frontend/antdv/es/vc-tree/props';
|
|
@@ -43,8 +43,8 @@ declare function __VLS_template(): {
|
|
|
43
43
|
treeSelectRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
44
44
|
suffixIcon: VueTypeValidableDef<any>;
|
|
45
45
|
size: {
|
|
46
|
-
type: PropType<
|
|
47
|
-
default:
|
|
46
|
+
type: PropType<ButtonSize>;
|
|
47
|
+
default: ButtonSize;
|
|
48
48
|
};
|
|
49
49
|
bordered: {
|
|
50
50
|
type: BooleanConstructor;
|
|
@@ -127,6 +127,8 @@ declare function __VLS_template(): {
|
|
|
127
127
|
default: any;
|
|
128
128
|
};
|
|
129
129
|
prefixCls: StringConstructor;
|
|
130
|
+
id: StringConstructor;
|
|
131
|
+
autofocus: BooleanConstructor;
|
|
130
132
|
getPopupContainer: {
|
|
131
133
|
type: PropType<RenderDOMFunc>;
|
|
132
134
|
};
|
|
@@ -138,6 +140,7 @@ declare function __VLS_template(): {
|
|
|
138
140
|
type: PropType<number | boolean>;
|
|
139
141
|
default: any;
|
|
140
142
|
};
|
|
143
|
+
placeholder: VueTypeValidableDef<any>;
|
|
141
144
|
loading: {
|
|
142
145
|
type: BooleanConstructor;
|
|
143
146
|
default: any;
|
|
@@ -145,125 +148,119 @@ declare function __VLS_template(): {
|
|
|
145
148
|
defaultValue: {
|
|
146
149
|
type: PropType<any>;
|
|
147
150
|
};
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
};
|
|
151
|
-
transitionName: StringConstructor;
|
|
152
|
-
dropdownAlign: PropType<AlignType>;
|
|
153
|
-
placeholder: VueTypeValidableDef<any>;
|
|
151
|
+
prefix: VueTypeValidableDef<any>;
|
|
152
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
154
153
|
allowClear: {
|
|
155
154
|
type: BooleanConstructor;
|
|
156
155
|
default: any;
|
|
157
156
|
};
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
type: BooleanConstructor;
|
|
161
|
-
default: any;
|
|
162
|
-
};
|
|
163
|
-
id: StringConstructor;
|
|
164
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
165
|
-
notFoundContent: VueTypeValidableDef<any>;
|
|
166
|
-
maxCount: NumberConstructor;
|
|
167
|
-
onDeselect: PropType<SelectHandler<unknown, BaseOptionType>>;
|
|
168
|
-
prefix: VueTypeValidableDef<any>;
|
|
169
|
-
onSearch: {
|
|
170
|
-
type: PropType<(value: string) => void>;
|
|
157
|
+
getRawInputElement: {
|
|
158
|
+
type: PropType<() => any>;
|
|
171
159
|
};
|
|
172
160
|
fieldNames: {
|
|
173
161
|
type: PropType<FieldNames>;
|
|
174
162
|
};
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
type: PropType<DropdownRender>;
|
|
180
|
-
};
|
|
181
|
-
switcherIcon: VueTypeValidableDef<any>;
|
|
182
|
-
loadData: {
|
|
183
|
-
type: PropType<(dataNode: LegacyDataNode) => Promise<unknown>>;
|
|
163
|
+
inputValue: StringConstructor;
|
|
164
|
+
searchValue: StringConstructor;
|
|
165
|
+
onSearch: {
|
|
166
|
+
type: PropType<(value: string) => void>;
|
|
184
167
|
};
|
|
185
|
-
|
|
186
|
-
type:
|
|
168
|
+
autoClearSearchValue: {
|
|
169
|
+
type: BooleanConstructor;
|
|
187
170
|
default: any;
|
|
188
171
|
};
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
treeCheckable: {
|
|
172
|
+
onDeselect: PropType<SelectHandler<unknown, BaseOptionType>>;
|
|
173
|
+
listItemHeight: NumberConstructor;
|
|
174
|
+
labelInValue: {
|
|
193
175
|
type: BooleanConstructor;
|
|
194
176
|
default: any;
|
|
195
177
|
};
|
|
178
|
+
maxCount: NumberConstructor;
|
|
196
179
|
showSearch: {
|
|
197
180
|
type: BooleanConstructor;
|
|
198
181
|
default: any;
|
|
199
182
|
};
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
183
|
+
tagRender: {
|
|
184
|
+
type: PropType<(props: CustomTagProps) => any>;
|
|
185
|
+
};
|
|
186
|
+
optionLabelRender: {
|
|
187
|
+
type: PropType<(option: Record<string, any>) => any>;
|
|
188
|
+
};
|
|
189
|
+
notFoundContent: VueTypeValidableDef<any>;
|
|
190
|
+
onClear: PropType<() => void>;
|
|
191
|
+
choiceTransitionName: StringConstructor;
|
|
192
|
+
defaultOpen: {
|
|
193
|
+
type: BooleanConstructor;
|
|
194
|
+
default: any;
|
|
195
|
+
};
|
|
196
|
+
onDropdownVisibleChange: {
|
|
197
|
+
type: PropType<(open: boolean) => void>;
|
|
198
|
+
};
|
|
199
|
+
maxTagTextLength: NumberConstructor;
|
|
203
200
|
maxTagCount: {
|
|
204
201
|
type: PropType<number | "responsive">;
|
|
205
202
|
};
|
|
206
|
-
maxTagTextLength: NumberConstructor;
|
|
207
203
|
maxTagPlaceholder: {
|
|
208
204
|
type: PropType<(omittedValues: DisplayValueType[]) => any>;
|
|
209
205
|
};
|
|
210
206
|
tokenSeparators: {
|
|
211
207
|
type: PropType<string[]>;
|
|
212
208
|
};
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
optionLabelRender: {
|
|
218
|
-
type: PropType<(option: Record<string, any>) => any>;
|
|
209
|
+
removeIcon: VueTypeValidableDef<any>;
|
|
210
|
+
transitionName: StringConstructor;
|
|
211
|
+
dropdownStyle: {
|
|
212
|
+
type: PropType<CSSProperties>;
|
|
219
213
|
};
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
type: PropType<(open: boolean) => void>;
|
|
214
|
+
dropdownRender: {
|
|
215
|
+
type: PropType<DropdownRender>;
|
|
223
216
|
};
|
|
224
|
-
|
|
225
|
-
|
|
217
|
+
dropdownAlign: PropType<AlignType>;
|
|
218
|
+
showAction: {
|
|
219
|
+
type: PropType<("click" | "focus")[]>;
|
|
226
220
|
};
|
|
227
221
|
onPopupScroll: PropType<(e: UIEvent) => void>;
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
autoClearSearchValue: {
|
|
222
|
+
onInputKeyDown: PropType<(e: KeyboardEvent) => void>;
|
|
223
|
+
showArrow: {
|
|
231
224
|
type: BooleanConstructor;
|
|
232
225
|
default: any;
|
|
233
226
|
};
|
|
234
|
-
|
|
227
|
+
showCheckedStrategy: {
|
|
228
|
+
type: PropType<CheckedStrategy>;
|
|
229
|
+
};
|
|
230
|
+
loadData: {
|
|
231
|
+
type: PropType<(dataNode: LegacyDataNode) => Promise<unknown>>;
|
|
232
|
+
};
|
|
233
|
+
filterTreeNode: {
|
|
234
|
+
type: PropType<boolean | ((inputValue: string, treeNode: DefaultOptionType) => boolean)>;
|
|
235
|
+
default: any;
|
|
236
|
+
};
|
|
237
|
+
treeNodeFilterProp: StringConstructor;
|
|
238
|
+
treeNodeLabelProp: StringConstructor;
|
|
239
|
+
treeCheckable: {
|
|
235
240
|
type: BooleanConstructor;
|
|
236
241
|
default: any;
|
|
237
242
|
};
|
|
238
|
-
|
|
243
|
+
treeCheckStrictly: {
|
|
239
244
|
type: BooleanConstructor;
|
|
240
245
|
default: any;
|
|
241
246
|
};
|
|
242
|
-
|
|
243
|
-
type: PropType<
|
|
247
|
+
treeData: {
|
|
248
|
+
type: PropType< DefaultOptionType[]>;
|
|
244
249
|
};
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
type: BooleanConstructor;
|
|
250
|
+
treeDataSimpleMode: {
|
|
251
|
+
type: PropType<boolean | SimpleModeConfig>;
|
|
248
252
|
default: any;
|
|
249
253
|
};
|
|
250
|
-
treeIcon: VueTypeValidableDef<any>;
|
|
251
254
|
treeLoadedKeys: {
|
|
252
255
|
type: PropType< Key[]>;
|
|
253
256
|
};
|
|
254
257
|
onTreeLoad: {
|
|
255
258
|
type: PropType<(loadedKeys: Key[]) => void>;
|
|
256
259
|
};
|
|
257
|
-
|
|
258
|
-
treeNodeLabelProp: StringConstructor;
|
|
259
|
-
treeCheckStrictly: {
|
|
260
|
+
treeDefaultExpandAll: {
|
|
260
261
|
type: BooleanConstructor;
|
|
261
262
|
default: any;
|
|
262
263
|
};
|
|
263
|
-
treeDataSimpleMode: {
|
|
264
|
-
type: PropType<boolean | SimpleModeConfig>;
|
|
265
|
-
default: any;
|
|
266
|
-
};
|
|
267
264
|
treeExpandedKeys: {
|
|
268
265
|
type: PropType< Key[]>;
|
|
269
266
|
};
|
|
@@ -273,36 +270,39 @@ declare function __VLS_template(): {
|
|
|
273
270
|
onTreeExpand: {
|
|
274
271
|
type: PropType<(expandedKeys: Key[]) => void>;
|
|
275
272
|
};
|
|
273
|
+
treeIcon: VueTypeValidableDef<any>;
|
|
274
|
+
switcherIcon: VueTypeValidableDef<any>;
|
|
275
|
+
treeExpandAction: PropType<ExpandAction>;
|
|
276
276
|
dropdownPopupAlign: VueTypeValidableDef<any>;
|
|
277
277
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
278
|
-
size:
|
|
278
|
+
size: ButtonSize;
|
|
279
279
|
open: boolean;
|
|
280
280
|
multiple: boolean;
|
|
281
281
|
disabled: boolean;
|
|
282
|
+
autofocus: boolean;
|
|
283
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
282
284
|
virtual: boolean;
|
|
283
285
|
dropdownMatchSelectWidth: number | boolean;
|
|
284
286
|
loading: boolean;
|
|
285
|
-
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
286
287
|
bordered: boolean;
|
|
288
|
+
'onUpdate:value': (value: any) => void;
|
|
287
289
|
status: "" | "error" | "warning";
|
|
288
290
|
allowClear: boolean;
|
|
289
|
-
autofocus: boolean;
|
|
290
|
-
defaultOpen: boolean;
|
|
291
|
-
'onUpdate:value': (value: any) => void;
|
|
292
|
-
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
293
|
-
filterTreeNode: boolean | ((inputValue: string, treeNode: DefaultOptionType) => boolean);
|
|
294
|
-
replaceFields: FieldNames;
|
|
295
|
-
treeCheckable: boolean;
|
|
296
|
-
showSearch: boolean;
|
|
297
291
|
autoClearSearchValue: boolean;
|
|
298
292
|
labelInValue: boolean;
|
|
293
|
+
showSearch: boolean;
|
|
294
|
+
defaultOpen: boolean;
|
|
295
|
+
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
299
296
|
showArrow: boolean;
|
|
300
|
-
treeDefaultExpandAll: boolean;
|
|
301
297
|
treeLine: boolean | {
|
|
302
298
|
showLeafIcon: boolean;
|
|
303
299
|
};
|
|
300
|
+
filterTreeNode: boolean | ((inputValue: string, treeNode: DefaultOptionType) => boolean);
|
|
301
|
+
treeCheckable: boolean;
|
|
304
302
|
treeCheckStrictly: boolean;
|
|
305
303
|
treeDataSimpleMode: any;
|
|
304
|
+
treeDefaultExpandAll: boolean;
|
|
305
|
+
replaceFields: FieldNames;
|
|
306
306
|
'onUpdate:treeExpandedKeys': (keys: Key[]) => void;
|
|
307
307
|
'onUpdate:searchValue': (value: string) => void;
|
|
308
308
|
}, true, {}, CustomSlotsType<{
|
|
@@ -327,8 +327,8 @@ declare function __VLS_template(): {
|
|
|
327
327
|
}, Readonly< ExtractPropTypes<{
|
|
328
328
|
suffixIcon: VueTypeValidableDef<any>;
|
|
329
329
|
size: {
|
|
330
|
-
type: PropType<
|
|
331
|
-
default:
|
|
330
|
+
type: PropType<ButtonSize>;
|
|
331
|
+
default: ButtonSize;
|
|
332
332
|
};
|
|
333
333
|
bordered: {
|
|
334
334
|
type: BooleanConstructor;
|
|
@@ -411,6 +411,8 @@ declare function __VLS_template(): {
|
|
|
411
411
|
default: any;
|
|
412
412
|
};
|
|
413
413
|
prefixCls: StringConstructor;
|
|
414
|
+
id: StringConstructor;
|
|
415
|
+
autofocus: BooleanConstructor;
|
|
414
416
|
getPopupContainer: {
|
|
415
417
|
type: PropType<RenderDOMFunc>;
|
|
416
418
|
};
|
|
@@ -422,6 +424,7 @@ declare function __VLS_template(): {
|
|
|
422
424
|
type: PropType<number | boolean>;
|
|
423
425
|
default: any;
|
|
424
426
|
};
|
|
427
|
+
placeholder: VueTypeValidableDef<any>;
|
|
425
428
|
loading: {
|
|
426
429
|
type: BooleanConstructor;
|
|
427
430
|
default: any;
|
|
@@ -429,125 +432,119 @@ declare function __VLS_template(): {
|
|
|
429
432
|
defaultValue: {
|
|
430
433
|
type: PropType<any>;
|
|
431
434
|
};
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
};
|
|
435
|
-
transitionName: StringConstructor;
|
|
436
|
-
dropdownAlign: PropType<AlignType>;
|
|
437
|
-
placeholder: VueTypeValidableDef<any>;
|
|
435
|
+
prefix: VueTypeValidableDef<any>;
|
|
436
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
438
437
|
allowClear: {
|
|
439
438
|
type: BooleanConstructor;
|
|
440
439
|
default: any;
|
|
441
440
|
};
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
type: BooleanConstructor;
|
|
445
|
-
default: any;
|
|
446
|
-
};
|
|
447
|
-
id: StringConstructor;
|
|
448
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
449
|
-
notFoundContent: VueTypeValidableDef<any>;
|
|
450
|
-
maxCount: NumberConstructor;
|
|
451
|
-
onDeselect: PropType<SelectHandler<unknown, BaseOptionType>>;
|
|
452
|
-
prefix: VueTypeValidableDef<any>;
|
|
453
|
-
onSearch: {
|
|
454
|
-
type: PropType<(value: string) => void>;
|
|
441
|
+
getRawInputElement: {
|
|
442
|
+
type: PropType<() => any>;
|
|
455
443
|
};
|
|
456
444
|
fieldNames: {
|
|
457
445
|
type: PropType<FieldNames>;
|
|
458
446
|
};
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
type: PropType<DropdownRender>;
|
|
464
|
-
};
|
|
465
|
-
switcherIcon: VueTypeValidableDef<any>;
|
|
466
|
-
loadData: {
|
|
467
|
-
type: PropType<(dataNode: LegacyDataNode) => Promise<unknown>>;
|
|
447
|
+
inputValue: StringConstructor;
|
|
448
|
+
searchValue: StringConstructor;
|
|
449
|
+
onSearch: {
|
|
450
|
+
type: PropType<(value: string) => void>;
|
|
468
451
|
};
|
|
469
|
-
|
|
470
|
-
type:
|
|
452
|
+
autoClearSearchValue: {
|
|
453
|
+
type: BooleanConstructor;
|
|
471
454
|
default: any;
|
|
472
455
|
};
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
treeCheckable: {
|
|
456
|
+
onDeselect: PropType<SelectHandler<unknown, BaseOptionType>>;
|
|
457
|
+
listItemHeight: NumberConstructor;
|
|
458
|
+
labelInValue: {
|
|
477
459
|
type: BooleanConstructor;
|
|
478
460
|
default: any;
|
|
479
461
|
};
|
|
462
|
+
maxCount: NumberConstructor;
|
|
480
463
|
showSearch: {
|
|
481
464
|
type: BooleanConstructor;
|
|
482
465
|
default: any;
|
|
483
466
|
};
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
467
|
+
tagRender: {
|
|
468
|
+
type: PropType<(props: CustomTagProps) => any>;
|
|
469
|
+
};
|
|
470
|
+
optionLabelRender: {
|
|
471
|
+
type: PropType<(option: Record<string, any>) => any>;
|
|
472
|
+
};
|
|
473
|
+
notFoundContent: VueTypeValidableDef<any>;
|
|
474
|
+
onClear: PropType<() => void>;
|
|
475
|
+
choiceTransitionName: StringConstructor;
|
|
476
|
+
defaultOpen: {
|
|
477
|
+
type: BooleanConstructor;
|
|
478
|
+
default: any;
|
|
479
|
+
};
|
|
480
|
+
onDropdownVisibleChange: {
|
|
481
|
+
type: PropType<(open: boolean) => void>;
|
|
482
|
+
};
|
|
483
|
+
maxTagTextLength: NumberConstructor;
|
|
487
484
|
maxTagCount: {
|
|
488
485
|
type: PropType<number | "responsive">;
|
|
489
486
|
};
|
|
490
|
-
maxTagTextLength: NumberConstructor;
|
|
491
487
|
maxTagPlaceholder: {
|
|
492
488
|
type: PropType<(omittedValues: DisplayValueType[]) => any>;
|
|
493
489
|
};
|
|
494
490
|
tokenSeparators: {
|
|
495
491
|
type: PropType<string[]>;
|
|
496
492
|
};
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
optionLabelRender: {
|
|
502
|
-
type: PropType<(option: Record<string, any>) => any>;
|
|
493
|
+
removeIcon: VueTypeValidableDef<any>;
|
|
494
|
+
transitionName: StringConstructor;
|
|
495
|
+
dropdownStyle: {
|
|
496
|
+
type: PropType<CSSProperties>;
|
|
503
497
|
};
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
type: PropType<(open: boolean) => void>;
|
|
498
|
+
dropdownRender: {
|
|
499
|
+
type: PropType<DropdownRender>;
|
|
507
500
|
};
|
|
508
|
-
|
|
509
|
-
|
|
501
|
+
dropdownAlign: PropType<AlignType>;
|
|
502
|
+
showAction: {
|
|
503
|
+
type: PropType<("click" | "focus")[]>;
|
|
510
504
|
};
|
|
511
505
|
onPopupScroll: PropType<(e: UIEvent) => void>;
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
autoClearSearchValue: {
|
|
506
|
+
onInputKeyDown: PropType<(e: KeyboardEvent) => void>;
|
|
507
|
+
showArrow: {
|
|
515
508
|
type: BooleanConstructor;
|
|
516
509
|
default: any;
|
|
517
510
|
};
|
|
518
|
-
|
|
511
|
+
showCheckedStrategy: {
|
|
512
|
+
type: PropType<CheckedStrategy>;
|
|
513
|
+
};
|
|
514
|
+
loadData: {
|
|
515
|
+
type: PropType<(dataNode: LegacyDataNode) => Promise<unknown>>;
|
|
516
|
+
};
|
|
517
|
+
filterTreeNode: {
|
|
518
|
+
type: PropType<boolean | ((inputValue: string, treeNode: DefaultOptionType) => boolean)>;
|
|
519
|
+
default: any;
|
|
520
|
+
};
|
|
521
|
+
treeNodeFilterProp: StringConstructor;
|
|
522
|
+
treeNodeLabelProp: StringConstructor;
|
|
523
|
+
treeCheckable: {
|
|
519
524
|
type: BooleanConstructor;
|
|
520
525
|
default: any;
|
|
521
526
|
};
|
|
522
|
-
|
|
527
|
+
treeCheckStrictly: {
|
|
523
528
|
type: BooleanConstructor;
|
|
524
529
|
default: any;
|
|
525
530
|
};
|
|
526
|
-
|
|
527
|
-
type: PropType<
|
|
531
|
+
treeData: {
|
|
532
|
+
type: PropType< DefaultOptionType[]>;
|
|
528
533
|
};
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
type: BooleanConstructor;
|
|
534
|
+
treeDataSimpleMode: {
|
|
535
|
+
type: PropType<boolean | SimpleModeConfig>;
|
|
532
536
|
default: any;
|
|
533
537
|
};
|
|
534
|
-
treeIcon: VueTypeValidableDef<any>;
|
|
535
538
|
treeLoadedKeys: {
|
|
536
539
|
type: PropType< Key[]>;
|
|
537
540
|
};
|
|
538
541
|
onTreeLoad: {
|
|
539
542
|
type: PropType<(loadedKeys: Key[]) => void>;
|
|
540
543
|
};
|
|
541
|
-
|
|
542
|
-
treeNodeLabelProp: StringConstructor;
|
|
543
|
-
treeCheckStrictly: {
|
|
544
|
+
treeDefaultExpandAll: {
|
|
544
545
|
type: BooleanConstructor;
|
|
545
546
|
default: any;
|
|
546
547
|
};
|
|
547
|
-
treeDataSimpleMode: {
|
|
548
|
-
type: PropType<boolean | SimpleModeConfig>;
|
|
549
|
-
default: any;
|
|
550
|
-
};
|
|
551
548
|
treeExpandedKeys: {
|
|
552
549
|
type: PropType< Key[]>;
|
|
553
550
|
};
|
|
@@ -557,36 +554,39 @@ declare function __VLS_template(): {
|
|
|
557
554
|
onTreeExpand: {
|
|
558
555
|
type: PropType<(expandedKeys: Key[]) => void>;
|
|
559
556
|
};
|
|
557
|
+
treeIcon: VueTypeValidableDef<any>;
|
|
558
|
+
switcherIcon: VueTypeValidableDef<any>;
|
|
559
|
+
treeExpandAction: PropType<ExpandAction>;
|
|
560
560
|
dropdownPopupAlign: VueTypeValidableDef<any>;
|
|
561
561
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
562
|
-
size:
|
|
562
|
+
size: ButtonSize;
|
|
563
563
|
open: boolean;
|
|
564
564
|
multiple: boolean;
|
|
565
565
|
disabled: boolean;
|
|
566
|
+
autofocus: boolean;
|
|
567
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
566
568
|
virtual: boolean;
|
|
567
569
|
dropdownMatchSelectWidth: number | boolean;
|
|
568
570
|
loading: boolean;
|
|
569
|
-
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
570
571
|
bordered: boolean;
|
|
572
|
+
'onUpdate:value': (value: any) => void;
|
|
571
573
|
status: "" | "error" | "warning";
|
|
572
574
|
allowClear: boolean;
|
|
573
|
-
autofocus: boolean;
|
|
574
|
-
defaultOpen: boolean;
|
|
575
|
-
'onUpdate:value': (value: any) => void;
|
|
576
|
-
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
577
|
-
filterTreeNode: boolean | ((inputValue: string, treeNode: DefaultOptionType) => boolean);
|
|
578
|
-
replaceFields: FieldNames;
|
|
579
|
-
treeCheckable: boolean;
|
|
580
|
-
showSearch: boolean;
|
|
581
575
|
autoClearSearchValue: boolean;
|
|
582
576
|
labelInValue: boolean;
|
|
577
|
+
showSearch: boolean;
|
|
578
|
+
defaultOpen: boolean;
|
|
579
|
+
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
583
580
|
showArrow: boolean;
|
|
584
|
-
treeDefaultExpandAll: boolean;
|
|
585
581
|
treeLine: boolean | {
|
|
586
582
|
showLeafIcon: boolean;
|
|
587
583
|
};
|
|
584
|
+
filterTreeNode: boolean | ((inputValue: string, treeNode: DefaultOptionType) => boolean);
|
|
585
|
+
treeCheckable: boolean;
|
|
588
586
|
treeCheckStrictly: boolean;
|
|
589
587
|
treeDataSimpleMode: any;
|
|
588
|
+
treeDefaultExpandAll: boolean;
|
|
589
|
+
replaceFields: FieldNames;
|
|
590
590
|
'onUpdate:treeExpandedKeys': (keys: Key[]) => void;
|
|
591
591
|
'onUpdate:searchValue': (value: string) => void;
|
|
592
592
|
}> | null;
|
|
@@ -610,24 +610,24 @@ declare const __VLS_component: DefineComponent<ApFieldTreeSelectProps, {
|
|
|
610
610
|
loading: boolean;
|
|
611
611
|
autofocus: boolean;
|
|
612
612
|
bordered: boolean;
|
|
613
|
+
emptyText: string;
|
|
613
614
|
virtual: boolean;
|
|
614
615
|
dropdownMatchSelectWidth: number | boolean;
|
|
615
616
|
allowClear: boolean;
|
|
616
|
-
defaultOpen: boolean;
|
|
617
617
|
showArrow: boolean;
|
|
618
|
-
showSearch: boolean;
|
|
619
618
|
autoClearSearchValue: boolean;
|
|
620
619
|
labelInValue: boolean;
|
|
620
|
+
showSearch: boolean;
|
|
621
|
+
defaultOpen: boolean;
|
|
621
622
|
treeCheckable: boolean;
|
|
622
|
-
treeDefaultExpandAll: boolean;
|
|
623
623
|
treeCheckStrictly: boolean;
|
|
624
|
-
|
|
624
|
+
treeDefaultExpandAll: boolean;
|
|
625
625
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
626
626
|
treeSelectRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
627
627
|
suffixIcon: VueTypeValidableDef<any>;
|
|
628
628
|
size: {
|
|
629
|
-
type: PropType<
|
|
630
|
-
default:
|
|
629
|
+
type: PropType<ButtonSize>;
|
|
630
|
+
default: ButtonSize;
|
|
631
631
|
};
|
|
632
632
|
bordered: {
|
|
633
633
|
type: BooleanConstructor;
|
|
@@ -710,6 +710,8 @@ declare const __VLS_component: DefineComponent<ApFieldTreeSelectProps, {
|
|
|
710
710
|
default: any;
|
|
711
711
|
};
|
|
712
712
|
prefixCls: StringConstructor;
|
|
713
|
+
id: StringConstructor;
|
|
714
|
+
autofocus: BooleanConstructor;
|
|
713
715
|
getPopupContainer: {
|
|
714
716
|
type: PropType<RenderDOMFunc>;
|
|
715
717
|
};
|
|
@@ -721,6 +723,7 @@ declare const __VLS_component: DefineComponent<ApFieldTreeSelectProps, {
|
|
|
721
723
|
type: PropType<number | boolean>;
|
|
722
724
|
default: any;
|
|
723
725
|
};
|
|
726
|
+
placeholder: VueTypeValidableDef<any>;
|
|
724
727
|
loading: {
|
|
725
728
|
type: BooleanConstructor;
|
|
726
729
|
default: any;
|
|
@@ -728,125 +731,119 @@ declare const __VLS_component: DefineComponent<ApFieldTreeSelectProps, {
|
|
|
728
731
|
defaultValue: {
|
|
729
732
|
type: PropType<any>;
|
|
730
733
|
};
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
};
|
|
734
|
-
transitionName: StringConstructor;
|
|
735
|
-
dropdownAlign: PropType<AlignType>;
|
|
736
|
-
placeholder: VueTypeValidableDef<any>;
|
|
734
|
+
prefix: VueTypeValidableDef<any>;
|
|
735
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
737
736
|
allowClear: {
|
|
738
737
|
type: BooleanConstructor;
|
|
739
738
|
default: any;
|
|
740
739
|
};
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
type: BooleanConstructor;
|
|
744
|
-
default: any;
|
|
745
|
-
};
|
|
746
|
-
id: StringConstructor;
|
|
747
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
748
|
-
notFoundContent: VueTypeValidableDef<any>;
|
|
749
|
-
maxCount: NumberConstructor;
|
|
750
|
-
onDeselect: PropType<SelectHandler<unknown, BaseOptionType>>;
|
|
751
|
-
prefix: VueTypeValidableDef<any>;
|
|
752
|
-
onSearch: {
|
|
753
|
-
type: PropType<(value: string) => void>;
|
|
740
|
+
getRawInputElement: {
|
|
741
|
+
type: PropType<() => any>;
|
|
754
742
|
};
|
|
755
743
|
fieldNames: {
|
|
756
744
|
type: PropType<FieldNames>;
|
|
757
745
|
};
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
type: PropType<DropdownRender>;
|
|
763
|
-
};
|
|
764
|
-
switcherIcon: VueTypeValidableDef<any>;
|
|
765
|
-
loadData: {
|
|
766
|
-
type: PropType<(dataNode: LegacyDataNode) => Promise<unknown>>;
|
|
746
|
+
inputValue: StringConstructor;
|
|
747
|
+
searchValue: StringConstructor;
|
|
748
|
+
onSearch: {
|
|
749
|
+
type: PropType<(value: string) => void>;
|
|
767
750
|
};
|
|
768
|
-
|
|
769
|
-
type:
|
|
751
|
+
autoClearSearchValue: {
|
|
752
|
+
type: BooleanConstructor;
|
|
770
753
|
default: any;
|
|
771
754
|
};
|
|
772
|
-
|
|
773
|
-
|
|
755
|
+
onDeselect: PropType<SelectHandler<unknown, BaseOptionType>>;
|
|
756
|
+
listItemHeight: NumberConstructor;
|
|
757
|
+
labelInValue: {
|
|
758
|
+
type: BooleanConstructor;
|
|
759
|
+
default: any;
|
|
774
760
|
};
|
|
775
|
-
|
|
761
|
+
maxCount: NumberConstructor;
|
|
762
|
+
showSearch: {
|
|
776
763
|
type: BooleanConstructor;
|
|
777
764
|
default: any;
|
|
778
765
|
};
|
|
779
|
-
|
|
766
|
+
tagRender: {
|
|
767
|
+
type: PropType<(props: CustomTagProps) => any>;
|
|
768
|
+
};
|
|
769
|
+
optionLabelRender: {
|
|
770
|
+
type: PropType<(option: Record<string, any>) => any>;
|
|
771
|
+
};
|
|
772
|
+
notFoundContent: VueTypeValidableDef<any>;
|
|
773
|
+
onClear: PropType<() => void>;
|
|
774
|
+
choiceTransitionName: StringConstructor;
|
|
775
|
+
defaultOpen: {
|
|
780
776
|
type: BooleanConstructor;
|
|
781
777
|
default: any;
|
|
782
778
|
};
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
779
|
+
onDropdownVisibleChange: {
|
|
780
|
+
type: PropType<(open: boolean) => void>;
|
|
781
|
+
};
|
|
782
|
+
maxTagTextLength: NumberConstructor;
|
|
786
783
|
maxTagCount: {
|
|
787
784
|
type: PropType<number | "responsive">;
|
|
788
785
|
};
|
|
789
|
-
maxTagTextLength: NumberConstructor;
|
|
790
786
|
maxTagPlaceholder: {
|
|
791
787
|
type: PropType<(omittedValues: DisplayValueType[]) => any>;
|
|
792
788
|
};
|
|
793
789
|
tokenSeparators: {
|
|
794
790
|
type: PropType<string[]>;
|
|
795
791
|
};
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
optionLabelRender: {
|
|
801
|
-
type: PropType<(option: Record<string, any>) => any>;
|
|
792
|
+
removeIcon: VueTypeValidableDef<any>;
|
|
793
|
+
transitionName: StringConstructor;
|
|
794
|
+
dropdownStyle: {
|
|
795
|
+
type: PropType<CSSProperties>;
|
|
802
796
|
};
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
type: PropType<(open: boolean) => void>;
|
|
797
|
+
dropdownRender: {
|
|
798
|
+
type: PropType<DropdownRender>;
|
|
806
799
|
};
|
|
807
|
-
|
|
808
|
-
|
|
800
|
+
dropdownAlign: PropType<AlignType>;
|
|
801
|
+
showAction: {
|
|
802
|
+
type: PropType<("click" | "focus")[]>;
|
|
809
803
|
};
|
|
810
804
|
onPopupScroll: PropType<(e: UIEvent) => void>;
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
autoClearSearchValue: {
|
|
805
|
+
onInputKeyDown: PropType<(e: KeyboardEvent) => void>;
|
|
806
|
+
showArrow: {
|
|
814
807
|
type: BooleanConstructor;
|
|
815
808
|
default: any;
|
|
816
809
|
};
|
|
817
|
-
|
|
810
|
+
showCheckedStrategy: {
|
|
811
|
+
type: PropType<CheckedStrategy>;
|
|
812
|
+
};
|
|
813
|
+
loadData: {
|
|
814
|
+
type: PropType<(dataNode: LegacyDataNode) => Promise<unknown>>;
|
|
815
|
+
};
|
|
816
|
+
filterTreeNode: {
|
|
817
|
+
type: PropType<boolean | ((inputValue: string, treeNode: DefaultOptionType) => boolean)>;
|
|
818
|
+
default: any;
|
|
819
|
+
};
|
|
820
|
+
treeNodeFilterProp: StringConstructor;
|
|
821
|
+
treeNodeLabelProp: StringConstructor;
|
|
822
|
+
treeCheckable: {
|
|
818
823
|
type: BooleanConstructor;
|
|
819
824
|
default: any;
|
|
820
825
|
};
|
|
821
|
-
|
|
826
|
+
treeCheckStrictly: {
|
|
822
827
|
type: BooleanConstructor;
|
|
823
828
|
default: any;
|
|
824
829
|
};
|
|
825
|
-
|
|
826
|
-
type: PropType<
|
|
830
|
+
treeData: {
|
|
831
|
+
type: PropType< DefaultOptionType[]>;
|
|
827
832
|
};
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
type: BooleanConstructor;
|
|
833
|
+
treeDataSimpleMode: {
|
|
834
|
+
type: PropType<boolean | SimpleModeConfig>;
|
|
831
835
|
default: any;
|
|
832
836
|
};
|
|
833
|
-
treeIcon: VueTypeValidableDef<any>;
|
|
834
837
|
treeLoadedKeys: {
|
|
835
838
|
type: PropType< Key[]>;
|
|
836
839
|
};
|
|
837
840
|
onTreeLoad: {
|
|
838
841
|
type: PropType<(loadedKeys: Key[]) => void>;
|
|
839
842
|
};
|
|
840
|
-
|
|
841
|
-
treeNodeLabelProp: StringConstructor;
|
|
842
|
-
treeCheckStrictly: {
|
|
843
|
+
treeDefaultExpandAll: {
|
|
843
844
|
type: BooleanConstructor;
|
|
844
845
|
default: any;
|
|
845
846
|
};
|
|
846
|
-
treeDataSimpleMode: {
|
|
847
|
-
type: PropType<boolean | SimpleModeConfig>;
|
|
848
|
-
default: any;
|
|
849
|
-
};
|
|
850
847
|
treeExpandedKeys: {
|
|
851
848
|
type: PropType< Key[]>;
|
|
852
849
|
};
|
|
@@ -856,36 +853,39 @@ declare const __VLS_component: DefineComponent<ApFieldTreeSelectProps, {
|
|
|
856
853
|
onTreeExpand: {
|
|
857
854
|
type: PropType<(expandedKeys: Key[]) => void>;
|
|
858
855
|
};
|
|
856
|
+
treeIcon: VueTypeValidableDef<any>;
|
|
857
|
+
switcherIcon: VueTypeValidableDef<any>;
|
|
858
|
+
treeExpandAction: PropType<ExpandAction>;
|
|
859
859
|
dropdownPopupAlign: VueTypeValidableDef<any>;
|
|
860
860
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
861
|
-
size:
|
|
861
|
+
size: ButtonSize;
|
|
862
862
|
open: boolean;
|
|
863
863
|
multiple: boolean;
|
|
864
864
|
disabled: boolean;
|
|
865
|
+
autofocus: boolean;
|
|
866
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
865
867
|
virtual: boolean;
|
|
866
868
|
dropdownMatchSelectWidth: number | boolean;
|
|
867
869
|
loading: boolean;
|
|
868
|
-
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
869
870
|
bordered: boolean;
|
|
871
|
+
'onUpdate:value': (value: any) => void;
|
|
870
872
|
status: "" | "error" | "warning";
|
|
871
873
|
allowClear: boolean;
|
|
872
|
-
autofocus: boolean;
|
|
873
|
-
defaultOpen: boolean;
|
|
874
|
-
'onUpdate:value': (value: any) => void;
|
|
875
|
-
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
876
|
-
filterTreeNode: boolean | ((inputValue: string, treeNode: DefaultOptionType) => boolean);
|
|
877
|
-
replaceFields: FieldNames;
|
|
878
|
-
treeCheckable: boolean;
|
|
879
|
-
showSearch: boolean;
|
|
880
874
|
autoClearSearchValue: boolean;
|
|
881
875
|
labelInValue: boolean;
|
|
876
|
+
showSearch: boolean;
|
|
877
|
+
defaultOpen: boolean;
|
|
878
|
+
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
882
879
|
showArrow: boolean;
|
|
883
|
-
treeDefaultExpandAll: boolean;
|
|
884
880
|
treeLine: boolean | {
|
|
885
881
|
showLeafIcon: boolean;
|
|
886
882
|
};
|
|
883
|
+
filterTreeNode: boolean | ((inputValue: string, treeNode: DefaultOptionType) => boolean);
|
|
884
|
+
treeCheckable: boolean;
|
|
887
885
|
treeCheckStrictly: boolean;
|
|
888
886
|
treeDataSimpleMode: any;
|
|
887
|
+
treeDefaultExpandAll: boolean;
|
|
888
|
+
replaceFields: FieldNames;
|
|
889
889
|
'onUpdate:treeExpandedKeys': (keys: Key[]) => void;
|
|
890
890
|
'onUpdate:searchValue': (value: string) => void;
|
|
891
891
|
}, true, {}, CustomSlotsType<{
|
|
@@ -910,8 +910,8 @@ declare const __VLS_component: DefineComponent<ApFieldTreeSelectProps, {
|
|
|
910
910
|
}, Readonly< ExtractPropTypes<{
|
|
911
911
|
suffixIcon: VueTypeValidableDef<any>;
|
|
912
912
|
size: {
|
|
913
|
-
type: PropType<
|
|
914
|
-
default:
|
|
913
|
+
type: PropType<ButtonSize>;
|
|
914
|
+
default: ButtonSize;
|
|
915
915
|
};
|
|
916
916
|
bordered: {
|
|
917
917
|
type: BooleanConstructor;
|
|
@@ -994,6 +994,8 @@ declare const __VLS_component: DefineComponent<ApFieldTreeSelectProps, {
|
|
|
994
994
|
default: any;
|
|
995
995
|
};
|
|
996
996
|
prefixCls: StringConstructor;
|
|
997
|
+
id: StringConstructor;
|
|
998
|
+
autofocus: BooleanConstructor;
|
|
997
999
|
getPopupContainer: {
|
|
998
1000
|
type: PropType<RenderDOMFunc>;
|
|
999
1001
|
};
|
|
@@ -1005,6 +1007,7 @@ declare const __VLS_component: DefineComponent<ApFieldTreeSelectProps, {
|
|
|
1005
1007
|
type: PropType<number | boolean>;
|
|
1006
1008
|
default: any;
|
|
1007
1009
|
};
|
|
1010
|
+
placeholder: VueTypeValidableDef<any>;
|
|
1008
1011
|
loading: {
|
|
1009
1012
|
type: BooleanConstructor;
|
|
1010
1013
|
default: any;
|
|
@@ -1012,125 +1015,119 @@ declare const __VLS_component: DefineComponent<ApFieldTreeSelectProps, {
|
|
|
1012
1015
|
defaultValue: {
|
|
1013
1016
|
type: PropType<any>;
|
|
1014
1017
|
};
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
};
|
|
1018
|
-
transitionName: StringConstructor;
|
|
1019
|
-
dropdownAlign: PropType<AlignType>;
|
|
1020
|
-
placeholder: VueTypeValidableDef<any>;
|
|
1018
|
+
prefix: VueTypeValidableDef<any>;
|
|
1019
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
1021
1020
|
allowClear: {
|
|
1022
1021
|
type: BooleanConstructor;
|
|
1023
1022
|
default: any;
|
|
1024
1023
|
};
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
type: BooleanConstructor;
|
|
1028
|
-
default: any;
|
|
1029
|
-
};
|
|
1030
|
-
id: StringConstructor;
|
|
1031
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
1032
|
-
notFoundContent: VueTypeValidableDef<any>;
|
|
1033
|
-
maxCount: NumberConstructor;
|
|
1034
|
-
onDeselect: PropType<SelectHandler<unknown, BaseOptionType>>;
|
|
1035
|
-
prefix: VueTypeValidableDef<any>;
|
|
1036
|
-
onSearch: {
|
|
1037
|
-
type: PropType<(value: string) => void>;
|
|
1024
|
+
getRawInputElement: {
|
|
1025
|
+
type: PropType<() => any>;
|
|
1038
1026
|
};
|
|
1039
1027
|
fieldNames: {
|
|
1040
1028
|
type: PropType<FieldNames>;
|
|
1041
1029
|
};
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
type: PropType<DropdownRender>;
|
|
1047
|
-
};
|
|
1048
|
-
switcherIcon: VueTypeValidableDef<any>;
|
|
1049
|
-
loadData: {
|
|
1050
|
-
type: PropType<(dataNode: LegacyDataNode) => Promise<unknown>>;
|
|
1030
|
+
inputValue: StringConstructor;
|
|
1031
|
+
searchValue: StringConstructor;
|
|
1032
|
+
onSearch: {
|
|
1033
|
+
type: PropType<(value: string) => void>;
|
|
1051
1034
|
};
|
|
1052
|
-
|
|
1053
|
-
type:
|
|
1035
|
+
autoClearSearchValue: {
|
|
1036
|
+
type: BooleanConstructor;
|
|
1054
1037
|
default: any;
|
|
1055
1038
|
};
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
treeCheckable: {
|
|
1039
|
+
onDeselect: PropType<SelectHandler<unknown, BaseOptionType>>;
|
|
1040
|
+
listItemHeight: NumberConstructor;
|
|
1041
|
+
labelInValue: {
|
|
1060
1042
|
type: BooleanConstructor;
|
|
1061
1043
|
default: any;
|
|
1062
1044
|
};
|
|
1045
|
+
maxCount: NumberConstructor;
|
|
1063
1046
|
showSearch: {
|
|
1064
1047
|
type: BooleanConstructor;
|
|
1065
1048
|
default: any;
|
|
1066
1049
|
};
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1050
|
+
tagRender: {
|
|
1051
|
+
type: PropType<(props: CustomTagProps) => any>;
|
|
1052
|
+
};
|
|
1053
|
+
optionLabelRender: {
|
|
1054
|
+
type: PropType<(option: Record<string, any>) => any>;
|
|
1055
|
+
};
|
|
1056
|
+
notFoundContent: VueTypeValidableDef<any>;
|
|
1057
|
+
onClear: PropType<() => void>;
|
|
1058
|
+
choiceTransitionName: StringConstructor;
|
|
1059
|
+
defaultOpen: {
|
|
1060
|
+
type: BooleanConstructor;
|
|
1061
|
+
default: any;
|
|
1062
|
+
};
|
|
1063
|
+
onDropdownVisibleChange: {
|
|
1064
|
+
type: PropType<(open: boolean) => void>;
|
|
1065
|
+
};
|
|
1066
|
+
maxTagTextLength: NumberConstructor;
|
|
1070
1067
|
maxTagCount: {
|
|
1071
1068
|
type: PropType<number | "responsive">;
|
|
1072
1069
|
};
|
|
1073
|
-
maxTagTextLength: NumberConstructor;
|
|
1074
1070
|
maxTagPlaceholder: {
|
|
1075
1071
|
type: PropType<(omittedValues: DisplayValueType[]) => any>;
|
|
1076
1072
|
};
|
|
1077
1073
|
tokenSeparators: {
|
|
1078
1074
|
type: PropType<string[]>;
|
|
1079
1075
|
};
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
optionLabelRender: {
|
|
1085
|
-
type: PropType<(option: Record<string, any>) => any>;
|
|
1076
|
+
removeIcon: VueTypeValidableDef<any>;
|
|
1077
|
+
transitionName: StringConstructor;
|
|
1078
|
+
dropdownStyle: {
|
|
1079
|
+
type: PropType<CSSProperties>;
|
|
1086
1080
|
};
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
type: PropType<(open: boolean) => void>;
|
|
1081
|
+
dropdownRender: {
|
|
1082
|
+
type: PropType<DropdownRender>;
|
|
1090
1083
|
};
|
|
1091
|
-
|
|
1092
|
-
|
|
1084
|
+
dropdownAlign: PropType<AlignType>;
|
|
1085
|
+
showAction: {
|
|
1086
|
+
type: PropType<("click" | "focus")[]>;
|
|
1093
1087
|
};
|
|
1094
1088
|
onPopupScroll: PropType<(e: UIEvent) => void>;
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
autoClearSearchValue: {
|
|
1089
|
+
onInputKeyDown: PropType<(e: KeyboardEvent) => void>;
|
|
1090
|
+
showArrow: {
|
|
1098
1091
|
type: BooleanConstructor;
|
|
1099
1092
|
default: any;
|
|
1100
1093
|
};
|
|
1101
|
-
|
|
1094
|
+
showCheckedStrategy: {
|
|
1095
|
+
type: PropType<CheckedStrategy>;
|
|
1096
|
+
};
|
|
1097
|
+
loadData: {
|
|
1098
|
+
type: PropType<(dataNode: LegacyDataNode) => Promise<unknown>>;
|
|
1099
|
+
};
|
|
1100
|
+
filterTreeNode: {
|
|
1101
|
+
type: PropType<boolean | ((inputValue: string, treeNode: DefaultOptionType) => boolean)>;
|
|
1102
|
+
default: any;
|
|
1103
|
+
};
|
|
1104
|
+
treeNodeFilterProp: StringConstructor;
|
|
1105
|
+
treeNodeLabelProp: StringConstructor;
|
|
1106
|
+
treeCheckable: {
|
|
1102
1107
|
type: BooleanConstructor;
|
|
1103
1108
|
default: any;
|
|
1104
1109
|
};
|
|
1105
|
-
|
|
1110
|
+
treeCheckStrictly: {
|
|
1106
1111
|
type: BooleanConstructor;
|
|
1107
1112
|
default: any;
|
|
1108
1113
|
};
|
|
1109
|
-
|
|
1110
|
-
type: PropType<
|
|
1114
|
+
treeData: {
|
|
1115
|
+
type: PropType< DefaultOptionType[]>;
|
|
1111
1116
|
};
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
type: BooleanConstructor;
|
|
1117
|
+
treeDataSimpleMode: {
|
|
1118
|
+
type: PropType<boolean | SimpleModeConfig>;
|
|
1115
1119
|
default: any;
|
|
1116
1120
|
};
|
|
1117
|
-
treeIcon: VueTypeValidableDef<any>;
|
|
1118
1121
|
treeLoadedKeys: {
|
|
1119
1122
|
type: PropType< Key[]>;
|
|
1120
1123
|
};
|
|
1121
1124
|
onTreeLoad: {
|
|
1122
1125
|
type: PropType<(loadedKeys: Key[]) => void>;
|
|
1123
1126
|
};
|
|
1124
|
-
|
|
1125
|
-
treeNodeLabelProp: StringConstructor;
|
|
1126
|
-
treeCheckStrictly: {
|
|
1127
|
+
treeDefaultExpandAll: {
|
|
1127
1128
|
type: BooleanConstructor;
|
|
1128
1129
|
default: any;
|
|
1129
1130
|
};
|
|
1130
|
-
treeDataSimpleMode: {
|
|
1131
|
-
type: PropType<boolean | SimpleModeConfig>;
|
|
1132
|
-
default: any;
|
|
1133
|
-
};
|
|
1134
1131
|
treeExpandedKeys: {
|
|
1135
1132
|
type: PropType< Key[]>;
|
|
1136
1133
|
};
|
|
@@ -1140,36 +1137,39 @@ declare const __VLS_component: DefineComponent<ApFieldTreeSelectProps, {
|
|
|
1140
1137
|
onTreeExpand: {
|
|
1141
1138
|
type: PropType<(expandedKeys: Key[]) => void>;
|
|
1142
1139
|
};
|
|
1140
|
+
treeIcon: VueTypeValidableDef<any>;
|
|
1141
|
+
switcherIcon: VueTypeValidableDef<any>;
|
|
1142
|
+
treeExpandAction: PropType<ExpandAction>;
|
|
1143
1143
|
dropdownPopupAlign: VueTypeValidableDef<any>;
|
|
1144
1144
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
1145
|
-
size:
|
|
1145
|
+
size: ButtonSize;
|
|
1146
1146
|
open: boolean;
|
|
1147
1147
|
multiple: boolean;
|
|
1148
1148
|
disabled: boolean;
|
|
1149
|
+
autofocus: boolean;
|
|
1150
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
1149
1151
|
virtual: boolean;
|
|
1150
1152
|
dropdownMatchSelectWidth: number | boolean;
|
|
1151
1153
|
loading: boolean;
|
|
1152
|
-
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
1153
1154
|
bordered: boolean;
|
|
1155
|
+
'onUpdate:value': (value: any) => void;
|
|
1154
1156
|
status: "" | "error" | "warning";
|
|
1155
1157
|
allowClear: boolean;
|
|
1156
|
-
autofocus: boolean;
|
|
1157
|
-
defaultOpen: boolean;
|
|
1158
|
-
'onUpdate:value': (value: any) => void;
|
|
1159
|
-
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
1160
|
-
filterTreeNode: boolean | ((inputValue: string, treeNode: DefaultOptionType) => boolean);
|
|
1161
|
-
replaceFields: FieldNames;
|
|
1162
|
-
treeCheckable: boolean;
|
|
1163
|
-
showSearch: boolean;
|
|
1164
1158
|
autoClearSearchValue: boolean;
|
|
1165
1159
|
labelInValue: boolean;
|
|
1160
|
+
showSearch: boolean;
|
|
1161
|
+
defaultOpen: boolean;
|
|
1162
|
+
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
1166
1163
|
showArrow: boolean;
|
|
1167
|
-
treeDefaultExpandAll: boolean;
|
|
1168
1164
|
treeLine: boolean | {
|
|
1169
1165
|
showLeafIcon: boolean;
|
|
1170
1166
|
};
|
|
1167
|
+
filterTreeNode: boolean | ((inputValue: string, treeNode: DefaultOptionType) => boolean);
|
|
1168
|
+
treeCheckable: boolean;
|
|
1171
1169
|
treeCheckStrictly: boolean;
|
|
1172
1170
|
treeDataSimpleMode: any;
|
|
1171
|
+
treeDefaultExpandAll: boolean;
|
|
1172
|
+
replaceFields: FieldNames;
|
|
1173
1173
|
'onUpdate:treeExpandedKeys': (keys: Key[]) => void;
|
|
1174
1174
|
'onUpdate:searchValue': (value: string) => void;
|
|
1175
1175
|
}> | null;
|