@sassoftware/vi-api 1.40.3 → 1.42.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.
Files changed (116) hide show
  1. package/README.md +36 -5
  2. package/component/index.d.ts +5 -1
  3. package/component/package.json +2 -2
  4. package/config/config-api.d.ts +5 -1
  5. package/config/package.json +2 -2
  6. package/control/control-api.d.ts +12 -1
  7. package/control/package.json +2 -2
  8. package/control/page.d.ts +9 -0
  9. package/current-user/currentUser-api.d.ts +5 -1
  10. package/current-user/package.json +2 -2
  11. package/elements/index.d.ts +30 -0
  12. package/elements/index.js +31 -0
  13. package/elements/package.json +9 -0
  14. package/elements/properties.d.ts +89 -0
  15. package/event/event-api.d.ts +9 -4
  16. package/event/event-api.js +1 -0
  17. package/event/package.json +2 -2
  18. package/file/file-api.d.ts +5 -1
  19. package/file/package.json +2 -2
  20. package/http/index.d.ts +5 -1
  21. package/http/package.json +2 -2
  22. package/index.d.ts +3 -1
  23. package/init/index.d.ts +12 -7
  24. package/init/index.js +3 -2
  25. package/init/package.json +2 -2
  26. package/localization/localization-api.d.ts +24 -9
  27. package/localization/package.json +2 -2
  28. package/metadata/admin/admin-metadata-api.d.ts +5 -1
  29. package/metadata/admin/index.d.ts +1 -0
  30. package/metadata/admin/index.js +1 -0
  31. package/metadata/metadata-api.d.ts +9 -5
  32. package/metadata/package.json +2 -2
  33. package/object/object-api.d.ts +9 -5
  34. package/object/package.json +2 -2
  35. package/package.json +3 -3
  36. package/page-admin/package.json +2 -2
  37. package/page-admin/page-admin-api.d.ts +5 -1
  38. package/page-model/package.json +2 -2
  39. package/page-model/page-model-api.d.ts +6 -5
  40. package/page-state/package.json +2 -2
  41. package/page-state/page-state-api.d.ts +4 -1
  42. package/page-template/package.json +2 -2
  43. package/page-template/page-template-api.d.ts +5 -1
  44. package/property/package.json +2 -2
  45. package/property/property-api.d.ts +6 -2
  46. package/reference-data/package.json +2 -2
  47. package/reference-data/refData.d.ts +4 -1
  48. package/resource/package.json +2 -2
  49. package/resource/resource-api.d.ts +5 -1
  50. package/search/client/client-search-api.d.ts +7 -3
  51. package/search/client/index.d.ts +1 -0
  52. package/search/client/index.js +1 -0
  53. package/search/package.json +2 -2
  54. package/search/search-api.d.ts +5 -1
  55. package/sheet/package.json +2 -2
  56. package/sheet/sheet-api.d.ts +5 -1
  57. package/shell-tabs/package.json +2 -2
  58. package/shell-tabs/shell-tabs-api.d.ts +11 -7
  59. package/svi-datahub/index.d.ts +75 -75
  60. package/svi-datahub/package.json +1 -1
  61. package/tab/package.json +2 -2
  62. package/tab/tab-api.d.ts +5 -1
  63. package/theme/package.json +2 -2
  64. package/theme/theme-api.d.ts +6 -2
  65. package/traversal/package.json +2 -2
  66. package/traversal/traversal-api.d.ts +5 -1
  67. package/component/public-api.d.ts +0 -1
  68. package/component/public-api.js +0 -1
  69. package/http/public-api.d.ts +0 -1
  70. package/http/public-api.js +0 -1
  71. package/init/public-api.d.ts +0 -1
  72. package/init/public-api.js +0 -1
  73. package/public-api.d.ts +0 -1
  74. /package/config/{public-api.d.ts → index.d.ts} +0 -0
  75. /package/config/{public-api.js → index.js} +0 -0
  76. /package/control/{public-api.d.ts → index.d.ts} +0 -0
  77. /package/control/{public-api.js → index.js} +0 -0
  78. /package/current-user/{public-api.d.ts → index.d.ts} +0 -0
  79. /package/current-user/{public-api.js → index.js} +0 -0
  80. /package/{public-api.js → elements/properties.js} +0 -0
  81. /package/event/{public-api.d.ts → index.d.ts} +0 -0
  82. /package/event/{public-api.js → index.js} +0 -0
  83. /package/file/{public-api.d.ts → index.d.ts} +0 -0
  84. /package/file/{public-api.js → index.js} +0 -0
  85. /package/localization/{public-api.d.ts → index.d.ts} +0 -0
  86. /package/localization/{public-api.js → index.js} +0 -0
  87. /package/metadata/{public-api.d.ts → index.d.ts} +0 -0
  88. /package/metadata/{public-api.js → index.js} +0 -0
  89. /package/object/{public-api.d.ts → index.d.ts} +0 -0
  90. /package/object/{public-api.js → index.js} +0 -0
  91. /package/page-admin/{public-api.d.ts → index.d.ts} +0 -0
  92. /package/page-admin/{public-api.js → index.js} +0 -0
  93. /package/page-model/{public-api.d.ts → index.d.ts} +0 -0
  94. /package/page-model/{public-api.js → index.js} +0 -0
  95. /package/page-state/{public-api.d.ts → index.d.ts} +0 -0
  96. /package/page-state/{public-api.js → index.js} +0 -0
  97. /package/page-template/{public-api.d.ts → index.d.ts} +0 -0
  98. /package/page-template/{public-api.js → index.js} +0 -0
  99. /package/property/{public-api.d.ts → index.d.ts} +0 -0
  100. /package/property/{public-api.js → index.js} +0 -0
  101. /package/reference-data/{public-api.d.ts → index.d.ts} +0 -0
  102. /package/reference-data/{public-api.js → index.js} +0 -0
  103. /package/resource/{public-api.d.ts → index.d.ts} +0 -0
  104. /package/resource/{public-api.js → index.js} +0 -0
  105. /package/search/{public-api.d.ts → index.d.ts} +0 -0
  106. /package/search/{public-api.js → index.js} +0 -0
  107. /package/sheet/{public-api.d.ts → index.d.ts} +0 -0
  108. /package/sheet/{public-api.js → index.js} +0 -0
  109. /package/shell-tabs/{public-api.d.ts → index.d.ts} +0 -0
  110. /package/shell-tabs/{public-api.js → index.js} +0 -0
  111. /package/tab/{public-api.d.ts → index.d.ts} +0 -0
  112. /package/tab/{public-api.js → index.js} +0 -0
  113. /package/theme/{public-api.d.ts → index.d.ts} +0 -0
  114. /package/theme/{public-api.js → index.js} +0 -0
  115. /package/traversal/{public-api.d.ts → index.d.ts} +0 -0
  116. /package/traversal/{public-api.js → index.js} +0 -0
