@aplus-frontend/ui 0.4.0 → 0.4.2

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.
Files changed (118) hide show
  1. package/es/src/ap-field/number/index.vue.d.ts +322 -1
  2. package/es/src/ap-field/radio/index.vue.d.ts +98 -2
  3. package/es/src/ap-field/rate/index.vue.d.ts +82 -1
  4. package/es/src/ap-field/segmented/index.vue.d.ts +1 -7
  5. package/es/src/ap-field/select/index.vue.d.ts +423 -1
  6. package/es/src/ap-field/select/index.vue.mjs +4 -3
  7. package/es/src/ap-field/slider/index.vue.d.ts +257 -1
  8. package/es/src/ap-field/text/index.vue.d.ts +1 -13
  9. package/es/src/ap-field/text-area/index.vue.d.ts +267 -2
  10. package/es/src/ap-form/ap-form.vue.d.ts +636 -1
  11. package/es/src/ap-form/drawer-form/index.vue.d.ts +1454 -4
  12. package/es/src/ap-form/item/index.vue.d.ts +777 -1
  13. package/es/src/ap-form/items/number/index.vue.d.ts +783 -2
  14. package/es/src/ap-form/items/radio/index.vue.d.ts +221 -3
  15. package/es/src/ap-form/items/text/index.vue.d.ts +128 -15
  16. package/es/src/ap-form/items/text/password.vue.d.ts +148 -1
  17. package/es/src/ap-form/items/text-area/index.vue.d.ts +566 -3
  18. package/es/src/ap-form/modal-form/index.vue.d.ts +1454 -5
  19. package/es/src/ap-form/modal-form/index.vue.mjs +77 -75
  20. package/es/src/ap-form/search-form/index.vue.d.ts +1454 -3
  21. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +4 -1
  22. package/es/src/ap-list/index.vue.d.ts +1 -1
  23. package/es/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +3 -1
  24. package/es/src/ap-scroll-bar/index.d.ts +3 -1
  25. package/es/src/ap-table/ap-table.vue.d.ts +1 -1
  26. package/es/src/ap-table/ap-table.vue2.mjs +98 -97
  27. package/es/src/ap-table/constants.d.ts +2260 -26
  28. package/es/src/ap-table/context.d.ts +1 -0
  29. package/es/src/ap-table/context.mjs +11 -10
  30. package/es/src/ap-table/utils.d.ts +1168 -8
  31. package/es/src/ap-tag/ap-tag-group.vue.d.ts +3 -1
  32. package/es/src/ap-upload/apUpload.vue.d.ts +3 -1
  33. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +453 -2
  34. package/es/src/ap-upload/components/Picture.vue.d.ts +3 -1
  35. package/es/src/ap-upload/components/SingleFile.vue.d.ts +3 -1
  36. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +1 -1
  37. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +66 -61
  38. package/es/src/business/ap-group-search/ap-group-search.vue.d.ts +3 -1
  39. package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -4
  40. package/es/src/business/ap-group-search/extension-select/index.vue.d.ts +3 -1
  41. package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +8 -7
  42. package/es/src/business/ap-group-search/index.d.ts +444 -4
  43. package/es/src/business/ap-group-search/popover-select/index.vue.d.ts +421 -3
  44. package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +1 -0
  45. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +1 -1
  46. package/es/src/business/ap-table-modal/index.d.ts +22 -2
  47. package/es/src/business/ap-table-modal/interface.d.ts +2 -2
  48. package/es/src/business/ap-table-modal/table-modal.vue.d.ts +22 -2
  49. package/es/src/business/batch-input-group/index.vue.d.ts +134 -3
  50. package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +267 -2
  51. package/es/src/business/hooks/usePageListApTable.d.ts +2 -2
  52. package/es/src/business/hooks/usePageListApTable.mjs +35 -33
  53. package/es/src/editable-table/form-item.vue.d.ts +1 -1
  54. package/es/src/editable-table/index.vue.d.ts +1 -1
  55. package/es/src/work-order-modal/work-order-modal.vue.d.ts +827 -2
  56. package/lib/src/ap-field/number/index.vue.d.ts +322 -1
  57. package/lib/src/ap-field/radio/index.vue.d.ts +98 -2
  58. package/lib/src/ap-field/rate/index.vue.d.ts +82 -1
  59. package/lib/src/ap-field/segmented/index.vue.d.ts +1 -7
  60. package/lib/src/ap-field/select/index.vue.d.ts +423 -1
  61. package/lib/src/ap-field/select/index.vue.js +1 -1
  62. package/lib/src/ap-field/slider/index.vue.d.ts +257 -1
  63. package/lib/src/ap-field/text/index.vue.d.ts +1 -13
  64. package/lib/src/ap-field/text-area/index.vue.d.ts +267 -2
  65. package/lib/src/ap-form/ap-form.vue.d.ts +636 -1
  66. package/lib/src/ap-form/drawer-form/index.vue.d.ts +1454 -4
  67. package/lib/src/ap-form/item/index.vue.d.ts +777 -1
  68. package/lib/src/ap-form/items/number/index.vue.d.ts +783 -2
  69. package/lib/src/ap-form/items/radio/index.vue.d.ts +221 -3
  70. package/lib/src/ap-form/items/text/index.vue.d.ts +128 -15
  71. package/lib/src/ap-form/items/text/password.vue.d.ts +148 -1
  72. package/lib/src/ap-form/items/text-area/index.vue.d.ts +566 -3
  73. package/lib/src/ap-form/modal-form/index.vue.d.ts +1454 -5
  74. package/lib/src/ap-form/modal-form/index.vue.js +1 -1
  75. package/lib/src/ap-form/search-form/index.vue.d.ts +1454 -3
  76. package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +4 -1
  77. package/lib/src/ap-list/index.vue.d.ts +1 -1
  78. package/lib/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +3 -1
  79. package/lib/src/ap-scroll-bar/index.d.ts +3 -1
  80. package/lib/src/ap-table/ap-table.vue.d.ts +1 -1
  81. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  82. package/lib/src/ap-table/constants.d.ts +2260 -26
  83. package/lib/src/ap-table/context.d.ts +1 -0
  84. package/lib/src/ap-table/context.js +1 -1
  85. package/lib/src/ap-table/utils.d.ts +1168 -8
  86. package/lib/src/ap-tag/ap-tag-group.vue.d.ts +3 -1
  87. package/lib/src/ap-upload/apUpload.vue.d.ts +3 -1
  88. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +453 -2
  89. package/lib/src/ap-upload/components/Picture.vue.d.ts +3 -1
  90. package/lib/src/ap-upload/components/SingleFile.vue.d.ts +3 -1
  91. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +1 -1
  92. package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
  93. package/lib/src/business/ap-group-search/ap-group-search.vue.d.ts +3 -1
  94. package/lib/src/business/ap-group-search/ap-group-search.vue2.js +1 -1
  95. package/lib/src/business/ap-group-search/extension-select/index.vue.d.ts +3 -1
  96. package/lib/src/business/ap-group-search/extension-select/index.vue2.js +1 -1
  97. package/lib/src/business/ap-group-search/index.d.ts +444 -4
  98. package/lib/src/business/ap-group-search/popover-select/index.vue.d.ts +421 -3
  99. package/lib/src/business/ap-group-search/popover-select/index.vue2.js +1 -1
  100. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +1 -1
  101. package/lib/src/business/ap-table-modal/index.d.ts +22 -2
  102. package/lib/src/business/ap-table-modal/interface.d.ts +2 -2
  103. package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +22 -2
  104. package/lib/src/business/batch-input-group/index.vue.d.ts +134 -3
  105. package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +267 -2
  106. package/lib/src/business/hooks/usePageListApTable.d.ts +2 -2
  107. package/lib/src/business/hooks/usePageListApTable.js +1 -1
  108. package/lib/src/editable-table/form-item.vue.d.ts +1 -1
  109. package/lib/src/editable-table/index.vue.d.ts +1 -1
  110. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +827 -2
  111. package/package.json +5 -5
  112. package/theme/ap-form/index.css +3 -4
  113. package/theme/ap-form/modal-form.css +3 -4
  114. package/theme/ap-form/modal-form.less +3 -4
  115. package/theme/ap-table/ap-table.css +3 -4
  116. package/theme/ap-table-modal/index.css +3 -4
  117. package/theme/editable-table/index.css +3 -4
  118. package/theme/index.css +3 -4
