-
Notifications
You must be signed in to change notification settings - Fork 380
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(react-chart): update ZoomAndPan plugin ts declaration (#2109)
- Loading branch information
1 parent
be38da1
commit 6a81792
Showing
20 changed files
with
77 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...-core/src/types/plugins.zoom-pan.types.ts → ...e/src/types/plugins.zoom-and-pan.types.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
/** @internal */ | ||
export type DomainBounds = Readonly<[any, any]>; | ||
|
||
export type ViewportOptions = { | ||
export type Viewport = { | ||
readonly argumentStart?: any; | ||
readonly argumentEnd?: any; | ||
readonly scaleName?: string; | ||
readonly valueStart?: any; | ||
readonly valueEnd?: any; | ||
}; | ||
|
||
export type OnViewportChangeFn = (viewport: ViewportOptions) => void; | ||
export type OnViewportChangeFn = (viewport: Viewport) => void; | ||
|
||
export type Interaction = 'none' | 'pan' | 'zoom' | 'both'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...chart-bootstrap4/src/plugins/zoom-pan.jsx → ...t-bootstrap4/src/plugins/zoom-and-pan.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { ZoomAndPan as ZoomAndPanBase } from '@devexpress/dx-react-chart'; | ||
import { withComponents } from '@devexpress/dx-react-core'; | ||
import { DragBox } from '../templates/zoom-pan/drag-box'; | ||
import { DragBox } from '../templates/zoom-and-pan/drag-box'; | ||
|
||
export const ZoomAndPan = withComponents({ DragBox })(ZoomAndPanBase); |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...hart-material-ui/src/plugins/zoom-pan.jsx → ...-material-ui/src/plugins/zoom-and-pan.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { ZoomAndPan as ZoomAndPanBase } from '@devexpress/dx-react-chart'; | ||
import { withComponents } from '@devexpress/dx-react-core'; | ||
import { DragBox } from '../templates/zoom-pan/drag-box'; | ||
import { DragBox } from '../templates/zoom-and-pan/drag-box'; | ||
|
||
export const ZoomAndPan = withComponents({ DragBox })(ZoomAndPanBase); |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters