@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.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
|
(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,7 +1763,7 @@
|
|
|
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";
|
|
1766
1769
|
})(exports.EmbedEvent || (exports.EmbedEvent = {}));
|
|
@@ -1909,7 +1912,7 @@
|
|
|
1909
1912
|
* const url = embed.trigger(HostEvent.GetIframeUrl);
|
|
1910
1913
|
* console.log("iFrameURL",url);
|
|
1911
1914
|
* ```
|
|
1912
|
-
* @version SDK: 1.35.0 |
|
|
1915
|
+
* @version SDK: 1.35.0 | ThoughtSpot: 10.4.0.cl
|
|
1913
1916
|
*/
|
|
1914
1917
|
HostEvent["GetIframeUrl"] = "GetIframeUrl";
|
|
1915
1918
|
/**
|
|
@@ -1942,6 +1945,11 @@
|
|
|
1942
1945
|
* attributes passed with this event are appended to the existing runtime
|
|
1943
1946
|
* filters applied on a Liveboard.
|
|
1944
1947
|
*
|
|
1948
|
+
* **Note**: `HostEvent.UpdateRuntimeFilters` is supported in `LiveboardEmbed`
|
|
1949
|
+
* and `AppEmbed` only. In full application embedding, this event updates
|
|
1950
|
+
* the runtime filters applied on the Liveboard and saved Answer objects.
|
|
1951
|
+
*
|
|
1952
|
+
*
|
|
1945
1953
|
* Pass an array of runtime filters with the following attributes:
|
|
1946
1954
|
*
|
|
1947
1955
|
* `columnName` - _String_. The name of the column to filter on.
|
|
@@ -1952,9 +1960,12 @@
|
|
|
1952
1960
|
* `values` - List of operands. Some operators such as EQ and LE allow a
|
|
1953
1961
|
* single value, whereas BW and IN accept multiple values.
|
|
1954
1962
|
*
|
|
1955
|
-
* **Note**:
|
|
1956
|
-
*
|
|
1957
|
-
*
|
|
1963
|
+
* **Note**: Updating runtime filters resets the ThoughtSpot
|
|
1964
|
+
* object to its original state and applies new filter conditions.
|
|
1965
|
+
* Any user changes (like drilling into a visualization)
|
|
1966
|
+
* will be cleared, restoring the original visualization
|
|
1967
|
+
* with the updated filters.
|
|
1968
|
+
*
|
|
1958
1969
|
* @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
|
|
1959
1970
|
* @example
|
|
1960
1971
|
* ```js
|
|
@@ -1969,7 +1980,7 @@
|
|
|
1969
1980
|
HostEvent["UpdateRuntimeFilters"] = "UpdateRuntimeFilters";
|
|
1970
1981
|
/**
|
|
1971
1982
|
* Navigate to a specific page in the embedded ThoughtSpot application.
|
|
1972
|
-
* This is the same as calling `appEmbed.navigateToPage(path, true)
|
|
1983
|
+
* This is the same as calling `appEmbed.navigateToPage(path, true)`.
|
|
1973
1984
|
* @param - `path` - the path to navigate to to go forward or back. The path value can
|
|
1974
1985
|
* be a number; for example, `1`, `-1`.
|
|
1975
1986
|
* @example
|
|
@@ -2264,7 +2275,9 @@
|
|
|
2264
2275
|
*/
|
|
2265
2276
|
HostEvent["GetTML"] = "getTML";
|
|
2266
2277
|
/**
|
|
2267
|
-
* Trigger the **Show underlying data** action on
|
|
2278
|
+
* Trigger the **Show underlying data** action on a
|
|
2279
|
+
* chart or table.
|
|
2280
|
+
*
|
|
2268
2281
|
* @param - an object with vizId as a key
|
|
2269
2282
|
* @example
|
|
2270
2283
|
* ```js
|
|
@@ -2298,8 +2311,8 @@
|
|
|
2298
2311
|
*/
|
|
2299
2312
|
HostEvent["Delete"] = "onDeleteAnswer";
|
|
2300
2313
|
/**
|
|
2301
|
-
* Trigger the **SpotIQ analyze** action on
|
|
2302
|
-
* or
|
|
2314
|
+
* Trigger the **SpotIQ analyze** action on a
|
|
2315
|
+
* chart or table.
|
|
2303
2316
|
* @param - Liveboard embed takes `vizId` as a
|
|
2304
2317
|
* key. Can be left undefined when embedding Search or
|
|
2305
2318
|
* visualization.
|
|
@@ -2572,7 +2585,7 @@
|
|
|
2572
2585
|
* '430496d6-6903-4601-937e-2c691821af3c',
|
|
2573
2586
|
* 'f547ec54-2a37-4516-a222-2b06719af726'])
|
|
2574
2587
|
* ```
|
|
2575
|
-
* @version SDK: 1.26.0 |
|
|
2588
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
2576
2589
|
*/
|
|
2577
2590
|
HostEvent["SetVisibleTabs"] = "SetPinboardVisibleTabs";
|
|
2578
2591
|
/**
|
|
@@ -2585,7 +2598,7 @@
|
|
|
2585
2598
|
* '630496d6-6903-4601-937e-2c691821af3c',
|
|
2586
2599
|
* 'i547ec54-2a37-4516-a222-2b06719af726'])
|
|
2587
2600
|
* ```
|
|
2588
|
-
* @version SDK: 1.26.0 |
|
|
2601
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
2589
2602
|
*/
|
|
2590
2603
|
HostEvent["SetHiddenTabs"] = "SetPinboardHiddenTabs";
|
|
2591
2604
|
/**
|
|
@@ -2599,7 +2612,7 @@
|
|
|
2599
2612
|
* executeSearch: true,
|
|
2600
2613
|
* })
|
|
2601
2614
|
* ```
|
|
2602
|
-
* @version SDK: 1.26.0 |
|
|
2615
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
2603
2616
|
*/
|
|
2604
2617
|
HostEvent["UpdateSageQuery"] = "updateSageQuery";
|
|
2605
2618
|
/**
|
|
@@ -2616,21 +2629,22 @@
|
|
|
2616
2629
|
* ```js
|
|
2617
2630
|
* const {session} = await embed.trigger( HostEvent.GetAnswerSession )
|
|
2618
2631
|
* ```
|
|
2619
|
-
* @version SDK: 1.26.0 |
|
|
2632
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.10.0.cl, 10.1.0.sw
|
|
2620
2633
|
*/
|
|
2621
2634
|
HostEvent["GetAnswerSession"] = "getAnswerSession";
|
|
2622
2635
|
/**
|
|
2623
|
-
* Trigger Ask Sage for
|
|
2636
|
+
* Trigger the *Ask Sage* action for visualizations
|
|
2624
2637
|
* @example
|
|
2625
2638
|
* ```js
|
|
2626
2639
|
* liveboardEmbed.trigger(HostEvent.AskSage,
|
|
2627
2640
|
* {vizId:'730496d6-6903-4601-937e-2c691821af3c'})
|
|
2628
2641
|
* ```
|
|
2629
|
-
* @version SDK: 1.29.0 |
|
|
2642
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 9.12.0.cl
|
|
2630
2643
|
*/
|
|
2631
2644
|
HostEvent["AskSage"] = "AskSage";
|
|
2632
2645
|
/**
|
|
2633
|
-
* Trigger cross filter update action on a Liveboard
|
|
2646
|
+
* Trigger cross filter update action on a Liveboard.
|
|
2647
|
+
*
|
|
2634
2648
|
* @example
|
|
2635
2649
|
* ```js
|
|
2636
2650
|
* liveboardEmbed.trigger(HostEvent.UpdateCrossFilter, {
|
|
@@ -2641,7 +2655,7 @@
|
|
|
2641
2655
|
* ],
|
|
2642
2656
|
* });
|
|
2643
2657
|
* ```
|
|
2644
|
-
* @version SDK: 1.29.0 |
|
|
2658
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 10.0.0.cl, 10.1.0.sw
|
|
2645
2659
|
*/
|
|
2646
2660
|
HostEvent["UpdateCrossFilter"] = "UpdateCrossFilter";
|
|
2647
2661
|
/**
|
|
@@ -2650,11 +2664,13 @@
|
|
|
2650
2664
|
* ```js
|
|
2651
2665
|
* liveboardEmbed.trigger(HostEvent.ResetLiveboardPersonalisedView);
|
|
2652
2666
|
* ```
|
|
2653
|
-
* @version SDK: 1.29.0 |
|
|
2667
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 10.1.0.cl, 10.1.0.sw
|
|
2654
2668
|
*/
|
|
2655
2669
|
HostEvent["ResetLiveboardPersonalisedView"] = "ResetLiveboardPersonalisedView";
|
|
2656
2670
|
/**
|
|
2657
|
-
* Triggers an
|
|
2671
|
+
* Triggers an action to update Parameter values on embedded
|
|
2672
|
+
* Answers and Liveboard.
|
|
2673
|
+
*
|
|
2658
2674
|
* @example
|
|
2659
2675
|
* ```js
|
|
2660
2676
|
* liveboardEmbed.trigger(HostEvent.UpdateParameters, [{
|
|
@@ -2662,30 +2678,30 @@
|
|
|
2662
2678
|
* value: "almond"
|
|
2663
2679
|
* }])
|
|
2664
2680
|
*
|
|
2665
|
-
* @version SDK: 1.29.0 |
|
|
2681
|
+
* @version SDK: 1.29.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
2666
2682
|
*/
|
|
2667
2683
|
HostEvent["UpdateParameters"] = "UpdateParameters";
|
|
2668
2684
|
/**
|
|
2669
|
-
* Triggers GetParameters to fetch the runtime
|
|
2685
|
+
* Triggers GetParameters to fetch the runtime Parameters.
|
|
2670
2686
|
* ```js
|
|
2671
2687
|
* liveboardEmbed.trigger(HostEvent.GetParameters).then((parameter) => {
|
|
2672
2688
|
* console.log('parameters', parameter);
|
|
2673
2689
|
* });
|
|
2674
2690
|
*```
|
|
2675
|
-
* @version SDK: 1.29.0 |
|
|
2691
|
+
* @version SDK: 1.29.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
2676
2692
|
*/
|
|
2677
2693
|
HostEvent["GetParameters"] = "GetParameters";
|
|
2678
2694
|
/**
|
|
2679
|
-
* Triggers an event to update a
|
|
2695
|
+
* Triggers an event to update a personalized view of a Liveboard.
|
|
2680
2696
|
* ```js
|
|
2681
2697
|
* liveboardEmbed.trigger(HostEvent.UpdatePersonalisedView, {viewId: '1234'})
|
|
2682
2698
|
* ```
|
|
2683
|
-
* @version SDK: 1.36.0 |
|
|
2699
|
+
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
|
|
2684
2700
|
*/
|
|
2685
2701
|
HostEvent["UpdatePersonalisedView"] = "UpdatePersonalisedView";
|
|
2686
2702
|
/**
|
|
2687
|
-
* Triggers the action to get the current view of the
|
|
2688
|
-
* @version SDK: 1.36.0 |
|
|
2703
|
+
* Triggers the action to get the current view of the Liveboard.
|
|
2704
|
+
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
|
|
2689
2705
|
*/
|
|
2690
2706
|
HostEvent["SaveAnswer"] = "saveAnswer";
|
|
2691
2707
|
/**
|
|
@@ -2912,7 +2928,8 @@
|
|
|
2912
2928
|
Action["ResetLayout"] = "resetLayout";
|
|
2913
2929
|
/**
|
|
2914
2930
|
* The **Schedule** menu action on a Liveboard.
|
|
2915
|
-
* Allows scheduling a Liveboard
|
|
2931
|
+
* Allows scheduling a Liveboard job, for example,
|
|
2932
|
+
* sending periodic notifications.
|
|
2916
2933
|
* @example
|
|
2917
2934
|
* ```js
|
|
2918
2935
|
* disabledActions: [Action.Schedule]
|
|
@@ -2954,7 +2971,7 @@
|
|
|
2954
2971
|
* ```js
|
|
2955
2972
|
* disabledActions: [Action.AddDataPanelObjects]
|
|
2956
2973
|
* ```
|
|
2957
|
-
* @version SDK: 1.32.0 |
|
|
2974
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl, 10.1.0.sw
|
|
2958
2975
|
*/
|
|
2959
2976
|
Action["AddDataPanelObjects"] = "addDataPanelObjects";
|
|
2960
2977
|
/**
|
|
@@ -2967,7 +2984,28 @@
|
|
|
2967
2984
|
* ```
|
|
2968
2985
|
*/
|
|
2969
2986
|
Action["ConfigureFilter"] = "configureFilter";
|
|
2987
|
+
/**
|
|
2988
|
+
* The **Collapse data sources** icon on the Search page.
|
|
2989
|
+
* Collapses the panel showing data sources.
|
|
2990
|
+
*
|
|
2991
|
+
* @example
|
|
2992
|
+
* ```js
|
|
2993
|
+
* disabledActions: [Action.CollapseDataPanel]
|
|
2994
|
+
* ```
|
|
2995
|
+
* @version: SDK: 1.1.0 | ThoughtSpot Cloud: ts7.may.cl, 8.4.1.sw
|
|
2996
|
+
*/
|
|
2970
2997
|
Action["CollapseDataSources"] = "collapseDataSources";
|
|
2998
|
+
/**
|
|
2999
|
+
* The **Collapse data panel** icon on the Search page.
|
|
3000
|
+
* Collapses the data panel view.
|
|
3001
|
+
*
|
|
3002
|
+
* @version: SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl, 10.7.0.sw
|
|
3003
|
+
*
|
|
3004
|
+
* @example
|
|
3005
|
+
* ```js
|
|
3006
|
+
* disabledActions: [Action.CollapseDataPanel]
|
|
3007
|
+
* ```
|
|
3008
|
+
*/
|
|
2971
3009
|
Action["CollapseDataPanel"] = "collapseDataPanel";
|
|
2972
3010
|
/**
|
|
2973
3011
|
* The **Choose sources** button on Search page.
|
|
@@ -3003,7 +3041,7 @@
|
|
|
3003
3041
|
* ```js
|
|
3004
3042
|
* disabledActions: [Action.AddColumnSet]
|
|
3005
3043
|
* ```
|
|
3006
|
-
* @version SDK: 1.32.0 |
|
|
3044
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl, 10.1.0.sw
|
|
3007
3045
|
*/
|
|
3008
3046
|
Action["AddColumnSet"] = "addSimpleCohort";
|
|
3009
3047
|
/**
|
|
@@ -3013,7 +3051,7 @@
|
|
|
3013
3051
|
* ```js
|
|
3014
3052
|
* disabledActions: [Action.AddQuerySet]
|
|
3015
3053
|
* ```
|
|
3016
|
-
* @version SDK: 1.32.0 |
|
|
3054
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl, 10.1.0.sw
|
|
3017
3055
|
*/
|
|
3018
3056
|
Action["AddQuerySet"] = "addAdvancedCohort";
|
|
3019
3057
|
/**
|
|
@@ -3045,6 +3083,8 @@
|
|
|
3045
3083
|
/**
|
|
3046
3084
|
* The **Show underlying data** menu action on a visualization or
|
|
3047
3085
|
* Answer page.
|
|
3086
|
+
* Displays detailed information and raw data
|
|
3087
|
+
* for a given visualization.
|
|
3048
3088
|
* @example
|
|
3049
3089
|
* ```js
|
|
3050
3090
|
* disabledActions: [Action.ShowUnderlyingData]
|
|
@@ -3246,6 +3286,7 @@
|
|
|
3246
3286
|
Action["AnalysisInfo"] = "analysisInfo";
|
|
3247
3287
|
/**
|
|
3248
3288
|
* The **Schedule** menu action on a Liveboard.
|
|
3289
|
+
* Allows scheduling a Liveboard job.
|
|
3249
3290
|
* @example
|
|
3250
3291
|
* ```js
|
|
3251
3292
|
* disabledActions: [Action.Subscription]
|
|
@@ -3315,8 +3356,13 @@
|
|
|
3315
3356
|
*/
|
|
3316
3357
|
Action["RequestAccess"] = "requestAccess";
|
|
3317
3358
|
/**
|
|
3318
|
-
* The **Query visualizer** and **Query SQL** buttons in
|
|
3319
|
-
* of the Answer page
|
|
3359
|
+
* The **Query visualizer** and **Query SQL** buttons in
|
|
3360
|
+
* Query details panel of the Answer page.
|
|
3361
|
+
*
|
|
3362
|
+
* **Query visualizer** - Displays the tables
|
|
3363
|
+
* and filters used in a search query.
|
|
3364
|
+
* **Query SQL** - Displays the SQL statements used
|
|
3365
|
+
* in a search query to fetch data.
|
|
3320
3366
|
* @example
|
|
3321
3367
|
* ```js
|
|
3322
3368
|
* disabledActions: [Action.QueryDetailsButtons]
|
|
@@ -3334,7 +3380,10 @@
|
|
|
3334
3380
|
*/
|
|
3335
3381
|
Action["AnswerDelete"] = "onDeleteAnswer";
|
|
3336
3382
|
/**
|
|
3337
|
-
* The
|
|
3383
|
+
* The chart switcher icon on Answer page and
|
|
3384
|
+
* visualizations in edit mode.
|
|
3385
|
+
* Allows switching to the table or chart mode
|
|
3386
|
+
* when editing a visualization.
|
|
3338
3387
|
* @example
|
|
3339
3388
|
* ```js
|
|
3340
3389
|
* disabledActions: [Action.AnswerChartSwitcher]
|
|
@@ -3343,7 +3392,10 @@
|
|
|
3343
3392
|
*/
|
|
3344
3393
|
Action["AnswerChartSwitcher"] = "answerChartSwitcher";
|
|
3345
3394
|
/**
|
|
3346
|
-
* Favorites icon (*)
|
|
3395
|
+
* The Favorites icon (*) for Answers,
|
|
3396
|
+
* Liveboard, and data objects like Worksheet, Model,
|
|
3397
|
+
* Tables and Views.
|
|
3398
|
+
* Allows adding an object to the user’s favorites list.
|
|
3347
3399
|
* @example
|
|
3348
3400
|
* ```js
|
|
3349
3401
|
* disabledActions: [Action.AddToFavorites]
|
|
@@ -3361,7 +3413,9 @@
|
|
|
3361
3413
|
*/
|
|
3362
3414
|
Action["EditDetails"] = "editDetails";
|
|
3363
3415
|
/**
|
|
3364
|
-
* The Create alert action
|
|
3416
|
+
* The *Create alert* action for KPI charts.
|
|
3417
|
+
* Allows users to schedule threshold-based alerts
|
|
3418
|
+
* for KPI charts.
|
|
3365
3419
|
* @example
|
|
3366
3420
|
* ```js
|
|
3367
3421
|
* disabledActions: [Action.CreateMonitor]
|
|
@@ -3417,7 +3471,7 @@
|
|
|
3417
3471
|
* ```js
|
|
3418
3472
|
* disabledActions: [Action.CrossFilter]
|
|
3419
3473
|
* ```
|
|
3420
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3474
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.8.0.sw
|
|
3421
3475
|
*/
|
|
3422
3476
|
Action["CrossFilter"] = "context-menu-item-cross-filter";
|
|
3423
3477
|
/**
|
|
@@ -3427,7 +3481,7 @@
|
|
|
3427
3481
|
* ```js
|
|
3428
3482
|
* disabledActions: [Action.SyncToSlack]
|
|
3429
3483
|
* ```
|
|
3430
|
-
* @version @version SDK : 1.32.0 |
|
|
3484
|
+
* @version @version SDK : 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
|
|
3431
3485
|
*/
|
|
3432
3486
|
Action["SyncToSlack"] = "syncToSlack";
|
|
3433
3487
|
/**
|
|
@@ -3437,7 +3491,7 @@
|
|
|
3437
3491
|
* ```js
|
|
3438
3492
|
* disabledActions: [Action.SyncToTeams]
|
|
3439
3493
|
* ```
|
|
3440
|
-
* @version @version SDK : 1.32.0 |
|
|
3494
|
+
* @version @version SDK : 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
|
|
3441
3495
|
*/
|
|
3442
3496
|
Action["SyncToTeams"] = "syncToTeams";
|
|
3443
3497
|
/**
|
|
@@ -3448,7 +3502,7 @@
|
|
|
3448
3502
|
* ```js
|
|
3449
3503
|
* disabledActions: [Action.RemoveCrossFilter]
|
|
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["RemoveCrossFilter"] = "context-menu-item-remove-cross-filter";
|
|
3454
3508
|
/**
|
|
@@ -3459,7 +3513,7 @@
|
|
|
3459
3513
|
* ```js
|
|
3460
3514
|
* disabledActions: [Action.AxisMenuAggregate]
|
|
3461
3515
|
* ```
|
|
3462
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3516
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3463
3517
|
*/
|
|
3464
3518
|
Action["AxisMenuAggregate"] = "axisMenuAggregate";
|
|
3465
3519
|
/**
|
|
@@ -3470,17 +3524,19 @@
|
|
|
3470
3524
|
* ```js
|
|
3471
3525
|
* disabledActions: [Action.AxisMenuTimeBucket]
|
|
3472
3526
|
* ```
|
|
3473
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3527
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3474
3528
|
*/
|
|
3475
3529
|
Action["AxisMenuTimeBucket"] = "axisMenuTimeBucket";
|
|
3476
3530
|
/**
|
|
3477
3531
|
* The **Filter** action in the chart axis or table column
|
|
3478
3532
|
* customization menu.
|
|
3533
|
+
* Allows adding, editing, or removing filters.
|
|
3534
|
+
*
|
|
3479
3535
|
* @example
|
|
3480
3536
|
* ```js
|
|
3481
3537
|
* disabledActions: [Action.AxisMenuFilter]
|
|
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["AxisMenuFilter"] = "axisMenuFilter";
|
|
3486
3542
|
/**
|
|
@@ -3491,7 +3547,7 @@
|
|
|
3491
3547
|
* ```js
|
|
3492
3548
|
* disabledActions: [Action.AxisMenuConditionalFormat]
|
|
3493
3549
|
* ```
|
|
3494
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3550
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3495
3551
|
*/
|
|
3496
3552
|
Action["AxisMenuConditionalFormat"] = "axisMenuConditionalFormat";
|
|
3497
3553
|
/**
|
|
@@ -3502,7 +3558,7 @@
|
|
|
3502
3558
|
* ```js
|
|
3503
3559
|
* disabledActions: [Action.AxisMenuConditionalFormat]
|
|
3504
3560
|
* ```
|
|
3505
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3561
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3506
3562
|
*/
|
|
3507
3563
|
Action["AxisMenuSort"] = "axisMenuSort";
|
|
3508
3564
|
/**
|
|
@@ -3514,7 +3570,7 @@
|
|
|
3514
3570
|
* ```js
|
|
3515
3571
|
* disabledActions: [Action.AxisMenuGroup]
|
|
3516
3572
|
* ```
|
|
3517
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3573
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3518
3574
|
*/
|
|
3519
3575
|
Action["AxisMenuGroup"] = "axisMenuGroup";
|
|
3520
3576
|
/**
|
|
@@ -3525,7 +3581,7 @@
|
|
|
3525
3581
|
* ```js
|
|
3526
3582
|
* disabledActions: [Action.AxisMenuPosition]
|
|
3527
3583
|
* ```
|
|
3528
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3584
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3529
3585
|
*/
|
|
3530
3586
|
Action["AxisMenuPosition"] = "axisMenuPosition";
|
|
3531
3587
|
/**
|
|
@@ -3535,7 +3591,7 @@
|
|
|
3535
3591
|
* ```js
|
|
3536
3592
|
* disabledActions: [Action.AxisMenuRename]
|
|
3537
3593
|
* ```
|
|
3538
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3594
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3539
3595
|
*/
|
|
3540
3596
|
Action["AxisMenuRename"] = "axisMenuRename";
|
|
3541
3597
|
/**
|
|
@@ -3546,7 +3602,7 @@
|
|
|
3546
3602
|
* ```js
|
|
3547
3603
|
* disabledActions: [Action.AxisMenuEdit]
|
|
3548
3604
|
* ```
|
|
3549
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3605
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3550
3606
|
*/
|
|
3551
3607
|
Action["AxisMenuEdit"] = "axisMenuEdit";
|
|
3552
3608
|
/**
|
|
@@ -3556,7 +3612,7 @@
|
|
|
3556
3612
|
* ```js
|
|
3557
3613
|
* disabledActions: [Action.AxisMenuNumberFormat]
|
|
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["AxisMenuNumberFormat"] = "axisMenuNumberFormat";
|
|
3562
3618
|
/**
|
|
@@ -3566,7 +3622,7 @@
|
|
|
3566
3622
|
* ```js
|
|
3567
3623
|
* disabledActions: [Action.AxisMenuTextWrapping]
|
|
3568
3624
|
* ```
|
|
3569
|
-
* @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
|
|
3570
3626
|
*/
|
|
3571
3627
|
Action["AxisMenuTextWrapping"] = "axisMenuTextWrapping";
|
|
3572
3628
|
/**
|
|
@@ -3578,7 +3634,7 @@
|
|
|
3578
3634
|
* ```js
|
|
3579
3635
|
* disabledActions: [Action.AxisMenuRemove]
|
|
3580
3636
|
* ```
|
|
3581
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3637
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3582
3638
|
*/
|
|
3583
3639
|
Action["AxisMenuRemove"] = "axisMenuRemove";
|
|
3584
3640
|
/**
|
|
@@ -3592,26 +3648,27 @@
|
|
|
3592
3648
|
* ```js
|
|
3593
3649
|
* disabledActions: [Action.RenameModalTitleDescription]
|
|
3594
3650
|
* ```
|
|
3595
|
-
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
|
|
3651
|
+
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl, 9.8.0.sw
|
|
3596
3652
|
*/
|
|
3597
3653
|
Action["RenameModalTitleDescription"] = "renameModalTitleDescription";
|
|
3598
3654
|
/**
|
|
3599
|
-
*
|
|
3655
|
+
* The *Request verification* action on a Liveboard.
|
|
3656
|
+
* Initiates a request for Liveboard verification.
|
|
3600
3657
|
* @example
|
|
3601
3658
|
* ```js
|
|
3602
3659
|
* disabledActions: [Action.RequestVerification]
|
|
3603
3660
|
* ```
|
|
3604
|
-
* @version SDK: 1.25.0 |
|
|
3661
|
+
* @version SDK: 1.25.0 | ThoughtSpot: 9.6.0.cl, 10.1.0.sw
|
|
3605
3662
|
*/
|
|
3606
3663
|
Action["RequestVerification"] = "requestVerification";
|
|
3607
3664
|
/**
|
|
3608
3665
|
*
|
|
3609
|
-
*Allows users to mark a Liveboard as verified.
|
|
3666
|
+
* Allows users to mark a Liveboard as verified.
|
|
3610
3667
|
* @example
|
|
3611
3668
|
* ```js
|
|
3612
3669
|
* disabledActions: [Action.MarkAsVerified]
|
|
3613
3670
|
* ```
|
|
3614
|
-
* @version SDK: 1.25.0 |
|
|
3671
|
+
* @version SDK: 1.25.0 | ThoughtSpot: 9.6.0.cl, 10.1.0.sw
|
|
3615
3672
|
*/
|
|
3616
3673
|
Action["MarkAsVerified"] = "markAsVerified";
|
|
3617
3674
|
/**
|
|
@@ -3621,7 +3678,7 @@
|
|
|
3621
3678
|
* ```js
|
|
3622
3679
|
* disabledActions: [Action.AddTab]
|
|
3623
3680
|
* ```
|
|
3624
|
-
* @version SDK: 1.26.0 |
|
|
3681
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
3625
3682
|
*/
|
|
3626
3683
|
Action["AddTab"] = "addTab";
|
|
3627
3684
|
/**
|
|
@@ -3631,35 +3688,42 @@
|
|
|
3631
3688
|
* ```js
|
|
3632
3689
|
* disabledActions: [Action.EnableContextualChangeAnalysis]
|
|
3633
3690
|
* ```
|
|
3634
|
-
* @version SDK: 1.25.0 |
|
|
3691
|
+
* @version SDK: 1.25.0 | ThoughtSpot Cloud: 9.6.0.cl
|
|
3635
3692
|
*/
|
|
3636
3693
|
Action["EnableContextualChangeAnalysis"] = "enableContextualChangeAnalysis";
|
|
3637
3694
|
/**
|
|
3695
|
+
* Action ID to hide or disable Natural Language Search query.
|
|
3638
3696
|
*
|
|
3639
3697
|
* @example
|
|
3640
3698
|
* ```js
|
|
3641
3699
|
* disabledActions: [Action.ShowSageQuery]
|
|
3642
3700
|
* ```
|
|
3643
|
-
* @version SDK: 1.26.0 |
|
|
3701
|
+
* @version SDK: 1.26.0 | ThoughtSpot Cloud: 9.7.0.cl
|
|
3644
3702
|
*/
|
|
3645
3703
|
Action["ShowSageQuery"] = "showSageQuery";
|
|
3646
3704
|
/**
|
|
3705
|
+
*
|
|
3706
|
+
* Action ID to hide or disable the edit option for the
|
|
3707
|
+
* results generated from the
|
|
3708
|
+
* Natural Language Search query.
|
|
3647
3709
|
*
|
|
3648
3710
|
* @example
|
|
3649
3711
|
* ```js
|
|
3650
3712
|
* disabledActions: [Action.EditSageAnswer]
|
|
3651
3713
|
* ```
|
|
3652
|
-
* @version SDK: 1.26.0 |
|
|
3714
|
+
* @version SDK: 1.26.0 | ThoughtSpot Cloud: 9.7.0.cl
|
|
3653
3715
|
*/
|
|
3654
3716
|
Action["EditSageAnswer"] = "editSageAnswer";
|
|
3655
3717
|
/**
|
|
3718
|
+
* The feedback widget for AI-generated Answers.
|
|
3719
|
+
* Allows users to send feedback on the Answers generated
|
|
3720
|
+
* from a Natural Language Search query.
|
|
3656
3721
|
*
|
|
3657
|
-
*This action allows users to send feedback on AI-generated Answers.
|
|
3658
3722
|
* @example
|
|
3659
3723
|
* ```js
|
|
3660
3724
|
* disabledActions: [Action.SageAnswerFeedback]
|
|
3661
3725
|
* ```
|
|
3662
|
-
* @version SDK: 1.26.0 |
|
|
3726
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl
|
|
3663
3727
|
*/
|
|
3664
3728
|
Action["SageAnswerFeedback"] = "sageAnswerFeedback";
|
|
3665
3729
|
/**
|
|
@@ -3668,7 +3732,7 @@
|
|
|
3668
3732
|
* ```js
|
|
3669
3733
|
* disabledActions: [Action.ModifySageAnswer]
|
|
3670
3734
|
* ```
|
|
3671
|
-
* @version SDK: 1.26.0 |
|
|
3735
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl
|
|
3672
3736
|
*/
|
|
3673
3737
|
Action["ModifySageAnswer"] = "modifySageAnswer";
|
|
3674
3738
|
/**
|
|
@@ -3681,7 +3745,10 @@
|
|
|
3681
3745
|
*/
|
|
3682
3746
|
Action["MoveToTab"] = "onContainerMove";
|
|
3683
3747
|
/**
|
|
3684
|
-
* The **Manage
|
|
3748
|
+
* The **Manage Alerts** menu action on KPI visualizations.
|
|
3749
|
+
* Allows creating, viewing, and editing monitor
|
|
3750
|
+
* alerts for a KPI chart.
|
|
3751
|
+
*
|
|
3685
3752
|
* @example
|
|
3686
3753
|
* ```js
|
|
3687
3754
|
* disabledActions: [Action.ManageMonitor]
|
|
@@ -3689,21 +3756,23 @@
|
|
|
3689
3756
|
*/
|
|
3690
3757
|
Action["ManageMonitor"] = "manageMonitor";
|
|
3691
3758
|
/**
|
|
3692
|
-
*
|
|
3759
|
+
* The Liveboard Personalised Views dropdown.
|
|
3760
|
+
* Allows navigating to a personalized Liveboard View.
|
|
3693
3761
|
* @example
|
|
3694
3762
|
* ```js
|
|
3695
3763
|
* disabledActions: [Action.PersonalisedViewsDropdown]
|
|
3696
3764
|
* ```
|
|
3697
|
-
* @version SDK : 1.26.0 |
|
|
3765
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 10.1.0.sw
|
|
3698
3766
|
*/
|
|
3699
3767
|
Action["PersonalisedViewsDropdown"] = "personalisedViewsDropdown";
|
|
3700
3768
|
/**
|
|
3701
|
-
* Action ID for
|
|
3769
|
+
* Action ID for show or hide the user details on a
|
|
3770
|
+
* Liveboard (Recently visited / social proof)
|
|
3702
3771
|
* @example
|
|
3703
3772
|
* ```js
|
|
3704
3773
|
* disabledActions: [Action.LiveboardUsers]
|
|
3705
3774
|
* ```
|
|
3706
|
-
* @version SDK : 1.26.0 |
|
|
3775
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 10.1.0.sw
|
|
3707
3776
|
*/
|
|
3708
3777
|
Action["LiveboardUsers"] = "liveboardUsers";
|
|
3709
3778
|
/**
|
|
@@ -3721,108 +3790,124 @@
|
|
|
3721
3790
|
* hiddenAction: [Action.TML] // hide all TML actions
|
|
3722
3791
|
* disabledActions: [Action.TML] // to disable all TML actions
|
|
3723
3792
|
* ```
|
|
3724
|
-
* @version SDK : 1.28.3 |
|
|
3793
|
+
* @version SDK : 1.28.3 | ThoughtSpot: 9.12.0.cl, 10.1.0.sw
|
|
3725
3794
|
*/
|
|
3726
3795
|
Action["TML"] = "tml";
|
|
3727
3796
|
/**
|
|
3728
|
-
*
|
|
3729
|
-
* and Pin modal
|
|
3797
|
+
* The **Create Liveboard* action on
|
|
3798
|
+
* the Liveboards page and the Pin modal.
|
|
3799
|
+
* Allows users to create a Liveboard.
|
|
3800
|
+
*
|
|
3730
3801
|
* @example
|
|
3731
3802
|
* ```js
|
|
3732
3803
|
* hiddenAction: [Action.CreateLiveboard]
|
|
3733
3804
|
* disabledActions: [Action.CreateLiveboard]
|
|
3734
3805
|
* ```
|
|
3735
|
-
* @version SDK: 1.32.0 |
|
|
3806
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
3736
3807
|
*/
|
|
3737
3808
|
Action["CreateLiveboard"] = "createLiveboard";
|
|
3738
3809
|
/**
|
|
3739
|
-
* Action ID for to hide
|
|
3810
|
+
* Action ID for to hide or disable the
|
|
3811
|
+
* Verified Liveboard banner.
|
|
3740
3812
|
* @example
|
|
3741
3813
|
* ```js
|
|
3742
3814
|
* hiddenAction: [Action.VerifiedLiveboard]
|
|
3743
3815
|
* ```
|
|
3744
|
-
* @version SDK: 1.29.0 |
|
|
3816
|
+
* @version SDK: 1.29.0 | ThoughtSpot: 9.10.0.cl, 10.1.0.sw
|
|
3745
3817
|
*/
|
|
3746
3818
|
Action["VerifiedLiveboard"] = "verifiedLiveboard";
|
|
3747
3819
|
/**
|
|
3748
|
-
*
|
|
3820
|
+
* The *Ask Sage* action for Answers and visualizations.
|
|
3821
|
+
* Allows initiating a Natural Language Search query.
|
|
3822
|
+
*
|
|
3749
3823
|
* @example
|
|
3750
3824
|
* ```js
|
|
3751
3825
|
* hiddenAction: [Action.AskAi]
|
|
3752
3826
|
* ```
|
|
3753
|
-
* @version SDK: 1.29.0 |
|
|
3827
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 9.12.0.cl
|
|
3754
3828
|
*/
|
|
3755
3829
|
Action["AskAi"] = "AskAi";
|
|
3756
3830
|
/**
|
|
3757
3831
|
* The **Add KPI to Watchlist** action on Home page watchlist.
|
|
3832
|
+
* Adds a KPI chart to the watchlist on the Home page.
|
|
3758
3833
|
* @example
|
|
3759
3834
|
* ```js
|
|
3760
3835
|
* disabledActions: [Action.AddToWatchlist]
|
|
3761
3836
|
* ```
|
|
3762
|
-
* @version SDK : 1.27.9 |
|
|
3837
|
+
* @version SDK : 1.27.9 | ThoughtSpot Cloud: 9.12.5.cl
|
|
3763
3838
|
*/
|
|
3764
3839
|
Action["AddToWatchlist"] = "addToWatchlist";
|
|
3765
3840
|
/**
|
|
3766
3841
|
* The **Remove from watchlist** menu action on KPI watchlist.
|
|
3842
|
+
* Removes a KPI chart from the watchlist on the Home page.
|
|
3767
3843
|
* @example
|
|
3768
3844
|
* ```js
|
|
3769
3845
|
* disabledActions: [Action.RemoveFromWatchlist]
|
|
3770
3846
|
* ```
|
|
3771
|
-
* @version SDK : 1.27.9 |
|
|
3847
|
+
* @version SDK : 1.27.9 | ThoughtSpot: 9.12.5.cl
|
|
3772
3848
|
*/
|
|
3773
3849
|
Action["RemoveFromWatchlist"] = "removeFromWatchlist";
|
|
3774
3850
|
/**
|
|
3775
|
-
* The **
|
|
3851
|
+
* The **Organize Favourites** action on Homepage
|
|
3852
|
+
* *Favorites* module.
|
|
3853
|
+
*
|
|
3776
3854
|
* @example
|
|
3777
3855
|
* ```js
|
|
3778
3856
|
* disabledActions: [Action.OrganiseFavourites]
|
|
3779
3857
|
* ```
|
|
3780
|
-
* @version SDK : 1.32.0 |
|
|
3858
|
+
* @version SDK : 1.32.0 | ThoughtSpot: 10.0.0.cl
|
|
3781
3859
|
*/
|
|
3782
3860
|
Action["OrganiseFavourites"] = "organiseFavourites";
|
|
3783
3861
|
/**
|
|
3784
|
-
*
|
|
3862
|
+
* The **AI Highlights** action on a Liveboard.
|
|
3863
|
+
*
|
|
3785
3864
|
* @example
|
|
3786
3865
|
* ```js
|
|
3787
3866
|
* hiddenAction: [Action.AIHighlights]
|
|
3788
3867
|
* ```
|
|
3789
|
-
* @version SDK: 1.27.10 |
|
|
3868
|
+
* @version SDK: 1.27.10 | ThoughtSpot Cloud: 9.12.5.cl
|
|
3790
3869
|
*/
|
|
3791
3870
|
Action["AIHighlights"] = "AIHighlights";
|
|
3792
3871
|
/**
|
|
3793
|
-
*
|
|
3872
|
+
* The *Edit* action on the *Liveboard Schedules* page
|
|
3873
|
+
* (new Homepage experience).
|
|
3874
|
+
* Allows editing Liveboard schedules.
|
|
3875
|
+
*
|
|
3794
3876
|
* @example
|
|
3795
3877
|
* ```js
|
|
3796
3878
|
* disabledActions: [Action.EditScheduleHomepage]
|
|
3797
3879
|
* ```
|
|
3798
|
-
* @version SDK: 1.34.0 |
|
|
3880
|
+
* @version SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3799
3881
|
*/
|
|
3800
3882
|
Action["EditScheduleHomepage"] = "editScheduleHomepage";
|
|
3801
3883
|
/**
|
|
3802
|
-
*
|
|
3884
|
+
* The *Pause* action on the *Liveboard Schedules* page
|
|
3885
|
+
* Pauses a scheduled Liveboard job.
|
|
3803
3886
|
* @example
|
|
3804
3887
|
* ```js
|
|
3805
3888
|
* disabledActions: [Action.PauseScheduleHomepage]
|
|
3806
3889
|
* ```
|
|
3807
|
-
* @version SDK: 1.34.0 |
|
|
3890
|
+
* @version SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3808
3891
|
*/
|
|
3809
3892
|
Action["PauseScheduleHomepage"] = "pauseScheduleHomepage";
|
|
3810
3893
|
/**
|
|
3811
|
-
*
|
|
3894
|
+
* The **View run history** action **Liveboard Schedules** page.
|
|
3895
|
+
* Allows viewing schedule run history.
|
|
3812
3896
|
* @example
|
|
3813
3897
|
* ```js
|
|
3814
3898
|
* disabledActions: [Action.ViewScheduleRunHomepage]
|
|
3815
3899
|
* ```
|
|
3816
|
-
* @version SDK: 1.34.0 |
|
|
3900
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
|
|
3817
3901
|
*/
|
|
3818
3902
|
Action["ViewScheduleRunHomepage"] = "viewScheduleRunHomepage";
|
|
3819
3903
|
/**
|
|
3820
|
-
* Action ID
|
|
3904
|
+
* Action ID to hide or disable the
|
|
3905
|
+
* unsubscribe option for Liveboard schedules.
|
|
3821
3906
|
* @example
|
|
3822
3907
|
* ```js
|
|
3823
3908
|
* disabledActions: [Action.UnsubscribeScheduleHomepage]
|
|
3824
3909
|
* ```
|
|
3825
|
-
* @version SDK: 1.34.0 |
|
|
3910
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
|
|
3826
3911
|
*/
|
|
3827
3912
|
Action["UnsubscribeScheduleHomepage"] = "unsubscribeScheduleHomepage";
|
|
3828
3913
|
/**
|
|
@@ -3831,16 +3916,17 @@
|
|
|
3831
3916
|
* ```js
|
|
3832
3917
|
* disabledActions: [Action.ManageTags]
|
|
3833
3918
|
* ```
|
|
3834
|
-
* @version SDK : 1.34.0 |
|
|
3919
|
+
* @version SDK : 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3835
3920
|
*/
|
|
3836
3921
|
Action["ManageTags"] = "manageTags";
|
|
3837
3922
|
/**
|
|
3838
|
-
*
|
|
3923
|
+
* The **Delete** action on the **Liveboard Schedules* page.
|
|
3924
|
+
* Deletes a Liveboard schedule.
|
|
3839
3925
|
* @example
|
|
3840
3926
|
* ```js
|
|
3841
3927
|
* disabledActions: [Action.DeleteScheduleHomepage]
|
|
3842
3928
|
* ```
|
|
3843
|
-
* @version SDK: 1.34.0 |
|
|
3929
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
|
|
3844
3930
|
*/
|
|
3845
3931
|
Action["DeleteScheduleHomepage"] = "deleteScheduleHomepage";
|
|
3846
3932
|
/**
|
|
@@ -3849,7 +3935,7 @@
|
|
|
3849
3935
|
* ```js
|
|
3850
3936
|
* disabledActions: [Action.KPIAnalysisCTA]
|
|
3851
3937
|
* ```
|
|
3852
|
-
* @version SDK: 1.34.0 |
|
|
3938
|
+
* @version SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3853
3939
|
*/
|
|
3854
3940
|
Action["KPIAnalysisCTA"] = "kpiAnalysisCTA";
|
|
3855
3941
|
/**
|
|
@@ -3858,61 +3944,73 @@
|
|
|
3858
3944
|
* ```js
|
|
3859
3945
|
* const disabledActions = [Action.DisableChipReorder]
|
|
3860
3946
|
* ```
|
|
3861
|
-
* @version SDK: 1.36.0 |
|
|
3947
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3862
3948
|
*/
|
|
3863
3949
|
Action["DisableChipReorder"] = "disableChipReorder";
|
|
3864
3950
|
/**
|
|
3865
|
-
* Action ID
|
|
3951
|
+
* Action ID to show, hide, or disable filters
|
|
3952
|
+
* in a Liveboard tab.
|
|
3953
|
+
*
|
|
3866
3954
|
* @example
|
|
3867
3955
|
* ```js
|
|
3868
3956
|
* hiddenAction: [Action.ChangeFilterVisibilityInTab]
|
|
3869
3957
|
* ```
|
|
3870
|
-
* @version SDK: 1.36.0 |
|
|
3958
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3871
3959
|
*/
|
|
3872
3960
|
Action["ChangeFilterVisibilityInTab"] = "changeFilterVisibilityInTab";
|
|
3873
3961
|
/**
|
|
3874
|
-
*
|
|
3962
|
+
* The **Preview data** button on the Spotter interface.
|
|
3963
|
+
* Allows previewing the data used for Spotter queries.
|
|
3964
|
+
*
|
|
3875
3965
|
* @example
|
|
3876
3966
|
* ```js
|
|
3877
3967
|
* hiddenAction: [Action.PreviewDataSpotter]
|
|
3878
3968
|
* ```
|
|
3879
|
-
* @version SDK: 1.36.0 |
|
|
3969
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3880
3970
|
*/
|
|
3881
3971
|
Action["PreviewDataSpotter"] = "previewDataSpotter";
|
|
3882
3972
|
/**
|
|
3883
|
-
*
|
|
3973
|
+
* The **Reset** link on the Spotter interface.
|
|
3974
|
+
* Resets the conversation with Spotter.
|
|
3975
|
+
*
|
|
3884
3976
|
* @example
|
|
3885
3977
|
* ```js
|
|
3886
3978
|
* hiddenAction: [Action.ResetSpotterChat]
|
|
3887
3979
|
* ```
|
|
3888
|
-
* @version SDK: 1.36.0 |
|
|
3980
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3889
3981
|
*/
|
|
3890
3982
|
Action["ResetSpotterChat"] = "resetSpotterChat";
|
|
3891
3983
|
/**
|
|
3892
|
-
* Action ID for hide
|
|
3984
|
+
* Action ID for hide or disable the
|
|
3985
|
+
* Spotter feedback widget.
|
|
3986
|
+
*
|
|
3893
3987
|
* @example
|
|
3894
3988
|
* ```js
|
|
3895
3989
|
* hiddenAction: [Action.SpotterFeedback]
|
|
3896
3990
|
* ```
|
|
3897
|
-
* @version SDK: 1.36.0 |
|
|
3991
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3898
3992
|
*/
|
|
3899
3993
|
Action["SpotterFeedback"] = "spotterFeedback";
|
|
3900
3994
|
/**
|
|
3901
|
-
* Action ID for hide
|
|
3995
|
+
* Action ID for hide or disable
|
|
3996
|
+
* the previous prompt edit option in Spotter.
|
|
3997
|
+
*
|
|
3902
3998
|
* @example
|
|
3903
3999
|
* ```js
|
|
3904
4000
|
* hiddenAction: [Action.EditPreviousPrompt]
|
|
3905
4001
|
* ```
|
|
3906
|
-
* @version SDK: 1.36.0 |
|
|
4002
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3907
4003
|
*/
|
|
3908
4004
|
Action["EditPreviousPrompt"] = "editPreviousPrompt";
|
|
3909
4005
|
/**
|
|
3910
|
-
* Action ID for hide
|
|
4006
|
+
* Action ID for hide or disable
|
|
4007
|
+
* the previous prompt deletion option in Spotter.
|
|
4008
|
+
*
|
|
3911
4009
|
* @example
|
|
3912
4010
|
* ```js
|
|
3913
4011
|
* hiddenAction: [Action.DeletePreviousPrompt]
|
|
3914
4012
|
* ```
|
|
3915
|
-
* @version SDK: 1.36.0 |
|
|
4013
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3916
4014
|
*/
|
|
3917
4015
|
Action["DeletePreviousPrompt"] = "deletePreviousPrompt";
|
|
3918
4016
|
/**
|
|
@@ -3921,7 +4019,7 @@
|
|
|
3921
4019
|
* ```js
|
|
3922
4020
|
* hiddenAction: [Action.EditTokens]
|
|
3923
4021
|
* ```
|
|
3924
|
-
* @version SDK: 1.36.0 |
|
|
4022
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3925
4023
|
*/
|
|
3926
4024
|
Action["EditTokens"] = "editTokens";
|
|
3927
4025
|
})(exports.Action || (exports.Action = {}));
|
|
@@ -3951,7 +4049,7 @@
|
|
|
3951
4049
|
* logLevel: LogLevel.SILENT,
|
|
3952
4050
|
* })
|
|
3953
4051
|
* ```
|
|
3954
|
-
* @version SDK: 1.26.7 |
|
|
4052
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3955
4053
|
*/
|
|
3956
4054
|
LogLevel["SILENT"] = "SILENT";
|
|
3957
4055
|
/**
|
|
@@ -3963,7 +4061,7 @@
|
|
|
3963
4061
|
* logLevel: LogLevel.ERROR,
|
|
3964
4062
|
* })
|
|
3965
4063
|
* ```
|
|
3966
|
-
* @version SDK: 1.26.7 |
|
|
4064
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3967
4065
|
*/
|
|
3968
4066
|
LogLevel["ERROR"] = "ERROR";
|
|
3969
4067
|
/**
|
|
@@ -3975,7 +4073,7 @@
|
|
|
3975
4073
|
* logLevel: LogLevel.WARN,
|
|
3976
4074
|
* })
|
|
3977
4075
|
* ```
|
|
3978
|
-
* @version SDK: 1.26.7 |
|
|
4076
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3979
4077
|
*/
|
|
3980
4078
|
LogLevel["WARN"] = "WARN";
|
|
3981
4079
|
/**
|
|
@@ -3987,7 +4085,7 @@
|
|
|
3987
4085
|
* logLevel: LogLevel.INFO,
|
|
3988
4086
|
* })
|
|
3989
4087
|
* ```
|
|
3990
|
-
* @version SDK: 1.26.7 |
|
|
4088
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3991
4089
|
*/
|
|
3992
4090
|
LogLevel["INFO"] = "INFO";
|
|
3993
4091
|
/**
|
|
@@ -3999,7 +4097,7 @@
|
|
|
3999
4097
|
* logLevel: LogLevel.DEBUG,
|
|
4000
4098
|
* })
|
|
4001
4099
|
* ```
|
|
4002
|
-
* @version SDK: 1.26.7 |
|
|
4100
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
4003
4101
|
*/
|
|
4004
4102
|
LogLevel["DEBUG"] = "DEBUG";
|
|
4005
4103
|
/**
|
|
@@ -4011,7 +4109,7 @@
|
|
|
4011
4109
|
* logLevel: LogLevel.TRACE,
|
|
4012
4110
|
* })
|
|
4013
4111
|
* ```
|
|
4014
|
-
* @version SDK: 1.26.7 |
|
|
4112
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
4015
4113
|
*/
|
|
4016
4114
|
LogLevel["TRACE"] = "TRACE";
|
|
4017
4115
|
})(exports.LogLevel || (exports.LogLevel = {}));
|
|
@@ -14524,7 +14622,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
14524
14622
|
return e;
|
|
14525
14623
|
}
|
|
14526
14624
|
|
|
14527
|
-
var name="@thoughtspot/visual-embed-sdk";var version$1="1.35.
|
|
14625
|
+
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$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
14626
|
|
|
14529
14627
|
/**
|
|
14530
14628
|
* Reloads the ThoughtSpot iframe.
|
|
@@ -14589,7 +14687,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
14589
14687
|
UIPassthroughEvent["PinAnswerToLiveboard"] = "addVizToPinboard";
|
|
14590
14688
|
UIPassthroughEvent["SaveAnswer"] = "saveAnswer";
|
|
14591
14689
|
UIPassthroughEvent["GetDiscoverabilityStatus"] = "getDiscoverabilityStatus";
|
|
14592
|
-
UIPassthroughEvent["GetAvailableUIPassthroughs"] = "
|
|
14690
|
+
UIPassthroughEvent["GetAvailableUIPassthroughs"] = "getAvailableUiPassthroughs";
|
|
14593
14691
|
UIPassthroughEvent["GetAnswerConfig"] = "getAnswerPageConfig";
|
|
14594
14692
|
UIPassthroughEvent["GetLiveboardConfig"] = "getPinboardPageConfig";
|
|
14595
14693
|
})(UIPassthroughEvent || (UIPassthroughEvent = {}));
|
|
@@ -16645,7 +16743,7 @@ query GetEurekaVizSnapshots(
|
|
|
16645
16743
|
* @param messageType The event type
|
|
16646
16744
|
* @param data The payload to send with the message
|
|
16647
16745
|
*/
|
|
16648
|
-
trigger(messageType, data) {
|
|
16746
|
+
trigger(messageType, data = {}) {
|
|
16649
16747
|
const dataWithVizId = data;
|
|
16650
16748
|
if (messageType === exports.HostEvent.SetActiveTab) {
|
|
16651
16749
|
this.setActiveTab(data);
|