@@ -5,8 +5,12 @@ export interface FieldTypeLabels {
5
5
  /**
6
6
  * {@link MetadataApi} extension provides the functionality related to retrieval of metadata.
7
7
  * Additional methods are available only in the SAS Visual Investigator Manage and Investigate interface.
8
- * Accessed from the window at window.sas.vi.metadata.
8
+ *
9
+ * Accessed from the window at `window.sas.vi.metadata`.
10
+ *
9
11
  * @extends MetadataApi
12
+ * @example window.sas.vi.metadata.getFieldDataTypeLabels();
13
+ * @category API
10
14
  */
11
15
  export interface AdminMetadataApi extends MetadataApi {
12
16
  /**
@@ -0,0 +1 @@
1
+ export * from "./admin-metadata-api";
@@ -0,0 +1 @@
1
+ export * from "./admin-metadata-api";
@@ -147,7 +147,11 @@ export interface ReferenceDataOptions {
147
147
  }
148
148
  /**
149
149
  * This API provides the functionality related to retrieval of metadata.
150
- * Accessed from the window at window.sas.vi.metadata.
150
+ *
151
+ * Accessed from the window at `window.sas.vi.metadata`.
152
+ *
153
+ * @example window.sas.vi.metadata.getEntityAccessRules(objectType);
154
+ * @category API
151
155
  */
152
156
  export interface MetadataApi {
153
157
  /**
@@ -160,7 +164,7 @@ export interface MetadataApi {
160
164
  /**
161
165
  * @method
162
166
  * @description Gets create, read, and update access rights for the provided entities via batch call.
163
- * @param objectType {string[]} Entity names.
167
+ * @param {string[]} objectTypes Entity names.
164
168
  * @returns Object with a Promise of type EntityAccessRule[] for each rule, where EntityAccessRule maps to the access rule of a given entity name.
165
169
  */
166
170
  getEntitiesAccessRules(objectTypes: string[]): EntitiesAccessRules;
@@ -233,7 +237,7 @@ export interface MetadataApi {
233
237
  */
234
238
  getIconForEntity(objectType: string, iconType?: string): string | undefined;
235
239
  /**
236
- * @deprecated Use `getRootTypes()` and `getResolvedEntities()` instead.
240
+ * @deprecated Use [getRootTypes()]{@link getRootTypes} and [getResolvedEntities()]{@link getResolvedEntities}` instead.
237
241
  *
238
242
  * @method
239
243
  * @description Gets metadata for both entities and resolved entities.
@@ -243,8 +247,8 @@ export interface MetadataApi {
243
247
  /**
244
248
  * @method
245
249
  * @description Gets reference data with the given name.
246
- * @param refDataName {string} Reference data list name.
247
- * @param [options] {ReferenceDataOptions} Object containing name and filter constraints.
250
+ * @param {string} name Reference data list name.
251
+ * @param {ReferenceDataOptions} [options] Object containing name and filter constraints.
248
252
  * If constrainingListName is defined, then the refDataName parameter is ignored.
249
253
  * parentCode is used to filter list items to those that are children of this list name.
250
254
  * @returns Promise containing the reference data or undefined if none exists.
@@ -4,6 +4,6 @@
4
4
  "**/*.d.ts",
5
5
  "**/*.js"
6
6
  ],
7
- "main": "public-api.js",
8
- "types": "public-api.d.ts"
7
+ "main": "index.js",
8
+ "types": "index.d.ts"
9
9
  }
@@ -36,7 +36,11 @@ export interface CreateObjectOptions {
36
36
  }
37
37
  /**
38
38
  * This API provides the functionality related to objects within SAS Visual Investigator.
39
- * Accessed from the window at window.sas.vi.object.
39
+ *
40
+ * Accessed from the window at `window.sas.vi.object`.
41
+ *
42
+ * @example window.sas.vi.object.getObjectAccessRules(objectType, objectId);
43
+ * @category API
40
44
  */
41
45
  export interface ObjectApi {
42
46
  /**
@@ -211,8 +215,8 @@ export interface ObjectApi {
211
215
  /**
212
216
  * @method
213
217
  * @description Validates the fields, controls, and file categories of a child object.
214
- * @param pageModel {PageModel} Page model.
215
- * @param childObject {StoredObjectMetadata} Child object metadata.
218
+ * @param {PageModel} model Page model.
219
+ * @param {StoredObjectMetadata} childObject Child object metadata.
216
220
  * @return An observable that resolves to an array of validation results.
217
221
  */
218
222
  validate(model: PageModel, childObject: StoredObjectMetadata): Promise<ValidationResult[]>;
@@ -547,10 +551,10 @@ export interface CreateDialogModel extends CreateRelationshipDialogModel<CreateD
547
551
  export interface CreateDialogResponse {
548
552
  relateToModel?: CreateRelateToModel;
549
553
  }
550
- export interface CreateReleationshipDialogResultModel {
554
+ export interface CreateRelationshipDialogResultModel {
551
555
  linkReason?: Relationship;
552
556
  }
553
- export interface CreateRelateToModel extends CreateReleationshipDialogResultModel {
557
+ export interface CreateRelateToModel extends CreateRelationshipDialogResultModel {
554
558
  newPageModel?: {
555
559
  model: PageModel;
556
560
  };
@@ -4,6 +4,6 @@
4
4
  "**/*.d.ts",
5
5
  "**/*.js"
6
6
  ],
7
- "main": "public-api.js",
8
- "types": "public-api.d.ts"
7
+ "main": "index.js",
8
+ "types": "index.d.ts"
9
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sassoftware/vi-api",
3
- "version": "1.40.3",
3
+ "version": "1.42.0",
4
4
  "description": "Types used in the SAS Visual Investigator API",
5
5
  "keywords": [
6
6
  "SAS",
@@ -28,8 +28,8 @@
28
28
  "./README.md",
29
29
  "./LICENSE.txt"
30
30
  ],
31
- "main": "public-api.js",
32
- "types": "public-api.d.ts",
31
+ "main": "index.js",
32
+ "types": "index.d.ts",
33
33
  "peerDependencies": {
34
34
  "@types/angular": "^1.7.3",
35
35
  "@types/angular-resource": "^1.5.16"
@@ -4,6 +4,6 @@
4
4
  "**/*.d.ts",
5
5
  "**/*.js"
6
6
  ],
7
- "main": "public-api.js",
8
- "types": "public-api.d.ts"
7
+ "main": "index.js",
8
+ "types": "index.d.ts"
9
9
  }
@@ -10,7 +10,11 @@ export declare enum TemplateType {
10
10
  }
11
11
  /**
12
12
  * This API provides administration functionality related to pages.
13
- * Accessed from the window at window.sas.vi.pageAdmin.
13
+ *
14
+ * Accessed from the window at `window.sas.vi.pageAdmin`.
15
+ *
16
+ * @example window.sas.vi.pageAdmin.registerPageType(...);
17
+ * @category API
14
18
  */
15
19
  export interface PageAdminApi {
16
20
  /**
@@ -4,6 +4,6 @@
4
4
  "**/*.d.ts",
5
5
  "**/*.js"
6
6
  ],
7
- "main": "public-api.js",
8
- "types": "public-api.d.ts"
7
+ "main": "index.js",
8
+ "types": "index.d.ts"
9
9
  }
@@ -159,15 +159,13 @@ export interface IPageEvent<T extends IPageEventData> {
159
159
  /**
160
160
  * @method
161
161
  * @description Adds a hook to be executed before a hookable event is triggered.
162
- * @param event {string} the event to hook onto.
163
- * @param hook {IPrePageEventHook} the hook which defines the callback to run pre-event.
162
+ * @param {IPrePageEventHook} hook the hook which defines the callback to run pre-event.
164
163
  */
165
164
  addPreHook(hook: IPrePageEventHook<T>): PageEventHookRemove;
166
165
  /**
167
166
  * @method
168
167
  * @description Adds a hook to be executed after a hookable event is triggered.
169
- * @param event {string} the event to hook onto.
170
- * @param hook {IPostPageEventHook} the hook which defines the callback to run post-event.
168
+ * @param {IPostPageEventHook} hook the hook which defines the callback to run post-event.
171
169
  */
172
170
  addPostHook(hook: IPostPageEventHook<T>): PageEventHookRemove;
173
171
  /**
@@ -205,7 +203,10 @@ export interface PageEventsApi extends PageEventsApiBase {
205
203
  }
206
204
  /**
207
205
  * This API is used for PageModel utilities.
208
- * Accessed from the window at window.sas.vi.pageModel.
206
+ * Accessed from the window at `window.sas.vi.pageModel`.
207
+ *
208
+ * @example window.sas.vi.pageModel.createFromObject(partialPageModel);
209
+ * @category API
209
210
  */
210
211
  export interface PageModelApi {
211
212
  /**
@@ -4,6 +4,6 @@
4
4
  "**/*.d.ts",
5
5
  "**/*.js"
6
6
  ],
7
- "main": "public-api.js",
8
- "types": "public-api.d.ts"
7
+ "main": "index.js",
8
+ "types": "index.d.ts"
9
9
  }
@@ -13,7 +13,10 @@ export interface ObjectPageDesignerState {
13
13
  }
14
14
  /**
15
15
  * This API provides functionality that pertains to the page state.
16
- * Accessed from the window at window.sas.vi.pageState.
16
+ * Accessed from the window at `window.sas.vi.pageState`.
17
+ *
18
+ * @example window.sas.vi.pageState.getCurrent();
19
+ * @category API
17
20
  */
18
21
  export interface PageStateApi {
19
22
  /**
@@ -4,6 +4,6 @@
4
4
  "**/*.d.ts",
5
5
  "**/*.js"
6
6
  ],
7
- "main": "public-api.js",
8
- "types": "public-api.d.ts"
7
+ "main": "index.js",
8
+ "types": "index.d.ts"
9
9
  }
@@ -2,7 +2,11 @@ import { Template, TemplateResourceSummary } from "../svi-datahub";
2
2
  import { ApplicationType, TemplateType } from "../page-admin/page-admin-api";
3
3
  /**
4
4
  * This API provides functionality that pertains to the page templates.
5
- * Accessed from the window at window.sas.vi.pageTemplate.
5
+ *
6
+ * Accessed from the window at `window.sas.vi.pageTemplate`.
7
+ *
8
+ * @example window.sas.vi.pageTemplate.getPageTemplateById(templateNumber);
9
+ * @category API
6
10
  */
7
11
  export interface PageTemplateApi {
8
12
  /**
@@ -4,6 +4,6 @@
4
4
  "**/*.d.ts",
5
5
  "**/*.js"
6
6
  ],
7
- "main": "public-api.js",
8
- "types": "public-api.d.ts"
7
+ "main": "index.js",
8
+ "types": "index.d.ts"
9
9
  }
@@ -39,7 +39,7 @@ export type ControlPropertyLocalizer = ToolbarControlPropertyLocalizer | PageCon
39
39
  export interface ToolbarControlPropertyLocalizer extends PropertyLocalizer<EntityToolbarItem> {
40
40
  localizerType: "toolbar";
41
41
  /**
42
- * Generate resources to be inluded when the toolbar item is saved.
42
+ * Generate resources to be included when the toolbar item is saved.
43
43
  *
44
44
  * @param propertyKey the control attribute
45
45
  * @param control the toolbar item
@@ -106,7 +106,11 @@ export interface EditorApi {
106
106
  }
107
107
  /**
108
108
  * This API pertains to page/toolbar control properties in SAS Visual Investigator.
109
- * Accessed from the window at window.sas.vi.property.
109
+ *
110
+ * Accessed from the window at `window.sas.vi.property`.
111
+ *
112
+ * @example window.sas.vi.property.registerPropertyLocalizer(localizer);
113
+ * @category API
110
114
  */
111
115
  export interface PropertyApi {
112
116
  /**
@@ -4,6 +4,6 @@
4
4
  "**/*.d.ts",
5
5
  "**/*.js"
6
6
  ],
7
- "main": "public-api.js",
8
- "types": "public-api.d.ts"
7
+ "main": "index.js",
8
+ "types": "index.d.ts"
9
9
  }
@@ -37,8 +37,11 @@ export interface LocalizedLabel extends PersistableObject {
37
37
  }
38
38
  /**
39
39
  * This API provides functionality related to retrieving reference data.
40
- * Accessed from the window at window.sas.vi.refData.
41
40
  *
41
+ * Accessed from the window at `window.sas.vi.refData`.
42
+ *
43
+ * @example window.sas.vi.refData.getReferenceLists();
44
+ * @category API
42
45
  */
43
46
  export interface RefDataApi {
44
47
  /**
@@ -4,6 +4,6 @@
4
4
  "**/*.d.ts",
5
5
  "**/*.js"
6
6
  ],
7
- "main": "public-api.js",
8
- "types": "public-api.d.ts"
7
+ "main": "index.js",
8
+ "types": "index.d.ts"
9
9
  }
