@i2analyze/notebook-sdk 1.3.0-dev.2 → 1.3.0-dev.4
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 +20 -17
- package/package.json +1 -1
|
@@ -2978,20 +2978,19 @@ export declare interface IEntryPointApi extends app.IApplication {
|
|
|
2978
2978
|
*/
|
|
2979
2979
|
readonly formatter: data.IFormatter;
|
|
2980
2980
|
/**
|
|
2981
|
-
* Creates and returns a tool view
|
|
2981
|
+
* Creates and returns a tool view with the specified name and content.
|
|
2982
2982
|
*
|
|
2983
2983
|
* @param name - The name of the tool view, which appears as a heading in the user interface.
|
|
2984
|
-
* @param path - The path to the
|
|
2985
|
-
* For example, setting `path` to '`./`' makes the server
|
|
2986
|
-
* that contains the entry point.
|
|
2984
|
+
* @param path - The path to the content to host in the tool view, relative to the plug-in entry point.
|
|
2985
|
+
* For example, setting `path` to '`./`' makes the server use the folder that contains the entry point.
|
|
2987
2986
|
* @returns The new tool view.
|
|
2988
2987
|
* @i2since 1.0
|
|
2989
2988
|
*/
|
|
2990
2989
|
createToolView(name: string, path: string): toolview.IToolView;
|
|
2991
2990
|
/**
|
|
2992
|
-
* Creates and returns a tool view
|
|
2991
|
+
* Creates and returns a tool view with the specified configuration.
|
|
2993
2992
|
*
|
|
2994
|
-
* @param config - The information
|
|
2993
|
+
* @param config - The information for creating the tool view, including its default size and position.
|
|
2995
2994
|
* @returns The new tool view.
|
|
2996
2995
|
* @i2since 1.3
|
|
2997
2996
|
*/
|
|
@@ -4095,17 +4094,17 @@ export declare namespace toolview {
|
|
|
4095
4094
|
*/
|
|
4096
4095
|
export type ToolViewStateListener = (state: 'open' | 'closed') => void;
|
|
4097
4096
|
/**
|
|
4098
|
-
* The position of the tool view.
|
|
4097
|
+
* The position of the tool view, relative to an edge of the chart.
|
|
4099
4098
|
* @i2since 1.3
|
|
4100
4099
|
*/
|
|
4101
|
-
export type
|
|
4100
|
+
export type ToolViewPosition = 'leading' | 'trailing' | 'top' | 'bottom';
|
|
4102
4101
|
/**
|
|
4103
4102
|
* The size of the tool view.
|
|
4104
4103
|
* @i2since 1.3
|
|
4105
4104
|
*/
|
|
4106
|
-
export type
|
|
4105
|
+
export type ToolViewSize = 'small' | 'medium' | 'large';
|
|
4107
4106
|
/**
|
|
4108
|
-
* A set of information
|
|
4107
|
+
* A set of information for creating a tool view.
|
|
4109
4108
|
* @i2since 1.3
|
|
4110
4109
|
*/
|
|
4111
4110
|
export interface IToolViewConfig {
|
|
@@ -4113,26 +4112,30 @@ export declare namespace toolview {
|
|
|
4113
4112
|
* Gets the name of the tool view, which appears as a heading in the user interface.
|
|
4114
4113
|
* @i2since 1.3
|
|
4115
4114
|
*/
|
|
4116
|
-
name: string;
|
|
4115
|
+
readonly name: string;
|
|
4117
4116
|
/**
|
|
4118
|
-
* Gets the path to the
|
|
4117
|
+
* Gets the path to the content to host in the tool view, relative to the plug-in entry point.
|
|
4119
4118
|
*
|
|
4120
|
-
* @remarks
|
|
4121
|
-
* that contains the entry point.
|
|
4119
|
+
* @remarks
|
|
4120
|
+
* For example, if `path` is '`./`', then the server uses the folder that contains the entry point.
|
|
4122
4121
|
*
|
|
4123
4122
|
* @i2since 1.3
|
|
4124
4123
|
*/
|
|
4125
|
-
path: string;
|
|
4124
|
+
readonly path: string;
|
|
4126
4125
|
/**
|
|
4127
4126
|
* Gets the size of the tool view.
|
|
4128
4127
|
* @i2since 1.3
|
|
4129
4128
|
*/
|
|
4130
|
-
size?:
|
|
4129
|
+
readonly size?: ToolViewSize;
|
|
4131
4130
|
/**
|
|
4132
4131
|
* Gets the position of the tool view.
|
|
4132
|
+
*
|
|
4133
|
+
* @remarks
|
|
4134
|
+
* The tool view is created next to the specified edge of the chart in the browser window.
|
|
4135
|
+
*
|
|
4133
4136
|
* @i2since 1.3
|
|
4134
4137
|
*/
|
|
4135
|
-
position?:
|
|
4138
|
+
readonly position?: ToolViewPosition;
|
|
4136
4139
|
}
|
|
4137
4140
|
/**
|
|
4138
4141
|
* A callback function that handles tool view unload events.
|