@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.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) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
@@ -364,7 +364,7 @@
|
|
|
364
364
|
exports.AuthType = void 0;
|
|
365
365
|
(function (AuthType) {
|
|
366
366
|
/**
|
|
367
|
-
* No authentication on the SDK.
|
|
367
|
+
* No authentication on the SDK. Pass-through to the embedded App. Alias for
|
|
368
368
|
* `Passthrough`.
|
|
369
369
|
* @example
|
|
370
370
|
* ```js
|
|
@@ -625,7 +625,7 @@
|
|
|
625
625
|
* **Note**: This option does not apply to the classic homepage.
|
|
626
626
|
* To access the updated modular homepage, set
|
|
627
627
|
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
628
|
-
* @version SDK: 1.28.0 |
|
|
628
|
+
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl, 10.1.0.sw
|
|
629
629
|
*/
|
|
630
630
|
// eslint-disable-next-line no-shadow
|
|
631
631
|
exports.HomepageModule = void 0;
|
|
@@ -1438,7 +1438,7 @@
|
|
|
1438
1438
|
*/
|
|
1439
1439
|
EmbedEvent["Explore"] = "explore";
|
|
1440
1440
|
/**
|
|
1441
|
-
* Emitted when a user clicks **Copy link** action on a visualization
|
|
1441
|
+
* Emitted when a user clicks **Copy link** action on a visualization.
|
|
1442
1442
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
1443
1443
|
* @example
|
|
1444
1444
|
*```js
|
|
@@ -1488,23 +1488,26 @@
|
|
|
1488
1488
|
*/
|
|
1489
1489
|
EmbedEvent["FilterChanged"] = "filterChanged";
|
|
1490
1490
|
/**
|
|
1491
|
-
* Emitted when a user clicks the **Go** button
|
|
1492
|
-
*
|
|
1491
|
+
* Emitted when a user clicks the **Go** button to initiate
|
|
1492
|
+
* a Natural Language Search query
|
|
1493
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1493
1494
|
*/
|
|
1494
1495
|
EmbedEvent["SageEmbedQuery"] = "sageEmbedQuery";
|
|
1495
1496
|
/**
|
|
1496
|
-
* Emitted when a user selects a data source on the
|
|
1497
|
-
*
|
|
1497
|
+
* Emitted when a user selects a data source on the embedded
|
|
1498
|
+
* Natural Language Search interface.
|
|
1499
|
+
*
|
|
1500
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1498
1501
|
*/
|
|
1499
1502
|
EmbedEvent["SageWorksheetUpdated"] = "sageWorksheetUpdated";
|
|
1500
1503
|
/**
|
|
1501
1504
|
* Emitted when a user updates a connection on the **Data** page
|
|
1502
|
-
* @version SDK : 1.27.0 |
|
|
1505
|
+
* @version SDK : 1.27.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
1503
1506
|
*/
|
|
1504
1507
|
EmbedEvent["UpdateConnection"] = "updateConnection";
|
|
1505
1508
|
/**
|
|
1506
1509
|
* Emitted when a user updates a connection on the **Data** page
|
|
1507
|
-
* @version SDK : 1.27.0 |
|
|
1510
|
+
* @version SDK : 1.27.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
1508
1511
|
*/
|
|
1509
1512
|
EmbedEvent["CreateConnection"] = "createConnection";
|
|
1510
1513
|
/**
|
|
@@ -1514,7 +1517,7 @@
|
|
|
1514
1517
|
* @returns viewId: string
|
|
1515
1518
|
* @returns liveboardId: string
|
|
1516
1519
|
* @returns isPublic: boolean
|
|
1517
|
-
* @version SDK : 1.26.0 |
|
|
1520
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1518
1521
|
*/
|
|
1519
1522
|
EmbedEvent["UpdatePersonalisedView"] = "updatePersonalisedView";
|
|
1520
1523
|
/**
|
|
@@ -1523,7 +1526,7 @@
|
|
|
1523
1526
|
* @returns viewId: string
|
|
1524
1527
|
* @returns liveboardId: string
|
|
1525
1528
|
* @returns isPublic: boolean
|
|
1526
|
-
* @version SDK : 1.26.0 |
|
|
1529
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1527
1530
|
*/
|
|
1528
1531
|
EmbedEvent["SavePersonalisedView"] = "savePersonalisedView";
|
|
1529
1532
|
/**
|
|
@@ -1532,28 +1535,28 @@
|
|
|
1532
1535
|
* @returns viewId: string
|
|
1533
1536
|
* @returns liveboardId: string
|
|
1534
1537
|
* @returns isPublic: boolean
|
|
1535
|
-
* @version SDK : 1.26.0 |
|
|
1538
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1536
1539
|
*/
|
|
1537
1540
|
EmbedEvent["ResetLiveboard"] = "resetLiveboard";
|
|
1538
1541
|
/**
|
|
1539
1542
|
* Emitted when a PersonalisedView is deleted.
|
|
1540
1543
|
* @returns views: string[]
|
|
1541
1544
|
* @returns liveboardId: string
|
|
1542
|
-
* @version SDK : 1.26.0 |
|
|
1545
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1543
1546
|
*/
|
|
1544
1547
|
EmbedEvent["DeletePersonalisedView"] = "deletePersonalisedView";
|
|
1545
1548
|
/**
|
|
1546
1549
|
* Emitted when a user creates a new worksheet
|
|
1547
|
-
* @version SDK : 1.27.0 |
|
|
1550
|
+
* @version SDK : 1.27.0 | ThoughtSpot Cloud: 9.8.0.cl
|
|
1548
1551
|
*/
|
|
1549
1552
|
EmbedEvent["CreateWorksheet"] = "createWorksheet";
|
|
1550
1553
|
/**
|
|
1551
|
-
* Emitted when Ask Sage is initialized.
|
|
1554
|
+
* Emitted when the *Ask Sage* is initialized.
|
|
1552
1555
|
* @returns viewName: string
|
|
1553
1556
|
* @returns viewId: string
|
|
1554
1557
|
* @returns liveboardId: string
|
|
1555
1558
|
* @returns isPublic: boolean
|
|
1556
|
-
* @version SDK : 1.29.0 |
|
|
1559
|
+
* @version SDK : 1.29.0 | ThoughtSpot Cloud: 9.12.0.cl
|
|
1557
1560
|
*/
|
|
1558
1561
|
EmbedEvent["AskSageInit"] = "AskSageInit";
|
|
1559
1562
|
/**
|
|
@@ -1581,7 +1584,7 @@
|
|
|
1581
1584
|
*
|
|
1582
1585
|
* error: Developers can customize the error message text when `execute`
|
|
1583
1586
|
* returns `false` using the error parameter in responder.
|
|
1584
|
-
* @version SDK : 1.29.0 |
|
|
1587
|
+
* @version SDK : 1.29.0 | ThoughtSpot : 10.3.0.cl
|
|
1585
1588
|
* @example
|
|
1586
1589
|
*```js
|
|
1587
1590
|
* .on(EmbedEvent.OnBeforeGetVizDataIntercept,
|
|
@@ -1629,7 +1632,7 @@
|
|
|
1629
1632
|
* console.log('payload', payload);
|
|
1630
1633
|
* })
|
|
1631
1634
|
*```
|
|
1632
|
-
* @version SDK : 1.29.0 |
|
|
1635
|
+
* @version SDK : 1.29.0 | ThoughtSpot : 10.3.0.cl
|
|
1633
1636
|
*/
|
|
1634
1637
|
EmbedEvent["ParameterChanged"] = "parameterChanged";
|
|
1635
1638
|
})(exports.EmbedEvent || (exports.EmbedEvent = {}));
|
|
@@ -1778,7 +1781,7 @@
|
|
|
1778
1781
|
* const url = embed.trigger(HostEvent.GetIframeUrl);
|
|
1779
1782
|
* console.log("iFrameURL",url);
|
|
1780
1783
|
* ```
|
|
1781
|
-
* @version SDK: 1.35.0 |
|
|
1784
|
+
* @version SDK: 1.35.0 | ThoughtSpot: 10.4.0.cl
|
|
1782
1785
|
*/
|
|
1783
1786
|
HostEvent["GetIframeUrl"] = "GetIframeUrl";
|
|
1784
1787
|
/**
|
|
@@ -1811,6 +1814,11 @@
|
|
|
1811
1814
|
* attributes passed with this event are appended to the existing runtime
|
|
1812
1815
|
* filters applied on a Liveboard.
|
|
1813
1816
|
*
|
|
1817
|
+
* **Note**: `HostEvent.UpdateRuntimeFilters` is supported in `LiveboardEmbed`
|
|
1818
|
+
* and `AppEmbed` only. In full application embedding, this event updates
|
|
1819
|
+
* the runtime filters applied on the Liveboard and saved Answer objects.
|
|
1820
|
+
*
|
|
1821
|
+
*
|
|
1814
1822
|
* Pass an array of runtime filters with the following attributes:
|
|
1815
1823
|
*
|
|
1816
1824
|
* `columnName` - _String_. The name of the column to filter on.
|
|
@@ -1821,9 +1829,12 @@
|
|
|
1821
1829
|
* `values` - List of operands. Some operators such as EQ and LE allow a
|
|
1822
1830
|
* single value, whereas BW and IN accept multiple values.
|
|
1823
1831
|
*
|
|
1824
|
-
* **Note**:
|
|
1825
|
-
*
|
|
1826
|
-
*
|
|
1832
|
+
* **Note**: Updating runtime filters resets the ThoughtSpot
|
|
1833
|
+
* object to its original state and applies new filter conditions.
|
|
1834
|
+
* Any user changes (like drilling into a visualization)
|
|
1835
|
+
* will be cleared, restoring the original visualization
|
|
1836
|
+
* with the updated filters.
|
|
1837
|
+
*
|
|
1827
1838
|
* @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
|
|
1828
1839
|
* @example
|
|
1829
1840
|
* ```js
|
|
@@ -1838,7 +1849,7 @@
|
|
|
1838
1849
|
HostEvent["UpdateRuntimeFilters"] = "UpdateRuntimeFilters";
|
|
1839
1850
|
/**
|
|
1840
1851
|
* Navigate to a specific page in the embedded ThoughtSpot application.
|
|
1841
|
-
* This is the same as calling `appEmbed.navigateToPage(path, true)
|
|
1852
|
+
* This is the same as calling `appEmbed.navigateToPage(path, true)`.
|
|
1842
1853
|
* @param - `path` - the path to navigate to to go forward or back. The path value can
|
|
1843
1854
|
* be a number; for example, `1`, `-1`.
|
|
1844
1855
|
* @example
|
|
@@ -2133,7 +2144,9 @@
|
|
|
2133
2144
|
*/
|
|
2134
2145
|
HostEvent["GetTML"] = "getTML";
|
|
2135
2146
|
/**
|
|
2136
|
-
* Trigger the **Show underlying data** action on
|
|
2147
|
+
* Trigger the **Show underlying data** action on a
|
|
2148
|
+
* chart or table.
|
|
2149
|
+
*
|
|
2137
2150
|
* @param - an object with vizId as a key
|
|
2138
2151
|
* @example
|
|
2139
2152
|
* ```js
|
|
@@ -2167,8 +2180,8 @@
|
|
|
2167
2180
|
*/
|
|
2168
2181
|
HostEvent["Delete"] = "onDeleteAnswer";
|
|
2169
2182
|
/**
|
|
2170
|
-
* Trigger the **SpotIQ analyze** action on
|
|
2171
|
-
* or
|
|
2183
|
+
* Trigger the **SpotIQ analyze** action on a
|
|
2184
|
+
* chart or table.
|
|
2172
2185
|
* @param - Liveboard embed takes `vizId` as a
|
|
2173
2186
|
* key. Can be left undefined when embedding Search or
|
|
2174
2187
|
* visualization.
|
|
@@ -2441,7 +2454,7 @@
|
|
|
2441
2454
|
* '430496d6-6903-4601-937e-2c691821af3c',
|
|
2442
2455
|
* 'f547ec54-2a37-4516-a222-2b06719af726'])
|
|
2443
2456
|
* ```
|
|
2444
|
-
* @version SDK: 1.26.0 |
|
|
2457
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
2445
2458
|
*/
|
|
2446
2459
|
HostEvent["SetVisibleTabs"] = "SetPinboardVisibleTabs";
|
|
2447
2460
|
/**
|
|
@@ -2454,7 +2467,7 @@
|
|
|
2454
2467
|
* '630496d6-6903-4601-937e-2c691821af3c',
|
|
2455
2468
|
* 'i547ec54-2a37-4516-a222-2b06719af726'])
|
|
2456
2469
|
* ```
|
|
2457
|
-
* @version SDK: 1.26.0 |
|
|
2470
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
2458
2471
|
*/
|
|
2459
2472
|
HostEvent["SetHiddenTabs"] = "SetPinboardHiddenTabs";
|
|
2460
2473
|
/**
|
|
@@ -2468,7 +2481,7 @@
|
|
|
2468
2481
|
* executeSearch: true,
|
|
2469
2482
|
* })
|
|
2470
2483
|
* ```
|
|
2471
|
-
* @version SDK: 1.26.0 |
|
|
2484
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
2472
2485
|
*/
|
|
2473
2486
|
HostEvent["UpdateSageQuery"] = "updateSageQuery";
|
|
2474
2487
|
/**
|
|
@@ -2485,21 +2498,22 @@
|
|
|
2485
2498
|
* ```js
|
|
2486
2499
|
* const {session} = await embed.trigger( HostEvent.GetAnswerSession )
|
|
2487
2500
|
* ```
|
|
2488
|
-
* @version SDK: 1.26.0 |
|
|
2501
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.10.0.cl, 10.1.0.sw
|
|
2489
2502
|
*/
|
|
2490
2503
|
HostEvent["GetAnswerSession"] = "getAnswerSession";
|
|
2491
2504
|
/**
|
|
2492
|
-
* Trigger Ask Sage for
|
|
2505
|
+
* Trigger the *Ask Sage* action for visualizations
|
|
2493
2506
|
* @example
|
|
2494
2507
|
* ```js
|
|
2495
2508
|
* liveboardEmbed.trigger(HostEvent.AskSage,
|
|
2496
2509
|
* {vizId:'730496d6-6903-4601-937e-2c691821af3c'})
|
|
2497
2510
|
* ```
|
|
2498
|
-
* @version SDK: 1.29.0 |
|
|
2511
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 9.12.0.cl
|
|
2499
2512
|
*/
|
|
2500
2513
|
HostEvent["AskSage"] = "AskSage";
|
|
2501
2514
|
/**
|
|
2502
|
-
* Trigger cross filter update action on a Liveboard
|
|
2515
|
+
* Trigger cross filter update action on a Liveboard.
|
|
2516
|
+
*
|
|
2503
2517
|
* @example
|
|
2504
2518
|
* ```js
|
|
2505
2519
|
* liveboardEmbed.trigger(HostEvent.UpdateCrossFilter, {
|
|
@@ -2510,7 +2524,7 @@
|
|
|
2510
2524
|
* ],
|
|
2511
2525
|
* });
|
|
2512
2526
|
* ```
|
|
2513
|
-
* @version SDK: 1.29.0 |
|
|
2527
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 10.0.0.cl, 10.1.0.sw
|
|
2514
2528
|
*/
|
|
2515
2529
|
HostEvent["UpdateCrossFilter"] = "UpdateCrossFilter";
|
|
2516
2530
|
/**
|
|
@@ -2519,11 +2533,13 @@
|
|
|
2519
2533
|
* ```js
|
|
2520
2534
|
* liveboardEmbed.trigger(HostEvent.ResetLiveboardPersonalisedView);
|
|
2521
2535
|
* ```
|
|
2522
|
-
* @version SDK: 1.29.0 |
|
|
2536
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 10.1.0.cl, 10.1.0.sw
|
|
2523
2537
|
*/
|
|
2524
2538
|
HostEvent["ResetLiveboardPersonalisedView"] = "ResetLiveboardPersonalisedView";
|
|
2525
2539
|
/**
|
|
2526
|
-
* Triggers an
|
|
2540
|
+
* Triggers an action to update Parameter values on embedded
|
|
2541
|
+
* Answers and Liveboard.
|
|
2542
|
+
*
|
|
2527
2543
|
* @example
|
|
2528
2544
|
* ```js
|
|
2529
2545
|
* liveboardEmbed.trigger(HostEvent.UpdateParameters, [{
|
|
@@ -2531,30 +2547,30 @@
|
|
|
2531
2547
|
* value: "almond"
|
|
2532
2548
|
* }])
|
|
2533
2549
|
*
|
|
2534
|
-
* @version SDK: 1.29.0 |
|
|
2550
|
+
* @version SDK: 1.29.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
2535
2551
|
*/
|
|
2536
2552
|
HostEvent["UpdateParameters"] = "UpdateParameters";
|
|
2537
2553
|
/**
|
|
2538
|
-
* Triggers GetParameters to fetch the runtime
|
|
2554
|
+
* Triggers GetParameters to fetch the runtime Parameters.
|
|
2539
2555
|
* ```js
|
|
2540
2556
|
* liveboardEmbed.trigger(HostEvent.GetParameters).then((parameter) => {
|
|
2541
2557
|
* console.log('parameters', parameter);
|
|
2542
2558
|
* });
|
|
2543
2559
|
*```
|
|
2544
|
-
* @version SDK: 1.29.0 |
|
|
2560
|
+
* @version SDK: 1.29.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
2545
2561
|
*/
|
|
2546
2562
|
HostEvent["GetParameters"] = "GetParameters";
|
|
2547
2563
|
/**
|
|
2548
|
-
* Triggers an event to update a
|
|
2564
|
+
* Triggers an event to update a personalized view of a Liveboard.
|
|
2549
2565
|
* ```js
|
|
2550
2566
|
* liveboardEmbed.trigger(HostEvent.UpdatePersonalisedView, {viewId: '1234'})
|
|
2551
2567
|
* ```
|
|
2552
|
-
* @version SDK: 1.36.0 |
|
|
2568
|
+
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
|
|
2553
2569
|
*/
|
|
2554
2570
|
HostEvent["UpdatePersonalisedView"] = "UpdatePersonalisedView";
|
|
2555
2571
|
/**
|
|
2556
|
-
* Triggers the action to get the current view of the
|
|
2557
|
-
* @version SDK: 1.36.0 |
|
|
2572
|
+
* Triggers the action to get the current view of the Liveboard.
|
|
2573
|
+
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
|
|
2558
2574
|
*/
|
|
2559
2575
|
HostEvent["SaveAnswer"] = "saveAnswer";
|
|
2560
2576
|
/**
|
|
@@ -2781,7 +2797,8 @@
|
|
|
2781
2797
|
Action["ResetLayout"] = "resetLayout";
|
|
2782
2798
|
/**
|
|
2783
2799
|
* The **Schedule** menu action on a Liveboard.
|
|
2784
|
-
* Allows scheduling a Liveboard
|
|
2800
|
+
* Allows scheduling a Liveboard job, for example,
|
|
2801
|
+
* sending periodic notifications.
|
|
2785
2802
|
* @example
|
|
2786
2803
|
* ```js
|
|
2787
2804
|
* disabledActions: [Action.Schedule]
|
|
@@ -2823,7 +2840,7 @@
|
|
|
2823
2840
|
* ```js
|
|
2824
2841
|
* disabledActions: [Action.AddDataPanelObjects]
|
|
2825
2842
|
* ```
|
|
2826
|
-
* @version SDK: 1.32.0 |
|
|
2843
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl, 10.1.0.sw
|
|
2827
2844
|
*/
|
|
2828
2845
|
Action["AddDataPanelObjects"] = "addDataPanelObjects";
|
|
2829
2846
|
/**
|
|
@@ -2836,7 +2853,28 @@
|
|
|
2836
2853
|
* ```
|
|
2837
2854
|
*/
|
|
2838
2855
|
Action["ConfigureFilter"] = "configureFilter";
|
|
2856
|
+
/**
|
|
2857
|
+
* The **Collapse data sources** icon on the Search page.
|
|
2858
|
+
* Collapses the panel showing data sources.
|
|
2859
|
+
*
|
|
2860
|
+
* @example
|
|
2861
|
+
* ```js
|
|
2862
|
+
* disabledActions: [Action.CollapseDataPanel]
|
|
2863
|
+
* ```
|
|
2864
|
+
* @version: SDK: 1.1.0 | ThoughtSpot Cloud: ts7.may.cl, 8.4.1.sw
|
|
2865
|
+
*/
|
|
2839
2866
|
Action["CollapseDataSources"] = "collapseDataSources";
|
|
2867
|
+
/**
|
|
2868
|
+
* The **Collapse data panel** icon on the Search page.
|
|
2869
|
+
* Collapses the data panel view.
|
|
2870
|
+
*
|
|
2871
|
+
* @version: SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl, 10.7.0.sw
|
|
2872
|
+
*
|
|
2873
|
+
* @example
|
|
2874
|
+
* ```js
|
|
2875
|
+
* disabledActions: [Action.CollapseDataPanel]
|
|
2876
|
+
* ```
|
|
2877
|
+
*/
|
|
2840
2878
|
Action["CollapseDataPanel"] = "collapseDataPanel";
|
|
2841
2879
|
/**
|
|
2842
2880
|
* The **Choose sources** button on Search page.
|
|
@@ -2872,7 +2910,7 @@
|
|
|
2872
2910
|
* ```js
|
|
2873
2911
|
* disabledActions: [Action.AddColumnSet]
|
|
2874
2912
|
* ```
|
|
2875
|
-
* @version SDK: 1.32.0 |
|
|
2913
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl, 10.1.0.sw
|
|
2876
2914
|
*/
|
|
2877
2915
|
Action["AddColumnSet"] = "addSimpleCohort";
|
|
2878
2916
|
/**
|
|
@@ -2882,7 +2920,7 @@
|
|
|
2882
2920
|
* ```js
|
|
2883
2921
|
* disabledActions: [Action.AddQuerySet]
|
|
2884
2922
|
* ```
|
|
2885
|
-
* @version SDK: 1.32.0 |
|
|
2923
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl, 10.1.0.sw
|
|
2886
2924
|
*/
|
|
2887
2925
|
Action["AddQuerySet"] = "addAdvancedCohort";
|
|
2888
2926
|
/**
|
|
@@ -2914,6 +2952,8 @@
|
|
|
2914
2952
|
/**
|
|
2915
2953
|
* The **Show underlying data** menu action on a visualization or
|
|
2916
2954
|
* Answer page.
|
|
2955
|
+
* Displays detailed information and raw data
|
|
2956
|
+
* for a given visualization.
|
|
2917
2957
|
* @example
|
|
2918
2958
|
* ```js
|
|
2919
2959
|
* disabledActions: [Action.ShowUnderlyingData]
|
|
@@ -3115,6 +3155,7 @@
|
|
|
3115
3155
|
Action["AnalysisInfo"] = "analysisInfo";
|
|
3116
3156
|
/**
|
|
3117
3157
|
* The **Schedule** menu action on a Liveboard.
|
|
3158
|
+
* Allows scheduling a Liveboard job.
|
|
3118
3159
|
* @example
|
|
3119
3160
|
* ```js
|
|
3120
3161
|
* disabledActions: [Action.Subscription]
|
|
@@ -3184,8 +3225,13 @@
|
|
|
3184
3225
|
*/
|
|
3185
3226
|
Action["RequestAccess"] = "requestAccess";
|
|
3186
3227
|
/**
|
|
3187
|
-
* The **Query visualizer** and **Query SQL** buttons in
|
|
3188
|
-
* of the Answer page
|
|
3228
|
+
* The **Query visualizer** and **Query SQL** buttons in
|
|
3229
|
+
* Query details panel of the Answer page.
|
|
3230
|
+
*
|
|
3231
|
+
* **Query visualizer** - Displays the tables
|
|
3232
|
+
* and filters used in a search query.
|
|
3233
|
+
* **Query SQL** - Displays the SQL statements used
|
|
3234
|
+
* in a search query to fetch data.
|
|
3189
3235
|
* @example
|
|
3190
3236
|
* ```js
|
|
3191
3237
|
* disabledActions: [Action.QueryDetailsButtons]
|
|
@@ -3203,7 +3249,10 @@
|
|
|
3203
3249
|
*/
|
|
3204
3250
|
Action["AnswerDelete"] = "onDeleteAnswer";
|
|
3205
3251
|
/**
|
|
3206
|
-
* The
|
|
3252
|
+
* The chart switcher icon on Answer page and
|
|
3253
|
+
* visualizations in edit mode.
|
|
3254
|
+
* Allows switching to the table or chart mode
|
|
3255
|
+
* when editing a visualization.
|
|
3207
3256
|
* @example
|
|
3208
3257
|
* ```js
|
|
3209
3258
|
* disabledActions: [Action.AnswerChartSwitcher]
|
|
@@ -3212,7 +3261,10 @@
|
|
|
3212
3261
|
*/
|
|
3213
3262
|
Action["AnswerChartSwitcher"] = "answerChartSwitcher";
|
|
3214
3263
|
/**
|
|
3215
|
-
* Favorites icon (*)
|
|
3264
|
+
* The Favorites icon (*) for Answers,
|
|
3265
|
+
* Liveboard, and data objects like Worksheet, Model,
|
|
3266
|
+
* Tables and Views.
|
|
3267
|
+
* Allows adding an object to the user’s favorites list.
|
|
3216
3268
|
* @example
|
|
3217
3269
|
* ```js
|
|
3218
3270
|
* disabledActions: [Action.AddToFavorites]
|
|
@@ -3230,7 +3282,9 @@
|
|
|
3230
3282
|
*/
|
|
3231
3283
|
Action["EditDetails"] = "editDetails";
|
|
3232
3284
|
/**
|
|
3233
|
-
* The Create alert action
|
|
3285
|
+
* The *Create alert* action for KPI charts.
|
|
3286
|
+
* Allows users to schedule threshold-based alerts
|
|
3287
|
+
* for KPI charts.
|
|
3234
3288
|
* @example
|
|
3235
3289
|
* ```js
|
|
3236
3290
|
* disabledActions: [Action.CreateMonitor]
|
|
@@ -3286,7 +3340,7 @@
|
|
|
3286
3340
|
* ```js
|
|
3287
3341
|
* disabledActions: [Action.CrossFilter]
|
|
3288
3342
|
* ```
|
|
3289
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3343
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.8.0.sw
|
|
3290
3344
|
*/
|
|
3291
3345
|
Action["CrossFilter"] = "context-menu-item-cross-filter";
|
|
3292
3346
|
/**
|
|
@@ -3296,7 +3350,7 @@
|
|
|
3296
3350
|
* ```js
|
|
3297
3351
|
* disabledActions: [Action.SyncToSlack]
|
|
3298
3352
|
* ```
|
|
3299
|
-
* @version @version SDK : 1.32.0 |
|
|
3353
|
+
* @version @version SDK : 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
|
|
3300
3354
|
*/
|
|
3301
3355
|
Action["SyncToSlack"] = "syncToSlack";
|
|
3302
3356
|
/**
|
|
@@ -3306,7 +3360,7 @@
|
|
|
3306
3360
|
* ```js
|
|
3307
3361
|
* disabledActions: [Action.SyncToTeams]
|
|
3308
3362
|
* ```
|
|
3309
|
-
* @version @version SDK : 1.32.0 |
|
|
3363
|
+
* @version @version SDK : 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
|
|
3310
3364
|
*/
|
|
3311
3365
|
Action["SyncToTeams"] = "syncToTeams";
|
|
3312
3366
|
/**
|
|
@@ -3317,7 +3371,7 @@
|
|
|
3317
3371
|
* ```js
|
|
3318
3372
|
* disabledActions: [Action.RemoveCrossFilter]
|
|
3319
3373
|
* ```
|
|
3320
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3374
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3321
3375
|
*/
|
|
3322
3376
|
Action["RemoveCrossFilter"] = "context-menu-item-remove-cross-filter";
|
|
3323
3377
|
/**
|
|
@@ -3328,7 +3382,7 @@
|
|
|
3328
3382
|
* ```js
|
|
3329
3383
|
* disabledActions: [Action.AxisMenuAggregate]
|
|
3330
3384
|
* ```
|
|
3331
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3385
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3332
3386
|
*/
|
|
3333
3387
|
Action["AxisMenuAggregate"] = "axisMenuAggregate";
|
|
3334
3388
|
/**
|
|
@@ -3339,17 +3393,19 @@
|
|
|
3339
3393
|
* ```js
|
|
3340
3394
|
* disabledActions: [Action.AxisMenuTimeBucket]
|
|
3341
3395
|
* ```
|
|
3342
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3396
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3343
3397
|
*/
|
|
3344
3398
|
Action["AxisMenuTimeBucket"] = "axisMenuTimeBucket";
|
|
3345
3399
|
/**
|
|
3346
3400
|
* The **Filter** action in the chart axis or table column
|
|
3347
3401
|
* customization menu.
|
|
3402
|
+
* Allows adding, editing, or removing filters.
|
|
3403
|
+
*
|
|
3348
3404
|
* @example
|
|
3349
3405
|
* ```js
|
|
3350
3406
|
* disabledActions: [Action.AxisMenuFilter]
|
|
3351
3407
|
* ```
|
|
3352
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3408
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3353
3409
|
*/
|
|
3354
3410
|
Action["AxisMenuFilter"] = "axisMenuFilter";
|
|
3355
3411
|
/**
|
|
@@ -3360,7 +3416,7 @@
|
|
|
3360
3416
|
* ```js
|
|
3361
3417
|
* disabledActions: [Action.AxisMenuConditionalFormat]
|
|
3362
3418
|
* ```
|
|
3363
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3419
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3364
3420
|
*/
|
|
3365
3421
|
Action["AxisMenuConditionalFormat"] = "axisMenuConditionalFormat";
|
|
3366
3422
|
/**
|
|
@@ -3371,7 +3427,7 @@
|
|
|
3371
3427
|
* ```js
|
|
3372
3428
|
* disabledActions: [Action.AxisMenuConditionalFormat]
|
|
3373
3429
|
* ```
|
|
3374
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3430
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3375
3431
|
*/
|
|
3376
3432
|
Action["AxisMenuSort"] = "axisMenuSort";
|
|
3377
3433
|
/**
|
|
@@ -3383,7 +3439,7 @@
|
|
|
3383
3439
|
* ```js
|
|
3384
3440
|
* disabledActions: [Action.AxisMenuGroup]
|
|
3385
3441
|
* ```
|
|
3386
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3442
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3387
3443
|
*/
|
|
3388
3444
|
Action["AxisMenuGroup"] = "axisMenuGroup";
|
|
3389
3445
|
/**
|
|
@@ -3394,7 +3450,7 @@
|
|
|
3394
3450
|
* ```js
|
|
3395
3451
|
* disabledActions: [Action.AxisMenuPosition]
|
|
3396
3452
|
* ```
|
|
3397
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3453
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3398
3454
|
*/
|
|
3399
3455
|
Action["AxisMenuPosition"] = "axisMenuPosition";
|
|
3400
3456
|
/**
|
|
@@ -3404,7 +3460,7 @@
|
|
|
3404
3460
|
* ```js
|
|
3405
3461
|
* disabledActions: [Action.AxisMenuRename]
|
|
3406
3462
|
* ```
|
|
3407
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3463
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3408
3464
|
*/
|
|
3409
3465
|
Action["AxisMenuRename"] = "axisMenuRename";
|
|
3410
3466
|
/**
|
|
@@ -3415,7 +3471,7 @@
|
|
|
3415
3471
|
* ```js
|
|
3416
3472
|
* disabledActions: [Action.AxisMenuEdit]
|
|
3417
3473
|
* ```
|
|
3418
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3474
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3419
3475
|
*/
|
|
3420
3476
|
Action["AxisMenuEdit"] = "axisMenuEdit";
|
|
3421
3477
|
/**
|
|
@@ -3425,7 +3481,7 @@
|
|
|
3425
3481
|
* ```js
|
|
3426
3482
|
* disabledActions: [Action.AxisMenuNumberFormat]
|
|
3427
3483
|
* ```
|
|
3428
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3484
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3429
3485
|
*/
|
|
3430
3486
|
Action["AxisMenuNumberFormat"] = "axisMenuNumberFormat";
|
|
3431
3487
|
/**
|
|
@@ -3435,7 +3491,7 @@
|
|
|
3435
3491
|
* ```js
|
|
3436
3492
|
* disabledActions: [Action.AxisMenuTextWrapping]
|
|
3437
3493
|
* ```
|
|
3438
|
-
* @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
|
|
3439
3495
|
*/
|
|
3440
3496
|
Action["AxisMenuTextWrapping"] = "axisMenuTextWrapping";
|
|
3441
3497
|
/**
|
|
@@ -3447,7 +3503,7 @@
|
|
|
3447
3503
|
* ```js
|
|
3448
3504
|
* disabledActions: [Action.AxisMenuRemove]
|
|
3449
3505
|
* ```
|
|
3450
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3506
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3451
3507
|
*/
|
|
3452
3508
|
Action["AxisMenuRemove"] = "axisMenuRemove";
|
|
3453
3509
|
/**
|
|
@@ -3461,26 +3517,27 @@
|
|
|
3461
3517
|
* ```js
|
|
3462
3518
|
* disabledActions: [Action.RenameModalTitleDescription]
|
|
3463
3519
|
* ```
|
|
3464
|
-
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
|
|
3520
|
+
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl, 9.8.0.sw
|
|
3465
3521
|
*/
|
|
3466
3522
|
Action["RenameModalTitleDescription"] = "renameModalTitleDescription";
|
|
3467
3523
|
/**
|
|
3468
|
-
*
|
|
3524
|
+
* The *Request verification* action on a Liveboard.
|
|
3525
|
+
* Initiates a request for Liveboard verification.
|
|
3469
3526
|
* @example
|
|
3470
3527
|
* ```js
|
|
3471
3528
|
* disabledActions: [Action.RequestVerification]
|
|
3472
3529
|
* ```
|
|
3473
|
-
* @version SDK: 1.25.0 |
|
|
3530
|
+
* @version SDK: 1.25.0 | ThoughtSpot: 9.6.0.cl, 10.1.0.sw
|
|
3474
3531
|
*/
|
|
3475
3532
|
Action["RequestVerification"] = "requestVerification";
|
|
3476
3533
|
/**
|
|
3477
3534
|
*
|
|
3478
|
-
*Allows users to mark a Liveboard as verified.
|
|
3535
|
+
* Allows users to mark a Liveboard as verified.
|
|
3479
3536
|
* @example
|
|
3480
3537
|
* ```js
|
|
3481
3538
|
* disabledActions: [Action.MarkAsVerified]
|
|
3482
3539
|
* ```
|
|
3483
|
-
* @version SDK: 1.25.0 |
|
|
3540
|
+
* @version SDK: 1.25.0 | ThoughtSpot: 9.6.0.cl, 10.1.0.sw
|
|
3484
3541
|
*/
|
|
3485
3542
|
Action["MarkAsVerified"] = "markAsVerified";
|
|
3486
3543
|
/**
|
|
@@ -3490,7 +3547,7 @@
|
|
|
3490
3547
|
* ```js
|
|
3491
3548
|
* disabledActions: [Action.AddTab]
|
|
3492
3549
|
* ```
|
|
3493
|
-
* @version SDK: 1.26.0 |
|
|
3550
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
3494
3551
|
*/
|
|
3495
3552
|
Action["AddTab"] = "addTab";
|
|
3496
3553
|
/**
|
|
@@ -3500,35 +3557,42 @@
|
|
|
3500
3557
|
* ```js
|
|
3501
3558
|
* disabledActions: [Action.EnableContextualChangeAnalysis]
|
|
3502
3559
|
* ```
|
|
3503
|
-
* @version SDK: 1.25.0 |
|
|
3560
|
+
* @version SDK: 1.25.0 | ThoughtSpot Cloud: 9.6.0.cl
|
|
3504
3561
|
*/
|
|
3505
3562
|
Action["EnableContextualChangeAnalysis"] = "enableContextualChangeAnalysis";
|
|
3506
3563
|
/**
|
|
3564
|
+
* Action ID to hide or disable Natural Language Search query.
|
|
3507
3565
|
*
|
|
3508
3566
|
* @example
|
|
3509
3567
|
* ```js
|
|
3510
3568
|
* disabledActions: [Action.ShowSageQuery]
|
|
3511
3569
|
* ```
|
|
3512
|
-
* @version SDK: 1.26.0 |
|
|
3570
|
+
* @version SDK: 1.26.0 | ThoughtSpot Cloud: 9.7.0.cl
|
|
3513
3571
|
*/
|
|
3514
3572
|
Action["ShowSageQuery"] = "showSageQuery";
|
|
3515
3573
|
/**
|
|
3574
|
+
*
|
|
3575
|
+
* Action ID to hide or disable the edit option for the
|
|
3576
|
+
* results generated from the
|
|
3577
|
+
* Natural Language Search query.
|
|
3516
3578
|
*
|
|
3517
3579
|
* @example
|
|
3518
3580
|
* ```js
|
|
3519
3581
|
* disabledActions: [Action.EditSageAnswer]
|
|
3520
3582
|
* ```
|
|
3521
|
-
* @version SDK: 1.26.0 |
|
|
3583
|
+
* @version SDK: 1.26.0 | ThoughtSpot Cloud: 9.7.0.cl
|
|
3522
3584
|
*/
|
|
3523
3585
|
Action["EditSageAnswer"] = "editSageAnswer";
|
|
3524
3586
|
/**
|
|
3587
|
+
* The feedback widget for AI-generated Answers.
|
|
3588
|
+
* Allows users to send feedback on the Answers generated
|
|
3589
|
+
* from a Natural Language Search query.
|
|
3525
3590
|
*
|
|
3526
|
-
*This action allows users to send feedback on AI-generated Answers.
|
|
3527
3591
|
* @example
|
|
3528
3592
|
* ```js
|
|
3529
3593
|
* disabledActions: [Action.SageAnswerFeedback]
|
|
3530
3594
|
* ```
|
|
3531
|
-
* @version SDK: 1.26.0 |
|
|
3595
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl
|
|
3532
3596
|
*/
|
|
3533
3597
|
Action["SageAnswerFeedback"] = "sageAnswerFeedback";
|
|
3534
3598
|
/**
|
|
@@ -3537,7 +3601,7 @@
|
|
|
3537
3601
|
* ```js
|
|
3538
3602
|
* disabledActions: [Action.ModifySageAnswer]
|
|
3539
3603
|
* ```
|
|
3540
|
-
* @version SDK: 1.26.0 |
|
|
3604
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl
|
|
3541
3605
|
*/
|
|
3542
3606
|
Action["ModifySageAnswer"] = "modifySageAnswer";
|
|
3543
3607
|
/**
|
|
@@ -3550,7 +3614,10 @@
|
|
|
3550
3614
|
*/
|
|
3551
3615
|
Action["MoveToTab"] = "onContainerMove";
|
|
3552
3616
|
/**
|
|
3553
|
-
* The **Manage
|
|
3617
|
+
* The **Manage Alerts** menu action on KPI visualizations.
|
|
3618
|
+
* Allows creating, viewing, and editing monitor
|
|
3619
|
+
* alerts for a KPI chart.
|
|
3620
|
+
*
|
|
3554
3621
|
* @example
|
|
3555
3622
|
* ```js
|
|
3556
3623
|
* disabledActions: [Action.ManageMonitor]
|
|
@@ -3558,21 +3625,23 @@
|
|
|
3558
3625
|
*/
|
|
3559
3626
|
Action["ManageMonitor"] = "manageMonitor";
|
|
3560
3627
|
/**
|
|
3561
|
-
*
|
|
3628
|
+
* The Liveboard Personalised Views dropdown.
|
|
3629
|
+
* Allows navigating to a personalized Liveboard View.
|
|
3562
3630
|
* @example
|
|
3563
3631
|
* ```js
|
|
3564
3632
|
* disabledActions: [Action.PersonalisedViewsDropdown]
|
|
3565
3633
|
* ```
|
|
3566
|
-
* @version SDK : 1.26.0 |
|
|
3634
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 10.1.0.sw
|
|
3567
3635
|
*/
|
|
3568
3636
|
Action["PersonalisedViewsDropdown"] = "personalisedViewsDropdown";
|
|
3569
3637
|
/**
|
|
3570
|
-
* Action ID for
|
|
3638
|
+
* Action ID for show or hide the user details on a
|
|
3639
|
+
* Liveboard (Recently visited / social proof)
|
|
3571
3640
|
* @example
|
|
3572
3641
|
* ```js
|
|
3573
3642
|
* disabledActions: [Action.LiveboardUsers]
|
|
3574
3643
|
* ```
|
|
3575
|
-
* @version SDK : 1.26.0 |
|
|
3644
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 10.1.0.sw
|
|
3576
3645
|
*/
|
|
3577
3646
|
Action["LiveboardUsers"] = "liveboardUsers";
|
|
3578
3647
|
/**
|
|
@@ -3590,108 +3659,124 @@
|
|
|
3590
3659
|
* hiddenAction: [Action.TML] // hide all TML actions
|
|
3591
3660
|
* disabledActions: [Action.TML] // to disable all TML actions
|
|
3592
3661
|
* ```
|
|
3593
|
-
* @version SDK : 1.28.3 |
|
|
3662
|
+
* @version SDK : 1.28.3 | ThoughtSpot: 9.12.0.cl, 10.1.0.sw
|
|
3594
3663
|
*/
|
|
3595
3664
|
Action["TML"] = "tml";
|
|
3596
3665
|
/**
|
|
3597
|
-
*
|
|
3598
|
-
* and Pin modal
|
|
3666
|
+
* The **Create Liveboard* action on
|
|
3667
|
+
* the Liveboards page and the Pin modal.
|
|
3668
|
+
* Allows users to create a Liveboard.
|
|
3669
|
+
*
|
|
3599
3670
|
* @example
|
|
3600
3671
|
* ```js
|
|
3601
3672
|
* hiddenAction: [Action.CreateLiveboard]
|
|
3602
3673
|
* disabledActions: [Action.CreateLiveboard]
|
|
3603
3674
|
* ```
|
|
3604
|
-
* @version SDK: 1.32.0 |
|
|
3675
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
3605
3676
|
*/
|
|
3606
3677
|
Action["CreateLiveboard"] = "createLiveboard";
|
|
3607
3678
|
/**
|
|
3608
|
-
* Action ID for to hide
|
|
3679
|
+
* Action ID for to hide or disable the
|
|
3680
|
+
* Verified Liveboard banner.
|
|
3609
3681
|
* @example
|
|
3610
3682
|
* ```js
|
|
3611
3683
|
* hiddenAction: [Action.VerifiedLiveboard]
|
|
3612
3684
|
* ```
|
|
3613
|
-
* @version SDK: 1.29.0 |
|
|
3685
|
+
* @version SDK: 1.29.0 | ThoughtSpot: 9.10.0.cl, 10.1.0.sw
|
|
3614
3686
|
*/
|
|
3615
3687
|
Action["VerifiedLiveboard"] = "verifiedLiveboard";
|
|
3616
3688
|
/**
|
|
3617
|
-
*
|
|
3689
|
+
* The *Ask Sage* action for Answers and visualizations.
|
|
3690
|
+
* Allows initiating a Natural Language Search query.
|
|
3691
|
+
*
|
|
3618
3692
|
* @example
|
|
3619
3693
|
* ```js
|
|
3620
3694
|
* hiddenAction: [Action.AskAi]
|
|
3621
3695
|
* ```
|
|
3622
|
-
* @version SDK: 1.29.0 |
|
|
3696
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 9.12.0.cl
|
|
3623
3697
|
*/
|
|
3624
3698
|
Action["AskAi"] = "AskAi";
|
|
3625
3699
|
/**
|
|
3626
3700
|
* The **Add KPI to Watchlist** action on Home page watchlist.
|
|
3701
|
+
* Adds a KPI chart to the watchlist on the Home page.
|
|
3627
3702
|
* @example
|
|
3628
3703
|
* ```js
|
|
3629
3704
|
* disabledActions: [Action.AddToWatchlist]
|
|
3630
3705
|
* ```
|
|
3631
|
-
* @version SDK : 1.27.9 |
|
|
3706
|
+
* @version SDK : 1.27.9 | ThoughtSpot Cloud: 9.12.5.cl
|
|
3632
3707
|
*/
|
|
3633
3708
|
Action["AddToWatchlist"] = "addToWatchlist";
|
|
3634
3709
|
/**
|
|
3635
3710
|
* The **Remove from watchlist** menu action on KPI watchlist.
|
|
3711
|
+
* Removes a KPI chart from the watchlist on the Home page.
|
|
3636
3712
|
* @example
|
|
3637
3713
|
* ```js
|
|
3638
3714
|
* disabledActions: [Action.RemoveFromWatchlist]
|
|
3639
3715
|
* ```
|
|
3640
|
-
* @version SDK : 1.27.9 |
|
|
3716
|
+
* @version SDK : 1.27.9 | ThoughtSpot: 9.12.5.cl
|
|
3641
3717
|
*/
|
|
3642
3718
|
Action["RemoveFromWatchlist"] = "removeFromWatchlist";
|
|
3643
3719
|
/**
|
|
3644
|
-
* The **
|
|
3720
|
+
* The **Organize Favourites** action on Homepage
|
|
3721
|
+
* *Favorites* module.
|
|
3722
|
+
*
|
|
3645
3723
|
* @example
|
|
3646
3724
|
* ```js
|
|
3647
3725
|
* disabledActions: [Action.OrganiseFavourites]
|
|
3648
3726
|
* ```
|
|
3649
|
-
* @version SDK : 1.32.0 |
|
|
3727
|
+
* @version SDK : 1.32.0 | ThoughtSpot: 10.0.0.cl
|
|
3650
3728
|
*/
|
|
3651
3729
|
Action["OrganiseFavourites"] = "organiseFavourites";
|
|
3652
3730
|
/**
|
|
3653
|
-
*
|
|
3731
|
+
* The **AI Highlights** action on a Liveboard.
|
|
3732
|
+
*
|
|
3654
3733
|
* @example
|
|
3655
3734
|
* ```js
|
|
3656
3735
|
* hiddenAction: [Action.AIHighlights]
|
|
3657
3736
|
* ```
|
|
3658
|
-
* @version SDK: 1.27.10 |
|
|
3737
|
+
* @version SDK: 1.27.10 | ThoughtSpot Cloud: 9.12.5.cl
|
|
3659
3738
|
*/
|
|
3660
3739
|
Action["AIHighlights"] = "AIHighlights";
|
|
3661
3740
|
/**
|
|
3662
|
-
*
|
|
3741
|
+
* The *Edit* action on the *Liveboard Schedules* page
|
|
3742
|
+
* (new Homepage experience).
|
|
3743
|
+
* Allows editing Liveboard schedules.
|
|
3744
|
+
*
|
|
3663
3745
|
* @example
|
|
3664
3746
|
* ```js
|
|
3665
3747
|
* disabledActions: [Action.EditScheduleHomepage]
|
|
3666
3748
|
* ```
|
|
3667
|
-
* @version SDK: 1.34.0 |
|
|
3749
|
+
* @version SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3668
3750
|
*/
|
|
3669
3751
|
Action["EditScheduleHomepage"] = "editScheduleHomepage";
|
|
3670
3752
|
/**
|
|
3671
|
-
*
|
|
3753
|
+
* The *Pause* action on the *Liveboard Schedules* page
|
|
3754
|
+
* Pauses a scheduled Liveboard job.
|
|
3672
3755
|
* @example
|
|
3673
3756
|
* ```js
|
|
3674
3757
|
* disabledActions: [Action.PauseScheduleHomepage]
|
|
3675
3758
|
* ```
|
|
3676
|
-
* @version SDK: 1.34.0 |
|
|
3759
|
+
* @version SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3677
3760
|
*/
|
|
3678
3761
|
Action["PauseScheduleHomepage"] = "pauseScheduleHomepage";
|
|
3679
3762
|
/**
|
|
3680
|
-
*
|
|
3763
|
+
* The **View run history** action **Liveboard Schedules** page.
|
|
3764
|
+
* Allows viewing schedule run history.
|
|
3681
3765
|
* @example
|
|
3682
3766
|
* ```js
|
|
3683
3767
|
* disabledActions: [Action.ViewScheduleRunHomepage]
|
|
3684
3768
|
* ```
|
|
3685
|
-
* @version SDK: 1.34.0 |
|
|
3769
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
|
|
3686
3770
|
*/
|
|
3687
3771
|
Action["ViewScheduleRunHomepage"] = "viewScheduleRunHomepage";
|
|
3688
3772
|
/**
|
|
3689
|
-
* Action ID
|
|
3773
|
+
* Action ID to hide or disable the
|
|
3774
|
+
* unsubscribe option for Liveboard schedules.
|
|
3690
3775
|
* @example
|
|
3691
3776
|
* ```js
|
|
3692
3777
|
* disabledActions: [Action.UnsubscribeScheduleHomepage]
|
|
3693
3778
|
* ```
|
|
3694
|
-
* @version SDK: 1.34.0 |
|
|
3779
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
|
|
3695
3780
|
*/
|
|
3696
3781
|
Action["UnsubscribeScheduleHomepage"] = "unsubscribeScheduleHomepage";
|
|
3697
3782
|
/**
|
|
@@ -3700,16 +3785,17 @@
|
|
|
3700
3785
|
* ```js
|
|
3701
3786
|
* disabledActions: [Action.ManageTags]
|
|
3702
3787
|
* ```
|
|
3703
|
-
* @version SDK : 1.34.0 |
|
|
3788
|
+
* @version SDK : 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3704
3789
|
*/
|
|
3705
3790
|
Action["ManageTags"] = "manageTags";
|
|
3706
3791
|
/**
|
|
3707
|
-
*
|
|
3792
|
+
* The **Delete** action on the **Liveboard Schedules* page.
|
|
3793
|
+
* Deletes a Liveboard schedule.
|
|
3708
3794
|
* @example
|
|
3709
3795
|
* ```js
|
|
3710
3796
|
* disabledActions: [Action.DeleteScheduleHomepage]
|
|
3711
3797
|
* ```
|
|
3712
|
-
* @version SDK: 1.34.0 |
|
|
3798
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
|
|
3713
3799
|
*/
|
|
3714
3800
|
Action["DeleteScheduleHomepage"] = "deleteScheduleHomepage";
|
|
3715
3801
|
/**
|
|
@@ -3718,7 +3804,7 @@
|
|
|
3718
3804
|
* ```js
|
|
3719
3805
|
* disabledActions: [Action.KPIAnalysisCTA]
|
|
3720
3806
|
* ```
|
|
3721
|
-
* @version SDK: 1.34.0 |
|
|
3807
|
+
* @version SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3722
3808
|
*/
|
|
3723
3809
|
Action["KPIAnalysisCTA"] = "kpiAnalysisCTA";
|
|
3724
3810
|
/**
|
|
@@ -3727,61 +3813,73 @@
|
|
|
3727
3813
|
* ```js
|
|
3728
3814
|
* const disabledActions = [Action.DisableChipReorder]
|
|
3729
3815
|
* ```
|
|
3730
|
-
* @version SDK: 1.36.0 |
|
|
3816
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3731
3817
|
*/
|
|
3732
3818
|
Action["DisableChipReorder"] = "disableChipReorder";
|
|
3733
3819
|
/**
|
|
3734
|
-
* Action ID
|
|
3820
|
+
* Action ID to show, hide, or disable filters
|
|
3821
|
+
* in a Liveboard tab.
|
|
3822
|
+
*
|
|
3735
3823
|
* @example
|
|
3736
3824
|
* ```js
|
|
3737
3825
|
* hiddenAction: [Action.ChangeFilterVisibilityInTab]
|
|
3738
3826
|
* ```
|
|
3739
|
-
* @version SDK: 1.36.0 |
|
|
3827
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3740
3828
|
*/
|
|
3741
3829
|
Action["ChangeFilterVisibilityInTab"] = "changeFilterVisibilityInTab";
|
|
3742
3830
|
/**
|
|
3743
|
-
*
|
|
3831
|
+
* The **Preview data** button on the Spotter interface.
|
|
3832
|
+
* Allows previewing the data used for Spotter queries.
|
|
3833
|
+
*
|
|
3744
3834
|
* @example
|
|
3745
3835
|
* ```js
|
|
3746
3836
|
* hiddenAction: [Action.PreviewDataSpotter]
|
|
3747
3837
|
* ```
|
|
3748
|
-
* @version SDK: 1.36.0 |
|
|
3838
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3749
3839
|
*/
|
|
3750
3840
|
Action["PreviewDataSpotter"] = "previewDataSpotter";
|
|
3751
3841
|
/**
|
|
3752
|
-
*
|
|
3842
|
+
* The **Reset** link on the Spotter interface.
|
|
3843
|
+
* Resets the conversation with Spotter.
|
|
3844
|
+
*
|
|
3753
3845
|
* @example
|
|
3754
3846
|
* ```js
|
|
3755
3847
|
* hiddenAction: [Action.ResetSpotterChat]
|
|
3756
3848
|
* ```
|
|
3757
|
-
* @version SDK: 1.36.0 |
|
|
3849
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3758
3850
|
*/
|
|
3759
3851
|
Action["ResetSpotterChat"] = "resetSpotterChat";
|
|
3760
3852
|
/**
|
|
3761
|
-
* Action ID for hide
|
|
3853
|
+
* Action ID for hide or disable the
|
|
3854
|
+
* Spotter feedback widget.
|
|
3855
|
+
*
|
|
3762
3856
|
* @example
|
|
3763
3857
|
* ```js
|
|
3764
3858
|
* hiddenAction: [Action.SpotterFeedback]
|
|
3765
3859
|
* ```
|
|
3766
|
-
* @version SDK: 1.36.0 |
|
|
3860
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3767
3861
|
*/
|
|
3768
3862
|
Action["SpotterFeedback"] = "spotterFeedback";
|
|
3769
3863
|
/**
|
|
3770
|
-
* Action ID for hide
|
|
3864
|
+
* Action ID for hide or disable
|
|
3865
|
+
* the previous prompt edit option in Spotter.
|
|
3866
|
+
*
|
|
3771
3867
|
* @example
|
|
3772
3868
|
* ```js
|
|
3773
3869
|
* hiddenAction: [Action.EditPreviousPrompt]
|
|
3774
3870
|
* ```
|
|
3775
|
-
* @version SDK: 1.36.0 |
|
|
3871
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3776
3872
|
*/
|
|
3777
3873
|
Action["EditPreviousPrompt"] = "editPreviousPrompt";
|
|
3778
3874
|
/**
|
|
3779
|
-
* Action ID for hide
|
|
3875
|
+
* Action ID for hide or disable
|
|
3876
|
+
* the previous prompt deletion option in Spotter.
|
|
3877
|
+
*
|
|
3780
3878
|
* @example
|
|
3781
3879
|
* ```js
|
|
3782
3880
|
* hiddenAction: [Action.DeletePreviousPrompt]
|
|
3783
3881
|
* ```
|
|
3784
|
-
* @version SDK: 1.36.0 |
|
|
3882
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3785
3883
|
*/
|
|
3786
3884
|
Action["DeletePreviousPrompt"] = "deletePreviousPrompt";
|
|
3787
3885
|
/**
|
|
@@ -3790,7 +3888,7 @@
|
|
|
3790
3888
|
* ```js
|
|
3791
3889
|
* hiddenAction: [Action.EditTokens]
|
|
3792
3890
|
* ```
|
|
3793
|
-
* @version SDK: 1.36.0 |
|
|
3891
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3794
3892
|
*/
|
|
3795
3893
|
Action["EditTokens"] = "editTokens";
|
|
3796
3894
|
})(exports.Action || (exports.Action = {}));
|
|
@@ -3820,7 +3918,7 @@
|
|
|
3820
3918
|
* logLevel: LogLevel.SILENT,
|
|
3821
3919
|
* })
|
|
3822
3920
|
* ```
|
|
3823
|
-
* @version SDK: 1.26.7 |
|
|
3921
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3824
3922
|
*/
|
|
3825
3923
|
LogLevel["SILENT"] = "SILENT";
|
|
3826
3924
|
/**
|
|
@@ -3832,7 +3930,7 @@
|
|
|
3832
3930
|
* logLevel: LogLevel.ERROR,
|
|
3833
3931
|
* })
|
|
3834
3932
|
* ```
|
|
3835
|
-
* @version SDK: 1.26.7 |
|
|
3933
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3836
3934
|
*/
|
|
3837
3935
|
LogLevel["ERROR"] = "ERROR";
|
|
3838
3936
|
/**
|
|
@@ -3844,7 +3942,7 @@
|
|
|
3844
3942
|
* logLevel: LogLevel.WARN,
|
|
3845
3943
|
* })
|
|
3846
3944
|
* ```
|
|
3847
|
-
* @version SDK: 1.26.7 |
|
|
3945
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3848
3946
|
*/
|
|
3849
3947
|
LogLevel["WARN"] = "WARN";
|
|
3850
3948
|
/**
|
|
@@ -3856,7 +3954,7 @@
|
|
|
3856
3954
|
* logLevel: LogLevel.INFO,
|
|
3857
3955
|
* })
|
|
3858
3956
|
* ```
|
|
3859
|
-
* @version SDK: 1.26.7 |
|
|
3957
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3860
3958
|
*/
|
|
3861
3959
|
LogLevel["INFO"] = "INFO";
|
|
3862
3960
|
/**
|
|
@@ -3868,7 +3966,7 @@
|
|
|
3868
3966
|
* logLevel: LogLevel.DEBUG,
|
|
3869
3967
|
* })
|
|
3870
3968
|
* ```
|
|
3871
|
-
* @version SDK: 1.26.7 |
|
|
3969
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3872
3970
|
*/
|
|
3873
3971
|
LogLevel["DEBUG"] = "DEBUG";
|
|
3874
3972
|
/**
|
|
@@ -3880,7 +3978,7 @@
|
|
|
3880
3978
|
* logLevel: LogLevel.TRACE,
|
|
3881
3979
|
* })
|
|
3882
3980
|
* ```
|
|
3883
|
-
* @version SDK: 1.26.7 |
|
|
3981
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3884
3982
|
*/
|
|
3885
3983
|
LogLevel["TRACE"] = "TRACE";
|
|
3886
3984
|
})(exports.LogLevel || (exports.LogLevel = {}));
|
|
@@ -14750,7 +14848,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
14750
14848
|
return e;
|
|
14751
14849
|
}
|
|
14752
14850
|
|
|
14753
|
-
var name="@thoughtspot/visual-embed-sdk";var version$1="1.35.
|
|
14851
|
+
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};
|
|
14754
14852
|
|
|
14755
14853
|
/**
|
|
14756
14854
|
* Reloads the ThoughtSpot iframe.
|
|
@@ -14815,7 +14913,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
14815
14913
|
UIPassthroughEvent["PinAnswerToLiveboard"] = "addVizToPinboard";
|
|
14816
14914
|
UIPassthroughEvent["SaveAnswer"] = "saveAnswer";
|
|
14817
14915
|
UIPassthroughEvent["GetDiscoverabilityStatus"] = "getDiscoverabilityStatus";
|
|
14818
|
-
UIPassthroughEvent["GetAvailableUIPassthroughs"] = "
|
|
14916
|
+
UIPassthroughEvent["GetAvailableUIPassthroughs"] = "getAvailableUiPassthroughs";
|
|
14819
14917
|
UIPassthroughEvent["GetAnswerConfig"] = "getAnswerPageConfig";
|
|
14820
14918
|
UIPassthroughEvent["GetLiveboardConfig"] = "getPinboardPageConfig";
|
|
14821
14919
|
})(exports.UIPassthroughEvent || (exports.UIPassthroughEvent = {}));
|
|
@@ -16549,7 +16647,7 @@ query GetEurekaVizSnapshots(
|
|
|
16549
16647
|
* @param messageType The event type
|
|
16550
16648
|
* @param data The payload to send with the message
|
|
16551
16649
|
*/
|
|
16552
|
-
trigger(messageType, data) {
|
|
16650
|
+
trigger(messageType, data = {}) {
|
|
16553
16651
|
const dataWithVizId = data;
|
|
16554
16652
|
if (messageType === exports.HostEvent.SetActiveTab) {
|
|
16555
16653
|
this.setActiveTab(data);
|