@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
package/dist/tsembed.js CHANGED
@@ -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) :
4
4
  typeof define === 'function' && define.amd ? define(['exports'], factory) :
@@ -346,7 +346,25 @@
346
346
  return ['boolean', 'boolean'];
347
347
  }
348
348
  return ['', ''];
349
- };
349
+ };
350
+ const sdkWindowKey = '_tsEmbedSDK';
351
+ /**
352
+ * Stores a value in the global `window` object under the `_tsEmbedSDK` namespace.
353
+ * @param key - The key under which the value will be stored.
354
+ * @param value - The value to store.
355
+ */
356
+ const storeValueInWindow = (key, value) => {
357
+ if (!window[sdkWindowKey]) {
358
+ window[sdkWindowKey] = {};
359
+ }
360
+ window[sdkWindowKey][key] = value;
361
+ };
362
+ /**
363
+ * Retrieves a stored value from the global `window` object under the `_tsEmbedSDK` namespace.
364
+ * @param key - The key whose value needs to be retrieved.
365
+ * @returns The stored value or `undefined` if the key is not found.
366
+ */
367
+ const getValueFromWindow = (key) => { var _a; return (_a = window === null || window === void 0 ? void 0 : window[sdkWindowKey]) === null || _a === void 0 ? void 0 : _a[key]; };
350
368
 
351
369
  /**
352
370
  * Copyright (c) 2023
@@ -737,8 +755,8 @@
737
755
  */
738
756
  EmbedEvent["Load"] = "load";
739
757
  /**
740
- * Data pertaining to answer or Liveboard is received
741
- * @return data - The answer or Liveboard data
758
+ * Data pertaining to an Answer or Liveboard is received
759
+ * @return data - The Answer or Liveboard data
742
760
  * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
743
761
  * @example
744
762
  *```js
@@ -912,7 +930,7 @@
912
930
  */
913
931
  EmbedEvent["Alert"] = "alert";
914
932
  /**
915
- * The ThoughtSpot auth session has expired.
933
+ * The ThoughtSpot authentication session has expired.
916
934
  * @version SDK: 1.4.0 | ThoughtSpot: ts7.sep.cl, 8.4.1.sw
917
935
  * @example
918
936
  *```js
@@ -982,7 +1000,7 @@
982
1000
  /**
983
1001
  * Emitted when the embed does not have cookie access. This happens
984
1002
  * when Safari and other Web browsers block third-party cookies
985
- * are blocked by default. `NoCookieAccess` can trigger
1003
+ * are blocked by default. `NoCookieAccess` can trigger.
986
1004
  * @example
987
1005
  *```js
988
1006
  * appEmbed.on(EmbedEvent.NoCookieAccess)
@@ -1070,7 +1088,7 @@
1070
1088
  */
1071
1089
  EmbedEvent["Save"] = "save";
1072
1090
  /**
1073
- * Emitted when the download action is triggered on an answer
1091
+ * Emitted when the download action is triggered on an Answer.
1074
1092
  *
1075
1093
  * **Note**: This event is deprecated in v1.21.0.
1076
1094
  * To fire an event when a download action is initiated on a chart or table,
@@ -1086,7 +1104,7 @@
1086
1104
  */
1087
1105
  EmbedEvent["Download"] = "download";
1088
1106
  /**
1089
- * Emitted when the download action is triggered on an answer
1107
+ * Emitted when the download action is triggered on an Answer.
1090
1108
  * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.4.0.sw
1091
1109
  * @example
1092
1110
  *```js
@@ -1100,7 +1118,7 @@
1100
1118
  */
1101
1119
  EmbedEvent["DownloadAsPng"] = "downloadAsPng";
1102
1120
  /**
1103
- * Emitted when the Download as PDF action is triggered on an answer
1121
+ * Emitted when the Download as PDF action is triggered on an Answer
1104
1122
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
1105
1123
  * @example
1106
1124
  *```js
@@ -1114,7 +1132,7 @@
1114
1132
  */
1115
1133
  EmbedEvent["DownloadAsPdf"] = "downloadAsPdf";
1116
1134
  /**
1117
- * Emitted when the Download as CSV action is triggered on an answer
1135
+ * Emitted when the Download as CSV action is triggered on an Answer.
1118
1136
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
1119
1137
  * @example
1120
1138
  *```js
@@ -1128,7 +1146,7 @@
1128
1146
  */
