@visactor/vchart-types 2.1.0-alpha.7 → 2.1.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/types/event/event.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export declare class Event implements IEvent {
|
|
|
4
4
|
private _eventDispatcher;
|
|
5
5
|
private _mode;
|
|
6
6
|
private _composedEventMap;
|
|
7
|
+
private _eventHandlerMap;
|
|
7
8
|
getComposedEventMap(): Map<EventCallback<EventParams>, {
|
|
8
9
|
eventType: string;
|
|
9
10
|
event: IComposedEvent;
|
|
@@ -20,4 +21,7 @@ export declare class Event implements IEvent {
|
|
|
20
21
|
}): this;
|
|
21
22
|
allow<Evt extends EventType>(eType: Evt): this;
|
|
22
23
|
release(): void;
|
|
24
|
+
private _addEventHandler;
|
|
25
|
+
private _getEventHandler;
|
|
26
|
+
private _removeEventHandler;
|
|
23
27
|
}
|
|
@@ -2,6 +2,7 @@ import { OrdinalScale } from '@visactor/vscale';
|
|
|
2
2
|
import type { ColorSchemeItem, ProgressiveDataScheme } from '../theme/color-scheme/interface';
|
|
3
3
|
export declare class ColorOrdinalScale extends OrdinalScale {
|
|
4
4
|
protected _range: Array<ColorSchemeItem> | ProgressiveDataScheme<ColorSchemeItem>;
|
|
5
|
+
setSpecified(value?: Record<string, unknown>): this;
|
|
5
6
|
range(value?: Array<ColorSchemeItem> | ProgressiveDataScheme<ColorSchemeItem>): this | any;
|
|
6
7
|
domain(value?: any[]): this | any;
|
|
7
8
|
protected _resetRange(): void;
|