@thoughtspot/visual-embed-sdk 1.35.5-hostEvent.7 → 1.35.5-hostEvent.8
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 +1 -1
- package/cjs/src/embed/base.d.ts +1 -1
- package/cjs/src/embed/base.js +1 -1
- package/cjs/src/embed/hostEventClient/host-event-client.d.ts.map +1 -1
- package/cjs/src/embed/hostEventClient/host-event-client.js +1 -1
- package/cjs/src/embed/hostEventClient/host-event-client.js.map +1 -1
- package/cjs/src/embed/liveboard.d.ts +8 -7
- package/cjs/src/embed/liveboard.d.ts.map +1 -1
- package/cjs/src/embed/liveboard.js +2 -2
- package/cjs/src/embed/liveboard.js.map +1 -1
- package/cjs/src/embed/ts-embed.d.ts +1 -1
- package/cjs/src/embed/ts-embed.js +1 -1
- package/cjs/src/types.d.ts +25 -20
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +19 -18
- package/cjs/src/types.js.map +1 -1
- package/dist/index-nWevLycs.js +7370 -0
- package/dist/src/embed/app.d.ts +1 -1
- package/dist/src/embed/base.d.ts +1 -1
- package/dist/src/embed/hostEventClient/host-event-client.d.ts.map +1 -1
- package/dist/src/embed/liveboard.d.ts +8 -7
- package/dist/src/embed/liveboard.d.ts.map +1 -1
- package/dist/src/embed/ts-embed.d.ts +1 -1
- package/dist/src/types.d.ts +25 -20
- package/dist/src/types.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +26 -25
- package/dist/tsembed-react.js +25 -24
- package/dist/tsembed.es.js +27 -26
- package/dist/tsembed.js +26 -25
- package/dist/visual-embed-sdk-react-full.d.ts +36 -30
- package/dist/visual-embed-sdk-react.d.ts +36 -30
- package/dist/visual-embed-sdk.d.ts +36 -30
- package/lib/package.json +1 -1
- package/lib/src/embed/app.d.ts +1 -1
- package/lib/src/embed/base.d.ts +1 -1
- package/lib/src/embed/base.js +1 -1
- package/lib/src/embed/hostEventClient/host-event-client.d.ts.map +1 -1
- package/lib/src/embed/hostEventClient/host-event-client.js +1 -1
- package/lib/src/embed/hostEventClient/host-event-client.js.map +1 -1
- package/lib/src/embed/liveboard.d.ts +8 -7
- package/lib/src/embed/liveboard.d.ts.map +1 -1
- package/lib/src/embed/liveboard.js +2 -2
- package/lib/src/embed/liveboard.js.map +1 -1
- package/lib/src/embed/ts-embed.d.ts +1 -1
- package/lib/src/embed/ts-embed.js +1 -1
- package/lib/src/types.d.ts +25 -20
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +19 -18
- package/lib/src/types.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +36 -30
- package/package.json +1 -1
- package/src/embed/app.ts +1 -1
- package/src/embed/base.ts +1 -1
- package/src/embed/hostEventClient/host-event-client.ts +1 -6
- package/src/embed/liveboard.ts +8 -7
- package/src/embed/ts-embed.ts +1 -1
- package/src/types.ts +25 -20
|
@@ -441,7 +441,7 @@ declare module '@thoughtspot/visual-embed-sdk/embed/app' {
|
|
|
441
441
|
*/
|
|
442
442
|
showLiveboardVerifiedBadge?: boolean;
|
|
443
443
|
/**
|
|
444
|
-
* This flag is used to enable/disable hide irrelevant filters in
|
|
444
|
+
* This flag is used to enable/disable hide irrelevant filters in Liveboard tab
|
|
445
445
|
* @type {boolean}
|
|
446
446
|
* @default false
|
|
447
447
|
* @version SDK: 1.36.0 | ThoughtSpot:10.6.0.cl
|
|
@@ -567,7 +567,7 @@ declare module '@thoughtspot/visual-embed-sdk/embed/base' {
|
|
|
567
567
|
/**
|
|
568
568
|
* Initializes the Visual Embed SDK globally and perform
|
|
569
569
|
* authentication if applicable. This function needs to be called before any ThoughtSpot
|
|
570
|
-
* component like
|
|
570
|
+
* component like Liveboard etc can be embedded. But need not wait for AuthEvent.SUCCESS
|
|
571
571
|
* to actually embed. That is handled internally.
|
|
572
572
|
* @param embedConfig The configuration object containing ThoughtSpot host,
|
|
573
573
|
* authentication mechanism and so on.
|
|
@@ -901,7 +901,7 @@ declare module '@thoughtspot/visual-embed-sdk/embed/liveboard' {
|
|
|
901
901
|
*/
|
|
902
902
|
enableAskSage?: boolean;
|
|
903
903
|
/**
|
|
904
|
-
* This flag is used to enable the 2 column layout
|
|
904
|
+
* This flag is used to enable the 2 column layout on a Liveboard
|
|
905
905
|
* @type {boolean}
|
|
906
906
|
* @default false
|
|
907
907
|
* @version SDK: 1.32.0 | ThoughtSpot:10.1.0.cl
|
|
@@ -936,7 +936,7 @@ declare module '@thoughtspot/visual-embed-sdk/embed/liveboard' {
|
|
|
936
936
|
*/
|
|
937
937
|
showPreviewLoader?: boolean;
|
|
938
938
|
/**
|
|
939
|
-
* This flag is used to enable the compact header
|
|
939
|
+
* This flag is used to enable the compact header on a Liveboard
|
|
940
940
|
* @type {boolean}
|
|
941
941
|
* @default false
|
|
942
942
|
* @version SDK: 1.35.0 | ThoughtSpot:10.3.0.cl
|
|
@@ -950,7 +950,7 @@ declare module '@thoughtspot/visual-embed-sdk/embed/liveboard' {
|
|
|
950
950
|
*/
|
|
951
951
|
isLiveboardCompactHeaderEnabled?: boolean;
|
|
952
952
|
/**
|
|
953
|
-
* This flag is used to show/hide verified
|
|
953
|
+
* This flag is used to show/hide verified icon in the Liveboard compact header
|
|
954
954
|
* @type {boolean}
|
|
955
955
|
* @default true
|
|
956
956
|
* @version SDK: 1.35.0 | ThoughtSpot:10.4.0.cl
|
|
@@ -964,7 +964,8 @@ declare module '@thoughtspot/visual-embed-sdk/embed/liveboard' {
|
|
|
964
964
|
*/
|
|
965
965
|
showLiveboardVerifiedBadge?: boolean;
|
|
966
966
|
/**
|
|
967
|
-
* This flag is used to show/hide re-verify banner
|
|
967
|
+
* This flag is used to show/hide the re-verify banner
|
|
968
|
+
* in Liveboard compact header
|
|
968
969
|
* @type {boolean}
|
|
969
970
|
* @default true
|
|
970
971
|
* @version SDK: 1.35.0 | ThoughtSpot:10.4.0.cl
|
|
@@ -978,7 +979,7 @@ declare module '@thoughtspot/visual-embed-sdk/embed/liveboard' {
|
|
|
978
979
|
*/
|
|
979
980
|
showLiveboardReverifyBanner?: boolean;
|
|
980
981
|
/**
|
|
981
|
-
* This flag is used to enable/disable hide irrelevant filters in
|
|
982
|
+
* This flag is used to enable/disable hide irrelevant filters in a Liveboard tab
|
|
982
983
|
* @type {boolean}
|
|
983
984
|
* @default false
|
|
984
985
|
* @version SDK: 1.36.0 | ThoughtSpot:10.6.0.cl
|
|
@@ -1067,8 +1068,8 @@ declare module '@thoughtspot/visual-embed-sdk/embed/liveboard' {
|
|
|
1067
1068
|
render(): Promise<LiveboardEmbed>;
|
|
1068
1069
|
navigateToLiveboard(liveboardId: string, vizId?: string, activeTabId?: string): void;
|
|
1069
1070
|
/**
|
|
1070
|
-
* Returns the full url of the
|
|
1071
|
-
* this
|
|
1071
|
+
* Returns the full url of the Liveboard/visualization which can be used to open
|
|
1072
|
+
* this Liveboard inside the full Thoughtspot application in a new tab.
|
|
1072
1073
|
* @returns url string
|
|
1073
1074
|
*/
|
|
1074
1075
|
getLiveboardUrl(): string;
|
|
@@ -2859,8 +2860,12 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
2859
2860
|
*/
|
|
2860
2861
|
enableCustomColumnGroups?: boolean;
|
|
2861
2862
|
/**
|
|
2862
|
-
*
|
|
2863
|
-
* This
|
|
2863
|
+
* Overrides an Org context for embedding application users.
|
|
2864
|
+
* This parameter allows a user authenticated to one Org to view the
|
|
2865
|
+
* objects from another Org.
|
|
2866
|
+
* The `overrideOrgId` setting is honoured only if the
|
|
2867
|
+
* Per Org URL feature is enabled on your ThoughtSpot instance.
|
|
2868
|
+
*
|
|
2864
2869
|
* @example
|
|
2865
2870
|
* ```js
|
|
2866
2871
|
* const embed = new LiveboardEmbed('#embed', {
|
|
@@ -4117,7 +4122,7 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
4117
4122
|
* @param - autoDrillDown - Optional. If true, the drill down will be
|
|
4118
4123
|
* done automatically on the most popular column.
|
|
4119
4124
|
* @param - vizId [TS >= 9.8.0] - Optional. The GUID of the visualization to drill
|
|
4120
|
-
* in case of a
|
|
4125
|
+
* in case of a Liveboard.
|
|
4121
4126
|
* @example
|
|
4122
4127
|
* ```js
|
|
4123
4128
|
* searchEmbed.on(EmbedEvent.VizPointDoubleClick, (payload) => {
|
|
@@ -4204,26 +4209,26 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
4204
4209
|
*/
|
|
4205
4210
|
SetActiveTab = "SetActiveTab",
|
|
4206
4211
|
/**
|
|
4207
|
-
*
|
|
4208
|
-
*
|
|
4209
|
-
* filters.
|
|
4212
|
+
* Updates the runtime filters applied on a Liveboard. The filter
|
|
4213
|
+
* attributes passed with this event are appended to the existing runtime
|
|
4214
|
+
* filters applied on a Liveboard.
|
|
4215
|
+
*
|
|
4210
4216
|
* Pass an array of runtime filters with the following attributes:
|
|
4211
4217
|
*
|
|
4212
|
-
* `columnName`
|
|
4213
|
-
* _String_. The name of the column to filter on.
|
|
4218
|
+
* `columnName` - _String_. The name of the column to filter on.
|
|
4214
4219
|
*
|
|
4215
|
-
* `operator`
|
|
4216
|
-
* Runtime filter operator to apply. For information,
|
|
4220
|
+
* `operator` - Runtime filter operator to apply. For more information,
|
|
4217
4221
|
* see link:https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator[Developer Documentation].
|
|
4218
4222
|
*
|
|
4219
|
-
* `values`
|
|
4220
|
-
*
|
|
4221
|
-
*
|
|
4223
|
+
* `values` - List of operands. Some operators such as EQ and LE allow a
|
|
4224
|
+
* single value, whereas BW and IN accept multiple values.
|
|
4225
|
+
*
|
|
4226
|
+
* **Note**: `HostEvent.UpdateRuntimeFilters` is supported in `LiveboardEmbed`
|
|
4227
|
+
* and `AppEmbed` only. In full application embedding, this event updates
|
|
4228
|
+
* the runtime filters applied on the Liveboard and saved Answer objects.
|
|
4222
4229
|
*
|
|
4223
|
-
* **Note**: `HostEvent.UpdateRuntimeFilters` is not supported in
|
|
4224
|
-
* Search embedding (SearchEmbed) and Natural Language Search
|
|
4225
|
-
* embedding (SageEmbed).
|
|
4226
4230
|
* @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
|
|
4231
|
+
*
|
|
4227
4232
|
* @example
|
|
4228
4233
|
* ```js
|
|
4229
4234
|
* liveboardEmbed.trigger(HostEvent.UpdateRuntimeFilters, [
|
|
@@ -4922,7 +4927,7 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
4922
4927
|
*/
|
|
4923
4928
|
ResetLiveboardPersonalisedView = "ResetLiveboardPersonalisedView",
|
|
4924
4929
|
/**
|
|
4925
|
-
* Triggers Update
|
|
4930
|
+
* Triggers an event to Update Parameter values for Answers and Liveboard
|
|
4926
4931
|
* @example
|
|
4927
4932
|
* ```js
|
|
4928
4933
|
* liveboardEmbed.trigger(HostEvent.UpdateParameters, [{
|
|
@@ -4944,7 +4949,7 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
4944
4949
|
*/
|
|
4945
4950
|
GetParameters = "GetParameters",
|
|
4946
4951
|
/**
|
|
4947
|
-
* Triggers update
|
|
4952
|
+
* Triggers an event to update a persoanlised view of a Liveboard
|
|
4948
4953
|
* ```js
|
|
4949
4954
|
* liveboardEmbed.trigger(HostEvent.UpdatePersonalisedView, {viewId: '1234'})
|
|
4950
4955
|
* ```
|
|
@@ -5933,7 +5938,7 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
5933
5938
|
*/
|
|
5934
5939
|
ModifySageAnswer = "modifySageAnswer",
|
|
5935
5940
|
/**
|
|
5936
|
-
* The **Move to Tab** menu action on visualizations in
|
|
5941
|
+
* The **Move to Tab** menu action on visualizations in Liveboard edit mode.
|
|
5937
5942
|
* Allows moving a visualization to a different tab.
|
|
5938
5943
|
* @example
|
|
5939
5944
|
* ```js
|
|
@@ -5986,7 +5991,8 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
5986
5991
|
*/
|
|
5987
5992
|
TML = "tml",
|
|
5988
5993
|
/**
|
|
5989
|
-
* Action
|
|
5994
|
+
* Action ID for the create Liveboard option on the Liveboard list page
|
|
5995
|
+
* and Pin modal
|
|
5990
5996
|
* @example
|
|
5991
5997
|
* ```js
|
|
5992
5998
|
* hiddenAction: [Action.CreateLiveboard]
|
|
@@ -7508,7 +7514,7 @@ declare module '@thoughtspot/visual-embed-sdk/embed/ts-embed' {
|
|
|
7508
7514
|
/**
|
|
7509
7515
|
* Returns the answerService which can be used to make arbitrary graphql calls on top
|
|
7510
7516
|
* session.
|
|
7511
|
-
* @param vizId [Optional] to get for a specific viz in case of a
|
|
7517
|
+
* @param vizId [Optional] to get for a specific viz in case of a Liveboard.
|
|
7512
7518
|
* @version SDK: 1.25.0 / ThoughtSpot 9.10.0
|
|
7513
7519
|
*/
|
|
7514
7520
|
getAnswerService(vizId?: string): Promise<AnswerService>;
|
package/package.json
CHANGED
package/src/embed/app.ts
CHANGED
|
@@ -418,7 +418,7 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
418
418
|
*/
|
|
419
419
|
showLiveboardVerifiedBadge?: boolean;
|
|
420
420
|
/**
|
|
421
|
-
* This flag is used to enable/disable hide irrelevant filters in
|
|
421
|
+
* This flag is used to enable/disable hide irrelevant filters in Liveboard tab
|
|
422
422
|
* @type {boolean}
|
|
423
423
|
* @default false
|
|
424
424
|
* @version SDK: 1.36.0 | ThoughtSpot:10.6.0.cl
|
package/src/embed/base.ts
CHANGED
|
@@ -174,7 +174,7 @@ function backwardCompat(embedConfig: EmbedConfig): EmbedConfig {
|
|
|
174
174
|
/**
|
|
175
175
|
* Initializes the Visual Embed SDK globally and perform
|
|
176
176
|
* authentication if applicable. This function needs to be called before any ThoughtSpot
|
|
177
|
-
* component like
|
|
177
|
+
* component like Liveboard etc can be embedded. But need not wait for AuthEvent.SUCCESS
|
|
178
178
|
* to actually embed. That is handled internally.
|
|
179
179
|
* @param embedConfig The configuration object containing ThoughtSpot host,
|
|
180
180
|
* authentication mechanism and so on.
|
|
@@ -10,11 +10,6 @@ import {
|
|
|
10
10
|
TriggerResponse,
|
|
11
11
|
} from './contracts';
|
|
12
12
|
|
|
13
|
-
// Define a type for the eventHandlerMap
|
|
14
|
-
type EventHandlerMap = {
|
|
15
|
-
[K in HostEvent]: any;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
13
|
export class HostEventClient {
|
|
19
14
|
iFrame: HTMLIFrameElement;
|
|
20
15
|
|
|
@@ -61,7 +56,7 @@ export class HostEventClient {
|
|
|
61
56
|
|
|
62
57
|
if (errors) {
|
|
63
58
|
// eslint-disable-next-line no-throw-literal
|
|
64
|
-
throw { error:
|
|
59
|
+
throw { error: errors };
|
|
65
60
|
}
|
|
66
61
|
|
|
67
62
|
return { ...response.value };
|
package/src/embed/liveboard.ts
CHANGED
|
@@ -249,7 +249,7 @@ export interface LiveboardViewConfig
|
|
|
249
249
|
*/
|
|
250
250
|
enableAskSage?: boolean;
|
|
251
251
|
/**
|
|
252
|
-
* This flag is used to enable the 2 column layout
|
|
252
|
+
* This flag is used to enable the 2 column layout on a Liveboard
|
|
253
253
|
* @type {boolean}
|
|
254
254
|
* @default false
|
|
255
255
|
* @version SDK: 1.32.0 | ThoughtSpot:10.1.0.cl
|
|
@@ -284,7 +284,7 @@ export interface LiveboardViewConfig
|
|
|
284
284
|
*/
|
|
285
285
|
showPreviewLoader?: boolean;
|
|
286
286
|
/**
|
|
287
|
-
* This flag is used to enable the compact header
|
|
287
|
+
* This flag is used to enable the compact header on a Liveboard
|
|
288
288
|
* @type {boolean}
|
|
289
289
|
* @default false
|
|
290
290
|
* @version SDK: 1.35.0 | ThoughtSpot:10.3.0.cl
|
|
@@ -298,7 +298,7 @@ export interface LiveboardViewConfig
|
|
|
298
298
|
*/
|
|
299
299
|
isLiveboardCompactHeaderEnabled?: boolean;
|
|
300
300
|
/**
|
|
301
|
-
* This flag is used to show/hide verified
|
|
301
|
+
* This flag is used to show/hide verified icon in the Liveboard compact header
|
|
302
302
|
* @type {boolean}
|
|
303
303
|
* @default true
|
|
304
304
|
* @version SDK: 1.35.0 | ThoughtSpot:10.4.0.cl
|
|
@@ -312,7 +312,8 @@ export interface LiveboardViewConfig
|
|
|
312
312
|
*/
|
|
313
313
|
showLiveboardVerifiedBadge?: boolean;
|
|
314
314
|
/**
|
|
315
|
-
* This flag is used to show/hide re-verify banner
|
|
315
|
+
* This flag is used to show/hide the re-verify banner
|
|
316
|
+
* in Liveboard compact header
|
|
316
317
|
* @type {boolean}
|
|
317
318
|
* @default true
|
|
318
319
|
* @version SDK: 1.35.0 | ThoughtSpot:10.4.0.cl
|
|
@@ -326,7 +327,7 @@ export interface LiveboardViewConfig
|
|
|
326
327
|
*/
|
|
327
328
|
showLiveboardReverifyBanner?: boolean;
|
|
328
329
|
/**
|
|
329
|
-
* This flag is used to enable/disable hide irrelevant filters in
|
|
330
|
+
* This flag is used to enable/disable hide irrelevant filters in a Liveboard tab
|
|
330
331
|
* @type {boolean}
|
|
331
332
|
* @default false
|
|
332
333
|
* @version SDK: 1.36.0 | ThoughtSpot:10.6.0.cl
|
|
@@ -682,8 +683,8 @@ export class LiveboardEmbed extends V1Embed {
|
|
|
682
683
|
}
|
|
683
684
|
|
|
684
685
|
/**
|
|
685
|
-
* Returns the full url of the
|
|
686
|
-
* this
|
|
686
|
+
* Returns the full url of the Liveboard/visualization which can be used to open
|
|
687
|
+
* this Liveboard inside the full Thoughtspot application in a new tab.
|
|
687
688
|
* @returns url string
|
|
688
689
|
*/
|
|
689
690
|
public getLiveboardUrl(): string {
|
package/src/embed/ts-embed.ts
CHANGED
|
@@ -1282,7 +1282,7 @@ export class TsEmbed {
|
|
|
1282
1282
|
/**
|
|
1283
1283
|
* Returns the answerService which can be used to make arbitrary graphql calls on top
|
|
1284
1284
|
* session.
|
|
1285
|
-
* @param vizId [Optional] to get for a specific viz in case of a
|
|
1285
|
+
* @param vizId [Optional] to get for a specific viz in case of a Liveboard.
|
|
1286
1286
|
* @version SDK: 1.25.0 / ThoughtSpot 9.10.0
|
|
1287
1287
|
*/
|
|
1288
1288
|
public async getAnswerService(vizId?: string): Promise<AnswerService> {
|
package/src/types.ts
CHANGED
|
@@ -1088,8 +1088,12 @@ export interface ViewConfig {
|
|
|
1088
1088
|
*/
|
|
1089
1089
|
enableCustomColumnGroups?: boolean;
|
|
1090
1090
|
/**
|
|
1091
|
-
*
|
|
1092
|
-
* This
|
|
1091
|
+
* Overrides an Org context for embedding application users.
|
|
1092
|
+
* This parameter allows a user authenticated to one Org to view the
|
|
1093
|
+
* objects from another Org.
|
|
1094
|
+
* The `overrideOrgId` setting is honoured only if the
|
|
1095
|
+
* Per Org URL feature is enabled on your ThoughtSpot instance.
|
|
1096
|
+
*
|
|
1093
1097
|
* @example
|
|
1094
1098
|
* ```js
|
|
1095
1099
|
* const embed = new LiveboardEmbed('#embed', {
|
|
@@ -2365,7 +2369,7 @@ export enum HostEvent {
|
|
|
2365
2369
|
* @param - autoDrillDown - Optional. If true, the drill down will be
|
|
2366
2370
|
* done automatically on the most popular column.
|
|
2367
2371
|
* @param - vizId [TS >= 9.8.0] - Optional. The GUID of the visualization to drill
|
|
2368
|
-
* in case of a
|
|
2372
|
+
* in case of a Liveboard.
|
|
2369
2373
|
* @example
|
|
2370
2374
|
* ```js
|
|
2371
2375
|
* searchEmbed.on(EmbedEvent.VizPointDoubleClick, (payload) => {
|
|
@@ -2452,26 +2456,26 @@ export enum HostEvent {
|
|
|
2452
2456
|
*/
|
|
2453
2457
|
SetActiveTab = 'SetActiveTab',
|
|
2454
2458
|
/**
|
|
2455
|
-
*
|
|
2456
|
-
*
|
|
2457
|
-
* filters.
|
|
2459
|
+
* Updates the runtime filters applied on a Liveboard. The filter
|
|
2460
|
+
* attributes passed with this event are appended to the existing runtime
|
|
2461
|
+
* filters applied on a Liveboard.
|
|
2462
|
+
*
|
|
2458
2463
|
* Pass an array of runtime filters with the following attributes:
|
|
2459
2464
|
*
|
|
2460
|
-
* `columnName`
|
|
2461
|
-
* _String_. The name of the column to filter on.
|
|
2465
|
+
* `columnName` - _String_. The name of the column to filter on.
|
|
2462
2466
|
*
|
|
2463
|
-
* `operator`
|
|
2464
|
-
* Runtime filter operator to apply. For information,
|
|
2467
|
+
* `operator` - Runtime filter operator to apply. For more information,
|
|
2465
2468
|
* see link:https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator[Developer Documentation].
|
|
2466
2469
|
*
|
|
2467
|
-
* `values`
|
|
2468
|
-
*
|
|
2469
|
-
*
|
|
2470
|
+
* `values` - List of operands. Some operators such as EQ and LE allow a
|
|
2471
|
+
* single value, whereas BW and IN accept multiple values.
|
|
2472
|
+
*
|
|
2473
|
+
* **Note**: `HostEvent.UpdateRuntimeFilters` is supported in `LiveboardEmbed`
|
|
2474
|
+
* and `AppEmbed` only. In full application embedding, this event updates
|
|
2475
|
+
* the runtime filters applied on the Liveboard and saved Answer objects.
|
|
2470
2476
|
*
|
|
2471
|
-
* **Note**: `HostEvent.UpdateRuntimeFilters` is not supported in
|
|
2472
|
-
* Search embedding (SearchEmbed) and Natural Language Search
|
|
2473
|
-
* embedding (SageEmbed).
|
|
2474
2477
|
* @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
|
|
2478
|
+
*
|
|
2475
2479
|
* @example
|
|
2476
2480
|
* ```js
|
|
2477
2481
|
* liveboardEmbed.trigger(HostEvent.UpdateRuntimeFilters, [
|
|
@@ -3170,7 +3174,7 @@ export enum HostEvent {
|
|
|
3170
3174
|
*/
|
|
3171
3175
|
ResetLiveboardPersonalisedView = 'ResetLiveboardPersonalisedView',
|
|
3172
3176
|
/**
|
|
3173
|
-
* Triggers Update
|
|
3177
|
+
* Triggers an event to Update Parameter values for Answers and Liveboard
|
|
3174
3178
|
* @example
|
|
3175
3179
|
* ```js
|
|
3176
3180
|
* liveboardEmbed.trigger(HostEvent.UpdateParameters, [{
|
|
@@ -3192,7 +3196,7 @@ export enum HostEvent {
|
|
|
3192
3196
|
*/
|
|
3193
3197
|
GetParameters = 'GetParameters',
|
|
3194
3198
|
/**
|
|
3195
|
-
* Triggers update
|
|
3199
|
+
* Triggers an event to update a persoanlised view of a Liveboard
|
|
3196
3200
|
* ```js
|
|
3197
3201
|
* liveboardEmbed.trigger(HostEvent.UpdatePersonalisedView, {viewId: '1234'})
|
|
3198
3202
|
* ```
|
|
@@ -4189,7 +4193,7 @@ export enum Action {
|
|
|
4189
4193
|
*/
|
|
4190
4194
|
ModifySageAnswer = 'modifySageAnswer',
|
|
4191
4195
|
/**
|
|
4192
|
-
* The **Move to Tab** menu action on visualizations in
|
|
4196
|
+
* The **Move to Tab** menu action on visualizations in Liveboard edit mode.
|
|
4193
4197
|
* Allows moving a visualization to a different tab.
|
|
4194
4198
|
* @example
|
|
4195
4199
|
* ```js
|
|
@@ -4244,7 +4248,8 @@ export enum Action {
|
|
|
4244
4248
|
TML = 'tml',
|
|
4245
4249
|
|
|
4246
4250
|
/**
|
|
4247
|
-
* Action
|
|
4251
|
+
* Action ID for the create Liveboard option on the Liveboard list page
|
|
4252
|
+
* and Pin modal
|
|
4248
4253
|
* @example
|
|
4249
4254
|
* ```js
|
|
4250
4255
|
* hiddenAction: [Action.CreateLiveboard]
|