@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
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) :
4
4
  typeof define === 'function' && define.amd ? define(['exports', 'react'], factory) :
@@ -477,7 +477,25 @@
477
477
  return ['boolean', 'boolean'];
478
478
  }
479
479
  return ['', ''];
480
- };
480
+ };
481
+ const sdkWindowKey = '_tsEmbedSDK';
482
+ /**
483
+ * Stores a value in the global `window` object under the `_tsEmbedSDK` namespace.
484
+ * @param key - The key under which the value will be stored.
485
+ * @param value - The value to store.
486
+ */
487
+ const storeValueInWindow = (key, value) => {
488
+ if (!window[sdkWindowKey]) {
489
+ window[sdkWindowKey] = {};
490
+ }
491
+ window[sdkWindowKey][key] = value;
492
+ };
493
+ /**
494
+ * Retrieves a stored value from the global `window` object under the `_tsEmbedSDK` namespace.
495
+ * @param key - The key whose value needs to be retrieved.
496
+ * @returns The stored value or `undefined` if the key is not found.
497
+ */
498
+ const getValueFromWindow = (key) => { var _a; return (_a = window === null || window === void 0 ? void 0 : window[sdkWindowKey]) === null || _a === void 0 ? void 0 : _a[key]; };
481
499
 
482
500
  /**
483
501
  * Copyright (c) 2023
@@ -868,8 +886,8 @@
868
886
  */
869
887
  EmbedEvent["Load"] = "load";
870
888
  /**
871
- * Data pertaining to answer or Liveboard is received
872
- * @return data - The answer or Liveboard data
889
+ * Data pertaining to an Answer or Liveboard is received
890
+ * @return data - The Answer or Liveboard data
873
891
  * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
874
892
  * @example
875
893
  *```js
@@ -1043,7 +1061,7 @@
1043
1061
  */
1044
1062
  EmbedEvent["Alert"] = "alert";
1045
1063
  /**
1046
- * The ThoughtSpot auth session has expired.
1064
+ * The ThoughtSpot authentication session has expired.
1047
1065
  * @version SDK: 1.4.0 | ThoughtSpot: ts7.sep.cl, 8.4.1.sw
1048
1066
  * @example
1049
1067
  *```js
@@ -1113,7 +1131,7 @@
1113
1131
  /**
1114
1132
  * Emitted when the embed does not have cookie access. This happens
1115
1133
  * when Safari and other Web browsers block third-party cookies
1116
- * are blocked by default. `NoCookieAccess` can trigger
1134
+ * are blocked by default. `NoCookieAccess` can trigger.
1117
1135
  * @example
1118
1136
  *```js
1119
1137
  * appEmbed.on(EmbedEvent.NoCookieAccess)
@@ -1201,7 +1219,7 @@
1201
1219
  */
1202
1220
  EmbedEvent["Save"] = "save";
1203
1221
  /**
1204
- * Emitted when the download action is triggered on an answer
1222
+ * Emitted when the download action is triggered on an Answer.
1205
1223
  *
1206
1224
  * **Note**: This event is deprecated in v1.21.0.
1207
1225
  * To fire an event when a download action is initiated on a chart or table,
@@ -1217,7 +1235,7 @@
1217
1235
  */
1218
1236
  EmbedEvent["Download"] = "download";
1219
1237
  /**
1220
- * Emitted when the download action is triggered on an answer
1238
+ * Emitted when the download action is triggered on an Answer.
1221
1239
  * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.4.0.sw
1222
1240
  * @example
1223
1241
  *```js
@@ -1231,7 +1249,7 @@
1231
1249
  */
1232
1250
  EmbedEvent["DownloadAsPng"] = "downloadAsPng";
1233
1251
  /**
1234
- * Emitted when the Download as PDF action is triggered on an answer
1252
+ * Emitted when the Download as PDF action is triggered on an Answer
1235
1253
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
1236
1254
  * @example
1237
1255
  *```js
@@ -1245,7 +1263,7 @@
1245
1263
  */
1246
1264
  EmbedEvent["DownloadAsPdf"] = "downloadAsPdf";
1247
1265
  /**
1248
- * Emitted when the Download as CSV action is triggered on an answer
1266
+ * Emitted when the Download as CSV action is triggered on an Answer.
1249
1267
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
1250
1268
  * @example
1251
1269
  *```js
@@ -1259,7 +1277,7 @@
1259
1277
  */
