@thoughtspot/visual-embed-sdk 1.36.2 → 1.36.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/cjs/package.json +1 -1
  2. package/cjs/src/authToken.d.ts.map +1 -1
  3. package/cjs/src/authToken.js +10 -3
  4. package/cjs/src/authToken.js.map +1 -1
  5. package/cjs/src/embed/app.d.ts +14 -0
  6. package/cjs/src/embed/app.d.ts.map +1 -1
  7. package/cjs/src/embed/app.js +4 -1
  8. package/cjs/src/embed/app.js.map +1 -1
  9. package/cjs/src/embed/app.spec.js +17 -0
  10. package/cjs/src/embed/app.spec.js.map +1 -1
  11. package/cjs/src/embed/embedConfig.d.ts +1 -1
  12. package/cjs/src/embed/embedConfig.d.ts.map +1 -1
  13. package/cjs/src/embed/embedConfig.js +5 -4
  14. package/cjs/src/embed/embedConfig.js.map +1 -1
  15. package/cjs/src/embed/liveboard.d.ts +4 -1
  16. package/cjs/src/embed/liveboard.d.ts.map +1 -1
  17. package/cjs/src/embed/liveboard.js.map +1 -1
  18. package/cjs/src/types.d.ts +85 -66
  19. package/cjs/src/types.d.ts.map +1 -1
  20. package/cjs/src/types.js +78 -59
  21. package/cjs/src/types.js.map +1 -1
  22. package/cjs/src/utils.d.ts +12 -0
  23. package/cjs/src/utils.d.ts.map +1 -1
  24. package/cjs/src/utils.js +21 -1
  25. package/cjs/src/utils.js.map +1 -1
  26. package/cjs/src/utils.spec.js +15 -0
  27. package/cjs/src/utils.spec.js.map +1 -1
  28. package/dist/{index-B3hd6DTM.js → index-BJx3m5_V.js} +1 -1
  29. package/dist/src/authToken.d.ts.map +1 -1
  30. package/dist/src/embed/app.d.ts +14 -0
  31. package/dist/src/embed/app.d.ts.map +1 -1
  32. package/dist/src/embed/embedConfig.d.ts +1 -1
  33. package/dist/src/embed/embedConfig.d.ts.map +1 -1
  34. package/dist/src/embed/liveboard.d.ts +4 -1
  35. package/dist/src/embed/liveboard.d.ts.map +1 -1
  36. package/dist/src/types.d.ts +85 -66
  37. package/dist/src/types.d.ts.map +1 -1
  38. package/dist/src/utils.d.ts +12 -0
  39. package/dist/src/utils.d.ts.map +1 -1
  40. package/dist/tsembed-react.es.js +115 -69
  41. package/dist/tsembed-react.js +114 -68
  42. package/dist/tsembed.es.js +117 -71
  43. package/dist/tsembed.js +116 -70
  44. package/dist/visual-embed-sdk-react-full.d.ts +104 -68
  45. package/dist/visual-embed-sdk-react.d.ts +104 -68
  46. package/dist/visual-embed-sdk.d.ts +104 -68
  47. package/lib/package.json +1 -1
  48. package/lib/src/authToken.d.ts.map +1 -1
  49. package/lib/src/authToken.js +10 -3
  50. package/lib/src/authToken.js.map +1 -1
  51. package/lib/src/embed/app.d.ts +14 -0
  52. package/lib/src/embed/app.d.ts.map +1 -1
  53. package/lib/src/embed/app.js +4 -1
  54. package/lib/src/embed/app.js.map +1 -1
  55. package/lib/src/embed/app.spec.js +17 -0
  56. package/lib/src/embed/app.spec.js.map +1 -1
  57. package/lib/src/embed/embedConfig.d.ts +1 -1
  58. package/lib/src/embed/embedConfig.d.ts.map +1 -1
  59. package/lib/src/embed/embedConfig.js +5 -4
  60. package/lib/src/embed/embedConfig.js.map +1 -1
  61. package/lib/src/embed/liveboard.d.ts +4 -1
  62. package/lib/src/embed/liveboard.d.ts.map +1 -1
  63. package/lib/src/embed/liveboard.js.map +1 -1
  64. package/lib/src/types.d.ts +85 -66
  65. package/lib/src/types.d.ts.map +1 -1
  66. package/lib/src/types.js +78 -59
  67. package/lib/src/types.js.map +1 -1
  68. package/lib/src/utils.d.ts +12 -0
  69. package/lib/src/utils.d.ts.map +1 -1
  70. package/lib/src/utils.js +18 -0
  71. package/lib/src/utils.js.map +1 -1
  72. package/lib/src/utils.spec.js +16 -1
  73. package/lib/src/utils.spec.js.map +1 -1
  74. package/lib/src/visual-embed-sdk.d.ts +104 -68
  75. package/package.json +1 -1
  76. package/src/authToken.ts +11 -3
  77. package/src/embed/app.spec.ts +27 -0
  78. package/src/embed/app.ts +19 -0
  79. package/src/embed/embedConfig.ts +5 -4
  80. package/src/embed/liveboard.ts +4 -1
  81. package/src/types.ts +89 -70
  82. package/src/utils.spec.ts +21 -0
  83. package/src/utils.ts +21 -0
  84. package/cjs/src/embed/searchEmbed-basic-auth.spec.d.ts +0 -2
  85. package/cjs/src/embed/searchEmbed-basic-auth.spec.d.ts.map +0 -1
  86. package/cjs/src/embed/searchEmbed-basic-auth.spec.js +0 -104
  87. package/cjs/src/embed/searchEmbed-basic-auth.spec.js.map +0 -1
  88. package/cjs/src/hostEventsTypeMapping.d.ts +0 -2
  89. package/cjs/src/hostEventsTypeMapping.d.ts.map +0 -1
  90. package/cjs/src/hostEventsTypeMapping.js +0 -4
  91. package/cjs/src/hostEventsTypeMapping.js.map +0 -1
  92. package/cjs/src/utils/embedApi/contracts.d.ts +0 -101
  93. package/cjs/src/utils/embedApi/contracts.d.ts.map +0 -1
  94. package/cjs/src/utils/embedApi/contracts.js +0 -17
  95. package/cjs/src/utils/embedApi/contracts.js.map +0 -1
  96. package/cjs/src/utils/embedApi/embedApiClient.d.ts +0 -12
  97. package/cjs/src/utils/embedApi/embedApiClient.d.ts.map +0 -1
  98. package/cjs/src/utils/embedApi/embedApiClient.js +0 -46
  99. package/cjs/src/utils/embedApi/embedApiClient.js.map +0 -1
  100. package/cjs/src/utils/embedApi/processEmbedApi.d.ts +0 -9
  101. package/cjs/src/utils/embedApi/processEmbedApi.d.ts.map +0 -1
  102. package/cjs/src/utils/embedApi/processEmbedApi.js +0 -18
  103. package/cjs/src/utils/embedApi/processEmbedApi.js.map +0 -1
  104. package/dist/index-BBBimG1x.js +0 -7370
  105. package/dist/index-BGnxP5NY.js +0 -7370
  106. package/dist/index-CENLvayL.js +0 -7370
  107. package/dist/index-CR5u7BMC.js +0 -7370
  108. package/dist/index-CbltIawo.js +0 -7370
  109. package/dist/index-CoQfqaHj.js +0 -7370
  110. package/dist/index-CzwzS0P4.js +0 -7370
  111. package/dist/index-D-9WUCUl.js +0 -7370
  112. package/dist/index-DFwi_pV_.js +0 -7370
  113. package/dist/index-DOIjN0N_.js +0 -7370
  114. package/dist/index-DYBx8SuE.js +0 -7370
  115. package/dist/index-DaLHJaLd.js +0 -7370
  116. package/dist/index-DnJX-gN2.js +0 -7370
  117. package/dist/index-DpuhnTj2.js +0 -7370
  118. package/dist/index-IDmSUe93.js +0 -7370
  119. package/dist/index-nWevLycs.js +0 -7370
  120. package/dist/index-vxW97_xb.js +0 -7370
  121. package/dist/src/embed/searchEmbed-basic-auth.spec.d.ts +0 -2
  122. package/dist/src/embed/searchEmbed-basic-auth.spec.d.ts.map +0 -1
  123. package/dist/src/hostEventsTypeMapping.d.ts +0 -2
  124. package/dist/src/hostEventsTypeMapping.d.ts.map +0 -1
  125. package/dist/src/utils/embedApi/contracts.d.ts +0 -101
  126. package/dist/src/utils/embedApi/contracts.d.ts.map +0 -1
  127. package/dist/src/utils/embedApi/embedApiClient.d.ts +0 -12
  128. package/dist/src/utils/embedApi/embedApiClient.d.ts.map +0 -1
  129. package/dist/src/utils/embedApi/processEmbedApi.d.ts +0 -9
  130. package/dist/src/utils/embedApi/processEmbedApi.d.ts.map +0 -1
  131. package/lib/src/embed/searchEmbed-basic-auth.spec.d.ts +0 -2
  132. package/lib/src/embed/searchEmbed-basic-auth.spec.d.ts.map +0 -1
  133. package/lib/src/embed/searchEmbed-basic-auth.spec.js +0 -101
  134. package/lib/src/embed/searchEmbed-basic-auth.spec.js.map +0 -1
  135. package/lib/src/hostEventsTypeMapping.d.ts +0 -2
  136. package/lib/src/hostEventsTypeMapping.d.ts.map +0 -1
  137. package/lib/src/hostEventsTypeMapping.js +0 -2
  138. package/lib/src/hostEventsTypeMapping.js.map +0 -1
  139. package/lib/src/utils/embedApi/contracts.d.ts +0 -101
  140. package/lib/src/utils/embedApi/contracts.d.ts.map +0 -1
  141. package/lib/src/utils/embedApi/contracts.js +0 -14
  142. package/lib/src/utils/embedApi/contracts.js.map +0 -1
  143. package/lib/src/utils/embedApi/embedApiClient.d.ts +0 -12
  144. package/lib/src/utils/embedApi/embedApiClient.d.ts.map +0 -1
  145. package/lib/src/utils/embedApi/embedApiClient.js +0 -42
  146. package/lib/src/utils/embedApi/embedApiClient.js.map +0 -1
  147. package/lib/src/utils/embedApi/processEmbedApi.d.ts +0 -9
  148. package/lib/src/utils/embedApi/processEmbedApi.d.ts.map +0 -1
  149. package/lib/src/utils/embedApi/processEmbedApi.js +0 -14
  150. package/lib/src/utils/embedApi/processEmbedApi.js.map +0 -1
