@thoughtspot/visual-embed-sdk 1.28.1-alpha.1 → 1.28.1
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/README.md +1 -1
- package/cjs/package.json +1 -1
- package/cjs/src/auth.d.ts.map +1 -1
- package/cjs/src/auth.js +2 -2
- package/cjs/src/auth.js.map +1 -1
- package/cjs/src/authToken.d.ts +0 -6
- package/cjs/src/authToken.d.ts.map +1 -1
- package/cjs/src/authToken.js +0 -6
- package/cjs/src/authToken.js.map +1 -1
- package/cjs/src/embed/app.d.ts +6 -12
- package/cjs/src/embed/app.d.ts.map +1 -1
- package/cjs/src/embed/app.js +2 -2
- package/cjs/src/embed/app.js.map +1 -1
- package/cjs/src/embed/base.d.ts +1 -1
- package/cjs/src/embed/base.d.ts.map +1 -1
- package/cjs/src/embed/base.js +5 -7
- package/cjs/src/embed/base.js.map +1 -1
- package/cjs/src/embed/base.spec.js +1 -1
- package/cjs/src/embed/base.spec.js.map +1 -1
- package/cjs/src/embed/liveboard.d.ts +2 -8
- package/cjs/src/embed/liveboard.d.ts.map +1 -1
- package/cjs/src/embed/liveboard.js.map +1 -1
- package/cjs/src/embed/search.d.ts +5 -11
- package/cjs/src/embed/search.d.ts.map +1 -1
- package/cjs/src/embed/search.js +4 -4
- package/cjs/src/embed/search.js.map +1 -1
- package/cjs/src/embed/ts-embed.d.ts +1 -1
- package/cjs/src/embed/ts-embed.d.ts.map +1 -1
- package/cjs/src/embed/ts-embed.js +6 -6
- package/cjs/src/embed/ts-embed.js.map +1 -1
- package/cjs/src/embed/ts-embed.spec.js +18 -9
- package/cjs/src/embed/ts-embed.spec.js.map +1 -1
- package/cjs/src/index.d.ts +0 -1
- package/cjs/src/index.d.ts.map +1 -1
- package/cjs/src/index.js +1 -3
- package/cjs/src/index.js.map +1 -1
- package/cjs/src/react/index.spec.js +12 -0
- package/cjs/src/react/index.spec.js.map +1 -1
- package/cjs/src/types.d.ts +14 -21
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +3 -11
- package/cjs/src/types.js.map +1 -1
- package/dist/src/auth.d.ts.map +1 -1
- package/dist/src/authToken.d.ts +0 -6
- package/dist/src/authToken.d.ts.map +1 -1
- package/dist/src/embed/app.d.ts +6 -12
- package/dist/src/embed/app.d.ts.map +1 -1
- package/dist/src/embed/base.d.ts +1 -1
- package/dist/src/embed/base.d.ts.map +1 -1
- package/dist/src/embed/liveboard.d.ts +2 -8
- package/dist/src/embed/liveboard.d.ts.map +1 -1
- package/dist/src/embed/search.d.ts +5 -11
- package/dist/src/embed/search.d.ts.map +1 -1
- package/dist/src/embed/ts-embed.d.ts +1 -1
- package/dist/src/embed/ts-embed.d.ts.map +1 -1
- package/dist/src/index.d.ts +0 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/types.d.ts +14 -21
- package/dist/src/types.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +1445 -1459
- package/dist/tsembed-react.js +2219 -2233
- package/dist/tsembed.es.js +1830 -1845
- package/dist/tsembed.js +15342 -15358
- package/dist/visual-embed-sdk-react-full.d.ts +25 -59
- package/dist/visual-embed-sdk-react.d.ts +25 -59
- package/dist/visual-embed-sdk.d.ts +25 -59
- package/lib/package.json +1 -1
- package/lib/src/auth.d.ts.map +1 -1
- package/lib/src/auth.js +3 -3
- package/lib/src/auth.js.map +1 -1
- package/lib/src/authToken.d.ts +0 -6
- package/lib/src/authToken.d.ts.map +1 -1
- package/lib/src/authToken.js +0 -6
- package/lib/src/authToken.js.map +1 -1
- package/lib/src/embed/app.d.ts +6 -12
- package/lib/src/embed/app.d.ts.map +1 -1
- package/lib/src/embed/app.js +2 -2
- package/lib/src/embed/app.js.map +1 -1
- package/lib/src/embed/base.d.ts +1 -1
- package/lib/src/embed/base.d.ts.map +1 -1
- package/lib/src/embed/base.js +5 -7
- package/lib/src/embed/base.js.map +1 -1
- package/lib/src/embed/base.spec.js +2 -2
- package/lib/src/embed/base.spec.js.map +1 -1
- package/lib/src/embed/liveboard.d.ts +2 -8
- package/lib/src/embed/liveboard.d.ts.map +1 -1
- package/lib/src/embed/liveboard.js +1 -1
- package/lib/src/embed/liveboard.js.map +1 -1
- package/lib/src/embed/search.d.ts +5 -11
- package/lib/src/embed/search.d.ts.map +1 -1
- package/lib/src/embed/search.js +5 -5
- package/lib/src/embed/search.js.map +1 -1
- package/lib/src/embed/ts-embed.d.ts +1 -1
- package/lib/src/embed/ts-embed.d.ts.map +1 -1
- package/lib/src/embed/ts-embed.js +9 -9
- package/lib/src/embed/ts-embed.js.map +1 -1
- package/lib/src/embed/ts-embed.spec.js +18 -9
- package/lib/src/embed/ts-embed.spec.js.map +1 -1
- package/lib/src/index.d.ts +0 -1
- package/lib/src/index.d.ts.map +1 -1
- package/lib/src/index.js +0 -1
- package/lib/src/index.js.map +1 -1
- package/lib/src/react/index.spec.js +12 -0
- package/lib/src/react/index.spec.js.map +1 -1
- package/lib/src/types.d.ts +14 -21
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +3 -11
- package/lib/src/types.js.map +1 -1
- package/lib/src/utils/authService/authService.spec.js +1 -1
- package/lib/src/utils/authService/authService.spec.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +29 -67
- package/package.json +1 -1
- package/src/auth.ts +6 -6
- package/src/authToken.ts +0 -6
- package/src/embed/app.ts +8 -19
- package/src/embed/base.spec.ts +3 -3
- package/src/embed/base.ts +12 -14
- package/src/embed/liveboard.ts +3 -16
- package/src/embed/search.ts +10 -19
- package/src/embed/ts-embed.spec.ts +34 -26
- package/src/embed/ts-embed.ts +39 -43
- package/src/index.ts +0 -2
- package/src/react/index.spec.tsx +29 -0
- package/src/types.ts +15 -22
- package/src/utils/authService/authService.spec.ts +4 -4
|
@@ -26,7 +26,6 @@ declare module '@thoughtspot/visual-embed-sdk' {
|
|
|
26
26
|
import { uploadMixpanelEvent, MIXPANEL_EVENT } from '@thoughtspot/visual-embed-sdk/mixpanel-service';
|
|
27
27
|
import { tokenizedFetch } from '@thoughtspot/visual-embed-sdk/tokenizedFetch';
|
|
28
28
|
export { init, logout, prefetch, executeTML, exportTML, executeTMLInput, exportTMLInput, getEmbedConfig as getInitConfig, getSessionInfo, tokenizedFetch, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, SageEmbed, AppEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, AnswerService, SessionInterface, UnderlyingDataPoint, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, ContextMenuTriggerOptions, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, SageViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, HomeLeftNavItem, HomepageModule, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, RuntimeParameter, LogLevel, uploadMixpanelEvent, MIXPANEL_EVENT, VizPoint, CustomActionPayload, };
|
|
29
|
-
export { resetCachedAuthToken } from '@thoughtspot/visual-embed-sdk/authToken';
|
|
30
29
|
}
|
|
31
30
|
|
|
32
31
|
declare module '@thoughtspot/visual-embed-sdk/embed/app' {
|
|
@@ -40,7 +39,7 @@ declare module '@thoughtspot/visual-embed-sdk/embed/app' {
|
|
|
40
39
|
* @module
|
|
41
40
|
* @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
|
|
42
41
|
*/
|
|
43
|
-
import { DOMSelector,
|
|
42
|
+
import { DOMSelector, MessagePayload, ViewConfig } from '@thoughtspot/visual-embed-sdk/types';
|
|
44
43
|
import { V1Embed } from '@thoughtspot/visual-embed-sdk/embed/ts-embed';
|
|
45
44
|
/**
|
|
46
45
|
* Pages within the ThoughtSpot app that can be embedded.
|
|
@@ -88,7 +87,6 @@ declare module '@thoughtspot/visual-embed-sdk/embed/app' {
|
|
|
88
87
|
*
|
|
89
88
|
* @default true
|
|
90
89
|
* @version SDK: 1.2.0 | Thoughtspot: 8.4.0.cl
|
|
91
|
-
*
|
|
92
90
|
* @example
|
|
93
91
|
* ```js
|
|
94
92
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -104,6 +102,7 @@ declare module '@thoughtspot/visual-embed-sdk/embed/app' {
|
|
|
104
102
|
* nav-bars are visible, this flag will only hide the homepage left nav-bar.
|
|
105
103
|
* The showPrimaryNavbar flag takes precedence over the hideHomepageLeftNav.
|
|
106
104
|
*
|
|
105
|
+
*
|
|
107
106
|
* **Note**: This option does not apply to the classic homepage.
|
|
108
107
|
* To access the updated modular homepage, set
|
|
109
108
|
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
@@ -123,9 +122,9 @@ declare module '@thoughtspot/visual-embed-sdk/embed/app' {
|
|
|
123
122
|
/**
|
|
124
123
|
* Control the visibility of the help (?) and profile buttons on the
|
|
125
124
|
* Global nav-bar. By default, these buttons are visible on the nav-bar.
|
|
125
|
+
*
|
|
126
126
|
* @default false
|
|
127
127
|
* @version SDK: 1.2.0 | Thoughtspot: 8.4.0.cl
|
|
128
|
-
*
|
|
129
128
|
* @example
|
|
130
129
|
* ```js
|
|
131
130
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -139,6 +138,7 @@ declare module '@thoughtspot/visual-embed-sdk/embed/app' {
|
|
|
139
138
|
* Control the visibility of the application switcher button on the nav-bar.
|
|
140
139
|
* By default, the application switcher is shown.
|
|
141
140
|
*
|
|
141
|
+
*
|
|
142
142
|
* **Note**: This option does not apply to the classic homepage.
|
|
143
143
|
* To access the updated modular homepage, set
|
|
144
144
|
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
@@ -159,6 +159,7 @@ declare module '@thoughtspot/visual-embed-sdk/embed/app' {
|
|
|
159
159
|
* Control the visibility of the Org switcher button on the nav-bar.
|
|
160
160
|
* By default, the Org switcher button is shown.
|
|
161
161
|
*
|
|
162
|
+
*
|
|
162
163
|
* **Note**: This option does not apply to the classic homepage.
|
|
163
164
|
* To access the updated modular homepage, set
|
|
164
165
|
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
@@ -185,7 +186,6 @@ declare module '@thoughtspot/visual-embed-sdk/embed/app' {
|
|
|
185
186
|
* you could set the path to `pinboard/<liveboardId>/tab/<tabId>`.
|
|
186
187
|
*
|
|
187
188
|
* @version SDK: 1.1.0 | Thoughtspot: 9.4.0.cl
|
|
188
|
-
*
|
|
189
189
|
* @example
|
|
190
190
|
* ```js
|
|
191
191
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -203,7 +203,6 @@ declare module '@thoughtspot/visual-embed-sdk/embed/app' {
|
|
|
203
203
|
* path within the app, use the `path` attribute which is more flexible.
|
|
204
204
|
*
|
|
205
205
|
* @version SDK: 1.1.0 | Thoughtspot: 9.4.0.cl
|
|
206
|
-
*
|
|
207
206
|
* @example
|
|
208
207
|
* ```js
|
|
209
208
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -232,7 +231,6 @@ declare module '@thoughtspot/visual-embed-sdk/embed/app' {
|
|
|
232
231
|
* The array of GUIDs to be hidden
|
|
233
232
|
*
|
|
234
233
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1-sw
|
|
235
|
-
*
|
|
236
234
|
* @example
|
|
237
235
|
* ```js
|
|
238
236
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -255,10 +253,9 @@ declare module '@thoughtspot/visual-embed-sdk/embed/app' {
|
|
|
255
253
|
liveboardV2?: boolean;
|
|
256
254
|
/**
|
|
257
255
|
* If set to true, the Search Assist feature is enabled.
|
|
258
|
-
* @default true
|
|
259
256
|
*
|
|
257
|
+
* @default true
|
|
260
258
|
* @version SDK: 1.13.0 | ThoughtSpot: 8.5.0.cl, 8.8.1-sw
|
|
261
|
-
*
|
|
262
259
|
* @example
|
|
263
260
|
* ```js
|
|
264
261
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -273,7 +270,6 @@ declare module '@thoughtspot/visual-embed-sdk/embed/app' {
|
|
|
273
270
|
* according to the height of the pages which support fullHeight mode.
|
|
274
271
|
*
|
|
275
272
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.4.0.cl, 9.4.0-sw
|
|
276
|
-
*
|
|
277
273
|
* @example
|
|
278
274
|
* ```js
|
|
279
275
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -296,7 +292,6 @@ declare module '@thoughtspot/visual-embed-sdk/embed/app' {
|
|
|
296
292
|
*
|
|
297
293
|
* @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
|
|
298
294
|
* @default false
|
|
299
|
-
*
|
|
300
295
|
* @example
|
|
301
296
|
* ```js
|
|
302
297
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -311,7 +306,6 @@ declare module '@thoughtspot/visual-embed-sdk/embed/app' {
|
|
|
311
306
|
*
|
|
312
307
|
* @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
|
|
313
308
|
* @default false
|
|
314
|
-
*
|
|
315
309
|
* @example
|
|
316
310
|
* ```js
|
|
317
311
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -326,7 +320,6 @@ declare module '@thoughtspot/visual-embed-sdk/embed/app' {
|
|
|
326
320
|
*
|
|
327
321
|
* @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
|
|
328
322
|
* @default false
|
|
329
|
-
*
|
|
330
323
|
* @example
|
|
331
324
|
* ```js
|
|
332
325
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -422,8 +415,8 @@ declare module '@thoughtspot/visual-embed-sdk/embed/app' {
|
|
|
422
415
|
}
|
|
423
416
|
|
|
424
417
|
declare module '@thoughtspot/visual-embed-sdk/embed/base' {
|
|
418
|
+
import { AuthEventEmitter, notifyAuthFailure, notifyAuthSDKSuccess, notifyAuthSuccess, notifyLogout } from '@thoughtspot/visual-embed-sdk/auth';
|
|
425
419
|
import { EmbedConfig, PrefetchFeatures } from '@thoughtspot/visual-embed-sdk/types';
|
|
426
|
-
import { notifyAuthFailure, notifyAuthSDKSuccess, notifyAuthSuccess, notifyLogout, AuthEventEmitter } from '@thoughtspot/visual-embed-sdk/auth';
|
|
427
420
|
export interface executeTMLInput {
|
|
428
421
|
metadata_tmls: string[];
|
|
429
422
|
import_policy?: 'PARTIAL' | 'ALL_OR_NONE' | 'VALIDATE_ONLY';
|
|
@@ -593,7 +586,6 @@ declare module '@thoughtspot/visual-embed-sdk/embed/liveboard' {
|
|
|
593
586
|
* incrementally as users scroll the page to view the charts and tables.
|
|
594
587
|
*
|
|
595
588
|
* @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 7.2.1
|
|
596
|
-
*
|
|
597
589
|
* @example
|
|
598
590
|
* ```js
|
|
599
591
|
* const embed = new LiveboardEmbed('#embed', {
|
|
@@ -622,7 +614,6 @@ declare module '@thoughtspot/visual-embed-sdk/embed/liveboard' {
|
|
|
622
614
|
defaultHeight?: number;
|
|
623
615
|
/**
|
|
624
616
|
* @Deprecated If set to true, the context menu in visualizations will be enabled.
|
|
625
|
-
*
|
|
626
617
|
* @example
|
|
627
618
|
* ```js
|
|
628
619
|
* const embed = new LiveboardEmbed('#tsEmbed', {
|
|
@@ -630,7 +621,6 @@ declare module '@thoughtspot/visual-embed-sdk/embed/liveboard' {
|
|
|
630
621
|
* enableVizTransformations:true,
|
|
631
622
|
* })
|
|
632
623
|
* ```
|
|
633
|
-
*
|
|
634
624
|
* @version: SDK: 1.1.0 | ThoughtSpot: 8.1.0.sw
|
|
635
625
|
*/
|
|
636
626
|
enableVizTransformations?: boolean;
|
|
@@ -657,7 +647,6 @@ declare module '@thoughtspot/visual-embed-sdk/embed/liveboard' {
|
|
|
657
647
|
* The visualization within the Liveboard to display.
|
|
658
648
|
*
|
|
659
649
|
* @version SDK: 1.9.1 | ThoughtSpot: 8.1.0.cl, 8.4.1-sw
|
|
660
|
-
*
|
|
661
650
|
* @example
|
|
662
651
|
* ```js
|
|
663
652
|
* const embed = new LiveboardEmbed('#embed-container', {
|
|
@@ -687,7 +676,6 @@ declare module '@thoughtspot/visual-embed-sdk/embed/liveboard' {
|
|
|
687
676
|
* event.
|
|
688
677
|
*
|
|
689
678
|
* @version SDK: 1.9.1 | ThoughtSpot: 8.1.0.cl, 8.4.1-sw
|
|
690
|
-
*
|
|
691
679
|
* @example
|
|
692
680
|
* ```js
|
|
693
681
|
* const embed = new LiveboardEmbed('#embed-container', {
|
|
@@ -737,7 +725,6 @@ declare module '@thoughtspot/visual-embed-sdk/embed/liveboard' {
|
|
|
737
725
|
* Show or hide the tab panel of the embedded Liveboard.
|
|
738
726
|
*
|
|
739
727
|
* @version SDK: 1.25.0 | Thoughtspot: 9.6.0.cl, 9.8.0.sw
|
|
740
|
-
*
|
|
741
728
|
* @example
|
|
742
729
|
* ```js
|
|
743
730
|
* const embed = new LiveboardEmbed('#embed-container', {
|
|
@@ -763,9 +750,9 @@ declare module '@thoughtspot/visual-embed-sdk/embed/liveboard' {
|
|
|
763
750
|
hideLiveboardHeader?: boolean;
|
|
764
751
|
/**
|
|
765
752
|
* Show or hide the Liveboard title.
|
|
753
|
+
*
|
|
766
754
|
* @default false
|
|
767
755
|
* @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
|
|
768
|
-
*
|
|
769
756
|
* @example
|
|
770
757
|
* ```js
|
|
771
758
|
* const embed = new LiveboardEmbed('#embed-container', {
|
|
@@ -777,9 +764,9 @@ declare module '@thoughtspot/visual-embed-sdk/embed/liveboard' {
|
|
|
777
764
|
showLiveboardTitle?: boolean;
|
|
778
765
|
/**
|
|
779
766
|
* Show or hide the Liveboard description.
|
|
767
|
+
*
|
|
780
768
|
* @default false
|
|
781
769
|
* @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
|
|
782
|
-
*
|
|
783
770
|
* @example
|
|
784
771
|
* ```js
|
|
785
772
|
* const embed = new LiveboardEmbed('#embed-container', {
|
|
@@ -877,7 +864,7 @@ declare module '@thoughtspot/visual-embed-sdk/embed/search' {
|
|
|
877
864
|
* @summary Search embed
|
|
878
865
|
* @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
|
|
879
866
|
*/
|
|
880
|
-
import {
|
|
867
|
+
import { Action, DOMSelector, ViewConfig } from '@thoughtspot/visual-embed-sdk/types';
|
|
881
868
|
import { TsEmbed } from '@thoughtspot/visual-embed-sdk/embed/ts-embed';
|
|
882
869
|
/**
|
|
883
870
|
* Configuration for search options.
|
|
@@ -907,7 +894,6 @@ declare module '@thoughtspot/visual-embed-sdk/embed/search' {
|
|
|
907
894
|
* but can be expanded manually.
|
|
908
895
|
*
|
|
909
896
|
* @version: SDK: 1.1.0 | ThoughtSpot: 8.1.0.sw
|
|
910
|
-
*
|
|
911
897
|
* @example
|
|
912
898
|
* ```js
|
|
913
899
|
* const embed = new SearchEmbed('#tsEmbed', {
|
|
@@ -921,7 +907,6 @@ declare module '@thoughtspot/visual-embed-sdk/embed/search' {
|
|
|
921
907
|
* Show or hide the data sources panel.
|
|
922
908
|
*
|
|
923
909
|
* @version: SDK: 1.2.0 | ThoughtSpot: 9.1.0.sw
|
|
924
|
-
*
|
|
925
910
|
* @example
|
|
926
911
|
* ```js
|
|
927
912
|
* const embed = new SearchEmbed('#tsEmbed', {
|
|
@@ -937,7 +922,6 @@ declare module '@thoughtspot/visual-embed-sdk/embed/search' {
|
|
|
937
922
|
* using raw answer data.
|
|
938
923
|
*
|
|
939
924
|
* @version: SDK: 1.2.0 | ThoughtSpot: 9.1.0.sw
|
|
940
|
-
*
|
|
941
925
|
* @example
|
|
942
926
|
* ```js
|
|
943
927
|
* const embed = new SearchEmbed('#tsEmbed', {
|
|
@@ -947,11 +931,14 @@ declare module '@thoughtspot/visual-embed-sdk/embed/search' {
|
|
|
947
931
|
* ```
|
|
948
932
|
*/
|
|
949
933
|
hideResults?: boolean;
|
|
934
|
+
/**
|
|
935
|
+
* If set to true, expands all the data sources panel.
|
|
936
|
+
*/
|
|
937
|
+
expandAllDataSource?: boolean;
|
|
950
938
|
/**
|
|
951
939
|
* If set to true, the Search Assist feature is enabled.
|
|
952
940
|
*
|
|
953
941
|
* @version SDK: 1.13.0 | ThoughtSpot: 8.5.0.cl, 8.8.1-sw
|
|
954
|
-
*
|
|
955
942
|
* @example
|
|
956
943
|
* ```js
|
|
957
944
|
* const embed = new SearchEmbed('#tsEmbed', {
|
|
@@ -966,7 +953,6 @@ declare module '@thoughtspot/visual-embed-sdk/embed/search' {
|
|
|
966
953
|
* format for presenting search data.
|
|
967
954
|
*
|
|
968
955
|
* @version: SDK: 1.1.0 | ThoughtSpot: 8.1.0.sw
|
|
969
|
-
*
|
|
970
956
|
* @example
|
|
971
957
|
* ```js
|
|
972
958
|
* const embed = new SearchEmbed('#tsEmbed', {
|
|
@@ -980,7 +966,6 @@ declare module '@thoughtspot/visual-embed-sdk/embed/search' {
|
|
|
980
966
|
* Only a single data source is supported currently.
|
|
981
967
|
*
|
|
982
968
|
* @deprecated Use `dataSource` instead.
|
|
983
|
-
*
|
|
984
969
|
* @example
|
|
985
970
|
* ```js
|
|
986
971
|
* const embed = new SearchEmbed('#tsEmbed', {
|
|
@@ -994,7 +979,6 @@ declare module '@thoughtspot/visual-embed-sdk/embed/search' {
|
|
|
994
979
|
* The array of data source GUIDs to set on load.
|
|
995
980
|
*
|
|
996
981
|
* @version: SDK: 1.19.0
|
|
997
|
-
*
|
|
998
982
|
* @example
|
|
999
983
|
* ```js
|
|
1000
984
|
* const embed = new SearchEmbed('#tsEmbed', {
|
|
@@ -1036,7 +1020,6 @@ declare module '@thoughtspot/visual-embed-sdk/embed/search' {
|
|
|
1036
1020
|
* The GUID of a saved answer to load initially.
|
|
1037
1021
|
*
|
|
1038
1022
|
* @version: SDK: 1.1.0 | ThoughtSpot: 8.1.0.sw
|
|
1039
|
-
*
|
|
1040
1023
|
* @example
|
|
1041
1024
|
* ```js
|
|
1042
1025
|
* const embed = new SearchEmbed('#tsEmbed', {
|
|
@@ -1051,7 +1034,6 @@ declare module '@thoughtspot/visual-embed-sdk/embed/search' {
|
|
|
1051
1034
|
* The chart/table should still be visible.
|
|
1052
1035
|
*
|
|
1053
1036
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.0.sw
|
|
1054
|
-
*
|
|
1055
1037
|
* @example
|
|
1056
1038
|
* ```js
|
|
1057
1039
|
* const embed = new SearchEmbed('#tsEmbed', {
|
|
@@ -1066,7 +1048,6 @@ declare module '@thoughtspot/visual-embed-sdk/embed/search' {
|
|
|
1066
1048
|
*
|
|
1067
1049
|
* @default false
|
|
1068
1050
|
* @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
|
|
1069
|
-
*
|
|
1070
1051
|
* @example
|
|
1071
1052
|
* ```js
|
|
1072
1053
|
* const embed = new SearchEmbed('#tsEmbed', {
|
|
@@ -1547,6 +1528,7 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
1547
1528
|
* .then((data) => data.token);
|
|
1548
1529
|
* }
|
|
1549
1530
|
* });
|
|
1531
|
+
* });
|
|
1550
1532
|
* ```
|
|
1551
1533
|
*/
|
|
1552
1534
|
TrustedAuthToken = "AuthServer",
|
|
@@ -2012,7 +1994,6 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
2012
1994
|
* object inside your app. Specify the values in pixels or percentage.
|
|
2013
1995
|
*
|
|
2014
1996
|
* @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 7.2.1
|
|
2015
|
-
*
|
|
2016
1997
|
* @example
|
|
2017
1998
|
* ```js
|
|
2018
1999
|
* const embed = new LiveboardEmbed('#embed', {
|
|
@@ -2051,6 +2032,7 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
2051
2032
|
disabledActions?: Action[];
|
|
2052
2033
|
/**
|
|
2053
2034
|
* The tooltip to display for disabled actions.
|
|
2035
|
+
*
|
|
2054
2036
|
* @version SDK: 1.6.0 | ThoughtSpot: ts8.nov.cl, 8.4.1.sw
|
|
2055
2037
|
* @example
|
|
2056
2038
|
* ```js
|
|
@@ -2068,7 +2050,6 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
2068
2050
|
* Use this to hide an action.
|
|
2069
2051
|
*
|
|
2070
2052
|
* @version SDK: 1.6.0 | ThoughtSpot: ts8.nov.cl, 8.4.1.sw
|
|
2071
|
-
*
|
|
2072
2053
|
* @example
|
|
2073
2054
|
* ```js
|
|
2074
2055
|
* const embed = new LiveboardEmbed('#embed', {
|
|
@@ -2089,7 +2070,6 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
2089
2070
|
*
|
|
2090
2071
|
* @version SDK: 1.6.0 | ThoughtSpot: ts8.nov.cl, 8.4.1.sw
|
|
2091
2072
|
* @important
|
|
2092
|
-
*
|
|
2093
2073
|
* @example
|
|
2094
2074
|
* ```js
|
|
2095
2075
|
* const embed = new LiveboardEmbed('#embed', {
|
|
@@ -2103,7 +2083,6 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
2103
2083
|
* Show alert messages and toast messages in the embedded view.
|
|
2104
2084
|
*
|
|
2105
2085
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
2106
|
-
*
|
|
2107
2086
|
* @example
|
|
2108
2087
|
* ```js
|
|
2109
2088
|
* const embed = new LiveboardEmbed('#embed-container', {
|
|
@@ -2118,7 +2097,6 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
2118
2097
|
* visualization, or Liveboard.
|
|
2119
2098
|
*
|
|
2120
2099
|
* @version SDK: 1.9.4 | ThoughtSpot 8.1.0.cl, 8.4.1.sw
|
|
2121
|
-
*
|
|
2122
2100
|
* @example
|
|
2123
2101
|
* ```js
|
|
2124
2102
|
* const embed = new LiveboardEmbed('#embed-container', {
|
|
@@ -2139,7 +2117,6 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
2139
2117
|
* visualization, or Liveboard.
|
|
2140
2118
|
*
|
|
2141
2119
|
* @version SDK : 1.25.0 | Thoughtspot: 9.2.0.cl, 9.5.0.sw
|
|
2142
|
-
*
|
|
2143
2120
|
* @example
|
|
2144
2121
|
* ```js
|
|
2145
2122
|
* const embed = new LiveboardEmbed('#embed-container', {
|
|
@@ -2174,6 +2151,7 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
2174
2151
|
* Warning: This option is for advanced use only and is used internally
|
|
2175
2152
|
* to control embed behavior in non-regular ways. We do not publish the
|
|
2176
2153
|
* list of supported keys and values associated with each.
|
|
2154
|
+
*
|
|
2177
2155
|
* @example
|
|
2178
2156
|
* ```js
|
|
2179
2157
|
* const embed = new LiveboardEmbed('#embed', {
|
|
@@ -2202,7 +2180,6 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
2202
2180
|
* child inside it.
|
|
2203
2181
|
*
|
|
2204
2182
|
* @version SDK: 1.2.0 | Thoughtspot: 9.0.0.cl, 9.0.0.sw
|
|
2205
|
-
*
|
|
2206
2183
|
* @example
|
|
2207
2184
|
* ```js
|
|
2208
2185
|
* const embed = new LiveboardEmbed('#embed-container', {
|
|
@@ -2288,9 +2265,15 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
2288
2265
|
* Hide the home page modules
|
|
2289
2266
|
* For example: hiddenHomepageModules = [HomepageModule.MyLibrary]
|
|
2290
2267
|
*
|
|
2268
|
+
*
|
|
2269
|
+
*
|
|
2291
2270
|
* **Note**: This option does not apply to the classic homepage.
|
|
2292
2271
|
* To access the updated modular homepage, set
|
|
2272
|
+
<<<<<<< HEAD
|
|
2273
|
+
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.0.cl).
|
|
2274
|
+
=======
|
|
2293
2275
|
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
2276
|
+
>>>>>>> 64e22666... typo fixes
|
|
2294
2277
|
*
|
|
2295
2278
|
* @version SDK: 1.28.0 | Thoughtspot: 9.12.5.cl
|
|
2296
2279
|
* @example
|
|
@@ -2300,13 +2283,13 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
2300
2283
|
* hiddenHomepageModules : [HomepageModule.Favorite,HomepageModule.Learning],
|
|
2301
2284
|
* })
|
|
2302
2285
|
* ```
|
|
2303
|
-
*
|
|
2304
2286
|
*/
|
|
2305
2287
|
hiddenHomepageModules?: HomepageModule[];
|
|
2306
2288
|
/**
|
|
2307
2289
|
* reordering the home page modules
|
|
2308
2290
|
* eg: reorderedHomepageModules = [HomepageModule.MyLibrary, HomepageModule.Watchlist]
|
|
2309
2291
|
*
|
|
2292
|
+
*
|
|
2310
2293
|
* **Note**: This option does not apply to the classic homepage.
|
|
2311
2294
|
* To access the updated modular homepage, set
|
|
2312
2295
|
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
@@ -2329,7 +2312,6 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
2329
2312
|
* Use either `visibleTabs` or `hiddenTabs`.
|
|
2330
2313
|
*
|
|
2331
2314
|
* @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
|
|
2332
|
-
*
|
|
2333
2315
|
* @example
|
|
2334
2316
|
* ```js
|
|
2335
2317
|
* const embed = new LiveboardEmbed('#embed-container', {
|
|
@@ -2355,6 +2337,8 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
2355
2337
|
* })
|
|
2356
2338
|
* ```
|
|
2357
2339
|
*
|
|
2340
|
+
*
|
|
2341
|
+
*
|
|
2358
2342
|
* **Note**: This option does not apply to the classic homepage.
|
|
2359
2343
|
* To access the updated modular homepage, set
|
|
2360
2344
|
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
@@ -2387,7 +2371,6 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
2387
2371
|
* @type {boolean}
|
|
2388
2372
|
* @default false
|
|
2389
2373
|
* @version SDK: 1.24.0 | ThoughtSpot:9.4.0.cl, 9.4.0.sw
|
|
2390
|
-
*
|
|
2391
2374
|
* @example
|
|
2392
2375
|
* ```js
|
|
2393
2376
|
* // Disable tracking PreRender size in the configuration
|
|
@@ -2791,7 +2774,8 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
2791
2774
|
*
|
|
2792
2775
|
* API - API call failure error.
|
|
2793
2776
|
*
|
|
2794
|
-
* FULLSCREEN - Error when presenting a Liveboard or visualization in full screen
|
|
2777
|
+
* FULLSCREEN - Error when presenting a Liveboard or visualization in full screen
|
|
2778
|
+
* mode.
|
|
2795
2779
|
*
|
|
2796
2780
|
* SINGLE_VALUE_FILTER - Error due to multiple values in the single value filter.
|
|
2797
2781
|
*
|
|
@@ -5332,16 +5316,6 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
5332
5316
|
* @version SDK : 1.27.9 | Thoughtspot: 9.12.5.cl
|
|
5333
5317
|
*/
|
|
5334
5318
|
CopyKpiLink = "copyKpiLink",
|
|
5335
|
-
/**
|
|
5336
|
-
* The **Organise Favourites** action on Homepage Favourite Module.
|
|
5337
|
-
*
|
|
5338
|
-
* @example
|
|
5339
|
-
* ```js
|
|
5340
|
-
* disabledActions: [Action.OrganiseFavourites]
|
|
5341
|
-
* ```
|
|
5342
|
-
* @version SDK : 1.32.0 | Thoughtspot: 10.0.0.cl
|
|
5343
|
-
*/
|
|
5344
|
-
OrganiseFavourites = "organiseFavourites",
|
|
5345
5319
|
/**
|
|
5346
5320
|
* Action ID for AI Highlights button
|
|
5347
5321
|
*
|
|
@@ -6198,18 +6172,6 @@ declare module '@thoughtspot/visual-embed-sdk/tokenizedFetch' {
|
|
|
6198
6172
|
export const tokenizedFetch: typeof fetch;
|
|
6199
6173
|
}
|
|
6200
6174
|
|
|
6201
|
-
declare module '@thoughtspot/visual-embed-sdk/authToken' {
|
|
6202
|
-
import { EmbedConfig } from '@thoughtspot/visual-embed-sdk/types';
|
|
6203
|
-
export const getAuthenticationToken: (embedConfig: EmbedConfig) => Promise<string>;
|
|
6204
|
-
/**
|
|
6205
|
-
* Resets the auth token and a new token will be fetched on the next request.
|
|
6206
|
-
*
|
|
6207
|
-
* @version SDK: 1.28.0 | ThoughtSpot: *
|
|
6208
|
-
* @group Authentication / Init
|
|
6209
|
-
*/
|
|
6210
|
-
export const resetCachedAuthToken: () => void;
|
|
6211
|
-
}
|
|
6212
|
-
|
|
6213
6175
|
declare module '@thoughtspot/visual-embed-sdk/embed/ts-embed' {
|
|
6214
6176
|
/**
|
|
6215
6177
|
* Copyright (c) 2022
|
|
@@ -6219,8 +6181,8 @@ declare module '@thoughtspot/visual-embed-sdk/embed/ts-embed' {
|
|
|
6219
6181
|
* @summary Base classes
|
|
6220
6182
|
* @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
|
|
6221
6183
|
*/
|
|
6184
|
+
import { DOMSelector, EmbedConfig, EmbedEvent, HostEvent, MessageCallback, MessageOptions, ViewConfig } from '@thoughtspot/visual-embed-sdk/types';
|
|
6222
6185
|
import { AnswerService } from '@thoughtspot/visual-embed-sdk/utils/graphql/answerService/answerService';
|
|
6223
|
-
import { DOMSelector, HostEvent, EmbedEvent, MessageCallback, EmbedConfig, MessageOptions, ViewConfig } from '@thoughtspot/visual-embed-sdk/types';
|
|
6224
6186
|
/**
|
|
6225
6187
|
* Global prefix for all Thoughtspot postHash Params.
|
|
6226
6188
|
*/
|
package/package.json
CHANGED
package/src/auth.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import EventEmitter from 'eventemitter3';
|
|
2
|
+
import { getAuthenticationToken, resetCachedAuthToken } from './authToken';
|
|
2
3
|
import { initMixpanel } from './mixpanel-service';
|
|
3
4
|
import {
|
|
4
|
-
AuthType, DOMSelector, EmbedConfig, EmbedEvent,
|
|
5
|
+
AuthType, DOMSelector, EmbedConfig, EmbedEvent,
|
|
5
6
|
} from './types';
|
|
6
7
|
import { getDOMNode, getRedirectUrl } from './utils';
|
|
7
8
|
import {
|
|
8
|
-
|
|
9
|
+
EndPoints,
|
|
10
|
+
fetchAuthPostService,
|
|
9
11
|
fetchAuthService,
|
|
10
12
|
fetchBasicAuthService,
|
|
11
13
|
fetchLogoutService,
|
|
12
|
-
|
|
13
|
-
EndPoints,
|
|
14
|
+
fetchSessionInfoService,
|
|
14
15
|
} from './utils/authService';
|
|
15
|
-
import { getAuthenticationToken, resetCachedAuthToken } from './authToken';
|
|
16
16
|
import { logger } from './utils/logger';
|
|
17
17
|
import { getEmbedConfig } from './embed/embedConfig';
|
|
18
18
|
|
|
@@ -492,7 +492,7 @@ export const logout = async (embedConfig: EmbedConfig): Promise<boolean> => {
|
|
|
492
492
|
const { thoughtSpotHost } = embedConfig;
|
|
493
493
|
await fetchLogoutService(thoughtSpotHost);
|
|
494
494
|
resetCachedAuthToken();
|
|
495
|
-
const thoughtspotIframes = document.querySelectorAll(
|
|
495
|
+
const thoughtspotIframes = document.querySelectorAll("[data-ts-iframe='true']");
|
|
496
496
|
if (thoughtspotIframes?.length) {
|
|
497
497
|
thoughtspotIframes.forEach((el) => {
|
|
498
498
|
el.parentElement.innerHTML = embedConfig.loginFailedMessage;
|
package/src/authToken.ts
CHANGED
|
@@ -61,12 +61,6 @@ const validateAuthToken = async (
|
|
|
61
61
|
}
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
/**
|
|
65
|
-
* Resets the auth token and a new token will be fetched on the next request.
|
|
66
|
-
*
|
|
67
|
-
* @version SDK: 1.28.0 | ThoughtSpot: *
|
|
68
|
-
* @group Authentication / Init
|
|
69
|
-
*/
|
|
70
64
|
export const resetCachedAuthToken = (): void => {
|
|
71
65
|
cachedAuthToken = null;
|
|
72
66
|
};
|
package/src/embed/app.ts
CHANGED
|
@@ -9,16 +9,11 @@
|
|
|
9
9
|
* @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
import { logger } from '../utils/logger';
|
|
13
|
-
import { getQueryParamString } from '../utils';
|
|
14
12
|
import {
|
|
15
|
-
Param,
|
|
16
|
-
DOMSelector,
|
|
17
|
-
HostEvent,
|
|
18
|
-
ViewConfig,
|
|
19
|
-
EmbedEvent,
|
|
20
|
-
MessagePayload,
|
|
13
|
+
DOMSelector, EmbedEvent, HostEvent, MessagePayload, Param, ViewConfig,
|
|
21
14
|
} from '../types';
|
|
15
|
+
import { getQueryParamString } from '../utils';
|
|
16
|
+
import { logger } from '../utils/logger';
|
|
22
17
|
import { V1Embed } from './ts-embed';
|
|
23
18
|
|
|
24
19
|
/**
|
|
@@ -69,7 +64,6 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
69
64
|
*
|
|
70
65
|
* @default true
|
|
71
66
|
* @version SDK: 1.2.0 | Thoughtspot: 8.4.0.cl
|
|
72
|
-
*
|
|
73
67
|
* @example
|
|
74
68
|
* ```js
|
|
75
69
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -85,6 +79,7 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
85
79
|
* nav-bars are visible, this flag will only hide the homepage left nav-bar.
|
|
86
80
|
* The showPrimaryNavbar flag takes precedence over the hideHomepageLeftNav.
|
|
87
81
|
*
|
|
82
|
+
*
|
|
88
83
|
* **Note**: This option does not apply to the classic homepage.
|
|
89
84
|
* To access the updated modular homepage, set
|
|
90
85
|
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
@@ -104,9 +99,9 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
104
99
|
/**
|
|
105
100
|
* Control the visibility of the help (?) and profile buttons on the
|
|
106
101
|
* Global nav-bar. By default, these buttons are visible on the nav-bar.
|
|
102
|
+
*
|
|
107
103
|
* @default false
|
|
108
104
|
* @version SDK: 1.2.0 | Thoughtspot: 8.4.0.cl
|
|
109
|
-
*
|
|
110
105
|
* @example
|
|
111
106
|
* ```js
|
|
112
107
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -120,6 +115,7 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
120
115
|
* Control the visibility of the application switcher button on the nav-bar.
|
|
121
116
|
* By default, the application switcher is shown.
|
|
122
117
|
*
|
|
118
|
+
*
|
|
123
119
|
* **Note**: This option does not apply to the classic homepage.
|
|
124
120
|
* To access the updated modular homepage, set
|
|
125
121
|
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
@@ -140,6 +136,7 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
140
136
|
* Control the visibility of the Org switcher button on the nav-bar.
|
|
141
137
|
* By default, the Org switcher button is shown.
|
|
142
138
|
*
|
|
139
|
+
*
|
|
143
140
|
* **Note**: This option does not apply to the classic homepage.
|
|
144
141
|
* To access the updated modular homepage, set
|
|
145
142
|
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
@@ -166,7 +163,6 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
166
163
|
* you could set the path to `pinboard/<liveboardId>/tab/<tabId>`.
|
|
167
164
|
*
|
|
168
165
|
* @version SDK: 1.1.0 | Thoughtspot: 9.4.0.cl
|
|
169
|
-
*
|
|
170
166
|
* @example
|
|
171
167
|
* ```js
|
|
172
168
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -184,7 +180,6 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
184
180
|
* path within the app, use the `path` attribute which is more flexible.
|
|
185
181
|
*
|
|
186
182
|
* @version SDK: 1.1.0 | Thoughtspot: 9.4.0.cl
|
|
187
|
-
*
|
|
188
183
|
* @example
|
|
189
184
|
* ```js
|
|
190
185
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -213,7 +208,6 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
213
208
|
* The array of GUIDs to be hidden
|
|
214
209
|
*
|
|
215
210
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1-sw
|
|
216
|
-
*
|
|
217
211
|
* @example
|
|
218
212
|
* ```js
|
|
219
213
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -236,10 +230,9 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
236
230
|
liveboardV2?: boolean;
|
|
237
231
|
/**
|
|
238
232
|
* If set to true, the Search Assist feature is enabled.
|
|
239
|
-
* @default true
|
|
240
233
|
*
|
|
234
|
+
* @default true
|
|
241
235
|
* @version SDK: 1.13.0 | ThoughtSpot: 8.5.0.cl, 8.8.1-sw
|
|
242
|
-
*
|
|
243
236
|
* @example
|
|
244
237
|
* ```js
|
|
245
238
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -254,7 +247,6 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
254
247
|
* according to the height of the pages which support fullHeight mode.
|
|
255
248
|
*
|
|
256
249
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.4.0.cl, 9.4.0-sw
|
|
257
|
-
*
|
|
258
250
|
* @example
|
|
259
251
|
* ```js
|
|
260
252
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -277,7 +269,6 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
277
269
|
*
|
|
278
270
|
* @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
|
|
279
271
|
* @default false
|
|
280
|
-
*
|
|
281
272
|
* @example
|
|
282
273
|
* ```js
|
|
283
274
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -292,7 +283,6 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
292
283
|
*
|
|
293
284
|
* @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
|
|
294
285
|
* @default false
|
|
295
|
-
*
|
|
296
286
|
* @example
|
|
297
287
|
* ```js
|
|
298
288
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -307,7 +297,6 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
307
297
|
*
|
|
308
298
|
* @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
|
|
309
299
|
* @default false
|
|
310
|
-
*
|
|
311
300
|
* @example
|
|
312
301
|
* ```js
|
|
313
302
|
* const embed = new AppEmbed('#tsEmbed', {
|