@thoughtspot/visual-embed-sdk 1.32.1 → 1.32.3-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 +4 -22
- package/cjs/src/css-variables.d.ts +28 -0
- package/cjs/src/css-variables.d.ts.map +1 -1
- package/cjs/src/embed/app.d.ts +15 -14
- package/cjs/src/embed/app.d.ts.map +1 -1
- package/cjs/src/embed/app.js +18 -3
- package/cjs/src/embed/app.js.map +1 -1
- package/cjs/src/embed/app.spec.js +32 -0
- package/cjs/src/embed/app.spec.js.map +1 -1
- package/cjs/src/embed/liveboard.d.ts.map +1 -1
- package/cjs/src/embed/liveboard.js +2 -1
- package/cjs/src/embed/liveboard.js.map +1 -1
- package/cjs/src/embed/liveboard.spec.js +10 -0
- package/cjs/src/embed/liveboard.spec.js.map +1 -1
- package/cjs/src/embed/search.d.ts +0 -13
- package/cjs/src/embed/search.d.ts.map +1 -1
- package/cjs/src/embed/search.js +1 -1
- package/cjs/src/embed/search.js.map +1 -1
- package/cjs/src/embed/search.spec.js +9 -9
- package/cjs/src/embed/search.spec.js.map +1 -1
- package/cjs/src/hostEventsTypeMapping.d.ts +2 -0
- package/cjs/src/hostEventsTypeMapping.d.ts.map +1 -0
- package/cjs/src/hostEventsTypeMapping.js +4 -0
- package/cjs/src/hostEventsTypeMapping.js.map +1 -0
- package/cjs/src/mixpanel-service.d.ts +4 -0
- package/cjs/src/mixpanel-service.d.ts.map +1 -1
- package/cjs/src/mixpanel-service.js +4 -0
- package/cjs/src/mixpanel-service.js.map +1 -1
- package/cjs/src/react/index.spec.js +1 -1
- package/cjs/src/react/index.spec.js.map +1 -1
- package/cjs/src/types.d.ts +32 -15
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +12 -14
- package/cjs/src/types.js.map +1 -1
- package/cjs/src/utils/processData.js +2 -2
- package/cjs/src/utils/processData.js.map +1 -1
- package/dist/src/css-variables.d.ts +28 -0
- package/dist/src/css-variables.d.ts.map +1 -1
- package/dist/src/embed/app.d.ts +15 -14
- package/dist/src/embed/app.d.ts.map +1 -1
- package/dist/src/embed/liveboard.d.ts.map +1 -1
- package/dist/src/embed/search.d.ts +0 -13
- package/dist/src/embed/search.d.ts.map +1 -1
- package/dist/src/hostEventsTypeMapping.d.ts +2 -0
- package/dist/src/hostEventsTypeMapping.d.ts.map +1 -0
- package/dist/src/mixpanel-service.d.ts +4 -0
- package/dist/src/mixpanel-service.d.ts.map +1 -1
- package/dist/src/types.d.ts +32 -15
- package/dist/src/types.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +39 -21
- package/dist/tsembed-react.js +39 -21
- package/dist/tsembed.es.js +39 -21
- package/dist/tsembed.js +39 -21
- package/dist/visual-embed-sdk-react-full.d.ts +79 -42
- package/dist/visual-embed-sdk-react.d.ts +79 -42
- package/dist/visual-embed-sdk.d.ts +79 -42
- package/lib/package.json +4 -22
- package/lib/src/css-variables.d.ts +28 -0
- package/lib/src/css-variables.d.ts.map +1 -1
- package/lib/src/embed/app.d.ts +15 -14
- package/lib/src/embed/app.d.ts.map +1 -1
- package/lib/src/embed/app.js +17 -2
- package/lib/src/embed/app.js.map +1 -1
- package/lib/src/embed/app.spec.js +33 -1
- package/lib/src/embed/app.spec.js.map +1 -1
- package/lib/src/embed/liveboard.d.ts.map +1 -1
- package/lib/src/embed/liveboard.js +2 -1
- package/lib/src/embed/liveboard.js.map +1 -1
- package/lib/src/embed/liveboard.spec.js +10 -0
- package/lib/src/embed/liveboard.spec.js.map +1 -1
- package/lib/src/embed/search.d.ts +0 -13
- package/lib/src/embed/search.d.ts.map +1 -1
- package/lib/src/embed/search.js +1 -1
- package/lib/src/embed/search.js.map +1 -1
- package/lib/src/embed/search.spec.js +9 -9
- package/lib/src/embed/search.spec.js.map +1 -1
- package/lib/src/hostEventsTypeMapping.d.ts +2 -0
- package/lib/src/hostEventsTypeMapping.d.ts.map +1 -0
- package/lib/src/hostEventsTypeMapping.js +2 -0
- package/lib/src/hostEventsTypeMapping.js.map +1 -0
- package/lib/src/mixpanel-service.d.ts +4 -0
- package/lib/src/mixpanel-service.d.ts.map +1 -1
- package/lib/src/mixpanel-service.js +4 -0
- package/lib/src/mixpanel-service.js.map +1 -1
- package/lib/src/react/index.spec.js +1 -1
- package/lib/src/react/index.spec.js.map +1 -1
- package/lib/src/types.d.ts +32 -15
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +12 -14
- package/lib/src/types.js.map +1 -1
- package/lib/src/utils/processData.js +2 -2
- package/lib/src/utils/processData.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +79 -42
- package/package.json +4 -22
- package/src/css-variables.ts +28 -0
- package/src/embed/app.spec.ts +48 -0
- package/src/embed/app.ts +22 -14
- package/src/embed/liveboard.spec.ts +14 -0
- package/src/embed/liveboard.ts +2 -0
- package/src/embed/search.spec.ts +9 -9
- package/src/embed/search.ts +1 -14
- package/src/hostEventsTypeMapping.ts +23 -0
- package/src/mixpanel-service.ts +4 -0
- package/src/react/index.spec.tsx +1 -1
- package/src/types.ts +43 -24
- package/src/utils/processData.ts +2 -2
|
@@ -653,19 +653,6 @@ export interface SearchViewConfig extends Omit<ViewConfig, 'hiddenHomepageModule
|
|
|
653
653
|
* ```
|
|
654
654
|
*/
|
|
655
655
|
hideSearchBar?: boolean;
|
|
656
|
-
/**
|
|
657
|
-
* Flag to control Data panel experience
|
|
658
|
-
* @default false
|
|
659
|
-
* @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
|
|
660
|
-
* @example
|
|
661
|
-
* ```js
|
|
662
|
-
* const embed = new SearchEmbed('#tsEmbed', {
|
|
663
|
-
* ... // other options
|
|
664
|
-
* dataPanelV2:false,
|
|
665
|
-
* })
|
|
666
|
-
* ```
|
|
667
|
-
*/
|
|
668
|
-
dataPanelV2?: boolean;
|
|
669
656
|
/**
|
|
670
657
|
* Flag to set if last selected dataSource should be used
|
|
671
658
|
* @version: SDK: 1.24.0
|
|
@@ -795,7 +782,11 @@ export declare enum Page {
|
|
|
795
782
|
/**
|
|
796
783
|
* SpotIQ listing page
|
|
797
784
|
*/
|
|
798
|
-
SpotIQ = "insights"
|
|
785
|
+
SpotIQ = "insights",
|
|
786
|
+
/**
|
|
787
|
+
* Monitor Alerts Page
|
|
788
|
+
*/
|
|
789
|
+
Monitor = "monitor"
|
|
799
790
|
}
|
|
800
791
|
/**
|
|
801
792
|
* Define the initial state os column custom group accordions
|
|
@@ -815,6 +806,11 @@ export declare enum DataPanelCustomColumnGroupsAccordionState {
|
|
|
815
806
|
*/
|
|
816
807
|
EXPAND_FIRST = "EXPAND_FIRST"
|
|
817
808
|
}
|
|
809
|
+
export declare enum HomePageSearchBarMode {
|
|
810
|
+
OBJECT_SEARCH = "objectSearch",
|
|
811
|
+
AI_ANSWER = "aiAnswer",
|
|
812
|
+
NONE = "none"
|
|
813
|
+
}
|
|
818
814
|
/**
|
|
819
815
|
* The view configuration for full app embedding.
|
|
820
816
|
* @group Embed components
|
|
@@ -1001,19 +997,6 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
1001
997
|
* ```
|
|
1002
998
|
*/
|
|
1003
999
|
fullHeight?: boolean;
|
|
1004
|
-
/**
|
|
1005
|
-
* Flag to control Data panel experience
|
|
1006
|
-
* @default false
|
|
1007
|
-
* @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
|
|
1008
|
-
* @example
|
|
1009
|
-
* ```js
|
|
1010
|
-
* const embed = new AppEmbed('#tsEmbed', {
|
|
1011
|
-
* ... // other options
|
|
1012
|
-
* dataPanelV2: true,
|
|
1013
|
-
* })
|
|
1014
|
-
* ```
|
|
1015
|
-
*/
|
|
1016
|
-
dataPanelV2?: boolean;
|
|
1017
1000
|
/**
|
|
1018
1001
|
* Show or hide Liveboard header
|
|
1019
1002
|
* @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
|
|
@@ -1142,6 +1125,11 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
1142
1125
|
* @version SDK : 1.29.0 | Thoughtspot : 10.1.0.cl
|
|
1143
1126
|
*/
|
|
1144
1127
|
isOnBeforeGetVizDataInterceptEnabled?: boolean;
|
|
1128
|
+
/**
|
|
1129
|
+
* Flag to use home page search bar mode
|
|
1130
|
+
* @version SDK : 1.33.0 | Thoughtspot : 10.2.0.cl
|
|
1131
|
+
*/
|
|
1132
|
+
homePageSearchBarMode?: HomePageSearchBarMode;
|
|
1145
1133
|
}
|
|
1146
1134
|
/**
|
|
1147
1135
|
* Embeds full ThoughtSpot experience in a host application.
|
|
@@ -2445,6 +2433,12 @@ export interface EmbedConfig {
|
|
|
2445
2433
|
* @version SDK: 1.28.5 | Thoughtspot: *
|
|
2446
2434
|
*/
|
|
2447
2435
|
disableTokenVerification?: boolean;
|
|
2436
|
+
/**
|
|
2437
|
+
* This flag is used to disable showing the login failure page in the embedded app.
|
|
2438
|
+
*
|
|
2439
|
+
* @version SDK 1.32.3 | Thoughtspot: *
|
|
2440
|
+
*/
|
|
2441
|
+
disableLoginFailurePage?: boolean;
|
|
2448
2442
|
}
|
|
2449
2443
|
export interface LayoutConfig {
|
|
2450
2444
|
}
|
|
@@ -2892,6 +2886,19 @@ export interface ViewConfig {
|
|
|
2892
2886
|
* @version SDK: 1.32.1 | ThoughtSpot: 10.3.0.cl
|
|
2893
2887
|
*/
|
|
2894
2888
|
disableRedirectionLinksInNewTab?: boolean;
|
|
2889
|
+
/**
|
|
2890
|
+
* Flag to control Data panel experience
|
|
2891
|
+
* @default true
|
|
2892
|
+
* @version SDK: 1.34.0 | Thoughtspot: 10.3.0.cl
|
|
2893
|
+
* @example
|
|
2894
|
+
* ```js
|
|
2895
|
+
* const embed = new AppEmbed('#tsEmbed', {
|
|
2896
|
+
* ... // other options
|
|
2897
|
+
* dataPanelV2: true,
|
|
2898
|
+
* })
|
|
2899
|
+
* ```
|
|
2900
|
+
*/
|
|
2901
|
+
dataPanelV2?: boolean;
|
|
2895
2902
|
}
|
|
2896
2903
|
/**
|
|
2897
2904
|
* MessagePayload: Embed event payload: message type, data and status (start/end)
|
|
@@ -3636,7 +3643,6 @@ export declare enum EmbedEvent {
|
|
|
3636
3643
|
/**
|
|
3637
3644
|
* Emitted when a user clicks the **Update TML** action on
|
|
3638
3645
|
* embedded Liveboard.
|
|
3639
|
-
*
|
|
3640
3646
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
3641
3647
|
* @example
|
|
3642
3648
|
*```js
|
|
@@ -3648,7 +3654,6 @@ export declare enum EmbedEvent {
|
|
|
3648
3654
|
/**
|
|
3649
3655
|
* Emitted when a user clicks the **Edit TML** action
|
|
3650
3656
|
* on an embedded Liveboard.
|
|
3651
|
-
*
|
|
3652
3657
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
3653
3658
|
* @example
|
|
3654
3659
|
*```js
|
|
@@ -4256,20 +4261,16 @@ export declare enum HostEvent {
|
|
|
4256
4261
|
/**
|
|
4257
4262
|
* Trigger the **Export TML** action on an embedded Liveboard or
|
|
4258
4263
|
* Answer.
|
|
4259
|
-
*
|
|
4260
4264
|
* @example
|
|
4261
4265
|
* ```js
|
|
4262
4266
|
* liveboardEmbed.trigger(HostEvent.ExportTML)
|
|
4263
4267
|
* ```
|
|
4264
|
-
*
|
|
4265
4268
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
4266
4269
|
*/
|
|
4267
4270
|
ExportTML = "exportTSL",
|
|
4268
4271
|
/**
|
|
4269
4272
|
* Trigger the **Edit TML** action on an embedded Liveboard or
|
|
4270
4273
|
* saved Answers in the full application embedding.
|
|
4271
|
-
*
|
|
4272
|
-
*
|
|
4273
4274
|
* @example
|
|
4274
4275
|
* ```js
|
|
4275
4276
|
* liveboardEmbed.trigger(HostEvent.EditTML)
|
|
@@ -4396,7 +4397,6 @@ export declare enum HostEvent {
|
|
|
4396
4397
|
* This event is not supported in visualization embed and search embed.
|
|
4397
4398
|
* @param - object - To trigger the action for a specific visualization
|
|
4398
4399
|
* in Liveboard embed, pass in `vizId` as a key.
|
|
4399
|
-
*
|
|
4400
4400
|
* @example
|
|
4401
4401
|
* ```js
|
|
4402
4402
|
* liveboardEmbed.trigger(HostEvent.Edit)
|
|
@@ -4663,7 +4663,6 @@ export declare enum HostEvent {
|
|
|
4663
4663
|
/**
|
|
4664
4664
|
* Get details of filters applied on the Liveboard.
|
|
4665
4665
|
* Returns arrays containing Liveboard filter and runtime filter elements.
|
|
4666
|
-
*
|
|
4667
4666
|
* @example
|
|
4668
4667
|
* ```js
|
|
4669
4668
|
* const data = await liveboardEmbed.trigger(HostEvent.GetFilters);
|
|
@@ -4960,7 +4959,8 @@ export declare enum Param {
|
|
|
4960
4959
|
IsFullAppEmbed = "isFullAppEmbed",
|
|
4961
4960
|
IsOnBeforeGetVizDataInterceptEnabled = "isOnBeforeGetVizDataInterceptEnabled",
|
|
4962
4961
|
FocusSearchBarOnRender = "focusSearchBarOnRender",
|
|
4963
|
-
DisableRedirectionLinksInNewTab = "disableRedirectionLinksInNewTab"
|
|
4962
|
+
DisableRedirectionLinksInNewTab = "disableRedirectionLinksInNewTab",
|
|
4963
|
+
HomePageSearchBarMode = "homePageSearchBarMode"
|
|
4964
4964
|
}
|
|
4965
4965
|
/**
|
|
4966
4966
|
* ThoughtSpot application pages include actions and menu commands
|
|
@@ -5010,7 +5010,6 @@ export declare enum Action {
|
|
|
5010
5010
|
* The **Save as View** action on the Answer
|
|
5011
5011
|
* page. Saves an Answer as a View object in the full
|
|
5012
5012
|
* application embedding mode.
|
|
5013
|
-
*
|
|
5014
5013
|
* @example
|
|
5015
5014
|
* ```js
|
|
5016
5015
|
* disabledActions: [Action.SaveAsView]
|
|
@@ -5468,7 +5467,6 @@ export declare enum Action {
|
|
|
5468
5467
|
/**
|
|
5469
5468
|
* The **Delete** action for Answers in the full application
|
|
5470
5469
|
* embedding mode.
|
|
5471
|
-
*
|
|
5472
5470
|
* @example
|
|
5473
5471
|
* ```js
|
|
5474
5472
|
* disabledActions: [Action.AnswerDelete]
|
|
@@ -5740,9 +5738,6 @@ export declare enum Action {
|
|
|
5740
5738
|
*/
|
|
5741
5739
|
RenameModalTitleDescription = "renameModalTitleDescription",
|
|
5742
5740
|
/**
|
|
5743
|
-
*
|
|
5744
|
-
* The **Request Verification** action on the Liveboard.
|
|
5745
|
-
* Triggers a Liveboard verification request.
|
|
5746
5741
|
*
|
|
5747
5742
|
* @example
|
|
5748
5743
|
* ```js
|
|
@@ -5887,7 +5882,7 @@ export declare enum Action {
|
|
|
5887
5882
|
*
|
|
5888
5883
|
* @version SDK: 1.32.0 | Thoughtspot: 10.1.0.cl
|
|
5889
5884
|
*/
|
|
5890
|
-
CreateLiveboard = "
|
|
5885
|
+
CreateLiveboard = "createLiveboard",
|
|
5891
5886
|
/**
|
|
5892
5887
|
* Action ID for to hide Verified Liveboard Banner
|
|
5893
5888
|
* @example
|
|
@@ -5978,6 +5973,16 @@ export declare enum Action {
|
|
|
5978
5973
|
* @version SDK: 1.34.0 | Thoughtspot: 10.3.0.cl
|
|
5979
5974
|
*/
|
|
5980
5975
|
UnsubscribeScheduleHomepage = "unsubscribeScheduleHomepage",
|
|
5976
|
+
/**
|
|
5977
|
+
* The **Manage Tags** action on Homepage Favourite Module.
|
|
5978
|
+
*
|
|
5979
|
+
* @example
|
|
5980
|
+
* ```js
|
|
5981
|
+
* disabledActions: [Action.ManageTags]
|
|
5982
|
+
* ```
|
|
5983
|
+
* @version SDK : 1.34.0 | Thoughtspot: 10.3.0.cl
|
|
5984
|
+
*/
|
|
5985
|
+
ManageTags = "manageTags",
|
|
5981
5986
|
/**
|
|
5982
5987
|
* Action ID for delete schedule action on schedule on homepage
|
|
5983
5988
|
* @example
|
|
@@ -6468,6 +6473,34 @@ export interface CustomCssVariables {
|
|
|
6468
6473
|
* Background for favorite carousel find your favorites card in modular home.
|
|
6469
6474
|
*/
|
|
6470
6475
|
'--ts-var-home-favorite-suggestion-card-background'?: string;
|
|
6476
|
+
/**
|
|
6477
|
+
* Border color of checkbox in error state.
|
|
6478
|
+
*/
|
|
6479
|
+
'--ts-var-checkbox-error-border'?: string;
|
|
6480
|
+
/**
|
|
6481
|
+
* Border color of checkbox.
|
|
6482
|
+
*/
|
|
6483
|
+
'--ts-var-checkbox-border-color'?: string;
|
|
6484
|
+
/**
|
|
6485
|
+
* Border color of checkbox in hover state.
|
|
6486
|
+
*/
|
|
6487
|
+
'--ts-var-checkbox-hover-border'?: string;
|
|
6488
|
+
/**
|
|
6489
|
+
* Border and font color of checkbox in active state.
|
|
6490
|
+
*/
|
|
6491
|
+
'--ts-var-checkbox-active-color'?: string;
|
|
6492
|
+
/**
|
|
6493
|
+
* Border color and font color of checkbox in checked state.
|
|
6494
|
+
*/
|
|
6495
|
+
'--ts-var-checkbox-checked-color'?: string;
|
|
6496
|
+
/**
|
|
6497
|
+
* Border and font color of checkbox in disabled state.
|
|
6498
|
+
*/
|
|
6499
|
+
'--ts-var-checkbox-checked-disabled'?: string;
|
|
6500
|
+
/**
|
|
6501
|
+
* Background color of checkbox.
|
|
6502
|
+
*/
|
|
6503
|
+
'--ts-var-checkbox-background-color'?: string;
|
|
6471
6504
|
}
|
|
6472
6505
|
|
|
6473
6506
|
export interface SessionInterface {
|
|
@@ -6641,6 +6674,10 @@ export declare const setEmbedConfig: (newConfig: EmbedConfig) => EmbedConfig;
|
|
|
6641
6674
|
export declare const EndPoints: {
|
|
6642
6675
|
CONFIG: string;
|
|
6643
6676
|
};
|
|
6677
|
+
/**
|
|
6678
|
+
* Enum of mixpanel events
|
|
6679
|
+
* @hidden
|
|
6680
|
+
*/
|
|
6644
6681
|
export declare const MIXPANEL_EVENT: {
|
|
6645
6682
|
VISUAL_SDK_RENDER_START: string;
|
|
6646
6683
|
VISUAL_SDK_CALLED_INIT: string;
|
|
@@ -643,19 +643,6 @@ export interface SearchViewConfig extends Omit<ViewConfig, 'hiddenHomepageModule
|
|
|
643
643
|
* ```
|
|
644
644
|
*/
|
|
645
645
|
hideSearchBar?: boolean;
|
|
646
|
-
/**
|
|
647
|
-
* Flag to control Data panel experience
|
|
648
|
-
* @default false
|
|
649
|
-
* @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
|
|
650
|
-
* @example
|
|
651
|
-
* ```js
|
|
652
|
-
* const embed = new SearchEmbed('#tsEmbed', {
|
|
653
|
-
* ... // other options
|
|
654
|
-
* dataPanelV2:false,
|
|
655
|
-
* })
|
|
656
|
-
* ```
|
|
657
|
-
*/
|
|
658
|
-
dataPanelV2?: boolean;
|
|
659
646
|
/**
|
|
660
647
|
* Flag to set if last selected dataSource should be used
|
|
661
648
|
* @version: SDK: 1.24.0
|
|
@@ -785,7 +772,11 @@ export declare enum Page {
|
|
|
785
772
|
/**
|
|
786
773
|
* SpotIQ listing page
|
|
787
774
|
*/
|
|
788
|
-
SpotIQ = "insights"
|
|
775
|
+
SpotIQ = "insights",
|
|
776
|
+
/**
|
|
777
|
+
* Monitor Alerts Page
|
|
778
|
+
*/
|
|
779
|
+
Monitor = "monitor"
|
|
789
780
|
}
|
|
790
781
|
/**
|
|
791
782
|
* Define the initial state os column custom group accordions
|
|
@@ -805,6 +796,11 @@ export declare enum DataPanelCustomColumnGroupsAccordionState {
|
|
|
805
796
|
*/
|
|
806
797
|
EXPAND_FIRST = "EXPAND_FIRST"
|
|
807
798
|
}
|
|
799
|
+
export declare enum HomePageSearchBarMode {
|
|
800
|
+
OBJECT_SEARCH = "objectSearch",
|
|
801
|
+
AI_ANSWER = "aiAnswer",
|
|
802
|
+
NONE = "none"
|
|
803
|
+
}
|
|
808
804
|
/**
|
|
809
805
|
* The view configuration for full app embedding.
|
|
810
806
|
* @group Embed components
|
|
@@ -991,19 +987,6 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
991
987
|
* ```
|
|
992
988
|
*/
|
|
993
989
|
fullHeight?: boolean;
|
|
994
|
-
/**
|
|
995
|
-
* Flag to control Data panel experience
|
|
996
|
-
* @default false
|
|
997
|
-
* @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
|
|
998
|
-
* @example
|
|
999
|
-
* ```js
|
|
1000
|
-
* const embed = new AppEmbed('#tsEmbed', {
|
|
1001
|
-
* ... // other options
|
|
1002
|
-
* dataPanelV2: true,
|
|
1003
|
-
* })
|
|
1004
|
-
* ```
|
|
1005
|
-
*/
|
|
1006
|
-
dataPanelV2?: boolean;
|
|
1007
990
|
/**
|
|
1008
991
|
* Show or hide Liveboard header
|
|
1009
992
|
* @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
|
|
@@ -1132,6 +1115,11 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
1132
1115
|
* @version SDK : 1.29.0 | Thoughtspot : 10.1.0.cl
|
|
1133
1116
|
*/
|
|
1134
1117
|
isOnBeforeGetVizDataInterceptEnabled?: boolean;
|
|
1118
|
+
/**
|
|
1119
|
+
* Flag to use home page search bar mode
|
|
1120
|
+
* @version SDK : 1.33.0 | Thoughtspot : 10.2.0.cl
|
|
1121
|
+
*/
|
|
1122
|
+
homePageSearchBarMode?: HomePageSearchBarMode;
|
|
1135
1123
|
}
|
|
1136
1124
|
/**
|
|
1137
1125
|
* Embeds full ThoughtSpot experience in a host application.
|
|
@@ -2077,6 +2065,12 @@ export interface EmbedConfig {
|
|
|
2077
2065
|
* @version SDK: 1.28.5 | Thoughtspot: *
|
|
2078
2066
|
*/
|
|
2079
2067
|
disableTokenVerification?: boolean;
|
|
2068
|
+
/**
|
|
2069
|
+
* This flag is used to disable showing the login failure page in the embedded app.
|
|
2070
|
+
*
|
|
2071
|
+
* @version SDK 1.32.3 | Thoughtspot: *
|
|
2072
|
+
*/
|
|
2073
|
+
disableLoginFailurePage?: boolean;
|
|
2080
2074
|
}
|
|
2081
2075
|
export interface LayoutConfig {
|
|
2082
2076
|
}
|
|
@@ -2524,6 +2518,19 @@ export interface ViewConfig {
|
|
|
2524
2518
|
* @version SDK: 1.32.1 | ThoughtSpot: 10.3.0.cl
|
|
2525
2519
|
*/
|
|
2526
2520
|
disableRedirectionLinksInNewTab?: boolean;
|
|
2521
|
+
/**
|
|
2522
|
+
* Flag to control Data panel experience
|
|
2523
|
+
* @default true
|
|
2524
|
+
* @version SDK: 1.34.0 | Thoughtspot: 10.3.0.cl
|
|
2525
|
+
* @example
|
|
2526
|
+
* ```js
|
|
2527
|
+
* const embed = new AppEmbed('#tsEmbed', {
|
|
2528
|
+
* ... // other options
|
|
2529
|
+
* dataPanelV2: true,
|
|
2530
|
+
* })
|
|
2531
|
+
* ```
|
|
2532
|
+
*/
|
|
2533
|
+
dataPanelV2?: boolean;
|
|
2527
2534
|
}
|
|
2528
2535
|
/**
|
|
2529
2536
|
* MessagePayload: Embed event payload: message type, data and status (start/end)
|
|
@@ -3268,7 +3275,6 @@ export declare enum EmbedEvent {
|
|
|
3268
3275
|
/**
|
|
3269
3276
|
* Emitted when a user clicks the **Update TML** action on
|
|
3270
3277
|
* embedded Liveboard.
|
|
3271
|
-
*
|
|
3272
3278
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
3273
3279
|
* @example
|
|
3274
3280
|
*```js
|
|
@@ -3280,7 +3286,6 @@ export declare enum EmbedEvent {
|
|
|
3280
3286
|
/**
|
|
3281
3287
|
* Emitted when a user clicks the **Edit TML** action
|
|
3282
3288
|
* on an embedded Liveboard.
|
|
3283
|
-
*
|
|
3284
3289
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
3285
3290
|
* @example
|
|
3286
3291
|
*```js
|
|
@@ -3888,20 +3893,16 @@ export declare enum HostEvent {
|
|
|
3888
3893
|
/**
|
|
3889
3894
|
* Trigger the **Export TML** action on an embedded Liveboard or
|
|
3890
3895
|
* Answer.
|
|
3891
|
-
*
|
|
3892
3896
|
* @example
|
|
3893
3897
|
* ```js
|
|
3894
3898
|
* liveboardEmbed.trigger(HostEvent.ExportTML)
|
|
3895
3899
|
* ```
|
|
3896
|
-
*
|
|
3897
3900
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
3898
3901
|
*/
|
|
3899
3902
|
ExportTML = "exportTSL",
|
|
3900
3903
|
/**
|
|
3901
3904
|
* Trigger the **Edit TML** action on an embedded Liveboard or
|
|
3902
3905
|
* saved Answers in the full application embedding.
|
|
3903
|
-
*
|
|
3904
|
-
*
|
|
3905
3906
|
* @example
|
|
3906
3907
|
* ```js
|
|
3907
3908
|
* liveboardEmbed.trigger(HostEvent.EditTML)
|
|
@@ -4028,7 +4029,6 @@ export declare enum HostEvent {
|
|
|
4028
4029
|
* This event is not supported in visualization embed and search embed.
|
|
4029
4030
|
* @param - object - To trigger the action for a specific visualization
|
|
4030
4031
|
* in Liveboard embed, pass in `vizId` as a key.
|
|
4031
|
-
*
|
|
4032
4032
|
* @example
|
|
4033
4033
|
* ```js
|
|
4034
4034
|
* liveboardEmbed.trigger(HostEvent.Edit)
|
|
@@ -4295,7 +4295,6 @@ export declare enum HostEvent {
|
|
|
4295
4295
|
/**
|
|
4296
4296
|
* Get details of filters applied on the Liveboard.
|
|
4297
4297
|
* Returns arrays containing Liveboard filter and runtime filter elements.
|
|
4298
|
-
*
|
|
4299
4298
|
* @example
|
|
4300
4299
|
* ```js
|
|
4301
4300
|
* const data = await liveboardEmbed.trigger(HostEvent.GetFilters);
|
|
@@ -4592,7 +4591,8 @@ export declare enum Param {
|
|
|
4592
4591
|
IsFullAppEmbed = "isFullAppEmbed",
|
|
4593
4592
|
IsOnBeforeGetVizDataInterceptEnabled = "isOnBeforeGetVizDataInterceptEnabled",
|
|
4594
4593
|
FocusSearchBarOnRender = "focusSearchBarOnRender",
|
|
4595
|
-
DisableRedirectionLinksInNewTab = "disableRedirectionLinksInNewTab"
|
|
4594
|
+
DisableRedirectionLinksInNewTab = "disableRedirectionLinksInNewTab",
|
|
4595
|
+
HomePageSearchBarMode = "homePageSearchBarMode"
|
|
4596
4596
|
}
|
|
4597
4597
|
/**
|
|
4598
4598
|
* ThoughtSpot application pages include actions and menu commands
|
|
@@ -4642,7 +4642,6 @@ export declare enum Action {
|
|
|
4642
4642
|
* The **Save as View** action on the Answer
|
|
4643
4643
|
* page. Saves an Answer as a View object in the full
|
|
4644
4644
|
* application embedding mode.
|
|
4645
|
-
*
|
|
4646
4645
|
* @example
|
|
4647
4646
|
* ```js
|
|
4648
4647
|
* disabledActions: [Action.SaveAsView]
|
|
@@ -5100,7 +5099,6 @@ export declare enum Action {
|
|
|
5100
5099
|
/**
|
|
5101
5100
|
* The **Delete** action for Answers in the full application
|
|
5102
5101
|
* embedding mode.
|
|
5103
|
-
*
|
|
5104
5102
|
* @example
|
|
5105
5103
|
* ```js
|
|
5106
5104
|
* disabledActions: [Action.AnswerDelete]
|
|
@@ -5372,9 +5370,6 @@ export declare enum Action {
|
|
|
5372
5370
|
*/
|
|
5373
5371
|
RenameModalTitleDescription = "renameModalTitleDescription",
|
|
5374
5372
|
/**
|
|
5375
|
-
*
|
|
5376
|
-
* The **Request Verification** action on the Liveboard.
|
|
5377
|
-
* Triggers a Liveboard verification request.
|
|
5378
5373
|
*
|
|
5379
5374
|
* @example
|
|
5380
5375
|
* ```js
|
|
@@ -5519,7 +5514,7 @@ export declare enum Action {
|
|
|
5519
5514
|
*
|
|
5520
5515
|
* @version SDK: 1.32.0 | Thoughtspot: 10.1.0.cl
|
|
5521
5516
|
*/
|
|
5522
|
-
CreateLiveboard = "
|
|
5517
|
+
CreateLiveboard = "createLiveboard",
|
|
5523
5518
|
/**
|
|
5524
5519
|
* Action ID for to hide Verified Liveboard Banner
|
|
5525
5520
|
* @example
|
|
@@ -5610,6 +5605,16 @@ export declare enum Action {
|
|
|
5610
5605
|
* @version SDK: 1.34.0 | Thoughtspot: 10.3.0.cl
|
|
5611
5606
|
*/
|
|
5612
5607
|
UnsubscribeScheduleHomepage = "unsubscribeScheduleHomepage",
|
|
5608
|
+
/**
|
|
5609
|
+
* The **Manage Tags** action on Homepage Favourite Module.
|
|
5610
|
+
*
|
|
5611
|
+
* @example
|
|
5612
|
+
* ```js
|
|
5613
|
+
* disabledActions: [Action.ManageTags]
|
|
5614
|
+
* ```
|
|
5615
|
+
* @version SDK : 1.34.0 | Thoughtspot: 10.3.0.cl
|
|
5616
|
+
*/
|
|
5617
|
+
ManageTags = "manageTags",
|
|
5613
5618
|
/**
|
|
5614
5619
|
* Action ID for delete schedule action on schedule on homepage
|
|
5615
5620
|
* @example
|
|
@@ -6757,6 +6762,34 @@ export interface CustomCssVariables {
|
|
|
6757
6762
|
* Background for favorite carousel find your favorites card in modular home.
|
|
6758
6763
|
*/
|
|
6759
6764
|
'--ts-var-home-favorite-suggestion-card-background'?: string;
|
|
6765
|
+
/**
|
|
6766
|
+
* Border color of checkbox in error state.
|
|
6767
|
+
*/
|
|
6768
|
+
'--ts-var-checkbox-error-border'?: string;
|
|
6769
|
+
/**
|
|
6770
|
+
* Border color of checkbox.
|
|
6771
|
+
*/
|
|
6772
|
+
'--ts-var-checkbox-border-color'?: string;
|
|
6773
|
+
/**
|
|
6774
|
+
* Border color of checkbox in hover state.
|
|
6775
|
+
*/
|
|
6776
|
+
'--ts-var-checkbox-hover-border'?: string;
|
|
6777
|
+
/**
|
|
6778
|
+
* Border and font color of checkbox in active state.
|
|
6779
|
+
*/
|
|
6780
|
+
'--ts-var-checkbox-active-color'?: string;
|
|
6781
|
+
/**
|
|
6782
|
+
* Border color and font color of checkbox in checked state.
|
|
6783
|
+
*/
|
|
6784
|
+
'--ts-var-checkbox-checked-color'?: string;
|
|
6785
|
+
/**
|
|
6786
|
+
* Border and font color of checkbox in disabled state.
|
|
6787
|
+
*/
|
|
6788
|
+
'--ts-var-checkbox-checked-disabled'?: string;
|
|
6789
|
+
/**
|
|
6790
|
+
* Background color of checkbox.
|
|
6791
|
+
*/
|
|
6792
|
+
'--ts-var-checkbox-background-color'?: string;
|
|
6760
6793
|
}
|
|
6761
6794
|
|
|
6762
6795
|
export interface SessionInterface {
|
|
@@ -6930,6 +6963,10 @@ export declare const setEmbedConfig: (newConfig: EmbedConfig) => EmbedConfig;
|
|
|
6930
6963
|
export declare const EndPoints: {
|
|
6931
6964
|
CONFIG: string;
|
|
6932
6965
|
};
|
|
6966
|
+
/**
|
|
6967
|
+
* Enum of mixpanel events
|
|
6968
|
+
* @hidden
|
|
6969
|
+
*/
|
|
6933
6970
|
export declare const MIXPANEL_EVENT: {
|
|
6934
6971
|
VISUAL_SDK_RENDER_START: string;
|
|
6935
6972
|
VISUAL_SDK_CALLED_INIT: string;
|