props.ts 784 B

1234567891011121314151617181920212223242526272829
  1. import type { ClCalendarDateConfig, ClCalendarMode } from "../../types";
  2. import type { ClSelectTriggerPassThrough } from "../cl-select-trigger/props";
  3. import type { ClPopupPassThrough } from "../cl-popup/props";
  4. export type ClCalendarSelectPassThrough = {
  5. trigger?: ClSelectTriggerPassThrough;
  6. popup?: ClPopupPassThrough;
  7. };
  8. export type ClCalendarSelectProps = {
  9. className?: string;
  10. pt?: ClCalendarSelectPassThrough;
  11. modelValue?: string | any;
  12. date?: string[];
  13. mode?: ClCalendarMode;
  14. dateConfig?: ClCalendarDateConfig[];
  15. start: string;
  16. end: string;
  17. title?: string;
  18. placeholder?: string;
  19. showTrigger?: boolean;
  20. disabled?: boolean;
  21. splitor?: string;
  22. rangeSplitor?: string;
  23. confirmText?: string;
  24. showConfirm?: boolean;
  25. cancelText?: string;
  26. showCancel?: boolean;
  27. };