@thoughtspot/visual-embed-sdk 1.46.0 → 1.46.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/README.md +1 -1
- package/cjs/package.json +2 -2
- package/cjs/src/auth.d.ts +29 -4
- package/cjs/src/auth.d.ts.map +1 -1
- package/cjs/src/auth.js +30 -5
- package/cjs/src/auth.js.map +1 -1
- package/cjs/src/css-variables.d.ts +17 -17
- package/cjs/src/embed/app.d.ts +61 -33
- package/cjs/src/embed/app.d.ts.map +1 -1
- package/cjs/src/embed/app.js +11 -4
- package/cjs/src/embed/app.js.map +1 -1
- package/cjs/src/embed/app.spec.js +34 -1
- package/cjs/src/embed/app.spec.js.map +1 -1
- package/cjs/src/embed/base.d.ts +2 -2
- package/cjs/src/embed/base.js +2 -2
- package/cjs/src/embed/bodyless-conversation.d.ts +5 -5
- package/cjs/src/embed/bodyless-conversation.js +4 -4
- package/cjs/src/embed/conversation.d.ts +43 -30
- package/cjs/src/embed/conversation.d.ts.map +1 -1
- package/cjs/src/embed/conversation.js +10 -11
- package/cjs/src/embed/conversation.js.map +1 -1
- package/cjs/src/embed/conversation.spec.js +27 -0
- package/cjs/src/embed/conversation.spec.js.map +1 -1
- package/cjs/src/embed/liveboard.d.ts +42 -36
- package/cjs/src/embed/liveboard.d.ts.map +1 -1
- package/cjs/src/embed/liveboard.js +3 -3
- package/cjs/src/embed/liveboard.js.map +1 -1
- package/cjs/src/embed/liveboard.spec.js +1 -1
- package/cjs/src/embed/liveboard.spec.js.map +1 -1
- package/cjs/src/embed/sage.d.ts +5 -5
- package/cjs/src/embed/sage.js +1 -1
- package/cjs/src/embed/search-bar.d.ts +7 -7
- package/cjs/src/embed/search-bar.js +1 -1
- package/cjs/src/embed/search.d.ts +16 -14
- package/cjs/src/embed/search.d.ts.map +1 -1
- package/cjs/src/embed/search.js +3 -2
- package/cjs/src/embed/search.js.map +1 -1
- package/cjs/src/embed/ts-embed.d.ts +4 -4
- package/cjs/src/embed/ts-embed.d.ts.map +1 -1
- package/cjs/src/embed/ts-embed.js +13 -7
- package/cjs/src/embed/ts-embed.js.map +1 -1
- package/cjs/src/embed/ts-embed.spec.js +35 -0
- package/cjs/src/embed/ts-embed.spec.js.map +1 -1
- package/cjs/src/react/index.d.ts +15 -15
- package/cjs/src/react/index.js +12 -12
- package/cjs/src/tokenizedFetch.d.ts +1 -1
- package/cjs/src/tokenizedFetch.js +1 -1
- package/cjs/src/types.d.ts +653 -276
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +274 -208
- package/cjs/src/types.js.map +1 -1
- package/cjs/src/utils/graphql/answerService/answerService.d.ts +4 -2
- package/cjs/src/utils/graphql/answerService/answerService.d.ts.map +1 -1
- package/cjs/src/utils/graphql/answerService/answerService.js +6 -4
- package/cjs/src/utils/graphql/answerService/answerService.js.map +1 -1
- package/cjs/src/utils/graphql/answerService/answerService.spec.js +55 -0
- package/cjs/src/utils/graphql/answerService/answerService.spec.js.map +1 -1
- package/cjs/src/utils.d.ts +9 -0
- package/cjs/src/utils.d.ts.map +1 -1
- package/cjs/src/utils.js +10 -1
- package/cjs/src/utils.js.map +1 -1
- package/dist/{index-BQvLEoxp.js → index-DkizS4xM.js} +1 -1
- package/dist/src/auth.d.ts +29 -4
- package/dist/src/auth.d.ts.map +1 -1
- package/dist/src/css-variables.d.ts +17 -17
- package/dist/src/embed/app.d.ts +61 -33
- package/dist/src/embed/app.d.ts.map +1 -1
- package/dist/src/embed/base.d.ts +2 -2
- package/dist/src/embed/bodyless-conversation.d.ts +5 -5
- package/dist/src/embed/conversation.d.ts +43 -30
- package/dist/src/embed/conversation.d.ts.map +1 -1
- package/dist/src/embed/liveboard.d.ts +42 -36
- package/dist/src/embed/liveboard.d.ts.map +1 -1
- package/dist/src/embed/sage.d.ts +5 -5
- package/dist/src/embed/search-bar.d.ts +7 -7
- package/dist/src/embed/search.d.ts +16 -14
- package/dist/src/embed/search.d.ts.map +1 -1
- package/dist/src/embed/ts-embed.d.ts +4 -4
- package/dist/src/embed/ts-embed.d.ts.map +1 -1
- package/dist/src/react/index.d.ts +15 -15
- package/dist/src/tokenizedFetch.d.ts +1 -1
- package/dist/src/types.d.ts +653 -276
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/utils/graphql/answerService/answerService.d.ts +4 -2
- package/dist/src/utils/graphql/answerService/answerService.d.ts.map +1 -1
- package/dist/src/utils.d.ts +9 -0
- package/dist/src/utils.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +383 -290
- package/dist/tsembed-react.js +382 -289
- package/dist/tsembed.es.js +375 -282
- package/dist/tsembed.js +374 -281
- package/dist/visual-embed-sdk-react-full.d.ts +880 -431
- package/dist/visual-embed-sdk-react.d.ts +873 -427
- package/dist/visual-embed-sdk.d.ts +879 -430
- package/lib/package.json +2 -2
- package/lib/src/auth.d.ts +29 -4
- package/lib/src/auth.d.ts.map +1 -1
- package/lib/src/auth.js +30 -5
- package/lib/src/auth.js.map +1 -1
- package/lib/src/css-variables.d.ts +17 -17
- package/lib/src/embed/app.d.ts +61 -33
- package/lib/src/embed/app.d.ts.map +1 -1
- package/lib/src/embed/app.js +12 -5
- package/lib/src/embed/app.js.map +1 -1
- package/lib/src/embed/app.spec.js +34 -1
- package/lib/src/embed/app.spec.js.map +1 -1
- package/lib/src/embed/base.d.ts +2 -2
- package/lib/src/embed/base.js +2 -2
- package/lib/src/embed/bodyless-conversation.d.ts +5 -5
- package/lib/src/embed/bodyless-conversation.js +4 -4
- package/lib/src/embed/conversation.d.ts +43 -30
- package/lib/src/embed/conversation.d.ts.map +1 -1
- package/lib/src/embed/conversation.js +11 -11
- package/lib/src/embed/conversation.js.map +1 -1
- package/lib/src/embed/conversation.spec.js +27 -0
- package/lib/src/embed/conversation.spec.js.map +1 -1
- package/lib/src/embed/liveboard.d.ts +42 -36
- package/lib/src/embed/liveboard.d.ts.map +1 -1
- package/lib/src/embed/liveboard.js +3 -3
- package/lib/src/embed/liveboard.js.map +1 -1
- package/lib/src/embed/liveboard.spec.js +1 -1
- package/lib/src/embed/liveboard.spec.js.map +1 -1
- package/lib/src/embed/sage.d.ts +5 -5
- package/lib/src/embed/sage.js +1 -1
- package/lib/src/embed/search-bar.d.ts +7 -7
- package/lib/src/embed/search-bar.js +1 -1
- package/lib/src/embed/search.d.ts +16 -14
- package/lib/src/embed/search.d.ts.map +1 -1
- package/lib/src/embed/search.js +3 -2
- package/lib/src/embed/search.js.map +1 -1
- package/lib/src/embed/ts-embed.d.ts +4 -4
- package/lib/src/embed/ts-embed.d.ts.map +1 -1
- package/lib/src/embed/ts-embed.js +13 -7
- package/lib/src/embed/ts-embed.js.map +1 -1
- package/lib/src/embed/ts-embed.spec.js +35 -0
- package/lib/src/embed/ts-embed.spec.js.map +1 -1
- package/lib/src/react/index.d.ts +15 -15
- package/lib/src/react/index.js +12 -12
- package/lib/src/tokenizedFetch.d.ts +1 -1
- package/lib/src/tokenizedFetch.js +1 -1
- package/lib/src/types.d.ts +653 -276
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +274 -208
- package/lib/src/types.js.map +1 -1
- package/lib/src/utils/graphql/answerService/answerService.d.ts +4 -2
- package/lib/src/utils/graphql/answerService/answerService.d.ts.map +1 -1
- package/lib/src/utils/graphql/answerService/answerService.js +5 -3
- package/lib/src/utils/graphql/answerService/answerService.js.map +1 -1
- package/lib/src/utils/graphql/answerService/answerService.spec.js +55 -0
- package/lib/src/utils/graphql/answerService/answerService.spec.js.map +1 -1
- package/lib/src/utils.d.ts +9 -0
- package/lib/src/utils.d.ts.map +1 -1
- package/lib/src/utils.js +8 -0
- package/lib/src/utils.js.map +1 -1
- package/package.json +2 -2
- package/src/auth.ts +30 -5
- package/src/css-variables.ts +17 -17
- package/src/embed/app.spec.ts +46 -1
- package/src/embed/app.ts +73 -36
- package/src/embed/base.ts +2 -2
- package/src/embed/bodyless-conversation.ts +5 -5
- package/src/embed/conversation.spec.ts +37 -0
- package/src/embed/conversation.ts +55 -38
- package/src/embed/liveboard.spec.ts +1 -1
- package/src/embed/liveboard.ts +42 -36
- package/src/embed/sage.ts +5 -5
- package/src/embed/search-bar.tsx +7 -7
- package/src/embed/search.ts +16 -14
- package/src/embed/ts-embed.spec.ts +42 -0
- package/src/embed/ts-embed.ts +12 -7
- package/src/react/index.tsx +15 -15
- package/src/tokenizedFetch.ts +1 -1
- package/src/types.ts +652 -275
- package/src/utils/graphql/answerService/answerService.spec.ts +62 -0
- package/src/utils/graphql/answerService/answerService.ts +6 -3
- package/src/utils.ts +14 -0
|
@@ -424,37 +424,37 @@ export interface CustomCssVariables {
|
|
|
424
424
|
/**
|
|
425
425
|
* Padding of the groups in the Liveboard.
|
|
426
426
|
*
|
|
427
|
-
* Please enable the Liveboard
|
|
427
|
+
* Please enable the Liveboard Masterpieces feature in your ThoughtSpot instance and then set the isLiveboardMasterpiecesEnabled SDK flag to true to start modifying this CSS variable.
|
|
428
428
|
*/
|
|
429
429
|
'--ts-var-liveboard-group-padding'?: string;
|
|
430
430
|
/**
|
|
431
431
|
* Font size of the title of the groups in the Liveboard.
|
|
432
432
|
*
|
|
433
|
-
* Please enable the Liveboard
|
|
433
|
+
* Please enable the Liveboard Masterpieces feature in your ThoughtSpot instance and then set the isLiveboardMasterpiecesEnabled SDK flag to true to start modifying this CSS variable.
|
|
434
434
|
*/
|
|
435
435
|
'--ts-var-liveboard-group-title-font-size'?: string;
|
|
436
436
|
/**
|
|
437
437
|
* Font weight of the title of the groups in the Liveboard.
|
|
438
438
|
*
|
|
439
|
-
* Please enable the Liveboard
|
|
439
|
+
* Please enable the Liveboard Masterpieces feature in your ThoughtSpot instance and then set the isLiveboardMasterpiecesEnabled SDK flag to true to start modifying this CSS variable.
|
|
440
440
|
*/
|
|
441
441
|
'--ts-var-liveboard-group-title-font-weight'?: string;
|
|
442
442
|
/**
|
|
443
443
|
* Font size of the title of the tiles inside the groups in the Liveboard.
|
|
444
444
|
*
|
|
445
|
-
* Please enable the Liveboard
|
|
445
|
+
* Please enable the Liveboard Masterpieces feature in your ThoughtSpot instance and then set the isLiveboardMasterpiecesEnabled SDK flag to true to start modifying this CSS variable.
|
|
446
446
|
*/
|
|
447
447
|
'--ts-var-liveboard-group-tile-title-font-size'?: string;
|
|
448
448
|
/**
|
|
449
449
|
* Font weight of the title of the tiles inside the groups in the Liveboard.
|
|
450
450
|
*
|
|
451
|
-
* Please enable the Liveboard
|
|
451
|
+
* Please enable the Liveboard Masterpieces feature in your ThoughtSpot instance and then set the isLiveboardMasterpiecesEnabled SDK flag to true to start modifying this CSS variable.
|
|
452
452
|
*/
|
|
453
453
|
'--ts-var-liveboard-group-tile-title-font-weight'?: string;
|
|
454
454
|
/**
|
|
455
455
|
* Padding of the group tiles in the Liveboard.
|
|
456
456
|
*
|
|
457
|
-
* Please enable the Liveboard
|
|
457
|
+
* Please enable the Liveboard Masterpieces feature in your ThoughtSpot instance and then set the isLiveboardMasterpiecesEnabled SDK flag to true to start modifying this CSS variable.
|
|
458
458
|
*/
|
|
459
459
|
'--ts-var-liveboard-group-tile-padding'?: string;
|
|
460
460
|
/**
|
|
@@ -464,13 +464,13 @@ export interface CustomCssVariables {
|
|
|
464
464
|
/**
|
|
465
465
|
* Background color of the groups in the Liveboard.
|
|
466
466
|
*
|
|
467
|
-
* Please enable the Liveboard
|
|
467
|
+
* Please enable the Liveboard Masterpieces feature in your ThoughtSpot instance and then set the isLiveboardMasterpiecesEnabled SDK flag to true to start modifying this CSS variable.
|
|
468
468
|
*/
|
|
469
469
|
'--ts-var-liveboard-group-background'?: string;
|
|
470
470
|
/**
|
|
471
471
|
* Border color of the groups in the Liveboard.
|
|
472
472
|
*
|
|
473
|
-
* Please enable the Liveboard
|
|
473
|
+
* Please enable the Liveboard Masterpieces feature in your ThoughtSpot instance and then set the isLiveboardMasterpiecesEnabled SDK flag to true to start modifying this CSS variable.
|
|
474
474
|
*/
|
|
475
475
|
'--ts-var-liveboard-group-border-color'?: string;
|
|
476
476
|
/**
|
|
@@ -484,55 +484,55 @@ export interface CustomCssVariables {
|
|
|
484
484
|
/**
|
|
485
485
|
* Font color of the title of the groups in the Liveboard.
|
|
486
486
|
*
|
|
487
|
-
* Please enable the Liveboard
|
|
487
|
+
* Please enable the Liveboard Masterpieces feature in your ThoughtSpot instance and then set the isLiveboardMasterpiecesEnabled SDK flag to true to start modifying this CSS variable.
|
|
488
488
|
*/
|
|
489
489
|
'--ts-var-liveboard-group-title-font-color'?: string;
|
|
490
490
|
/**
|
|
491
491
|
* Font color of the description of the groups in the Liveboard.
|
|
492
492
|
*
|
|
493
|
-
* Please enable the Liveboard
|
|
493
|
+
* Please enable the Liveboard Masterpieces feature in your ThoughtSpot instance and then set the isLiveboardMasterpiecesEnabled SDK flag to true to start modifying this CSS variable.
|
|
494
494
|
*/
|
|
495
495
|
'--ts-var-liveboard-group-description-font-color'?: string;
|
|
496
496
|
/**
|
|
497
497
|
* Font color of the title of the tiles inside the groups in the Liveboard.
|
|
498
498
|
*
|
|
499
|
-
* Please enable the Liveboard
|
|
499
|
+
* Please enable the Liveboard Masterpieces feature in your ThoughtSpot instance and then set the isLiveboardMasterpiecesEnabled SDK flag to true to start modifying this CSS variable.
|
|
500
500
|
*/
|
|
501
501
|
'--ts-var-liveboard-group-tile-title-font-color'?: string;
|
|
502
502
|
/**
|
|
503
503
|
* Font color of the description of the tiles inside the groups in the Liveboard.
|
|
504
504
|
*
|
|
505
|
-
* Please enable the Liveboard
|
|
505
|
+
* Please enable the Liveboard Masterpieces feature in your ThoughtSpot instance and then set the isLiveboardMasterpiecesEnabled SDK flag to true to start modifying this CSS variable.
|
|
506
506
|
*/
|
|
507
507
|
'--ts-var-liveboard-group-tile-description-font-color'?: string;
|
|
508
508
|
/**
|
|
509
509
|
* Background color of the tiles inside the groups in the Liveboard.
|
|
510
510
|
*
|
|
511
|
-
* Please enable the Liveboard
|
|
511
|
+
* Please enable the Liveboard Masterpieces feature in your ThoughtSpot instance and then set the isLiveboardMasterpiecesEnabled SDK flag to true to start modifying this CSS variable.
|
|
512
512
|
*/
|
|
513
513
|
'--ts-var-liveboard-group-tile-background'?: string;
|
|
514
514
|
/**
|
|
515
515
|
* Background color of the filter chips in the Liveboard.
|
|
516
516
|
*
|
|
517
|
-
* Please enable the Liveboard
|
|
517
|
+
* Please enable the Liveboard Masterpieces feature in your ThoughtSpot instance and then set the isLiveboardMasterpiecesEnabled SDK flag to true to start modifying this CSS variable.
|
|
518
518
|
*/
|
|
519
519
|
'--ts-var-liveboard-chip-background'?: string;
|
|
520
520
|
/**
|
|
521
521
|
* Font color of the filter chips in the Liveboard.
|
|
522
522
|
*
|
|
523
|
-
* Please enable the Liveboard
|
|
523
|
+
* Please enable the Liveboard Masterpieces feature in your ThoughtSpot instance and then set the isLiveboardMasterpiecesEnabled SDK flag to true to start modifying this CSS variable.
|
|
524
524
|
*/
|
|
525
525
|
'--ts-var-liveboard-chip-color'?: string;
|
|
526
526
|
/**
|
|
527
527
|
* Background color of the filter chips in the Liveboard on hover.
|
|
528
528
|
*
|
|
529
|
-
* Please enable the Liveboard
|
|
529
|
+
* Please enable the Liveboard Masterpieces feature in your ThoughtSpot instance and then set the isLiveboardMasterpiecesEnabled SDK flag to true to start modifying this CSS variable.
|
|
530
530
|
*/
|
|
531
531
|
'--ts-var-liveboard-chip--hover-background'?: string;
|
|
532
532
|
/**
|
|
533
533
|
* Background color of the filter chips in the Liveboard on active.
|
|
534
534
|
*
|
|
535
|
-
* Please enable the Liveboard
|
|
535
|
+
* Please enable the Liveboard Masterpieces feature in your ThoughtSpot instance and then set the isLiveboardMasterpiecesEnabled SDK flag to true to start modifying this CSS variable.
|
|
536
536
|
*/
|
|
537
537
|
'--ts-var-liveboard-chip--active-background'?: string;
|
|
538
538
|
/**
|
package/dist/src/embed/app.d.ts
CHANGED
|
@@ -48,7 +48,7 @@ export declare enum Page {
|
|
|
48
48
|
Monitor = "monitor"
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
|
-
* Define the initial state
|
|
51
|
+
* Define the initial state of column custom group accordions
|
|
52
52
|
* in data panel v2.
|
|
53
53
|
*/
|
|
54
54
|
export declare enum DataPanelCustomColumnGroupsAccordionState {
|
|
@@ -119,7 +119,7 @@ export declare enum ListPage {
|
|
|
119
119
|
*/
|
|
120
120
|
export interface DiscoveryExperience {
|
|
121
121
|
/**
|
|
122
|
-
* primaryNavbarVersion determines the version of the navigation
|
|
122
|
+
* primaryNavbarVersion determines the version of the primary navigation bar.
|
|
123
123
|
*/
|
|
124
124
|
primaryNavbarVersion?: PrimaryNavbarVersion;
|
|
125
125
|
/**
|
|
@@ -142,8 +142,8 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
142
142
|
* This flag also controls the homepage left navigation bar.
|
|
143
143
|
*
|
|
144
144
|
* Supported embed types: `AppEmbed`
|
|
145
|
-
* @default true
|
|
146
145
|
* @version SDK: 1.2.0 | ThoughtSpot: 8.4.0.cl
|
|
146
|
+
* @default true
|
|
147
147
|
* @example
|
|
148
148
|
* ```js
|
|
149
149
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -164,8 +164,8 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
164
164
|
* **Note**: This attribute is not supported in the classic (V1) experience.
|
|
165
165
|
*
|
|
166
166
|
* Supported embed types: `AppEmbed`
|
|
167
|
-
* @default false
|
|
168
167
|
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl
|
|
168
|
+
* @default false
|
|
169
169
|
* @example
|
|
170
170
|
* ```js
|
|
171
171
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -182,8 +182,8 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
182
182
|
* navigation bar is not hidden via `showPrimaryNavbar`.
|
|
183
183
|
*
|
|
184
184
|
* Supported embed types: `AppEmbed`
|
|
185
|
-
* @default false
|
|
186
185
|
* @version SDK: 1.2.0 | ThoughtSpot: 8.4.0.cl
|
|
186
|
+
* @default false
|
|
187
187
|
* @example
|
|
188
188
|
* ```js
|
|
189
189
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -194,12 +194,12 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
194
194
|
*/
|
|
195
195
|
disableProfileAndHelp?: boolean;
|
|
196
196
|
/**
|
|
197
|
-
* @version SDK: 1.36.3 | ThoughtSpot: 10.1.0.cl
|
|
198
|
-
* @default true
|
|
199
197
|
* Whether the help menu in the top navigation bar should be served
|
|
200
198
|
* from Pendo or ThoughtSpot's internal help items.
|
|
201
199
|
*
|
|
202
200
|
* Supported embed types: `AppEmbed`
|
|
201
|
+
* @version SDK: 1.36.3 | ThoughtSpot: 10.1.0.cl
|
|
202
|
+
* @default true
|
|
203
203
|
* @example
|
|
204
204
|
* ```js
|
|
205
205
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -214,8 +214,8 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
214
214
|
* the top navigation bar in the V3 navigation experience.
|
|
215
215
|
*
|
|
216
216
|
* Supported embed types: `AppEmbed`
|
|
217
|
-
* @default false
|
|
218
217
|
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
218
|
+
* @default false
|
|
219
219
|
* @example
|
|
220
220
|
* ```js
|
|
221
221
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -234,8 +234,8 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
234
234
|
* in the classic (V1) experience.
|
|
235
235
|
*
|
|
236
236
|
* Supported embed types: `AppEmbed`
|
|
237
|
-
* @default true
|
|
238
237
|
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
238
|
+
* @default true
|
|
239
239
|
* @example
|
|
240
240
|
* ```js
|
|
241
241
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -253,8 +253,8 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
253
253
|
* in the classic (V1) and V2 experience modes.
|
|
254
254
|
*
|
|
255
255
|
* Supported embed types: `AppEmbed`
|
|
256
|
-
* @default true
|
|
257
256
|
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
257
|
+
* @default true
|
|
258
258
|
* @example
|
|
259
259
|
* ```js
|
|
260
260
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -270,7 +270,7 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
270
270
|
* In the V3 experience, it shows or hides application selection
|
|
271
271
|
* icons on the left navigation panel.
|
|
272
272
|
* By default, the application selection menu and icons are
|
|
273
|
-
* shown in the UI
|
|
273
|
+
* shown in the UI.
|
|
274
274
|
*
|
|
275
275
|
* **Note**: This attribute is not supported in the classic (V1) experience.
|
|
276
276
|
*
|
|
@@ -310,7 +310,7 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
310
310
|
* takes precedence. This is the path post the `#/` in the URL of the standalone
|
|
311
311
|
* ThoughtSpot app. Use this to open the embedded view to a specific path.
|
|
312
312
|
*
|
|
313
|
-
* For
|
|
313
|
+
* For example, if you want the component to open to a specific Liveboard
|
|
314
314
|
* you could set the path to `pinboard/<liveboardId>/tab/<tabId>`.
|
|
315
315
|
*
|
|
316
316
|
* Supported embed types: `AppEmbed`
|
|
@@ -328,7 +328,7 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
328
328
|
* The application page to set as the start page
|
|
329
329
|
* in the embedded view.
|
|
330
330
|
*
|
|
331
|
-
* Use this to open to particular page in the app. To open to a specific
|
|
331
|
+
* Use this to open to a particular page in the app. To open to a specific
|
|
332
332
|
* path within the app, use the `path` attribute which is more flexible.
|
|
333
333
|
*
|
|
334
334
|
* Supported embed types: `AppEmbed`
|
|
@@ -408,8 +408,8 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
408
408
|
* If set to true, the Search Assist feature is enabled.
|
|
409
409
|
*
|
|
410
410
|
* Supported embed types: `AppEmbed`
|
|
411
|
-
* @default true
|
|
412
411
|
* @version SDK: 1.13.0 | ThoughtSpot: 8.5.0.cl, 8.8.1-sw
|
|
412
|
+
* @default true
|
|
413
413
|
* @example
|
|
414
414
|
* ```js
|
|
415
415
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -447,8 +447,8 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
447
447
|
* For more information,
|
|
448
448
|
* see link:https://developers.thoughtspot.com/docs/full-app-customize[full app embed documentation].
|
|
449
449
|
* Supported embed types: `AppEmbed`
|
|
450
|
-
* @default false
|
|
451
450
|
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl
|
|
451
|
+
* @default false
|
|
452
452
|
* @example
|
|
453
453
|
* ```js
|
|
454
454
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -463,8 +463,8 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
463
463
|
* For more information, see
|
|
464
464
|
* link:https://developers.thoughtspot.com/docs/full-app-customize[full app embed documentation].
|
|
465
465
|
* Supported embed types: `AppEmbed`
|
|
466
|
-
* @default false
|
|
467
466
|
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
467
|
+
* @default false
|
|
468
468
|
* @example
|
|
469
469
|
* ```js
|
|
470
470
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -479,10 +479,10 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
479
479
|
*/
|
|
480
480
|
discoveryExperience?: DiscoveryExperience;
|
|
481
481
|
/**
|
|
482
|
-
* To set the initial state of the search bar in case of saved-answers.
|
|
482
|
+
* To set the initial state of the search bar in case of saved-answers. Use {@link collapseSearchBar} instead.
|
|
483
483
|
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl
|
|
484
|
+
* @deprecated This flag is deprecated.
|
|
484
485
|
* @default false
|
|
485
|
-
* @deprecated Use {@link collapseSearchBar} instead
|
|
486
486
|
*/
|
|
487
487
|
collapseSearchBarInitially?: boolean;
|
|
488
488
|
/**
|
|
@@ -510,14 +510,14 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
510
510
|
* Flag to use home page search bar mode
|
|
511
511
|
*
|
|
512
512
|
* Supported embed types: `AppEmbed`
|
|
513
|
-
* @version SDK
|
|
513
|
+
* @version SDK: 1.33.0 | ThoughtSpot: 10.3.0.cl
|
|
514
514
|
*/
|
|
515
515
|
homePageSearchBarMode?: HomePageSearchBarMode;
|
|
516
516
|
/**
|
|
517
517
|
* This flag is used to enable unified search experience for full app embed.
|
|
518
518
|
*
|
|
519
519
|
* Supported embed types: `AppEmbed`
|
|
520
|
-
* @version SDK: 1.34.0 | ThoughtSpot:10.5.0.cl
|
|
520
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.5.0.cl
|
|
521
521
|
* @default true
|
|
522
522
|
* @example
|
|
523
523
|
* ```js
|
|
@@ -529,7 +529,8 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
529
529
|
*/
|
|
530
530
|
isUnifiedSearchExperienceEnabled?: boolean;
|
|
531
531
|
/**
|
|
532
|
-
* This flag is used to enable/disable the styling and grouping in a Liveboard
|
|
532
|
+
* This flag is used to enable/disable the styling and grouping in a Liveboard. Use {@link isLiveboardMasterpiecesEnabled} instead.
|
|
533
|
+
* @deprecated This flag is deprecated.
|
|
533
534
|
*
|
|
534
535
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`
|
|
535
536
|
* @type {boolean}
|
|
@@ -595,6 +596,9 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
595
596
|
/**
|
|
596
597
|
* This flag is used to enable the full height lazy load data.
|
|
597
598
|
*
|
|
599
|
+
* @type {boolean}
|
|
600
|
+
* @version SDK: 1.40.0 | ThoughtSpot: 10.12.0.cl
|
|
601
|
+
* @default false
|
|
598
602
|
* @example
|
|
599
603
|
* ```js
|
|
600
604
|
* const embed = new AppEmbed('#embed-container', {
|
|
@@ -603,39 +607,36 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
603
607
|
* lazyLoadingForFullHeight: true,
|
|
604
608
|
* })
|
|
605
609
|
* ```
|
|
606
|
-
*
|
|
607
|
-
* @type {boolean}
|
|
608
|
-
* @default false
|
|
609
|
-
* @version SDK: 1.40.0 | ThoughtSpot:10.12.0.cl
|
|
610
610
|
*/
|
|
611
611
|
lazyLoadingForFullHeight?: boolean;
|
|
612
612
|
/**
|
|
613
613
|
* The margin to be used for lazy loading.
|
|
614
614
|
*
|
|
615
615
|
* For example, if the margin is set to '10px',
|
|
616
|
-
* the visualization will be loaded 10px before
|
|
616
|
+
* the visualization will be loaded 10px before its top edge is visible in the
|
|
617
617
|
* viewport.
|
|
618
618
|
*
|
|
619
619
|
* The format is similar to CSS margin.
|
|
620
620
|
*
|
|
621
|
+
* @type {string}
|
|
622
|
+
* @version SDK: 1.40.0 | ThoughtSpot: 10.12.0.cl
|
|
621
623
|
* @example
|
|
622
624
|
* ```js
|
|
623
625
|
* const embed = new AppEmbed('#embed-container', {
|
|
624
626
|
* // ...other options
|
|
625
627
|
* fullHeight: true,
|
|
626
628
|
* lazyLoadingForFullHeight: true,
|
|
627
|
-
* // Using 0px, the visualization will be only loaded when
|
|
629
|
+
* // Using 0px, the visualization will be only loaded when it's visible in the viewport.
|
|
628
630
|
* lazyLoadingMargin: '0px',
|
|
629
631
|
* })
|
|
630
632
|
* ```
|
|
631
|
-
* @type {string}
|
|
632
|
-
* @version SDK: 1.40.0 | ThoughtSpot:10.12.0.cl
|
|
633
633
|
*/
|
|
634
634
|
lazyLoadingMargin?: string;
|
|
635
635
|
/**
|
|
636
636
|
* updatedSpotterChatPrompt : Controls the updated spotter chat prompt.
|
|
637
637
|
*
|
|
638
638
|
* Supported embed types: `AppEmbed`
|
|
639
|
+
* @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
|
|
639
640
|
* @default false
|
|
640
641
|
* @example
|
|
641
642
|
* ```js
|
|
@@ -644,25 +645,36 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
644
645
|
* updatedSpotterChatPrompt : true,
|
|
645
646
|
* })
|
|
646
647
|
* ```
|
|
647
|
-
* @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
|
|
648
648
|
*/
|
|
649
649
|
updatedSpotterChatPrompt?: boolean;
|
|
650
|
+
/**
|
|
651
|
+
* Controls the visibility of the past conversations sidebar.
|
|
652
|
+
*
|
|
653
|
+
* Supported embed types: `AppEmbed`
|
|
654
|
+
* @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
|
|
655
|
+
* @deprecated from SDK: 1.47.0 | ThoughtSpot: 26.4.0.cl
|
|
656
|
+
* Use `spotterSidebarConfig.enablePastConversationsSidebar`.
|
|
657
|
+
* @default false
|
|
658
|
+
*/
|
|
659
|
+
enablePastConversationsSidebar?: boolean;
|
|
650
660
|
/**
|
|
651
661
|
* Configuration for the Spotter sidebar UI customization.
|
|
652
662
|
* Only applicable when navigating to Spotter within the app.
|
|
653
663
|
*
|
|
654
664
|
* Supported embed types: `AppEmbed`
|
|
665
|
+
* @version SDK: 1.47.0 | ThoughtSpot: 26.4.0.cl
|
|
655
666
|
* @example
|
|
656
667
|
* ```js
|
|
657
668
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
658
|
-
*
|
|
669
|
+
* // Deprecated standalone flag (backward compatibility)
|
|
670
|
+
* enablePastConversationsSidebar: false,
|
|
671
|
+
* // Recommended config; this value takes precedence
|
|
659
672
|
* spotterSidebarConfig: {
|
|
660
673
|
* enablePastConversationsSidebar: true,
|
|
661
674
|
* spotterSidebarTitle: 'My Conversations',
|
|
662
675
|
* },
|
|
663
676
|
* })
|
|
664
677
|
* ```
|
|
665
|
-
* @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
|
|
666
678
|
*/
|
|
667
679
|
spotterSidebarConfig?: SpotterSidebarViewConfig;
|
|
668
680
|
/**
|
|
@@ -670,6 +682,7 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
670
682
|
* branding in tool response cards.
|
|
671
683
|
*
|
|
672
684
|
* Supported embed types: `AppEmbed`
|
|
685
|
+
* @version SDK: 1.46.0 | ThoughtSpot: 26.4.0.cl
|
|
673
686
|
* @example
|
|
674
687
|
* ```js
|
|
675
688
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
@@ -680,7 +693,6 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
680
693
|
* },
|
|
681
694
|
* })
|
|
682
695
|
* ```
|
|
683
|
-
* @version SDK: 1.46.0 | ThoughtSpot: 26.4.0.cl
|
|
684
696
|
*/
|
|
685
697
|
spotterChatConfig?: SpotterChatViewConfig;
|
|
686
698
|
/**
|
|
@@ -700,6 +712,22 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
700
712
|
* ```
|
|
701
713
|
*/
|
|
702
714
|
minimumHeight?: number;
|
|
715
|
+
/**
|
|
716
|
+
* To enable the homepage announcement banner.
|
|
717
|
+
* Controls the visibility of the announcement section
|
|
718
|
+
* on the homepage.
|
|
719
|
+
*
|
|
720
|
+
* Supported embed types: `AppEmbed`
|
|
721
|
+
* @example
|
|
722
|
+
* ```js
|
|
723
|
+
* const embed = new AppEmbed('#tsEmbed', {
|
|
724
|
+
* ... // other embed view config
|
|
725
|
+
* enableHomepageAnnouncement: true,
|
|
726
|
+
* })
|
|
727
|
+
* ```
|
|
728
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
729
|
+
*/
|
|
730
|
+
enableHomepageAnnouncement?: boolean;
|
|
703
731
|
}
|
|
704
732
|
/**
|
|
705
733
|
* Embeds full ThoughtSpot experience in a host application.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["app.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,EAEH,WAAW,EAGX,cAAc,EACd,kBAAkB,EAGrB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,qBAAqB,EAAE,wBAAwB,EAA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C,EAAE,MAAM,CAAC;IACvB;;;;;;;;;;;;;;OAcG;IACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;CACxC;AAED;;;GAGG;AACH,qBAAa,QAAS,SAAQ,OAAO;IACjC,SAAS,CAAC,UAAU,EAAE,aAAa,CAAC;IAEpC,OAAO,CAAC,aAAa,CAAO;gBAEhB,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa;IAc/D;;;OAGG;IACH,SAAS,CAAC,cAAc;IAwSxB,OAAO,CAAC,0BAA0B,CAGjC;IAED;;;;;OAKG;IACH,OAAO,CAAC,qCAAqC,CAI5C;IAED;;;OAGG;IACI,YAAY,IAAI,MAAM;IAW7B;;;;OAIG;IACH,SAAS,CAAC,kBAAkB,SAAU,cAAc,UAGlD;IAEF,OAAO,CAAC,iBAAiB,CAGvB;IAEF,OAAO,CAAC,mCAAmC,CAqBzC;IAEF;;;;OAIG;IACH,OAAO,CAAC,YAAY;IAsBpB;;;;OAIG;IACH,OAAO,CAAC,UAAU;IAalB;;;;;;;;;;OAUG;IACI,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,QAAQ,UAAQ,GAAG,IAAI;IAsBpE;;;OAGG;IACI,OAAO;IAKd,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,sBAAsB;IAQ9B,OAAO,CAAC,wBAAwB;IAOhC;;;;OAIG;IACU,MAAM,IAAI,OAAO,CAAC,QAAQ,CAAC;CAS3C"}
|
package/dist/src/embed/base.d.ts
CHANGED
|
@@ -100,7 +100,7 @@ export declare const renderInQueue: (fn: (next?: (val?: any) => void) => Promise
|
|
|
100
100
|
* }).catch(error => {
|
|
101
101
|
* console.error(error);
|
|
102
102
|
* });
|
|
103
|
-
|
|
103
|
+
* ```
|
|
104
104
|
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
|
|
105
105
|
* @group Global methods
|
|
106
106
|
*/
|
|
@@ -142,9 +142,9 @@ export declare const exportTML: (data: exportTMLInput) => Promise<any>;
|
|
|
142
142
|
export declare function reset(): void;
|
|
143
143
|
/**
|
|
144
144
|
* Reloads the ThoughtSpot iframe.
|
|
145
|
+
* @version SDK: 1.43.1
|
|
145
146
|
* @param iFrame
|
|
146
147
|
* @group Global methods
|
|
147
|
-
* @version SDK: 1.43.1
|
|
148
148
|
*/
|
|
149
149
|
export declare const reloadIframe: (iFrame: HTMLIFrameElement) => void;
|
|
150
150
|
//# sourceMappingURL=base.d.ts.map
|
|
@@ -12,8 +12,8 @@ export interface SpotterAgentEmbedViewConfig extends Omit<BaseViewConfig, 'prima
|
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
14
|
* Configuration for conversation options.
|
|
15
|
-
* @deprecated from SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
|
|
16
15
|
* Use {@link SpotterAgentEmbedViewConfig} instead
|
|
16
|
+
* @deprecated from SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
|
|
17
17
|
* @group Embed components
|
|
18
18
|
*/
|
|
19
19
|
export interface BodylessConversationViewConfig extends SpotterAgentEmbedViewConfig {
|
|
@@ -36,6 +36,8 @@ export declare class ConversationMessage extends TsEmbed {
|
|
|
36
36
|
/**
|
|
37
37
|
* Create a conversation embed, which can be integrated inside
|
|
38
38
|
* chatbots or other conversational interfaces.
|
|
39
|
+
* @version SDK: 1.37.0 | ThoughtSpot: 10.9.0.cl
|
|
40
|
+
* @group Embed components
|
|
39
41
|
* @example
|
|
40
42
|
* ```js
|
|
41
43
|
* import { SpotterAgentEmbed } from '@thoughtspot/visual-embed-sdk';
|
|
@@ -49,8 +51,6 @@ export declare class ConversationMessage extends TsEmbed {
|
|
|
49
51
|
* // append the container to the DOM
|
|
50
52
|
* document.body.appendChild(container); // or to any other element
|
|
51
53
|
* ```
|
|
52
|
-
* @group Embed components
|
|
53
|
-
* @version SDK: 1.37.0 | ThoughtSpot: 10.9.0.cl
|
|
54
54
|
*/
|
|
55
55
|
export declare class SpotterAgentEmbed {
|
|
56
56
|
private viewConfig;
|
|
@@ -88,8 +88,9 @@ export declare class SpotterAgentEmbed {
|
|
|
88
88
|
/**
|
|
89
89
|
* Create a conversation embed, which can be integrated inside
|
|
90
90
|
* chatbots or other conversational interfaces.
|
|
91
|
-
* @deprecated from SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
|
|
92
91
|
* Use {@link SpotterAgentEmbed} instead
|
|
92
|
+
* @deprecated from SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
|
|
93
|
+
* @group Embed components
|
|
93
94
|
* @example
|
|
94
95
|
* ```js
|
|
95
96
|
* import { SpotterAgentEmbed } from '@thoughtspot/visual-embed-sdk';
|
|
@@ -103,7 +104,6 @@ export declare class SpotterAgentEmbed {
|
|
|
103
104
|
* // append the container to the DOM
|
|
104
105
|
* document.body.appendChild(container); // or to any other element
|
|
105
106
|
* ```
|
|
106
|
-
* @group Embed components
|
|
107
107
|
*/
|
|
108
108
|
export declare class BodylessConversation extends SpotterAgentEmbed {
|
|
109
109
|
constructor(viewConfig: BodylessConversationViewConfig);
|