props.ts 604 B

1234567891011121314151617181920212223
  1. import type { ClSelectTriggerPassThrough } from "../cl-select-trigger/props";
  2. import type { ClPopupPassThrough } from "../cl-popup/props";
  3. import type { ClListViewItem } from "../../types";
  4. export type ClCascaderPassThrough = {
  5. trigger?: ClSelectTriggerPassThrough;
  6. popup?: ClPopupPassThrough;
  7. };
  8. export type ClCascaderProps = {
  9. className?: string;
  10. pt?: ClCascaderPassThrough;
  11. modelValue?: string[];
  12. title?: string;
  13. placeholder?: string;
  14. options?: ClListViewItem[];
  15. showTrigger?: boolean;
  16. disabled?: boolean;
  17. labelKey?: string;
  18. valueKey?: string;
  19. textSeparator?: string;
  20. height?: any;
  21. };