27 lines
498 B
TypeScript
27 lines
498 B
TypeScript
|
|
import type { Component } from 'vue'
|
||
|
|
|
||
|
|
export type SteadyTrendToolAction =
|
||
|
|
| 'x-zoom-in'
|
||
|
|
| 'x-zoom-out'
|
||
|
|
| 'y-zoom-in'
|
||
|
|
| 'y-zoom-out'
|
||
|
|
| 'box-zoom'
|
||
|
|
| 'wheel-zoom'
|
||
|
|
| 'reset'
|
||
|
|
| 'pan'
|
||
|
|
| 'fullscreen'
|
||
|
|
| 'download-image'
|
||
|
|
| 'query-data'
|
||
|
|
| 'missing-data'
|
||
|
|
|
||
|
|
export interface SteadyTrendToolItem {
|
||
|
|
action: SteadyTrendToolAction
|
||
|
|
label: string
|
||
|
|
icon: Component
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface SteadyTrendToolGroup {
|
||
|
|
key: string
|
||
|
|
items: SteadyTrendToolItem[]
|
||
|
|
}
|