@i2analyze/notebook-sdk 1.5.0-dev.11 → 1.5.0-dev.13
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 +30 -51
- package/package.json +1 -1
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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,16 +1945,16 @@ 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
|
|
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
|
*
|
|
1953
1952
|
* @param id - The identifier of the group to use as a reference.
|
|
1954
1953
|
* @returns An area of the i2 Notebook user interface that can display actions and groups of actions.
|
|
1955
|
-
* @throws `Error` if the `id` was not a valid {@link commands.
|
|
1954
|
+
* @throws `Error` if the `id` was not a valid {@link commands.GroupId | GroupId}.
|
|
1956
1955
|
* @i2since 1.0
|
|
1957
1956
|
*/
|
|
1958
|
-
getGroup(id: GroupId): IActionArea<undefined
|
|
1957
|
+
getGroup(id: GroupId): IActionArea<undefined>;
|
|
1959
1958
|
/**
|
|
1960
1959
|
* Removes an action or group of actions from the user interface.
|
|
1961
1960
|
*
|
|
@@ -1981,25 +1980,25 @@ export declare namespace commands {
|
|
|
1981
1980
|
* Adds the specified group of actions to the user interface.
|
|
1982
1981
|
*
|
|
1983
1982
|
* @param group - The group to add.
|
|
1984
|
-
* @returns An object that you can use to add actions or a further group to the
|
|
1983
|
+
* @returns An object that you can use to add actions or a further group to the new group.
|
|
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:
|
|
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
|
*
|
|
1992
1991
|
* @remarks
|
|
1993
|
-
* In general, if you want to
|
|
1992
|
+
* In general, if you want to add a group, use {@link commands.IActionArea.addGroup}. If you want to get a group before
|
|
1994
1993
|
* surfacing commands or adding a group to it, use {@link commands.IActionArea.getGroup}. However, if you are creating multiple
|
|
1995
1994
|
* plug-ins that want to use the same group, and these plug-ins can be deployed independently, then you should use this method.
|
|
1996
1995
|
*
|
|
1997
1996
|
* @param group - The group to add or get.
|
|
1998
|
-
* @returns An object that you can use to add actions or a further group to the
|
|
1997
|
+
* @returns An object that you can use to add actions or a further group to the new or existing group.
|
|
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:
|
|
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,48 +2095,31 @@ export declare namespace commands {
|
|
|
2096
2095
|
*/
|
|
2097
2096
|
readonly id: GroupId;
|
|
2098
2097
|
/**
|
|
2099
|
-
*
|
|
2098
|
+
* Indicates whether the group is initially expanded (`false`) or collapsed (`true`) in the user interface.
|
|
2100
2099
|
* @i2since 1.5
|
|
2101
2100
|
*/
|
|
2102
|
-
readonly
|
|
2101
|
+
readonly isCollapsed?: boolean;
|
|
2103
2102
|
}
|
|
2104
2103
|
/**
|
|
2105
|
-
* A group of actions in
|
|
2104
|
+
* A group of actions in either the i2 Notebook application ribbon or a popup menu.
|
|
2106
2105
|
* @i2since 1.0
|
|
2107
2106
|
*/
|
|
2108
2107
|
export interface IGroup extends IGroupBase {
|
|
2109
2108
|
/**
|
|
2110
|
-
* Gets the label of the group, which is displayed to users.
|
|
2109
|
+
* Gets the label of the group, which is displayed to users unless the group is both expanded and in a popup menu.
|
|
2111
2110
|
* @i2since 1.0
|
|
2112
2111
|
*/
|
|
2113
2112
|
readonly label?: string;
|
|
2114
2113
|
/**
|
|
2115
|
-
* Gets the icon of the group, which is displayed
|
|
2114
|
+
* Gets the icon of the group, which is displayed if the group is collapsed.
|
|
2116
2115
|
* @i2since 1.0
|
|
2117
2116
|
*/
|
|
2118
2117
|
readonly icon?: IIcon;
|
|
2119
2118
|
}
|
|
2120
2119
|
/**
|
|
2121
|
-
* A group of actions in
|
|
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
|
-
/**
|
|
2138
|
-
* A group of actions in a popup menu, which do not have a label or an icon.
|
|
2120
|
+
* A group of actions in a popup menu that do not have a label or an icon.
|
|
2139
2121
|
* @i2since 1.2
|
|
2140
|
-
* @deprecated Deprecated since version 1.5. Use {@link commands.IGroup}instead.
|
|
2122
|
+
* @deprecated Deprecated since version 1.5. Use {@link commands.IGroup} instead.
|
|
2141
2123
|
*/
|
|
2142
2124
|
export interface IMenuGroup extends IGroupBase {
|
|
2143
2125
|
}
|
|
@@ -2178,9 +2160,9 @@ export declare namespace commands {
|
|
|
2178
2160
|
*/
|
|
2179
2161
|
setToggledState(value: boolean): void;
|
|
2180
2162
|
/**
|
|
2181
|
-
* Sets whether the action
|
|
2163
|
+
* Sets whether the action is hidden - that is, whether it is visible to users at all.
|
|
2182
2164
|
*
|
|
2183
|
-
* @param value - `true` to
|
|
2165
|
+
* @param value - `true` to hide the action; `false` to show it.
|
|
2184
2166
|
* @i2since 1.5
|
|
2185
2167
|
*/
|
|
2186
2168
|
setHidden(value: boolean): void;
|
|
@@ -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
|
|
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
|
|
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
|
|
2231
|
+
readonly chartPopupMenu: IActionArea<IChartPopupMenuSystemGroups>;
|
|
2250
2232
|
/**
|
|
2251
2233
|
* Unregisters and removes a command and all its actions from the application.
|
|
2252
2234
|
*
|
|
@@ -2262,12 +2244,9 @@ export declare namespace commands {
|
|
|
2262
2244
|
export interface IApplicationRibbon {
|
|
2263
2245
|
/**
|
|
2264
2246
|
* Gets the area that represents the "Home" tab in the application ribbon.
|
|
2265
|
-
*
|
|
2266
|
-
* @remarks
|
|
2267
|
-
* The `homeTab` area supports top-level and second-level groups, which correspond to labeled groups and drop-down menus in the ribbon.
|
|
2268
2247
|
* @i2since 1.0
|
|
2269
2248
|
*/
|
|
2270
|
-
readonly homeTab: IActionArea<IHomeTabSystemGroups
|
|
2249
|
+
readonly homeTab: IActionArea<IHomeTabSystemGroups>;
|
|
2271
2250
|
}
|
|
2272
2251
|
/**
|
|
2273
2252
|
* A lookup table for the command identifiers of the default system commands.
|
|
@@ -2477,7 +2456,7 @@ export declare namespace commands {
|
|
|
2477
2456
|
*/
|
|
2478
2457
|
readonly clipboard: GroupId;
|
|
2479
2458
|
/**
|
|
2480
|
-
* Gets the identifier of the system action group related to link direction
|
|
2459
|
+
* Gets the identifier of the system action group related to link direction.
|
|
2481
2460
|
* @i2since 1.5
|
|
2482
2461
|
*/
|
|
2483
2462
|
readonly linkDirection: GroupId;
|
|
@@ -2966,8 +2945,8 @@ export declare namespace data {
|
|
|
2966
2945
|
*/
|
|
2967
2946
|
reduceRight<U>(callbackfn: (previousValue: U, currentValue: V, currentIndex: number) => U, initialValue: U): U;
|
|
2968
2947
|
/**
|
|
2969
|
-
*
|
|
2970
|
-
* @returns
|
|
2948
|
+
* Returns a new, read-only array that contains all the objects in the collection.
|
|
2949
|
+
* @returns The new array.
|
|
2971
2950
|
* @i2since 1.5
|
|
2972
2951
|
*/
|
|
2973
2952
|
toArray(): readonly V[];
|
|
@@ -4153,12 +4132,12 @@ export declare namespace schema {
|
|
|
4153
4132
|
*/
|
|
4154
4133
|
export interface IChartLinkType extends IChartItemTypeBase {
|
|
4155
4134
|
/**
|
|
4156
|
-
* Gets the
|
|
4135
|
+
* Gets the entity types that are valid for use at the "from" end of links of this type.
|
|
4157
4136
|
* @i2since 1.5
|
|
4158
4137
|
*/
|
|
4159
4138
|
fromEntityTypes: data.IReadOnlyCollection<IChartEntityType>;
|
|
4160
4139
|
/**
|
|
4161
|
-
* Gets the
|
|
4140
|
+
* Gets the entity types that are valid for use at the "to" end of links of this type.
|
|
4162
4141
|
* @i2since 1.5
|
|
4163
4142
|
*/
|
|
4164
4143
|
toEntityTypes: data.IReadOnlyCollection<IChartEntityType>;
|