@@ -1,4 +1,4 @@
1
- /* @thoughtspot/visual-embed-sdk version 1.36.2 */
1
+ /* @thoughtspot/visual-embed-sdk version 1.36.3 */
2
2
  import * as React from 'react';
3
3
  import React__default from 'react';
4
4
 
@@ -455,7 +455,25 @@ const getTypeFromValue = (value) => {
455
455
  return ['boolean', 'boolean'];
456
456
  }
457
457
  return ['', ''];
458
- };
458
+ };
459
+ const sdkWindowKey = '_tsEmbedSDK';
460
+ /**
461
+ * Stores a value in the global `window` object under the `_tsEmbedSDK` namespace.
462
+ * @param key - The key under which the value will be stored.
463
+ * @param value - The value to store.
464
+ */
465
+ const storeValueInWindow = (key, value) => {
466
+ if (!window[sdkWindowKey]) {
467
+ window[sdkWindowKey] = {};
468
+ }
469
+ window[sdkWindowKey][key] = value;
470
+ };
471
+ /**
472
+ * Retrieves a stored value from the global `window` object under the `_tsEmbedSDK` namespace.
473
+ * @param key - The key whose value needs to be retrieved.
474
+ * @returns The stored value or `undefined` if the key is not found.
475
+ */
476
+ const getValueFromWindow = (key) => { var _a; return (_a = window === null || window === void 0 ? void 0 : window[sdkWindowKey]) === null || _a === void 0 ? void 0 : _a[key]; };
459
477
 
