99fe19a1480ffae7ac4cd896314f193c00d99e511e7f5be52f890f502ba46d507ce6398f085d403eb869d65a2ccb179e983b765de047afcd4ba55d4f876ab3 673 B

1234567891011121314151617181920212223242526
  1. type OptionCommon = Record<string, any>;
  2. export type Option = OptionCommon & {
  3. created?: boolean;
  4. };
  5. export type OptionGroup = OptionCommon;
  6. export type OptionType = Option | OptionGroup;
  7. export type OptionItemProps = {
  8. item: any;
  9. index: number;
  10. disabled: boolean;
  11. };
  12. export type SelectStates = {
  13. inputValue: string;
  14. cachedOptions: Option[];
  15. createdOptions: Option[];
  16. hoveringIndex: number;
  17. inputHovering: boolean;
  18. selectionWidth: number;
  19. collapseItemWidth: number;
  20. previousQuery: string | null;
  21. previousValue: unknown;
  22. selectedLabel: string;
  23. menuVisibleOnFocus: boolean;
  24. isBeforeHide: boolean;
  25. };
  26. export {};