@i2analyze/notebook-sdk 1.1.2 → 1.2.0-dev.0

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.
@@ -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.
@@ -3945,6 +3950,17 @@ export declare namespace toolview {
3945
3950
  * @i2since 1.0
3946
3951
  */
3947
3952
  export type ToolViewUnloadListener = (isClosing: boolean) => void;
3953
+ /**
3954
+ * A callback function that handles tool view minimized state events.
3955
+ *
3956
+ * @remarks
3957
+ * 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.
3958
+ *
3959
+ * @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;
3960
+ * `false` if the tool view is closed, undocked or nothing is maximized.
3961
+ * @i2since 1.2
3962
+ */
3963
+ export type ToolViewMinimizedListener = (isMinimized: boolean) => void;
3948
3964
  /**
3949
3965
  * A serializable value that a tool view puts into the volatile store.
3950
3966
  *
@@ -4022,6 +4038,14 @@ export declare namespace toolview {
4022
4038
  * @i2since 1.0
4023
4039
  */
4024
4040
  readonly isOpen: boolean;
4041
+ /**
4042
+ * Indicates whether the docked tool view is invisible in the user interface.
4043
+ *
4044
+ * @returns `true` if the tool view is invisible because a chart or another tool view is being maximized;
4045
+ * `false` if it is closed, undocked or nothing is maximized.
4046
+ * @i2since 1.2
4047
+ */
4048
+ readonly isMinimized: boolean;
4025
4049
  /**
4026
4050
  * Opens the tool view in either a docked pane or an undocked window.
4027
4051
  *
@@ -4116,6 +4140,11 @@ export declare namespace toolview {
4116
4140
  * @i2since 1.0
4117
4141
  */
4118
4142
  readonly storechange: VolatileStoreChangeListener;
4143
+ /**
4144
+ * Gets the type of the callback method that listens for "minimized" events.
4145
+ * @i2since 1.2
4146
+ */
4147
+ readonly minimized: ToolViewMinimizedListener;
4119
4148
  }
4120
4149
  /**
4121
4150
  * A mapping of tool view event types to their listener options types.
@@ -4137,6 +4166,11 @@ export declare namespace toolview {
4137
4166
  * @i2since 1.0
4138
4167
  */
4139
4168
  readonly storechange: app.ITransactionOptions;
4169
+ /**
4170
+ * Gets the type of the object that provides control over "minimized" event listeners.
4171
+ * @i2since 1.2
4172
+ */
4173
+ readonly minimized: app.ITransactionOptions;
4140
4174
  }
4141
4175
  /**
4142
4176
  * A combined mapping of tool view and other event types to their listener types.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@i2analyze/notebook-sdk",
3
- "version": "1.1.2",
3
+ "version": "1.2.0-dev.0",
4
4
  "description": "i2 Notebook SDK",
5
5
  "license": "MIT",
6
6
  "publishConfig": {