* @override
(value: number)
| 287 | * @override |
| 288 | */ |
| 289 | getValueState(value: number): VisualState { |
| 290 | const index = VisualMapping.findPieceIndex(value, this._pieceList); |
| 291 | |
| 292 | return index != null |
| 293 | ? (this.option.selected[this.getSelectedMapKey(this._pieceList[index])] |
| 294 | ? 'inRange' : 'outOfRange' |
| 295 | ) |
| 296 | : 'outOfRange'; |
| 297 | } |
| 298 | |
| 299 | /** |
| 300 | * @public |
no test coverage detected