@aplus-frontend/ui 0.4.19 → 0.4.21
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/ap-action/item/index.vue.d.ts +2 -1
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +2 -1
- package/es/src/ap-action/item-modal/index.vue.d.ts +2 -1
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +2 -1
- package/es/src/ap-button/ap-action-button.vue.d.ts +2 -1
- package/es/src/ap-button/ap-button.vue.d.ts +2 -1
- package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +3 -2
- package/es/src/ap-descriptions/help-message/index.vue.d.ts +3 -5
- package/es/src/ap-download/ap-download.vue.d.ts +5 -3
- package/es/src/ap-field/date/index.vue.d.ts +2 -1
- package/es/src/ap-field/date-range/index.vue.d.ts +2 -1
- package/es/src/ap-field/number/index.vue.d.ts +324 -2
- package/es/src/ap-field/radio/index.vue.d.ts +98 -2
- package/es/src/ap-field/rate/index.vue.d.ts +84 -2
- package/es/src/ap-field/segmented/index.vue.d.ts +2 -1
- package/es/src/ap-field/select/index.vue.d.ts +409 -2
- package/es/src/ap-field/select/index.vue.mjs +7 -6
- package/es/src/ap-field/slider/index.vue.d.ts +259 -2
- package/es/src/ap-field/switch/index.vue.d.ts +2 -1
- package/es/src/ap-field/text/index.vue.d.ts +2 -1
- package/es/src/ap-field/text/password.vue.d.ts +2 -1
- package/es/src/ap-field/text-area/index.vue.d.ts +267 -2
- package/es/src/ap-form/ap-form.vue.d.ts +638 -2
- package/es/src/ap-form/dependency/index.vue.d.ts +2 -1
- package/es/src/ap-form/drawer-form/index.vue.d.ts +1458 -6
- package/es/src/ap-form/item/index.vue.d.ts +779 -2
- package/es/src/ap-form/item-group/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/date/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/date-range/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/number/index.vue.d.ts +785 -3
- package/es/src/ap-form/items/radio/index.vue.d.ts +223 -4
- package/es/src/ap-form/items/select/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/switch/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/text/group.vue.d.ts +2 -1
- package/es/src/ap-form/items/text/index.vue.d.ts +141 -3
- package/es/src/ap-form/items/text/password.vue.d.ts +150 -2
- package/es/src/ap-form/items/text-area/index.vue.d.ts +568 -4
- package/es/src/ap-form/list/index.vue.d.ts +2 -1
- package/es/src/ap-form/modal-form/index.vue.d.ts +1458 -7
- package/es/src/ap-form/provider/index.vue.d.ts +2 -1
- package/es/src/ap-form/render/control.vue.d.ts +2 -1
- package/es/src/ap-form/render/item.vue.d.ts +2 -1
- package/es/src/ap-form/search-form/index.vue.d.ts +1458 -5
- package/es/src/ap-form/set/index.vue.d.ts +2 -1
- package/es/src/ap-info-layout/ApInfoLayout.vue.d.ts +3 -2
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +6 -2
- package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +3 -2
- package/es/src/ap-list/index.vue.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue.d.ts +1 -1
- package/es/src/ap-table/components/index/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/modal/index.vue.d.ts +2 -1
- package/es/src/ap-table/components/setting/select-group/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sortable/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/tree-select/index.vue.d.ts +1 -1
- package/es/src/ap-table/constants.d.ts +2264 -14
- package/es/src/ap-table/utils.d.ts +1180 -8
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +5 -2
- package/es/src/ap-tag/ap-tag.vue.d.ts +1 -1
- package/es/src/ap-upload/apUpload.vue.d.ts +5 -2
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +453 -2
- package/es/src/ap-upload/components/Picture.vue.d.ts +5 -2
- package/es/src/ap-upload/components/SingleFile.vue.d.ts +3 -1
- package/es/src/business/ap-appendix/ap-appendix.vue.d.ts +5 -3
- package/es/src/business/ap-appendix/icons/file-icon.vue.d.ts +1 -1
- package/es/src/business/ap-appendix/index.d.ts +1 -1
- package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +5 -2
- package/es/src/business/ap-batch-action/index.d.ts +3 -1
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +2 -1
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +3 -4
- package/es/src/business/ap-batch-action-group/index.d.ts +887 -5
- package/es/src/business/ap-card/ApCard.vue.d.ts +3 -2
- package/es/src/business/ap-card/index.d.ts +1 -1
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +1 -1
- package/es/src/business/ap-group-search/ap-group-search.vue.d.ts +5 -2
- package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +9 -8
- package/es/src/business/ap-group-search/extension-select/index.vue.d.ts +10 -346
- package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +8 -7
- package/es/src/business/ap-group-search/images/icon-down.vue.d.ts +1 -1
- package/es/src/business/ap-group-search/images/icon-line-select.vue.d.ts +1 -1
- package/es/src/business/ap-group-search/index.d.ts +418 -4
- package/es/src/business/ap-group-search/popover-select/index.vue.d.ts +412 -340
- package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +15 -14
- package/es/src/business/ap-image/ApImage.vue.d.ts +2 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +1 -1
- package/es/src/business/ap-input-radio/index.d.ts +1 -1
- package/es/src/business/ap-ladder/ApLadder.vue.d.ts +6 -2
- package/es/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +1 -1
- package/es/src/business/ap-ladder/index.d.ts +4 -1
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +1 -1
- package/es/src/business/ap-table-modal/index.d.ts +27 -2
- package/es/src/business/ap-table-modal/modal-title.vue.d.ts +3 -2
- package/es/src/business/ap-table-modal/table-layout/index.vue.d.ts +8 -8
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +30 -4
- package/es/src/business/ap-title/ApTitle.vue.d.ts +3 -2
- package/es/src/business/ap-title/index.d.ts +1 -1
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +5 -3
- package/es/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +1 -1
- package/es/src/business/ap-upload-file/icon/file-icon.vue.d.ts +1 -1
- package/es/src/business/batch-input-group/index.vue.d.ts +146 -3
- package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +267 -2
- package/es/src/business/hooks/useTableRefresh.mjs +43 -24
- package/es/src/check-card/group.vue.d.ts +2 -1
- package/es/src/check-card/index.vue.d.ts +3 -2
- package/es/src/editable-table/form-item.vue.d.ts +1 -1
- package/es/src/editable-table/index.vue.d.ts +1 -1
- package/es/src/full-screen/index.vue.d.ts +6 -2
- package/es/src/portal/index.vue.d.ts +2 -1
- package/es/src/resize-observer/index.vue.d.ts +2 -1
- package/es/src/scroll-bar/index.vue.d.ts +42 -3
- package/es/src/scroll-bar/internal.vue.d.ts +5 -1
- package/es/src/scroll-bar/internal.vue.mjs +11 -10
- package/es/src/scroll-view/index.vue.d.ts +92 -4
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +828 -2
- package/lib/src/ap-action/item/index.vue.d.ts +2 -1
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +2 -1
- package/lib/src/ap-action/item-modal/index.vue.d.ts +2 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +2 -1
- package/lib/src/ap-button/ap-action-button.vue.d.ts +2 -1
- package/lib/src/ap-button/ap-button.vue.d.ts +2 -1
- package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +3 -2
- package/lib/src/ap-descriptions/help-message/index.vue.d.ts +3 -5
- package/lib/src/ap-download/ap-download.vue.d.ts +5 -3
- package/lib/src/ap-field/date/index.vue.d.ts +2 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +2 -1
- package/lib/src/ap-field/number/index.vue.d.ts +324 -2
- package/lib/src/ap-field/radio/index.vue.d.ts +98 -2
- package/lib/src/ap-field/rate/index.vue.d.ts +84 -2
- package/lib/src/ap-field/segmented/index.vue.d.ts +2 -1
- package/lib/src/ap-field/select/index.vue.d.ts +409 -2
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +259 -2
- package/lib/src/ap-field/switch/index.vue.d.ts +2 -1
- package/lib/src/ap-field/text/index.vue.d.ts +2 -1
- package/lib/src/ap-field/text/password.vue.d.ts +2 -1
- package/lib/src/ap-field/text-area/index.vue.d.ts +267 -2
- package/lib/src/ap-form/ap-form.vue.d.ts +638 -2
- package/lib/src/ap-form/dependency/index.vue.d.ts +2 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +1458 -6
- package/lib/src/ap-form/item/index.vue.d.ts +779 -2
- package/lib/src/ap-form/item-group/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/date/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +785 -3
- package/lib/src/ap-form/items/radio/index.vue.d.ts +223 -4
- package/lib/src/ap-form/items/select/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/switch/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/text/group.vue.d.ts +2 -1
- package/lib/src/ap-form/items/text/index.vue.d.ts +141 -3
- package/lib/src/ap-form/items/text/password.vue.d.ts +150 -2
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +568 -4
- package/lib/src/ap-form/list/index.vue.d.ts +2 -1
- package/lib/src/ap-form/modal-form/index.vue.d.ts +1458 -7
- package/lib/src/ap-form/provider/index.vue.d.ts +2 -1
- package/lib/src/ap-form/render/control.vue.d.ts +2 -1
- package/lib/src/ap-form/render/item.vue.d.ts +2 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +1458 -5
- package/lib/src/ap-form/set/index.vue.d.ts +2 -1
- package/lib/src/ap-info-layout/ApInfoLayout.vue.d.ts +3 -2
- package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +6 -2
- package/lib/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +3 -2
- package/lib/src/ap-list/index.vue.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +1 -1
- package/lib/src/ap-table/components/index/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/modal/index.vue.d.ts +2 -1
- package/lib/src/ap-table/components/setting/select-group/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sortable/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/tree-select/index.vue.d.ts +1 -1
- package/lib/src/ap-table/constants.d.ts +2264 -14
- package/lib/src/ap-table/utils.d.ts +1180 -8
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +5 -2
- package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -1
- package/lib/src/ap-upload/apUpload.vue.d.ts +5 -2
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +453 -2
- package/lib/src/ap-upload/components/Picture.vue.d.ts +5 -2
- package/lib/src/ap-upload/components/SingleFile.vue.d.ts +3 -1
- package/lib/src/business/ap-appendix/ap-appendix.vue.d.ts +5 -3
- package/lib/src/business/ap-appendix/icons/file-icon.vue.d.ts +1 -1
- package/lib/src/business/ap-appendix/index.d.ts +1 -1
- package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +5 -2
- package/lib/src/business/ap-batch-action/index.d.ts +3 -1
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +2 -1
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +3 -4
- package/lib/src/business/ap-batch-action-group/index.d.ts +887 -5
- package/lib/src/business/ap-card/ApCard.vue.d.ts +3 -2
- package/lib/src/business/ap-card/index.d.ts +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +1 -1
- package/lib/src/business/ap-group-search/ap-group-search.vue.d.ts +5 -2
- package/lib/src/business/ap-group-search/ap-group-search.vue2.js +1 -1
- package/lib/src/business/ap-group-search/extension-select/index.vue.d.ts +10 -346
- package/lib/src/business/ap-group-search/extension-select/index.vue2.js +1 -1
- package/lib/src/business/ap-group-search/images/icon-down.vue.d.ts +1 -1
- package/lib/src/business/ap-group-search/images/icon-line-select.vue.d.ts +1 -1
- package/lib/src/business/ap-group-search/index.d.ts +418 -4
- package/lib/src/business/ap-group-search/popover-select/index.vue.d.ts +412 -340
- package/lib/src/business/ap-group-search/popover-select/index.vue2.js +2 -2
- package/lib/src/business/ap-image/ApImage.vue.d.ts +2 -1
- package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +1 -1
- package/lib/src/business/ap-input-radio/index.d.ts +1 -1
- package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +6 -2
- package/lib/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +1 -1
- package/lib/src/business/ap-ladder/index.d.ts +4 -1
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +1 -1
- package/lib/src/business/ap-table-modal/index.d.ts +27 -2
- package/lib/src/business/ap-table-modal/modal-title.vue.d.ts +3 -2
- package/lib/src/business/ap-table-modal/table-layout/index.vue.d.ts +8 -8
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +30 -4
- package/lib/src/business/ap-title/ApTitle.vue.d.ts +3 -2
- package/lib/src/business/ap-title/index.d.ts +1 -1
- package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +5 -3
- package/lib/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +1 -1
- package/lib/src/business/ap-upload-file/icon/file-icon.vue.d.ts +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +146 -3
- package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +267 -2
- package/lib/src/business/hooks/useTableRefresh.js +1 -1
- package/lib/src/check-card/group.vue.d.ts +2 -1
- package/lib/src/check-card/index.vue.d.ts +3 -2
- package/lib/src/editable-table/form-item.vue.d.ts +1 -1
- package/lib/src/editable-table/index.vue.d.ts +1 -1
- package/lib/src/full-screen/index.vue.d.ts +6 -2
- package/lib/src/portal/index.vue.d.ts +2 -1
- package/lib/src/resize-observer/index.vue.d.ts +2 -1
- package/lib/src/scroll-bar/index.vue.d.ts +42 -3
- package/lib/src/scroll-bar/internal.vue.d.ts +5 -1
- package/lib/src/scroll-bar/internal.vue.js +1 -1
- package/lib/src/scroll-view/index.vue.d.ts +92 -4
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +828 -2
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { GroupSearchProps } from './interface';
|
|
|
3
3
|
import { SelectValue, DefaultOptionType, LabeledValue } from '@aplus-frontend/antdv/es/select';
|
|
4
4
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
5
5
|
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
6
|
-
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
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
8
|
import { RenderDOMFunc, DropdownRender, CustomTagProps } from '@aplus-frontend/antdv/es/vc-select/BaseSelect';
|
|
9
9
|
import { AlignType } from '@aplus-frontend/antdv/es/vc-trigger/interface';
|
|
@@ -16,7 +16,9 @@ declare const ApGroupSearch: {
|
|
|
16
16
|
}, PublicProps, {
|
|
17
17
|
dropdownMatchSelectWidth: number | boolean;
|
|
18
18
|
hasAll: boolean;
|
|
19
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
19
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
20
|
+
containerRef: HTMLDivElement;
|
|
21
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
20
22
|
P: {};
|
|
21
23
|
B: {};
|
|
22
24
|
D: {};
|
|
@@ -215,6 +217,7 @@ declare const ApExtensionSelect: {
|
|
|
215
217
|
type: BooleanConstructor;
|
|
216
218
|
default: any;
|
|
217
219
|
};
|
|
220
|
+
onClickOption: PropType<(e: MouseEvent, value: SelectValue, selected: boolean) => boolean | Promise<boolean>>;
|
|
218
221
|
labelInValue: {
|
|
219
222
|
type: BooleanConstructor;
|
|
220
223
|
default: any;
|
|
@@ -225,7 +228,9 @@ declare const ApExtensionSelect: {
|
|
|
225
228
|
onChange?: ((value: SelectValue) => any) | undefined;
|
|
226
229
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
227
230
|
change: (value: SelectValue) => any;
|
|
228
|
-
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
231
|
+
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
232
|
+
containerRef: HTMLDivElement;
|
|
233
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
229
234
|
P: {};
|
|
230
235
|
B: {};
|
|
231
236
|
D: {};
|
|
@@ -394,6 +399,7 @@ declare const ApExtensionSelect: {
|
|
|
394
399
|
type: BooleanConstructor;
|
|
395
400
|
default: any;
|
|
396
401
|
};
|
|
402
|
+
onClickOption: PropType<(e: MouseEvent, value: SelectValue, selected: boolean) => boolean | Promise<boolean>>;
|
|
397
403
|
labelInValue: {
|
|
398
404
|
type: BooleanConstructor;
|
|
399
405
|
default: any;
|
|
@@ -568,6 +574,7 @@ declare const ApExtensionSelect: {
|
|
|
568
574
|
type: BooleanConstructor;
|
|
569
575
|
default: any;
|
|
570
576
|
};
|
|
577
|
+
onClickOption: PropType<(e: MouseEvent, value: SelectValue, selected: boolean) => boolean | Promise<boolean>>;
|
|
571
578
|
labelInValue: {
|
|
572
579
|
type: BooleanConstructor;
|
|
573
580
|
default: any;
|
|
@@ -746,6 +753,7 @@ declare const ApPopoverSelect: {
|
|
|
746
753
|
type: BooleanConstructor;
|
|
747
754
|
default: any;
|
|
748
755
|
};
|
|
756
|
+
onClickOption: PropType<(e: MouseEvent, value: SelectValue, selected: boolean) => boolean | Promise<boolean>>;
|
|
749
757
|
labelInValue: {
|
|
750
758
|
type: BooleanConstructor;
|
|
751
759
|
default: any;
|
|
@@ -758,7 +766,411 @@ declare const ApPopoverSelect: {
|
|
|
758
766
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
759
767
|
submit: (value: SelectValue) => any;
|
|
760
768
|
"open-change": (value: boolean) => any;
|
|
761
|
-
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
769
|
+
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
770
|
+
selectRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
771
|
+
value: {
|
|
772
|
+
type: PropType<SelectValue>;
|
|
773
|
+
default: SelectValue;
|
|
774
|
+
};
|
|
775
|
+
defaultValue: {
|
|
776
|
+
type: PropType<SelectValue>;
|
|
777
|
+
default: SelectValue;
|
|
778
|
+
};
|
|
779
|
+
notFoundContent: VueTypeValidableDef<any>;
|
|
780
|
+
suffixIcon: VueTypeValidableDef<any>;
|
|
781
|
+
itemIcon: VueTypeValidableDef<any>;
|
|
782
|
+
size: {
|
|
783
|
+
type: PropType<ButtonSize>;
|
|
784
|
+
default: ButtonSize;
|
|
785
|
+
};
|
|
786
|
+
mode: {
|
|
787
|
+
type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
|
|
788
|
+
default: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
789
|
+
};
|
|
790
|
+
bordered: {
|
|
791
|
+
type: BooleanConstructor;
|
|
792
|
+
default: boolean;
|
|
793
|
+
};
|
|
794
|
+
transitionName: StringConstructor;
|
|
795
|
+
choiceTransitionName: {
|
|
796
|
+
type: PropType<"">;
|
|
797
|
+
default: "";
|
|
798
|
+
};
|
|
799
|
+
popupClassName: StringConstructor;
|
|
800
|
+
dropdownClassName: StringConstructor;
|
|
801
|
+
placement: {
|
|
802
|
+
type: PropType<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
|
|
803
|
+
default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
804
|
+
};
|
|
805
|
+
status: {
|
|
806
|
+
type: PropType<"" | "error" | "warning">;
|
|
807
|
+
default: "" | "error" | "warning";
|
|
808
|
+
};
|
|
809
|
+
'onUpdate:value': {
|
|
810
|
+
type: PropType<(val: SelectValue) => void>;
|
|
811
|
+
default: (val: SelectValue) => void;
|
|
812
|
+
};
|
|
813
|
+
children: PropType< VueNode[]>;
|
|
814
|
+
listHeight: NumberConstructor;
|
|
815
|
+
onMouseenter: PropType<(e: MouseEvent) => void>;
|
|
816
|
+
onMouseleave: PropType<(e: MouseEvent) => void>;
|
|
817
|
+
tabindex: NumberConstructor;
|
|
818
|
+
onClick: PropType<(e: MouseEvent) => void>;
|
|
819
|
+
onFocus: {
|
|
820
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
821
|
+
};
|
|
822
|
+
onBlur: {
|
|
823
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
824
|
+
};
|
|
825
|
+
onChange: PropType<(value: SelectValue, option: DefaultOptionType | DefaultOptionType[]) => void>;
|
|
826
|
+
onKeydown: PropType<(e: KeyboardEvent) => void>;
|
|
827
|
+
onKeyup: PropType<(e: KeyboardEvent) => void>;
|
|
828
|
+
onMousedown: PropType<(e: MouseEvent) => void>;
|
|
829
|
+
onSelect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
830
|
+
open: {
|
|
831
|
+
type: BooleanConstructor;
|
|
832
|
+
default: any;
|
|
833
|
+
};
|
|
834
|
+
animation: StringConstructor;
|
|
835
|
+
direction: {
|
|
836
|
+
type: PropType<"rtl" | "ltr">;
|
|
837
|
+
};
|
|
838
|
+
disabled: {
|
|
839
|
+
type: BooleanConstructor;
|
|
840
|
+
default: any;
|
|
841
|
+
};
|
|
842
|
+
prefixCls: StringConstructor;
|
|
843
|
+
id: StringConstructor;
|
|
844
|
+
autofocus: BooleanConstructor;
|
|
845
|
+
getPopupContainer: {
|
|
846
|
+
type: PropType<RenderDOMFunc>;
|
|
847
|
+
};
|
|
848
|
+
virtual: {
|
|
849
|
+
type: BooleanConstructor;
|
|
850
|
+
default: any;
|
|
851
|
+
};
|
|
852
|
+
dropdownMatchSelectWidth: {
|
|
853
|
+
type: PropType<number | boolean>;
|
|
854
|
+
default: any;
|
|
855
|
+
};
|
|
856
|
+
options: PropType< DefaultOptionType[]>;
|
|
857
|
+
showAction: {
|
|
858
|
+
type: PropType<("click" | "focus")[]>;
|
|
859
|
+
};
|
|
860
|
+
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
861
|
+
loading: {
|
|
862
|
+
type: BooleanConstructor;
|
|
863
|
+
default: any;
|
|
864
|
+
};
|
|
865
|
+
placeholder: VueTypeValidableDef<any>;
|
|
866
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
867
|
+
allowClear: {
|
|
868
|
+
type: BooleanConstructor;
|
|
869
|
+
default: any;
|
|
870
|
+
};
|
|
871
|
+
onSearch: PropType<(value: string) => void>;
|
|
872
|
+
fieldNames: PropType<FieldNames>;
|
|
873
|
+
dropdownStyle: {
|
|
874
|
+
type: PropType<CSSProperties>;
|
|
875
|
+
};
|
|
876
|
+
dropdownRender: {
|
|
877
|
+
type: PropType<DropdownRender>;
|
|
878
|
+
};
|
|
879
|
+
dropdownAlign: PropType<AlignType>;
|
|
880
|
+
showSearch: {
|
|
881
|
+
type: BooleanConstructor;
|
|
882
|
+
default: any;
|
|
883
|
+
};
|
|
884
|
+
searchValue: StringConstructor;
|
|
885
|
+
onInputKeyDown: PropType<(e: KeyboardEvent) => void>;
|
|
886
|
+
removeIcon: VueTypeValidableDef<any>;
|
|
887
|
+
maxTagCount: {
|
|
888
|
+
type: PropType<number | "responsive">;
|
|
889
|
+
};
|
|
890
|
+
maxTagTextLength: NumberConstructor;
|
|
891
|
+
maxTagPlaceholder: VueTypeValidableDef<any>;
|
|
892
|
+
tokenSeparators: {
|
|
893
|
+
type: PropType<string[]>;
|
|
894
|
+
};
|
|
895
|
+
tagRender: {
|
|
896
|
+
type: PropType<(props: CustomTagProps) => any>;
|
|
897
|
+
};
|
|
898
|
+
optionLabelRender: {
|
|
899
|
+
type: PropType<(option: Record<string, any>) => any>;
|
|
900
|
+
};
|
|
901
|
+
onClear: PropType<() => void>;
|
|
902
|
+
defaultOpen: {
|
|
903
|
+
type: BooleanConstructor;
|
|
904
|
+
default: any;
|
|
905
|
+
};
|
|
906
|
+
onDropdownVisibleChange: {
|
|
907
|
+
type: PropType<(open: boolean) => void>;
|
|
908
|
+
};
|
|
909
|
+
showArrow: {
|
|
910
|
+
type: BooleanConstructor;
|
|
911
|
+
default: any;
|
|
912
|
+
};
|
|
913
|
+
onPopupScroll: PropType<(e: UIEvent) => void>;
|
|
914
|
+
menuItemSelectedIcon: VueTypeValidableDef<any>;
|
|
915
|
+
listItemHeight: NumberConstructor;
|
|
916
|
+
inputValue: StringConstructor;
|
|
917
|
+
autoClearSearchValue: {
|
|
918
|
+
type: BooleanConstructor;
|
|
919
|
+
default: any;
|
|
920
|
+
};
|
|
921
|
+
filterOption: {
|
|
922
|
+
type: PropType<boolean | FilterFunc<DefaultOptionType>>;
|
|
923
|
+
default: any;
|
|
924
|
+
};
|
|
925
|
+
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType) => number>;
|
|
926
|
+
optionFilterProp: StringConstructor;
|
|
927
|
+
optionLabelProp: StringConstructor;
|
|
928
|
+
defaultActiveFirstOption: {
|
|
929
|
+
type: BooleanConstructor;
|
|
930
|
+
default: any;
|
|
931
|
+
};
|
|
932
|
+
onClickOption: PropType<(e: MouseEvent, value: SelectValue, selected: boolean) => boolean | Promise<boolean>>;
|
|
933
|
+
labelInValue: {
|
|
934
|
+
type: BooleanConstructor;
|
|
935
|
+
default: any;
|
|
936
|
+
};
|
|
937
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
938
|
+
size: ButtonSize;
|
|
939
|
+
value: SelectValue;
|
|
940
|
+
mode: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
941
|
+
open: boolean;
|
|
942
|
+
disabled: boolean;
|
|
943
|
+
autofocus: boolean;
|
|
944
|
+
virtual: boolean;
|
|
945
|
+
dropdownMatchSelectWidth: number | boolean;
|
|
946
|
+
status: "" | "error" | "warning";
|
|
947
|
+
defaultValue: SelectValue;
|
|
948
|
+
'onUpdate:value': (val: SelectValue) => void;
|
|
949
|
+
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
950
|
+
loading: boolean;
|
|
951
|
+
bordered: boolean;
|
|
952
|
+
allowClear: boolean;
|
|
953
|
+
showSearch: boolean;
|
|
954
|
+
choiceTransitionName: "";
|
|
955
|
+
defaultOpen: boolean;
|
|
956
|
+
showArrow: boolean;
|
|
957
|
+
autoClearSearchValue: boolean;
|
|
958
|
+
filterOption: boolean | FilterFunc<DefaultOptionType>;
|
|
959
|
+
defaultActiveFirstOption: boolean;
|
|
960
|
+
labelInValue: boolean;
|
|
961
|
+
}, true, {}, CustomSlotsType<{
|
|
962
|
+
notFoundContent: any;
|
|
963
|
+
suffixIcon: any;
|
|
964
|
+
itemIcon: any;
|
|
965
|
+
removeIcon: any;
|
|
966
|
+
clearIcon: any;
|
|
967
|
+
dropdownRender: any;
|
|
968
|
+
option: any;
|
|
969
|
+
placeholder: any;
|
|
970
|
+
tagRender: any;
|
|
971
|
+
maxTagPlaceholder: any;
|
|
972
|
+
optionLabel: any;
|
|
973
|
+
default: any;
|
|
974
|
+
}>, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
975
|
+
P: {};
|
|
976
|
+
B: {};
|
|
977
|
+
D: {};
|
|
978
|
+
C: {};
|
|
979
|
+
M: {};
|
|
980
|
+
Defaults: {};
|
|
981
|
+
}, Readonly< ExtractPropTypes<{
|
|
982
|
+
value: {
|
|
983
|
+
type: PropType<SelectValue>;
|
|
984
|
+
default: SelectValue;
|
|
985
|
+
};
|
|
986
|
+
defaultValue: {
|
|
987
|
+
type: PropType<SelectValue>;
|
|
988
|
+
default: SelectValue;
|
|
989
|
+
};
|
|
990
|
+
notFoundContent: VueTypeValidableDef<any>;
|
|
991
|
+
suffixIcon: VueTypeValidableDef<any>;
|
|
992
|
+
itemIcon: VueTypeValidableDef<any>;
|
|
993
|
+
size: {
|
|
994
|
+
type: PropType<ButtonSize>;
|
|
995
|
+
default: ButtonSize;
|
|
996
|
+
};
|
|
997
|
+
mode: {
|
|
998
|
+
type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
|
|
999
|
+
default: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
1000
|
+
};
|
|
1001
|
+
bordered: {
|
|
1002
|
+
type: BooleanConstructor;
|
|
1003
|
+
default: boolean;
|
|
1004
|
+
};
|
|
1005
|
+
transitionName: StringConstructor;
|
|
1006
|
+
choiceTransitionName: {
|
|
1007
|
+
type: PropType<"">;
|
|
1008
|
+
default: "";
|
|
1009
|
+
};
|
|
1010
|
+
popupClassName: StringConstructor;
|
|
1011
|
+
dropdownClassName: StringConstructor;
|
|
1012
|
+
placement: {
|
|
1013
|
+
type: PropType<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
|
|
1014
|
+
default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
1015
|
+
};
|
|
1016
|
+
status: {
|
|
1017
|
+
type: PropType<"" | "error" | "warning">;
|
|
1018
|
+
default: "" | "error" | "warning";
|
|
1019
|
+
};
|
|
1020
|
+
'onUpdate:value': {
|
|
1021
|
+
type: PropType<(val: SelectValue) => void>;
|
|
1022
|
+
default: (val: SelectValue) => void;
|
|
1023
|
+
};
|
|
1024
|
+
children: PropType< VueNode[]>;
|
|
1025
|
+
listHeight: NumberConstructor;
|
|
1026
|
+
onMouseenter: PropType<(e: MouseEvent) => void>;
|
|
1027
|
+
onMouseleave: PropType<(e: MouseEvent) => void>;
|
|
1028
|
+
tabindex: NumberConstructor;
|
|
1029
|
+
onClick: PropType<(e: MouseEvent) => void>;
|
|
1030
|
+
onFocus: {
|
|
1031
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
1032
|
+
};
|
|
1033
|
+
onBlur: {
|
|
1034
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
1035
|
+
};
|
|
1036
|
+
onChange: PropType<(value: SelectValue, option: DefaultOptionType | DefaultOptionType[]) => void>;
|
|
1037
|
+
onKeydown: PropType<(e: KeyboardEvent) => void>;
|
|
1038
|
+
onKeyup: PropType<(e: KeyboardEvent) => void>;
|
|
1039
|
+
onMousedown: PropType<(e: MouseEvent) => void>;
|
|
1040
|
+
onSelect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
1041
|
+
open: {
|
|
1042
|
+
type: BooleanConstructor;
|
|
1043
|
+
default: any;
|
|
1044
|
+
};
|
|
1045
|
+
animation: StringConstructor;
|
|
1046
|
+
direction: {
|
|
1047
|
+
type: PropType<"rtl" | "ltr">;
|
|
1048
|
+
};
|
|
1049
|
+
disabled: {
|
|
1050
|
+
type: BooleanConstructor;
|
|
1051
|
+
default: any;
|
|
1052
|
+
};
|
|
1053
|
+
prefixCls: StringConstructor;
|
|
1054
|
+
id: StringConstructor;
|
|
1055
|
+
autofocus: BooleanConstructor;
|
|
1056
|
+
getPopupContainer: {
|
|
1057
|
+
type: PropType<RenderDOMFunc>;
|
|
1058
|
+
};
|
|
1059
|
+
virtual: {
|
|
1060
|
+
type: BooleanConstructor;
|
|
1061
|
+
default: any;
|
|
1062
|
+
};
|
|
1063
|
+
dropdownMatchSelectWidth: {
|
|
1064
|
+
type: PropType<number | boolean>;
|
|
1065
|
+
default: any;
|
|
1066
|
+
};
|
|
1067
|
+
options: PropType< DefaultOptionType[]>;
|
|
1068
|
+
showAction: {
|
|
1069
|
+
type: PropType<("click" | "focus")[]>;
|
|
1070
|
+
};
|
|
1071
|
+
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
1072
|
+
loading: {
|
|
1073
|
+
type: BooleanConstructor;
|
|
1074
|
+
default: any;
|
|
1075
|
+
};
|
|
1076
|
+
placeholder: VueTypeValidableDef<any>;
|
|
1077
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
1078
|
+
allowClear: {
|
|
1079
|
+
type: BooleanConstructor;
|
|
1080
|
+
default: any;
|
|
1081
|
+
};
|
|
1082
|
+
onSearch: PropType<(value: string) => void>;
|
|
1083
|
+
fieldNames: PropType<FieldNames>;
|
|
1084
|
+
dropdownStyle: {
|
|
1085
|
+
type: PropType<CSSProperties>;
|
|
1086
|
+
};
|
|
1087
|
+
dropdownRender: {
|
|
1088
|
+
type: PropType<DropdownRender>;
|
|
1089
|
+
};
|
|
1090
|
+
dropdownAlign: PropType<AlignType>;
|
|
1091
|
+
showSearch: {
|
|
1092
|
+
type: BooleanConstructor;
|
|
1093
|
+
default: any;
|
|
1094
|
+
};
|
|
1095
|
+
searchValue: StringConstructor;
|
|
1096
|
+
onInputKeyDown: PropType<(e: KeyboardEvent) => void>;
|
|
1097
|
+
removeIcon: VueTypeValidableDef<any>;
|
|
1098
|
+
maxTagCount: {
|
|
1099
|
+
type: PropType<number | "responsive">;
|
|
1100
|
+
};
|
|
1101
|
+
maxTagTextLength: NumberConstructor;
|
|
1102
|
+
maxTagPlaceholder: VueTypeValidableDef<any>;
|
|
1103
|
+
tokenSeparators: {
|
|
1104
|
+
type: PropType<string[]>;
|
|
1105
|
+
};
|
|
1106
|
+
tagRender: {
|
|
1107
|
+
type: PropType<(props: CustomTagProps) => any>;
|
|
1108
|
+
};
|
|
1109
|
+
optionLabelRender: {
|
|
1110
|
+
type: PropType<(option: Record<string, any>) => any>;
|
|
1111
|
+
};
|
|
1112
|
+
onClear: PropType<() => void>;
|
|
1113
|
+
defaultOpen: {
|
|
1114
|
+
type: BooleanConstructor;
|
|
1115
|
+
default: any;
|
|
1116
|
+
};
|
|
1117
|
+
onDropdownVisibleChange: {
|
|
1118
|
+
type: PropType<(open: boolean) => void>;
|
|
1119
|
+
};
|
|
1120
|
+
showArrow: {
|
|
1121
|
+
type: BooleanConstructor;
|
|
1122
|
+
default: any;
|
|
1123
|
+
};
|
|
1124
|
+
onPopupScroll: PropType<(e: UIEvent) => void>;
|
|
1125
|
+
menuItemSelectedIcon: VueTypeValidableDef<any>;
|
|
1126
|
+
listItemHeight: NumberConstructor;
|
|
1127
|
+
inputValue: StringConstructor;
|
|
1128
|
+
autoClearSearchValue: {
|
|
1129
|
+
type: BooleanConstructor;
|
|
1130
|
+
default: any;
|
|
1131
|
+
};
|
|
1132
|
+
filterOption: {
|
|
1133
|
+
type: PropType<boolean | FilterFunc<DefaultOptionType>>;
|
|
1134
|
+
default: any;
|
|
1135
|
+
};
|
|
1136
|
+
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType) => number>;
|
|
1137
|
+
optionFilterProp: StringConstructor;
|
|
1138
|
+
optionLabelProp: StringConstructor;
|
|
1139
|
+
defaultActiveFirstOption: {
|
|
1140
|
+
type: BooleanConstructor;
|
|
1141
|
+
default: any;
|
|
1142
|
+
};
|
|
1143
|
+
onClickOption: PropType<(e: MouseEvent, value: SelectValue, selected: boolean) => boolean | Promise<boolean>>;
|
|
1144
|
+
labelInValue: {
|
|
1145
|
+
type: BooleanConstructor;
|
|
1146
|
+
default: any;
|
|
1147
|
+
};
|
|
1148
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
1149
|
+
size: ButtonSize;
|
|
1150
|
+
value: SelectValue;
|
|
1151
|
+
mode: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
1152
|
+
open: boolean;
|
|
1153
|
+
disabled: boolean;
|
|
1154
|
+
autofocus: boolean;
|
|
1155
|
+
virtual: boolean;
|
|
1156
|
+
dropdownMatchSelectWidth: number | boolean;
|
|
1157
|
+
status: "" | "error" | "warning";
|
|
1158
|
+
defaultValue: SelectValue;
|
|
1159
|
+
'onUpdate:value': (val: SelectValue) => void;
|
|
1160
|
+
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
1161
|
+
loading: boolean;
|
|
1162
|
+
bordered: boolean;
|
|
1163
|
+
allowClear: boolean;
|
|
1164
|
+
showSearch: boolean;
|
|
1165
|
+
choiceTransitionName: "";
|
|
1166
|
+
defaultOpen: boolean;
|
|
1167
|
+
showArrow: boolean;
|
|
1168
|
+
autoClearSearchValue: boolean;
|
|
1169
|
+
filterOption: boolean | FilterFunc<DefaultOptionType>;
|
|
1170
|
+
defaultActiveFirstOption: boolean;
|
|
1171
|
+
labelInValue: boolean;
|
|
1172
|
+
}> | null;
|
|
1173
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
762
1174
|
P: {};
|
|
763
1175
|
B: {};
|
|
764
1176
|
D: {};
|
|
@@ -927,6 +1339,7 @@ declare const ApPopoverSelect: {
|
|
|
927
1339
|
type: BooleanConstructor;
|
|
928
1340
|
default: any;
|
|
929
1341
|
};
|
|
1342
|
+
onClickOption: PropType<(e: MouseEvent, value: SelectValue, selected: boolean) => boolean | Promise<boolean>>;
|
|
930
1343
|
labelInValue: {
|
|
931
1344
|
type: BooleanConstructor;
|
|
932
1345
|
default: any;
|
|
@@ -1102,6 +1515,7 @@ declare const ApPopoverSelect: {
|
|
|
1102
1515
|
type: BooleanConstructor;
|
|
1103
1516
|
default: any;
|
|
1104
1517
|
};
|
|
1518
|
+
onClickOption: PropType<(e: MouseEvent, value: SelectValue, selected: boolean) => boolean | Promise<boolean>>;
|
|
1105
1519
|
labelInValue: {
|
|
1106
1520
|
type: BooleanConstructor;
|
|
1107
1521
|
default: any;
|