@thoughtspot/visual-embed-sdk 1.32.7 → 1.32.8
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 +3 -3
- package/cjs/src/css-variables.d.ts +18 -3
- package/cjs/src/css-variables.d.ts.map +1 -1
- package/cjs/src/embed/base.d.ts +34 -32
- package/cjs/src/embed/base.d.ts.map +1 -1
- package/cjs/src/embed/base.js +34 -32
- package/cjs/src/embed/base.js.map +1 -1
- package/cjs/src/tokenizedFetch.d.ts.map +1 -1
- package/cjs/src/tokenizedFetch.js +5 -1
- package/cjs/src/tokenizedFetch.js.map +1 -1
- package/cjs/src/types.d.ts +3 -3
- package/cjs/src/types.js +3 -3
- package/cjs/src/utils/authService/authService.spec.js +3 -1
- package/cjs/src/utils/authService/authService.spec.js.map +1 -1
- package/dist/src/css-variables.d.ts +18 -3
- package/dist/src/css-variables.d.ts.map +1 -1
- package/dist/src/embed/base.d.ts +34 -32
- package/dist/src/embed/base.d.ts.map +1 -1
- package/dist/src/tokenizedFetch.d.ts.map +1 -1
- package/dist/src/types.d.ts +3 -3
- package/dist/tsembed-react.es.js +238 -78
- package/dist/tsembed-react.js +238 -78
- package/dist/tsembed.es.js +272 -110
- package/dist/tsembed.js +272 -110
- package/dist/visual-embed-sdk-react-full.d.ts +55 -38
- package/dist/visual-embed-sdk-react.d.ts +55 -38
- package/dist/visual-embed-sdk.d.ts +55 -38
- package/lib/package.json +3 -3
- package/lib/src/css-variables.d.ts +18 -3
- package/lib/src/css-variables.d.ts.map +1 -1
- package/lib/src/embed/base.d.ts +34 -32
- package/lib/src/embed/base.d.ts.map +1 -1
- package/lib/src/embed/base.js +34 -32
- package/lib/src/embed/base.js.map +1 -1
- package/lib/src/tokenizedFetch.d.ts.map +1 -1
- package/lib/src/tokenizedFetch.js +5 -1
- package/lib/src/tokenizedFetch.js.map +1 -1
- package/lib/src/types.d.ts +3 -3
- package/lib/src/types.js +3 -3
- package/lib/src/utils/authService/authService.spec.js +3 -1
- package/lib/src/utils/authService/authService.spec.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +55 -38
- package/package.json +3 -3
- package/src/css-variables.ts +21 -3
- package/src/embed/base.ts +34 -32
- package/src/tokenizedFetch.ts +5 -1
- package/src/types.ts +3 -3
- package/src/utils/authService/authService.spec.ts +3 -1
|
@@ -1664,21 +1664,22 @@ export declare const renderInQueue: (fn: (next?: (val?: any) => void) => Promise
|
|
|
1664
1664
|
/**
|
|
1665
1665
|
* Imports TML representation of the metadata objects into ThoughtSpot.
|
|
1666
1666
|
* @param data
|
|
1667
|
+
* @returns imports TML data into ThoughtSpot
|
|
1667
1668
|
* @example
|
|
1668
1669
|
* ```js
|
|
1669
|
-
*
|
|
1670
|
-
* //Array of metadata Tmls
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1670
|
+
* executeTML({
|
|
1671
|
+
* //Array of metadata Tmls in string format
|
|
1672
|
+
* metadata_tmls: [
|
|
1673
|
+
* "'\''{\"guid\":\"9bd202f5-d431-44bf-9a07-b4f7be372125\",
|
|
1674
|
+
* \"liveboard\":{\"name\":\"Parameters Liveboard\"}}'\''"
|
|
1675
|
+
* ],
|
|
1676
|
+
* import_policy: 'PARTIAL', // Specifies the import policy for the TML import.
|
|
1677
|
+
* create_new: false, // If selected, creates TML objects with new GUIDs.
|
|
1678
|
+
* }).then(result => {
|
|
1679
|
+
* console.log(result);
|
|
1680
|
+
* }).catch(error => {
|
|
1681
|
+
* console.error(error);
|
|
1682
|
+
* });
|
|
1682
1683
|
*```
|
|
1683
1684
|
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
|
|
1684
1685
|
* @group Global methods
|
|
@@ -1688,27 +1689,28 @@ export declare const executeTML: (data: executeTMLInput) => Promise<any>;
|
|
|
1688
1689
|
* Exports TML representation of the metadata objects from ThoughtSpot in JSON or YAML
|
|
1689
1690
|
* format.
|
|
1690
1691
|
* @param data
|
|
1692
|
+
* @returns exports TML data
|
|
1691
1693
|
* @example
|
|
1692
1694
|
* ```js
|
|
1693
|
-
exportTML({
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
}).then(result => {
|
|
1708
|
-
|
|
1709
|
-
}).catch(error => {
|
|
1710
|
-
|
|
1711
|
-
});
|
|
1695
|
+
* exportTML({
|
|
1696
|
+
* metadata: [
|
|
1697
|
+
* {
|
|
1698
|
+
* type: "LIVEBOARD", //Metadata Type
|
|
1699
|
+
* identifier: "9bd202f5-d431-44bf-9a07-b4f7be372125" //Metadata Id
|
|
1700
|
+
* }
|
|
1701
|
+
* ],
|
|
1702
|
+
* export_associated: false,//indicates whether to export associated metadata objects
|
|
1703
|
+
* export_fqn: false, //Adds FQNs of the referenced objects.For example, if you are
|
|
1704
|
+
* //exporting a Liveboard and its associated objects, the API
|
|
1705
|
+
* //returns the Liveboard TML data with the FQNs of the referenced
|
|
1706
|
+
* //worksheet. If the exported TML data includes FQNs, you don't need
|
|
1707
|
+
* //to manually add FQNs of the referenced objects during TML import.
|
|
1708
|
+
* edoc_format: "JSON" //It takes JSON or YAML value
|
|
1709
|
+
* }).then(result => {
|
|
1710
|
+
* console.log(result);
|
|
1711
|
+
* }).catch(error => {
|
|
1712
|
+
* console.error(error);
|
|
1713
|
+
* });
|
|
1712
1714
|
* ```
|
|
1713
1715
|
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
|
|
1714
1716
|
* @group Global methods
|
|
@@ -4045,8 +4047,8 @@ export declare enum EmbedEvent {
|
|
|
4045
4047
|
* Prerequisite: Set isOnBeforeGetVizDataInterceptEnabled : true
|
|
4046
4048
|
* for this embed event to get emitted.
|
|
4047
4049
|
*
|
|
4048
|
-
*
|
|
4049
|
-
*
|
|
4050
|
+
* @param: payload
|
|
4051
|
+
* @param: responder
|
|
4050
4052
|
* Contains elements that lets developers define whether ThoughtSpot
|
|
4051
4053
|
* will run the search or not, and if not, which error message to provide.
|
|
4052
4054
|
*
|
|
@@ -4058,6 +4060,7 @@ export declare enum EmbedEvent {
|
|
|
4058
4060
|
*
|
|
4059
4061
|
* @version SDK : 1.29.0 | Thoughtspot : 10.2.0.cl
|
|
4060
4062
|
*
|
|
4063
|
+
* @example
|
|
4061
4064
|
*```js
|
|
4062
4065
|
* .on(EmbedEvent.OnBeforeGetVizDataIntercept,
|
|
4063
4066
|
* (payload, responder) => {
|
|
@@ -4093,7 +4096,6 @@ export declare enum EmbedEvent {
|
|
|
4093
4096
|
* }})
|
|
4094
4097
|
* })
|
|
4095
4098
|
*```
|
|
4096
|
-
*
|
|
4097
4099
|
*/
|
|
4098
4100
|
OnBeforeGetVizDataIntercept = "onBeforeGetVizDataIntercept",
|
|
4099
4101
|
/**
|
|
@@ -6283,9 +6285,12 @@ export interface CustomCssVariables {
|
|
|
6283
6285
|
*/
|
|
6284
6286
|
'--ts-var-root-text-transform'?: string;
|
|
6285
6287
|
/**
|
|
6286
|
-
*
|
|
6287
|
-
*
|
|
6288
|
-
*
|
|
6288
|
+
* Font color of the text on toggle buttons such as
|
|
6289
|
+
* **All**, **Answers**, and **Liveboards** on the Home page (Classic experience),
|
|
6290
|
+
* the text color of the chart and table tiles on Home page (New modular Homepage experience),
|
|
6291
|
+
* and title text on the AI-generated charts and tables.
|
|
6292
|
+
* The default color code is #2770EF.
|
|
6293
|
+
*
|
|
6289
6294
|
*/
|
|
6290
6295
|
'--ts-var-application-color'?: string;
|
|
6291
6296
|
/**
|
|
@@ -6396,6 +6401,10 @@ export interface CustomCssVariables {
|
|
|
6396
6401
|
* Background color of the primary buttons on hover.
|
|
6397
6402
|
*/
|
|
6398
6403
|
'--ts-var-button--primary--hover-background'?: string;
|
|
6404
|
+
/**
|
|
6405
|
+
* Backgroud color of the primary buttons when active.
|
|
6406
|
+
*/
|
|
6407
|
+
'--ts-var-button--primary--active-background'?: string;
|
|
6399
6408
|
/**
|
|
6400
6409
|
* Font color of the text on the secondary buttons.
|
|
6401
6410
|
*/
|
|
@@ -6412,6 +6421,10 @@ export interface CustomCssVariables {
|
|
|
6412
6421
|
* Background color of the secondary button on hover.
|
|
6413
6422
|
*/
|
|
6414
6423
|
'--ts-var-button--secondary--hover-background'?: string;
|
|
6424
|
+
/**
|
|
6425
|
+
* Backgroud color of the secondary buttons when active.
|
|
6426
|
+
*/
|
|
6427
|
+
'--ts-var-button--secondary--active-background'?: string;
|
|
6415
6428
|
/**
|
|
6416
6429
|
* Font color of the tertiary button. For example, the *Undo*, *Redo*, and *Reset*
|
|
6417
6430
|
* buttons on the *Search* page.
|
|
@@ -6425,6 +6438,10 @@ export interface CustomCssVariables {
|
|
|
6425
6438
|
* Background color of the tertiary button when a user hovers over these buttons.
|
|
6426
6439
|
*/
|
|
6427
6440
|
'--ts-var-button--tertiary--hover-background'?: string;
|
|
6441
|
+
/**
|
|
6442
|
+
* Backgroud color of the tertiary buttons when active.
|
|
6443
|
+
*/
|
|
6444
|
+
'--ts-var-button--tertiary--active-background'?: string;
|
|
6428
6445
|
/**
|
|
6429
6446
|
* Font color of the title text of a visualization or Answer.
|
|
6430
6447
|
*/
|
|
@@ -3677,8 +3677,8 @@ export declare enum EmbedEvent {
|
|
|
3677
3677
|
* Prerequisite: Set isOnBeforeGetVizDataInterceptEnabled : true
|
|
3678
3678
|
* for this embed event to get emitted.
|
|
3679
3679
|
*
|
|
3680
|
-
*
|
|
3681
|
-
*
|
|
3680
|
+
* @param: payload
|
|
3681
|
+
* @param: responder
|
|
3682
3682
|
* Contains elements that lets developers define whether ThoughtSpot
|
|
3683
3683
|
* will run the search or not, and if not, which error message to provide.
|
|
3684
3684
|
*
|
|
@@ -3690,6 +3690,7 @@ export declare enum EmbedEvent {
|
|
|
3690
3690
|
*
|
|
3691
3691
|
* @version SDK : 1.29.0 | Thoughtspot : 10.2.0.cl
|
|
3692
3692
|
*
|
|
3693
|
+
* @example
|
|
3693
3694
|
*```js
|
|
3694
3695
|
* .on(EmbedEvent.OnBeforeGetVizDataIntercept,
|
|
3695
3696
|
* (payload, responder) => {
|
|
@@ -3725,7 +3726,6 @@ export declare enum EmbedEvent {
|
|
|
3725
3726
|
* }})
|
|
3726
3727
|
* })
|
|
3727
3728
|
*```
|
|
3728
|
-
*
|
|
3729
3729
|
*/
|
|
3730
3730
|
OnBeforeGetVizDataIntercept = "onBeforeGetVizDataIntercept",
|
|
3731
3731
|
/**
|
|
@@ -6258,21 +6258,22 @@ export declare const renderInQueue: (fn: (next?: (val?: any) => void) => Promise
|
|
|
6258
6258
|
/**
|
|
6259
6259
|
* Imports TML representation of the metadata objects into ThoughtSpot.
|
|
6260
6260
|
* @param data
|
|
6261
|
+
* @returns imports TML data into ThoughtSpot
|
|
6261
6262
|
* @example
|
|
6262
6263
|
* ```js
|
|
6263
|
-
*
|
|
6264
|
-
* //Array of metadata Tmls
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
|
|
6268
|
-
|
|
6269
|
-
|
|
6270
|
-
|
|
6271
|
-
|
|
6272
|
-
|
|
6273
|
-
|
|
6274
|
-
|
|
6275
|
-
|
|
6264
|
+
* executeTML({
|
|
6265
|
+
* //Array of metadata Tmls in string format
|
|
6266
|
+
* metadata_tmls: [
|
|
6267
|
+
* "'\''{\"guid\":\"9bd202f5-d431-44bf-9a07-b4f7be372125\",
|
|
6268
|
+
* \"liveboard\":{\"name\":\"Parameters Liveboard\"}}'\''"
|
|
6269
|
+
* ],
|
|
6270
|
+
* import_policy: 'PARTIAL', // Specifies the import policy for the TML import.
|
|
6271
|
+
* create_new: false, // If selected, creates TML objects with new GUIDs.
|
|
6272
|
+
* }).then(result => {
|
|
6273
|
+
* console.log(result);
|
|
6274
|
+
* }).catch(error => {
|
|
6275
|
+
* console.error(error);
|
|
6276
|
+
* });
|
|
6276
6277
|
*```
|
|
6277
6278
|
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
|
|
6278
6279
|
* @group Global methods
|
|
@@ -6282,27 +6283,28 @@ export declare const executeTML: (data: executeTMLInput) => Promise<any>;
|
|
|
6282
6283
|
* Exports TML representation of the metadata objects from ThoughtSpot in JSON or YAML
|
|
6283
6284
|
* format.
|
|
6284
6285
|
* @param data
|
|
6286
|
+
* @returns exports TML data
|
|
6285
6287
|
* @example
|
|
6286
6288
|
* ```js
|
|
6287
|
-
exportTML({
|
|
6288
|
-
|
|
6289
|
-
|
|
6290
|
-
|
|
6291
|
-
|
|
6292
|
-
|
|
6293
|
-
|
|
6294
|
-
|
|
6295
|
-
|
|
6296
|
-
|
|
6297
|
-
|
|
6298
|
-
|
|
6299
|
-
|
|
6300
|
-
|
|
6301
|
-
}).then(result => {
|
|
6302
|
-
|
|
6303
|
-
}).catch(error => {
|
|
6304
|
-
|
|
6305
|
-
});
|
|
6289
|
+
* exportTML({
|
|
6290
|
+
* metadata: [
|
|
6291
|
+
* {
|
|
6292
|
+
* type: "LIVEBOARD", //Metadata Type
|
|
6293
|
+
* identifier: "9bd202f5-d431-44bf-9a07-b4f7be372125" //Metadata Id
|
|
6294
|
+
* }
|
|
6295
|
+
* ],
|
|
6296
|
+
* export_associated: false,//indicates whether to export associated metadata objects
|
|
6297
|
+
* export_fqn: false, //Adds FQNs of the referenced objects.For example, if you are
|
|
6298
|
+
* //exporting a Liveboard and its associated objects, the API
|
|
6299
|
+
* //returns the Liveboard TML data with the FQNs of the referenced
|
|
6300
|
+
* //worksheet. If the exported TML data includes FQNs, you don't need
|
|
6301
|
+
* //to manually add FQNs of the referenced objects during TML import.
|
|
6302
|
+
* edoc_format: "JSON" //It takes JSON or YAML value
|
|
6303
|
+
* }).then(result => {
|
|
6304
|
+
* console.log(result);
|
|
6305
|
+
* }).catch(error => {
|
|
6306
|
+
* console.error(error);
|
|
6307
|
+
* });
|
|
6306
6308
|
* ```
|
|
6307
6309
|
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
|
|
6308
6310
|
* @group Global methods
|
|
@@ -6571,9 +6573,12 @@ export interface CustomCssVariables {
|
|
|
6571
6573
|
*/
|
|
6572
6574
|
'--ts-var-root-text-transform'?: string;
|
|
6573
6575
|
/**
|
|
6574
|
-
*
|
|
6575
|
-
*
|
|
6576
|
-
*
|
|
6576
|
+
* Font color of the text on toggle buttons such as
|
|
6577
|
+
* **All**, **Answers**, and **Liveboards** on the Home page (Classic experience),
|
|
6578
|
+
* the text color of the chart and table tiles on Home page (New modular Homepage experience),
|
|
6579
|
+
* and title text on the AI-generated charts and tables.
|
|
6580
|
+
* The default color code is #2770EF.
|
|
6581
|
+
*
|
|
6577
6582
|
*/
|
|
6578
6583
|
'--ts-var-application-color'?: string;
|
|
6579
6584
|
/**
|
|
@@ -6684,6 +6689,10 @@ export interface CustomCssVariables {
|
|
|
6684
6689
|
* Background color of the primary buttons on hover.
|
|
6685
6690
|
*/
|
|
6686
6691
|
'--ts-var-button--primary--hover-background'?: string;
|
|
6692
|
+
/**
|
|
6693
|
+
* Backgroud color of the primary buttons when active.
|
|
6694
|
+
*/
|
|
6695
|
+
'--ts-var-button--primary--active-background'?: string;
|
|
6687
6696
|
/**
|
|
6688
6697
|
* Font color of the text on the secondary buttons.
|
|
6689
6698
|
*/
|
|
@@ -6700,6 +6709,10 @@ export interface CustomCssVariables {
|
|
|
6700
6709
|
* Background color of the secondary button on hover.
|
|
6701
6710
|
*/
|
|
6702
6711
|
'--ts-var-button--secondary--hover-background'?: string;
|
|
6712
|
+
/**
|
|
6713
|
+
* Backgroud color of the secondary buttons when active.
|
|
6714
|
+
*/
|
|
6715
|
+
'--ts-var-button--secondary--active-background'?: string;
|
|
6703
6716
|
/**
|
|
6704
6717
|
* Font color of the tertiary button. For example, the *Undo*, *Redo*, and *Reset*
|
|
6705
6718
|
* buttons on the *Search* page.
|
|
@@ -6713,6 +6726,10 @@ export interface CustomCssVariables {
|
|
|
6713
6726
|
* Background color of the tertiary button when a user hovers over these buttons.
|
|
6714
6727
|
*/
|
|
6715
6728
|
'--ts-var-button--tertiary--hover-background'?: string;
|
|
6729
|
+
/**
|
|
6730
|
+
* Backgroud color of the tertiary buttons when active.
|
|
6731
|
+
*/
|
|
6732
|
+
'--ts-var-button--tertiary--active-background'?: string;
|
|
6716
6733
|
/**
|
|
6717
6734
|
* Font color of the title text of a visualization or Answer.
|
|
6718
6735
|
*/
|
|
@@ -565,21 +565,22 @@ export const renderInQueue: (fn: (next?: (val?: any) => void) => Promise<any>) =
|
|
|
565
565
|
/**
|
|
566
566
|
* Imports TML representation of the metadata objects into ThoughtSpot.
|
|
567
567
|
* @param data
|
|
568
|
+
* @returns imports TML data into ThoughtSpot
|
|
568
569
|
* @example
|
|
569
570
|
* ```js
|
|
570
|
-
*
|
|
571
|
-
* //Array of metadata Tmls
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
571
|
+
* executeTML({
|
|
572
|
+
* //Array of metadata Tmls in string format
|
|
573
|
+
* metadata_tmls: [
|
|
574
|
+
* "'\''{\"guid\":\"9bd202f5-d431-44bf-9a07-b4f7be372125\",
|
|
575
|
+
* \"liveboard\":{\"name\":\"Parameters Liveboard\"}}'\''"
|
|
576
|
+
* ],
|
|
577
|
+
* import_policy: 'PARTIAL', // Specifies the import policy for the TML import.
|
|
578
|
+
* create_new: false, // If selected, creates TML objects with new GUIDs.
|
|
579
|
+
* }).then(result => {
|
|
580
|
+
* console.log(result);
|
|
581
|
+
* }).catch(error => {
|
|
582
|
+
* console.error(error);
|
|
583
|
+
* });
|
|
583
584
|
*```
|
|
584
585
|
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
|
|
585
586
|
* @group Global methods
|
|
@@ -589,27 +590,28 @@ export const executeTML: (data: executeTMLInput) => Promise<any>;
|
|
|
589
590
|
* Exports TML representation of the metadata objects from ThoughtSpot in JSON or YAML
|
|
590
591
|
* format.
|
|
591
592
|
* @param data
|
|
593
|
+
* @returns exports TML data
|
|
592
594
|
* @example
|
|
593
595
|
* ```js
|
|
594
|
-
exportTML({
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
}).then(result => {
|
|
609
|
-
|
|
610
|
-
}).catch(error => {
|
|
611
|
-
|
|
612
|
-
});
|
|
596
|
+
* exportTML({
|
|
597
|
+
* metadata: [
|
|
598
|
+
* {
|
|
599
|
+
* type: "LIVEBOARD", //Metadata Type
|
|
600
|
+
* identifier: "9bd202f5-d431-44bf-9a07-b4f7be372125" //Metadata Id
|
|
601
|
+
* }
|
|
602
|
+
* ],
|
|
603
|
+
* export_associated: false,//indicates whether to export associated metadata objects
|
|
604
|
+
* export_fqn: false, //Adds FQNs of the referenced objects.For example, if you are
|
|
605
|
+
* //exporting a Liveboard and its associated objects, the API
|
|
606
|
+
* //returns the Liveboard TML data with the FQNs of the referenced
|
|
607
|
+
* //worksheet. If the exported TML data includes FQNs, you don't need
|
|
608
|
+
* //to manually add FQNs of the referenced objects during TML import.
|
|
609
|
+
* edoc_format: "JSON" //It takes JSON or YAML value
|
|
610
|
+
* }).then(result => {
|
|
611
|
+
* console.log(result);
|
|
612
|
+
* }).catch(error => {
|
|
613
|
+
* console.error(error);
|
|
614
|
+
* });
|
|
613
615
|
* ```
|
|
614
616
|
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
|
|
615
617
|
* @group Global methods
|
|
@@ -3671,8 +3673,8 @@ export enum EmbedEvent {
|
|
|
3671
3673
|
* Prerequisite: Set isOnBeforeGetVizDataInterceptEnabled : true
|
|
3672
3674
|
* for this embed event to get emitted.
|
|
3673
3675
|
*
|
|
3674
|
-
*
|
|
3675
|
-
*
|
|
3676
|
+
* @param: payload
|
|
3677
|
+
* @param: responder
|
|
3676
3678
|
* Contains elements that lets developers define whether ThoughtSpot
|
|
3677
3679
|
* will run the search or not, and if not, which error message to provide.
|
|
3678
3680
|
*
|
|
@@ -3684,6 +3686,7 @@ export enum EmbedEvent {
|
|
|
3684
3686
|
*
|
|
3685
3687
|
* @version SDK : 1.29.0 | Thoughtspot : 10.2.0.cl
|
|
3686
3688
|
*
|
|
3689
|
+
* @example
|
|
3687
3690
|
*```js
|
|
3688
3691
|
* .on(EmbedEvent.OnBeforeGetVizDataIntercept,
|
|
3689
3692
|
* (payload, responder) => {
|
|
@@ -3719,7 +3722,6 @@ export enum EmbedEvent {
|
|
|
3719
3722
|
* }})
|
|
3720
3723
|
* })
|
|
3721
3724
|
*```
|
|
3722
|
-
*
|
|
3723
3725
|
*/
|
|
3724
3726
|
OnBeforeGetVizDataIntercept = "onBeforeGetVizDataIntercept",
|
|
3725
3727
|
/**
|
|
@@ -5909,9 +5911,12 @@ export interface CustomCssVariables {
|
|
|
5909
5911
|
*/
|
|
5910
5912
|
'--ts-var-root-text-transform'?: string;
|
|
5911
5913
|
/**
|
|
5912
|
-
*
|
|
5913
|
-
*
|
|
5914
|
-
*
|
|
5914
|
+
* Font color of the text on toggle buttons such as
|
|
5915
|
+
* **All**, **Answers**, and **Liveboards** on the Home page (Classic experience),
|
|
5916
|
+
* the text color of the chart and table tiles on Home page (New modular Homepage experience),
|
|
5917
|
+
* and title text on the AI-generated charts and tables.
|
|
5918
|
+
* The default color code is #2770EF.
|
|
5919
|
+
*
|
|
5915
5920
|
*/
|
|
5916
5921
|
'--ts-var-application-color'?: string;
|
|
5917
5922
|
/**
|
|
@@ -6022,6 +6027,10 @@ export interface CustomCssVariables {
|
|
|
6022
6027
|
* Background color of the primary buttons on hover.
|
|
6023
6028
|
*/
|
|
6024
6029
|
'--ts-var-button--primary--hover-background'?: string;
|
|
6030
|
+
/**
|
|
6031
|
+
* Backgroud color of the primary buttons when active.
|
|
6032
|
+
*/
|
|
6033
|
+
'--ts-var-button--primary--active-background'?: string;
|
|
6025
6034
|
/**
|
|
6026
6035
|
* Font color of the text on the secondary buttons.
|
|
6027
6036
|
*/
|
|
@@ -6038,6 +6047,10 @@ export interface CustomCssVariables {
|
|
|
6038
6047
|
* Background color of the secondary button on hover.
|
|
6039
6048
|
*/
|
|
6040
6049
|
'--ts-var-button--secondary--hover-background'?: string;
|
|
6050
|
+
/**
|
|
6051
|
+
* Backgroud color of the secondary buttons when active.
|
|
6052
|
+
*/
|
|
6053
|
+
'--ts-var-button--secondary--active-background'?: string;
|
|
6041
6054
|
/**
|
|
6042
6055
|
* Font color of the tertiary button. For example, the *Undo*, *Redo*, and *Reset*
|
|
6043
6056
|
* buttons on the *Search* page.
|
|
@@ -6051,6 +6064,10 @@ export interface CustomCssVariables {
|
|
|
6051
6064
|
* Background color of the tertiary button when a user hovers over these buttons.
|
|
6052
6065
|
*/
|
|
6053
6066
|
'--ts-var-button--tertiary--hover-background'?: string;
|
|
6067
|
+
/**
|
|
6068
|
+
* Backgroud color of the tertiary buttons when active.
|
|
6069
|
+
*/
|
|
6070
|
+
'--ts-var-button--tertiary--active-background'?: string;
|
|
6054
6071
|
/**
|
|
6055
6072
|
* Font color of the title text of a visualization or Answer.
|
|
6056
6073
|
*/
|
package/lib/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thoughtspot/visual-embed-sdk",
|
|
3
|
-
"version": "1.32.
|
|
3
|
+
"version": "1.32.8",
|
|
4
4
|
"description": "ThoughtSpot Embed SDK",
|
|
5
5
|
"module": "lib/src/index.js",
|
|
6
6
|
"main": "dist/tsembed.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"size-limit": [
|
|
39
39
|
{
|
|
40
40
|
"path": "dist/tsembed.js",
|
|
41
|
-
"limit": "
|
|
41
|
+
"limit": "49 kB"
|
|
42
42
|
}
|
|
43
43
|
],
|
|
44
44
|
"scripts": {
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"gatsby-plugin-vercel": "^1.0.3",
|
|
78
78
|
"html-react-parser": "^1.4.12",
|
|
79
79
|
"lodash": "^4.17.21",
|
|
80
|
-
"mixpanel-browser": "
|
|
80
|
+
"mixpanel-browser": "2.47.0",
|
|
81
81
|
"ts-deepmerge": "^6.0.2",
|
|
82
82
|
"tslib": "^2.5.3",
|
|
83
83
|
"use-deep-compare-effect": "^1.8.1"
|
|
@@ -20,9 +20,12 @@ export interface CustomCssVariables {
|
|
|
20
20
|
*/
|
|
21
21
|
'--ts-var-root-text-transform'?: string;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
23
|
+
* Font color of the text on toggle buttons such as
|
|
24
|
+
* **All**, **Answers**, and **Liveboards** on the Home page (Classic experience),
|
|
25
|
+
* the text color of the chart and table tiles on Home page (New modular Homepage experience),
|
|
26
|
+
* and title text on the AI-generated charts and tables.
|
|
27
|
+
* The default color code is #2770EF.
|
|
28
|
+
*
|
|
26
29
|
*/
|
|
27
30
|
'--ts-var-application-color'?: string;
|
|
28
31
|
/**
|
|
@@ -133,6 +136,10 @@ export interface CustomCssVariables {
|
|
|
133
136
|
* Background color of the primary buttons on hover.
|
|
134
137
|
*/
|
|
135
138
|
'--ts-var-button--primary--hover-background'?: string;
|
|
139
|
+
/**
|
|
140
|
+
* Backgroud color of the primary buttons when active.
|
|
141
|
+
*/
|
|
142
|
+
'--ts-var-button--primary--active-background'?: string;
|
|
136
143
|
/**
|
|
137
144
|
* Font color of the text on the secondary buttons.
|
|
138
145
|
*/
|
|
@@ -149,6 +156,10 @@ export interface CustomCssVariables {
|
|
|
149
156
|
* Background color of the secondary button on hover.
|
|
150
157
|
*/
|
|
151
158
|
'--ts-var-button--secondary--hover-background'?: string;
|
|
159
|
+
/**
|
|
160
|
+
* Backgroud color of the secondary buttons when active.
|
|
161
|
+
*/
|
|
162
|
+
'--ts-var-button--secondary--active-background'?: string;
|
|
152
163
|
/**
|
|
153
164
|
* Font color of the tertiary button. For example, the *Undo*, *Redo*, and *Reset*
|
|
154
165
|
* buttons on the *Search* page.
|
|
@@ -162,6 +173,10 @@ export interface CustomCssVariables {
|
|
|
162
173
|
* Background color of the tertiary button when a user hovers over these buttons.
|
|
163
174
|
*/
|
|
164
175
|
'--ts-var-button--tertiary--hover-background'?: string;
|
|
176
|
+
/**
|
|
177
|
+
* Backgroud color of the tertiary buttons when active.
|
|
178
|
+
*/
|
|
179
|
+
'--ts-var-button--tertiary--active-background'?: string;
|
|
165
180
|
/**
|
|
166
181
|
* Font color of the title text of a visualization or Answer.
|
|
167
182
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"css-variables.d.ts","sourceRoot":"","sources":["../../src/css-variables.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;IAEpC;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC;IAErC;;OAEG;IACH,8BAA8B,CAAC,EAAE,MAAM,CAAC;IAExC
|
|
1
|
+
{"version":3,"file":"css-variables.d.ts","sourceRoot":"","sources":["../../src/css-variables.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;IAEpC;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC;IAErC;;OAEG;IACH,8BAA8B,CAAC,EAAE,MAAM,CAAC;IAExC;;;;;;;OAOG;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