radio-group.d.ts 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. import { SuperComponent, RelationsOptions } 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: RelationsOptions;
  10. properties: {
  11. disabled?: {
  12. type: BooleanConstructor;
  13. value?: boolean;
  14. };
  15. name?: {
  16. type: StringConstructor;
  17. value?: string;
  18. };
  19. options?: {
  20. type: ArrayConstructor;
  21. value?: import("../radio/type").RadioOption[];
  22. };
  23. value?: {
  24. type: StringConstructor;
  25. optionalTypes: (NumberConstructor | BooleanConstructor)[];
  26. value?: import("../radio/type").RadioValue;
  27. };
  28. defaultValue?: {
  29. type: StringConstructor;
  30. optionalTypes: (NumberConstructor | BooleanConstructor)[];
  31. value?: import("../radio/type").RadioValue;
  32. };
  33. };
  34. controlledProps: {
  35. key: string;
  36. event: string;
  37. }[];
  38. lifetimes: {
  39. attached(): void;
  40. };
  41. observers: {
  42. value(): void;
  43. };
  44. methods: {
  45. getChilds(): any;
  46. updateValue(value: any): void;
  47. handleRadioChange(e: any): void;
  48. initWithOptions(): void;
  49. };
  50. }