props.ts 545 B

12345678910111213141516171819202122
  1. import type { PassThroughProps } from "../../types";
  2. import type { ClPopupProps } from "../cl-popup/props";
  3. export type ClKeyboardNumberPassThrough = {
  4. className?: string;
  5. item?: PassThroughProps;
  6. value?: PassThroughProps;
  7. popup?: ClPopupProps;
  8. };
  9. export type ClKeyboardNumberProps = {
  10. className?: string;
  11. pt?: ClKeyboardNumberPassThrough;
  12. modelValue?: string;
  13. type?: "number" | "digit" | "idcard";
  14. title?: string;
  15. placeholder?: string;
  16. maxlength?: number;
  17. confirmText?: string;
  18. showValue?: boolean;
  19. inputImmediate?: boolean;
  20. };