@sassoftware/vi-api 1.40.4 → 1.44.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 (133) hide show
  1. package/README.md +36 -5
  2. package/alert-reps/index.d.ts +16 -3
  3. package/alert-reps/package.json +1 -1
  4. package/component/index.d.ts +5 -1
  5. package/component/package.json +2 -2
  6. package/config/config-api.d.ts +23 -3
  7. package/config/config-api.js +10 -0
  8. package/config/package.json +2 -2
  9. package/control/control-api.d.ts +40 -8
  10. package/control/events.d.ts +1 -1
  11. package/control/masking-api.d.ts +187 -0
  12. package/control/masking-api.js +3 -0
  13. package/control/package.json +2 -2
  14. package/control/restrictions.d.ts +7 -1
  15. package/current-user/currentUser-api.d.ts +7 -2
  16. package/current-user/package.json +2 -2
  17. package/elements/bindings.d.ts +25 -0
  18. package/elements/identity-select.d.ts +274 -0
  19. package/elements/identity-select.js +24 -0
  20. package/elements/index.d.ts +49 -0
  21. package/elements/index.js +50 -0
  22. package/elements/labelled-control.d.ts +47 -0
  23. package/elements/labelled-control.js +1 -0
  24. package/elements/mask-toggle-button.d.ts +37 -0
  25. package/elements/mask-toggle-button.js +1 -0
  26. package/elements/package.json +9 -0
  27. package/event/event-api.d.ts +10 -5
  28. package/event/event-api.js +3 -2
  29. package/event/package.json +2 -2
  30. package/file/file-api.d.ts +5 -1
  31. package/file/package.json +2 -2
  32. package/http/index.d.ts +5 -1
  33. package/http/package.json +2 -2
  34. package/index.d.ts +3 -1
  35. package/init/index.d.ts +12 -7
  36. package/init/index.js +3 -2
  37. package/init/package.json +2 -2
  38. package/localization/localization-api.d.ts +24 -9
  39. package/localization/package.json +2 -2
  40. package/metadata/admin/admin-metadata-api.d.ts +5 -1
  41. package/metadata/admin/index.d.ts +1 -0
  42. package/metadata/admin/index.js +1 -0
  43. package/metadata/metadata-api.d.ts +9 -5
  44. package/metadata/package.json +2 -2
  45. package/object/object-api.d.ts +15 -9
  46. package/object/package.json +2 -2
  47. package/package.json +3 -3
  48. package/page-admin/package.json +2 -2
  49. package/page-admin/page-admin-api.d.ts +5 -1
  50. package/page-model/package.json +2 -2
  51. package/page-model/page-model-api.d.ts +7 -6
  52. package/page-model/page-model-api.js +10 -0
  53. package/page-state/package.json +2 -2
  54. package/page-state/page-state-api.d.ts +4 -1
  55. package/page-template/package.json +2 -2
  56. package/page-template/page-template-api.d.ts +5 -1
  57. package/property/package.json +2 -2
  58. package/property/property-api.d.ts +6 -2
  59. package/reference-data/package.json +2 -2
  60. package/reference-data/refData.d.ts +4 -1
  61. package/resource/package.json +2 -2
  62. package/resource/resource-api.d.ts +5 -1
  63. package/score-reps/index.d.ts +11 -2
  64. package/score-reps/package.json +1 -1
  65. package/search/client/client-search-api.d.ts +7 -3
  66. package/search/client/index.d.ts +1 -0
  67. package/search/client/index.js +1 -0
  68. package/search/package.json +2 -2
  69. package/search/search-api.d.ts +5 -1
  70. package/sheet/package.json +2 -2
  71. package/sheet/sheet-api.d.ts +5 -1
  72. package/shell-tabs/package.json +2 -2
  73. package/shell-tabs/shell-tabs-api.d.ts +11 -7
  74. package/svi-datahub/index.d.ts +266 -231
  75. package/svi-datahub/package.json +1 -1
  76. package/svi-sand/index.d.ts +29 -2
  77. package/svi-sand/package.json +1 -1
  78. package/tab/package.json +2 -2
  79. package/tab/tab-api.d.ts +5 -1
  80. package/theme/package.json +2 -2
  81. package/theme/theme-api.d.ts +6 -2
  82. package/traversal/package.json +2 -2
  83. package/traversal/traversal-api.d.ts +5 -1
  84. package/component/public-api.d.ts +0 -1
  85. package/component/public-api.js +0 -1
  86. package/http/public-api.d.ts +0 -1
  87. package/http/public-api.js +0 -1
  88. package/init/public-api.d.ts +0 -1
  89. package/init/public-api.js +0 -1
  90. package/public-api.d.ts +0 -1
  91. /package/config/{public-api.d.ts → index.d.ts} +0 -0
  92. /package/config/{public-api.js → index.js} +0 -0
  93. /package/control/{public-api.d.ts → index.d.ts} +0 -0
  94. /package/control/{public-api.js → index.js} +0 -0
  95. /package/current-user/{public-api.d.ts → index.d.ts} +0 -0
  96. /package/current-user/{public-api.js → index.js} +0 -0
  97. /package/{public-api.js → elements/bindings.js} +0 -0
  98. /package/event/{public-api.d.ts → index.d.ts} +0 -0
  99. /package/event/{public-api.js → index.js} +0 -0
  100. /package/file/{public-api.d.ts → index.d.ts} +0 -0
  101. /package/file/{public-api.js → index.js} +0 -0
  102. /package/localization/{public-api.d.ts → index.d.ts} +0 -0
  103. /package/localization/{public-api.js → index.js} +0 -0
  104. /package/metadata/{public-api.d.ts → index.d.ts} +0 -0
  105. /package/metadata/{public-api.js → index.js} +0 -0
  106. /package/object/{public-api.d.ts → index.d.ts} +0 -0
  107. /package/object/{public-api.js → index.js} +0 -0
  108. /package/page-admin/{public-api.d.ts → index.d.ts} +0 -0
  109. /package/page-admin/{public-api.js → index.js} +0 -0
  110. /package/page-model/{public-api.d.ts → index.d.ts} +0 -0
  111. /package/page-model/{public-api.js → index.js} +0 -0
  112. /package/page-state/{public-api.d.ts → index.d.ts} +0 -0
  113. /package/page-state/{public-api.js → index.js} +0 -0
  114. /package/page-template/{public-api.d.ts → index.d.ts} +0 -0
  115. /package/page-template/{public-api.js → index.js} +0 -0
  116. /package/property/{public-api.d.ts → index.d.ts} +0 -0
  117. /package/property/{public-api.js → index.js} +0 -0
  118. /package/reference-data/{public-api.d.ts → index.d.ts} +0 -0
  119. /package/reference-data/{public-api.js → index.js} +0 -0
  120. /package/resource/{public-api.d.ts → index.d.ts} +0 -0
  121. /package/resource/{public-api.js → index.js} +0 -0
  122. /package/search/{public-api.d.ts → index.d.ts} +0 -0
  123. /package/search/{public-api.js → index.js} +0 -0
  124. /package/sheet/{public-api.d.ts → index.d.ts} +0 -0
  125. /package/sheet/{public-api.js → index.js} +0 -0
  126. /package/shell-tabs/{public-api.d.ts → index.d.ts} +0 -0
  127. /package/shell-tabs/{public-api.js → index.js} +0 -0
  128. /package/tab/{public-api.d.ts → index.d.ts} +0 -0
  129. /package/tab/{public-api.js → index.js} +0 -0
  130. /package/theme/{public-api.d.ts → index.d.ts} +0 -0
  131. /package/theme/{public-api.js → index.js} +0 -0
  132. /package/traversal/{public-api.d.ts → index.d.ts} +0 -0
  133. /package/traversal/{public-api.js → index.js} +0 -0
@@ -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
  /**