460
478
  /**
461
479
  * Copyright (c) 2023
@@ -846,8 +864,8 @@ var EmbedEvent;
846
864
  */
847
865
  EmbedEvent["Load"] = "load";
848
866
  /**
849
- * Data pertaining to answer or Liveboard is received
850
- * @return data - The answer or Liveboard data
867
+ * Data pertaining to an Answer or Liveboard is received
868
+ * @return data - The Answer or Liveboard data
851
869
  * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
852
870
  * @example
853
871
  *```js
@@ -1021,7 +1039,7 @@ var EmbedEvent;
1021
1039
  */
1022
1040
  EmbedEvent["Alert"] = "alert";
1023
1041
  /**
1024
- * The ThoughtSpot auth session has expired.
1042
+ * The ThoughtSpot authentication session has expired.
1025
1043
  * @version SDK: 1.4.0 | ThoughtSpot: ts7.sep.cl, 8.4.1.sw
1026
1044
  * @example
1027
1045
  *```js
@@ -1091,7 +1109,7 @@ var EmbedEvent;
1091
1109
  /**
1092
1110
  * Emitted when the embed does not have cookie access. This happens
1093
1111
  * when Safari and other Web browsers block third-party cookies
1094
- * are blocked by default. `NoCookieAccess` can trigger
1112
+ * are blocked by default. `NoCookieAccess` can trigger.
1095
1113
  * @example
1096
1114
  *```js
1097
1115
  * appEmbed.on(EmbedEvent.NoCookieAccess)
@@ -1179,7 +1197,7 @@ var EmbedEvent;
1179
1197
  */
1180
1198
  EmbedEvent["Save"] = "save";
1181
1199
  /**
1182
- * Emitted when the download action is triggered on an answer
1200
+ * Emitted when the download action is triggered on an Answer.
1183
1201
  *
1184
1202
  * **Note**: This event is deprecated in v1.21.0.
1185
1203
  * To fire an event when a download action is initiated on a chart or table,
@@ -1195,7 +1213,7 @@ var EmbedEvent;
1195
1213
  */
1196
1214
  EmbedEvent["Download"] = "download";
1197
1215
  /**
1198
- * Emitted when the download action is triggered on an answer
1216
+ * Emitted when the download action is triggered on an Answer.
1199
1217
  * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.4.0.sw
1200
1218
  * @example
1201
1219
  *```js
@@ -1209,7 +1227,7 @@ var EmbedEvent;
1209
1227
  */
1210
1228
  EmbedEvent["DownloadAsPng"] = "downloadAsPng";