1260
1278
  EmbedEvent["DownloadAsCsv"] = "downloadAsCsv";
1261
1279
  /**
1262
- * Emitted when the Download as XLSX action is triggered on an answer
1280
+ * Emitted when the Download as XLSX action is triggered on an Answer.
1263
1281
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
1264
1282
  * @example
1265
1283
  *```js
@@ -1287,7 +1305,8 @@
1287
1305
  */
1288
1306
  EmbedEvent["AnswerDelete"] = "answerDelete";
1289
1307
  /**
1290
- * Emitted when an answer is pinned to a Liveboard
1308
+ * Emitted when a user initiates the Pin action to
1309
+ * add an Answer to a Liveboard.
1291
1310
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
1292
1311
  * @example
1293
1312
  *```js
@@ -1425,7 +1444,7 @@
1425
1444
  */
1426
1445
  EmbedEvent["SaveAsView"] = "saveAsView";
1427
1446
  /**
1428
- * Emitted when the user creates a copy of an Answer
1447
+ * Emitted when the user creates a copy of an Answer.
1429
1448
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
1430
1449
  * @example
1431
1450
  *```js
@@ -1439,7 +1458,7 @@
1439
1458
  */
1440
1459
  EmbedEvent["CopyAEdit"] = "copyAEdit";
1441
1460
  /**
1442
- * Emitted when a user clicks Show underlying data on an Answer
1461
+ * Emitted when a user clicks *Show underlying data* on an Answer.
1443
1462
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
1444
1463
  * @example
1445
1464
  *```js
@@ -1450,7 +1469,7 @@
1450
1469
  */
1451
1470
  EmbedEvent["ShowUnderlyingData"] = "showUnderlyingData";
1452
1471
  /**
1453
- * Emitted when an answer is switched to a chart or table view.
1472
+ * Emitted when an Answer is switched to a chart or table view.
1454
1473
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
1455
1474
  * @example
1456
1475
  *```js
@@ -1584,11 +1603,12 @@
1584
1603
  */
1585
1604
  EmbedEvent["CopyLink"] = "embedDocument";
1586
1605
  /**
1587
- * Emitted when a user interacts with cross filters on a visualization or Liveboard
1606
+ * Emitted when a user interacts with cross filters on a
1607
+ * visualization or Liveboard.
1588
1608
  * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.0.sw
1589
1609
  * @example
1590
1610
  *```js
1591
- * liveboardEmbed.trigger(HostEvent.CrossFilterChanged, {
1611
+ * liveboardEmbed.on(EmbedEvent.CrossFilterChanged, {
1592
1612
  * vizId: '730496d6-6903-4601-937e-2c691821af3c'})
1593
1613
  *```
1594
1614
  */
@@ -1682,8 +1702,8 @@
1682
1702
  */
1683
1703
  EmbedEvent["DeletePersonalisedView"] = "deletePersonalisedView";
1684
1704
  /**
1685
- * Emitted when a user creates a new worksheet
1686
- * @version SDK : 1.27.0 | ThoughtSpot Cloud: 9.8.0.cl
1705
+ * Emitted when a user creates a Worksheet.
1706
+ * @version SDK : 1.27.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
1687
1707
  */
1688
1708
  EmbedEvent["CreateWorksheet"] = "createWorksheet";
1689
1709
  /**
@@ -1696,8 +1716,8 @@
1696
1716
  */
1697
1717
  EmbedEvent["AskSageInit"] = "AskSageInit";
1698
1718
  /**
1699
- * Emitted when a LB/viz is renamed
1700
- * @version SDK : 1.28.0 | ThoughtSpot: 9.10.5.cl
1719
+ * Emitted when a Liveboard or visualization is renamed.
1720
+ * @version SDK : 1.28.0 | ThoughtSpot: 9.10.5.cl, 10.1.0.sw
1701
1721
  */
1702
1722
  EmbedEvent["Rename"] = "rename";