1129
1147
  EmbedEvent["DownloadAsCsv"] = "downloadAsCsv";
1130
1148
  /**
1131
- * Emitted when the Download as XLSX action is triggered on an answer
1149
+ * Emitted when the Download as XLSX action is triggered on an Answer.
1132
1150
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
1133
1151
  * @example
1134
1152
  *```js
@@ -1156,7 +1174,8 @@
1156
1174
  */
1157
1175
  EmbedEvent["AnswerDelete"] = "answerDelete";
1158
1176
  /**
1159
- * Emitted when an answer is pinned to a Liveboard
1177
+ * Emitted when a user initiates the Pin action to
1178
+ * add an Answer to a Liveboard.
1160
1179
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
1161
1180
  * @example
1162
1181
  *```js
@@ -1294,7 +1313,7 @@
1294
1313
  */
1295
1314
  EmbedEvent["SaveAsView"] = "saveAsView";
1296
1315
  /**
1297
- * Emitted when the user creates a copy of an Answer
1316
+ * Emitted when the user creates a copy of an Answer.
1298
1317
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
1299
1318
  * @example
1300
1319
  *```js
@@ -1308,7 +1327,7 @@
1308
1327
  */
1309
1328
  EmbedEvent["CopyAEdit"] = "copyAEdit";
1310
1329
  /**
1311
- * Emitted when a user clicks Show underlying data on an Answer
1330
+ * Emitted when a user clicks *Show underlying data* on an Answer.
1312
1331
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
1313
1332
  * @example
1314
1333
  *```js
@@ -1319,7 +1338,7 @@
1319
1338
  */
1320
1339
  EmbedEvent["ShowUnderlyingData"] = "showUnderlyingData";
1321
1340
  /**
1322
- * Emitted when an answer is switched to a chart or table view.
1341
+ * Emitted when an Answer is switched to a chart or table view.
1323
1342
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
1324
1343
  * @example
1325
1344
  *```js
@@ -1453,11 +1472,12 @@
1453
1472
  */
1454
1473
  EmbedEvent["CopyLink"] = "embedDocument";
1455
1474
  /**
1456
- * Emitted when a user interacts with cross filters on a visualization or Liveboard
1475
+ * Emitted when a user interacts with cross filters on a
1476
+ * visualization or Liveboard.
1457
1477
  * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.0.sw
1458
1478
  * @example
1459
1479
  *```js
1460
- * liveboardEmbed.trigger(HostEvent.CrossFilterChanged, {
1480
+ * liveboardEmbed.on(EmbedEvent.CrossFilterChanged, {
1461
1481
  * vizId: '730496d6-6903-4601-937e-2c691821af3c'})
1462
1482
  *```
1463
1483
  */
@@ -1551,8 +1571,8 @@
1551
1571
  */
1552
1572
  EmbedEvent["DeletePersonalisedView"] = "deletePersonalisedView";
1553
1573
  /**
1554
- * Emitted when a user creates a new worksheet
1555
- * @version SDK : 1.27.0 | ThoughtSpot Cloud: 9.8.0.cl
1574
+ * Emitted when a user creates a Worksheet.
1575
+ * @version SDK : 1.27.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
1556
1576
  */
1557
1577
  EmbedEvent["CreateWorksheet"] = "createWorksheet";
1558
1578
  /**
@@ -1565,8 +1585,8 @@
1565
1585
  */
1566
1586
  EmbedEvent["AskSageInit"] = "AskSageInit";
1567
1587
  /**
1568
- * Emitted when a LB/viz is renamed
1569
- * @version SDK : 1.28.0 | ThoughtSpot: 9.10.5.cl
1588
+ * Emitted when a Liveboard or visualization is renamed.
1589
+ * @version SDK : 1.28.0 | ThoughtSpot: 9.10.5.cl, 10.1.0.sw
1570
1590
  */
1571
1591
  EmbedEvent["Rename"] = "rename";
1572
1592
  /**
@@ -1630,8 +1650,7 @@
1630
1650
  EmbedEvent["OnBeforeGetVizDataIntercept"] = "onBeforeGetVizDataIntercept";
1631
1651
  /**
1632
1652
  * Emitted when parameter changes in an Answer
1633
- * or Liveboard
1634
- *
1653
+ * or Liveboard.
1635
1654
  * ```js
1636
1655
  * liveboardEmbed.on(EmbedEvent.ParameterChanged, (payload) => {
1637
1656
  * console.log('payload', payload);
@@ -1658,7 +1677,7 @@
1658
1677
  */
