@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
|
@@ -1005,56 +1005,70 @@ declare enum AuthType {
|
|
|
1005
1005
|
}
|
|
1006
1006
|
/**
|
|
1007
1007
|
*
|
|
1008
|
-
* This
|
|
1009
|
-
* To access the updated modular homepage,
|
|
1010
|
-
* set `modularHomeExperience` to `true`
|
|
1011
|
-
* (available as Early Access feature in 9.12.5.cl).
|
|
1008
|
+
* **Note**: This attribute is not supported in the classic (V1) homepage experience.
|
|
1012
1009
|
*
|
|
1013
1010
|
*/
|
|
1014
1011
|
export declare enum HomeLeftNavItem {
|
|
1015
1012
|
/**
|
|
1013
|
+
* The *Search data* option in
|
|
1014
|
+
* the *Insights* left navigation panel.
|
|
1016
1015
|
* @version SDK: 1.28.0| ThoughtSpot: 9.12.5.cl
|
|
1017
1016
|
*/
|
|
1018
1017
|
SearchData = "search-data",
|
|
1019
1018
|
/**
|
|
1019
|
+
* The *Home* menu option in
|
|
1020
|
+
* the *Insights* left navigation panel.
|
|
1020
1021
|
* @version SDK: 1.28.0| ThoughtSpot: 9.12.5.cl
|
|
1021
1022
|
*/
|
|
1022
1023
|
Home = "insights-home",
|
|
1023
1024
|
/**
|
|
1025
|
+
* The *Liveboards* menu option in
|
|
1026
|
+
* the *Insights* left navigation panel.
|
|
1024
1027
|
* @version SDK: 1.28.0| ThoughtSpot: 9.12.5.cl
|
|
1025
1028
|
*/
|
|
1026
1029
|
Liveboards = "liveboards",
|
|
1027
1030
|
/**
|
|
1031
|
+
* The *Answers* menu option in
|
|
1032
|
+
* the *Insights* left navigation panel.
|
|
1028
1033
|
* @version SDK: 1.28.0| ThoughtSpot: 9.12.5.cl
|
|
1029
1034
|
*/
|
|
1030
1035
|
Answers = "answers",
|
|
1031
1036
|
/**
|
|
1037
|
+
* The *Monitor subscriptions* menu option in
|
|
1038
|
+
* the *Insights* left navigation panel.
|
|
1032
1039
|
* @version SDK: 1.28.0| ThoughtSpot: 9.12.5.cl
|
|
1033
1040
|
*/
|
|
1034
1041
|
MonitorSubscription = "monitor-alerts",
|
|
1035
1042
|
/**
|
|
1043
|
+
* The *SpotIQ analysis* menu option in
|
|
1044
|
+
* the *Insights* left navigation panel.
|
|
1036
1045
|
* @version SDK: 1.28.0| ThoughtSpot: 9.12.5.cl
|
|
1037
1046
|
*/
|
|
1038
1047
|
SpotIQAnalysis = "spotiq-analysis",
|
|
1039
1048
|
/**
|
|
1049
|
+
* The *Liveboard schedules* menu option in
|
|
1050
|
+
* the *Insights* left navigation panel.
|
|
1040
1051
|
* @version SDK: 1.34.0| ThoughtSpot: 10.3.0.cl
|
|
1041
1052
|
*/
|
|
1042
1053
|
LiveboardSchedules = "liveboard-schedules",
|
|
1043
1054
|
/**
|
|
1044
|
-
*
|
|
1045
|
-
*
|
|
1055
|
+
* The create option in the *Insights*
|
|
1056
|
+
* left navigation panel.
|
|
1057
|
+
* Available in the V3 navigation experience.
|
|
1046
1058
|
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
1047
1059
|
*/
|
|
1048
1060
|
Create = "create",
|
|
1049
1061
|
/**
|
|
1050
|
-
* Spotter option in the
|
|
1051
|
-
*
|
|
1062
|
+
* The *Spotter* menu option in the *Insights*
|
|
1063
|
+
* left navigation panel.
|
|
1064
|
+
* Available in the V3 navigation experience.
|
|
1052
1065
|
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
1053
1066
|
*/
|
|
1054
1067
|
Spotter = "spotter",
|
|
1055
1068
|
/**
|
|
1056
|
-
* Favorites
|
|
1057
|
-
*
|
|
1069
|
+
* The *Favorites* section in the *Insights*
|
|
1070
|
+
* left navigation panel.
|
|
1071
|
+
* Available in the V3 navigation experience.
|
|
1058
1072
|
* @version SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl
|
|
1059
1073
|
*/
|
|
1060
1074
|
Favorites = "favorites"
|
|
@@ -1917,11 +1931,13 @@ export interface BaseViewConfig extends ApiInterceptFlags {
|
|
|
1917
1931
|
*/
|
|
1918
1932
|
export interface HomePageConfig {
|
|
1919
1933
|
/**
|
|
1920
|
-
* Hide list
|
|
1921
|
-
*
|
|
1934
|
+
* Hide columns on list pages such as
|
|
1935
|
+
* *Liveboards* and *Answers*.
|
|
1936
|
+
* For example: `hiddenListColumns = [ListPageColumns.Author]`
|
|
1922
1937
|
*
|
|
1923
|
-
* **Note**: This option is
|
|
1924
|
-
*
|
|
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.
|
|
1925
1941
|
*
|
|
1926
1942
|
* Supported embed types: `AppEmbed`
|
|
1927
1943
|
* @version SDK: 1.38.0 | ThoughtSpot: 10.9.0.cl
|
|
@@ -1937,13 +1953,11 @@ export interface HomePageConfig {
|
|
|
1937
1953
|
*/
|
|
1938
1954
|
hiddenListColumns?: ListPageColumns[];
|
|
1939
1955
|
/**
|
|
1940
|
-
*
|
|
1941
|
-
*
|
|
1956
|
+
* Control the visibility of home page modules.
|
|
1957
|
+
* To specify the modules, import the `HomepageModule` enum.
|
|
1958
|
+
* For example: `hiddenHomepageModules = [HomepageModule.MyLibrary]`
|
|
1942
1959
|
*
|
|
1943
|
-
* **Note**: This
|
|
1944
|
-
* To access the updated modular homepage, set
|
|
1945
|
-
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
1946
|
-
* To use it, you need to import `HomepageModule` enum.
|
|
1960
|
+
* **Note**: This attribute is not supported in the classic (v1) experience.
|
|
1947
1961
|
*
|
|
1948
1962
|
* Supported embed types: `AppEmbed`
|
|
1949
1963
|
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl, 10.1.0.sw
|
|
@@ -1952,20 +1966,18 @@ export interface HomePageConfig {
|
|
|
1952
1966
|
* import { HomepageModule } from '@thoughtspot/visual-embed-sdk';
|
|
1953
1967
|
*
|
|
1954
1968
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
1955
|
-
* ... //
|
|
1969
|
+
* ... // V2/V3 navigation and home page experience attributes
|
|
1956
1970
|
* hiddenHomepageModules : [HomepageModule.Favorite,HomepageModule.Learning],
|
|
1971
|
+
* //...other embed view configuration attributes
|
|
1957
1972
|
* })
|
|
1958
1973
|
* ```
|
|
1959
1974
|
*/
|
|
1960
1975
|
hiddenHomepageModules?: HomepageModule[];
|
|
1961
1976
|
/**
|
|
1962
|
-
*
|
|
1963
|
-
*
|
|
1964
|
-
*
|
|
1965
|
-
* **Note**: This
|
|
1966
|
-
* To access the updated modular homepage, set
|
|
1967
|
-
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
1968
|
-
* 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.
|
|
1969
1981
|
*
|
|
1970
1982
|
* Supported embed types: `AppEmbed`
|
|
1971
1983
|
* @version SDK: 1.28.0| ThoughtSpot: 9.12.5.cl, 10.1.0.sw
|
|
@@ -1974,16 +1986,19 @@ export interface HomePageConfig {
|
|
|
1974
1986
|
* import { HomepageModule } from '@thoughtspot/visual-embed-sdk';
|
|
1975
1987
|
*
|
|
1976
1988
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
1977
|
-
*
|
|
1989
|
+
* ...//V2/V3 navigation and home page experience attributes
|
|
1978
1990
|
* reorderedHomepageModules:[HomepageModule.Favorite,HomepageModule.MyLibrary],
|
|
1991
|
+
* //... other embed view configuration attributes
|
|
1979
1992
|
* })
|
|
1980
1993
|
* ```
|
|
1981
1994
|
*/
|
|
1982
1995
|
reorderedHomepageModules?: HomepageModule[];
|
|
1983
1996
|
/**
|
|
1984
|
-
*
|
|
1985
|
-
*
|
|
1986
|
-
* 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.
|
|
1987
2002
|
*
|
|
1988
2003
|
* Supported embed types: `AppEmbed`
|
|
1989
2004
|
* @example
|
|
@@ -1991,15 +2006,11 @@ export interface HomePageConfig {
|
|
|
1991
2006
|
* import { HomeLeftNavItem } from '@thoughtspot/visual-embed-sdk';
|
|
1992
2007
|
*
|
|
1993
2008
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
1994
|
-
*
|
|
2009
|
+
* //... V2/V3 experience attributes
|
|
1995
2010
|
* hiddenHomeLeftNavItems : [HomeLeftNavItem.Home,HomeLeftNavItem.Answers],
|
|
2011
|
+
* ... //other embed view configuration attributes
|
|
1996
2012
|
* })
|
|
1997
2013
|
* ```
|
|
1998
|
-
*
|
|
1999
|
-
* **Note**: This option does not apply to the classic homepage.
|
|
2000
|
-
* To access the updated modular homepage, set
|
|
2001
|
-
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
2002
|
-
* To use it, you need to import `HomeLeftNavItem` enum.
|
|
2003
2014
|
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl, 10.1.0.sw
|
|
2004
2015
|
*/
|
|
2005
2016
|
hiddenHomeLeftNavItems?: HomeLeftNavItem[];
|
|
@@ -2517,10 +2528,11 @@ export declare enum RuntimeFilterOp {
|
|
|
2517
2528
|
NOT_IN = "NOT_IN"
|
|
2518
2529
|
}
|
|
2519
2530
|
/**
|
|
2520
|
-
* Home page
|
|
2521
|
-
*
|
|
2522
|
-
*
|
|
2523
|
-
*
|
|
2531
|
+
* Home page modules that can be hidden
|
|
2532
|
+
* via `hiddenHomepageModules` and reordered via
|
|
2533
|
+
* `reorderedHomepageModules`.
|
|
2534
|
+
*
|
|
2535
|
+
* **Note**: This option is not supported in the classic (v1) experience.
|
|
2524
2536
|
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl, 10.1.0.sw
|
|
2525
2537
|
*/
|
|
2526
2538
|
export declare enum HomepageModule {
|
|
@@ -2533,7 +2545,7 @@ export declare enum HomepageModule {
|
|
|
2533
2545
|
*/
|
|
2534
2546
|
Watchlist = "WATCHLIST",
|
|
2535
2547
|
/**
|
|
2536
|
-
*
|
|
2548
|
+
* Favorite module
|
|
2537
2549
|
*/
|
|
2538
2550
|
Favorite = "FAVORITE",
|
|
2539
2551
|
/**
|
|
@@ -3721,6 +3733,28 @@ export declare enum EmbedEvent {
|
|
|
3721
3733
|
* @version SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
|
|
3722
3734
|
*/
|
|
3723
3735
|
PreviewSpotterData = "PreviewSpotterData",
|
|
3736
|
+
/**
|
|
3737
|
+
* Emitted when user opens up the Add to Coaching modal on any visualization in Spotter Embed.
|
|
3738
|
+
* @example
|
|
3739
|
+
* ```js
|
|
3740
|
+
* spotterEmbed.on(EmbedEvent.AddToCoaching, (payload) => {
|
|
3741
|
+
* console.log('payload', payload);
|
|
3742
|
+
* })
|
|
3743
|
+
*```
|
|
3744
|
+
* @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
|
|
3745
|
+
*/
|
|
3746
|
+
AddToCoaching = "addToCoaching",
|
|
3747
|
+
/**
|
|
3748
|
+
* Emitted when user opens up the data model instructions modal in Spotter embed.
|
|
3749
|
+
* @example
|
|
3750
|
+
* ```js
|
|
3751
|
+
* spotterEmbed.on(EmbedEvent.DataModelInstructions, (payload) => {
|
|
3752
|
+
* console.log('payload', payload);
|
|
3753
|
+
* })
|
|
3754
|
+
* ```
|
|
3755
|
+
* @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
|
|
3756
|
+
*/
|
|
3757
|
+
DataModelInstructions = "DataModelInstructions",
|
|
3724
3758
|
/**
|
|
3725
3759
|
* Emitted when the Spotter query is triggered in Spotter embed.
|
|
3726
3760
|
* @example
|
|
@@ -5144,6 +5178,26 @@ export declare enum HostEvent {
|
|
|
5144
5178
|
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
5145
5179
|
*/
|
|
5146
5180
|
PreviewSpotterData = "PreviewSpotterData",
|
|
5181
|
+
/**
|
|
5182
|
+
* Opens the Add to Coaching modal from a visualization in Spotter Embed.
|
|
5183
|
+
* @param - `vizId ` refers to the Visualization ID in Spotter embed and is required.
|
|
5184
|
+
* @example
|
|
5185
|
+
* ```js
|
|
5186
|
+
* spotterEmbed.trigger(HostEvent.AddToCoaching, { vizId: '730496d6-6903-4601-937e-2c691821af3c' });
|
|
5187
|
+
*
|
|
5188
|
+
*```
|
|
5189
|
+
* @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
|
|
5190
|
+
*/
|
|
5191
|
+
AddToCoaching = "addToCoaching",
|
|
5192
|
+
/**
|
|
5193
|
+
* Opens the data model instructions modal in Spotter Embed.
|
|
5194
|
+
* @example
|
|
5195
|
+
* ```js
|
|
5196
|
+
* spotterEmbed.trigger(HostEvent.DataModelInstructions);
|
|
5197
|
+
* ```
|
|
5198
|
+
* @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
|
|
5199
|
+
*/
|
|
5200
|
+
DataModelInstructions = "DataModelInstructions",
|
|
5147
5201
|
/**
|
|
5148
5202
|
* Resets the Spotter Embed Conversation.
|
|
5149
5203
|
* @example
|
|
@@ -6768,7 +6822,9 @@ declare enum EmbedErrorCodes {
|
|
|
6768
6822
|
/** Host event type is undefined or invalid */
|
|
6769
6823
|
HOST_EVENT_TYPE_UNDEFINED = "HOST_EVENT_TYPE_UNDEFINED",
|
|
6770
6824
|
/** Error parsing api intercept body */
|
|
6771
|
-
PARSING_API_INTERCEPT_BODY_ERROR = "PARSING_API_INTERCEPT_BODY_ERROR"
|
|
6825
|
+
PARSING_API_INTERCEPT_BODY_ERROR = "PARSING_API_INTERCEPT_BODY_ERROR",
|
|
6826
|
+
/** Failed to update embed parameters during pre-render */
|
|
6827
|
+
UPDATE_PARAMS_FAILED = "UPDATE_PARAMS_FAILED"
|
|
6772
6828
|
}
|
|
6773
6829
|
/**
|
|
6774
6830
|
* Error event object emitted when an error occurs in an embedded component.
|
|
@@ -7277,7 +7333,7 @@ declare class TsEmbed {
|
|
|
7277
7333
|
* @param query
|
|
7278
7334
|
*/
|
|
7279
7335
|
protected getEmbedBasePath(query: string): string;
|
|
7280
|
-
protected getUpdateEmbedParamsObject(): Record<any, any
|
|
7336
|
+
protected getUpdateEmbedParamsObject(): Promise<Record<any, any>>;
|
|
7281
7337
|
/**
|
|
7282
7338
|
* Common query params set for all the embed modes.
|
|
7283
7339
|
* @param queryParams
|
|
@@ -8265,14 +8321,14 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
8265
8321
|
*/
|
|
8266
8322
|
showPrimaryNavbar?: boolean;
|
|
8267
8323
|
/**
|
|
8268
|
-
* Control the visibility of the left navigation
|
|
8269
|
-
*
|
|
8270
|
-
*
|
|
8271
|
-
*
|
|
8324
|
+
* Control the visibility of the left navigation panel on the home page
|
|
8325
|
+
* in the V2 and V3 navigation and home page experience.
|
|
8326
|
+
* If `showPrimaryNavbar` is true, that is, if the Global and Homepage
|
|
8327
|
+
* navigation bars are visible, this flag will only hide the left navigation bar
|
|
8328
|
+
* on the home page.
|
|
8329
|
+
* The `showPrimaryNavbar` flag takes precedence over the `hideHomepageLeftNav`.
|
|
8272
8330
|
*
|
|
8273
|
-
* **Note**: This
|
|
8274
|
-
* To access the updated modular homepage, set
|
|
8275
|
-
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
8331
|
+
* **Note**: This attribute is not supported in the classic (V1) experience.
|
|
8276
8332
|
*
|
|
8277
8333
|
* Supported embed types: `AppEmbed`
|
|
8278
8334
|
* @default false
|
|
@@ -8287,8 +8343,10 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
8287
8343
|
*/
|
|
8288
8344
|
hideHomepageLeftNav?: boolean;
|
|
8289
8345
|
/**
|
|
8290
|
-
* Control the visibility of the help (?) and profile
|
|
8291
|
-
*
|
|
8346
|
+
* Control the visibility of the help (?) and profile
|
|
8347
|
+
* buttons on the top navigation bar.
|
|
8348
|
+
* These buttons are visible if the
|
|
8349
|
+
* navigation bar is not hidden via `showPrimaryNavbar`.
|
|
8292
8350
|
*
|
|
8293
8351
|
* Supported embed types: `AppEmbed`
|
|
8294
8352
|
* @default false
|
|
@@ -8305,7 +8363,7 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
8305
8363
|
/**
|
|
8306
8364
|
* @version SDK: 1.36.3 | ThoughtSpot: 10.1.0.cl
|
|
8307
8365
|
* @default true
|
|
8308
|
-
* Whether the help menu in the top
|
|
8366
|
+
* Whether the help menu in the top navigation bar should be served
|
|
8309
8367
|
* from Pendo or ThoughtSpot's internal help items.
|
|
8310
8368
|
*
|
|
8311
8369
|
* Supported embed types: `AppEmbed`
|
|
@@ -8319,8 +8377,8 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
8319
8377
|
*/
|
|
8320
8378
|
enablePendoHelp?: boolean;
|
|
8321
8379
|
/**
|
|
8322
|
-
* Control the visibility of the hamburger icon on
|
|
8323
|
-
*
|
|
8380
|
+
* Control the visibility of the hamburger icon on
|
|
8381
|
+
* the top navigation bar in the V3 navigation experience.
|
|
8324
8382
|
*
|
|
8325
8383
|
* Supported embed types: `AppEmbed`
|
|
8326
8384
|
* @default false
|
|
@@ -8335,8 +8393,12 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
8335
8393
|
*/
|
|
8336
8394
|
hideHamburger?: boolean;
|
|
8337
8395
|
/**
|
|
8338
|
-
* Control the visibility of the
|
|
8339
|
-
*
|
|
8396
|
+
* Control the visibility of the object search
|
|
8397
|
+
* on the top navigation bar in the
|
|
8398
|
+
* V2 and V3 navigation experience.
|
|
8399
|
+
*
|
|
8400
|
+
* **Note**: This attribute is not supported
|
|
8401
|
+
* in the classic (V1) experience.
|
|
8340
8402
|
*
|
|
8341
8403
|
* Supported embed types: `AppEmbed`
|
|
8342
8404
|
* @default true
|
|
@@ -8351,8 +8413,11 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
8351
8413
|
*/
|
|
8352
8414
|
hideObjectSearch?: boolean;
|
|
8353
8415
|
/**
|
|
8354
|
-
* Control the visibility of the notification
|
|
8355
|
-
*
|
|
8416
|
+
* Control the visibility of the notification icon
|
|
8417
|
+
* on the top navigation bar in V3 navigation experience.
|
|
8418
|
+
*
|
|
8419
|
+
* **Note**: This attribute is not supported
|
|
8420
|
+
* in the classic (V1) and V2 experience modes.
|
|
8356
8421
|
*
|
|
8357
8422
|
* Supported embed types: `AppEmbed`
|
|
8358
8423
|
* @default true
|
|
@@ -8367,12 +8432,14 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
8367
8432
|
*/
|
|
8368
8433
|
hideNotification?: boolean;
|
|
8369
8434
|
/**
|
|
8370
|
-
* Control the visibility of the application
|
|
8371
|
-
*
|
|
8435
|
+
* Control the visibility of the application selection menu
|
|
8436
|
+
* in the top navigation bar in the V2 experience.
|
|
8437
|
+
* In the V3 experience, it shows or hides application selection
|
|
8438
|
+
* icons on the left navigation panel.
|
|
8439
|
+
* By default, the application selection menu and icons are
|
|
8440
|
+
* shown in the UI
|
|
8372
8441
|
*
|
|
8373
|
-
* **Note**: This
|
|
8374
|
-
* To access the updated modular homepage, set
|
|
8375
|
-
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
8442
|
+
* **Note**: This attribute is not supported in the classic (V1) experience.
|
|
8376
8443
|
*
|
|
8377
8444
|
* Supported embed types: `AppEmbed`
|
|
8378
8445
|
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl
|
|
@@ -8390,9 +8457,7 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
8390
8457
|
* Control the visibility of the Org switcher button on the nav-bar.
|
|
8391
8458
|
* By default, the Org switcher button is shown.
|
|
8392
8459
|
*
|
|
8393
|
-
* **Note**: This
|
|
8394
|
-
* To access the updated modular homepage, set
|
|
8395
|
-
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
8460
|
+
* **Note**: This attribute is not supported in the classic (V1) experience.
|
|
8396
8461
|
*
|
|
8397
8462
|
* Supported embed types: `AppEmbed`
|
|
8398
8463
|
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl
|
|
@@ -8545,8 +8610,9 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
8545
8610
|
*/
|
|
8546
8611
|
fullHeight?: boolean;
|
|
8547
8612
|
/**
|
|
8548
|
-
*
|
|
8549
|
-
*
|
|
8613
|
+
* Enables the V2 navigation and modular home page experience.
|
|
8614
|
+
* For more information,
|
|
8615
|
+
* see link:https://developers.thoughtspot.com/docs/full-app-customize[full app embed documentation].
|
|
8550
8616
|
* Supported embed types: `AppEmbed`
|
|
8551
8617
|
* @default false
|
|
8552
8618
|
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl
|
|
@@ -8560,18 +8626,20 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
8560
8626
|
*/
|
|
8561
8627
|
modularHomeExperience?: boolean;
|
|
8562
8628
|
/**
|
|
8563
|
-
*
|
|
8564
|
-
*
|
|
8629
|
+
* Configures the V3 navigation and home page experience.
|
|
8630
|
+
* For more information, see
|
|
8631
|
+
* link:https://developers.thoughtspot.com/docs/full-app-customize[full app embed documentation].
|
|
8565
8632
|
* Supported embed types: `AppEmbed`
|
|
8566
8633
|
* @default false
|
|
8567
8634
|
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
8568
8635
|
* @example
|
|
8569
8636
|
* ```js
|
|
8570
8637
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
8571
|
-
*
|
|
8638
|
+
* // Enable V3 navigation and home page experience
|
|
8572
8639
|
* discoveryExperience : {
|
|
8573
|
-
* primaryNavbarVersion: PrimaryNavbarVersion.Sliding,
|
|
8574
|
-
* homePage: HomePage.
|
|
8640
|
+
* primaryNavbarVersion: PrimaryNavbarVersion.Sliding, // Enable V3 navigation
|
|
8641
|
+
* homePage: HomePage.ModularWithStylingChanges, // Enable V3 modular home page
|
|
8642
|
+
* ... // other embed view config
|
|
8575
8643
|
* },
|
|
8576
8644
|
* })
|
|
8577
8645
|
* ```
|
|
@@ -8719,7 +8787,7 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
8719
8787
|
* Setting this height helps resolve issues with empty Apps and
|
|
8720
8788
|
* other screens navigable from an App.
|
|
8721
8789
|
*
|
|
8722
|
-
* @version SDK: 1.44.2 | ThoughtSpot:
|
|
8790
|
+
* @version SDK: 1.44.2 | ThoughtSpot: 10.15.0.cl
|
|
8723
8791
|
* @default 500
|
|
8724
8792
|
* @example
|
|
8725
8793
|
* ```js
|
|
@@ -8853,7 +8921,7 @@ export interface LiveboardViewConfig extends BaseViewConfig, SearchLiveboardComm
|
|
|
8853
8921
|
* Setting this height helps resolve issues with empty Liveboards and
|
|
8854
8922
|
* other screens navigable from a Liveboard.
|
|
8855
8923
|
*
|
|
8856
|
-
* @version SDK: 1.44.2 | ThoughtSpot:
|
|
8924
|
+
* @version SDK: 1.44.2 | ThoughtSpot: 10.15.0.cl
|
|
8857
8925
|
* @default 500
|
|
8858
8926
|
* @example
|
|
8859
8927
|
* ```js
|