保誠-保戶業務員媒合平台
tomasysh
2025-01-02 4efb98f2b554b76270b12837db7a7f724e2ede89
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
import { ElementUIComponent, ElementUIComponentSize } from './component'
 
/** The resizability of el-input component */
export type Resizability = 'none' | 'both' | 'horizontal' | 'vertical'
export type InputType = 'text' | 'textarea'
 
/** Controls how el-input component automatically sets size */
export interface AutoSize {
  /** Minimum rows to show */
  minRows: number,
 
  /** Maximum rows to show */
  maxRows: number
}
 
/** Input Component */
export declare class ElInput extends ElementUIComponent {
  /** Type of input */
  type: InputType
 
  /** Binding value */
  value: string | number
 
  /** Maximum Input text length */
  maxlength: number
 
  /** Minimum Input text length */
  minlength: number
 
  /** Placeholder of Input */
  placeholder: string
 
  /** Whether Input is disabled */
  disabled: boolean
 
  /** Size of Input, works when type is not 'textarea' */
  size: ElementUIComponentSize
 
  /** Prefix icon class */
  prefixIcon: string
 
  /** Suffix icon class */
  suffixIcon: string
 
  /** Number of rows of textarea, only works when type is 'textarea' */
  rows: number
 
  /** Whether textarea has an adaptive height, only works when type is 'textarea' */
  autosize: boolean | AutoSize
 
  /** @Deprecated in next major version */
  autoComplete: string
 
  /** Same as autocomplete in native input */
  autocomplete: string
 
  /** Same as name in native input */
  name: string
 
  /** Same as readonly in native input */
  readonly: boolean
 
  /** Same as max in native input */
  max: any
 
  /** Same as min in native input */
  min: any
 
  /** Same as step in native input */
  step: any
 
  /** Control the resizability */
  resize: Resizability
 
  /** Same as autofocus in native input */
  autofocus: boolean
 
  /** Same as form in native input */
  form: string
 
  /** Whether to trigger form validatio */
  validateEvent: boolean
 
  /** Whether the input is clearable */
  clearable: boolean
 
  /** Whether to show password */
  showPassword: boolean
 
  /** Whether to show wordCount when setting maxLength */
  showWordLimit: boolean
 
  /**
   * Focus the Input component
   */
  focus (): void
 
  /**
   * Blur the Input component
   */
  blur (): void
 
  /**
   * Select the text in input element
   */
  select (): void
}