@thoughtspot/visual-embed-sdk 1.32.1 → 1.32.2
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/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 +25 -14
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +11 -13
- package/cjs/src/types.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/mixpanel-service.d.ts +4 -0
- package/dist/src/mixpanel-service.d.ts.map +1 -1
- package/dist/src/types.d.ts +25 -14
- package/dist/src/types.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +36 -18
- package/dist/tsembed-react.js +36 -18
- package/dist/tsembed.es.js +36 -18
- package/dist/tsembed.js +36 -18
- package/dist/visual-embed-sdk-react-full.d.ts +72 -41
- package/dist/visual-embed-sdk-react.d.ts +72 -41
- package/dist/visual-embed-sdk.d.ts +72 -41
- 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/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 +25 -14
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +11 -13
- package/lib/src/types.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +72 -41
- 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/mixpanel-service.ts +4 -0
- package/src/react/index.spec.tsx +1 -1
- package/src/types.ts +35 -23
|
@@ -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.
|
|
@@ -2892,6 +2880,19 @@ export interface ViewConfig {
|
|
|
2892
2880
|
* @version SDK: 1.32.1 | ThoughtSpot: 10.3.0.cl
|
|
2893
2881
|
*/
|
|
2894
2882
|
disableRedirectionLinksInNewTab?: boolean;
|
|
2883
|
+
/**
|
|
2884
|
+
* Flag to control Data panel experience
|
|
2885
|
+
* @default true
|
|
2886
|
+
* @version SDK: 1.34.0 | Thoughtspot: 10.3.0.cl
|
|
2887
|
+
* @example
|
|
2888
|
+
* ```js
|
|
2889
|
+
* const embed = new AppEmbed('#tsEmbed', {
|
|
2890
|
+
* ... // other options
|
|
2891
|
+
* dataPanelV2: true,
|
|
2892
|
+
* })
|
|
2893
|
+
* ```
|
|
2894
|
+
*/
|
|
2895
|
+
dataPanelV2?: boolean;
|
|
2895
2896
|
}
|
|
2896
2897
|
/**
|
|
2897
2898
|
* MessagePayload: Embed event payload: message type, data and status (start/end)
|
|
@@ -3636,7 +3637,6 @@ export declare enum EmbedEvent {
|
|
|
3636
3637
|
/**
|
|
3637
3638
|
* Emitted when a user clicks the **Update TML** action on
|
|
3638
3639
|
* embedded Liveboard.
|
|
3639
|
-
*
|
|
3640
3640
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
3641
3641
|
* @example
|
|
3642
3642
|
*```js
|
|
@@ -3648,7 +3648,6 @@ export declare enum EmbedEvent {
|
|
|
3648
3648
|
/**
|
|
3649
3649
|
* Emitted when a user clicks the **Edit TML** action
|
|
3650
3650
|
* on an embedded Liveboard.
|
|
3651
|
-
*
|
|
3652
3651
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
3653
3652
|
* @example
|
|
3654
3653
|
*```js
|
|
@@ -4256,20 +4255,16 @@ export declare enum HostEvent {
|
|
|
4256
4255
|
/**
|
|
4257
4256
|
* Trigger the **Export TML** action on an embedded Liveboard or
|
|
4258
4257
|
* Answer.
|
|
4259
|
-
*
|
|
4260
4258
|
* @example
|
|
4261
4259
|
* ```js
|
|
4262
4260
|
* liveboardEmbed.trigger(HostEvent.ExportTML)
|
|
4263
4261
|
* ```
|
|
4264
|
-
*
|
|
4265
4262
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
4266
4263
|
*/
|
|
4267
4264
|
ExportTML = "exportTSL",
|
|
4268
4265
|
/**
|
|
4269
4266
|
* Trigger the **Edit TML** action on an embedded Liveboard or
|
|
4270
4267
|
* saved Answers in the full application embedding.
|
|
4271
|
-
*
|
|
4272
|
-
*
|
|
4273
4268
|
* @example
|
|
4274
4269
|
* ```js
|
|
4275
4270
|
* liveboardEmbed.trigger(HostEvent.EditTML)
|
|
@@ -4396,7 +4391,6 @@ export declare enum HostEvent {
|
|
|
4396
4391
|
* This event is not supported in visualization embed and search embed.
|
|
4397
4392
|
* @param - object - To trigger the action for a specific visualization
|
|
4398
4393
|
* in Liveboard embed, pass in `vizId` as a key.
|
|
4399
|
-
*
|
|
4400
4394
|
* @example
|
|
4401
4395
|
* ```js
|
|
4402
4396
|
* liveboardEmbed.trigger(HostEvent.Edit)
|
|
@@ -4663,7 +4657,6 @@ export declare enum HostEvent {
|
|
|
4663
4657
|
/**
|
|
4664
4658
|
* Get details of filters applied on the Liveboard.
|
|
4665
4659
|
* Returns arrays containing Liveboard filter and runtime filter elements.
|
|
4666
|
-
*
|
|
4667
4660
|
* @example
|
|
4668
4661
|
* ```js
|
|
4669
4662
|
* const data = await liveboardEmbed.trigger(HostEvent.GetFilters);
|
|
@@ -4960,7 +4953,8 @@ export declare enum Param {
|
|
|
4960
4953
|
IsFullAppEmbed = "isFullAppEmbed",
|
|
4961
4954
|
IsOnBeforeGetVizDataInterceptEnabled = "isOnBeforeGetVizDataInterceptEnabled",
|
|
4962
4955
|
FocusSearchBarOnRender = "focusSearchBarOnRender",
|
|
4963
|
-
DisableRedirectionLinksInNewTab = "disableRedirectionLinksInNewTab"
|
|
4956
|
+
DisableRedirectionLinksInNewTab = "disableRedirectionLinksInNewTab",
|
|
4957
|
+
HomePageSearchBarMode = "homePageSearchBarMode"
|
|
4964
4958
|
}
|
|
4965
4959
|
/**
|
|
4966
4960
|
* ThoughtSpot application pages include actions and menu commands
|
|
@@ -5010,7 +5004,6 @@ export declare enum Action {
|
|
|
5010
5004
|
* The **Save as View** action on the Answer
|
|
5011
5005
|
* page. Saves an Answer as a View object in the full
|
|
5012
5006
|
* application embedding mode.
|
|
5013
|
-
*
|
|
5014
5007
|
* @example
|
|
5015
5008
|
* ```js
|
|
5016
5009
|
* disabledActions: [Action.SaveAsView]
|
|
@@ -5468,7 +5461,6 @@ export declare enum Action {
|
|
|
5468
5461
|
/**
|
|
5469
5462
|
* The **Delete** action for Answers in the full application
|
|
5470
5463
|
* embedding mode.
|
|
5471
|
-
*
|
|
5472
5464
|
* @example
|
|
5473
5465
|
* ```js
|
|
5474
5466
|
* disabledActions: [Action.AnswerDelete]
|
|
@@ -5740,9 +5732,6 @@ export declare enum Action {
|
|
|
5740
5732
|
*/
|
|
5741
5733
|
RenameModalTitleDescription = "renameModalTitleDescription",
|
|
5742
5734
|
/**
|
|
5743
|
-
*
|
|
5744
|
-
* The **Request Verification** action on the Liveboard.
|
|
5745
|
-
* Triggers a Liveboard verification request.
|
|
5746
5735
|
*
|
|
5747
5736
|
* @example
|
|
5748
5737
|
* ```js
|
|
@@ -5978,6 +5967,16 @@ export declare enum Action {
|
|
|
5978
5967
|
* @version SDK: 1.34.0 | Thoughtspot: 10.3.0.cl
|
|
5979
5968
|
*/
|
|
5980
5969
|
UnsubscribeScheduleHomepage = "unsubscribeScheduleHomepage",
|
|
5970
|
+
/**
|
|
5971
|
+
* The **Manage Tags** action on Homepage Favourite Module.
|
|
5972
|
+
*
|
|
5973
|
+
* @example
|
|
5974
|
+
* ```js
|
|
5975
|
+
* disabledActions: [Action.ManageTags]
|
|
5976
|
+
* ```
|
|
5977
|
+
* @version SDK : 1.34.0 | Thoughtspot: 10.3.0.cl
|
|
5978
|
+
*/
|
|
5979
|
+
ManageTags = "manageTags",
|
|
5981
5980
|
/**
|
|
5982
5981
|
* Action ID for delete schedule action on schedule on homepage
|
|
5983
5982
|
* @example
|
|
@@ -6468,6 +6467,34 @@ export interface CustomCssVariables {
|
|
|
6468
6467
|
* Background for favorite carousel find your favorites card in modular home.
|
|
6469
6468
|
*/
|
|
6470
6469
|
'--ts-var-home-favorite-suggestion-card-background'?: string;
|
|
6470
|
+
/**
|
|
6471
|
+
* Border color of checkbox in error state.
|
|
6472
|
+
*/
|
|
6473
|
+
'--ts-var-checkbox-error-border'?: string;
|
|
6474
|
+
/**
|
|
6475
|
+
* Border color of checkbox.
|
|
6476
|
+
*/
|
|
6477
|
+
'--ts-var-checkbox-border-color'?: string;
|
|
6478
|
+
/**
|
|
6479
|
+
* Border color of checkbox in hover state.
|
|
6480
|
+
*/
|
|
6481
|
+
'--ts-var-checkbox-hover-border'?: string;
|
|
6482
|
+
/**
|
|
6483
|
+
* Border and font color of checkbox in active state.
|
|
6484
|
+
*/
|
|
6485
|
+
'--ts-var-checkbox-active-color'?: string;
|
|
6486
|
+
/**
|
|
6487
|
+
* Border color and font color of checkbox in checked state.
|
|
6488
|
+
*/
|
|
6489
|
+
'--ts-var-checkbox-checked-color'?: string;
|
|
6490
|
+
/**
|
|
6491
|
+
* Border and font color of checkbox in disabled state.
|
|
6492
|
+
*/
|
|
6493
|
+
'--ts-var-checkbox-checked-disabled'?: string;
|
|
6494
|
+
/**
|
|
6495
|
+
* Background color of checkbox.
|
|
6496
|
+
*/
|
|
6497
|
+
'--ts-var-checkbox-background-color'?: string;
|
|
6471
6498
|
}
|
|
6472
6499
|
|
|
6473
6500
|
export interface SessionInterface {
|
|
@@ -6641,6 +6668,10 @@ export declare const setEmbedConfig: (newConfig: EmbedConfig) => EmbedConfig;
|
|
|
6641
6668
|
export declare const EndPoints: {
|
|
6642
6669
|
CONFIG: string;
|
|
6643
6670
|
};
|
|
6671
|
+
/**
|
|
6672
|
+
* Enum of mixpanel events
|
|
6673
|
+
* @hidden
|
|
6674
|
+
*/
|
|
6644
6675
|
export declare const MIXPANEL_EVENT: {
|
|
6645
6676
|
VISUAL_SDK_RENDER_START: string;
|
|
6646
6677
|
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.
|
|
@@ -2524,6 +2512,19 @@ export interface ViewConfig {
|
|
|
2524
2512
|
* @version SDK: 1.32.1 | ThoughtSpot: 10.3.0.cl
|
|
2525
2513
|
*/
|
|
2526
2514
|
disableRedirectionLinksInNewTab?: boolean;
|
|
2515
|
+
/**
|
|
2516
|
+
* Flag to control Data panel experience
|
|
2517
|
+
* @default true
|
|
2518
|
+
* @version SDK: 1.34.0 | Thoughtspot: 10.3.0.cl
|
|
2519
|
+
* @example
|
|
2520
|
+
* ```js
|
|
2521
|
+
* const embed = new AppEmbed('#tsEmbed', {
|
|
2522
|
+
* ... // other options
|
|
2523
|
+
* dataPanelV2: true,
|
|
2524
|
+
* })
|
|
2525
|
+
* ```
|
|
2526
|
+
*/
|
|
2527
|
+
dataPanelV2?: boolean;
|
|
2527
2528
|
}
|
|
2528
2529
|
/**
|
|
2529
2530
|
* MessagePayload: Embed event payload: message type, data and status (start/end)
|
|
@@ -3268,7 +3269,6 @@ export declare enum EmbedEvent {
|
|
|
3268
3269
|
/**
|
|
3269
3270
|
* Emitted when a user clicks the **Update TML** action on
|
|
3270
3271
|
* embedded Liveboard.
|
|
3271
|
-
*
|
|
3272
3272
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
3273
3273
|
* @example
|
|
3274
3274
|
*```js
|
|
@@ -3280,7 +3280,6 @@ export declare enum EmbedEvent {
|
|
|
3280
3280
|
/**
|
|
3281
3281
|
* Emitted when a user clicks the **Edit TML** action
|
|
3282
3282
|
* on an embedded Liveboard.
|
|
3283
|
-
*
|
|
3284
3283
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
3285
3284
|
* @example
|
|
3286
3285
|
*```js
|
|
@@ -3888,20 +3887,16 @@ export declare enum HostEvent {
|
|
|
3888
3887
|
/**
|
|
3889
3888
|
* Trigger the **Export TML** action on an embedded Liveboard or
|
|
3890
3889
|
* Answer.
|
|
3891
|
-
*
|
|
3892
3890
|
* @example
|
|
3893
3891
|
* ```js
|
|
3894
3892
|
* liveboardEmbed.trigger(HostEvent.ExportTML)
|
|
3895
3893
|
* ```
|
|
3896
|
-
*
|
|
3897
3894
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
3898
3895
|
*/
|
|
3899
3896
|
ExportTML = "exportTSL",
|
|
3900
3897
|
/**
|
|
3901
3898
|
* Trigger the **Edit TML** action on an embedded Liveboard or
|
|
3902
3899
|
* saved Answers in the full application embedding.
|
|
3903
|
-
*
|
|
3904
|
-
*
|
|
3905
3900
|
* @example
|
|
3906
3901
|
* ```js
|
|
3907
3902
|
* liveboardEmbed.trigger(HostEvent.EditTML)
|
|
@@ -4028,7 +4023,6 @@ export declare enum HostEvent {
|
|
|
4028
4023
|
* This event is not supported in visualization embed and search embed.
|
|
4029
4024
|
* @param - object - To trigger the action for a specific visualization
|
|
4030
4025
|
* in Liveboard embed, pass in `vizId` as a key.
|
|
4031
|
-
*
|
|
4032
4026
|
* @example
|
|
4033
4027
|
* ```js
|
|
4034
4028
|
* liveboardEmbed.trigger(HostEvent.Edit)
|
|
@@ -4295,7 +4289,6 @@ export declare enum HostEvent {
|
|
|
4295
4289
|
/**
|
|
4296
4290
|
* Get details of filters applied on the Liveboard.
|
|
4297
4291
|
* Returns arrays containing Liveboard filter and runtime filter elements.
|
|
4298
|
-
*
|
|
4299
4292
|
* @example
|
|
4300
4293
|
* ```js
|
|
4301
4294
|
* const data = await liveboardEmbed.trigger(HostEvent.GetFilters);
|
|
@@ -4592,7 +4585,8 @@ export declare enum Param {
|
|
|
4592
4585
|
IsFullAppEmbed = "isFullAppEmbed",
|
|
4593
4586
|
IsOnBeforeGetVizDataInterceptEnabled = "isOnBeforeGetVizDataInterceptEnabled",
|
|
4594
4587
|
FocusSearchBarOnRender = "focusSearchBarOnRender",
|
|
4595
|
-
DisableRedirectionLinksInNewTab = "disableRedirectionLinksInNewTab"
|
|
4588
|
+
DisableRedirectionLinksInNewTab = "disableRedirectionLinksInNewTab",
|
|
4589
|
+
HomePageSearchBarMode = "homePageSearchBarMode"
|
|
4596
4590
|
}
|
|
4597
4591
|
/**
|
|
4598
4592
|
* ThoughtSpot application pages include actions and menu commands
|
|
@@ -4642,7 +4636,6 @@ export declare enum Action {
|
|
|
4642
4636
|
* The **Save as View** action on the Answer
|
|
4643
4637
|
* page. Saves an Answer as a View object in the full
|
|
4644
4638
|
* application embedding mode.
|
|
4645
|
-
*
|
|
4646
4639
|
* @example
|
|
4647
4640
|
* ```js
|
|
4648
4641
|
* disabledActions: [Action.SaveAsView]
|
|
@@ -5100,7 +5093,6 @@ export declare enum Action {
|
|
|
5100
5093
|
/**
|
|
5101
5094
|
* The **Delete** action for Answers in the full application
|
|
5102
5095
|
* embedding mode.
|
|
5103
|
-
*
|
|
5104
5096
|
* @example
|
|
5105
5097
|
* ```js
|
|
5106
5098
|
* disabledActions: [Action.AnswerDelete]
|
|
@@ -5372,9 +5364,6 @@ export declare enum Action {
|
|
|
5372
5364
|
*/
|
|
5373
5365
|
RenameModalTitleDescription = "renameModalTitleDescription",
|
|
5374
5366
|
/**
|
|
5375
|
-
*
|
|
5376
|
-
* The **Request Verification** action on the Liveboard.
|
|
5377
|
-
* Triggers a Liveboard verification request.
|
|
5378
5367
|
*
|
|
5379
5368
|
* @example
|
|
5380
5369
|
* ```js
|
|
@@ -5610,6 +5599,16 @@ export declare enum Action {
|
|
|
5610
5599
|
* @version SDK: 1.34.0 | Thoughtspot: 10.3.0.cl
|
|
5611
5600
|
*/
|
|
5612
5601
|
UnsubscribeScheduleHomepage = "unsubscribeScheduleHomepage",
|
|
5602
|
+
/**
|
|
5603
|
+
* The **Manage Tags** action on Homepage Favourite Module.
|
|
5604
|
+
*
|
|
5605
|
+
* @example
|
|
5606
|
+
* ```js
|
|
5607
|
+
* disabledActions: [Action.ManageTags]
|
|
5608
|
+
* ```
|
|
5609
|
+
* @version SDK : 1.34.0 | Thoughtspot: 10.3.0.cl
|
|
5610
|
+
*/
|
|
5611
|
+
ManageTags = "manageTags",
|
|
5613
5612
|
/**
|
|
5614
5613
|
* Action ID for delete schedule action on schedule on homepage
|
|
5615
5614
|
* @example
|
|
@@ -6757,6 +6756,34 @@ export interface CustomCssVariables {
|
|
|
6757
6756
|
* Background for favorite carousel find your favorites card in modular home.
|
|
6758
6757
|
*/
|
|
6759
6758
|
'--ts-var-home-favorite-suggestion-card-background'?: string;
|
|
6759
|
+
/**
|
|
6760
|
+
* Border color of checkbox in error state.
|
|
6761
|
+
*/
|
|
6762
|
+
'--ts-var-checkbox-error-border'?: string;
|
|
6763
|
+
/**
|
|
6764
|
+
* Border color of checkbox.
|
|
6765
|
+
*/
|
|
6766
|
+
'--ts-var-checkbox-border-color'?: string;
|
|
6767
|
+
/**
|
|
6768
|
+
* Border color of checkbox in hover state.
|
|
6769
|
+
*/
|
|
6770
|
+
'--ts-var-checkbox-hover-border'?: string;
|
|
6771
|
+
/**
|
|
6772
|
+
* Border and font color of checkbox in active state.
|
|
6773
|
+
*/
|
|
6774
|
+
'--ts-var-checkbox-active-color'?: string;
|
|
6775
|
+
/**
|
|
6776
|
+
* Border color and font color of checkbox in checked state.
|
|
6777
|
+
*/
|
|
6778
|
+
'--ts-var-checkbox-checked-color'?: string;
|
|
6779
|
+
/**
|
|
6780
|
+
* Border and font color of checkbox in disabled state.
|
|
6781
|
+
*/
|
|
6782
|
+
'--ts-var-checkbox-checked-disabled'?: string;
|
|
6783
|
+
/**
|
|
6784
|
+
* Background color of checkbox.
|
|
6785
|
+
*/
|
|
6786
|
+
'--ts-var-checkbox-background-color'?: string;
|
|
6760
6787
|
}
|
|
6761
6788
|
|
|
6762
6789
|
export interface SessionInterface {
|
|
@@ -6930,6 +6957,10 @@ export declare const setEmbedConfig: (newConfig: EmbedConfig) => EmbedConfig;
|
|
|
6930
6957
|
export declare const EndPoints: {
|
|
6931
6958
|
CONFIG: string;
|
|
6932
6959
|
};
|
|
6960
|
+
/**
|
|
6961
|
+
* Enum of mixpanel events
|
|
6962
|
+
* @hidden
|
|
6963
|
+
*/
|
|
6933
6964
|
export declare const MIXPANEL_EVENT: {
|
|
6934
6965
|
VISUAL_SDK_RENDER_START: string;
|
|
6935
6966
|
VISUAL_SDK_CALLED_INIT: string;
|