@@ -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, {}, HTMLDivElement, ComponentProvideOptions, {
19
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
20
+ containerRef: HTMLDivElement;
21
+ }, HTMLDivElement, ComponentProvideOptions, {
20
22
  P: {};
21
23
  B: {};
22
24
  D: {};
@@ -96,6 +98,10 @@ declare const ApExtensionSelect: {
96
98
  type: PropType<(val: SelectValue) => void>;
97
99
  default: (val: SelectValue) => void;
98
100
  };
101
+ onBeforeSelect: {
102
+ type: PropType<(nextVal: SelectValue) => boolean | Promise<boolean>>;
103
+ default: (nextVal: SelectValue) => boolean | Promise<boolean>;
104
+ };
99
105
  children: PropType< VueNode[]>;
100
106
  listHeight: NumberConstructor;
101
107
  onMouseenter: PropType<(e: MouseEvent) => void>;
@@ -225,7 +231,9 @@ declare const ApExtensionSelect: {
225
231
  onChange?: ((value: SelectValue) => any) | undefined;
226
232
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
227
233
  change: (value: SelectValue) => any;
228
- }, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
234
+ }, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
235
+ containerRef: HTMLDivElement;
236
+ }, HTMLDivElement, ComponentProvideOptions, {
229
237
  P: {};
230
238
  B: {};
231
239
  D: {};
@@ -275,6 +283,10 @@ declare const ApExtensionSelect: {
275
283
  type: PropType<(val: SelectValue) => void>;
276
284
  default: (val: SelectValue) => void;
277
285
  };
286
+ onBeforeSelect: {
287
+ type: PropType<(nextVal: SelectValue) => boolean | Promise<boolean>>;
288
+ default: (nextVal: SelectValue) => boolean | Promise<boolean>;
289
+ };
278
290
  children: PropType< VueNode[]>;
279
291
  listHeight: NumberConstructor;
280
292
  onMouseenter: PropType<(e: MouseEvent) => void>;
@@ -449,6 +461,10 @@ declare const ApExtensionSelect: {
449
461
  type: PropType<(val: SelectValue) => void>;
450
462
  default: (val: SelectValue) => void;
451
463
  };
464
+ onBeforeSelect: {
465
+ type: PropType<(nextVal: SelectValue) => boolean | Promise<boolean>>;
466
+ default: (nextVal: SelectValue) => boolean | Promise<boolean>;
467
+ };
452
468
  children: PropType< VueNode[]>;
453
469
  listHeight: NumberConstructor;
454
470
  onMouseenter: PropType<(e: MouseEvent) => void>;
@@ -627,6 +643,10 @@ declare const ApPopoverSelect: {
627
643
  type: PropType<(val: SelectValue) => void>;
628
644
  default: (val: SelectValue) => void;
629
645
  };
646
+ onBeforeSelect: {
647
+ type: PropType<(nextVal: SelectValue) => boolean | Promise<boolean>>;
648
+ default: (nextVal: SelectValue) => boolean | Promise<boolean>;
649
+ };
630
650
  children: PropType< VueNode[]>;
631
651
  listHeight: NumberConstructor;
632
652
  onMouseenter: PropType<(e: MouseEvent) => void>;
@@ -758,7 +778,419 @@ declare const ApPopoverSelect: {
758
778
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
759
779
  submit: (value: SelectValue) => any;
760
780
  "open-change": (value: boolean) => any;
761
- }, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
781
+ }, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
782
+ selectRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
783
+ value: {
784
+ type: PropType<SelectValue>;
785
+ default: SelectValue;
786
+ };
787
+ defaultValue: {
788
+ type: PropType<SelectValue>;
789
+ default: SelectValue;
790
+ };
791
+ notFoundContent: VueTypeValidableDef<any>;
792
+ suffixIcon: VueTypeValidableDef<any>;
793
+ itemIcon: VueTypeValidableDef<any>;
794
+ size: {
795
+ type: PropType<ButtonSize>;
796
+ default: ButtonSize;
797
+ };
798
+ mode: {
799
+ type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
800
+ default: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
801
+ };
802
+ bordered: {
803
+ type: BooleanConstructor;
804
+ default: boolean;
805
+ };
806
+ transitionName: StringConstructor;
807
+ choiceTransitionName: {
808
+ type: PropType<"">;
809
+ default: "";
810
+ };
811
+ popupClassName: StringConstructor;
812
+ dropdownClassName: StringConstructor;
813
+ placement: {
814
+ type: PropType<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
815
+ default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
816
+ };
817
+ status: {
818
+ type: PropType<"" | "error" | "warning">;
819
+ default: "" | "error" | "warning";
820
+ };
821
+ 'onUpdate:value': {
822
+ type: PropType<(val: SelectValue) => void>;
823
+ default: (val: SelectValue) => void;
824
+ };
825
+ onBeforeSelect: {
826
+ type: PropType<(nextVal: SelectValue) => boolean | Promise<boolean>>;
827
+ default: (nextVal: SelectValue) => boolean | Promise<boolean>;
828
+ };
829
+ children: PropType< VueNode[]>;
830
+ listHeight: NumberConstructor;
831
+ onMouseenter: PropType<(e: MouseEvent) => void>;
832
+ onMouseleave: PropType<(e: MouseEvent) => void>;
833
+ tabindex: NumberConstructor;
834
+ onClick: PropType<(e: MouseEvent) => void>;
835
+ onFocus: {
836
+ type: PropType<(e: FocusEvent) => void>;
837
+ };
838
+ onBlur: {
839
+ type: PropType<(e: FocusEvent) => void>;
840
+ };
841
+ onChange: PropType<(value: SelectValue, option: DefaultOptionType | DefaultOptionType[]) => void>;
842
+ onKeydown: PropType<(e: KeyboardEvent) => void>;
843
+ onKeyup: PropType<(e: KeyboardEvent) => void>;
844
+ onMousedown: PropType<(e: MouseEvent) => void>;
845
+ onSelect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
846
+ open: {
847
+ type: BooleanConstructor;
848
+ default: any;
849
+ };
850
+ animation: StringConstructor;
851
+ direction: {
852
+ type: PropType<"rtl" | "ltr">;
853
+ };
854
+ disabled: {
855
+ type: BooleanConstructor;
856
+ default: any;
857
+ };
858
+ prefixCls: StringConstructor;
859
+ id: StringConstructor;
860
+ autofocus: BooleanConstructor;
861
+ getPopupContainer: {
862
+ type: PropType<RenderDOMFunc>;
863
+ };
864
+ virtual: {
865
+ type: BooleanConstructor;
866
+ default: any;
867
+ };
868
+ dropdownMatchSelectWidth: {
869
+ type: PropType<number | boolean>;
870
+ default: any;
871
+ };
872
+ options: PropType< DefaultOptionType[]>;
873
+ showAction: {
874
+ type: PropType<("click" | "focus")[]>;
875
+ };
876
+ onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
877
+ loading: {
878
+ type: BooleanConstructor;
879
+ default: any;
880
+ };
881
+ placeholder: VueTypeValidableDef<any>;
882
+ clearIcon: VueTypeValidableDef<any>;
883
+ allowClear: {
884
+ type: BooleanConstructor;
885
+ default: any;
886
+ };
887
+ onSearch: PropType<(value: string) => void>;
888
+ fieldNames: PropType<FieldNames>;
889
+ dropdownStyle: {
890
+ type: PropType<CSSProperties>;
891
+ };
892
+ dropdownRender: {
893
+ type: PropType<DropdownRender>;
894
+ };
895
+ dropdownAlign: PropType<AlignType>;
896
+ showSearch: {
897
+ type: BooleanConstructor;
898
+ default: any;
899
+ };
900
+ searchValue: StringConstructor;
901
+ onInputKeyDown: PropType<(e: KeyboardEvent) => void>;
902
+ removeIcon: VueTypeValidableDef<any>;
903
+ maxTagCount: {
904
+ type: PropType<number | "responsive">;
905
+ };
906
+ maxTagTextLength: NumberConstructor;
907
+ maxTagPlaceholder: VueTypeValidableDef<any>;
908
+ tokenSeparators: {
909
+ type: PropType<string[]>;
910
+ };
911
+ tagRender: {
912
+ type: PropType<(props: CustomTagProps) => any>;
913
+ };
914
+ optionLabelRender: {
915
+ type: PropType<(option: Record<string, any>) => any>;
916
+ };
917
+ onClear: PropType<() => void>;
918
+ defaultOpen: {
919
+ type: BooleanConstructor;
920
+ default: any;
921
+ };
922
+ onDropdownVisibleChange: {
923
+ type: PropType<(open: boolean) => void>;
924
+ };
925
+ showArrow: {
926
+ type: BooleanConstructor;
927
+ default: any;
928
+ };
929
+ onPopupScroll: PropType<(e: UIEvent) => void>;
930
+ menuItemSelectedIcon: VueTypeValidableDef<any>;
931
+ listItemHeight: NumberConstructor;
932
+ inputValue: StringConstructor;
933
+ autoClearSearchValue: {
934
+ type: BooleanConstructor;
935
+ default: any;
936
+ };
937
+ filterOption: {
938
+ type: PropType<boolean | FilterFunc<DefaultOptionType>>;
939
+ default: any;
940
+ };
941
+ filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType) => number>;
942
+ optionFilterProp: StringConstructor;
943
+ optionLabelProp: StringConstructor;
944
+ defaultActiveFirstOption: {
945
+ type: BooleanConstructor;
946
+ default: any;
947
+ };
948
+ labelInValue: {
949
+ type: BooleanConstructor;
950
+ default: any;
951
+ };
952
+ }>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
953
+ size: ButtonSize;
954
+ value: SelectValue;
955
+ mode: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
956
+ open: boolean;
957
+ disabled: boolean;
958
+ autofocus: boolean;
959
+ virtual: boolean;
960
+ dropdownMatchSelectWidth: number | boolean;
961
+ status: "" | "error" | "warning";
962
+ defaultValue: SelectValue;
963
+ 'onUpdate:value': (val: SelectValue) => void;
964
+ placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
965
+ loading: boolean;
966
+ bordered: boolean;
967
+ allowClear: boolean;
968
+ showSearch: boolean;
969
+ choiceTransitionName: "";
970
+ defaultOpen: boolean;
971
+ showArrow: boolean;
972
+ autoClearSearchValue: boolean;
973
+ filterOption: boolean | FilterFunc<DefaultOptionType>;
974
+ defaultActiveFirstOption: boolean;
975
+ labelInValue: boolean;
976
+ onBeforeSelect: (nextVal: SelectValue) => boolean | Promise<boolean>;
977
+ }, true, {}, CustomSlotsType<{
978
+ notFoundContent: any;
979
+ suffixIcon: any;
980
+ itemIcon: any;
981
+ removeIcon: any;
982
+ clearIcon: any;
983
+ dropdownRender: any;
984
+ option: any;
985
+ placeholder: any;
986
+ tagRender: any;
987
+ maxTagPlaceholder: any;
988
+ optionLabel: any;
989
+ default: any;
990
+ }>, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
991
+ P: {};
992
+ B: {};
993
+ D: {};
994
+ C: {};
995
+ M: {};
996
+ Defaults: {};
997
+ }, Readonly< ExtractPropTypes<{
998
+ value: {
999
+ type: PropType<SelectValue>;
1000
+ default: SelectValue;
1001
+ };
1002
+ defaultValue: {
1003
+ type: PropType<SelectValue>;
1004
+ default: SelectValue;
1005
+ };
1006
+ notFoundContent: VueTypeValidableDef<any>;
1007
+ suffixIcon: VueTypeValidableDef<any>;
1008
+ itemIcon: VueTypeValidableDef<any>;
1009
+ size: {
1010
+ type: PropType<ButtonSize>;
1011
+ default: ButtonSize;
1012
+ };
1013
+ mode: {
1014
+ type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
1015
+ default: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
1016
+ };
1017
+ bordered: {
1018
+ type: BooleanConstructor;
1019
+ default: boolean;
1020
+ };
1021
+ transitionName: StringConstructor;
1022
+ choiceTransitionName: {
1023
+ type: PropType<"">;
1024
+ default: "";
1025
+ };
1026
+ popupClassName: StringConstructor;
1027
+ dropdownClassName: StringConstructor;
1028
+ placement: {
1029
+ type: PropType<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
1030
+ default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
1031
+ };
1032
+ status: {
1033
+ type: PropType<"" | "error" | "warning">;
1034
+ default: "" | "error" | "warning";
1035
+ };
1036
+ 'onUpdate:value': {
1037
+ type: PropType<(val: SelectValue) => void>;
1038
+ default: (val: SelectValue) => void;
1039
+ };
1040
+ onBeforeSelect: {
1041
+ type: PropType<(nextVal: SelectValue) => boolean | Promise<boolean>>;
1042
+ default: (nextVal: SelectValue) => boolean | Promise<boolean>;
1043
+ };
1044
+ children: PropType< VueNode[]>;
1045
+ listHeight: NumberConstructor;
1046
+ onMouseenter: PropType<(e: MouseEvent) => void>;
1047
+ onMouseleave: PropType<(e: MouseEvent) => void>;
1048
+ tabindex: NumberConstructor;
1049
+ onClick: PropType<(e: MouseEvent) => void>;
1050
+ onFocus: {
1051
+ type: PropType<(e: FocusEvent) => void>;
1052
+ };
1053
+ onBlur: {
1054
+ type: PropType<(e: FocusEvent) => void>;
1055
+ };
1056
+ onChange: PropType<(value: SelectValue, option: DefaultOptionType | DefaultOptionType[]) => void>;
1057
+ onKeydown: PropType<(e: KeyboardEvent) => void>;
1058
+ onKeyup: PropType<(e: KeyboardEvent) => void>;
1059
+ onMousedown: PropType<(e: MouseEvent) => void>;
1060
+ onSelect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
1061
+ open: {
1062
+ type: BooleanConstructor;
1063
+ default: any;
1064
+ };
1065
+ animation: StringConstructor;
1066
+ direction: {
1067
+ type: PropType<"rtl" | "ltr">;
1068
+ };
1069
+ disabled: {
1070
+ type: BooleanConstructor;
1071
+ default: any;
1072
+ };
1073
+ prefixCls: StringConstructor;
1074
+ id: StringConstructor;
1075
+ autofocus: BooleanConstructor;
1076
+ getPopupContainer: {
1077
+ type: PropType<RenderDOMFunc>;
1078
+ };
1079
+ virtual: {
1080
+ type: BooleanConstructor;
1081
+ default: any;
1082
+ };
1083
+ dropdownMatchSelectWidth: {
1084
+ type: PropType<number | boolean>;
1085
+ default: any;
1086
+ };
1087
+ options: PropType< DefaultOptionType[]>;
1088
+ showAction: {
1089
+ type: PropType<("click" | "focus")[]>;
1090
+ };
1091
+ onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
1092
+ loading: {
1093
+ type: BooleanConstructor;
1094
+ default: any;
1095
+ };
1096
+ placeholder: VueTypeValidableDef<any>;
1097
+ clearIcon: VueTypeValidableDef<any>;
1098
+ allowClear: {
1099
+ type: BooleanConstructor;
1100
+ default: any;
1101
+ };
1102
+ onSearch: PropType<(value: string) => void>;
1103
+ fieldNames: PropType<FieldNames>;
1104
+ dropdownStyle: {
1105
+ type: PropType<CSSProperties>;
1106
+ };
1107
+ dropdownRender: {
1108
+ type: PropType<DropdownRender>;
1109
+ };
1110
+ dropdownAlign: PropType<AlignType>;
1111
+ showSearch: {
1112
+ type: BooleanConstructor;
1113
+ default: any;
1114
+ };
1115
+ searchValue: StringConstructor;
1116
+ onInputKeyDown: PropType<(e: KeyboardEvent) => void>;
1117
+ removeIcon: VueTypeValidableDef<any>;
1118
+ maxTagCount: {
1119
+ type: PropType<number | "responsive">;
1120
+ };
1121
+ maxTagTextLength: NumberConstructor;
1122
+ maxTagPlaceholder: VueTypeValidableDef<any>;
1123
+ tokenSeparators: {
1124
+ type: PropType<string[]>;
1125
+ };
1126
+ tagRender: {
1127
+ type: PropType<(props: CustomTagProps) => any>;
1128
+ };
1129
+ optionLabelRender: {
1130
+ type: PropType<(option: Record<string, any>) => any>;
1131
+ };
1132
+ onClear: PropType<() => void>;
1133
+ defaultOpen: {
1134
+ type: BooleanConstructor;
1135
+ default: any;
1136
+ };
1137
+ onDropdownVisibleChange: {
1138
+ type: PropType<(open: boolean) => void>;
1139
+ };
1140
+ showArrow: {
1141
+ type: BooleanConstructor;
1142
+ default: any;
1143
+ };
1144
+ onPopupScroll: PropType<(e: UIEvent) => void>;
1145
+ menuItemSelectedIcon: VueTypeValidableDef<any>;
1146
+ listItemHeight: NumberConstructor;
1147
+ inputValue: StringConstructor;
1148
+ autoClearSearchValue: {
1149
+ type: BooleanConstructor;
1150
+ default: any;
1151
+ };
1152
+ filterOption: {
1153
+ type: PropType<boolean | FilterFunc<DefaultOptionType>>;
1154
+ default: any;
1155
+ };
1156
+ filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType) => number>;
1157
+ optionFilterProp: StringConstructor;
1158
+ optionLabelProp: StringConstructor;
1159
+ defaultActiveFirstOption: {
1160
+ type: BooleanConstructor;
1161
+ default: any;
1162
+ };
1163
+ labelInValue: {
1164
+ type: BooleanConstructor;
1165
+ default: any;
1166
+ };
1167
+ }>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
1168
+ size: ButtonSize;
1169
+ value: SelectValue;
1170
+ mode: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
1171
+ open: boolean;
1172
+ disabled: boolean;
1173
+ autofocus: boolean;
1174
+ virtual: boolean;
1175
+ dropdownMatchSelectWidth: number | boolean;
1176
+ status: "" | "error" | "warning";
1177
+ defaultValue: SelectValue;
1178
+ 'onUpdate:value': (val: SelectValue) => void;
1179
+ placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
1180
+ loading: boolean;
1181
+ bordered: boolean;
1182
+ allowClear: boolean;
1183
+ showSearch: boolean;
1184
+ choiceTransitionName: "";
1185
+ defaultOpen: boolean;
1186
+ showArrow: boolean;
1187
+ autoClearSearchValue: boolean;
1188
+ filterOption: boolean | FilterFunc<DefaultOptionType>;
1189
+ defaultActiveFirstOption: boolean;
1190
+ labelInValue: boolean;
1191
+ onBeforeSelect: (nextVal: SelectValue) => boolean | Promise<boolean>;
1192
+ }> | null;
1193
+ }, HTMLDivElement, ComponentProvideOptions, {
762
1194
  P: {};
763
1195
  B: {};
764
1196
  D: {};
@@ -808,6 +1240,10 @@ declare const ApPopoverSelect: {
808
1240
  type: PropType<(val: SelectValue) => void>;
809
1241
  default: (val: SelectValue) => void;
810
1242
  };
1243
+ onBeforeSelect: {
1244
+ type: PropType<(nextVal: SelectValue) => boolean | Promise<boolean>>;
1245
+ default: (nextVal: SelectValue) => boolean | Promise<boolean>;
1246
+ };
811
1247
  children: PropType< VueNode[]>;
812
1248
  listHeight: NumberConstructor;
813
1249
  onMouseenter: PropType<(e: MouseEvent) => void>;
@@ -983,6 +1419,10 @@ declare const ApPopoverSelect: {
983
1419
  type: PropType<(val: SelectValue) => void>;
984
1420
  default: (val: SelectValue) => void;
985
1421
  };
1422
+ onBeforeSelect: {
1423
+ type: PropType<(nextVal: SelectValue) => boolean | Promise<boolean>>;
1424
+ default: (nextVal: SelectValue) => boolean | Promise<boolean>;
1425
+ };
986
1426
  children: PropType< VueNode[]>;
987
1427
  listHeight: NumberConstructor;
988
1428
  onMouseenter: PropType<(e: MouseEvent) => void>;