@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.
- package/cjs/package.json +1 -1
- package/cjs/src/authToken.d.ts.map +1 -1
- package/cjs/src/authToken.js +10 -3
- package/cjs/src/authToken.js.map +1 -1
- package/cjs/src/embed/app.d.ts +14 -0
- package/cjs/src/embed/app.d.ts.map +1 -1
- package/cjs/src/embed/app.js +4 -1
- package/cjs/src/embed/app.js.map +1 -1
- package/cjs/src/embed/app.spec.js +17 -0
- package/cjs/src/embed/app.spec.js.map +1 -1
- package/cjs/src/embed/embedConfig.d.ts +1 -1
- package/cjs/src/embed/embedConfig.d.ts.map +1 -1
- package/cjs/src/embed/embedConfig.js +5 -4
- package/cjs/src/embed/embedConfig.js.map +1 -1
- package/cjs/src/embed/liveboard.d.ts +4 -1
- package/cjs/src/embed/liveboard.d.ts.map +1 -1
- package/cjs/src/embed/liveboard.js.map +1 -1
- package/cjs/src/types.d.ts +85 -66
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +78 -59
- package/cjs/src/types.js.map +1 -1
- package/cjs/src/utils.d.ts +12 -0
- package/cjs/src/utils.d.ts.map +1 -1
- package/cjs/src/utils.js +21 -1
- package/cjs/src/utils.js.map +1 -1
- package/cjs/src/utils.spec.js +15 -0
- package/cjs/src/utils.spec.js.map +1 -1
- package/dist/{index-B3hd6DTM.js → index-BJx3m5_V.js} +1 -1
- package/dist/src/authToken.d.ts.map +1 -1
- package/dist/src/embed/app.d.ts +14 -0
- package/dist/src/embed/app.d.ts.map +1 -1
- package/dist/src/embed/embedConfig.d.ts +1 -1
- package/dist/src/embed/embedConfig.d.ts.map +1 -1
- package/dist/src/embed/liveboard.d.ts +4 -1
- package/dist/src/embed/liveboard.d.ts.map +1 -1
- package/dist/src/types.d.ts +85 -66
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/utils.d.ts +12 -0
- package/dist/src/utils.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +115 -69
- package/dist/tsembed-react.js +114 -68
- package/dist/tsembed.es.js +117 -71
- package/dist/tsembed.js +116 -70
- package/dist/visual-embed-sdk-react-full.d.ts +104 -68
- package/dist/visual-embed-sdk-react.d.ts +104 -68
- package/dist/visual-embed-sdk.d.ts +104 -68
- package/lib/package.json +1 -1
- package/lib/src/authToken.d.ts.map +1 -1
- package/lib/src/authToken.js +10 -3
- package/lib/src/authToken.js.map +1 -1
- package/lib/src/embed/app.d.ts +14 -0
- package/lib/src/embed/app.d.ts.map +1 -1
- package/lib/src/embed/app.js +4 -1
- package/lib/src/embed/app.js.map +1 -1
- package/lib/src/embed/app.spec.js +17 -0
- package/lib/src/embed/app.spec.js.map +1 -1
- package/lib/src/embed/embedConfig.d.ts +1 -1
- package/lib/src/embed/embedConfig.d.ts.map +1 -1
- package/lib/src/embed/embedConfig.js +5 -4
- package/lib/src/embed/embedConfig.js.map +1 -1
- package/lib/src/embed/liveboard.d.ts +4 -1
- package/lib/src/embed/liveboard.d.ts.map +1 -1
- package/lib/src/embed/liveboard.js.map +1 -1
- package/lib/src/types.d.ts +85 -66
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +78 -59
- package/lib/src/types.js.map +1 -1
- package/lib/src/utils.d.ts +12 -0
- package/lib/src/utils.d.ts.map +1 -1
- package/lib/src/utils.js +18 -0
- package/lib/src/utils.js.map +1 -1
- package/lib/src/utils.spec.js +16 -1
- package/lib/src/utils.spec.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +104 -68
- package/package.json +1 -1
- package/src/authToken.ts +11 -3
- package/src/embed/app.spec.ts +27 -0
- package/src/embed/app.ts +19 -0
- package/src/embed/embedConfig.ts +5 -4
- package/src/embed/liveboard.ts +4 -1
- package/src/types.ts +89 -70
- package/src/utils.spec.ts +21 -0
- package/src/utils.ts +21 -0
- package/cjs/src/embed/searchEmbed-basic-auth.spec.d.ts +0 -2
- package/cjs/src/embed/searchEmbed-basic-auth.spec.d.ts.map +0 -1
- package/cjs/src/embed/searchEmbed-basic-auth.spec.js +0 -104
- package/cjs/src/embed/searchEmbed-basic-auth.spec.js.map +0 -1
- package/cjs/src/hostEventsTypeMapping.d.ts +0 -2
- package/cjs/src/hostEventsTypeMapping.d.ts.map +0 -1
- package/cjs/src/hostEventsTypeMapping.js +0 -4
- package/cjs/src/hostEventsTypeMapping.js.map +0 -1
- package/cjs/src/utils/embedApi/contracts.d.ts +0 -101
- package/cjs/src/utils/embedApi/contracts.d.ts.map +0 -1
- package/cjs/src/utils/embedApi/contracts.js +0 -17
- package/cjs/src/utils/embedApi/contracts.js.map +0 -1
- package/cjs/src/utils/embedApi/embedApiClient.d.ts +0 -12
- package/cjs/src/utils/embedApi/embedApiClient.d.ts.map +0 -1
- package/cjs/src/utils/embedApi/embedApiClient.js +0 -46
- package/cjs/src/utils/embedApi/embedApiClient.js.map +0 -1
- package/cjs/src/utils/embedApi/processEmbedApi.d.ts +0 -9
- package/cjs/src/utils/embedApi/processEmbedApi.d.ts.map +0 -1
- package/cjs/src/utils/embedApi/processEmbedApi.js +0 -18
- package/cjs/src/utils/embedApi/processEmbedApi.js.map +0 -1
- package/dist/index-BBBimG1x.js +0 -7370
- package/dist/index-BGnxP5NY.js +0 -7370
- package/dist/index-CENLvayL.js +0 -7370
- package/dist/index-CR5u7BMC.js +0 -7370
- package/dist/index-CbltIawo.js +0 -7370
- package/dist/index-CoQfqaHj.js +0 -7370
- package/dist/index-CzwzS0P4.js +0 -7370
- package/dist/index-D-9WUCUl.js +0 -7370
- package/dist/index-DFwi_pV_.js +0 -7370
- package/dist/index-DOIjN0N_.js +0 -7370
- package/dist/index-DYBx8SuE.js +0 -7370
- package/dist/index-DaLHJaLd.js +0 -7370
- package/dist/index-DnJX-gN2.js +0 -7370
- package/dist/index-DpuhnTj2.js +0 -7370
- package/dist/index-IDmSUe93.js +0 -7370
- package/dist/index-nWevLycs.js +0 -7370
- package/dist/index-vxW97_xb.js +0 -7370
- package/dist/src/embed/searchEmbed-basic-auth.spec.d.ts +0 -2
- package/dist/src/embed/searchEmbed-basic-auth.spec.d.ts.map +0 -1
- package/dist/src/hostEventsTypeMapping.d.ts +0 -2
- package/dist/src/hostEventsTypeMapping.d.ts.map +0 -1
- package/dist/src/utils/embedApi/contracts.d.ts +0 -101
- package/dist/src/utils/embedApi/contracts.d.ts.map +0 -1
- package/dist/src/utils/embedApi/embedApiClient.d.ts +0 -12
- package/dist/src/utils/embedApi/embedApiClient.d.ts.map +0 -1
- package/dist/src/utils/embedApi/processEmbedApi.d.ts +0 -9
- package/dist/src/utils/embedApi/processEmbedApi.d.ts.map +0 -1
- package/lib/src/embed/searchEmbed-basic-auth.spec.d.ts +0 -2
- package/lib/src/embed/searchEmbed-basic-auth.spec.d.ts.map +0 -1
- package/lib/src/embed/searchEmbed-basic-auth.spec.js +0 -101
- package/lib/src/embed/searchEmbed-basic-auth.spec.js.map +0 -1
- package/lib/src/hostEventsTypeMapping.d.ts +0 -2
- package/lib/src/hostEventsTypeMapping.d.ts.map +0 -1
- package/lib/src/hostEventsTypeMapping.js +0 -2
- package/lib/src/hostEventsTypeMapping.js.map +0 -1
- package/lib/src/utils/embedApi/contracts.d.ts +0 -101
- package/lib/src/utils/embedApi/contracts.d.ts.map +0 -1
- package/lib/src/utils/embedApi/contracts.js +0 -14
- package/lib/src/utils/embedApi/contracts.js.map +0 -1
- package/lib/src/utils/embedApi/embedApiClient.d.ts +0 -12
- package/lib/src/utils/embedApi/embedApiClient.d.ts.map +0 -1
- package/lib/src/utils/embedApi/embedApiClient.js +0 -42
- package/lib/src/utils/embedApi/embedApiClient.js.map +0 -1
- package/lib/src/utils/embedApi/processEmbedApi.d.ts +0 -9
- package/lib/src/utils/embedApi/processEmbedApi.d.ts.map +0 -1
- package/lib/src/utils/embedApi/processEmbedApi.js +0 -14
- package/lib/src/utils/embedApi/processEmbedApi.js.map +0 -1
package/dist/tsembed-react.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @thoughtspot/visual-embed-sdk version 1.36.
|
|
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
|
|
850
|
-
* @return data - The
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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.
|
|
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
|
|
1664
|
-
* @version SDK : 1.27.0 | ThoughtSpot
|
|
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
|
|
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
|
|
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
|
|
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` -
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
-
*
|
|
3091
|
-
*
|
|
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
|
|
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
|
|
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
|
-
|
|
3233
|
-
*visualizations and Answers
|
|
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,
|
|
3266
|
-
*
|
|
3267
|
-
*
|
|
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
|
|
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
|
-
*
|
|
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
|
|
3313
|
-
*
|
|
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**
|
|
3340
|
-
*
|
|
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
|
|
3418
|
-
* or
|
|
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
|
|
3427
|
-
* or
|
|
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.
|
|
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
|
|
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
|
-
*
|
|
3933
|
-
*
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
6832
|
+
storeAuthTokenInCache(null);
|
|
6790
6833
|
};
|
|
6791
6834
|
|
|
6792
|
-
|
|
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 = () =>
|
|
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-
|
|
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.
|
|
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;
|