You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
2.7 KiB

6 months ago
  1. declare const _default: import("vue").DefineComponent<{
  2. readonly data: ArrayConstructor;
  3. readonly disabled: BooleanConstructor;
  4. readonly hovering: BooleanConstructor;
  5. readonly item: {
  6. readonly type: import("vue").PropType<import("./select.types").Option>;
  7. readonly required: true;
  8. readonly validator: ((val: unknown) => boolean) | undefined;
  9. __epPropKey: true;
  10. };
  11. readonly index: NumberConstructor;
  12. readonly style: ObjectConstructor;
  13. readonly selected: BooleanConstructor;
  14. readonly created: BooleanConstructor;
  15. }, {
  16. ns: {
  17. namespace: import("vue").ComputedRef<string>;
  18. b: (blockSuffix?: string) => string;
  19. e: (element?: string) => string;
  20. m: (modifier?: string) => string;
  21. be: (blockSuffix?: string, element?: string) => string;
  22. em: (element?: string, modifier?: string) => string;
  23. bm: (blockSuffix?: string, modifier?: string) => string;
  24. bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
  25. is: {
  26. (name: string, state: boolean | undefined): string;
  27. (name: string): string;
  28. };
  29. cssVar: (object: Record<string, string>) => Record<string, string>;
  30. cssVarName: (name: string) => string;
  31. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  32. cssVarBlockName: (name: string) => string;
  33. };
  34. hoverItem: () => void;
  35. selectOptionClick: () => void;
  36. getLabel: (option: import("./select.types").Option) => any;
  37. }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
  38. hover: (index?: number) => index is number;
  39. select: (val: import("./select.types").Option, index?: number) => boolean;
  40. }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
  41. readonly data: ArrayConstructor;
  42. readonly disabled: BooleanConstructor;
  43. readonly hovering: BooleanConstructor;
  44. readonly item: {
  45. readonly type: import("vue").PropType<import("./select.types").Option>;
  46. readonly required: true;
  47. readonly validator: ((val: unknown) => boolean) | undefined;
  48. __epPropKey: true;
  49. };
  50. readonly index: NumberConstructor;
  51. readonly style: ObjectConstructor;
  52. readonly selected: BooleanConstructor;
  53. readonly created: BooleanConstructor;
  54. }>> & {
  55. onSelect?: ((val: import("./select.types").Option, index?: number | undefined) => any) | undefined;
  56. onHover?: ((index?: number | undefined) => any) | undefined;
  57. }, {
  58. readonly disabled: boolean;
  59. readonly created: boolean;
  60. readonly selected: boolean;
  61. readonly hovering: boolean;
  62. }>;
  63. export default _default;