1659
1678
  EmbedEvent["TableVizRendered"] = "TableVizRendered";
1660
1679
  /**
1661
- * Emitted when the liveboard is created from pin modal or liveboard list page.
1680
+ * Emitted when the liveboard is created from pin modal or Liveboard list page.
1662
1681
  * You can use this event as a hook to trigger
1663
1682
  * other events on liveboard creation.
1664
1683
  *
@@ -1803,7 +1822,7 @@
1803
1822
  */
1804
1823
  HostEvent["Filter"] = "filter";
1805
1824
  /**
1806
- * Reload the answer or visualization
1825
+ * Reload the Answer or visualization
1807
1826
  * @hidden
1808
1827
  */
1809
1828
  HostEvent["Reload"] = "reload";
@@ -1853,12 +1872,10 @@
1853
1872
  * and `AppEmbed` only. In full application embedding, this event updates
1854
1873
  * the runtime filters applied on the Liveboard and saved Answer objects.
1855
1874
  *
1856
- *
1857
- * Pass an array of runtime filters with the following attributes:
1858
- *
1875
+ * @param - Pass an array of {@link RuntimeFilter} with the following attributes:
1859
1876
  * `columnName` - _String_. The name of the column to filter on.
1860
1877
  *
1861
- * `operator` - Runtime filter operator to apply. For more information,
1878
+ * `operator` - {@link RuntimeFilterOp} to apply. For more information,
1862
1879
  * see link:https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator[Developer Documentation].
1863
1880
  *
1864
1881
  * `values` - List of operands. Some operators such as EQ and LE allow a
@@ -1870,7 +1887,7 @@
1870
1887
  * will be cleared, restoring the original visualization
1871
1888
  * with the updated filters.
1872
1889
  *
1873
- * @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
1890
+
1874
1891
  * @example
1875
1892
  * ```js
1876
1893
  * liveboardEmbed.trigger(HostEvent.UpdateRuntimeFilters, [
@@ -2109,6 +2126,11 @@
2109
2126
  * appEmbed.trigger(HostEvent.Remove)
2110
2127
  * ```
2111
2128
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
2129
+ * * @example
2130
+ * ```js
2131
+ * liveboardEmbed.trigger(HostEvent.Remove)
2132
+ * ```
2133
+ * @version SDK: 1.37.0 | ThoughtSpot: 10.8.0.cl, 10.10.0.sw
2112
2134
  */
2113
2135
  HostEvent["Remove"] = "delete";
2114
2136
  /**
@@ -2519,7 +2541,7 @@
2519
2541
  * ```js
2520
2542
  * liveboardEmbed.trigger(HostEvent.GetTabs).then((tabDetails) => {
2521
2543
  * console.log(
2522
- * tabDetails // TabDetails of current LB
2544
+ * tabDetails // TabDetails of current Liveboard
2523
2545
  * );
2524
2546
  * })
2525
2547
  * ```
@@ -2567,7 +2589,7 @@
2567
2589
  */
2568
2590
  HostEvent["UpdateSageQuery"] = "updateSageQuery";
2569
2591
  /**
2570
- * Get the answer session for a Search or
2592
+ * Get the Answer session for a Search or
2571
2593
  * Liveboard visualization.
2572
2594
  * @example
2573
2595
  * ```js
@@ -2746,6 +2768,7 @@
2746
2768
  Param["HostAppUrl"] = "hostAppUrl";
2747
2769
  Param["EnableVizTransformations"] = "enableVizTransform";
2748
2770
  Param["EnableSearchAssist"] = "enableSearchAssist";
2771
+ Param["EnablePendoHelp"] = "enablePendoHelp";
2749
2772
  Param["HideResult"] = "hideResult";
2750
2773
  Param["UseLastSelectedDataSource"] = "useLastSelectedSources";
2751
2774
  Param["Tag"] = "tag";
@@ -2978,9 +3001,10 @@
2978
3001
  */
2979
3002
  Action["AddDataPanelObjects"] = "addDataPanelObjects";
