@i2analyze/notebook-sdk 1.1.2 → 1.2.0-dev.2
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 +51 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
|
@@ -2985,7 +2985,7 @@ export declare interface NotebookStatic {
|
|
|
2985
2985
|
* @public
|
|
2986
2986
|
* @i2since 1.0
|
|
2987
2987
|
*/
|
|
2988
|
-
getEntryPointApi(pluginId: string, apiVersion: '1.0' | '1.1'): Promise<IEntryPointApi>;
|
|
2988
|
+
getEntryPointApi(pluginId: string, apiVersion: '1.0' | '1.1' | '1.2'): Promise<IEntryPointApi>;
|
|
2989
2989
|
}
|
|
2990
2990
|
|
|
2991
2991
|
/**
|
|
@@ -3139,6 +3139,11 @@ export declare namespace records {
|
|
|
3139
3139
|
* @i2since 1.0
|
|
3140
3140
|
*/
|
|
3141
3141
|
get360ViewUrl(): string | undefined;
|
|
3142
|
+
/**
|
|
3143
|
+
* Gets the element to which the record belongs.
|
|
3144
|
+
* @i2since 1.2
|
|
3145
|
+
*/
|
|
3146
|
+
readonly element: visual.IElement;
|
|
3142
3147
|
}
|
|
3143
3148
|
/**
|
|
3144
3149
|
* An entity record.
|
|
@@ -3424,6 +3429,14 @@ export declare namespace schema {
|
|
|
3424
3429
|
* @i2since 1.0
|
|
3425
3430
|
*/
|
|
3426
3431
|
readonly itemTypes: data.IKeyedReadOnlyCollection<ChartItemTypeId, IChartItemType>;
|
|
3432
|
+
/**
|
|
3433
|
+
* Gets the item type with the specified analyze type id.
|
|
3434
|
+
* @param analyzeItemTypeId - An analyze item type id.
|
|
3435
|
+
* @returns The requested item type.
|
|
3436
|
+
* @throws `VerbatimError` if an item type with the specified analyze type id could not be found.
|
|
3437
|
+
* @i2since 1.2
|
|
3438
|
+
*/
|
|
3439
|
+
getItemType(analyzeItemTypeId: AnalyzeItemTypeId): IChartItemType;
|
|
3427
3440
|
/**
|
|
3428
3441
|
* Gets the source reference schema for the specified item type.
|
|
3429
3442
|
*
|
|
@@ -3644,6 +3657,14 @@ export declare namespace schema {
|
|
|
3644
3657
|
* @i2since 1.0
|
|
3645
3658
|
*/
|
|
3646
3659
|
readonly propertyTypes: data.IKeyedReadOnlyCollection<ChartPropertyTypeId, IChartPropertyType>;
|
|
3660
|
+
/**
|
|
3661
|
+
* Gets the property type with the specified analyze property type id.
|
|
3662
|
+
* @param analyzePropertyTypeId - An analyze property type id.
|
|
3663
|
+
* @returns The requested property type, or undefined if the property type could not be found.
|
|
3664
|
+
* @throws `VerbatimError` if a property type with the specified analyze property id could not be found.
|
|
3665
|
+
* @i2since 1.2
|
|
3666
|
+
*/
|
|
3667
|
+
getPropertyType(analyzePropertyTypeId: AnalyzePropertyTypeId): IChartPropertyType;
|
|
3647
3668
|
/**
|
|
3648
3669
|
* Indicates whether the item type is orphaned - that is, it does not have a counterpart in the i2 Analyze schema.
|
|
3649
3670
|
* @i2since 1.0
|
|
@@ -3945,6 +3966,17 @@ export declare namespace toolview {
|
|
|
3945
3966
|
* @i2since 1.0
|
|
3946
3967
|
*/
|
|
3947
3968
|
export type ToolViewUnloadListener = (isClosing: boolean) => void;
|
|
3969
|
+
/**
|
|
3970
|
+
* A callback function that handles tool view minimized state events.
|
|
3971
|
+
*
|
|
3972
|
+
* @remarks
|
|
3973
|
+
* This listener receives an event when the docked tool view is changing its minimized state to reflect its visibility in the i2 Notebook user interface.
|
|
3974
|
+
*
|
|
3975
|
+
* @param isMinimized - `true` if the tool view is docked but invisible in the user interface due to a chart or another docked tool view is maximized;
|
|
3976
|
+
* `false` if the tool view is closed, undocked or nothing is maximized.
|
|
3977
|
+
* @i2since 1.2
|
|
3978
|
+
*/
|
|
3979
|
+
export type ToolViewMinimizedListener = (isMinimized: boolean) => void;
|
|
3948
3980
|
/**
|
|
3949
3981
|
* A serializable value that a tool view puts into the volatile store.
|
|
3950
3982
|
*
|
|
@@ -4022,6 +4054,14 @@ export declare namespace toolview {
|
|
|
4022
4054
|
* @i2since 1.0
|
|
4023
4055
|
*/
|
|
4024
4056
|
readonly isOpen: boolean;
|
|
4057
|
+
/**
|
|
4058
|
+
* Indicates whether the docked tool view is invisible in the user interface.
|
|
4059
|
+
*
|
|
4060
|
+
* @returns `true` if the tool view is invisible because a chart or another tool view is being maximized;
|
|
4061
|
+
* `false` if it is closed, undocked or nothing is maximized.
|
|
4062
|
+
* @i2since 1.2
|
|
4063
|
+
*/
|
|
4064
|
+
readonly isMinimized: boolean;
|
|
4025
4065
|
/**
|
|
4026
4066
|
* Opens the tool view in either a docked pane or an undocked window.
|
|
4027
4067
|
*
|
|
@@ -4116,6 +4156,11 @@ export declare namespace toolview {
|
|
|
4116
4156
|
* @i2since 1.0
|
|
4117
4157
|
*/
|
|
4118
4158
|
readonly storechange: VolatileStoreChangeListener;
|
|
4159
|
+
/**
|
|
4160
|
+
* Gets the type of the callback method that listens for "minimized" events.
|
|
4161
|
+
* @i2since 1.2
|
|
4162
|
+
*/
|
|
4163
|
+
readonly minimized: ToolViewMinimizedListener;
|
|
4119
4164
|
}
|
|
4120
4165
|
/**
|
|
4121
4166
|
* A mapping of tool view event types to their listener options types.
|
|
@@ -4137,6 +4182,11 @@ export declare namespace toolview {
|
|
|
4137
4182
|
* @i2since 1.0
|
|
4138
4183
|
*/
|
|
4139
4184
|
readonly storechange: app.ITransactionOptions;
|
|
4185
|
+
/**
|
|
4186
|
+
* Gets the type of the object that provides control over "minimized" event listeners.
|
|
4187
|
+
* @i2since 1.2
|
|
4188
|
+
*/
|
|
4189
|
+
readonly minimized: app.ITransactionOptions;
|
|
4140
4190
|
}
|
|
4141
4191
|
/**
|
|
4142
4192
|
* A combined mapping of tool view and other event types to their listener types.
|
package/lib/index.js
CHANGED