@thoughtspot/visual-embed-sdk 1.53.1 → 1.53.2-beta
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/auth.d.ts.map +1 -1
- package/cjs/src/auth.js +25 -6
- package/cjs/src/auth.js.map +1 -1
- package/cjs/src/auth.spec.js +40 -8
- package/cjs/src/auth.spec.js.map +1 -1
- package/cjs/src/contracts/contracts.spec.js +165 -2
- package/cjs/src/contracts/contracts.spec.js.map +1 -1
- package/cjs/src/contracts/embed-event-payloads.d.ts +212 -14
- package/cjs/src/contracts/embed-event-payloads.d.ts.map +1 -1
- package/cjs/src/contracts/host-event-contracts.d.ts +1 -0
- package/cjs/src/contracts/host-event-contracts.d.ts.map +1 -1
- package/cjs/src/css-variables.d.ts +140 -0
- package/cjs/src/css-variables.d.ts.map +1 -1
- package/cjs/src/embed/auto-frame-renderer.d.ts +14 -1
- package/cjs/src/embed/auto-frame-renderer.d.ts.map +1 -1
- package/cjs/src/embed/auto-frame-renderer.js +91 -2
- package/cjs/src/embed/auto-frame-renderer.js.map +1 -1
- package/cjs/src/embed/auto-frame-renderer.spec.js +112 -7
- package/cjs/src/embed/auto-frame-renderer.spec.js.map +1 -1
- package/cjs/src/embed/host-events.spec.js +18 -0
- package/cjs/src/embed/host-events.spec.js.map +1 -1
- package/cjs/src/embed/liveboard.spec.js +42 -0
- package/cjs/src/embed/liveboard.spec.js.map +1 -1
- package/cjs/src/react/util.d.ts +8 -1
- package/cjs/src/react/util.d.ts.map +1 -1
- package/cjs/src/react/util.js.map +1 -1
- package/cjs/src/types.d.ts +181 -1
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +180 -0
- package/cjs/src/types.js.map +1 -1
- package/dist/{index-CrBnZBZv.js → index-DQ7r5f1z.js} +1 -1
- package/dist/src/auth.d.ts.map +1 -1
- package/dist/src/contracts/embed-event-payloads.d.ts +212 -14
- package/dist/src/contracts/embed-event-payloads.d.ts.map +1 -1
- package/dist/src/contracts/host-event-contracts.d.ts +1 -0
- package/dist/src/contracts/host-event-contracts.d.ts.map +1 -1
- package/dist/src/css-variables.d.ts +140 -0
- package/dist/src/css-variables.d.ts.map +1 -1
- package/dist/src/embed/auto-frame-renderer.d.ts +14 -1
- package/dist/src/embed/auto-frame-renderer.d.ts.map +1 -1
- package/dist/src/react/util.d.ts +8 -1
- package/dist/src/react/util.d.ts.map +1 -1
- package/dist/src/types.d.ts +181 -1
- package/dist/src/types.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +230 -9
- package/dist/tsembed-react.js +229 -8
- package/dist/tsembed.es.js +298 -10
- package/dist/tsembed.js +297 -9
- package/dist/visual-embed-sdk-react-full.d.ts +534 -13
- package/dist/visual-embed-sdk-react.d.ts +531 -11
- package/dist/visual-embed-sdk.d.ts +527 -12
- package/lib/package.json +1 -1
- package/lib/src/auth.d.ts.map +1 -1
- package/lib/src/auth.js +25 -6
- package/lib/src/auth.js.map +1 -1
- package/lib/src/auth.spec.js +40 -8
- package/lib/src/auth.spec.js.map +1 -1
- package/lib/src/contracts/contracts.spec.js +165 -2
- package/lib/src/contracts/contracts.spec.js.map +1 -1
- package/lib/src/contracts/embed-event-payloads.d.ts +212 -14
- package/lib/src/contracts/embed-event-payloads.d.ts.map +1 -1
- package/lib/src/contracts/host-event-contracts.d.ts +1 -0
- package/lib/src/contracts/host-event-contracts.d.ts.map +1 -1
- package/lib/src/css-variables.d.ts +140 -0
- package/lib/src/css-variables.d.ts.map +1 -1
- package/lib/src/embed/auto-frame-renderer.d.ts +14 -1
- package/lib/src/embed/auto-frame-renderer.d.ts.map +1 -1
- package/lib/src/embed/auto-frame-renderer.js +91 -2
- package/lib/src/embed/auto-frame-renderer.js.map +1 -1
- package/lib/src/embed/auto-frame-renderer.spec.js +113 -8
- package/lib/src/embed/auto-frame-renderer.spec.js.map +1 -1
- package/lib/src/embed/host-events.spec.js +18 -0
- package/lib/src/embed/host-events.spec.js.map +1 -1
- package/lib/src/embed/liveboard.spec.js +42 -0
- package/lib/src/embed/liveboard.spec.js.map +1 -1
- package/lib/src/react/util.d.ts +8 -1
- package/lib/src/react/util.d.ts.map +1 -1
- package/lib/src/react/util.js.map +1 -1
- package/lib/src/types.d.ts +181 -1
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +180 -0
- package/lib/src/types.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +527 -12
- package/package.json +1 -1
- package/src/auth.spec.ts +47 -11
- package/src/auth.ts +35 -6
- package/src/contracts/contracts.spec.ts +182 -3
- package/src/contracts/embed-event-payloads.ts +281 -14
- package/src/contracts/host-event-contracts.ts +1 -0
- package/src/css-variables.ts +168 -0
- package/src/embed/auto-frame-renderer.spec.ts +134 -8
- package/src/embed/auto-frame-renderer.ts +103 -2
- package/src/embed/host-events.spec.ts +24 -0
- package/src/embed/liveboard.spec.ts +45 -0
- package/src/react/util.ts +13 -1
- package/src/types.ts +181 -0
package/dist/tsembed-react.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @thoughtspot/visual-embed-sdk version 1.53.
|
|
1
|
+
/* @thoughtspot/visual-embed-sdk version 1.53.2-beta */
|
|
2
2
|
'use client';
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) :
|
|
@@ -678,6 +678,7 @@
|
|
|
678
678
|
* })
|
|
679
679
|
* ```
|
|
680
680
|
* @returns isLoggedIn - A Boolean specifying whether authentication was successful.
|
|
681
|
+
* Payload: {@link AuthInitPayload}.
|
|
681
682
|
*/
|
|
682
683
|
EmbedEvent["AuthInit"] = "authInit";
|
|
683
684
|
/**
|
|
@@ -697,6 +698,7 @@
|
|
|
697
698
|
/**
|
|
698
699
|
* Data pertaining to an Answer, Liveboard or Spotter visualization is received.
|
|
699
700
|
* The event payload includes the raw data of the object.
|
|
701
|
+
* Payload: {@link DataEventPayload}.
|
|
700
702
|
* @return data - Answer of Liveboard data
|
|
701
703
|
* @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
|
|
702
704
|
* @example
|
|
@@ -710,6 +712,7 @@
|
|
|
710
712
|
EmbedEvent["Data"] = "data";
|
|
711
713
|
/**
|
|
712
714
|
* Search query has been updated by the user.
|
|
715
|
+
* Payload: {@link QueryChangedPayload} or a string.
|
|
713
716
|
* @version SDK: 1.4.0 | ThoughtSpot: ts7.sep.cl, 8.4.1.sw
|
|
714
717
|
* @example
|
|
715
718
|
* ```js
|
|
@@ -752,6 +755,7 @@
|
|
|
752
755
|
* })
|
|
753
756
|
* })
|
|
754
757
|
* ```
|
|
758
|
+
* Payload: {@link DrilldownPayload}.
|
|
755
759
|
*/
|
|
756
760
|
EmbedEvent["Drilldown"] = "drillDown";
|
|
757
761
|
/**
|
|
@@ -764,6 +768,7 @@
|
|
|
764
768
|
* console.log('DataSourceSelected', payload);
|
|
765
769
|
* })
|
|
766
770
|
* ```
|
|
771
|
+
* Payload: {@link DataSourceSelectedPayload} or string[].
|
|
767
772
|
*/
|
|
768
773
|
EmbedEvent["DataSourceSelected"] = "dataSourceSelected";
|
|
769
774
|
/**
|
|
@@ -776,6 +781,7 @@
|
|
|
776
781
|
* console.log('AddRemoveColumns', payload);
|
|
777
782
|
* })
|
|
778
783
|
* ```
|
|
784
|
+
* Payload: string[].
|
|
779
785
|
*/
|
|
780
786
|
EmbedEvent["AddRemoveColumns"] = "addRemoveColumns";
|
|
781
787
|
/**
|
|
@@ -793,6 +799,7 @@
|
|
|
793
799
|
* }
|
|
794
800
|
* })
|
|
795
801
|
* ```
|
|
802
|
+
* Payload: {@link CustomActionPayload} (on() enriches it to {@link CustomActionEventPayload}).
|
|
796
803
|
*/
|
|
797
804
|
EmbedEvent["CustomAction"] = "customAction";
|
|
798
805
|
/**
|
|
@@ -805,6 +812,7 @@
|
|
|
805
812
|
* console.log('VizPointDoubleClick', payload);
|
|
806
813
|
* })
|
|
807
814
|
* ```
|
|
815
|
+
* Payload: {@link VizInteractionPayload}.
|
|
808
816
|
*/
|
|
809
817
|
EmbedEvent["VizPointDoubleClick"] = "vizPointDoubleClick";
|
|
810
818
|
/**
|
|
@@ -824,6 +832,7 @@
|
|
|
824
832
|
* )
|
|
825
833
|
* });
|
|
826
834
|
* ```
|
|
835
|
+
* Payload: {@link VizInteractionPayload}.
|
|
827
836
|
*/
|
|
828
837
|
EmbedEvent["VizPointClick"] = "vizPointClick";
|
|
829
838
|
/**
|
|
@@ -876,6 +885,7 @@
|
|
|
876
885
|
* // { errorType: "API", message: '...', code: '...' }
|
|
877
886
|
* });
|
|
878
887
|
* ```
|
|
888
|
+
* Payload: {@link EmbedErrorPayload} or a string.
|
|
879
889
|
*/
|
|
880
890
|
EmbedEvent["Error"] = "Error";
|
|
881
891
|
/**
|
|
@@ -926,6 +936,7 @@
|
|
|
926
936
|
* The center of visible iframe viewport is calculated.
|
|
927
937
|
* @returns data - The center of the visible Iframe viewport.
|
|
928
938
|
* @hidden
|
|
939
|
+
* Payload: none.
|
|
929
940
|
*/
|
|
930
941
|
EmbedEvent["EmbedIframeCenter"] = "EmbedIframeCenter";
|
|
931
942
|
/**
|
|
@@ -982,6 +993,7 @@
|
|
|
982
993
|
* console.log('dialog open', payload);
|
|
983
994
|
* })
|
|
984
995
|
* ```
|
|
996
|
+
* Payload: none.
|
|
985
997
|
*/
|
|
986
998
|
EmbedEvent["DialogOpen"] = "dialog-open";
|
|
987
999
|
/**
|
|
@@ -993,6 +1005,7 @@
|
|
|
993
1005
|
* console.log('dialog close', payload);
|
|
994
1006
|
* })
|
|
995
1007
|
* ```
|
|
1008
|
+
* Payload: none.
|
|
996
1009
|
*/
|
|
997
1010
|
EmbedEvent["DialogClose"] = "dialog-close";
|
|
998
1011
|
/**
|
|
@@ -1015,6 +1028,7 @@
|
|
|
1015
1028
|
* embed.trigger(HostEvent.SetVisibleVizs, ['viz1', 'viz2']);
|
|
1016
1029
|
* };
|
|
1017
1030
|
* ```
|
|
1031
|
+
* Payload: none.
|
|
1018
1032
|
*/
|
|
1019
1033
|
EmbedEvent["LiveboardRendered"] = "PinboardRendered";
|
|
1020
1034
|
/**
|
|
@@ -1045,6 +1059,7 @@
|
|
|
1045
1059
|
* console.log('Save', payload)
|
|
1046
1060
|
* })
|
|
1047
1061
|
* ```
|
|
1062
|
+
* Payload: {@link SaveEventPayload}.
|
|
1048
1063
|
*/
|
|
1049
1064
|
EmbedEvent["Save"] = "save";
|
|
1050
1065
|
/**
|
|
@@ -1061,6 +1076,7 @@
|
|
|
1061
1076
|
* vizId: '730496d6-6903-4601-937e-2c691821af3c'
|
|
1062
1077
|
* })
|
|
1063
1078
|
* ```
|
|
1079
|
+
* Payload: {@link VizScope}.
|
|
1064
1080
|
*/
|
|
1065
1081
|
EmbedEvent["Download"] = "download";
|
|
1066
1082
|
/**
|
|
@@ -1080,6 +1096,7 @@
|
|
|
1080
1096
|
* searchEmbed.on(EmbedEvent.DownloadAsPng, payload => {
|
|
1081
1097
|
* console.log('download PNG', payload)})
|
|
1082
1098
|
* ```
|
|
1099
|
+
* Payload: {@link DownloadEventPayload}.
|
|
1083
1100
|
*/
|
|
1084
1101
|
EmbedEvent["DownloadAsPng"] = "downloadAsPng";
|
|
1085
1102
|
/**
|
|
@@ -1099,6 +1116,7 @@
|
|
|
1099
1116
|
* searchEmbed.on(EmbedEvent.DownloadAsPdf, payload => {
|
|
1100
1117
|
* console.log('download PDF', payload)})
|
|
1101
1118
|
* ```
|
|
1119
|
+
* Payload: {@link DownloadEventPayload}.
|
|
1102
1120
|
*/
|
|
1103
1121
|
EmbedEvent["DownloadAsPdf"] = "downloadAsPdf";
|
|
1104
1122
|
/**
|
|
@@ -1118,6 +1136,7 @@
|
|
|
1118
1136
|
* searchEmbed.on(EmbedEvent.DownloadAsCsv, payload => {
|
|
1119
1137
|
* console.log('download CSV', payload)})
|
|
1120
1138
|
* ```
|
|
1139
|
+
* Payload: {@link DownloadEventPayload}.
|
|
1121
1140
|
*/
|
|
1122
1141
|
EmbedEvent["DownloadAsCsv"] = "downloadAsCsv";
|
|
1123
1142
|
/**
|
|
@@ -1137,6 +1156,7 @@
|
|
|
1137
1156
|
* searchEmbed.on(EmbedEvent.DownloadAsXlsx, payload => {
|
|
1138
1157
|
* console.log('download Xlsx', payload)})
|
|
1139
1158
|
* ```
|
|
1159
|
+
* Payload: {@link DownloadEventPayload}.
|
|
1140
1160
|
*/
|
|
1141
1161
|
EmbedEvent["DownloadAsXlsx"] = "downloadAsXlsx";
|
|
1142
1162
|
/**
|
|
@@ -1148,6 +1168,7 @@
|
|
|
1148
1168
|
* liveboardEmbed.on(EmbedEvent.DownloadLiveboardAsContinuousPDF, payload => {
|
|
1149
1169
|
* console.log('download liveboard as continuous PDF', payload)})
|
|
1150
1170
|
* ```
|
|
1171
|
+
* Payload: {@link LiveboardScope}.
|
|
1151
1172
|
*/
|
|
1152
1173
|
EmbedEvent["DownloadLiveboardAsContinuousPDF"] = "downloadLiveboardAsContinuousPDF";
|
|
1153
1174
|
/**
|
|
@@ -1164,6 +1185,7 @@
|
|
|
1164
1185
|
* appEmbed.on(EmbedEvent.AnswerDelete, payload => {
|
|
1165
1186
|
* console.log('delete answer', payload)})
|
|
1166
1187
|
* ```
|
|
1188
|
+
* Payload: {@link AnswerScope}.
|
|
1167
1189
|
*/
|
|
1168
1190
|
EmbedEvent["AnswerDelete"] = "answerDelete";
|
|
1169
1191
|
/**
|
|
@@ -1175,6 +1197,7 @@
|
|
|
1175
1197
|
* console.log('AI Highlights', payload);
|
|
1176
1198
|
* })
|
|
1177
1199
|
* ```
|
|
1200
|
+
* Payload: {@link LiveboardScope}.
|
|
1178
1201
|
*/
|
|
1179
1202
|
EmbedEvent["AIHighlights"] = "AIHighlights";
|
|
1180
1203
|
/**
|
|
@@ -1196,6 +1219,7 @@
|
|
|
1196
1219
|
* console.log('pin', payload)
|
|
1197
1220
|
* })
|
|
1198
1221
|
* ```
|
|
1222
|
+
* Payload: {@link PinEventPayload}.
|
|
1199
1223
|
*/
|
|
1200
1224
|
EmbedEvent["Pin"] = "pin";
|
|
1201
1225
|
/**
|
|
@@ -1214,6 +1238,7 @@
|
|
|
1214
1238
|
* console.log('SpotIQ analyze', payload)
|
|
1215
1239
|
* })
|
|
1216
1240
|
* ```
|
|
1241
|
+
* Payload: {@link AnswerScope}.
|
|
1217
1242
|
*/
|
|
1218
1243
|
EmbedEvent["SpotIQAnalyze"] = "spotIQAnalyze";
|
|
1219
1244
|
/**
|
|
@@ -1267,6 +1292,7 @@
|
|
|
1267
1292
|
* console.log('copy to clipboard', payload);
|
|
1268
1293
|
* })
|
|
1269
1294
|
* ```
|
|
1295
|
+
* Payload: {@link CopyToClipboardPayload}.
|
|
1270
1296
|
*/
|
|
1271
1297
|
EmbedEvent["CopyToClipboard"] = "context-menu-item-copy-to-clipboard";
|
|
1272
1298
|
/**
|
|
@@ -1278,6 +1304,7 @@
|
|
|
1278
1304
|
* liveboardEmbed.on(EmbedEvent.UpdateTML)
|
|
1279
1305
|
* })
|
|
1280
1306
|
* ```
|
|
1307
|
+
* Payload: {@link TmlEventPayload}.
|
|
1281
1308
|
*/
|
|
1282
1309
|
EmbedEvent["UpdateTML"] = "updateTSL";
|
|
1283
1310
|
/**
|
|
@@ -1290,6 +1317,7 @@
|
|
|
1290
1317
|
* console.log('Edit TML', payload);
|
|
1291
1318
|
* })
|
|
1292
1319
|
* ```
|
|
1320
|
+
* Payload: {@link TmlEventPayload}.
|
|
1293
1321
|
*/
|
|
1294
1322
|
EmbedEvent["EditTML"] = "editTSL";
|
|
1295
1323
|
/**
|
|
@@ -1307,6 +1335,7 @@
|
|
|
1307
1335
|
* searchEmbed.on(EmbedEvent.ExportTML, payload => {
|
|
1308
1336
|
* console.log('Export TML', payload)})
|
|
1309
1337
|
* ```
|
|
1338
|
+
* Payload: {@link TmlEventPayload}.
|
|
1310
1339
|
*/
|
|
1311
1340
|
EmbedEvent["ExportTML"] = "exportTSL";
|
|
1312
1341
|
/**
|
|
@@ -1345,6 +1374,7 @@
|
|
|
1345
1374
|
* console.log('show data', payload);
|
|
1346
1375
|
* })
|
|
1347
1376
|
* ```
|
|
1377
|
+
* Payload: {@link AnswerScope}.
|
|
1348
1378
|
*/
|
|
1349
1379
|
EmbedEvent["ShowUnderlyingData"] = "showUnderlyingData";
|
|
1350
1380
|
/**
|
|
@@ -1356,6 +1386,7 @@
|
|
|
1356
1386
|
* console.log('switch view', payload);
|
|
1357
1387
|
* })
|
|
1358
1388
|
* ```
|
|
1389
|
+
* Payload: {@link AnswerChartSwitcherPayload}.
|
|
1359
1390
|
*/
|
|
1360
1391
|
EmbedEvent["AnswerChartSwitcher"] = "answerChartSwitcher";
|
|
1361
1392
|
/**
|
|
@@ -1377,6 +1408,7 @@
|
|
|
1377
1408
|
* console.log('Liveboard details', payload);
|
|
1378
1409
|
* })
|
|
1379
1410
|
* ```
|
|
1411
|
+
* Payload: {@link LiveboardScope}.
|
|
1380
1412
|
*/
|
|
1381
1413
|
EmbedEvent["LiveboardInfo"] = "pinboardInfo";
|
|
1382
1414
|
/**
|
|
@@ -1388,6 +1420,7 @@
|
|
|
1388
1420
|
* console.log('favorites', payload);
|
|
1389
1421
|
* })
|
|
1390
1422
|
* ```
|
|
1423
|
+
* Payload: {@link FavoritePayload}.
|
|
1391
1424
|
*/
|
|
1392
1425
|
EmbedEvent["AddToFavorites"] = "addToFavorites";
|
|
1393
1426
|
/**
|
|
@@ -1399,6 +1432,7 @@
|
|
|
1399
1432
|
* console.log('Liveboard schedule', payload);
|
|
1400
1433
|
* })
|
|
1401
1434
|
* ```
|
|
1435
|
+
* Payload: {@link LiveboardScope}.
|
|
1402
1436
|
*/
|
|
1403
1437
|
EmbedEvent["Schedule"] = "subscription";
|
|
1404
1438
|
/**
|
|
@@ -1413,6 +1447,7 @@
|
|
|
1413
1447
|
* console.log('Liveboard edit', payload);
|
|
1414
1448
|
* })
|
|
1415
1449
|
* ```
|
|
1450
|
+
* Payload: {@link LiveboardVizScope}.
|
|
1416
1451
|
*/
|
|
1417
1452
|
EmbedEvent["Edit"] = "edit";
|
|
1418
1453
|
/**
|
|
@@ -1454,6 +1489,7 @@
|
|
|
1454
1489
|
* console.log('Copy', payload);
|
|
1455
1490
|
* })
|
|
1456
1491
|
* ```
|
|
1492
|
+
* Payload: {@link MakeACopyPayload}.
|
|
1457
1493
|
*/
|
|
1458
1494
|
EmbedEvent["MakeACopy"] = "makeACopy";
|
|
1459
1495
|
/**
|
|
@@ -1469,6 +1505,7 @@
|
|
|
1469
1505
|
* vizId: '730496d6-6903-4601-937e-2c691821af3c'})
|
|
1470
1506
|
* })
|
|
1471
1507
|
* ```
|
|
1508
|
+
* Payload: {@link LiveboardVizScope}.
|
|
1472
1509
|
*/
|
|
1473
1510
|
EmbedEvent["Present"] = "present";
|
|
1474
1511
|
/**
|
|
@@ -1479,6 +1516,7 @@
|
|
|
1479
1516
|
* liveboardEmbed.on(EmbedEvent.Delete,
|
|
1480
1517
|
* {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
|
|
1481
1518
|
* ```
|
|
1519
|
+
* Payload: {@link LiveboardScope}.
|
|
1482
1520
|
*/
|
|
1483
1521
|
EmbedEvent["Delete"] = "delete";
|
|
1484
1522
|
/**
|
|
@@ -1488,6 +1526,7 @@
|
|
|
1488
1526
|
* ```js
|
|
1489
1527
|
* liveboardEmbed.on(EmbedEvent.SchedulesList)
|
|
1490
1528
|
* ```
|
|
1529
|
+
* Payload: {@link LiveboardScope}.
|
|
1491
1530
|
*/
|
|
1492
1531
|
EmbedEvent["SchedulesList"] = "schedule-list";
|
|
1493
1532
|
/**
|
|
@@ -1497,6 +1536,7 @@
|
|
|
1497
1536
|
* ```js
|
|
1498
1537
|
* liveboardEmbed.on(EmbedEvent.Cancel)
|
|
1499
1538
|
* ```
|
|
1539
|
+
* Payload: {@link LiveboardScope}.
|
|
1500
1540
|
*/
|
|
1501
1541
|
EmbedEvent["Cancel"] = "cancel";
|
|
1502
1542
|
/**
|
|
@@ -1507,6 +1547,7 @@
|
|
|
1507
1547
|
* liveboardEmbed.on(EmbedEvent.Explore, {
|
|
1508
1548
|
* vizId: '730496d6-6903-4601-937e-2c691821af3c'})
|
|
1509
1549
|
* ```
|
|
1550
|
+
* Payload: {@link LiveboardVizScope}.
|
|
1510
1551
|
*/
|
|
1511
1552
|
EmbedEvent["Explore"] = "explore";
|
|
1512
1553
|
/**
|
|
@@ -1517,6 +1558,7 @@
|
|
|
1517
1558
|
* liveboardEmbed.on(EmbedEvent.CopyLink, {
|
|
1518
1559
|
* vizId: '730496d6-6903-4601-937e-2c691821af3c'})
|
|
1519
1560
|
* ```
|
|
1561
|
+
* Payload: {@link CopyLinkPayload}.
|
|
1520
1562
|
*/
|
|
1521
1563
|
EmbedEvent["CopyLink"] = "embedDocument";
|
|
1522
1564
|
/**
|
|
@@ -1528,6 +1570,7 @@
|
|
|
1528
1570
|
* liveboardEmbed.on(EmbedEvent.CrossFilterChanged, {
|
|
1529
1571
|
* vizId: '730496d6-6903-4601-937e-2c691821af3c'})
|
|
1530
1572
|
* ```
|
|
1573
|
+
* Payload: {@link CrossFilterChangedPayload}.
|
|
1531
1574
|
*/
|
|
1532
1575
|
EmbedEvent["CrossFilterChanged"] = "cross-filter-changed";
|
|
1533
1576
|
/**
|
|
@@ -1539,6 +1582,7 @@
|
|
|
1539
1582
|
* console.log('VizPointClick', payload)
|
|
1540
1583
|
* })
|
|
1541
1584
|
* ```
|
|
1585
|
+
* Payload: {@link VizInteractionPayload}.
|
|
1542
1586
|
*/
|
|
1543
1587
|
EmbedEvent["VizPointRightClick"] = "vizPointRightClick";
|
|
1544
1588
|
/**
|
|
@@ -1566,6 +1610,7 @@
|
|
|
1566
1610
|
* })
|
|
1567
1611
|
* ```
|
|
1568
1612
|
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl, 9.5.0.sw
|
|
1613
|
+
* Payload: {@link FilterChangedPayload}.
|
|
1569
1614
|
*/
|
|
1570
1615
|
EmbedEvent["FilterChanged"] = "filterChanged";
|
|
1571
1616
|
/**
|
|
@@ -1588,6 +1633,7 @@
|
|
|
1588
1633
|
* @returns isPublic: boolean
|
|
1589
1634
|
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1590
1635
|
* @deprecated SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
1636
|
+
* Payload: {@link PersonalisedViewPayload}.
|
|
1591
1637
|
*/
|
|
1592
1638
|
EmbedEvent["UpdatePersonalisedView"] = "updatePersonalisedView";
|
|
1593
1639
|
/**
|
|
@@ -1609,6 +1655,7 @@
|
|
|
1609
1655
|
* @returns isPublic: boolean
|
|
1610
1656
|
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
1611
1657
|
* @deprecated SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
1658
|
+
* Payload: {@link PersonalisedViewPayload}.
|
|
1612
1659
|
*/
|
|
1613
1660
|
EmbedEvent["SavePersonalisedView"] = "savePersonalisedView";
|
|
1614
1661
|
/**
|
|
@@ -1683,6 +1730,7 @@
|
|
|
1683
1730
|
/**
|
|
1684
1731
|
* Emitted when a Liveboard or visualization is renamed.
|
|
1685
1732
|
* @version SDK: 1.28.0 | ThoughtSpot: 9.10.5.cl, 10.1.0.sw
|
|
1733
|
+
* Payload: {@link RenamePayload}.
|
|
1686
1734
|
*/
|
|
1687
1735
|
EmbedEvent["Rename"] = "rename";
|
|
1688
1736
|
/**
|
|
@@ -1768,6 +1816,7 @@
|
|
|
1768
1816
|
* })
|
|
1769
1817
|
* ```
|
|
1770
1818
|
* @version SDK: 1.29.0 | ThoughtSpot: 10.3.0.cl
|
|
1819
|
+
* Payload: {@link ParameterChangedPayload}.
|
|
1771
1820
|
*/
|
|
1772
1821
|
EmbedEvent["ParameterChanged"] = "parameterChanged";
|
|
1773
1822
|
/**
|
|
@@ -1811,6 +1860,7 @@
|
|
|
1811
1860
|
* })
|
|
1812
1861
|
* ```
|
|
1813
1862
|
* @version SDK: 1.37.0 | ThoughtSpot: 10.8.0.cl
|
|
1863
|
+
* Payload: {@link TableVizRenderedPayload}.
|
|
1814
1864
|
*/
|
|
1815
1865
|
EmbedEvent["TableVizRendered"] = "TableVizRendered";
|
|
1816
1866
|
/**
|
|
@@ -1835,12 +1885,14 @@
|
|
|
1835
1885
|
* @hidden
|
|
1836
1886
|
* Emitted when a user exits present mode.
|
|
1837
1887
|
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
1888
|
+
* Payload: {@link ExitPresentModePayload}.
|
|
1838
1889
|
*/
|
|
1839
1890
|
EmbedEvent["ExitPresentMode"] = "exitPresentMode";
|
|
1840
1891
|
/**
|
|
1841
1892
|
* Emitted when a user requests the full height lazy load data.
|
|
1842
1893
|
* @version SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
|
|
1843
1894
|
* @hidden
|
|
1895
|
+
* Payload: none.
|
|
1844
1896
|
*/
|
|
1845
1897
|
EmbedEvent["RequestVisibleEmbedCoordinates"] = "requestVisibleEmbedCoordinates";
|
|
1846
1898
|
/**
|
|
@@ -1874,6 +1926,7 @@
|
|
|
1874
1926
|
* })
|
|
1875
1927
|
* ```
|
|
1876
1928
|
* @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
|
|
1929
|
+
* Payload: {@link VizScope}.
|
|
1877
1930
|
*/
|
|
1878
1931
|
EmbedEvent["AddToCoaching"] = "addToCoaching";
|
|
1879
1932
|
/**
|
|
@@ -1963,6 +2016,7 @@
|
|
|
1963
2016
|
* console.log('EmbedListenerReady');
|
|
1964
2017
|
* })
|
|
1965
2018
|
* ```
|
|
2019
|
+
* Payload: none.
|
|
1966
2020
|
*/
|
|
1967
2021
|
EmbedEvent["EmbedListenerReady"] = "EmbedListenerReady";
|
|
1968
2022
|
/**
|
|
@@ -2337,6 +2391,7 @@
|
|
|
2337
2391
|
* })
|
|
2338
2392
|
* ```
|
|
2339
2393
|
* @version SDK: 1.48.0 | ThoughtSpot Cloud: 26.5.0.cl
|
|
2394
|
+
* Payload: {@link TestScheduleEmailPayload}.
|
|
2340
2395
|
*/
|
|
2341
2396
|
EmbedEvent["SendTestScheduleEmail"] = "sendTestScheduleEmail";
|
|
2342
2397
|
/**
|
|
@@ -2848,6 +2903,19 @@
|
|
|
2848
2903
|
* ```
|
|
2849
2904
|
*/
|
|
2850
2905
|
HostEvent["OpenAddParameterModal"] = "openAddParameterModal";
|
|
2906
|
+
/**
|
|
2907
|
+
* Add a tab to the Liveboard, the same action as the *Tab* option in the
|
|
2908
|
+
* *Add* dropdown in the Liveboard edit header.
|
|
2909
|
+
*
|
|
2910
|
+
* The Liveboard must be in edit mode; the event is ignored otherwise.
|
|
2911
|
+
*
|
|
2912
|
+
* @version SDK: 1.56.0 | ThoughtSpot Cloud: 27.1.0.cl
|
|
2913
|
+
* @example
|
|
2914
|
+
* ```js
|
|
2915
|
+
* liveboardEmbed.trigger(HostEvent.OpenAddTabModal);
|
|
2916
|
+
* ```
|
|
2917
|
+
*/
|
|
2918
|
+
HostEvent["OpenAddTabModal"] = "openAddTabModal";
|
|
2851
2919
|
/**
|
|
2852
2920
|
* Open the parameter panel for a particular parameter on a Liveboard.
|
|
2853
2921
|
* Mirrors {@link HostEvent.OpenFilter} for parameters.
|
|
@@ -5067,6 +5135,7 @@
|
|
|
5067
5135
|
* @version SDK: 1.52.2 | ThoughtSpot Cloud: 26.9.0.cl
|
|
5068
5136
|
*/
|
|
5069
5137
|
Param["TsmcpAnswerIndex"] = "tsmcpAnswerIndex";
|
|
5138
|
+
Param["IsMcpAnswerEmbed"] = "isMcpAnswerEmbed";
|
|
5070
5139
|
Param["EmbedApp"] = "embedApp";
|
|
5071
5140
|
Param["DataSources"] = "dataSources";
|
|
5072
5141
|
Param["DataSourceMode"] = "dataSourceMode";
|
|
@@ -5269,6 +5338,21 @@
|
|
|
5269
5338
|
exports.Action = void 0;
|
|
5270
5339
|
(function (Action) {
|
|
5271
5340
|
/**
|
|
5341
|
+
* The **Add** button on a Liveboard in edit mode.
|
|
5342
|
+
* Controls the visibility and disabled state of the Add panel button
|
|
5343
|
+
* in the Liveboard edit toolbar, which allows users to add
|
|
5344
|
+
* visualizations, filters, parameters, and tabs.
|
|
5345
|
+
* @example
|
|
5346
|
+
* ```js
|
|
5347
|
+
* hiddenActions: [Action.LiveboardAddPanel]
|
|
5348
|
+
* // or
|
|
5349
|
+
* disabledActions: [Action.LiveboardAddPanel]
|
|
5350
|
+
* ```
|
|
5351
|
+
* @version SDK: 1.56.0 | ThoughtSpot Cloud: 27.1.0.cl
|
|
5352
|
+
*/
|
|
5353
|
+
Action["LiveboardAddPanel"] = "liveboardAddPanel";
|
|
5354
|
+
/**
|
|
5355
|
+
*
|
|
5272
5356
|
* The **Save** action on an Answer or Liveboard.
|
|
5273
5357
|
* Allows users to save the changes.
|
|
5274
5358
|
* @example
|
|
@@ -7522,6 +7606,102 @@
|
|
|
7522
7606
|
* ```
|
|
7523
7607
|
*/
|
|
7524
7608
|
Action["Cancel"] = "cancel";
|
|
7609
|
+
/**
|
|
7610
|
+
* Controls the visibility and disabled state of the "Version history" menu item for a Liveboard or Answer.
|
|
7611
|
+
* @version SDK: 1.54.0 | ThoughtSpot Cloud: 9.8.0.cl
|
|
7612
|
+
* @example
|
|
7613
|
+
* ```js
|
|
7614
|
+
* {
|
|
7615
|
+
* hiddenActions: [Action.ShowVersionHistory],
|
|
7616
|
+
* disabledActions: [Action.ShowVersionHistory],
|
|
7617
|
+
* }
|
|
7618
|
+
* ```
|
|
7619
|
+
*/
|
|
7620
|
+
Action["ShowVersionHistory"] = "showVersionHistory";
|
|
7621
|
+
/**
|
|
7622
|
+
* Controls the visibility and disabled state of the "Enable version control" menu item for a Liveboard or Answer.
|
|
7623
|
+
* @version SDK: 1.54.0 | ThoughtSpot Cloud: 9.10.0.cl
|
|
7624
|
+
* @example
|
|
7625
|
+
* ```js
|
|
7626
|
+
* {
|
|
7627
|
+
* hiddenActions: [Action.EnableVersionControl],
|
|
7628
|
+
* disabledActions: [Action.EnableVersionControl],
|
|
7629
|
+
* }
|
|
7630
|
+
* ```
|
|
7631
|
+
*/
|
|
7632
|
+
Action["EnableVersionControl"] = "enableVersionControl";
|
|
7633
|
+
/**
|
|
7634
|
+
* Controls the visibility and disabled state of the "Disable version control" menu item for a Liveboard or Answer.
|
|
7635
|
+
* @version SDK: 1.54.0 | ThoughtSpot Cloud: 9.10.0.cl
|
|
7636
|
+
* @example
|
|
7637
|
+
* ```js
|
|
7638
|
+
* {
|
|
7639
|
+
* hiddenActions: [Action.DisableVersionControl],
|
|
7640
|
+
* disabledActions: [Action.DisableVersionControl],
|
|
7641
|
+
* }
|
|
7642
|
+
* ```
|
|
7643
|
+
*/
|
|
7644
|
+
Action["DisableVersionControl"] = "disableVersionControl";
|
|
7645
|
+
/**
|
|
7646
|
+
* Controls the visibility and disabled state of the "Withdraw verification" menu item for a verified Liveboard.
|
|
7647
|
+
* @version SDK: 1.54.0 | ThoughtSpot Cloud: 9.8.0.cl
|
|
7648
|
+
* @example
|
|
7649
|
+
* ```js
|
|
7650
|
+
* {
|
|
7651
|
+
* hiddenActions: [Action.WithdrawVerification],
|
|
7652
|
+
* disabledActions: [Action.WithdrawVerification],
|
|
7653
|
+
* }
|
|
7654
|
+
* ```
|
|
7655
|
+
*/
|
|
7656
|
+
Action["WithdrawVerification"] = "withdrawVerification";
|
|
7657
|
+
/**
|
|
7658
|
+
* Controls the visibility and disabled state of the "Switch to new chart experience" menu item on an Answer.
|
|
7659
|
+
* @version SDK: 1.54.0 | ThoughtSpot Cloud: 10.10.0.cl
|
|
7660
|
+
* @example
|
|
7661
|
+
* ```js
|
|
7662
|
+
* {
|
|
7663
|
+
* hiddenActions: [Action.SwitchToNewChartExperience],
|
|
7664
|
+
* disabledActions: [Action.SwitchToNewChartExperience],
|
|
7665
|
+
* }
|
|
7666
|
+
* ```
|
|
7667
|
+
*/
|
|
7668
|
+
Action["SwitchToNewChartExperience"] = "switchToNewChartExperience";
|
|
7669
|
+
/**
|
|
7670
|
+
* Controls the visibility and disabled state of the "Switch to classic chart experience" menu item on an Answer.
|
|
7671
|
+
* @version SDK: 1.54.0 | ThoughtSpot Cloud: 10.10.0.cl
|
|
7672
|
+
* @example
|
|
7673
|
+
* ```js
|
|
7674
|
+
* {
|
|
7675
|
+
* hiddenActions: [Action.SwitchToClassicChartExperience],
|
|
7676
|
+
* disabledActions: [Action.SwitchToClassicChartExperience],
|
|
7677
|
+
* }
|
|
7678
|
+
* ```
|
|
7679
|
+
*/
|
|
7680
|
+
Action["SwitchToClassicChartExperience"] = "switchToClassicChartExperience";
|
|
7681
|
+
/**
|
|
7682
|
+
* Controls the visibility and disabled state of the "Monitor" menu item on an Answer, which includes the alert options.
|
|
7683
|
+
* @version SDK: 1.54.0 | ThoughtSpot Cloud: 10.5.0.cl
|
|
7684
|
+
* @example
|
|
7685
|
+
* ```js
|
|
7686
|
+
* {
|
|
7687
|
+
* hiddenActions: [Action.Monitor],
|
|
7688
|
+
* disabledActions: [Action.Monitor],
|
|
7689
|
+
* }
|
|
7690
|
+
* ```
|
|
7691
|
+
*/
|
|
7692
|
+
Action["Monitor"] = "monitor";
|
|
7693
|
+
/**
|
|
7694
|
+
* Controls the visibility and disabled state of the "View explanation" button in the footer of a Spotter answer, which opens the explanation and verification details.
|
|
7695
|
+
* @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
|
|
7696
|
+
* @example
|
|
7697
|
+
* ```js
|
|
7698
|
+
* {
|
|
7699
|
+
* hiddenActions: [Action.SpotterViewExplanation],
|
|
7700
|
+
* disabledActions: [Action.SpotterViewExplanation],
|
|
7701
|
+
* }
|
|
7702
|
+
* ```
|
|
7703
|
+
*/
|
|
7704
|
+
Action["SpotterViewExplanation"] = "spotterViewExplanation";
|
|
7525
7705
|
})(exports.Action || (exports.Action = {}));
|
|
7526
7706
|
var PrefetchFeatures;
|
|
7527
7707
|
(function (PrefetchFeatures) {
|
|
@@ -8026,7 +8206,7 @@
|
|
|
8026
8206
|
TableContentDensity["Compact"] = "COMPACT";
|
|
8027
8207
|
})(TableContentDensity || (TableContentDensity = {}));
|
|
8028
8208
|
|
|
8029
|
-
var version$1="1.53.
|
|
8209
|
+
var version$1="1.53.2-beta";var pkg = {version:version$1};
|
|
8030
8210
|
|
|
8031
8211
|
const { version } = pkg;
|
|
8032
8212
|
|
|
@@ -20949,11 +21129,13 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
20949
21129
|
* @param ssoURL
|
|
20950
21130
|
* @param triggerContainer
|
|
20951
21131
|
* @param triggerText
|
|
21132
|
+
* @param thoughtSpotHost
|
|
20952
21133
|
*/
|
|
20953
|
-
async function samlPopupFlow(ssoURL, triggerContainer, triggerText) {
|
|
21134
|
+
async function samlPopupFlow(ssoURL, triggerContainer, triggerText, thoughtSpotHost) {
|
|
21135
|
+
const thoughtSpotOrigin = new URL(thoughtSpotHost).origin;
|
|
20954
21136
|
let popupClosedCheck;
|
|
20955
21137
|
const openPopup = () => {
|
|
20956
|
-
if (samlAuthWindow
|
|
21138
|
+
if (!samlAuthWindow || samlAuthWindow.closed) {
|
|
20957
21139
|
samlAuthWindow = window.open(ssoURL, '_blank', 'location=no,height=570,width=520,scrollbars=yes,status=yes');
|
|
20958
21140
|
if (samlAuthWindow) {
|
|
20959
21141
|
popupClosedCheck = setInterval(() => {
|
|
@@ -20981,7 +21163,14 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
20981
21163
|
}
|
|
20982
21164
|
samlCompletionPromise = samlCompletionPromise || new Promise((resolve, reject) => {
|
|
20983
21165
|
window.addEventListener('message', (e) => {
|
|
20984
|
-
|
|
21166
|
+
var _a;
|
|
21167
|
+
// Only the SSO popup we opened, on the ThoughtSpot origin, may
|
|
21168
|
+
// complete the flow or hand us a token; anything else could
|
|
21169
|
+
// inject an attacker's token into the auth cache.
|
|
21170
|
+
if (e.origin !== thoughtSpotOrigin || !samlAuthWindow || e.source !== samlAuthWindow) {
|
|
21171
|
+
return;
|
|
21172
|
+
}
|
|
21173
|
+
if (((_a = e.data) === null || _a === void 0 ? void 0 : _a.type) === exports.EmbedEvent.SAMLComplete) {
|
|
20985
21174
|
if (e.data.accessToken) {
|
|
20986
21175
|
const decodedToken = decodeURIComponent(e.data.accessToken);
|
|
20987
21176
|
storeAuthTokenInCache(decodedToken);
|
|
@@ -21022,7 +21211,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
21022
21211
|
}
|
|
21023
21212
|
const ssoURL = `${thoughtSpotHost}${ssoEndPoint}`;
|
|
21024
21213
|
if (embedConfig.inPopup) {
|
|
21025
|
-
await samlPopupFlow(ssoURL, embedConfig.authTriggerContainer, embedConfig.authTriggerText);
|
|
21214
|
+
await samlPopupFlow(ssoURL, embedConfig.authTriggerContainer, embedConfig.authTriggerText, thoughtSpotHost);
|
|
21026
21215
|
const cachedToken = getCacheAuthToken();
|
|
21027
21216
|
if (cachedToken) {
|
|
21028
21217
|
loggedInStatus = true;
|
|
@@ -21034,12 +21223,22 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
21034
21223
|
}
|
|
21035
21224
|
window.location.href = ssoURL;
|
|
21036
21225
|
};
|
|
21226
|
+
/**
|
|
21227
|
+
* The popup's SSO completion page. hostAppOrigin tells ThoughtSpot which
|
|
21228
|
+
* origin opened the popup; the cluster only posts a token back to it if it
|
|
21229
|
+
* is an allowed redirect domain.
|
|
21230
|
+
* @param thoughtSpotHost
|
|
21231
|
+
*/
|
|
21232
|
+
const getSSOCompletePageUrl = (thoughtSpotHost) => {
|
|
21233
|
+
const hostAppOrigin = encodeURIComponent(window.location.origin);
|
|
21234
|
+
return `${thoughtSpotHost}/v2/#/embed/saml-complete?hostAppOrigin=${hostAppOrigin}`;
|
|
21235
|
+
};
|
|
21037
21236
|
const doSamlAuth = async (embedConfig) => {
|
|
21038
21237
|
const { thoughtSpotHost } = embedConfig;
|
|
21039
21238
|
// redirect for SSO, when the SSO authentication is done, this page will be
|
|
21040
21239
|
// loaded again and the same JS will execute again.
|
|
21041
21240
|
const ssoRedirectUrl = embedConfig.inPopup
|
|
21042
|
-
?
|
|
21241
|
+
? getSSOCompletePageUrl(thoughtSpotHost)
|
|
21043
21242
|
: getRedirectUrl(window.location.href, SSO_REDIRECTION_MARKER_GUID, embedConfig.redirectPath);
|
|
21044
21243
|
// bring back the page to the same URL
|
|
21045
21244
|
const ssoEndPoint = `${EndPoints.SAML_LOGIN_TEMPLATE(encodeURIComponent(ssoRedirectUrl))}`;
|
|
@@ -21051,7 +21250,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
21051
21250
|
// redirect for SSO, when the SSO authentication is done, this page will be
|
|
21052
21251
|
// loaded again and the same JS will execute again.
|
|
21053
21252
|
const ssoRedirectUrl = embedConfig.noRedirect || embedConfig.inPopup
|
|
21054
|
-
?
|
|
21253
|
+
? getSSOCompletePageUrl(thoughtSpotHost)
|
|
21055
21254
|
: getRedirectUrl(window.location.href, SSO_REDIRECTION_MARKER_GUID, embedConfig.redirectPath);
|
|
21056
21255
|
// bring back the page to the same URL
|
|
21057
21256
|
const baseEndpoint = `${EndPoints.OIDC_LOGIN_TEMPLATE(encodeURIComponent(ssoRedirectUrl))}`;
|
|
@@ -26658,6 +26857,28 @@ query SendMessage($params: Input_convassist_SendMessageRequest) {
|
|
|
26658
26857
|
}
|
|
26659
26858
|
};
|
|
26660
26859
|
|
|
26860
|
+
/**
|
|
26861
|
+
* Actions hidden by default on Answers rendered by the ThoughtSpot MCP server
|
|
26862
|
+
* (iframes carrying the `tsmcp=true` marker). Applied automatically by
|
|
26863
|
+
* {@link AutoFrameRenderer} so the auto-rendered answer exposes a curated set of
|
|
26864
|
+
* controls: Pin/Save/Download at the top level, Aggregate/Filter/Sort/Position in
|
|
26865
|
+
* the column menu, and Exclude/Only include/Drill down/Show underlying data in the
|
|
26866
|
+
* axis menu remain visible, while the actions below are removed.
|
|
26867
|
+
*
|
|
26868
|
+
* This is a denylist merged into {@link Param.HideActions}; anything not listed
|
|
26869
|
+
* here stays visible. It is skipped when the caller supplies a `visibleActions`
|
|
26870
|
+
* allowlist (see {@link AutoFrameRenderer.getEmbedParamsObject}).
|
|
26871
|
+
*/
|
|
26872
|
+
[
|
|
26873
|
+
exports.Action.Edit,
|
|
26874
|
+
exports.Action.InConversationTraining,
|
|
26875
|
+
exports.Action.AxisMenuConditionalFormat,
|
|
26876
|
+
exports.Action.AxisMenuRename,
|
|
26877
|
+
exports.Action.AxisMenuEdit,
|
|
26878
|
+
exports.Action.AxisMenuRemove,
|
|
26879
|
+
exports.Action.MakeACopy,
|
|
26880
|
+
];
|
|
26881
|
+
|
|
26661
26882
|
const componentFactory = (EmbedConstructor,
|
|
26662
26883
|
// isPreRenderedComponent: Specifies whether the component being returned is
|
|
26663
26884
|
// intended for preRendering. If set to true, the component will call the
|