2980
3003
  /**
2981
- * Filter configuration options on a Liveboard page.
2982
- * Allows configuring filters on a
2983
- * Liveboard.
3004
+ * The filter configuration options for a Liveboard.
3005
+ * The configuration options are available when adding
3006
+ * filters on a Liveboard.
3007
+ *
2984
3008
  * @example
2985
3009
  * ```js
2986
3010
  * disabledActions: [Action.ConfigureFilter]
@@ -3078,14 +3102,17 @@
3078
3102
  * @hidden
3079
3103
  */
3080
3104
  Action["SpotIQFollow"] = "spotIQFollow";
3105
+ /**
3106
+ * The Share action for a Liveboard visualization.
3107
+ */
3081
3108
  Action["ShareViz"] = "shareViz";
3082
3109
  /**
3083
3110
  * @hidden
3084
3111
  */
3085
3112
  Action["ReplaySearch"] = "replaySearch";
3086
3113
  /**
3087
- * The **Show underlying data** menu action on a visualization or
3088
- * Answer page.
3114
+ * The **Show underlying data** menu action on a
3115
+ * visualization or Answer page.
3089
3116
  * Displays detailed information and raw data
3090
3117
  * for a given visualization.
3091
3118
  * @example
@@ -3095,8 +3122,8 @@
3095
3122
  */
3096
3123
  Action["ShowUnderlyingData"] = "showUnderlyingData";
3097
3124
  /**
3098
- * The **Download** menu action on Liveboard visualizations
3099
- * and Answers.
3125
+ * The **Download** menu action on Liveboard
3126
+ * visualizations and Answers.
3100
3127
  * Allows downloading a visualization or Answer.
3101
3128
  * @example
3102
3129
  * ```js
@@ -3117,11 +3144,10 @@
3117
3144
  /**
3118
3145
  *
3119
3146
  *The **Download PDF** action that downloads a Liveboard,
3120
- *visualization, or Answer as a PDF file.
3147
+ * visualization, or Answer as a PDF file.
3121
3148
  *
3122
- *
3123
- ***NOTE**: The **Download** > **PDF** action is available on
3124
- *visualizations and Answers if the data is in tabular format.
3149
+ * **NOTE**: The **Download** > **PDF** option is available for
3150
+ * tables in visualizations and Answers.
3125
3151
  * @example
3126
3152
  * ```js
3127
3153
  * disabledActions: [Action.DownloadAsPdf]
@@ -3153,9 +3179,11 @@
3153
3179
  */
3154
3180
  Action["DownloadTrace"] = "downloadTrace";
3155
3181
  /**
3156
- * The **Export TML** menu action on Liveboard, Answers
3157
- * Worksheets and Data Connections page.
3158
- * Exports an object as a TML file.
3182
+ * The **Export TML** menu action on a Liveboard, Answer, and
3183
+ * the Data Workspace pages for data objects and connections.
3184
+ *
3185
+ * Allows exporting an object as a TML file.
3186
+ *
3159
3187
  * @example
3160
3188
  * ```js
3161
3189
  * disabledActions: [Action.ExportTML]
@@ -3163,7 +3191,8 @@
3163
3191
  */
3164
3192
  Action["ExportTML"] = "exportTSL";
3165
3193
  /**
3166
- * The **Import TML** menu action for Liveboards and Answers.
3194
+ * The **Import TML** menu action on the
3195
+ * *Data Workspace* > *Utilities* page.
3167
3196
  * Imports TML representation of ThoughtSpot objects.
3168
3197
  * @example
3169
3198
  * ```js
@@ -3173,7 +3202,7 @@
3173
3202
  Action["ImportTML"] = "importTSL";
3174
3203
  /**
3175
3204
  * The **Update TML** menu action for Liveboards and Answers.
3176
- * Update TML representation of ThoughtSpot objects.
3205
+ * Updates TML representation of ThoughtSpot objects.
3177
3206
  * @example
3178
3207
  * ```js
3179
3208
  * disabledActions: [Action.UpdateTML]
@@ -3200,8 +3229,11 @@
3200
3229
  */
3201
3230
  Action["Present"] = "present";
