@thoughtspot/visual-embed-sdk 1.29.1 → 1.29.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/types.d.ts +48 -20
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +46 -19
- package/cjs/src/types.js.map +1 -1
- package/cjs/src/utils/graphql/answerService/answer-queries.d.ts +1 -0
- package/cjs/src/utils/graphql/answerService/answer-queries.d.ts.map +1 -1
- package/cjs/src/utils/graphql/answerService/answer-queries.js +19 -1
- package/cjs/src/utils/graphql/answerService/answer-queries.js.map +1 -1
- package/dist/src/types.d.ts +48 -20
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/utils/graphql/answerService/answer-queries.d.ts +1 -0
- package/dist/src/utils/graphql/answerService/answer-queries.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +50 -20
- package/dist/tsembed-react.js +50 -20
- package/dist/tsembed.es.js +50 -20
- package/dist/tsembed.js +50 -20
- package/dist/visual-embed-sdk-react-full.d.ts +48 -20
- package/dist/visual-embed-sdk-react.d.ts +48 -20
- package/dist/visual-embed-sdk.d.ts +48 -20
- package/lib/package.json +1 -1
- package/lib/src/types.d.ts +48 -20
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +46 -19
- package/lib/src/types.js.map +1 -1
- package/lib/src/utils/graphql/answerService/answer-queries.d.ts +1 -0
- package/lib/src/utils/graphql/answerService/answer-queries.d.ts.map +1 -1
- package/lib/src/utils/graphql/answerService/answer-queries.js +18 -0
- package/lib/src/utils/graphql/answerService/answer-queries.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +48 -20
- package/package.json +1 -1
- package/src/types.ts +48 -20
- package/src/utils/graphql/answerService/answer-queries.ts +19 -0
|
@@ -2271,7 +2271,8 @@ export interface EmbedConfig {
|
|
|
2271
2271
|
};
|
|
2272
2272
|
/**
|
|
2273
2273
|
* Pendo API key to enable Pendo tracking to your own subscription, the key
|
|
2274
|
-
* is added as an additional key to the embed, as per this
|
|
2274
|
+
* is added as an additional key to the embed, as per this link:https://support.pendo.io/hc/en-us/articles/360032201951-Send-data-to-multiple-subscriptions[document].
|
|
2275
|
+
*
|
|
2275
2276
|
* @version SDK: 1.27.0 | ThoughtSpot: 9.8.0.cl
|
|
2276
2277
|
*/
|
|
2277
2278
|
pendoTrackingKey?: string;
|
|
@@ -3491,7 +3492,9 @@ export declare enum EmbedEvent {
|
|
|
3491
3492
|
*/
|
|
3492
3493
|
CopyToClipboard = "context-menu-item-copy-to-clipboard",
|
|
3493
3494
|
/**
|
|
3494
|
-
* Emitted when a user clicks the **Update TML** action
|
|
3495
|
+
* Emitted when a user clicks the **Update TML** action on
|
|
3496
|
+
* embedded Liveboard.
|
|
3497
|
+
*
|
|
3495
3498
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
3496
3499
|
* @example
|
|
3497
3500
|
*```js
|
|
@@ -3502,6 +3505,8 @@ export declare enum EmbedEvent {
|
|
|
3502
3505
|
UpdateTML = "updateTSL",
|
|
3503
3506
|
/**
|
|
3504
3507
|
* Emitted when a user clicks the **Edit TML** action
|
|
3508
|
+
* on an embedded Liveboard.
|
|
3509
|
+
*
|
|
3505
3510
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
3506
3511
|
* @example
|
|
3507
3512
|
*```js
|
|
@@ -3978,8 +3983,8 @@ export declare enum HostEvent {
|
|
|
3978
3983
|
* _String_. The name of the column to filter on.
|
|
3979
3984
|
*
|
|
3980
3985
|
* `operator`
|
|
3981
|
-
*
|
|
3982
|
-
*
|
|
3986
|
+
* Runtime filter operator to apply. For information,
|
|
3987
|
+
* see link:https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator[Developer Documentation].
|
|
3983
3988
|
*
|
|
3984
3989
|
* `values`
|
|
3985
3990
|
* List of operands. Some operators such as EQ, LE allow a single value, whereas
|
|
@@ -4107,16 +4112,22 @@ export declare enum HostEvent {
|
|
|
4107
4112
|
*/
|
|
4108
4113
|
SchedulesList = "schedule-list",
|
|
4109
4114
|
/**
|
|
4110
|
-
* Trigger the **Export TML** action on an embedded Liveboard
|
|
4115
|
+
* Trigger the **Export TML** action on an embedded Liveboard or
|
|
4116
|
+
* Answer.
|
|
4117
|
+
*
|
|
4111
4118
|
* @example
|
|
4112
4119
|
* ```js
|
|
4113
4120
|
* liveboardEmbed.trigger(HostEvent.ExportTML)
|
|
4114
4121
|
* ```
|
|
4122
|
+
*
|
|
4115
4123
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
4116
4124
|
*/
|
|
4117
4125
|
ExportTML = "exportTSL",
|
|
4118
4126
|
/**
|
|
4119
|
-
* Trigger the **Edit TML** action on an embedded Liveboard
|
|
4127
|
+
* Trigger the **Edit TML** action on an embedded Liveboard or
|
|
4128
|
+
* saved Answers in the full application embedding.
|
|
4129
|
+
*
|
|
4130
|
+
*
|
|
4120
4131
|
* @example
|
|
4121
4132
|
* ```js
|
|
4122
4133
|
* liveboardEmbed.trigger(HostEvent.EditTML)
|
|
@@ -4134,7 +4145,12 @@ export declare enum HostEvent {
|
|
|
4134
4145
|
*/
|
|
4135
4146
|
UpdateTML = "updateTSL",
|
|
4136
4147
|
/**
|
|
4137
|
-
* Trigger the **Download PDF** action on an embedded Liveboard
|
|
4148
|
+
* Trigger the **Download PDF** action on an embedded Liveboard,
|
|
4149
|
+
* visualization or Answer.
|
|
4150
|
+
*
|
|
4151
|
+
* **NOTE**: The **Download** > **PDF** action is available on
|
|
4152
|
+
* visualizations and Answers if the data is in tabular format.
|
|
4153
|
+
*
|
|
4138
4154
|
* @example
|
|
4139
4155
|
* ```js
|
|
4140
4156
|
* liveboardEmbed.trigger(HostEvent.DownloadAsPdf)
|
|
@@ -4202,22 +4218,23 @@ export declare enum HostEvent {
|
|
|
4202
4218
|
*/
|
|
4203
4219
|
ManageMonitor = "manageMonitor",
|
|
4204
4220
|
/**
|
|
4205
|
-
* Trigger the **Edit** action on a Liveboard or visualization
|
|
4221
|
+
* Trigger the **Edit** action on a Liveboard or a visualization
|
|
4222
|
+
* on a Liveboard.
|
|
4223
|
+
*
|
|
4224
|
+
* This event is not supported in visualization embed and search embed.
|
|
4225
|
+
*
|
|
4206
4226
|
* @param - object - To trigger the action for a specific visualization
|
|
4207
4227
|
* in Liveboard embed, pass in `vizId` as a key.
|
|
4208
|
-
*
|
|
4209
|
-
* a visualization.
|
|
4228
|
+
*
|
|
4210
4229
|
* @example
|
|
4211
4230
|
* ```js
|
|
4212
4231
|
* liveboardEmbed.trigger(HostEvent.Edit)
|
|
4213
4232
|
* ```
|
|
4233
|
+
* @example
|
|
4214
4234
|
* ```js
|
|
4215
4235
|
* liveboardEmbed.trigger(HostEvent.Edit, {vizId:
|
|
4216
4236
|
* '730496d6-6903-4601-937e-2c691821af3c'})
|
|
4217
4237
|
* ```
|
|
4218
|
-
* ```js
|
|
4219
|
-
* vizEmbed.trigger((HostEvent.Edit)
|
|
4220
|
-
* ```
|
|
4221
4238
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
4222
4239
|
*/
|
|
4223
4240
|
Edit = "edit",
|
|
@@ -4474,7 +4491,9 @@ export declare enum HostEvent {
|
|
|
4474
4491
|
*/
|
|
4475
4492
|
ResetSearch = "resetSearch",
|
|
4476
4493
|
/**
|
|
4477
|
-
* Get details of
|
|
4494
|
+
* Get details of filters applied on the Liveboard.
|
|
4495
|
+
* Returns arrays containing Liveboard filter and runtime filter elements.
|
|
4496
|
+
*
|
|
4478
4497
|
* @example
|
|
4479
4498
|
* ```js
|
|
4480
4499
|
* const data = await liveboardEmbed.trigger(HostEvent.GetFilters);
|
|
@@ -4496,11 +4515,12 @@ export declare enum HostEvent {
|
|
|
4496
4515
|
*
|
|
4497
4516
|
* `oper` - Filter operator, for example, EQ, IN, CONTAINS.
|
|
4498
4517
|
* For information about the supported filter operators,
|
|
4499
|
-
* see
|
|
4518
|
+
* see link:https://developers.thoughtspot.com/docs/runtime-filters#rtOperator[Developer Documentation].
|
|
4500
4519
|
*
|
|
4501
4520
|
* `values` - An array of one or several values. The value definition on the
|
|
4502
4521
|
* data type you choose to filter on. For a complete list of supported data types,
|
|
4503
|
-
* see
|
|
4522
|
+
* see link:https://developers.thoughtspot.com/docs/runtime-filters#_supported_data_types[Developer Documentation].
|
|
4523
|
+
*
|
|
4504
4524
|
* @example
|
|
4505
4525
|
* ```js
|
|
4506
4526
|
*
|
|
@@ -4816,7 +4836,9 @@ export declare enum Action {
|
|
|
4816
4836
|
SaveUntitled = "saveUntitled",
|
|
4817
4837
|
/**
|
|
4818
4838
|
* The **Save as View** action on the Answer
|
|
4819
|
-
* page. Saves an Answer as a View object
|
|
4839
|
+
* page. Saves an Answer as a View object in the full
|
|
4840
|
+
* application embedding mode.
|
|
4841
|
+
*
|
|
4820
4842
|
* @example
|
|
4821
4843
|
* ```js
|
|
4822
4844
|
* disabledActions: [Action.SaveAsView]
|
|
@@ -5020,8 +5042,12 @@ export declare enum Action {
|
|
|
5020
5042
|
DownloadAsPng = "downloadAsPng",
|
|
5021
5043
|
/**
|
|
5022
5044
|
*
|
|
5023
|
-
*The **Download PDF** action that downloads a Liveboard,
|
|
5024
|
-
*visualization, or Answer as a PDF file.
|
|
5045
|
+
* The **Download PDF** action that downloads a Liveboard,
|
|
5046
|
+
* visualization, or Answer as a PDF file.
|
|
5047
|
+
*
|
|
5048
|
+
*
|
|
5049
|
+
* **NOTE**: The **Download** > **PDF** action is available on
|
|
5050
|
+
* visualizations and Answers if the data is in tabular format.
|
|
5025
5051
|
*
|
|
5026
5052
|
***NOTE**: The **Download** > **PDF** action is available on
|
|
5027
5053
|
*visualizations and Answers if the data is in tabular format.
|
|
@@ -5270,7 +5296,9 @@ export declare enum Action {
|
|
|
5270
5296
|
*/
|
|
5271
5297
|
QueryDetailsButtons = "queryDetailsButtons",
|
|
5272
5298
|
/**
|
|
5273
|
-
* The **Delete** action for Answers
|
|
5299
|
+
* The **Delete** action for Answers in the full application
|
|
5300
|
+
* embedding mode.
|
|
5301
|
+
*
|
|
5274
5302
|
* @example
|
|
5275
5303
|
* ```js
|
|
5276
5304
|
* disabledActions: [Action.AnswerDelete]
|
|
@@ -1967,7 +1967,8 @@ export interface EmbedConfig {
|
|
|
1967
1967
|
};
|
|
1968
1968
|
/**
|
|
1969
1969
|
* Pendo API key to enable Pendo tracking to your own subscription, the key
|
|
1970
|
-
* is added as an additional key to the embed, as per this
|
|
1970
|
+
* is added as an additional key to the embed, as per this link:https://support.pendo.io/hc/en-us/articles/360032201951-Send-data-to-multiple-subscriptions[document].
|
|
1971
|
+
*
|
|
1971
1972
|
* @version SDK: 1.27.0 | ThoughtSpot: 9.8.0.cl
|
|
1972
1973
|
*/
|
|
1973
1974
|
pendoTrackingKey?: string;
|
|
@@ -3187,7 +3188,9 @@ export declare enum EmbedEvent {
|
|
|
3187
3188
|
*/
|
|
3188
3189
|
CopyToClipboard = "context-menu-item-copy-to-clipboard",
|
|
3189
3190
|
/**
|
|
3190
|
-
* Emitted when a user clicks the **Update TML** action
|
|
3191
|
+
* Emitted when a user clicks the **Update TML** action on
|
|
3192
|
+
* embedded Liveboard.
|
|
3193
|
+
*
|
|
3191
3194
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
3192
3195
|
* @example
|
|
3193
3196
|
*```js
|
|
@@ -3198,6 +3201,8 @@ export declare enum EmbedEvent {
|
|
|
3198
3201
|
UpdateTML = "updateTSL",
|
|
3199
3202
|
/**
|
|
3200
3203
|
* Emitted when a user clicks the **Edit TML** action
|
|
3204
|
+
* on an embedded Liveboard.
|
|
3205
|
+
*
|
|
3201
3206
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
3202
3207
|
* @example
|
|
3203
3208
|
*```js
|
|
@@ -3674,8 +3679,8 @@ export declare enum HostEvent {
|
|
|
3674
3679
|
* _String_. The name of the column to filter on.
|
|
3675
3680
|
*
|
|
3676
3681
|
* `operator`
|
|
3677
|
-
*
|
|
3678
|
-
*
|
|
3682
|
+
* Runtime filter operator to apply. For information,
|
|
3683
|
+
* see link:https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator[Developer Documentation].
|
|
3679
3684
|
*
|
|
3680
3685
|
* `values`
|
|
3681
3686
|
* List of operands. Some operators such as EQ, LE allow a single value, whereas
|
|
@@ -3803,16 +3808,22 @@ export declare enum HostEvent {
|
|
|
3803
3808
|
*/
|
|
3804
3809
|
SchedulesList = "schedule-list",
|
|
3805
3810
|
/**
|
|
3806
|
-
* Trigger the **Export TML** action on an embedded Liveboard
|
|
3811
|
+
* Trigger the **Export TML** action on an embedded Liveboard or
|
|
3812
|
+
* Answer.
|
|
3813
|
+
*
|
|
3807
3814
|
* @example
|
|
3808
3815
|
* ```js
|
|
3809
3816
|
* liveboardEmbed.trigger(HostEvent.ExportTML)
|
|
3810
3817
|
* ```
|
|
3818
|
+
*
|
|
3811
3819
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
3812
3820
|
*/
|
|
3813
3821
|
ExportTML = "exportTSL",
|
|
3814
3822
|
/**
|
|
3815
|
-
* Trigger the **Edit TML** action on an embedded Liveboard
|
|
3823
|
+
* Trigger the **Edit TML** action on an embedded Liveboard or
|
|
3824
|
+
* saved Answers in the full application embedding.
|
|
3825
|
+
*
|
|
3826
|
+
*
|
|
3816
3827
|
* @example
|
|
3817
3828
|
* ```js
|
|
3818
3829
|
* liveboardEmbed.trigger(HostEvent.EditTML)
|
|
@@ -3830,7 +3841,12 @@ export declare enum HostEvent {
|
|
|
3830
3841
|
*/
|
|
3831
3842
|
UpdateTML = "updateTSL",
|
|
3832
3843
|
/**
|
|
3833
|
-
* Trigger the **Download PDF** action on an embedded Liveboard
|
|
3844
|
+
* Trigger the **Download PDF** action on an embedded Liveboard,
|
|
3845
|
+
* visualization or Answer.
|
|
3846
|
+
*
|
|
3847
|
+
* **NOTE**: The **Download** > **PDF** action is available on
|
|
3848
|
+
* visualizations and Answers if the data is in tabular format.
|
|
3849
|
+
*
|
|
3834
3850
|
* @example
|
|
3835
3851
|
* ```js
|
|
3836
3852
|
* liveboardEmbed.trigger(HostEvent.DownloadAsPdf)
|
|
@@ -3898,22 +3914,23 @@ export declare enum HostEvent {
|
|
|
3898
3914
|
*/
|
|
3899
3915
|
ManageMonitor = "manageMonitor",
|
|
3900
3916
|
/**
|
|
3901
|
-
* Trigger the **Edit** action on a Liveboard or visualization
|
|
3917
|
+
* Trigger the **Edit** action on a Liveboard or a visualization
|
|
3918
|
+
* on a Liveboard.
|
|
3919
|
+
*
|
|
3920
|
+
* This event is not supported in visualization embed and search embed.
|
|
3921
|
+
*
|
|
3902
3922
|
* @param - object - To trigger the action for a specific visualization
|
|
3903
3923
|
* in Liveboard embed, pass in `vizId` as a key.
|
|
3904
|
-
*
|
|
3905
|
-
* a visualization.
|
|
3924
|
+
*
|
|
3906
3925
|
* @example
|
|
3907
3926
|
* ```js
|
|
3908
3927
|
* liveboardEmbed.trigger(HostEvent.Edit)
|
|
3909
3928
|
* ```
|
|
3929
|
+
* @example
|
|
3910
3930
|
* ```js
|
|
3911
3931
|
* liveboardEmbed.trigger(HostEvent.Edit, {vizId:
|
|
3912
3932
|
* '730496d6-6903-4601-937e-2c691821af3c'})
|
|
3913
3933
|
* ```
|
|
3914
|
-
* ```js
|
|
3915
|
-
* vizEmbed.trigger((HostEvent.Edit)
|
|
3916
|
-
* ```
|
|
3917
3934
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
3918
3935
|
*/
|
|
3919
3936
|
Edit = "edit",
|
|
@@ -4170,7 +4187,9 @@ export declare enum HostEvent {
|
|
|
4170
4187
|
*/
|
|
4171
4188
|
ResetSearch = "resetSearch",
|
|
4172
4189
|
/**
|
|
4173
|
-
* Get details of
|
|
4190
|
+
* Get details of filters applied on the Liveboard.
|
|
4191
|
+
* Returns arrays containing Liveboard filter and runtime filter elements.
|
|
4192
|
+
*
|
|
4174
4193
|
* @example
|
|
4175
4194
|
* ```js
|
|
4176
4195
|
* const data = await liveboardEmbed.trigger(HostEvent.GetFilters);
|
|
@@ -4192,11 +4211,12 @@ export declare enum HostEvent {
|
|
|
4192
4211
|
*
|
|
4193
4212
|
* `oper` - Filter operator, for example, EQ, IN, CONTAINS.
|
|
4194
4213
|
* For information about the supported filter operators,
|
|
4195
|
-
* see
|
|
4214
|
+
* see link:https://developers.thoughtspot.com/docs/runtime-filters#rtOperator[Developer Documentation].
|
|
4196
4215
|
*
|
|
4197
4216
|
* `values` - An array of one or several values. The value definition on the
|
|
4198
4217
|
* data type you choose to filter on. For a complete list of supported data types,
|
|
4199
|
-
* see
|
|
4218
|
+
* see link:https://developers.thoughtspot.com/docs/runtime-filters#_supported_data_types[Developer Documentation].
|
|
4219
|
+
*
|
|
4200
4220
|
* @example
|
|
4201
4221
|
* ```js
|
|
4202
4222
|
*
|
|
@@ -4512,7 +4532,9 @@ export declare enum Action {
|
|
|
4512
4532
|
SaveUntitled = "saveUntitled",
|
|
4513
4533
|
/**
|
|
4514
4534
|
* The **Save as View** action on the Answer
|
|
4515
|
-
* page. Saves an Answer as a View object
|
|
4535
|
+
* page. Saves an Answer as a View object in the full
|
|
4536
|
+
* application embedding mode.
|
|
4537
|
+
*
|
|
4516
4538
|
* @example
|
|
4517
4539
|
* ```js
|
|
4518
4540
|
* disabledActions: [Action.SaveAsView]
|
|
@@ -4716,8 +4738,12 @@ export declare enum Action {
|
|
|
4716
4738
|
DownloadAsPng = "downloadAsPng",
|
|
4717
4739
|
/**
|
|
4718
4740
|
*
|
|
4719
|
-
*The **Download PDF** action that downloads a Liveboard,
|
|
4720
|
-
*visualization, or Answer as a PDF file.
|
|
4741
|
+
* The **Download PDF** action that downloads a Liveboard,
|
|
4742
|
+
* visualization, or Answer as a PDF file.
|
|
4743
|
+
*
|
|
4744
|
+
*
|
|
4745
|
+
* **NOTE**: The **Download** > **PDF** action is available on
|
|
4746
|
+
* visualizations and Answers if the data is in tabular format.
|
|
4721
4747
|
*
|
|
4722
4748
|
***NOTE**: The **Download** > **PDF** action is available on
|
|
4723
4749
|
*visualizations and Answers if the data is in tabular format.
|
|
@@ -4966,7 +4992,9 @@ export declare enum Action {
|
|
|
4966
4992
|
*/
|
|
4967
4993
|
QueryDetailsButtons = "queryDetailsButtons",
|
|
4968
4994
|
/**
|
|
4969
|
-
* The **Delete** action for Answers
|
|
4995
|
+
* The **Delete** action for Answers in the full application
|
|
4996
|
+
* embedding mode.
|
|
4997
|
+
*
|
|
4970
4998
|
* @example
|
|
4971
4999
|
* ```js
|
|
4972
5000
|
* disabledActions: [Action.AnswerDelete]
|
|
@@ -1897,7 +1897,8 @@ export interface EmbedConfig {
|
|
|
1897
1897
|
};
|
|
1898
1898
|
/**
|
|
1899
1899
|
* Pendo API key to enable Pendo tracking to your own subscription, the key
|
|
1900
|
-
* is added as an additional key to the embed, as per this
|
|
1900
|
+
* is added as an additional key to the embed, as per this link:https://support.pendo.io/hc/en-us/articles/360032201951-Send-data-to-multiple-subscriptions[document].
|
|
1901
|
+
*
|
|
1901
1902
|
* @version SDK: 1.27.0 | ThoughtSpot: 9.8.0.cl
|
|
1902
1903
|
*/
|
|
1903
1904
|
pendoTrackingKey?: string;
|
|
@@ -3117,7 +3118,9 @@ export enum EmbedEvent {
|
|
|
3117
3118
|
*/
|
|
3118
3119
|
CopyToClipboard = "context-menu-item-copy-to-clipboard",
|
|
3119
3120
|
/**
|
|
3120
|
-
* Emitted when a user clicks the **Update TML** action
|
|
3121
|
+
* Emitted when a user clicks the **Update TML** action on
|
|
3122
|
+
* embedded Liveboard.
|
|
3123
|
+
*
|
|
3121
3124
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
3122
3125
|
* @example
|
|
3123
3126
|
*```js
|
|
@@ -3128,6 +3131,8 @@ export enum EmbedEvent {
|
|
|
3128
3131
|
UpdateTML = "updateTSL",
|
|
3129
3132
|
/**
|
|
3130
3133
|
* Emitted when a user clicks the **Edit TML** action
|
|
3134
|
+
* on an embedded Liveboard.
|
|
3135
|
+
*
|
|
3131
3136
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
3132
3137
|
* @example
|
|
3133
3138
|
*```js
|
|
@@ -3604,8 +3609,8 @@ export enum HostEvent {
|
|
|
3604
3609
|
* _String_. The name of the column to filter on.
|
|
3605
3610
|
*
|
|
3606
3611
|
* `operator`
|
|
3607
|
-
*
|
|
3608
|
-
*
|
|
3612
|
+
* Runtime filter operator to apply. For information,
|
|
3613
|
+
* see link:https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator[Developer Documentation].
|
|
3609
3614
|
*
|
|
3610
3615
|
* `values`
|
|
3611
3616
|
* List of operands. Some operators such as EQ, LE allow a single value, whereas
|
|
@@ -3733,16 +3738,22 @@ export enum HostEvent {
|
|
|
3733
3738
|
*/
|
|
3734
3739
|
SchedulesList = "schedule-list",
|
|
3735
3740
|
/**
|
|
3736
|
-
* Trigger the **Export TML** action on an embedded Liveboard
|
|
3741
|
+
* Trigger the **Export TML** action on an embedded Liveboard or
|
|
3742
|
+
* Answer.
|
|
3743
|
+
*
|
|
3737
3744
|
* @example
|
|
3738
3745
|
* ```js
|
|
3739
3746
|
* liveboardEmbed.trigger(HostEvent.ExportTML)
|
|
3740
3747
|
* ```
|
|
3748
|
+
*
|
|
3741
3749
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
3742
3750
|
*/
|
|
3743
3751
|
ExportTML = "exportTSL",
|
|
3744
3752
|
/**
|
|
3745
|
-
* Trigger the **Edit TML** action on an embedded Liveboard
|
|
3753
|
+
* Trigger the **Edit TML** action on an embedded Liveboard or
|
|
3754
|
+
* saved Answers in the full application embedding.
|
|
3755
|
+
*
|
|
3756
|
+
*
|
|
3746
3757
|
* @example
|
|
3747
3758
|
* ```js
|
|
3748
3759
|
* liveboardEmbed.trigger(HostEvent.EditTML)
|
|
@@ -3760,7 +3771,12 @@ export enum HostEvent {
|
|
|
3760
3771
|
*/
|
|
3761
3772
|
UpdateTML = "updateTSL",
|
|
3762
3773
|
/**
|
|
3763
|
-
* Trigger the **Download PDF** action on an embedded Liveboard
|
|
3774
|
+
* Trigger the **Download PDF** action on an embedded Liveboard,
|
|
3775
|
+
* visualization or Answer.
|
|
3776
|
+
*
|
|
3777
|
+
* **NOTE**: The **Download** > **PDF** action is available on
|
|
3778
|
+
* visualizations and Answers if the data is in tabular format.
|
|
3779
|
+
*
|
|
3764
3780
|
* @example
|
|
3765
3781
|
* ```js
|
|
3766
3782
|
* liveboardEmbed.trigger(HostEvent.DownloadAsPdf)
|
|
@@ -3828,22 +3844,23 @@ export enum HostEvent {
|
|
|
3828
3844
|
*/
|
|
3829
3845
|
ManageMonitor = "manageMonitor",
|
|
3830
3846
|
/**
|
|
3831
|
-
* Trigger the **Edit** action on a Liveboard or visualization
|
|
3847
|
+
* Trigger the **Edit** action on a Liveboard or a visualization
|
|
3848
|
+
* on a Liveboard.
|
|
3849
|
+
*
|
|
3850
|
+
* This event is not supported in visualization embed and search embed.
|
|
3851
|
+
*
|
|
3832
3852
|
* @param - object - To trigger the action for a specific visualization
|
|
3833
3853
|
* in Liveboard embed, pass in `vizId` as a key.
|
|
3834
|
-
*
|
|
3835
|
-
* a visualization.
|
|
3854
|
+
*
|
|
3836
3855
|
* @example
|
|
3837
3856
|
* ```js
|
|
3838
3857
|
* liveboardEmbed.trigger(HostEvent.Edit)
|
|
3839
3858
|
* ```
|
|
3859
|
+
* @example
|
|
3840
3860
|
* ```js
|
|
3841
3861
|
* liveboardEmbed.trigger(HostEvent.Edit, {vizId:
|
|
3842
3862
|
* '730496d6-6903-4601-937e-2c691821af3c'})
|
|
3843
3863
|
* ```
|
|
3844
|
-
* ```js
|
|
3845
|
-
* vizEmbed.trigger((HostEvent.Edit)
|
|
3846
|
-
* ```
|
|
3847
3864
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
3848
3865
|
*/
|
|
3849
3866
|
Edit = "edit",
|
|
@@ -4100,7 +4117,9 @@ export enum HostEvent {
|
|
|
4100
4117
|
*/
|
|
4101
4118
|
ResetSearch = "resetSearch",
|
|
4102
4119
|
/**
|
|
4103
|
-
* Get details of
|
|
4120
|
+
* Get details of filters applied on the Liveboard.
|
|
4121
|
+
* Returns arrays containing Liveboard filter and runtime filter elements.
|
|
4122
|
+
*
|
|
4104
4123
|
* @example
|
|
4105
4124
|
* ```js
|
|
4106
4125
|
* const data = await liveboardEmbed.trigger(HostEvent.GetFilters);
|
|
@@ -4122,11 +4141,12 @@ export enum HostEvent {
|
|
|
4122
4141
|
*
|
|
4123
4142
|
* `oper` - Filter operator, for example, EQ, IN, CONTAINS.
|
|
4124
4143
|
* For information about the supported filter operators,
|
|
4125
|
-
* see
|
|
4144
|
+
* see link:https://developers.thoughtspot.com/docs/runtime-filters#rtOperator[Developer Documentation].
|
|
4126
4145
|
*
|
|
4127
4146
|
* `values` - An array of one or several values. The value definition on the
|
|
4128
4147
|
* data type you choose to filter on. For a complete list of supported data types,
|
|
4129
|
-
* see
|
|
4148
|
+
* see link:https://developers.thoughtspot.com/docs/runtime-filters#_supported_data_types[Developer Documentation].
|
|
4149
|
+
*
|
|
4130
4150
|
* @example
|
|
4131
4151
|
* ```js
|
|
4132
4152
|
*
|
|
@@ -4442,7 +4462,9 @@ export enum Action {
|
|
|
4442
4462
|
SaveUntitled = "saveUntitled",
|
|
4443
4463
|
/**
|
|
4444
4464
|
* The **Save as View** action on the Answer
|
|
4445
|
-
* page. Saves an Answer as a View object
|
|
4465
|
+
* page. Saves an Answer as a View object in the full
|
|
4466
|
+
* application embedding mode.
|
|
4467
|
+
*
|
|
4446
4468
|
* @example
|
|
4447
4469
|
* ```js
|
|
4448
4470
|
* disabledActions: [Action.SaveAsView]
|
|
@@ -4646,8 +4668,12 @@ export enum Action {
|
|
|
4646
4668
|
DownloadAsPng = "downloadAsPng",
|
|
4647
4669
|
/**
|
|
4648
4670
|
*
|
|
4649
|
-
*The **Download PDF** action that downloads a Liveboard,
|
|
4650
|
-
*visualization, or Answer as a PDF file.
|
|
4671
|
+
* The **Download PDF** action that downloads a Liveboard,
|
|
4672
|
+
* visualization, or Answer as a PDF file.
|
|
4673
|
+
*
|
|
4674
|
+
*
|
|
4675
|
+
* **NOTE**: The **Download** > **PDF** action is available on
|
|
4676
|
+
* visualizations and Answers if the data is in tabular format.
|
|
4651
4677
|
*
|
|
4652
4678
|
***NOTE**: The **Download** > **PDF** action is available on
|
|
4653
4679
|
*visualizations and Answers if the data is in tabular format.
|
|
@@ -4896,7 +4922,9 @@ export enum Action {
|
|
|
4896
4922
|
*/
|
|
4897
4923
|
QueryDetailsButtons = "queryDetailsButtons",
|
|
4898
4924
|
/**
|
|
4899
|
-
* The **Delete** action for Answers
|
|
4925
|
+
* The **Delete** action for Answers in the full application
|
|
4926
|
+
* embedding mode.
|
|
4927
|
+
*
|
|
4900
4928
|
* @example
|
|
4901
4929
|
* ```js
|
|
4902
4930
|
* disabledActions: [Action.AnswerDelete]
|