1703
1723
  /**
@@ -1761,8 +1781,7 @@
1761
1781
  EmbedEvent["OnBeforeGetVizDataIntercept"] = "onBeforeGetVizDataIntercept";
1762
1782
  /**
1763
1783
  * Emitted when parameter changes in an Answer
1764
- * or Liveboard
1765
- *
1784
+ * or Liveboard.
1766
1785
  * ```js
1767
1786
  * liveboardEmbed.on(EmbedEvent.ParameterChanged, (payload) => {
1768
1787
  * console.log('payload', payload);
@@ -1789,7 +1808,7 @@
1789
1808
  */
1790
1809
  EmbedEvent["TableVizRendered"] = "TableVizRendered";
1791
1810
  /**
1792
- * Emitted when the liveboard is created from pin modal or liveboard list page.
1811
+ * Emitted when the liveboard is created from pin modal or Liveboard list page.
1793
1812
  * You can use this event as a hook to trigger
1794
1813
  * other events on liveboard creation.
1795
1814
  *
@@ -1934,7 +1953,7 @@
1934
1953
  */
1935
1954
  HostEvent["Filter"] = "filter";
1936
1955
  /**
1937
- * Reload the answer or visualization
1956
+ * Reload the Answer or visualization
1938
1957
  * @hidden
1939
1958
  */
1940
1959
  HostEvent["Reload"] = "reload";
@@ -1984,12 +2003,10 @@
1984
2003
  * and `AppEmbed` only. In full application embedding, this event updates
1985
2004
  * the runtime filters applied on the Liveboard and saved Answer objects.
1986
2005
  *
1987
- *
1988
- * Pass an array of runtime filters with the following attributes:
1989
- *
2006
+ * @param - Pass an array of {@link RuntimeFilter} with the following attributes:
1990
2007
  * `columnName` - _String_. The name of the column to filter on.
1991
2008
  *
1992
- * `operator` - Runtime filter operator to apply. For more information,
2009
+ * `operator` - {@link RuntimeFilterOp} to apply. For more information,
1993
2010
  * see link:https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator[Developer Documentation].
1994
2011
  *
1995
2012
  * `values` - List of operands. Some operators such as EQ and LE allow a
@@ -2001,7 +2018,7 @@
2001
2018
  * will be cleared, restoring the original visualization
2002
2019
  * with the updated filters.
2003
2020
  *
2004
- * @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
2021
+
2005
2022
  * @example
2006
2023
  * ```js
2007
2024
  * liveboardEmbed.trigger(HostEvent.UpdateRuntimeFilters, [
@@ -2240,6 +2257,11 @@
2240
2257
  * appEmbed.trigger(HostEvent.Remove)
2241
2258
  * ```
2242
2259
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
2260
+ * * @example
2261
+ * ```js
2262
+ * liveboardEmbed.trigger(HostEvent.Remove)
2263
+ * ```
2264
+ * @version SDK: 1.37.0 | ThoughtSpot: 10.8.0.cl, 10.10.0.sw
2243
2265
  */
2244
2266
  HostEvent["Remove"] = "delete";
2245
2267
  /**
@@ -2650,7 +2672,7 @@
2650
2672
  * ```js
2651
2673
  * liveboardEmbed.trigger(HostEvent.GetTabs).then((tabDetails) => {
2652
2674
  * console.log(
2653
- * tabDetails // TabDetails of current LB
2675
+ * tabDetails // TabDetails of current Liveboard
2654
2676
  * );
2655
2677
  * })
2656
2678
  * ```
@@ -2698,7 +2720,7 @@
2698
2720
  */
2699
2721
  HostEvent["UpdateSageQuery"] = "updateSageQuery";
2700
2722
  /**
2701
- * Get the answer session for a Search or
2723
+ * Get the Answer session for a Search or
2702
2724
  * Liveboard visualization.
2703
2725
  * @example
2704
2726
  * ```js
@@ -2877,6 +2899,7 @@
2877
2899
  Param["HostAppUrl"] = "hostAppUrl";
2878
2900
  Param["EnableVizTransformations"] = "enableVizTransform";
2879
2901
  Param["EnableSearchAssist"] = "enableSearchAssist";
2902
+ Param["EnablePendoHelp"] = "enablePendoHelp";
2880
2903
  Param["HideResult"] = "hideResult";
2881
2904
  Param["UseLastSelectedDataSource"] = "useLastSelectedSources";
2882
2905
  Param["Tag"] = "tag";
@@ -3109,9 +3132,10 @@
3109
3132
  */