1211
1229
  /**
1212
- * Emitted when the Download as PDF action is triggered on an answer
1230
+ * Emitted when the Download as PDF action is triggered on an Answer
1213
1231
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
1214
1232
  * @example
1215
1233
  *```js
@@ -1223,7 +1241,7 @@ var EmbedEvent;
1223
1241
  */
1224
1242
  EmbedEvent["DownloadAsPdf"] = "downloadAsPdf";
1225
1243
  /**
1226
- * Emitted when the Download as CSV action is triggered on an answer
1244
+ * Emitted when the Download as CSV action is triggered on an Answer.
1227
1245
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
1228
1246
  * @example
1229
1247
  *```js
@@ -1237,7 +1255,7 @@ var EmbedEvent;
1237
1255
  */
1238
1256
  EmbedEvent["DownloadAsCsv"] = "downloadAsCsv";
1239
1257
  /**
1240
- * Emitted when the Download as XLSX action is triggered on an answer
1258
+ * Emitted when the Download as XLSX action is triggered on an Answer.
1241
1259
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
1242
1260
  * @example
1243
1261
  *```js
@@ -1265,7 +1283,8 @@ var EmbedEvent;
1265
1283
  */
1266
1284
  EmbedEvent["AnswerDelete"] = "answerDelete";
1267
1285
  /**
1268
- * Emitted when an answer is pinned to a Liveboard
1286
+ * Emitted when a user initiates the Pin action to
1287
+ * add an Answer to a Liveboard.
1269
1288
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
1270
1289
  * @example
1271
1290
  *```js
@@ -1403,7 +1422,7 @@ var EmbedEvent;
1403
1422
  */
1404
1423
  EmbedEvent["SaveAsView"] = "saveAsView";
1405
1424
  /**
1406
- * Emitted when the user creates a copy of an Answer
1425
+ * Emitted when the user creates a copy of an Answer.
1407
1426
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
1408
1427
  * @example
1409
1428
  *```js
@@ -1417,7 +1436,7 @@ var EmbedEvent;
1417
1436
  */
1418
1437
  EmbedEvent["CopyAEdit"] = "copyAEdit";
1419
1438
  /**
1420
- * Emitted when a user clicks Show underlying data on an Answer
1439
+ * Emitted when a user clicks *Show underlying data* on an Answer.
1421
1440
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
1422
1441
  * @example
1423
1442
  *```js
@@ -1428,7 +1447,7 @@ var EmbedEvent;
1428
1447
  */
1429
1448
  EmbedEvent["ShowUnderlyingData"] = "showUnderlyingData";
1430
1449
  /**
1431
- * Emitted when an answer is switched to a chart or table view.
1450
+ * Emitted when an Answer is switched to a chart or table view.
1432
1451
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
1433
1452
  * @example
1434
1453
  *```js
@@ -1562,11 +1581,12 @@ var EmbedEvent;
1562
1581
  */
1563
1582
  EmbedEvent["CopyLink"] = "embedDocument";
1564
1583
  /**
1565
- * Emitted when a user interacts with cross filters on a visualization or Liveboard
1584
+ * Emitted when a user interacts with cross filters on a
1585
+ * visualization or Liveboard.
1566
1586
  * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.0.sw
1567
1587
  * @example
1568
1588
  *```js
1569
- * liveboardEmbed.trigger(HostEvent.CrossFilterChanged, {
1589
+ * liveboardEmbed.on(EmbedEvent.CrossFilterChanged, {
1570
1590
  * vizId: '730496d6-6903-4601-937e-2c691821af3c'})
1571
1591
  *```
1572
1592
  */
@@ -1660,8 +1680,8 @@ var EmbedEvent;
1660
1680
  */
1661
1681
  EmbedEvent["DeletePersonalisedView"] = "deletePersonalisedView";
1662
1682
  /**
1663
- * Emitted when a user creates a new worksheet
1664
- * @version SDK : 1.27.0 | ThoughtSpot Cloud: 9.8.0.cl
1683
+ * Emitted when a user creates a Worksheet.
1684
+ * @version SDK : 1.27.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
1665
1685
  */
1666
1686
  EmbedEvent["CreateWorksheet"] = "createWorksheet";
1667
1687
  /**
@@ -1674,8 +1694,8 @@ var EmbedEvent;
1674
1694
  */
1675
1695
  EmbedEvent["AskSageInit"] = "AskSageInit";
1676
1696
  /**
1677
- * Emitted when a LB/viz is renamed
1678
- * @version SDK : 1.28.0 | ThoughtSpot: 9.10.5.cl
1697
+ * Emitted when a Liveboard or visualization is renamed.
1698
+ * @version SDK : 1.28.0 | ThoughtSpot: 9.10.5.cl, 10.1.0.sw
1679
1699
  */
1680
1700
  EmbedEvent["Rename"] = "rename";
