radio-group.d.ts 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. import { SuperComponent } from '../common/src/index';
  2. export default class RadioGroup extends SuperComponent {
  3. externalClasses: string[];
  4. data: {
  5. prefix: string;
  6. classPrefix: string;
  7. radioOptions: any[];
  8. };
  9. relations: {
  10. '../radio/radio': {
  11. type: "descendant";
  12. linked(target: any): void;
  13. };
  14. };
  15. properties: {
  16. disabled?: {
  17. type: BooleanConstructor;
  18. value?: boolean;
  19. };
  20. name?: {
  21. type: StringConstructor;
  22. value?: string;
  23. };
  24. options?: {
  25. type: ArrayConstructor;
  26. value?: import("../radio/type").RadioOption[];
  27. };
  28. value?: {
  29. type: StringConstructor;
  30. optionalTypes: (NumberConstructor | BooleanConstructor)[];
  31. value?: import("../radio/type").RadioValue;
  32. };
  33. defaultValue?: {
  34. type: StringConstructor;
  35. optionalTypes: (NumberConstructor | BooleanConstructor)[];
  36. value?: import("../radio/type").RadioValue;
  37. };
  38. };
  39. controlledProps: {
  40. key: string;
  41. event: string;
  42. }[];
  43. lifetimes: {
  44. attached(): void;
  45. };
  46. observers: {
  47. value(): void;
  48. };
  49. methods: {
  50. getChilds(): any;
  51. updateValue(value: any): void;
  52. handleRadioChange(e: any): void;
  53. initWithOptions(): void;
  54. };
  55. }