index.d.ts 1.7 KB

1234567891011121314151617181920212223242526272829303132333435
  1. export declare const Radio: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
  2. name: import("vue").PropType<unknown>;
  3. disabled: BooleanConstructor;
  4. iconSize: (NumberConstructor | StringConstructor)[];
  5. modelValue: import("vue").PropType<unknown>;
  6. checkedColor: StringConstructor;
  7. labelPosition: import("vue").PropType<import("../checkbox/Checker").CheckerLabelPosition>;
  8. labelDisabled: BooleanConstructor;
  9. } & {
  10. shape: import("vue").PropType<import("./Radio").RadioShape>;
  11. }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
  12. name: import("vue").PropType<unknown>;
  13. disabled: BooleanConstructor;
  14. iconSize: (NumberConstructor | StringConstructor)[];
  15. modelValue: import("vue").PropType<unknown>;
  16. checkedColor: StringConstructor;
  17. labelPosition: import("vue").PropType<import("../checkbox/Checker").CheckerLabelPosition>;
  18. labelDisabled: BooleanConstructor;
  19. } & {
  20. shape: import("vue").PropType<import("./Radio").RadioShape>;
  21. }>> & Readonly<{
  22. "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
  23. }>, {
  24. disabled: boolean;
  25. labelDisabled: boolean;
  26. }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
  27. export default Radio;
  28. export { radioProps } from './Radio';
  29. export type { RadioProps, RadioShape, RadioLabelPosition } from './Radio';
  30. export type { RadioThemeVars } from './types';
  31. declare module 'vue' {
  32. interface GlobalComponents {
  33. VanRadio: typeof Radio;
  34. }
  35. }