1681
1701
  /**
@@ -1739,8 +1759,7 @@ var EmbedEvent;
1739
1759
  EmbedEvent["OnBeforeGetVizDataIntercept"] = "onBeforeGetVizDataIntercept";
1740
1760
  /**
1741
1761
  * Emitted when parameter changes in an Answer
1742
- * or Liveboard
1743
- *
1762
+ * or Liveboard.
1744
1763
  * ```js
1745
1764
  * liveboardEmbed.on(EmbedEvent.ParameterChanged, (payload) => {
1746
1765
  * console.log('payload', payload);
@@ -1767,7 +1786,7 @@ var EmbedEvent;
1767
1786
  */
1768
1787
  EmbedEvent["TableVizRendered"] = "TableVizRendered";
1769
1788
  /**
1770
- * Emitted when the liveboard is created from pin modal or liveboard list page.
1789
+ * Emitted when the liveboard is created from pin modal or Liveboard list page.
1771
1790
  * You can use this event as a hook to trigger
1772
1791
  * other events on liveboard creation.
1773
1792
  *
@@ -1912,7 +1931,7 @@ var HostEvent;
1912
1931
  */
1913
1932
  HostEvent["Filter"] = "filter";
1914
1933
  /**
1915
- * Reload the answer or visualization
1934
+ * Reload the Answer or visualization
1916
1935
  * @hidden
1917
1936
  */
1918
1937
  HostEvent["Reload"] = "reload";
@@ -1962,12 +1981,10 @@ var HostEvent;
1962
1981
  * and `AppEmbed` only. In full application embedding, this event updates
1963
1982
  * the runtime filters applied on the Liveboard and saved Answer objects.
1964
1983
  *
1965
- *
1966
- * Pass an array of runtime filters with the following attributes:
1967
- *
1984
+ * @param - Pass an array of {@link RuntimeFilter} with the following attributes:
1968
1985
  * `columnName` - _String_. The name of the column to filter on.
1969
1986
  *
1970
- * `operator` - Runtime filter operator to apply. For more information,
1987
+ * `operator` - {@link RuntimeFilterOp} to apply. For more information,
1971
1988
  * see link:https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator[Developer Documentation].
1972
1989
  *
1973
1990
  * `values` - List of operands. Some operators such as EQ and LE allow a
@@ -1979,7 +1996,7 @@ var HostEvent;
1979
1996
  * will be cleared, restoring the original visualization
1980
1997
  * with the updated filters.
1981
1998
  *
1982
- * @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
1999
+
1983
2000
  * @example
1984
2001
  * ```js
1985
2002
  * liveboardEmbed.trigger(HostEvent.UpdateRuntimeFilters, [
@@ -2218,6 +2235,11 @@ var HostEvent;
2218
2235
  * appEmbed.trigger(HostEvent.Remove)
2219
2236
  * ```
2220
2237
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
2238
+ * * @example
2239
+ * ```js
2240
+ * liveboardEmbed.trigger(HostEvent.Remove)
2241
+ * ```
2242
+ * @version SDK: 1.37.0 | ThoughtSpot: 10.8.0.cl, 10.10.0.sw
2221
2243
  */
2222
2244
  HostEvent["Remove"] = "delete";
2223
2245
  /**
@@ -2628,7 +2650,7 @@ var HostEvent;
2628
2650
  * ```js
2629
2651
  * liveboardEmbed.trigger(HostEvent.GetTabs).then((tabDetails) => {
2630
2652
  * console.log(
2631
- * tabDetails // TabDetails of current LB
2653
+ * tabDetails // TabDetails of current Liveboard
2632
2654
  * );
2633
2655
  * })
2634
2656
  * ```
@@ -2676,7 +2698,7 @@ var HostEvent;
2676
2698
  */
2677
2699
  HostEvent["UpdateSageQuery"] = "updateSageQuery";
2678
2700
  /**
2679
- * Get the answer session for a Search or
2701
+ * Get the Answer session for a Search or
2680
2702
  * Liveboard visualization.
2681
2703
  * @example
2682
2704
  * ```js
@@ -2855,6 +2877,7 @@ var Param;
2855
2877
  Param["HostAppUrl"] = "hostAppUrl";
2856
2878
  Param["EnableVizTransformations"] = "enableVizTransform";
2857
2879
  Param["EnableSearchAssist"] = "enableSearchAssist";
2880
+ Param["EnablePendoHelp"] = "enablePendoHelp";
2858
2881
  Param["HideResult"] = "hideResult";
2859
2882
  Param["UseLastSelectedDataSource"] = "useLastSelectedSources";
2860
2883
  Param["Tag"] = "tag";
@@ -3087,9 +3110,10 @@ var Action;
3087
3110
  */
3088
3111
  Action["AddDataPanelObjects"] = "addDataPanelObjects";
