@thoughtspot/visual-embed-sdk 1.42.3 → 1.43.0
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/types.d.ts +137 -68
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +137 -68
- package/cjs/src/types.js.map +1 -1
- package/dist/{index-SVcLgSqi.js → index-HZ94j9Ey.js} +1 -1
- package/dist/src/types.d.ts +137 -68
- package/dist/src/types.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +140 -71
- package/dist/tsembed-react.js +139 -70
- package/dist/tsembed.es.js +140 -71
- package/dist/tsembed.js +139 -70
- package/dist/visual-embed-sdk-react-full.d.ts +137 -68
- package/dist/visual-embed-sdk-react.d.ts +137 -68
- package/dist/visual-embed-sdk.d.ts +137 -68
- package/lib/package.json +1 -1
- package/lib/src/types.d.ts +137 -68
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +137 -68
- package/lib/src/types.js.map +1 -1
- package/package.json +1 -1
- package/src/types.ts +137 -68
package/dist/tsembed-react.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @thoughtspot/visual-embed-sdk version 1.
|
|
1
|
+
/* @thoughtspot/visual-embed-sdk version 1.43.0 */
|
|
2
2
|
'use client';
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) :
|
|
@@ -636,7 +636,7 @@
|
|
|
636
636
|
*/
|
|
637
637
|
EmbedEvent["Load"] = "load";
|
|
638
638
|
/**
|
|
639
|
-
* Data pertaining to an Answer or
|
|
639
|
+
* Data pertaining to an Answer, Liveboard or Spotter visualization is received.
|
|
640
640
|
* The event payload includes the raw data of the object.
|
|
641
641
|
* @return data - Answer of Liveboard data
|
|
642
642
|
* @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
|
|
@@ -1055,6 +1055,17 @@
|
|
|
1055
1055
|
*```
|
|
1056
1056
|
*/
|
|
1057
1057
|
EmbedEvent["AnswerDelete"] = "answerDelete";
|
|
1058
|
+
/**
|
|
1059
|
+
* Emitted when the AI Highlights action is triggered on a Liveboard
|
|
1060
|
+
* @version SDK: 1.44.0 | ThoughtSpot: 10.15.0.cl
|
|
1061
|
+
* @example
|
|
1062
|
+
*```js
|
|
1063
|
+
* liveboardEmbed.on(EmbedEvent.AIHighlights, (payload) => {
|
|
1064
|
+
* console.log('AI Highlights', payload);
|
|
1065
|
+
* })
|
|
1066
|
+
*```
|
|
1067
|
+
*/
|
|
1068
|
+
EmbedEvent["AIHighlights"] = "AIHighlights";
|
|
1058
1069
|
/**
|
|
1059
1070
|
* Emitted when a user initiates the Pin action to
|
|
1060
1071
|
* add an Answer to a Liveboard.
|
|
@@ -2005,7 +2016,7 @@
|
|
|
2005
2016
|
* the following parameters:
|
|
2006
2017
|
*
|
|
2007
2018
|
* @param
|
|
2008
|
-
* `vizId`- GUID of the saved Answer or visualization to pin to a Liveboard.
|
|
2019
|
+
* `vizId`- GUID of the saved Answer or Spotter visualization ID to pin to a Liveboard.
|
|
2009
2020
|
* Optional when pinning a new chart or table generated from a Search query.
|
|
2010
2021
|
* **Required** in Spotter Embed.
|
|
2011
2022
|
* @param
|
|
@@ -2057,10 +2068,16 @@
|
|
|
2057
2068
|
* ```
|
|
2058
2069
|
* @example
|
|
2059
2070
|
* ```js
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2071
|
+
|
|
2072
|
+
* // You can use the Data event dispatched on each answer creation to get the vizId and use in Pin host event.
|
|
2073
|
+
* let latestSpotterVizId = '';
|
|
2074
|
+
* spotterEmbed.on(EmbedEvent.Data, (payload) => {
|
|
2075
|
+
* latestSpotterVizId = payload.data.id;
|
|
2076
|
+
* });
|
|
2077
|
+
*
|
|
2078
|
+
* spotterEmbed.trigger(HostEvent.Pin, { vizId: latestSpotterVizId });
|
|
2079
|
+
* ```
|
|
2080
|
+
*
|
|
2064
2081
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
2065
2082
|
*/
|
|
2066
2083
|
HostEvent["Pin"] = "pin";
|
|
@@ -2135,14 +2152,29 @@
|
|
|
2135
2152
|
* ```
|
|
2136
2153
|
* @example
|
|
2137
2154
|
* ```js
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2155
|
+
|
|
2156
|
+
* // You can use the Data event dispatched on each answer creation to get the vizId and use in DownloadAsPdf host event.
|
|
2157
|
+
* let latestSpotterVizId = '';
|
|
2158
|
+
* spotterEmbed.on(EmbedEvent.Data, (payload) => {
|
|
2159
|
+
* latestSpotterVizId = payload.data.id;
|
|
2160
|
+
* });
|
|
2161
|
+
*
|
|
2162
|
+
* spotterEmbed.trigger(HostEvent.DownloadAsPdf, { vizId: latestSpotterVizId });
|
|
2163
|
+
* ```
|
|
2142
2164
|
*
|
|
2143
2165
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
2144
2166
|
*/
|
|
2145
2167
|
HostEvent["DownloadAsPdf"] = "downloadAsPdf";
|
|
2168
|
+
/**
|
|
2169
|
+
* Trigger the **AI Highlights** action on an embedded Liveboard
|
|
2170
|
+
*
|
|
2171
|
+
* @example
|
|
2172
|
+
* ```js
|
|
2173
|
+
* liveboardEmbed.trigger(HostEvent.AIHighlights)
|
|
2174
|
+
* ```
|
|
2175
|
+
* @version SDK: 1.44.0 | ThoughtSpot: 10.15.0.cl
|
|
2176
|
+
*/
|
|
2177
|
+
HostEvent["AIHighlights"] = "AIHighlights";
|
|
2146
2178
|
/**
|
|
2147
2179
|
* Trigger the **Make a copy** action on a Liveboard,
|
|
2148
2180
|
* visualization, or Answer page.
|
|
@@ -2165,10 +2197,14 @@
|
|
|
2165
2197
|
* ```
|
|
2166
2198
|
* @example
|
|
2167
2199
|
* ```js
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2200
|
+
* // You can use the Data event dispatched on each answer creation to get the vizId and use in MakeACopy host event.
|
|
2201
|
+
* let latestSpotterVizId = '';
|
|
2202
|
+
* spotterEmbed.on(EmbedEvent.Data, (payload) => {
|
|
2203
|
+
* latestSpotterVizId = payload.data.id;
|
|
2204
|
+
* });
|
|
2205
|
+
*
|
|
2206
|
+
* spotterEmbed.trigger(HostEvent.MakeACopy, { vizId: latestSpotterVizId });
|
|
2207
|
+
* ```
|
|
2172
2208
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
2173
2209
|
*/
|
|
2174
2210
|
HostEvent["MakeACopy"] = "makeACopy";
|
|
@@ -2253,15 +2289,7 @@
|
|
|
2253
2289
|
* ```
|
|
2254
2290
|
* @example
|
|
2255
2291
|
* ```js
|
|
2256
|
-
*
|
|
2257
|
-
* vizId:'730496d6-6903-4601-937e-2c691821af3c'
|
|
2258
|
-
* });
|
|
2259
|
-
* ```
|
|
2260
|
-
* @example
|
|
2261
|
-
* ```js
|
|
2262
|
-
* const editResponse = await spotterEmbed.trigger(HostEvent.Edit, {
|
|
2263
|
-
* vizId:'730496d6-6903-4601-937e-2c691821af3c'
|
|
2264
|
-
* });
|
|
2292
|
+
* spotterEmbed.trigger(HostEvent.Edit);
|
|
2265
2293
|
* ```
|
|
2266
2294
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
2267
2295
|
*/
|
|
@@ -2310,16 +2338,23 @@
|
|
|
2310
2338
|
* );
|
|
2311
2339
|
* })
|
|
2312
2340
|
* ```
|
|
2313
|
-
* @example
|
|
2341
|
+
* * @example
|
|
2314
2342
|
* ```js
|
|
2315
|
-
|
|
2316
|
-
|
|
2343
|
+
|
|
2344
|
+
* // You can use the Data event dispatched on each answer creation to get the vizId and use in Pin host event.
|
|
2345
|
+
* let latestSpotterVizId = '';
|
|
2346
|
+
* spotterEmbed.on(EmbedEvent.Data, (payload) => {
|
|
2347
|
+
* latestSpotterVizId = payload.data.id;
|
|
2348
|
+
* });
|
|
2349
|
+
*
|
|
2350
|
+
* spotterEmbed.trigger(HostEvent.GetTML, {
|
|
2351
|
+
* vizId: latestSpotterVizId
|
|
2317
2352
|
* }).then((tml) => {
|
|
2318
2353
|
* console.log(
|
|
2319
2354
|
* tml.answer.search_query // TML representation of the search query
|
|
2320
2355
|
* );
|
|
2321
2356
|
* })
|
|
2322
|
-
|
|
2357
|
+
* ```
|
|
2323
2358
|
* @version SDK: 1.18.0 | ThoughtSpot: 8.10.0.cl, 9.0.1.sw
|
|
2324
2359
|
* @important
|
|
2325
2360
|
*/
|
|
@@ -2383,7 +2418,7 @@
|
|
|
2383
2418
|
/**
|
|
2384
2419
|
* Trigger the **Download** action on charts in
|
|
2385
2420
|
* the embedded view.
|
|
2386
|
-
* @param - `vizId` refers to the
|
|
2421
|
+
* @param - `vizId` refers to the Visualization ID in Spotter embed and is required in Spotter embed.
|
|
2387
2422
|
* @example
|
|
2388
2423
|
* ```js
|
|
2389
2424
|
* liveboardEmbed.trigger(HostEvent.Download, {vizId:
|
|
@@ -2393,10 +2428,14 @@
|
|
|
2393
2428
|
* embed.trigger(HostEvent.Download)
|
|
2394
2429
|
* ```
|
|
2395
2430
|
* ```js
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2431
|
+
* // You can use the Data event dispatched on each answer creation to get the vizId and use in Download host event.
|
|
2432
|
+
* let latestSpotterVizId = '';
|
|
2433
|
+
* spotterEmbed.on(EmbedEvent.Data, (payload) => {
|
|
2434
|
+
* latestSpotterVizId = payload.data.id;
|
|
2435
|
+
* });
|
|
2436
|
+
*
|
|
2437
|
+
* spotterEmbed.trigger(HostEvent.Download, { vizId: latestSpotterVizId });
|
|
2438
|
+
* ```
|
|
2400
2439
|
* @deprecated from SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl ,9.4.1.sw
|
|
2401
2440
|
* Use {@link DownloadAsPng}
|
|
2402
2441
|
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
|
|
@@ -2414,9 +2453,13 @@
|
|
|
2414
2453
|
*
|
|
2415
2454
|
* searchEmbed.trigger(HostEvent.DownloadAsPng)
|
|
2416
2455
|
*
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2456
|
+
* // You can use the Data event dispatched on each answer creation to get the vizId and use in DownloadAsPng host event.
|
|
2457
|
+
* let latestSpotterVizId = '';
|
|
2458
|
+
* spotterEmbed.on(EmbedEvent.Data, (payload) => {
|
|
2459
|
+
* latestSpotterVizId = payload.data.id;
|
|
2460
|
+
* });
|
|
2461
|
+
*
|
|
2462
|
+
* spotterEmbed.trigger(HostEvent.DownloadAsPng, { vizId: latestSpotterVizId });
|
|
2420
2463
|
* ```
|
|
2421
2464
|
*
|
|
2422
2465
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.4.1.sw
|
|
@@ -2425,7 +2468,7 @@
|
|
|
2425
2468
|
/**
|
|
2426
2469
|
* Trigger the **Download** > **CSV** action on tables in
|
|
2427
2470
|
* the embedded view.
|
|
2428
|
-
* @param - `vizId` refers to the
|
|
2471
|
+
* @param - `vizId` refers to the Visualization ID in Spotter embed and is required in Spotter embed.
|
|
2429
2472
|
* @example
|
|
2430
2473
|
* ```js
|
|
2431
2474
|
* liveboardEmbed.trigger(HostEvent.DownloadAsCsv, {vizId:
|
|
@@ -2438,9 +2481,13 @@
|
|
|
2438
2481
|
* searchEmbed.trigger(HostEvent.DownloadAsCsv)
|
|
2439
2482
|
* ```
|
|
2440
2483
|
* ```js
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2484
|
+
* // You can use the Data event dispatched on each answer creation to get the vizId and use in DownloadAsCsv host event.
|
|
2485
|
+
* let latestSpotterVizId = '';
|
|
2486
|
+
* spotterEmbed.on(EmbedEvent.Data, (payload) => {
|
|
2487
|
+
* latestSpotterVizId = payload.data.id;
|
|
2488
|
+
* });
|
|
2489
|
+
*
|
|
2490
|
+
* spotterEmbed.trigger(HostEvent.DownloadAsCsv, { vizId: latestSpotterVizId });
|
|
2444
2491
|
* ```
|
|
2445
2492
|
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
|
|
2446
2493
|
*/
|
|
@@ -2448,7 +2495,7 @@
|
|
|
2448
2495
|
/**
|
|
2449
2496
|
* Trigger the **Download** > **XLSX** action on tables
|
|
2450
2497
|
* in the embedded view.
|
|
2451
|
-
* @param - `vizId` refers to the
|
|
2498
|
+
* @param - `vizId` refers to the Visualization ID in Spotter embed and is required in Spotter embed.
|
|
2452
2499
|
* @example
|
|
2453
2500
|
* ```js
|
|
2454
2501
|
* liveboardEmbed.trigger(HostEvent.DownloadAsXlsx, {vizId:
|
|
@@ -2461,9 +2508,13 @@
|
|
|
2461
2508
|
* searchEmbed.trigger(HostEvent.DownloadAsXlsx)
|
|
2462
2509
|
* ```
|
|
2463
2510
|
* ```js
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2511
|
+
* // You can use the Data event dispatched on each answer creation to get the vizId and use in DownloadAsXlsx host event.
|
|
2512
|
+
* let latestSpotterVizId = '';
|
|
2513
|
+
* spotterEmbed.on(EmbedEvent.Data, (payload) => {
|
|
2514
|
+
* latestSpotterVizId = payload.data.id;
|
|
2515
|
+
* });
|
|
2516
|
+
*
|
|
2517
|
+
* spotterEmbed.trigger(HostEvent.DownloadAsXlsx, { vizId: latestSpotterVizId });
|
|
2467
2518
|
* ```
|
|
2468
2519
|
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
|
|
2469
2520
|
*/
|
|
@@ -2500,7 +2551,7 @@
|
|
|
2500
2551
|
* ```
|
|
2501
2552
|
*
|
|
2502
2553
|
* ```js
|
|
2503
|
-
* // Save
|
|
2554
|
+
* // Save a Visualization in Spotter (requires vizId)
|
|
2504
2555
|
* spotterEmbed.trigger(HostEvent.Save, {
|
|
2505
2556
|
* vizId: "730496d6-6903-4601-937e-2c691821af3c"
|
|
2506
2557
|
* })
|
|
@@ -2801,15 +2852,21 @@
|
|
|
2801
2852
|
HostEvent["ResetLiveboardPersonalisedView"] = "ResetLiveboardPersonalisedView";
|
|
2802
2853
|
/**
|
|
2803
2854
|
* Triggers an action to update Parameter values on embedded
|
|
2804
|
-
* Answers, Liveboard and Spotter answer in Edit mode.
|
|
2855
|
+
* Answers, Liveboard, and Spotter answer in Edit mode.
|
|
2856
|
+
* @param - `name` - Name of the Parameter
|
|
2857
|
+
* @param - `value` - The value to set for the Parameter.
|
|
2858
|
+
*
|
|
2859
|
+
* Optionally, to control the visibility of the Parameter chip,
|
|
2860
|
+
* use the `isVisibleToUser` attribute when applying an override.
|
|
2805
2861
|
*
|
|
2806
2862
|
* @example
|
|
2807
2863
|
* ```js
|
|
2808
2864
|
* liveboardEmbed.trigger(HostEvent.UpdateParameters, [{
|
|
2809
|
-
*
|
|
2810
|
-
*
|
|
2865
|
+
* name: "Integer Range Param",
|
|
2866
|
+
* value: 10,
|
|
2867
|
+
* isVisibleToUser: false
|
|
2811
2868
|
* }])
|
|
2812
|
-
*
|
|
2869
|
+
* ```
|
|
2813
2870
|
* @version SDK: 1.29.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
2814
2871
|
*/
|
|
2815
2872
|
HostEvent["UpdateParameters"] = "UpdateParameters";
|
|
@@ -2822,11 +2879,13 @@
|
|
|
2822
2879
|
* });
|
|
2823
2880
|
*```
|
|
2824
2881
|
*```js
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2882
|
+
* // You can use the Data event dispatched on each answer creation to get the vizId and use in GetParameters host event.
|
|
2883
|
+
* let latestSpotterVizId = '';
|
|
2884
|
+
* spotterEmbed.on(EmbedEvent.Data, (payload) => {
|
|
2885
|
+
* latestSpotterVizId = payload.data.id;
|
|
2886
|
+
* });
|
|
2887
|
+
*
|
|
2888
|
+
* spotterEmbed.trigger(HostEvent.GetParameters, { vizId: latestSpotterVizId });
|
|
2830
2889
|
*```
|
|
2831
2890
|
* @version SDK: 1.29.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
2832
2891
|
*/
|
|
@@ -2856,10 +2915,11 @@
|
|
|
2856
2915
|
* If no parameters are specified, the save action is
|
|
2857
2916
|
* triggered with a modal to prompt users to
|
|
2858
2917
|
* add a name and description for the Answer.
|
|
2859
|
-
* @param -
|
|
2860
|
-
*
|
|
2861
|
-
*
|
|
2862
|
-
* @param - `
|
|
2918
|
+
* @param - `vizId` refers to the Answer ID in Spotter embed
|
|
2919
|
+
* and is required in Spotter embed.
|
|
2920
|
+
* Optional attributes to set Answer properties include:
|
|
2921
|
+
* @param - `name` - Name string for the Answer.
|
|
2922
|
+
* @param - `description` - Description text for the Answer.
|
|
2863
2923
|
* @example
|
|
2864
2924
|
* ```js
|
|
2865
2925
|
* const saveAnswerResponse = await searchEmbed.trigger(HostEvent.SaveAnswer, {
|
|
@@ -2869,11 +2929,13 @@
|
|
|
2869
2929
|
* ```
|
|
2870
2930
|
* @example
|
|
2871
2931
|
* ```js
|
|
2872
|
-
*
|
|
2873
|
-
*
|
|
2874
|
-
*
|
|
2875
|
-
*
|
|
2932
|
+
* // You can use the Data event dispatched on each answer creation to get the vizId and use in SaveAnswer host event.
|
|
2933
|
+
* let latestSpotterVizId = '';
|
|
2934
|
+
* spotterEmbed.on(EmbedEvent.Data, (payload) => {
|
|
2935
|
+
* latestSpotterVizId = payload.data.id;
|
|
2876
2936
|
* });
|
|
2937
|
+
*
|
|
2938
|
+
* spotterEmbed.trigger(HostEvent.SaveAnswer, { vizId: latestSpotterVizId });
|
|
2877
2939
|
* ```
|
|
2878
2940
|
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
|
|
2879
2941
|
*/
|
|
@@ -2957,12 +3019,15 @@
|
|
|
2957
3019
|
HostEvent["DeleteLastPrompt"] = "DeleteLastPrompt";
|
|
2958
3020
|
/**
|
|
2959
3021
|
* Toggle the visualization to chart or table view.
|
|
2960
|
-
* @param - `vizId ` refers to the
|
|
3022
|
+
* @param - `vizId ` refers to the Visualization ID in Spotter embed and is required.
|
|
2961
3023
|
* @example
|
|
2962
3024
|
* ```js
|
|
2963
|
-
*
|
|
2964
|
-
*
|
|
3025
|
+
* let latestSpotterVizId = '';
|
|
3026
|
+
* spotterEmbed.on(EmbedEvent.Data, (payload) => {
|
|
3027
|
+
* latestSpotterVizId = payload.data.id;
|
|
2965
3028
|
* });
|
|
3029
|
+
*
|
|
3030
|
+
* spotterEmbed.trigger(HostEvent.AnswerChartSwitcher, { vizId: latestSpotterVizId });
|
|
2966
3031
|
*```
|
|
2967
3032
|
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
2968
3033
|
*/
|
|
@@ -2991,12 +3056,16 @@
|
|
|
2991
3056
|
*/
|
|
2992
3057
|
HostEvent["VisibleEmbedCoordinates"] = "visibleEmbedCoordinates";
|
|
2993
3058
|
/**
|
|
2994
|
-
* Trigger the *
|
|
2995
|
-
* @param - `vizId` refers to the
|
|
3059
|
+
* Trigger the *Spotter* action for visualizations present on the liveboard's vizzes.
|
|
3060
|
+
* @param - `vizId` refers to the Visualization ID in Spotter embed and is required.
|
|
2996
3061
|
* @example
|
|
2997
3062
|
* ```js
|
|
2998
|
-
*
|
|
2999
|
-
* {
|
|
3063
|
+
* let latestSpotterVizId = '';
|
|
3064
|
+
* spotterEmbed.on(EmbedEvent.Data, (payload) => {
|
|
3065
|
+
* latestSpotterVizId = payload.data.id;
|
|
3066
|
+
* });
|
|
3067
|
+
*
|
|
3068
|
+
* spotterEmbed.trigger(HostEvent.AskSpotter, { vizId: latestSpotterVizId });
|
|
3000
3069
|
* ```
|
|
3001
3070
|
* @version SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl
|
|
3002
3071
|
*/
|
|
@@ -17484,7 +17553,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
17484
17553
|
return e;
|
|
17485
17554
|
}
|
|
17486
17555
|
|
|
17487
|
-
var name="@thoughtspot/visual-embed-sdk";var version$1="1.
|
|
17556
|
+
var name="@thoughtspot/visual-embed-sdk";var version$1="1.43.0";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 tsconfig.build.json --incremental false; tsc -p tsconfig.build.json --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle-generator --config ./dts-config/dts-bundle-file.config.js","bundle-dts":"dts-bundle-generator --config ./dts-config/dts-bundle.config.js","bundle-dts-react":"dts-bundle-generator --config ./dts-config/dts-bundle-react.config.js","bundle-dts-react-full":"dts-bundle-generator --config ./dts-config/dts-bundle-react-full.config.js",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.build.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 | npx coveralls-next","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={classnames:"^2.3.1",eventemitter3:"^4.0.7",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":"^11.2.0","@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":"^8.28.0","@typescript-eslint/parser":"^8.28.0",ajv:"^8.17.1",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1","coveralls-next":"^5.0.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle-generator":"^9.5.1",eslint:"^9.23.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-prettier":"^10.1.1","eslint-import-resolver-typescript":"^4.2.5","eslint-plugin-comment-length":"2.2.1","eslint-plugin-import":"^2.31.0","eslint-plugin-jsdoc":"^50.6.9","eslint-plugin-prettier":"^5.2.5","eslint-plugin-react":"^7.37.5","eslint-plugin-react-hooks":"^5.2.0","fs-extra":"^10.0.0","gh-pages":"6.3.0",globals:"^16.0.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^2.0.0",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.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","typescript-eslint":"^8.29.1","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^6.3.5"};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:"32 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};
|
|
17488
17557
|
|
|
17489
17558
|
/**
|
|
17490
17559
|
* Reloads the ThoughtSpot iframe.
|