@@ -4,7 +4,11 @@ export interface I18nResources {
4
4
  /**
5
5
  * @deprecated Use window.sas.viInit.registerResourceBundle to register resources before the rest of the SAS Visual Investigator API is ready.
6
6
  * This API provides the resource functionality in SAS Visual Investigator.
7
- * Accessed from the window at window.sas.vi.resource.
7
+ *
8
+ * Accessed from the window at `window.sas.vi.resource`.
9
+ *
10
+ * @example window.sas.vi.resource.registerResourceBundle("bundleName", resources);
11
+ * @category API
8
12
  */
9
13
  export interface ResourceApi {
10
14
  /**
@@ -1,5 +1,5 @@
1
1
  import { MapBoundedBoxFilter, MapBoundedPolygonFilter, MapRadiusFilter, MapShapeFilter, QueryMode, SearchRepresentation, SearchResponse, SummaryVisualizationResponse } from "../../svi-sand";
2
- import { CreateRelationshipDialogModel, CreateReleationshipDialogResultModel, ObjectIdentifier, SearchOrCreateAndLinkDialogBase } from "../../object/object-api";
2
+ import { CreateRelationshipDialogModel, CreateRelationshipDialogResultModel, ObjectIdentifier, SearchOrCreateAndLinkDialogBase } from "../../object/object-api";
3
3
  import { QueryBuilderModel, SearchApi } from "../search-api";
4
4
  export declare enum SearchVisualization {
5
5
  Summary = "summary",
@@ -53,7 +53,7 @@ export interface SearchObject extends ObjectIdentifier {
53
53
  typeLabel?: string;
54
54
  uniqueKey?: string;
55
55
  }
56
- export interface SearchAndCreateRelateToModel extends CreateReleationshipDialogResultModel {
56
+ export interface SearchAndCreateRelateToModel extends CreateRelationshipDialogResultModel {
57
57
  relateToTargetId?: string;
58
58
  relateToTargetType?: string;
59
59
  }
@@ -63,8 +63,12 @@ export interface SearchAndCreateResponse {
63
63
  /**
64
64
  * {@link SearchApi} extension pertains to functionality related to SAS Visual Investigator's search capabilities.
65
65
  * These additional methods are available only in the SAS Visual Investigator Investigate and Search interface.
66
- * Accessed from the window at window.sas.vi.search.
66
+ *
67
+ * Accessed from the window at `window.sas.vi.search`.
68
+ *
67
69
  * @extends SearchApi
70
+ * @example window.sas.vi.search.navigateSearch("query text", "map");
71
+ * @category API
68
72
  */
69
73
  export interface ClientSearchApi extends SearchApi {
70
74
  /**
@@ -0,0 +1 @@
1
+ export * from "./client-search-api";
@@ -0,0 +1 @@
1
+ export * from "./client-search-api";
@@ -4,6 +4,6 @@
4
4
  "**/*.d.ts",
5
5
  "**/*.js"
6
6
  ],
7
- "main": "public-api.js",
8
- "types": "public-api.d.ts"
7
+ "main": "index.js",
8
+ "types": "index.d.ts"
9
9
  }
@@ -45,7 +45,11 @@ export interface QueryBuilderResult {
45
45
  }
46
46
  /**
47
47
  * This API relates to SAS Visual Investigator's search functionality.
48
- * Accessed from the window at window.sas.vi.search.
48
+ *
49
+ * Accessed from the window at `window.sas.vi.search`.
50
+ *
51
+ * @example window.sas.vi.search.openQueryBuilderDialog("Dialog Title");
52
+ * @category API
49
53
  */
50
54
  export interface SearchApi {
51
55
  /**
@@ -4,6 +4,6 @@
4
4
  "**/*.d.ts",
5
5
  "**/*.js"
6
6
  ],
7
- "main": "public-api.js",
8
- "types": "public-api.d.ts"
7
+ "main": "index.js",
8
+ "types": "index.d.ts"
9
9
  }
