@thoughtspot/visual-embed-sdk 1.44.3 → 1.44.4
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/README.md +1 -1
- package/cjs/package.json +1 -1
- package/cjs/src/embed/app.d.ts +44 -32
- package/cjs/src/embed/app.d.ts.map +1 -1
- package/cjs/src/embed/app.js.map +1 -1
- package/cjs/src/embed/liveboard.d.ts +1 -1
- package/cjs/src/embed/ts-embed.d.ts +1 -1
- package/cjs/src/embed/ts-embed.d.ts.map +1 -1
- package/cjs/src/embed/ts-embed.js +24 -6
- package/cjs/src/embed/ts-embed.js.map +1 -1
- package/cjs/src/embed/ts-embed.spec.js +145 -13
- package/cjs/src/embed/ts-embed.spec.js.map +1 -1
- package/cjs/src/errors.d.ts +1 -0
- package/cjs/src/errors.d.ts.map +1 -1
- package/cjs/src/errors.js +1 -0
- package/cjs/src/errors.js.map +1 -1
- package/cjs/src/index.d.ts +2 -2
- package/cjs/src/index.d.ts.map +1 -1
- package/cjs/src/index.js +4 -1
- package/cjs/src/index.js.map +1 -1
- package/cjs/src/types.d.ts +100 -44
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +74 -15
- package/cjs/src/types.js.map +1 -1
- package/cjs/src/utils.d.ts.map +1 -1
- package/cjs/src/utils.js +2 -1
- package/cjs/src/utils.js.map +1 -1
- package/dist/{index-D0n5LIka.js → index-C5FAW929.js} +1 -1
- package/dist/src/embed/app.d.ts +44 -32
- package/dist/src/embed/app.d.ts.map +1 -1
- package/dist/src/embed/liveboard.d.ts +1 -1
- package/dist/src/embed/ts-embed.d.ts +1 -1
- package/dist/src/embed/ts-embed.d.ts.map +1 -1
- package/dist/src/errors.d.ts +1 -0
- package/dist/src/errors.d.ts.map +1 -1
- package/dist/src/index.d.ts +2 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/types.d.ts +100 -44
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/utils.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +104 -25
- package/dist/tsembed-react.js +103 -24
- package/dist/tsembed.es.js +105 -26
- package/dist/tsembed.js +130 -51
- package/dist/visual-embed-sdk-react-full.d.ts +140 -70
- package/dist/visual-embed-sdk-react.d.ts +146 -78
- package/dist/visual-embed-sdk.d.ts +193 -80
- package/lib/package.json +1 -1
- package/lib/src/embed/app.d.ts +44 -32
- package/lib/src/embed/app.d.ts.map +1 -1
- package/lib/src/embed/app.js.map +1 -1
- package/lib/src/embed/liveboard.d.ts +1 -1
- package/lib/src/embed/ts-embed.d.ts +1 -1
- package/lib/src/embed/ts-embed.d.ts.map +1 -1
- package/lib/src/embed/ts-embed.js +24 -6
- package/lib/src/embed/ts-embed.js.map +1 -1
- package/lib/src/embed/ts-embed.spec.js +145 -13
- package/lib/src/embed/ts-embed.spec.js.map +1 -1
- package/lib/src/errors.d.ts +1 -0
- package/lib/src/errors.d.ts.map +1 -1
- package/lib/src/errors.js +1 -0
- package/lib/src/errors.js.map +1 -1
- package/lib/src/index.d.ts +2 -2
- package/lib/src/index.d.ts.map +1 -1
- package/lib/src/index.js +2 -2
- package/lib/src/index.js.map +1 -1
- package/lib/src/types.d.ts +100 -44
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +74 -15
- package/lib/src/types.js.map +1 -1
- package/lib/src/utils.d.ts.map +1 -1
- package/lib/src/utils.js +2 -1
- package/lib/src/utils.js.map +1 -1
- package/package.json +1 -1
- package/src/embed/app.ts +44 -32
- package/src/embed/liveboard.ts +1 -1
- package/src/embed/ts-embed.spec.ts +190 -15
- package/src/embed/ts-embed.ts +24 -6
- package/src/errors.ts +1 -0
- package/src/index.ts +4 -0
- package/src/types.ts +100 -43
- package/src/utils.ts +2 -1
|
@@ -1010,48 +1010,65 @@ export declare enum AuthType {
|
|
|
1010
1010
|
}
|
|
1011
1011
|
declare enum HomeLeftNavItem {
|
|
1012
1012
|
/**
|
|
1013
|
+
* The *Search data* option in
|
|
1014
|
+
* the *Insights* left navigation panel.
|
|
1013
1015
|
* @version SDK: 1.28.0| ThoughtSpot: 9.12.5.cl
|
|
1014
1016
|
*/
|
|
1015
1017
|
SearchData = "search-data",
|
|
1016
1018
|
/**
|
|
1019
|
+
* The *Home* menu option in
|
|
1020
|
+
* the *Insights* left navigation panel.
|
|
1017
1021
|
* @version SDK: 1.28.0| ThoughtSpot: 9.12.5.cl
|
|
1018
1022
|
*/
|
|
1019
1023
|
Home = "insights-home",
|
|
1020
1024
|
/**
|
|
1025
|
+
* The *Liveboards* menu option in
|
|
1026
|
+
* the *Insights* left navigation panel.
|
|
1021
1027
|
* @version SDK: 1.28.0| ThoughtSpot: 9.12.5.cl
|
|
1022
1028
|
*/
|
|
1023
1029
|
Liveboards = "liveboards",
|
|
1024
1030
|
/**
|
|
1031
|
+
* The *Answers* menu option in
|
|
1032
|
+
* the *Insights* left navigation panel.
|
|
1025
1033
|
* @version SDK: 1.28.0| ThoughtSpot: 9.12.5.cl
|
|
1026
1034
|
*/
|
|
1027
1035
|
Answers = "answers",
|
|
1028
1036
|
/**
|
|
1037
|
+
* The *Monitor subscriptions* menu option in
|
|
1038
|
+
* the *Insights* left navigation panel.
|
|
1029
1039
|
* @version SDK: 1.28.0| ThoughtSpot: 9.12.5.cl
|
|
1030
1040
|
*/
|
|
1031
1041
|
MonitorSubscription = "monitor-alerts",
|
|
1032
1042
|
/**
|
|
1043
|
+
* The *SpotIQ analysis* menu option in
|
|
1044
|
+
* the *Insights* left navigation panel.
|
|
1033
1045
|
* @version SDK: 1.28.0| ThoughtSpot: 9.12.5.cl
|
|
1034
1046
|
*/
|
|
1035
1047
|
SpotIQAnalysis = "spotiq-analysis",
|
|
1036
1048
|
/**
|
|
1049
|
+
* The *Liveboard schedules* menu option in
|
|
1050
|
+
* the *Insights* left navigation panel.
|
|
1037
1051
|
* @version SDK: 1.34.0| ThoughtSpot: 10.3.0.cl
|
|
1038
1052
|
*/
|
|
1039
1053
|
LiveboardSchedules = "liveboard-schedules",
|
|
1040
1054
|
/**
|
|
1041
|
-
*
|
|
1042
|
-
*
|
|
1055
|
+
* The create option in the *Insights*
|
|
1056
|
+
* left navigation panel.
|
|
1057
|
+
* Available in the V3 navigation experience.
|
|
1043
1058
|
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
1044
1059
|
*/
|
|
1045
1060
|
Create = "create",
|
|
1046
1061
|
/**
|
|
1047
|
-
* Spotter option in the
|
|
1048
|
-
*
|
|
1062
|
+
* The *Spotter* menu option in the *Insights*
|
|
1063
|
+
* left navigation panel.
|
|
1064
|
+
* Available in the V3 navigation experience.
|
|
1049
1065
|
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
1050
1066
|
*/
|
|
1051
1067
|
Spotter = "spotter",
|
|
1052
1068
|
/**
|
|
1053
|
-
* Favorites
|
|
1054
|
-
*
|
|
1069
|
+
* The *Favorites* section in the *Insights*
|
|
1070
|
+
* left navigation panel.
|
|
1071
|
+
* Available in the V3 navigation experience.
|
|
1055
1072
|
* @version SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl
|
|
1056
1073
|
*/
|
|
1057
1074
|
Favorites = "favorites"
|
|
@@ -1914,11 +1931,13 @@ export interface BaseViewConfig extends ApiInterceptFlags {
|
|
|
1914
1931
|
*/
|
|
1915
1932
|
export interface HomePageConfig {
|
|
1916
1933
|
/**
|
|
1917
|
-
* Hide list
|
|
1918
|
-
*
|
|
1934
|
+
* Hide columns on list pages such as
|
|
1935
|
+
* *Liveboards* and *Answers*.
|
|
1936
|
+
* For example: `hiddenListColumns = [ListPageColumns.Author]`
|
|
1919
1937
|
*
|
|
1920
|
-
* **Note**: This option is
|
|
1921
|
-
*
|
|
1938
|
+
* **Note**: This option is available only in full app embedding and requires importing the `ListPageColumns` enum.
|
|
1939
|
+
* Starting with version 10.14.0.cl, you can use this attribute to
|
|
1940
|
+
* hide the columns on all list pages in the *Insights* section.
|
|
1922
1941
|
*
|
|
1923
1942
|
* Supported embed types: `AppEmbed`
|
|
1924
1943
|
* @version SDK: 1.38.0 | ThoughtSpot: 10.9.0.cl
|
|
@@ -1934,13 +1953,11 @@ export interface HomePageConfig {
|
|
|
1934
1953
|
*/
|
|
1935
1954
|
hiddenListColumns?: ListPageColumns[];
|
|
1936
1955
|
/**
|
|
1937
|
-
*
|
|
1938
|
-
*
|
|
1956
|
+
* Control the visibility of home page modules.
|
|
1957
|
+
* To specify the modules, import the `HomepageModule` enum.
|
|
1958
|
+
* For example: `hiddenHomepageModules = [HomepageModule.MyLibrary]`
|
|
1939
1959
|
*
|
|
1940
|
-
* **Note**: This
|
|
1941
|
-
* To access the updated modular homepage, set
|
|
1942
|
-
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
1943
|
-
* To use it, you need to import `HomepageModule` enum.
|
|
1960
|
+
* **Note**: This attribute is not supported in the classic (v1) experience.
|
|
1944
1961
|
*
|
|
1945
1962
|
* Supported embed types: `AppEmbed`
|
|
1946
1963
|
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl, 10.1.0.sw
|
|
@@ -1949,20 +1966,18 @@ export interface HomePageConfig {
|
|
|
1949
1966
|
* import { HomepageModule } from '@thoughtspot/visual-embed-sdk';
|
|
1950
1967
|
*
|
|
1951
1968
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
1952
|
-
* ... //
|
|
1969
|
+
* ... // V2/V3 navigation and home page experience attributes
|
|
1953
1970
|
* hiddenHomepageModules : [HomepageModule.Favorite,HomepageModule.Learning],
|
|
1971
|
+
* //...other embed view configuration attributes
|
|
1954
1972
|
* })
|
|
1955
1973
|
* ```
|
|
1956
1974
|
*/
|
|
1957
1975
|
hiddenHomepageModules?: HomepageModule[];
|
|
1958
1976
|
/**
|
|
1959
|
-
*
|
|
1960
|
-
*
|
|
1961
|
-
*
|
|
1962
|
-
* **Note**: This
|
|
1963
|
-
* To access the updated modular homepage, set
|
|
1964
|
-
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
1965
|
-
* To use it, you need to import `HomepageModule` enum.
|
|
1977
|
+
* Reorder home page modules.
|
|
1978
|
+
* To specify the modules, import the `HomepageModule` enum.
|
|
1979
|
+
* For example: `reorderedHomepageModules = [HomepageModule.MyLibrary, HomepageModule.Watchlist]`
|
|
1980
|
+
* **Note**: This attribute is not supported in the classic (v1) homepage.
|
|
1966
1981
|
*
|
|
1967
1982
|
* Supported embed types: `AppEmbed`
|
|
1968
1983
|
* @version SDK: 1.28.0| ThoughtSpot: 9.12.5.cl, 10.1.0.sw
|
|
@@ -1971,16 +1986,19 @@ export interface HomePageConfig {
|
|
|
1971
1986
|
* import { HomepageModule } from '@thoughtspot/visual-embed-sdk';
|
|
1972
1987
|
*
|
|
1973
1988
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
1974
|
-
*
|
|
1989
|
+
* ...//V2/V3 navigation and home page experience attributes
|
|
1975
1990
|
* reorderedHomepageModules:[HomepageModule.Favorite,HomepageModule.MyLibrary],
|
|
1991
|
+
* //... other embed view configuration attributes
|
|
1976
1992
|
* })
|
|
1977
1993
|
* ```
|
|
1978
1994
|
*/
|
|
1979
1995
|
reorderedHomepageModules?: HomepageModule[];
|
|
1980
1996
|
/**
|
|
1981
|
-
*
|
|
1982
|
-
*
|
|
1983
|
-
* To
|
|
1997
|
+
* Controls the visibility of the menu items
|
|
1998
|
+
* on the home page left navigation panel.
|
|
1999
|
+
* To specify the menu items, import the `HomeLeftNavItem` enum.
|
|
2000
|
+
*
|
|
2001
|
+
* **Note**: This attribute is not supported in the classic (v1) homepage.
|
|
1984
2002
|
*
|
|
1985
2003
|
* Supported embed types: `AppEmbed`
|
|
1986
2004
|
* @example
|
|
@@ -1988,15 +2006,11 @@ export interface HomePageConfig {
|
|
|
1988
2006
|
* import { HomeLeftNavItem } from '@thoughtspot/visual-embed-sdk';
|
|
1989
2007
|
*
|
|
1990
2008
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
1991
|
-
*
|
|
2009
|
+
* //... V2/V3 experience attributes
|
|
1992
2010
|
* hiddenHomeLeftNavItems : [HomeLeftNavItem.Home,HomeLeftNavItem.Answers],
|
|
2011
|
+
* ... //other embed view configuration attributes
|
|
1993
2012
|
* })
|
|
1994
2013
|
* ```
|
|
1995
|
-
*
|
|
1996
|
-
* **Note**: This option does not apply to the classic homepage.
|
|
1997
|
-
* To access the updated modular homepage, set
|
|
1998
|
-
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
1999
|
-
* To use it, you need to import `HomeLeftNavItem` enum.
|
|
2000
2014
|
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl, 10.1.0.sw
|
|
2001
2015
|
*/
|
|
2002
2016
|
hiddenHomeLeftNavItems?: HomeLeftNavItem[];
|
|
@@ -2523,7 +2537,7 @@ declare enum HomepageModule {
|
|
|
2523
2537
|
*/
|
|
2524
2538
|
Watchlist = "WATCHLIST",
|
|
2525
2539
|
/**
|
|
2526
|
-
*
|
|
2540
|
+
* Favorite module
|
|
2527
2541
|
*/
|
|
2528
2542
|
Favorite = "FAVORITE",
|
|
2529
2543
|
/**
|
|
@@ -3706,6 +3720,28 @@ export declare enum EmbedEvent {
|
|
|
3706
3720
|
* @version SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
|
|
3707
3721
|
*/
|
|
3708
3722
|
PreviewSpotterData = "PreviewSpotterData",
|
|
3723
|
+
/**
|
|
3724
|
+
* Emitted when user opens up the Add to Coaching modal on any visualization in Spotter Embed.
|
|
3725
|
+
* @example
|
|
3726
|
+
* ```js
|
|
3727
|
+
* spotterEmbed.on(EmbedEvent.AddToCoaching, (payload) => {
|
|
3728
|
+
* console.log('payload', payload);
|
|
3729
|
+
* })
|
|
3730
|
+
*```
|
|
3731
|
+
* @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
|
|
3732
|
+
*/
|
|
3733
|
+
AddToCoaching = "addToCoaching",
|
|
3734
|
+
/**
|
|
3735
|
+
* Emitted when user opens up the data model instructions modal in Spotter embed.
|
|
3736
|
+
* @example
|
|
3737
|
+
* ```js
|
|
3738
|
+
* spotterEmbed.on(EmbedEvent.DataModelInstructions, (payload) => {
|
|
3739
|
+
* console.log('payload', payload);
|
|
3740
|
+
* })
|
|
3741
|
+
* ```
|
|
3742
|
+
* @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
|
|
3743
|
+
*/
|
|
3744
|
+
DataModelInstructions = "DataModelInstructions",
|
|
3709
3745
|
/**
|
|
3710
3746
|
* Emitted when the Spotter query is triggered in Spotter embed.
|
|
3711
3747
|
* @example
|
|
@@ -5129,6 +5165,26 @@ export declare enum HostEvent {
|
|
|
5129
5165
|
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
5130
5166
|
*/
|
|
5131
5167
|
PreviewSpotterData = "PreviewSpotterData",
|
|
5168
|
+
/**
|
|
5169
|
+
* Opens the Add to Coaching modal from a visualization in Spotter Embed.
|
|
5170
|
+
* @param - `vizId ` refers to the Visualization ID in Spotter embed and is required.
|
|
5171
|
+
* @example
|
|
5172
|
+
* ```js
|
|
5173
|
+
* spotterEmbed.trigger(HostEvent.AddToCoaching, { vizId: '730496d6-6903-4601-937e-2c691821af3c' });
|
|
5174
|
+
*
|
|
5175
|
+
*```
|
|
5176
|
+
* @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
|
|
5177
|
+
*/
|
|
5178
|
+
AddToCoaching = "addToCoaching",
|
|
5179
|
+
/**
|
|
5180
|
+
* Opens the data model instructions modal in Spotter Embed.
|
|
5181
|
+
* @example
|
|
5182
|
+
* ```js
|
|
5183
|
+
* spotterEmbed.trigger(HostEvent.DataModelInstructions);
|
|
5184
|
+
* ```
|
|
5185
|
+
* @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
|
|
5186
|
+
*/
|
|
5187
|
+
DataModelInstructions = "DataModelInstructions",
|
|
5132
5188
|
/**
|
|
5133
5189
|
* Resets the Spotter Embed Conversation.
|
|
5134
5190
|
* @example
|
|
@@ -6774,7 +6830,9 @@ declare enum EmbedErrorCodes {
|
|
|
6774
6830
|
/** Host event type is undefined or invalid */
|
|
6775
6831
|
HOST_EVENT_TYPE_UNDEFINED = "HOST_EVENT_TYPE_UNDEFINED",
|
|
6776
6832
|
/** Error parsing api intercept body */
|
|
6777
|
-
PARSING_API_INTERCEPT_BODY_ERROR = "PARSING_API_INTERCEPT_BODY_ERROR"
|
|
6833
|
+
PARSING_API_INTERCEPT_BODY_ERROR = "PARSING_API_INTERCEPT_BODY_ERROR",
|
|
6834
|
+
/** Failed to update embed parameters during pre-render */
|
|
6835
|
+
UPDATE_PARAMS_FAILED = "UPDATE_PARAMS_FAILED"
|
|
6778
6836
|
}
|
|
6779
6837
|
/**
|
|
6780
6838
|
* Error event object emitted when an error occurs in an embedded component.
|
|
@@ -7299,7 +7357,7 @@ declare class TsEmbed {
|
|
|
7299
7357
|
* @param query
|
|
7300
7358
|
*/
|
|
7301
7359
|
protected getEmbedBasePath(query: string): string;
|
|
7302
|
-
protected getUpdateEmbedParamsObject(): Record<any, any
|
|
7360
|
+
protected getUpdateEmbedParamsObject(): Promise<Record<any, any>>;
|
|
7303
7361
|
/**
|
|
7304
7362
|
* Common query params set for all the embed modes.
|
|
7305
7363
|
* @param queryParams
|
|
@@ -8291,14 +8349,14 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
8291
8349
|
*/
|
|
8292
8350
|
showPrimaryNavbar?: boolean;
|
|
8293
8351
|
/**
|
|
8294
|
-
* Control the visibility of the left navigation
|
|
8295
|
-
*
|
|
8296
|
-
*
|
|
8297
|
-
*
|
|
8352
|
+
* Control the visibility of the left navigation panel on the home page
|
|
8353
|
+
* in the V2 and V3 navigation and home page experience.
|
|
8354
|
+
* If `showPrimaryNavbar` is true, that is, if the Global and Homepage
|
|
8355
|
+
* navigation bars are visible, this flag will only hide the left navigation bar
|
|
8356
|
+
* on the home page.
|
|
8357
|
+
* The `showPrimaryNavbar` flag takes precedence over the `hideHomepageLeftNav`.
|
|
8298
8358
|
*
|
|
8299
|
-
* **Note**: This
|
|
8300
|
-
* To access the updated modular homepage, set
|
|
8301
|
-
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
8359
|
+
* **Note**: This attribute is not supported in the classic (V1) experience.
|
|
8302
8360
|
*
|
|
8303
8361
|
* Supported embed types: `AppEmbed`
|
|
8304
8362
|
* @default false
|
|
@@ -8313,8 +8371,10 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
8313
8371
|
*/
|
|
8314
8372
|
hideHomepageLeftNav?: boolean;
|
|
8315
8373
|
/**
|
|
8316
|
-
* Control the visibility of the help (?) and profile
|
|
8317
|
-
*
|
|
8374
|
+
* Control the visibility of the help (?) and profile
|
|
8375
|
+
* buttons on the top navigation bar.
|
|
8376
|
+
* These buttons are visible if the
|
|
8377
|
+
* navigation bar is not hidden via `showPrimaryNavbar`.
|
|
8318
8378
|
*
|
|
8319
8379
|
* Supported embed types: `AppEmbed`
|
|
8320
8380
|
* @default false
|
|
@@ -8331,7 +8391,7 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
8331
8391
|
/**
|
|
8332
8392
|
* @version SDK: 1.36.3 | ThoughtSpot: 10.1.0.cl
|
|
8333
8393
|
* @default true
|
|
8334
|
-
* Whether the help menu in the top
|
|
8394
|
+
* Whether the help menu in the top navigation bar should be served
|
|
8335
8395
|
* from Pendo or ThoughtSpot's internal help items.
|
|
8336
8396
|
*
|
|
8337
8397
|
* Supported embed types: `AppEmbed`
|
|
@@ -8345,8 +8405,8 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
8345
8405
|
*/
|
|
8346
8406
|
enablePendoHelp?: boolean;
|
|
8347
8407
|
/**
|
|
8348
|
-
* Control the visibility of the hamburger icon on
|
|
8349
|
-
*
|
|
8408
|
+
* Control the visibility of the hamburger icon on
|
|
8409
|
+
* the top navigation bar in the V3 navigation experience.
|
|
8350
8410
|
*
|
|
8351
8411
|
* Supported embed types: `AppEmbed`
|
|
8352
8412
|
* @default false
|
|
@@ -8361,8 +8421,12 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
8361
8421
|
*/
|
|
8362
8422
|
hideHamburger?: boolean;
|
|
8363
8423
|
/**
|
|
8364
|
-
* Control the visibility of the
|
|
8365
|
-
*
|
|
8424
|
+
* Control the visibility of the object search
|
|
8425
|
+
* on the top navigation bar in the
|
|
8426
|
+
* V2 and V3 navigation experience.
|
|
8427
|
+
*
|
|
8428
|
+
* **Note**: This attribute is not supported
|
|
8429
|
+
* in the classic (V1) experience.
|
|
8366
8430
|
*
|
|
8367
8431
|
* Supported embed types: `AppEmbed`
|
|
8368
8432
|
* @default true
|
|
@@ -8377,8 +8441,11 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
8377
8441
|
*/
|
|
8378
8442
|
hideObjectSearch?: boolean;
|
|
8379
8443
|
/**
|
|
8380
|
-
* Control the visibility of the notification
|
|
8381
|
-
*
|
|
8444
|
+
* Control the visibility of the notification icon
|
|
8445
|
+
* on the top navigation bar in V3 navigation experience.
|
|
8446
|
+
*
|
|
8447
|
+
* **Note**: This attribute is not supported
|
|
8448
|
+
* in the classic (V1) and V2 experience modes.
|
|
8382
8449
|
*
|
|
8383
8450
|
* Supported embed types: `AppEmbed`
|
|
8384
8451
|
* @default true
|
|
@@ -8393,12 +8460,14 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
8393
8460
|
*/
|
|
8394
8461
|
hideNotification?: boolean;
|
|
8395
8462
|
/**
|
|
8396
|
-
* Control the visibility of the application
|
|
8397
|
-
*
|
|
8463
|
+
* Control the visibility of the application selection menu
|
|
8464
|
+
* in the top navigation bar in the V2 experience.
|
|
8465
|
+
* In the V3 experience, it shows or hides application selection
|
|
8466
|
+
* icons on the left navigation panel.
|
|
8467
|
+
* By default, the application selection menu and icons are
|
|
8468
|
+
* shown in the UI
|
|
8398
8469
|
*
|
|
8399
|
-
* **Note**: This
|
|
8400
|
-
* To access the updated modular homepage, set
|
|
8401
|
-
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
8470
|
+
* **Note**: This attribute is not supported in the classic (V1) experience.
|
|
8402
8471
|
*
|
|
8403
8472
|
* Supported embed types: `AppEmbed`
|
|
8404
8473
|
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl
|
|
@@ -8416,9 +8485,7 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
8416
8485
|
* Control the visibility of the Org switcher button on the nav-bar.
|
|
8417
8486
|
* By default, the Org switcher button is shown.
|
|
8418
8487
|
*
|
|
8419
|
-
* **Note**: This
|
|
8420
|
-
* To access the updated modular homepage, set
|
|
8421
|
-
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
8488
|
+
* **Note**: This attribute is not supported in the classic (V1) experience.
|
|
8422
8489
|
*
|
|
8423
8490
|
* Supported embed types: `AppEmbed`
|
|
8424
8491
|
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl
|
|
@@ -8571,8 +8638,9 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
8571
8638
|
*/
|
|
8572
8639
|
fullHeight?: boolean;
|
|
8573
8640
|
/**
|
|
8574
|
-
*
|
|
8575
|
-
*
|
|
8641
|
+
* Enables the V2 navigation and modular home page experience.
|
|
8642
|
+
* For more information,
|
|
8643
|
+
* see link:https://developers.thoughtspot.com/docs/full-app-customize[full app embed documentation].
|
|
8576
8644
|
* Supported embed types: `AppEmbed`
|
|
8577
8645
|
* @default false
|
|
8578
8646
|
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl
|
|
@@ -8586,18 +8654,20 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
8586
8654
|
*/
|
|
8587
8655
|
modularHomeExperience?: boolean;
|
|
8588
8656
|
/**
|
|
8589
|
-
*
|
|
8590
|
-
*
|
|
8657
|
+
* Configures the V3 navigation and home page experience.
|
|
8658
|
+
* For more information, see
|
|
8659
|
+
* link:https://developers.thoughtspot.com/docs/full-app-customize[full app embed documentation].
|
|
8591
8660
|
* Supported embed types: `AppEmbed`
|
|
8592
8661
|
* @default false
|
|
8593
8662
|
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
8594
8663
|
* @example
|
|
8595
8664
|
* ```js
|
|
8596
8665
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
8597
|
-
*
|
|
8666
|
+
* // Enable V3 navigation and home page experience
|
|
8598
8667
|
* discoveryExperience : {
|
|
8599
|
-
* primaryNavbarVersion: PrimaryNavbarVersion.Sliding,
|
|
8600
|
-
* homePage: HomePage.
|
|
8668
|
+
* primaryNavbarVersion: PrimaryNavbarVersion.Sliding, // Enable V3 navigation
|
|
8669
|
+
* homePage: HomePage.ModularWithStylingChanges, // Enable V3 modular home page
|
|
8670
|
+
* ... // other embed view config
|
|
8601
8671
|
* },
|
|
8602
8672
|
* })
|
|
8603
8673
|
* ```
|
|
@@ -8745,7 +8815,7 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
8745
8815
|
* Setting this height helps resolve issues with empty Apps and
|
|
8746
8816
|
* other screens navigable from an App.
|
|
8747
8817
|
*
|
|
8748
|
-
* @version SDK: 1.44.2 | ThoughtSpot:
|
|
8818
|
+
* @version SDK: 1.44.2 | ThoughtSpot: 10.15.0.cl
|
|
8749
8819
|
* @default 500
|
|
8750
8820
|
* @example
|
|
8751
8821
|
* ```js
|
|
@@ -8879,7 +8949,7 @@ export interface LiveboardViewConfig extends BaseViewConfig, SearchLiveboardComm
|
|
|
8879
8949
|
* Setting this height helps resolve issues with empty Liveboards and
|
|
8880
8950
|
* other screens navigable from a Liveboard.
|
|
8881
8951
|
*
|
|
8882
|
-
* @version SDK: 1.44.2 | ThoughtSpot:
|
|
8952
|
+
* @version SDK: 1.44.2 | ThoughtSpot: 10.15.0.cl
|
|
8883
8953
|
* @default 500
|
|
8884
8954
|
* @example
|
|
8885
8955
|
* ```js
|