TimeBody.d.ts 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. import type { GenerateConfig } from '../../generate';
  2. import type { Locale, OnSelect } from '../../interface';
  3. import type { SharedTimeProps } from '.';
  4. import type { Ref } from 'vue';
  5. export declare type BodyOperationRef = {
  6. onUpDown: (diff: number) => void;
  7. };
  8. export declare type TimeBodyProps<DateType> = {
  9. prefixCls: string;
  10. locale: Locale;
  11. generateConfig: GenerateConfig<DateType>;
  12. value?: DateType | null;
  13. onSelect: OnSelect<DateType>;
  14. activeColumnIndex: number;
  15. operationRef: Ref<BodyOperationRef | undefined>;
  16. } & SharedTimeProps<DateType>;
  17. declare const TimeBody: import("vue").DefineComponent<Readonly<{
  18. onSelect?: any;
  19. prefixCls?: any;
  20. generateConfig?: any;
  21. operationRef?: any;
  22. value?: any;
  23. hideDisabledOptions?: any;
  24. activeColumnIndex?: any;
  25. showHour?: any;
  26. showMinute?: any;
  27. showSecond?: any;
  28. use12Hours?: any;
  29. hourStep?: any;
  30. minuteStep?: any;
  31. secondStep?: any;
  32. disabledHours?: any;
  33. disabledMinutes?: any;
  34. disabledSeconds?: any;
  35. disabledTime?: any;
  36. }>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
  37. onSelect?: any;
  38. prefixCls?: any;
  39. generateConfig?: any;
  40. operationRef?: any;
  41. value?: any;
  42. hideDisabledOptions?: any;
  43. activeColumnIndex?: any;
  44. showHour?: any;
  45. showMinute?: any;
  46. showSecond?: any;
  47. use12Hours?: any;
  48. hourStep?: any;
  49. minuteStep?: any;
  50. secondStep?: any;
  51. disabledHours?: any;
  52. disabledMinutes?: any;
  53. disabledSeconds?: any;
  54. disabledTime?: any;
  55. }>>>, {
  56. readonly onSelect?: any;
  57. readonly prefixCls?: any;
  58. readonly generateConfig?: any;
  59. readonly operationRef?: any;
  60. readonly value?: any;
  61. readonly hideDisabledOptions?: any;
  62. readonly activeColumnIndex?: any;
  63. readonly showHour?: any;
  64. readonly showMinute?: any;
  65. readonly showSecond?: any;
  66. readonly use12Hours?: any;
  67. readonly hourStep?: any;
  68. readonly minuteStep?: any;
  69. readonly secondStep?: any;
  70. readonly disabledHours?: any;
  71. readonly disabledMinutes?: any;
  72. readonly disabledSeconds?: any;
  73. readonly disabledTime?: any;
  74. }>;
  75. export default TimeBody;