3089
3112
  /**
3090
- * Filter configuration options on a Liveboard page.
3091
- * Allows configuring filters on a
3092
- * Liveboard.
3113
+ * The filter configuration options for a Liveboard.
3114
+ * The configuration options are available when adding
3115
+ * filters on a Liveboard.
3116
+ *
3093
3117
  * @example
3094
3118
  * ```js
3095
3119
  * disabledActions: [Action.ConfigureFilter]
@@ -3187,14 +3211,17 @@ var Action;
3187
3211
  * @hidden
3188
3212
  */
3189
3213
  Action["SpotIQFollow"] = "spotIQFollow";
3214
+ /**
3215
+ * The Share action for a Liveboard visualization.
3216
+ */
3190
3217
  Action["ShareViz"] = "shareViz";
3191
3218
  /**
3192
3219
  * @hidden
3193
3220
  */
3194
3221
  Action["ReplaySearch"] = "replaySearch";
3195
3222
  /**
3196
- * The **Show underlying data** menu action on a visualization or
3197
- * Answer page.
3223
+ * The **Show underlying data** menu action on a
3224
+ * visualization or Answer page.
3198
3225
  * Displays detailed information and raw data
3199
3226
  * for a given visualization.
3200
3227
  * @example
@@ -3204,8 +3231,8 @@ var Action;
3204
3231
  */
3205
3232
  Action["ShowUnderlyingData"] = "showUnderlyingData";
3206
3233
  /**
3207
- * The **Download** menu action on Liveboard visualizations
3208
- * and Answers.
3234
+ * The **Download** menu action on Liveboard
3235
+ * visualizations and Answers.
3209
3236
  * Allows downloading a visualization or Answer.
3210
3237
  * @example
3211
3238
  * ```js
@@ -3226,11 +3253,10 @@ var Action;
3226
3253
  /**
3227
3254
  *
3228
3255
  *The **Download PDF** action that downloads a Liveboard,
3229
- *visualization, or Answer as a PDF file.
3230
- *
3256
+ * visualization, or Answer as a PDF file.
3231
3257
  *
3232
- ***NOTE**: The **Download** > **PDF** action is available on
3233
- *visualizations and Answers if the data is in tabular format.
3258
+ * **NOTE**: The **Download** > **PDF** option is available for
3259
+ * tables in visualizations and Answers.
3234
3260
  * @example
3235
3261
  * ```js
3236
3262
  * disabledActions: [Action.DownloadAsPdf]
@@ -3262,9 +3288,11 @@ var Action;
3262
3288
  */
3263
3289
  Action["DownloadTrace"] = "downloadTrace";
3264
3290
  /**
3265
- * The **Export TML** menu action on Liveboard, Answers
3266
- * Worksheets and Data Connections page.
3267
- * Exports an object as a TML file.
3291
+ * The **Export TML** menu action on a Liveboard, Answer, and
3292
+ * the Data Workspace pages for data objects and connections.
3293
+ *
3294
+ * Allows exporting an object as a TML file.
3295
+ *
3268
3296
  * @example
3269
3297
  * ```js
3270
3298
  * disabledActions: [Action.ExportTML]
@@ -3272,7 +3300,8 @@ var Action;
3272
3300
  */
3273
3301
  Action["ExportTML"] = "exportTSL";
3274
3302
  /**
3275
- * The **Import TML** menu action for Liveboards and Answers.
3303
+ * The **Import TML** menu action on the
3304
+ * *Data Workspace* > *Utilities* page.
3276
3305
  * Imports TML representation of ThoughtSpot objects.
3277
3306
  * @example
3278
3307
  * ```js
@@ -3282,7 +3311,7 @@ var Action;
3282
3311
  Action["ImportTML"] = "importTSL";
3283
3312
  /**
3284
3313
  * The **Update TML** menu action for Liveboards and Answers.
3285
- * Update TML representation of ThoughtSpot objects.
3314
+ * Updates TML representation of ThoughtSpot objects.
3286
3315
  * @example
3287
3316
  * ```js
3288
3317
  * disabledActions: [Action.UpdateTML]
@@ -3309,8 +3338,11 @@ var Action;
3309
3338
  */
3310
3339
  Action["Present"] = "present";
3311
3340
  /**
3312
- * The tile resize options in the visualization menu.
3313
- * Allows switching between different preset layouts.
3341
+ * The visualization tile resize option.
3342
+ * Also available via More `...` options menu on a visualization.
3343
+ * Allows resizing visualization tiles and switching
3344
+ * between different preset layout option.
3345
+ *
3314
3346
  * @example
3315
3347
  * ```js
3316
3348
  * disabledActions: [Action.ToggleSize]
@@ -3336,8 +3368,9 @@ var Action;
3336
3368
  */
3337
3369
  Action["EditTitle"] = "editTitle";
3338
3370
  /**
3339
- * The **Delete** menu action on Liveboards and visualizations.
3340
- * Deletes a Liveboard or a visualization from a Liveboard.
3371
+ * The **Delete** action on a Liveboard, *Liveboards* and
3372
+ * *Answers* list pages in full application embedding.
3373
+ *
3341
3374
  * @example
3342
3375
  * ```js
3343
3376
  * disabledActions: [Action.Remove]
@@ -3414,8 +3447,9 @@ var Action;
3414
3447
  */
