@i2analyze/notebook-sdk 1.5.0-dev.11 → 1.5.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.
@@ -1907,10 +1907,9 @@ export declare namespace commands {
1907
1907
  * To retrieve areas that represent the entire application ribbon or pop-up menu, use the properties of {@link commands.ICommandApi}.
1908
1908
  *
1909
1909
  * @typeParam TSystemGroups - The type of the list of system action groups in the area.
1910
- * @typeParam TRootGroup - The type of action group that the area supports.
1911
1910
  * @i2since 1.0
1912
1911
  */
1913
- export interface IActionArea<TSystemGroups, TRootGroup> {
1912
+ export interface IActionArea<TSystemGroups> {
1914
1913
  /**
1915
1914
  * Locates the area of the user interface that appears immediately before a particular action or group of actions.
1916
1915
  *
@@ -1919,7 +1918,7 @@ export declare namespace commands {
1919
1918
  * @throws `Error` if the `id` was not a valid {@link commands.CommandId | CommandId} or {@link commands.GroupId | GroupId}.
1920
1919
  * @i2since 1.0
1921
1920
  */
1922
- before(id: CommandId | GroupId): IActionArea<undefined, TRootGroup>;
1921
+ before(id: CommandId | GroupId): IActionArea<undefined>;
1923
1922
  /**
1924
1923
  * Locates the area of the user interface that appears immediately before the action that represents the specified command.
1925
1924
  *
@@ -1928,7 +1927,7 @@ export declare namespace commands {
1928
1927
  * @throws `Error` if `command.id` is not a valid {@link commands.CommandId | CommandId}.
1929
1928
  * @i2since 1.1
1930
1929
  */
1931
- before(command: ICommand): IActionArea<undefined, TRootGroup>;
1930
+ before(command: ICommand): IActionArea<undefined>;
1932
1931
  /**
1933
1932
  * Locates the area of the user interface that appears immediately after a particular action or group of actions.
1934
1933
  *
@@ -1937,7 +1936,7 @@ export declare namespace commands {
1937
1936
  * @throws `Error` if the `id` was not a valid {@link commands.CommandId | CommandId} or {@link commands.GroupId | GroupId}.
1938
1937
  * @i2since 1.0
1939
1938
  */
1940
- after(id: CommandId | GroupId): IActionArea<undefined, TRootGroup>;
1939
+ after(id: CommandId | GroupId): IActionArea<undefined>;
1941
1940
  /**
1942
1941
  * Locates the area of the user interface that appears immediately after the action that represents the specified command.
1943
1942
  *
@@ -1946,7 +1945,7 @@ export declare namespace commands {
1946
1945
  * @throws `Error` if `command.id` is not a valid {@link commands.CommandId | CommandId}.
1947
1946
  * @i2since 1.1
1948
1947
  */
1949
- after(command: ICommand): IActionArea<undefined, TRootGroup>;
1948
+ after(command: ICommand): IActionArea<undefined>;
1950
1949
  /**
1951
1950
  * Locates the area of the user interface that is occupied by a particular group of actions.
1952
1951
  *
@@ -1955,7 +1954,7 @@ export declare namespace commands {
1955
1954
  * @throws `Error` if the `id` was not a valid {@link commands.CommandId | CommandId} or {@link commands.GroupId | GroupId}.
1956
1955
  * @i2since 1.0
1957
1956
  */
1958
- getGroup(id: GroupId): IActionArea<undefined, IGroup>;
1957
+ getGroup(id: GroupId): IActionArea<undefined>;
1959
1958
  /**
1960
1959
  * Removes an action or group of actions from the user interface.
1961
1960
  *
@@ -1985,7 +1984,7 @@ export declare namespace commands {
1985
1984
  * @throws `Error` if the `group` was not valid, or if a group with the same {@link commands.GroupId} was already present.
1986
1985
  * @i2since 1.0
1987
1986
  */
1988
- addGroup(group: TRootGroup): IActionArea<undefined, IGroup>;
1987
+ addGroup(group: IGroup): IActionArea<undefined>;
1989
1988
  /**
1990
1989
  * Adds the specified group of actions to the user interface, or gets an existing group with the same identifier.
1991
1990
  *
@@ -1999,7 +1998,7 @@ export declare namespace commands {
1999
1998
  * @throws `Error` if the `group` was not valid, or if it was added before by the same plug-in.
2000
1999
  * @i2since 1.0
2001
2000
  */
2002
- addOrGetGroup(group: TRootGroup): IActionArea<undefined, IGroup>;
2001
+ addOrGetGroup(group: IGroup): IActionArea<undefined>;
2003
2002
  /**
2004
2003
  * Gets the system groups for the action area, which you can use to specify relative locations for your actions and groups.
2005
2004
  * @i2since 1.0
@@ -2096,13 +2095,13 @@ export declare namespace commands {
2096
2095
  */
2097
2096
  readonly id: GroupId;
2098
2097
  /**
2099
- * Gets the type of the group, whether the group is initially expanded or collapsed.
2098
+ * Indicates the type of the group, whether the group is initially expanded or collapsed.
2100
2099
  * @i2since 1.5
2101
2100
  */
2102
- readonly type?: 'expanded' | 'collapsed';
2101
+ readonly isCollapsed?: boolean;
2103
2102
  }
2104
2103
  /**
2105
- * A group of actions in a tab, in the i2 Notebook application ribbon.
2104
+ * A group of actions in the i2 Notebook application ribbon/ popup menu.
2106
2105
  * @i2since 1.0
2107
2106
  */
2108
2107
  export interface IGroup extends IGroupBase {
@@ -2117,23 +2116,6 @@ export declare namespace commands {
2117
2116
  */
2118
2117
  readonly icon?: IIcon;
2119
2118
  }
2120
- /**
2121
- * A group of actions in i2 Notebook application ribbon.
2122
- * @i2since 1.5
2123
- *
2124
- */
2125
- export interface IRibbonGroup extends IGroupBase {
2126
- /**
2127
- * Gets the label of the group, which is displayed to users.
2128
- * @i2since 1.5
2129
- */
2130
- readonly label: string;
2131
- /**
2132
- * Gets the icon of the group, which is displayed when the group contents are not displayed.
2133
- * @i2since 1.5
2134
- */
2135
- readonly icon: IIcon;
2136
- }
2137
2119
  /**
2138
2120
  * A group of actions in a popup menu, which do not have a label or an icon.
2139
2121
  * @i2since 1.2
@@ -2229,7 +2211,7 @@ export declare namespace commands {
2229
2211
  * The `chartSurfacePopupMenu` area supports only top-level groups, which correspond to sets of related actions that are separated by dividers in the menu.
2230
2212
  * @i2since 1.4
2231
2213
  */
2232
- readonly chartSurfacePopupMenu: IActionArea<IChartSurfacePopupMenuSystemGroups, IGroup>;
2214
+ readonly chartSurfacePopupMenu: IActionArea<IChartSurfacePopupMenuSystemGroups>;
2233
2215
  /**
2234
2216
  * Gets the area that represents the pop-up menu for chart items.
2235
2217
  *
@@ -2237,7 +2219,7 @@ export declare namespace commands {
2237
2219
  * The `chartItemPopupMenu` area supports only top-level groups, which correspond to sets of related actions that are separated by dividers in the menu.
2238
2220
  * @i2since 1.4
2239
2221
  */
2240
- readonly chartItemPopupMenu: IActionArea<IChartItemPopupMenuSystemGroups, IGroup>;
2222
+ readonly chartItemPopupMenu: IActionArea<IChartItemPopupMenuSystemGroups>;
2241
2223
  /**
2242
2224
  * Gets the area that represents the pop-up menu for chart items.
2243
2225
  *
@@ -2246,7 +2228,7 @@ export declare namespace commands {
2246
2228
  * @i2since 1.0
2247
2229
  * @deprecated Deprecated since version 1.4. `commands.ICommandApi.chartPopupMenu` has been renamed to {@link commands.ICommandApi.chartItemPopupMenu}.
2248
2230
  */
2249
- readonly chartPopupMenu: IActionArea<IChartPopupMenuSystemGroups, IGroup>;
2231
+ readonly chartPopupMenu: IActionArea<IChartPopupMenuSystemGroups>;
2250
2232
  /**
2251
2233
  * Unregisters and removes a command and all its actions from the application.
2252
2234
  *
@@ -2267,7 +2249,7 @@ export declare namespace commands {
2267
2249
  * The `homeTab` area supports top-level and second-level groups, which correspond to labeled groups and drop-down menus in the ribbon.
2268
2250
  * @i2since 1.0
2269
2251
  */
2270
- readonly homeTab: IActionArea<IHomeTabSystemGroups, IRibbonGroup>;
2252
+ readonly homeTab: IActionArea<IHomeTabSystemGroups>;
2271
2253
  }
2272
2254
  /**
2273
2255
  * A lookup table for the command identifiers of the default system commands.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@i2analyze/notebook-sdk",
3
- "version": "1.5.0-dev.11",
3
+ "version": "1.5.0-dev.12",
4
4
  "description": "i2 Notebook SDK",
5
5
  "license": "MIT",
6
6
  "publishConfig": {