@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.es.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 _mergeNamespaces(n, m) {
|
|
3
3
|
m.forEach(function (e) {
|
|
4
4
|
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
|
|
@@ -358,7 +358,7 @@ const getTypeFromValue = (value) => {
|
|
|
358
358
|
var AuthType;
|
|
359
359
|
(function (AuthType) {
|
|
360
360
|
/**
|
|
361
|
-
* No authentication on the SDK.
|
|
361
|
+
* No authentication on the SDK. Pass-through to the embedded App. Alias for
|
|
362
362
|
* `Passthrough`.
|
|
363
363
|
* @example
|
|
364
364
|
* ```js
|
|
@@ -619,7 +619,7 @@ var RuntimeFilterOp;
|
|
|
619
619
|
* **Note**: This option does not apply to the classic homepage.
|
|
620
620
|
* To access the updated modular homepage, set
|
|
621
621
|
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
622
|
-
* @version SDK: 1.28.0 |
|
|
622
|
+
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl, 10.1.0.sw
|
|
623
623
|
*/
|
|
624
624
|
// eslint-disable-next-line no-shadow
|
|
625
625
|
var HomepageModule;
|
|
@@ -1432,7 +1432,7 @@ var EmbedEvent;
|
|
|
1432
1432
|
*/
|
|
1433
1433
|
EmbedEvent["Explore"] = "explore";
|
|
1434
1434
|
/**
|
|
1435
|
-
* Emitted when a user clicks **Copy link** action on a visualization
|
|
1435
|
+
* Emitted when a user clicks **Copy link** action on a visualization.
|
|
1436
1436
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
1437
1437
|
* @example
|
|
1438
1438
|
*```js
|
|
@@ -1482,23 +1482,26 @@ var EmbedEvent;
|
|
|
1482
1482
|
*/
|
|
1483
1483
|
EmbedEvent["FilterChanged"] = "filterChanged";
|
|
1484
1484
|
/**
|
|
1485
|
-
* Emitted when a user clicks the **Go** button
|
|
1486
|
-
*
|
|
1485
|
+
* Emitted when a user clicks the **Go** button to initiate
|
|
1486
|
+
* a Natural Language Search query
|
|
1487
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1487
1488
|
*/
|
|
1488
1489
|
EmbedEvent["SageEmbedQuery"] = "sageEmbedQuery";
|
|
1489
1490
|
/**
|
|
1490
|
-
* Emitted when a user selects a data source on the
|
|
1491
|
-
*
|
|
1491
|
+
* Emitted when a user selects a data source on the embedded
|
|
1492
|
+
* Natural Language Search interface.
|
|
1493
|
+
*
|
|
1494
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1492
1495
|
*/
|
|
1493
1496
|
EmbedEvent["SageWorksheetUpdated"] = "sageWorksheetUpdated";
|
|
1494
1497
|
/**
|
|
1495
1498
|
* Emitted when a user updates a connection on the **Data** page
|
|
1496
|
-
* @version SDK : 1.27.0 |
|
|
1499
|
+
* @version SDK : 1.27.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
1497
1500
|
*/
|
|
1498
1501
|
EmbedEvent["UpdateConnection"] = "updateConnection";
|
|
1499
1502
|
/**
|
|
1500
1503
|
* Emitted when a user updates a connection on the **Data** page
|
|
1501
|
-
* @version SDK : 1.27.0 |
|
|
1504
|
+
* @version SDK : 1.27.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
1502
1505
|
*/
|
|
1503
1506
|
EmbedEvent["CreateConnection"] = "createConnection";
|
|
1504
1507
|
/**
|
|
@@ -1508,7 +1511,7 @@ var EmbedEvent;
|
|
|
1508
1511
|
* @returns viewId: string
|
|
1509
1512
|
* @returns liveboardId: string
|
|
1510
1513
|
* @returns isPublic: boolean
|
|
1511
|
-
* @version SDK : 1.26.0 |
|
|
1514
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1512
1515
|
*/
|
|
1513
1516
|
EmbedEvent["UpdatePersonalisedView"] = "updatePersonalisedView";
|
|
1514
1517
|
/**
|
|
@@ -1517,7 +1520,7 @@ var EmbedEvent;
|
|
|
1517
1520
|
* @returns viewId: string
|
|
1518
1521
|
* @returns liveboardId: string
|
|
1519
1522
|
* @returns isPublic: boolean
|
|
1520
|
-
* @version SDK : 1.26.0 |
|
|
1523
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1521
1524
|
*/
|
|
1522
1525
|
EmbedEvent["SavePersonalisedView"] = "savePersonalisedView";
|
|
1523
1526
|
/**
|
|
@@ -1526,28 +1529,28 @@ var EmbedEvent;
|
|
|
1526
1529
|
* @returns viewId: string
|
|
1527
1530
|
* @returns liveboardId: string
|
|
1528
1531
|
* @returns isPublic: boolean
|
|
1529
|
-
* @version SDK : 1.26.0 |
|
|
1532
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1530
1533
|
*/
|
|
1531
1534
|
EmbedEvent["ResetLiveboard"] = "resetLiveboard";
|
|
1532
1535
|
/**
|
|
1533
1536
|
* Emitted when a PersonalisedView is deleted.
|
|
1534
1537
|
* @returns views: string[]
|
|
1535
1538
|
* @returns liveboardId: string
|
|
1536
|
-
* @version SDK : 1.26.0 |
|
|
1539
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1537
1540
|
*/
|
|
1538
1541
|
EmbedEvent["DeletePersonalisedView"] = "deletePersonalisedView";
|
|
1539
1542
|
/**
|
|
1540
1543
|
* Emitted when a user creates a new worksheet
|
|
1541
|
-
* @version SDK : 1.27.0 |
|
|
1544
|
+
* @version SDK : 1.27.0 | ThoughtSpot Cloud: 9.8.0.cl
|
|
1542
1545
|
*/
|
|
1543
1546
|
EmbedEvent["CreateWorksheet"] = "createWorksheet";
|
|
1544
1547
|
/**
|
|
1545
|
-
* Emitted when Ask Sage is initialized.
|
|
1548
|
+
* Emitted when the *Ask Sage* is initialized.
|
|
1546
1549
|
* @returns viewName: string
|
|
1547
1550
|
* @returns viewId: string
|
|
1548
1551
|
* @returns liveboardId: string
|
|
1549
1552
|
* @returns isPublic: boolean
|
|
1550
|
-
* @version SDK : 1.29.0 |
|
|
1553
|
+
* @version SDK : 1.29.0 | ThoughtSpot Cloud: 9.12.0.cl
|
|
1551
1554
|
*/
|
|
1552
1555
|
EmbedEvent["AskSageInit"] = "AskSageInit";
|
|
1553
1556
|
/**
|
|
@@ -1575,7 +1578,7 @@ var EmbedEvent;
|
|
|
1575
1578
|
*
|
|
1576
1579
|
* error: Developers can customize the error message text when `execute`
|
|
1577
1580
|
* returns `false` using the error parameter in responder.
|
|
1578
|
-
* @version SDK : 1.29.0 |
|
|
1581
|
+
* @version SDK : 1.29.0 | ThoughtSpot : 10.3.0.cl
|
|
1579
1582
|
* @example
|
|
1580
1583
|
*```js
|
|
1581
1584
|
* .on(EmbedEvent.OnBeforeGetVizDataIntercept,
|
|
@@ -1623,9 +1626,26 @@ var EmbedEvent;
|
|
|
1623
1626
|
* console.log('payload', payload);
|
|
1624
1627
|
* })
|
|
1625
1628
|
*```
|
|
1626
|
-
* @version SDK : 1.29.0 |
|
|
1629
|
+
* @version SDK : 1.29.0 | ThoughtSpot : 10.3.0.cl
|
|
1627
1630
|
*/
|
|
1628
1631
|
EmbedEvent["ParameterChanged"] = "parameterChanged";
|
|
1632
|
+
/**
|
|
1633
|
+
* Emitted when the table viz renders.
|
|
1634
|
+
* You can use this event as a hook to trigger
|
|
1635
|
+
* other events on the rendered table viz data.
|
|
1636
|
+
* @example
|
|
1637
|
+
* ```js
|
|
1638
|
+
* searchEmbed.on(EmbedEvent.TableVizRendered, (payload) => {
|
|
1639
|
+
* console.log(payload);
|
|
1640
|
+
* const columnDataLite = payload.data.data.columnDataLite;
|
|
1641
|
+
* columnDataLite[0].dataValue[0]="new fob";
|
|
1642
|
+
* console.log('>>> new Data', columnDataLite);
|
|
1643
|
+
* searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
|
|
1644
|
+
* })
|
|
1645
|
+
* ```
|
|
1646
|
+
* @version SDK: 1.35.12 | ThoughtSpot: 10.7.0.cl
|
|
1647
|
+
*/
|
|
1648
|
+
EmbedEvent["TableVizRendered"] = "TableVizRendered";
|
|
1629
1649
|
})(EmbedEvent || (EmbedEvent = {}));
|
|
1630
1650
|
/**
|
|
1631
1651
|
* Event types that can be triggered by the host application
|
|
@@ -1772,7 +1792,7 @@ var HostEvent;
|
|
|
1772
1792
|
* const url = embed.trigger(HostEvent.GetIframeUrl);
|
|
1773
1793
|
* console.log("iFrameURL",url);
|
|
1774
1794
|
* ```
|
|
1775
|
-
* @version SDK: 1.35.0 |
|
|
1795
|
+
* @version SDK: 1.35.0 | ThoughtSpot: 10.4.0.cl
|
|
1776
1796
|
*/
|
|
1777
1797
|
HostEvent["GetIframeUrl"] = "GetIframeUrl";
|
|
1778
1798
|
/**
|
|
@@ -1805,6 +1825,11 @@ var HostEvent;
|
|
|
1805
1825
|
* attributes passed with this event are appended to the existing runtime
|
|
1806
1826
|
* filters applied on a Liveboard.
|
|
1807
1827
|
*
|
|
1828
|
+
* **Note**: `HostEvent.UpdateRuntimeFilters` is supported in `LiveboardEmbed`
|
|
1829
|
+
* and `AppEmbed` only. In full application embedding, this event updates
|
|
1830
|
+
* the runtime filters applied on the Liveboard and saved Answer objects.
|
|
1831
|
+
*
|
|
1832
|
+
*
|
|
1808
1833
|
* Pass an array of runtime filters with the following attributes:
|
|
1809
1834
|
*
|
|
1810
1835
|
* `columnName` - _String_. The name of the column to filter on.
|
|
@@ -1815,9 +1840,12 @@ var HostEvent;
|
|
|
1815
1840
|
* `values` - List of operands. Some operators such as EQ and LE allow a
|
|
1816
1841
|
* single value, whereas BW and IN accept multiple values.
|
|
1817
1842
|
*
|
|
1818
|
-
* **Note**:
|
|
1819
|
-
*
|
|
1820
|
-
*
|
|
1843
|
+
* **Note**: Updating runtime filters resets the ThoughtSpot
|
|
1844
|
+
* object to its original state and applies new filter conditions.
|
|
1845
|
+
* Any user changes (like drilling into a visualization)
|
|
1846
|
+
* will be cleared, restoring the original visualization
|
|
1847
|
+
* with the updated filters.
|
|
1848
|
+
*
|
|
1821
1849
|
* @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
|
|
1822
1850
|
* @example
|
|
1823
1851
|
* ```js
|
|
@@ -1832,7 +1860,7 @@ var HostEvent;
|
|
|
1832
1860
|
HostEvent["UpdateRuntimeFilters"] = "UpdateRuntimeFilters";
|
|
1833
1861
|
/**
|
|
1834
1862
|
* Navigate to a specific page in the embedded ThoughtSpot application.
|
|
1835
|
-
* This is the same as calling `appEmbed.navigateToPage(path, true)
|
|
1863
|
+
* This is the same as calling `appEmbed.navigateToPage(path, true)`.
|
|
1836
1864
|
* @param - `path` - the path to navigate to to go forward or back. The path value can
|
|
1837
1865
|
* be a number; for example, `1`, `-1`.
|
|
1838
1866
|
* @example
|
|
@@ -2028,7 +2056,7 @@ var HostEvent;
|
|
|
2028
2056
|
* @param - an object with `vizId` as a key
|
|
2029
2057
|
* @example
|
|
2030
2058
|
* ```js
|
|
2031
|
-
* liveboardEmbed.trigger(HostEvent.CreateMonitor {
|
|
2059
|
+
* liveboardEmbed.trigger(HostEvent.CreateMonitor, {
|
|
2032
2060
|
* vizId: '730496d6-6903-4601-937e-2c691821af3c'
|
|
2033
2061
|
* })
|
|
2034
2062
|
* ```
|
|
@@ -2127,7 +2155,9 @@ var HostEvent;
|
|
|
2127
2155
|
*/
|
|
2128
2156
|
HostEvent["GetTML"] = "getTML";
|
|
2129
2157
|
/**
|
|
2130
|
-
* Trigger the **Show underlying data** action on
|
|
2158
|
+
* Trigger the **Show underlying data** action on a
|
|
2159
|
+
* chart or table.
|
|
2160
|
+
*
|
|
2131
2161
|
* @param - an object with vizId as a key
|
|
2132
2162
|
* @example
|
|
2133
2163
|
* ```js
|
|
@@ -2161,8 +2191,8 @@ var HostEvent;
|
|
|
2161
2191
|
*/
|
|
2162
2192
|
HostEvent["Delete"] = "onDeleteAnswer";
|
|
2163
2193
|
/**
|
|
2164
|
-
* Trigger the **SpotIQ analyze** action on
|
|
2165
|
-
* or
|
|
2194
|
+
* Trigger the **SpotIQ analyze** action on a
|
|
2195
|
+
* chart or table.
|
|
2166
2196
|
* @param - Liveboard embed takes `vizId` as a
|
|
2167
2197
|
* key. Can be left undefined when embedding Search or
|
|
2168
2198
|
* visualization.
|
|
@@ -2435,7 +2465,7 @@ var HostEvent;
|
|
|
2435
2465
|
* '430496d6-6903-4601-937e-2c691821af3c',
|
|
2436
2466
|
* 'f547ec54-2a37-4516-a222-2b06719af726'])
|
|
2437
2467
|
* ```
|
|
2438
|
-
* @version SDK: 1.26.0 |
|
|
2468
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
2439
2469
|
*/
|
|
2440
2470
|
HostEvent["SetVisibleTabs"] = "SetPinboardVisibleTabs";
|
|
2441
2471
|
/**
|
|
@@ -2448,7 +2478,7 @@ var HostEvent;
|
|
|
2448
2478
|
* '630496d6-6903-4601-937e-2c691821af3c',
|
|
2449
2479
|
* 'i547ec54-2a37-4516-a222-2b06719af726'])
|
|
2450
2480
|
* ```
|
|
2451
|
-
* @version SDK: 1.26.0 |
|
|
2481
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
2452
2482
|
*/
|
|
2453
2483
|
HostEvent["SetHiddenTabs"] = "SetPinboardHiddenTabs";
|
|
2454
2484
|
/**
|
|
@@ -2462,7 +2492,7 @@ var HostEvent;
|
|
|
2462
2492
|
* executeSearch: true,
|
|
2463
2493
|
* })
|
|
2464
2494
|
* ```
|
|
2465
|
-
* @version SDK: 1.26.0 |
|
|
2495
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
2466
2496
|
*/
|
|
2467
2497
|
HostEvent["UpdateSageQuery"] = "updateSageQuery";
|
|
2468
2498
|
/**
|
|
@@ -2479,21 +2509,22 @@ var HostEvent;
|
|
|
2479
2509
|
* ```js
|
|
2480
2510
|
* const {session} = await embed.trigger( HostEvent.GetAnswerSession )
|
|
2481
2511
|
* ```
|
|
2482
|
-
* @version SDK: 1.26.0 |
|
|
2512
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.10.0.cl, 10.1.0.sw
|
|
2483
2513
|
*/
|
|
2484
2514
|
HostEvent["GetAnswerSession"] = "getAnswerSession";
|
|
2485
2515
|
/**
|
|
2486
|
-
* Trigger Ask Sage for
|
|
2516
|
+
* Trigger the *Ask Sage* action for visualizations
|
|
2487
2517
|
* @example
|
|
2488
2518
|
* ```js
|
|
2489
2519
|
* liveboardEmbed.trigger(HostEvent.AskSage,
|
|
2490
2520
|
* {vizId:'730496d6-6903-4601-937e-2c691821af3c'})
|
|
2491
2521
|
* ```
|
|
2492
|
-
* @version SDK: 1.29.0 |
|
|
2522
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 9.12.0.cl
|
|
2493
2523
|
*/
|
|
2494
2524
|
HostEvent["AskSage"] = "AskSage";
|
|
2495
2525
|
/**
|
|
2496
|
-
* Trigger cross filter update action on a Liveboard
|
|
2526
|
+
* Trigger cross filter update action on a Liveboard.
|
|
2527
|
+
*
|
|
2497
2528
|
* @example
|
|
2498
2529
|
* ```js
|
|
2499
2530
|
* liveboardEmbed.trigger(HostEvent.UpdateCrossFilter, {
|
|
@@ -2504,7 +2535,7 @@ var HostEvent;
|
|
|
2504
2535
|
* ],
|
|
2505
2536
|
* });
|
|
2506
2537
|
* ```
|
|
2507
|
-
* @version SDK: 1.29.0 |
|
|
2538
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 10.0.0.cl, 10.1.0.sw
|
|
2508
2539
|
*/
|
|
2509
2540
|
HostEvent["UpdateCrossFilter"] = "UpdateCrossFilter";
|
|
2510
2541
|
/**
|
|
@@ -2513,11 +2544,13 @@ var HostEvent;
|
|
|
2513
2544
|
* ```js
|
|
2514
2545
|
* liveboardEmbed.trigger(HostEvent.ResetLiveboardPersonalisedView);
|
|
2515
2546
|
* ```
|
|
2516
|
-
* @version SDK: 1.29.0 |
|
|
2547
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 10.1.0.cl, 10.1.0.sw
|
|
2517
2548
|
*/
|
|
2518
2549
|
HostEvent["ResetLiveboardPersonalisedView"] = "ResetLiveboardPersonalisedView";
|
|
2519
2550
|
/**
|
|
2520
|
-
* Triggers an
|
|
2551
|
+
* Triggers an action to update Parameter values on embedded
|
|
2552
|
+
* Answers and Liveboard.
|
|
2553
|
+
*
|
|
2521
2554
|
* @example
|
|
2522
2555
|
* ```js
|
|
2523
2556
|
* liveboardEmbed.trigger(HostEvent.UpdateParameters, [{
|
|
@@ -2525,30 +2558,30 @@ var HostEvent;
|
|
|
2525
2558
|
* value: "almond"
|
|
2526
2559
|
* }])
|
|
2527
2560
|
*
|
|
2528
|
-
* @version SDK: 1.29.0 |
|
|
2561
|
+
* @version SDK: 1.29.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
2529
2562
|
*/
|
|
2530
2563
|
HostEvent["UpdateParameters"] = "UpdateParameters";
|
|
2531
2564
|
/**
|
|
2532
|
-
* Triggers GetParameters to fetch the runtime
|
|
2565
|
+
* Triggers GetParameters to fetch the runtime Parameters.
|
|
2533
2566
|
* ```js
|
|
2534
2567
|
* liveboardEmbed.trigger(HostEvent.GetParameters).then((parameter) => {
|
|
2535
2568
|
* console.log('parameters', parameter);
|
|
2536
2569
|
* });
|
|
2537
2570
|
*```
|
|
2538
|
-
* @version SDK: 1.29.0 |
|
|
2571
|
+
* @version SDK: 1.29.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
2539
2572
|
*/
|
|
2540
2573
|
HostEvent["GetParameters"] = "GetParameters";
|
|
2541
2574
|
/**
|
|
2542
|
-
* Triggers an event to update a
|
|
2575
|
+
* Triggers an event to update a personalized view of a Liveboard.
|
|
2543
2576
|
* ```js
|
|
2544
2577
|
* liveboardEmbed.trigger(HostEvent.UpdatePersonalisedView, {viewId: '1234'})
|
|
2545
2578
|
* ```
|
|
2546
|
-
* @version SDK: 1.36.0 |
|
|
2579
|
+
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
|
|
2547
2580
|
*/
|
|
2548
2581
|
HostEvent["UpdatePersonalisedView"] = "UpdatePersonalisedView";
|
|
2549
2582
|
/**
|
|
2550
|
-
* Triggers the action to get the current view of the
|
|
2551
|
-
* @version SDK: 1.36.0 |
|
|
2583
|
+
* Triggers the action to get the current view of the Liveboard.
|
|
2584
|
+
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
|
|
2552
2585
|
*/
|
|
2553
2586
|
HostEvent["SaveAnswer"] = "saveAnswer";
|
|
2554
2587
|
/**
|
|
@@ -2556,6 +2589,25 @@ var HostEvent;
|
|
|
2556
2589
|
* @hidden
|
|
2557
2590
|
*/
|
|
2558
2591
|
HostEvent["UIPassthrough"] = "UiPassthrough";
|
|
2592
|
+
/**
|
|
2593
|
+
* Triggers the table viz rerender with the updated data.
|
|
2594
|
+
* Includes the following properties:
|
|
2595
|
+
* @param - columnDataLite - an array of object containing data
|
|
2596
|
+
* transformed from data picked from TableVizRendered event.
|
|
2597
|
+
* For example, { columnDataLite: []}
|
|
2598
|
+
* @example
|
|
2599
|
+
* ```js
|
|
2600
|
+
* searchEmbed.on(EmbedEvent.TableVizRendered, (payload) => {
|
|
2601
|
+
* console.log(payload);
|
|
2602
|
+
* const columnDataLite = payload.data.data.columnDataLite;
|
|
2603
|
+
* columnDataLite[0].dataValue[0]="new fob";
|
|
2604
|
+
* console.log('>>> new Data', columnDataLite);
|
|
2605
|
+
* searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
|
|
2606
|
+
* })
|
|
2607
|
+
* ```
|
|
2608
|
+
* @version SDK: 1.35.12 | ThoughtSpot: 10.7.0.cl
|
|
2609
|
+
*/
|
|
2610
|
+
HostEvent["TransformTableVizData"] = "TransformTableVizData";
|
|
2559
2611
|
})(HostEvent || (HostEvent = {}));
|
|
2560
2612
|
/**
|
|
2561
2613
|
* The different visual modes that the data sources panel within
|
|
@@ -2622,7 +2674,12 @@ var Param;
|
|
|
2622
2674
|
Param["AuthType"] = "authType";
|
|
2623
2675
|
Param["IconSpriteUrl"] = "iconSprite";
|
|
2624
2676
|
Param["cookieless"] = "cookieless";
|
|
2625
|
-
|
|
2677
|
+
// Deprecated: `isContextMenuEnabledOnLeftClick`
|
|
2678
|
+
// Introduced: `contextMenuEnabledOnWhichClick` with values: 'left',
|
|
2679
|
+
// 'right', or 'both'. This update only affects ThoughtSpot URL parameters
|
|
2680
|
+
// and does not impact existing workflows or use cases. Added support for
|
|
2681
|
+
// 'both' clicks in `contextMenuTrigger` configuration.
|
|
2682
|
+
Param["ContextMenuTrigger"] = "contextMenuEnabledOnWhichClick";
|
|
2626
2683
|
Param["LinkOverride"] = "linkOverride";
|
|
2627
2684
|
Param["blockNonEmbedFullAppAccess"] = "blockNonEmbedFullAppAccess";
|
|
2628
2685
|
Param["ShowInsertToSlide"] = "insertInToSlide";
|
|
@@ -2775,7 +2832,8 @@ var Action;
|
|
|
2775
2832
|
Action["ResetLayout"] = "resetLayout";
|
|
2776
2833
|
/**
|
|
2777
2834
|
* The **Schedule** menu action on a Liveboard.
|
|
2778
|
-
* Allows scheduling a Liveboard
|
|
2835
|
+
* Allows scheduling a Liveboard job, for example,
|
|
2836
|
+
* sending periodic notifications.
|
|
2779
2837
|
* @example
|
|
2780
2838
|
* ```js
|
|
2781
2839
|
* disabledActions: [Action.Schedule]
|
|
@@ -2817,7 +2875,7 @@ var Action;
|
|
|
2817
2875
|
* ```js
|
|
2818
2876
|
* disabledActions: [Action.AddDataPanelObjects]
|
|
2819
2877
|
* ```
|
|
2820
|
-
* @version SDK: 1.32.0 |
|
|
2878
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl, 10.1.0.sw
|
|
2821
2879
|
*/
|
|
2822
2880
|
Action["AddDataPanelObjects"] = "addDataPanelObjects";
|
|
2823
2881
|
/**
|
|
@@ -2830,7 +2888,28 @@ var Action;
|
|
|
2830
2888
|
* ```
|
|
2831
2889
|
*/
|
|
2832
2890
|
Action["ConfigureFilter"] = "configureFilter";
|
|
2891
|
+
/**
|
|
2892
|
+
* The **Collapse data sources** icon on the Search page.
|
|
2893
|
+
* Collapses the panel showing data sources.
|
|
2894
|
+
*
|
|
2895
|
+
* @example
|
|
2896
|
+
* ```js
|
|
2897
|
+
* disabledActions: [Action.CollapseDataPanel]
|
|
2898
|
+
* ```
|
|
2899
|
+
* @version: SDK: 1.1.0 | ThoughtSpot Cloud: ts7.may.cl, 8.4.1.sw
|
|
2900
|
+
*/
|
|
2833
2901
|
Action["CollapseDataSources"] = "collapseDataSources";
|
|
2902
|
+
/**
|
|
2903
|
+
* The **Collapse data panel** icon on the Search page.
|
|
2904
|
+
* Collapses the data panel view.
|
|
2905
|
+
*
|
|
2906
|
+
* @version: SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl, 10.7.0.sw
|
|
2907
|
+
*
|
|
2908
|
+
* @example
|
|
2909
|
+
* ```js
|
|
2910
|
+
* disabledActions: [Action.CollapseDataPanel]
|
|
2911
|
+
* ```
|
|
2912
|
+
*/
|
|
2834
2913
|
Action["CollapseDataPanel"] = "collapseDataPanel";
|
|
2835
2914
|
/**
|
|
2836
2915
|
* The **Choose sources** button on Search page.
|
|
@@ -2866,7 +2945,7 @@ var Action;
|
|
|
2866
2945
|
* ```js
|
|
2867
2946
|
* disabledActions: [Action.AddColumnSet]
|
|
2868
2947
|
* ```
|
|
2869
|
-
* @version SDK: 1.32.0 |
|
|
2948
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl, 10.1.0.sw
|
|
2870
2949
|
*/
|
|
2871
2950
|
Action["AddColumnSet"] = "addSimpleCohort";
|
|
2872
2951
|
/**
|
|
@@ -2876,7 +2955,7 @@ var Action;
|
|
|
2876
2955
|
* ```js
|
|
2877
2956
|
* disabledActions: [Action.AddQuerySet]
|
|
2878
2957
|
* ```
|
|
2879
|
-
* @version SDK: 1.32.0 |
|
|
2958
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl, 10.1.0.sw
|
|
2880
2959
|
*/
|
|
2881
2960
|
Action["AddQuerySet"] = "addAdvancedCohort";
|
|
2882
2961
|
/**
|
|
@@ -2908,6 +2987,8 @@ var Action;
|
|
|
2908
2987
|
/**
|
|
2909
2988
|
* The **Show underlying data** menu action on a visualization or
|
|
2910
2989
|
* Answer page.
|
|
2990
|
+
* Displays detailed information and raw data
|
|
2991
|
+
* for a given visualization.
|
|
2911
2992
|
* @example
|
|
2912
2993
|
* ```js
|
|
2913
2994
|
* disabledActions: [Action.ShowUnderlyingData]
|
|
@@ -3109,6 +3190,7 @@ var Action;
|
|
|
3109
3190
|
Action["AnalysisInfo"] = "analysisInfo";
|
|
3110
3191
|
/**
|
|
3111
3192
|
* The **Schedule** menu action on a Liveboard.
|
|
3193
|
+
* Allows scheduling a Liveboard job.
|
|
3112
3194
|
* @example
|
|
3113
3195
|
* ```js
|
|
3114
3196
|
* disabledActions: [Action.Subscription]
|
|
@@ -3178,8 +3260,13 @@ var Action;
|
|
|
3178
3260
|
*/
|
|
3179
3261
|
Action["RequestAccess"] = "requestAccess";
|
|
3180
3262
|
/**
|
|
3181
|
-
* The **Query visualizer** and **Query SQL** buttons in
|
|
3182
|
-
* of the Answer page
|
|
3263
|
+
* The **Query visualizer** and **Query SQL** buttons in
|
|
3264
|
+
* Query details panel of the Answer page.
|
|
3265
|
+
*
|
|
3266
|
+
* **Query visualizer** - Displays the tables
|
|
3267
|
+
* and filters used in a search query.
|
|
3268
|
+
* **Query SQL** - Displays the SQL statements used
|
|
3269
|
+
* in a search query to fetch data.
|
|
3183
3270
|
* @example
|
|
3184
3271
|
* ```js
|
|
3185
3272
|
* disabledActions: [Action.QueryDetailsButtons]
|
|
@@ -3197,7 +3284,10 @@ var Action;
|
|
|
3197
3284
|
*/
|
|
3198
3285
|
Action["AnswerDelete"] = "onDeleteAnswer";
|
|
3199
3286
|
/**
|
|
3200
|
-
* The
|
|
3287
|
+
* The chart switcher icon on Answer page and
|
|
3288
|
+
* visualizations in edit mode.
|
|
3289
|
+
* Allows switching to the table or chart mode
|
|
3290
|
+
* when editing a visualization.
|
|
3201
3291
|
* @example
|
|
3202
3292
|
* ```js
|
|
3203
3293
|
* disabledActions: [Action.AnswerChartSwitcher]
|
|
@@ -3206,7 +3296,10 @@ var Action;
|
|
|
3206
3296
|
*/
|
|
3207
3297
|
Action["AnswerChartSwitcher"] = "answerChartSwitcher";
|
|
3208
3298
|
/**
|
|
3209
|
-
* Favorites icon (*)
|
|
3299
|
+
* The Favorites icon (*) for Answers,
|
|
3300
|
+
* Liveboard, and data objects like Worksheet, Model,
|
|
3301
|
+
* Tables and Views.
|
|
3302
|
+
* Allows adding an object to the user’s favorites list.
|
|
3210
3303
|
* @example
|
|
3211
3304
|
* ```js
|
|
3212
3305
|
* disabledActions: [Action.AddToFavorites]
|
|
@@ -3224,7 +3317,9 @@ var Action;
|
|
|
3224
3317
|
*/
|
|
3225
3318
|
Action["EditDetails"] = "editDetails";
|
|
3226
3319
|
/**
|
|
3227
|
-
* The Create alert action
|
|
3320
|
+
* The *Create alert* action for KPI charts.
|
|
3321
|
+
* Allows users to schedule threshold-based alerts
|
|
3322
|
+
* for KPI charts.
|
|
3228
3323
|
* @example
|
|
3229
3324
|
* ```js
|
|
3230
3325
|
* disabledActions: [Action.CreateMonitor]
|
|
@@ -3280,7 +3375,7 @@ var Action;
|
|
|
3280
3375
|
* ```js
|
|
3281
3376
|
* disabledActions: [Action.CrossFilter]
|
|
3282
3377
|
* ```
|
|
3283
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3378
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.8.0.sw
|
|
3284
3379
|
*/
|
|
3285
3380
|
Action["CrossFilter"] = "context-menu-item-cross-filter";
|
|
3286
3381
|
/**
|
|
@@ -3290,7 +3385,7 @@ var Action;
|
|
|
3290
3385
|
* ```js
|
|
3291
3386
|
* disabledActions: [Action.SyncToSlack]
|
|
3292
3387
|
* ```
|
|
3293
|
-
* @version @version SDK : 1.32.0 |
|
|
3388
|
+
* @version @version SDK : 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
|
|
3294
3389
|
*/
|
|
3295
3390
|
Action["SyncToSlack"] = "syncToSlack";
|
|
3296
3391
|
/**
|
|
@@ -3300,7 +3395,7 @@ var Action;
|
|
|
3300
3395
|
* ```js
|
|
3301
3396
|
* disabledActions: [Action.SyncToTeams]
|
|
3302
3397
|
* ```
|
|
3303
|
-
* @version @version SDK : 1.32.0 |
|
|
3398
|
+
* @version @version SDK : 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
|
|
3304
3399
|
*/
|
|
3305
3400
|
Action["SyncToTeams"] = "syncToTeams";
|
|
3306
3401
|
/**
|
|
@@ -3311,7 +3406,7 @@ var Action;
|
|
|
3311
3406
|
* ```js
|
|
3312
3407
|
* disabledActions: [Action.RemoveCrossFilter]
|
|
3313
3408
|
* ```
|
|
3314
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3409
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3315
3410
|
*/
|
|
3316
3411
|
Action["RemoveCrossFilter"] = "context-menu-item-remove-cross-filter";
|
|
3317
3412
|
/**
|
|
@@ -3322,7 +3417,7 @@ var Action;
|
|
|
3322
3417
|
* ```js
|
|
3323
3418
|
* disabledActions: [Action.AxisMenuAggregate]
|
|
3324
3419
|
* ```
|
|
3325
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3420
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3326
3421
|
*/
|
|
3327
3422
|
Action["AxisMenuAggregate"] = "axisMenuAggregate";
|
|
3328
3423
|
/**
|
|
@@ -3333,17 +3428,19 @@ var Action;
|
|
|
3333
3428
|
* ```js
|
|
3334
3429
|
* disabledActions: [Action.AxisMenuTimeBucket]
|
|
3335
3430
|
* ```
|
|
3336
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3431
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3337
3432
|
*/
|
|
3338
3433
|
Action["AxisMenuTimeBucket"] = "axisMenuTimeBucket";
|
|
3339
3434
|
/**
|
|
3340
3435
|
* The **Filter** action in the chart axis or table column
|
|
3341
3436
|
* customization menu.
|
|
3437
|
+
* Allows adding, editing, or removing filters.
|
|
3438
|
+
*
|
|
3342
3439
|
* @example
|
|
3343
3440
|
* ```js
|
|
3344
3441
|
* disabledActions: [Action.AxisMenuFilter]
|
|
3345
3442
|
* ```
|
|
3346
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3443
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3347
3444
|
*/
|
|
3348
3445
|
Action["AxisMenuFilter"] = "axisMenuFilter";
|
|
3349
3446
|
/**
|
|
@@ -3354,7 +3451,7 @@ var Action;
|
|
|
3354
3451
|
* ```js
|
|
3355
3452
|
* disabledActions: [Action.AxisMenuConditionalFormat]
|
|
3356
3453
|
* ```
|
|
3357
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3454
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3358
3455
|
*/
|
|
3359
3456
|
Action["AxisMenuConditionalFormat"] = "axisMenuConditionalFormat";
|
|
3360
3457
|
/**
|
|
@@ -3365,7 +3462,7 @@ var Action;
|
|
|
3365
3462
|
* ```js
|
|
3366
3463
|
* disabledActions: [Action.AxisMenuConditionalFormat]
|
|
3367
3464
|
* ```
|
|
3368
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3465
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3369
3466
|
*/
|
|
3370
3467
|
Action["AxisMenuSort"] = "axisMenuSort";
|
|
3371
3468
|
/**
|
|
@@ -3377,7 +3474,7 @@ var Action;
|
|
|
3377
3474
|
* ```js
|
|
3378
3475
|
* disabledActions: [Action.AxisMenuGroup]
|
|
3379
3476
|
* ```
|
|
3380
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3477
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3381
3478
|
*/
|
|
3382
3479
|
Action["AxisMenuGroup"] = "axisMenuGroup";
|
|
3383
3480
|
/**
|
|
@@ -3388,7 +3485,7 @@ var Action;
|
|
|
3388
3485
|
* ```js
|
|
3389
3486
|
* disabledActions: [Action.AxisMenuPosition]
|
|
3390
3487
|
* ```
|
|
3391
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3488
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3392
3489
|
*/
|
|
3393
3490
|
Action["AxisMenuPosition"] = "axisMenuPosition";
|
|
3394
3491
|
/**
|
|
@@ -3398,7 +3495,7 @@ var Action;
|
|
|
3398
3495
|
* ```js
|
|
3399
3496
|
* disabledActions: [Action.AxisMenuRename]
|
|
3400
3497
|
* ```
|
|
3401
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3498
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3402
3499
|
*/
|
|
3403
3500
|
Action["AxisMenuRename"] = "axisMenuRename";
|
|
3404
3501
|
/**
|
|
@@ -3409,7 +3506,7 @@ var Action;
|
|
|
3409
3506
|
* ```js
|
|
3410
3507
|
* disabledActions: [Action.AxisMenuEdit]
|
|
3411
3508
|
* ```
|
|
3412
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3509
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3413
3510
|
*/
|
|
3414
3511
|
Action["AxisMenuEdit"] = "axisMenuEdit";
|
|
3415
3512
|
/**
|
|
@@ -3419,7 +3516,7 @@ var Action;
|
|
|
3419
3516
|
* ```js
|
|
3420
3517
|
* disabledActions: [Action.AxisMenuNumberFormat]
|
|
3421
3518
|
* ```
|
|
3422
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3519
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3423
3520
|
*/
|
|
3424
3521
|
Action["AxisMenuNumberFormat"] = "axisMenuNumberFormat";
|
|
3425
3522
|
/**
|
|
@@ -3429,7 +3526,7 @@ var Action;
|
|
|
3429
3526
|
* ```js
|
|
3430
3527
|
* disabledActions: [Action.AxisMenuTextWrapping]
|
|
3431
3528
|
* ```
|
|
3432
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3529
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3433
3530
|
*/
|
|
3434
3531
|
Action["AxisMenuTextWrapping"] = "axisMenuTextWrapping";
|
|
3435
3532
|
/**
|
|
@@ -3441,7 +3538,7 @@ var Action;
|
|
|
3441
3538
|
* ```js
|
|
3442
3539
|
* disabledActions: [Action.AxisMenuRemove]
|
|
3443
3540
|
* ```
|
|
3444
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3541
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3445
3542
|
*/
|
|
3446
3543
|
Action["AxisMenuRemove"] = "axisMenuRemove";
|
|
3447
3544
|
/**
|
|
@@ -3455,26 +3552,27 @@ var Action;
|
|
|
3455
3552
|
* ```js
|
|
3456
3553
|
* disabledActions: [Action.RenameModalTitleDescription]
|
|
3457
3554
|
* ```
|
|
3458
|
-
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
|
|
3555
|
+
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl, 9.8.0.sw
|
|
3459
3556
|
*/
|
|
3460
3557
|
Action["RenameModalTitleDescription"] = "renameModalTitleDescription";
|
|
3461
3558
|
/**
|
|
3462
|
-
*
|
|
3559
|
+
* The *Request verification* action on a Liveboard.
|
|
3560
|
+
* Initiates a request for Liveboard verification.
|
|
3463
3561
|
* @example
|
|
3464
3562
|
* ```js
|
|
3465
3563
|
* disabledActions: [Action.RequestVerification]
|
|
3466
3564
|
* ```
|
|
3467
|
-
* @version SDK: 1.25.0 |
|
|
3565
|
+
* @version SDK: 1.25.0 | ThoughtSpot: 9.6.0.cl, 10.1.0.sw
|
|
3468
3566
|
*/
|
|
3469
3567
|
Action["RequestVerification"] = "requestVerification";
|
|
3470
3568
|
/**
|
|
3471
3569
|
*
|
|
3472
|
-
*Allows users to mark a Liveboard as verified.
|
|
3570
|
+
* Allows users to mark a Liveboard as verified.
|
|
3473
3571
|
* @example
|
|
3474
3572
|
* ```js
|
|
3475
3573
|
* disabledActions: [Action.MarkAsVerified]
|
|
3476
3574
|
* ```
|
|
3477
|
-
* @version SDK: 1.25.0 |
|
|
3575
|
+
* @version SDK: 1.25.0 | ThoughtSpot: 9.6.0.cl, 10.1.0.sw
|
|
3478
3576
|
*/
|
|
3479
3577
|
Action["MarkAsVerified"] = "markAsVerified";
|
|
3480
3578
|
/**
|
|
@@ -3484,7 +3582,7 @@ var Action;
|
|
|
3484
3582
|
* ```js
|
|
3485
3583
|
* disabledActions: [Action.AddTab]
|
|
3486
3584
|
* ```
|
|
3487
|
-
* @version SDK: 1.26.0 |
|
|
3585
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
3488
3586
|
*/
|
|
3489
3587
|
Action["AddTab"] = "addTab";
|
|
3490
3588
|
/**
|
|
@@ -3494,35 +3592,42 @@ var Action;
|
|
|
3494
3592
|
* ```js
|
|
3495
3593
|
* disabledActions: [Action.EnableContextualChangeAnalysis]
|
|
3496
3594
|
* ```
|
|
3497
|
-
* @version SDK: 1.25.0 |
|
|
3595
|
+
* @version SDK: 1.25.0 | ThoughtSpot Cloud: 9.6.0.cl
|
|
3498
3596
|
*/
|
|
3499
3597
|
Action["EnableContextualChangeAnalysis"] = "enableContextualChangeAnalysis";
|
|
3500
3598
|
/**
|
|
3599
|
+
* Action ID to hide or disable Natural Language Search query.
|
|
3501
3600
|
*
|
|
3502
3601
|
* @example
|
|
3503
3602
|
* ```js
|
|
3504
3603
|
* disabledActions: [Action.ShowSageQuery]
|
|
3505
3604
|
* ```
|
|
3506
|
-
* @version SDK: 1.26.0 |
|
|
3605
|
+
* @version SDK: 1.26.0 | ThoughtSpot Cloud: 9.7.0.cl
|
|
3507
3606
|
*/
|
|
3508
3607
|
Action["ShowSageQuery"] = "showSageQuery";
|
|
3509
3608
|
/**
|
|
3609
|
+
*
|
|
3610
|
+
* Action ID to hide or disable the edit option for the
|
|
3611
|
+
* results generated from the
|
|
3612
|
+
* Natural Language Search query.
|
|
3510
3613
|
*
|
|
3511
3614
|
* @example
|
|
3512
3615
|
* ```js
|
|
3513
3616
|
* disabledActions: [Action.EditSageAnswer]
|
|
3514
3617
|
* ```
|
|
3515
|
-
* @version SDK: 1.26.0 |
|
|
3618
|
+
* @version SDK: 1.26.0 | ThoughtSpot Cloud: 9.7.0.cl
|
|
3516
3619
|
*/
|
|
3517
3620
|
Action["EditSageAnswer"] = "editSageAnswer";
|
|
3518
3621
|
/**
|
|
3622
|
+
* The feedback widget for AI-generated Answers.
|
|
3623
|
+
* Allows users to send feedback on the Answers generated
|
|
3624
|
+
* from a Natural Language Search query.
|
|
3519
3625
|
*
|
|
3520
|
-
*This action allows users to send feedback on AI-generated Answers.
|
|
3521
3626
|
* @example
|
|
3522
3627
|
* ```js
|
|
3523
3628
|
* disabledActions: [Action.SageAnswerFeedback]
|
|
3524
3629
|
* ```
|
|
3525
|
-
* @version SDK: 1.26.0 |
|
|
3630
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl
|
|
3526
3631
|
*/
|
|
3527
3632
|
Action["SageAnswerFeedback"] = "sageAnswerFeedback";
|
|
3528
3633
|
/**
|
|
@@ -3531,7 +3636,7 @@ var Action;
|
|
|
3531
3636
|
* ```js
|
|
3532
3637
|
* disabledActions: [Action.ModifySageAnswer]
|
|
3533
3638
|
* ```
|
|
3534
|
-
* @version SDK: 1.26.0 |
|
|
3639
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl
|
|
3535
3640
|
*/
|
|
3536
3641
|
Action["ModifySageAnswer"] = "modifySageAnswer";
|
|
3537
3642
|
/**
|
|
@@ -3544,7 +3649,10 @@ var Action;
|
|
|
3544
3649
|
*/
|
|
3545
3650
|
Action["MoveToTab"] = "onContainerMove";
|
|
3546
3651
|
/**
|
|
3547
|
-
* The **Manage
|
|
3652
|
+
* The **Manage Alerts** menu action on KPI visualizations.
|
|
3653
|
+
* Allows creating, viewing, and editing monitor
|
|
3654
|
+
* alerts for a KPI chart.
|
|
3655
|
+
*
|
|
3548
3656
|
* @example
|
|
3549
3657
|
* ```js
|
|
3550
3658
|
* disabledActions: [Action.ManageMonitor]
|
|
@@ -3552,21 +3660,23 @@ var Action;
|
|
|
3552
3660
|
*/
|
|
3553
3661
|
Action["ManageMonitor"] = "manageMonitor";
|
|
3554
3662
|
/**
|
|
3555
|
-
*
|
|
3663
|
+
* The Liveboard Personalised Views dropdown.
|
|
3664
|
+
* Allows navigating to a personalized Liveboard View.
|
|
3556
3665
|
* @example
|
|
3557
3666
|
* ```js
|
|
3558
3667
|
* disabledActions: [Action.PersonalisedViewsDropdown]
|
|
3559
3668
|
* ```
|
|
3560
|
-
* @version SDK : 1.26.0 |
|
|
3669
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 10.1.0.sw
|
|
3561
3670
|
*/
|
|
3562
3671
|
Action["PersonalisedViewsDropdown"] = "personalisedViewsDropdown";
|
|
3563
3672
|
/**
|
|
3564
|
-
* Action ID for
|
|
3673
|
+
* Action ID for show or hide the user details on a
|
|
3674
|
+
* Liveboard (Recently visited / social proof)
|
|
3565
3675
|
* @example
|
|
3566
3676
|
* ```js
|
|
3567
3677
|
* disabledActions: [Action.LiveboardUsers]
|
|
3568
3678
|
* ```
|
|
3569
|
-
* @version SDK : 1.26.0 |
|
|
3679
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 10.1.0.sw
|
|
3570
3680
|
*/
|
|
3571
3681
|
Action["LiveboardUsers"] = "liveboardUsers";
|
|
3572
3682
|
/**
|
|
@@ -3584,108 +3694,124 @@ var Action;
|
|
|
3584
3694
|
* hiddenAction: [Action.TML] // hide all TML actions
|
|
3585
3695
|
* disabledActions: [Action.TML] // to disable all TML actions
|
|
3586
3696
|
* ```
|
|
3587
|
-
* @version SDK : 1.28.3 |
|
|
3697
|
+
* @version SDK : 1.28.3 | ThoughtSpot: 9.12.0.cl, 10.1.0.sw
|
|
3588
3698
|
*/
|
|
3589
3699
|
Action["TML"] = "tml";
|
|
3590
3700
|
/**
|
|
3591
|
-
*
|
|
3592
|
-
* and Pin modal
|
|
3701
|
+
* The **Create Liveboard* action on
|
|
3702
|
+
* the Liveboards page and the Pin modal.
|
|
3703
|
+
* Allows users to create a Liveboard.
|
|
3704
|
+
*
|
|
3593
3705
|
* @example
|
|
3594
3706
|
* ```js
|
|
3595
3707
|
* hiddenAction: [Action.CreateLiveboard]
|
|
3596
3708
|
* disabledActions: [Action.CreateLiveboard]
|
|
3597
3709
|
* ```
|
|
3598
|
-
* @version SDK: 1.32.0 |
|
|
3710
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
3599
3711
|
*/
|
|
3600
3712
|
Action["CreateLiveboard"] = "createLiveboard";
|
|
3601
3713
|
/**
|
|
3602
|
-
* Action ID for to hide
|
|
3714
|
+
* Action ID for to hide or disable the
|
|
3715
|
+
* Verified Liveboard banner.
|
|
3603
3716
|
* @example
|
|
3604
3717
|
* ```js
|
|
3605
3718
|
* hiddenAction: [Action.VerifiedLiveboard]
|
|
3606
3719
|
* ```
|
|
3607
|
-
* @version SDK: 1.29.0 |
|
|
3720
|
+
* @version SDK: 1.29.0 | ThoughtSpot: 9.10.0.cl, 10.1.0.sw
|
|
3608
3721
|
*/
|
|
3609
3722
|
Action["VerifiedLiveboard"] = "verifiedLiveboard";
|
|
3610
3723
|
/**
|
|
3611
|
-
*
|
|
3724
|
+
* The *Ask Sage* action for Answers and visualizations.
|
|
3725
|
+
* Allows initiating a Natural Language Search query.
|
|
3726
|
+
*
|
|
3612
3727
|
* @example
|
|
3613
3728
|
* ```js
|
|
3614
3729
|
* hiddenAction: [Action.AskAi]
|
|
3615
3730
|
* ```
|
|
3616
|
-
* @version SDK: 1.29.0 |
|
|
3731
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 9.12.0.cl
|
|
3617
3732
|
*/
|
|
3618
3733
|
Action["AskAi"] = "AskAi";
|
|
3619
3734
|
/**
|
|
3620
3735
|
* The **Add KPI to Watchlist** action on Home page watchlist.
|
|
3736
|
+
* Adds a KPI chart to the watchlist on the Home page.
|
|
3621
3737
|
* @example
|
|
3622
3738
|
* ```js
|
|
3623
3739
|
* disabledActions: [Action.AddToWatchlist]
|
|
3624
3740
|
* ```
|
|
3625
|
-
* @version SDK : 1.27.9 |
|
|
3741
|
+
* @version SDK : 1.27.9 | ThoughtSpot Cloud: 9.12.5.cl
|
|
3626
3742
|
*/
|
|
3627
3743
|
Action["AddToWatchlist"] = "addToWatchlist";
|
|
3628
3744
|
/**
|
|
3629
3745
|
* The **Remove from watchlist** menu action on KPI watchlist.
|
|
3746
|
+
* Removes a KPI chart from the watchlist on the Home page.
|
|
3630
3747
|
* @example
|
|
3631
3748
|
* ```js
|
|
3632
3749
|
* disabledActions: [Action.RemoveFromWatchlist]
|
|
3633
3750
|
* ```
|
|
3634
|
-
* @version SDK : 1.27.9 |
|
|
3751
|
+
* @version SDK : 1.27.9 | ThoughtSpot: 9.12.5.cl
|
|
3635
3752
|
*/
|
|
3636
3753
|
Action["RemoveFromWatchlist"] = "removeFromWatchlist";
|
|
3637
3754
|
/**
|
|
3638
|
-
* The **
|
|
3755
|
+
* The **Organize Favourites** action on Homepage
|
|
3756
|
+
* *Favorites* module.
|
|
3757
|
+
*
|
|
3639
3758
|
* @example
|
|
3640
3759
|
* ```js
|
|
3641
3760
|
* disabledActions: [Action.OrganiseFavourites]
|
|
3642
3761
|
* ```
|
|
3643
|
-
* @version SDK : 1.32.0 |
|
|
3762
|
+
* @version SDK : 1.32.0 | ThoughtSpot: 10.0.0.cl
|
|
3644
3763
|
*/
|
|
3645
3764
|
Action["OrganiseFavourites"] = "organiseFavourites";
|
|
3646
3765
|
/**
|
|
3647
|
-
*
|
|
3766
|
+
* The **AI Highlights** action on a Liveboard.
|
|
3767
|
+
*
|
|
3648
3768
|
* @example
|
|
3649
3769
|
* ```js
|
|
3650
3770
|
* hiddenAction: [Action.AIHighlights]
|
|
3651
3771
|
* ```
|
|
3652
|
-
* @version SDK: 1.27.10 |
|
|
3772
|
+
* @version SDK: 1.27.10 | ThoughtSpot Cloud: 9.12.5.cl
|
|
3653
3773
|
*/
|
|
3654
3774
|
Action["AIHighlights"] = "AIHighlights";
|
|
3655
3775
|
/**
|
|
3656
|
-
*
|
|
3776
|
+
* The *Edit* action on the *Liveboard Schedules* page
|
|
3777
|
+
* (new Homepage experience).
|
|
3778
|
+
* Allows editing Liveboard schedules.
|
|
3779
|
+
*
|
|
3657
3780
|
* @example
|
|
3658
3781
|
* ```js
|
|
3659
3782
|
* disabledActions: [Action.EditScheduleHomepage]
|
|
3660
3783
|
* ```
|
|
3661
|
-
* @version SDK: 1.34.0 |
|
|
3784
|
+
* @version SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3662
3785
|
*/
|
|
3663
3786
|
Action["EditScheduleHomepage"] = "editScheduleHomepage";
|
|
3664
3787
|
/**
|
|
3665
|
-
*
|
|
3788
|
+
* The *Pause* action on the *Liveboard Schedules* page
|
|
3789
|
+
* Pauses a scheduled Liveboard job.
|
|
3666
3790
|
* @example
|
|
3667
3791
|
* ```js
|
|
3668
3792
|
* disabledActions: [Action.PauseScheduleHomepage]
|
|
3669
3793
|
* ```
|
|
3670
|
-
* @version SDK: 1.34.0 |
|
|
3794
|
+
* @version SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3671
3795
|
*/
|
|
3672
3796
|
Action["PauseScheduleHomepage"] = "pauseScheduleHomepage";
|
|
3673
3797
|
/**
|
|
3674
|
-
*
|
|
3798
|
+
* The **View run history** action **Liveboard Schedules** page.
|
|
3799
|
+
* Allows viewing schedule run history.
|
|
3675
3800
|
* @example
|
|
3676
3801
|
* ```js
|
|
3677
3802
|
* disabledActions: [Action.ViewScheduleRunHomepage]
|
|
3678
3803
|
* ```
|
|
3679
|
-
* @version SDK: 1.34.0 |
|
|
3804
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
|
|
3680
3805
|
*/
|
|
3681
3806
|
Action["ViewScheduleRunHomepage"] = "viewScheduleRunHomepage";
|
|
3682
3807
|
/**
|
|
3683
|
-
* Action ID
|
|
3808
|
+
* Action ID to hide or disable the
|
|
3809
|
+
* unsubscribe option for Liveboard schedules.
|
|
3684
3810
|
* @example
|
|
3685
3811
|
* ```js
|
|
3686
3812
|
* disabledActions: [Action.UnsubscribeScheduleHomepage]
|
|
3687
3813
|
* ```
|
|
3688
|
-
* @version SDK: 1.34.0 |
|
|
3814
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
|
|
3689
3815
|
*/
|
|
3690
3816
|
Action["UnsubscribeScheduleHomepage"] = "unsubscribeScheduleHomepage";
|
|
3691
3817
|
/**
|
|
@@ -3694,16 +3820,17 @@ var Action;
|
|
|
3694
3820
|
* ```js
|
|
3695
3821
|
* disabledActions: [Action.ManageTags]
|
|
3696
3822
|
* ```
|
|
3697
|
-
* @version SDK : 1.34.0 |
|
|
3823
|
+
* @version SDK : 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3698
3824
|
*/
|
|
3699
3825
|
Action["ManageTags"] = "manageTags";
|
|
3700
3826
|
/**
|
|
3701
|
-
*
|
|
3827
|
+
* The **Delete** action on the **Liveboard Schedules* page.
|
|
3828
|
+
* Deletes a Liveboard schedule.
|
|
3702
3829
|
* @example
|
|
3703
3830
|
* ```js
|
|
3704
3831
|
* disabledActions: [Action.DeleteScheduleHomepage]
|
|
3705
3832
|
* ```
|
|
3706
|
-
* @version SDK: 1.34.0 |
|
|
3833
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
|
|
3707
3834
|
*/
|
|
3708
3835
|
Action["DeleteScheduleHomepage"] = "deleteScheduleHomepage";
|
|
3709
3836
|
/**
|
|
@@ -3712,7 +3839,7 @@ var Action;
|
|
|
3712
3839
|
* ```js
|
|
3713
3840
|
* disabledActions: [Action.KPIAnalysisCTA]
|
|
3714
3841
|
* ```
|
|
3715
|
-
* @version SDK: 1.34.0 |
|
|
3842
|
+
* @version SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3716
3843
|
*/
|
|
3717
3844
|
Action["KPIAnalysisCTA"] = "kpiAnalysisCTA";
|
|
3718
3845
|
/**
|
|
@@ -3721,61 +3848,73 @@ var Action;
|
|
|
3721
3848
|
* ```js
|
|
3722
3849
|
* const disabledActions = [Action.DisableChipReorder]
|
|
3723
3850
|
* ```
|
|
3724
|
-
* @version SDK: 1.36.0 |
|
|
3851
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3725
3852
|
*/
|
|
3726
3853
|
Action["DisableChipReorder"] = "disableChipReorder";
|
|
3727
3854
|
/**
|
|
3728
|
-
* Action ID
|
|
3855
|
+
* Action ID to show, hide, or disable filters
|
|
3856
|
+
* in a Liveboard tab.
|
|
3857
|
+
*
|
|
3729
3858
|
* @example
|
|
3730
3859
|
* ```js
|
|
3731
3860
|
* hiddenAction: [Action.ChangeFilterVisibilityInTab]
|
|
3732
3861
|
* ```
|
|
3733
|
-
* @version SDK: 1.36.0 |
|
|
3862
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3734
3863
|
*/
|
|
3735
3864
|
Action["ChangeFilterVisibilityInTab"] = "changeFilterVisibilityInTab";
|
|
3736
3865
|
/**
|
|
3737
|
-
*
|
|
3866
|
+
* The **Preview data** button on the Spotter interface.
|
|
3867
|
+
* Allows previewing the data used for Spotter queries.
|
|
3868
|
+
*
|
|
3738
3869
|
* @example
|
|
3739
3870
|
* ```js
|
|
3740
3871
|
* hiddenAction: [Action.PreviewDataSpotter]
|
|
3741
3872
|
* ```
|
|
3742
|
-
* @version SDK: 1.36.0 |
|
|
3873
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3743
3874
|
*/
|
|
3744
3875
|
Action["PreviewDataSpotter"] = "previewDataSpotter";
|
|
3745
3876
|
/**
|
|
3746
|
-
*
|
|
3877
|
+
* The **Reset** link on the Spotter interface.
|
|
3878
|
+
* Resets the conversation with Spotter.
|
|
3879
|
+
*
|
|
3747
3880
|
* @example
|
|
3748
3881
|
* ```js
|
|
3749
3882
|
* hiddenAction: [Action.ResetSpotterChat]
|
|
3750
3883
|
* ```
|
|
3751
|
-
* @version SDK: 1.36.0 |
|
|
3884
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3752
3885
|
*/
|
|
3753
3886
|
Action["ResetSpotterChat"] = "resetSpotterChat";
|
|
3754
3887
|
/**
|
|
3755
|
-
* Action ID for hide
|
|
3888
|
+
* Action ID for hide or disable the
|
|
3889
|
+
* Spotter feedback widget.
|
|
3890
|
+
*
|
|
3756
3891
|
* @example
|
|
3757
3892
|
* ```js
|
|
3758
3893
|
* hiddenAction: [Action.SpotterFeedback]
|
|
3759
3894
|
* ```
|
|
3760
|
-
* @version SDK: 1.36.0 |
|
|
3895
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3761
3896
|
*/
|
|
3762
3897
|
Action["SpotterFeedback"] = "spotterFeedback";
|
|
3763
3898
|
/**
|
|
3764
|
-
* Action ID for hide
|
|
3899
|
+
* Action ID for hide or disable
|
|
3900
|
+
* the previous prompt edit option in Spotter.
|
|
3901
|
+
*
|
|
3765
3902
|
* @example
|
|
3766
3903
|
* ```js
|
|
3767
3904
|
* hiddenAction: [Action.EditPreviousPrompt]
|
|
3768
3905
|
* ```
|
|
3769
|
-
* @version SDK: 1.36.0 |
|
|
3906
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3770
3907
|
*/
|
|
3771
3908
|
Action["EditPreviousPrompt"] = "editPreviousPrompt";
|
|
3772
3909
|
/**
|
|
3773
|
-
* Action ID for hide
|
|
3910
|
+
* Action ID for hide or disable
|
|
3911
|
+
* the previous prompt deletion option in Spotter.
|
|
3912
|
+
*
|
|
3774
3913
|
* @example
|
|
3775
3914
|
* ```js
|
|
3776
3915
|
* hiddenAction: [Action.DeletePreviousPrompt]
|
|
3777
3916
|
* ```
|
|
3778
|
-
* @version SDK: 1.36.0 |
|
|
3917
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3779
3918
|
*/
|
|
3780
3919
|
Action["DeletePreviousPrompt"] = "deletePreviousPrompt";
|
|
3781
3920
|
/**
|
|
@@ -3784,7 +3923,7 @@ var Action;
|
|
|
3784
3923
|
* ```js
|
|
3785
3924
|
* hiddenAction: [Action.EditTokens]
|
|
3786
3925
|
* ```
|
|
3787
|
-
* @version SDK: 1.36.0 |
|
|
3926
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3788
3927
|
*/
|
|
3789
3928
|
Action["EditTokens"] = "editTokens";
|
|
3790
3929
|
})(Action || (Action = {}));
|
|
@@ -3797,11 +3936,13 @@ var PrefetchFeatures;
|
|
|
3797
3936
|
})(PrefetchFeatures || (PrefetchFeatures = {}));
|
|
3798
3937
|
/**
|
|
3799
3938
|
* Enum for options to change context trigger
|
|
3939
|
+
* BOTH_CLICKS option is introduced in 10.7
|
|
3800
3940
|
*/
|
|
3801
3941
|
var ContextMenuTriggerOptions;
|
|
3802
3942
|
(function (ContextMenuTriggerOptions) {
|
|
3803
3943
|
ContextMenuTriggerOptions["LEFT_CLICK"] = "left-click";
|
|
3804
3944
|
ContextMenuTriggerOptions["RIGHT_CLICK"] = "right-click";
|
|
3945
|
+
ContextMenuTriggerOptions["BOTH_CLICKS"] = "both-clicks";
|
|
3805
3946
|
})(ContextMenuTriggerOptions || (ContextMenuTriggerOptions = {}));
|
|
3806
3947
|
var LogLevel;
|
|
3807
3948
|
(function (LogLevel) {
|
|
@@ -3814,7 +3955,7 @@ var LogLevel;
|
|
|
3814
3955
|
* logLevel: LogLevel.SILENT,
|
|
3815
3956
|
* })
|
|
3816
3957
|
* ```
|
|
3817
|
-
* @version SDK: 1.26.7 |
|
|
3958
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3818
3959
|
*/
|
|
3819
3960
|
LogLevel["SILENT"] = "SILENT";
|
|
3820
3961
|
/**
|
|
@@ -3826,7 +3967,7 @@ var LogLevel;
|
|
|
3826
3967
|
* logLevel: LogLevel.ERROR,
|
|
3827
3968
|
* })
|
|
3828
3969
|
* ```
|
|
3829
|
-
* @version SDK: 1.26.7 |
|
|
3970
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3830
3971
|
*/
|
|
3831
3972
|
LogLevel["ERROR"] = "ERROR";
|
|
3832
3973
|
/**
|
|
@@ -3838,7 +3979,7 @@ var LogLevel;
|
|
|
3838
3979
|
* logLevel: LogLevel.WARN,
|
|
3839
3980
|
* })
|
|
3840
3981
|
* ```
|
|
3841
|
-
* @version SDK: 1.26.7 |
|
|
3982
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3842
3983
|
*/
|
|
3843
3984
|
LogLevel["WARN"] = "WARN";
|
|
3844
3985
|
/**
|
|
@@ -3850,7 +3991,7 @@ var LogLevel;
|
|
|
3850
3991
|
* logLevel: LogLevel.INFO,
|
|
3851
3992
|
* })
|
|
3852
3993
|
* ```
|
|
3853
|
-
* @version SDK: 1.26.7 |
|
|
3994
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3854
3995
|
*/
|
|
3855
3996
|
LogLevel["INFO"] = "INFO";
|
|
3856
3997
|
/**
|
|
@@ -3862,7 +4003,7 @@ var LogLevel;
|
|
|
3862
4003
|
* logLevel: LogLevel.DEBUG,
|
|
3863
4004
|
* })
|
|
3864
4005
|
* ```
|
|
3865
|
-
* @version SDK: 1.26.7 |
|
|
4006
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3866
4007
|
*/
|
|
3867
4008
|
LogLevel["DEBUG"] = "DEBUG";
|
|
3868
4009
|
/**
|
|
@@ -3874,7 +4015,7 @@ var LogLevel;
|
|
|
3874
4015
|
* logLevel: LogLevel.TRACE,
|
|
3875
4016
|
* })
|
|
3876
4017
|
* ```
|
|
3877
|
-
* @version SDK: 1.26.7 |
|
|
4018
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3878
4019
|
*/
|
|
3879
4020
|
LogLevel["TRACE"] = "TRACE";
|
|
3880
4021
|
})(LogLevel || (LogLevel = {}));
|
|
@@ -7058,7 +7199,7 @@ class AnswerService {
|
|
|
7058
7199
|
async getTML() {
|
|
7059
7200
|
const { object } = await this.executeQuery(getAnswerTML, {});
|
|
7060
7201
|
const edoc = object[0].edoc;
|
|
7061
|
-
const YAML = await import('./index-
|
|
7202
|
+
const YAML = await import('./index-D-9WUCUl.js');
|
|
7062
7203
|
const parsedDoc = YAML.parse(edoc);
|
|
7063
7204
|
return {
|
|
7064
7205
|
answer: {
|
|
@@ -14744,7 +14885,7 @@ function processEventData(type, e, thoughtSpotHost, containerEl) {
|
|
|
14744
14885
|
return e;
|
|
14745
14886
|
}
|
|
14746
14887
|
|
|
14747
|
-
var name="@thoughtspot/visual-embed-sdk";var version$1="1.35.
|
|
14888
|
+
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={".":{"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,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};
|
|
14748
14889
|
|
|
14749
14890
|
/**
|
|
14750
14891
|
* Reloads the ThoughtSpot iframe.
|
|
@@ -14809,7 +14950,7 @@ var UIPassthroughEvent;
|
|
|
14809
14950
|
UIPassthroughEvent["PinAnswerToLiveboard"] = "addVizToPinboard";
|
|
14810
14951
|
UIPassthroughEvent["SaveAnswer"] = "saveAnswer";
|
|
14811
14952
|
UIPassthroughEvent["GetDiscoverabilityStatus"] = "getDiscoverabilityStatus";
|
|
14812
|
-
UIPassthroughEvent["GetAvailableUIPassthroughs"] = "
|
|
14953
|
+
UIPassthroughEvent["GetAvailableUIPassthroughs"] = "getAvailableUiPassthroughs";
|
|
14813
14954
|
UIPassthroughEvent["GetAnswerConfig"] = "getAnswerPageConfig";
|
|
14814
14955
|
UIPassthroughEvent["GetLiveboardConfig"] = "getPinboardPageConfig";
|
|
14815
14956
|
})(UIPassthroughEvent || (UIPassthroughEvent = {}));
|
|
@@ -15265,10 +15406,13 @@ class TsEmbed {
|
|
|
15265
15406
|
* menu click
|
|
15266
15407
|
*/
|
|
15267
15408
|
if (contextMenuTrigger === ContextMenuTriggerOptions.LEFT_CLICK) {
|
|
15268
|
-
queryParams[Param.ContextMenuTrigger] =
|
|
15409
|
+
queryParams[Param.ContextMenuTrigger] = 'left';
|
|
15269
15410
|
}
|
|
15270
15411
|
else if (contextMenuTrigger === ContextMenuTriggerOptions.RIGHT_CLICK) {
|
|
15271
|
-
queryParams[Param.ContextMenuTrigger] =
|
|
15412
|
+
queryParams[Param.ContextMenuTrigger] = 'right';
|
|
15413
|
+
}
|
|
15414
|
+
else if (contextMenuTrigger === ContextMenuTriggerOptions.BOTH_CLICKS) {
|
|
15415
|
+
queryParams[Param.ContextMenuTrigger] = 'both';
|
|
15272
15416
|
}
|
|
15273
15417
|
const spriteUrl = (customizations === null || customizations === void 0 ? void 0 : customizations.iconSpriteUrl)
|
|
15274
15418
|
|| ((_c = this.embedConfig.customizations) === null || _c === void 0 ? void 0 : _c.iconSpriteUrl);
|
|
@@ -16540,10 +16684,11 @@ class LiveboardEmbed extends V1Embed {
|
|
|
16540
16684
|
}
|
|
16541
16685
|
/**
|
|
16542
16686
|
* Triggers an event to the embedded app
|
|
16543
|
-
* @param messageType The event type
|
|
16544
|
-
* @param data The payload to send with the message
|
|
16687
|
+
* @param {HostEvent} messageType The event type
|
|
16688
|
+
* @param {any} data The payload to send with the message
|
|
16689
|
+
* @returns A promise that resolves with the response from the embedded app
|
|
16545
16690
|
*/
|
|
16546
|
-
trigger(messageType, data) {
|
|
16691
|
+
trigger(messageType, data = {}) {
|
|
16547
16692
|
const dataWithVizId = data;
|
|
16548
16693
|
if (messageType === HostEvent.SetActiveTab) {
|
|
16549
16694
|
this.setActiveTab(data);
|