合伙人运营小程序
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

checkbox.d.ts 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. import { SuperComponent, ComponentsOptionsType, RelationsOptions } from '../common/src/index';
  2. export default class CheckBox extends SuperComponent {
  3. externalClasses: string[];
  4. behaviors: string[];
  5. relations: RelationsOptions;
  6. options: ComponentsOptionsType;
  7. properties: {
  8. theme: {
  9. type: StringConstructor;
  10. value: string;
  11. };
  12. block?: {
  13. type: BooleanConstructor;
  14. value?: boolean;
  15. };
  16. borderless?: {
  17. type: BooleanConstructor;
  18. value?: boolean;
  19. };
  20. checkAll?: {
  21. type: BooleanConstructor;
  22. value?: boolean;
  23. };
  24. checked?: {
  25. type: BooleanConstructor;
  26. value?: boolean;
  27. };
  28. defaultChecked?: {
  29. type: BooleanConstructor;
  30. value?: boolean;
  31. };
  32. content?: {
  33. type: StringConstructor;
  34. value?: string;
  35. };
  36. contentDisabled?: {
  37. type: BooleanConstructor;
  38. value?: boolean;
  39. };
  40. disabled?: {
  41. type: BooleanConstructor;
  42. value?: boolean;
  43. };
  44. externalClasses?: {
  45. type: ArrayConstructor;
  46. value?: ["t-class", "t-class-icon", "t-class-label", "t-class-content", "t-class-border"];
  47. };
  48. icon?: {
  49. type: null;
  50. value?: string[] | "rectangle" | "circle" | "line";
  51. };
  52. indeterminate?: {
  53. type: BooleanConstructor;
  54. value?: boolean;
  55. };
  56. label?: {
  57. type: StringConstructor;
  58. value?: string;
  59. };
  60. maxContentRow?: {
  61. type: NumberConstructor;
  62. value?: number;
  63. };
  64. maxLabelRow?: {
  65. type: NumberConstructor;
  66. value?: number;
  67. };
  68. name?: {
  69. type: StringConstructor;
  70. value?: string;
  71. };
  72. placement?: {
  73. type: StringConstructor;
  74. value?: "left" | "right";
  75. };
  76. readonly?: {
  77. type: BooleanConstructor;
  78. value?: boolean;
  79. };
  80. value?: {
  81. type: null;
  82. value?: string | number | boolean;
  83. };
  84. };
  85. data: {
  86. prefix: string;
  87. classPrefix: string;
  88. _disabled: boolean;
  89. };
  90. observers: {
  91. disabled(v: any): void;
  92. };
  93. controlledProps: {
  94. key: string;
  95. event: string;
  96. }[];
  97. methods: {
  98. handleTap(e: WechatMiniprogram.TouchEvent): void;
  99. setDisabled(disabled: Boolean): void;
  100. };
  101. }