checkbox-group.d.ts 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. borderless: {
  12. type: BooleanConstructor;
  13. value: boolean;
  14. };
  15. style?: {
  16. type: StringConstructor;
  17. value?: string;
  18. };
  19. disabled?: {
  20. type: BooleanConstructor;
  21. value?: boolean;
  22. };
  23. max?: {
  24. type: NumberConstructor;
  25. value?: number;
  26. };
  27. name?: {
  28. type: StringConstructor;
  29. value?: string;
  30. };
  31. options?: {
  32. type: ArrayConstructor;
  33. value?: import("./type").CheckboxOption[];
  34. };
  35. value?: {
  36. type: ArrayConstructor;
  37. value?: import("./type").CheckboxGroupValue;
  38. };
  39. defaultValue?: {
  40. type: ArrayConstructor;
  41. value?: import("./type").CheckboxGroupValue;
  42. };
  43. };
  44. observers: {
  45. value(): void;
  46. };
  47. lifetimes: {
  48. attached(): void;
  49. ready(): void;
  50. };
  51. controlledProps: {
  52. key: string;
  53. event: string;
  54. }[];
  55. $checkAll: any;
  56. methods: {
  57. getChilds(): any;
  58. updateChildren(): void;
  59. updateValue({ value, checked, checkAll, indeterminate }: {
  60. value: any;
  61. checked: any;
  62. checkAll: any;
  63. indeterminate: any;
  64. }): void;
  65. initWithOptions(): void;
  66. handleInnerChildChange(e: any): void;
  67. setCheckall(): void;
  68. };
  69. }