3202
3231
  /**
3203
- * The tile resize options in the visualization menu.
3204
- * Allows switching between different preset layouts.
3232
+ * The visualization tile resize option.
3233
+ * Also available via More `...` options menu on a visualization.
3234
+ * Allows resizing visualization tiles and switching
3235
+ * between different preset layout option.
3236
+ *
3205
3237
  * @example
3206
3238
  * ```js
3207
3239
  * disabledActions: [Action.ToggleSize]
@@ -3227,8 +3259,9 @@
3227
3259
  */
3228
3260
  Action["EditTitle"] = "editTitle";
3229
3261
  /**
3230
- * The **Delete** menu action on Liveboards and visualizations.
3231
- * Deletes a Liveboard or a visualization from a Liveboard.
3262
+ * The **Delete** action on a Liveboard, *Liveboards* and
3263
+ * *Answers* list pages in full application embedding.
3264
+ *
3232
3265
  * @example
3233
3266
  * ```js
3234
3267
  * disabledActions: [Action.Remove]
@@ -3305,8 +3338,9 @@
3305
3338
  */
3306
3339
  Action["Explore"] = "explore";
3307
3340
  /**
3308
- * The action to include data points on a drilled-down Answer
3309
- * or visualization
3341
+ * The contextual menu action to include a specific data point
3342
+ * when drilling down a table or chart on an Answer.
3343
+ *
3310
3344
  * @example
3311
3345
  * ```js
3312
3346
  * disabledActions: [Action.DrillInclude]
@@ -3314,8 +3348,8 @@
3314
3348
  */
3315
3349
  Action["DrillInclude"] = "context-menu-item-include";
3316
3350
  /**
3317
- * The action to exclude data points on a drilled-down Answer
3318
- * or visualization
3351
+ * The contextual menu action to exclude a specific data point
3352
+ * when drilling down a table or chart on an Answer.
3319
3353
  * @example
3320
3354
  * ```js
3321
3355
  * disabledActions: [Action.DrillInclude]
@@ -3462,7 +3496,7 @@
3462
3496
  * Allows users to manage data sync pipelines to third-party apps.
3463
3497
  * @example
3464
3498
  * ```js
3465
- * disabledActions: [Action.SyncToOtherApps]
3499
+ * disabledActions: [Action.ManagePipelines]
3466
3500
  * ```
3467
3501
  * @version SDK: 1.18.0| ThoughtSpot: 8.10.0.cl, 9.0.1.sw
3468
3502
  */
@@ -3781,7 +3815,7 @@
3781
3815
  /**
3782
3816
  * Action ID for the Parent TML action
3783
3817
  * The parent action **TML** must be included to access TML-related options
3784
- * within the cascading menu (specific to the answer page)
3818
+ * within the cascading menu (specific to the Answer page)
3785
3819
  * @example
3786
3820
  * ```js
3787
3821
  * // to include specific TML actions
@@ -3820,8 +3854,10 @@
3820
3854
  */
3821
3855
  Action["VerifiedLiveboard"] = "verifiedLiveboard";
3822
3856
  /**
3823
- * The *Ask Sage* action for Answers and visualizations.
3824
- * Allows initiating a Natural Language Search query.
3857
+ * Action ID for the *Ask Sage* In Natural Language Search embed,
3858
+ * *Spotter* in Liveboard, full app, and Spotter embed.
3859
+ *
3860
+ * Allows initiating a conversation with ThoughtSpot AI analyst.
3825
3861
  *
3826
3862
  * @example
3827
3863
  * ```js
@@ -4017,7 +4053,8 @@
4017
4053
  */
4018
4054
  Action["DeletePreviousPrompt"] = "deletePreviousPrompt";
4019
4055
  /**
4020
- * Action ID for hide/disable edit of tokens on spotter results.
4056
+ * Action ID for hide or disable editing tokens generated from
4057
+ * Spotter results.
4021
4058
  * @example
4022
4059
  * ```js
4023
4060
  * hiddenAction: [Action.EditTokens]
@@ -6606,13 +6643,18 @@
6606
6643
  });
6607
6644
  }
6608
6645
 
6609
- let cachedAuthToken = null;
6646
+ const cacheAuthTokenKey = 'cachedAuthToken';
6647
+ const getCacheAuthToken = () => getValueFromWindow(cacheAuthTokenKey);
6648
+ const storeAuthTokenInCache = (token) => {
6649
+ storeValueInWindow(cacheAuthTokenKey, token);
6650
+ };
6610
6651
  // This method can be used to get the authToken using the embedConfig
6611
6652
  /**
6612
6653
  *
6613
6654
  * @param embedConfig
6614
6655
  */