3110
3133
  Action["AddDataPanelObjects"] = "addDataPanelObjects";
3111
3134
  /**
3112
- * Filter configuration options on a Liveboard page.
3113
- * Allows configuring filters on a
3114
- * Liveboard.
3135
+ * The filter configuration options for a Liveboard.
3136
+ * The configuration options are available when adding
3137
+ * filters on a Liveboard.
3138
+ *
3115
3139
  * @example
3116
3140
  * ```js
3117
3141
  * disabledActions: [Action.ConfigureFilter]
@@ -3209,14 +3233,17 @@
3209
3233
  * @hidden
3210
3234
  */
3211
3235
  Action["SpotIQFollow"] = "spotIQFollow";
3236
+ /**
3237
+ * The Share action for a Liveboard visualization.
3238
+ */
3212
3239
  Action["ShareViz"] = "shareViz";
3213
3240
  /**
3214
3241
  * @hidden
3215
3242
  */
3216
3243
  Action["ReplaySearch"] = "replaySearch";
3217
3244
  /**
3218
- * The **Show underlying data** menu action on a visualization or
3219
- * Answer page.
3245
+ * The **Show underlying data** menu action on a
3246
+ * visualization or Answer page.
3220
3247
  * Displays detailed information and raw data
3221
3248
  * for a given visualization.
3222
3249
  * @example
@@ -3226,8 +3253,8 @@
3226
3253
  */
3227
3254
  Action["ShowUnderlyingData"] = "showUnderlyingData";
3228
3255
  /**
3229
- * The **Download** menu action on Liveboard visualizations
3230
- * and Answers.
3256
+ * The **Download** menu action on Liveboard
3257
+ * visualizations and Answers.
3231
3258
  * Allows downloading a visualization or Answer.
3232
3259
  * @example
3233
3260
  * ```js
@@ -3248,11 +3275,10 @@
3248
3275
  /**
3249
3276
  *
3250
3277
  *The **Download PDF** action that downloads a Liveboard,
3251
- *visualization, or Answer as a PDF file.
3252
- *
3278
+ * visualization, or Answer as a PDF file.
3253
3279
  *
3254
- ***NOTE**: The **Download** > **PDF** action is available on
3255
- *visualizations and Answers if the data is in tabular format.
3280
+ * **NOTE**: The **Download** > **PDF** option is available for
3281
+ * tables in visualizations and Answers.
3256
3282
  * @example
3257
3283
  * ```js
3258
3284
  * disabledActions: [Action.DownloadAsPdf]
@@ -3284,9 +3310,11 @@
3284
3310
  */
3285
3311
  Action["DownloadTrace"] = "downloadTrace";
3286
3312
  /**
3287
- * The **Export TML** menu action on Liveboard, Answers
3288
- * Worksheets and Data Connections page.
3289
- * Exports an object as a TML file.
3313
+ * The **Export TML** menu action on a Liveboard, Answer, and
3314
+ * the Data Workspace pages for data objects and connections.
3315
+ *
3316
+ * Allows exporting an object as a TML file.
3317
+ *
3290
3318
  * @example
3291
3319
  * ```js
3292
3320
  * disabledActions: [Action.ExportTML]
@@ -3294,7 +3322,8 @@
3294
3322
  */
3295
3323
  Action["ExportTML"] = "exportTSL";
3296
3324
  /**
3297
- * The **Import TML** menu action for Liveboards and Answers.
3325
+ * The **Import TML** menu action on the
3326
+ * *Data Workspace* > *Utilities* page.
3298
3327
  * Imports TML representation of ThoughtSpot objects.
3299
3328
  * @example
3300
3329
  * ```js
@@ -3304,7 +3333,7 @@
3304
3333
  Action["ImportTML"] = "importTSL";
3305
3334
  /**
3306
3335
  * The **Update TML** menu action for Liveboards and Answers.
3307
- * Update TML representation of ThoughtSpot objects.
3336
+ * Updates TML representation of ThoughtSpot objects.
3308
3337
  * @example
3309
3338
  * ```js
3310
3339
  * disabledActions: [Action.UpdateTML]
@@ -3331,8 +3360,11 @@
3331
3360
  */
