@thoughtspot/visual-embed-sdk 1.35.9 → 1.35.11
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 +2 -0
- package/cjs/src/embed/liveboard.d.ts.map +1 -1
- package/cjs/src/embed/liveboard.js +1 -1
- package/cjs/src/embed/liveboard.js.map +1 -1
- package/cjs/src/embed/liveboard.spec.js +16 -0
- 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/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/react/all-types-export.d.ts +1 -1
- package/cjs/src/react/all-types-export.d.ts.map +1 -1
- package/cjs/src/react/all-types-export.js +3 -1
- package/cjs/src/react/all-types-export.js.map +1 -1
- package/cjs/src/types.d.ts +253 -155
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +229 -131
- 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-VzrsEH43.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-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 +2 -0
- 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/hostEventsTypeMapping.d.ts +2 -0
- package/dist/src/hostEventsTypeMapping.d.ts.map +1 -0
- package/dist/src/react/all-types-export.d.ts +1 -1
- package/dist/src/react/all-types-export.d.ts.map +1 -1
- package/dist/src/types.d.ts +253 -155
- 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 +234 -136
- package/dist/tsembed-react.js +233 -135
- package/dist/tsembed.es.js +234 -136
- package/dist/tsembed.js +233 -135
- package/dist/visual-embed-sdk-react-full.d.ts +267 -158
- package/dist/visual-embed-sdk-react.d.ts +267 -158
- package/dist/visual-embed-sdk.d.ts +267 -158
- 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 +2 -0
- package/lib/src/embed/liveboard.d.ts.map +1 -1
- package/lib/src/embed/liveboard.js +1 -1
- package/lib/src/embed/liveboard.js.map +1 -1
- package/lib/src/embed/liveboard.spec.js +16 -0
- 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/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/react/all-types-export.d.ts +1 -1
- package/lib/src/react/all-types-export.d.ts.map +1 -1
- package/lib/src/react/all-types-export.js +1 -1
- package/lib/src/react/all-types-export.js.map +1 -1
- package/lib/src/types.d.ts +253 -155
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +229 -131
- 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 +267 -158
- 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 +22 -1
- package/src/embed/liveboard.ts +3 -1
- package/src/react/all-types-export.ts +2 -0
- package/src/types.ts +253 -161
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.11 */
|
|
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,7 +1741,7 @@ 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";
|
|
1744
1747
|
})(EmbedEvent || (EmbedEvent = {}));
|
|
@@ -1887,7 +1890,7 @@ var HostEvent;
|
|
|
1887
1890
|
* const url = embed.trigger(HostEvent.GetIframeUrl);
|
|
1888
1891
|
* console.log("iFrameURL",url);
|
|
1889
1892
|
* ```
|
|
1890
|
-
* @version SDK: 1.35.0 |
|
|
1893
|
+
* @version SDK: 1.35.0 | ThoughtSpot: 10.4.0.cl
|
|
1891
1894
|
*/
|
|
1892
1895
|
HostEvent["GetIframeUrl"] = "GetIframeUrl";
|
|
1893
1896
|
/**
|
|
@@ -1920,6 +1923,11 @@ var HostEvent;
|
|
|
1920
1923
|
* attributes passed with this event are appended to the existing runtime
|
|
1921
1924
|
* filters applied on a Liveboard.
|
|
1922
1925
|
*
|
|
1926
|
+
* **Note**: `HostEvent.UpdateRuntimeFilters` is supported in `LiveboardEmbed`
|
|
1927
|
+
* and `AppEmbed` only. In full application embedding, this event updates
|
|
1928
|
+
* the runtime filters applied on the Liveboard and saved Answer objects.
|
|
1929
|
+
*
|
|
1930
|
+
*
|
|
1923
1931
|
* Pass an array of runtime filters with the following attributes:
|
|
1924
1932
|
*
|
|
1925
1933
|
* `columnName` - _String_. The name of the column to filter on.
|
|
@@ -1930,9 +1938,12 @@ var HostEvent;
|
|
|
1930
1938
|
* `values` - List of operands. Some operators such as EQ and LE allow a
|
|
1931
1939
|
* single value, whereas BW and IN accept multiple values.
|
|
1932
1940
|
*
|
|
1933
|
-
* **Note**:
|
|
1934
|
-
*
|
|
1935
|
-
*
|
|
1941
|
+
* **Note**: Updating runtime filters resets the ThoughtSpot
|
|
1942
|
+
* object to its original state and applies new filter conditions.
|
|
1943
|
+
* Any user changes (like drilling into a visualization)
|
|
1944
|
+
* will be cleared, restoring the original visualization
|
|
1945
|
+
* with the updated filters.
|
|
1946
|
+
*
|
|
1936
1947
|
* @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
|
|
1937
1948
|
* @example
|
|
1938
1949
|
* ```js
|
|
@@ -1947,7 +1958,7 @@ var HostEvent;
|
|
|
1947
1958
|
HostEvent["UpdateRuntimeFilters"] = "UpdateRuntimeFilters";
|
|
1948
1959
|
/**
|
|
1949
1960
|
* Navigate to a specific page in the embedded ThoughtSpot application.
|
|
1950
|
-
* This is the same as calling `appEmbed.navigateToPage(path, true)
|
|
1961
|
+
* This is the same as calling `appEmbed.navigateToPage(path, true)`.
|
|
1951
1962
|
* @param - `path` - the path to navigate to to go forward or back. The path value can
|
|
1952
1963
|
* be a number; for example, `1`, `-1`.
|
|
1953
1964
|
* @example
|
|
@@ -2242,7 +2253,9 @@ var HostEvent;
|
|
|
2242
2253
|
*/
|
|
2243
2254
|
HostEvent["GetTML"] = "getTML";
|
|
2244
2255
|
/**
|
|
2245
|
-
* Trigger the **Show underlying data** action on
|
|
2256
|
+
* Trigger the **Show underlying data** action on a
|
|
2257
|
+
* chart or table.
|
|
2258
|
+
*
|
|
2246
2259
|
* @param - an object with vizId as a key
|
|
2247
2260
|
* @example
|
|
2248
2261
|
* ```js
|
|
@@ -2276,8 +2289,8 @@ var HostEvent;
|
|
|
2276
2289
|
*/
|
|
2277
2290
|
HostEvent["Delete"] = "onDeleteAnswer";
|
|
2278
2291
|
/**
|
|
2279
|
-
* Trigger the **SpotIQ analyze** action on
|
|
2280
|
-
* or
|
|
2292
|
+
* Trigger the **SpotIQ analyze** action on a
|
|
2293
|
+
* chart or table.
|
|
2281
2294
|
* @param - Liveboard embed takes `vizId` as a
|
|
2282
2295
|
* key. Can be left undefined when embedding Search or
|
|
2283
2296
|
* visualization.
|
|
@@ -2550,7 +2563,7 @@ var HostEvent;
|
|
|
2550
2563
|
* '430496d6-6903-4601-937e-2c691821af3c',
|
|
2551
2564
|
* 'f547ec54-2a37-4516-a222-2b06719af726'])
|
|
2552
2565
|
* ```
|
|
2553
|
-
* @version SDK: 1.26.0 |
|
|
2566
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
2554
2567
|
*/
|
|
2555
2568
|
HostEvent["SetVisibleTabs"] = "SetPinboardVisibleTabs";
|
|
2556
2569
|
/**
|
|
@@ -2563,7 +2576,7 @@ var HostEvent;
|
|
|
2563
2576
|
* '630496d6-6903-4601-937e-2c691821af3c',
|
|
2564
2577
|
* 'i547ec54-2a37-4516-a222-2b06719af726'])
|
|
2565
2578
|
* ```
|
|
2566
|
-
* @version SDK: 1.26.0 |
|
|
2579
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
2567
2580
|
*/
|
|
2568
2581
|
HostEvent["SetHiddenTabs"] = "SetPinboardHiddenTabs";
|
|
2569
2582
|
/**
|
|
@@ -2577,7 +2590,7 @@ var HostEvent;
|
|
|
2577
2590
|
* executeSearch: true,
|
|
2578
2591
|
* })
|
|
2579
2592
|
* ```
|
|
2580
|
-
* @version SDK: 1.26.0 |
|
|
2593
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
2581
2594
|
*/
|
|
2582
2595
|
HostEvent["UpdateSageQuery"] = "updateSageQuery";
|
|
2583
2596
|
/**
|
|
@@ -2594,21 +2607,22 @@ var HostEvent;
|
|
|
2594
2607
|
* ```js
|
|
2595
2608
|
* const {session} = await embed.trigger( HostEvent.GetAnswerSession )
|
|
2596
2609
|
* ```
|
|
2597
|
-
* @version SDK: 1.26.0 |
|
|
2610
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.10.0.cl, 10.1.0.sw
|
|
2598
2611
|
*/
|
|
2599
2612
|
HostEvent["GetAnswerSession"] = "getAnswerSession";
|
|
2600
2613
|
/**
|
|
2601
|
-
* Trigger Ask Sage for
|
|
2614
|
+
* Trigger the *Ask Sage* action for visualizations
|
|
2602
2615
|
* @example
|
|
2603
2616
|
* ```js
|
|
2604
2617
|
* liveboardEmbed.trigger(HostEvent.AskSage,
|
|
2605
2618
|
* {vizId:'730496d6-6903-4601-937e-2c691821af3c'})
|
|
2606
2619
|
* ```
|
|
2607
|
-
* @version SDK: 1.29.0 |
|
|
2620
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 9.12.0.cl
|
|
2608
2621
|
*/
|
|
2609
2622
|
HostEvent["AskSage"] = "AskSage";
|
|
2610
2623
|
/**
|
|
2611
|
-
* Trigger cross filter update action on a Liveboard
|
|
2624
|
+
* Trigger cross filter update action on a Liveboard.
|
|
2625
|
+
*
|
|
2612
2626
|
* @example
|
|
2613
2627
|
* ```js
|
|
2614
2628
|
* liveboardEmbed.trigger(HostEvent.UpdateCrossFilter, {
|
|
@@ -2619,7 +2633,7 @@ var HostEvent;
|
|
|
2619
2633
|
* ],
|
|
2620
2634
|
* });
|
|
2621
2635
|
* ```
|
|
2622
|
-
* @version SDK: 1.29.0 |
|
|
2636
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 10.0.0.cl, 10.1.0.sw
|
|
2623
2637
|
*/
|
|
2624
2638
|
HostEvent["UpdateCrossFilter"] = "UpdateCrossFilter";
|
|
2625
2639
|
/**
|
|
@@ -2628,11 +2642,13 @@ var HostEvent;
|
|
|
2628
2642
|
* ```js
|
|
2629
2643
|
* liveboardEmbed.trigger(HostEvent.ResetLiveboardPersonalisedView);
|
|
2630
2644
|
* ```
|
|
2631
|
-
* @version SDK: 1.29.0 |
|
|
2645
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 10.1.0.cl, 10.1.0.sw
|
|
2632
2646
|
*/
|
|
2633
2647
|
HostEvent["ResetLiveboardPersonalisedView"] = "ResetLiveboardPersonalisedView";
|
|
2634
2648
|
/**
|
|
2635
|
-
* Triggers an
|
|
2649
|
+
* Triggers an action to update Parameter values on embedded
|
|
2650
|
+
* Answers and Liveboard.
|
|
2651
|
+
*
|
|
2636
2652
|
* @example
|
|
2637
2653
|
* ```js
|
|
2638
2654
|
* liveboardEmbed.trigger(HostEvent.UpdateParameters, [{
|
|
@@ -2640,30 +2656,30 @@ var HostEvent;
|
|
|
2640
2656
|
* value: "almond"
|
|
2641
2657
|
* }])
|
|
2642
2658
|
*
|
|
2643
|
-
* @version SDK: 1.29.0 |
|
|
2659
|
+
* @version SDK: 1.29.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
2644
2660
|
*/
|
|
2645
2661
|
HostEvent["UpdateParameters"] = "UpdateParameters";
|
|
2646
2662
|
/**
|
|
2647
|
-
* Triggers GetParameters to fetch the runtime
|
|
2663
|
+
* Triggers GetParameters to fetch the runtime Parameters.
|
|
2648
2664
|
* ```js
|
|
2649
2665
|
* liveboardEmbed.trigger(HostEvent.GetParameters).then((parameter) => {
|
|
2650
2666
|
* console.log('parameters', parameter);
|
|
2651
2667
|
* });
|
|
2652
2668
|
*```
|
|
2653
|
-
* @version SDK: 1.29.0 |
|
|
2669
|
+
* @version SDK: 1.29.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
2654
2670
|
*/
|
|
2655
2671
|
HostEvent["GetParameters"] = "GetParameters";
|
|
2656
2672
|
/**
|
|
2657
|
-
* Triggers an event to update a
|
|
2673
|
+
* Triggers an event to update a personalized view of a Liveboard.
|
|
2658
2674
|
* ```js
|
|
2659
2675
|
* liveboardEmbed.trigger(HostEvent.UpdatePersonalisedView, {viewId: '1234'})
|
|
2660
2676
|
* ```
|
|
2661
|
-
* @version SDK: 1.36.0 |
|
|
2677
|
+
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
|
|
2662
2678
|
*/
|
|
2663
2679
|
HostEvent["UpdatePersonalisedView"] = "UpdatePersonalisedView";
|
|
2664
2680
|
/**
|
|
2665
|
-
* Triggers the action to get the current view of the
|
|
2666
|
-
* @version SDK: 1.36.0 |
|
|
2681
|
+
* Triggers the action to get the current view of the Liveboard.
|
|
2682
|
+
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
|
|
2667
2683
|
*/
|
|
2668
2684
|
HostEvent["SaveAnswer"] = "saveAnswer";
|
|
2669
2685
|
/**
|
|
@@ -2890,7 +2906,8 @@ var Action;
|
|
|
2890
2906
|
Action["ResetLayout"] = "resetLayout";
|
|
2891
2907
|
/**
|
|
2892
2908
|
* The **Schedule** menu action on a Liveboard.
|
|
2893
|
-
* Allows scheduling a Liveboard
|
|
2909
|
+
* Allows scheduling a Liveboard job, for example,
|
|
2910
|
+
* sending periodic notifications.
|
|
2894
2911
|
* @example
|
|
2895
2912
|
* ```js
|
|
2896
2913
|
* disabledActions: [Action.Schedule]
|
|
@@ -2932,7 +2949,7 @@ var Action;
|
|
|
2932
2949
|
* ```js
|
|
2933
2950
|
* disabledActions: [Action.AddDataPanelObjects]
|
|
2934
2951
|
* ```
|
|
2935
|
-
* @version SDK: 1.32.0 |
|
|
2952
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl, 10.1.0.sw
|
|
2936
2953
|
*/
|
|
2937
2954
|
Action["AddDataPanelObjects"] = "addDataPanelObjects";
|
|
2938
2955
|
/**
|
|
@@ -2945,7 +2962,28 @@ var Action;
|
|
|
2945
2962
|
* ```
|
|
2946
2963
|
*/
|
|
2947
2964
|
Action["ConfigureFilter"] = "configureFilter";
|
|
2965
|
+
/**
|
|
2966
|
+
* The **Collapse data sources** icon on the Search page.
|
|
2967
|
+
* Collapses the panel showing data sources.
|
|
2968
|
+
*
|
|
2969
|
+
* @example
|
|
2970
|
+
* ```js
|
|
2971
|
+
* disabledActions: [Action.CollapseDataPanel]
|
|
2972
|
+
* ```
|
|
2973
|
+
* @version: SDK: 1.1.0 | ThoughtSpot Cloud: ts7.may.cl, 8.4.1.sw
|
|
2974
|
+
*/
|
|
2948
2975
|
Action["CollapseDataSources"] = "collapseDataSources";
|
|
2976
|
+
/**
|
|
2977
|
+
* The **Collapse data panel** icon on the Search page.
|
|
2978
|
+
* Collapses the data panel view.
|
|
2979
|
+
*
|
|
2980
|
+
* @version: SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl, 10.7.0.sw
|
|
2981
|
+
*
|
|
2982
|
+
* @example
|
|
2983
|
+
* ```js
|
|
2984
|
+
* disabledActions: [Action.CollapseDataPanel]
|
|
2985
|
+
* ```
|
|
2986
|
+
*/
|
|
2949
2987
|
Action["CollapseDataPanel"] = "collapseDataPanel";
|
|
2950
2988
|
/**
|
|
2951
2989
|
* The **Choose sources** button on Search page.
|
|
@@ -2981,7 +3019,7 @@ var Action;
|
|
|
2981
3019
|
* ```js
|
|
2982
3020
|
* disabledActions: [Action.AddColumnSet]
|
|
2983
3021
|
* ```
|
|
2984
|
-
* @version SDK: 1.32.0 |
|
|
3022
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl, 10.1.0.sw
|
|
2985
3023
|
*/
|
|
2986
3024
|
Action["AddColumnSet"] = "addSimpleCohort";
|
|
2987
3025
|
/**
|
|
@@ -2991,7 +3029,7 @@ var Action;
|
|
|
2991
3029
|
* ```js
|
|
2992
3030
|
* disabledActions: [Action.AddQuerySet]
|
|
2993
3031
|
* ```
|
|
2994
|
-
* @version SDK: 1.32.0 |
|
|
3032
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl, 10.1.0.sw
|
|
2995
3033
|
*/
|
|
2996
3034
|
Action["AddQuerySet"] = "addAdvancedCohort";
|
|
2997
3035
|
/**
|
|
@@ -3023,6 +3061,8 @@ var Action;
|
|
|
3023
3061
|
/**
|
|
3024
3062
|
* The **Show underlying data** menu action on a visualization or
|
|
3025
3063
|
* Answer page.
|
|
3064
|
+
* Displays detailed information and raw data
|
|
3065
|
+
* for a given visualization.
|
|
3026
3066
|
* @example
|
|
3027
3067
|
* ```js
|
|
3028
3068
|
* disabledActions: [Action.ShowUnderlyingData]
|
|
@@ -3224,6 +3264,7 @@ var Action;
|
|
|
3224
3264
|
Action["AnalysisInfo"] = "analysisInfo";
|
|
3225
3265
|
/**
|
|
3226
3266
|
* The **Schedule** menu action on a Liveboard.
|
|
3267
|
+
* Allows scheduling a Liveboard job.
|
|
3227
3268
|
* @example
|
|
3228
3269
|
* ```js
|
|
3229
3270
|
* disabledActions: [Action.Subscription]
|
|
@@ -3293,8 +3334,13 @@ var Action;
|
|
|
3293
3334
|
*/
|
|
3294
3335
|
Action["RequestAccess"] = "requestAccess";
|
|
3295
3336
|
/**
|
|
3296
|
-
* The **Query visualizer** and **Query SQL** buttons in
|
|
3297
|
-
* of the Answer page
|
|
3337
|
+
* The **Query visualizer** and **Query SQL** buttons in
|
|
3338
|
+
* Query details panel of the Answer page.
|
|
3339
|
+
*
|
|
3340
|
+
* **Query visualizer** - Displays the tables
|
|
3341
|
+
* and filters used in a search query.
|
|
3342
|
+
* **Query SQL** - Displays the SQL statements used
|
|
3343
|
+
* in a search query to fetch data.
|
|
3298
3344
|
* @example
|
|
3299
3345
|
* ```js
|
|
3300
3346
|
* disabledActions: [Action.QueryDetailsButtons]
|
|
@@ -3312,7 +3358,10 @@ var Action;
|
|
|
3312
3358
|
*/
|
|
3313
3359
|
Action["AnswerDelete"] = "onDeleteAnswer";
|
|
3314
3360
|
/**
|
|
3315
|
-
* The
|
|
3361
|
+
* The chart switcher icon on Answer page and
|
|
3362
|
+
* visualizations in edit mode.
|
|
3363
|
+
* Allows switching to the table or chart mode
|
|
3364
|
+
* when editing a visualization.
|
|
3316
3365
|
* @example
|
|
3317
3366
|
* ```js
|
|
3318
3367
|
* disabledActions: [Action.AnswerChartSwitcher]
|
|
@@ -3321,7 +3370,10 @@ var Action;
|
|
|
3321
3370
|
*/
|
|
3322
3371
|
Action["AnswerChartSwitcher"] = "answerChartSwitcher";
|
|
3323
3372
|
/**
|
|
3324
|
-
* Favorites icon (*)
|
|
3373
|
+
* The Favorites icon (*) for Answers,
|
|
3374
|
+
* Liveboard, and data objects like Worksheet, Model,
|
|
3375
|
+
* Tables and Views.
|
|
3376
|
+
* Allows adding an object to the user’s favorites list.
|
|
3325
3377
|
* @example
|
|
3326
3378
|
* ```js
|
|
3327
3379
|
* disabledActions: [Action.AddToFavorites]
|
|
@@ -3339,7 +3391,9 @@ var Action;
|
|
|
3339
3391
|
*/
|
|
3340
3392
|
Action["EditDetails"] = "editDetails";
|
|
3341
3393
|
/**
|
|
3342
|
-
* The Create alert action
|
|
3394
|
+
* The *Create alert* action for KPI charts.
|
|
3395
|
+
* Allows users to schedule threshold-based alerts
|
|
3396
|
+
* for KPI charts.
|
|
3343
3397
|
* @example
|
|
3344
3398
|
* ```js
|
|
3345
3399
|
* disabledActions: [Action.CreateMonitor]
|
|
@@ -3395,7 +3449,7 @@ var Action;
|
|
|
3395
3449
|
* ```js
|
|
3396
3450
|
* disabledActions: [Action.CrossFilter]
|
|
3397
3451
|
* ```
|
|
3398
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3452
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.8.0.sw
|
|
3399
3453
|
*/
|
|
3400
3454
|
Action["CrossFilter"] = "context-menu-item-cross-filter";
|
|
3401
3455
|
/**
|
|
@@ -3405,7 +3459,7 @@ var Action;
|
|
|
3405
3459
|
* ```js
|
|
3406
3460
|
* disabledActions: [Action.SyncToSlack]
|
|
3407
3461
|
* ```
|
|
3408
|
-
* @version @version SDK : 1.32.0 |
|
|
3462
|
+
* @version @version SDK : 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
|
|
3409
3463
|
*/
|
|
3410
3464
|
Action["SyncToSlack"] = "syncToSlack";
|
|
3411
3465
|
/**
|
|
@@ -3415,7 +3469,7 @@ var Action;
|
|
|
3415
3469
|
* ```js
|
|
3416
3470
|
* disabledActions: [Action.SyncToTeams]
|
|
3417
3471
|
* ```
|
|
3418
|
-
* @version @version SDK : 1.32.0 |
|
|
3472
|
+
* @version @version SDK : 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
|
|
3419
3473
|
*/
|
|
3420
3474
|
Action["SyncToTeams"] = "syncToTeams";
|
|
3421
3475
|
/**
|
|
@@ -3426,7 +3480,7 @@ var Action;
|
|
|
3426
3480
|
* ```js
|
|
3427
3481
|
* disabledActions: [Action.RemoveCrossFilter]
|
|
3428
3482
|
* ```
|
|
3429
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3483
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3430
3484
|
*/
|
|
3431
3485
|
Action["RemoveCrossFilter"] = "context-menu-item-remove-cross-filter";
|
|
3432
3486
|
/**
|
|
@@ -3437,7 +3491,7 @@ var Action;
|
|
|
3437
3491
|
* ```js
|
|
3438
3492
|
* disabledActions: [Action.AxisMenuAggregate]
|
|
3439
3493
|
* ```
|
|
3440
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3494
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3441
3495
|
*/
|
|
3442
3496
|
Action["AxisMenuAggregate"] = "axisMenuAggregate";
|
|
3443
3497
|
/**
|
|
@@ -3448,17 +3502,19 @@ var Action;
|
|
|
3448
3502
|
* ```js
|
|
3449
3503
|
* disabledActions: [Action.AxisMenuTimeBucket]
|
|
3450
3504
|
* ```
|
|
3451
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3505
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3452
3506
|
*/
|
|
3453
3507
|
Action["AxisMenuTimeBucket"] = "axisMenuTimeBucket";
|
|
3454
3508
|
/**
|
|
3455
3509
|
* The **Filter** action in the chart axis or table column
|
|
3456
3510
|
* customization menu.
|
|
3511
|
+
* Allows adding, editing, or removing filters.
|
|
3512
|
+
*
|
|
3457
3513
|
* @example
|
|
3458
3514
|
* ```js
|
|
3459
3515
|
* disabledActions: [Action.AxisMenuFilter]
|
|
3460
3516
|
* ```
|
|
3461
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3517
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3462
3518
|
*/
|
|
3463
3519
|
Action["AxisMenuFilter"] = "axisMenuFilter";
|
|
3464
3520
|
/**
|
|
@@ -3469,7 +3525,7 @@ var Action;
|
|
|
3469
3525
|
* ```js
|
|
3470
3526
|
* disabledActions: [Action.AxisMenuConditionalFormat]
|
|
3471
3527
|
* ```
|
|
3472
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3528
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3473
3529
|
*/
|
|
3474
3530
|
Action["AxisMenuConditionalFormat"] = "axisMenuConditionalFormat";
|
|
3475
3531
|
/**
|
|
@@ -3480,7 +3536,7 @@ var Action;
|
|
|
3480
3536
|
* ```js
|
|
3481
3537
|
* disabledActions: [Action.AxisMenuConditionalFormat]
|
|
3482
3538
|
* ```
|
|
3483
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3539
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3484
3540
|
*/
|
|
3485
3541
|
Action["AxisMenuSort"] = "axisMenuSort";
|
|
3486
3542
|
/**
|
|
@@ -3492,7 +3548,7 @@ var Action;
|
|
|
3492
3548
|
* ```js
|
|
3493
3549
|
* disabledActions: [Action.AxisMenuGroup]
|
|
3494
3550
|
* ```
|
|
3495
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3551
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3496
3552
|
*/
|
|
3497
3553
|
Action["AxisMenuGroup"] = "axisMenuGroup";
|
|
3498
3554
|
/**
|
|
@@ -3503,7 +3559,7 @@ var Action;
|
|
|
3503
3559
|
* ```js
|
|
3504
3560
|
* disabledActions: [Action.AxisMenuPosition]
|
|
3505
3561
|
* ```
|
|
3506
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3562
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3507
3563
|
*/
|
|
3508
3564
|
Action["AxisMenuPosition"] = "axisMenuPosition";
|
|
3509
3565
|
/**
|
|
@@ -3513,7 +3569,7 @@ var Action;
|
|
|
3513
3569
|
* ```js
|
|
3514
3570
|
* disabledActions: [Action.AxisMenuRename]
|
|
3515
3571
|
* ```
|
|
3516
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3572
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3517
3573
|
*/
|
|
3518
3574
|
Action["AxisMenuRename"] = "axisMenuRename";
|
|
3519
3575
|
/**
|
|
@@ -3524,7 +3580,7 @@ var Action;
|
|
|
3524
3580
|
* ```js
|
|
3525
3581
|
* disabledActions: [Action.AxisMenuEdit]
|
|
3526
3582
|
* ```
|
|
3527
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3583
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3528
3584
|
*/
|
|
3529
3585
|
Action["AxisMenuEdit"] = "axisMenuEdit";
|
|
3530
3586
|
/**
|
|
@@ -3534,7 +3590,7 @@ var Action;
|
|
|
3534
3590
|
* ```js
|
|
3535
3591
|
* disabledActions: [Action.AxisMenuNumberFormat]
|
|
3536
3592
|
* ```
|
|
3537
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3593
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3538
3594
|
*/
|
|
3539
3595
|
Action["AxisMenuNumberFormat"] = "axisMenuNumberFormat";
|
|
3540
3596
|
/**
|
|
@@ -3544,7 +3600,7 @@ var Action;
|
|
|
3544
3600
|
* ```js
|
|
3545
3601
|
* disabledActions: [Action.AxisMenuTextWrapping]
|
|
3546
3602
|
* ```
|
|
3547
|
-
* @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
|
|
3548
3604
|
*/
|
|
3549
3605
|
Action["AxisMenuTextWrapping"] = "axisMenuTextWrapping";
|
|
3550
3606
|
/**
|
|
@@ -3556,7 +3612,7 @@ var Action;
|
|
|
3556
3612
|
* ```js
|
|
3557
3613
|
* disabledActions: [Action.AxisMenuRemove]
|
|
3558
3614
|
* ```
|
|
3559
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3615
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3560
3616
|
*/
|
|
3561
3617
|
Action["AxisMenuRemove"] = "axisMenuRemove";
|
|
3562
3618
|
/**
|
|
@@ -3570,26 +3626,27 @@ var Action;
|
|
|
3570
3626
|
* ```js
|
|
3571
3627
|
* disabledActions: [Action.RenameModalTitleDescription]
|
|
3572
3628
|
* ```
|
|
3573
|
-
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
|
|
3629
|
+
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl, 9.8.0.sw
|
|
3574
3630
|
*/
|
|
3575
3631
|
Action["RenameModalTitleDescription"] = "renameModalTitleDescription";
|
|
3576
3632
|
/**
|
|
3577
|
-
*
|
|
3633
|
+
* The *Request verification* action on a Liveboard.
|
|
3634
|
+
* Initiates a request for Liveboard verification.
|
|
3578
3635
|
* @example
|
|
3579
3636
|
* ```js
|
|
3580
3637
|
* disabledActions: [Action.RequestVerification]
|
|
3581
3638
|
* ```
|
|
3582
|
-
* @version SDK: 1.25.0 |
|
|
3639
|
+
* @version SDK: 1.25.0 | ThoughtSpot: 9.6.0.cl, 10.1.0.sw
|
|
3583
3640
|
*/
|
|
3584
3641
|
Action["RequestVerification"] = "requestVerification";
|
|
3585
3642
|
/**
|
|
3586
3643
|
*
|
|
3587
|
-
*Allows users to mark a Liveboard as verified.
|
|
3644
|
+
* Allows users to mark a Liveboard as verified.
|
|
3588
3645
|
* @example
|
|
3589
3646
|
* ```js
|
|
3590
3647
|
* disabledActions: [Action.MarkAsVerified]
|
|
3591
3648
|
* ```
|
|
3592
|
-
* @version SDK: 1.25.0 |
|
|
3649
|
+
* @version SDK: 1.25.0 | ThoughtSpot: 9.6.0.cl, 10.1.0.sw
|
|
3593
3650
|
*/
|
|
3594
3651
|
Action["MarkAsVerified"] = "markAsVerified";
|
|
3595
3652
|
/**
|
|
@@ -3599,7 +3656,7 @@ var Action;
|
|
|
3599
3656
|
* ```js
|
|
3600
3657
|
* disabledActions: [Action.AddTab]
|
|
3601
3658
|
* ```
|
|
3602
|
-
* @version SDK: 1.26.0 |
|
|
3659
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
3603
3660
|
*/
|
|
3604
3661
|
Action["AddTab"] = "addTab";
|
|
3605
3662
|
/**
|
|
@@ -3609,35 +3666,42 @@ var Action;
|
|
|
3609
3666
|
* ```js
|
|
3610
3667
|
* disabledActions: [Action.EnableContextualChangeAnalysis]
|
|
3611
3668
|
* ```
|
|
3612
|
-
* @version SDK: 1.25.0 |
|
|
3669
|
+
* @version SDK: 1.25.0 | ThoughtSpot Cloud: 9.6.0.cl
|
|
3613
3670
|
*/
|
|
3614
3671
|
Action["EnableContextualChangeAnalysis"] = "enableContextualChangeAnalysis";
|
|
3615
3672
|
/**
|
|
3673
|
+
* Action ID to hide or disable Natural Language Search query.
|
|
3616
3674
|
*
|
|
3617
3675
|
* @example
|
|
3618
3676
|
* ```js
|
|
3619
3677
|
* disabledActions: [Action.ShowSageQuery]
|
|
3620
3678
|
* ```
|
|
3621
|
-
* @version SDK: 1.26.0 |
|
|
3679
|
+
* @version SDK: 1.26.0 | ThoughtSpot Cloud: 9.7.0.cl
|
|
3622
3680
|
*/
|
|
3623
3681
|
Action["ShowSageQuery"] = "showSageQuery";
|
|
3624
3682
|
/**
|
|
3683
|
+
*
|
|
3684
|
+
* Action ID to hide or disable the edit option for the
|
|
3685
|
+
* results generated from the
|
|
3686
|
+
* Natural Language Search query.
|
|
3625
3687
|
*
|
|
3626
3688
|
* @example
|
|
3627
3689
|
* ```js
|
|
3628
3690
|
* disabledActions: [Action.EditSageAnswer]
|
|
3629
3691
|
* ```
|
|
3630
|
-
* @version SDK: 1.26.0 |
|
|
3692
|
+
* @version SDK: 1.26.0 | ThoughtSpot Cloud: 9.7.0.cl
|
|
3631
3693
|
*/
|
|
3632
3694
|
Action["EditSageAnswer"] = "editSageAnswer";
|
|
3633
3695
|
/**
|
|
3696
|
+
* The feedback widget for AI-generated Answers.
|
|
3697
|
+
* Allows users to send feedback on the Answers generated
|
|
3698
|
+
* from a Natural Language Search query.
|
|
3634
3699
|
*
|
|
3635
|
-
*This action allows users to send feedback on AI-generated Answers.
|
|
3636
3700
|
* @example
|
|
3637
3701
|
* ```js
|
|
3638
3702
|
* disabledActions: [Action.SageAnswerFeedback]
|
|
3639
3703
|
* ```
|
|
3640
|
-
* @version SDK: 1.26.0 |
|
|
3704
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl
|
|
3641
3705
|
*/
|
|
3642
3706
|
Action["SageAnswerFeedback"] = "sageAnswerFeedback";
|
|
3643
3707
|
/**
|
|
@@ -3646,7 +3710,7 @@ var Action;
|
|
|
3646
3710
|
* ```js
|
|
3647
3711
|
* disabledActions: [Action.ModifySageAnswer]
|
|
3648
3712
|
* ```
|
|
3649
|
-
* @version SDK: 1.26.0 |
|
|
3713
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl
|
|
3650
3714
|
*/
|
|
3651
3715
|
Action["ModifySageAnswer"] = "modifySageAnswer";
|
|
3652
3716
|
/**
|
|
@@ -3659,7 +3723,10 @@ var Action;
|
|
|
3659
3723
|
*/
|
|
3660
3724
|
Action["MoveToTab"] = "onContainerMove";
|
|
3661
3725
|
/**
|
|
3662
|
-
* The **Manage
|
|
3726
|
+
* The **Manage Alerts** menu action on KPI visualizations.
|
|
3727
|
+
* Allows creating, viewing, and editing monitor
|
|
3728
|
+
* alerts for a KPI chart.
|
|
3729
|
+
*
|
|
3663
3730
|
* @example
|
|
3664
3731
|
* ```js
|
|
3665
3732
|
* disabledActions: [Action.ManageMonitor]
|
|
@@ -3667,21 +3734,23 @@ var Action;
|
|
|
3667
3734
|
*/
|
|
3668
3735
|
Action["ManageMonitor"] = "manageMonitor";
|
|
3669
3736
|
/**
|
|
3670
|
-
*
|
|
3737
|
+
* The Liveboard Personalised Views dropdown.
|
|
3738
|
+
* Allows navigating to a personalized Liveboard View.
|
|
3671
3739
|
* @example
|
|
3672
3740
|
* ```js
|
|
3673
3741
|
* disabledActions: [Action.PersonalisedViewsDropdown]
|
|
3674
3742
|
* ```
|
|
3675
|
-
* @version SDK : 1.26.0 |
|
|
3743
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 10.1.0.sw
|
|
3676
3744
|
*/
|
|
3677
3745
|
Action["PersonalisedViewsDropdown"] = "personalisedViewsDropdown";
|
|
3678
3746
|
/**
|
|
3679
|
-
* Action ID for
|
|
3747
|
+
* Action ID for show or hide the user details on a
|
|
3748
|
+
* Liveboard (Recently visited / social proof)
|
|
3680
3749
|
* @example
|
|
3681
3750
|
* ```js
|
|
3682
3751
|
* disabledActions: [Action.LiveboardUsers]
|
|
3683
3752
|
* ```
|
|
3684
|
-
* @version SDK : 1.26.0 |
|
|
3753
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 10.1.0.sw
|
|
3685
3754
|
*/
|
|
3686
3755
|
Action["LiveboardUsers"] = "liveboardUsers";
|
|
3687
3756
|
/**
|
|
@@ -3699,108 +3768,124 @@ var Action;
|
|
|
3699
3768
|
* hiddenAction: [Action.TML] // hide all TML actions
|
|
3700
3769
|
* disabledActions: [Action.TML] // to disable all TML actions
|
|
3701
3770
|
* ```
|
|
3702
|
-
* @version SDK : 1.28.3 |
|
|
3771
|
+
* @version SDK : 1.28.3 | ThoughtSpot: 9.12.0.cl, 10.1.0.sw
|
|
3703
3772
|
*/
|
|
3704
3773
|
Action["TML"] = "tml";
|
|
3705
3774
|
/**
|
|
3706
|
-
*
|
|
3707
|
-
* and Pin modal
|
|
3775
|
+
* The **Create Liveboard* action on
|
|
3776
|
+
* the Liveboards page and the Pin modal.
|
|
3777
|
+
* Allows users to create a Liveboard.
|
|
3778
|
+
*
|
|
3708
3779
|
* @example
|
|
3709
3780
|
* ```js
|
|
3710
3781
|
* hiddenAction: [Action.CreateLiveboard]
|
|
3711
3782
|
* disabledActions: [Action.CreateLiveboard]
|
|
3712
3783
|
* ```
|
|
3713
|
-
* @version SDK: 1.32.0 |
|
|
3784
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
3714
3785
|
*/
|
|
3715
3786
|
Action["CreateLiveboard"] = "createLiveboard";
|
|
3716
3787
|
/**
|
|
3717
|
-
* Action ID for to hide
|
|
3788
|
+
* Action ID for to hide or disable the
|
|
3789
|
+
* Verified Liveboard banner.
|
|
3718
3790
|
* @example
|
|
3719
3791
|
* ```js
|
|
3720
3792
|
* hiddenAction: [Action.VerifiedLiveboard]
|
|
3721
3793
|
* ```
|
|
3722
|
-
* @version SDK: 1.29.0 |
|
|
3794
|
+
* @version SDK: 1.29.0 | ThoughtSpot: 9.10.0.cl, 10.1.0.sw
|
|
3723
3795
|
*/
|
|
3724
3796
|
Action["VerifiedLiveboard"] = "verifiedLiveboard";
|
|
3725
3797
|
/**
|
|
3726
|
-
*
|
|
3798
|
+
* The *Ask Sage* action for Answers and visualizations.
|
|
3799
|
+
* Allows initiating a Natural Language Search query.
|
|
3800
|
+
*
|
|
3727
3801
|
* @example
|
|
3728
3802
|
* ```js
|
|
3729
3803
|
* hiddenAction: [Action.AskAi]
|
|
3730
3804
|
* ```
|
|
3731
|
-
* @version SDK: 1.29.0 |
|
|
3805
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 9.12.0.cl
|
|
3732
3806
|
*/
|
|
3733
3807
|
Action["AskAi"] = "AskAi";
|
|
3734
3808
|
/**
|
|
3735
3809
|
* The **Add KPI to Watchlist** action on Home page watchlist.
|
|
3810
|
+
* Adds a KPI chart to the watchlist on the Home page.
|
|
3736
3811
|
* @example
|
|
3737
3812
|
* ```js
|
|
3738
3813
|
* disabledActions: [Action.AddToWatchlist]
|
|
3739
3814
|
* ```
|
|
3740
|
-
* @version SDK : 1.27.9 |
|
|
3815
|
+
* @version SDK : 1.27.9 | ThoughtSpot Cloud: 9.12.5.cl
|
|
3741
3816
|
*/
|
|
3742
3817
|
Action["AddToWatchlist"] = "addToWatchlist";
|
|
3743
3818
|
/**
|
|
3744
3819
|
* The **Remove from watchlist** menu action on KPI watchlist.
|
|
3820
|
+
* Removes a KPI chart from the watchlist on the Home page.
|
|
3745
3821
|
* @example
|
|
3746
3822
|
* ```js
|
|
3747
3823
|
* disabledActions: [Action.RemoveFromWatchlist]
|
|
3748
3824
|
* ```
|
|
3749
|
-
* @version SDK : 1.27.9 |
|
|
3825
|
+
* @version SDK : 1.27.9 | ThoughtSpot: 9.12.5.cl
|
|
3750
3826
|
*/
|
|
3751
3827
|
Action["RemoveFromWatchlist"] = "removeFromWatchlist";
|
|
3752
3828
|
/**
|
|
3753
|
-
* The **
|
|
3829
|
+
* The **Organize Favourites** action on Homepage
|
|
3830
|
+
* *Favorites* module.
|
|
3831
|
+
*
|
|
3754
3832
|
* @example
|
|
3755
3833
|
* ```js
|
|
3756
3834
|
* disabledActions: [Action.OrganiseFavourites]
|
|
3757
3835
|
* ```
|
|
3758
|
-
* @version SDK : 1.32.0 |
|
|
3836
|
+
* @version SDK : 1.32.0 | ThoughtSpot: 10.0.0.cl
|
|
3759
3837
|
*/
|
|
3760
3838
|
Action["OrganiseFavourites"] = "organiseFavourites";
|
|
3761
3839
|
/**
|
|
3762
|
-
*
|
|
3840
|
+
* The **AI Highlights** action on a Liveboard.
|
|
3841
|
+
*
|
|
3763
3842
|
* @example
|
|
3764
3843
|
* ```js
|
|
3765
3844
|
* hiddenAction: [Action.AIHighlights]
|
|
3766
3845
|
* ```
|
|
3767
|
-
* @version SDK: 1.27.10 |
|
|
3846
|
+
* @version SDK: 1.27.10 | ThoughtSpot Cloud: 9.12.5.cl
|
|
3768
3847
|
*/
|
|
3769
3848
|
Action["AIHighlights"] = "AIHighlights";
|
|
3770
3849
|
/**
|
|
3771
|
-
*
|
|
3850
|
+
* The *Edit* action on the *Liveboard Schedules* page
|
|
3851
|
+
* (new Homepage experience).
|
|
3852
|
+
* Allows editing Liveboard schedules.
|
|
3853
|
+
*
|
|
3772
3854
|
* @example
|
|
3773
3855
|
* ```js
|
|
3774
3856
|
* disabledActions: [Action.EditScheduleHomepage]
|
|
3775
3857
|
* ```
|
|
3776
|
-
* @version SDK: 1.34.0 |
|
|
3858
|
+
* @version SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3777
3859
|
*/
|
|
3778
3860
|
Action["EditScheduleHomepage"] = "editScheduleHomepage";
|
|
3779
3861
|
/**
|
|
3780
|
-
*
|
|
3862
|
+
* The *Pause* action on the *Liveboard Schedules* page
|
|
3863
|
+
* Pauses a scheduled Liveboard job.
|
|
3781
3864
|
* @example
|
|
3782
3865
|
* ```js
|
|
3783
3866
|
* disabledActions: [Action.PauseScheduleHomepage]
|
|
3784
3867
|
* ```
|
|
3785
|
-
* @version SDK: 1.34.0 |
|
|
3868
|
+
* @version SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3786
3869
|
*/
|
|
3787
3870
|
Action["PauseScheduleHomepage"] = "pauseScheduleHomepage";
|
|
3788
3871
|
/**
|
|
3789
|
-
*
|
|
3872
|
+
* The **View run history** action **Liveboard Schedules** page.
|
|
3873
|
+
* Allows viewing schedule run history.
|
|
3790
3874
|
* @example
|
|
3791
3875
|
* ```js
|
|
3792
3876
|
* disabledActions: [Action.ViewScheduleRunHomepage]
|
|
3793
3877
|
* ```
|
|
3794
|
-
* @version SDK: 1.34.0 |
|
|
3878
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
|
|
3795
3879
|
*/
|
|
3796
3880
|
Action["ViewScheduleRunHomepage"] = "viewScheduleRunHomepage";
|
|
3797
3881
|
/**
|
|
3798
|
-
* Action ID
|
|
3882
|
+
* Action ID to hide or disable the
|
|
3883
|
+
* unsubscribe option for Liveboard schedules.
|
|
3799
3884
|
* @example
|
|
3800
3885
|
* ```js
|
|
3801
3886
|
* disabledActions: [Action.UnsubscribeScheduleHomepage]
|
|
3802
3887
|
* ```
|
|
3803
|
-
* @version SDK: 1.34.0 |
|
|
3888
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
|
|
3804
3889
|
*/
|
|
3805
3890
|
Action["UnsubscribeScheduleHomepage"] = "unsubscribeScheduleHomepage";
|
|
3806
3891
|
/**
|
|
@@ -3809,16 +3894,17 @@ var Action;
|
|
|
3809
3894
|
* ```js
|
|
3810
3895
|
* disabledActions: [Action.ManageTags]
|
|
3811
3896
|
* ```
|
|
3812
|
-
* @version SDK : 1.34.0 |
|
|
3897
|
+
* @version SDK : 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3813
3898
|
*/
|
|
3814
3899
|
Action["ManageTags"] = "manageTags";
|
|
3815
3900
|
/**
|
|
3816
|
-
*
|
|
3901
|
+
* The **Delete** action on the **Liveboard Schedules* page.
|
|
3902
|
+
* Deletes a Liveboard schedule.
|
|
3817
3903
|
* @example
|
|
3818
3904
|
* ```js
|
|
3819
3905
|
* disabledActions: [Action.DeleteScheduleHomepage]
|
|
3820
3906
|
* ```
|
|
3821
|
-
* @version SDK: 1.34.0 |
|
|
3907
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
|
|
3822
3908
|
*/
|
|
3823
3909
|
Action["DeleteScheduleHomepage"] = "deleteScheduleHomepage";
|
|
3824
3910
|
/**
|
|
@@ -3827,7 +3913,7 @@ var Action;
|
|
|
3827
3913
|
* ```js
|
|
3828
3914
|
* disabledActions: [Action.KPIAnalysisCTA]
|
|
3829
3915
|
* ```
|
|
3830
|
-
* @version SDK: 1.34.0 |
|
|
3916
|
+
* @version SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3831
3917
|
*/
|
|
3832
3918
|
Action["KPIAnalysisCTA"] = "kpiAnalysisCTA";
|
|
3833
3919
|
/**
|
|
@@ -3836,61 +3922,73 @@ var Action;
|
|
|
3836
3922
|
* ```js
|
|
3837
3923
|
* const disabledActions = [Action.DisableChipReorder]
|
|
3838
3924
|
* ```
|
|
3839
|
-
* @version SDK: 1.36.0 |
|
|
3925
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3840
3926
|
*/
|
|
3841
3927
|
Action["DisableChipReorder"] = "disableChipReorder";
|
|
3842
3928
|
/**
|
|
3843
|
-
* Action ID
|
|
3929
|
+
* Action ID to show, hide, or disable filters
|
|
3930
|
+
* in a Liveboard tab.
|
|
3931
|
+
*
|
|
3844
3932
|
* @example
|
|
3845
3933
|
* ```js
|
|
3846
3934
|
* hiddenAction: [Action.ChangeFilterVisibilityInTab]
|
|
3847
3935
|
* ```
|
|
3848
|
-
* @version SDK: 1.36.0 |
|
|
3936
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3849
3937
|
*/
|
|
3850
3938
|
Action["ChangeFilterVisibilityInTab"] = "changeFilterVisibilityInTab";
|
|
3851
3939
|
/**
|
|
3852
|
-
*
|
|
3940
|
+
* The **Preview data** button on the Spotter interface.
|
|
3941
|
+
* Allows previewing the data used for Spotter queries.
|
|
3942
|
+
*
|
|
3853
3943
|
* @example
|
|
3854
3944
|
* ```js
|
|
3855
3945
|
* hiddenAction: [Action.PreviewDataSpotter]
|
|
3856
3946
|
* ```
|
|
3857
|
-
* @version SDK: 1.36.0 |
|
|
3947
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3858
3948
|
*/
|
|
3859
3949
|
Action["PreviewDataSpotter"] = "previewDataSpotter";
|
|
3860
3950
|
/**
|
|
3861
|
-
*
|
|
3951
|
+
* The **Reset** link on the Spotter interface.
|
|
3952
|
+
* Resets the conversation with Spotter.
|
|
3953
|
+
*
|
|
3862
3954
|
* @example
|
|
3863
3955
|
* ```js
|
|
3864
3956
|
* hiddenAction: [Action.ResetSpotterChat]
|
|
3865
3957
|
* ```
|
|
3866
|
-
* @version SDK: 1.36.0 |
|
|
3958
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3867
3959
|
*/
|
|
3868
3960
|
Action["ResetSpotterChat"] = "resetSpotterChat";
|
|
3869
3961
|
/**
|
|
3870
|
-
* Action ID for hide
|
|
3962
|
+
* Action ID for hide or disable the
|
|
3963
|
+
* Spotter feedback widget.
|
|
3964
|
+
*
|
|
3871
3965
|
* @example
|
|
3872
3966
|
* ```js
|
|
3873
3967
|
* hiddenAction: [Action.SpotterFeedback]
|
|
3874
3968
|
* ```
|
|
3875
|
-
* @version SDK: 1.36.0 |
|
|
3969
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3876
3970
|
*/
|
|
3877
3971
|
Action["SpotterFeedback"] = "spotterFeedback";
|
|
3878
3972
|
/**
|
|
3879
|
-
* Action ID for hide
|
|
3973
|
+
* Action ID for hide or disable
|
|
3974
|
+
* the previous prompt edit option in Spotter.
|
|
3975
|
+
*
|
|
3880
3976
|
* @example
|
|
3881
3977
|
* ```js
|
|
3882
3978
|
* hiddenAction: [Action.EditPreviousPrompt]
|
|
3883
3979
|
* ```
|
|
3884
|
-
* @version SDK: 1.36.0 |
|
|
3980
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3885
3981
|
*/
|
|
3886
3982
|
Action["EditPreviousPrompt"] = "editPreviousPrompt";
|
|
3887
3983
|
/**
|
|
3888
|
-
* Action ID for hide
|
|
3984
|
+
* Action ID for hide or disable
|
|
3985
|
+
* the previous prompt deletion option in Spotter.
|
|
3986
|
+
*
|
|
3889
3987
|
* @example
|
|
3890
3988
|
* ```js
|
|
3891
3989
|
* hiddenAction: [Action.DeletePreviousPrompt]
|
|
3892
3990
|
* ```
|
|
3893
|
-
* @version SDK: 1.36.0 |
|
|
3991
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3894
3992
|
*/
|
|
3895
3993
|
Action["DeletePreviousPrompt"] = "deletePreviousPrompt";
|
|
3896
3994
|
/**
|
|
@@ -3899,7 +3997,7 @@ var Action;
|
|
|
3899
3997
|
* ```js
|
|
3900
3998
|
* hiddenAction: [Action.EditTokens]
|
|
3901
3999
|
* ```
|
|
3902
|
-
* @version SDK: 1.36.0 |
|
|
4000
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3903
4001
|
*/
|
|
3904
4002
|
Action["EditTokens"] = "editTokens";
|
|
3905
4003
|
})(Action || (Action = {}));
|
|
@@ -3929,7 +4027,7 @@ var LogLevel;
|
|
|
3929
4027
|
* logLevel: LogLevel.SILENT,
|
|
3930
4028
|
* })
|
|
3931
4029
|
* ```
|
|
3932
|
-
* @version SDK: 1.26.7 |
|
|
4030
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3933
4031
|
*/
|
|
3934
4032
|
LogLevel["SILENT"] = "SILENT";
|
|
3935
4033
|
/**
|
|
@@ -3941,7 +4039,7 @@ var LogLevel;
|
|
|
3941
4039
|
* logLevel: LogLevel.ERROR,
|
|
3942
4040
|
* })
|
|
3943
4041
|
* ```
|
|
3944
|
-
* @version SDK: 1.26.7 |
|
|
4042
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3945
4043
|
*/
|
|
3946
4044
|
LogLevel["ERROR"] = "ERROR";
|
|
3947
4045
|
/**
|
|
@@ -3953,7 +4051,7 @@ var LogLevel;
|
|
|
3953
4051
|
* logLevel: LogLevel.WARN,
|
|
3954
4052
|
* })
|
|
3955
4053
|
* ```
|
|
3956
|
-
* @version SDK: 1.26.7 |
|
|
4054
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3957
4055
|
*/
|
|
3958
4056
|
LogLevel["WARN"] = "WARN";
|
|
3959
4057
|
/**
|
|
@@ -3965,7 +4063,7 @@ var LogLevel;
|
|
|
3965
4063
|
* logLevel: LogLevel.INFO,
|
|
3966
4064
|
* })
|
|
3967
4065
|
* ```
|
|
3968
|
-
* @version SDK: 1.26.7 |
|
|
4066
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3969
4067
|
*/
|
|
3970
4068
|
LogLevel["INFO"] = "INFO";
|
|
3971
4069
|
/**
|
|
@@ -3977,7 +4075,7 @@ var LogLevel;
|
|
|
3977
4075
|
* logLevel: LogLevel.DEBUG,
|
|
3978
4076
|
* })
|
|
3979
4077
|
* ```
|
|
3980
|
-
* @version SDK: 1.26.7 |
|
|
4078
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3981
4079
|
*/
|
|
3982
4080
|
LogLevel["DEBUG"] = "DEBUG";
|
|
3983
4081
|
/**
|
|
@@ -3989,7 +4087,7 @@ var LogLevel;
|
|
|
3989
4087
|
* logLevel: LogLevel.TRACE,
|
|
3990
4088
|
* })
|
|
3991
4089
|
* ```
|
|
3992
|
-
* @version SDK: 1.26.7 |
|
|
4090
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3993
4091
|
*/
|
|
3994
4092
|
LogLevel["TRACE"] = "TRACE";
|
|
3995
4093
|
})(LogLevel || (LogLevel = {}));
|
|
@@ -7159,7 +7257,7 @@ class AnswerService {
|
|
|
7159
7257
|
async getTML() {
|
|
7160
7258
|
const { object } = await this.executeQuery(getAnswerTML, {});
|
|
7161
7259
|
const edoc = object[0].edoc;
|
|
7162
|
-
const YAML = await import('./index-
|
|
7260
|
+
const YAML = await import('./index-IDmSUe93.js');
|
|
7163
7261
|
const parsedDoc = YAML.parse(edoc);
|
|
7164
7262
|
return {
|
|
7165
7263
|
answer: {
|
|
@@ -14502,7 +14600,7 @@ function processEventData(type, e, thoughtSpotHost, containerEl) {
|
|
|
14502
14600
|
return e;
|
|
14503
14601
|
}
|
|
14504
14602
|
|
|
14505
|
-
var name="@thoughtspot/visual-embed-sdk";var version$1="1.35.
|
|
14603
|
+
var name="@thoughtspot/visual-embed-sdk";var version$1="1.35.11";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
14604
|
|
|
14507
14605
|
/**
|
|
14508
14606
|
* Reloads the ThoughtSpot iframe.
|
|
@@ -14567,7 +14665,7 @@ var UIPassthroughEvent;
|
|
|
14567
14665
|
UIPassthroughEvent["PinAnswerToLiveboard"] = "addVizToPinboard";
|
|
14568
14666
|
UIPassthroughEvent["SaveAnswer"] = "saveAnswer";
|
|
14569
14667
|
UIPassthroughEvent["GetDiscoverabilityStatus"] = "getDiscoverabilityStatus";
|
|
14570
|
-
UIPassthroughEvent["GetAvailableUIPassthroughs"] = "
|
|
14668
|
+
UIPassthroughEvent["GetAvailableUIPassthroughs"] = "getAvailableUiPassthroughs";
|
|
14571
14669
|
UIPassthroughEvent["GetAnswerConfig"] = "getAnswerPageConfig";
|
|
14572
14670
|
UIPassthroughEvent["GetLiveboardConfig"] = "getPinboardPageConfig";
|
|
14573
14671
|
})(UIPassthroughEvent || (UIPassthroughEvent = {}));
|
|
@@ -16623,7 +16721,7 @@ let LiveboardEmbed$1 = class LiveboardEmbed extends V1Embed {
|
|
|
16623
16721
|
* @param messageType The event type
|
|
16624
16722
|
* @param data The payload to send with the message
|
|
16625
16723
|
*/
|
|
16626
|
-
trigger(messageType, data) {
|
|
16724
|
+
trigger(messageType, data = {}) {
|
|
16627
16725
|
const dataWithVizId = data;
|
|
16628
16726
|
if (messageType === HostEvent.SetActiveTab) {
|
|
16629
16727
|
this.setActiveTab(data);
|