@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.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @thoughtspot/visual-embed-sdk version 1.35.
|
|
1
|
+
/* @thoughtspot/visual-embed-sdk version 1.35.11 */
|
|
2
2
|
function _mergeNamespaces(n, m) {
|
|
3
3
|
m.forEach(function (e) {
|
|
4
4
|
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
|
|
@@ -358,7 +358,7 @@ const getTypeFromValue = (value) => {
|
|
|
358
358
|
var AuthType;
|
|
359
359
|
(function (AuthType) {
|
|
360
360
|
/**
|
|
361
|
-
* No authentication on the SDK.
|
|
361
|
+
* No authentication on the SDK. Pass-through to the embedded App. Alias for
|
|
362
362
|
* `Passthrough`.
|
|
363
363
|
* @example
|
|
364
364
|
* ```js
|
|
@@ -619,7 +619,7 @@ var RuntimeFilterOp;
|
|
|
619
619
|
* **Note**: This option does not apply to the classic homepage.
|
|
620
620
|
* To access the updated modular homepage, set
|
|
621
621
|
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
622
|
-
* @version SDK: 1.28.0 |
|
|
622
|
+
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl, 10.1.0.sw
|
|
623
623
|
*/
|
|
624
624
|
// eslint-disable-next-line no-shadow
|
|
625
625
|
var HomepageModule;
|
|
@@ -1432,7 +1432,7 @@ var EmbedEvent;
|
|
|
1432
1432
|
*/
|
|
1433
1433
|
EmbedEvent["Explore"] = "explore";
|
|
1434
1434
|
/**
|
|
1435
|
-
* Emitted when a user clicks **Copy link** action on a visualization
|
|
1435
|
+
* Emitted when a user clicks **Copy link** action on a visualization.
|
|
1436
1436
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
1437
1437
|
* @example
|
|
1438
1438
|
*```js
|
|
@@ -1482,23 +1482,26 @@ var EmbedEvent;
|
|
|
1482
1482
|
*/
|
|
1483
1483
|
EmbedEvent["FilterChanged"] = "filterChanged";
|
|
1484
1484
|
/**
|
|
1485
|
-
* Emitted when a user clicks the **Go** button
|
|
1486
|
-
*
|
|
1485
|
+
* Emitted when a user clicks the **Go** button to initiate
|
|
1486
|
+
* a Natural Language Search query
|
|
1487
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1487
1488
|
*/
|
|
1488
1489
|
EmbedEvent["SageEmbedQuery"] = "sageEmbedQuery";
|
|
1489
1490
|
/**
|
|
1490
|
-
* Emitted when a user selects a data source on the
|
|
1491
|
-
*
|
|
1491
|
+
* Emitted when a user selects a data source on the embedded
|
|
1492
|
+
* Natural Language Search interface.
|
|
1493
|
+
*
|
|
1494
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1492
1495
|
*/
|
|
1493
1496
|
EmbedEvent["SageWorksheetUpdated"] = "sageWorksheetUpdated";
|
|
1494
1497
|
/**
|
|
1495
1498
|
* Emitted when a user updates a connection on the **Data** page
|
|
1496
|
-
* @version SDK : 1.27.0 |
|
|
1499
|
+
* @version SDK : 1.27.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
1497
1500
|
*/
|
|
1498
1501
|
EmbedEvent["UpdateConnection"] = "updateConnection";
|
|
1499
1502
|
/**
|
|
1500
1503
|
* Emitted when a user updates a connection on the **Data** page
|
|
1501
|
-
* @version SDK : 1.27.0 |
|
|
1504
|
+
* @version SDK : 1.27.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
1502
1505
|
*/
|
|
1503
1506
|
EmbedEvent["CreateConnection"] = "createConnection";
|
|
1504
1507
|
/**
|
|
@@ -1508,7 +1511,7 @@ var EmbedEvent;
|
|
|
1508
1511
|
* @returns viewId: string
|
|
1509
1512
|
* @returns liveboardId: string
|
|
1510
1513
|
* @returns isPublic: boolean
|
|
1511
|
-
* @version SDK : 1.26.0 |
|
|
1514
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1512
1515
|
*/
|
|
1513
1516
|
EmbedEvent["UpdatePersonalisedView"] = "updatePersonalisedView";
|
|
1514
1517
|
/**
|
|
@@ -1517,7 +1520,7 @@ var EmbedEvent;
|
|
|
1517
1520
|
* @returns viewId: string
|
|
1518
1521
|
* @returns liveboardId: string
|
|
1519
1522
|
* @returns isPublic: boolean
|
|
1520
|
-
* @version SDK : 1.26.0 |
|
|
1523
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1521
1524
|
*/
|
|
1522
1525
|
EmbedEvent["SavePersonalisedView"] = "savePersonalisedView";
|
|
1523
1526
|
/**
|
|
@@ -1526,28 +1529,28 @@ var EmbedEvent;
|
|
|
1526
1529
|
* @returns viewId: string
|
|
1527
1530
|
* @returns liveboardId: string
|
|
1528
1531
|
* @returns isPublic: boolean
|
|
1529
|
-
* @version SDK : 1.26.0 |
|
|
1532
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1530
1533
|
*/
|
|
1531
1534
|
EmbedEvent["ResetLiveboard"] = "resetLiveboard";
|
|
1532
1535
|
/**
|
|
1533
1536
|
* Emitted when a PersonalisedView is deleted.
|
|
1534
1537
|
* @returns views: string[]
|
|
1535
1538
|
* @returns liveboardId: string
|
|
1536
|
-
* @version SDK : 1.26.0 |
|
|
1539
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1537
1540
|
*/
|
|
1538
1541
|
EmbedEvent["DeletePersonalisedView"] = "deletePersonalisedView";
|
|
1539
1542
|
/**
|
|
1540
1543
|
* Emitted when a user creates a new worksheet
|
|
1541
|
-
* @version SDK : 1.27.0 |
|
|
1544
|
+
* @version SDK : 1.27.0 | ThoughtSpot Cloud: 9.8.0.cl
|
|
1542
1545
|
*/
|
|
1543
1546
|
EmbedEvent["CreateWorksheet"] = "createWorksheet";
|
|
1544
1547
|
/**
|
|
1545
|
-
* Emitted when Ask Sage is initialized.
|
|
1548
|
+
* Emitted when the *Ask Sage* is initialized.
|
|
1546
1549
|
* @returns viewName: string
|
|
1547
1550
|
* @returns viewId: string
|
|
1548
1551
|
* @returns liveboardId: string
|
|
1549
1552
|
* @returns isPublic: boolean
|
|
1550
|
-
* @version SDK : 1.29.0 |
|
|
1553
|
+
* @version SDK : 1.29.0 | ThoughtSpot Cloud: 9.12.0.cl
|
|
1551
1554
|
*/
|
|
1552
1555
|
EmbedEvent["AskSageInit"] = "AskSageInit";
|
|
1553
1556
|
/**
|
|
@@ -1575,7 +1578,7 @@ var EmbedEvent;
|
|
|
1575
1578
|
*
|
|
1576
1579
|
* error: Developers can customize the error message text when `execute`
|
|
1577
1580
|
* returns `false` using the error parameter in responder.
|
|
1578
|
-
* @version SDK : 1.29.0 |
|
|
1581
|
+
* @version SDK : 1.29.0 | ThoughtSpot : 10.3.0.cl
|
|
1579
1582
|
* @example
|
|
1580
1583
|
*```js
|
|
1581
1584
|
* .on(EmbedEvent.OnBeforeGetVizDataIntercept,
|
|
@@ -1623,7 +1626,7 @@ var EmbedEvent;
|
|
|
1623
1626
|
* console.log('payload', payload);
|
|
1624
1627
|
* })
|
|
1625
1628
|
*```
|
|
1626
|
-
* @version SDK : 1.29.0 |
|
|
1629
|
+
* @version SDK : 1.29.0 | ThoughtSpot : 10.3.0.cl
|
|
1627
1630
|
*/
|
|
1628
1631
|
EmbedEvent["ParameterChanged"] = "parameterChanged";
|
|
1629
1632
|
})(EmbedEvent || (EmbedEvent = {}));
|
|
@@ -1772,7 +1775,7 @@ var HostEvent;
|
|
|
1772
1775
|
* const url = embed.trigger(HostEvent.GetIframeUrl);
|
|
1773
1776
|
* console.log("iFrameURL",url);
|
|
1774
1777
|
* ```
|
|
1775
|
-
* @version SDK: 1.35.0 |
|
|
1778
|
+
* @version SDK: 1.35.0 | ThoughtSpot: 10.4.0.cl
|
|
1776
1779
|
*/
|
|
1777
1780
|
HostEvent["GetIframeUrl"] = "GetIframeUrl";
|
|
1778
1781
|
/**
|
|
@@ -1805,6 +1808,11 @@ var HostEvent;
|
|
|
1805
1808
|
* attributes passed with this event are appended to the existing runtime
|
|
1806
1809
|
* filters applied on a Liveboard.
|
|
1807
1810
|
*
|
|
1811
|
+
* **Note**: `HostEvent.UpdateRuntimeFilters` is supported in `LiveboardEmbed`
|
|
1812
|
+
* and `AppEmbed` only. In full application embedding, this event updates
|
|
1813
|
+
* the runtime filters applied on the Liveboard and saved Answer objects.
|
|
1814
|
+
*
|
|
1815
|
+
*
|
|
1808
1816
|
* Pass an array of runtime filters with the following attributes:
|
|
1809
1817
|
*
|
|
1810
1818
|
* `columnName` - _String_. The name of the column to filter on.
|
|
@@ -1815,9 +1823,12 @@ var HostEvent;
|
|
|
1815
1823
|
* `values` - List of operands. Some operators such as EQ and LE allow a
|
|
1816
1824
|
* single value, whereas BW and IN accept multiple values.
|
|
1817
1825
|
*
|
|
1818
|
-
* **Note**:
|
|
1819
|
-
*
|
|
1820
|
-
*
|
|
1826
|
+
* **Note**: Updating runtime filters resets the ThoughtSpot
|
|
1827
|
+
* object to its original state and applies new filter conditions.
|
|
1828
|
+
* Any user changes (like drilling into a visualization)
|
|
1829
|
+
* will be cleared, restoring the original visualization
|
|
1830
|
+
* with the updated filters.
|
|
1831
|
+
*
|
|
1821
1832
|
* @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
|
|
1822
1833
|
* @example
|
|
1823
1834
|
* ```js
|
|
@@ -1832,7 +1843,7 @@ var HostEvent;
|
|
|
1832
1843
|
HostEvent["UpdateRuntimeFilters"] = "UpdateRuntimeFilters";
|
|
1833
1844
|
/**
|
|
1834
1845
|
* Navigate to a specific page in the embedded ThoughtSpot application.
|
|
1835
|
-
* This is the same as calling `appEmbed.navigateToPage(path, true)
|
|
1846
|
+
* This is the same as calling `appEmbed.navigateToPage(path, true)`.
|
|
1836
1847
|
* @param - `path` - the path to navigate to to go forward or back. The path value can
|
|
1837
1848
|
* be a number; for example, `1`, `-1`.
|
|
1838
1849
|
* @example
|
|
@@ -2127,7 +2138,9 @@ var HostEvent;
|
|
|
2127
2138
|
*/
|
|
2128
2139
|
HostEvent["GetTML"] = "getTML";
|
|
2129
2140
|
/**
|
|
2130
|
-
* Trigger the **Show underlying data** action on
|
|
2141
|
+
* Trigger the **Show underlying data** action on a
|
|
2142
|
+
* chart or table.
|
|
2143
|
+
*
|
|
2131
2144
|
* @param - an object with vizId as a key
|
|
2132
2145
|
* @example
|
|
2133
2146
|
* ```js
|
|
@@ -2161,8 +2174,8 @@ var HostEvent;
|
|
|
2161
2174
|
*/
|
|
2162
2175
|
HostEvent["Delete"] = "onDeleteAnswer";
|
|
2163
2176
|
/**
|
|
2164
|
-
* Trigger the **SpotIQ analyze** action on
|
|
2165
|
-
* or
|
|
2177
|
+
* Trigger the **SpotIQ analyze** action on a
|
|
2178
|
+
* chart or table.
|
|
2166
2179
|
* @param - Liveboard embed takes `vizId` as a
|
|
2167
2180
|
* key. Can be left undefined when embedding Search or
|
|
2168
2181
|
* visualization.
|
|
@@ -2435,7 +2448,7 @@ var HostEvent;
|
|
|
2435
2448
|
* '430496d6-6903-4601-937e-2c691821af3c',
|
|
2436
2449
|
* 'f547ec54-2a37-4516-a222-2b06719af726'])
|
|
2437
2450
|
* ```
|
|
2438
|
-
* @version SDK: 1.26.0 |
|
|
2451
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
2439
2452
|
*/
|
|
2440
2453
|
HostEvent["SetVisibleTabs"] = "SetPinboardVisibleTabs";
|
|
2441
2454
|
/**
|
|
@@ -2448,7 +2461,7 @@ var HostEvent;
|
|
|
2448
2461
|
* '630496d6-6903-4601-937e-2c691821af3c',
|
|
2449
2462
|
* 'i547ec54-2a37-4516-a222-2b06719af726'])
|
|
2450
2463
|
* ```
|
|
2451
|
-
* @version SDK: 1.26.0 |
|
|
2464
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
2452
2465
|
*/
|
|
2453
2466
|
HostEvent["SetHiddenTabs"] = "SetPinboardHiddenTabs";
|
|
2454
2467
|
/**
|
|
@@ -2462,7 +2475,7 @@ var HostEvent;
|
|
|
2462
2475
|
* executeSearch: true,
|
|
2463
2476
|
* })
|
|
2464
2477
|
* ```
|
|
2465
|
-
* @version SDK: 1.26.0 |
|
|
2478
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
2466
2479
|
*/
|
|
2467
2480
|
HostEvent["UpdateSageQuery"] = "updateSageQuery";
|
|
2468
2481
|
/**
|
|
@@ -2479,21 +2492,22 @@ var HostEvent;
|
|
|
2479
2492
|
* ```js
|
|
2480
2493
|
* const {session} = await embed.trigger( HostEvent.GetAnswerSession )
|
|
2481
2494
|
* ```
|
|
2482
|
-
* @version SDK: 1.26.0 |
|
|
2495
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.10.0.cl, 10.1.0.sw
|
|
2483
2496
|
*/
|
|
2484
2497
|
HostEvent["GetAnswerSession"] = "getAnswerSession";
|
|
2485
2498
|
/**
|
|
2486
|
-
* Trigger Ask Sage for
|
|
2499
|
+
* Trigger the *Ask Sage* action for visualizations
|
|
2487
2500
|
* @example
|
|
2488
2501
|
* ```js
|
|
2489
2502
|
* liveboardEmbed.trigger(HostEvent.AskSage,
|
|
2490
2503
|
* {vizId:'730496d6-6903-4601-937e-2c691821af3c'})
|
|
2491
2504
|
* ```
|
|
2492
|
-
* @version SDK: 1.29.0 |
|
|
2505
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 9.12.0.cl
|
|
2493
2506
|
*/
|
|
2494
2507
|
HostEvent["AskSage"] = "AskSage";
|
|
2495
2508
|
/**
|
|
2496
|
-
* Trigger cross filter update action on a Liveboard
|
|
2509
|
+
* Trigger cross filter update action on a Liveboard.
|
|
2510
|
+
*
|
|
2497
2511
|
* @example
|
|
2498
2512
|
* ```js
|
|
2499
2513
|
* liveboardEmbed.trigger(HostEvent.UpdateCrossFilter, {
|
|
@@ -2504,7 +2518,7 @@ var HostEvent;
|
|
|
2504
2518
|
* ],
|
|
2505
2519
|
* });
|
|
2506
2520
|
* ```
|
|
2507
|
-
* @version SDK: 1.29.0 |
|
|
2521
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 10.0.0.cl, 10.1.0.sw
|
|
2508
2522
|
*/
|
|
2509
2523
|
HostEvent["UpdateCrossFilter"] = "UpdateCrossFilter";
|
|
2510
2524
|
/**
|
|
@@ -2513,11 +2527,13 @@ var HostEvent;
|
|
|
2513
2527
|
* ```js
|
|
2514
2528
|
* liveboardEmbed.trigger(HostEvent.ResetLiveboardPersonalisedView);
|
|
2515
2529
|
* ```
|
|
2516
|
-
* @version SDK: 1.29.0 |
|
|
2530
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 10.1.0.cl, 10.1.0.sw
|
|
2517
2531
|
*/
|
|
2518
2532
|
HostEvent["ResetLiveboardPersonalisedView"] = "ResetLiveboardPersonalisedView";
|
|
2519
2533
|
/**
|
|
2520
|
-
* Triggers an
|
|
2534
|
+
* Triggers an action to update Parameter values on embedded
|
|
2535
|
+
* Answers and Liveboard.
|
|
2536
|
+
*
|
|
2521
2537
|
* @example
|
|
2522
2538
|
* ```js
|
|
2523
2539
|
* liveboardEmbed.trigger(HostEvent.UpdateParameters, [{
|
|
@@ -2525,30 +2541,30 @@ var HostEvent;
|
|
|
2525
2541
|
* value: "almond"
|
|
2526
2542
|
* }])
|
|
2527
2543
|
*
|
|
2528
|
-
* @version SDK: 1.29.0 |
|
|
2544
|
+
* @version SDK: 1.29.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
2529
2545
|
*/
|
|
2530
2546
|
HostEvent["UpdateParameters"] = "UpdateParameters";
|
|
2531
2547
|
/**
|
|
2532
|
-
* Triggers GetParameters to fetch the runtime
|
|
2548
|
+
* Triggers GetParameters to fetch the runtime Parameters.
|
|
2533
2549
|
* ```js
|
|
2534
2550
|
* liveboardEmbed.trigger(HostEvent.GetParameters).then((parameter) => {
|
|
2535
2551
|
* console.log('parameters', parameter);
|
|
2536
2552
|
* });
|
|
2537
2553
|
*```
|
|
2538
|
-
* @version SDK: 1.29.0 |
|
|
2554
|
+
* @version SDK: 1.29.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
2539
2555
|
*/
|
|
2540
2556
|
HostEvent["GetParameters"] = "GetParameters";
|
|
2541
2557
|
/**
|
|
2542
|
-
* Triggers an event to update a
|
|
2558
|
+
* Triggers an event to update a personalized view of a Liveboard.
|
|
2543
2559
|
* ```js
|
|
2544
2560
|
* liveboardEmbed.trigger(HostEvent.UpdatePersonalisedView, {viewId: '1234'})
|
|
2545
2561
|
* ```
|
|
2546
|
-
* @version SDK: 1.36.0 |
|
|
2562
|
+
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
|
|
2547
2563
|
*/
|
|
2548
2564
|
HostEvent["UpdatePersonalisedView"] = "UpdatePersonalisedView";
|
|
2549
2565
|
/**
|
|
2550
|
-
* Triggers the action to get the current view of the
|
|
2551
|
-
* @version SDK: 1.36.0 |
|
|
2566
|
+
* Triggers the action to get the current view of the Liveboard.
|
|
2567
|
+
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
|
|
2552
2568
|
*/
|
|
2553
2569
|
HostEvent["SaveAnswer"] = "saveAnswer";
|
|
2554
2570
|
/**
|
|
@@ -2775,7 +2791,8 @@ var Action;
|
|
|
2775
2791
|
Action["ResetLayout"] = "resetLayout";
|
|
2776
2792
|
/**
|
|
2777
2793
|
* The **Schedule** menu action on a Liveboard.
|
|
2778
|
-
* Allows scheduling a Liveboard
|
|
2794
|
+
* Allows scheduling a Liveboard job, for example,
|
|
2795
|
+
* sending periodic notifications.
|
|
2779
2796
|
* @example
|
|
2780
2797
|
* ```js
|
|
2781
2798
|
* disabledActions: [Action.Schedule]
|
|
@@ -2817,7 +2834,7 @@ var Action;
|
|
|
2817
2834
|
* ```js
|
|
2818
2835
|
* disabledActions: [Action.AddDataPanelObjects]
|
|
2819
2836
|
* ```
|
|
2820
|
-
* @version SDK: 1.32.0 |
|
|
2837
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl, 10.1.0.sw
|
|
2821
2838
|
*/
|
|
2822
2839
|
Action["AddDataPanelObjects"] = "addDataPanelObjects";
|
|
2823
2840
|
/**
|
|
@@ -2830,7 +2847,28 @@ var Action;
|
|
|
2830
2847
|
* ```
|
|
2831
2848
|
*/
|
|
2832
2849
|
Action["ConfigureFilter"] = "configureFilter";
|
|
2850
|
+
/**
|
|
2851
|
+
* The **Collapse data sources** icon on the Search page.
|
|
2852
|
+
* Collapses the panel showing data sources.
|
|
2853
|
+
*
|
|
2854
|
+
* @example
|
|
2855
|
+
* ```js
|
|
2856
|
+
* disabledActions: [Action.CollapseDataPanel]
|
|
2857
|
+
* ```
|
|
2858
|
+
* @version: SDK: 1.1.0 | ThoughtSpot Cloud: ts7.may.cl, 8.4.1.sw
|
|
2859
|
+
*/
|
|
2833
2860
|
Action["CollapseDataSources"] = "collapseDataSources";
|
|
2861
|
+
/**
|
|
2862
|
+
* The **Collapse data panel** icon on the Search page.
|
|
2863
|
+
* Collapses the data panel view.
|
|
2864
|
+
*
|
|
2865
|
+
* @version: SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl, 10.7.0.sw
|
|
2866
|
+
*
|
|
2867
|
+
* @example
|
|
2868
|
+
* ```js
|
|
2869
|
+
* disabledActions: [Action.CollapseDataPanel]
|
|
2870
|
+
* ```
|
|
2871
|
+
*/
|
|
2834
2872
|
Action["CollapseDataPanel"] = "collapseDataPanel";
|
|
2835
2873
|
/**
|
|
2836
2874
|
* The **Choose sources** button on Search page.
|
|
@@ -2866,7 +2904,7 @@ var Action;
|
|
|
2866
2904
|
* ```js
|
|
2867
2905
|
* disabledActions: [Action.AddColumnSet]
|
|
2868
2906
|
* ```
|
|
2869
|
-
* @version SDK: 1.32.0 |
|
|
2907
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl, 10.1.0.sw
|
|
2870
2908
|
*/
|
|
2871
2909
|
Action["AddColumnSet"] = "addSimpleCohort";
|
|
2872
2910
|
/**
|
|
@@ -2876,7 +2914,7 @@ var Action;
|
|
|
2876
2914
|
* ```js
|
|
2877
2915
|
* disabledActions: [Action.AddQuerySet]
|
|
2878
2916
|
* ```
|
|
2879
|
-
* @version SDK: 1.32.0 |
|
|
2917
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl, 10.1.0.sw
|
|
2880
2918
|
*/
|
|
2881
2919
|
Action["AddQuerySet"] = "addAdvancedCohort";
|
|
2882
2920
|
/**
|
|
@@ -2908,6 +2946,8 @@ var Action;
|
|
|
2908
2946
|
/**
|
|
2909
2947
|
* The **Show underlying data** menu action on a visualization or
|
|
2910
2948
|
* Answer page.
|
|
2949
|
+
* Displays detailed information and raw data
|
|
2950
|
+
* for a given visualization.
|
|
2911
2951
|
* @example
|
|
2912
2952
|
* ```js
|
|
2913
2953
|
* disabledActions: [Action.ShowUnderlyingData]
|
|
@@ -3109,6 +3149,7 @@ var Action;
|
|
|
3109
3149
|
Action["AnalysisInfo"] = "analysisInfo";
|
|
3110
3150
|
/**
|
|
3111
3151
|
* The **Schedule** menu action on a Liveboard.
|
|
3152
|
+
* Allows scheduling a Liveboard job.
|
|
3112
3153
|
* @example
|
|
3113
3154
|
* ```js
|
|
3114
3155
|
* disabledActions: [Action.Subscription]
|
|
@@ -3178,8 +3219,13 @@ var Action;
|
|
|
3178
3219
|
*/
|
|
3179
3220
|
Action["RequestAccess"] = "requestAccess";
|
|
3180
3221
|
/**
|
|
3181
|
-
* The **Query visualizer** and **Query SQL** buttons in
|
|
3182
|
-
* of the Answer page
|
|
3222
|
+
* The **Query visualizer** and **Query SQL** buttons in
|
|
3223
|
+
* Query details panel of the Answer page.
|
|
3224
|
+
*
|
|
3225
|
+
* **Query visualizer** - Displays the tables
|
|
3226
|
+
* and filters used in a search query.
|
|
3227
|
+
* **Query SQL** - Displays the SQL statements used
|
|
3228
|
+
* in a search query to fetch data.
|
|
3183
3229
|
* @example
|
|
3184
3230
|
* ```js
|
|
3185
3231
|
* disabledActions: [Action.QueryDetailsButtons]
|
|
@@ -3197,7 +3243,10 @@ var Action;
|
|
|
3197
3243
|
*/
|
|
3198
3244
|
Action["AnswerDelete"] = "onDeleteAnswer";
|
|
3199
3245
|
/**
|
|
3200
|
-
* The
|
|
3246
|
+
* The chart switcher icon on Answer page and
|
|
3247
|
+
* visualizations in edit mode.
|
|
3248
|
+
* Allows switching to the table or chart mode
|
|
3249
|
+
* when editing a visualization.
|
|
3201
3250
|
* @example
|
|
3202
3251
|
* ```js
|
|
3203
3252
|
* disabledActions: [Action.AnswerChartSwitcher]
|
|
@@ -3206,7 +3255,10 @@ var Action;
|
|
|
3206
3255
|
*/
|
|
3207
3256
|
Action["AnswerChartSwitcher"] = "answerChartSwitcher";
|
|
3208
3257
|
/**
|
|
3209
|
-
* Favorites icon (*)
|
|
3258
|
+
* The Favorites icon (*) for Answers,
|
|
3259
|
+
* Liveboard, and data objects like Worksheet, Model,
|
|
3260
|
+
* Tables and Views.
|
|
3261
|
+
* Allows adding an object to the user’s favorites list.
|
|
3210
3262
|
* @example
|
|
3211
3263
|
* ```js
|
|
3212
3264
|
* disabledActions: [Action.AddToFavorites]
|
|
@@ -3224,7 +3276,9 @@ var Action;
|
|
|
3224
3276
|
*/
|
|
3225
3277
|
Action["EditDetails"] = "editDetails";
|
|
3226
3278
|
/**
|
|
3227
|
-
* The Create alert action
|
|
3279
|
+
* The *Create alert* action for KPI charts.
|
|
3280
|
+
* Allows users to schedule threshold-based alerts
|
|
3281
|
+
* for KPI charts.
|
|
3228
3282
|
* @example
|
|
3229
3283
|
* ```js
|
|
3230
3284
|
* disabledActions: [Action.CreateMonitor]
|
|
@@ -3280,7 +3334,7 @@ var Action;
|
|
|
3280
3334
|
* ```js
|
|
3281
3335
|
* disabledActions: [Action.CrossFilter]
|
|
3282
3336
|
* ```
|
|
3283
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3337
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.8.0.sw
|
|
3284
3338
|
*/
|
|
3285
3339
|
Action["CrossFilter"] = "context-menu-item-cross-filter";
|
|
3286
3340
|
/**
|
|
@@ -3290,7 +3344,7 @@ var Action;
|
|
|
3290
3344
|
* ```js
|
|
3291
3345
|
* disabledActions: [Action.SyncToSlack]
|
|
3292
3346
|
* ```
|
|
3293
|
-
* @version @version SDK : 1.32.0 |
|
|
3347
|
+
* @version @version SDK : 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
|
|
3294
3348
|
*/
|
|
3295
3349
|
Action["SyncToSlack"] = "syncToSlack";
|
|
3296
3350
|
/**
|
|
@@ -3300,7 +3354,7 @@ var Action;
|
|
|
3300
3354
|
* ```js
|
|
3301
3355
|
* disabledActions: [Action.SyncToTeams]
|
|
3302
3356
|
* ```
|
|
3303
|
-
* @version @version SDK : 1.32.0 |
|
|
3357
|
+
* @version @version SDK : 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
|
|
3304
3358
|
*/
|
|
3305
3359
|
Action["SyncToTeams"] = "syncToTeams";
|
|
3306
3360
|
/**
|
|
@@ -3311,7 +3365,7 @@ var Action;
|
|
|
3311
3365
|
* ```js
|
|
3312
3366
|
* disabledActions: [Action.RemoveCrossFilter]
|
|
3313
3367
|
* ```
|
|
3314
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3368
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3315
3369
|
*/
|
|
3316
3370
|
Action["RemoveCrossFilter"] = "context-menu-item-remove-cross-filter";
|
|
3317
3371
|
/**
|
|
@@ -3322,7 +3376,7 @@ var Action;
|
|
|
3322
3376
|
* ```js
|
|
3323
3377
|
* disabledActions: [Action.AxisMenuAggregate]
|
|
3324
3378
|
* ```
|
|
3325
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3379
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3326
3380
|
*/
|
|
3327
3381
|
Action["AxisMenuAggregate"] = "axisMenuAggregate";
|
|
3328
3382
|
/**
|
|
@@ -3333,17 +3387,19 @@ var Action;
|
|
|
3333
3387
|
* ```js
|
|
3334
3388
|
* disabledActions: [Action.AxisMenuTimeBucket]
|
|
3335
3389
|
* ```
|
|
3336
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3390
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3337
3391
|
*/
|
|
3338
3392
|
Action["AxisMenuTimeBucket"] = "axisMenuTimeBucket";
|
|
3339
3393
|
/**
|
|
3340
3394
|
* The **Filter** action in the chart axis or table column
|
|
3341
3395
|
* customization menu.
|
|
3396
|
+
* Allows adding, editing, or removing filters.
|
|
3397
|
+
*
|
|
3342
3398
|
* @example
|
|
3343
3399
|
* ```js
|
|
3344
3400
|
* disabledActions: [Action.AxisMenuFilter]
|
|
3345
3401
|
* ```
|
|
3346
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3402
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3347
3403
|
*/
|
|
3348
3404
|
Action["AxisMenuFilter"] = "axisMenuFilter";
|
|
3349
3405
|
/**
|
|
@@ -3354,7 +3410,7 @@ var Action;
|
|
|
3354
3410
|
* ```js
|
|
3355
3411
|
* disabledActions: [Action.AxisMenuConditionalFormat]
|
|
3356
3412
|
* ```
|
|
3357
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3413
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3358
3414
|
*/
|
|
3359
3415
|
Action["AxisMenuConditionalFormat"] = "axisMenuConditionalFormat";
|
|
3360
3416
|
/**
|
|
@@ -3365,7 +3421,7 @@ var Action;
|
|
|
3365
3421
|
* ```js
|
|
3366
3422
|
* disabledActions: [Action.AxisMenuConditionalFormat]
|
|
3367
3423
|
* ```
|
|
3368
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3424
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3369
3425
|
*/
|
|
3370
3426
|
Action["AxisMenuSort"] = "axisMenuSort";
|
|
3371
3427
|
/**
|
|
@@ -3377,7 +3433,7 @@ var Action;
|
|
|
3377
3433
|
* ```js
|
|
3378
3434
|
* disabledActions: [Action.AxisMenuGroup]
|
|
3379
3435
|
* ```
|
|
3380
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3436
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3381
3437
|
*/
|
|
3382
3438
|
Action["AxisMenuGroup"] = "axisMenuGroup";
|
|
3383
3439
|
/**
|
|
@@ -3388,7 +3444,7 @@ var Action;
|
|
|
3388
3444
|
* ```js
|
|
3389
3445
|
* disabledActions: [Action.AxisMenuPosition]
|
|
3390
3446
|
* ```
|
|
3391
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3447
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3392
3448
|
*/
|
|
3393
3449
|
Action["AxisMenuPosition"] = "axisMenuPosition";
|
|
3394
3450
|
/**
|
|
@@ -3398,7 +3454,7 @@ var Action;
|
|
|
3398
3454
|
* ```js
|
|
3399
3455
|
* disabledActions: [Action.AxisMenuRename]
|
|
3400
3456
|
* ```
|
|
3401
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3457
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3402
3458
|
*/
|
|
3403
3459
|
Action["AxisMenuRename"] = "axisMenuRename";
|
|
3404
3460
|
/**
|
|
@@ -3409,7 +3465,7 @@ var Action;
|
|
|
3409
3465
|
* ```js
|
|
3410
3466
|
* disabledActions: [Action.AxisMenuEdit]
|
|
3411
3467
|
* ```
|
|
3412
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3468
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3413
3469
|
*/
|
|
3414
3470
|
Action["AxisMenuEdit"] = "axisMenuEdit";
|
|
3415
3471
|
/**
|
|
@@ -3419,7 +3475,7 @@ var Action;
|
|
|
3419
3475
|
* ```js
|
|
3420
3476
|
* disabledActions: [Action.AxisMenuNumberFormat]
|
|
3421
3477
|
* ```
|
|
3422
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3478
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3423
3479
|
*/
|
|
3424
3480
|
Action["AxisMenuNumberFormat"] = "axisMenuNumberFormat";
|
|
3425
3481
|
/**
|
|
@@ -3429,7 +3485,7 @@ var Action;
|
|
|
3429
3485
|
* ```js
|
|
3430
3486
|
* disabledActions: [Action.AxisMenuTextWrapping]
|
|
3431
3487
|
* ```
|
|
3432
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3488
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3433
3489
|
*/
|
|
3434
3490
|
Action["AxisMenuTextWrapping"] = "axisMenuTextWrapping";
|
|
3435
3491
|
/**
|
|
@@ -3441,7 +3497,7 @@ var Action;
|
|
|
3441
3497
|
* ```js
|
|
3442
3498
|
* disabledActions: [Action.AxisMenuRemove]
|
|
3443
3499
|
* ```
|
|
3444
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
3500
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.1.sw
|
|
3445
3501
|
*/
|
|
3446
3502
|
Action["AxisMenuRemove"] = "axisMenuRemove";
|
|
3447
3503
|
/**
|
|
@@ -3455,26 +3511,27 @@ var Action;
|
|
|
3455
3511
|
* ```js
|
|
3456
3512
|
* disabledActions: [Action.RenameModalTitleDescription]
|
|
3457
3513
|
* ```
|
|
3458
|
-
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
|
|
3514
|
+
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl, 9.8.0.sw
|
|
3459
3515
|
*/
|
|
3460
3516
|
Action["RenameModalTitleDescription"] = "renameModalTitleDescription";
|
|
3461
3517
|
/**
|
|
3462
|
-
*
|
|
3518
|
+
* The *Request verification* action on a Liveboard.
|
|
3519
|
+
* Initiates a request for Liveboard verification.
|
|
3463
3520
|
* @example
|
|
3464
3521
|
* ```js
|
|
3465
3522
|
* disabledActions: [Action.RequestVerification]
|
|
3466
3523
|
* ```
|
|
3467
|
-
* @version SDK: 1.25.0 |
|
|
3524
|
+
* @version SDK: 1.25.0 | ThoughtSpot: 9.6.0.cl, 10.1.0.sw
|
|
3468
3525
|
*/
|
|
3469
3526
|
Action["RequestVerification"] = "requestVerification";
|
|
3470
3527
|
/**
|
|
3471
3528
|
*
|
|
3472
|
-
*Allows users to mark a Liveboard as verified.
|
|
3529
|
+
* Allows users to mark a Liveboard as verified.
|
|
3473
3530
|
* @example
|
|
3474
3531
|
* ```js
|
|
3475
3532
|
* disabledActions: [Action.MarkAsVerified]
|
|
3476
3533
|
* ```
|
|
3477
|
-
* @version SDK: 1.25.0 |
|
|
3534
|
+
* @version SDK: 1.25.0 | ThoughtSpot: 9.6.0.cl, 10.1.0.sw
|
|
3478
3535
|
*/
|
|
3479
3536
|
Action["MarkAsVerified"] = "markAsVerified";
|
|
3480
3537
|
/**
|
|
@@ -3484,7 +3541,7 @@ var Action;
|
|
|
3484
3541
|
* ```js
|
|
3485
3542
|
* disabledActions: [Action.AddTab]
|
|
3486
3543
|
* ```
|
|
3487
|
-
* @version SDK: 1.26.0 |
|
|
3544
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
3488
3545
|
*/
|
|
3489
3546
|
Action["AddTab"] = "addTab";
|
|
3490
3547
|
/**
|
|
@@ -3494,35 +3551,42 @@ var Action;
|
|
|
3494
3551
|
* ```js
|
|
3495
3552
|
* disabledActions: [Action.EnableContextualChangeAnalysis]
|
|
3496
3553
|
* ```
|
|
3497
|
-
* @version SDK: 1.25.0 |
|
|
3554
|
+
* @version SDK: 1.25.0 | ThoughtSpot Cloud: 9.6.0.cl
|
|
3498
3555
|
*/
|
|
3499
3556
|
Action["EnableContextualChangeAnalysis"] = "enableContextualChangeAnalysis";
|
|
3500
3557
|
/**
|
|
3558
|
+
* Action ID to hide or disable Natural Language Search query.
|
|
3501
3559
|
*
|
|
3502
3560
|
* @example
|
|
3503
3561
|
* ```js
|
|
3504
3562
|
* disabledActions: [Action.ShowSageQuery]
|
|
3505
3563
|
* ```
|
|
3506
|
-
* @version SDK: 1.26.0 |
|
|
3564
|
+
* @version SDK: 1.26.0 | ThoughtSpot Cloud: 9.7.0.cl
|
|
3507
3565
|
*/
|
|
3508
3566
|
Action["ShowSageQuery"] = "showSageQuery";
|
|
3509
3567
|
/**
|
|
3568
|
+
*
|
|
3569
|
+
* Action ID to hide or disable the edit option for the
|
|
3570
|
+
* results generated from the
|
|
3571
|
+
* Natural Language Search query.
|
|
3510
3572
|
*
|
|
3511
3573
|
* @example
|
|
3512
3574
|
* ```js
|
|
3513
3575
|
* disabledActions: [Action.EditSageAnswer]
|
|
3514
3576
|
* ```
|
|
3515
|
-
* @version SDK: 1.26.0 |
|
|
3577
|
+
* @version SDK: 1.26.0 | ThoughtSpot Cloud: 9.7.0.cl
|
|
3516
3578
|
*/
|
|
3517
3579
|
Action["EditSageAnswer"] = "editSageAnswer";
|
|
3518
3580
|
/**
|
|
3581
|
+
* The feedback widget for AI-generated Answers.
|
|
3582
|
+
* Allows users to send feedback on the Answers generated
|
|
3583
|
+
* from a Natural Language Search query.
|
|
3519
3584
|
*
|
|
3520
|
-
*This action allows users to send feedback on AI-generated Answers.
|
|
3521
3585
|
* @example
|
|
3522
3586
|
* ```js
|
|
3523
3587
|
* disabledActions: [Action.SageAnswerFeedback]
|
|
3524
3588
|
* ```
|
|
3525
|
-
* @version SDK: 1.26.0 |
|
|
3589
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl
|
|
3526
3590
|
*/
|
|
3527
3591
|
Action["SageAnswerFeedback"] = "sageAnswerFeedback";
|
|
3528
3592
|
/**
|
|
@@ -3531,7 +3595,7 @@ var Action;
|
|
|
3531
3595
|
* ```js
|
|
3532
3596
|
* disabledActions: [Action.ModifySageAnswer]
|
|
3533
3597
|
* ```
|
|
3534
|
-
* @version SDK: 1.26.0 |
|
|
3598
|
+
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl
|
|
3535
3599
|
*/
|
|
3536
3600
|
Action["ModifySageAnswer"] = "modifySageAnswer";
|
|
3537
3601
|
/**
|
|
@@ -3544,7 +3608,10 @@ var Action;
|
|
|
3544
3608
|
*/
|
|
3545
3609
|
Action["MoveToTab"] = "onContainerMove";
|
|
3546
3610
|
/**
|
|
3547
|
-
* The **Manage
|
|
3611
|
+
* The **Manage Alerts** menu action on KPI visualizations.
|
|
3612
|
+
* Allows creating, viewing, and editing monitor
|
|
3613
|
+
* alerts for a KPI chart.
|
|
3614
|
+
*
|
|
3548
3615
|
* @example
|
|
3549
3616
|
* ```js
|
|
3550
3617
|
* disabledActions: [Action.ManageMonitor]
|
|
@@ -3552,21 +3619,23 @@ var Action;
|
|
|
3552
3619
|
*/
|
|
3553
3620
|
Action["ManageMonitor"] = "manageMonitor";
|
|
3554
3621
|
/**
|
|
3555
|
-
*
|
|
3622
|
+
* The Liveboard Personalised Views dropdown.
|
|
3623
|
+
* Allows navigating to a personalized Liveboard View.
|
|
3556
3624
|
* @example
|
|
3557
3625
|
* ```js
|
|
3558
3626
|
* disabledActions: [Action.PersonalisedViewsDropdown]
|
|
3559
3627
|
* ```
|
|
3560
|
-
* @version SDK : 1.26.0 |
|
|
3628
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 10.1.0.sw
|
|
3561
3629
|
*/
|
|
3562
3630
|
Action["PersonalisedViewsDropdown"] = "personalisedViewsDropdown";
|
|
3563
3631
|
/**
|
|
3564
|
-
* Action ID for
|
|
3632
|
+
* Action ID for show or hide the user details on a
|
|
3633
|
+
* Liveboard (Recently visited / social proof)
|
|
3565
3634
|
* @example
|
|
3566
3635
|
* ```js
|
|
3567
3636
|
* disabledActions: [Action.LiveboardUsers]
|
|
3568
3637
|
* ```
|
|
3569
|
-
* @version SDK : 1.26.0 |
|
|
3638
|
+
* @version SDK : 1.26.0 | ThoughtSpot: 9.7.0.cl, 10.1.0.sw
|
|
3570
3639
|
*/
|
|
3571
3640
|
Action["LiveboardUsers"] = "liveboardUsers";
|
|
3572
3641
|
/**
|
|
@@ -3584,108 +3653,124 @@ var Action;
|
|
|
3584
3653
|
* hiddenAction: [Action.TML] // hide all TML actions
|
|
3585
3654
|
* disabledActions: [Action.TML] // to disable all TML actions
|
|
3586
3655
|
* ```
|
|
3587
|
-
* @version SDK : 1.28.3 |
|
|
3656
|
+
* @version SDK : 1.28.3 | ThoughtSpot: 9.12.0.cl, 10.1.0.sw
|
|
3588
3657
|
*/
|
|
3589
3658
|
Action["TML"] = "tml";
|
|
3590
3659
|
/**
|
|
3591
|
-
*
|
|
3592
|
-
* and Pin modal
|
|
3660
|
+
* The **Create Liveboard* action on
|
|
3661
|
+
* the Liveboards page and the Pin modal.
|
|
3662
|
+
* Allows users to create a Liveboard.
|
|
3663
|
+
*
|
|
3593
3664
|
* @example
|
|
3594
3665
|
* ```js
|
|
3595
3666
|
* hiddenAction: [Action.CreateLiveboard]
|
|
3596
3667
|
* disabledActions: [Action.CreateLiveboard]
|
|
3597
3668
|
* ```
|
|
3598
|
-
* @version SDK: 1.32.0 |
|
|
3669
|
+
* @version SDK: 1.32.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
3599
3670
|
*/
|
|
3600
3671
|
Action["CreateLiveboard"] = "createLiveboard";
|
|
3601
3672
|
/**
|
|
3602
|
-
* Action ID for to hide
|
|
3673
|
+
* Action ID for to hide or disable the
|
|
3674
|
+
* Verified Liveboard banner.
|
|
3603
3675
|
* @example
|
|
3604
3676
|
* ```js
|
|
3605
3677
|
* hiddenAction: [Action.VerifiedLiveboard]
|
|
3606
3678
|
* ```
|
|
3607
|
-
* @version SDK: 1.29.0 |
|
|
3679
|
+
* @version SDK: 1.29.0 | ThoughtSpot: 9.10.0.cl, 10.1.0.sw
|
|
3608
3680
|
*/
|
|
3609
3681
|
Action["VerifiedLiveboard"] = "verifiedLiveboard";
|
|
3610
3682
|
/**
|
|
3611
|
-
*
|
|
3683
|
+
* The *Ask Sage* action for Answers and visualizations.
|
|
3684
|
+
* Allows initiating a Natural Language Search query.
|
|
3685
|
+
*
|
|
3612
3686
|
* @example
|
|
3613
3687
|
* ```js
|
|
3614
3688
|
* hiddenAction: [Action.AskAi]
|
|
3615
3689
|
* ```
|
|
3616
|
-
* @version SDK: 1.29.0 |
|
|
3690
|
+
* @version SDK: 1.29.0 | ThoughtSpot Cloud: 9.12.0.cl
|
|
3617
3691
|
*/
|
|
3618
3692
|
Action["AskAi"] = "AskAi";
|
|
3619
3693
|
/**
|
|
3620
3694
|
* The **Add KPI to Watchlist** action on Home page watchlist.
|
|
3695
|
+
* Adds a KPI chart to the watchlist on the Home page.
|
|
3621
3696
|
* @example
|
|
3622
3697
|
* ```js
|
|
3623
3698
|
* disabledActions: [Action.AddToWatchlist]
|
|
3624
3699
|
* ```
|
|
3625
|
-
* @version SDK : 1.27.9 |
|
|
3700
|
+
* @version SDK : 1.27.9 | ThoughtSpot Cloud: 9.12.5.cl
|
|
3626
3701
|
*/
|
|
3627
3702
|
Action["AddToWatchlist"] = "addToWatchlist";
|
|
3628
3703
|
/**
|
|
3629
3704
|
* The **Remove from watchlist** menu action on KPI watchlist.
|
|
3705
|
+
* Removes a KPI chart from the watchlist on the Home page.
|
|
3630
3706
|
* @example
|
|
3631
3707
|
* ```js
|
|
3632
3708
|
* disabledActions: [Action.RemoveFromWatchlist]
|
|
3633
3709
|
* ```
|
|
3634
|
-
* @version SDK : 1.27.9 |
|
|
3710
|
+
* @version SDK : 1.27.9 | ThoughtSpot: 9.12.5.cl
|
|
3635
3711
|
*/
|
|
3636
3712
|
Action["RemoveFromWatchlist"] = "removeFromWatchlist";
|
|
3637
3713
|
/**
|
|
3638
|
-
* The **
|
|
3714
|
+
* The **Organize Favourites** action on Homepage
|
|
3715
|
+
* *Favorites* module.
|
|
3716
|
+
*
|
|
3639
3717
|
* @example
|
|
3640
3718
|
* ```js
|
|
3641
3719
|
* disabledActions: [Action.OrganiseFavourites]
|
|
3642
3720
|
* ```
|
|
3643
|
-
* @version SDK : 1.32.0 |
|
|
3721
|
+
* @version SDK : 1.32.0 | ThoughtSpot: 10.0.0.cl
|
|
3644
3722
|
*/
|
|
3645
3723
|
Action["OrganiseFavourites"] = "organiseFavourites";
|
|
3646
3724
|
/**
|
|
3647
|
-
*
|
|
3725
|
+
* The **AI Highlights** action on a Liveboard.
|
|
3726
|
+
*
|
|
3648
3727
|
* @example
|
|
3649
3728
|
* ```js
|
|
3650
3729
|
* hiddenAction: [Action.AIHighlights]
|
|
3651
3730
|
* ```
|
|
3652
|
-
* @version SDK: 1.27.10 |
|
|
3731
|
+
* @version SDK: 1.27.10 | ThoughtSpot Cloud: 9.12.5.cl
|
|
3653
3732
|
*/
|
|
3654
3733
|
Action["AIHighlights"] = "AIHighlights";
|
|
3655
3734
|
/**
|
|
3656
|
-
*
|
|
3735
|
+
* The *Edit* action on the *Liveboard Schedules* page
|
|
3736
|
+
* (new Homepage experience).
|
|
3737
|
+
* Allows editing Liveboard schedules.
|
|
3738
|
+
*
|
|
3657
3739
|
* @example
|
|
3658
3740
|
* ```js
|
|
3659
3741
|
* disabledActions: [Action.EditScheduleHomepage]
|
|
3660
3742
|
* ```
|
|
3661
|
-
* @version SDK: 1.34.0 |
|
|
3743
|
+
* @version SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3662
3744
|
*/
|
|
3663
3745
|
Action["EditScheduleHomepage"] = "editScheduleHomepage";
|
|
3664
3746
|
/**
|
|
3665
|
-
*
|
|
3747
|
+
* The *Pause* action on the *Liveboard Schedules* page
|
|
3748
|
+
* Pauses a scheduled Liveboard job.
|
|
3666
3749
|
* @example
|
|
3667
3750
|
* ```js
|
|
3668
3751
|
* disabledActions: [Action.PauseScheduleHomepage]
|
|
3669
3752
|
* ```
|
|
3670
|
-
* @version SDK: 1.34.0 |
|
|
3753
|
+
* @version SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3671
3754
|
*/
|
|
3672
3755
|
Action["PauseScheduleHomepage"] = "pauseScheduleHomepage";
|
|
3673
3756
|
/**
|
|
3674
|
-
*
|
|
3757
|
+
* The **View run history** action **Liveboard Schedules** page.
|
|
3758
|
+
* Allows viewing schedule run history.
|
|
3675
3759
|
* @example
|
|
3676
3760
|
* ```js
|
|
3677
3761
|
* disabledActions: [Action.ViewScheduleRunHomepage]
|
|
3678
3762
|
* ```
|
|
3679
|
-
* @version SDK: 1.34.0 |
|
|
3763
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
|
|
3680
3764
|
*/
|
|
3681
3765
|
Action["ViewScheduleRunHomepage"] = "viewScheduleRunHomepage";
|
|
3682
3766
|
/**
|
|
3683
|
-
* Action ID
|
|
3767
|
+
* Action ID to hide or disable the
|
|
3768
|
+
* unsubscribe option for Liveboard schedules.
|
|
3684
3769
|
* @example
|
|
3685
3770
|
* ```js
|
|
3686
3771
|
* disabledActions: [Action.UnsubscribeScheduleHomepage]
|
|
3687
3772
|
* ```
|
|
3688
|
-
* @version SDK: 1.34.0 |
|
|
3773
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
|
|
3689
3774
|
*/
|
|
3690
3775
|
Action["UnsubscribeScheduleHomepage"] = "unsubscribeScheduleHomepage";
|
|
3691
3776
|
/**
|
|
@@ -3694,16 +3779,17 @@ var Action;
|
|
|
3694
3779
|
* ```js
|
|
3695
3780
|
* disabledActions: [Action.ManageTags]
|
|
3696
3781
|
* ```
|
|
3697
|
-
* @version SDK : 1.34.0 |
|
|
3782
|
+
* @version SDK : 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3698
3783
|
*/
|
|
3699
3784
|
Action["ManageTags"] = "manageTags";
|
|
3700
3785
|
/**
|
|
3701
|
-
*
|
|
3786
|
+
* The **Delete** action on the **Liveboard Schedules* page.
|
|
3787
|
+
* Deletes a Liveboard schedule.
|
|
3702
3788
|
* @example
|
|
3703
3789
|
* ```js
|
|
3704
3790
|
* disabledActions: [Action.DeleteScheduleHomepage]
|
|
3705
3791
|
* ```
|
|
3706
|
-
* @version SDK: 1.34.0 |
|
|
3792
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
|
|
3707
3793
|
*/
|
|
3708
3794
|
Action["DeleteScheduleHomepage"] = "deleteScheduleHomepage";
|
|
3709
3795
|
/**
|
|
@@ -3712,7 +3798,7 @@ var Action;
|
|
|
3712
3798
|
* ```js
|
|
3713
3799
|
* disabledActions: [Action.KPIAnalysisCTA]
|
|
3714
3800
|
* ```
|
|
3715
|
-
* @version SDK: 1.34.0 |
|
|
3801
|
+
* @version SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
3716
3802
|
*/
|
|
3717
3803
|
Action["KPIAnalysisCTA"] = "kpiAnalysisCTA";
|
|
3718
3804
|
/**
|
|
@@ -3721,61 +3807,73 @@ var Action;
|
|
|
3721
3807
|
* ```js
|
|
3722
3808
|
* const disabledActions = [Action.DisableChipReorder]
|
|
3723
3809
|
* ```
|
|
3724
|
-
* @version SDK: 1.36.0 |
|
|
3810
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3725
3811
|
*/
|
|
3726
3812
|
Action["DisableChipReorder"] = "disableChipReorder";
|
|
3727
3813
|
/**
|
|
3728
|
-
* Action ID
|
|
3814
|
+
* Action ID to show, hide, or disable filters
|
|
3815
|
+
* in a Liveboard tab.
|
|
3816
|
+
*
|
|
3729
3817
|
* @example
|
|
3730
3818
|
* ```js
|
|
3731
3819
|
* hiddenAction: [Action.ChangeFilterVisibilityInTab]
|
|
3732
3820
|
* ```
|
|
3733
|
-
* @version SDK: 1.36.0 |
|
|
3821
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3734
3822
|
*/
|
|
3735
3823
|
Action["ChangeFilterVisibilityInTab"] = "changeFilterVisibilityInTab";
|
|
3736
3824
|
/**
|
|
3737
|
-
*
|
|
3825
|
+
* The **Preview data** button on the Spotter interface.
|
|
3826
|
+
* Allows previewing the data used for Spotter queries.
|
|
3827
|
+
*
|
|
3738
3828
|
* @example
|
|
3739
3829
|
* ```js
|
|
3740
3830
|
* hiddenAction: [Action.PreviewDataSpotter]
|
|
3741
3831
|
* ```
|
|
3742
|
-
* @version SDK: 1.36.0 |
|
|
3832
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3743
3833
|
*/
|
|
3744
3834
|
Action["PreviewDataSpotter"] = "previewDataSpotter";
|
|
3745
3835
|
/**
|
|
3746
|
-
*
|
|
3836
|
+
* The **Reset** link on the Spotter interface.
|
|
3837
|
+
* Resets the conversation with Spotter.
|
|
3838
|
+
*
|
|
3747
3839
|
* @example
|
|
3748
3840
|
* ```js
|
|
3749
3841
|
* hiddenAction: [Action.ResetSpotterChat]
|
|
3750
3842
|
* ```
|
|
3751
|
-
* @version SDK: 1.36.0 |
|
|
3843
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3752
3844
|
*/
|
|
3753
3845
|
Action["ResetSpotterChat"] = "resetSpotterChat";
|
|
3754
3846
|
/**
|
|
3755
|
-
* Action ID for hide
|
|
3847
|
+
* Action ID for hide or disable the
|
|
3848
|
+
* Spotter feedback widget.
|
|
3849
|
+
*
|
|
3756
3850
|
* @example
|
|
3757
3851
|
* ```js
|
|
3758
3852
|
* hiddenAction: [Action.SpotterFeedback]
|
|
3759
3853
|
* ```
|
|
3760
|
-
* @version SDK: 1.36.0 |
|
|
3854
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3761
3855
|
*/
|
|
3762
3856
|
Action["SpotterFeedback"] = "spotterFeedback";
|
|
3763
3857
|
/**
|
|
3764
|
-
* Action ID for hide
|
|
3858
|
+
* Action ID for hide or disable
|
|
3859
|
+
* the previous prompt edit option in Spotter.
|
|
3860
|
+
*
|
|
3765
3861
|
* @example
|
|
3766
3862
|
* ```js
|
|
3767
3863
|
* hiddenAction: [Action.EditPreviousPrompt]
|
|
3768
3864
|
* ```
|
|
3769
|
-
* @version SDK: 1.36.0 |
|
|
3865
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3770
3866
|
*/
|
|
3771
3867
|
Action["EditPreviousPrompt"] = "editPreviousPrompt";
|
|
3772
3868
|
/**
|
|
3773
|
-
* Action ID for hide
|
|
3869
|
+
* Action ID for hide or disable
|
|
3870
|
+
* the previous prompt deletion option in Spotter.
|
|
3871
|
+
*
|
|
3774
3872
|
* @example
|
|
3775
3873
|
* ```js
|
|
3776
3874
|
* hiddenAction: [Action.DeletePreviousPrompt]
|
|
3777
3875
|
* ```
|
|
3778
|
-
* @version SDK: 1.36.0 |
|
|
3876
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3779
3877
|
*/
|
|
3780
3878
|
Action["DeletePreviousPrompt"] = "deletePreviousPrompt";
|
|
3781
3879
|
/**
|
|
@@ -3784,7 +3882,7 @@ var Action;
|
|
|
3784
3882
|
* ```js
|
|
3785
3883
|
* hiddenAction: [Action.EditTokens]
|
|
3786
3884
|
* ```
|
|
3787
|
-
* @version SDK: 1.36.0 |
|
|
3885
|
+
* @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
|
|
3788
3886
|
*/
|
|
3789
3887
|
Action["EditTokens"] = "editTokens";
|
|
3790
3888
|
})(Action || (Action = {}));
|
|
@@ -3814,7 +3912,7 @@ var LogLevel;
|
|
|
3814
3912
|
* logLevel: LogLevel.SILENT,
|
|
3815
3913
|
* })
|
|
3816
3914
|
* ```
|
|
3817
|
-
* @version SDK: 1.26.7 |
|
|
3915
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3818
3916
|
*/
|
|
3819
3917
|
LogLevel["SILENT"] = "SILENT";
|
|
3820
3918
|
/**
|
|
@@ -3826,7 +3924,7 @@ var LogLevel;
|
|
|
3826
3924
|
* logLevel: LogLevel.ERROR,
|
|
3827
3925
|
* })
|
|
3828
3926
|
* ```
|
|
3829
|
-
* @version SDK: 1.26.7 |
|
|
3927
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3830
3928
|
*/
|
|
3831
3929
|
LogLevel["ERROR"] = "ERROR";
|
|
3832
3930
|
/**
|
|
@@ -3838,7 +3936,7 @@ var LogLevel;
|
|
|
3838
3936
|
* logLevel: LogLevel.WARN,
|
|
3839
3937
|
* })
|
|
3840
3938
|
* ```
|
|
3841
|
-
* @version SDK: 1.26.7 |
|
|
3939
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3842
3940
|
*/
|
|
3843
3941
|
LogLevel["WARN"] = "WARN";
|
|
3844
3942
|
/**
|
|
@@ -3850,7 +3948,7 @@ var LogLevel;
|
|
|
3850
3948
|
* logLevel: LogLevel.INFO,
|
|
3851
3949
|
* })
|
|
3852
3950
|
* ```
|
|
3853
|
-
* @version SDK: 1.26.7 |
|
|
3951
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3854
3952
|
*/
|
|
3855
3953
|
LogLevel["INFO"] = "INFO";
|
|
3856
3954
|
/**
|
|
@@ -3862,7 +3960,7 @@ var LogLevel;
|
|
|
3862
3960
|
* logLevel: LogLevel.DEBUG,
|
|
3863
3961
|
* })
|
|
3864
3962
|
* ```
|
|
3865
|
-
* @version SDK: 1.26.7 |
|
|
3963
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3866
3964
|
*/
|
|
3867
3965
|
LogLevel["DEBUG"] = "DEBUG";
|
|
3868
3966
|
/**
|
|
@@ -3874,7 +3972,7 @@ var LogLevel;
|
|
|
3874
3972
|
* logLevel: LogLevel.TRACE,
|
|
3875
3973
|
* })
|
|
3876
3974
|
* ```
|
|
3877
|
-
* @version SDK: 1.26.7 |
|
|
3975
|
+
* @version SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl
|
|
3878
3976
|
*/
|
|
3879
3977
|
LogLevel["TRACE"] = "TRACE";
|
|
3880
3978
|
})(LogLevel || (LogLevel = {}));
|
|
@@ -7058,7 +7156,7 @@ class AnswerService {
|
|
|
7058
7156
|
async getTML() {
|
|
7059
7157
|
const { object } = await this.executeQuery(getAnswerTML, {});
|
|
7060
7158
|
const edoc = object[0].edoc;
|
|
7061
|
-
const YAML = await import('./index-
|
|
7159
|
+
const YAML = await import('./index-IDmSUe93.js');
|
|
7062
7160
|
const parsedDoc = YAML.parse(edoc);
|
|
7063
7161
|
return {
|
|
7064
7162
|
answer: {
|
|
@@ -14744,7 +14842,7 @@ function processEventData(type, e, thoughtSpotHost, containerEl) {
|
|
|
14744
14842
|
return e;
|
|
14745
14843
|
}
|
|
14746
14844
|
|
|
14747
|
-
var name="@thoughtspot/visual-embed-sdk";var version$1="1.35.
|
|
14845
|
+
var name="@thoughtspot/visual-embed-sdk";var version$1="1.35.11";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck","test-sdk":"jest -c jest.config.sdk.js --runInBand",test:"npm run test-sdk",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest",dev:"vite -c vite.local.config.ts"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-comment-length":"1.7.3","eslint-plugin-jsdoc":"^46.9.0","fs-extra":"^10.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^5.3.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"31 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
|
|
14748
14846
|
|
|
14749
14847
|
/**
|
|
14750
14848
|
* Reloads the ThoughtSpot iframe.
|
|
@@ -14809,7 +14907,7 @@ var UIPassthroughEvent;
|
|
|
14809
14907
|
UIPassthroughEvent["PinAnswerToLiveboard"] = "addVizToPinboard";
|
|
14810
14908
|
UIPassthroughEvent["SaveAnswer"] = "saveAnswer";
|
|
14811
14909
|
UIPassthroughEvent["GetDiscoverabilityStatus"] = "getDiscoverabilityStatus";
|
|
14812
|
-
UIPassthroughEvent["GetAvailableUIPassthroughs"] = "
|
|
14910
|
+
UIPassthroughEvent["GetAvailableUIPassthroughs"] = "getAvailableUiPassthroughs";
|
|
14813
14911
|
UIPassthroughEvent["GetAnswerConfig"] = "getAnswerPageConfig";
|
|
14814
14912
|
UIPassthroughEvent["GetLiveboardConfig"] = "getPinboardPageConfig";
|
|
14815
14913
|
})(UIPassthroughEvent || (UIPassthroughEvent = {}));
|
|
@@ -16543,7 +16641,7 @@ class LiveboardEmbed extends V1Embed {
|
|
|
16543
16641
|
* @param messageType The event type
|
|
16544
16642
|
* @param data The payload to send with the message
|
|
16545
16643
|
*/
|
|
16546
|
-
trigger(messageType, data) {
|
|
16644
|
+
trigger(messageType, data = {}) {
|
|
16547
16645
|
const dataWithVizId = data;
|
|
16548
16646
|
if (messageType === HostEvent.SetActiveTab) {
|
|
16549
16647
|
this.setActiveTab(data);
|