3332
3361
  Action["Present"] = "present";
3333
3362
  /**
3334
- * The tile resize options in the visualization menu.
3335
- * Allows switching between different preset layouts.
3363
+ * The visualization tile resize option.
3364
+ * Also available via More `...` options menu on a visualization.
3365
+ * Allows resizing visualization tiles and switching
3366
+ * between different preset layout option.
3367
+ *
3336
3368
  * @example
3337
3369
  * ```js
3338
3370
  * disabledActions: [Action.ToggleSize]
@@ -3358,8 +3390,9 @@
3358
3390
  */
3359
3391
  Action["EditTitle"] = "editTitle";
3360
3392
  /**
3361
- * The **Delete** menu action on Liveboards and visualizations.
3362
- * Deletes a Liveboard or a visualization from a Liveboard.
3393
+ * The **Delete** action on a Liveboard, *Liveboards* and
3394
+ * *Answers* list pages in full application embedding.
3395
+ *
3363
3396
  * @example
3364
3397
  * ```js
3365
3398
  * disabledActions: [Action.Remove]
@@ -3436,8 +3469,9 @@
3436
3469
  */
3437
3470
  Action["Explore"] = "explore";
3438
3471
  /**
3439
- * The action to include data points on a drilled-down Answer
3440
- * or visualization
3472
+ * The contextual menu action to include a specific data point
3473
+ * when drilling down a table or chart on an Answer.
3474
+ *
3441
3475
  * @example
3442
3476
  * ```js
3443
3477
  * disabledActions: [Action.DrillInclude]
@@ -3445,8 +3479,8 @@
3445
3479
  */
3446
3480
  Action["DrillInclude"] = "context-menu-item-include";
3447
3481
  /**
3448
- * The action to exclude data points on a drilled-down Answer
3449
- * or visualization
3482
+ * The contextual menu action to exclude a specific data point
3483
+ * when drilling down a table or chart on an Answer.
3450
3484
  * @example
3451
3485
  * ```js
3452
3486
  * disabledActions: [Action.DrillInclude]
@@ -3593,7 +3627,7 @@
3593
3627
  * Allows users to manage data sync pipelines to third-party apps.
3594
3628
  * @example
3595
3629
  * ```js
3596
- * disabledActions: [Action.SyncToOtherApps]
3630
+ * disabledActions: [Action.ManagePipelines]
3597
3631
  * ```
3598
3632
  * @version SDK: 1.18.0| ThoughtSpot: 8.10.0.cl, 9.0.1.sw
3599
3633
  */
@@ -3912,7 +3946,7 @@
3912
3946
  /**
3913
3947
  * Action ID for the Parent TML action
3914
3948
  * The parent action **TML** must be included to access TML-related options
3915
- * within the cascading menu (specific to the answer page)
3949
+ * within the cascading menu (specific to the Answer page)
3916
3950
  * @example
3917
3951
  * ```js
3918
3952
  * // to include specific TML actions
@@ -3951,8 +3985,10 @@
3951
3985
  */
3952
3986
  Action["VerifiedLiveboard"] = "verifiedLiveboard";
3953
3987
  /**
3954
- * The *Ask Sage* action for Answers and visualizations.
3955
- * Allows initiating a Natural Language Search query.
3988
+ * Action ID for the *Ask Sage* In Natural Language Search embed,
3989
+ * *Spotter* in Liveboard, full app, and Spotter embed.
3990
+ *
3991
+ * Allows initiating a conversation with ThoughtSpot AI analyst.
3956
3992
  *
3957
3993
  * @example
3958
3994
  * ```js
@@ -4148,7 +4184,8 @@
4148
4184
  */
4149
4185
  Action["DeletePreviousPrompt"] = "deletePreviousPrompt";
4150
4186
  /**
4151
- * Action ID for hide/disable edit of tokens on spotter results.
4187
+ * Action ID for hide or disable editing tokens generated from
4188
+ * Spotter results.
4152
4189
  * @example
4153
4190
  * ```js
4154
4191
  * hiddenAction: [Action.EditTokens]
@@ -6734,13 +6771,18 @@
6734
6771
  });
6735
6772
  }
6736
6773
 
6737
- let cachedAuthToken = null;
6774
+ const cacheAuthTokenKey = 'cachedAuthToken';
6775
+ const getCacheAuthToken = () => getValueFromWindow(cacheAuthTokenKey);
6776
+ const storeAuthTokenInCache = (token) => {
6777
+ storeValueInWindow(cacheAuthTokenKey, token);
6778
+ };
6738
6779
  // This method can be used to get the authToken using the embedConfig
6739
6780
  /**
6740
6781
  *
6741
6782
  * @param embedConfig
6742
6783
  */
