@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.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @thoughtspot/visual-embed-sdk version 1.35.
|
|
1
|
+
/* @thoughtspot/visual-embed-sdk version 1.35.12 */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', 'react'], factory) :
|
|
@@ -495,7 +495,7 @@
|
|
|
495
495
|
var AuthType;
|
|
496
496
|
(function (AuthType) {
|
|
497
497
|
/**
|
|
498
|
-
* No authentication on the SDK.
|
|
498
|
+
* No authentication on the SDK. Pass-through to the embedded App. Alias for
|
|
499
499
|
* `Passthrough`.
|
|
500
500
|
* @example
|
|
501
501
|
* ```js
|
|
@@ -756,7 +756,7 @@
|
|
|
756
756
|
* **Note**: This option does not apply to the classic homepage.
|
|
757
757
|
* To access the updated modular homepage, set
|
|
758
758
|
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
759
|
-
* @version SDK: 1.28.0 |
|
|
759
|
+
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl, 10.1.0.sw
|
|
760
760
|
*/
|
|
761
761
|
// eslint-disable-next-line no-shadow
|
|
762
762
|
exports.HomepageModule = void 0;
|
|
@@ -1569,7 +1569,7 @@
|
|
|
1569
1569
|
*/
|
|
1570
1570
|
EmbedEvent["Explore"] = "explore";
|
|
1571
1571
|
/**
|
|
1572
|
-
* Emitted when a user clicks **Copy link** action on a visualization
|
|
1572
|
+
* Emitted when a user clicks **Copy link** action on a visualization.
|
|
1573
1573
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
1574
1574
|
* @example
|
|
1575
1575
|
*```js
|
|
@@ -1619,23 +1619,26 @@
|
|
|
1619
1619
|
*/
|
|
1620
1620
|
EmbedEvent["FilterChanged"] = "filterChanged";
|
|
1621
1621
|
/**
|
|
1622
|
-
* Emitted when a user clicks the **Go** button
|
|
1623
|
-
*
|
|
1622
|
+
* Emitted when a user clicks the **Go** button to initiate
|
|
1623
|
+
* a Natural Language Search query
|
|
1624
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1624
1625
|
*/
|
|
1625
1626
|
EmbedEvent["SageEmbedQuery"] = "sageEmbedQuery";
|
|
1626
1627
|
/**
|
|
1627
|
-
* Emitted when a user selects a data source on the
|
|
1628
|
-
*
|
|
1628
|
+
* Emitted when a user selects a data source on the embedded
|
|
1629
|
+
* Natural Language Search interface.
|
|
1630
|
+
*
|
|
1631
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1629
1632
|
*/
|
|
1630
1633
|
EmbedEvent["SageWorksheetUpdated"] = "sageWorksheetUpdated";
|
|
1631
1634
|
/**
|
|
1632
1635
|
* Emitted when a user updates a connection on the **Data** page
|
|
1633
|
-
* @version SDK : 1.27.0 |
|
|
1636
|
+
* @version SDK : 1.27.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
1634
1637
|
*/
|
|
1635
1638
|
EmbedEvent["UpdateConnection"] = "updateConnection";
|
|
1636
1639
|
/**
|
|
1637
1640
|
* Emitted when a user updates a connection on the **Data** page
|
|
1638
|
-
* @version SDK : 1.27.0 |
|
|
1641
|
+
* @version SDK : 1.27.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
1639
1642
|
*/
|
|
1640
1643
|
EmbedEvent["CreateConnection"] = "createConnection";
|
|
1641
1644
|
/**
|
|
@@ -1645,7 +1648,7 @@
|
|
|
1645
1648
|
* @returns viewId: string
|
|
1646
1649
|
* @returns liveboardId: string
|
|
1647
1650
|
* @returns isPublic: boolean
|
|
1648
|
-
* @version SDK : 1.26.0 |
|
|
1651
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1649
1652
|
*/
|
|
1650
1653
|
EmbedEvent["UpdatePersonalisedView"] = "updatePersonalisedView";
|
|
1651
1654
|
/**
|
|
@@ -1654,7 +1657,7 @@
|
|
|
1654
1657
|
* @returns viewId: string
|
|
1655
1658
|
* @returns liveboardId: string
|
|
1656
1659
|
* @returns isPublic: boolean
|
|
1657
|
-
* @version SDK : 1.26.0 |
|
|
1660
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1658
1661
|
*/
|
|
1659
1662
|
EmbedEvent["SavePersonalisedView"] = "savePersonalisedView";
|
|
1660
1663
|
/**
|
|
@@ -1663,28 +1666,28 @@
|
|
|
1663
1666
|
* @returns viewId: string
|
|
1664
1667
|
* @returns liveboardId: string
|
|
1665
1668
|
* @returns isPublic: boolean
|
|
1666
|
-
* @version SDK : 1.26.0 |
|
|
1669
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1667
1670
|
*/
|
|
1668
1671
|
EmbedEvent["ResetLiveboard"] = "resetLiveboard";
|
|
1669
1672
|
/**
|
|
1670
1673
|
* Emitted when a PersonalisedView is deleted.
|
|
1671
1674
|
* @returns views: string[]
|
|
1672
1675
|
* @returns liveboardId: string
|
|
1673
|
-
* @version SDK : 1.26.0 |
|
|
1676
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1674
1677
|
*/
|
|
1675
1678
|
EmbedEvent["DeletePersonalisedView"] = "deletePersonalisedView";
|
|
1676
1679
|
/**
|
|
1677
1680
|
* Emitted when a user creates a new worksheet
|
|
1678
|
-
* @version SDK : 1.27.0 |
|
|
1681
|
+
* @version SDK : 1.27.0 | ThoughtSpot Cloud: 9.8.0.cl
|
|
1679
1682
|
*/
|
|
1680
1683
|
EmbedEvent["CreateWorksheet"] = "createWorksheet";
|
|
1681
1684
|
/**
|
|
1682
|
-
* Emitted when Ask Sage is initialized.
|
|
1685
|
+
* Emitted when the *Ask Sage* is initialized.
|
|
1683
1686
|
* @returns viewName: string
|
|
1684
1687
|
* @returns viewId: string
|
|
1685
1688
|
* @returns liveboardId: string
|
|
1686
1689
|
* @returns isPublic: boolean
|
|
1687
|
-
* @version SDK : 1.29.0 |
|
|
1690
|
+
* @version SDK : 1.29.0 | ThoughtSpot Cloud: 9.12.0.cl
|
|
1688
1691
|
*/
|
|
1689
1692
|
EmbedEvent["AskSageInit"] = "AskSageInit";
|
|
1690
1693
|
/**
|
|
@@ -1712,7 +1715,7 @@
|
|
|
1712
1715
|
*
|
|
1713
1716
|
* error: Developers can customize the error message text when `execute`
|
|
1714
1717
|
* returns `false` using the error parameter in responder.
|
|
1715
|
-
* @version SDK : 1.29.0 |
|
|
1718
|
+
* @version SDK : 1.29.0 | ThoughtSpot : 10.3.0.cl
|
|
1716
1719
|
* @example
|
|
1717
1720
|
*```js
|
|
1718
1721
|
* .on(EmbedEvent.OnBeforeGetVizDataIntercept,
|
|
@@ -1760,9 +1763,26 @@
|
|
|
1760
1763
|
* console.log('payload', payload);
|
|
1761
1764
|
* })
|
|
1762
1765
|
*```
|
|
1763
|
-
* @version SDK : 1.29.0 |
|
|
1766
|
+
* @version SDK : 1.29.0 | ThoughtSpot : 10.3.0.cl
|
|
1764
1767
|
*/
|
|
1765
1768
|
EmbedEvent["ParameterChanged"] = "parameterChanged";
|
|
1769
|
+
/**
|
|
1770
|
+
* Emitted when the table viz renders.
|
|
1771
|
+
* You can use this event as a hook to trigger
|
|
1772
|
+
* other events on the rendered table viz data.
|
|
1773
|
+
* @example
|
|
1774
|
+
* ```js
|
|
1775
|
+
* searchEmbed.on(EmbedEvent.TableVizRendered, (payload) => {
|
|
1776
|
+
* console.log(payload);
|
|
1777
|
+
* const columnDataLite = payload.data.data.columnDataLite;
|
|
1778
|
+
* columnDataLite[0].dataValue[0]="new fob";
|
|
1779
|
+
* console.log('>>> new Data', columnDataLite);
|
|
1780
|
+
* searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
|
|
1781
|
+
* })
|
|
1782
|
+
* ```
|
|
1783
|
+
* @version SDK: 1.35.12 | ThoughtSpot: 10.7.0.cl
|
|
1784
|
+
*/
|
|
1785
|
+
EmbedEvent["TableVizRendered"] = "TableVizRendered";
|
|
1766
1786
|
})(exports.EmbedEvent || (exports.EmbedEvent = {}));
|
|
1767
1787
|
/**
|
|
1768
1788
|
* Event types that can be triggered by the host application
|
|
@@ -1909,7 +1929,7 @@
|
|
|
1909
1929
|
* const url = embed.trigger(HostEvent.GetIframeUrl);
|
|
1910
1930
|
* console.log("iFrameURL",url);
|
|
1911
1931
|
* ```
|
|
1912
|
-
* @version SDK: 1.35.0 |
|
|
1932
|
+
* @version SDK: 1.35.0 | ThoughtSpot: 10.4.0.cl
|
|
1913
1933
|
*/
|
|
1914
1934
|
HostEvent["GetIframeUrl"] = "GetIframeUrl";
|
|
1915
1935
|
/**
|
|
@@ -1942,6 +1962,11 @@
|
|
|
1942
1962
|
* attributes passed with this event are appended to the existing runtime
|
|
1943
1963
|
* filters applied on a Liveboard.
|
|
1944
1964
|
*
|
|
1965
|
+
* **Note**: `HostEvent.UpdateRuntimeFilters` is supported in `LiveboardEmbed`
|
|
1966
|
+
* and `AppEmbed` only. In full application embedding, this event updates
|
|
1967
|
+
* the runtime filters applied on the Liveboard and saved Answer objects.
|
|
1968
|
+
*
|
|
1969
|
+
*
|
|
1945
1970
|
* Pass an array of runtime filters with the following attributes:
|
|
1946
1971
|
*
|
|
1947
1972
|
* `columnName` - _String_. The name of the column to filter on.
|
|
@@ -1952,9 +1977,12 @@
|
|
|
1952
1977
|
* `values` - List of operands. Some operators such as EQ and LE allow a
|
|
1953
1978
|
* single value, whereas BW and IN accept multiple values.
|
|
1954
1979
|
*
|
|
1955
|
-
* **Note**:
|
|
1956
|
-
*
|
|
1957
|
-
*
|
|
1980
|
+
* **Note**: Updating runtime filters resets the ThoughtSpot
|
|
1981
|
+
* object to its original state and applies new filter conditions.
|
|
1982
|
+
* Any user changes (like drilling into a visualization)
|
|
1983
|
+
* will be cleared, restoring the original visualization
|
|
1984
|
+
* with the updated filters.
|
|
1985
|
+
*
|
|
1958
1986
|
* @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
|
|
1959
1987
|
* @example
|
|
1960
1988
|
* ```js
|
|
@@ -1969,7 +1997,7 @@
|
|
|
1969
1997
|
HostEvent["UpdateRuntimeFilters"] = "UpdateRuntimeFilters";
|
|
1970
1998
|
/**
|
|
1971
1999
|
* Navigate to a specific page in the embedded ThoughtSpot application.
|
|
1972
|
-
* This is the same as calling `appEmbed.navigateToPage(path, true)
|
|
2000
|
+
* This is the same as calling `appEmbed.navigateToPage(path, true)`.
|
|
1973
2001
|
* @param - `path` - the path to navigate to to go forward or back. The path value can
|
|
1974
2002
|
* be a number; for example, `1`, `-1`.
|
|
1975
2003
|
* @example
|
|
@@ -2165,7 +2193,7 @@
|
|
|
2165
2193
|
* @param - an object with `vizId` as a key
|
|
2166
2194
|
* @example
|
|
2167
2195
|
* ```js
|
|
2168
|
-
* liveboardEmbed.trigger(HostEvent.CreateMonitor {
|
|
2196
|
+
* liveboardEmbed.trigger(HostEvent.CreateMonitor, {
|
|
2169
2197
|
* vizId: '730496d6-6903-4601-937e-2c691821af3c'
|
|
2170
2198
|
* })
|
|
2171
2199
|
* ```
|
|
@@ -2264,7 +2292,9 @@
|
|
|
2264
2292
|
*/
|
|
2265
2293
|
HostEvent["GetTML"] = "getTML";
|
|
2266
2294
|
/**
|
|
2267
|
-
* Trigger the **Show underlying data** action on
|
|
2295
|
+
* Trigger the **Show underlying data** action on a
|
|
2296
|
+
* chart or table.
|
|
2297
|
+
*
|
|
2268
2298
|
* @param - an object with vizId as a key
|
|
2269
2299
|
* @example
|
|
2270
2300
|
* ```js
|
|
@@ -2298,8 +2328,8 @@
|
|
|
2298
2328
|
*/
|
|
2299
2329
|
HostEvent["Delete"] = "onDeleteAnswer";
|
|
2300
2330
|
/**
|
|
2301
|
-
* Trigger the **SpotIQ analyze** action on
|
|
2302
|
-
* or
|
|
2331
|
+
* Trigger the **SpotIQ analyze** action on a
|
|
2332
|
+
* chart or table.
|
|
2303
2333
|
* @param - Liveboard embed takes `vizId` as a
|
|
2304
2334
|
* key. Can be left undefined when embedding Search or
|
|
2305
2335
|
* visualization.
|
|
@@ -2572,7 +2602,7 @@
|
|
|
2572
2602
|
* '430496d6-6903-4601-937e-2c691821af3c',
|
|
2573
2603
|
* 'f547ec54-2a37-4516-a222-2b06719af726'])
|
|
2574
2604
|
* ```
|
|
2575
|
-
* @version SDK: 1.26.0 |
|
|
2605
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
2576
2606
|
*/
|
|
2577
2607
|
HostEvent["SetVisibleTabs"] = "SetPinboardVisibleTabs";
|
|
2578
2608
|
/**
|
|
@@ -2585,7 +2615,7 @@
|
|
|
2585
2615
|
* '630496d6-6903-4601-937e-2c691821af3c',
|
|
2586
2616
|
* 'i547ec54-2a37-4516-a222-2b06719af726'])
|
|
2587
2617
|
* ```
|
|
2588
|
-
* @version SDK: 1.26.0 |
|
|
2618
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
2589
2619
|
*/
|
|
2590
2620
|
HostEvent["SetHiddenTabs"] = "SetPinboardHiddenTabs";
|
|
2591
2621
|
/**
|
|
@@ -2599,7 +2629,7 @@
|
|
|
2599
2629
|
* executeSearch: true,
|
|
2600
2630
|
* })
|
|
2601
2631
|
* ```
|
|
2602
|
-
* @version SDK: 1.26.0 |
|
|
2632
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
2603
2633
|
*/
|
|
2604
2634
|
HostEvent["UpdateSageQuery"] = "updateSageQuery";
|
|
2605
2635
|
/**
|
|
@@ -2616,21 +2646,22 @@
|
|
|
2616
2646
|
* ```js
|
|
2617
2647
|
* const {session} = await embed.trigger( HostEvent.GetAnswerSession )
|
|
2618
2648
|
* ```
|
|
2619
|
-
* @version SDK: 1.26.0 |
|
|
2649
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.10.0.cl, 10.1.0.sw
|
|
2620
2650
|
*/
|
|
2621
2651
|
HostEvent["GetAnswerSession"] = "getAnswerSession";
|
|
2622
2652
|
/**
|
|
2623
|
-
* Trigger Ask Sage for
|
|
2653
|
+
* Trigger the *Ask Sage* action for visualizations
|
|
2624
2654
|
* @example
|
|
2625
2655
|
* ```js
|
|
2626
2656
|
* liveboardEmbed.trigger(HostEvent.AskSage,
|
|
2627
2657
|
* {vizId:'730496d6-6903-4601-937e-2c691821af3c'})
|
|
2628
2658
|
* ```
|
|
2629
|
-
* @version SDK: 1.29.0 |
|
|
2659
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 9.12.0.cl
|
|
2630
2660
|
*/
|
|
2631
2661
|
HostEvent["AskSage"] = "AskSage";
|
|
2632
2662
|
/**
|
|
2633
|
-
* Trigger cross filter update action on a Liveboard
|
|
2663
|
+
* Trigger cross filter update action on a Liveboard.
|
|
2664
|
+
*
|
|
2634
2665
|
* @example
|
|
2635
2666
|
* ```js
|
|
2636
2667
|
* liveboardEmbed.trigger(HostEvent.UpdateCrossFilter, {
|
|
@@ -2641,7 +2672,7 @@
|
|
|
2641
2672
|
* ],
|
|
2642
2673
|
* });
|
|
2643
2674
|
* ```
|
|
2644
|
-
* @version SDK: 1.29.0 |
|
|
2675
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 10.0.0.cl, 10.1.0.sw
|
|
2645
2676
|
*/
|
|
2646
2677
|
HostEvent["UpdateCrossFilter"] = "UpdateCrossFilter";
|
|
2647
2678
|
/**
|
|
@@ -2650,11 +2681,13 @@
|
|
|
2650
2681
|
* ```js
|
|
2651
2682
|
* liveboardEmbed.trigger(HostEvent.ResetLiveboardPersonalisedView);
|
|
2652
2683
|
* ```
|
|
2653
|
-
* @version SDK: 1.29.0 |
|
|
2684
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 10.1.0.cl, 10.1.0.sw
|
|
2654
2685
|
*/
|
|
2655
2686
|
HostEvent["ResetLiveboardPersonalisedView"] = "ResetLiveboardPersonalisedView";
|
|
2656
2687
|
/**
|
|
2657
|
-
* Triggers an
|
|
2688
|
+
* Triggers an action to update Parameter values on embedded
|
|
2689
|
+
* Answers and Liveboard.
|
|
2690
|
+
*
|
|
2658
2691
|
* @example
|
|
2659
2692
|
* ```js
|
|
2660
2693
|
* liveboardEmbed.trigger(HostEvent.UpdateParameters, [{
|
|
@@ -2662,30 +2695,30 @@
|
|
|
2662
2695
|
* value: "almond"
|
|
2663
2696
|
* }])
|
|
2664
2697
|
*
|
|
2665
|
-
* @version SDK: 1.29.0 |
|
|
2698
|
+
* @version SDK: 1.29.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
2666
2699
|
*/
|
|
2667
2700
|
HostEvent["UpdateParameters"] = "UpdateParameters";
|
|
2668
2701
|
/**
|
|
2669
|
-
* Triggers GetParameters to fetch the runtime
|
|
2702
|
+
* Triggers GetParameters to fetch the runtime Parameters.
|
|
2670
2703
|
* ```js
|
|
2671
2704
|
* liveboardEmbed.trigger(HostEvent.GetParameters).then((parameter) => {
|
|
2672
2705
|
* console.log('parameters', parameter);
|
|
2673
2706
|
* });
|
|
2674
2707
|
*```
|
|
2675
|
-
* @version SDK: 1.29.0 |
|
|
2708
|
+
* @version SDK: 1.29.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
2676
2709
|
*/
|
|
2677
2710
|
HostEvent["GetParameters"] = "GetParameters";
|
|
2678
2711
|
/**
|
|
2679
|
-
* Triggers an event to update a
|
|
2712
|
+
* Triggers an event to update a personalized view of a Liveboard.
|
|
2680
2713
|
* ```js
|
|
2681
2714
|
* liveboardEmbed.trigger(HostEvent.UpdatePersonalisedView, {viewId: '1234'})
|
|
2682
2715
|
* ```
|
|
2683
|
-
* @version SDK: 1.36.0 |
|
|
2716
|
+
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
|
|
2684
2717
|
*/
|
|
2685
2718
|
HostEvent["UpdatePersonalisedView"] = "UpdatePersonalisedView";
|
|
2686
2719
|
/**
|
|
2687
|
-
* Triggers the action to get the current view of the
|
|
2688
|
-
* @version SDK: 1.36.0 |
|
|
2720
|
+
* Triggers the action to get the current view of the Liveboard.
|
|
2721
|
+
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
|
|
2689
2722
|
*/
|
|
2690
2723
|
HostEvent["SaveAnswer"] = "saveAnswer";
|
|
2691
2724
|
/**
|
|
@@ -2693,6 +2726,25 @@
|
|
|
2693
2726
|
* @hidden
|
|
2694
2727
|
*/
|
|
2695
2728
|
HostEvent["UIPassthrough"] = "UiPassthrough";
|
|
2729
|
+
/**
|
|
2730
|
+
* Triggers the table viz rerender with the updated data.
|
|
2731
|
+
* Includes the following properties:
|
|
2732
|
+
* @param - columnDataLite - an array of object containing data
|
|
2733
|
+
* transformed from data picked from TableVizRendered event.
|
|
2734
|
+
* For example, { columnDataLite: []}
|
|
2735
|
+
* @example
|
|
2736
|
+
* ```js
|
|
2737
|
+
* searchEmbed.on(EmbedEvent.TableVizRendered, (payload) => {
|
|
2738
|
+
* console.log(payload);
|
|
2739
|
+
* const columnDataLite = payload.data.data.columnDataLite;
|
|
2740
|
+
* columnDataLite[0].dataValue[0]="new fob";
|
|
2741
|
+
* console.log('>>> new Data', columnDataLite);
|
|
2742
|
+
* searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
|
|
2743
|
+
* })
|
|
2744
|
+
* ```
|
|
2745
|
+
* @version SDK: 1.35.12 | ThoughtSpot: 10.7.0.cl
|
|
2746
|
+
*/
|
|
2747
|
+
HostEvent["TransformTableVizData"] = "TransformTableVizData";
|
|
2696
2748
|
})(exports.HostEvent || (exports.HostEvent = {}));
|
|
2697
2749
|
/**
|
|
2698
2750
|
* The different visual modes that the data sources panel within
|
|
@@ -2759,7 +2811,12 @@
|
|
|
2759
2811
|
Param["AuthType"] = "authType";
|
|
2760
2812
|
Param["IconSpriteUrl"] = "iconSprite";
|
|
2761
2813
|
Param["cookieless"] = "cookieless";
|
|
2762
|
-
|
|
2814
|
+
// Deprecated: `isContextMenuEnabledOnLeftClick`
|
|
2815
|
+
// Introduced: `contextMenuEnabledOnWhichClick` with values: 'left',
|
|
2816
|
+
// 'right', or 'both'. This update only affects ThoughtSpot URL parameters
|
|
2817
|
+
// and does not impact existing workflows or use cases. Added support for
|
|
2818
|
+
// 'both' clicks in `contextMenuTrigger` configuration.
|
|
2819
|
+
Param["ContextMenuTrigger"] = "contextMenuEnabledOnWhichClick";
|
|
2763
2820
|
Param["LinkOverride"] = "linkOverride";
|
|
2764
2821
|
Param["blockNonEmbedFullAppAccess"] = "blockNonEmbedFullAppAccess";
|
|
2765
2822
|
Param["ShowInsertToSlide"] = "insertInToSlide";
|
|
@@ -2912,7 +2969,8 @@
|
|
|
2912
2969
|
Action["ResetLayout"] = "resetLayout";
|
|
2913
2970
|
/**
|
|
2914
2971
|
* The **Schedule** menu action on a Liveboard.
|
|
2915
|
-
* Allows scheduling a Liveboard
|
|
2972
|
+
* Allows scheduling a Liveboard job, for example,
|
|
2973
|
+
* sending periodic notifications.
|
|
2916
2974
|
* @example
|
|
2917
2975
|
* ```js
|
|
2918
2976
|
* disabledActions: [Action.Schedule]
|
|
@@ -2954,7 +3012,7 @@
|
|
|
2954
3012
|
* ```js
|
|
2955
3013
|
* disabledActions: [Action.AddDataPanelObjects]
|
|
2956
3014
|
* ```
|
|
2957
|
-
* @version SDK: 1.32.0 |
|
|
3015
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl, 10.1.0.sw
|
|
2958
3016
|
*/
|
|
2959
3017
|
Action["AddDataPanelObjects"] = "addDataPanelObjects";
|
|
2960
3018
|
/**
|
|
@@ -2967,7 +3025,28 @@
|
|
|
2967
3025
|
* ```
|
|
2968
3026
|
*/
|
|
2969
3027
|
Action["ConfigureFilter"] = "configureFilter";
|
|
3028
|
+
/**
|
|
3029
|
+
* The **Collapse data sources** icon on the Search page.
|
|
3030
|
+
* Collapses the panel showing data sources.
|
|
3031
|
+
*
|
|
3032
|
+
* @example
|
|
3033
|
+
* ```js
|
|
3034
|
+
* disabledActions: [Action.CollapseDataPanel]
|
|
3035
|
+
* ```
|
|
3036
|
+
* @version: SDK: 1.1.0 | ThoughtSpot Cloud: ts7.may.cl, 8.4.1.sw
|
|
3037
|
+
*/
|
|
2970
3038
|
Action["CollapseDataSources"] = "collapseDataSources";
|
|
3039
|
+
/**
|
|
3040
|
+
* The **Collapse data panel** icon on the Search page.
|
|
3041
|
+
* Collapses the data panel view.
|
|
3042
|
+
*
|
|
3043
|
+
* @version: SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl, 10.7.0.sw
|
|
3044
|
+
*
|
|
3045
|
+
* @example
|
|
3046
|
+
* ```js
|
|
3047
|
+
* disabledActions: [Action.CollapseDataPanel]
|
|
3048
|
+
* ```
|
|
3049
|
+
*/
|
|
2971
3050
|
Action["CollapseDataPanel"] = "collapseDataPanel";
|
|
2972
3051
|
/**
|
|
2973
3052
|
* The **Choose sources** button on Search page.
|
|
@@ -3003,7 +3082,7 @@
|
|
|
3003
3082
|
* ```js
|
|
3004
3083
|
* disabledActions: [Action.AddColumnSet]
|
|
3005
3084
|
* ```
|
|
3006
|
-
* @version SDK: 1.32.0 |
|
|
3085
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl, 10.1.0.sw
|
|
3007
3086
|
*/
|
|
3008
3087
|
Action["AddColumnSet"] = "addSimpleCohort";
|
|
3009
3088
|
/**
|
|
@@ -3013,7 +3092,7 @@
|
|
|
3013
3092
|
* ```js
|
|
3014
3093
|
* disabledActions: [Action.AddQuerySet]
|
|
3015
3094
|
* ```
|
|
3016
|
-
* @version SDK: 1.32.0 |
|
|
3095
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl, 10.1.0.sw
|
|
3017
3096
|
*/
|
|
3018
3097
|
Action["AddQuerySet"] = "addAdvancedCohort";
|
|
3019
3098
|
/**
|
|
@@ -3045,6 +3124,8 @@
|
|
|
3045
3124
|
/**
|
|
3046
3125
|
* The **Show underlying data** menu action on a visualization or
|
|
3047
3126
|
* Answer page.
|
|
3127
|
+
* Displays detailed information and raw data
|
|
3128
|
+
* for a given visualization.
|
|
3048
3129
|
* @example
|
|
3049
3130
|
* ```js
|
|
3050
3131
|
* disabledActions: [Action.ShowUnderlyingData]
|
|
@@ -3246,6 +3327,7 @@
|
|
|
3246
3327
|
Action["AnalysisInfo"] = "analysisInfo";
|
|
3247
3328
|
/**
|
|
3248
3329
|
* The **Schedule** menu action on a Liveboard.
|
|
3330
|
+
* Allows scheduling a Liveboard job.
|
|
3249
3331
|
* @example
|
|
3250
3332
|
* ```js
|
|
3251
3333
|
* disabledActions: [Action.Subscription]
|
|
@@ -3315,8 +3397,13 @@
|
|
|
3315
3397
|
*/
|
|
3316
3398
|
Action["RequestAccess"] = "requestAccess";
|
|
3317
3399
|
/**
|
|
3318
|
-
* The **Query visualizer** and **Query SQL** buttons in
|
|
3319
|
-
* of the Answer page
|
|
3400
|
+
* The **Query visualizer** and **Query SQL** buttons in
|
|
3401
|
+
* Query details panel of the Answer page.
|
|
3402
|
+
*
|
|
3403
|
+
* **Query visualizer** - Displays the tables
|
|
3404
|
+
* and filters used in a search query.
|
|
3405
|
+
* **Query SQL** - Displays the SQL statements used
|
|
3406
|
+
* in a search query to fetch data.
|
|
3320
3407
|
* @example
|
|
3321
3408
|
* ```js
|
|
3322
3409
|
* disabledActions: [Action.QueryDetailsButtons]
|
|
@@ -3334,7 +3421,10 @@
|
|
|
3334
3421
|
*/
|
|
3335
3422
|
Action["AnswerDelete"] = "onDeleteAnswer";
|
|
3336
3423
|
/**
|
|
3337
|
-
* The
|
|
3424
|
+
* The chart switcher icon on Answer page and
|
|
3425
|
+
* visualizations in edit mode.
|
|
3426
|
+
* Allows switching to the table or chart mode
|
|
3427
|
+
* when editing a visualization.
|
|
3338
3428
|
* @example
|
|
3339
3429
|
* ```js
|
|
3340
3430
|
* disabledActions: [Action.AnswerChartSwitcher]
|
|
@@ -3343,7 +3433,10 @@
|
|
|
3343
3433
|
*/
|
|
3344
3434
|
Action["AnswerChartSwitcher"] = "answerChartSwitcher";
|
|
3345
3435
|
/**
|
|
3346
|
-
* Favorites icon (*)
|
|
3436
|
+
* The Favorites icon (*) for Answers,
|
|
3437
|
+
* Liveboard, and data objects like Worksheet, Model,
|
|
3438
|
+
* Tables and Views.
|
|
3439
|
+
* Allows adding an object to the user’s favorites list.
|
|
3347
3440
|
* @example
|
|
3348
3441
|
* ```js
|
|
3349
3442
|
* disabledActions: [Action.AddToFavorites]
|
|
@@ -3361,7 +3454,9 @@
|
|
|
3361
3454
|
*/
|
|
3362
3455
|
Action["EditDetails"] = "editDetails";
|
|
3363
3456
|
/**
|
|
3364
|
-
* The Create alert action
|
|
3457
|
+
* The *Create alert* action for KPI charts.
|
|
3458
|
+
* Allows users to schedule threshold-based alerts
|
|
3459
|
+
* for KPI charts.
|
|
3365
3460
|
* @example
|
|
3366
3461
|
* ```js
|
|
3367
3462
|
* disabledActions: [Action.CreateMonitor]
|
|
@@ -3417,7 +3512,7 @@
|
|
|
3417
3512
|
* ```js
|
|
3418
3513
|
* disabledActions: [Action.CrossFilter]
|
|
3419
3514
|
* ```
|
|
3420
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3515
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.8.0.sw
|
|
3421
3516
|
*/
|
|
3422
3517
|
Action["CrossFilter"] = "context-menu-item-cross-filter";
|
|
3423
3518
|
/**
|
|
@@ -3427,7 +3522,7 @@
|
|
|
3427
3522
|
* ```js
|
|
3428
3523
|
* disabledActions: [Action.SyncToSlack]
|
|
3429
3524
|
* ```
|
|
3430
|
-
* @version @version SDK : 1.32.0 |
|
|
3525
|
+
* @version @version SDK : 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
|
|
3431
3526
|
*/
|
|
3432
3527
|
Action["SyncToSlack"] = "syncToSlack";
|
|
3433
3528
|
/**
|
|
@@ -3437,7 +3532,7 @@
|
|
|
3437
3532
|
* ```js
|
|
3438
3533
|
* disabledActions: [Action.SyncToTeams]
|
|
3439
3534
|
* ```
|
|
3440
|
-
* @version @version SDK : 1.32.0 |
|
|
3535
|
+
* @version @version SDK : 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
|
|
3441
3536
|
*/
|
|
3442
3537
|
Action["SyncToTeams"] = "syncToTeams";
|
|
3443
3538
|
/**
|
|
@@ -3448,7 +3543,7 @@
|
|
|
3448
3543
|
* ```js
|
|
3449
3544
|
* disabledActions: [Action.RemoveCrossFilter]
|
|
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["RemoveCrossFilter"] = "context-menu-item-remove-cross-filter";
|
|
3454
3549
|
/**
|
|
@@ -3459,7 +3554,7 @@
|
|
|
3459
3554
|
* ```js
|
|
3460
3555
|
* disabledActions: [Action.AxisMenuAggregate]
|
|
3461
3556
|
* ```
|
|
3462
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3557
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3463
3558
|
*/
|
|
3464
3559
|
Action["AxisMenuAggregate"] = "axisMenuAggregate";
|
|
3465
3560
|
/**
|
|
@@ -3470,17 +3565,19 @@
|
|
|
3470
3565
|
* ```js
|
|
3471
3566
|
* disabledActions: [Action.AxisMenuTimeBucket]
|
|
3472
3567
|
* ```
|
|
3473
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3568
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3474
3569
|
*/
|
|
3475
3570
|
Action["AxisMenuTimeBucket"] = "axisMenuTimeBucket";
|
|
3476
3571
|
/**
|
|
3477
3572
|
* The **Filter** action in the chart axis or table column
|
|
3478
3573
|
* customization menu.
|
|
3574
|
+
* Allows adding, editing, or removing filters.
|
|
3575
|
+
*
|
|
3479
3576
|
* @example
|
|
3480
3577
|
* ```js
|
|
3481
3578
|
* disabledActions: [Action.AxisMenuFilter]
|
|
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["AxisMenuFilter"] = "axisMenuFilter";
|
|
3486
3583
|
/**
|
|
@@ -3491,7 +3588,7 @@
|
|
|
3491
3588
|
* ```js
|
|
3492
3589
|
* disabledActions: [Action.AxisMenuConditionalFormat]
|
|
3493
3590
|
* ```
|
|
3494
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3591
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3495
3592
|
*/
|
|
3496
3593
|
Action["AxisMenuConditionalFormat"] = "axisMenuConditionalFormat";
|
|
3497
3594
|
/**
|
|
@@ -3502,7 +3599,7 @@
|
|
|
3502
3599
|
* ```js
|
|
3503
3600
|
* disabledActions: [Action.AxisMenuConditionalFormat]
|
|
3504
3601
|
* ```
|
|
3505
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3602
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3506
3603
|
*/
|
|
3507
3604
|
Action["AxisMenuSort"] = "axisMenuSort";
|
|
3508
3605
|
/**
|
|
@@ -3514,7 +3611,7 @@
|
|
|
3514
3611
|
* ```js
|
|
3515
3612
|
* disabledActions: [Action.AxisMenuGroup]
|
|
3516
3613
|
* ```
|
|
3517
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3614
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3518
3615
|
*/
|
|
3519
3616
|
Action["AxisMenuGroup"] = "axisMenuGroup";
|
|
3520
3617
|
/**
|
|
@@ -3525,7 +3622,7 @@
|
|
|
3525
3622
|
* ```js
|
|
3526
3623
|
* disabledActions: [Action.AxisMenuPosition]
|
|
3527
3624
|
* ```
|
|
3528
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3625
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3529
3626
|
*/
|
|
3530
3627
|
Action["AxisMenuPosition"] = "axisMenuPosition";
|
|
3531
3628
|
/**
|
|
@@ -3535,7 +3632,7 @@
|
|
|
3535
3632
|
* ```js
|
|
3536
3633
|
* disabledActions: [Action.AxisMenuRename]
|
|
3537
3634
|
* ```
|
|
3538
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3635
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3539
3636
|
*/
|
|
3540
3637
|
Action["AxisMenuRename"] = "axisMenuRename";
|
|
3541
3638
|
/**
|
|
@@ -3546,7 +3643,7 @@
|
|
|
3546
3643
|
* ```js
|
|
3547
3644
|
* disabledActions: [Action.AxisMenuEdit]
|
|
3548
3645
|
* ```
|
|
3549
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3646
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3550
3647
|
*/
|
|
3551
3648
|
Action["AxisMenuEdit"] = "axisMenuEdit";
|
|
3552
3649
|
/**
|
|
@@ -3556,7 +3653,7 @@
|
|
|
3556
3653
|
* ```js
|
|
3557
3654
|
* disabledActions: [Action.AxisMenuNumberFormat]
|
|
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["AxisMenuNumberFormat"] = "axisMenuNumberFormat";
|
|
3562
3659
|
/**
|
|
@@ -3566,7 +3663,7 @@
|
|
|
3566
3663
|
* ```js
|
|
3567
3664
|
* disabledActions: [Action.AxisMenuTextWrapping]
|
|
3568
3665
|
* ```
|
|
3569
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3666
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3570
3667
|
*/
|
|
3571
3668
|
Action["AxisMenuTextWrapping"] = "axisMenuTextWrapping";
|
|
3572
3669
|
/**
|
|
@@ -3578,7 +3675,7 @@
|
|
|
3578
3675
|
* ```js
|
|
3579
3676
|
* disabledActions: [Action.AxisMenuRemove]
|
|
3580
3677
|
* ```
|
|
3581
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3678
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3582
3679
|
*/
|
|
3583
3680
|
Action["AxisMenuRemove"] = "axisMenuRemove";
|
|
3584
3681
|
/**
|
|
@@ -3592,26 +3689,27 @@
|
|
|
3592
3689
|
* ```js
|
|
3593
3690
|
* disabledActions: [Action.RenameModalTitleDescription]
|
|
3594
3691
|
* ```
|
|
3595
|
-
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
|
|
3692
|
+
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl, 9.8.0.sw
|
|
3596
3693
|
*/
|
|
3597
3694
|
Action["RenameModalTitleDescription"] = "renameModalTitleDescription";
|
|
3598
3695
|
/**
|
|
3599
|
-
*
|
|
3696
|
+
* The *Request verification* action on a Liveboard.
|
|
3697
|
+
* Initiates a request for Liveboard verification.
|
|
3600
3698
|
* @example
|
|
3601
3699
|
* ```js
|
|
3602
3700
|
* disabledActions: [Action.RequestVerification]
|
|
3603
3701
|
* ```
|
|
3604
|
-
* @version SDK: 1.25.0 |
|
|
3702
|
+
* @version SDK: 1.25.0 | ThoughtSpot: 9.6.0.cl, 10.1.0.sw
|
|
3605
3703
|
*/
|
|
3606
3704
|
Action["RequestVerification"] = "requestVerification";
|
|
3607
3705
|
/**
|
|
3608
3706
|
*
|
|
3609
|
-
*Allows users to mark a Liveboard as verified.
|
|
3707
|
+
* Allows users to mark a Liveboard as verified.
|
|
3610
3708
|
* @example
|
|
3611
3709
|
* ```js
|
|
3612
3710
|
* disabledActions: [Action.MarkAsVerified]
|
|
3613
3711
|
* ```
|
|
3614
|
-
* @version SDK: 1.25.0 |
|
|
3712
|
+
* @version SDK: 1.25.0 | ThoughtSpot: 9.6.0.cl, 10.1.0.sw
|
|
3615
3713
|
*/
|
|
3616
3714
|
Action["MarkAsVerified"] = "markAsVerified";
|
|
3617
3715
|
/**
|
|
@@ -3621,7 +3719,7 @@
|
|
|
3621
3719
|
* ```js
|
|
3622
3720
|
* disabledActions: [Action.AddTab]
|
|
3623
3721
|
* ```
|
|
3624
|
-
* @version SDK: 1.26.0 |
|
|
3722
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
3625
3723
|
*/
|
|
3626
3724
|
Action["AddTab"] = "addTab";
|
|
3627
3725
|
/**
|
|
@@ -3631,35 +3729,42 @@
|
|
|
3631
3729
|
* ```js
|
|
3632
3730
|
* disabledActions: [Action.EnableContextualChangeAnalysis]
|
|
3633
3731
|
* ```
|
|
3634
|
-
* @version SDK: 1.25.0 |
|
|
3732
|
+
* @version SDK: 1.25.0 | ThoughtSpot Cloud: 9.6.0.cl
|
|
3635
3733
|
*/
|
|
3636
3734
|
Action["EnableContextualChangeAnalysis"] = "enableContextualChangeAnalysis";
|
|
3637
3735
|
/**
|
|
3736
|
+
* Action ID to hide or disable Natural Language Search query.
|
|
3638
3737
|
*
|
|
3639
3738
|
* @example
|
|
3640
3739
|
* ```js
|
|
3641
3740
|
* disabledActions: [Action.ShowSageQuery]
|
|
3642
3741
|
* ```
|
|
3643
|
-
* @version SDK: 1.26.0 |
|
|
3742
|
+
* @version SDK: 1.26.0 | ThoughtSpot Cloud: 9.7.0.cl
|
|
3644
3743
|
*/
|
|
3645
3744
|
Action["ShowSageQuery"] = "showSageQuery";
|
|
3646
3745
|
/**
|
|
3746
|
+
*
|
|
3747
|
+
* Action ID to hide or disable the edit option for the
|
|
3748
|
+
* results generated from the
|
|
3749
|
+
* Natural Language Search query.
|
|
3647
3750
|
*
|
|
3648
3751
|
* @example
|
|
3649
3752
|
* ```js
|
|
3650
3753
|
* disabledActions: [Action.EditSageAnswer]
|
|
3651
3754
|
* ```
|
|
3652
|
-
* @version SDK: 1.26.0 |
|
|
3755
|
+
* @version SDK: 1.26.0 | ThoughtSpot Cloud: 9.7.0.cl
|
|
3653
3756
|
*/
|
|
3654
3757
|
Action["EditSageAnswer"] = "editSageAnswer";
|
|
3655
3758
|
/**
|
|
3759
|
+
* The feedback widget for AI-generated Answers.
|
|
3760
|
+
* Allows users to send feedback on the Answers generated
|
|
3761
|
+
* from a Natural Language Search query.
|
|
3656
3762
|
*
|
|
3657
|
-
*This action allows users to send feedback on AI-generated Answers.
|
|
3658
3763
|
* @example
|
|
3659
3764
|
* ```js
|
|
3660
3765
|
* disabledActions: [Action.SageAnswerFeedback]
|
|
3661
3766
|
* ```
|
|
3662
|
-
* @version SDK: 1.26.0 |
|
|
3767
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl
|
|
3663
3768
|
*/
|
|
3664
3769
|
Action["SageAnswerFeedback"] = "sageAnswerFeedback";
|
|
3665
3770
|
/**
|
|
@@ -3668,7 +3773,7 @@
|
|
|
3668
3773
|
* ```js
|
|
3669
3774
|
* disabledActions: [Action.ModifySageAnswer]
|
|
3670
3775
|
* ```
|
|
3671
|
-
* @version SDK: 1.26.0 |
|
|
3776
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl
|
|
3672
3777
|
*/
|
|
3673
3778
|
Action["ModifySageAnswer"] = "modifySageAnswer";
|
|
3674
3779
|
/**
|
|
@@ -3681,7 +3786,10 @@
|
|
|
3681
3786
|
*/
|
|
3682
3787
|
Action["MoveToTab"] = "onContainerMove";
|
|
3683
3788
|
/**
|
|
3684
|
-
* The **Manage
|
|
3789
|
+
* The **Manage Alerts** menu action on KPI visualizations.
|
|
3790
|
+
* Allows creating, viewing, and editing monitor
|
|
3791
|
+
* alerts for a KPI chart.
|
|
3792
|
+
*
|
|
3685
3793
|
* @example
|
|
3686
3794
|
* ```js
|
|
3687
3795
|
* disabledActions: [Action.ManageMonitor]
|
|
@@ -3689,21 +3797,23 @@
|
|
|
3689
3797
|
*/
|
|
3690
3798
|
Action["ManageMonitor"] = "manageMonitor";
|
|
3691
3799
|
/**
|
|
3692
|
-
*
|
|
3800
|
+
* The Liveboard Personalised Views dropdown.
|
|
3801
|
+
* Allows navigating to a personalized Liveboard View.
|
|
3693
3802
|
* @example
|
|
3694
3803
|
* ```js
|
|
3695
3804
|
* disabledActions: [Action.PersonalisedViewsDropdown]
|
|
3696
3805
|
* ```
|
|
3697
|
-
* @version SDK : 1.26.0 |
|
|
3806
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 10.1.0.sw
|
|
3698
3807
|
*/
|
|
3699
3808
|
Action["PersonalisedViewsDropdown"] = "personalisedViewsDropdown";
|
|
3700
3809
|
/**
|
|
3701
|
-
* Action ID for
|
|
3810
|
+
* Action ID for show or hide the user details on a
|
|
3811
|
+
* Liveboard (Recently visited / social proof)
|
|
3702
3812
|
* @example
|
|
3703
3813
|
* ```js
|
|
3704
3814
|
* disabledActions: [Action.LiveboardUsers]
|
|
3705
3815
|
* ```
|
|
3706
|
-
* @version SDK : 1.26.0 |
|
|
3816
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 10.1.0.sw
|
|
3707
3817
|
*/
|
|
3708
3818
|
Action["LiveboardUsers"] = "liveboardUsers";
|
|
3709
3819
|
/**
|
|
@@ -3721,108 +3831,124 @@
|
|
|
3721
3831
|
* hiddenAction: [Action.TML] // hide all TML actions
|
|
3722
3832
|
* disabledActions: [Action.TML] // to disable all TML actions
|
|
3723
3833
|
* ```
|
|
3724
|
-
* @version SDK : 1.28.3 |
|
|
3834
|
+
* @version SDK : 1.28.3 | ThoughtSpot: 9.12.0.cl, 10.1.0.sw
|
|
3725
3835
|
*/
|
|
3726
3836
|
Action["TML"] = "tml";
|
|
3727
3837
|
/**
|
|
3728
|
-
*
|
|
3729
|
-
* and Pin modal
|
|
3838
|
+
* The **Create Liveboard* action on
|
|
3839
|
+
* the Liveboards page and the Pin modal.
|
|
3840
|
+
* Allows users to create a Liveboard.
|
|
3841
|
+
*
|
|
3730
3842
|
* @example
|
|
3731
3843
|
* ```js
|
|
3732
3844
|
* hiddenAction: [Action.CreateLiveboard]
|
|
3733
3845
|
* disabledActions: [Action.CreateLiveboard]
|
|
3734
3846
|
* ```
|
|
3735
|
-
* @version SDK: 1.32.0 |
|
|
3847
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
3736
3848
|
*/
|
|
3737
3849
|
Action["CreateLiveboard"] = "createLiveboard";
|
|
3738
3850
|
/**
|
|
3739
|
-
* Action ID for to hide
|
|
3851
|
+
* Action ID for to hide or disable the
|
|
3852
|
+
* Verified Liveboard banner.
|
|
3740
3853
|
* @example
|
|
3741
3854
|
* ```js
|
|
3742
3855
|
* hiddenAction: [Action.VerifiedLiveboard]
|
|
3743
3856
|
* ```
|
|
3744
|
-
* @version SDK: 1.29.0 |
|
|
3857
|
+
* @version SDK: 1.29.0 | ThoughtSpot: 9.10.0.cl, 10.1.0.sw
|
|
3745
3858
|
*/
|
|
3746
3859
|
Action["VerifiedLiveboard"] = "verifiedLiveboard";
|
|
3747
3860
|
/**
|
|
3748
|
-
*
|
|
3861
|
+
* The *Ask Sage* action for Answers and visualizations.
|
|
3862
|
+
* Allows initiating a Natural Language Search query.
|
|
3863
|
+
*
|
|
3749
3864
|
* @example
|
|
3750
3865
|
* ```js
|
|
3751
3866
|
* hiddenAction: [Action.AskAi]
|
|
3752
3867
|
* ```
|
|
3753
|
-
* @version SDK: 1.29.0 |
|
|
3868
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 9.12.0.cl
|
|
3754
3869
|
*/
|
|
3755
3870
|
Action["AskAi"] = "AskAi";
|
|
3756
3871
|
/**
|
|
3757
3872
|
* The **Add KPI to Watchlist** action on Home page watchlist.
|
|
3873
|
+
* Adds a KPI chart to the watchlist on the Home page.
|
|
3758
3874
|
* @example
|
|
3759
3875
|
* ```js
|
|
3760
3876
|
* disabledActions: [Action.AddToWatchlist]
|
|
3761
3877
|
* ```
|
|
3762
|
-
* @version SDK : 1.27.9 |
|
|
3878
|
+
* @version SDK : 1.27.9 | ThoughtSpot Cloud: 9.12.5.cl
|
|
3763
3879
|
*/
|
|
3764
3880
|
Action["AddToWatchlist"] = "addToWatchlist";
|
|
3765
3881
|
/**
|
|
3766
3882
|
* The **Remove from watchlist** menu action on KPI watchlist.
|
|
3883
|
+
* Removes a KPI chart from the watchlist on the Home page.
|
|
3767
3884
|
* @example
|
|
3768
3885
|
* ```js
|
|
3769
3886
|
* disabledActions: [Action.RemoveFromWatchlist]
|
|
3770
3887
|
* ```
|
|
3771
|
-
* @version SDK : 1.27.9 |
|
|
3888
|
+
* @version SDK : 1.27.9 | ThoughtSpot: 9.12.5.cl
|
|
3772
3889
|
*/
|
|
3773
3890
|
Action["RemoveFromWatchlist"] = "removeFromWatchlist";
|
|
3774
3891
|
/**
|
|
3775
|
-
* The **
|
|
3892
|
+
* The **Organize Favourites** action on Homepage
|
|
3893
|
+
* *Favorites* module.
|
|
3894
|
+
*
|
|
3776
3895
|
* @example
|
|
3777
3896
|
* ```js
|
|
3778
3897
|
* disabledActions: [Action.OrganiseFavourites]
|
|
3779
3898
|
* ```
|
|
3780
|
-
* @version SDK : 1.32.0 |
|
|
3899
|
+
* @version SDK : 1.32.0 | ThoughtSpot: 10.0.0.cl
|
|
3781
3900
|
*/
|
|
3782
3901
|
Action["OrganiseFavourites"] = "organiseFavourites";
|
|
3783
3902
|
/**
|
|
3784
|
-
*
|
|
3903
|
+
* The **AI Highlights** action on a Liveboard.
|
|
3904
|
+
*
|
|
3785
3905
|
* @example
|
|
3786
3906
|
* ```js
|
|
3787
3907
|
* hiddenAction: [Action.AIHighlights]
|
|
3788
3908
|
* ```
|
|
3789
|
-
* @version SDK: 1.27.10 |
|
|
3909
|
+
* @version SDK: 1.27.10 | ThoughtSpot Cloud: 9.12.5.cl
|
|
3790
3910
|
*/
|
|
3791
3911
|
Action["AIHighlights"] = "AIHighlights";
|
|
3792
3912
|
/**
|
|
3793
|
-
*
|
|
3913
|
+
* The *Edit* action on the *Liveboard Schedules* page
|
|
3914
|
+
* (new Homepage experience).
|
|
3915
|
+
* Allows editing Liveboard schedules.
|
|
3916
|
+
*
|
|
3794
3917
|
* @example
|
|
3795
3918
|
* ```js
|
|
3796
3919
|
* disabledActions: [Action.EditScheduleHomepage]
|
|
3797
3920
|
* ```
|
|
3798
|
-
* @version SDK: 1.34.0 |
|
|
3921
|
+
* @version SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3799
3922
|
*/
|
|
3800
3923
|
Action["EditScheduleHomepage"] = "editScheduleHomepage";
|
|
3801
3924
|
/**
|
|
3802
|
-
*
|
|
3925
|
+
* The *Pause* action on the *Liveboard Schedules* page
|
|
3926
|
+
* Pauses a scheduled Liveboard job.
|
|
3803
3927
|
* @example
|
|
3804
3928
|
* ```js
|
|
3805
3929
|
* disabledActions: [Action.PauseScheduleHomepage]
|
|
3806
3930
|
* ```
|
|
3807
|
-
* @version SDK: 1.34.0 |
|
|
3931
|
+
* @version SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3808
3932
|
*/
|
|
3809
3933
|
Action["PauseScheduleHomepage"] = "pauseScheduleHomepage";
|
|
3810
3934
|
/**
|
|
3811
|
-
*
|
|
3935
|
+
* The **View run history** action **Liveboard Schedules** page.
|
|
3936
|
+
* Allows viewing schedule run history.
|
|
3812
3937
|
* @example
|
|
3813
3938
|
* ```js
|
|
3814
3939
|
* disabledActions: [Action.ViewScheduleRunHomepage]
|
|
3815
3940
|
* ```
|
|
3816
|
-
* @version SDK: 1.34.0 |
|
|
3941
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
|
|
3817
3942
|
*/
|
|
3818
3943
|
Action["ViewScheduleRunHomepage"] = "viewScheduleRunHomepage";
|
|
3819
3944
|
/**
|
|
3820
|
-
* Action ID
|
|
3945
|
+
* Action ID to hide or disable the
|
|
3946
|
+
* unsubscribe option for Liveboard schedules.
|
|
3821
3947
|
* @example
|
|
3822
3948
|
* ```js
|
|
3823
3949
|
* disabledActions: [Action.UnsubscribeScheduleHomepage]
|
|
3824
3950
|
* ```
|
|
3825
|
-
* @version SDK: 1.34.0 |
|
|
3951
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
|
|
3826
3952
|
*/
|
|
3827
3953
|
Action["UnsubscribeScheduleHomepage"] = "unsubscribeScheduleHomepage";
|
|
3828
3954
|
/**
|
|
@@ -3831,16 +3957,17 @@
|
|
|
3831
3957
|
* ```js
|
|
3832
3958
|
* disabledActions: [Action.ManageTags]
|
|
3833
3959
|
* ```
|
|
3834
|
-
* @version SDK : 1.34.0 |
|
|
3960
|
+
* @version SDK : 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3835
3961
|
*/
|
|
3836
3962
|
Action["ManageTags"] = "manageTags";
|
|
3837
3963
|
/**
|
|
3838
|
-
*
|
|
3964
|
+
* The **Delete** action on the **Liveboard Schedules* page.
|
|
3965
|
+
* Deletes a Liveboard schedule.
|
|
3839
3966
|
* @example
|
|
3840
3967
|
* ```js
|
|
3841
3968
|
* disabledActions: [Action.DeleteScheduleHomepage]
|
|
3842
3969
|
* ```
|
|
3843
|
-
* @version SDK: 1.34.0 |
|
|
3970
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
|
|
3844
3971
|
*/
|
|
3845
3972
|
Action["DeleteScheduleHomepage"] = "deleteScheduleHomepage";
|
|
3846
3973
|
/**
|
|
@@ -3849,7 +3976,7 @@
|
|
|
3849
3976
|
* ```js
|
|
3850
3977
|
* disabledActions: [Action.KPIAnalysisCTA]
|
|
3851
3978
|
* ```
|
|
3852
|
-
* @version SDK: 1.34.0 |
|
|
3979
|
+
* @version SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3853
3980
|
*/
|
|
3854
3981
|
Action["KPIAnalysisCTA"] = "kpiAnalysisCTA";
|
|
3855
3982
|
/**
|
|
@@ -3858,61 +3985,73 @@
|
|
|
3858
3985
|
* ```js
|
|
3859
3986
|
* const disabledActions = [Action.DisableChipReorder]
|
|
3860
3987
|
* ```
|
|
3861
|
-
* @version SDK: 1.36.0 |
|
|
3988
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3862
3989
|
*/
|
|
3863
3990
|
Action["DisableChipReorder"] = "disableChipReorder";
|
|
3864
3991
|
/**
|
|
3865
|
-
* Action ID
|
|
3992
|
+
* Action ID to show, hide, or disable filters
|
|
3993
|
+
* in a Liveboard tab.
|
|
3994
|
+
*
|
|
3866
3995
|
* @example
|
|
3867
3996
|
* ```js
|
|
3868
3997
|
* hiddenAction: [Action.ChangeFilterVisibilityInTab]
|
|
3869
3998
|
* ```
|
|
3870
|
-
* @version SDK: 1.36.0 |
|
|
3999
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3871
4000
|
*/
|
|
3872
4001
|
Action["ChangeFilterVisibilityInTab"] = "changeFilterVisibilityInTab";
|
|
3873
4002
|
/**
|
|
3874
|
-
*
|
|
4003
|
+
* The **Preview data** button on the Spotter interface.
|
|
4004
|
+
* Allows previewing the data used for Spotter queries.
|
|
4005
|
+
*
|
|
3875
4006
|
* @example
|
|
3876
4007
|
* ```js
|
|
3877
4008
|
* hiddenAction: [Action.PreviewDataSpotter]
|
|
3878
4009
|
* ```
|
|
3879
|
-
* @version SDK: 1.36.0 |
|
|
4010
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3880
4011
|
*/
|
|
3881
4012
|
Action["PreviewDataSpotter"] = "previewDataSpotter";
|
|
3882
4013
|
/**
|
|
3883
|
-
*
|
|
4014
|
+
* The **Reset** link on the Spotter interface.
|
|
4015
|
+
* Resets the conversation with Spotter.
|
|
4016
|
+
*
|
|
3884
4017
|
* @example
|
|
3885
4018
|
* ```js
|
|
3886
4019
|
* hiddenAction: [Action.ResetSpotterChat]
|
|
3887
4020
|
* ```
|
|
3888
|
-
* @version SDK: 1.36.0 |
|
|
4021
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3889
4022
|
*/
|
|
3890
4023
|
Action["ResetSpotterChat"] = "resetSpotterChat";
|
|
3891
4024
|
/**
|
|
3892
|
-
* Action ID for hide
|
|
4025
|
+
* Action ID for hide or disable the
|
|
4026
|
+
* Spotter feedback widget.
|
|
4027
|
+
*
|
|
3893
4028
|
* @example
|
|
3894
4029
|
* ```js
|
|
3895
4030
|
* hiddenAction: [Action.SpotterFeedback]
|
|
3896
4031
|
* ```
|
|
3897
|
-
* @version SDK: 1.36.0 |
|
|
4032
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3898
4033
|
*/
|
|
3899
4034
|
Action["SpotterFeedback"] = "spotterFeedback";
|
|
3900
4035
|
/**
|
|
3901
|
-
* Action ID for hide
|
|
4036
|
+
* Action ID for hide or disable
|
|
4037
|
+
* the previous prompt edit option in Spotter.
|
|
4038
|
+
*
|
|
3902
4039
|
* @example
|
|
3903
4040
|
* ```js
|
|
3904
4041
|
* hiddenAction: [Action.EditPreviousPrompt]
|
|
3905
4042
|
* ```
|
|
3906
|
-
* @version SDK: 1.36.0 |
|
|
4043
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3907
4044
|
*/
|
|
3908
4045
|
Action["EditPreviousPrompt"] = "editPreviousPrompt";
|
|
3909
4046
|
/**
|
|
3910
|
-
* Action ID for hide
|
|
4047
|
+
* Action ID for hide or disable
|
|
4048
|
+
* the previous prompt deletion option in Spotter.
|
|
4049
|
+
*
|
|
3911
4050
|
* @example
|
|
3912
4051
|
* ```js
|
|
3913
4052
|
* hiddenAction: [Action.DeletePreviousPrompt]
|
|
3914
4053
|
* ```
|
|
3915
|
-
* @version SDK: 1.36.0 |
|
|
4054
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3916
4055
|
*/
|
|
3917
4056
|
Action["DeletePreviousPrompt"] = "deletePreviousPrompt";
|
|
3918
4057
|
/**
|
|
@@ -3921,7 +4060,7 @@
|
|
|
3921
4060
|
* ```js
|
|
3922
4061
|
* hiddenAction: [Action.EditTokens]
|
|
3923
4062
|
* ```
|
|
3924
|
-
* @version SDK: 1.36.0 |
|
|
4063
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3925
4064
|
*/
|
|
3926
4065
|
Action["EditTokens"] = "editTokens";
|
|
3927
4066
|
})(exports.Action || (exports.Action = {}));
|
|
@@ -3934,11 +4073,13 @@
|
|
|
3934
4073
|
})(PrefetchFeatures || (PrefetchFeatures = {}));
|
|
3935
4074
|
/**
|
|
3936
4075
|
* Enum for options to change context trigger
|
|
4076
|
+
* BOTH_CLICKS option is introduced in 10.7
|
|
3937
4077
|
*/
|
|
3938
4078
|
var ContextMenuTriggerOptions;
|
|
3939
4079
|
(function (ContextMenuTriggerOptions) {
|
|
3940
4080
|
ContextMenuTriggerOptions["LEFT_CLICK"] = "left-click";
|
|
3941
4081
|
ContextMenuTriggerOptions["RIGHT_CLICK"] = "right-click";
|
|
4082
|
+
ContextMenuTriggerOptions["BOTH_CLICKS"] = "both-clicks";
|
|
3942
4083
|
})(ContextMenuTriggerOptions || (ContextMenuTriggerOptions = {}));
|
|
3943
4084
|
exports.LogLevel = void 0;
|
|
3944
4085
|
(function (LogLevel) {
|
|
@@ -3951,7 +4092,7 @@
|
|
|
3951
4092
|
* logLevel: LogLevel.SILENT,
|
|
3952
4093
|
* })
|
|
3953
4094
|
* ```
|
|
3954
|
-
* @version SDK: 1.26.7 |
|
|
4095
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3955
4096
|
*/
|
|
3956
4097
|
LogLevel["SILENT"] = "SILENT";
|
|
3957
4098
|
/**
|
|
@@ -3963,7 +4104,7 @@
|
|
|
3963
4104
|
* logLevel: LogLevel.ERROR,
|
|
3964
4105
|
* })
|
|
3965
4106
|
* ```
|
|
3966
|
-
* @version SDK: 1.26.7 |
|
|
4107
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3967
4108
|
*/
|
|
3968
4109
|
LogLevel["ERROR"] = "ERROR";
|
|
3969
4110
|
/**
|
|
@@ -3975,7 +4116,7 @@
|
|
|
3975
4116
|
* logLevel: LogLevel.WARN,
|
|
3976
4117
|
* })
|
|
3977
4118
|
* ```
|
|
3978
|
-
* @version SDK: 1.26.7 |
|
|
4119
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3979
4120
|
*/
|
|
3980
4121
|
LogLevel["WARN"] = "WARN";
|
|
3981
4122
|
/**
|
|
@@ -3987,7 +4128,7 @@
|
|
|
3987
4128
|
* logLevel: LogLevel.INFO,
|
|
3988
4129
|
* })
|
|
3989
4130
|
* ```
|
|
3990
|
-
* @version SDK: 1.26.7 |
|
|
4131
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3991
4132
|
*/
|
|
3992
4133
|
LogLevel["INFO"] = "INFO";
|
|
3993
4134
|
/**
|
|
@@ -3999,7 +4140,7 @@
|
|
|
3999
4140
|
* logLevel: LogLevel.DEBUG,
|
|
4000
4141
|
* })
|
|
4001
4142
|
* ```
|
|
4002
|
-
* @version SDK: 1.26.7 |
|
|
4143
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
4003
4144
|
*/
|
|
4004
4145
|
LogLevel["DEBUG"] = "DEBUG";
|
|
4005
4146
|
/**
|
|
@@ -4011,7 +4152,7 @@
|
|
|
4011
4152
|
* logLevel: LogLevel.TRACE,
|
|
4012
4153
|
* })
|
|
4013
4154
|
* ```
|
|
4014
|
-
* @version SDK: 1.26.7 |
|
|
4155
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
4015
4156
|
*/
|
|
4016
4157
|
LogLevel["TRACE"] = "TRACE";
|
|
4017
4158
|
})(exports.LogLevel || (exports.LogLevel = {}));
|
|
@@ -14524,7 +14665,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
14524
14665
|
return e;
|
|
14525
14666
|
}
|
|
14526
14667
|
|
|
14527
|
-
var name="@thoughtspot/visual-embed-sdk";var version$1="1.35.
|
|
14668
|
+
var name="@thoughtspot/visual-embed-sdk";var version$1="1.35.12";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports$1={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck","test-sdk":"jest -c jest.config.sdk.js --runInBand",test:"npm run test-sdk",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest",dev:"vite -c vite.local.config.ts"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-comment-length":"1.7.3","eslint-plugin-jsdoc":"^46.9.0","fs-extra":"^10.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^5.3.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"31 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
|
|
14528
14669
|
|
|
14529
14670
|
/**
|
|
14530
14671
|
* Reloads the ThoughtSpot iframe.
|
|
@@ -14589,7 +14730,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
14589
14730
|
UIPassthroughEvent["PinAnswerToLiveboard"] = "addVizToPinboard";
|
|
14590
14731
|
UIPassthroughEvent["SaveAnswer"] = "saveAnswer";
|
|
14591
14732
|
UIPassthroughEvent["GetDiscoverabilityStatus"] = "getDiscoverabilityStatus";
|
|
14592
|
-
UIPassthroughEvent["GetAvailableUIPassthroughs"] = "
|
|
14733
|
+
UIPassthroughEvent["GetAvailableUIPassthroughs"] = "getAvailableUiPassthroughs";
|
|
14593
14734
|
UIPassthroughEvent["GetAnswerConfig"] = "getAnswerPageConfig";
|
|
14594
14735
|
UIPassthroughEvent["GetLiveboardConfig"] = "getPinboardPageConfig";
|
|
14595
14736
|
})(UIPassthroughEvent || (UIPassthroughEvent = {}));
|
|
@@ -15045,10 +15186,13 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
15045
15186
|
* menu click
|
|
15046
15187
|
*/
|
|
15047
15188
|
if (contextMenuTrigger === ContextMenuTriggerOptions.LEFT_CLICK) {
|
|
15048
|
-
queryParams[Param.ContextMenuTrigger] =
|
|
15189
|
+
queryParams[Param.ContextMenuTrigger] = 'left';
|
|
15049
15190
|
}
|
|
15050
15191
|
else if (contextMenuTrigger === ContextMenuTriggerOptions.RIGHT_CLICK) {
|
|
15051
|
-
queryParams[Param.ContextMenuTrigger] =
|
|
15192
|
+
queryParams[Param.ContextMenuTrigger] = 'right';
|
|
15193
|
+
}
|
|
15194
|
+
else if (contextMenuTrigger === ContextMenuTriggerOptions.BOTH_CLICKS) {
|
|
15195
|
+
queryParams[Param.ContextMenuTrigger] = 'both';
|
|
15052
15196
|
}
|
|
15053
15197
|
const spriteUrl = (customizations === null || customizations === void 0 ? void 0 : customizations.iconSpriteUrl)
|
|
15054
15198
|
|| ((_c = this.embedConfig.customizations) === null || _c === void 0 ? void 0 : _c.iconSpriteUrl);
|
|
@@ -16642,10 +16786,11 @@ query GetEurekaVizSnapshots(
|
|
|
16642
16786
|
}
|
|
16643
16787
|
/**
|
|
16644
16788
|
* Triggers an event to the embedded app
|
|
16645
|
-
* @param messageType The event type
|
|
16646
|
-
* @param data The payload to send with the message
|
|
16789
|
+
* @param {HostEvent} messageType The event type
|
|
16790
|
+
* @param {any} data The payload to send with the message
|
|
16791
|
+
* @returns A promise that resolves with the response from the embedded app
|
|
16647
16792
|
*/
|
|
16648
|
-
trigger(messageType, data) {
|
|
16793
|
+
trigger(messageType, data = {}) {
|
|
16649
16794
|
const dataWithVizId = data;
|
|
16650
16795
|
if (messageType === exports.HostEvent.SetActiveTab) {
|
|
16651
16796
|
this.setActiveTab(data);
|