@thoughtspot/visual-embed-sdk 1.52.0 → 1.52.1
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 +9 -1
- package/cjs/src/contracts/contracts.spec.d.ts +2 -0
- package/cjs/src/contracts/contracts.spec.d.ts.map +1 -0
- package/cjs/src/contracts/contracts.spec.js +345 -0
- package/cjs/src/contracts/contracts.spec.js.map +1 -0
- package/cjs/src/contracts/embed-event-payloads.d.ts +73 -0
- package/cjs/src/contracts/embed-event-payloads.d.ts.map +1 -0
- package/cjs/src/contracts/embed-event-payloads.js +3 -0
- package/cjs/src/contracts/embed-event-payloads.js.map +1 -0
- package/cjs/src/contracts/host-event-contracts.d.ts +378 -0
- package/cjs/src/contracts/host-event-contracts.d.ts.map +1 -0
- package/cjs/src/contracts/host-event-contracts.js +3 -0
- package/cjs/src/contracts/host-event-contracts.js.map +1 -0
- package/cjs/src/contracts/index.d.ts +22 -0
- package/cjs/src/contracts/index.d.ts.map +1 -0
- package/cjs/src/contracts/index.js +33 -0
- package/cjs/src/contracts/index.js.map +1 -0
- package/cjs/src/contracts/ui-passthrough-contracts.d.ts +277 -0
- package/cjs/src/contracts/ui-passthrough-contracts.d.ts.map +1 -0
- package/cjs/src/{embed/hostEventClient/contracts.js → contracts/ui-passthrough-contracts.js} +6 -2
- package/cjs/src/contracts/ui-passthrough-contracts.js.map +1 -0
- package/cjs/src/embed/app.d.ts +17 -140
- package/cjs/src/embed/app.d.ts.map +1 -1
- package/cjs/src/embed/app.js +20 -120
- package/cjs/src/embed/app.js.map +1 -1
- package/cjs/src/embed/app.spec.js +70 -26
- package/cjs/src/embed/app.spec.js.map +1 -1
- package/cjs/src/embed/events.spec.js +12 -2
- package/cjs/src/embed/events.spec.js.map +1 -1
- package/cjs/src/embed/hostEventClient/host-event-client.d.ts +3 -2
- package/cjs/src/embed/hostEventClient/host-event-client.d.ts.map +1 -1
- package/cjs/src/embed/hostEventClient/host-event-client.js +23 -18
- package/cjs/src/embed/hostEventClient/host-event-client.js.map +1 -1
- package/cjs/src/embed/hostEventClient/host-event-client.spec.js +36 -36
- package/cjs/src/embed/hostEventClient/host-event-client.spec.js.map +1 -1
- package/cjs/src/embed/hostEventClient/utils.d.ts +1 -1
- package/cjs/src/embed/hostEventClient/utils.d.ts.map +1 -1
- package/cjs/src/embed/hostEventClient/utils.js +3 -3
- package/cjs/src/embed/hostEventClient/utils.js.map +1 -1
- package/cjs/src/embed/liveboard.d.ts +9 -161
- package/cjs/src/embed/liveboard.d.ts.map +1 -1
- package/cjs/src/embed/liveboard.js +66 -134
- package/cjs/src/embed/liveboard.js.map +1 -1
- package/cjs/src/embed/liveboard.spec.js +211 -28
- package/cjs/src/embed/liveboard.spec.js.map +1 -1
- package/cjs/src/embed/search.d.ts +14 -0
- package/cjs/src/embed/search.d.ts.map +1 -1
- package/cjs/src/embed/search.js +4 -1
- package/cjs/src/embed/search.js.map +1 -1
- package/cjs/src/embed/search.spec.js +65 -0
- package/cjs/src/embed/search.spec.js.map +1 -1
- package/cjs/src/embed/ts-embed.d.ts +17 -22
- package/cjs/src/embed/ts-embed.d.ts.map +1 -1
- package/cjs/src/embed/ts-embed.js +82 -56
- package/cjs/src/embed/ts-embed.js.map +1 -1
- package/cjs/src/embed/ts-embed.spec.js +325 -17
- package/cjs/src/embed/ts-embed.spec.js.map +1 -1
- package/cjs/src/full-height.d.ts +137 -0
- package/cjs/src/full-height.d.ts.map +1 -0
- package/cjs/src/full-height.js +272 -0
- package/cjs/src/full-height.js.map +1 -0
- package/cjs/src/full-height.spec.d.ts +2 -0
- package/cjs/src/full-height.spec.d.ts.map +1 -0
- package/cjs/src/full-height.spec.js +835 -0
- package/cjs/src/full-height.spec.js.map +1 -0
- package/cjs/src/index.d.ts +4 -3
- package/cjs/src/index.d.ts.map +1 -1
- package/cjs/src/index.js +3 -3
- package/cjs/src/index.js.map +1 -1
- 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.map +1 -1
- package/cjs/src/react/all-types-export.parity.spec.js +55 -3
- package/cjs/src/react/all-types-export.parity.spec.js.map +1 -1
- package/cjs/src/types.d.ts +540 -3
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +326 -1
- package/cjs/src/types.js.map +1 -1
- package/cjs/src/utils/processTrigger.d.ts +3 -1
- package/cjs/src/utils/processTrigger.d.ts.map +1 -1
- package/cjs/src/utils/processTrigger.js +19 -51
- package/cjs/src/utils/processTrigger.js.map +1 -1
- package/cjs/src/utils/transport/iframe-transport.d.ts +55 -0
- package/cjs/src/utils/transport/iframe-transport.d.ts.map +1 -0
- package/cjs/src/utils/transport/iframe-transport.js +108 -0
- package/cjs/src/utils/transport/iframe-transport.js.map +1 -0
- package/cjs/src/utils/transport/iframe-transport.spec.d.ts +2 -0
- package/cjs/src/utils/transport/iframe-transport.spec.d.ts.map +1 -0
- package/cjs/src/utils/transport/iframe-transport.spec.js +140 -0
- package/cjs/src/utils/transport/iframe-transport.spec.js.map +1 -0
- package/cjs/src/utils.d.ts +18 -0
- package/cjs/src/utils.d.ts.map +1 -1
- package/cjs/src/utils.js +39 -1
- package/cjs/src/utils.js.map +1 -1
- package/cjs/src/utils.spec.js +62 -0
- package/cjs/src/utils.spec.js.map +1 -1
- package/dist/{index-BMppCU63.js → index-C1pmYb5H.js} +1 -1
- package/dist/src/contracts/contracts.spec.d.ts +2 -0
- package/dist/src/contracts/contracts.spec.d.ts.map +1 -0
- package/dist/src/contracts/embed-event-payloads.d.ts +73 -0
- package/dist/src/contracts/embed-event-payloads.d.ts.map +1 -0
- package/dist/src/contracts/host-event-contracts.d.ts +378 -0
- package/dist/src/contracts/host-event-contracts.d.ts.map +1 -0
- package/dist/src/contracts/index.d.ts +22 -0
- package/dist/src/contracts/index.d.ts.map +1 -0
- package/dist/src/contracts/ui-passthrough-contracts.d.ts +277 -0
- package/dist/src/contracts/ui-passthrough-contracts.d.ts.map +1 -0
- package/dist/src/embed/app.d.ts +17 -140
- package/dist/src/embed/app.d.ts.map +1 -1
- package/dist/src/embed/hostEventClient/host-event-client.d.ts +3 -2
- package/dist/src/embed/hostEventClient/host-event-client.d.ts.map +1 -1
- package/dist/src/embed/hostEventClient/utils.d.ts +1 -1
- package/dist/src/embed/hostEventClient/utils.d.ts.map +1 -1
- package/dist/src/embed/liveboard.d.ts +9 -161
- package/dist/src/embed/liveboard.d.ts.map +1 -1
- package/dist/src/embed/search.d.ts +14 -0
- package/dist/src/embed/search.d.ts.map +1 -1
- package/dist/src/embed/ts-embed.d.ts +17 -22
- package/dist/src/embed/ts-embed.d.ts.map +1 -1
- package/dist/src/full-height.d.ts +137 -0
- package/dist/src/full-height.d.ts.map +1 -0
- package/dist/src/full-height.spec.d.ts +2 -0
- package/dist/src/full-height.spec.d.ts.map +1 -0
- package/dist/src/index.d.ts +4 -3
- package/dist/src/index.d.ts.map +1 -1
- 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 +540 -3
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/utils/processTrigger.d.ts +3 -1
- package/dist/src/utils/processTrigger.d.ts.map +1 -1
- package/dist/src/utils/transport/iframe-transport.d.ts +55 -0
- package/dist/src/utils/transport/iframe-transport.d.ts.map +1 -0
- package/dist/src/utils/transport/iframe-transport.spec.d.ts +2 -0
- package/dist/src/utils/transport/iframe-transport.spec.d.ts.map +1 -0
- package/dist/src/utils.d.ts +18 -0
- package/dist/src/utils.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +925 -363
- package/dist/tsembed-react.js +924 -362
- package/dist/tsembed.es.js +925 -363
- package/dist/tsembed.js +924 -362
- package/dist/visual-embed-sdk-react-full.d.ts +1357 -656
- package/dist/visual-embed-sdk-react.d.ts +1257 -606
- package/dist/visual-embed-sdk.d.ts +1320 -642
- package/lib/package.json +9 -1
- package/lib/src/contracts/contracts.spec.d.ts +2 -0
- package/lib/src/contracts/contracts.spec.d.ts.map +1 -0
- package/lib/src/contracts/contracts.spec.js +342 -0
- package/lib/src/contracts/contracts.spec.js.map +1 -0
- package/lib/src/contracts/embed-event-payloads.d.ts +73 -0
- package/lib/src/contracts/embed-event-payloads.d.ts.map +1 -0
- package/lib/src/contracts/embed-event-payloads.js +2 -0
- package/lib/src/contracts/embed-event-payloads.js.map +1 -0
- package/lib/src/contracts/host-event-contracts.d.ts +378 -0
- package/lib/src/contracts/host-event-contracts.d.ts.map +1 -0
- package/lib/src/contracts/host-event-contracts.js +2 -0
- package/lib/src/contracts/host-event-contracts.js.map +1 -0
- package/lib/src/contracts/index.d.ts +22 -0
- package/lib/src/contracts/index.d.ts.map +1 -0
- package/lib/src/contracts/index.js +22 -0
- package/lib/src/contracts/index.js.map +1 -0
- package/lib/src/contracts/ui-passthrough-contracts.d.ts +277 -0
- package/lib/src/contracts/ui-passthrough-contracts.d.ts.map +1 -0
- package/lib/src/{embed/hostEventClient/contracts.js → contracts/ui-passthrough-contracts.js} +6 -2
- package/lib/src/contracts/ui-passthrough-contracts.js.map +1 -0
- package/lib/src/embed/app.d.ts +17 -140
- package/lib/src/embed/app.d.ts.map +1 -1
- package/lib/src/embed/app.js +22 -122
- package/lib/src/embed/app.js.map +1 -1
- package/lib/src/embed/app.spec.js +70 -26
- package/lib/src/embed/app.spec.js.map +1 -1
- package/lib/src/embed/events.spec.js +12 -2
- package/lib/src/embed/events.spec.js.map +1 -1
- package/lib/src/embed/hostEventClient/host-event-client.d.ts +3 -2
- package/lib/src/embed/hostEventClient/host-event-client.d.ts.map +1 -1
- package/lib/src/embed/hostEventClient/host-event-client.js +6 -1
- package/lib/src/embed/hostEventClient/host-event-client.js.map +1 -1
- package/lib/src/embed/hostEventClient/host-event-client.spec.js +1 -1
- package/lib/src/embed/hostEventClient/host-event-client.spec.js.map +1 -1
- package/lib/src/embed/hostEventClient/utils.d.ts +1 -1
- package/lib/src/embed/hostEventClient/utils.d.ts.map +1 -1
- package/lib/src/embed/hostEventClient/utils.js +1 -1
- package/lib/src/embed/hostEventClient/utils.js.map +1 -1
- package/lib/src/embed/liveboard.d.ts +9 -161
- package/lib/src/embed/liveboard.d.ts.map +1 -1
- package/lib/src/embed/liveboard.js +67 -135
- package/lib/src/embed/liveboard.js.map +1 -1
- package/lib/src/embed/liveboard.spec.js +211 -28
- package/lib/src/embed/liveboard.spec.js.map +1 -1
- package/lib/src/embed/search.d.ts +14 -0
- package/lib/src/embed/search.d.ts.map +1 -1
- package/lib/src/embed/search.js +4 -1
- package/lib/src/embed/search.js.map +1 -1
- package/lib/src/embed/search.spec.js +65 -0
- package/lib/src/embed/search.spec.js.map +1 -1
- package/lib/src/embed/ts-embed.d.ts +17 -22
- package/lib/src/embed/ts-embed.d.ts.map +1 -1
- package/lib/src/embed/ts-embed.js +82 -56
- package/lib/src/embed/ts-embed.js.map +1 -1
- package/lib/src/embed/ts-embed.spec.js +322 -14
- package/lib/src/embed/ts-embed.spec.js.map +1 -1
- package/lib/src/full-height.d.ts +137 -0
- package/lib/src/full-height.d.ts.map +1 -0
- package/lib/src/full-height.js +268 -0
- package/lib/src/full-height.js.map +1 -0
- package/lib/src/full-height.spec.d.ts +2 -0
- package/lib/src/full-height.spec.d.ts.map +1 -0
- package/lib/src/full-height.spec.js +833 -0
- package/lib/src/full-height.spec.js.map +1 -0
- package/lib/src/index.d.ts +4 -3
- package/lib/src/index.d.ts.map +1 -1
- package/lib/src/index.js +1 -1
- package/lib/src/index.js.map +1 -1
- 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.map +1 -1
- package/lib/src/react/all-types-export.parity.spec.js +55 -3
- package/lib/src/react/all-types-export.parity.spec.js.map +1 -1
- package/lib/src/types.d.ts +540 -3
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +326 -1
- package/lib/src/types.js.map +1 -1
- package/lib/src/utils/processTrigger.d.ts +3 -1
- package/lib/src/utils/processTrigger.d.ts.map +1 -1
- package/lib/src/utils/processTrigger.js +19 -51
- package/lib/src/utils/processTrigger.js.map +1 -1
- package/lib/src/utils/transport/iframe-transport.d.ts +55 -0
- package/lib/src/utils/transport/iframe-transport.d.ts.map +1 -0
- package/lib/src/utils/transport/iframe-transport.js +101 -0
- package/lib/src/utils/transport/iframe-transport.js.map +1 -0
- package/lib/src/utils/transport/iframe-transport.spec.d.ts +2 -0
- package/lib/src/utils/transport/iframe-transport.spec.d.ts.map +1 -0
- package/lib/src/utils/transport/iframe-transport.spec.js +138 -0
- package/lib/src/utils/transport/iframe-transport.spec.js.map +1 -0
- package/lib/src/utils.d.ts +18 -0
- package/lib/src/utils.d.ts.map +1 -1
- package/lib/src/utils.js +37 -0
- package/lib/src/utils.js.map +1 -1
- package/lib/src/utils.spec.js +63 -1
- package/lib/src/utils.spec.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +1320 -642
- package/package.json +9 -1
- package/src/contracts/contracts.spec.ts +392 -0
- package/src/contracts/embed-event-payloads.ts +83 -0
- package/src/contracts/host-event-contracts.ts +456 -0
- package/src/contracts/index.ts +53 -0
- package/src/contracts/ui-passthrough-contracts.ts +301 -0
- package/src/embed/app.spec.ts +86 -34
- package/src/embed/app.ts +37 -264
- package/src/embed/events.spec.ts +14 -2
- package/src/embed/hostEventClient/host-event-client.spec.ts +2 -2
- package/src/embed/hostEventClient/host-event-client.ts +18 -5
- package/src/embed/hostEventClient/utils.ts +2 -1
- package/src/embed/liveboard.spec.ts +257 -38
- package/src/embed/liveboard.ts +75 -296
- package/src/embed/search.spec.ts +80 -0
- package/src/embed/search.ts +20 -0
- package/src/embed/ts-embed.spec.ts +448 -15
- package/src/embed/ts-embed.ts +109 -66
- package/src/full-height.spec.ts +1008 -0
- package/src/full-height.ts +361 -0
- package/src/index.ts +93 -5
- package/src/react/all-types-export.parity.spec.ts +63 -3
- package/src/react/all-types-export.ts +45 -0
- package/src/types.ts +540 -1
- package/src/utils/processTrigger.ts +28 -58
- package/src/utils/transport/iframe-transport.spec.ts +177 -0
- package/src/utils/transport/iframe-transport.ts +122 -0
- package/src/utils.spec.ts +71 -0
- package/src/utils.ts +38 -0
- package/cjs/src/embed/hostEventClient/contracts.d.ts +0 -231
- package/cjs/src/embed/hostEventClient/contracts.d.ts.map +0 -1
- package/cjs/src/embed/hostEventClient/contracts.js.map +0 -1
- package/dist/src/embed/hostEventClient/contracts.d.ts +0 -231
- package/dist/src/embed/hostEventClient/contracts.d.ts.map +0 -1
- package/lib/src/embed/hostEventClient/contracts.d.ts +0 -231
- package/lib/src/embed/hostEventClient/contracts.d.ts.map +0 -1
- package/lib/src/embed/hostEventClient/contracts.js.map +0 -1
- package/src/embed/hostEventClient/contracts.ts +0 -262
package/cjs/src/types.js
CHANGED
|
@@ -844,6 +844,9 @@ var EmbedEvent;
|
|
|
844
844
|
EmbedEvent["Download"] = "download";
|
|
845
845
|
/**
|
|
846
846
|
* Emitted when the download action is triggered on an Answer.
|
|
847
|
+
* Payload varies by context: {@link VizScopedRequest} (Search, Answer,
|
|
848
|
+
* Liveboard), {@link RequiredVizRequest} (Spotter, vizId required). trigger()
|
|
849
|
+
* accepts the union now; per-context enforced next release.
|
|
847
850
|
* Use start:true to subscribe to when download is initiated, or end:true to
|
|
848
851
|
* subscribe to when download is completed. Default is end:true.
|
|
849
852
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.4.0.sw
|
|
@@ -860,6 +863,9 @@ var EmbedEvent;
|
|
|
860
863
|
EmbedEvent["DownloadAsPng"] = "downloadAsPng";
|
|
861
864
|
/**
|
|
862
865
|
* Emitted when the Download as PDF action is triggered on an Answer
|
|
866
|
+
* Payload varies by context: {@link VizScopedRequest} (Search, Answer; plus
|
|
867
|
+
* liveboardId on Liveboard), {@link RequiredVizRequest} (Spotter). trigger()
|
|
868
|
+
* accepts the union now; per-context enforced next release.
|
|
863
869
|
* Use start:true to subscribe to when download as PDF is initiated, or end:true to
|
|
864
870
|
* subscribe to when download as PDF is completed. Default is end:true.
|
|
865
871
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
@@ -876,6 +882,9 @@ var EmbedEvent;
|
|
|
876
882
|
EmbedEvent["DownloadAsPdf"] = "downloadAsPdf";
|
|
877
883
|
/**
|
|
878
884
|
* Emitted when the Download as CSV action is triggered on an Answer.
|
|
885
|
+
* Payload varies by context: {@link VizScopedRequest} (Search, Answer,
|
|
886
|
+
* Liveboard), {@link RequiredVizRequest} (Spotter, vizId required). trigger()
|
|
887
|
+
* accepts the union now; per-context enforced next release.
|
|
879
888
|
* Use start:true to subscribe to when download as CSV is initiated, or end:true to
|
|
880
889
|
* subscribe to when download as CSV is completed. Default is end:true.
|
|
881
890
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
@@ -892,6 +901,9 @@ var EmbedEvent;
|
|
|
892
901
|
EmbedEvent["DownloadAsCsv"] = "downloadAsCsv";
|
|
893
902
|
/**
|
|
894
903
|
* Emitted when the Download as XLSX action is triggered on an Answer.
|
|
904
|
+
* Payload varies by context: {@link VizScopedRequest} (Search, Answer,
|
|
905
|
+
* Liveboard), {@link RequiredVizRequest} (Spotter, vizId required). trigger()
|
|
906
|
+
* accepts the union now; per-context enforced next release.
|
|
895
907
|
* Use start:true to subscribe to when download as XLSX is initiated, or end:true to
|
|
896
908
|
* subscribe to when download as XLSX is completed. Default is end:true.
|
|
897
909
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
@@ -1170,6 +1182,9 @@ var EmbedEvent;
|
|
|
1170
1182
|
EmbedEvent["Schedule"] = "subscription";
|
|
1171
1183
|
/**
|
|
1172
1184
|
* Emitted when a user clicks **Edit** on a Liveboard or visualization
|
|
1185
|
+
* Payload varies by context: {@link VizScopedRequest} (Liveboard),
|
|
1186
|
+
* {@link RequiredVizRequest} (Spotter, vizId required). trigger() accepts the
|
|
1187
|
+
* union now; per-context enforced next release.
|
|
1173
1188
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
1174
1189
|
* @example
|
|
1175
1190
|
* ```js
|
|
@@ -2249,6 +2264,7 @@ var HostEvent;
|
|
|
2249
2264
|
* the search query string.
|
|
2250
2265
|
* Supported in `AppEmbed` and `SearchEmbed` deployments.
|
|
2251
2266
|
* Includes the following properties:
|
|
2267
|
+
* Payload: {@link SearchRequest}.
|
|
2252
2268
|
* @param - Includes the following keys:
|
|
2253
2269
|
* - `searchQuery`: Query string with search tokens.
|
|
2254
2270
|
* - `dataSources`: Data source GUID to search on.
|
|
@@ -2276,6 +2292,9 @@ var HostEvent;
|
|
|
2276
2292
|
HostEvent["Search"] = "search";
|
|
2277
2293
|
/**
|
|
2278
2294
|
* Triggers a drill on certain points of the specified column
|
|
2295
|
+
* Payload: {@link DrillDownRequest}; in Liveboard context vizId is required
|
|
2296
|
+
* ({@link RequiredVizRequest}). trigger() accepts the union now; per-context
|
|
2297
|
+
* enforced next release.
|
|
2279
2298
|
* Includes the following properties:
|
|
2280
2299
|
* @param - Includes the following keys:
|
|
2281
2300
|
* - `points`: An object containing `selectedPoints` and/or `clickedPoint`
|
|
@@ -2355,6 +2374,8 @@ var HostEvent;
|
|
|
2355
2374
|
HostEvent["Reload"] = "reload";
|
|
2356
2375
|
/**
|
|
2357
2376
|
* Get iframe URL for the current embed view.
|
|
2377
|
+
* Payload: none.
|
|
2378
|
+
* Response: {@link GetIframeUrlResponse}.
|
|
2358
2379
|
* @example
|
|
2359
2380
|
* ```js
|
|
2360
2381
|
* const url = embed.trigger(HostEvent.GetIframeUrl);
|
|
@@ -2373,6 +2394,7 @@ var HostEvent;
|
|
|
2373
2394
|
HostEvent["GetIframeUrl"] = "GetIframeUrl";
|
|
2374
2395
|
/**
|
|
2375
2396
|
* Display specific visualizations on a Liveboard.
|
|
2397
|
+
* Payload: `string[]`.
|
|
2376
2398
|
* @param - An array of GUIDs of the visualization to show. The visualization IDs not passed
|
|
2377
2399
|
* in this parameter will be hidden.
|
|
2378
2400
|
* @example
|
|
@@ -2395,6 +2417,7 @@ var HostEvent;
|
|
|
2395
2417
|
HostEvent["SetVisibleVizs"] = "SetPinboardVisibleVizs";
|
|
2396
2418
|
/**
|
|
2397
2419
|
* Set a Liveboard tab as an active tab.
|
|
2420
|
+
* Payload: {@link SetActiveTabRequest}.
|
|
2398
2421
|
* @param - tabId - string of id of Tab to show
|
|
2399
2422
|
* @example
|
|
2400
2423
|
* ```js
|
|
@@ -2422,6 +2445,7 @@ var HostEvent;
|
|
|
2422
2445
|
* and `AppEmbed` only. In full application embedding, this event updates
|
|
2423
2446
|
* the runtime filters applied on the Liveboard and saved Answer objects.
|
|
2424
2447
|
*
|
|
2448
|
+
* Payload: {@link RuntimeFilter}[].
|
|
2425
2449
|
* @param - Array of {@link RuntimeFilter} objects. Each item includes:
|
|
2426
2450
|
* - `columnName`: Name of the column to filter on.
|
|
2427
2451
|
* - `operator`: {@link RuntimeFilterOp} to apply. For more information, see
|
|
@@ -2463,6 +2487,7 @@ var HostEvent;
|
|
|
2463
2487
|
* Accepts either a plain value or an object with `path`
|
|
2464
2488
|
* and an optional `replace` flag.
|
|
2465
2489
|
*
|
|
2490
|
+
* Payload: `string` | `number` | {@link NavigateRequest}.
|
|
2466
2491
|
* @param data - A string path, a numeric history delta, or an object
|
|
2467
2492
|
* `{ path: string | number, replace?: boolean }`.
|
|
2468
2493
|
* - `path` — the route to navigate to, or a history delta such as `1`
|
|
@@ -2490,6 +2515,9 @@ var HostEvent;
|
|
|
2490
2515
|
/**
|
|
2491
2516
|
* Open the filter panel for a particular column.
|
|
2492
2517
|
* Works with Search and Liveboard embed.
|
|
2518
|
+
* Payload: {@link OpenFilterRequest} (the cross-context superset). The
|
|
2519
|
+
* accepted fields vary by context: {@link OpenFilterLiveboardRequest},
|
|
2520
|
+
* {@link OpenFilterSpotterRequest}, {@link OpenFilterSearchRequest}.
|
|
2493
2521
|
* @param - { columnId: string,
|
|
2494
2522
|
* name: string,
|
|
2495
2523
|
* type: ATTRIBUTE/MEASURE,
|
|
@@ -2572,6 +2600,7 @@ var HostEvent;
|
|
|
2572
2600
|
/**
|
|
2573
2601
|
* Open the parameter panel for a particular parameter on a Liveboard.
|
|
2574
2602
|
* Mirrors {@link HostEvent.OpenFilter} for parameters.
|
|
2603
|
+
* Payload: {@link OpenParameterRequest}.
|
|
2575
2604
|
* @param - Includes the following keys:
|
|
2576
2605
|
* - `parameter`: An object identifying the parameter to open, for
|
|
2577
2606
|
* example, `{ parameterId: '<parameter-GUID>' }`.
|
|
@@ -2603,6 +2632,7 @@ var HostEvent;
|
|
|
2603
2632
|
HostEvent["OpenParameter"] = "openParameter";
|
|
2604
2633
|
/**
|
|
2605
2634
|
* Add columns to the current search query.
|
|
2635
|
+
* Payload: `{ columnIds: string[] }`.
|
|
2606
2636
|
* @param - { columnIds: string[] }
|
|
2607
2637
|
* @example
|
|
2608
2638
|
* ```js
|
|
@@ -2621,6 +2651,7 @@ var HostEvent;
|
|
|
2621
2651
|
HostEvent["AddColumns"] = "addColumns";
|
|
2622
2652
|
/**
|
|
2623
2653
|
* Remove a column from the current search query.
|
|
2654
|
+
* Payload: `{ columnId: string }`.
|
|
2624
2655
|
* @param - { columnId: string }
|
|
2625
2656
|
* @example
|
|
2626
2657
|
* ```js
|
|
@@ -2645,6 +2676,8 @@ var HostEvent;
|
|
|
2645
2676
|
* sorting, toggling of legends, and data drill down.
|
|
2646
2677
|
* For more information, see
|
|
2647
2678
|
* link:https://developers.thoughtspot.com/docs/fetch-data-and-report-apis#transient-lb-content[Liveboard data with unsaved changes].
|
|
2679
|
+
* Payload: none.
|
|
2680
|
+
* Response: {@link GetExportRequestForCurrentPinboardResponse}.
|
|
2648
2681
|
* @example
|
|
2649
2682
|
* ```js
|
|
2650
2683
|
* liveboardEmbed.trigger(HostEvent.getExportRequestForCurrentPinboard).then(
|
|
@@ -2666,6 +2699,8 @@ var HostEvent;
|
|
|
2666
2699
|
* requiring additional user input via the *Pin to Liveboard* modal, define
|
|
2667
2700
|
* the following parameters:
|
|
2668
2701
|
*
|
|
2702
|
+
* Payload: {@link PinAnswerToLiveboardRequest}.
|
|
2703
|
+
* Response: {@link PinAnswerToLiveboardResponse}.
|
|
2669
2704
|
* @param - Includes the following keys:
|
|
2670
2705
|
* - `vizId`: GUID of the saved Answer or Spotter visualization ID to pin to a
|
|
2671
2706
|
* Liveboard.
|
|
@@ -2780,6 +2815,7 @@ var HostEvent;
|
|
|
2780
2815
|
HostEvent["LiveboardInfo"] = "pinboardInfo";
|
|
2781
2816
|
/**
|
|
2782
2817
|
* Trigger the **Schedule** action on an embedded Liveboard.
|
|
2818
|
+
* Payload: {@link VizScopedRequest}.
|
|
2783
2819
|
* @example
|
|
2784
2820
|
* ```js
|
|
2785
2821
|
* liveboardEmbed.trigger(HostEvent.Schedule)
|
|
@@ -2795,6 +2831,7 @@ var HostEvent;
|
|
|
2795
2831
|
HostEvent["Schedule"] = "subscription";
|
|
2796
2832
|
/**
|
|
2797
2833
|
* Trigger the **Manage schedule** action on an embedded Liveboard
|
|
2834
|
+
* Payload: {@link VizScopedRequest}.
|
|
2798
2835
|
* @example
|
|
2799
2836
|
* ```js
|
|
2800
2837
|
* liveboardEmbed.trigger(HostEvent.SchedulesList)
|
|
@@ -2811,6 +2848,7 @@ var HostEvent;
|
|
|
2811
2848
|
/**
|
|
2812
2849
|
* Trigger the **Export TML** action on an embedded Liveboard or
|
|
2813
2850
|
* Answer.
|
|
2851
|
+
* Payload: {@link VizScopedRequest}.
|
|
2814
2852
|
* @example
|
|
2815
2853
|
* ```js
|
|
2816
2854
|
* liveboardEmbed.trigger(HostEvent.ExportTML)
|
|
@@ -2833,6 +2871,7 @@ var HostEvent;
|
|
|
2833
2871
|
/**
|
|
2834
2872
|
* Trigger the **Edit TML** action on an embedded Liveboard or
|
|
2835
2873
|
* saved Answers in the full application embedding.
|
|
2874
|
+
* Payload: {@link VizScopedRequest}.
|
|
2836
2875
|
* @example
|
|
2837
2876
|
* ```js
|
|
2838
2877
|
* liveboardEmbed.trigger(HostEvent.EditTML)
|
|
@@ -2854,6 +2893,7 @@ var HostEvent;
|
|
|
2854
2893
|
HostEvent["EditTML"] = "editTSL";
|
|
2855
2894
|
/**
|
|
2856
2895
|
* Trigger the **Update TML** action on an embedded Liveboard.
|
|
2896
|
+
* Payload: {@link VizScopedRequest}.
|
|
2857
2897
|
* @example
|
|
2858
2898
|
* ```js
|
|
2859
2899
|
* liveboardEmbed.trigger(HostEvent.UpdateTML)
|
|
@@ -2871,6 +2911,7 @@ var HostEvent;
|
|
|
2871
2911
|
* Trigger the **Download PDF** action on an embedded Liveboard,
|
|
2872
2912
|
* visualization or Answer.
|
|
2873
2913
|
*
|
|
2914
|
+
* Payload: {@link VizScopedRequest} plus optional `liveboardId`.
|
|
2874
2915
|
* @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
|
|
2875
2916
|
*
|
|
2876
2917
|
* **NOTE**: The **Download** > **PDF** action is available on
|
|
@@ -2921,6 +2962,7 @@ var HostEvent;
|
|
|
2921
2962
|
/**
|
|
2922
2963
|
* Trigger the **AI Highlights** action on an embedded Liveboard
|
|
2923
2964
|
*
|
|
2965
|
+
* Payload: none.
|
|
2924
2966
|
* @example
|
|
2925
2967
|
* ```js
|
|
2926
2968
|
* liveboardEmbed.trigger(HostEvent.AIHighlights)
|
|
@@ -2975,6 +3017,9 @@ var HostEvent;
|
|
|
2975
3017
|
HostEvent["MakeACopy"] = "makeACopy";
|
|
2976
3018
|
/**
|
|
2977
3019
|
* Trigger the **Delete** action for a Liveboard.
|
|
3020
|
+
* Payload varies by context: {@link RequiredVizRequest} (Liveboard, vizId
|
|
3021
|
+
* required), {@link VizScopedRequest} (Search). trigger() accepts the union
|
|
3022
|
+
* now; per-context enforced next release.
|
|
2978
3023
|
* @example
|
|
2979
3024
|
* ```js
|
|
2980
3025
|
* appEmbed.trigger(HostEvent.Remove)
|
|
@@ -2989,6 +3034,7 @@ var HostEvent;
|
|
|
2989
3034
|
HostEvent["Remove"] = "delete";
|
|
2990
3035
|
/**
|
|
2991
3036
|
* Trigger the **Explore** action on a visualization.
|
|
3037
|
+
* Payload: {@link RequiredVizRequest}.
|
|
2992
3038
|
* @param - an object with `vizId` as a key
|
|
2993
3039
|
* @example
|
|
2994
3040
|
* ```js
|
|
@@ -3008,6 +3054,7 @@ var HostEvent;
|
|
|
3008
3054
|
/**
|
|
3009
3055
|
* Trigger the **Create alert** action on a KPI chart
|
|
3010
3056
|
* in a Liveboard or saved Answer.
|
|
3057
|
+
* Payload: {@link VizScopedRequest}.
|
|
3011
3058
|
* @param - an object with `vizId` as a key
|
|
3012
3059
|
* @example
|
|
3013
3060
|
* ```js
|
|
@@ -3039,6 +3086,7 @@ var HostEvent;
|
|
|
3039
3086
|
/**
|
|
3040
3087
|
* Trigger the **Manage alerts** action on a KPI chart
|
|
3041
3088
|
* in a visualization or saved Answer.
|
|
3089
|
+
* Payload: {@link VizScopedRequest}.
|
|
3042
3090
|
* @param - an object with `vizId` as a key
|
|
3043
3091
|
* @example
|
|
3044
3092
|
* ```js
|
|
@@ -3076,6 +3124,7 @@ var HostEvent;
|
|
|
3076
3124
|
* on a Liveboard.
|
|
3077
3125
|
*
|
|
3078
3126
|
* This event is not supported in visualization embed and search embed.
|
|
3127
|
+
* Payload: {@link VizScopedRequest}.
|
|
3079
3128
|
* @param - Object parameter. Includes the following keys:
|
|
3080
3129
|
* - `vizId`: To trigger the action for a specific visualization in Liveboard embed,
|
|
3081
3130
|
* pass in `vizId` as a key. In Spotter embed, `vizId` refers to the Answer ID and
|
|
@@ -3118,6 +3167,7 @@ var HostEvent;
|
|
|
3118
3167
|
HostEvent["Edit"] = "edit";
|
|
3119
3168
|
/**
|
|
3120
3169
|
* Trigger the **Copy link** action on a Liveboard or visualization
|
|
3170
|
+
* Payload: {@link VizScopedRequest}.
|
|
3121
3171
|
* @param - object - to trigger the action for a
|
|
3122
3172
|
* specific visualization in Liveboard embed, pass in `vizId` as a key
|
|
3123
3173
|
* @example
|
|
@@ -3163,6 +3213,7 @@ var HostEvent;
|
|
|
3163
3213
|
HostEvent["CopyLink"] = "embedDocument";
|
|
3164
3214
|
/**
|
|
3165
3215
|
* Trigger the **Present** action on a Liveboard or visualization
|
|
3216
|
+
* Payload: {@link VizScopedRequest}.
|
|
3166
3217
|
* @param - object - to trigger the action for a specific visualization
|
|
3167
3218
|
* in Liveboard embed, pass in `vizId` as a key
|
|
3168
3219
|
* @example
|
|
@@ -3208,6 +3259,8 @@ var HostEvent;
|
|
|
3208
3259
|
HostEvent["Present"] = "present";
|
|
3209
3260
|
/**
|
|
3210
3261
|
* Get TML for the current search.
|
|
3262
|
+
* Payload: {@link GetTMLRequest}.
|
|
3263
|
+
* Response: `Record<string, any>`.
|
|
3211
3264
|
* @example
|
|
3212
3265
|
* ```js
|
|
3213
3266
|
* searchEmbed.trigger(HostEvent.GetTML).then((tml) => {
|
|
@@ -3257,6 +3310,7 @@ var HostEvent;
|
|
|
3257
3310
|
* Trigger the **Show underlying data** action on a
|
|
3258
3311
|
* chart or table.
|
|
3259
3312
|
*
|
|
3313
|
+
* Payload: {@link VizScopedRequest}.
|
|
3260
3314
|
* @param - an object with vizId as a key
|
|
3261
3315
|
* @example
|
|
3262
3316
|
* ```js
|
|
@@ -3290,6 +3344,7 @@ var HostEvent;
|
|
|
3290
3344
|
* Trigger the **Delete** action for a visualization
|
|
3291
3345
|
* in an embedded Liveboard, or a chart or table
|
|
3292
3346
|
* generated from Search.
|
|
3347
|
+
* Payload: {@link VizScopedRequest}.
|
|
3293
3348
|
* @param - Liveboard embed takes an object with `vizId` as a key.
|
|
3294
3349
|
* Can be left empty if embedding Search or visualization.
|
|
3295
3350
|
* @example
|
|
@@ -3318,6 +3373,7 @@ var HostEvent;
|
|
|
3318
3373
|
/**
|
|
3319
3374
|
* Trigger the **SpotIQ analyze** action on a
|
|
3320
3375
|
* chart or table.
|
|
3376
|
+
* Payload: {@link VizScopedRequest}.
|
|
3321
3377
|
* @param - Liveboard embed takes `vizId` as a
|
|
3322
3378
|
* key. Can be left undefined when embedding Search or
|
|
3323
3379
|
* visualization.
|
|
@@ -3380,6 +3436,7 @@ var HostEvent;
|
|
|
3380
3436
|
/**
|
|
3381
3437
|
* Trigger the **Download** > **PNG** action on
|
|
3382
3438
|
* charts in the embedded view.
|
|
3439
|
+
* Payload: {@link VizScopedRequest}.
|
|
3383
3440
|
* @example
|
|
3384
3441
|
* ```js
|
|
3385
3442
|
* liveboardEmbed.trigger(HostEvent.DownloadAsPng,
|
|
@@ -3411,6 +3468,7 @@ var HostEvent;
|
|
|
3411
3468
|
/**
|
|
3412
3469
|
* Trigger the **Download** > **CSV** action on tables in
|
|
3413
3470
|
* the embedded view.
|
|
3471
|
+
* Payload: {@link VizScopedRequest}.
|
|
3414
3472
|
* @param - `vizId` refers to the Visualization ID in Spotter embed and is required in Spotter embed.
|
|
3415
3473
|
* @example
|
|
3416
3474
|
* ```js
|
|
@@ -3450,6 +3508,7 @@ var HostEvent;
|
|
|
3450
3508
|
/**
|
|
3451
3509
|
* Trigger the **Download** > **XLSX** action on tables
|
|
3452
3510
|
* in the embedded view.
|
|
3511
|
+
* Payload: {@link VizScopedRequest}.
|
|
3453
3512
|
* @param - `vizId` refers to the Visualization ID in Spotter embed and is required in Spotter embed.
|
|
3454
3513
|
* @example
|
|
3455
3514
|
* ```js
|
|
@@ -3489,6 +3548,7 @@ var HostEvent;
|
|
|
3489
3548
|
/**
|
|
3490
3549
|
* Trigger the **Share** action on an embedded
|
|
3491
3550
|
* Liveboard or Answer.
|
|
3551
|
+
* Payload: {@link VizScopedRequest}.
|
|
3492
3552
|
* @example
|
|
3493
3553
|
* ```js
|
|
3494
3554
|
* liveboardEmbed.trigger(HostEvent.Share)
|
|
@@ -3515,6 +3575,7 @@ var HostEvent;
|
|
|
3515
3575
|
* Trigger the **Save** action on a Liveboard, Answer, or Spotter.
|
|
3516
3576
|
* Saves the changes.
|
|
3517
3577
|
*
|
|
3578
|
+
* Payload: {@link VizScopedRequest}.
|
|
3518
3579
|
* @param - `vizId` refers to the Spotter Visualization Id used in Spotter embed.
|
|
3519
3580
|
* It is required and can be retrieved from the data embed event.
|
|
3520
3581
|
*
|
|
@@ -3566,6 +3627,7 @@ var HostEvent;
|
|
|
3566
3627
|
/**
|
|
3567
3628
|
* Trigger the **Sync to Sheets** action on an embedded visualization or Answer
|
|
3568
3629
|
* Sends data from an Answer or Liveboard visualization to a Google sheet.
|
|
3630
|
+
* Payload: {@link VizScopedRequest}.
|
|
3569
3631
|
* @param - an object with `vizId` as a key
|
|
3570
3632
|
* @example
|
|
3571
3633
|
* ```js
|
|
@@ -3596,6 +3658,7 @@ var HostEvent;
|
|
|
3596
3658
|
* Trigger the **Sync to Other Apps** action on an embedded visualization or Answer
|
|
3597
3659
|
* Sends data from an Answer or Liveboard visualization to third-party apps such
|
|
3598
3660
|
* as Slack, Salesforce, Microsoft Teams, ServiceNow and so on.
|
|
3661
|
+
* Payload: {@link VizScopedRequest}.
|
|
3599
3662
|
* @param - an object with vizId as a key
|
|
3600
3663
|
* @example
|
|
3601
3664
|
* ```js
|
|
@@ -3626,6 +3689,7 @@ var HostEvent;
|
|
|
3626
3689
|
* Trigger the **Manage pipelines** action on an embedded
|
|
3627
3690
|
* visualization or Answer.
|
|
3628
3691
|
* Allows users to manage ThoughtSpot Sync pipelines.
|
|
3692
|
+
* Payload: {@link VizScopedRequest}.
|
|
3629
3693
|
* @param - an object with `vizId` as a key
|
|
3630
3694
|
* @example
|
|
3631
3695
|
* ```js
|
|
@@ -3654,6 +3718,7 @@ var HostEvent;
|
|
|
3654
3718
|
HostEvent["ManagePipelines"] = "manage-pipeline";
|
|
3655
3719
|
/**
|
|
3656
3720
|
* Reset search operation on the Search or Answer page.
|
|
3721
|
+
* Payload: none.
|
|
3657
3722
|
* @example
|
|
3658
3723
|
* ```js
|
|
3659
3724
|
* searchEmbed.trigger(HostEvent.ResetSearch)
|
|
@@ -3681,6 +3746,8 @@ var HostEvent;
|
|
|
3681
3746
|
* whole Liveboard.
|
|
3682
3747
|
* The `applicability` attribute is available from SDK: 1.53.0 |
|
|
3683
3748
|
* ThoughtSpot: 26.10.0.cl.
|
|
3749
|
+
* Payload: {@link GetFiltersRequest}.
|
|
3750
|
+
* Response: {@link GetFiltersResponse}.
|
|
3684
3751
|
* @example
|
|
3685
3752
|
* ```js
|
|
3686
3753
|
* const data = await liveboardEmbed.trigger(HostEvent.GetFilters);
|
|
@@ -3700,6 +3767,7 @@ var HostEvent;
|
|
|
3700
3767
|
HostEvent["GetFilters"] = "getFilters";
|
|
3701
3768
|
/**
|
|
3702
3769
|
* Update one or several filters applied on a Liveboard.
|
|
3770
|
+
* Payload: {@link UpdateFiltersRequest}.
|
|
3703
3771
|
* @param - Includes the following keys:
|
|
3704
3772
|
* - `filter`: A single filter object containing column name, filter operator, and
|
|
3705
3773
|
* values.
|
|
@@ -3828,6 +3896,8 @@ var HostEvent;
|
|
|
3828
3896
|
HostEvent["UpdateFilters"] = "updateFilters";
|
|
3829
3897
|
/**
|
|
3830
3898
|
* Get tab details for the current Liveboard.
|
|
3899
|
+
* Payload: none.
|
|
3900
|
+
* Response: {@link GetTabsResponse}.
|
|
3831
3901
|
* @example
|
|
3832
3902
|
* ```js
|
|
3833
3903
|
* liveboardEmbed.trigger(HostEvent.GetTabs).then((tabDetails) => {
|
|
@@ -3853,6 +3923,8 @@ var HostEvent;
|
|
|
3853
3923
|
/**
|
|
3854
3924
|
* Get group details for the current Liveboard.
|
|
3855
3925
|
* Mirrors {@link HostEvent.GetTabs} for filter/parameter groups.
|
|
3926
|
+
* Payload: none.
|
|
3927
|
+
* Response: {@link GetGroupsResponse}.
|
|
3856
3928
|
* @example
|
|
3857
3929
|
* ```js
|
|
3858
3930
|
* liveboardEmbed.trigger(HostEvent.GetGroups).then((groupDetails) => {
|
|
@@ -3877,6 +3949,7 @@ var HostEvent;
|
|
|
3877
3949
|
HostEvent["GetGroups"] = "getGroups";
|
|
3878
3950
|
/**
|
|
3879
3951
|
* Set the visible tabs on a Liveboard.
|
|
3952
|
+
* Payload: `string[]`.
|
|
3880
3953
|
* @param - an array of ids of tabs to show, the IDs not passed
|
|
3881
3954
|
* will be hidden.
|
|
3882
3955
|
* @example
|
|
@@ -3899,6 +3972,7 @@ var HostEvent;
|
|
|
3899
3972
|
HostEvent["SetVisibleTabs"] = "SetPinboardVisibleTabs";
|
|
3900
3973
|
/**
|
|
3901
3974
|
* Set the hidden tabs on a Liveboard.
|
|
3975
|
+
* Payload: `string[]`.
|
|
3902
3976
|
* @param - an array of the IDs of the tabs to hide.
|
|
3903
3977
|
* The IDs not passed will be shown.
|
|
3904
3978
|
* @example
|
|
@@ -3927,6 +4001,8 @@ var HostEvent;
|
|
|
3927
4001
|
* `getAnswerService()` method on the embed instance to get an AnswerService
|
|
3928
4002
|
* object that provides a more convenient interface for working with answers.
|
|
3929
4003
|
*
|
|
4004
|
+
* Payload: {@link GetAnswerSessionRequest}.
|
|
4005
|
+
* Response: {@link GetAnswerSessionResponse}.
|
|
3930
4006
|
* @example
|
|
3931
4007
|
* ```js
|
|
3932
4008
|
* // Preferred way to get an AnswerService
|
|
@@ -3954,6 +4030,7 @@ var HostEvent;
|
|
|
3954
4030
|
HostEvent["GetAnswerSession"] = "getAnswerSession";
|
|
3955
4031
|
/**
|
|
3956
4032
|
* Trigger the *Ask Sage* action for visualizations
|
|
4033
|
+
* Payload: {@link RequiredVizRequest}.
|
|
3957
4034
|
* @example
|
|
3958
4035
|
* ```js
|
|
3959
4036
|
* liveboardEmbed.trigger(HostEvent.AskSage,
|
|
@@ -3965,6 +4042,7 @@ var HostEvent;
|
|
|
3965
4042
|
/**
|
|
3966
4043
|
* Trigger cross filter update action on a Liveboard.
|
|
3967
4044
|
*
|
|
4045
|
+
* Payload: {@link UpdateCrossFilterRequest}.
|
|
3968
4046
|
* @example
|
|
3969
4047
|
* ```js
|
|
3970
4048
|
* liveboardEmbed.trigger(HostEvent.UpdateCrossFilter, {
|
|
@@ -3980,7 +4058,9 @@ var HostEvent;
|
|
|
3980
4058
|
HostEvent["UpdateCrossFilter"] = "UpdateCrossFilter";
|
|
3981
4059
|
/**
|
|
3982
4060
|
* Trigger reset action for a personalized Liveboard view.
|
|
3983
|
-
* This event is deprecated.
|
|
4061
|
+
* This event is deprecated.
|
|
4062
|
+
* Use {@link HostEvent.ResetLiveboardPersonalizedView} instead.
|
|
4063
|
+
* Payload: none.
|
|
3984
4064
|
* @example
|
|
3985
4065
|
* ```js
|
|
3986
4066
|
* liveboardEmbed.trigger(HostEvent.ResetLiveboardPersonalisedView);
|
|
@@ -4001,6 +4081,7 @@ var HostEvent;
|
|
|
4001
4081
|
/**
|
|
4002
4082
|
* Triggers an action to update Parameter values on embedded
|
|
4003
4083
|
* Answers, Liveboard, and Spotter answer in Edit mode.
|
|
4084
|
+
* Payload: {@link RuntimeParameter}[].
|
|
4004
4085
|
* @param - Includes the following keys for each item:
|
|
4005
4086
|
* - `name`: Name of the parameter.
|
|
4006
4087
|
* - `value`: The value to set for the parameter.
|
|
@@ -4058,6 +4139,8 @@ var HostEvent;
|
|
|
4058
4139
|
* whole Liveboard.
|
|
4059
4140
|
* The `applicability` attribute is available from SDK: 1.53.0 |
|
|
4060
4141
|
* ThoughtSpot: 26.10.0.cl.
|
|
4142
|
+
* Payload: none.
|
|
4143
|
+
* Response: {@link GetParametersResponse}.
|
|
4061
4144
|
* @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
|
|
4062
4145
|
* ```js
|
|
4063
4146
|
* liveboardEmbed.trigger(HostEvent.GetParameters).then((parameter) => {
|
|
@@ -4095,6 +4178,7 @@ var HostEvent;
|
|
|
4095
4178
|
* ```js
|
|
4096
4179
|
* liveboardEmbed.trigger(HostEvent.UpdatePersonalisedView, {viewId: '1234'})
|
|
4097
4180
|
* ```
|
|
4181
|
+
* Payload: {@link PersonalisedViewRequest} (`viewId` only).
|
|
4098
4182
|
* @example
|
|
4099
4183
|
* ```js
|
|
4100
4184
|
* // Update personalized view from liveboard context
|
|
@@ -4127,6 +4211,7 @@ var HostEvent;
|
|
|
4127
4211
|
* If neither is provided, the Liveboard resets to the original/default view.
|
|
4128
4212
|
* When a `viewName` is provided and multiple views share
|
|
4129
4213
|
* the same name, the first match is selected.
|
|
4214
|
+
* Payload: {@link PersonalisedViewRequest}.
|
|
4130
4215
|
* @example
|
|
4131
4216
|
* ```js
|
|
4132
4217
|
* liveboardEmbed.trigger(
|
|
@@ -4170,6 +4255,8 @@ var HostEvent;
|
|
|
4170
4255
|
* If no parameters are specified, the save action is
|
|
4171
4256
|
* triggered with a modal to prompt users to
|
|
4172
4257
|
* add a name and description for the Answer.
|
|
4258
|
+
* Payload: {@link SaveAnswerRequest}.
|
|
4259
|
+
* Response: {@link SaveAnswerResponse}.
|
|
4173
4260
|
* @param - Includes the following keys:
|
|
4174
4261
|
* - `vizId`: Refers to the Answer ID in Spotter embed and is **required** in Spotter
|
|
4175
4262
|
* embed.
|
|
@@ -4255,6 +4342,7 @@ var HostEvent;
|
|
|
4255
4342
|
/**
|
|
4256
4343
|
* Triggers a search operation with the search tokens specified in
|
|
4257
4344
|
* the search query string in spotter embed.
|
|
4345
|
+
* Payload: {@link SpotterSearchRequest}.
|
|
4258
4346
|
* @param - Includes the following keys:
|
|
4259
4347
|
* - `query`: Text string in Natural Language format.
|
|
4260
4348
|
* - `executeSearch`: Boolean to execute search and update search query.
|
|
@@ -4279,6 +4367,7 @@ var HostEvent;
|
|
|
4279
4367
|
HostEvent["SpotterSearch"] = "SpotterSearch";
|
|
4280
4368
|
/**
|
|
4281
4369
|
* Edits the last prompt in spotter embed.
|
|
4370
|
+
* Payload: `string`.
|
|
4282
4371
|
* @param - `query`: Text string
|
|
4283
4372
|
* @example
|
|
4284
4373
|
* ```js
|
|
@@ -4295,6 +4384,7 @@ var HostEvent;
|
|
|
4295
4384
|
HostEvent["EditLastPrompt"] = "EditLastPrompt";
|
|
4296
4385
|
/**
|
|
4297
4386
|
* Opens the data source preview modal in Spotter Embed.
|
|
4387
|
+
* Payload: none.
|
|
4298
4388
|
* @example
|
|
4299
4389
|
* ```js
|
|
4300
4390
|
* spotterEmbed.trigger(HostEvent.PreviewSpotterData);
|
|
@@ -4330,6 +4420,7 @@ var HostEvent;
|
|
|
4330
4420
|
HostEvent["DataModelInstructions"] = "DataModelInstructions";
|
|
4331
4421
|
/**
|
|
4332
4422
|
* Resets the Spotter Embed Conversation.
|
|
4423
|
+
* Payload: none.
|
|
4333
4424
|
* @example
|
|
4334
4425
|
* ```js
|
|
4335
4426
|
* spotterEmbed.trigger(HostEvent.ResetSpotterConversation);
|
|
@@ -4342,6 +4433,7 @@ var HostEvent;
|
|
|
4342
4433
|
* `conversationId` is **mandatory** — you must pass the id of the
|
|
4343
4434
|
* conversation to share. Also no-op when sharing is disabled
|
|
4344
4435
|
* (enableShareConversation off) or when already in the read-only shared view.
|
|
4436
|
+
* Payload: {@link ConversationScopedRequest}.
|
|
4345
4437
|
* @example
|
|
4346
4438
|
* ```js
|
|
4347
4439
|
* spotterEmbed.trigger(HostEvent.ShareSpotterConversation, { conversationId: 'abc' });
|
|
@@ -4351,6 +4443,7 @@ var HostEvent;
|
|
|
4351
4443
|
HostEvent["ShareSpotterConversation"] = "ShareSpotterConversation";
|
|
4352
4444
|
/**
|
|
4353
4445
|
* Closes the Spotter share-conversation modal. No-op if none is open.
|
|
4446
|
+
* Payload: none.
|
|
4354
4447
|
* @example
|
|
4355
4448
|
* ```js
|
|
4356
4449
|
* spotterEmbed.trigger(HostEvent.CloseSpotterShareConversation);
|
|
@@ -4360,6 +4453,7 @@ var HostEvent;
|
|
|
4360
4453
|
HostEvent["CloseSpotterShareConversation"] = "CloseSpotterShareConversation";
|
|
4361
4454
|
/**
|
|
4362
4455
|
* Exits the read-only shared-conversation view.
|
|
4456
|
+
* Payload: none.
|
|
4363
4457
|
* @example
|
|
4364
4458
|
* ```js
|
|
4365
4459
|
* spotterEmbed.trigger(HostEvent.ExitSpotterSharedConversation);
|
|
@@ -4369,6 +4463,7 @@ var HostEvent;
|
|
|
4369
4463
|
HostEvent["ExitSpotterSharedConversation"] = "ExitSpotterSharedConversation";
|
|
4370
4464
|
/**
|
|
4371
4465
|
* Deletes the last prompt in spotter embed.
|
|
4466
|
+
* Payload: none.
|
|
4372
4467
|
* @example
|
|
4373
4468
|
* ```js
|
|
4374
4469
|
* spotterEmbed.trigger(HostEvent.DeleteLastPrompt);
|
|
@@ -4378,6 +4473,7 @@ var HostEvent;
|
|
|
4378
4473
|
HostEvent["DeleteLastPrompt"] = "DeleteLastPrompt";
|
|
4379
4474
|
/**
|
|
4380
4475
|
* Toggle the visualization to chart or table view.
|
|
4476
|
+
* Payload: {@link RequiredVizRequest}.
|
|
4381
4477
|
* @param - `vizId ` refers to the Visualization ID in Spotter embed and is required.
|
|
4382
4478
|
* @example
|
|
4383
4479
|
* ```js
|
|
@@ -4416,6 +4512,7 @@ var HostEvent;
|
|
|
4416
4512
|
HostEvent["VisibleEmbedCoordinates"] = "visibleEmbedCoordinates";
|
|
4417
4513
|
/**
|
|
4418
4514
|
* Trigger the *Spotter* action for visualizations present on the liveboard's vizzes.
|
|
4515
|
+
* Payload: {@link RequiredVizRequest}.
|
|
4419
4516
|
* @param - `vizId` refers to the Visualization ID in Spotter embed and is required.
|
|
4420
4517
|
* @example
|
|
4421
4518
|
* ```js
|
|
@@ -4477,6 +4574,7 @@ var HostEvent;
|
|
|
4477
4574
|
* instance. Contact your admin or ThoughtSpot Support to enable chat history on your
|
|
4478
4575
|
* instance.
|
|
4479
4576
|
*
|
|
4577
|
+
* Payload: {@link ConversationScopedRequest}.
|
|
4480
4578
|
* @version SDK: 1.53.0 | ThoughtSpot Cloud: 26.10.0.cl
|
|
4481
4579
|
* @example
|
|
4482
4580
|
* ```js
|
|
@@ -4494,6 +4592,7 @@ var HostEvent;
|
|
|
4494
4592
|
* instance. Contact your admin or ThoughtSpot Support to enable chat history on your
|
|
4495
4593
|
* instance.
|
|
4496
4594
|
*
|
|
4595
|
+
* Payload: {@link ConversationScopedRequest}.
|
|
4497
4596
|
* @version SDK: 1.53.0 | ThoughtSpot Cloud: 26.10.0.cl
|
|
4498
4597
|
* @example
|
|
4499
4598
|
* ```js
|
|
@@ -4518,6 +4617,7 @@ var HostEvent;
|
|
|
4518
4617
|
* Trigger the **Send Test Email** action in the Liveboard schedule modal.
|
|
4519
4618
|
* Sends a test schedule email to self or all recipients.
|
|
4520
4619
|
* Requires `isSendNowLiveboardSchedulingEnabled` to be enabled.
|
|
4620
|
+
* Payload: {@link ScheduleEmailRequest}.
|
|
4521
4621
|
* @example
|
|
4522
4622
|
* ```js
|
|
4523
4623
|
* liveboardEmbed.trigger(HostEvent.SendTestScheduleEmail, {
|
|
@@ -4536,6 +4636,7 @@ var HostEvent;
|
|
|
4536
4636
|
HostEvent["SendTestScheduleEmail"] = "sendTestScheduleEmail";
|
|
4537
4637
|
/**
|
|
4538
4638
|
* Sends a user message (prompt) to the SpotterViz panel programmatically.
|
|
4639
|
+
* Payload: `{ query: string }`.
|
|
4539
4640
|
* @version SDK: 1.50.0 | ThoughtSpot Cloud: 26.7.0.cl
|
|
4540
4641
|
* @param query - the prompt text to send.
|
|
4541
4642
|
* @example
|
|
@@ -4548,6 +4649,7 @@ var HostEvent;
|
|
|
4548
4649
|
HostEvent["SpotterVizSendUserMessage"] = "SpotterVizSendUserMessage";
|
|
4549
4650
|
/**
|
|
4550
4651
|
* Initializes a new SpotterViz conversation.
|
|
4652
|
+
* Payload: none.
|
|
4551
4653
|
* @version SDK: 1.50.0 | ThoughtSpot Cloud: 26.7.0.cl
|
|
4552
4654
|
* @example
|
|
4553
4655
|
* ```js
|
|
@@ -4557,6 +4659,7 @@ var HostEvent;
|
|
|
4557
4659
|
HostEvent["InitSpotterVizConversation"] = "InitSpotterVizConversation";
|
|
4558
4660
|
/**
|
|
4559
4661
|
* Opens the SpotterViz panel.
|
|
4662
|
+
* Payload: none.
|
|
4560
4663
|
* @version SDK: 1.50.0 | ThoughtSpot Cloud: 26.7.0.cl
|
|
4561
4664
|
* @example
|
|
4562
4665
|
* ```js
|
|
@@ -4566,6 +4669,7 @@ var HostEvent;
|
|
|
4566
4669
|
HostEvent["OpenSpotterVizPanel"] = "OpenSpotterVizPanel";
|
|
4567
4670
|
/**
|
|
4568
4671
|
* Closes the SpotterViz panel.
|
|
4672
|
+
* Payload: none.
|
|
4569
4673
|
* @version SDK: 1.50.0 | ThoughtSpot Cloud: 26.7.0.cl
|
|
4570
4674
|
* @example
|
|
4571
4675
|
* ```js
|
|
@@ -4576,6 +4680,7 @@ var HostEvent;
|
|
|
4576
4680
|
/**
|
|
4577
4681
|
* Clears browser cache and fetches new data for liveboard ChartViz Containers.
|
|
4578
4682
|
* Requires `enableLiveboardDataCache` to be enabled.
|
|
4683
|
+
* Payload: {@link ScheduleEmailRequest}.
|
|
4579
4684
|
* @example
|
|
4580
4685
|
* ```js
|
|
4581
4686
|
* liveboardEmbed.trigger(HostEvent.RefreshLiveboardBrowserCache);
|
|
@@ -4773,6 +4878,7 @@ var Param;
|
|
|
4773
4878
|
Param["SpotterDataSources"] = "spotterDataSources";
|
|
4774
4879
|
Param["AnalystId"] = "analystId";
|
|
4775
4880
|
Param["OpenSpotterOnLiveboardByDefault"] = "openSpotterOnLiveboardByDefault";
|
|
4881
|
+
Param["ShowAnswerEditPanel"] = "showAnswerEditPanel";
|
|
4776
4882
|
})(Param = exports.Param || (exports.Param = {}));
|
|
4777
4883
|
/**
|
|
4778
4884
|
* ThoughtSpot application pages include actions and menu commands
|
|
@@ -6777,6 +6883,225 @@ var Action;
|
|
|
6777
6883
|
* ```
|
|
6778
6884
|
*/
|
|
6779
6885
|
Action["SpotterOnLiveboard"] = "spotterOnLiveboard";
|
|
6886
|
+
/**
|
|
6887
|
+
* Controls the visibility and disabled state of the "Chart Type" menu item
|
|
6888
|
+
* in Chart Settings V2.
|
|
6889
|
+
* @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
|
|
6890
|
+
* @example
|
|
6891
|
+
* ```js
|
|
6892
|
+
* {
|
|
6893
|
+
* hiddenActions: [Action.ChartTypeSettings],
|
|
6894
|
+
* disabledActions: [Action.ChartTypeSettings],
|
|
6895
|
+
* }
|
|
6896
|
+
* ```
|
|
6897
|
+
*/
|
|
6898
|
+
Action["ChartTypeSettings"] = "CHART_TYPE";
|
|
6899
|
+
/**
|
|
6900
|
+
* Controls the visibility and disabled state of the "Layout" menu item
|
|
6901
|
+
* in Chart Settings V2.
|
|
6902
|
+
* @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
|
|
6903
|
+
* @example
|
|
6904
|
+
* ```js
|
|
6905
|
+
* {
|
|
6906
|
+
* hiddenActions: [Action.LayoutSettings],
|
|
6907
|
+
* disabledActions: [Action.LayoutSettings],
|
|
6908
|
+
* }
|
|
6909
|
+
* ```
|
|
6910
|
+
*/
|
|
6911
|
+
Action["LayoutSettings"] = "LAYOUT";
|
|
6912
|
+
/**
|
|
6913
|
+
* Controls the visibility and disabled state of the "Column" menu item
|
|
6914
|
+
* in Chart Settings V2.
|
|
6915
|
+
* @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
|
|
6916
|
+
* @example
|
|
6917
|
+
* ```js
|
|
6918
|
+
* {
|
|
6919
|
+
* hiddenActions: [Action.ColumnSettings],
|
|
6920
|
+
* disabledActions: [Action.ColumnSettings],
|
|
6921
|
+
* }
|
|
6922
|
+
* ```
|
|
6923
|
+
*/
|
|
6924
|
+
Action["ColumnSettings"] = "COLUMN";
|
|
6925
|
+
/**
|
|
6926
|
+
* Controls the visibility and disabled state of the "Axis" menu item
|
|
6927
|
+
* in Chart Settings V2.
|
|
6928
|
+
* @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
|
|
6929
|
+
* @example
|
|
6930
|
+
* ```js
|
|
6931
|
+
* {
|
|
6932
|
+
* hiddenActions: [Action.AxisSettings],
|
|
6933
|
+
* disabledActions: [Action.AxisSettings],
|
|
6934
|
+
* }
|
|
6935
|
+
* ```
|
|
6936
|
+
*/
|
|
6937
|
+
Action["AxisSettings"] = "AXIS";
|
|
6938
|
+
/**
|
|
6939
|
+
* Controls the visibility and disabled state of the "Data Label" menu item
|
|
6940
|
+
* in Chart Settings V2.
|
|
6941
|
+
* @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
|
|
6942
|
+
* @example
|
|
6943
|
+
* ```js
|
|
6944
|
+
* {
|
|
6945
|
+
* hiddenActions: [Action.DataLabelSettings],
|
|
6946
|
+
* disabledActions: [Action.DataLabelSettings],
|
|
6947
|
+
* }
|
|
6948
|
+
* ```
|
|
6949
|
+
*/
|
|
6950
|
+
Action["DataLabelSettings"] = "DATA_LABEL";
|
|
6951
|
+
/**
|
|
6952
|
+
* Controls the visibility and disabled state of the "Tooltip" menu item
|
|
6953
|
+
* in Chart Settings V2.
|
|
6954
|
+
* @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
|
|
6955
|
+
* @example
|
|
6956
|
+
* ```js
|
|
6957
|
+
* {
|
|
6958
|
+
* hiddenActions: [Action.TooltipSettings],
|
|
6959
|
+
* disabledActions: [Action.TooltipSettings],
|
|
6960
|
+
* }
|
|
6961
|
+
* ```
|
|
6962
|
+
*/
|
|
6963
|
+
Action["TooltipSettings"] = "TOOLTIP";
|
|
6964
|
+
/**
|
|
6965
|
+
* Controls the visibility and disabled state of the "Legend" menu item
|
|
6966
|
+
* in Chart Settings V2.
|
|
6967
|
+
* @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
|
|
6968
|
+
* @example
|
|
6969
|
+
* ```js
|
|
6970
|
+
* {
|
|
6971
|
+
* hiddenActions: [Action.LegendSettings],
|
|
6972
|
+
* disabledActions: [Action.LegendSettings],
|
|
6973
|
+
* }
|
|
6974
|
+
* ```
|
|
6975
|
+
*/
|
|
6976
|
+
Action["LegendSettings"] = "LEGEND";
|
|
6977
|
+
/**
|
|
6978
|
+
* Controls the visibility and disabled state of the "Display" menu item
|
|
6979
|
+
* in Chart Settings V2.
|
|
6980
|
+
* @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
|
|
6981
|
+
* @example
|
|
6982
|
+
* ```js
|
|
6983
|
+
* {
|
|
6984
|
+
* hiddenActions: [Action.DisplaySettings],
|
|
6985
|
+
* disabledActions: [Action.DisplaySettings],
|
|
6986
|
+
* }
|
|
6987
|
+
* ```
|
|
6988
|
+
*/
|
|
6989
|
+
Action["DisplaySettings"] = "DISPLAY";
|
|
6990
|
+
/**
|
|
6991
|
+
* Controls the visibility and disabled state of the "Query Details" menu
|
|
6992
|
+
* item in Chart Settings V2.
|
|
6993
|
+
* @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
|
|
6994
|
+
* @example
|
|
6995
|
+
* ```js
|
|
6996
|
+
* {
|
|
6997
|
+
* hiddenActions: [Action.QuerySettings],
|
|
6998
|
+
* disabledActions: [Action.QuerySettings],
|
|
6999
|
+
* }
|
|
7000
|
+
* ```
|
|
7001
|
+
*/
|
|
7002
|
+
Action["QuerySettings"] = "QUERY_DETAILS";
|
|
7003
|
+
/**
|
|
7004
|
+
* Controls the visibility and disabled state of the "Custom Action" menu
|
|
7005
|
+
* item in Chart Settings V2.
|
|
7006
|
+
* @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
|
|
7007
|
+
* @example
|
|
7008
|
+
* ```js
|
|
7009
|
+
* {
|
|
7010
|
+
* hiddenActions: [Action.CustomSettings],
|
|
7011
|
+
* disabledActions: [Action.CustomSettings],
|
|
7012
|
+
* }
|
|
7013
|
+
* ```
|
|
7014
|
+
*/
|
|
7015
|
+
Action["CustomSettings"] = "CUSTOM_ACTION";
|
|
7016
|
+
/**
|
|
7017
|
+
* Controls the visibility and disabled state of the "Muze AI" menu item
|
|
7018
|
+
* in Chart Settings V2.
|
|
7019
|
+
* @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
|
|
7020
|
+
* @example
|
|
7021
|
+
* ```js
|
|
7022
|
+
* {
|
|
7023
|
+
* hiddenActions: [Action.MuzeAiSettings],
|
|
7024
|
+
* disabledActions: [Action.MuzeAiSettings],
|
|
7025
|
+
* }
|
|
7026
|
+
* ```
|
|
7027
|
+
*/
|
|
7028
|
+
Action["MuzeAiSettings"] = "MUZE_AI";
|
|
7029
|
+
/**
|
|
7030
|
+
* Controls the visibility and disabled state of the "R Analysis" menu item
|
|
7031
|
+
* in Chart Settings V2.
|
|
7032
|
+
* @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
|
|
7033
|
+
* @example
|
|
7034
|
+
* ```js
|
|
7035
|
+
* {
|
|
7036
|
+
* hiddenActions: [Action.RAnalysisSettings],
|
|
7037
|
+
* disabledActions: [Action.RAnalysisSettings],
|
|
7038
|
+
* }
|
|
7039
|
+
* ```
|
|
7040
|
+
*/
|
|
7041
|
+
Action["RAnalysisSettings"] = "R_ANALYSIS";
|
|
7042
|
+
/**
|
|
7043
|
+
* Controls the visibility and disabled state of the "Add to Collection" menu item.
|
|
7044
|
+
* @version SDK: 1.52.1 | ThoughtSpot Cloud: 26.5.0.cl
|
|
7045
|
+
* @example
|
|
7046
|
+
* ```js
|
|
7047
|
+
* {
|
|
7048
|
+
* hiddenActions: [Action.AddToCollection],
|
|
7049
|
+
* disabledActions: [Action.AddToCollection],
|
|
7050
|
+
* }
|
|
7051
|
+
* ```
|
|
7052
|
+
*/
|
|
7053
|
+
Action["AddToCollection"] = "addToCollection";
|
|
7054
|
+
/**
|
|
7055
|
+
* Controls the visibility and disabled state of the "Create Collection" button.
|
|
7056
|
+
* @version SDK: 1.52.1 | ThoughtSpot Cloud: 26.5.0.cl
|
|
7057
|
+
* @example
|
|
7058
|
+
* ```js
|
|
7059
|
+
* {
|
|
7060
|
+
* hiddenActions: [Action.CreateCollection],
|
|
7061
|
+
* disabledActions: [Action.CreateCollection],
|
|
7062
|
+
* }
|
|
7063
|
+
* ```
|
|
7064
|
+
*/
|
|
7065
|
+
Action["CreateCollection"] = "createCollection";
|
|
7066
|
+
/**
|
|
7067
|
+
* Controls the visibility and disabled state of the "Move" menu item in a
|
|
7068
|
+
* Collection.
|
|
7069
|
+
* @version SDK: 1.52.1 | ThoughtSpot Cloud: 26.5.0.cl
|
|
7070
|
+
* @example
|
|
7071
|
+
* ```js
|
|
7072
|
+
* {
|
|
7073
|
+
* hiddenActions: [Action.MoveToCollection],
|
|
7074
|
+
* disabledActions: [Action.MoveToCollection],
|
|
7075
|
+
* }
|
|
7076
|
+
* ```
|
|
7077
|
+
*/
|
|
7078
|
+
Action["MoveToCollection"] = "moveToCollection";
|
|
7079
|
+
/**
|
|
7080
|
+
* Controls the visibility and disabled state of the "Remove" menu item in a
|
|
7081
|
+
* Collection.
|
|
7082
|
+
* @version SDK: 1.52.1 | ThoughtSpot Cloud: 26.5.0.cl
|
|
7083
|
+
* @example
|
|
7084
|
+
* ```js
|
|
7085
|
+
* {
|
|
7086
|
+
* hiddenActions: [Action.RemoveFromCollection],
|
|
7087
|
+
* disabledActions: [Action.RemoveFromCollection],
|
|
7088
|
+
* }
|
|
7089
|
+
* ```
|
|
7090
|
+
*/
|
|
7091
|
+
Action["RemoveFromCollection"] = "removeFromCollection";
|
|
7092
|
+
/**
|
|
7093
|
+
* Controls the visibility and disabled state of the "Delete" menu item for a
|
|
7094
|
+
* Collection.
|
|
7095
|
+
* @version SDK: 1.52.1 | ThoughtSpot Cloud: 26.5.0.cl
|
|
7096
|
+
* @example
|
|
7097
|
+
* ```js
|
|
7098
|
+
* {
|
|
7099
|
+
* hiddenActions: [Action.DeleteCollection],
|
|
7100
|
+
* disabledActions: [Action.DeleteCollection],
|
|
7101
|
+
* }
|
|
7102
|
+
* ```
|
|
7103
|
+
*/
|
|
7104
|
+
Action["DeleteCollection"] = "deleteCollection";
|
|
6780
7105
|
})(Action = exports.Action || (exports.Action = {}));
|
|
6781
7106
|
var PrefetchFeatures;
|
|
6782
7107
|
(function (PrefetchFeatures) {
|