props.ts 679 B

12345678910111213141516171819202122232425
  1. import type { ClSelectOption } from "../../types";
  2. import type { ClSelectTriggerPassThrough } from "../cl-select-trigger/props";
  3. import type { ClPopupPassThrough } from "../cl-popup/props";
  4. export type ClSelectTimePassThrough = {
  5. trigger?: ClSelectTriggerPassThrough;
  6. popup?: ClPopupPassThrough;
  7. };
  8. export type ClSelectTimeProps = {
  9. className?: string;
  10. pt?: ClSelectTimePassThrough;
  11. modelValue?: string;
  12. headers?: string[];
  13. type?: "hour" | "minute" | "second";
  14. title?: string;
  15. placeholder?: string;
  16. showTrigger?: boolean;
  17. disabled?: boolean;
  18. confirmText?: string;
  19. showConfirm?: boolean;
  20. cancelText?: string;
  21. showCancel?: boolean;
  22. labelFormat?: string | any;
  23. };