@thoughtspot/visual-embed-sdk 1.21.0-alpha.2 → 1.21.0-alpha.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.
Files changed (157) hide show
  1. package/cjs/package.json +170 -0
  2. package/cjs/src/auth.d.ts +183 -0
  3. package/cjs/src/auth.d.ts.map +1 -0
  4. package/cjs/src/auth.js +457 -0
  5. package/cjs/src/auth.js.map +1 -0
  6. package/cjs/src/auth.spec.d.ts +13 -0
  7. package/cjs/src/auth.spec.d.ts.map +1 -0
  8. package/cjs/src/auth.spec.js +397 -0
  9. package/cjs/src/auth.spec.js.map +1 -0
  10. package/cjs/src/config.d.ts +22 -0
  11. package/cjs/src/config.d.ts.map +1 -0
  12. package/cjs/src/config.js +70 -0
  13. package/cjs/src/config.js.map +1 -0
  14. package/cjs/src/config.spec.d.ts +5 -0
  15. package/cjs/src/config.spec.d.ts.map +1 -0
  16. package/cjs/src/config.spec.js +65 -0
  17. package/cjs/src/config.spec.js.map +1 -0
  18. package/cjs/src/embed/app.d.ts +151 -0
  19. package/cjs/src/embed/app.d.ts.map +1 -0
  20. package/cjs/src/embed/app.js +186 -0
  21. package/cjs/src/embed/app.js.map +1 -0
  22. package/cjs/src/embed/app.spec.d.ts +2 -0
  23. package/cjs/src/embed/app.spec.d.ts.map +1 -0
  24. package/cjs/src/embed/app.spec.js +210 -0
  25. package/cjs/src/embed/app.spec.js.map +1 -0
  26. package/cjs/src/embed/base.d.ts +79 -0
  27. package/cjs/src/embed/base.d.ts.map +1 -0
  28. package/cjs/src/embed/base.js +229 -0
  29. package/cjs/src/embed/base.js.map +1 -0
  30. package/cjs/src/embed/base.spec.d.ts +2 -0
  31. package/cjs/src/embed/base.spec.d.ts.map +1 -0
  32. package/cjs/src/embed/base.spec.js +198 -0
  33. package/cjs/src/embed/base.spec.js.map +1 -0
  34. package/cjs/src/embed/embed.spec.d.ts +2 -0
  35. package/cjs/src/embed/embed.spec.d.ts.map +1 -0
  36. package/cjs/src/embed/embed.spec.js +74 -0
  37. package/cjs/src/embed/embed.spec.js.map +1 -0
  38. package/cjs/src/embed/events.spec.d.ts +2 -0
  39. package/cjs/src/embed/events.spec.d.ts.map +1 -0
  40. package/cjs/src/embed/events.spec.js +238 -0
  41. package/cjs/src/embed/events.spec.js.map +1 -0
  42. package/cjs/src/embed/liveboard.d.ts +150 -0
  43. package/cjs/src/embed/liveboard.d.ts.map +1 -0
  44. package/cjs/src/embed/liveboard.js +168 -0
  45. package/cjs/src/embed/liveboard.js.map +1 -0
  46. package/cjs/src/embed/liveboard.spec.d.ts +2 -0
  47. package/cjs/src/embed/liveboard.spec.d.ts.map +1 -0
  48. package/cjs/src/embed/liveboard.spec.js +229 -0
  49. package/cjs/src/embed/liveboard.spec.js.map +1 -0
  50. package/cjs/src/embed/pinboard.spec.d.ts +2 -0
  51. package/cjs/src/embed/pinboard.spec.d.ts.map +1 -0
  52. package/cjs/src/embed/pinboard.spec.js +148 -0
  53. package/cjs/src/embed/pinboard.spec.js.map +1 -0
  54. package/cjs/src/embed/search-bar.d.ts +50 -0
  55. package/cjs/src/embed/search-bar.d.ts.map +1 -0
  56. package/cjs/src/embed/search-bar.js +63 -0
  57. package/cjs/src/embed/search-bar.js.map +1 -0
  58. package/cjs/src/embed/search.d.ts +125 -0
  59. package/cjs/src/embed/search.d.ts.map +1 -0
  60. package/cjs/src/embed/search.js +121 -0
  61. package/cjs/src/embed/search.js.map +1 -0
  62. package/cjs/src/embed/search.spec.d.ts +2 -0
  63. package/cjs/src/embed/search.spec.d.ts.map +1 -0
  64. package/cjs/src/embed/search.spec.js +238 -0
  65. package/cjs/src/embed/search.spec.js.map +1 -0
  66. package/cjs/src/embed/searchEmbed-basic-auth.spec.d.ts +2 -0
  67. package/cjs/src/embed/searchEmbed-basic-auth.spec.d.ts.map +1 -0
  68. package/cjs/src/embed/searchEmbed-basic-auth.spec.js +103 -0
  69. package/cjs/src/embed/searchEmbed-basic-auth.spec.js.map +1 -0
  70. package/cjs/src/embed/ts-embed.d.ts +323 -0
  71. package/cjs/src/embed/ts-embed.d.ts.map +1 -0
  72. package/cjs/src/embed/ts-embed.js +716 -0
  73. package/cjs/src/embed/ts-embed.js.map +1 -0
  74. package/cjs/src/embed/ts-embed.spec.d.ts +2 -0
  75. package/cjs/src/embed/ts-embed.spec.d.ts.map +1 -0
  76. package/cjs/src/embed/ts-embed.spec.js +771 -0
  77. package/cjs/src/embed/ts-embed.spec.js.map +1 -0
  78. package/cjs/src/errors.d.ts +7 -0
  79. package/cjs/src/errors.d.ts.map +1 -0
  80. package/cjs/src/errors.js +10 -0
  81. package/cjs/src/errors.js.map +1 -0
  82. package/cjs/src/index.d.ts +18 -0
  83. package/cjs/src/index.d.ts.map +1 -0
  84. package/cjs/src/index.js +41 -0
  85. package/cjs/src/index.js.map +1 -0
  86. package/cjs/src/mixpanel-service.d.ts +29 -0
  87. package/cjs/src/mixpanel-service.d.ts.map +1 -0
  88. package/cjs/src/mixpanel-service.js +76 -0
  89. package/cjs/src/mixpanel-service.js.map +1 -0
  90. package/cjs/src/mixpanel-service.spec.d.ts +2 -0
  91. package/cjs/src/mixpanel-service.spec.d.ts.map +1 -0
  92. package/cjs/src/mixpanel-service.spec.js +63 -0
  93. package/cjs/src/mixpanel-service.spec.js.map +1 -0
  94. package/cjs/src/react/index.d.ts +38 -0
  95. package/cjs/src/react/index.d.ts.map +1 -0
  96. package/cjs/src/react/index.js +64 -0
  97. package/cjs/src/react/index.js.map +1 -0
  98. package/cjs/src/react/index.spec.d.ts +3 -0
  99. package/cjs/src/react/index.spec.d.ts.map +1 -0
  100. package/cjs/src/react/index.spec.js +126 -0
  101. package/cjs/src/react/index.spec.js.map +1 -0
  102. package/cjs/src/react/util.d.ts +19 -0
  103. package/cjs/src/react/util.d.ts.map +1 -0
  104. package/cjs/src/react/util.js +25 -0
  105. package/cjs/src/react/util.js.map +1 -0
  106. package/cjs/src/test/test-utils.d.ts +48 -0
  107. package/cjs/src/test/test-utils.d.ts.map +1 -0
  108. package/cjs/src/test/test-utils.js +108 -0
  109. package/cjs/src/test/test-utils.js.map +1 -0
  110. package/cjs/src/types.d.ts +1846 -0
  111. package/cjs/src/types.d.ts.map +1 -0
  112. package/cjs/src/types.js +1415 -0
  113. package/cjs/src/types.js.map +1 -0
  114. package/cjs/src/utils/answerService.d.ts +10 -0
  115. package/cjs/src/utils/answerService.d.ts.map +1 -0
  116. package/cjs/src/utils/answerService.js +61 -0
  117. package/cjs/src/utils/answerService.js.map +1 -0
  118. package/cjs/src/utils/answerService.spec.d.ts +2 -0
  119. package/cjs/src/utils/answerService.spec.d.ts.map +1 -0
  120. package/cjs/src/utils/answerService.spec.js +31 -0
  121. package/cjs/src/utils/answerService.spec.js.map +1 -0
  122. package/cjs/src/utils/authService.d.ts +37 -0
  123. package/cjs/src/utils/authService.d.ts.map +1 -0
  124. package/cjs/src/utils/authService.js +106 -0
  125. package/cjs/src/utils/authService.js.map +1 -0
  126. package/cjs/src/utils/authService.spec.d.ts +2 -0
  127. package/cjs/src/utils/authService.spec.d.ts.map +1 -0
  128. package/cjs/src/utils/authService.spec.js +72 -0
  129. package/cjs/src/utils/authService.spec.js.map +1 -0
  130. package/cjs/src/utils/processData.d.ts +16 -0
  131. package/cjs/src/utils/processData.d.ts.map +1 -0
  132. package/cjs/src/utils/processData.js +110 -0
  133. package/cjs/src/utils/processData.js.map +1 -0
  134. package/cjs/src/utils/processData.spec.d.ts +2 -0
  135. package/cjs/src/utils/processData.spec.d.ts.map +1 -0
  136. package/cjs/src/utils/processData.spec.js +142 -0
  137. package/cjs/src/utils/processData.spec.js.map +1 -0
  138. package/cjs/src/utils/processTrigger.d.ts +10 -0
  139. package/cjs/src/utils/processTrigger.d.ts.map +1 -0
  140. package/cjs/src/utils/processTrigger.js +63 -0
  141. package/cjs/src/utils/processTrigger.js.map +1 -0
  142. package/cjs/src/utils/processTrigger.spec.d.ts +2 -0
  143. package/cjs/src/utils/processTrigger.spec.d.ts.map +1 -0
  144. package/cjs/src/utils/processTrigger.spec.js +58 -0
  145. package/cjs/src/utils/processTrigger.spec.js.map +1 -0
  146. package/cjs/src/utils.d.ts +68 -0
  147. package/cjs/src/utils.d.ts.map +1 -0
  148. package/cjs/src/utils.js +196 -0
  149. package/cjs/src/utils.js.map +1 -0
  150. package/cjs/src/utils.spec.d.ts +5 -0
  151. package/cjs/src/utils.spec.d.ts.map +1 -0
  152. package/cjs/src/utils.spec.js +98 -0
  153. package/cjs/src/utils.spec.js.map +1 -0
  154. package/dist/tsembed.es.js +1 -1
  155. package/dist/tsembed.js +1 -1
  156. package/lib/package.json +8 -3
  157. package/package.json +8 -3
