@thoughtspot/visual-embed-sdk 1.35.10 → 1.35.12
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/embed/app.d.ts +11 -2
- package/cjs/src/embed/app.d.ts.map +1 -1
- package/cjs/src/embed/app.js.map +1 -1
- package/cjs/src/embed/hostEventClient/contracts.d.ts +1 -1
- package/cjs/src/embed/hostEventClient/contracts.js +1 -1
- package/cjs/src/embed/liveboard.d.ts +7 -4
- package/cjs/src/embed/liveboard.d.ts.map +1 -1
- package/cjs/src/embed/liveboard.js +4 -3
- package/cjs/src/embed/liveboard.js.map +1 -1
- package/cjs/src/embed/liveboard.spec.js +17 -1
- package/cjs/src/embed/liveboard.spec.js.map +1 -1
- package/cjs/src/embed/searchEmbed-basic-auth.spec.d.ts +2 -0
- package/cjs/src/embed/searchEmbed-basic-auth.spec.d.ts.map +1 -0
- package/cjs/src/embed/searchEmbed-basic-auth.spec.js +104 -0
- package/cjs/src/embed/searchEmbed-basic-auth.spec.js.map +1 -0
- package/cjs/src/embed/ts-embed.d.ts.map +1 -1
- package/cjs/src/embed/ts-embed.js +5 -2
- package/cjs/src/embed/ts-embed.js.map +1 -1
- package/cjs/src/embed/ts-embed.spec.d.ts.map +1 -1
- package/cjs/src/embed/ts-embed.spec.js +110 -0
- package/cjs/src/embed/ts-embed.spec.js.map +1 -1
- package/cjs/src/hostEventsTypeMapping.d.ts +2 -0
- package/cjs/src/hostEventsTypeMapping.d.ts.map +1 -0
- package/cjs/src/hostEventsTypeMapping.js +4 -0
- package/cjs/src/hostEventsTypeMapping.js.map +1 -0
- package/cjs/src/types.d.ts +298 -161
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +274 -133
- package/cjs/src/types.js.map +1 -1
- package/cjs/src/utils/embedApi/contracts.d.ts +101 -0
- package/cjs/src/utils/embedApi/contracts.d.ts.map +1 -0
- package/cjs/src/utils/embedApi/contracts.js +17 -0
- package/cjs/src/utils/embedApi/contracts.js.map +1 -0
- package/cjs/src/utils/embedApi/embedApiClient.d.ts +12 -0
- package/cjs/src/utils/embedApi/embedApiClient.d.ts.map +1 -0
- package/cjs/src/utils/embedApi/embedApiClient.js +46 -0
- package/cjs/src/utils/embedApi/embedApiClient.js.map +1 -0
- package/cjs/src/utils/embedApi/processEmbedApi.d.ts +9 -0
- package/cjs/src/utils/embedApi/processEmbedApi.d.ts.map +1 -0
- package/cjs/src/utils/embedApi/processEmbedApi.js +18 -0
- package/cjs/src/utils/embedApi/processEmbedApi.js.map +1 -0
- package/dist/{index-DWOIXXJ1.js → index-BBBimG1x.js} +1 -1
- package/dist/index-BGnxP5NY.js +7370 -0
- package/dist/index-CENLvayL.js +7370 -0
- package/dist/index-CbltIawo.js +7370 -0
- package/dist/index-CoQfqaHj.js +7370 -0
- package/dist/index-CzwzS0P4.js +7370 -0
- package/dist/index-D-9WUCUl.js +7370 -0
- package/dist/index-DFwi_pV_.js +7370 -0
- package/dist/index-DOIjN0N_.js +7370 -0
- package/dist/index-DYBx8SuE.js +7370 -0
- package/dist/index-DaLHJaLd.js +7370 -0
- package/dist/index-DnJX-gN2.js +7370 -0
- package/dist/index-IDmSUe93.js +7370 -0
- package/dist/index-nWevLycs.js +7370 -0
- package/dist/src/embed/app.d.ts +11 -2
- package/dist/src/embed/app.d.ts.map +1 -1
- package/dist/src/embed/hostEventClient/contracts.d.ts +1 -1
- package/dist/src/embed/liveboard.d.ts +7 -4
- package/dist/src/embed/liveboard.d.ts.map +1 -1
- package/dist/src/embed/searchEmbed-basic-auth.spec.d.ts +2 -0
- package/dist/src/embed/searchEmbed-basic-auth.spec.d.ts.map +1 -0
- package/dist/src/embed/ts-embed.d.ts.map +1 -1
- package/dist/src/embed/ts-embed.spec.d.ts.map +1 -1
- package/dist/src/hostEventsTypeMapping.d.ts +2 -0
- package/dist/src/hostEventsTypeMapping.d.ts.map +1 -0
- package/dist/src/types.d.ts +298 -161
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/utils/embedApi/contracts.d.ts +101 -0
- package/dist/src/utils/embedApi/contracts.d.ts.map +1 -0
- package/dist/src/utils/embedApi/embedApiClient.d.ts +12 -0
- package/dist/src/utils/embedApi/embedApiClient.d.ts.map +1 -0
- package/dist/src/utils/embedApi/processEmbedApi.d.ts +9 -0
- package/dist/src/utils/embedApi/processEmbedApi.d.ts.map +1 -0
- package/dist/tsembed-react.es.js +287 -142
- package/dist/tsembed-react.js +286 -141
- package/dist/tsembed.es.js +287 -142
- package/dist/tsembed.js +286 -141
- package/dist/visual-embed-sdk-react-full.d.ts +316 -167
- package/dist/visual-embed-sdk-react.d.ts +316 -167
- package/dist/visual-embed-sdk.d.ts +316 -167
- package/lib/package.json +1 -1
- package/lib/src/embed/app.d.ts +11 -2
- package/lib/src/embed/app.d.ts.map +1 -1
- package/lib/src/embed/app.js.map +1 -1
- package/lib/src/embed/hostEventClient/contracts.d.ts +1 -1
- package/lib/src/embed/hostEventClient/contracts.js +1 -1
- package/lib/src/embed/liveboard.d.ts +7 -4
- package/lib/src/embed/liveboard.d.ts.map +1 -1
- package/lib/src/embed/liveboard.js +4 -3
- package/lib/src/embed/liveboard.js.map +1 -1
- package/lib/src/embed/liveboard.spec.js +17 -1
- package/lib/src/embed/liveboard.spec.js.map +1 -1
- package/lib/src/embed/searchEmbed-basic-auth.spec.d.ts +2 -0
- package/lib/src/embed/searchEmbed-basic-auth.spec.d.ts.map +1 -0
- package/lib/src/embed/searchEmbed-basic-auth.spec.js +101 -0
- package/lib/src/embed/searchEmbed-basic-auth.spec.js.map +1 -0
- package/lib/src/embed/ts-embed.d.ts.map +1 -1
- package/lib/src/embed/ts-embed.js +5 -2
- package/lib/src/embed/ts-embed.js.map +1 -1
- package/lib/src/embed/ts-embed.spec.d.ts.map +1 -1
- package/lib/src/embed/ts-embed.spec.js +111 -1
- package/lib/src/embed/ts-embed.spec.js.map +1 -1
- package/lib/src/hostEventsTypeMapping.d.ts +2 -0
- package/lib/src/hostEventsTypeMapping.d.ts.map +1 -0
- package/lib/src/hostEventsTypeMapping.js +2 -0
- package/lib/src/hostEventsTypeMapping.js.map +1 -0
- package/lib/src/types.d.ts +298 -161
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +274 -133
- package/lib/src/types.js.map +1 -1
- package/lib/src/utils/embedApi/contracts.d.ts +101 -0
- package/lib/src/utils/embedApi/contracts.d.ts.map +1 -0
- package/lib/src/utils/embedApi/contracts.js +14 -0
- package/lib/src/utils/embedApi/contracts.js.map +1 -0
- package/lib/src/utils/embedApi/embedApiClient.d.ts +12 -0
- package/lib/src/utils/embedApi/embedApiClient.d.ts.map +1 -0
- package/lib/src/utils/embedApi/embedApiClient.js +42 -0
- package/lib/src/utils/embedApi/embedApiClient.js.map +1 -0
- package/lib/src/utils/embedApi/processEmbedApi.d.ts +9 -0
- package/lib/src/utils/embedApi/processEmbedApi.d.ts.map +1 -0
- package/lib/src/utils/embedApi/processEmbedApi.js +14 -0
- package/lib/src/utils/embedApi/processEmbedApi.js.map +1 -0
- package/lib/src/visual-embed-sdk.d.ts +317 -168
- package/package.json +1 -1
- package/src/embed/app.ts +11 -2
- package/src/embed/hostEventClient/contracts.ts +1 -1
- package/src/embed/liveboard.spec.ts +23 -2
- package/src/embed/liveboard.ts +11 -8
- package/src/embed/ts-embed.spec.ts +160 -1
- package/src/embed/ts-embed.ts +4 -4
- package/src/types.ts +300 -164
package/dist/tsembed.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @thoughtspot/visual-embed-sdk version 1.35.
|
|
1
|
+
/* @thoughtspot/visual-embed-sdk version 1.35.12 */
|
|
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) :
|
|
@@ -364,7 +364,7 @@
|
|
|
364
364
|
exports.AuthType = void 0;
|
|
365
365
|
(function (AuthType) {
|
|
366
366
|
/**
|
|
367
|
-
* No authentication on the SDK.
|
|
367
|
+
* No authentication on the SDK. Pass-through to the embedded App. Alias for
|
|
368
368
|
* `Passthrough`.
|
|
369
369
|
* @example
|
|
370
370
|
* ```js
|
|
@@ -625,7 +625,7 @@
|
|
|
625
625
|
* **Note**: This option does not apply to the classic homepage.
|
|
626
626
|
* To access the updated modular homepage, set
|
|
627
627
|
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
628
|
-
* @version SDK: 1.28.0 |
|
|
628
|
+
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl, 10.1.0.sw
|
|
629
629
|
*/
|
|
630
630
|
// eslint-disable-next-line no-shadow
|
|
631
631
|
exports.HomepageModule = void 0;
|
|
@@ -1438,7 +1438,7 @@
|
|
|
1438
1438
|
*/
|
|
1439
1439
|
EmbedEvent["Explore"] = "explore";
|
|
1440
1440
|
/**
|
|
1441
|
-
* Emitted when a user clicks **Copy link** action on a visualization
|
|
1441
|
+
* Emitted when a user clicks **Copy link** action on a visualization.
|
|
1442
1442
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
1443
1443
|
* @example
|
|
1444
1444
|
*```js
|
|
@@ -1488,23 +1488,26 @@
|
|
|
1488
1488
|
*/
|
|
1489
1489
|
EmbedEvent["FilterChanged"] = "filterChanged";
|
|
1490
1490
|
/**
|
|
1491
|
-
* Emitted when a user clicks the **Go** button
|
|
1492
|
-
*
|
|
1491
|
+
* Emitted when a user clicks the **Go** button to initiate
|
|
1492
|
+
* a Natural Language Search query
|
|
1493
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1493
1494
|
*/
|
|
1494
1495
|
EmbedEvent["SageEmbedQuery"] = "sageEmbedQuery";
|
|
1495
1496
|
/**
|
|
1496
|
-
* Emitted when a user selects a data source on the
|
|
1497
|
-
*
|
|
1497
|
+
* Emitted when a user selects a data source on the embedded
|
|
1498
|
+
* Natural Language Search interface.
|
|
1499
|
+
*
|
|
1500
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1498
1501
|
*/
|
|
1499
1502
|
EmbedEvent["SageWorksheetUpdated"] = "sageWorksheetUpdated";
|
|
1500
1503
|
/**
|
|
1501
1504
|
* Emitted when a user updates a connection on the **Data** page
|
|
1502
|
-
* @version SDK : 1.27.0 |
|
|
1505
|
+
* @version SDK : 1.27.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
1503
1506
|
*/
|
|
1504
1507
|
EmbedEvent["UpdateConnection"] = "updateConnection";
|
|
1505
1508
|
/**
|
|
1506
1509
|
* Emitted when a user updates a connection on the **Data** page
|
|
1507
|
-
* @version SDK : 1.27.0 |
|
|
1510
|
+
* @version SDK : 1.27.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
1508
1511
|
*/
|
|
1509
1512
|
EmbedEvent["CreateConnection"] = "createConnection";
|
|
1510
1513
|
/**
|
|
@@ -1514,7 +1517,7 @@
|
|
|
1514
1517
|
* @returns viewId: string
|
|
1515
1518
|
* @returns liveboardId: string
|
|
1516
1519
|
* @returns isPublic: boolean
|
|
1517
|
-
* @version SDK : 1.26.0 |
|
|
1520
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1518
1521
|
*/
|
|
1519
1522
|
EmbedEvent["UpdatePersonalisedView"] = "updatePersonalisedView";
|
|
1520
1523
|
/**
|
|
@@ -1523,7 +1526,7 @@
|
|
|
1523
1526
|
* @returns viewId: string
|
|
1524
1527
|
* @returns liveboardId: string
|
|
1525
1528
|
* @returns isPublic: boolean
|
|
1526
|
-
* @version SDK : 1.26.0 |
|
|
1529
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1527
1530
|
*/
|
|
1528
1531
|
EmbedEvent["SavePersonalisedView"] = "savePersonalisedView";
|
|
1529
1532
|
/**
|
|
@@ -1532,28 +1535,28 @@
|
|
|
1532
1535
|
* @returns viewId: string
|
|
1533
1536
|
* @returns liveboardId: string
|
|
1534
1537
|
* @returns isPublic: boolean
|
|
1535
|
-
* @version SDK : 1.26.0 |
|
|
1538
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1536
1539
|
*/
|
|
1537
1540
|
EmbedEvent["ResetLiveboard"] = "resetLiveboard";
|
|
1538
1541
|
/**
|
|
1539
1542
|
* Emitted when a PersonalisedView is deleted.
|
|
1540
1543
|
* @returns views: string[]
|
|
1541
1544
|
* @returns liveboardId: string
|
|
1542
|
-
* @version SDK : 1.26.0 |
|
|
1545
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1543
1546
|
*/
|
|
1544
1547
|
EmbedEvent["DeletePersonalisedView"] = "deletePersonalisedView";
|
|
1545
1548
|
/**
|
|
1546
1549
|
* Emitted when a user creates a new worksheet
|
|
1547
|
-
* @version SDK : 1.27.0 |
|
|
1550
|
+
* @version SDK : 1.27.0 | ThoughtSpot Cloud: 9.8.0.cl
|
|
1548
1551
|
*/
|
|
1549
1552
|
EmbedEvent["CreateWorksheet"] = "createWorksheet";
|
|
1550
1553
|
/**
|
|
1551
|
-
* Emitted when Ask Sage is initialized.
|
|
1554
|
+
* Emitted when the *Ask Sage* is initialized.
|
|
1552
1555
|
* @returns viewName: string
|
|
1553
1556
|
* @returns viewId: string
|
|
1554
1557
|
* @returns liveboardId: string
|
|
1555
1558
|
* @returns isPublic: boolean
|
|
1556
|
-
* @version SDK : 1.29.0 |
|
|
1559
|
+
* @version SDK : 1.29.0 | ThoughtSpot Cloud: 9.12.0.cl
|
|
1557
1560
|
*/
|
|
1558
1561
|
EmbedEvent["AskSageInit"] = "AskSageInit";
|
|
1559
1562
|
/**
|
|
@@ -1581,7 +1584,7 @@
|
|
|
1581
1584
|
*
|
|
1582
1585
|
* error: Developers can customize the error message text when `execute`
|
|
1583
1586
|
* returns `false` using the error parameter in responder.
|
|
1584
|
-
* @version SDK : 1.29.0 |
|
|
1587
|
+
* @version SDK : 1.29.0 | ThoughtSpot : 10.3.0.cl
|
|
1585
1588
|
* @example
|
|
1586
1589
|
*```js
|
|
1587
1590
|
* .on(EmbedEvent.OnBeforeGetVizDataIntercept,
|
|
@@ -1629,9 +1632,26 @@
|
|
|
1629
1632
|
* console.log('payload', payload);
|
|
1630
1633
|
* })
|
|
1631
1634
|
*```
|
|
1632
|
-
* @version SDK : 1.29.0 |
|
|
1635
|
+
* @version SDK : 1.29.0 | ThoughtSpot : 10.3.0.cl
|
|
1633
1636
|
*/
|
|
1634
1637
|
EmbedEvent["ParameterChanged"] = "parameterChanged";
|
|
1638
|
+
/**
|
|
1639
|
+
* Emitted when the table viz renders.
|
|
1640
|
+
* You can use this event as a hook to trigger
|
|
1641
|
+
* other events on the rendered table viz data.
|
|
1642
|
+
* @example
|
|
1643
|
+
* ```js
|
|
1644
|
+
* searchEmbed.on(EmbedEvent.TableVizRendered, (payload) => {
|
|
1645
|
+
* console.log(payload);
|
|
1646
|
+
* const columnDataLite = payload.data.data.columnDataLite;
|
|
1647
|
+
* columnDataLite[0].dataValue[0]="new fob";
|
|
1648
|
+
* console.log('>>> new Data', columnDataLite);
|
|
1649
|
+
* searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
|
|
1650
|
+
* })
|
|
1651
|
+
* ```
|
|
1652
|
+
* @version SDK: 1.35.12 | ThoughtSpot: 10.7.0.cl
|
|
1653
|
+
*/
|
|
1654
|
+
EmbedEvent["TableVizRendered"] = "TableVizRendered";
|
|
1635
1655
|
})(exports.EmbedEvent || (exports.EmbedEvent = {}));
|
|
1636
1656
|
/**
|
|
1637
1657
|
* Event types that can be triggered by the host application
|
|
@@ -1778,7 +1798,7 @@
|
|
|
1778
1798
|
* const url = embed.trigger(HostEvent.GetIframeUrl);
|
|
1779
1799
|
* console.log("iFrameURL",url);
|
|
1780
1800
|
* ```
|
|
1781
|
-
* @version SDK: 1.35.0 |
|
|
1801
|
+
* @version SDK: 1.35.0 | ThoughtSpot: 10.4.0.cl
|
|
1782
1802
|
*/
|
|
1783
1803
|
HostEvent["GetIframeUrl"] = "GetIframeUrl";
|
|
1784
1804
|
/**
|
|
@@ -1811,6 +1831,11 @@
|
|
|
1811
1831
|
* attributes passed with this event are appended to the existing runtime
|
|
1812
1832
|
* filters applied on a Liveboard.
|
|
1813
1833
|
*
|
|
1834
|
+
* **Note**: `HostEvent.UpdateRuntimeFilters` is supported in `LiveboardEmbed`
|
|
1835
|
+
* and `AppEmbed` only. In full application embedding, this event updates
|
|
1836
|
+
* the runtime filters applied on the Liveboard and saved Answer objects.
|
|
1837
|
+
*
|
|
1838
|
+
*
|
|
1814
1839
|
* Pass an array of runtime filters with the following attributes:
|
|
1815
1840
|
*
|
|
1816
1841
|
* `columnName` - _String_. The name of the column to filter on.
|
|
@@ -1821,9 +1846,12 @@
|
|
|
1821
1846
|
* `values` - List of operands. Some operators such as EQ and LE allow a
|
|
1822
1847
|
* single value, whereas BW and IN accept multiple values.
|
|
1823
1848
|
*
|
|
1824
|
-
* **Note**:
|
|
1825
|
-
*
|
|
1826
|
-
*
|
|
1849
|
+
* **Note**: Updating runtime filters resets the ThoughtSpot
|
|
1850
|
+
* object to its original state and applies new filter conditions.
|
|
1851
|
+
* Any user changes (like drilling into a visualization)
|
|
1852
|
+
* will be cleared, restoring the original visualization
|
|
1853
|
+
* with the updated filters.
|
|
1854
|
+
*
|
|
1827
1855
|
* @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
|
|
1828
1856
|
* @example
|
|
1829
1857
|
* ```js
|
|
@@ -1838,7 +1866,7 @@
|
|
|
1838
1866
|
HostEvent["UpdateRuntimeFilters"] = "UpdateRuntimeFilters";
|
|
1839
1867
|
/**
|
|
1840
1868
|
* Navigate to a specific page in the embedded ThoughtSpot application.
|
|
1841
|
-
* This is the same as calling `appEmbed.navigateToPage(path, true)
|
|
1869
|
+
* This is the same as calling `appEmbed.navigateToPage(path, true)`.
|
|
1842
1870
|
* @param - `path` - the path to navigate to to go forward or back. The path value can
|
|
1843
1871
|
* be a number; for example, `1`, `-1`.
|
|
1844
1872
|
* @example
|
|
@@ -2034,7 +2062,7 @@
|
|
|
2034
2062
|
* @param - an object with `vizId` as a key
|
|
2035
2063
|
* @example
|
|
2036
2064
|
* ```js
|
|
2037
|
-
* liveboardEmbed.trigger(HostEvent.CreateMonitor {
|
|
2065
|
+
* liveboardEmbed.trigger(HostEvent.CreateMonitor, {
|
|
2038
2066
|
* vizId: '730496d6-6903-4601-937e-2c691821af3c'
|
|
2039
2067
|
* })
|
|
2040
2068
|
* ```
|
|
@@ -2133,7 +2161,9 @@
|
|
|
2133
2161
|
*/
|
|
2134
2162
|
HostEvent["GetTML"] = "getTML";
|
|
2135
2163
|
/**
|
|
2136
|
-
* Trigger the **Show underlying data** action on
|
|
2164
|
+
* Trigger the **Show underlying data** action on a
|
|
2165
|
+
* chart or table.
|
|
2166
|
+
*
|
|
2137
2167
|
* @param - an object with vizId as a key
|
|
2138
2168
|
* @example
|
|
2139
2169
|
* ```js
|
|
@@ -2167,8 +2197,8 @@
|
|
|
2167
2197
|
*/
|
|
2168
2198
|
HostEvent["Delete"] = "onDeleteAnswer";
|
|
2169
2199
|
/**
|
|
2170
|
-
* Trigger the **SpotIQ analyze** action on
|
|
2171
|
-
* or
|
|
2200
|
+
* Trigger the **SpotIQ analyze** action on a
|
|
2201
|
+
* chart or table.
|
|
2172
2202
|
* @param - Liveboard embed takes `vizId` as a
|
|
2173
2203
|
* key. Can be left undefined when embedding Search or
|
|
2174
2204
|
* visualization.
|
|
@@ -2441,7 +2471,7 @@
|
|
|
2441
2471
|
* '430496d6-6903-4601-937e-2c691821af3c',
|
|
2442
2472
|
* 'f547ec54-2a37-4516-a222-2b06719af726'])
|
|
2443
2473
|
* ```
|
|
2444
|
-
* @version SDK: 1.26.0 |
|
|
2474
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
2445
2475
|
*/
|
|
2446
2476
|
HostEvent["SetVisibleTabs"] = "SetPinboardVisibleTabs";
|
|
2447
2477
|
/**
|
|
@@ -2454,7 +2484,7 @@
|
|
|
2454
2484
|
* '630496d6-6903-4601-937e-2c691821af3c',
|
|
2455
2485
|
* 'i547ec54-2a37-4516-a222-2b06719af726'])
|
|
2456
2486
|
* ```
|
|
2457
|
-
* @version SDK: 1.26.0 |
|
|
2487
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
2458
2488
|
*/
|
|
2459
2489
|
HostEvent["SetHiddenTabs"] = "SetPinboardHiddenTabs";
|
|
2460
2490
|
/**
|
|
@@ -2468,7 +2498,7 @@
|
|
|
2468
2498
|
* executeSearch: true,
|
|
2469
2499
|
* })
|
|
2470
2500
|
* ```
|
|
2471
|
-
* @version SDK: 1.26.0 |
|
|
2501
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
2472
2502
|
*/
|
|
2473
2503
|
HostEvent["UpdateSageQuery"] = "updateSageQuery";
|
|
2474
2504
|
/**
|
|
@@ -2485,21 +2515,22 @@
|
|
|
2485
2515
|
* ```js
|
|
2486
2516
|
* const {session} = await embed.trigger( HostEvent.GetAnswerSession )
|
|
2487
2517
|
* ```
|
|
2488
|
-
* @version SDK: 1.26.0 |
|
|
2518
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.10.0.cl, 10.1.0.sw
|
|
2489
2519
|
*/
|
|
2490
2520
|
HostEvent["GetAnswerSession"] = "getAnswerSession";
|
|
2491
2521
|
/**
|
|
2492
|
-
* Trigger Ask Sage for
|
|
2522
|
+
* Trigger the *Ask Sage* action for visualizations
|
|
2493
2523
|
* @example
|
|
2494
2524
|
* ```js
|
|
2495
2525
|
* liveboardEmbed.trigger(HostEvent.AskSage,
|
|
2496
2526
|
* {vizId:'730496d6-6903-4601-937e-2c691821af3c'})
|
|
2497
2527
|
* ```
|
|
2498
|
-
* @version SDK: 1.29.0 |
|
|
2528
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 9.12.0.cl
|
|
2499
2529
|
*/
|
|
2500
2530
|
HostEvent["AskSage"] = "AskSage";
|
|
2501
2531
|
/**
|
|
2502
|
-
* Trigger cross filter update action on a Liveboard
|
|
2532
|
+
* Trigger cross filter update action on a Liveboard.
|
|
2533
|
+
*
|
|
2503
2534
|
* @example
|
|
2504
2535
|
* ```js
|
|
2505
2536
|
* liveboardEmbed.trigger(HostEvent.UpdateCrossFilter, {
|
|
@@ -2510,7 +2541,7 @@
|
|
|
2510
2541
|
* ],
|
|
2511
2542
|
* });
|
|
2512
2543
|
* ```
|
|
2513
|
-
* @version SDK: 1.29.0 |
|
|
2544
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 10.0.0.cl, 10.1.0.sw
|
|
2514
2545
|
*/
|
|
2515
2546
|
HostEvent["UpdateCrossFilter"] = "UpdateCrossFilter";
|
|
2516
2547
|
/**
|
|
@@ -2519,11 +2550,13 @@
|
|
|
2519
2550
|
* ```js
|
|
2520
2551
|
* liveboardEmbed.trigger(HostEvent.ResetLiveboardPersonalisedView);
|
|
2521
2552
|
* ```
|
|
2522
|
-
* @version SDK: 1.29.0 |
|
|
2553
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 10.1.0.cl, 10.1.0.sw
|
|
2523
2554
|
*/
|
|
2524
2555
|
HostEvent["ResetLiveboardPersonalisedView"] = "ResetLiveboardPersonalisedView";
|
|
2525
2556
|
/**
|
|
2526
|
-
* Triggers an
|
|
2557
|
+
* Triggers an action to update Parameter values on embedded
|
|
2558
|
+
* Answers and Liveboard.
|
|
2559
|
+
*
|
|
2527
2560
|
* @example
|
|
2528
2561
|
* ```js
|
|
2529
2562
|
* liveboardEmbed.trigger(HostEvent.UpdateParameters, [{
|
|
@@ -2531,30 +2564,30 @@
|
|
|
2531
2564
|
* value: "almond"
|
|
2532
2565
|
* }])
|
|
2533
2566
|
*
|
|
2534
|
-
* @version SDK: 1.29.0 |
|
|
2567
|
+
* @version SDK: 1.29.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
2535
2568
|
*/
|
|
2536
2569
|
HostEvent["UpdateParameters"] = "UpdateParameters";
|
|
2537
2570
|
/**
|
|
2538
|
-
* Triggers GetParameters to fetch the runtime
|
|
2571
|
+
* Triggers GetParameters to fetch the runtime Parameters.
|
|
2539
2572
|
* ```js
|
|
2540
2573
|
* liveboardEmbed.trigger(HostEvent.GetParameters).then((parameter) => {
|
|
2541
2574
|
* console.log('parameters', parameter);
|
|
2542
2575
|
* });
|
|
2543
2576
|
*```
|
|
2544
|
-
* @version SDK: 1.29.0 |
|
|
2577
|
+
* @version SDK: 1.29.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
2545
2578
|
*/
|
|
2546
2579
|
HostEvent["GetParameters"] = "GetParameters";
|
|
2547
2580
|
/**
|
|
2548
|
-
* Triggers an event to update a
|
|
2581
|
+
* Triggers an event to update a personalized view of a Liveboard.
|
|
2549
2582
|
* ```js
|
|
2550
2583
|
* liveboardEmbed.trigger(HostEvent.UpdatePersonalisedView, {viewId: '1234'})
|
|
2551
2584
|
* ```
|
|
2552
|
-
* @version SDK: 1.36.0 |
|
|
2585
|
+
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
|
|
2553
2586
|
*/
|
|
2554
2587
|
HostEvent["UpdatePersonalisedView"] = "UpdatePersonalisedView";
|
|
2555
2588
|
/**
|
|
2556
|
-
* Triggers the action to get the current view of the
|
|
2557
|
-
* @version SDK: 1.36.0 |
|
|
2589
|
+
* Triggers the action to get the current view of the Liveboard.
|
|
2590
|
+
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
|
|
2558
2591
|
*/
|
|
2559
2592
|
HostEvent["SaveAnswer"] = "saveAnswer";
|
|
2560
2593
|
/**
|
|
@@ -2562,6 +2595,25 @@
|
|
|
2562
2595
|
* @hidden
|
|
2563
2596
|
*/
|
|
2564
2597
|
HostEvent["UIPassthrough"] = "UiPassthrough";
|
|
2598
|
+
/**
|
|
2599
|
+
* Triggers the table viz rerender with the updated data.
|
|
2600
|
+
* Includes the following properties:
|
|
2601
|
+
* @param - columnDataLite - an array of object containing data
|
|
2602
|
+
* transformed from data picked from TableVizRendered event.
|
|
2603
|
+
* For example, { columnDataLite: []}
|
|
2604
|
+
* @example
|
|
2605
|
+
* ```js
|
|
2606
|
+
* searchEmbed.on(EmbedEvent.TableVizRendered, (payload) => {
|
|
2607
|
+
* console.log(payload);
|
|
2608
|
+
* const columnDataLite = payload.data.data.columnDataLite;
|
|
2609
|
+
* columnDataLite[0].dataValue[0]="new fob";
|
|
2610
|
+
* console.log('>>> new Data', columnDataLite);
|
|
2611
|
+
* searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
|
|
2612
|
+
* })
|
|
2613
|
+
* ```
|
|
2614
|
+
* @version SDK: 1.35.12 | ThoughtSpot: 10.7.0.cl
|
|
2615
|
+
*/
|
|
2616
|
+
HostEvent["TransformTableVizData"] = "TransformTableVizData";
|
|
2565
2617
|
})(exports.HostEvent || (exports.HostEvent = {}));
|
|
2566
2618
|
/**
|
|
2567
2619
|
* The different visual modes that the data sources panel within
|
|
@@ -2628,7 +2680,12 @@
|
|
|
2628
2680
|
Param["AuthType"] = "authType";
|
|
2629
2681
|
Param["IconSpriteUrl"] = "iconSprite";
|
|
2630
2682
|
Param["cookieless"] = "cookieless";
|
|
2631
|
-
|
|
2683
|
+
// Deprecated: `isContextMenuEnabledOnLeftClick`
|
|
2684
|
+
// Introduced: `contextMenuEnabledOnWhichClick` with values: 'left',
|
|
2685
|
+
// 'right', or 'both'. This update only affects ThoughtSpot URL parameters
|
|
2686
|
+
// and does not impact existing workflows or use cases. Added support for
|
|
2687
|
+
// 'both' clicks in `contextMenuTrigger` configuration.
|
|
2688
|
+
Param["ContextMenuTrigger"] = "contextMenuEnabledOnWhichClick";
|
|
2632
2689
|
Param["LinkOverride"] = "linkOverride";
|
|
2633
2690
|
Param["blockNonEmbedFullAppAccess"] = "blockNonEmbedFullAppAccess";
|
|
2634
2691
|
Param["ShowInsertToSlide"] = "insertInToSlide";
|
|
@@ -2781,7 +2838,8 @@
|
|
|
2781
2838
|
Action["ResetLayout"] = "resetLayout";
|
|
2782
2839
|
/**
|
|
2783
2840
|
* The **Schedule** menu action on a Liveboard.
|
|
2784
|
-
* Allows scheduling a Liveboard
|
|
2841
|
+
* Allows scheduling a Liveboard job, for example,
|
|
2842
|
+
* sending periodic notifications.
|
|
2785
2843
|
* @example
|
|
2786
2844
|
* ```js
|
|
2787
2845
|
* disabledActions: [Action.Schedule]
|
|
@@ -2823,7 +2881,7 @@
|
|
|
2823
2881
|
* ```js
|
|
2824
2882
|
* disabledActions: [Action.AddDataPanelObjects]
|
|
2825
2883
|
* ```
|
|
2826
|
-
* @version SDK: 1.32.0 |
|
|
2884
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl, 10.1.0.sw
|
|
2827
2885
|
*/
|
|
2828
2886
|
Action["AddDataPanelObjects"] = "addDataPanelObjects";
|
|
2829
2887
|
/**
|
|
@@ -2836,7 +2894,28 @@
|
|
|
2836
2894
|
* ```
|
|
2837
2895
|
*/
|
|
2838
2896
|
Action["ConfigureFilter"] = "configureFilter";
|
|
2897
|
+
/**
|
|
2898
|
+
* The **Collapse data sources** icon on the Search page.
|
|
2899
|
+
* Collapses the panel showing data sources.
|
|
2900
|
+
*
|
|
2901
|
+
* @example
|
|
2902
|
+
* ```js
|
|
2903
|
+
* disabledActions: [Action.CollapseDataPanel]
|
|
2904
|
+
* ```
|
|
2905
|
+
* @version: SDK: 1.1.0 | ThoughtSpot Cloud: ts7.may.cl, 8.4.1.sw
|
|
2906
|
+
*/
|
|
2839
2907
|
Action["CollapseDataSources"] = "collapseDataSources";
|
|
2908
|
+
/**
|
|
2909
|
+
* The **Collapse data panel** icon on the Search page.
|
|
2910
|
+
* Collapses the data panel view.
|
|
2911
|
+
*
|
|
2912
|
+
* @version: SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl, 10.7.0.sw
|
|
2913
|
+
*
|
|
2914
|
+
* @example
|
|
2915
|
+
* ```js
|
|
2916
|
+
* disabledActions: [Action.CollapseDataPanel]
|
|
2917
|
+
* ```
|
|
2918
|
+
*/
|
|
2840
2919
|
Action["CollapseDataPanel"] = "collapseDataPanel";
|
|
2841
2920
|
/**
|
|
2842
2921
|
* The **Choose sources** button on Search page.
|
|
@@ -2872,7 +2951,7 @@
|
|
|
2872
2951
|
* ```js
|
|
2873
2952
|
* disabledActions: [Action.AddColumnSet]
|
|
2874
2953
|
* ```
|
|
2875
|
-
* @version SDK: 1.32.0 |
|
|
2954
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl, 10.1.0.sw
|
|
2876
2955
|
*/
|
|
2877
2956
|
Action["AddColumnSet"] = "addSimpleCohort";
|
|
2878
2957
|
/**
|
|
@@ -2882,7 +2961,7 @@
|
|
|
2882
2961
|
* ```js
|
|
2883
2962
|
* disabledActions: [Action.AddQuerySet]
|
|
2884
2963
|
* ```
|
|
2885
|
-
* @version SDK: 1.32.0 |
|
|
2964
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl, 10.1.0.sw
|
|
2886
2965
|
*/
|
|
2887
2966
|
Action["AddQuerySet"] = "addAdvancedCohort";
|
|
2888
2967
|
/**
|
|
@@ -2914,6 +2993,8 @@
|
|
|
2914
2993
|
/**
|
|
2915
2994
|
* The **Show underlying data** menu action on a visualization or
|
|
2916
2995
|
* Answer page.
|
|
2996
|
+
* Displays detailed information and raw data
|
|
2997
|
+
* for a given visualization.
|
|
2917
2998
|
* @example
|
|
2918
2999
|
* ```js
|
|
2919
3000
|
* disabledActions: [Action.ShowUnderlyingData]
|
|
@@ -3115,6 +3196,7 @@
|
|
|
3115
3196
|
Action["AnalysisInfo"] = "analysisInfo";
|
|
3116
3197
|
/**
|
|
3117
3198
|
* The **Schedule** menu action on a Liveboard.
|
|
3199
|
+
* Allows scheduling a Liveboard job.
|
|
3118
3200
|
* @example
|
|
3119
3201
|
* ```js
|
|
3120
3202
|
* disabledActions: [Action.Subscription]
|
|
@@ -3184,8 +3266,13 @@
|
|
|
3184
3266
|
*/
|
|
3185
3267
|
Action["RequestAccess"] = "requestAccess";
|
|
3186
3268
|
/**
|
|
3187
|
-
* The **Query visualizer** and **Query SQL** buttons in
|
|
3188
|
-
* of the Answer page
|
|
3269
|
+
* The **Query visualizer** and **Query SQL** buttons in
|
|
3270
|
+
* Query details panel of the Answer page.
|
|
3271
|
+
*
|
|
3272
|
+
* **Query visualizer** - Displays the tables
|
|
3273
|
+
* and filters used in a search query.
|
|
3274
|
+
* **Query SQL** - Displays the SQL statements used
|
|
3275
|
+
* in a search query to fetch data.
|
|
3189
3276
|
* @example
|
|
3190
3277
|
* ```js
|
|
3191
3278
|
* disabledActions: [Action.QueryDetailsButtons]
|
|
@@ -3203,7 +3290,10 @@
|
|
|
3203
3290
|
*/
|
|
3204
3291
|
Action["AnswerDelete"] = "onDeleteAnswer";
|
|
3205
3292
|
/**
|
|
3206
|
-
* The
|
|
3293
|
+
* The chart switcher icon on Answer page and
|
|
3294
|
+
* visualizations in edit mode.
|
|
3295
|
+
* Allows switching to the table or chart mode
|
|
3296
|
+
* when editing a visualization.
|
|
3207
3297
|
* @example
|
|
3208
3298
|
* ```js
|
|
3209
3299
|
* disabledActions: [Action.AnswerChartSwitcher]
|
|
@@ -3212,7 +3302,10 @@
|
|
|
3212
3302
|
*/
|
|
3213
3303
|
Action["AnswerChartSwitcher"] = "answerChartSwitcher";
|
|
3214
3304
|
/**
|
|
3215
|
-
* Favorites icon (*)
|
|
3305
|
+
* The Favorites icon (*) for Answers,
|
|
3306
|
+
* Liveboard, and data objects like Worksheet, Model,
|
|
3307
|
+
* Tables and Views.
|
|
3308
|
+
* Allows adding an object to the user’s favorites list.
|
|
3216
3309
|
* @example
|
|
3217
3310
|
* ```js
|
|
3218
3311
|
* disabledActions: [Action.AddToFavorites]
|
|
@@ -3230,7 +3323,9 @@
|
|
|
3230
3323
|
*/
|
|
3231
3324
|
Action["EditDetails"] = "editDetails";
|
|
3232
3325
|
/**
|
|
3233
|
-
* The Create alert action
|
|
3326
|
+
* The *Create alert* action for KPI charts.
|
|
3327
|
+
* Allows users to schedule threshold-based alerts
|
|
3328
|
+
* for KPI charts.
|
|
3234
3329
|
* @example
|
|
3235
3330
|
* ```js
|
|
3236
3331
|
* disabledActions: [Action.CreateMonitor]
|
|
@@ -3286,7 +3381,7 @@
|
|
|
3286
3381
|
* ```js
|
|
3287
3382
|
* disabledActions: [Action.CrossFilter]
|
|
3288
3383
|
* ```
|
|
3289
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3384
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.8.0.sw
|
|
3290
3385
|
*/
|
|
3291
3386
|
Action["CrossFilter"] = "context-menu-item-cross-filter";
|
|
3292
3387
|
/**
|
|
@@ -3296,7 +3391,7 @@
|
|
|
3296
3391
|
* ```js
|
|
3297
3392
|
* disabledActions: [Action.SyncToSlack]
|
|
3298
3393
|
* ```
|
|
3299
|
-
* @version @version SDK : 1.32.0 |
|
|
3394
|
+
* @version @version SDK : 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
|
|
3300
3395
|
*/
|
|
3301
3396
|
Action["SyncToSlack"] = "syncToSlack";
|
|
3302
3397
|
/**
|
|
@@ -3306,7 +3401,7 @@
|
|
|
3306
3401
|
* ```js
|
|
3307
3402
|
* disabledActions: [Action.SyncToTeams]
|
|
3308
3403
|
* ```
|
|
3309
|
-
* @version @version SDK : 1.32.0 |
|
|
3404
|
+
* @version @version SDK : 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
|
|
3310
3405
|
*/
|
|
3311
3406
|
Action["SyncToTeams"] = "syncToTeams";
|
|
3312
3407
|
/**
|
|
@@ -3317,7 +3412,7 @@
|
|
|
3317
3412
|
* ```js
|
|
3318
3413
|
* disabledActions: [Action.RemoveCrossFilter]
|
|
3319
3414
|
* ```
|
|
3320
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3415
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3321
3416
|
*/
|
|
3322
3417
|
Action["RemoveCrossFilter"] = "context-menu-item-remove-cross-filter";
|
|
3323
3418
|
/**
|
|
@@ -3328,7 +3423,7 @@
|
|
|
3328
3423
|
* ```js
|
|
3329
3424
|
* disabledActions: [Action.AxisMenuAggregate]
|
|
3330
3425
|
* ```
|
|
3331
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3426
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3332
3427
|
*/
|
|
3333
3428
|
Action["AxisMenuAggregate"] = "axisMenuAggregate";
|
|
3334
3429
|
/**
|
|
@@ -3339,17 +3434,19 @@
|
|
|
3339
3434
|
* ```js
|
|
3340
3435
|
* disabledActions: [Action.AxisMenuTimeBucket]
|
|
3341
3436
|
* ```
|
|
3342
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3437
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3343
3438
|
*/
|
|
3344
3439
|
Action["AxisMenuTimeBucket"] = "axisMenuTimeBucket";
|
|
3345
3440
|
/**
|
|
3346
3441
|
* The **Filter** action in the chart axis or table column
|
|
3347
3442
|
* customization menu.
|
|
3443
|
+
* Allows adding, editing, or removing filters.
|
|
3444
|
+
*
|
|
3348
3445
|
* @example
|
|
3349
3446
|
* ```js
|
|
3350
3447
|
* disabledActions: [Action.AxisMenuFilter]
|
|
3351
3448
|
* ```
|
|
3352
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3449
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3353
3450
|
*/
|
|
3354
3451
|
Action["AxisMenuFilter"] = "axisMenuFilter";
|
|
3355
3452
|
/**
|
|
@@ -3360,7 +3457,7 @@
|
|
|
3360
3457
|
* ```js
|
|
3361
3458
|
* disabledActions: [Action.AxisMenuConditionalFormat]
|
|
3362
3459
|
* ```
|
|
3363
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3460
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3364
3461
|
*/
|
|
3365
3462
|
Action["AxisMenuConditionalFormat"] = "axisMenuConditionalFormat";
|
|
3366
3463
|
/**
|
|
@@ -3371,7 +3468,7 @@
|
|
|
3371
3468
|
* ```js
|
|
3372
3469
|
* disabledActions: [Action.AxisMenuConditionalFormat]
|
|
3373
3470
|
* ```
|
|
3374
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3471
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3375
3472
|
*/
|
|
3376
3473
|
Action["AxisMenuSort"] = "axisMenuSort";
|
|
3377
3474
|
/**
|
|
@@ -3383,7 +3480,7 @@
|
|
|
3383
3480
|
* ```js
|
|
3384
3481
|
* disabledActions: [Action.AxisMenuGroup]
|
|
3385
3482
|
* ```
|
|
3386
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3483
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3387
3484
|
*/
|
|
3388
3485
|
Action["AxisMenuGroup"] = "axisMenuGroup";
|
|
3389
3486
|
/**
|
|
@@ -3394,7 +3491,7 @@
|
|
|
3394
3491
|
* ```js
|
|
3395
3492
|
* disabledActions: [Action.AxisMenuPosition]
|
|
3396
3493
|
* ```
|
|
3397
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3494
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3398
3495
|
*/
|
|
3399
3496
|
Action["AxisMenuPosition"] = "axisMenuPosition";
|
|
3400
3497
|
/**
|
|
@@ -3404,7 +3501,7 @@
|
|
|
3404
3501
|
* ```js
|
|
3405
3502
|
* disabledActions: [Action.AxisMenuRename]
|
|
3406
3503
|
* ```
|
|
3407
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3504
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3408
3505
|
*/
|
|
3409
3506
|
Action["AxisMenuRename"] = "axisMenuRename";
|
|
3410
3507
|
/**
|
|
@@ -3415,7 +3512,7 @@
|
|
|
3415
3512
|
* ```js
|
|
3416
3513
|
* disabledActions: [Action.AxisMenuEdit]
|
|
3417
3514
|
* ```
|
|
3418
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3515
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3419
3516
|
*/
|
|
3420
3517
|
Action["AxisMenuEdit"] = "axisMenuEdit";
|
|
3421
3518
|
/**
|
|
@@ -3425,7 +3522,7 @@
|
|
|
3425
3522
|
* ```js
|
|
3426
3523
|
* disabledActions: [Action.AxisMenuNumberFormat]
|
|
3427
3524
|
* ```
|
|
3428
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3525
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3429
3526
|
*/
|
|
3430
3527
|
Action["AxisMenuNumberFormat"] = "axisMenuNumberFormat";
|
|
3431
3528
|
/**
|
|
@@ -3435,7 +3532,7 @@
|
|
|
3435
3532
|
* ```js
|
|
3436
3533
|
* disabledActions: [Action.AxisMenuTextWrapping]
|
|
3437
3534
|
* ```
|
|
3438
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3535
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3439
3536
|
*/
|
|
3440
3537
|
Action["AxisMenuTextWrapping"] = "axisMenuTextWrapping";
|
|
3441
3538
|
/**
|
|
@@ -3447,7 +3544,7 @@
|
|
|
3447
3544
|
* ```js
|
|
3448
3545
|
* disabledActions: [Action.AxisMenuRemove]
|
|
3449
3546
|
* ```
|
|
3450
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3547
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3451
3548
|
*/
|
|
3452
3549
|
Action["AxisMenuRemove"] = "axisMenuRemove";
|
|
3453
3550
|
/**
|
|
@@ -3461,26 +3558,27 @@
|
|
|
3461
3558
|
* ```js
|
|
3462
3559
|
* disabledActions: [Action.RenameModalTitleDescription]
|
|
3463
3560
|
* ```
|
|
3464
|
-
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
|
|
3561
|
+
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl, 9.8.0.sw
|
|
3465
3562
|
*/
|
|
3466
3563
|
Action["RenameModalTitleDescription"] = "renameModalTitleDescription";
|
|
3467
3564
|
/**
|
|
3468
|
-
*
|
|
3565
|
+
* The *Request verification* action on a Liveboard.
|
|
3566
|
+
* Initiates a request for Liveboard verification.
|
|
3469
3567
|
* @example
|
|
3470
3568
|
* ```js
|
|
3471
3569
|
* disabledActions: [Action.RequestVerification]
|
|
3472
3570
|
* ```
|
|
3473
|
-
* @version SDK: 1.25.0 |
|
|
3571
|
+
* @version SDK: 1.25.0 | ThoughtSpot: 9.6.0.cl, 10.1.0.sw
|
|
3474
3572
|
*/
|
|
3475
3573
|
Action["RequestVerification"] = "requestVerification";
|
|
3476
3574
|
/**
|
|
3477
3575
|
*
|
|
3478
|
-
*Allows users to mark a Liveboard as verified.
|
|
3576
|
+
* Allows users to mark a Liveboard as verified.
|
|
3479
3577
|
* @example
|
|
3480
3578
|
* ```js
|
|
3481
3579
|
* disabledActions: [Action.MarkAsVerified]
|
|
3482
3580
|
* ```
|
|
3483
|
-
* @version SDK: 1.25.0 |
|
|
3581
|
+
* @version SDK: 1.25.0 | ThoughtSpot: 9.6.0.cl, 10.1.0.sw
|
|
3484
3582
|
*/
|
|
3485
3583
|
Action["MarkAsVerified"] = "markAsVerified";
|
|
3486
3584
|
/**
|
|
@@ -3490,7 +3588,7 @@
|
|
|
3490
3588
|
* ```js
|
|
3491
3589
|
* disabledActions: [Action.AddTab]
|
|
3492
3590
|
* ```
|
|
3493
|
-
* @version SDK: 1.26.0 |
|
|
3591
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
3494
3592
|
*/
|
|
3495
3593
|
Action["AddTab"] = "addTab";
|
|
3496
3594
|
/**
|
|
@@ -3500,35 +3598,42 @@
|
|
|
3500
3598
|
* ```js
|
|
3501
3599
|
* disabledActions: [Action.EnableContextualChangeAnalysis]
|
|
3502
3600
|
* ```
|
|
3503
|
-
* @version SDK: 1.25.0 |
|
|
3601
|
+
* @version SDK: 1.25.0 | ThoughtSpot Cloud: 9.6.0.cl
|
|
3504
3602
|
*/
|
|
3505
3603
|
Action["EnableContextualChangeAnalysis"] = "enableContextualChangeAnalysis";
|
|
3506
3604
|
/**
|
|
3605
|
+
* Action ID to hide or disable Natural Language Search query.
|
|
3507
3606
|
*
|
|
3508
3607
|
* @example
|
|
3509
3608
|
* ```js
|
|
3510
3609
|
* disabledActions: [Action.ShowSageQuery]
|
|
3511
3610
|
* ```
|
|
3512
|
-
* @version SDK: 1.26.0 |
|
|
3611
|
+
* @version SDK: 1.26.0 | ThoughtSpot Cloud: 9.7.0.cl
|
|
3513
3612
|
*/
|
|
3514
3613
|
Action["ShowSageQuery"] = "showSageQuery";
|
|
3515
3614
|
/**
|
|
3615
|
+
*
|
|
3616
|
+
* Action ID to hide or disable the edit option for the
|
|
3617
|
+
* results generated from the
|
|
3618
|
+
* Natural Language Search query.
|
|
3516
3619
|
*
|
|
3517
3620
|
* @example
|
|
3518
3621
|
* ```js
|
|
3519
3622
|
* disabledActions: [Action.EditSageAnswer]
|
|
3520
3623
|
* ```
|
|
3521
|
-
* @version SDK: 1.26.0 |
|
|
3624
|
+
* @version SDK: 1.26.0 | ThoughtSpot Cloud: 9.7.0.cl
|
|
3522
3625
|
*/
|
|
3523
3626
|
Action["EditSageAnswer"] = "editSageAnswer";
|
|
3524
3627
|
/**
|
|
3628
|
+
* The feedback widget for AI-generated Answers.
|
|
3629
|
+
* Allows users to send feedback on the Answers generated
|
|
3630
|
+
* from a Natural Language Search query.
|
|
3525
3631
|
*
|
|
3526
|
-
*This action allows users to send feedback on AI-generated Answers.
|
|
3527
3632
|
* @example
|
|
3528
3633
|
* ```js
|
|
3529
3634
|
* disabledActions: [Action.SageAnswerFeedback]
|
|
3530
3635
|
* ```
|
|
3531
|
-
* @version SDK: 1.26.0 |
|
|
3636
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl
|
|
3532
3637
|
*/
|
|
3533
3638
|
Action["SageAnswerFeedback"] = "sageAnswerFeedback";
|
|
3534
3639
|
/**
|
|
@@ -3537,7 +3642,7 @@
|
|
|
3537
3642
|
* ```js
|
|
3538
3643
|
* disabledActions: [Action.ModifySageAnswer]
|
|
3539
3644
|
* ```
|
|
3540
|
-
* @version SDK: 1.26.0 |
|
|
3645
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl
|
|
3541
3646
|
*/
|
|
3542
3647
|
Action["ModifySageAnswer"] = "modifySageAnswer";
|
|
3543
3648
|
/**
|
|
@@ -3550,7 +3655,10 @@
|
|
|
3550
3655
|
*/
|
|
3551
3656
|
Action["MoveToTab"] = "onContainerMove";
|
|
3552
3657
|
/**
|
|
3553
|
-
* The **Manage
|
|
3658
|
+
* The **Manage Alerts** menu action on KPI visualizations.
|
|
3659
|
+
* Allows creating, viewing, and editing monitor
|
|
3660
|
+
* alerts for a KPI chart.
|
|
3661
|
+
*
|
|
3554
3662
|
* @example
|
|
3555
3663
|
* ```js
|
|
3556
3664
|
* disabledActions: [Action.ManageMonitor]
|
|
@@ -3558,21 +3666,23 @@
|
|
|
3558
3666
|
*/
|
|
3559
3667
|
Action["ManageMonitor"] = "manageMonitor";
|
|
3560
3668
|
/**
|
|
3561
|
-
*
|
|
3669
|
+
* The Liveboard Personalised Views dropdown.
|
|
3670
|
+
* Allows navigating to a personalized Liveboard View.
|
|
3562
3671
|
* @example
|
|
3563
3672
|
* ```js
|
|
3564
3673
|
* disabledActions: [Action.PersonalisedViewsDropdown]
|
|
3565
3674
|
* ```
|
|
3566
|
-
* @version SDK : 1.26.0 |
|
|
3675
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 10.1.0.sw
|
|
3567
3676
|
*/
|
|
3568
3677
|
Action["PersonalisedViewsDropdown"] = "personalisedViewsDropdown";
|
|
3569
3678
|
/**
|
|
3570
|
-
* Action ID for
|
|
3679
|
+
* Action ID for show or hide the user details on a
|
|
3680
|
+
* Liveboard (Recently visited / social proof)
|
|
3571
3681
|
* @example
|
|
3572
3682
|
* ```js
|
|
3573
3683
|
* disabledActions: [Action.LiveboardUsers]
|
|
3574
3684
|
* ```
|
|
3575
|
-
* @version SDK : 1.26.0 |
|
|
3685
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 10.1.0.sw
|
|
3576
3686
|
*/
|
|
3577
3687
|
Action["LiveboardUsers"] = "liveboardUsers";
|
|
3578
3688
|
/**
|
|
@@ -3590,108 +3700,124 @@
|
|
|
3590
3700
|
* hiddenAction: [Action.TML] // hide all TML actions
|
|
3591
3701
|
* disabledActions: [Action.TML] // to disable all TML actions
|
|
3592
3702
|
* ```
|
|
3593
|
-
* @version SDK : 1.28.3 |
|
|
3703
|
+
* @version SDK : 1.28.3 | ThoughtSpot: 9.12.0.cl, 10.1.0.sw
|
|
3594
3704
|
*/
|
|
3595
3705
|
Action["TML"] = "tml";
|
|
3596
3706
|
/**
|
|
3597
|
-
*
|
|
3598
|
-
* and Pin modal
|
|
3707
|
+
* The **Create Liveboard* action on
|
|
3708
|
+
* the Liveboards page and the Pin modal.
|
|
3709
|
+
* Allows users to create a Liveboard.
|
|
3710
|
+
*
|
|
3599
3711
|
* @example
|
|
3600
3712
|
* ```js
|
|
3601
3713
|
* hiddenAction: [Action.CreateLiveboard]
|
|
3602
3714
|
* disabledActions: [Action.CreateLiveboard]
|
|
3603
3715
|
* ```
|
|
3604
|
-
* @version SDK: 1.32.0 |
|
|
3716
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
3605
3717
|
*/
|
|
3606
3718
|
Action["CreateLiveboard"] = "createLiveboard";
|
|
3607
3719
|
/**
|
|
3608
|
-
* Action ID for to hide
|
|
3720
|
+
* Action ID for to hide or disable the
|
|
3721
|
+
* Verified Liveboard banner.
|
|
3609
3722
|
* @example
|
|
3610
3723
|
* ```js
|
|
3611
3724
|
* hiddenAction: [Action.VerifiedLiveboard]
|
|
3612
3725
|
* ```
|
|
3613
|
-
* @version SDK: 1.29.0 |
|
|
3726
|
+
* @version SDK: 1.29.0 | ThoughtSpot: 9.10.0.cl, 10.1.0.sw
|
|
3614
3727
|
*/
|
|
3615
3728
|
Action["VerifiedLiveboard"] = "verifiedLiveboard";
|
|
3616
3729
|
/**
|
|
3617
|
-
*
|
|
3730
|
+
* The *Ask Sage* action for Answers and visualizations.
|
|
3731
|
+
* Allows initiating a Natural Language Search query.
|
|
3732
|
+
*
|
|
3618
3733
|
* @example
|
|
3619
3734
|
* ```js
|
|
3620
3735
|
* hiddenAction: [Action.AskAi]
|
|
3621
3736
|
* ```
|
|
3622
|
-
* @version SDK: 1.29.0 |
|
|
3737
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 9.12.0.cl
|
|
3623
3738
|
*/
|
|
3624
3739
|
Action["AskAi"] = "AskAi";
|
|
3625
3740
|
/**
|
|
3626
3741
|
* The **Add KPI to Watchlist** action on Home page watchlist.
|
|
3742
|
+
* Adds a KPI chart to the watchlist on the Home page.
|
|
3627
3743
|
* @example
|
|
3628
3744
|
* ```js
|
|
3629
3745
|
* disabledActions: [Action.AddToWatchlist]
|
|
3630
3746
|
* ```
|
|
3631
|
-
* @version SDK : 1.27.9 |
|
|
3747
|
+
* @version SDK : 1.27.9 | ThoughtSpot Cloud: 9.12.5.cl
|
|
3632
3748
|
*/
|
|
3633
3749
|
Action["AddToWatchlist"] = "addToWatchlist";
|
|
3634
3750
|
/**
|
|
3635
3751
|
* The **Remove from watchlist** menu action on KPI watchlist.
|
|
3752
|
+
* Removes a KPI chart from the watchlist on the Home page.
|
|
3636
3753
|
* @example
|
|
3637
3754
|
* ```js
|
|
3638
3755
|
* disabledActions: [Action.RemoveFromWatchlist]
|
|
3639
3756
|
* ```
|
|
3640
|
-
* @version SDK : 1.27.9 |
|
|
3757
|
+
* @version SDK : 1.27.9 | ThoughtSpot: 9.12.5.cl
|
|
3641
3758
|
*/
|
|
3642
3759
|
Action["RemoveFromWatchlist"] = "removeFromWatchlist";
|
|
3643
3760
|
/**
|
|
3644
|
-
* The **
|
|
3761
|
+
* The **Organize Favourites** action on Homepage
|
|
3762
|
+
* *Favorites* module.
|
|
3763
|
+
*
|
|
3645
3764
|
* @example
|
|
3646
3765
|
* ```js
|
|
3647
3766
|
* disabledActions: [Action.OrganiseFavourites]
|
|
3648
3767
|
* ```
|
|
3649
|
-
* @version SDK : 1.32.0 |
|
|
3768
|
+
* @version SDK : 1.32.0 | ThoughtSpot: 10.0.0.cl
|
|
3650
3769
|
*/
|
|
3651
3770
|
Action["OrganiseFavourites"] = "organiseFavourites";
|
|
3652
3771
|
/**
|
|
3653
|
-
*
|
|
3772
|
+
* The **AI Highlights** action on a Liveboard.
|
|
3773
|
+
*
|
|
3654
3774
|
* @example
|
|
3655
3775
|
* ```js
|
|
3656
3776
|
* hiddenAction: [Action.AIHighlights]
|
|
3657
3777
|
* ```
|
|
3658
|
-
* @version SDK: 1.27.10 |
|
|
3778
|
+
* @version SDK: 1.27.10 | ThoughtSpot Cloud: 9.12.5.cl
|
|
3659
3779
|
*/
|
|
3660
3780
|
Action["AIHighlights"] = "AIHighlights";
|
|
3661
3781
|
/**
|
|
3662
|
-
*
|
|
3782
|
+
* The *Edit* action on the *Liveboard Schedules* page
|
|
3783
|
+
* (new Homepage experience).
|
|
3784
|
+
* Allows editing Liveboard schedules.
|
|
3785
|
+
*
|
|
3663
3786
|
* @example
|
|
3664
3787
|
* ```js
|
|
3665
3788
|
* disabledActions: [Action.EditScheduleHomepage]
|
|
3666
3789
|
* ```
|
|
3667
|
-
* @version SDK: 1.34.0 |
|
|
3790
|
+
* @version SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3668
3791
|
*/
|
|
3669
3792
|
Action["EditScheduleHomepage"] = "editScheduleHomepage";
|
|
3670
3793
|
/**
|
|
3671
|
-
*
|
|
3794
|
+
* The *Pause* action on the *Liveboard Schedules* page
|
|
3795
|
+
* Pauses a scheduled Liveboard job.
|
|
3672
3796
|
* @example
|
|
3673
3797
|
* ```js
|
|
3674
3798
|
* disabledActions: [Action.PauseScheduleHomepage]
|
|
3675
3799
|
* ```
|
|
3676
|
-
* @version SDK: 1.34.0 |
|
|
3800
|
+
* @version SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3677
3801
|
*/
|
|
3678
3802
|
Action["PauseScheduleHomepage"] = "pauseScheduleHomepage";
|
|
3679
3803
|
/**
|
|
3680
|
-
*
|
|
3804
|
+
* The **View run history** action **Liveboard Schedules** page.
|
|
3805
|
+
* Allows viewing schedule run history.
|
|
3681
3806
|
* @example
|
|
3682
3807
|
* ```js
|
|
3683
3808
|
* disabledActions: [Action.ViewScheduleRunHomepage]
|
|
3684
3809
|
* ```
|
|
3685
|
-
* @version SDK: 1.34.0 |
|
|
3810
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
|
|
3686
3811
|
*/
|
|
3687
3812
|
Action["ViewScheduleRunHomepage"] = "viewScheduleRunHomepage";
|
|
3688
3813
|
/**
|
|
3689
|
-
* Action ID
|
|
3814
|
+
* Action ID to hide or disable the
|
|
3815
|
+
* unsubscribe option for Liveboard schedules.
|
|
3690
3816
|
* @example
|
|
3691
3817
|
* ```js
|
|
3692
3818
|
* disabledActions: [Action.UnsubscribeScheduleHomepage]
|
|
3693
3819
|
* ```
|
|
3694
|
-
* @version SDK: 1.34.0 |
|
|
3820
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
|
|
3695
3821
|
*/
|
|
3696
3822
|
Action["UnsubscribeScheduleHomepage"] = "unsubscribeScheduleHomepage";
|
|
3697
3823
|
/**
|
|
@@ -3700,16 +3826,17 @@
|
|
|
3700
3826
|
* ```js
|
|
3701
3827
|
* disabledActions: [Action.ManageTags]
|
|
3702
3828
|
* ```
|
|
3703
|
-
* @version SDK : 1.34.0 |
|
|
3829
|
+
* @version SDK : 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3704
3830
|
*/
|
|
3705
3831
|
Action["ManageTags"] = "manageTags";
|
|
3706
3832
|
/**
|
|
3707
|
-
*
|
|
3833
|
+
* The **Delete** action on the **Liveboard Schedules* page.
|
|
3834
|
+
* Deletes a Liveboard schedule.
|
|
3708
3835
|
* @example
|
|
3709
3836
|
* ```js
|
|
3710
3837
|
* disabledActions: [Action.DeleteScheduleHomepage]
|
|
3711
3838
|
* ```
|
|
3712
|
-
* @version SDK: 1.34.0 |
|
|
3839
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
|
|
3713
3840
|
*/
|
|
3714
3841
|
Action["DeleteScheduleHomepage"] = "deleteScheduleHomepage";
|
|
3715
3842
|
/**
|
|
@@ -3718,7 +3845,7 @@
|
|
|
3718
3845
|
* ```js
|
|
3719
3846
|
* disabledActions: [Action.KPIAnalysisCTA]
|
|
3720
3847
|
* ```
|
|
3721
|
-
* @version SDK: 1.34.0 |
|
|
3848
|
+
* @version SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3722
3849
|
*/
|
|
3723
3850
|
Action["KPIAnalysisCTA"] = "kpiAnalysisCTA";
|
|
3724
3851
|
/**
|
|
@@ -3727,61 +3854,73 @@
|
|
|
3727
3854
|
* ```js
|
|
3728
3855
|
* const disabledActions = [Action.DisableChipReorder]
|
|
3729
3856
|
* ```
|
|
3730
|
-
* @version SDK: 1.36.0 |
|
|
3857
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3731
3858
|
*/
|
|
3732
3859
|
Action["DisableChipReorder"] = "disableChipReorder";
|
|
3733
3860
|
/**
|
|
3734
|
-
* Action ID
|
|
3861
|
+
* Action ID to show, hide, or disable filters
|
|
3862
|
+
* in a Liveboard tab.
|
|
3863
|
+
*
|
|
3735
3864
|
* @example
|
|
3736
3865
|
* ```js
|
|
3737
3866
|
* hiddenAction: [Action.ChangeFilterVisibilityInTab]
|
|
3738
3867
|
* ```
|
|
3739
|
-
* @version SDK: 1.36.0 |
|
|
3868
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3740
3869
|
*/
|
|
3741
3870
|
Action["ChangeFilterVisibilityInTab"] = "changeFilterVisibilityInTab";
|
|
3742
3871
|
/**
|
|
3743
|
-
*
|
|
3872
|
+
* The **Preview data** button on the Spotter interface.
|
|
3873
|
+
* Allows previewing the data used for Spotter queries.
|
|
3874
|
+
*
|
|
3744
3875
|
* @example
|
|
3745
3876
|
* ```js
|
|
3746
3877
|
* hiddenAction: [Action.PreviewDataSpotter]
|
|
3747
3878
|
* ```
|
|
3748
|
-
* @version SDK: 1.36.0 |
|
|
3879
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3749
3880
|
*/
|
|
3750
3881
|
Action["PreviewDataSpotter"] = "previewDataSpotter";
|
|
3751
3882
|
/**
|
|
3752
|
-
*
|
|
3883
|
+
* The **Reset** link on the Spotter interface.
|
|
3884
|
+
* Resets the conversation with Spotter.
|
|
3885
|
+
*
|
|
3753
3886
|
* @example
|
|
3754
3887
|
* ```js
|
|
3755
3888
|
* hiddenAction: [Action.ResetSpotterChat]
|
|
3756
3889
|
* ```
|
|
3757
|
-
* @version SDK: 1.36.0 |
|
|
3890
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3758
3891
|
*/
|
|
3759
3892
|
Action["ResetSpotterChat"] = "resetSpotterChat";
|
|
3760
3893
|
/**
|
|
3761
|
-
* Action ID for hide
|
|
3894
|
+
* Action ID for hide or disable the
|
|
3895
|
+
* Spotter feedback widget.
|
|
3896
|
+
*
|
|
3762
3897
|
* @example
|
|
3763
3898
|
* ```js
|
|
3764
3899
|
* hiddenAction: [Action.SpotterFeedback]
|
|
3765
3900
|
* ```
|
|
3766
|
-
* @version SDK: 1.36.0 |
|
|
3901
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3767
3902
|
*/
|
|
3768
3903
|
Action["SpotterFeedback"] = "spotterFeedback";
|
|
3769
3904
|
/**
|
|
3770
|
-
* Action ID for hide
|
|
3905
|
+
* Action ID for hide or disable
|
|
3906
|
+
* the previous prompt edit option in Spotter.
|
|
3907
|
+
*
|
|
3771
3908
|
* @example
|
|
3772
3909
|
* ```js
|
|
3773
3910
|
* hiddenAction: [Action.EditPreviousPrompt]
|
|
3774
3911
|
* ```
|
|
3775
|
-
* @version SDK: 1.36.0 |
|
|
3912
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3776
3913
|
*/
|
|
3777
3914
|
Action["EditPreviousPrompt"] = "editPreviousPrompt";
|
|
3778
3915
|
/**
|
|
3779
|
-
* Action ID for hide
|
|
3916
|
+
* Action ID for hide or disable
|
|
3917
|
+
* the previous prompt deletion option in Spotter.
|
|
3918
|
+
*
|
|
3780
3919
|
* @example
|
|
3781
3920
|
* ```js
|
|
3782
3921
|
* hiddenAction: [Action.DeletePreviousPrompt]
|
|
3783
3922
|
* ```
|
|
3784
|
-
* @version SDK: 1.36.0 |
|
|
3923
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3785
3924
|
*/
|
|
3786
3925
|
Action["DeletePreviousPrompt"] = "deletePreviousPrompt";
|
|
3787
3926
|
/**
|
|
@@ -3790,7 +3929,7 @@
|
|
|
3790
3929
|
* ```js
|
|
3791
3930
|
* hiddenAction: [Action.EditTokens]
|
|
3792
3931
|
* ```
|
|
3793
|
-
* @version SDK: 1.36.0 |
|
|
3932
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3794
3933
|
*/
|
|
3795
3934
|
Action["EditTokens"] = "editTokens";
|
|
3796
3935
|
})(exports.Action || (exports.Action = {}));
|
|
@@ -3803,11 +3942,13 @@
|
|
|
3803
3942
|
})(exports.PrefetchFeatures || (exports.PrefetchFeatures = {}));
|
|
3804
3943
|
/**
|
|
3805
3944
|
* Enum for options to change context trigger
|
|
3945
|
+
* BOTH_CLICKS option is introduced in 10.7
|
|
3806
3946
|
*/
|
|
3807
3947
|
exports.ContextMenuTriggerOptions = void 0;
|
|
3808
3948
|
(function (ContextMenuTriggerOptions) {
|
|
3809
3949
|
ContextMenuTriggerOptions["LEFT_CLICK"] = "left-click";
|
|
3810
3950
|
ContextMenuTriggerOptions["RIGHT_CLICK"] = "right-click";
|
|
3951
|
+
ContextMenuTriggerOptions["BOTH_CLICKS"] = "both-clicks";
|
|
3811
3952
|
})(exports.ContextMenuTriggerOptions || (exports.ContextMenuTriggerOptions = {}));
|
|
3812
3953
|
exports.LogLevel = void 0;
|
|
3813
3954
|
(function (LogLevel) {
|
|
@@ -3820,7 +3961,7 @@
|
|
|
3820
3961
|
* logLevel: LogLevel.SILENT,
|
|
3821
3962
|
* })
|
|
3822
3963
|
* ```
|
|
3823
|
-
* @version SDK: 1.26.7 |
|
|
3964
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3824
3965
|
*/
|
|
3825
3966
|
LogLevel["SILENT"] = "SILENT";
|
|
3826
3967
|
/**
|
|
@@ -3832,7 +3973,7 @@
|
|
|
3832
3973
|
* logLevel: LogLevel.ERROR,
|
|
3833
3974
|
* })
|
|
3834
3975
|
* ```
|
|
3835
|
-
* @version SDK: 1.26.7 |
|
|
3976
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3836
3977
|
*/
|
|
3837
3978
|
LogLevel["ERROR"] = "ERROR";
|
|
3838
3979
|
/**
|
|
@@ -3844,7 +3985,7 @@
|
|
|
3844
3985
|
* logLevel: LogLevel.WARN,
|
|
3845
3986
|
* })
|
|
3846
3987
|
* ```
|
|
3847
|
-
* @version SDK: 1.26.7 |
|
|
3988
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3848
3989
|
*/
|
|
3849
3990
|
LogLevel["WARN"] = "WARN";
|
|
3850
3991
|
/**
|
|
@@ -3856,7 +3997,7 @@
|
|
|
3856
3997
|
* logLevel: LogLevel.INFO,
|
|
3857
3998
|
* })
|
|
3858
3999
|
* ```
|
|
3859
|
-
* @version SDK: 1.26.7 |
|
|
4000
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3860
4001
|
*/
|
|
3861
4002
|
LogLevel["INFO"] = "INFO";
|
|
3862
4003
|
/**
|
|
@@ -3868,7 +4009,7 @@
|
|
|
3868
4009
|
* logLevel: LogLevel.DEBUG,
|
|
3869
4010
|
* })
|
|
3870
4011
|
* ```
|
|
3871
|
-
* @version SDK: 1.26.7 |
|
|
4012
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3872
4013
|
*/
|
|
3873
4014
|
LogLevel["DEBUG"] = "DEBUG";
|
|
3874
4015
|
/**
|
|
@@ -3880,7 +4021,7 @@
|
|
|
3880
4021
|
* logLevel: LogLevel.TRACE,
|
|
3881
4022
|
* })
|
|
3882
4023
|
* ```
|
|
3883
|
-
* @version SDK: 1.26.7 |
|
|
4024
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3884
4025
|
*/
|
|
3885
4026
|
LogLevel["TRACE"] = "TRACE";
|
|
3886
4027
|
})(exports.LogLevel || (exports.LogLevel = {}));
|
|
@@ -14750,7 +14891,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
14750
14891
|
return e;
|
|
14751
14892
|
}
|
|
14752
14893
|
|
|
14753
|
-
var name="@thoughtspot/visual-embed-sdk";var version$1="1.35.
|
|
14894
|
+
var name="@thoughtspot/visual-embed-sdk";var version$1="1.35.12";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",dompurify:"^2.3.4",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",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":"^3.1.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};
|
|
14754
14895
|
|
|
14755
14896
|
/**
|
|
14756
14897
|
* Reloads the ThoughtSpot iframe.
|
|
@@ -14815,7 +14956,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
14815
14956
|
UIPassthroughEvent["PinAnswerToLiveboard"] = "addVizToPinboard";
|
|
14816
14957
|
UIPassthroughEvent["SaveAnswer"] = "saveAnswer";
|
|
14817
14958
|
UIPassthroughEvent["GetDiscoverabilityStatus"] = "getDiscoverabilityStatus";
|
|
14818
|
-
UIPassthroughEvent["GetAvailableUIPassthroughs"] = "
|
|
14959
|
+
UIPassthroughEvent["GetAvailableUIPassthroughs"] = "getAvailableUiPassthroughs";
|
|
14819
14960
|
UIPassthroughEvent["GetAnswerConfig"] = "getAnswerPageConfig";
|
|
14820
14961
|
UIPassthroughEvent["GetLiveboardConfig"] = "getPinboardPageConfig";
|
|
14821
14962
|
})(exports.UIPassthroughEvent || (exports.UIPassthroughEvent = {}));
|
|
@@ -15271,10 +15412,13 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
15271
15412
|
* menu click
|
|
15272
15413
|
*/
|
|
15273
15414
|
if (contextMenuTrigger === exports.ContextMenuTriggerOptions.LEFT_CLICK) {
|
|
15274
|
-
queryParams[Param.ContextMenuTrigger] =
|
|
15415
|
+
queryParams[Param.ContextMenuTrigger] = 'left';
|
|
15275
15416
|
}
|
|
15276
15417
|
else if (contextMenuTrigger === exports.ContextMenuTriggerOptions.RIGHT_CLICK) {
|
|
15277
|
-
queryParams[Param.ContextMenuTrigger] =
|
|
15418
|
+
queryParams[Param.ContextMenuTrigger] = 'right';
|
|
15419
|
+
}
|
|
15420
|
+
else if (contextMenuTrigger === exports.ContextMenuTriggerOptions.BOTH_CLICKS) {
|
|
15421
|
+
queryParams[Param.ContextMenuTrigger] = 'both';
|
|
15278
15422
|
}
|
|
15279
15423
|
const spriteUrl = (customizations === null || customizations === void 0 ? void 0 : customizations.iconSpriteUrl)
|
|
15280
15424
|
|| ((_c = this.embedConfig.customizations) === null || _c === void 0 ? void 0 : _c.iconSpriteUrl);
|
|
@@ -16546,10 +16690,11 @@ query GetEurekaVizSnapshots(
|
|
|
16546
16690
|
}
|
|
16547
16691
|
/**
|
|
16548
16692
|
* Triggers an event to the embedded app
|
|
16549
|
-
* @param messageType The event type
|
|
16550
|
-
* @param data The payload to send with the message
|
|
16693
|
+
* @param {HostEvent} messageType The event type
|
|
16694
|
+
* @param {any} data The payload to send with the message
|
|
16695
|
+
* @returns A promise that resolves with the response from the embedded app
|
|
16551
16696
|
*/
|
|
16552
|
-
trigger(messageType, data) {
|
|
16697
|
+
trigger(messageType, data = {}) {
|
|
16553
16698
|
const dataWithVizId = data;
|
|
16554
16699
|
if (messageType === exports.HostEvent.SetActiveTab) {
|
|
16555
16700
|
this.setActiveTab(data);
|