@thoughtspot/visual-embed-sdk 1.39.0 → 1.39.2-alpha.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 +1 -1
- package/cjs/src/embed/app.d.ts +13 -13
- package/cjs/src/embed/app.d.ts.map +1 -1
- package/cjs/src/embed/app.js +2 -1
- package/cjs/src/embed/app.js.map +1 -1
- package/cjs/src/embed/app.spec.js +18 -8
- package/cjs/src/embed/app.spec.js.map +1 -1
- package/cjs/src/embed/conversation.d.ts +64 -6
- package/cjs/src/embed/conversation.d.ts.map +1 -1
- package/cjs/src/embed/conversation.js +9 -1
- package/cjs/src/embed/conversation.js.map +1 -1
- package/cjs/src/embed/conversation.spec.js +130 -0
- package/cjs/src/embed/conversation.spec.js.map +1 -1
- package/cjs/src/embed/embedConfig.d.ts +49 -4
- package/cjs/src/embed/embedConfig.d.ts.map +1 -1
- package/cjs/src/embed/embedConfig.js +49 -4
- package/cjs/src/embed/embedConfig.js.map +1 -1
- package/cjs/src/embed/liveboard.d.ts +2 -19
- package/cjs/src/embed/liveboard.d.ts.map +1 -1
- package/cjs/src/embed/liveboard.js +3 -5
- package/cjs/src/embed/liveboard.js.map +1 -1
- package/cjs/src/embed/liveboard.spec.js +12 -11
- package/cjs/src/embed/liveboard.spec.js.map +1 -1
- package/cjs/src/embed/sage.d.ts +10 -10
- package/cjs/src/embed/search.d.ts +4 -4
- package/cjs/src/embed/ts-embed.d.ts +5 -0
- package/cjs/src/embed/ts-embed.d.ts.map +1 -1
- package/cjs/src/embed/ts-embed.js +16 -1
- package/cjs/src/embed/ts-embed.js.map +1 -1
- package/cjs/src/embed/ts-embed.spec.js +164 -0
- package/cjs/src/embed/ts-embed.spec.js.map +1 -1
- package/cjs/src/types.d.ts +41 -8
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +23 -6
- package/cjs/src/types.js.map +1 -1
- package/dist/{index-sSREbWM-.js → index-CmEQfuE3.js} +1 -1
- package/dist/index-DeFzsyFF.js +7371 -0
- package/dist/index-Dpf0rd6w.js +7371 -0
- package/dist/index-UuEbsISo.js +7447 -0
- package/dist/src/embed/app.d.ts +13 -13
- package/dist/src/embed/app.d.ts.map +1 -1
- package/dist/src/embed/conversation.d.ts +64 -6
- package/dist/src/embed/conversation.d.ts.map +1 -1
- package/dist/src/embed/embedConfig.d.ts +49 -4
- package/dist/src/embed/embedConfig.d.ts.map +1 -1
- package/dist/src/embed/liveboard.d.ts +2 -19
- package/dist/src/embed/liveboard.d.ts.map +1 -1
- package/dist/src/embed/sage.d.ts +10 -10
- package/dist/src/embed/search.d.ts +4 -4
- package/dist/src/embed/ts-embed.d.ts +5 -0
- package/dist/src/embed/ts-embed.d.ts.map +1 -1
- package/dist/src/types.d.ts +41 -8
- package/dist/src/types.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +105 -21
- package/dist/tsembed-react.js +104 -20
- package/dist/tsembed.es.js +105 -21
- package/dist/tsembed.js +104 -20
- package/dist/visual-embed-sdk-react-full.d.ts +182 -63
- package/dist/visual-embed-sdk-react.d.ts +182 -63
- package/dist/visual-embed-sdk.d.ts +182 -63
- package/lib/package.json +1 -1
- package/lib/src/embed/app.d.ts +13 -13
- package/lib/src/embed/app.d.ts.map +1 -1
- package/lib/src/embed/app.js +2 -1
- package/lib/src/embed/app.js.map +1 -1
- package/lib/src/embed/app.spec.js +19 -9
- package/lib/src/embed/app.spec.js.map +1 -1
- package/lib/src/embed/conversation.d.ts +64 -6
- package/lib/src/embed/conversation.d.ts.map +1 -1
- package/lib/src/embed/conversation.js +10 -2
- package/lib/src/embed/conversation.js.map +1 -1
- package/lib/src/embed/conversation.spec.js +133 -3
- package/lib/src/embed/conversation.spec.js.map +1 -1
- package/lib/src/embed/embedConfig.d.ts +49 -4
- package/lib/src/embed/embedConfig.d.ts.map +1 -1
- package/lib/src/embed/embedConfig.js +49 -4
- package/lib/src/embed/embedConfig.js.map +1 -1
- package/lib/src/embed/liveboard.d.ts +2 -19
- package/lib/src/embed/liveboard.d.ts.map +1 -1
- package/lib/src/embed/liveboard.js +3 -5
- package/lib/src/embed/liveboard.js.map +1 -1
- package/lib/src/embed/liveboard.spec.js +12 -11
- package/lib/src/embed/liveboard.spec.js.map +1 -1
- package/lib/src/embed/sage.d.ts +10 -10
- package/lib/src/embed/search.d.ts +4 -4
- package/lib/src/embed/ts-embed.d.ts +5 -0
- package/lib/src/embed/ts-embed.d.ts.map +1 -1
- package/lib/src/embed/ts-embed.js +16 -1
- package/lib/src/embed/ts-embed.js.map +1 -1
- package/lib/src/embed/ts-embed.spec.js +164 -0
- package/lib/src/embed/ts-embed.spec.js.map +1 -1
- package/lib/src/types.d.ts +41 -8
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +23 -6
- package/lib/src/types.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +183 -64
- package/package.json +1 -1
- package/src/embed/app.spec.ts +36 -23
- package/src/embed/app.ts +15 -13
- package/src/embed/conversation.spec.ts +170 -6
- package/src/embed/conversation.ts +86 -14
- package/src/embed/embedConfig.ts +50 -5
- package/src/embed/liveboard.spec.ts +5 -4
- package/src/embed/liveboard.ts +4 -24
- package/src/embed/sage.ts +10 -10
- package/src/embed/search.ts +4 -4
- package/src/embed/ts-embed.spec.ts +225 -0
- package/src/embed/ts-embed.ts +19 -0
- package/src/types.ts +82 -49
package/src/types.ts
CHANGED
|
@@ -275,7 +275,7 @@ export interface CustomStyles {
|
|
|
275
275
|
* Configuration to define the customization on the Embedded
|
|
276
276
|
* ThoughtSpot components.
|
|
277
277
|
* You can customize styles, text strings, and icons.
|
|
278
|
-
* For more information, see https://developers.thoughtspot.com/docs/custom-css.
|
|
278
|
+
* For more information, see link:https://developers.thoughtspot.com/docs/custom-css[CSS customization framework].
|
|
279
279
|
* @example
|
|
280
280
|
* ```js
|
|
281
281
|
* init({
|
|
@@ -645,9 +645,9 @@ export interface EmbedConfig {
|
|
|
645
645
|
customVariablesForThirdPartyTools?: Record< string, any >;
|
|
646
646
|
|
|
647
647
|
disablePreauthCache?: boolean;
|
|
648
|
-
|
|
648
|
+
|
|
649
649
|
/**
|
|
650
|
-
* Disable fullscreen presentation mode functionality. When enabled, prevents entering
|
|
650
|
+
* Disable fullscreen presentation mode functionality. When enabled, prevents entering
|
|
651
651
|
* and exiting fullscreen mode for embedded visualizations during presentations.
|
|
652
652
|
* @default true (feature is disabled by default)
|
|
653
653
|
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
@@ -702,7 +702,7 @@ export interface BaseViewConfig {
|
|
|
702
702
|
/**
|
|
703
703
|
* The width and height dimensions to render an embedded
|
|
704
704
|
* object inside your app. Specify the values in pixels or percentage.
|
|
705
|
-
*
|
|
705
|
+
*
|
|
706
706
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SageEmbed`, `SearchEmbed`, `SpotterAgentEmbed`, `SpotterEmbed`, `SearchBarEmbed`
|
|
707
707
|
* @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 7.2.1
|
|
708
708
|
* @example
|
|
@@ -732,7 +732,7 @@ export interface BaseViewConfig {
|
|
|
732
732
|
* (...), and the contextual menu. These actions will be disabled
|
|
733
733
|
* for the user.
|
|
734
734
|
* Use this to disable actions.
|
|
735
|
-
*
|
|
735
|
+
*
|
|
736
736
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SageEmbed`, `SearchEmbed`, `SpotterAgentEmbed`, `SpotterEmbed`, `SearchBarEmbed`
|
|
737
737
|
* @version SDK: 1.6.0 | ThoughtSpot: ts8.nov.cl, 8.4.1.sw
|
|
738
738
|
* @example
|
|
@@ -747,7 +747,7 @@ export interface BaseViewConfig {
|
|
|
747
747
|
disabledActions?: Action[];
|
|
748
748
|
/**
|
|
749
749
|
* The tooltip to display for disabled actions.
|
|
750
|
-
*
|
|
750
|
+
*
|
|
751
751
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SageEmbed`, `SearchEmbed`, `SpotterAgentEmbed`, `SpotterEmbed`, `SearchBarEmbed`
|
|
752
752
|
* @version SDK: 1.6.0 | ThoughtSpot: ts8.nov.cl, 8.4.1.sw
|
|
753
753
|
* @example
|
|
@@ -765,7 +765,7 @@ export interface BaseViewConfig {
|
|
|
765
765
|
* The list of actions to hide from the embedded.
|
|
766
766
|
* This actions will be hidden from the user.
|
|
767
767
|
* Use this to hide an action.
|
|
768
|
-
*
|
|
768
|
+
*
|
|
769
769
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SageEmbed`, `SearchEmbed`, `SpotterAgentEmbed`, `SpotterEmbed`, `SearchBarEmbed`
|
|
770
770
|
* @version SDK: 1.6.0 | ThoughtSpot: ts8.nov.cl, 8.4.1.sw
|
|
771
771
|
* @example
|
|
@@ -786,7 +786,7 @@ export interface BaseViewConfig {
|
|
|
786
786
|
* Use this to hide all actions except the ones you want to show.
|
|
787
787
|
*
|
|
788
788
|
* Use either this or hiddenActions.
|
|
789
|
-
*
|
|
789
|
+
*
|
|
790
790
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SageEmbed`, `SearchEmbed`, `SpotterAgentEmbed`, `SpotterEmbed`, `SearchBarEmbed`
|
|
791
791
|
* @version SDK: 1.6.0 | ThoughtSpot: ts8.nov.cl, 8.4.1.sw
|
|
792
792
|
* @important
|
|
@@ -802,7 +802,7 @@ export interface BaseViewConfig {
|
|
|
802
802
|
visibleActions?: Action[];
|
|
803
803
|
/**
|
|
804
804
|
* The locale settings to apply to the embedded view.
|
|
805
|
-
*
|
|
805
|
+
*
|
|
806
806
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SageEmbed`, `SearchEmbed`, `SpotterAgentEmbed`, `SpotterEmbed`, `SearchBarEmbed`
|
|
807
807
|
* @version SDK: 1.9.4 | ThoughtSpot 8.1.0.cl, 8.4.1.sw
|
|
808
808
|
* @example
|
|
@@ -823,7 +823,7 @@ export interface BaseViewConfig {
|
|
|
823
823
|
* Warning: This option is for advanced use only and is used internally
|
|
824
824
|
* to control embed behavior in non-regular ways. We do not publish the
|
|
825
825
|
* list of supported keys and values associated with each.
|
|
826
|
-
*
|
|
826
|
+
*
|
|
827
827
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SageEmbed`, `SearchEmbed`, `SpotterAgentEmbed`, `SpotterEmbed`, `SearchBarEmbed`
|
|
828
828
|
* @example
|
|
829
829
|
* ```js
|
|
@@ -849,7 +849,7 @@ export interface BaseViewConfig {
|
|
|
849
849
|
/**
|
|
850
850
|
* Insert as a sibling of the target container, instead of appending to a
|
|
851
851
|
* child inside it.
|
|
852
|
-
*
|
|
852
|
+
*
|
|
853
853
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SageEmbed`, `SearchEmbed`, `SpotterAgentEmbed`, `SpotterEmbed`, `SearchBarEmbed`
|
|
854
854
|
* @version SDK: 1.2.0 | ThoughtSpot: 9.0.0.cl, 9.0.0.sw
|
|
855
855
|
* @example
|
|
@@ -875,7 +875,7 @@ export interface BaseViewConfig {
|
|
|
875
875
|
* PreRender id to be used for PreRendering the embed.
|
|
876
876
|
* Use PreRender to render the embed in the background and then
|
|
877
877
|
* show or hide the rendered embed using showPreRender or hidePreRender respectively.
|
|
878
|
-
*
|
|
878
|
+
*
|
|
879
879
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SageEmbed`, `SearchEmbed`, `SpotterAgentEmbed`, `SpotterEmbed`, `SearchBarEmbed`
|
|
880
880
|
* @example
|
|
881
881
|
* ```js
|
|
@@ -913,7 +913,7 @@ export interface BaseViewConfig {
|
|
|
913
913
|
/**
|
|
914
914
|
* Enable the V2 shell. This can provide performance benefits
|
|
915
915
|
* due to a lighterweight shell.
|
|
916
|
-
*
|
|
916
|
+
*
|
|
917
917
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SageEmbed`, `SearchEmbed`, `SpotterAgentEmbed`, `SpotterEmbed`, `SearchBarEmbed`
|
|
918
918
|
* @example
|
|
919
919
|
* ```js
|
|
@@ -941,7 +941,7 @@ export interface BaseViewConfig {
|
|
|
941
941
|
/**
|
|
942
942
|
* This flag can be used to disable links inside the embedded app,
|
|
943
943
|
* and disable redirection of links in a new tab.
|
|
944
|
-
*
|
|
944
|
+
*
|
|
945
945
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SageEmbed`, `SearchEmbed`, `SpotterAgentEmbed`, `SpotterEmbed`, `SearchBarEmbed`
|
|
946
946
|
* @example
|
|
947
947
|
* ```js
|
|
@@ -960,7 +960,7 @@ export interface BaseViewConfig {
|
|
|
960
960
|
* objects from another Org.
|
|
961
961
|
* The `overrideOrgId` setting is honoured only if the
|
|
962
962
|
* Per Org URL feature is enabled on your ThoughtSpot instance.
|
|
963
|
-
*
|
|
963
|
+
*
|
|
964
964
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SageEmbed`, `SearchEmbed`, `SpotterAgentEmbed`, `SpotterEmbed`, `SearchBarEmbed`
|
|
965
965
|
* @example
|
|
966
966
|
* ```js
|
|
@@ -975,7 +975,7 @@ export interface BaseViewConfig {
|
|
|
975
975
|
overrideOrgId?: number;
|
|
976
976
|
/**
|
|
977
977
|
* Flag to override the *Open Link in New Tab* context menu option.
|
|
978
|
-
*
|
|
978
|
+
*
|
|
979
979
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SageEmbed`, `SearchEmbed`, `SpotterAgentEmbed`, `SpotterEmbed`, `SearchBarEmbed`
|
|
980
980
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
981
981
|
* @example
|
|
@@ -991,7 +991,7 @@ export interface BaseViewConfig {
|
|
|
991
991
|
/**
|
|
992
992
|
* The primary action to display on top of the viz for Liveboard and App Embed.
|
|
993
993
|
* Use this to set the primary action.
|
|
994
|
-
*
|
|
994
|
+
*
|
|
995
995
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`
|
|
996
996
|
* @version SDK: 1.39.0 | ThoughtSpot: 10.11.0.cl
|
|
997
997
|
* @example
|
|
@@ -1021,7 +1021,7 @@ export interface HomePageConfig {
|
|
|
1021
1021
|
* For example: hiddenListColumns = [ListPageColumns.Author]
|
|
1022
1022
|
*
|
|
1023
1023
|
* **Note**: This option is available only in full app embedding.
|
|
1024
|
-
*
|
|
1024
|
+
*
|
|
1025
1025
|
* Supported embed types: `AppEmbed`
|
|
1026
1026
|
* @version SDK: 1.38.0 | ThoughtSpot: 10.9.0.cl
|
|
1027
1027
|
* @example
|
|
@@ -1040,7 +1040,7 @@ export interface HomePageConfig {
|
|
|
1040
1040
|
* **Note**: This option does not apply to the classic homepage.
|
|
1041
1041
|
* To access the updated modular homepage, set
|
|
1042
1042
|
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
1043
|
-
*
|
|
1043
|
+
*
|
|
1044
1044
|
* Supported embed types: `AppEmbed`
|
|
1045
1045
|
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl, 10.1.0.sw
|
|
1046
1046
|
* @example
|
|
@@ -1059,7 +1059,7 @@ export interface HomePageConfig {
|
|
|
1059
1059
|
* **Note**: This option does not apply to the classic homepage.
|
|
1060
1060
|
* To access the updated modular homepage, set
|
|
1061
1061
|
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
1062
|
-
*
|
|
1062
|
+
*
|
|
1063
1063
|
* Supported embed types: `AppEmbed`
|
|
1064
1064
|
* @version SDK: 1.28.0| ThoughtSpot: 9.12.5.cl, 10.1.0.sw
|
|
1065
1065
|
* @example
|
|
@@ -1075,7 +1075,7 @@ export interface HomePageConfig {
|
|
|
1075
1075
|
* homepageLeftNavItems : Show or hide the left navigation bar items.
|
|
1076
1076
|
* There are 8 eight home navigation list items.
|
|
1077
1077
|
* To hide these items, specify the string in the array.
|
|
1078
|
-
*
|
|
1078
|
+
*
|
|
1079
1079
|
* Supported embed types: `AppEmbed`
|
|
1080
1080
|
* @example
|
|
1081
1081
|
* ```js
|
|
@@ -1100,7 +1100,7 @@ export interface SearchLiveboardCommonViewConfig {
|
|
|
1100
1100
|
/**
|
|
1101
1101
|
* The list of runtime filters to apply to a search Answer,
|
|
1102
1102
|
* visualization, or Liveboard.
|
|
1103
|
-
*
|
|
1103
|
+
*
|
|
1104
1104
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SearchEmbed`
|
|
1105
1105
|
* @version SDK: 1.9.4 | ThoughtSpot 8.1.0.cl, 8.4.1.sw
|
|
1106
1106
|
* @example
|
|
@@ -1122,7 +1122,7 @@ export interface SearchLiveboardCommonViewConfig {
|
|
|
1122
1122
|
/**
|
|
1123
1123
|
* The list of parameter override to apply to a search Answer,
|
|
1124
1124
|
* visualization, or Liveboard.
|
|
1125
|
-
*
|
|
1125
|
+
*
|
|
1126
1126
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SearchEmbed`
|
|
1127
1127
|
* @version SDK : 1.25.0 | ThoughtSpot: 9.2.0.cl, 9.5.0.sw
|
|
1128
1128
|
* @example
|
|
@@ -1142,7 +1142,7 @@ export interface SearchLiveboardCommonViewConfig {
|
|
|
1142
1142
|
runtimeParameters?: RuntimeParameter[];
|
|
1143
1143
|
/**
|
|
1144
1144
|
* flag to set ContextMenu Trigger to either left or right click.
|
|
1145
|
-
*
|
|
1145
|
+
*
|
|
1146
1146
|
* Supported embed types: `AppEmbed`, `SageEmbed`, `SearchEmbed`
|
|
1147
1147
|
* @example
|
|
1148
1148
|
* ```js
|
|
@@ -1178,7 +1178,7 @@ export interface SearchLiveboardCommonViewConfig {
|
|
|
1178
1178
|
excludeRuntimeParametersfromURL?: boolean;
|
|
1179
1179
|
/**
|
|
1180
1180
|
* To set the initial state of the search bar in case of saved Answers.
|
|
1181
|
-
*
|
|
1181
|
+
*
|
|
1182
1182
|
* Supported embed types: `SageEmbed`, `AppEmbed`, `SearchBarEmbed`
|
|
1183
1183
|
* @default true
|
|
1184
1184
|
* @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
|
|
@@ -1193,7 +1193,7 @@ export interface SearchLiveboardCommonViewConfig {
|
|
|
1193
1193
|
collapseSearchBar?: boolean;
|
|
1194
1194
|
/**
|
|
1195
1195
|
* Flag to control Data panel experience
|
|
1196
|
-
*
|
|
1196
|
+
*
|
|
1197
1197
|
* Supported embed types: `SageEmbed`, `AppEmbed`, `SearchBarEmbed`, `LiveboardEmbed`, `SearchEmbed`
|
|
1198
1198
|
* @default false
|
|
1199
1199
|
* @version SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
@@ -1209,7 +1209,7 @@ export interface SearchLiveboardCommonViewConfig {
|
|
|
1209
1209
|
dataPanelV2?: boolean;
|
|
1210
1210
|
/**
|
|
1211
1211
|
* To enable custom column groups in data panel v2
|
|
1212
|
-
*
|
|
1212
|
+
*
|
|
1213
1213
|
* Supported embed types: `SageEmbed`, `SearchBarEmbed`, `LiveboardEmbed`, `SearchEmbed`
|
|
1214
1214
|
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl, 10.1.0.sw
|
|
1215
1215
|
* @default false
|
|
@@ -1231,7 +1231,7 @@ export interface SearchLiveboardCommonViewConfig {
|
|
|
1231
1231
|
export interface LiveboardAppEmbedViewConfig {
|
|
1232
1232
|
/**
|
|
1233
1233
|
* Show or hide Liveboard header
|
|
1234
|
-
*
|
|
1234
|
+
*
|
|
1235
1235
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`
|
|
1236
1236
|
* @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
|
|
1237
1237
|
* @default false
|
|
@@ -1247,7 +1247,7 @@ export interface LiveboardAppEmbedViewConfig {
|
|
|
1247
1247
|
hideLiveboardHeader?: boolean;
|
|
1248
1248
|
/**
|
|
1249
1249
|
* Show or hide Liveboard title
|
|
1250
|
-
*
|
|
1250
|
+
*
|
|
1251
1251
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`
|
|
1252
1252
|
* @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
|
|
1253
1253
|
* @default false
|
|
@@ -1263,7 +1263,7 @@ export interface LiveboardAppEmbedViewConfig {
|
|
|
1263
1263
|
showLiveboardTitle?: boolean;
|
|
1264
1264
|
/**
|
|
1265
1265
|
* Show or hide Liveboard description
|
|
1266
|
-
*
|
|
1266
|
+
*
|
|
1267
1267
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`
|
|
1268
1268
|
* @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
|
|
1269
1269
|
* @default false
|
|
@@ -1279,7 +1279,7 @@ export interface LiveboardAppEmbedViewConfig {
|
|
|
1279
1279
|
showLiveboardDescription?: boolean;
|
|
1280
1280
|
/**
|
|
1281
1281
|
* Boolean to control if Liveboard header is sticky or not.
|
|
1282
|
-
*
|
|
1282
|
+
*
|
|
1283
1283
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`
|
|
1284
1284
|
* @example
|
|
1285
1285
|
* ```js
|
|
@@ -1294,7 +1294,7 @@ export interface LiveboardAppEmbedViewConfig {
|
|
|
1294
1294
|
isLiveboardHeaderSticky?: boolean;
|
|
1295
1295
|
/**
|
|
1296
1296
|
* This attribute can be used to enable the two-column layout on an embedded Liveboard
|
|
1297
|
-
*
|
|
1297
|
+
*
|
|
1298
1298
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`
|
|
1299
1299
|
* @type {boolean}
|
|
1300
1300
|
* @default false
|
|
@@ -1311,7 +1311,7 @@ export interface LiveboardAppEmbedViewConfig {
|
|
|
1311
1311
|
enable2ColumnLayout?: boolean;
|
|
1312
1312
|
/**
|
|
1313
1313
|
* This flag can be used to enable the compact header in Liveboard
|
|
1314
|
-
*
|
|
1314
|
+
*
|
|
1315
1315
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`
|
|
1316
1316
|
* @type {boolean}
|
|
1317
1317
|
* @default false
|
|
@@ -1328,7 +1328,7 @@ export interface LiveboardAppEmbedViewConfig {
|
|
|
1328
1328
|
isLiveboardCompactHeaderEnabled?: boolean;
|
|
1329
1329
|
/**
|
|
1330
1330
|
* This flag can be used to show or hide the Liveboard verified icon in the compact header.
|
|
1331
|
-
*
|
|
1331
|
+
*
|
|
1332
1332
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`
|
|
1333
1333
|
* @version SDK: 1.35.0 | ThoughtSpot:10.4.0.cl
|
|
1334
1334
|
* @default true
|
|
@@ -1344,7 +1344,7 @@ export interface LiveboardAppEmbedViewConfig {
|
|
|
1344
1344
|
showLiveboardVerifiedBadge?: boolean;
|
|
1345
1345
|
/**
|
|
1346
1346
|
* This flag is used to enable/disable hide irrelevant filters in Liveboard tab
|
|
1347
|
-
*
|
|
1347
|
+
*
|
|
1348
1348
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`
|
|
1349
1349
|
* @version SDK: 1.36.0 | ThoughtSpot:10.6.0.cl
|
|
1350
1350
|
* @default false
|
|
@@ -1360,7 +1360,7 @@ export interface LiveboardAppEmbedViewConfig {
|
|
|
1360
1360
|
hideIrrelevantChipsInLiveboardTabs?: boolean;
|
|
1361
1361
|
/**
|
|
1362
1362
|
* This flag can be used to show or hide the re-verify banner on the Liveboard compact header
|
|
1363
|
-
*
|
|
1363
|
+
*
|
|
1364
1364
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`
|
|
1365
1365
|
* @version SDK: 1.35.0 | ThoughtSpot:10.4.0.cl
|
|
1366
1366
|
* @default true
|
|
@@ -1376,7 +1376,7 @@ export interface LiveboardAppEmbedViewConfig {
|
|
|
1376
1376
|
showLiveboardReverifyBanner?: boolean;
|
|
1377
1377
|
/**
|
|
1378
1378
|
* enable or disable ask sage
|
|
1379
|
-
*
|
|
1379
|
+
*
|
|
1380
1380
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`
|
|
1381
1381
|
* @version SDK: 1.29.0 | Thoughtspot: 9.12.0.cl
|
|
1382
1382
|
* @default false
|
|
@@ -1390,6 +1390,22 @@ export interface LiveboardAppEmbedViewConfig {
|
|
|
1390
1390
|
* ```
|
|
1391
1391
|
*/
|
|
1392
1392
|
enableAskSage?: boolean;
|
|
1393
|
+
/**
|
|
1394
|
+
* This flag is used to show or hide checkboxes for including or excluding
|
|
1395
|
+
* the cover and filters pages in the Liveboard PDF.
|
|
1396
|
+
*
|
|
1397
|
+
* Supported embed types: `AppEmbed`, `LiveboardEmbed`
|
|
1398
|
+
* @version SDK: 1.40.0 | ThoughtSpot:10.8.0.cl
|
|
1399
|
+
* @example
|
|
1400
|
+
* ```js
|
|
1401
|
+
* // Replace <EmbedComponent> with embed component name. For example, AppEmbed or LiveboardEmbed
|
|
1402
|
+
* const embed = new <EmbedComponent>('#tsEmbed', {
|
|
1403
|
+
* ... // other embed view config
|
|
1404
|
+
* coverAndFilterOptionInPDF: false,
|
|
1405
|
+
* })
|
|
1406
|
+
* ```
|
|
1407
|
+
*/
|
|
1408
|
+
coverAndFilterOptionInPDF?: boolean;
|
|
1393
1409
|
}
|
|
1394
1410
|
|
|
1395
1411
|
export interface AllEmbedViewConfig extends BaseViewConfig, SearchLiveboardCommonViewConfig, HomePageConfig, LiveboardAppEmbedViewConfig {}
|
|
@@ -2554,7 +2570,7 @@ export enum EmbedEvent {
|
|
|
2554
2570
|
*
|
|
2555
2571
|
* error: Developers can customize the error message text when `execute`
|
|
2556
2572
|
* returns `false` using the error parameter in responder.
|
|
2557
|
-
* @version SDK : 1.29.0 | ThoughtSpot
|
|
2573
|
+
* @version SDK : 1.29.0 | ThoughtSpot: 10.3.0.cl
|
|
2558
2574
|
* @example
|
|
2559
2575
|
*```js
|
|
2560
2576
|
* .on(EmbedEvent.OnBeforeGetVizDataIntercept,
|
|
@@ -2601,7 +2617,7 @@ export enum EmbedEvent {
|
|
|
2601
2617
|
* console.log('payload', payload);
|
|
2602
2618
|
* })
|
|
2603
2619
|
*```
|
|
2604
|
-
* @version SDK : 1.29.0 | ThoughtSpot
|
|
2620
|
+
* @version SDK : 1.29.0 | ThoughtSpot: 10.3.0.cl
|
|
2605
2621
|
*/
|
|
2606
2622
|
ParameterChanged = 'parameterChanged',
|
|
2607
2623
|
/**
|
|
@@ -2657,18 +2673,18 @@ export enum EmbedEvent {
|
|
|
2657
2673
|
* console.log('payload', payload);
|
|
2658
2674
|
* })
|
|
2659
2675
|
*```
|
|
2660
|
-
* @version SDK : 1.37.0 | ThoughtSpot
|
|
2676
|
+
* @version SDK : 1.37.0 | ThoughtSpot: 10.8.0.cl
|
|
2661
2677
|
*/
|
|
2662
2678
|
CreateLiveboard = 'createLiveboard',
|
|
2663
2679
|
/**
|
|
2664
2680
|
* Emitted when a user creates a Model.
|
|
2665
|
-
* @version SDK : 1.37.0 | ThoughtSpot
|
|
2681
|
+
* @version SDK : 1.37.0 | ThoughtSpot: 10.8.0.cl
|
|
2666
2682
|
*/
|
|
2667
2683
|
CreateModel = 'createModel',
|
|
2668
2684
|
/**
|
|
2669
2685
|
* @hidden
|
|
2670
2686
|
* Emitted when a user exits present mode.
|
|
2671
|
-
* @version SDK : 1.40.0 | ThoughtSpot
|
|
2687
|
+
* @version SDK : 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
2672
2688
|
*/
|
|
2673
2689
|
ExitPresentMode = 'exitPresentMode',
|
|
2674
2690
|
}
|
|
@@ -3595,16 +3611,16 @@ export enum HostEvent {
|
|
|
3595
3611
|
/**
|
|
3596
3612
|
* Get the Answer session for a Search or
|
|
3597
3613
|
* Liveboard visualization.
|
|
3598
|
-
*
|
|
3599
|
-
* Note: This event is not typically used directly. Instead, use the
|
|
3600
|
-
* `getAnswerService()` method on the embed instance to get an AnswerService
|
|
3614
|
+
*
|
|
3615
|
+
* Note: This event is not typically used directly. Instead, use the
|
|
3616
|
+
* `getAnswerService()` method on the embed instance to get an AnswerService
|
|
3601
3617
|
* object that provides a more convenient interface for working with answers.
|
|
3602
|
-
*
|
|
3618
|
+
*
|
|
3603
3619
|
* @example
|
|
3604
3620
|
* ```js
|
|
3605
3621
|
* // Preferred way to get an AnswerService
|
|
3606
3622
|
* const service = await embed.getAnswerService();
|
|
3607
|
-
*
|
|
3623
|
+
*
|
|
3608
3624
|
* // Alternative direct usage (not recommended)
|
|
3609
3625
|
* const {session} = await embed.trigger(
|
|
3610
3626
|
* HostEvent.GetAnswerSession, {
|
|
@@ -3615,7 +3631,7 @@ export enum HostEvent {
|
|
|
3615
3631
|
* ```js
|
|
3616
3632
|
* // Preferred way to get an AnswerService
|
|
3617
3633
|
* const service = await embed.getAnswerService();
|
|
3618
|
-
*
|
|
3634
|
+
*
|
|
3619
3635
|
* // Alternative direct usage (not recommended)
|
|
3620
3636
|
* const {session} = await embed.trigger( HostEvent.GetAnswerSession )
|
|
3621
3637
|
* ```
|
|
@@ -3894,7 +3910,7 @@ export enum Param {
|
|
|
3894
3910
|
DataSourceId = 'dataSourceId',
|
|
3895
3911
|
preAuthCache = 'preAuthCache',
|
|
3896
3912
|
ShowSpotterLimitations = 'showSpotterLimitations',
|
|
3897
|
-
CoverAndFilterOptionInPDF = '
|
|
3913
|
+
CoverAndFilterOptionInPDF = 'arePdfCoverFilterPageCheckboxesEnabled',
|
|
3898
3914
|
PrimaryAction = 'primaryAction',
|
|
3899
3915
|
isSpotterAgentEmbed = 'isSpotterAgentEmbed',
|
|
3900
3916
|
IsLiveboardStylingAndGroupingEnabled = 'isLiveboardStylingAndGroupingEnabled',
|
|
@@ -3925,6 +3941,7 @@ export enum Param {
|
|
|
3925
3941
|
* hiddenActions: [Action.Edit, ActionAction.Explore],
|
|
3926
3942
|
* })
|
|
3927
3943
|
* ```
|
|
3944
|
+
* See also link:https://developers.thoughtspot.com/docs/actions[Action IDs in the SDK]
|
|
3928
3945
|
*/
|
|
3929
3946
|
// eslint-disable-next-line no-shadow
|
|
3930
3947
|
export enum Action {
|
|
@@ -5136,6 +5153,22 @@ export enum Action {
|
|
|
5136
5153
|
* @version SDK: 1.37.0 | ThoughtSpot Cloud: 10.8.0.cl
|
|
5137
5154
|
*/
|
|
5138
5155
|
CoverAndFilterOptionInPDF = 'coverAndFilterOptionInPDF',
|
|
5156
|
+
/**
|
|
5157
|
+
* Action ID for hide or disable the
|
|
5158
|
+
* Spotter in conversation training widget.
|
|
5159
|
+
* The Add to Coaching feature is currently in beta
|
|
5160
|
+
* and is disabled by default on embed deployments.
|
|
5161
|
+
* To enable this feature on your instance,
|
|
5162
|
+
* contact ThoughtSpot Support.
|
|
5163
|
+
* @example
|
|
5164
|
+
* ```js
|
|
5165
|
+
* hiddenAction: [Action.InConversationTraining]
|
|
5166
|
+
* disabledActions: [Action.InConversationTraining]
|
|
5167
|
+
*
|
|
5168
|
+
* ```
|
|
5169
|
+
* @version SDK: 1.39.0 | ThoughtSpot Cloud: 10.10.0.cl
|
|
5170
|
+
*/
|
|
5171
|
+
InConversationTraining = 'InConversationTraining',
|
|
5139
5172
|
}
|
|
5140
5173
|
|
|
5141
5174
|
export interface AnswerServiceType {
|