6615
6656
  async function getAuthenticationToken(embedConfig) {
6657
+ const cachedAuthToken = getCacheAuthToken();
6616
6658
  // Since we don't have token validation enabled , we cannot tell if the
6617
6659
  // cached token is valid or not. So we will always fetch a new token.
6618
6660
  if (cachedAuthToken && !embedConfig.disableTokenVerification) {
@@ -6643,10 +6685,11 @@
6643
6685
  logger$3.error(`${ERROR_MESSAGE.INVALID_TOKEN_ERROR} Error : ${e.message}`);
6644
6686
  throw e;
6645
6687
  }
6646
- cachedAuthToken = authToken;
6688
+ storeAuthTokenInCache(authToken);
6647
6689
  return authToken;
6648
6690
  }
6649
6691
  const validateAuthToken = async (embedConfig, authToken, suppressAlert) => {
6692
+ const cachedAuthToken = getCacheAuthToken();
6650
6693
  if (embedConfig.disableTokenVerification) {
6651
6694
  logger$3.info('Token verification is disabled. Assuming token is valid.');
6652
6695
  return true;
@@ -6680,17 +6723,17 @@
6680
6723
  * @group Authentication / Init
6681
6724
  */
6682
6725
  const resetCachedAuthToken = () => {
6683
- cachedAuthToken = null;
6726
+ storeAuthTokenInCache(null);
6684
6727
  };
6685
6728
 
6686
- let config = {};
6729
+ const configKey = 'embedConfig';
6687
6730
  /**
6688
6731
  * Gets the configuration embed was initialized with.
6689
6732
  * @returns {@link EmbedConfig} The configuration embed was initialized with.
6690
6733
  * @version SDK: 1.19.0 | ThoughtSpot: *
6691
6734
  * @group Global methods
6692
6735
  */
6693
- const getEmbedConfig = () => config;
6736
+ const getEmbedConfig = () => getValueFromWindow(configKey) || {};
6694
6737
  /**
6695
6738
  * Sets the configuration embed was initialized with.
6696
6739
  * And returns the new configuration.
@@ -6699,8 +6742,8 @@
6699
6742
  * @group Global methods
6700
6743
  */
6701
6744
  const setEmbedConfig = (newConfig) => {
6702
- config = newConfig;
6703
- return newConfig;
6745
+ storeValueInWindow(configKey, newConfig);
6746
+ return getValueFromWindow(configKey);
6704
6747
  };
6705
6748
 
6706
6749
  /**
@@ -15130,7 +15173,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
15130
15173
  return e;
15131
15174
  }
15132
15175
 
15133
- 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};
15176
+ 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};
15134
15177
 
15135
15178
  /**
15136
15179
  * Reloads the ThoughtSpot iframe.
@@ -16557,7 +16600,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
16557
16600
  getEmbedParams() {
16558
16601
  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,
16559
16602
  /* eslint-disable-next-line max-len */
16560
- dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState$1.EXPAND_ALL, collapseSearchBar = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, homePageSearchBarMode, isUnifiedSearchExperienceEnabled = true, } = this.viewConfig;
16603
+ dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState$1.EXPAND_ALL, collapseSearchBar = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, homePageSearchBarMode, isUnifiedSearchExperienceEnabled = true, enablePendoHelp = true, } = this.viewConfig;
16561
16604
  let params = {};
16562
16605
  params[Param.PrimaryNavHidden] = !showPrimaryNavbar;
16563
16606
  params[Param.HideProfleAndHelp] = !!disableProfileAndHelp;
@@ -16602,6 +16645,9 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
16602
16645
  if (homePageSearchBarMode) {
16603
16646
  params[Param.HomePageSearchBarMode] = homePageSearchBarMode;
16604
16647
  }
16648
+ if (enablePendoHelp !== undefined) {
16649
+ params[Param.EnablePendoHelp] = enablePendoHelp;
16650
+ }
16605
16651
  params[Param.DataPanelV2Enabled] = dataPanelV2;
16606
16652
  params[Param.HideHomepageLeftNav] = hideHomepageLeftNav;
16607
16653
  params[Param.ModularHomeExperienceEnabled] = modularHomeExperience;