checkbox-group.d.ts 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. import { SuperComponent, RelationsOptions } from '../common/src/index';
  2. export default class CheckBoxGroup extends SuperComponent {
  3. externalClasses: string[];
  4. relations: RelationsOptions;
  5. data: {
  6. prefix: string;
  7. classPrefix: string;
  8. checkboxOptions: any[];
  9. };
  10. properties: {
  11. customStyle: StringConstructor;
  12. disabled?: {
  13. type: BooleanConstructor;
  14. value?: boolean;
  15. };
  16. max?: {
  17. type: NumberConstructor;
  18. value?: number;
  19. };
  20. name?: {
  21. type: StringConstructor;
  22. value?: string;
  23. };
  24. options?: {
  25. type: ArrayConstructor;
  26. value?: import("../checkbox/type").CheckboxOption[];
  27. };
  28. value?: {
  29. type: ArrayConstructor;
  30. value?: import("../checkbox/type").CheckboxGroupValue;
  31. };
  32. defaultValue?: {
  33. type: ArrayConstructor;
  34. value?: import("../checkbox/type").CheckboxGroupValue;
  35. };
  36. };
  37. observers: {
  38. value(): void;
  39. };
  40. lifetimes: {
  41. attached(): void;
  42. ready(): void;
  43. };
  44. controlledProps: {
  45. key: string;
  46. event: string;
  47. }[];
  48. $checkAll: any;
  49. methods: {
  50. getChilds(): any;
  51. updateChildren(): void;
  52. updateValue({ value, checked, checkAll, indeterminate }: {
  53. value: any;
  54. checked: any;
  55. checkAll: any;
  56. indeterminate: any;
  57. }): void;
  58. initWithOptions(): void;
  59. handleInnerChildChange(e: any): void;
  60. setCheckall(): void;
  61. };
  62. }