@@ -0,0 +1,1415 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright (c) 2023
4
+ *
5
+ * TypeScript type definitions for ThoughtSpot Visual Embed SDK
6
+ *
7
+ * @summary Type definitions for Embed SDK
8
+ * @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
9
+ */
10
+ Object.defineProperty(exports, "__esModule", { value: true });
11
+ exports.ContextMenuTriggerOptions = exports.PrefetchFeatures = exports.OperationType = exports.Action = exports.Param = exports.DataSourceVisualMode = exports.HostEvent = exports.EmbedEvent = exports.RuntimeFilterOp = exports.AuthType = void 0;
12
+ /**
13
+ * The authentication mechanism for allowing access to the
14
+ * the embedded app
15
+ *
16
+ * @group Authentication / Init
17
+ */
18
+ // eslint-disable-next-line no-shadow
19
+ var AuthType;
20
+ (function (AuthType) {
21
+ /**
22
+ * No authentication on the SDK. Passthrough to the embedded App. Alias for
23
+ * `Passthrough`.
24
+ */
25
+ AuthType["None"] = "None";
26
+ /**
27
+ * Passthrough SSO to the embedded App within the iframe. Requires least
28
+ * configuration, but may not be supported by all IDPs. This will behave like `None`
29
+ * if SSO is not configured on ThoughtSpot.
30
+ *
31
+ * @version: SDK: 1.15.0 | ThouhgtSpot: 8.8.0.cl
32
+ */
33
+ AuthType["EmbeddedSSO"] = "EmbeddedSSO";
34
+ /**
35
+ * SSO using SAML
36
+ *
37
+ * @deprecated Use {@link SAMLRedirect} instead
38
+ * @hidden
39
+ */
40
+ AuthType["SSO"] = "SSO_SAML";
41
+ /**
42
+ * SSO using SAML
43
+ *
44
+ * @deprecated Use {@link SAMLRedirect} instead
45
+ * @hidden
46
+ */
47
+ AuthType["SAML"] = "SSO_SAML";
48
+ /**
49
+ * SSO using SAML
50
+ * Will make the host application redirect to the SAML Idp. Use this
51
+ * when the idp does not allow itself to be embedded.
52
+ *
53
+ * This redirects the host application to the SAML Idp. The host application
54
+ * will be redirected back to the ThoughtSpot app after authentication.
55
+ *
56
+ * @example
57
+ * ```js
58
+ * init({
59
+ * // ...
60
+ * authType: AuthType.SAMLRedirect,
61
+ * });
62
+ * ```
63
+ *
64
+ * This opens the SAML Idp in a popup window. The popup is triggered
65
+ * when the user clicks the trigger button. The popup window will be
66
+ * closed automatically after authentication.
67
+ * @example
68
+ * ```js
69
+ * init({
70
+ * // ...
71
+ * authType: AuthType.SAMLRedirect,
72
+ * authTriggerText: 'Login with SAML',
73
+ * authTriggerContainer: '#embed-container',
74
+ * inPopup: true,
75
+ * });
76
+ * ```
77
+ *
78
+ * Can also use event to trigger the popup flow. Works the same
79
+ * as above example.
80
+ * @example
81
+ * ```js
82
+ * const authEE = init({
83
+ * // ...
84
+ * authType: AuthType.SAMLRedirect,
85
+ * inPopup: true,
86
+ * });
87
+ *
88
+ * someButtonOnYourPage.addEventListener('click', () => {
89
+ * authEE.emit(AuthEvent.TRIGGER_SSO_POPUP);
90
+ * });
91
+ * ```
92
+ */
93
+ AuthType["SAMLRedirect"] = "SSO_SAML";
94
+ /**
95
+ * SSO using OIDC
96
+ *
97
+ * @hidden
98
+ * @deprecated Use {@link OIDCRedirect} instead
99
+ */
100
+ AuthType["OIDC"] = "SSO_OIDC";
101
+ /**
102
+ * SSO using OIDC
103
+ * Will make the host application redirect to the OIDC Idp.
104
+ * See code samples in {@link SAMLRedirect}.
105
+ */
106
+ AuthType["OIDCRedirect"] = "SSO_OIDC";
107
+ /**
108
+ * Trusted authentication server
109
+ *
110
+ * @hidden
111
+ * @deprecated Use {@link TrustedAuth} instead
112
+ */
113
+ AuthType["AuthServer"] = "AuthServer";
114
+ /**
115
+ * Trusted authentication server, Use your own authentication server
116
+ * which returns a bearer token, generated using the secret_key obtained
117
+ * from ThoughtSpot.
118
+ *
119
+ * @example
120
+ * ```js
121
+ * init({
122
+ * // ...
123
+ * authType: AuthType.TrustedAuthToken,
124
+ * getAuthToken: () => {
125
+ * return fetch('https://my-backend.app/ts-token')
126
+ * .then((response) => response.json())
127
+ * .then((data) => data.token);
128
+ * }
129
+ * ```
130
+ */
131
+ AuthType["TrustedAuthToken"] = "AuthServer";
132
+ /**
133
+ * Trusted authentication server Cookieless, Use you own authentication
134
+ * server which returns a bearer token, generated using the secret_key
135
+ * obtained from ThoughtSpot. This uses a cookieless authentication
136
+ * approach, recommended to by pass third-party cookie-blocking restriction
137
+ * implemented by some browsers
138
+ */
139
+ AuthType["TrustedAuthTokenCookieless"] = "AuthServerCookieless";
140
+ /**
141
+ * Use the ThoughtSpot login API to authenticate to the cluster directly.
142
+ *
143
+ * Warning: This feature is primarily intended for developer testing. It is
144
+ * strongly advised not to use this authentication method in production.
145
+ */
146
+ AuthType["Basic"] = "Basic";
147
+ })(AuthType = exports.AuthType || (exports.AuthType = {}));
148
+ /**
149
+ * A map of the supported runtime filter operations
150
+ */
151
+ // eslint-disable-next-line no-shadow
152
+ var RuntimeFilterOp;
153
+ (function (RuntimeFilterOp) {
154
+ /**
155
+ * Equals
156
+ */
157
+ RuntimeFilterOp["EQ"] = "EQ";
158
+ /**
159
+ * Does not equal
160
+ */
161
+ RuntimeFilterOp["NE"] = "NE";
162
+ /**
163
+ * Less than
164
+ */
165
+ RuntimeFilterOp["LT"] = "LT";
166
+ /**
167
+ * Less than or equal to
168
+ */
169
+ RuntimeFilterOp["LE"] = "LE";
170
+ /**
171
+ * Greater than
172
+ */
173
+ RuntimeFilterOp["GT"] = "GT";
174
+ /**
175
+ * Greater than or equal to
176
+ */
177
+ RuntimeFilterOp["GE"] = "GE";
178
+ /**
179
+ * Contains
180
+ */
181
+ RuntimeFilterOp["CONTAINS"] = "CONTAINS";
182
+ /**
183
+ * Begins with
184
+ */
185
+ RuntimeFilterOp["BEGINS_WITH"] = "BEGINS_WITH";
186
+ /**
187
+ * Ends with
188
+ */
189
+ RuntimeFilterOp["ENDS_WITH"] = "ENDS_WITH";
190
+ /**
191
+ * Between, inclusive of higher value
192
+ */
193
+ RuntimeFilterOp["BW_INC_MAX"] = "BW_INC_MAX";
194
+ /**
195
+ * Between, inclusive of lower value
196
+ */
197
+ RuntimeFilterOp["BW_INC_MIN"] = "BW_INC_MIN";
198
+ /**
199
+ * Between, inclusive of both higher and lower value
200
+ */
201
+ RuntimeFilterOp["BW_INC"] = "BW_INC";
202
+ /**
203
+ * Between, non-inclusive
204
+ */
205
+ RuntimeFilterOp["BW"] = "BW";
206
+ /**
207
+ * Is included in this list of values
208
+ */
209
+ RuntimeFilterOp["IN"] = "IN";
210
+ })(RuntimeFilterOp = exports.RuntimeFilterOp || (exports.RuntimeFilterOp = {}));
211
+ /**
212
+ * Event types emitted by the embedded ThoughtSpot application.
213
+ *
214
+ * To add an event listener use the corresponding
215
+ * {@link LiveboardEmbed.on} or {@link AppEmbed.on} or {@link SearchEmbed.on} method.
216
+ *
217
+ * @group Events
218
+ */
219
+ // eslint-disable-next-line no-shadow
220
+ var EmbedEvent;
221
+ (function (EmbedEvent) {
222
+ /**
223
+ * Rendering has initialized.
224
+ *
225
+ * @returns timestamp - The timestamp when the event was generated.
226
+ */
227
+ EmbedEvent["Init"] = "init";
228
+ /**
229
+ * Authentication has either succeeded or failed.
230
+ *
231
+ * @returns isLoggedIn - A Boolean specifying whether authentication was successful.
232
+ */
233
+ EmbedEvent["AuthInit"] = "authInit";
234
+ /**
235
+ * The embed object container has loaded.
236
+ *
237
+ * @returns timestamp - The timestamp when the event was generated.
238
+ */
239
+ EmbedEvent["Load"] = "load";
240
+ /**
241
+ * Data pertaining to answer or Liveboard is received
242
+ * @return data - The answer or Liveboard data
243
+ * @important
244
+ */
245
+ EmbedEvent["Data"] = "data";
246
+ /**
247
+ * Search/answer/Liveboard filters have been applied/updated by the user.
248
+ * @hidden
249
+ */
250
+ EmbedEvent["FiltersChanged"] = "filtersChanged";
251
+ /**
252
+ * Search query has been updated by the user.
253
+ */
254
+ EmbedEvent["QueryChanged"] = "queryChanged";
255
+ /**
256
+ * A drill down operation has been performed.
257
+ *
258
+ * @returns additionalFilters - Any additional filters applied
259
+ * @returns drillDownColumns - The columns on which drill down was performed
260
+ * @returns nonFilteredColumns - The columns that were not filtered
261
+ */
262
+ EmbedEvent["Drilldown"] = "drillDown";
263
+ /**
264
+ * One or more data sources have been selected.
265
+ *
266
+ * @returns dataSourceIds - the list of data sources
267
+ */
268
+ EmbedEvent["DataSourceSelected"] = "dataSourceSelected";
269
+ /**
270
+ * One or more data columns have been selected.
271
+ *
272
+ * @returns columnIds - the list of columns
273
+ * @version SDK: 1.10.0 | ThoughtSpot: 8.2.0.cl, 8.4.1-sw
274
+ */
275
+ EmbedEvent["AddRemoveColumns"] = "addRemoveColumns";
276
+ /**
277
+ * A custom action has been triggered
278
+ *
279
+ * @returns actionId - The id of the custom action
280
+ * @returns data - The answer or Liveboard data
281
+ */
282
+ EmbedEvent["CustomAction"] = "customAction";
283
+ /**
284
+ * Listen to double clicks on a visualization
285
+ * @return ContextMenuInputPoints - data point that is double clicked
286
+ * @version SDK: 1.5.0 | ThoughtSpot: ts7.oct.cl, 7.2.1
287
+ */
288
+ EmbedEvent["VizPointDoubleClick"] = "vizPointDoubleClick";
289
+ /**
290
+ * Listen to clicks on a visualization in a liveboard or Search result.
291
+ *
292
+ * @example
293
+ * ```js
294
+ * embed.on(ThoughtSpotEmbed.Event.VizPointClick, (data) => {
295
+ * console.log(
296
+ * data.vizId, // viz id
297
+ * data.clickedPoint.selectedAttributes[0].value,
298
+ * data.clickedPoint.selectedAttributes[0].column.name,
299
+ * data.clickedPoint.selectedMeasures[0].value,
300
+ * data.clickedPoint.selectedMeasures[0].column.name,
301
+ * )
302
+ * });
303
+ * ```
304
+ * @return {vizId, clickedPoint} - metadata about point that is clicked
305
+ * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1-sw
306
+ * @important
307
+ */
308
+ EmbedEvent["VizPointClick"] = "vizPointClick";
309
+ /**
310
+ * An error has occurred.
311
+ *
312
+ * @returns error - An error object or message
313
+ */
314
+ EmbedEvent["Error"] = "Error";
315
+ /**
316
+ * The embedded object has sent an alert
317
+ *
318
+ * @returns alert - An alert object
319
+ */
320
+ EmbedEvent["Alert"] = "alert";
321
+ /**
322
+ * The ThoughtSpot auth session has expired.
323
+ */
324
+ EmbedEvent["AuthExpire"] = "ThoughtspotAuthExpired";
325
+ /**
326
+ * ThoughtSpot failed to validate the auth session.
327
+ *
328
+ * @hidden
329
+ */
330
+ EmbedEvent["AuthFailure"] = "ThoughtspotAuthFailure";
331
+ /**
332
+ * ThoughtSpot failed to validate the auth session.
333
+ *
334
+ * @hidden
335
+ */
336
+ EmbedEvent["AuthLogout"] = "ThoughtspotAuthLogout";
337
+ /**
338
+ * The height of the embedded Liveboard or visualization has been computed.
339
+ *
340
+ * @returns data - The height of the embedded Liveboard or visualization
341
+ * @hidden
342
+ */
343
+ EmbedEvent["EmbedHeight"] = "EMBED_HEIGHT";
344
+ /**
345
+ * The center of visible iframe viewport is calculated.
346
+ *
347
+ * @returns data - The center of the visible Iframe viewport.
348
+ * @hidden
349
+ */
350
+ EmbedEvent["EmbedIframeCenter"] = "EmbedIframeCenter";
351
+ /**
352
+ * Emitted when the "Get Data" button in Search Bar embed
353
+ * is clicked.
354
+ *
355
+ * @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.0-sw
356
+ */
357
+ EmbedEvent["GetDataClick"] = "getDataClick";
358
+ /**
359
+ * Detects the route change.
360
+ */
361
+ EmbedEvent["RouteChange"] = "ROUTE_CHANGE";
362
+ /**
363
+ * The v1 event type for Data
364
+ *
365
+ * @hidden
366
+ */
367
+ EmbedEvent["V1Data"] = "exportVizDataToParent";
368
+ /**
369
+ * Emitted when the embed does not have cookie access. This
370
+ * happens on Safari where third-party cookies are blocked by default.
371
+ *
372
+ * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 7.2.1
373
+ */
374
+ EmbedEvent["NoCookieAccess"] = "noCookieAccess";
375
+ /**
376
+ * Emitted when SAML is complete
377
+ *
378
+ * @private
379
+ * @hidden
380
+ */
381
+ EmbedEvent["SAMLComplete"] = "samlComplete";
382
+ /**
383
+ * Emitted when any modal is opened in the app
384
+ *
385
+ * @version SDK: 1.6.0 | ThoughtSpot: ts8.nov.cl, 8.4.1-sw
386
+ */
387
+ EmbedEvent["DialogOpen"] = "dialog-open";
388
+ /**
389
+ * Emitted when any modal is closed in the app
390
+ *
391
+ * @version SDK: 1.6.0 | ThoughtSpot: ts8.nov.cl, 8.4.1-sw
392
+ */
393
+ EmbedEvent["DialogClose"] = "dialog-close";
394
+ /**
395
+ * Emitted when the Liveboard shell loads.
396
+ * You can use this event as a hook to trigger
397
+ * other events on the rendered Liveboard.
398
+ *
399
+ * @version SDK: 1.9.1 | ThoughtSpot: 8.1.0.cl, 8.4.1-sw
400
+ */
401
+ EmbedEvent["LiveboardRendered"] = "PinboardRendered";
402
+ /**
403
+ * This can be used to register an event listener which
404
+ * is triggered on all events.
405
+ *
406
+ * @Version SDK: 1.10.0 | ThoughtSpot: 8.2.0.cl, 8.4.1-sw
407
+ */
408
+ EmbedEvent["ALL"] = "*";
409
+ /**
410
+ * Emitted when answer is saved in the app
411
+ *
412
+ * @Version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1-sw
413
+ */
414
+ EmbedEvent["Save"] = "save";
415
+ /**
416
+ * Emitted when the download action is triggered on an answer
417
+ *
418
+ * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1-sw
419
+ */
420
+ EmbedEvent["Download"] = "download";
421
+ /**
422
+ * Emitted when the download action is triggered on an answer
423
+ *
424
+ * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.4.0-sw
425
+ */
426
+ EmbedEvent["DownloadAsPng"] = "downloadAsPng";
427
+ /**
428
+ * Emitted when the Download as PDF action is triggered on an answer
429
+ *
430
+ * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1-sw
431
+ */
432
+ EmbedEvent["DownloadAsPdf"] = "downloadAsPdf";
433
+ /**
434
+ * Emitted when the Download as CSV action is triggered on an answer
435
+ *
436
+ * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1-sw
437
+ */
438
+ EmbedEvent["DownloadAsCsv"] = "downloadAsCsv";
439
+ /**
440
+ * Emitted when the Download as XLSX action is triggered on an answer
441
+ *
442
+ * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1-sw
443
+ */
444
+ EmbedEvent["DownloadAsXlsx"] = "downloadAsXlsx";
445
+ /**
446
+ * Emitted when an answer is deleted in the app
447
+ *
448
+ * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1-sw
449
+ */
450
+ EmbedEvent["AnswerDelete"] = "answerDelete";
451
+ /**
452
+ * Emitted when an answer is pinned to a Liveboard
453
+ *
454
+ * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1-sw
455
+ */
456
+ EmbedEvent["Pin"] = "pin";
457
+ /**
458
+ * Emitted when SpotIQ analysis is triggered
459
+ *
460
+ * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1-sw
461
+ */
462
+ EmbedEvent["SpotIQAnalyze"] = "spotIQAnalyze";
463
+ /**
464
+ * Emitted when a user shares an object with another user or group
465
+ *
466
+ * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1-sw
467
+ */
468
+ EmbedEvent["Share"] = "share";
469
+ /**
470
+ * Emitted when a user clicks the Include action to include a specific value or data
471
+ * on a chart or table
472
+ *
473
+ * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1-sw
474
+ */
475
+ EmbedEvent["DrillInclude"] = "context-menu-item-include";
476
+ /**
477
+ * Emitted when a user clicks the Exclude action to exclude a specific value or data
478
+ * on a chart or table
479
+ *
480
+ * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1-sw
481
+ */
482
+ EmbedEvent["DrillExclude"] = "context-menu-item-exclude";
483
+ /**
484
+ * Emitted when copied column value on the app
485
+ *
486
+ * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1-sw
487
+ */
488
+ EmbedEvent["CopyToClipboard"] = "context-menu-item-copy-to-clipboard";
489
+ /**
490
+ * Emitted when a user clicks the Update TML action
491
+ *
492
+ * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1-sw
493
+ */
494
+ EmbedEvent["UpdateTML"] = "updateTSL";
495
+ /**
496
+ * Emitted when a user clicks the Edit TML action
497
+ *
498
+ * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1-sw
499
+ */
500
+ EmbedEvent["EditTML"] = "editTSL";
501
+ /**
502
+ * Emitted when ExportTML trigger in answer on the app
503
+ *
504
+ * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1-sw
505
+ */
506
+ EmbedEvent["ExportTML"] = "exportTSL";
507
+ /**
508
+ * Emitted when an answer is saved as a view
509
+ *
510
+ * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1-sw
511
+ */
512
+ EmbedEvent["SaveAsView"] = "saveAsView";
513
+ /**
514
+ * Emitted when copy of existing answer on the app
515
+ *
516
+ * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1-sw
517
+ */
518
+ EmbedEvent["CopyAEdit"] = "copyAEdit";
519
+ /**
520
+ * Emitted when a user clicks Show underlying data on an answe
521
+ *
522
+ * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1-sw
523
+ */
524
+ EmbedEvent["ShowUnderlyingData"] = "showUnderlyingData";
525
+ /**
526
+ * Emitted when an answer is switched to a chart or table view
527
+ *
528
+ * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1-sw
529
+ */
530
+ EmbedEvent["AnswerChartSwitcher"] = "answerChartSwitcher";
531
+ /**
532
+ * Internal event to communicate the initial settings back to the TS APP
533
+ *
534
+ * @hidden
535
+ */
536
+ EmbedEvent["APP_INIT"] = "appInit";
537
+ /**
538
+ * Emitted when a user clicks Show Liveboard details on a Liveboard
539
+ *
540
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
541
+ */
542
+ EmbedEvent["LiveboardInfo"] = "pinboardInfo";
543
+ /**
544
+ * Emitted when a user clicks on the Favorite icon on a Liveboard
545
+ *
546
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
547
+ */
548
+ EmbedEvent["AddToFavorites"] = "addToFavorites";
549
+ /**
550
+ * Emitted when a user clicks Schedule on a Liveboard
551
+ *
552
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
553
+ */
554
+ EmbedEvent["Schedule"] = "subscription";
555
+ /**
556
+ * Emitted when a user clicks Edit on a Liveboard or visualization
557
+ *
558
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
559
+ */
560
+ EmbedEvent["Edit"] = "edit";
561
+ /**
562
+ * Emitted when a user clicks Make a copy on a Liveboard
563
+ *
564
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
565
+ */
566
+ EmbedEvent["MakeACopy"] = "makeACopy";
567
+ /**
568
+ * Emitted when a user clicks Present on a Liveboard or visualization
569
+ *
570
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
571
+ */
572
+ EmbedEvent["Present"] = "present";
573
+ /**
574
+ * Emitted when a user clicks Delete on a Liveboard
575
+ *
576
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
577
+ */
578
+ EmbedEvent["Delete"] = "delete";
579
+ /**
580
+ * Emitted when a user clicks Manage schedules on a Liveboard
581
+ *
582
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
583
+ */
584
+ EmbedEvent["SchedulesList"] = "schedule-list";
585
+ /**
586
+ * Emitted when a user clicks Cancel in edit mode on a Liveboard
587
+ *
588
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
589
+ */
590
+ EmbedEvent["Cancel"] = "cancel";
591
+ /**
592
+ * Emitted when a user clicks Explore on a visualization
593
+ *
594
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
595
+ */
596
+ EmbedEvent["Explore"] = "explore";
597
+ /**
598
+ * Emitted when a user clicks Copy link action on a visualization
599
+ *
600
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
601
+ */
602
+ EmbedEvent["CopyLink"] = "embedDocument";
603
+ /**
604
+ * Emitted when a user interacts with cross filters on a visualization or liveboard
605
+ *
606
+ * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
607
+ */
608
+ EmbedEvent["CrossFilterChanged"] = "cross-filter-changed";
609
+ /**
610
+ * Emitted when a user right clicks on a visualization (chart or table)
611
+ * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
612
+ */
613
+ EmbedEvent["VizPointRightClick"] = "vizPointRightClick";
614
+ /**
615
+ * Emitted when a user clicks on Insert to slide on a visualization
616
+ *
617
+ * @hidden
618
+ */
619
+ EmbedEvent["InsertIntoSlide"] = "insertInToSlide";
620
+ })(EmbedEvent = exports.EmbedEvent || (exports.EmbedEvent = {}));
621
+ /**
622
+ * Event types that can be triggered by the host application
623
+ * to the embedded ThoughtSpot app
624
+ *
625
+ * To trigger an event use the corresponding
626
+ * {@link LiveboardEmbed.trigger} or {@link AppEmbed.trigger} or {@link
627
+ * SearchEmbed.trigger} method.
628
+ *
629
+ * @group Events
630
+ */
631
+ // eslint-disable-next-line no-shadow
632
+ var HostEvent;
633
+ (function (HostEvent) {
634
+ /**
635
+ * Trigger a search
636
+ *
637
+ * @param - dataSourceIds - The data source GUID to Search on
638
+ * - Although an array, only a single source
639
+ * is supported at this time.
640
+ * @param - searchQuery - The search query
641
+ * @param - execute - execute the existing / updated query
642
+ * @example
643
+ * ```js
644
+ * searchEmbed.trigger(HostEvent.Search, {
645
+ * searchQuery: "[sales] by [item type],
646
+ * dataSourceIds: ["cd252e5c-b552-49a8-821d-3eadaa049cca"]
647
+ * execute: true
648
+ * })
649
+ * ```
650
+ */
651
+ HostEvent["Search"] = "search";
652
+ /**
653
+ * Trigger a drill on certain points by certain column
654
+ *
655
+ * @param - points - an object containing selectedPoints/clickedPoints
656
+ * eg. { selectedPoints: []}
657
+ * @param - columnGuid - a string guid of the column to drill by. This is optional,
658
+ * if not provided it will auto drill by the configured
659
+ * column.
660
+ * @example
661
+ * ```js
662
+ * searchEmbed.trigger(HostEvent.DrillDown, {
663
+ * points: clickedPointData,
664
+ * autoDrillDown: true,
665
+ * })
666
+ * ```
667
+ * @version SDK: 1.5.0 | ThoughtSpot: ts7.oct.cl, 7.2.1
668
+ */
669
+ HostEvent["DrillDown"] = "triggerDrillDown";
670
+ /**
671
+ * Apply filters
672
+ *
673
+ * @hidden
674
+ */
675
+ HostEvent["Filter"] = "filter";
676
+ /**
677
+ * Reload the answer or visualization
678
+ *
679
+ * @hidden
680
+ */
681
+ HostEvent["Reload"] = "reload";
682
+ /**
683
+ * Set the visible visualizations on a Liveboard.
684
+ *
685
+ * @param - an array of ids of visualizations to show, the ids not passed
686
+ * will be hidden.
687
+ * @example
688
+ * liveboardEmbed.trigger(HostEvent.SetVisibleVizs, [
689
+ * '730496d6-6903-4601-937e-2c691821af3c',
690
+ * 'd547ec54-2a37-4516-a222-2b06719af726'])
691
+ * @version SDK: 1.6.0 | ThoughtSpot: ts8.nov.cl, 8.4.1-sw
692
+ */
693
+ HostEvent["SetVisibleVizs"] = "SetPinboardVisibleVizs";
694
+ /**
695
+ * Update the runtime filters. The runtime filters passed here are extended
696
+ * on to the existing runtime filters if they exist.
697
+ *
698
+ * @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
699
+ * @example
700
+ * liveboardEmbed.trigger(HostEvent.UpdateRuntimeFilters, [
701
+ * {columnName: "state",operator: RuntimeFilterOp.EQ,values: ["michigan"]},
702
+ * {columnName: "item type",operator: RuntimeFilterOp.EQ,values: ["Jackets"]}
703
+ * ])
704
+ * @version SDK: 1.9.0 | ThoughtSpot: 8.1.0.cl, 8.4.1-sw
705
+ * @important
706
+ */
707
+ HostEvent["UpdateRuntimeFilters"] = "UpdateRuntimeFilters";
708
+ /**
709
+ * Navigate to a specific page in App embed without any reload.
710
+ * This is the same as calling `appEmbed.navigateToPage(path, true)`
711
+ *
712
+ * @param - path - the path to navigate to (can be a number[1/-1] to go forward/back)
713
+ * @example
714
+ * ```js
715
+ * appEmbed.navigateToPage(-1)
716
+ * ```
717
+ * @version SDK: 1.12.0 | ThoughtSpot 8.4.0.cl, 8.4.1-sw
718
+ */
719
+ HostEvent["Navigate"] = "Navigate";
720
+ /**
721
+ * Opens the filter panel for a particular column.
722
+ * Works with Search embed.
723
+ *
724
+ * @param - { columnId: string,
725
+ * name: string,
726
+ * type: INT64/CHAR/DATE,
727
+ * dataType: ATTRIBUTE/MEASURE }
728
+ * @example
729
+ * ```js
730
+ * searchEmbed.trigger(HostEvent.OpenFilter,
731
+ * { columnId: '123', name: 'column name', type: 'INT64', dataType: 'ATTRIBUTE' })
732
+ * ```
733
+ * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
734
+ */
735
+ HostEvent["OpenFilter"] = "openFilter";
736
+ /**
737
+ * Adds the columns to the current Search.
738
+ *
739
+ * @param - { columnIds: string[] }
740
+ * @example
741
+ * ```js
742
+ * searchEmbed.trigger(HostEvent.AddColumns, { columnIds: ['123', '456'] })
743
+ * ```
744
+ * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
745
+ */
746
+ HostEvent["AddColumns"] = "addColumns";
747
+ /**
748
+ * Removes a column from the current Search.
749
+ *
750
+ * @param - { columnId: string }
751
+ * @example
752
+ * ```js
753
+ * searchEmbed.trigger(HostEvent.RemoveColumn, { columnId: '123' })
754
+ * ```
755
+ * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
756
+ */
757
+ HostEvent["RemoveColumn"] = "removeColumn";
758
+ /**
759
+ * Gets the current pinboard content.
760
+ *
761
+ * @example
762
+ * ```js
763
+ * liveboardEmbed.trigger(HostEvent.getExportRequestForCurrentPinboard)
764
+ * ```
765
+ * @version SDK: 1.13.0 | ThoughtSpot: 8.5.0.cl, 8.8.1-sw
766
+ */
767
+ HostEvent["getExportRequestForCurrentPinboard"] = "getExportRequestForCurrentPinboard";
768
+ /**
769
+ * Triggers the Pin action on an embedded object
770
+ *
771
+ * @param - incase of Liveboard embed, takes in an object with vizId as a key
772
+ * can be left empty for search and visualization embeds
773
+ * @example
774
+ * ```js
775
+ * liveboardEmbed.trigger(HostEvent.Pin, {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
776
+ * vizEmbed.trigger(HostEvent.Pin)
777
+ * searchEmbed.trigger(HostEvent.Pin)
778
+ * ```
779
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
780
+ */
781
+ HostEvent["Pin"] = "pin";
782
+ /**
783
+ * Triggers the Show Liveboard details action on a Liveboard
784
+ *
785
+ * @example
786
+ * ```js
787
+ * liveboardEmbed.trigger(HostEvent.LiveboardInfo)
788
+ * ```
789
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
790
+ */
791
+ HostEvent["LiveboardInfo"] = "pinboardInfo";
792
+ /**
793
+ * Triggers the Schedule action on a Liveboard
794
+ *
795
+ * @example
796
+ * ```js
797
+ * liveboardEmbed.trigger(HostEvent.Schedule)
798
+ * ```
799
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
800
+ */
801
+ HostEvent["Schedule"] = "subscription";
802
+ /**
803
+ * Triggers the Manage schedule action on a Liveboard
804
+ *
805
+ * @example
806
+ * ```js
807
+ * liveboardEmbed.trigger(HostEvent.ScheduleList)
808
+ * ```
809
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
810
+ */
811
+ HostEvent["SchedulesList"] = "schedule-list";
812
+ /**
813
+ * Triggers the Export TML action on a Liveboard
814
+ *
815
+ * @example
816
+ * ```js
817
+ * liveboardEmbed.trigger(HostEvent.ExportTML)
818
+ * ```
819
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
820
+ */
821
+ HostEvent["ExportTML"] = "exportTSL";
822
+ /**
823
+ * Triggers the Edit TML action on a Liveboard
824
+ *
825
+ * @example
826
+ * ```js
827
+ * liveboardEmbed.trigger(HostEvent.EditTML)
828
+ * ```
829
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
830
+ */
831
+ HostEvent["EditTML"] = "editTSL";
832
+ /**
833
+ * Triggers the Update TML action on a Liveboard
834
+ *
835
+ * @example
836
+ * ```js
837
+ * liveboardEmbed.trigger(HostEvent.UpdateTML)
838
+ * ```
839
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
840
+ */
841
+ HostEvent["UpdateTML"] = "updateTSL";
842
+ /**
843
+ * Triggers the Download PDF action on a Liveboard
844
+ *
845
+ * @example
846
+ * ```js
847
+ * liveboardEmbed.trigger(HostEvent.DownloadAsPDF)
848
+ * ```
849
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
850
+ */
851
+ HostEvent["DownloadAsPdf"] = "downloadAsPdf";
852
+ /**
853
+ * Triggers the Make a copy action on a Liveboard, search or visualization
854
+ *
855
+ * @example
856
+ * ```js
857
+ * liveboardEmbed.trigger(HostEvent.MakeACopy, {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
858
+ * vizEmbed.trigger(HostEvent.MakeACopy)
859
+ * searchEmbed.trigger(HostEvent.MakeACopy)
860
+ * ```
861
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
862
+ */
863
+ HostEvent["MakeACopy"] = "makeACopy";
864
+ /**
865
+ * Triggers the Delete action on a Liveboard
866
+ *
867
+ * @example
868
+ * ```js
869
+ * appEmbed.trigger(HostEvent.Remove)
870
+ * ```
871
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
872
+ */
873
+ HostEvent["Remove"] = "delete";
874
+ /**
875
+ * Triggers the Explore action on a visualization
876
+ *
877
+ * @param - an object with vizId as a key
878
+ * @example
879
+ * ```js
880
+ * liveboardEmbed.trigger(HostEvent.Explore, {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
881
+ * ```
882
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
883
+ */
884
+ HostEvent["Explore"] = "explore";
885
+ /**
886
+ * Triggers the Create alert action on a visualization
887
+ *
888
+ * @param - an object with vizId as a key
889
+ * @example
890
+ * ```js
891
+ * liveboardEmbed.trigger(HostEvent.CreateMonitor {
892
+ * vizId: '730496d6-6903-4601-937e-2c691821af3c'
893
+ * })
894
+ * ```
895
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
896
+ */
897
+ HostEvent["CreateMonitor"] = "createMonitor";
898
+ /**
899
+ * Triggers the Manage alert action on a visualization
900
+ *
901
+ * @param - an object with vizId as a key
902
+ * @example
903
+ * ```js
904
+ * liveboardEmbed.trigger(HostEvent.ManageMonitor, {
905
+ * vizId: '730496d6-6903-4601-937e-2c691821af3c'
906
+ * })
907
+ * ```
908
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
909
+ */
910
+ HostEvent["ManageMonitor"] = "manageMonitor";
911
+ /**
912
+ * Triggers the Edit action on a Liveboard or visualization
913
+ *
914
+ * @param - object - to trigger the action for a specfic visualization
915
+ * in Liveboard embed, pass in vizId as a key
916
+ * @example
917
+ * liveboardEmbed.trigger(HostEvent.Edit)
918
+ * liveboardEmbed.trigger(HostEvent.Edit, {vizId:
919
+ * '730496d6-6903-4601-937e-2c691821af3c'})
920
+ * vizEmbed.trigger((HostEvent.Edit)
921
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
922
+ */
923
+ HostEvent["Edit"] = "edit";
924
+ /**
925
+ * Triggers the Copy link action on a Liveboard or visualization
926
+ *
927
+ * @param - object - to trigger the action for a s
928
+ * pecfic visualization in Liveboard embed, pass in vizId as a key
929
+ * @example
930
+ * ```js
931
+ * liveboardEmbed.trigger(HostEvent.CopyLink)
932
+ * liveboardEmbed.trigger(HostEvent.CopyLink, {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
933
+ * vizEmbed.trigger((HostEvent.CopyLink)
934
+ * ```
935
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
936
+ */
937
+ HostEvent["CopyLink"] = "embedDocument";
938
+ /**
939
+ * Triggers the Present action on a Liveboard or visualization
940
+ *
941
+ * @param - object - to trigger the action for a specfic visualization
942
+ * in Liveboard embed, pass in vizId as a key
943
+ * @example
944
+ * ```js
945
+ * liveboardEmbed.trigger(HostEvent.Present)
946
+ * liveboardEmbed.trigger(HostEvent.Present, {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
947
+ * vizEmbed.trigger((HostEvent.Present)
948
+ * ```
949
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
950
+ */
951
+ HostEvent["Present"] = "present";
952
+ /**
953
+ * Get TML for the current search.
954
+ *
955
+ * @example
956
+ * ```js
957
+ * searchEmbed.trigger(HostEvent.GetTML).then((tml) => {
958
+ * console.log(
959
+ * tml.search_query // TML representation of the search query
960
+ * );
961
+ * })
962
+ * ```
963
+ * @version SDK: 1.18.0 | ThoughtSpot: 8.10.0.cl, 9.0.1-sw
964
+ * @important
965
+ */
966
+ HostEvent["GetTML"] = "getTML";
967
+ /**
968
+ * Triggers the ShowUnderlyingData action on visualization or search
969
+ *
970
+ * @param - an object with vizId as a key
971
+ * @example
972
+ * liveboardEmbed.trigger(HostEvent.ShowUnderlyingData, {vizId:
973
+ * '730496d6-6903-4601-937e-2c691821af3c'})
974
+ * vizEmbed.trigger(HostEvent.ShowUnderlyingData)
975
+ * searchEmbed.trigger(HostEvent.ShowUnderlyingData)
976
+ * @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1-sw
977
+ */
978
+ HostEvent["ShowUnderlyingData"] = "showUnderlyingData";
979
+ /**
980
+ * Triggers the Delete action on visualization or search
981
+ *
982
+ * @param - incase of Liveboard embed, takes in an object with vizId as a key
983
+ * can be left empty for search and visualization embeds
984
+ * @example
985
+ * liveboardEmbed.trigger(HostEvent.Delete, {vizId:
986
+ * '730496d6-6903-4601-937e-2c691821af3c'})
987
+ * vizEmbed.trigger(HostEvent.Delete)
988
+ * searchEmbed.trigger(HostEvent.Delete)
989
+ * @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1-sw
990
+ */
991
+ HostEvent["Delete"] = "delete";
992
+ /**
993
+ * Triggers the SpotIQAnalyze action on visualization or search
994
+ *
995
+ * @param - incase of Liveboard embed, takes in an object with vizId as a key
996
+ * can be left empty for search and visualization embeds
997
+ * @example
998
+ * liveboardEmbed.trigger(HostEvent.SpotIQAnalyze, {vizId:
999
+ * '730496d6-6903-4601-937e-2c691821af3c'})
1000
+ * vizEmbed.trigger(HostEvent.SpotIQAnalyze)
1001
+ * searchEmbed.trigger(HostEvent.SpotIQAnalyze)
1002
+ * @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1-sw
1003
+ */
1004
+ HostEvent["SpotIQAnalyze"] = "spotIQAnalyze";
1005
+ /**
1006
+ * Triggers the Download action on visualization or search when Displaymode is Chart
1007
+ *
1008
+ * @example
1009
+ * liveboardEmbed.trigger(HostEvent.Download, {vizId:
1010
+ * '730496d6-6903-4601-937e-2c691821af3c'})
1011
+ * vizEmbed.trigger(HostEvent.Download)
1012
+ * searchEmbed.trigger(HostEvent.Download)
1013
+ * @deprecated from SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.4.1-sw, Please use DownloadAsPng
1014
+ * @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1-sw
1015
+ */
1016
+ HostEvent["Download"] = "downloadAsPng";
1017
+ /**
1018
+ * Triggers the Download action on visualization or search when Displaymode is Chart
1019
+ *
1020
+ * @example
1021
+ * ```js
1022
+ * liveboardEmbed.trigger(HostEvent.DownloadAsPng,
1023
+ * {vizId:'730496d6-6903-4601-937e-2c691821af3c'})
1024
+ * ```
1025
+ * ```js
1026
+ * vizEmbed.trigger(HostEvent.DownloadAsPng)
1027
+ * ```
1028
+ * ```js
1029
+ * searchEmbed.trigger(HostEvent.DownloadAsPng)
1030
+ * ```
1031
+ * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.4.1-sw
1032
+ */
1033
+ HostEvent["DownloadAsPng"] = "downloadAsPng";
1034
+ /**
1035
+ * Triggers the downloadAsCSV action on visualization or search
1036
+ *
1037
+ * @example
1038
+ * liveboardEmbed.trigger(HostEvent.DownloadAsCsv, {vizId:
1039
+ * '730496d6-6903-4601-937e-2c691821af3c'})
1040
+ * vizEmbed.trigger(HostEvent.DownloadAsCsv)
1041
+ * searchEmbed.trigger(HostEvent.DownloadAsCsv)
1042
+ * @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1-sw
1043
+ */
1044
+ HostEvent["DownloadAsCsv"] = "downloadAsCSV";
1045
+ /**
1046
+ * Triggers the downloadAsXLSX action on visualization or search
1047
+ *
1048
+ * @example
1049
+ * liveboardEmbed.trigger(HostEvent.DownloadAsXlsx, {vizId:
1050
+ * '730496d6-6903-4601-937e-2c691821af3c'})
1051
+ * vizEmbed.trigger(HostEvent.DownloadAsXlsx)
1052
+ * searchEmbed.trigger(HostEvent.DownloadAsXlsx)
1053
+ * @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1-sw
1054
+ */
1055
+ HostEvent["DownloadAsXlsx"] = "downloadAsXLSX";
1056
+ /**
1057
+ * Triggers the Share action on a liveboard or answer
1058
+ *
1059
+ * @example
1060
+ * liveboardEmbed.trigger(HostEvent.Share)
1061
+ * searchEmbed.trigger(HostEvent.Share)
1062
+ * @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1-sw
1063
+ */
1064
+ HostEvent["Share"] = "share";
1065
+ /**
1066
+ * Trigger the Save action on a liveboard or answer
1067
+ *
1068
+ * @example
1069
+ * liveboardEmbed.trigger(HostEvent.Save)
1070
+ * searchEmbed.trigger(HostEvent.Save)
1071
+ * @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1-sw
1072
+ */
1073
+ HostEvent["Save"] = "save";
1074
+ /**
1075
+ * Triggers the SyncToSheets action on visualization
1076
+ *
1077
+ * @param - an object with vizId as a key
1078
+ * @example
1079
+ * liveboardEmbed.trigger(HostEvent.SyncToSheets, {vizId:
1080
+ * '730496d6-6903-4601-937e-2c691821af3c'})
1081
+ * vizEmbed.trigger(HostEvent.SyncToSheets)
1082
+ * @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1-sw
1083
+ */
1084
+ HostEvent["SyncToSheets"] = "sync-to-sheets";
1085
+ /**
1086
+ * Triggers the SyncToOtherApps action on visualization
1087
+ *
1088
+ * @param - an object with vizId as a key
1089
+ * @example
1090
+ * liveboardEmbed.trigger(HostEvent.SyncToOtherApps, {vizId:
1091
+ * '730496d6-6903-4601-937e-2c691821af3c'})
1092
+ * vizEmbed.trigger(HostEvent.SyncToOtherApps)
1093
+ * @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1-sw
1094
+ */
1095
+ HostEvent["SyncToOtherApps"] = "sync-to-other-apps";
1096
+ /**
1097
+ * Triggers the ManagePipelines action on visualization
1098
+ *
1099
+ * @param - an object with vizId as a key
1100
+ * @example
1101
+ * liveboardEmbed.trigger(HostEvent.ManagePipelines, {vizId:
1102
+ * '730496d6-6903-4601-937e-2c691821af3c'})
1103
+ * vizEmbed.trigger(HostEvent.ManagePipelines)
1104
+ * @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1-sw
1105
+ */
1106
+ HostEvent["ManagePipelines"] = "manage-pipeline";
1107
+ /**
1108
+ * Triggers the Reset search in answer
1109
+ *
1110
+ * @example
1111
+ * searchEmbed.trigger(HostEvent.SearchReset
1112
+ * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.0.1-sw
1113
+ */
1114
+ HostEvent["ResetSearch"] = "resetSearch";
1115
+ })(HostEvent = exports.HostEvent || (exports.HostEvent = {}));
1116
+ /**
1117
+ * The different visual modes that the data sources panel within
1118
+ * search could appear in, i.e., hidden, collapsed, or expanded.
1119
+ */
1120
+ // eslint-disable-next-line no-shadow
1121
+ var DataSourceVisualMode;
1122
+ (function (DataSourceVisualMode) {
1123
+ /**
1124
+ * Data source panel is hidden.
1125
+ */
1126
+ DataSourceVisualMode["Hidden"] = "hide";
1127
+ /**
1128
+ * Data source panel is collapsed, but the user can manually expand it.
1129
+ */
1130
+ DataSourceVisualMode["Collapsed"] = "collapse";
1131
+ /**
1132
+ * Data source panel is expanded, but the user can manually collapse it.
1133
+ */
1134
+ DataSourceVisualMode["Expanded"] = "expand";
1135
+ })(DataSourceVisualMode = exports.DataSourceVisualMode || (exports.DataSourceVisualMode = {}));
1136
+ /**
1137
+ * The query params passed down to the embedded ThoughtSpot app
1138
+ * containing configuration and/or visual information.
1139
+ */
1140
+ // eslint-disable-next-line no-shadow
1141
+ var Param;
1142
+ (function (Param) {
1143
+ Param["EmbedApp"] = "embedApp";
1144
+ Param["DataSources"] = "dataSources";
1145
+ Param["DataSourceMode"] = "dataSourceMode";
1146
+ Param["DisableActions"] = "disableAction";
1147
+ Param["DisableActionReason"] = "disableHint";
1148
+ Param["ForceTable"] = "forceTable";
1149
+ Param["preventLiveboardFilterRemoval"] = "preventPinboardFilterRemoval";
1150
+ Param["SearchQuery"] = "searchQuery";
1151
+ Param["HideActions"] = "hideAction";
1152
+ Param["HideObjects"] = "hideObjects";
1153
+ Param["HostAppUrl"] = "hostAppUrl";
1154
+ Param["EnableVizTransformations"] = "enableVizTransform";
1155
+ Param["EnableSearchAssist"] = "enableSearchAssist";
1156
+ Param["HideResult"] = "hideResult";
1157
+ Param["UseLastSelectedDataSource"] = "useLastSelectedSources";
1158
+ Param["Tag"] = "tag";
1159
+ Param["searchTokenString"] = "searchTokenString";
1160
+ Param["executeSearch"] = "executeSearch";
1161
+ Param["fullHeight"] = "isFullHeightPinboard";
1162
+ Param["livedBoardEmbed"] = "isLiveboardEmbed";
1163
+ Param["searchEmbed"] = "isSearchEmbed";
1164
+ Param["vizEmbed"] = "isVizEmbed";
1165
+ Param["Version"] = "sdkVersion";
1166
+ Param["ViewPortHeight"] = "viewPortHeight";
1167
+ Param["ViewPortWidth"] = "viewPortWidth";
1168
+ Param["VisibleActions"] = "visibleAction";
1169
+ Param["CustomCSSUrl"] = "customCssUrl";
1170
+ Param["DisableLoginRedirect"] = "disableLoginRedirect";
1171
+ Param["visibleVizs"] = "pinboardVisibleVizs";
1172
+ Param["LiveboardV2Enabled"] = "isPinboardV2Enabled";
1173
+ Param["ShowAlerts"] = "showAlerts";
1174
+ Param["Locale"] = "locale";
1175
+ Param["CustomStyle"] = "customStyle";
1176
+ Param["ForceSAMLAutoRedirect"] = "forceSAMLAutoRedirect";
1177
+ // eslint-disable-next-line @typescript-eslint/no-shadow
1178
+ Param["AuthType"] = "authType";
1179
+ Param["IconSpriteUrl"] = "iconSprite";
1180
+ Param["cookieless"] = "cookieless";
1181
+ Param["ContextMenuTrigger"] = "isContextMenuEnabledOnLeftClick";
1182
+ Param["LinkOverride"] = "linkOverride";
1183
+ Param["ShowInsertToSlide"] = "insertInToSlide";
1184
+ Param["PrimaryNavHidden"] = "primaryNavHidden";
1185
+ Param["HideProfleAndHelp"] = "profileAndHelpInNavBarHidden";
1186
+ })(Param = exports.Param || (exports.Param = {}));
1187
+ /**
1188
+ * The list of actions that can be performed on visual ThoughtSpot
1189
+ * entities, such as answers and Liveboards.
1190
+ */
1191
+ // eslint-disable-next-line no-shadow
1192
+ var Action;
1193
+ (function (Action) {
1194
+ Action["Save"] = "save";
1195
+ /**
1196
+ * @hidden
1197
+ */
1198
+ Action["Update"] = "update";
1199
+ /**
1200
+ * @hidden
1201
+ */
1202
+ Action["SaveUntitled"] = "saveUntitled";
1203
+ Action["SaveAsView"] = "saveAsView";
1204
+ Action["MakeACopy"] = "makeACopy";
1205
+ Action["EditACopy"] = "editACopy";
1206
+ Action["CopyLink"] = "embedDocument";
1207
+ /**
1208
+ * @hidden
1209
+ */
1210
+ Action["ResetLayout"] = "resetLayout";
1211
+ Action["Schedule"] = "subscription";
1212
+ Action["SchedulesList"] = "schedule-list";
1213
+ Action["Share"] = "share";
1214
+ Action["AddFilter"] = "addFilter";
1215
+ Action["ConfigureFilter"] = "configureFilter";
1216
+ Action["CollapseDataSources"] = "collapseDataSources";
1217
+ Action["ChooseDataSources"] = "chooseDataSources";
1218
+ Action["AddFormula"] = "addFormula";
1219
+ Action["AddParameter"] = "addParameter";
1220
+ /**
1221
+ * @hidden
1222
+ */
1223
+ Action["SearchOnTop"] = "searchOnTop";
1224
+ Action["SpotIQAnalyze"] = "spotIQAnalyze";
1225
+ /**
1226
+ * @hidden
1227
+ */
1228
+ Action["ExplainInsight"] = "explainInsight";
1229
+ /**
1230
+ * @hidden
1231
+ */
1232
+ Action["SpotIQFollow"] = "spotIQFollow";
1233
+ Action["ShareViz"] = "shareViz";
1234
+ /**
1235
+ * @hidden
1236
+ */
1237
+ Action["ReplaySearch"] = "replaySearch";
1238
+ Action["ShowUnderlyingData"] = "showUnderlyingData";
1239
+ Action["Download"] = "download";
1240
+ Action["DownloadAsPng"] = "downloadAsPng";
1241
+ Action["DownloadAsPdf"] = "downloadAsPdf";
1242
+ Action["DownloadAsCsv"] = "downloadAsCSV";
1243
+ Action["DownloadAsXlsx"] = "downloadAsXLSX";
1244
+ /**
1245
+ * @hidden
1246
+ */
1247
+ Action["DownloadTrace"] = "downloadTrace";
1248
+ Action["ExportTML"] = "exportTSL";
1249
+ Action["ImportTML"] = "importTSL";
1250
+ Action["UpdateTML"] = "updateTSL";
1251
+ Action["EditTML"] = "editTSL";
1252
+ Action["Present"] = "present";
1253
+ Action["ToggleSize"] = "toggleSize";
1254
+ Action["Edit"] = "edit";
1255
+ Action["EditTitle"] = "editTitle";
1256
+ Action["Remove"] = "delete";
1257
+ /**
1258
+ * @hidden
1259
+ */
1260
+ Action["Ungroup"] = "ungroup";
1261
+ /**
1262
+ * @hidden
1263
+ */
1264
+ Action["Describe"] = "describe";
1265
+ /**
1266
+ * @hidden
1267
+ */
1268
+ Action["Relate"] = "relate";
1269
+ /**
1270
+ * @hidden
1271
+ */
1272
+ Action["CustomizeHeadlines"] = "customizeHeadlines";
1273
+ /**
1274
+ * @hidden
1275
+ */
1276
+ Action["PinboardInfo"] = "pinboardInfo";
1277
+ Action["LiveboardInfo"] = "pinboardInfo";
1278
+ /**
1279
+ * @hidden
1280
+ */
1281
+ Action["SendAnswerFeedback"] = "sendFeedback";
1282
+ /**
1283
+ * @hidden
1284
+ */
1285
+ Action["DownloadEmbraceQueries"] = "downloadEmbraceQueries";
1286
+ Action["Pin"] = "pin";
1287
+ /**
1288
+ * @hidden
1289
+ */
1290
+ Action["AnalysisInfo"] = "analysisInfo";
1291
+ Action["Subscription"] = "subscription";
1292
+ Action["Explore"] = "explore";
1293
+ Action["DrillInclude"] = "context-menu-item-include";
1294
+ Action["DrillExclude"] = "context-menu-item-exclude";
1295
+ Action["CopyToClipboard"] = "context-menu-item-copy-to-clipboard";
1296
+ Action["CopyAndEdit"] = "context-menu-item-copy-and-edit";
1297
+ /**
1298
+ * @hidden
1299
+ */
1300
+ Action["DrillEdit"] = "context-menu-item-edit";
1301
+ Action["EditMeasure"] = "context-menu-item-edit-measure";
1302
+ Action["Separator"] = "context-menu-item-separator";
1303
+ /**
1304
+ * @hidden
1305
+ */
1306
+ Action["DrillDown"] = "DRILL";
1307
+ Action["RequestAccess"] = "requestAccess";
1308
+ Action["QueryDetailsButtons"] = "queryDetailsButtons";
1309
+ /**
1310
+ * @version SDK: 1.9.0 | ThoughtSpot: 8.1.0.cl, 8.4.1-sw
1311
+ */
1312
+ Action["AnswerDelete"] = "onDeleteAnswer";
1313
+ /**
1314
+ * @version SDK: 1.9.0 | ThoughtSpot: 8.1.0.cl, 8.4.1-sw
1315
+ */
1316
+ Action["AnswerChartSwitcher"] = "answerChartSwitcher";
1317
+ /**
1318
+ * @version SDK: 1.9.0 | ThoughtSpot: 8.1.0.cl, 8.4.1-sw
1319
+ */
1320
+ Action["AddToFavorites"] = "addToFavorites";
1321
+ /**
1322
+ * @version SDK: 1.9.0 | ThoughtSpot: 8.1.0.cl, 8.4.1-sw
1323
+ */
1324
+ Action["EditDetails"] = "editDetails";
1325
+ /**
1326
+ * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1-sw
1327
+ */
1328
+ Action["CreateMonitor"] = "createMonitor";
1329
+ /**
1330
+ * @version SDK: 1.11.1 | ThoughtSpot: 8.3.0.cl, 8.4.1-sw
1331
+ */
1332
+ Action["ReportError"] = "reportError";
1333
+ Action["SyncToSheets"] = "sync-to-sheets";
1334
+ Action["SyncToOtherApps"] = "sync-to-other-apps";
1335
+ Action["ManagePipelines"] = "manage-pipeline";
1336
+ /**
1337
+ * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
1338
+ */
1339
+ Action["CrossFilter"] = "context-menu-item-cross-filter";
1340
+ /**
1341
+ * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
1342
+ */
1343
+ Action["RemoveCrossFilter"] = "context-menu-item-remove-cross-filter";
1344
+ /**
1345
+ * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
1346
+ */
1347
+ Action["AxisMenuAggregate"] = "axisMenuAggregate";
1348
+ /**
1349
+ * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
1350
+ */
1351
+ Action["AxisMenuTimeBucket"] = "axisMenuTimeBucket";
1352
+ /**
1353
+ * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
1354
+ */
1355
+ Action["AxisMenuFilter"] = "axisMenuFilter";
1356
+ /**
1357
+ * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
1358
+ */
1359
+ Action["AxisMenuConditionalFormat"] = "axisMenuConditionalFormat";
1360
+ /**
1361
+ * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
1362
+ */
1363
+ Action["AxisMenuSort"] = "axisMenuSort";
1364
+ /**
1365
+ * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
1366
+ */
1367
+ Action["AxisMenuGroup"] = "axisMenuGroup";
1368
+ /**
1369
+ * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
1370
+ */
1371
+ Action["AxisMenuPosition"] = "axisMenuPosition";
1372
+ /**
1373
+ * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
1374
+ */
1375
+ Action["AxisMenuRename"] = "axisMenuRename";
1376
+ /**
1377
+ * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
1378
+ */
1379
+ Action["AxisMenuEdit"] = "axisMenuEdit";
1380
+ /**
1381
+ * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
1382
+ */
1383
+ Action["AxisMenuNumberFormat"] = "axisMenuNumberFormat";
1384
+ /**
1385
+ * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
1386
+ */
1387
+ Action["AxisMenuTextWrapping"] = "axisMenuTextWrapping";
1388
+ /**
1389
+ * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
1390
+ */
1391
+ Action["AxisMenuRemove"] = "axisMenuRemove";
1392
+ /**
1393
+ * @hidden
1394
+ */
1395
+ Action["InsertInToSlide"] = "insertInToSlide";
1396
+ })(Action = exports.Action || (exports.Action = {}));
1397
+ // eslint-disable-next-line no-shadow
1398
+ var OperationType;
1399
+ (function (OperationType) {
1400
+ OperationType["GetChartWithData"] = "GetChartWithData";
1401
+ OperationType["GetTableWithHeadlineData"] = "GetTableWithHeadlineData";
1402
+ })(OperationType = exports.OperationType || (exports.OperationType = {}));
1403
+ var PrefetchFeatures;
1404
+ (function (PrefetchFeatures) {
1405
+ PrefetchFeatures["FullApp"] = "FullApp";
1406
+ PrefetchFeatures["SearchEmbed"] = "SearchEmbed";
1407
+ PrefetchFeatures["LiveboardEmbed"] = "LiveboardEmbed";
1408
+ PrefetchFeatures["VizEmbed"] = "VizEmbed";
1409
+ })(PrefetchFeatures = exports.PrefetchFeatures || (exports.PrefetchFeatures = {}));
1410
+ var ContextMenuTriggerOptions;
1411
+ (function (ContextMenuTriggerOptions) {
1412
+ ContextMenuTriggerOptions["LEFT_CLICK"] = "left-click";
1413
+ ContextMenuTriggerOptions["RIGHT_CLICK"] = "right-click";
1414
+ })(ContextMenuTriggerOptions = exports.ContextMenuTriggerOptions || (exports.ContextMenuTriggerOptions = {}));
1415
+ //# sourceMappingURL=types.js.map