3415
3448
  Action["Explore"] = "explore";
3416
3449
  /**
3417
- * The action to include data points on a drilled-down Answer
3418
- * or visualization
3450
+ * The contextual menu action to include a specific data point
3451
+ * when drilling down a table or chart on an Answer.
3452
+ *
3419
3453
  * @example
3420
3454
  * ```js
3421
3455
  * disabledActions: [Action.DrillInclude]
@@ -3423,8 +3457,8 @@ var Action;
3423
3457
  */
3424
3458
  Action["DrillInclude"] = "context-menu-item-include";
3425
3459
  /**
3426
- * The action to exclude data points on a drilled-down Answer
3427
- * or visualization
3460
+ * The contextual menu action to exclude a specific data point
3461
+ * when drilling down a table or chart on an Answer.
3428
3462
  * @example
3429
3463
  * ```js
3430
3464
  * disabledActions: [Action.DrillInclude]
@@ -3571,7 +3605,7 @@ var Action;
3571
3605
  * Allows users to manage data sync pipelines to third-party apps.
3572
3606
  * @example
3573
3607
  * ```js
3574
- * disabledActions: [Action.SyncToOtherApps]
3608
+ * disabledActions: [Action.ManagePipelines]
3575
3609
  * ```
3576
3610
  * @version SDK: 1.18.0| ThoughtSpot: 8.10.0.cl, 9.0.1.sw
3577
3611
  */
@@ -3890,7 +3924,7 @@ var Action;
3890
3924
  /**
3891
3925
  * Action ID for the Parent TML action
3892
3926
  * The parent action **TML** must be included to access TML-related options
3893
- * within the cascading menu (specific to the answer page)
3927
+ * within the cascading menu (specific to the Answer page)
3894
3928
  * @example
3895
3929
  * ```js
3896
3930
  * // to include specific TML actions
@@ -3929,8 +3963,10 @@ var Action;
3929
3963
  */
3930
3964
  Action["VerifiedLiveboard"] = "verifiedLiveboard";
3931
3965
  /**
3932
- * The *Ask Sage* action for Answers and visualizations.
3933
- * Allows initiating a Natural Language Search query.
3966
+ * Action ID for the *Ask Sage* In Natural Language Search embed,
3967
+ * *Spotter* in Liveboard, full app, and Spotter embed.
3968
+ *
3969
+ * Allows initiating a conversation with ThoughtSpot AI analyst.
3934
3970
  *
3935
3971
  * @example
3936
3972
  * ```js
@@ -4126,7 +4162,8 @@ var Action;
4126
4162
  */
4127
4163
  Action["DeletePreviousPrompt"] = "deletePreviousPrompt";
4128
4164
  /**
4129
- * Action ID for hide/disable edit of tokens on spotter results.
4165
+ * Action ID for hide or disable editing tokens generated from
4166
+ * Spotter results.
4130
4167
  * @example
4131
4168
  * ```js
4132
4169
  * hiddenAction: [Action.EditTokens]
@@ -6712,13 +6749,18 @@ async function fetchBasicAuthService(thoughtSpotHost, username, password) {
6712
6749
  });
6713
6750
  }
6714
6751
 
6715
- let cachedAuthToken = null;
6752
+ const cacheAuthTokenKey = 'cachedAuthToken';
6753
+ const getCacheAuthToken = () => getValueFromWindow(cacheAuthTokenKey);
6754
+ const storeAuthTokenInCache = (token) => {
6755
+ storeValueInWindow(cacheAuthTokenKey, token);
6756
+ };
6716
6757
  // This method can be used to get the authToken using the embedConfig
6717
6758
  /**
6718
6759
  *
6719
6760
  * @param embedConfig
6720
6761
  */
