@thoughtspot/visual-embed-sdk 1.36.2 → 1.36.3
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/authToken.d.ts.map +1 -1
- package/cjs/src/authToken.js +10 -3
- package/cjs/src/authToken.js.map +1 -1
- package/cjs/src/embed/app.d.ts +14 -0
- package/cjs/src/embed/app.d.ts.map +1 -1
- package/cjs/src/embed/app.js +4 -1
- package/cjs/src/embed/app.js.map +1 -1
- package/cjs/src/embed/app.spec.js +17 -0
- package/cjs/src/embed/app.spec.js.map +1 -1
- package/cjs/src/embed/embedConfig.d.ts +1 -1
- package/cjs/src/embed/embedConfig.d.ts.map +1 -1
- package/cjs/src/embed/embedConfig.js +5 -4
- package/cjs/src/embed/embedConfig.js.map +1 -1
- package/cjs/src/embed/liveboard.d.ts +4 -1
- package/cjs/src/embed/liveboard.d.ts.map +1 -1
- package/cjs/src/embed/liveboard.js.map +1 -1
- package/cjs/src/types.d.ts +85 -66
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +78 -59
- package/cjs/src/types.js.map +1 -1
- package/cjs/src/utils.d.ts +12 -0
- package/cjs/src/utils.d.ts.map +1 -1
- package/cjs/src/utils.js +21 -1
- package/cjs/src/utils.js.map +1 -1
- package/cjs/src/utils.spec.js +15 -0
- package/cjs/src/utils.spec.js.map +1 -1
- package/dist/{index-B3hd6DTM.js → index-BJx3m5_V.js} +1 -1
- package/dist/src/authToken.d.ts.map +1 -1
- package/dist/src/embed/app.d.ts +14 -0
- package/dist/src/embed/app.d.ts.map +1 -1
- package/dist/src/embed/embedConfig.d.ts +1 -1
- package/dist/src/embed/embedConfig.d.ts.map +1 -1
- package/dist/src/embed/liveboard.d.ts +4 -1
- package/dist/src/embed/liveboard.d.ts.map +1 -1
- package/dist/src/types.d.ts +85 -66
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/utils.d.ts +12 -0
- package/dist/src/utils.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +115 -69
- package/dist/tsembed-react.js +114 -68
- package/dist/tsembed.es.js +117 -71
- package/dist/tsembed.js +116 -70
- package/dist/visual-embed-sdk-react-full.d.ts +104 -68
- package/dist/visual-embed-sdk-react.d.ts +104 -68
- package/dist/visual-embed-sdk.d.ts +104 -68
- package/lib/package.json +1 -1
- package/lib/src/authToken.d.ts.map +1 -1
- package/lib/src/authToken.js +10 -3
- package/lib/src/authToken.js.map +1 -1
- package/lib/src/embed/app.d.ts +14 -0
- package/lib/src/embed/app.d.ts.map +1 -1
- package/lib/src/embed/app.js +4 -1
- package/lib/src/embed/app.js.map +1 -1
- package/lib/src/embed/app.spec.js +17 -0
- package/lib/src/embed/app.spec.js.map +1 -1
- package/lib/src/embed/embedConfig.d.ts +1 -1
- package/lib/src/embed/embedConfig.d.ts.map +1 -1
- package/lib/src/embed/embedConfig.js +5 -4
- package/lib/src/embed/embedConfig.js.map +1 -1
- package/lib/src/embed/liveboard.d.ts +4 -1
- package/lib/src/embed/liveboard.d.ts.map +1 -1
- package/lib/src/embed/liveboard.js.map +1 -1
- package/lib/src/types.d.ts +85 -66
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +78 -59
- package/lib/src/types.js.map +1 -1
- package/lib/src/utils.d.ts +12 -0
- package/lib/src/utils.d.ts.map +1 -1
- package/lib/src/utils.js +18 -0
- package/lib/src/utils.js.map +1 -1
- package/lib/src/utils.spec.js +16 -1
- package/lib/src/utils.spec.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +104 -68
- package/package.json +1 -1
- package/src/authToken.ts +11 -3
- package/src/embed/app.spec.ts +27 -0
- package/src/embed/app.ts +19 -0
- package/src/embed/embedConfig.ts +5 -4
- package/src/embed/liveboard.ts +4 -1
- package/src/types.ts +89 -70
- package/src/utils.spec.ts +21 -0
- package/src/utils.ts +21 -0
- package/cjs/src/embed/searchEmbed-basic-auth.spec.d.ts +0 -2
- package/cjs/src/embed/searchEmbed-basic-auth.spec.d.ts.map +0 -1
- package/cjs/src/embed/searchEmbed-basic-auth.spec.js +0 -104
- package/cjs/src/embed/searchEmbed-basic-auth.spec.js.map +0 -1
- package/cjs/src/hostEventsTypeMapping.d.ts +0 -2
- package/cjs/src/hostEventsTypeMapping.d.ts.map +0 -1
- package/cjs/src/hostEventsTypeMapping.js +0 -4
- package/cjs/src/hostEventsTypeMapping.js.map +0 -1
- package/cjs/src/utils/embedApi/contracts.d.ts +0 -101
- package/cjs/src/utils/embedApi/contracts.d.ts.map +0 -1
- package/cjs/src/utils/embedApi/contracts.js +0 -17
- package/cjs/src/utils/embedApi/contracts.js.map +0 -1
- package/cjs/src/utils/embedApi/embedApiClient.d.ts +0 -12
- package/cjs/src/utils/embedApi/embedApiClient.d.ts.map +0 -1
- package/cjs/src/utils/embedApi/embedApiClient.js +0 -46
- package/cjs/src/utils/embedApi/embedApiClient.js.map +0 -1
- package/cjs/src/utils/embedApi/processEmbedApi.d.ts +0 -9
- package/cjs/src/utils/embedApi/processEmbedApi.d.ts.map +0 -1
- package/cjs/src/utils/embedApi/processEmbedApi.js +0 -18
- package/cjs/src/utils/embedApi/processEmbedApi.js.map +0 -1
- package/dist/index-BBBimG1x.js +0 -7370
- package/dist/index-BGnxP5NY.js +0 -7370
- package/dist/index-CENLvayL.js +0 -7370
- package/dist/index-CR5u7BMC.js +0 -7370
- package/dist/index-CbltIawo.js +0 -7370
- package/dist/index-CoQfqaHj.js +0 -7370
- package/dist/index-CzwzS0P4.js +0 -7370
- package/dist/index-D-9WUCUl.js +0 -7370
- package/dist/index-DFwi_pV_.js +0 -7370
- package/dist/index-DOIjN0N_.js +0 -7370
- package/dist/index-DYBx8SuE.js +0 -7370
- package/dist/index-DaLHJaLd.js +0 -7370
- package/dist/index-DnJX-gN2.js +0 -7370
- package/dist/index-DpuhnTj2.js +0 -7370
- package/dist/index-IDmSUe93.js +0 -7370
- package/dist/index-nWevLycs.js +0 -7370
- package/dist/index-vxW97_xb.js +0 -7370
- package/dist/src/embed/searchEmbed-basic-auth.spec.d.ts +0 -2
- package/dist/src/embed/searchEmbed-basic-auth.spec.d.ts.map +0 -1
- package/dist/src/hostEventsTypeMapping.d.ts +0 -2
- package/dist/src/hostEventsTypeMapping.d.ts.map +0 -1
- package/dist/src/utils/embedApi/contracts.d.ts +0 -101
- package/dist/src/utils/embedApi/contracts.d.ts.map +0 -1
- package/dist/src/utils/embedApi/embedApiClient.d.ts +0 -12
- package/dist/src/utils/embedApi/embedApiClient.d.ts.map +0 -1
- package/dist/src/utils/embedApi/processEmbedApi.d.ts +0 -9
- package/dist/src/utils/embedApi/processEmbedApi.d.ts.map +0 -1
- package/lib/src/embed/searchEmbed-basic-auth.spec.d.ts +0 -2
- package/lib/src/embed/searchEmbed-basic-auth.spec.d.ts.map +0 -1
- package/lib/src/embed/searchEmbed-basic-auth.spec.js +0 -101
- package/lib/src/embed/searchEmbed-basic-auth.spec.js.map +0 -1
- package/lib/src/hostEventsTypeMapping.d.ts +0 -2
- package/lib/src/hostEventsTypeMapping.d.ts.map +0 -1
- package/lib/src/hostEventsTypeMapping.js +0 -2
- package/lib/src/hostEventsTypeMapping.js.map +0 -1
- package/lib/src/utils/embedApi/contracts.d.ts +0 -101
- package/lib/src/utils/embedApi/contracts.d.ts.map +0 -1
- package/lib/src/utils/embedApi/contracts.js +0 -14
- package/lib/src/utils/embedApi/contracts.js.map +0 -1
- package/lib/src/utils/embedApi/embedApiClient.d.ts +0 -12
- package/lib/src/utils/embedApi/embedApiClient.d.ts.map +0 -1
- package/lib/src/utils/embedApi/embedApiClient.js +0 -42
- package/lib/src/utils/embedApi/embedApiClient.js.map +0 -1
- package/lib/src/utils/embedApi/processEmbedApi.d.ts +0 -9
- package/lib/src/utils/embedApi/processEmbedApi.d.ts.map +0 -1
- package/lib/src/utils/embedApi/processEmbedApi.js +0 -14
- package/lib/src/utils/embedApi/processEmbedApi.js.map +0 -1
|
@@ -937,6 +937,20 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
937
937
|
* ```
|
|
938
938
|
*/
|
|
939
939
|
disableProfileAndHelp?: boolean;
|
|
940
|
+
/**
|
|
941
|
+
* @version SDK: 1.36.3 | ThoughtSpot: 10.1.0.cl
|
|
942
|
+
* @default true
|
|
943
|
+
* Whether the help menu in the top nav bar should be served
|
|
944
|
+
* from Pendo or ThoughtSpot's internal help items.
|
|
945
|
+
* @example
|
|
946
|
+
* ```js
|
|
947
|
+
* const embed = new AppEmbed('#tsEmbed', {
|
|
948
|
+
* ... // other options
|
|
949
|
+
* enablePendoHelp: false,
|
|
950
|
+
* });
|
|
951
|
+
* ```
|
|
952
|
+
*/
|
|
953
|
+
enablePendoHelp?: boolean;
|
|
940
954
|
/**
|
|
941
955
|
* Control the visibility of the application switcher button on the nav-bar.
|
|
942
956
|
* By default, the application switcher is shown.
|
|
@@ -1578,7 +1592,10 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
|
|
|
1578
1592
|
*/
|
|
1579
1593
|
showPreviewLoader?: boolean;
|
|
1580
1594
|
/**
|
|
1581
|
-
*
|
|
1595
|
+
* Enables or disables the compact header feature on a Liveboard.
|
|
1596
|
+
* Compact Liveboard header is turned off by default on Liveboards in
|
|
1597
|
+
* ThoughtSpot Embedded apps.
|
|
1598
|
+
*
|
|
1582
1599
|
* @type {boolean}
|
|
1583
1600
|
* @default false
|
|
1584
1601
|
* @version SDK: 1.35.0 | ThoughtSpot:10.3.0.cl
|
|
@@ -2517,9 +2534,9 @@ export type DOMSelector = string | HTMLElement;
|
|
|
2517
2534
|
export interface customCssInterface {
|
|
2518
2535
|
/**
|
|
2519
2536
|
* The custom css variables, which can be set.
|
|
2520
|
-
* The
|
|
2537
|
+
* The variables are available in the {@link CustomCssVariables}
|
|
2521
2538
|
* interface. For more information, see
|
|
2522
|
-
* link:https://developers.thoughtspot.com/docs/css-variables-reference
|
|
2539
|
+
* link:https://developers.thoughtspot.com/docs/css-variables-reference[CSS variable reference].
|
|
2523
2540
|
*/
|
|
2524
2541
|
variables?: CustomCssVariables;
|
|
2525
2542
|
/**
|
|
@@ -3046,7 +3063,7 @@ export interface ViewConfig {
|
|
|
3046
3063
|
*/
|
|
3047
3064
|
showAlerts?: boolean;
|
|
3048
3065
|
/**
|
|
3049
|
-
* The list of runtime filters to apply to a search
|
|
3066
|
+
* The list of runtime filters to apply to a search Answer,
|
|
3050
3067
|
* visualization, or Liveboard.
|
|
3051
3068
|
* @version SDK: 1.9.4 | ThoughtSpot 8.1.0.cl, 8.4.1.sw
|
|
3052
3069
|
* @example
|
|
@@ -3065,7 +3082,7 @@ export interface ViewConfig {
|
|
|
3065
3082
|
*/
|
|
3066
3083
|
runtimeFilters?: RuntimeFilter[];
|
|
3067
3084
|
/**
|
|
3068
|
-
* The list of parameter override to apply to a search
|
|
3085
|
+
* The list of parameter override to apply to a search Answer,
|
|
3069
3086
|
* visualization, or Liveboard.
|
|
3070
3087
|
* @version SDK : 1.25.0 | ThoughtSpot: 9.2.0.cl, 9.5.0.sw
|
|
3071
3088
|
* @example
|
|
@@ -3083,7 +3100,7 @@ export interface ViewConfig {
|
|
|
3083
3100
|
*/
|
|
3084
3101
|
runtimeParameters?: RuntimeParameter[];
|
|
3085
3102
|
/**
|
|
3086
|
-
* The locale
|
|
3103
|
+
* The locale settings to apply to the embedded view.
|
|
3087
3104
|
* @version SDK: 1.9.4 | ThoughtSpot 8.1.0.cl, 8.4.1.sw
|
|
3088
3105
|
* @example
|
|
3089
3106
|
* ```js
|
|
@@ -3150,7 +3167,7 @@ export interface ViewConfig {
|
|
|
3150
3167
|
*/
|
|
3151
3168
|
contextMenuTrigger?: ContextMenuTriggerOptions;
|
|
3152
3169
|
/**
|
|
3153
|
-
* Flag to override
|
|
3170
|
+
* Flag to override the *Open Link in New Tab* context menu option.
|
|
3154
3171
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3155
3172
|
* @example
|
|
3156
3173
|
* ```js
|
|
@@ -3289,7 +3306,7 @@ export interface ViewConfig {
|
|
|
3289
3306
|
*/
|
|
3290
3307
|
preRenderId?: string;
|
|
3291
3308
|
/**
|
|
3292
|
-
* Determines
|
|
3309
|
+
* Determines if the PreRender component should dynamically track the size
|
|
3293
3310
|
* of its embedding element and adjust its own size accordingly.
|
|
3294
3311
|
* Enabling this option allows the PreRender component to automatically adapt
|
|
3295
3312
|
* its dimensions based on changes to the size of the embedding element.
|
|
@@ -3661,8 +3678,8 @@ export declare enum EmbedEvent {
|
|
|
3661
3678
|
*/
|
|
3662
3679
|
Load = "load",
|
|
3663
3680
|
/**
|
|
3664
|
-
* Data pertaining to
|
|
3665
|
-
* @return data - The
|
|
3681
|
+
* Data pertaining to an Answer or Liveboard is received
|
|
3682
|
+
* @return data - The Answer or Liveboard data
|
|
3666
3683
|
* @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
|
|
3667
3684
|
* @example
|
|
3668
3685
|
*```js
|
|
@@ -3836,7 +3853,7 @@ export declare enum EmbedEvent {
|
|
|
3836
3853
|
*/
|
|
3837
3854
|
Alert = "alert",
|
|
3838
3855
|
/**
|
|
3839
|
-
* The ThoughtSpot
|
|
3856
|
+
* The ThoughtSpot authentication session has expired.
|
|
3840
3857
|
* @version SDK: 1.4.0 | ThoughtSpot: ts7.sep.cl, 8.4.1.sw
|
|
3841
3858
|
* @example
|
|
3842
3859
|
*```js
|
|
@@ -3906,7 +3923,7 @@ export declare enum EmbedEvent {
|
|
|
3906
3923
|
/**
|
|
3907
3924
|
* Emitted when the embed does not have cookie access. This happens
|
|
3908
3925
|
* when Safari and other Web browsers block third-party cookies
|
|
3909
|
-
* are blocked by default. `NoCookieAccess` can trigger
|
|
3926
|
+
* are blocked by default. `NoCookieAccess` can trigger.
|
|
3910
3927
|
* @example
|
|
3911
3928
|
*```js
|
|
3912
3929
|
* appEmbed.on(EmbedEvent.NoCookieAccess)
|
|
@@ -3994,7 +4011,7 @@ export declare enum EmbedEvent {
|
|
|
3994
4011
|
*/
|
|
3995
4012
|
Save = "save",
|
|
3996
4013
|
/**
|
|
3997
|
-
* Emitted when the download action is triggered on an
|
|
4014
|
+
* Emitted when the download action is triggered on an Answer.
|
|
3998
4015
|
*
|
|
3999
4016
|
* **Note**: This event is deprecated in v1.21.0.
|
|
4000
4017
|
* To fire an event when a download action is initiated on a chart or table,
|
|
@@ -4010,7 +4027,7 @@ export declare enum EmbedEvent {
|
|
|
4010
4027
|
*/
|
|
4011
4028
|
Download = "download",
|
|
4012
4029
|
/**
|
|
4013
|
-
* Emitted when the download action is triggered on an
|
|
4030
|
+
* Emitted when the download action is triggered on an Answer.
|
|
4014
4031
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.4.0.sw
|
|
4015
4032
|
* @example
|
|
4016
4033
|
*```js
|
|
@@ -4024,7 +4041,7 @@ export declare enum EmbedEvent {
|
|
|
4024
4041
|
*/
|
|
4025
4042
|
DownloadAsPng = "downloadAsPng",
|
|
4026
4043
|
/**
|
|
4027
|
-
* Emitted when the Download as PDF action is triggered on an
|
|
4044
|
+
* Emitted when the Download as PDF action is triggered on an Answer
|
|
4028
4045
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
4029
4046
|
* @example
|
|
4030
4047
|
*```js
|
|
@@ -4038,7 +4055,7 @@ export declare enum EmbedEvent {
|
|
|
4038
4055
|
*/
|
|
4039
4056
|
DownloadAsPdf = "downloadAsPdf",
|
|
4040
4057
|
/**
|
|
4041
|
-
* Emitted when the Download as CSV action is triggered on an
|
|
4058
|
+
* Emitted when the Download as CSV action is triggered on an Answer.
|
|
4042
4059
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
4043
4060
|
* @example
|
|
4044
4061
|
*```js
|
|
@@ -4052,7 +4069,7 @@ export declare enum EmbedEvent {
|
|
|
4052
4069
|
*/
|
|
4053
4070
|
DownloadAsCsv = "downloadAsCsv",
|
|
4054
4071
|
/**
|
|
4055
|
-
* Emitted when the Download as XLSX action is triggered on an
|
|
4072
|
+
* Emitted when the Download as XLSX action is triggered on an Answer.
|
|
4056
4073
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
4057
4074
|
* @example
|
|
4058
4075
|
*```js
|
|
@@ -4080,7 +4097,8 @@ export declare enum EmbedEvent {
|
|
|
4080
4097
|
*/
|
|
4081
4098
|
AnswerDelete = "answerDelete",
|
|
4082
4099
|
/**
|
|
4083
|
-
* Emitted when
|
|
4100
|
+
* Emitted when a user initiates the Pin action to
|
|
4101
|
+
* add an Answer to a Liveboard.
|
|
4084
4102
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
4085
4103
|
* @example
|
|
4086
4104
|
*```js
|
|
@@ -4218,7 +4236,7 @@ export declare enum EmbedEvent {
|
|
|
4218
4236
|
*/
|
|
4219
4237
|
SaveAsView = "saveAsView",
|
|
4220
4238
|
/**
|
|
4221
|
-
* Emitted when the user creates a copy of an Answer
|
|
4239
|
+
* Emitted when the user creates a copy of an Answer.
|
|
4222
4240
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
4223
4241
|
* @example
|
|
4224
4242
|
*```js
|
|
@@ -4232,7 +4250,7 @@ export declare enum EmbedEvent {
|
|
|
4232
4250
|
*/
|
|
4233
4251
|
CopyAEdit = "copyAEdit",
|
|
4234
4252
|
/**
|
|
4235
|
-
* Emitted when a user clicks Show underlying data on an Answer
|
|
4253
|
+
* Emitted when a user clicks *Show underlying data* on an Answer.
|
|
4236
4254
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
4237
4255
|
* @example
|
|
4238
4256
|
*```js
|
|
@@ -4243,7 +4261,7 @@ export declare enum EmbedEvent {
|
|
|
4243
4261
|
*/
|
|
4244
4262
|
ShowUnderlyingData = "showUnderlyingData",
|
|
4245
4263
|
/**
|
|
4246
|
-
* Emitted when an
|
|
4264
|
+
* Emitted when an Answer is switched to a chart or table view.
|
|
4247
4265
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
4248
4266
|
* @example
|
|
4249
4267
|
*```js
|
|
@@ -4377,11 +4395,12 @@ export declare enum EmbedEvent {
|
|
|
4377
4395
|
*/
|
|
4378
4396
|
CopyLink = "embedDocument",
|
|
4379
4397
|
/**
|
|
4380
|
-
* Emitted when a user interacts with cross filters on a
|
|
4398
|
+
* Emitted when a user interacts with cross filters on a
|
|
4399
|
+
* visualization or Liveboard.
|
|
4381
4400
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.0.sw
|
|
4382
4401
|
* @example
|
|
4383
4402
|
*```js
|
|
4384
|
-
* liveboardEmbed.
|
|
4403
|
+
* liveboardEmbed.on(EmbedEvent.CrossFilterChanged, {
|
|
4385
4404
|
* vizId: '730496d6-6903-4601-937e-2c691821af3c'})
|
|
4386
4405
|
*```
|
|
4387
4406
|
*/
|
|
@@ -4475,8 +4494,8 @@ export declare enum EmbedEvent {
|
|
|
4475
4494
|
*/
|
|
4476
4495
|
DeletePersonalisedView = "deletePersonalisedView",
|
|
4477
4496
|
/**
|
|
4478
|
-
* Emitted when a user creates a
|
|
4479
|
-
* @version SDK : 1.27.0 | ThoughtSpot
|
|
4497
|
+
* Emitted when a user creates a Worksheet.
|
|
4498
|
+
* @version SDK : 1.27.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
4480
4499
|
*/
|
|
4481
4500
|
CreateWorksheet = "createWorksheet",
|
|
4482
4501
|
/**
|
|
@@ -4489,8 +4508,8 @@ export declare enum EmbedEvent {
|
|
|
4489
4508
|
*/
|
|
4490
4509
|
AskSageInit = "AskSageInit",
|
|
4491
4510
|
/**
|
|
4492
|
-
* Emitted when a
|
|
4493
|
-
* @version SDK : 1.28.0 | ThoughtSpot: 9.10.5.cl
|
|
4511
|
+
* Emitted when a Liveboard or visualization is renamed.
|
|
4512
|
+
* @version SDK : 1.28.0 | ThoughtSpot: 9.10.5.cl, 10.1.0.sw
|
|
4494
4513
|
*/
|
|
4495
4514
|
Rename = "rename",
|
|
4496
4515
|
/**
|
|
@@ -4554,8 +4573,7 @@ export declare enum EmbedEvent {
|
|
|
4554
4573
|
OnBeforeGetVizDataIntercept = "onBeforeGetVizDataIntercept",
|
|
4555
4574
|
/**
|
|
4556
4575
|
* Emitted when parameter changes in an Answer
|
|
4557
|
-
* or Liveboard
|
|
4558
|
-
*
|
|
4576
|
+
* or Liveboard.
|
|
4559
4577
|
* ```js
|
|
4560
4578
|
* liveboardEmbed.on(EmbedEvent.ParameterChanged, (payload) => {
|
|
4561
4579
|
* console.log('payload', payload);
|
|
@@ -4582,7 +4600,7 @@ export declare enum EmbedEvent {
|
|
|
4582
4600
|
*/
|
|
4583
4601
|
TableVizRendered = "TableVizRendered",
|
|
4584
4602
|
/**
|
|
4585
|
-
* Emitted when the liveboard is created from pin modal or
|
|
4603
|
+
* Emitted when the liveboard is created from pin modal or Liveboard list page.
|
|
4586
4604
|
* You can use this event as a hook to trigger
|
|
4587
4605
|
* other events on liveboard creation.
|
|
4588
4606
|
*
|
|
@@ -4725,7 +4743,7 @@ export declare enum HostEvent {
|
|
|
4725
4743
|
*/
|
|
4726
4744
|
Filter = "filter",
|
|
4727
4745
|
/**
|
|
4728
|
-
* Reload the
|
|
4746
|
+
* Reload the Answer or visualization
|
|
4729
4747
|
* @hidden
|
|
4730
4748
|
*/
|
|
4731
4749
|
Reload = "reload",
|
|
@@ -4775,12 +4793,10 @@ export declare enum HostEvent {
|
|
|
4775
4793
|
* and `AppEmbed` only. In full application embedding, this event updates
|
|
4776
4794
|
* the runtime filters applied on the Liveboard and saved Answer objects.
|
|
4777
4795
|
*
|
|
4778
|
-
*
|
|
4779
|
-
* Pass an array of runtime filters with the following attributes:
|
|
4780
|
-
*
|
|
4796
|
+
* @param - Pass an array of {@link RuntimeFilter} with the following attributes:
|
|
4781
4797
|
* `columnName` - _String_. The name of the column to filter on.
|
|
4782
4798
|
*
|
|
4783
|
-
* `operator` -
|
|
4799
|
+
* `operator` - {@link RuntimeFilterOp} to apply. For more information,
|
|
4784
4800
|
* see link:https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator[Developer Documentation].
|
|
4785
4801
|
*
|
|
4786
4802
|
* `values` - List of operands. Some operators such as EQ and LE allow a
|
|
@@ -4792,7 +4808,7 @@ export declare enum HostEvent {
|
|
|
4792
4808
|
* will be cleared, restoring the original visualization
|
|
4793
4809
|
* with the updated filters.
|
|
4794
4810
|
*
|
|
4795
|
-
|
|
4811
|
+
|
|
4796
4812
|
* @example
|
|
4797
4813
|
* ```js
|
|
4798
4814
|
* liveboardEmbed.trigger(HostEvent.UpdateRuntimeFilters, [
|
|
@@ -5031,6 +5047,11 @@ export declare enum HostEvent {
|
|
|
5031
5047
|
* appEmbed.trigger(HostEvent.Remove)
|
|
5032
5048
|
* ```
|
|
5033
5049
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
5050
|
+
* * @example
|
|
5051
|
+
* ```js
|
|
5052
|
+
* liveboardEmbed.trigger(HostEvent.Remove)
|
|
5053
|
+
* ```
|
|
5054
|
+
* @version SDK: 1.37.0 | ThoughtSpot: 10.8.0.cl, 10.10.0.sw
|
|
5034
5055
|
*/
|
|
5035
5056
|
Remove = "delete",
|
|
5036
5057
|
/**
|
|
@@ -5441,7 +5462,7 @@ export declare enum HostEvent {
|
|
|
5441
5462
|
* ```js
|
|
5442
5463
|
* liveboardEmbed.trigger(HostEvent.GetTabs).then((tabDetails) => {
|
|
5443
5464
|
* console.log(
|
|
5444
|
-
* tabDetails // TabDetails of current
|
|
5465
|
+
* tabDetails // TabDetails of current Liveboard
|
|
5445
5466
|
* );
|
|
5446
5467
|
* })
|
|
5447
5468
|
* ```
|
|
@@ -5489,7 +5510,7 @@ export declare enum HostEvent {
|
|
|
5489
5510
|
*/
|
|
5490
5511
|
UpdateSageQuery = "updateSageQuery",
|
|
5491
5512
|
/**
|
|
5492
|
-
* Get the
|
|
5513
|
+
* Get the Answer session for a Search or
|
|
5493
5514
|
* Liveboard visualization.
|
|
5494
5515
|
* @example
|
|
5495
5516
|
* ```js
|
|
@@ -5664,6 +5685,7 @@ export declare enum Param {
|
|
|
5664
5685
|
HostAppUrl = "hostAppUrl",
|
|
5665
5686
|
EnableVizTransformations = "enableVizTransform",
|
|
5666
5687
|
EnableSearchAssist = "enableSearchAssist",
|
|
5688
|
+
EnablePendoHelp = "enablePendoHelp",
|
|
5667
5689
|
HideResult = "hideResult",
|
|
5668
5690
|
UseLastSelectedDataSource = "useLastSelectedSources",
|
|
5669
5691
|
Tag = "tag",
|
|
@@ -5888,9 +5910,10 @@ export declare enum Action {
|
|
|
5888
5910
|
*/
|
|
5889
5911
|
AddDataPanelObjects = "addDataPanelObjects",
|
|
5890
5912
|
/**
|
|
5891
|
-
*
|
|
5892
|
-
*
|
|
5893
|
-
* Liveboard.
|
|
5913
|
+
* The filter configuration options for a Liveboard.
|
|
5914
|
+
* The configuration options are available when adding
|
|
5915
|
+
* filters on a Liveboard.
|
|
5916
|
+
*
|
|
5894
5917
|
* @example
|
|
5895
5918
|
* ```js
|
|
5896
5919
|
* disabledActions: [Action.ConfigureFilter]
|
|
@@ -5988,14 +6011,17 @@ export declare enum Action {
|
|
|
5988
6011
|
* @hidden
|
|
5989
6012
|
*/
|
|
5990
6013
|
SpotIQFollow = "spotIQFollow",
|
|
6014
|
+
/**
|
|
6015
|
+
* The Share action for a Liveboard visualization.
|
|
6016
|
+
*/
|
|
5991
6017
|
ShareViz = "shareViz",
|
|
5992
6018
|
/**
|
|
5993
6019
|
* @hidden
|
|
5994
6020
|
*/
|
|
5995
6021
|
ReplaySearch = "replaySearch",
|
|
5996
6022
|
/**
|
|
5997
|
-
* The **Show underlying data** menu action on a
|
|
5998
|
-
* Answer page.
|
|
6023
|
+
* The **Show underlying data** menu action on a
|
|
6024
|
+
* visualization or Answer page.
|
|
5999
6025
|
* Displays detailed information and raw data
|
|
6000
6026
|
* for a given visualization.
|
|
6001
6027
|
* @example
|
|
@@ -6005,8 +6031,8 @@ export declare enum Action {
|
|
|
6005
6031
|
*/
|
|
6006
6032
|
ShowUnderlyingData = "showUnderlyingData",
|
|
6007
6033
|
/**
|
|
6008
|
-
* The **Download** menu action on Liveboard
|
|
6009
|
-
* and Answers.
|
|
6034
|
+
* The **Download** menu action on Liveboard
|
|
6035
|
+
* visualizations and Answers.
|
|
6010
6036
|
* Allows downloading a visualization or Answer.
|
|
6011
6037
|
* @example
|
|
6012
6038
|
* ```js
|
|
@@ -6027,11 +6053,10 @@ export declare enum Action {
|
|
|
6027
6053
|
/**
|
|
6028
6054
|
*
|
|
6029
6055
|
*The **Download PDF** action that downloads a Liveboard,
|
|
6030
|
-
*visualization, or Answer as a PDF file.
|
|
6031
|
-
*
|
|
6056
|
+
* visualization, or Answer as a PDF file.
|
|
6032
6057
|
*
|
|
6033
|
-
|
|
6034
|
-
*visualizations and Answers
|
|
6058
|
+
* **NOTE**: The **Download** > **PDF** option is available for
|
|
6059
|
+
* tables in visualizations and Answers.
|
|
6035
6060
|
* @example
|
|
6036
6061
|
* ```js
|
|
6037
6062
|
* disabledActions: [Action.DownloadAsPdf]
|
|
@@ -6063,9 +6088,11 @@ export declare enum Action {
|
|
|
6063
6088
|
*/
|
|
6064
6089
|
DownloadTrace = "downloadTrace",
|
|
6065
6090
|
/**
|
|
6066
|
-
* The **Export TML** menu action on Liveboard,
|
|
6067
|
-
*
|
|
6068
|
-
*
|
|
6091
|
+
* The **Export TML** menu action on a Liveboard, Answer, and
|
|
6092
|
+
* the Data Workspace pages for data objects and connections.
|
|
6093
|
+
*
|
|
6094
|
+
* Allows exporting an object as a TML file.
|
|
6095
|
+
*
|
|
6069
6096
|
* @example
|
|
6070
6097
|
* ```js
|
|
6071
6098
|
* disabledActions: [Action.ExportTML]
|
|
@@ -6073,7 +6100,8 @@ export declare enum Action {
|
|
|
6073
6100
|
*/
|
|
6074
6101
|
ExportTML = "exportTSL",
|
|
6075
6102
|
/**
|
|
6076
|
-
* The **Import TML** menu action
|
|
6103
|
+
* The **Import TML** menu action on the
|
|
6104
|
+
* *Data Workspace* > *Utilities* page.
|
|
6077
6105
|
* Imports TML representation of ThoughtSpot objects.
|
|
6078
6106
|
* @example
|
|
6079
6107
|
* ```js
|
|
@@ -6083,7 +6111,7 @@ export declare enum Action {
|
|
|
6083
6111
|
ImportTML = "importTSL",
|
|
6084
6112
|
/**
|
|
6085
6113
|
* The **Update TML** menu action for Liveboards and Answers.
|
|
6086
|
-
*
|
|
6114
|
+
* Updates TML representation of ThoughtSpot objects.
|
|
6087
6115
|
* @example
|
|
6088
6116
|
* ```js
|
|
6089
6117
|
* disabledActions: [Action.UpdateTML]
|
|
@@ -6110,8 +6138,11 @@ export declare enum Action {
|
|
|
6110
6138
|
*/
|
|
6111
6139
|
Present = "present",
|
|
6112
6140
|
/**
|
|
6113
|
-
* The tile resize
|
|
6114
|
-
*
|
|
6141
|
+
* The visualization tile resize option.
|
|
6142
|
+
* Also available via More `...` options menu on a visualization.
|
|
6143
|
+
* Allows resizing visualization tiles and switching
|
|
6144
|
+
* between different preset layout option.
|
|
6145
|
+
*
|
|
6115
6146
|
* @example
|
|
6116
6147
|
* ```js
|
|
6117
6148
|
* disabledActions: [Action.ToggleSize]
|
|
@@ -6137,8 +6168,9 @@ export declare enum Action {
|
|
|
6137
6168
|
*/
|
|
6138
6169
|
EditTitle = "editTitle",
|
|
6139
6170
|
/**
|
|
6140
|
-
* The **Delete**
|
|
6141
|
-
*
|
|
6171
|
+
* The **Delete** action on a Liveboard, *Liveboards* and
|
|
6172
|
+
* *Answers* list pages in full application embedding.
|
|
6173
|
+
*
|
|
6142
6174
|
* @example
|
|
6143
6175
|
* ```js
|
|
6144
6176
|
* disabledActions: [Action.Remove]
|
|
@@ -6215,8 +6247,9 @@ export declare enum Action {
|
|
|
6215
6247
|
*/
|
|
6216
6248
|
Explore = "explore",
|
|
6217
6249
|
/**
|
|
6218
|
-
* The action to include
|
|
6219
|
-
* or
|
|
6250
|
+
* The contextual menu action to include a specific data point
|
|
6251
|
+
* when drilling down a table or chart on an Answer.
|
|
6252
|
+
*
|
|
6220
6253
|
* @example
|
|
6221
6254
|
* ```js
|
|
6222
6255
|
* disabledActions: [Action.DrillInclude]
|
|
@@ -6224,8 +6257,8 @@ export declare enum Action {
|
|
|
6224
6257
|
*/
|
|
6225
6258
|
DrillInclude = "context-menu-item-include",
|
|
6226
6259
|
/**
|
|
6227
|
-
* The action to exclude
|
|
6228
|
-
* or
|
|
6260
|
+
* The contextual menu action to exclude a specific data point
|
|
6261
|
+
* when drilling down a table or chart on an Answer.
|
|
6229
6262
|
* @example
|
|
6230
6263
|
* ```js
|
|
6231
6264
|
* disabledActions: [Action.DrillInclude]
|
|
@@ -6372,7 +6405,7 @@ export declare enum Action {
|
|
|
6372
6405
|
* Allows users to manage data sync pipelines to third-party apps.
|
|
6373
6406
|
* @example
|
|
6374
6407
|
* ```js
|
|
6375
|
-
* disabledActions: [Action.
|
|
6408
|
+
* disabledActions: [Action.ManagePipelines]
|
|
6376
6409
|
* ```
|
|
6377
6410
|
* @version SDK: 1.18.0| ThoughtSpot: 8.10.0.cl, 9.0.1.sw
|
|
6378
6411
|
*/
|
|
@@ -6691,7 +6724,7 @@ export declare enum Action {
|
|
|
6691
6724
|
/**
|
|
6692
6725
|
* Action ID for the Parent TML action
|
|
6693
6726
|
* The parent action **TML** must be included to access TML-related options
|
|
6694
|
-
* within the cascading menu (specific to the
|
|
6727
|
+
* within the cascading menu (specific to the Answer page)
|
|
6695
6728
|
* @example
|
|
6696
6729
|
* ```js
|
|
6697
6730
|
* // to include specific TML actions
|
|
@@ -6730,8 +6763,10 @@ export declare enum Action {
|
|
|
6730
6763
|
*/
|
|
6731
6764
|
VerifiedLiveboard = "verifiedLiveboard",
|
|
6732
6765
|
/**
|
|
6733
|
-
*
|
|
6734
|
-
*
|
|
6766
|
+
* Action ID for the *Ask Sage* In Natural Language Search embed,
|
|
6767
|
+
* *Spotter* in Liveboard, full app, and Spotter embed.
|
|
6768
|
+
*
|
|
6769
|
+
* Allows initiating a conversation with ThoughtSpot AI analyst.
|
|
6735
6770
|
*
|
|
6736
6771
|
* @example
|
|
6737
6772
|
* ```js
|
|
@@ -6927,7 +6962,8 @@ export declare enum Action {
|
|
|
6927
6962
|
*/
|
|
6928
6963
|
DeletePreviousPrompt = "deletePreviousPrompt",
|
|
6929
6964
|
/**
|
|
6930
|
-
* Action ID for hide
|
|
6965
|
+
* Action ID for hide or disable editing tokens generated from
|
|
6966
|
+
* Spotter results.
|
|
6931
6967
|
* @example
|
|
6932
6968
|
* ```js
|
|
6933
6969
|
* hiddenAction: [Action.EditTokens]
|
|
@@ -7670,7 +7706,7 @@ export declare const getEmbedConfig: () => EmbedConfig;
|
|
|
7670
7706
|
* @version SDK: 1.27.0 | ThoughtSpot: *
|
|
7671
7707
|
* @group Global methods
|
|
7672
7708
|
*/
|
|
7673
|
-
export declare const setEmbedConfig: (newConfig: EmbedConfig) =>
|
|
7709
|
+
export declare const setEmbedConfig: (newConfig: EmbedConfig) => any;
|
|
7674
7710
|
|
|
7675
7711
|
export declare const EndPoints: {
|
|
7676
7712
|
CONFIG: string;
|