@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-react.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
|
import * as React from 'react';
|
|
3
3
|
import React__default from 'react';
|
|
4
4
|
|
|
@@ -473,7 +473,7 @@ const getTypeFromValue = (value) => {
|
|
|
473
473
|
var AuthType;
|
|
474
474
|
(function (AuthType) {
|
|
475
475
|
/**
|
|
476
|
-
* No authentication on the SDK.
|
|
476
|
+
* No authentication on the SDK. Pass-through to the embedded App. Alias for
|
|
477
477
|
* `Passthrough`.
|
|
478
478
|
* @example
|
|
479
479
|
* ```js
|
|
@@ -734,7 +734,7 @@ var RuntimeFilterOp;
|
|
|
734
734
|
* **Note**: This option does not apply to the classic homepage.
|
|
735
735
|
* To access the updated modular homepage, set
|
|
736
736
|
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
737
|
-
* @version SDK: 1.28.0 |
|
|
737
|
+
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl, 10.1.0.sw
|
|
738
738
|
*/
|
|
739
739
|
// eslint-disable-next-line no-shadow
|
|
740
740
|
var HomepageModule;
|
|
@@ -1547,7 +1547,7 @@ var EmbedEvent;
|
|
|
1547
1547
|
*/
|
|
1548
1548
|
EmbedEvent["Explore"] = "explore";
|
|
1549
1549
|
/**
|
|
1550
|
-
* Emitted when a user clicks **Copy link** action on a visualization
|
|
1550
|
+
* Emitted when a user clicks **Copy link** action on a visualization.
|
|
1551
1551
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
1552
1552
|
* @example
|
|
1553
1553
|
*```js
|
|
@@ -1597,23 +1597,26 @@ var EmbedEvent;
|
|
|
1597
1597
|
*/
|
|
1598
1598
|
EmbedEvent["FilterChanged"] = "filterChanged";
|
|
1599
1599
|
/**
|
|
1600
|
-
* Emitted when a user clicks the **Go** button
|
|
1601
|
-
*
|
|
1600
|
+
* Emitted when a user clicks the **Go** button to initiate
|
|
1601
|
+
* a Natural Language Search query
|
|
1602
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1602
1603
|
*/
|
|
1603
1604
|
EmbedEvent["SageEmbedQuery"] = "sageEmbedQuery";
|
|
1604
1605
|
/**
|
|
1605
|
-
* Emitted when a user selects a data source on the
|
|
1606
|
-
*
|
|
1606
|
+
* Emitted when a user selects a data source on the embedded
|
|
1607
|
+
* Natural Language Search interface.
|
|
1608
|
+
*
|
|
1609
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1607
1610
|
*/
|
|
1608
1611
|
EmbedEvent["SageWorksheetUpdated"] = "sageWorksheetUpdated";
|
|
1609
1612
|
/**
|
|
1610
1613
|
* Emitted when a user updates a connection on the **Data** page
|
|
1611
|
-
* @version SDK : 1.27.0 |
|
|
1614
|
+
* @version SDK : 1.27.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
1612
1615
|
*/
|
|
1613
1616
|
EmbedEvent["UpdateConnection"] = "updateConnection";
|
|
1614
1617
|
/**
|
|
1615
1618
|
* Emitted when a user updates a connection on the **Data** page
|
|
1616
|
-
* @version SDK : 1.27.0 |
|
|
1619
|
+
* @version SDK : 1.27.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
1617
1620
|
*/
|
|
1618
1621
|
EmbedEvent["CreateConnection"] = "createConnection";
|
|
1619
1622
|
/**
|
|
@@ -1623,7 +1626,7 @@ var EmbedEvent;
|
|
|
1623
1626
|
* @returns viewId: string
|
|
1624
1627
|
* @returns liveboardId: string
|
|
1625
1628
|
* @returns isPublic: boolean
|
|
1626
|
-
* @version SDK : 1.26.0 |
|
|
1629
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1627
1630
|
*/
|
|
1628
1631
|
EmbedEvent["UpdatePersonalisedView"] = "updatePersonalisedView";
|
|
1629
1632
|
/**
|
|
@@ -1632,7 +1635,7 @@ var EmbedEvent;
|
|
|
1632
1635
|
* @returns viewId: string
|
|
1633
1636
|
* @returns liveboardId: string
|
|
1634
1637
|
* @returns isPublic: boolean
|
|
1635
|
-
* @version SDK : 1.26.0 |
|
|
1638
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1636
1639
|
*/
|
|
1637
1640
|
EmbedEvent["SavePersonalisedView"] = "savePersonalisedView";
|
|
1638
1641
|
/**
|
|
@@ -1641,28 +1644,28 @@ var EmbedEvent;
|
|
|
1641
1644
|
* @returns viewId: string
|
|
1642
1645
|
* @returns liveboardId: string
|
|
1643
1646
|
* @returns isPublic: boolean
|
|
1644
|
-
* @version SDK : 1.26.0 |
|
|
1647
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1645
1648
|
*/
|
|
1646
1649
|
EmbedEvent["ResetLiveboard"] = "resetLiveboard";
|
|
1647
1650
|
/**
|
|
1648
1651
|
* Emitted when a PersonalisedView is deleted.
|
|
1649
1652
|
* @returns views: string[]
|
|
1650
1653
|
* @returns liveboardId: string
|
|
1651
|
-
* @version SDK : 1.26.0 |
|
|
1654
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1652
1655
|
*/
|
|
1653
1656
|
EmbedEvent["DeletePersonalisedView"] = "deletePersonalisedView";
|
|
1654
1657
|
/**
|
|
1655
1658
|
* Emitted when a user creates a new worksheet
|
|
1656
|
-
* @version SDK : 1.27.0 |
|
|
1659
|
+
* @version SDK : 1.27.0 | ThoughtSpot Cloud: 9.8.0.cl
|
|
1657
1660
|
*/
|
|
1658
1661
|
EmbedEvent["CreateWorksheet"] = "createWorksheet";
|
|
1659
1662
|
/**
|
|
1660
|
-
* Emitted when Ask Sage is initialized.
|
|
1663
|
+
* Emitted when the *Ask Sage* is initialized.
|
|
1661
1664
|
* @returns viewName: string
|
|
1662
1665
|
* @returns viewId: string
|
|
1663
1666
|
* @returns liveboardId: string
|
|
1664
1667
|
* @returns isPublic: boolean
|
|
1665
|
-
* @version SDK : 1.29.0 |
|
|
1668
|
+
* @version SDK : 1.29.0 | ThoughtSpot Cloud: 9.12.0.cl
|
|
1666
1669
|
*/
|
|
1667
1670
|
EmbedEvent["AskSageInit"] = "AskSageInit";
|
|
1668
1671
|
/**
|
|
@@ -1690,7 +1693,7 @@ var EmbedEvent;
|
|
|
1690
1693
|
*
|
|
1691
1694
|
* error: Developers can customize the error message text when `execute`
|
|
1692
1695
|
* returns `false` using the error parameter in responder.
|
|
1693
|
-
* @version SDK : 1.29.0 |
|
|
1696
|
+
* @version SDK : 1.29.0 | ThoughtSpot : 10.3.0.cl
|
|
1694
1697
|
* @example
|
|
1695
1698
|
*```js
|
|
1696
1699
|
* .on(EmbedEvent.OnBeforeGetVizDataIntercept,
|
|
@@ -1738,9 +1741,26 @@ var EmbedEvent;
|
|
|
1738
1741
|
* console.log('payload', payload);
|
|
1739
1742
|
* })
|
|
1740
1743
|
*```
|
|
1741
|
-
* @version SDK : 1.29.0 |
|
|
1744
|
+
* @version SDK : 1.29.0 | ThoughtSpot : 10.3.0.cl
|
|
1742
1745
|
*/
|
|
1743
1746
|
EmbedEvent["ParameterChanged"] = "parameterChanged";
|
|
1747
|
+
/**
|
|
1748
|
+
* Emitted when the table viz renders.
|
|
1749
|
+
* You can use this event as a hook to trigger
|
|
1750
|
+
* other events on the rendered table viz data.
|
|
1751
|
+
* @example
|
|
1752
|
+
* ```js
|
|
1753
|
+
* searchEmbed.on(EmbedEvent.TableVizRendered, (payload) => {
|
|
1754
|
+
* console.log(payload);
|
|
1755
|
+
* const columnDataLite = payload.data.data.columnDataLite;
|
|
1756
|
+
* columnDataLite[0].dataValue[0]="new fob";
|
|
1757
|
+
* console.log('>>> new Data', columnDataLite);
|
|
1758
|
+
* searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
|
|
1759
|
+
* })
|
|
1760
|
+
* ```
|
|
1761
|
+
* @version SDK: 1.35.12 | ThoughtSpot: 10.7.0.cl
|
|
1762
|
+
*/
|
|
1763
|
+
EmbedEvent["TableVizRendered"] = "TableVizRendered";
|
|
1744
1764
|
})(EmbedEvent || (EmbedEvent = {}));
|
|
1745
1765
|
/**
|
|
1746
1766
|
* Event types that can be triggered by the host application
|
|
@@ -1887,7 +1907,7 @@ var HostEvent;
|
|
|
1887
1907
|
* const url = embed.trigger(HostEvent.GetIframeUrl);
|
|
1888
1908
|
* console.log("iFrameURL",url);
|
|
1889
1909
|
* ```
|
|
1890
|
-
* @version SDK: 1.35.0 |
|
|
1910
|
+
* @version SDK: 1.35.0 | ThoughtSpot: 10.4.0.cl
|
|
1891
1911
|
*/
|
|
1892
1912
|
HostEvent["GetIframeUrl"] = "GetIframeUrl";
|
|
1893
1913
|
/**
|
|
@@ -1920,6 +1940,11 @@ var HostEvent;
|
|
|
1920
1940
|
* attributes passed with this event are appended to the existing runtime
|
|
1921
1941
|
* filters applied on a Liveboard.
|
|
1922
1942
|
*
|
|
1943
|
+
* **Note**: `HostEvent.UpdateRuntimeFilters` is supported in `LiveboardEmbed`
|
|
1944
|
+
* and `AppEmbed` only. In full application embedding, this event updates
|
|
1945
|
+
* the runtime filters applied on the Liveboard and saved Answer objects.
|
|
1946
|
+
*
|
|
1947
|
+
*
|
|
1923
1948
|
* Pass an array of runtime filters with the following attributes:
|
|
1924
1949
|
*
|
|
1925
1950
|
* `columnName` - _String_. The name of the column to filter on.
|
|
@@ -1930,9 +1955,12 @@ var HostEvent;
|
|
|
1930
1955
|
* `values` - List of operands. Some operators such as EQ and LE allow a
|
|
1931
1956
|
* single value, whereas BW and IN accept multiple values.
|
|
1932
1957
|
*
|
|
1933
|
-
* **Note**:
|
|
1934
|
-
*
|
|
1935
|
-
*
|
|
1958
|
+
* **Note**: Updating runtime filters resets the ThoughtSpot
|
|
1959
|
+
* object to its original state and applies new filter conditions.
|
|
1960
|
+
* Any user changes (like drilling into a visualization)
|
|
1961
|
+
* will be cleared, restoring the original visualization
|
|
1962
|
+
* with the updated filters.
|
|
1963
|
+
*
|
|
1936
1964
|
* @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
|
|
1937
1965
|
* @example
|
|
1938
1966
|
* ```js
|
|
@@ -1947,7 +1975,7 @@ var HostEvent;
|
|
|
1947
1975
|
HostEvent["UpdateRuntimeFilters"] = "UpdateRuntimeFilters";
|
|
1948
1976
|
/**
|
|
1949
1977
|
* Navigate to a specific page in the embedded ThoughtSpot application.
|
|
1950
|
-
* This is the same as calling `appEmbed.navigateToPage(path, true)
|
|
1978
|
+
* This is the same as calling `appEmbed.navigateToPage(path, true)`.
|
|
1951
1979
|
* @param - `path` - the path to navigate to to go forward or back. The path value can
|
|
1952
1980
|
* be a number; for example, `1`, `-1`.
|
|
1953
1981
|
* @example
|
|
@@ -2143,7 +2171,7 @@ var HostEvent;
|
|
|
2143
2171
|
* @param - an object with `vizId` as a key
|
|
2144
2172
|
* @example
|
|
2145
2173
|
* ```js
|
|
2146
|
-
* liveboardEmbed.trigger(HostEvent.CreateMonitor {
|
|
2174
|
+
* liveboardEmbed.trigger(HostEvent.CreateMonitor, {
|
|
2147
2175
|
* vizId: '730496d6-6903-4601-937e-2c691821af3c'
|
|
2148
2176
|
* })
|
|
2149
2177
|
* ```
|
|
@@ -2242,7 +2270,9 @@ var HostEvent;
|
|
|
2242
2270
|
*/
|
|
2243
2271
|
HostEvent["GetTML"] = "getTML";
|
|
2244
2272
|
/**
|
|
2245
|
-
* Trigger the **Show underlying data** action on
|
|
2273
|
+
* Trigger the **Show underlying data** action on a
|
|
2274
|
+
* chart or table.
|
|
2275
|
+
*
|
|
2246
2276
|
* @param - an object with vizId as a key
|
|
2247
2277
|
* @example
|
|
2248
2278
|
* ```js
|
|
@@ -2276,8 +2306,8 @@ var HostEvent;
|
|
|
2276
2306
|
*/
|
|
2277
2307
|
HostEvent["Delete"] = "onDeleteAnswer";
|
|
2278
2308
|
/**
|
|
2279
|
-
* Trigger the **SpotIQ analyze** action on
|
|
2280
|
-
* or
|
|
2309
|
+
* Trigger the **SpotIQ analyze** action on a
|
|
2310
|
+
* chart or table.
|
|
2281
2311
|
* @param - Liveboard embed takes `vizId` as a
|
|
2282
2312
|
* key. Can be left undefined when embedding Search or
|
|
2283
2313
|
* visualization.
|
|
@@ -2550,7 +2580,7 @@ var HostEvent;
|
|
|
2550
2580
|
* '430496d6-6903-4601-937e-2c691821af3c',
|
|
2551
2581
|
* 'f547ec54-2a37-4516-a222-2b06719af726'])
|
|
2552
2582
|
* ```
|
|
2553
|
-
* @version SDK: 1.26.0 |
|
|
2583
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
2554
2584
|
*/
|
|
2555
2585
|
HostEvent["SetVisibleTabs"] = "SetPinboardVisibleTabs";
|
|
2556
2586
|
/**
|
|
@@ -2563,7 +2593,7 @@ var HostEvent;
|
|
|
2563
2593
|
* '630496d6-6903-4601-937e-2c691821af3c',
|
|
2564
2594
|
* 'i547ec54-2a37-4516-a222-2b06719af726'])
|
|
2565
2595
|
* ```
|
|
2566
|
-
* @version SDK: 1.26.0 |
|
|
2596
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
2567
2597
|
*/
|
|
2568
2598
|
HostEvent["SetHiddenTabs"] = "SetPinboardHiddenTabs";
|
|
2569
2599
|
/**
|
|
@@ -2577,7 +2607,7 @@ var HostEvent;
|
|
|
2577
2607
|
* executeSearch: true,
|
|
2578
2608
|
* })
|
|
2579
2609
|
* ```
|
|
2580
|
-
* @version SDK: 1.26.0 |
|
|
2610
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
2581
2611
|
*/
|
|
2582
2612
|
HostEvent["UpdateSageQuery"] = "updateSageQuery";
|
|
2583
2613
|
/**
|
|
@@ -2594,21 +2624,22 @@ var HostEvent;
|
|
|
2594
2624
|
* ```js
|
|
2595
2625
|
* const {session} = await embed.trigger( HostEvent.GetAnswerSession )
|
|
2596
2626
|
* ```
|
|
2597
|
-
* @version SDK: 1.26.0 |
|
|
2627
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.10.0.cl, 10.1.0.sw
|
|
2598
2628
|
*/
|
|
2599
2629
|
HostEvent["GetAnswerSession"] = "getAnswerSession";
|
|
2600
2630
|
/**
|
|
2601
|
-
* Trigger Ask Sage for
|
|
2631
|
+
* Trigger the *Ask Sage* action for visualizations
|
|
2602
2632
|
* @example
|
|
2603
2633
|
* ```js
|
|
2604
2634
|
* liveboardEmbed.trigger(HostEvent.AskSage,
|
|
2605
2635
|
* {vizId:'730496d6-6903-4601-937e-2c691821af3c'})
|
|
2606
2636
|
* ```
|
|
2607
|
-
* @version SDK: 1.29.0 |
|
|
2637
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 9.12.0.cl
|
|
2608
2638
|
*/
|
|
2609
2639
|
HostEvent["AskSage"] = "AskSage";
|
|
2610
2640
|
/**
|
|
2611
|
-
* Trigger cross filter update action on a Liveboard
|
|
2641
|
+
* Trigger cross filter update action on a Liveboard.
|
|
2642
|
+
*
|
|
2612
2643
|
* @example
|
|
2613
2644
|
* ```js
|
|
2614
2645
|
* liveboardEmbed.trigger(HostEvent.UpdateCrossFilter, {
|
|
@@ -2619,7 +2650,7 @@ var HostEvent;
|
|
|
2619
2650
|
* ],
|
|
2620
2651
|
* });
|
|
2621
2652
|
* ```
|
|
2622
|
-
* @version SDK: 1.29.0 |
|
|
2653
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 10.0.0.cl, 10.1.0.sw
|
|
2623
2654
|
*/
|
|
2624
2655
|
HostEvent["UpdateCrossFilter"] = "UpdateCrossFilter";
|
|
2625
2656
|
/**
|
|
@@ -2628,11 +2659,13 @@ var HostEvent;
|
|
|
2628
2659
|
* ```js
|
|
2629
2660
|
* liveboardEmbed.trigger(HostEvent.ResetLiveboardPersonalisedView);
|
|
2630
2661
|
* ```
|
|
2631
|
-
* @version SDK: 1.29.0 |
|
|
2662
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 10.1.0.cl, 10.1.0.sw
|
|
2632
2663
|
*/
|
|
2633
2664
|
HostEvent["ResetLiveboardPersonalisedView"] = "ResetLiveboardPersonalisedView";
|
|
2634
2665
|
/**
|
|
2635
|
-
* Triggers an
|
|
2666
|
+
* Triggers an action to update Parameter values on embedded
|
|
2667
|
+
* Answers and Liveboard.
|
|
2668
|
+
*
|
|
2636
2669
|
* @example
|
|
2637
2670
|
* ```js
|
|
2638
2671
|
* liveboardEmbed.trigger(HostEvent.UpdateParameters, [{
|
|
@@ -2640,30 +2673,30 @@ var HostEvent;
|
|
|
2640
2673
|
* value: "almond"
|
|
2641
2674
|
* }])
|
|
2642
2675
|
*
|
|
2643
|
-
* @version SDK: 1.29.0 |
|
|
2676
|
+
* @version SDK: 1.29.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
2644
2677
|
*/
|
|
2645
2678
|
HostEvent["UpdateParameters"] = "UpdateParameters";
|
|
2646
2679
|
/**
|
|
2647
|
-
* Triggers GetParameters to fetch the runtime
|
|
2680
|
+
* Triggers GetParameters to fetch the runtime Parameters.
|
|
2648
2681
|
* ```js
|
|
2649
2682
|
* liveboardEmbed.trigger(HostEvent.GetParameters).then((parameter) => {
|
|
2650
2683
|
* console.log('parameters', parameter);
|
|
2651
2684
|
* });
|
|
2652
2685
|
*```
|
|
2653
|
-
* @version SDK: 1.29.0 |
|
|
2686
|
+
* @version SDK: 1.29.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
2654
2687
|
*/
|
|
2655
2688
|
HostEvent["GetParameters"] = "GetParameters";
|
|
2656
2689
|
/**
|
|
2657
|
-
* Triggers an event to update a
|
|
2690
|
+
* Triggers an event to update a personalized view of a Liveboard.
|
|
2658
2691
|
* ```js
|
|
2659
2692
|
* liveboardEmbed.trigger(HostEvent.UpdatePersonalisedView, {viewId: '1234'})
|
|
2660
2693
|
* ```
|
|
2661
|
-
* @version SDK: 1.36.0 |
|
|
2694
|
+
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
|
|
2662
2695
|
*/
|
|
2663
2696
|
HostEvent["UpdatePersonalisedView"] = "UpdatePersonalisedView";
|
|
2664
2697
|
/**
|
|
2665
|
-
* Triggers the action to get the current view of the
|
|
2666
|
-
* @version SDK: 1.36.0 |
|
|
2698
|
+
* Triggers the action to get the current view of the Liveboard.
|
|
2699
|
+
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
|
|
2667
2700
|
*/
|
|
2668
2701
|
HostEvent["SaveAnswer"] = "saveAnswer";
|
|
2669
2702
|
/**
|
|
@@ -2671,6 +2704,25 @@ var HostEvent;
|
|
|
2671
2704
|
* @hidden
|
|
2672
2705
|
*/
|
|
2673
2706
|
HostEvent["UIPassthrough"] = "UiPassthrough";
|
|
2707
|
+
/**
|
|
2708
|
+
* Triggers the table viz rerender with the updated data.
|
|
2709
|
+
* Includes the following properties:
|
|
2710
|
+
* @param - columnDataLite - an array of object containing data
|
|
2711
|
+
* transformed from data picked from TableVizRendered event.
|
|
2712
|
+
* For example, { columnDataLite: []}
|
|
2713
|
+
* @example
|
|
2714
|
+
* ```js
|
|
2715
|
+
* searchEmbed.on(EmbedEvent.TableVizRendered, (payload) => {
|
|
2716
|
+
* console.log(payload);
|
|
2717
|
+
* const columnDataLite = payload.data.data.columnDataLite;
|
|
2718
|
+
* columnDataLite[0].dataValue[0]="new fob";
|
|
2719
|
+
* console.log('>>> new Data', columnDataLite);
|
|
2720
|
+
* searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
|
|
2721
|
+
* })
|
|
2722
|
+
* ```
|
|
2723
|
+
* @version SDK: 1.35.12 | ThoughtSpot: 10.7.0.cl
|
|
2724
|
+
*/
|
|
2725
|
+
HostEvent["TransformTableVizData"] = "TransformTableVizData";
|
|
2674
2726
|
})(HostEvent || (HostEvent = {}));
|
|
2675
2727
|
/**
|
|
2676
2728
|
* The different visual modes that the data sources panel within
|
|
@@ -2737,7 +2789,12 @@ var Param;
|
|
|
2737
2789
|
Param["AuthType"] = "authType";
|
|
2738
2790
|
Param["IconSpriteUrl"] = "iconSprite";
|
|
2739
2791
|
Param["cookieless"] = "cookieless";
|
|
2740
|
-
|
|
2792
|
+
// Deprecated: `isContextMenuEnabledOnLeftClick`
|
|
2793
|
+
// Introduced: `contextMenuEnabledOnWhichClick` with values: 'left',
|
|
2794
|
+
// 'right', or 'both'. This update only affects ThoughtSpot URL parameters
|
|
2795
|
+
// and does not impact existing workflows or use cases. Added support for
|
|
2796
|
+
// 'both' clicks in `contextMenuTrigger` configuration.
|
|
2797
|
+
Param["ContextMenuTrigger"] = "contextMenuEnabledOnWhichClick";
|
|
2741
2798
|
Param["LinkOverride"] = "linkOverride";
|
|
2742
2799
|
Param["blockNonEmbedFullAppAccess"] = "blockNonEmbedFullAppAccess";
|
|
2743
2800
|
Param["ShowInsertToSlide"] = "insertInToSlide";
|
|
@@ -2890,7 +2947,8 @@ var Action;
|
|
|
2890
2947
|
Action["ResetLayout"] = "resetLayout";
|
|
2891
2948
|
/**
|
|
2892
2949
|
* The **Schedule** menu action on a Liveboard.
|
|
2893
|
-
* Allows scheduling a Liveboard
|
|
2950
|
+
* Allows scheduling a Liveboard job, for example,
|
|
2951
|
+
* sending periodic notifications.
|
|
2894
2952
|
* @example
|
|
2895
2953
|
* ```js
|
|
2896
2954
|
* disabledActions: [Action.Schedule]
|
|
@@ -2932,7 +2990,7 @@ var Action;
|
|
|
2932
2990
|
* ```js
|
|
2933
2991
|
* disabledActions: [Action.AddDataPanelObjects]
|
|
2934
2992
|
* ```
|
|
2935
|
-
* @version SDK: 1.32.0 |
|
|
2993
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl, 10.1.0.sw
|
|
2936
2994
|
*/
|
|
2937
2995
|
Action["AddDataPanelObjects"] = "addDataPanelObjects";
|
|
2938
2996
|
/**
|
|
@@ -2945,7 +3003,28 @@ var Action;
|
|
|
2945
3003
|
* ```
|
|
2946
3004
|
*/
|
|
2947
3005
|
Action["ConfigureFilter"] = "configureFilter";
|
|
3006
|
+
/**
|
|
3007
|
+
* The **Collapse data sources** icon on the Search page.
|
|
3008
|
+
* Collapses the panel showing data sources.
|
|
3009
|
+
*
|
|
3010
|
+
* @example
|
|
3011
|
+
* ```js
|
|
3012
|
+
* disabledActions: [Action.CollapseDataPanel]
|
|
3013
|
+
* ```
|
|
3014
|
+
* @version: SDK: 1.1.0 | ThoughtSpot Cloud: ts7.may.cl, 8.4.1.sw
|
|
3015
|
+
*/
|
|
2948
3016
|
Action["CollapseDataSources"] = "collapseDataSources";
|
|
3017
|
+
/**
|
|
3018
|
+
* The **Collapse data panel** icon on the Search page.
|
|
3019
|
+
* Collapses the data panel view.
|
|
3020
|
+
*
|
|
3021
|
+
* @version: SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl, 10.7.0.sw
|
|
3022
|
+
*
|
|
3023
|
+
* @example
|
|
3024
|
+
* ```js
|
|
3025
|
+
* disabledActions: [Action.CollapseDataPanel]
|
|
3026
|
+
* ```
|
|
3027
|
+
*/
|
|
2949
3028
|
Action["CollapseDataPanel"] = "collapseDataPanel";
|
|
2950
3029
|
/**
|
|
2951
3030
|
* The **Choose sources** button on Search page.
|
|
@@ -2981,7 +3060,7 @@ var Action;
|
|
|
2981
3060
|
* ```js
|
|
2982
3061
|
* disabledActions: [Action.AddColumnSet]
|
|
2983
3062
|
* ```
|
|
2984
|
-
* @version SDK: 1.32.0 |
|
|
3063
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl, 10.1.0.sw
|
|
2985
3064
|
*/
|
|
2986
3065
|
Action["AddColumnSet"] = "addSimpleCohort";
|
|
2987
3066
|
/**
|
|
@@ -2991,7 +3070,7 @@ var Action;
|
|
|
2991
3070
|
* ```js
|
|
2992
3071
|
* disabledActions: [Action.AddQuerySet]
|
|
2993
3072
|
* ```
|
|
2994
|
-
* @version SDK: 1.32.0 |
|
|
3073
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl, 10.1.0.sw
|
|
2995
3074
|
*/
|
|
2996
3075
|
Action["AddQuerySet"] = "addAdvancedCohort";
|
|
2997
3076
|
/**
|
|
@@ -3023,6 +3102,8 @@ var Action;
|
|
|
3023
3102
|
/**
|
|
3024
3103
|
* The **Show underlying data** menu action on a visualization or
|
|
3025
3104
|
* Answer page.
|
|
3105
|
+
* Displays detailed information and raw data
|
|
3106
|
+
* for a given visualization.
|
|
3026
3107
|
* @example
|
|
3027
3108
|
* ```js
|
|
3028
3109
|
* disabledActions: [Action.ShowUnderlyingData]
|
|
@@ -3224,6 +3305,7 @@ var Action;
|
|
|
3224
3305
|
Action["AnalysisInfo"] = "analysisInfo";
|
|
3225
3306
|
/**
|
|
3226
3307
|
* The **Schedule** menu action on a Liveboard.
|
|
3308
|
+
* Allows scheduling a Liveboard job.
|
|
3227
3309
|
* @example
|
|
3228
3310
|
* ```js
|
|
3229
3311
|
* disabledActions: [Action.Subscription]
|
|
@@ -3293,8 +3375,13 @@ var Action;
|
|
|
3293
3375
|
*/
|
|
3294
3376
|
Action["RequestAccess"] = "requestAccess";
|
|
3295
3377
|
/**
|
|
3296
|
-
* The **Query visualizer** and **Query SQL** buttons in
|
|
3297
|
-
* of the Answer page
|
|
3378
|
+
* The **Query visualizer** and **Query SQL** buttons in
|
|
3379
|
+
* Query details panel of the Answer page.
|
|
3380
|
+
*
|
|
3381
|
+
* **Query visualizer** - Displays the tables
|
|
3382
|
+
* and filters used in a search query.
|
|
3383
|
+
* **Query SQL** - Displays the SQL statements used
|
|
3384
|
+
* in a search query to fetch data.
|
|
3298
3385
|
* @example
|
|
3299
3386
|
* ```js
|
|
3300
3387
|
* disabledActions: [Action.QueryDetailsButtons]
|
|
@@ -3312,7 +3399,10 @@ var Action;
|
|
|
3312
3399
|
*/
|
|
3313
3400
|
Action["AnswerDelete"] = "onDeleteAnswer";
|
|
3314
3401
|
/**
|
|
3315
|
-
* The
|
|
3402
|
+
* The chart switcher icon on Answer page and
|
|
3403
|
+
* visualizations in edit mode.
|
|
3404
|
+
* Allows switching to the table or chart mode
|
|
3405
|
+
* when editing a visualization.
|
|
3316
3406
|
* @example
|
|
3317
3407
|
* ```js
|
|
3318
3408
|
* disabledActions: [Action.AnswerChartSwitcher]
|
|
@@ -3321,7 +3411,10 @@ var Action;
|
|
|
3321
3411
|
*/
|
|
3322
3412
|
Action["AnswerChartSwitcher"] = "answerChartSwitcher";
|
|
3323
3413
|
/**
|
|
3324
|
-
* Favorites icon (*)
|
|
3414
|
+
* The Favorites icon (*) for Answers,
|
|
3415
|
+
* Liveboard, and data objects like Worksheet, Model,
|
|
3416
|
+
* Tables and Views.
|
|
3417
|
+
* Allows adding an object to the user’s favorites list.
|
|
3325
3418
|
* @example
|
|
3326
3419
|
* ```js
|
|
3327
3420
|
* disabledActions: [Action.AddToFavorites]
|
|
@@ -3339,7 +3432,9 @@ var Action;
|
|
|
3339
3432
|
*/
|
|
3340
3433
|
Action["EditDetails"] = "editDetails";
|
|
3341
3434
|
/**
|
|
3342
|
-
* The Create alert action
|
|
3435
|
+
* The *Create alert* action for KPI charts.
|
|
3436
|
+
* Allows users to schedule threshold-based alerts
|
|
3437
|
+
* for KPI charts.
|
|
3343
3438
|
* @example
|
|
3344
3439
|
* ```js
|
|
3345
3440
|
* disabledActions: [Action.CreateMonitor]
|
|
@@ -3395,7 +3490,7 @@ var Action;
|
|
|
3395
3490
|
* ```js
|
|
3396
3491
|
* disabledActions: [Action.CrossFilter]
|
|
3397
3492
|
* ```
|
|
3398
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3493
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.8.0.sw
|
|
3399
3494
|
*/
|
|
3400
3495
|
Action["CrossFilter"] = "context-menu-item-cross-filter";
|
|
3401
3496
|
/**
|
|
@@ -3405,7 +3500,7 @@ var Action;
|
|
|
3405
3500
|
* ```js
|
|
3406
3501
|
* disabledActions: [Action.SyncToSlack]
|
|
3407
3502
|
* ```
|
|
3408
|
-
* @version @version SDK : 1.32.0 |
|
|
3503
|
+
* @version @version SDK : 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
|
|
3409
3504
|
*/
|
|
3410
3505
|
Action["SyncToSlack"] = "syncToSlack";
|
|
3411
3506
|
/**
|
|
@@ -3415,7 +3510,7 @@ var Action;
|
|
|
3415
3510
|
* ```js
|
|
3416
3511
|
* disabledActions: [Action.SyncToTeams]
|
|
3417
3512
|
* ```
|
|
3418
|
-
* @version @version SDK : 1.32.0 |
|
|
3513
|
+
* @version @version SDK : 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
|
|
3419
3514
|
*/
|
|
3420
3515
|
Action["SyncToTeams"] = "syncToTeams";
|
|
3421
3516
|
/**
|
|
@@ -3426,7 +3521,7 @@ var Action;
|
|
|
3426
3521
|
* ```js
|
|
3427
3522
|
* disabledActions: [Action.RemoveCrossFilter]
|
|
3428
3523
|
* ```
|
|
3429
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3524
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3430
3525
|
*/
|
|
3431
3526
|
Action["RemoveCrossFilter"] = "context-menu-item-remove-cross-filter";
|
|
3432
3527
|
/**
|
|
@@ -3437,7 +3532,7 @@ var Action;
|
|
|
3437
3532
|
* ```js
|
|
3438
3533
|
* disabledActions: [Action.AxisMenuAggregate]
|
|
3439
3534
|
* ```
|
|
3440
|
-
* @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
|
|
3441
3536
|
*/
|
|
3442
3537
|
Action["AxisMenuAggregate"] = "axisMenuAggregate";
|
|
3443
3538
|
/**
|
|
@@ -3448,17 +3543,19 @@ var Action;
|
|
|
3448
3543
|
* ```js
|
|
3449
3544
|
* disabledActions: [Action.AxisMenuTimeBucket]
|
|
3450
3545
|
* ```
|
|
3451
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3546
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3452
3547
|
*/
|
|
3453
3548
|
Action["AxisMenuTimeBucket"] = "axisMenuTimeBucket";
|
|
3454
3549
|
/**
|
|
3455
3550
|
* The **Filter** action in the chart axis or table column
|
|
3456
3551
|
* customization menu.
|
|
3552
|
+
* Allows adding, editing, or removing filters.
|
|
3553
|
+
*
|
|
3457
3554
|
* @example
|
|
3458
3555
|
* ```js
|
|
3459
3556
|
* disabledActions: [Action.AxisMenuFilter]
|
|
3460
3557
|
* ```
|
|
3461
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3558
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3462
3559
|
*/
|
|
3463
3560
|
Action["AxisMenuFilter"] = "axisMenuFilter";
|
|
3464
3561
|
/**
|
|
@@ -3469,7 +3566,7 @@ var Action;
|
|
|
3469
3566
|
* ```js
|
|
3470
3567
|
* disabledActions: [Action.AxisMenuConditionalFormat]
|
|
3471
3568
|
* ```
|
|
3472
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3569
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3473
3570
|
*/
|
|
3474
3571
|
Action["AxisMenuConditionalFormat"] = "axisMenuConditionalFormat";
|
|
3475
3572
|
/**
|
|
@@ -3480,7 +3577,7 @@ var Action;
|
|
|
3480
3577
|
* ```js
|
|
3481
3578
|
* disabledActions: [Action.AxisMenuConditionalFormat]
|
|
3482
3579
|
* ```
|
|
3483
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3580
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3484
3581
|
*/
|
|
3485
3582
|
Action["AxisMenuSort"] = "axisMenuSort";
|
|
3486
3583
|
/**
|
|
@@ -3492,7 +3589,7 @@ var Action;
|
|
|
3492
3589
|
* ```js
|
|
3493
3590
|
* disabledActions: [Action.AxisMenuGroup]
|
|
3494
3591
|
* ```
|
|
3495
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3592
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3496
3593
|
*/
|
|
3497
3594
|
Action["AxisMenuGroup"] = "axisMenuGroup";
|
|
3498
3595
|
/**
|
|
@@ -3503,7 +3600,7 @@ var Action;
|
|
|
3503
3600
|
* ```js
|
|
3504
3601
|
* disabledActions: [Action.AxisMenuPosition]
|
|
3505
3602
|
* ```
|
|
3506
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3603
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3507
3604
|
*/
|
|
3508
3605
|
Action["AxisMenuPosition"] = "axisMenuPosition";
|
|
3509
3606
|
/**
|
|
@@ -3513,7 +3610,7 @@ var Action;
|
|
|
3513
3610
|
* ```js
|
|
3514
3611
|
* disabledActions: [Action.AxisMenuRename]
|
|
3515
3612
|
* ```
|
|
3516
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3613
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3517
3614
|
*/
|
|
3518
3615
|
Action["AxisMenuRename"] = "axisMenuRename";
|
|
3519
3616
|
/**
|
|
@@ -3524,7 +3621,7 @@ var Action;
|
|
|
3524
3621
|
* ```js
|
|
3525
3622
|
* disabledActions: [Action.AxisMenuEdit]
|
|
3526
3623
|
* ```
|
|
3527
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3624
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3528
3625
|
*/
|
|
3529
3626
|
Action["AxisMenuEdit"] = "axisMenuEdit";
|
|
3530
3627
|
/**
|
|
@@ -3534,7 +3631,7 @@ var Action;
|
|
|
3534
3631
|
* ```js
|
|
3535
3632
|
* disabledActions: [Action.AxisMenuNumberFormat]
|
|
3536
3633
|
* ```
|
|
3537
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3634
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3538
3635
|
*/
|
|
3539
3636
|
Action["AxisMenuNumberFormat"] = "axisMenuNumberFormat";
|
|
3540
3637
|
/**
|
|
@@ -3544,7 +3641,7 @@ var Action;
|
|
|
3544
3641
|
* ```js
|
|
3545
3642
|
* disabledActions: [Action.AxisMenuTextWrapping]
|
|
3546
3643
|
* ```
|
|
3547
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3644
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3548
3645
|
*/
|
|
3549
3646
|
Action["AxisMenuTextWrapping"] = "axisMenuTextWrapping";
|
|
3550
3647
|
/**
|
|
@@ -3556,7 +3653,7 @@ var Action;
|
|
|
3556
3653
|
* ```js
|
|
3557
3654
|
* disabledActions: [Action.AxisMenuRemove]
|
|
3558
3655
|
* ```
|
|
3559
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3656
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3560
3657
|
*/
|
|
3561
3658
|
Action["AxisMenuRemove"] = "axisMenuRemove";
|
|
3562
3659
|
/**
|
|
@@ -3570,26 +3667,27 @@ var Action;
|
|
|
3570
3667
|
* ```js
|
|
3571
3668
|
* disabledActions: [Action.RenameModalTitleDescription]
|
|
3572
3669
|
* ```
|
|
3573
|
-
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
|
|
3670
|
+
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl, 9.8.0.sw
|
|
3574
3671
|
*/
|
|
3575
3672
|
Action["RenameModalTitleDescription"] = "renameModalTitleDescription";
|
|
3576
3673
|
/**
|
|
3577
|
-
*
|
|
3674
|
+
* The *Request verification* action on a Liveboard.
|
|
3675
|
+
* Initiates a request for Liveboard verification.
|
|
3578
3676
|
* @example
|
|
3579
3677
|
* ```js
|
|
3580
3678
|
* disabledActions: [Action.RequestVerification]
|
|
3581
3679
|
* ```
|
|
3582
|
-
* @version SDK: 1.25.0 |
|
|
3680
|
+
* @version SDK: 1.25.0 | ThoughtSpot: 9.6.0.cl, 10.1.0.sw
|
|
3583
3681
|
*/
|
|
3584
3682
|
Action["RequestVerification"] = "requestVerification";
|
|
3585
3683
|
/**
|
|
3586
3684
|
*
|
|
3587
|
-
*Allows users to mark a Liveboard as verified.
|
|
3685
|
+
* Allows users to mark a Liveboard as verified.
|
|
3588
3686
|
* @example
|
|
3589
3687
|
* ```js
|
|
3590
3688
|
* disabledActions: [Action.MarkAsVerified]
|
|
3591
3689
|
* ```
|
|
3592
|
-
* @version SDK: 1.25.0 |
|
|
3690
|
+
* @version SDK: 1.25.0 | ThoughtSpot: 9.6.0.cl, 10.1.0.sw
|
|
3593
3691
|
*/
|
|
3594
3692
|
Action["MarkAsVerified"] = "markAsVerified";
|
|
3595
3693
|
/**
|
|
@@ -3599,7 +3697,7 @@ var Action;
|
|
|
3599
3697
|
* ```js
|
|
3600
3698
|
* disabledActions: [Action.AddTab]
|
|
3601
3699
|
* ```
|
|
3602
|
-
* @version SDK: 1.26.0 |
|
|
3700
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
3603
3701
|
*/
|
|
3604
3702
|
Action["AddTab"] = "addTab";
|
|
3605
3703
|
/**
|
|
@@ -3609,35 +3707,42 @@ var Action;
|
|
|
3609
3707
|
* ```js
|
|
3610
3708
|
* disabledActions: [Action.EnableContextualChangeAnalysis]
|
|
3611
3709
|
* ```
|
|
3612
|
-
* @version SDK: 1.25.0 |
|
|
3710
|
+
* @version SDK: 1.25.0 | ThoughtSpot Cloud: 9.6.0.cl
|
|
3613
3711
|
*/
|
|
3614
3712
|
Action["EnableContextualChangeAnalysis"] = "enableContextualChangeAnalysis";
|
|
3615
3713
|
/**
|
|
3714
|
+
* Action ID to hide or disable Natural Language Search query.
|
|
3616
3715
|
*
|
|
3617
3716
|
* @example
|
|
3618
3717
|
* ```js
|
|
3619
3718
|
* disabledActions: [Action.ShowSageQuery]
|
|
3620
3719
|
* ```
|
|
3621
|
-
* @version SDK: 1.26.0 |
|
|
3720
|
+
* @version SDK: 1.26.0 | ThoughtSpot Cloud: 9.7.0.cl
|
|
3622
3721
|
*/
|
|
3623
3722
|
Action["ShowSageQuery"] = "showSageQuery";
|
|
3624
3723
|
/**
|
|
3724
|
+
*
|
|
3725
|
+
* Action ID to hide or disable the edit option for the
|
|
3726
|
+
* results generated from the
|
|
3727
|
+
* Natural Language Search query.
|
|
3625
3728
|
*
|
|
3626
3729
|
* @example
|
|
3627
3730
|
* ```js
|
|
3628
3731
|
* disabledActions: [Action.EditSageAnswer]
|
|
3629
3732
|
* ```
|
|
3630
|
-
* @version SDK: 1.26.0 |
|
|
3733
|
+
* @version SDK: 1.26.0 | ThoughtSpot Cloud: 9.7.0.cl
|
|
3631
3734
|
*/
|
|
3632
3735
|
Action["EditSageAnswer"] = "editSageAnswer";
|
|
3633
3736
|
/**
|
|
3737
|
+
* The feedback widget for AI-generated Answers.
|
|
3738
|
+
* Allows users to send feedback on the Answers generated
|
|
3739
|
+
* from a Natural Language Search query.
|
|
3634
3740
|
*
|
|
3635
|
-
*This action allows users to send feedback on AI-generated Answers.
|
|
3636
3741
|
* @example
|
|
3637
3742
|
* ```js
|
|
3638
3743
|
* disabledActions: [Action.SageAnswerFeedback]
|
|
3639
3744
|
* ```
|
|
3640
|
-
* @version SDK: 1.26.0 |
|
|
3745
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl
|
|
3641
3746
|
*/
|
|
3642
3747
|
Action["SageAnswerFeedback"] = "sageAnswerFeedback";
|
|
3643
3748
|
/**
|
|
@@ -3646,7 +3751,7 @@ var Action;
|
|
|
3646
3751
|
* ```js
|
|
3647
3752
|
* disabledActions: [Action.ModifySageAnswer]
|
|
3648
3753
|
* ```
|
|
3649
|
-
* @version SDK: 1.26.0 |
|
|
3754
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl
|
|
3650
3755
|
*/
|
|
3651
3756
|
Action["ModifySageAnswer"] = "modifySageAnswer";
|
|
3652
3757
|
/**
|
|
@@ -3659,7 +3764,10 @@ var Action;
|
|
|
3659
3764
|
*/
|
|
3660
3765
|
Action["MoveToTab"] = "onContainerMove";
|
|
3661
3766
|
/**
|
|
3662
|
-
* The **Manage
|
|
3767
|
+
* The **Manage Alerts** menu action on KPI visualizations.
|
|
3768
|
+
* Allows creating, viewing, and editing monitor
|
|
3769
|
+
* alerts for a KPI chart.
|
|
3770
|
+
*
|
|
3663
3771
|
* @example
|
|
3664
3772
|
* ```js
|
|
3665
3773
|
* disabledActions: [Action.ManageMonitor]
|
|
@@ -3667,21 +3775,23 @@ var Action;
|
|
|
3667
3775
|
*/
|
|
3668
3776
|
Action["ManageMonitor"] = "manageMonitor";
|
|
3669
3777
|
/**
|
|
3670
|
-
*
|
|
3778
|
+
* The Liveboard Personalised Views dropdown.
|
|
3779
|
+
* Allows navigating to a personalized Liveboard View.
|
|
3671
3780
|
* @example
|
|
3672
3781
|
* ```js
|
|
3673
3782
|
* disabledActions: [Action.PersonalisedViewsDropdown]
|
|
3674
3783
|
* ```
|
|
3675
|
-
* @version SDK : 1.26.0 |
|
|
3784
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 10.1.0.sw
|
|
3676
3785
|
*/
|
|
3677
3786
|
Action["PersonalisedViewsDropdown"] = "personalisedViewsDropdown";
|
|
3678
3787
|
/**
|
|
3679
|
-
* Action ID for
|
|
3788
|
+
* Action ID for show or hide the user details on a
|
|
3789
|
+
* Liveboard (Recently visited / social proof)
|
|
3680
3790
|
* @example
|
|
3681
3791
|
* ```js
|
|
3682
3792
|
* disabledActions: [Action.LiveboardUsers]
|
|
3683
3793
|
* ```
|
|
3684
|
-
* @version SDK : 1.26.0 |
|
|
3794
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 10.1.0.sw
|
|
3685
3795
|
*/
|
|
3686
3796
|
Action["LiveboardUsers"] = "liveboardUsers";
|
|
3687
3797
|
/**
|
|
@@ -3699,108 +3809,124 @@ var Action;
|
|
|
3699
3809
|
* hiddenAction: [Action.TML] // hide all TML actions
|
|
3700
3810
|
* disabledActions: [Action.TML] // to disable all TML actions
|
|
3701
3811
|
* ```
|
|
3702
|
-
* @version SDK : 1.28.3 |
|
|
3812
|
+
* @version SDK : 1.28.3 | ThoughtSpot: 9.12.0.cl, 10.1.0.sw
|
|
3703
3813
|
*/
|
|
3704
3814
|
Action["TML"] = "tml";
|
|
3705
3815
|
/**
|
|
3706
|
-
*
|
|
3707
|
-
* and Pin modal
|
|
3816
|
+
* The **Create Liveboard* action on
|
|
3817
|
+
* the Liveboards page and the Pin modal.
|
|
3818
|
+
* Allows users to create a Liveboard.
|
|
3819
|
+
*
|
|
3708
3820
|
* @example
|
|
3709
3821
|
* ```js
|
|
3710
3822
|
* hiddenAction: [Action.CreateLiveboard]
|
|
3711
3823
|
* disabledActions: [Action.CreateLiveboard]
|
|
3712
3824
|
* ```
|
|
3713
|
-
* @version SDK: 1.32.0 |
|
|
3825
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
3714
3826
|
*/
|
|
3715
3827
|
Action["CreateLiveboard"] = "createLiveboard";
|
|
3716
3828
|
/**
|
|
3717
|
-
* Action ID for to hide
|
|
3829
|
+
* Action ID for to hide or disable the
|
|
3830
|
+
* Verified Liveboard banner.
|
|
3718
3831
|
* @example
|
|
3719
3832
|
* ```js
|
|
3720
3833
|
* hiddenAction: [Action.VerifiedLiveboard]
|
|
3721
3834
|
* ```
|
|
3722
|
-
* @version SDK: 1.29.0 |
|
|
3835
|
+
* @version SDK: 1.29.0 | ThoughtSpot: 9.10.0.cl, 10.1.0.sw
|
|
3723
3836
|
*/
|
|
3724
3837
|
Action["VerifiedLiveboard"] = "verifiedLiveboard";
|
|
3725
3838
|
/**
|
|
3726
|
-
*
|
|
3839
|
+
* The *Ask Sage* action for Answers and visualizations.
|
|
3840
|
+
* Allows initiating a Natural Language Search query.
|
|
3841
|
+
*
|
|
3727
3842
|
* @example
|
|
3728
3843
|
* ```js
|
|
3729
3844
|
* hiddenAction: [Action.AskAi]
|
|
3730
3845
|
* ```
|
|
3731
|
-
* @version SDK: 1.29.0 |
|
|
3846
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 9.12.0.cl
|
|
3732
3847
|
*/
|
|
3733
3848
|
Action["AskAi"] = "AskAi";
|
|
3734
3849
|
/**
|
|
3735
3850
|
* The **Add KPI to Watchlist** action on Home page watchlist.
|
|
3851
|
+
* Adds a KPI chart to the watchlist on the Home page.
|
|
3736
3852
|
* @example
|
|
3737
3853
|
* ```js
|
|
3738
3854
|
* disabledActions: [Action.AddToWatchlist]
|
|
3739
3855
|
* ```
|
|
3740
|
-
* @version SDK : 1.27.9 |
|
|
3856
|
+
* @version SDK : 1.27.9 | ThoughtSpot Cloud: 9.12.5.cl
|
|
3741
3857
|
*/
|
|
3742
3858
|
Action["AddToWatchlist"] = "addToWatchlist";
|
|
3743
3859
|
/**
|
|
3744
3860
|
* The **Remove from watchlist** menu action on KPI watchlist.
|
|
3861
|
+
* Removes a KPI chart from the watchlist on the Home page.
|
|
3745
3862
|
* @example
|
|
3746
3863
|
* ```js
|
|
3747
3864
|
* disabledActions: [Action.RemoveFromWatchlist]
|
|
3748
3865
|
* ```
|
|
3749
|
-
* @version SDK : 1.27.9 |
|
|
3866
|
+
* @version SDK : 1.27.9 | ThoughtSpot: 9.12.5.cl
|
|
3750
3867
|
*/
|
|
3751
3868
|
Action["RemoveFromWatchlist"] = "removeFromWatchlist";
|
|
3752
3869
|
/**
|
|
3753
|
-
* The **
|
|
3870
|
+
* The **Organize Favourites** action on Homepage
|
|
3871
|
+
* *Favorites* module.
|
|
3872
|
+
*
|
|
3754
3873
|
* @example
|
|
3755
3874
|
* ```js
|
|
3756
3875
|
* disabledActions: [Action.OrganiseFavourites]
|
|
3757
3876
|
* ```
|
|
3758
|
-
* @version SDK : 1.32.0 |
|
|
3877
|
+
* @version SDK : 1.32.0 | ThoughtSpot: 10.0.0.cl
|
|
3759
3878
|
*/
|
|
3760
3879
|
Action["OrganiseFavourites"] = "organiseFavourites";
|
|
3761
3880
|
/**
|
|
3762
|
-
*
|
|
3881
|
+
* The **AI Highlights** action on a Liveboard.
|
|
3882
|
+
*
|
|
3763
3883
|
* @example
|
|
3764
3884
|
* ```js
|
|
3765
3885
|
* hiddenAction: [Action.AIHighlights]
|
|
3766
3886
|
* ```
|
|
3767
|
-
* @version SDK: 1.27.10 |
|
|
3887
|
+
* @version SDK: 1.27.10 | ThoughtSpot Cloud: 9.12.5.cl
|
|
3768
3888
|
*/
|
|
3769
3889
|
Action["AIHighlights"] = "AIHighlights";
|
|
3770
3890
|
/**
|
|
3771
|
-
*
|
|
3891
|
+
* The *Edit* action on the *Liveboard Schedules* page
|
|
3892
|
+
* (new Homepage experience).
|
|
3893
|
+
* Allows editing Liveboard schedules.
|
|
3894
|
+
*
|
|
3772
3895
|
* @example
|
|
3773
3896
|
* ```js
|
|
3774
3897
|
* disabledActions: [Action.EditScheduleHomepage]
|
|
3775
3898
|
* ```
|
|
3776
|
-
* @version SDK: 1.34.0 |
|
|
3899
|
+
* @version SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3777
3900
|
*/
|
|
3778
3901
|
Action["EditScheduleHomepage"] = "editScheduleHomepage";
|
|
3779
3902
|
/**
|
|
3780
|
-
*
|
|
3903
|
+
* The *Pause* action on the *Liveboard Schedules* page
|
|
3904
|
+
* Pauses a scheduled Liveboard job.
|
|
3781
3905
|
* @example
|
|
3782
3906
|
* ```js
|
|
3783
3907
|
* disabledActions: [Action.PauseScheduleHomepage]
|
|
3784
3908
|
* ```
|
|
3785
|
-
* @version SDK: 1.34.0 |
|
|
3909
|
+
* @version SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3786
3910
|
*/
|
|
3787
3911
|
Action["PauseScheduleHomepage"] = "pauseScheduleHomepage";
|
|
3788
3912
|
/**
|
|
3789
|
-
*
|
|
3913
|
+
* The **View run history** action **Liveboard Schedules** page.
|
|
3914
|
+
* Allows viewing schedule run history.
|
|
3790
3915
|
* @example
|
|
3791
3916
|
* ```js
|
|
3792
3917
|
* disabledActions: [Action.ViewScheduleRunHomepage]
|
|
3793
3918
|
* ```
|
|
3794
|
-
* @version SDK: 1.34.0 |
|
|
3919
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
|
|
3795
3920
|
*/
|
|
3796
3921
|
Action["ViewScheduleRunHomepage"] = "viewScheduleRunHomepage";
|
|
3797
3922
|
/**
|
|
3798
|
-
* Action ID
|
|
3923
|
+
* Action ID to hide or disable the
|
|
3924
|
+
* unsubscribe option for Liveboard schedules.
|
|
3799
3925
|
* @example
|
|
3800
3926
|
* ```js
|
|
3801
3927
|
* disabledActions: [Action.UnsubscribeScheduleHomepage]
|
|
3802
3928
|
* ```
|
|
3803
|
-
* @version SDK: 1.34.0 |
|
|
3929
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
|
|
3804
3930
|
*/
|
|
3805
3931
|
Action["UnsubscribeScheduleHomepage"] = "unsubscribeScheduleHomepage";
|
|
3806
3932
|
/**
|
|
@@ -3809,16 +3935,17 @@ var Action;
|
|
|
3809
3935
|
* ```js
|
|
3810
3936
|
* disabledActions: [Action.ManageTags]
|
|
3811
3937
|
* ```
|
|
3812
|
-
* @version SDK : 1.34.0 |
|
|
3938
|
+
* @version SDK : 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3813
3939
|
*/
|
|
3814
3940
|
Action["ManageTags"] = "manageTags";
|
|
3815
3941
|
/**
|
|
3816
|
-
*
|
|
3942
|
+
* The **Delete** action on the **Liveboard Schedules* page.
|
|
3943
|
+
* Deletes a Liveboard schedule.
|
|
3817
3944
|
* @example
|
|
3818
3945
|
* ```js
|
|
3819
3946
|
* disabledActions: [Action.DeleteScheduleHomepage]
|
|
3820
3947
|
* ```
|
|
3821
|
-
* @version SDK: 1.34.0 |
|
|
3948
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
|
|
3822
3949
|
*/
|
|
3823
3950
|
Action["DeleteScheduleHomepage"] = "deleteScheduleHomepage";
|
|
3824
3951
|
/**
|
|
@@ -3827,7 +3954,7 @@ var Action;
|
|
|
3827
3954
|
* ```js
|
|
3828
3955
|
* disabledActions: [Action.KPIAnalysisCTA]
|
|
3829
3956
|
* ```
|
|
3830
|
-
* @version SDK: 1.34.0 |
|
|
3957
|
+
* @version SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3831
3958
|
*/
|
|
3832
3959
|
Action["KPIAnalysisCTA"] = "kpiAnalysisCTA";
|
|
3833
3960
|
/**
|
|
@@ -3836,61 +3963,73 @@ var Action;
|
|
|
3836
3963
|
* ```js
|
|
3837
3964
|
* const disabledActions = [Action.DisableChipReorder]
|
|
3838
3965
|
* ```
|
|
3839
|
-
* @version SDK: 1.36.0 |
|
|
3966
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3840
3967
|
*/
|
|
3841
3968
|
Action["DisableChipReorder"] = "disableChipReorder";
|
|
3842
3969
|
/**
|
|
3843
|
-
* Action ID
|
|
3970
|
+
* Action ID to show, hide, or disable filters
|
|
3971
|
+
* in a Liveboard tab.
|
|
3972
|
+
*
|
|
3844
3973
|
* @example
|
|
3845
3974
|
* ```js
|
|
3846
3975
|
* hiddenAction: [Action.ChangeFilterVisibilityInTab]
|
|
3847
3976
|
* ```
|
|
3848
|
-
* @version SDK: 1.36.0 |
|
|
3977
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3849
3978
|
*/
|
|
3850
3979
|
Action["ChangeFilterVisibilityInTab"] = "changeFilterVisibilityInTab";
|
|
3851
3980
|
/**
|
|
3852
|
-
*
|
|
3981
|
+
* The **Preview data** button on the Spotter interface.
|
|
3982
|
+
* Allows previewing the data used for Spotter queries.
|
|
3983
|
+
*
|
|
3853
3984
|
* @example
|
|
3854
3985
|
* ```js
|
|
3855
3986
|
* hiddenAction: [Action.PreviewDataSpotter]
|
|
3856
3987
|
* ```
|
|
3857
|
-
* @version SDK: 1.36.0 |
|
|
3988
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3858
3989
|
*/
|
|
3859
3990
|
Action["PreviewDataSpotter"] = "previewDataSpotter";
|
|
3860
3991
|
/**
|
|
3861
|
-
*
|
|
3992
|
+
* The **Reset** link on the Spotter interface.
|
|
3993
|
+
* Resets the conversation with Spotter.
|
|
3994
|
+
*
|
|
3862
3995
|
* @example
|
|
3863
3996
|
* ```js
|
|
3864
3997
|
* hiddenAction: [Action.ResetSpotterChat]
|
|
3865
3998
|
* ```
|
|
3866
|
-
* @version SDK: 1.36.0 |
|
|
3999
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3867
4000
|
*/
|
|
3868
4001
|
Action["ResetSpotterChat"] = "resetSpotterChat";
|
|
3869
4002
|
/**
|
|
3870
|
-
* Action ID for hide
|
|
4003
|
+
* Action ID for hide or disable the
|
|
4004
|
+
* Spotter feedback widget.
|
|
4005
|
+
*
|
|
3871
4006
|
* @example
|
|
3872
4007
|
* ```js
|
|
3873
4008
|
* hiddenAction: [Action.SpotterFeedback]
|
|
3874
4009
|
* ```
|
|
3875
|
-
* @version SDK: 1.36.0 |
|
|
4010
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3876
4011
|
*/
|
|
3877
4012
|
Action["SpotterFeedback"] = "spotterFeedback";
|
|
3878
4013
|
/**
|
|
3879
|
-
* Action ID for hide
|
|
4014
|
+
* Action ID for hide or disable
|
|
4015
|
+
* the previous prompt edit option in Spotter.
|
|
4016
|
+
*
|
|
3880
4017
|
* @example
|
|
3881
4018
|
* ```js
|
|
3882
4019
|
* hiddenAction: [Action.EditPreviousPrompt]
|
|
3883
4020
|
* ```
|
|
3884
|
-
* @version SDK: 1.36.0 |
|
|
4021
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3885
4022
|
*/
|
|
3886
4023
|
Action["EditPreviousPrompt"] = "editPreviousPrompt";
|
|
3887
4024
|
/**
|
|
3888
|
-
* Action ID for hide
|
|
4025
|
+
* Action ID for hide or disable
|
|
4026
|
+
* the previous prompt deletion option in Spotter.
|
|
4027
|
+
*
|
|
3889
4028
|
* @example
|
|
3890
4029
|
* ```js
|
|
3891
4030
|
* hiddenAction: [Action.DeletePreviousPrompt]
|
|
3892
4031
|
* ```
|
|
3893
|
-
* @version SDK: 1.36.0 |
|
|
4032
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3894
4033
|
*/
|
|
3895
4034
|
Action["DeletePreviousPrompt"] = "deletePreviousPrompt";
|
|
3896
4035
|
/**
|
|
@@ -3899,7 +4038,7 @@ var Action;
|
|
|
3899
4038
|
* ```js
|
|
3900
4039
|
* hiddenAction: [Action.EditTokens]
|
|
3901
4040
|
* ```
|
|
3902
|
-
* @version SDK: 1.36.0 |
|
|
4041
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3903
4042
|
*/
|
|
3904
4043
|
Action["EditTokens"] = "editTokens";
|
|
3905
4044
|
})(Action || (Action = {}));
|
|
@@ -3912,11 +4051,13 @@ var PrefetchFeatures;
|
|
|
3912
4051
|
})(PrefetchFeatures || (PrefetchFeatures = {}));
|
|
3913
4052
|
/**
|
|
3914
4053
|
* Enum for options to change context trigger
|
|
4054
|
+
* BOTH_CLICKS option is introduced in 10.7
|
|
3915
4055
|
*/
|
|
3916
4056
|
var ContextMenuTriggerOptions;
|
|
3917
4057
|
(function (ContextMenuTriggerOptions) {
|
|
3918
4058
|
ContextMenuTriggerOptions["LEFT_CLICK"] = "left-click";
|
|
3919
4059
|
ContextMenuTriggerOptions["RIGHT_CLICK"] = "right-click";
|
|
4060
|
+
ContextMenuTriggerOptions["BOTH_CLICKS"] = "both-clicks";
|
|
3920
4061
|
})(ContextMenuTriggerOptions || (ContextMenuTriggerOptions = {}));
|
|
3921
4062
|
var LogLevel;
|
|
3922
4063
|
(function (LogLevel) {
|
|
@@ -3929,7 +4070,7 @@ var LogLevel;
|
|
|
3929
4070
|
* logLevel: LogLevel.SILENT,
|
|
3930
4071
|
* })
|
|
3931
4072
|
* ```
|
|
3932
|
-
* @version SDK: 1.26.7 |
|
|
4073
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3933
4074
|
*/
|
|
3934
4075
|
LogLevel["SILENT"] = "SILENT";
|
|
3935
4076
|
/**
|
|
@@ -3941,7 +4082,7 @@ var LogLevel;
|
|
|
3941
4082
|
* logLevel: LogLevel.ERROR,
|
|
3942
4083
|
* })
|
|
3943
4084
|
* ```
|
|
3944
|
-
* @version SDK: 1.26.7 |
|
|
4085
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3945
4086
|
*/
|
|
3946
4087
|
LogLevel["ERROR"] = "ERROR";
|
|
3947
4088
|
/**
|
|
@@ -3953,7 +4094,7 @@ var LogLevel;
|
|
|
3953
4094
|
* logLevel: LogLevel.WARN,
|
|
3954
4095
|
* })
|
|
3955
4096
|
* ```
|
|
3956
|
-
* @version SDK: 1.26.7 |
|
|
4097
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3957
4098
|
*/
|
|
3958
4099
|
LogLevel["WARN"] = "WARN";
|
|
3959
4100
|
/**
|
|
@@ -3965,7 +4106,7 @@ var LogLevel;
|
|
|
3965
4106
|
* logLevel: LogLevel.INFO,
|
|
3966
4107
|
* })
|
|
3967
4108
|
* ```
|
|
3968
|
-
* @version SDK: 1.26.7 |
|
|
4109
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3969
4110
|
*/
|
|
3970
4111
|
LogLevel["INFO"] = "INFO";
|
|
3971
4112
|
/**
|
|
@@ -3977,7 +4118,7 @@ var LogLevel;
|
|
|
3977
4118
|
* logLevel: LogLevel.DEBUG,
|
|
3978
4119
|
* })
|
|
3979
4120
|
* ```
|
|
3980
|
-
* @version SDK: 1.26.7 |
|
|
4121
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3981
4122
|
*/
|
|
3982
4123
|
LogLevel["DEBUG"] = "DEBUG";
|
|
3983
4124
|
/**
|
|
@@ -3989,7 +4130,7 @@ var LogLevel;
|
|
|
3989
4130
|
* logLevel: LogLevel.TRACE,
|
|
3990
4131
|
* })
|
|
3991
4132
|
* ```
|
|
3992
|
-
* @version SDK: 1.26.7 |
|
|
4133
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3993
4134
|
*/
|
|
3994
4135
|
LogLevel["TRACE"] = "TRACE";
|
|
3995
4136
|
})(LogLevel || (LogLevel = {}));
|
|
@@ -7159,7 +7300,7 @@ class AnswerService {
|
|
|
7159
7300
|
async getTML() {
|
|
7160
7301
|
const { object } = await this.executeQuery(getAnswerTML, {});
|
|
7161
7302
|
const edoc = object[0].edoc;
|
|
7162
|
-
const YAML = await import('./index-
|
|
7303
|
+
const YAML = await import('./index-D-9WUCUl.js');
|
|
7163
7304
|
const parsedDoc = YAML.parse(edoc);
|
|
7164
7305
|
return {
|
|
7165
7306
|
answer: {
|
|
@@ -14502,7 +14643,7 @@ function processEventData(type, e, thoughtSpotHost, containerEl) {
|
|
|
14502
14643
|
return e;
|
|
14503
14644
|
}
|
|
14504
14645
|
|
|
14505
|
-
var name="@thoughtspot/visual-embed-sdk";var version$1="1.35.
|
|
14646
|
+
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};
|
|
14506
14647
|
|
|
14507
14648
|
/**
|
|
14508
14649
|
* Reloads the ThoughtSpot iframe.
|
|
@@ -14567,7 +14708,7 @@ var UIPassthroughEvent;
|
|
|
14567
14708
|
UIPassthroughEvent["PinAnswerToLiveboard"] = "addVizToPinboard";
|
|
14568
14709
|
UIPassthroughEvent["SaveAnswer"] = "saveAnswer";
|
|
14569
14710
|
UIPassthroughEvent["GetDiscoverabilityStatus"] = "getDiscoverabilityStatus";
|
|
14570
|
-
UIPassthroughEvent["GetAvailableUIPassthroughs"] = "
|
|
14711
|
+
UIPassthroughEvent["GetAvailableUIPassthroughs"] = "getAvailableUiPassthroughs";
|
|
14571
14712
|
UIPassthroughEvent["GetAnswerConfig"] = "getAnswerPageConfig";
|
|
14572
14713
|
UIPassthroughEvent["GetLiveboardConfig"] = "getPinboardPageConfig";
|
|
14573
14714
|
})(UIPassthroughEvent || (UIPassthroughEvent = {}));
|
|
@@ -15023,10 +15164,13 @@ class TsEmbed {
|
|
|
15023
15164
|
* menu click
|
|
15024
15165
|
*/
|
|
15025
15166
|
if (contextMenuTrigger === ContextMenuTriggerOptions.LEFT_CLICK) {
|
|
15026
|
-
queryParams[Param.ContextMenuTrigger] =
|
|
15167
|
+
queryParams[Param.ContextMenuTrigger] = 'left';
|
|
15027
15168
|
}
|
|
15028
15169
|
else if (contextMenuTrigger === ContextMenuTriggerOptions.RIGHT_CLICK) {
|
|
15029
|
-
queryParams[Param.ContextMenuTrigger] =
|
|
15170
|
+
queryParams[Param.ContextMenuTrigger] = 'right';
|
|
15171
|
+
}
|
|
15172
|
+
else if (contextMenuTrigger === ContextMenuTriggerOptions.BOTH_CLICKS) {
|
|
15173
|
+
queryParams[Param.ContextMenuTrigger] = 'both';
|
|
15030
15174
|
}
|
|
15031
15175
|
const spriteUrl = (customizations === null || customizations === void 0 ? void 0 : customizations.iconSpriteUrl)
|
|
15032
15176
|
|| ((_c = this.embedConfig.customizations) === null || _c === void 0 ? void 0 : _c.iconSpriteUrl);
|
|
@@ -16620,10 +16764,11 @@ let LiveboardEmbed$1 = class LiveboardEmbed extends V1Embed {
|
|
|
16620
16764
|
}
|
|
16621
16765
|
/**
|
|
16622
16766
|
* Triggers an event to the embedded app
|
|
16623
|
-
* @param messageType The event type
|
|
16624
|
-
* @param data The payload to send with the message
|
|
16767
|
+
* @param {HostEvent} messageType The event type
|
|
16768
|
+
* @param {any} data The payload to send with the message
|
|
16769
|
+
* @returns A promise that resolves with the response from the embedded app
|
|
16625
16770
|
*/
|
|
16626
|
-
trigger(messageType, data) {
|
|
16771
|
+
trigger(messageType, data = {}) {
|
|
16627
16772
|
const dataWithVizId = data;
|
|
16628
16773
|
if (messageType === HostEvent.SetActiveTab) {
|
|
16629
16774
|
this.setActiveTab(data);
|