@thoughtspot/visual-embed-sdk 1.39.0 → 1.39.2
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/cjs/package.json +1 -1
- package/cjs/src/embed/app.d.ts +13 -13
- package/cjs/src/embed/conversation.d.ts +4 -4
- package/cjs/src/embed/embedConfig.d.ts +47 -4
- package/cjs/src/embed/embedConfig.d.ts.map +1 -1
- package/cjs/src/embed/embedConfig.js +47 -4
- package/cjs/src/embed/embedConfig.js.map +1 -1
- package/cjs/src/embed/liveboard.d.ts +2 -2
- package/cjs/src/embed/liveboard.js +1 -1
- package/cjs/src/embed/sage.d.ts +10 -10
- package/cjs/src/embed/search.d.ts +4 -4
- package/cjs/src/embed/ts-embed.d.ts +5 -0
- package/cjs/src/embed/ts-embed.d.ts.map +1 -1
- package/cjs/src/embed/ts-embed.js +16 -1
- package/cjs/src/embed/ts-embed.js.map +1 -1
- package/cjs/src/embed/ts-embed.spec.js +164 -0
- package/cjs/src/embed/ts-embed.spec.js.map +1 -1
- package/cjs/src/types.d.ts +7 -6
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +6 -5
- package/cjs/src/types.js.map +1 -1
- package/dist/{index-sSREbWM-.js → index-CmEQfuE3.js} +1 -1
- package/dist/src/embed/app.d.ts +13 -13
- package/dist/src/embed/conversation.d.ts +4 -4
- package/dist/src/embed/embedConfig.d.ts +47 -4
- package/dist/src/embed/embedConfig.d.ts.map +1 -1
- package/dist/src/embed/liveboard.d.ts +2 -2
- package/dist/src/embed/sage.d.ts +10 -10
- package/dist/src/embed/search.d.ts +4 -4
- package/dist/src/embed/ts-embed.d.ts +5 -0
- package/dist/src/embed/ts-embed.d.ts.map +1 -1
- package/dist/src/types.d.ts +7 -6
- package/dist/src/types.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +73 -14
- package/dist/tsembed-react.js +72 -13
- package/dist/tsembed.es.js +73 -14
- package/dist/tsembed.js +72 -13
- package/dist/visual-embed-sdk-react-full.d.ts +87 -43
- package/dist/visual-embed-sdk-react.d.ts +87 -43
- package/dist/visual-embed-sdk.d.ts +87 -43
- package/lib/package.json +1 -1
- package/lib/src/embed/app.d.ts +13 -13
- package/lib/src/embed/conversation.d.ts +4 -4
- package/lib/src/embed/embedConfig.d.ts +47 -4
- package/lib/src/embed/embedConfig.d.ts.map +1 -1
- package/lib/src/embed/embedConfig.js +47 -4
- package/lib/src/embed/embedConfig.js.map +1 -1
- package/lib/src/embed/liveboard.d.ts +2 -2
- package/lib/src/embed/liveboard.js +1 -1
- package/lib/src/embed/sage.d.ts +10 -10
- package/lib/src/embed/search.d.ts +4 -4
- package/lib/src/embed/ts-embed.d.ts +5 -0
- package/lib/src/embed/ts-embed.d.ts.map +1 -1
- package/lib/src/embed/ts-embed.js +16 -1
- package/lib/src/embed/ts-embed.js.map +1 -1
- package/lib/src/embed/ts-embed.spec.js +164 -0
- package/lib/src/embed/ts-embed.spec.js.map +1 -1
- package/lib/src/types.d.ts +7 -6
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +6 -5
- package/lib/src/types.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +87 -43
- package/package.json +1 -1
- package/src/embed/app.ts +13 -13
- package/src/embed/conversation.ts +4 -4
- package/src/embed/embedConfig.ts +48 -5
- package/src/embed/liveboard.ts +2 -2
- package/src/embed/sage.ts +10 -10
- package/src/embed/search.ts +4 -4
- package/src/embed/ts-embed.spec.ts +225 -0
- package/src/embed/ts-embed.ts +19 -0
- package/src/types.ts +7 -6
|
@@ -652,39 +652,39 @@ export interface SageViewConfig extends SearchLiveboardCommonViewConfig, Omit<Ba
|
|
|
652
652
|
showObjectResults?: boolean;
|
|
653
653
|
/**
|
|
654
654
|
* flag used by the TS product tour page to show the blue search bar
|
|
655
|
-
* even after the search is completed. This is different from
|
|
655
|
+
* even after the search is completed. This is different from ThoughtSpot Embedded
|
|
656
656
|
* Sage Embed experience where it mimics closer to the non-embed case.
|
|
657
657
|
* The Sample questions container is collapsed when this value is set after
|
|
658
658
|
* does a search.
|
|
659
|
-
* @version SDK: 1.26.0 |
|
|
659
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.8.0.cl
|
|
660
660
|
* @hidden
|
|
661
661
|
*/
|
|
662
662
|
isProductTour?: boolean;
|
|
663
663
|
/**
|
|
664
664
|
* Show or hide the search bar title.
|
|
665
|
-
* @version SDK: 1.29.0 |
|
|
666
|
-
* @deprecated
|
|
665
|
+
* @version SDK: 1.29.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
666
|
+
* @deprecated ThoughtSpot: 9.10.0.cl | search bar doesn't have the title from 9.10.0.cl
|
|
667
667
|
*/
|
|
668
668
|
hideSearchBarTitle?: boolean;
|
|
669
669
|
/**
|
|
670
670
|
* Show or hide the Answer header, that is, the `AI Answer` title
|
|
671
671
|
* at the top of the Answer page.
|
|
672
|
-
* @version SDK: 1.26.0 |
|
|
672
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.10.0.cl
|
|
673
673
|
*/
|
|
674
674
|
hideSageAnswerHeader?: boolean;
|
|
675
675
|
/**
|
|
676
676
|
* Disable the worksheet selection option.
|
|
677
|
-
* @version SDK: 1.26.0 |
|
|
677
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
678
678
|
*/
|
|
679
679
|
disableWorksheetChange?: boolean;
|
|
680
680
|
/**
|
|
681
681
|
* Hide the worksheet selection panel.
|
|
682
|
-
* @version SDK: 1.26.0 |
|
|
682
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
683
683
|
*/
|
|
684
684
|
hideWorksheetSelector?: boolean;
|
|
685
685
|
/**
|
|
686
686
|
* Show or hide autocomplete suggestions for the search query string.
|
|
687
|
-
* @version SDK: 1.26.0 |
|
|
687
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
688
688
|
*/
|
|
689
689
|
hideAutocompleteSuggestions?: boolean;
|
|
690
690
|
/**
|
|
@@ -700,7 +700,7 @@ export interface SageViewConfig extends SearchLiveboardCommonViewConfig, Omit<Ba
|
|
|
700
700
|
* selected for the search operation.
|
|
701
701
|
*
|
|
702
702
|
* Supported embed types: `SageEmbed`
|
|
703
|
-
* @version SDK: 1.26.0 |
|
|
703
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
704
704
|
* @example
|
|
705
705
|
* ```js
|
|
706
706
|
* const embed = new SageEmbed('#tsEmbed', {
|
|
@@ -733,7 +733,7 @@ export interface SageViewConfig extends SearchLiveboardCommonViewConfig, Omit<Ba
|
|
|
733
733
|
* executeSearch: true,
|
|
734
734
|
* }
|
|
735
735
|
* ```
|
|
736
|
-
* @version SDK: 1.26.0 |
|
|
736
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
737
737
|
*/
|
|
738
738
|
searchOptions?: SearchOptions;
|
|
739
739
|
}
|
|
@@ -1019,7 +1019,7 @@ export interface SearchViewConfig extends SearchLiveboardCommonViewConfig, Omit<
|
|
|
1019
1019
|
/**
|
|
1020
1020
|
* To set the initial state of the search bar in case of saved-answers.
|
|
1021
1021
|
* @default false
|
|
1022
|
-
* @version SDK: 1.32.0 |
|
|
1022
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl
|
|
1023
1023
|
* @deprecated Use {@link collapseSearchBar} instead
|
|
1024
1024
|
*/
|
|
1025
1025
|
collapseSearchBarInitially?: boolean;
|
|
@@ -1027,7 +1027,7 @@ export interface SearchViewConfig extends SearchLiveboardCommonViewConfig, Omit<
|
|
|
1027
1027
|
* Flag to enable onBeforeSearchExecute Embed Event
|
|
1028
1028
|
*
|
|
1029
1029
|
* Supported embed types: `SearchEmbed`
|
|
1030
|
-
* @version: SDK: 1.29.0 |
|
|
1030
|
+
* @version: SDK: 1.29.0 | ThoughtSpot: 10.1.0.cl
|
|
1031
1031
|
*/
|
|
1032
1032
|
isOnBeforeGetVizDataInterceptEnabled?: boolean;
|
|
1033
1033
|
/**
|
|
@@ -1039,7 +1039,7 @@ export interface SearchViewConfig extends SearchLiveboardCommonViewConfig, Omit<
|
|
|
1039
1039
|
* - EXPAND_FIRST: Expand the first accordion and collapse the rest.
|
|
1040
1040
|
*
|
|
1041
1041
|
* Supported embed types: `SearchEmbed`
|
|
1042
|
-
* @version SDK: 1.32.0 |
|
|
1042
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl
|
|
1043
1043
|
* @default DataPanelCustomColumnGroupsAccordionState.EXPAND_ALL
|
|
1044
1044
|
* @example
|
|
1045
1045
|
* ```js
|
|
@@ -1056,7 +1056,7 @@ export interface SearchViewConfig extends SearchLiveboardCommonViewConfig, Omit<
|
|
|
1056
1056
|
* lands on search embed page.
|
|
1057
1057
|
*
|
|
1058
1058
|
* Supported embed types: `SearchEmbed`
|
|
1059
|
-
* @version SDK: 1.32.0 |
|
|
1059
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.3.0.cl
|
|
1060
1060
|
* @default true
|
|
1061
1061
|
* @example
|
|
1062
1062
|
* ```js
|
|
@@ -1220,7 +1220,7 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
1220
1220
|
*
|
|
1221
1221
|
* Supported embed types: `AppEmbed`
|
|
1222
1222
|
* @default true
|
|
1223
|
-
* @version SDK: 1.2.0 |
|
|
1223
|
+
* @version SDK: 1.2.0 | ThoughtSpot: 8.4.0.cl
|
|
1224
1224
|
* @example
|
|
1225
1225
|
* ```js
|
|
1226
1226
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -1242,7 +1242,7 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
1242
1242
|
*
|
|
1243
1243
|
* Supported embed types: `AppEmbed`
|
|
1244
1244
|
* @default false
|
|
1245
|
-
* @version SDK: 1.28.0 |
|
|
1245
|
+
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl
|
|
1246
1246
|
* @example
|
|
1247
1247
|
* ```js
|
|
1248
1248
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -1258,7 +1258,7 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
1258
1258
|
*
|
|
1259
1259
|
* Supported embed types: `AppEmbed`
|
|
1260
1260
|
* @default false
|
|
1261
|
-
* @version SDK: 1.2.0 |
|
|
1261
|
+
* @version SDK: 1.2.0 | ThoughtSpot: 8.4.0.cl
|
|
1262
1262
|
* @example
|
|
1263
1263
|
* ```js
|
|
1264
1264
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -1341,7 +1341,7 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
1341
1341
|
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
1342
1342
|
*
|
|
1343
1343
|
* Supported embed types: `AppEmbed`
|
|
1344
|
-
* @version SDK: 1.28.0 |
|
|
1344
|
+
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl
|
|
1345
1345
|
* @default false
|
|
1346
1346
|
* @example
|
|
1347
1347
|
* ```js
|
|
@@ -1361,7 +1361,7 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
1361
1361
|
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
1362
1362
|
*
|
|
1363
1363
|
* Supported embed types: `AppEmbed`
|
|
1364
|
-
* @version SDK: 1.28.0 |
|
|
1364
|
+
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl
|
|
1365
1365
|
* @default true
|
|
1366
1366
|
* @example
|
|
1367
1367
|
* ```js
|
|
@@ -1382,7 +1382,7 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
1382
1382
|
* you could set the path to `pinboard/<liveboardId>/tab/<tabId>`.
|
|
1383
1383
|
*
|
|
1384
1384
|
* Supported embed types: `AppEmbed`
|
|
1385
|
-
* @version SDK: 1.1.0 |
|
|
1385
|
+
* @version SDK: 1.1.0 | ThoughtSpot: 9.4.0.cl
|
|
1386
1386
|
* @example
|
|
1387
1387
|
* ```js
|
|
1388
1388
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -1400,7 +1400,7 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
1400
1400
|
* path within the app, use the `path` attribute which is more flexible.
|
|
1401
1401
|
*
|
|
1402
1402
|
* Supported embed types: `AppEmbed`
|
|
1403
|
-
* @version SDK: 1.1.0 |
|
|
1403
|
+
* @version SDK: 1.1.0 | ThoughtSpot: 9.4.0.cl
|
|
1404
1404
|
* @example
|
|
1405
1405
|
* ```js
|
|
1406
1406
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -1416,7 +1416,7 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
1416
1416
|
* tag.
|
|
1417
1417
|
*
|
|
1418
1418
|
* Supported embed types: `AppEmbed`
|
|
1419
|
-
* @version SDK: 1.1.0 |
|
|
1419
|
+
* @version SDK: 1.1.0 | ThoughtSpot: 9.4.0.cl
|
|
1420
1420
|
* @example
|
|
1421
1421
|
* ```js
|
|
1422
1422
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -1495,7 +1495,7 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
1495
1495
|
*
|
|
1496
1496
|
* Supported embed types: `AppEmbed`
|
|
1497
1497
|
* @default false
|
|
1498
|
-
* @version SDK: 1.28.0 |
|
|
1498
|
+
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl
|
|
1499
1499
|
* @example
|
|
1500
1500
|
* ```js
|
|
1501
1501
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -1525,7 +1525,7 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
1525
1525
|
discoveryExperience?: DiscoveryExperience;
|
|
1526
1526
|
/**
|
|
1527
1527
|
* To set the initial state of the search bar in case of saved-answers.
|
|
1528
|
-
* @version SDK: 1.32.0 |
|
|
1528
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl
|
|
1529
1529
|
* @default false
|
|
1530
1530
|
* @deprecated Use {@link collapseSearchBar} instead
|
|
1531
1531
|
*/
|
|
@@ -1539,7 +1539,7 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
1539
1539
|
* - EXPAND_FIRST: Expand the first accordion and collapse the rest.
|
|
1540
1540
|
*
|
|
1541
1541
|
* Supported embed types: `AppEmbed`
|
|
1542
|
-
* @version SDK: 1.32.0 |
|
|
1542
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl
|
|
1543
1543
|
* @default DataPanelCustomColumnGroupsAccordionState.EXPAND_ALL
|
|
1544
1544
|
* @example
|
|
1545
1545
|
* ```js
|
|
@@ -1553,14 +1553,14 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
1553
1553
|
dataPanelCustomGroupsAccordionInitialState?: DataPanelCustomColumnGroupsAccordionState;
|
|
1554
1554
|
/**
|
|
1555
1555
|
* Flag that allows using `EmbedEvent.OnBeforeGetVizDataIntercept`.
|
|
1556
|
-
* @version SDK : 1.29.0 |
|
|
1556
|
+
* @version SDK : 1.29.0 | ThoughtSpot: 10.1.0.cl
|
|
1557
1557
|
*/
|
|
1558
1558
|
isOnBeforeGetVizDataInterceptEnabled?: boolean;
|
|
1559
1559
|
/**
|
|
1560
1560
|
* Flag to use home page search bar mode
|
|
1561
1561
|
*
|
|
1562
1562
|
* Supported embed types: `AppEmbed`
|
|
1563
|
-
* @version SDK : 1.33.0 |
|
|
1563
|
+
* @version SDK : 1.33.0 | ThoughtSpot: 10.3.0.cl
|
|
1564
1564
|
*/
|
|
1565
1565
|
homePageSearchBarMode?: HomePageSearchBarMode;
|
|
1566
1566
|
/**
|
|
@@ -1825,7 +1825,7 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
|
|
|
1825
1825
|
* Show or hide the tab panel of the embedded Liveboard.
|
|
1826
1826
|
*
|
|
1827
1827
|
* Supported embed types: `LiveboardEmbed`
|
|
1828
|
-
* @version SDK: 1.25.0 |
|
|
1828
|
+
* @version SDK: 1.25.0 | ThoughtSpot: 9.6.0.cl, 9.8.0.sw
|
|
1829
1829
|
* @example
|
|
1830
1830
|
* ```js
|
|
1831
1831
|
* const embed = new LiveboardEmbed('#tsEmbed', {
|
|
@@ -2014,7 +2014,7 @@ export declare class LiveboardEmbed extends V1Embed {
|
|
|
2014
2014
|
navigateToLiveboard(liveboardId: string, vizId?: string, activeTabId?: string): void;
|
|
2015
2015
|
/**
|
|
2016
2016
|
* Returns the full url of the Liveboard/visualization which can be used to open
|
|
2017
|
-
* this Liveboard inside the full
|
|
2017
|
+
* this Liveboard inside the full ThoughtSpot application in a new tab.
|
|
2018
2018
|
* @returns url string
|
|
2019
2019
|
*/
|
|
2020
2020
|
getLiveboardUrl(): string;
|
|
@@ -2383,7 +2383,7 @@ export interface CustomStyles {
|
|
|
2383
2383
|
* Configuration to define the customization on the Embedded
|
|
2384
2384
|
* ThoughtSpot components.
|
|
2385
2385
|
* You can customize styles, text strings, and icons.
|
|
2386
|
-
* For more information, see https://developers.thoughtspot.com/docs/custom-css.
|
|
2386
|
+
* For more information, see link:https://developers.thoughtspot.com/docs/custom-css[CSS customization framework].
|
|
2387
2387
|
* @example
|
|
2388
2388
|
* ```js
|
|
2389
2389
|
* init({
|
|
@@ -4613,7 +4613,7 @@ export declare enum EmbedEvent {
|
|
|
4613
4613
|
*
|
|
4614
4614
|
* error: Developers can customize the error message text when `execute`
|
|
4615
4615
|
* returns `false` using the error parameter in responder.
|
|
4616
|
-
* @version SDK : 1.29.0 | ThoughtSpot
|
|
4616
|
+
* @version SDK : 1.29.0 | ThoughtSpot: 10.3.0.cl
|
|
4617
4617
|
* @example
|
|
4618
4618
|
*```js
|
|
4619
4619
|
* .on(EmbedEvent.OnBeforeGetVizDataIntercept,
|
|
@@ -4660,7 +4660,7 @@ export declare enum EmbedEvent {
|
|
|
4660
4660
|
* console.log('payload', payload);
|
|
4661
4661
|
* })
|
|
4662
4662
|
*```
|
|
4663
|
-
* @version SDK : 1.29.0 | ThoughtSpot
|
|
4663
|
+
* @version SDK : 1.29.0 | ThoughtSpot: 10.3.0.cl
|
|
4664
4664
|
*/
|
|
4665
4665
|
ParameterChanged = "parameterChanged",
|
|
4666
4666
|
/**
|
|
@@ -4716,18 +4716,18 @@ export declare enum EmbedEvent {
|
|
|
4716
4716
|
* console.log('payload', payload);
|
|
4717
4717
|
* })
|
|
4718
4718
|
*```
|
|
4719
|
-
* @version SDK : 1.37.0 | ThoughtSpot
|
|
4719
|
+
* @version SDK : 1.37.0 | ThoughtSpot: 10.8.0.cl
|
|
4720
4720
|
*/
|
|
4721
4721
|
CreateLiveboard = "createLiveboard",
|
|
4722
4722
|
/**
|
|
4723
4723
|
* Emitted when a user creates a Model.
|
|
4724
|
-
* @version SDK : 1.37.0 | ThoughtSpot
|
|
4724
|
+
* @version SDK : 1.37.0 | ThoughtSpot: 10.8.0.cl
|
|
4725
4725
|
*/
|
|
4726
4726
|
CreateModel = "createModel",
|
|
4727
4727
|
/**
|
|
4728
4728
|
* @hidden
|
|
4729
4729
|
* Emitted when a user exits present mode.
|
|
4730
|
-
* @version SDK : 1.40.0 | ThoughtSpot
|
|
4730
|
+
* @version SDK : 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
4731
4731
|
*/
|
|
4732
4732
|
ExitPresentMode = "exitPresentMode"
|
|
4733
4733
|
}
|
|
@@ -5971,6 +5971,7 @@ export declare enum Param {
|
|
|
5971
5971
|
* hiddenActions: [Action.Edit, ActionAction.Explore],
|
|
5972
5972
|
* })
|
|
5973
5973
|
* ```
|
|
5974
|
+
* See also link:https://developers.thoughtspot.com/docs/actions[Action IDs in the SDK]
|
|
5974
5975
|
*/
|
|
5975
5976
|
export declare enum Action {
|
|
5976
5977
|
/**
|
|
@@ -7376,7 +7377,7 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, 'primaryAct
|
|
|
7376
7377
|
* disableSourceSelection : true,
|
|
7377
7378
|
* })
|
|
7378
7379
|
* ```
|
|
7379
|
-
* @version SDK: 1.36.0 |
|
|
7380
|
+
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
|
|
7380
7381
|
*/
|
|
7381
7382
|
disableSourceSelection?: boolean;
|
|
7382
7383
|
/**
|
|
@@ -7390,7 +7391,7 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, 'primaryAct
|
|
|
7390
7391
|
* hideSourceSelection : true,
|
|
7391
7392
|
* })
|
|
7392
7393
|
* ```
|
|
7393
|
-
* @version SDK: 1.36.0 |
|
|
7394
|
+
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
|
|
7394
7395
|
*/
|
|
7395
7396
|
hideSourceSelection?: boolean;
|
|
7396
7397
|
/**
|
|
@@ -7422,7 +7423,7 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, 'primaryAct
|
|
|
7422
7423
|
* showSpotterLimitations : true,
|
|
7423
7424
|
* })
|
|
7424
7425
|
* ```
|
|
7425
|
-
* @version SDK: 1.36.0 |
|
|
7426
|
+
* @version SDK: 1.36.0 | ThoughtSpot: 10.5.0.cl
|
|
7426
7427
|
*/
|
|
7427
7428
|
showSpotterLimitations?: boolean;
|
|
7428
7429
|
/**
|
|
@@ -7437,7 +7438,7 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, 'primaryAct
|
|
|
7437
7438
|
* hideSampleQuestions : true,
|
|
7438
7439
|
* })
|
|
7439
7440
|
* ```
|
|
7440
|
-
* @version SDK: 1.36.0 |
|
|
7441
|
+
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
|
|
7441
7442
|
*/
|
|
7442
7443
|
hideSampleQuestions?: boolean;
|
|
7443
7444
|
}
|
|
@@ -8726,9 +8727,52 @@ export declare function resetCachedSessionInfo(): void;
|
|
|
8726
8727
|
export declare function resetCachedPreauthInfo(): void;
|
|
8727
8728
|
|
|
8728
8729
|
/**
|
|
8729
|
-
* Gets the configuration
|
|
8730
|
-
*
|
|
8731
|
-
* @
|
|
8730
|
+
* Gets the embed configuration settings that were used to
|
|
8731
|
+
* initialize the SDK.
|
|
8732
|
+
* @returns {@link EmbedConfig}
|
|
8733
|
+
*
|
|
8734
|
+
* @example
|
|
8735
|
+
* ```js
|
|
8736
|
+
* const config = getInitConfig();
|
|
8737
|
+
* console.log(config);
|
|
8738
|
+
* ```
|
|
8739
|
+
* @example
|
|
8740
|
+
*
|
|
8741
|
+
* Returns the `EmbedConfig` object, which
|
|
8742
|
+
* contains the configuration settings used to
|
|
8743
|
+
* initialize the SDK, including the following:
|
|
8744
|
+
*
|
|
8745
|
+
* - `thoughtSpotHost` - ThoughtSpot host URL
|
|
8746
|
+
* - `authType`: The authentication method used. For example,
|
|
8747
|
+
* `AuthServerCookieless` for `AuthType.TrustedAuthTokenCookieless`
|
|
8748
|
+
* - `customizations` - Style, text, and icon customization settings
|
|
8749
|
+
* that were applied during the SDK initialization.
|
|
8750
|
+
*
|
|
8751
|
+
* For a comprehensive list of embed configuration settings,
|
|
8752
|
+
* see link:https://developers.thoughtspot.com/docs/Interface_EmbedConfig[Developer Documentation].
|
|
8753
|
+
*
|
|
8754
|
+
* ```json
|
|
8755
|
+
* {
|
|
8756
|
+
* "thoughtSpotHost": "https://{ThoughtSpot-Host}",
|
|
8757
|
+
* "authType": "AuthServerCookieless",
|
|
8758
|
+
* "customizations": {
|
|
8759
|
+
* "style": {
|
|
8760
|
+
* "customCSS": {
|
|
8761
|
+
* "variables": {
|
|
8762
|
+
* "--ts-var-button--secondary-background": "#7492d5",
|
|
8763
|
+
* "--ts-var-button--secondary--hovers-background": "#aac2f8",
|
|
8764
|
+
* "--ts-var-root-background": "#f1f4f8"
|
|
8765
|
+
* }
|
|
8766
|
+
* }
|
|
8767
|
+
* }
|
|
8768
|
+
* },
|
|
8769
|
+
* "loginFailedMessage": "Login failed, please try again",
|
|
8770
|
+
* "authTriggerText": "Authorize",
|
|
8771
|
+
* "disableTokenVerification": true,
|
|
8772
|
+
* "authTriggerContainer": "#your-own-div"
|
|
8773
|
+
* }
|
|
8774
|
+
* ```
|
|
8775
|
+
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.cl, and later
|
|
8732
8776
|
* @group Global methods
|
|
8733
8777
|
*/
|
|
8734
8778
|
export declare const getEmbedConfig: () => EmbedConfig;
|
|
@@ -8736,7 +8780,7 @@ export declare const getEmbedConfig: () => EmbedConfig;
|
|
|
8736
8780
|
* Sets the configuration embed was initialized with.
|
|
8737
8781
|
* And returns the new configuration.
|
|
8738
8782
|
* @param newConfig The configuration to set.
|
|
8739
|
-
* @version SDK: 1.27.0 | ThoughtSpot:
|
|
8783
|
+
* @version SDK: 1.27.0 | ThoughtSpot: 9.8.0.cl, 9.8.1.sw, and later
|
|
8740
8784
|
* @group Global methods
|
|
8741
8785
|
*/
|
|
8742
8786
|
export declare const setEmbedConfig: (newConfig: EmbedConfig) => any;
|