radio.d.ts 1.8 KB

1234567891011121314151617181920212223242526272829303132
  1. import type { ExtractPropTypes } from 'vue';
  2. import type Radio from './radio.vue';
  3. export declare const radioPropsBase: {
  4. size: {
  5. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
  6. readonly required: false;
  7. readonly validator: ((val: unknown) => boolean) | undefined;
  8. __epPropKey: true;
  9. };
  10. disabled: BooleanConstructor;
  11. label: import("element-plus/es/utils").EpPropFinalized<(BooleanConstructor | StringConstructor | NumberConstructor)[], unknown, unknown, string, boolean>;
  12. };
  13. export declare const radioProps: {
  14. readonly modelValue: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
  15. readonly name: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
  16. readonly border: BooleanConstructor;
  17. readonly size: {
  18. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
  19. readonly required: false;
  20. readonly validator: ((val: unknown) => boolean) | undefined;
  21. __epPropKey: true;
  22. };
  23. readonly disabled: BooleanConstructor;
  24. readonly label: import("element-plus/es/utils").EpPropFinalized<(BooleanConstructor | StringConstructor | NumberConstructor)[], unknown, unknown, string, boolean>;
  25. };
  26. export declare const radioEmits: {
  27. "update:modelValue": (val: string | number | boolean) => boolean;
  28. change: (val: string | number | boolean) => boolean;
  29. };
  30. export declare type RadioProps = ExtractPropTypes<typeof radioProps>;
  31. export declare type RadioEmits = typeof radioEmits;
  32. export declare type RadioInstance = InstanceType<typeof Radio>;