保誠-保戶業務員媒合平台
jack
2025-01-06 e0c6891acc471f9adf2e29b2a5bed3f8337a92b2
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
import { ElementUIComponent } from './component'
 
export type ProgressType = 'line' | 'circle'
export type ProgressStatus = 'success' | 'exception'
 
/** Progress Component */
export declare class ElProgress extends ElementUIComponent {
  /** Percentage, required */
  percentage: number
 
  /** The type of progress bar */
  type: ProgressType
 
  /** The width of progress bar */
  strokeWidth: number
 
  /** Circle progress bar stroke line cap */
  strokeLinecap: string
 
  /** Whether to place the percentage inside progress bar, only works when type is 'line' */
  textInside: boolean
 
  /** The current status of progress bar */
  status: ProgressStatus
 
  /** Background color of progress bar. Overrides `status` prop */
  color: string | Function | Array<string | { color: string, percentage: number }>
 
  /** The canvas width of circle progress bar */
  width: number
 
  /** Whether to show percentage */
  showText: boolean
 
  /** Template function of the content    */
  format(percentage: number): string
}