props.ts 649 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 ClSelectPassThrough = {
  5. trigger?: ClSelectTriggerPassThrough;
  6. popup?: ClPopupPassThrough;
  7. };
  8. export type ClSelectProps = {
  9. className?: string;
  10. pt?: ClSelectPassThrough;
  11. modelValue?: Value;
  12. title?: string;
  13. placeholder?: string;
  14. options?: ClSelectOption[];
  15. showTrigger?: boolean;
  16. disabled?: boolean;
  17. columnCount?: number;
  18. splitor?: string;
  19. confirmText?: string;
  20. showConfirm?: boolean;
  21. cancelText?: string;
  22. showCancel?: boolean;
  23. };