@@ -2,7 +2,11 @@ import { ObjectIdentifier, ObjectSheetSettings, VIObject } from "../object/objec
2
2
  import { NetworkData, Visualization } from "../search/client/client-search-api";
3
3
  /**
4
4
  * This API relates to SAS Visual Investigator's sheet functionality.
5
- * Accessed from the window at window.sas.vi.sheet.
5
+ *
6
+ * Accessed from the window at `window.sas.vi.sheet`.
7
+ *
8
+ * @example window.sas.vi.sheet.getOpenObjects();
9
+ * @category API
6
10
  */
7
11
  export interface SheetApi {
8
12
  /**
@@ -4,6 +4,6 @@
4
4
  "**/*.d.ts",
5
5
  "**/*.js"
6
6
  ],
7
- "main": "public-api.js",
8
- "types": "public-api.d.ts"
7
+ "main": "index.js",
8
+ "types": "index.d.ts"
9
9
  }
@@ -19,7 +19,7 @@ export interface INavigationBarTab<D = {
19
19
  /** label for the tab, can be String or the resource.key (if .isLabelResourceKey:true) */
20
20
  label: string;
21
21
  /** a weight used during .sort to order the tabs; will default to the order the tabs came as
22
- * doesnt mean their array index, as many can be the same, negatives, fractions
22
+ * doesn't mean their array index, as many can be the same, negatives, fractions
23
23
  * */
24
24
  sortIndex?: number;
25
25
  /** when true, will use resourceService.get to resolve INavigationBarTab.label */
@@ -115,14 +115,18 @@ export interface ExternalTabConfig<T = SviShellTabData, P = any> {
115
115
  }
116
116
  /**
117
117
  * This API provides functionality relating to the shell tabs.
118
- * Accessed from the window at window.sas.vi.shellTabs.
118
+ *
119
+ * Accessed from the window at `window.sas.vi.shellTabs`.
120
+ *
121
+ * @example window.sas.vi.shellTabs.getSelectedTab();
122
+ * @category API
119
123
  */
120
124
  export interface ShellTabsApi<T = SviShellTabData> {
121
125
  /**
122
126
  * @method
123
127
  * @description This is used to expose any {@link PotentialTabItem} hooks on a component up to the Tab Service.
124
- * @param [context] {this} pass "this"
125
- * @param [elRef] {HTMLElement} This will pass the ElementRef for the component
128
+ * @param {any} context pass "this"
129
+ * @param {HTMLElement} nativeElement This will pass the ElementRef for the component
126
130
  *
127
131
  * onTabClose {@link OnTabClose}, optional, can be used to prevent closing of a tab or close async
128
132
  * onAttachTab {@link OnAttachTab}, will always trigger when currentNavigationBarTab has set
@@ -135,13 +139,13 @@ export interface ShellTabsApi<T = SviShellTabData> {
135
139
  /**
136
140
  * @method
137
141
  * @description Use this function to register new routes for tabs.
138
- * @param [tabsToAdd] {ExternalTabConfig[]} - See {@link ExternalTabConfig}
142
+ * @param {ExternalTabConfig[]} tab See {@link ExternalTabConfig}
139
143
  */
140
144
  registerExternalTabs: (tab: Array<ExternalTabConfig<T>>) => void;
141
145
  /**
142
146
  * @method
143
147
  * @description Use this function to remove routes added via registerTabFn.
144
- * @param [tabsToRemove] {ExternalTabConfig[]} - See {@link ExternalTabConfig}
148
+ * @param {ExternalTabConfig[]} tabsToRemove See {@link ExternalTabConfig}
145
149
  */
146
150
  unregisterExternalTabs: (tabsToRemove: Array<ExternalTabConfig<T>>) => void;
147
151
  /**
@@ -213,7 +217,7 @@ export interface ShellTabsApi<T = SviShellTabData> {
213
217
  * @method
214
218
  * @description This will remove an application tab, if allowed, and will trigger any closing and saving logic beforehand.
215
219
  * @param [tabIdToRemove] {string} This will be ID of an existing tab.
216
- * @param [suppressNavigation] {boolean} Set supressNavigation to true if you want to close a tab that isn't open.
220
+ * @param [suppressNavigation] {boolean} Set suppressNavigation to true if you want to close a tab that isn't open.
217
221
  */
218
222
  removeApplicationTabById: (tabIdToRemove: string, suppressNavigation?: boolean) => Promise<boolean>;
219
223
  /**