合伙人运营小程序
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

stepper.d.ts 2.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. import { SuperComponent } from '../common/src/index';
  2. export default class Stepper extends SuperComponent {
  3. externalClasses: string[];
  4. properties: {
  5. style?: {
  6. type: StringConstructor;
  7. value?: string;
  8. };
  9. disableInput?: {
  10. type: BooleanConstructor;
  11. value?: boolean;
  12. };
  13. disabled?: {
  14. type: BooleanConstructor;
  15. value?: boolean;
  16. };
  17. externalClasses?: {
  18. type: ArrayConstructor;
  19. value?: ["t-class", "t-class-input", "t-class-add", "t-class-minus"];
  20. };
  21. inputWidth?: {
  22. type: NumberConstructor;
  23. value?: number;
  24. };
  25. max?: {
  26. type: NumberConstructor;
  27. value?: number;
  28. };
  29. min?: {
  30. type: NumberConstructor;
  31. value?: number;
  32. };
  33. step?: {
  34. type: NumberConstructor;
  35. value?: number;
  36. };
  37. size?: {
  38. type: StringConstructor;
  39. value?: string;
  40. };
  41. theme?: {
  42. type: StringConstructor;
  43. value?: "outline" | "normal" | "filled";
  44. };
  45. value?: {
  46. type: StringConstructor;
  47. optionalTypes: NumberConstructor[];
  48. value?: string | number;
  49. };
  50. defaultValue?: {
  51. type: StringConstructor;
  52. optionalTypes: NumberConstructor[];
  53. value?: string | number;
  54. };
  55. };
  56. controlledProps: {
  57. key: string;
  58. event: string;
  59. }[];
  60. observers: {
  61. value(v: any): void;
  62. };
  63. data: {
  64. currentValue: number;
  65. classPrefix: string;
  66. prefix: string;
  67. };
  68. lifetimes: {
  69. attached(): void;
  70. };
  71. isDisabled(type: any): boolean;
  72. getLen(num: number): number;
  73. add(a: number, b: number): number;
  74. format(value: any): string;
  75. setValue(value: any): void;
  76. minusValue(): boolean;
  77. plusValue(): boolean;
  78. methods: {
  79. handleFocus(e: any): void;
  80. handleInput(e: any): void;
  81. handleBlur(e: any): void;
  82. };
  83. }