@i2analyze/notebook-sdk 1.9.0-dev.11 → 1.9.0-dev.12
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/lib/gen/notebook-sdk-public.d.ts +18 -60
- package/package.json +1 -1
|
@@ -2092,6 +2092,11 @@ export declare namespace chart {
|
|
|
2092
2092
|
* @i2since 1.5
|
|
2093
2093
|
*/
|
|
2094
2094
|
readonly chartschemachange: ChartSchemaChangeListener;
|
|
2095
|
+
/**
|
|
2096
|
+
* Gets the type of the callback method that listens for "brushsetchange" events.
|
|
2097
|
+
* @i2since 1.9
|
|
2098
|
+
*/
|
|
2099
|
+
readonly brushsetchange: BrushSetChangeListener;
|
|
2095
2100
|
}
|
|
2096
2101
|
/**
|
|
2097
2102
|
* A mapping of chart event types to their listener options types.
|
|
@@ -2118,6 +2123,11 @@ export declare namespace chart {
|
|
|
2118
2123
|
* @i2since 1.5
|
|
2119
2124
|
*/
|
|
2120
2125
|
readonly chartschemachange: app.ISubscriptionOptions;
|
|
2126
|
+
/**
|
|
2127
|
+
* Gets the type of the object that provides control over "brushsetchange" event listeners.
|
|
2128
|
+
* @i2since 1.9
|
|
2129
|
+
*/
|
|
2130
|
+
readonly brushsetchange: app.ISubscriptionOptions;
|
|
2121
2131
|
}
|
|
2122
2132
|
/**
|
|
2123
2133
|
* A callback function that handles chart selection events.
|
|
@@ -2151,6 +2161,14 @@ export declare namespace chart {
|
|
|
2151
2161
|
* @i2since 1.0
|
|
2152
2162
|
*/
|
|
2153
2163
|
export type ViewListener = (view: IChartView & app.IChangeSource, applicationContents: app.IApplicationContents) => void;
|
|
2164
|
+
/**
|
|
2165
|
+
* A callback function that handles brush set change events.
|
|
2166
|
+
*
|
|
2167
|
+
* @param brushSet - The brush set that changed.
|
|
2168
|
+
* @param applicationContents - The contents of the application, including the current chart.
|
|
2169
|
+
* @i2since 1.9
|
|
2170
|
+
*/
|
|
2171
|
+
export type BrushSetChangeListener = (brushSet: visual.IBrushSet, applicationContents: app.IApplicationContents) => void;
|
|
2154
2172
|
/**
|
|
2155
2173
|
* Constraints that control a view-fitting operation.
|
|
2156
2174
|
*
|
|
@@ -6550,55 +6568,6 @@ export declare namespace visual {
|
|
|
6550
6568
|
*/
|
|
6551
6569
|
clear(): void;
|
|
6552
6570
|
}
|
|
6553
|
-
/**
|
|
6554
|
-
* An event that is fired when a brush set changes.
|
|
6555
|
-
* @i2since 1.9
|
|
6556
|
-
*/
|
|
6557
|
-
export interface IBrushSetChangeEvent {
|
|
6558
|
-
/**
|
|
6559
|
-
* Gets the brush set that changed.
|
|
6560
|
-
* @i2since 1.9
|
|
6561
|
-
*/
|
|
6562
|
-
readonly brushSet: IBrushSet;
|
|
6563
|
-
}
|
|
6564
|
-
/**
|
|
6565
|
-
* A listener for brush set change events.
|
|
6566
|
-
* @i2since 1.9
|
|
6567
|
-
*/
|
|
6568
|
-
export type BrushSetChangeListener = (event: IBrushSetChangeEvent) => void;
|
|
6569
|
-
/**
|
|
6570
|
-
* Options for adding a brush set change event listener.
|
|
6571
|
-
* @i2since 1.9
|
|
6572
|
-
*/
|
|
6573
|
-
export interface IBrushSetEventOptions {
|
|
6574
|
-
/**
|
|
6575
|
-
* Gets the brush set to listen to changes for. If not specified, listens to all brush sets.
|
|
6576
|
-
* @i2since 1.9
|
|
6577
|
-
*/
|
|
6578
|
-
readonly brushSet?: IBrushSet;
|
|
6579
|
-
}
|
|
6580
|
-
/**
|
|
6581
|
-
* A map of brush sets event types to their listener functions.
|
|
6582
|
-
* @i2since 1.9
|
|
6583
|
-
*/
|
|
6584
|
-
export interface BrushSetsEventMap {
|
|
6585
|
-
/**
|
|
6586
|
-
* Gets the listener function for brush set change events.
|
|
6587
|
-
* @i2since 1.9
|
|
6588
|
-
*/
|
|
6589
|
-
brushsetchange: BrushSetChangeListener;
|
|
6590
|
-
}
|
|
6591
|
-
/**
|
|
6592
|
-
* A map of brush sets event types to their options.
|
|
6593
|
-
* @i2since 1.9
|
|
6594
|
-
*/
|
|
6595
|
-
export interface BrushSetsEventOptionsMap {
|
|
6596
|
-
/**
|
|
6597
|
-
* Gets the options for the `brushsetchange` event.
|
|
6598
|
-
* @i2since 1.9
|
|
6599
|
-
*/
|
|
6600
|
-
brushsetchange: IBrushSetEventOptions;
|
|
6601
|
-
}
|
|
6602
6571
|
/**
|
|
6603
6572
|
* A manager for brush sets that controls their lifecycle and provides color resolution.
|
|
6604
6573
|
* @i2since 1.9
|
|
@@ -6679,17 +6648,6 @@ export declare namespace visual {
|
|
|
6679
6648
|
* @i2since 1.9
|
|
6680
6649
|
*/
|
|
6681
6650
|
getColorForElement(elementId: ElementId): string | null;
|
|
6682
|
-
/**
|
|
6683
|
-
* Adds an event listener for brush set events.
|
|
6684
|
-
*
|
|
6685
|
-
* @typeParam K - The type of event to listen for.
|
|
6686
|
-
* @param type - The type of event to listen for.
|
|
6687
|
-
* @param listener - The function to call when the event is fired.
|
|
6688
|
-
* @param options - An optional configuration for the event listener.
|
|
6689
|
-
* @returns A function that removes the event listener when called.
|
|
6690
|
-
* @i2since 1.9
|
|
6691
|
-
*/
|
|
6692
|
-
addEventListener<K extends keyof BrushSetsEventMap>(type: K, listener: BrushSetsEventMap[K], options?: BrushSetsEventOptionsMap[K]): () => void;
|
|
6693
6651
|
}
|
|
6694
6652
|
}
|
|
6695
6653
|
|