6721
6762
  async function getAuthenticationToken(embedConfig) {
6763
+ const cachedAuthToken = getCacheAuthToken();
6722
6764
  // Since we don't have token validation enabled , we cannot tell if the
6723
6765
  // cached token is valid or not. So we will always fetch a new token.
6724
6766
  if (cachedAuthToken && !embedConfig.disableTokenVerification) {
@@ -6749,10 +6791,11 @@ async function getAuthenticationToken(embedConfig) {
6749
6791
  logger$3.error(`${ERROR_MESSAGE.INVALID_TOKEN_ERROR} Error : ${e.message}`);
6750
6792
  throw e;
6751
6793
  }
6752
- cachedAuthToken = authToken;
6794
+ storeAuthTokenInCache(authToken);
6753
6795
  return authToken;
6754
6796
  }
6755
6797
  const validateAuthToken = async (embedConfig, authToken, suppressAlert) => {
6798
+ const cachedAuthToken = getCacheAuthToken();
6756
6799
  if (embedConfig.disableTokenVerification) {
6757
6800
  logger$3.info('Token verification is disabled. Assuming token is valid.');
6758
6801
  return true;
@@ -6786,17 +6829,17 @@ const validateAuthToken = async (embedConfig, authToken, suppressAlert) => {
6786
6829
  * @group Authentication / Init
6787
6830
  */
6788
6831
  const resetCachedAuthToken = () => {
6789
- cachedAuthToken = null;
6832
+ storeAuthTokenInCache(null);
6790
6833
  };
6791
6834
 
6792
- let config = {};
6835
+ const configKey = 'embedConfig';
6793
6836
  /**
6794
6837
  * Gets the configuration embed was initialized with.
6795
6838
  * @returns {@link EmbedConfig} The configuration embed was initialized with.
6796
6839
  * @version SDK: 1.19.0 | ThoughtSpot: *
6797
6840
  * @group Global methods
6798
6841
  */
6799
- const getEmbedConfig = () => config;
6842
+ const getEmbedConfig = () => getValueFromWindow(configKey) || {};
6800
6843
 
6801
6844
  /**
6802
6845
  * Fetch wrapper that adds the authentication token to the request.
@@ -7403,7 +7446,7 @@ class AnswerService {
7403
7446
  async getTML() {
7404
7447
  const { object } = await this.executeQuery(getAnswerTML, {});
7405
7448
  const edoc = object[0].edoc;
7406
- const YAML = await import('./index-DpuhnTj2.js');
7449
+ const YAML = await import('./index-BJx3m5_V.js');
7407
7450
  const parsedDoc = YAML.parse(edoc);
7408
7451
  return {
7409
7452
  answer: {
@@ -14843,7 +14886,7 @@ function processEventData(type, e, thoughtSpotHost, containerEl) {
14843
14886
  return e;
14844
14887
  }
14845
14888
 
14846
- var name="@thoughtspot/visual-embed-sdk";var version$1="1.36.2";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck","test-sdk":"jest -c jest.config.sdk.js --runInBand",test:"npm run test-sdk",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest",dev:"vite -c vite.local.config.ts"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-comment-length":"1.7.3","eslint-plugin-jsdoc":"^46.9.0","fs-extra":"^10.0.0","gh-pages":"6.3.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^5.3.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"31 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
14889
+ var name="@thoughtspot/visual-embed-sdk";var version$1="1.36.3";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck","test-sdk":"jest -c jest.config.sdk.js --runInBand",test:"npm run test-sdk",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest",dev:"vite -c vite.local.config.ts"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-comment-length":"1.7.3","eslint-plugin-jsdoc":"^46.9.0","fs-extra":"^10.0.0","gh-pages":"6.3.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^5.3.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"31 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
14847
14890
 
14848
14891
  /**
14849
14892
  * Reloads the ThoughtSpot iframe.
@@ -16596,7 +16639,7 @@ let AppEmbed$1 = class AppEmbed extends V1Embed {
16596
16639
  getEmbedParams() {
16597
16640
  const { tag, hideObjects, liveboardV2, showPrimaryNavbar, disableProfileAndHelp, hideApplicationSwitcher, hideOrgSwitcher, enableSearchAssist, fullHeight, dataPanelV2 = false, hideLiveboardHeader = false, showLiveboardTitle = true, showLiveboardDescription = true, hideHomepageLeftNav = false, modularHomeExperience = false, isLiveboardHeaderSticky = true, enableAskSage, collapseSearchBarInitially = false, enable2ColumnLayout, enableCustomColumnGroups = false, isOnBeforeGetVizDataInterceptEnabled = false,
16598
16641
  /* eslint-disable-next-line max-len */
16599
- dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState.EXPAND_ALL, collapseSearchBar = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, homePageSearchBarMode, isUnifiedSearchExperienceEnabled = true, } = this.viewConfig;
16642
+ dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState.EXPAND_ALL, collapseSearchBar = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, homePageSearchBarMode, isUnifiedSearchExperienceEnabled = true, enablePendoHelp = true, } = this.viewConfig;
16600
16643
  let params = {};
16601
16644
  params[Param.PrimaryNavHidden] = !showPrimaryNavbar;
16602
16645
  params[Param.HideProfleAndHelp] = !!disableProfileAndHelp;
@@ -16641,6 +16684,9 @@ let AppEmbed$1 = class AppEmbed extends V1Embed {
16641
16684
  if (homePageSearchBarMode) {
16642
16685
  params[Param.HomePageSearchBarMode] = homePageSearchBarMode;
16643
16686
  }
16687
+ if (enablePendoHelp !== undefined) {
16688
+ params[Param.EnablePendoHelp] = enablePendoHelp;
16689
+ }
16644
16690
  params[Param.DataPanelV2Enabled] = dataPanelV2;
16645
16691
  params[Param.HideHomepageLeftNav] = hideHomepageLeftNav;
16646
16692
  params[Param.ModularHomeExperienceEnabled] = modularHomeExperience;