Radio.d.ts 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. import { type ExtractPropTypes } from 'vue';
  2. import { CheckerShape, CheckerLabelPosition } from '../checkbox/Checker';
  3. export declare const radioProps: {
  4. name: import("vue").PropType<unknown>;
  5. shape: {
  6. type: import("vue").PropType<CheckerShape>;
  7. default: CheckerShape;
  8. };
  9. disabled: BooleanConstructor;
  10. iconSize: (NumberConstructor | StringConstructor)[];
  11. modelValue: import("vue").PropType<unknown>;
  12. checkedColor: StringConstructor;
  13. labelPosition: import("vue").PropType<CheckerLabelPosition>;
  14. labelDisabled: BooleanConstructor;
  15. };
  16. export type RadioShape = CheckerShape;
  17. export type RadioLabelPosition = CheckerLabelPosition;
  18. export type RadioProps = ExtractPropTypes<typeof radioProps>;
  19. declare const _default: import("vue").DefineComponent<{
  20. name: import("vue").PropType<unknown>;
  21. shape: {
  22. type: import("vue").PropType<CheckerShape>;
  23. default: CheckerShape;
  24. };
  25. disabled: BooleanConstructor;
  26. iconSize: (NumberConstructor | StringConstructor)[];
  27. modelValue: import("vue").PropType<unknown>;
  28. checkedColor: StringConstructor;
  29. labelPosition: import("vue").PropType<CheckerLabelPosition>;
  30. labelDisabled: BooleanConstructor;
  31. }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
  32. name: import("vue").PropType<unknown>;
  33. shape: {
  34. type: import("vue").PropType<CheckerShape>;
  35. default: CheckerShape;
  36. };
  37. disabled: BooleanConstructor;
  38. iconSize: (NumberConstructor | StringConstructor)[];
  39. modelValue: import("vue").PropType<unknown>;
  40. checkedColor: StringConstructor;
  41. labelPosition: import("vue").PropType<CheckerLabelPosition>;
  42. labelDisabled: BooleanConstructor;
  43. }>> & {
  44. "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
  45. }, {
  46. disabled: boolean;
  47. shape: CheckerShape;
  48. labelDisabled: boolean;
  49. }>;
  50. export default _default;