6743
6784
  async function getAuthenticationToken(embedConfig) {
6785
+ const cachedAuthToken = getCacheAuthToken();
6744
6786
  // Since we don't have token validation enabled , we cannot tell if the
6745
6787
  // cached token is valid or not. So we will always fetch a new token.
6746
6788
  if (cachedAuthToken && !embedConfig.disableTokenVerification) {
@@ -6771,10 +6813,11 @@
6771
6813
  logger$3.error(`${ERROR_MESSAGE.INVALID_TOKEN_ERROR} Error : ${e.message}`);
6772
6814
  throw e;
6773
6815
  }
6774
- cachedAuthToken = authToken;
6816
+ storeAuthTokenInCache(authToken);
6775
6817
  return authToken;
6776
6818
  }
6777
6819
  const validateAuthToken = async (embedConfig, authToken, suppressAlert) => {
6820
+ const cachedAuthToken = getCacheAuthToken();
6778
6821
  if (embedConfig.disableTokenVerification) {
6779
6822
  logger$3.info('Token verification is disabled. Assuming token is valid.');
6780
6823
  return true;
@@ -6808,17 +6851,17 @@
6808
6851
  * @group Authentication / Init
6809
6852
  */
6810
6853
  const resetCachedAuthToken = () => {
6811
- cachedAuthToken = null;
6854
+ storeAuthTokenInCache(null);
6812
6855
  };
6813
6856
 
6814
- let config = {};
6857
+ const configKey = 'embedConfig';
6815
6858
  /**
6816
6859
  * Gets the configuration embed was initialized with.
6817
6860
  * @returns {@link EmbedConfig} The configuration embed was initialized with.
6818
6861
  * @version SDK: 1.19.0 | ThoughtSpot: *
6819
6862
  * @group Global methods
6820
6863
  */
6821
- const getEmbedConfig = () => config;
6864
+ const getEmbedConfig = () => getValueFromWindow(configKey) || {};
6822
6865
 
6823
6866
  /**
6824
6867
  * Fetch wrapper that adds the authentication token to the request.
@@ -14865,7 +14908,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
14865
14908
  return e;
14866
14909
  }
14867
14910
 
14868
- 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$1={".":{"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$1,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};
14911
+ 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$1={".":{"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$1,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};
14869
14912
 
14870
14913
  /**
14871
14914
  * Reloads the ThoughtSpot iframe.
@@ -16618,7 +16661,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
16618
16661
  getEmbedParams() {
16619
16662
  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,
16620
16663
  /* eslint-disable-next-line max-len */
16621
- dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState.EXPAND_ALL, collapseSearchBar = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, homePageSearchBarMode, isUnifiedSearchExperienceEnabled = true, } = this.viewConfig;
16664
+ dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState.EXPAND_ALL, collapseSearchBar = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, homePageSearchBarMode, isUnifiedSearchExperienceEnabled = true, enablePendoHelp = true, } = this.viewConfig;
16622
16665
  let params = {};
16623
16666
  params[Param.PrimaryNavHidden] = !showPrimaryNavbar;
16624
16667
  params[Param.HideProfleAndHelp] = !!disableProfileAndHelp;
@@ -16663,6 +16706,9 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
16663
16706
  if (homePageSearchBarMode) {
16664
16707
  params[Param.HomePageSearchBarMode] = homePageSearchBarMode;
16665
16708
  }
16709
+ if (enablePendoHelp !== undefined) {
16710
+ params[Param.EnablePendoHelp] = enablePendoHelp;
16711
+ }
16666
16712
  params[Param.DataPanelV2Enabled] = dataPanelV2;
16667
16713
  params[Param.HideHomepageLeftNav] = hideHomepageLeftNav;
16668
16714
  params[Param.ModularHomeExperienceEnabled] = modularHomeExperience;