@thoughtspot/visual-embed-sdk 1.22.0 → 1.23.0
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 +1 -1
- package/cjs/src/css-variables.d.ts +1 -1
- package/cjs/src/css-variables.d.ts.map +1 -1
- package/cjs/src/embed/liveboard.d.ts +6 -0
- package/cjs/src/embed/liveboard.d.ts.map +1 -1
- package/cjs/src/embed/liveboard.js +4 -1
- package/cjs/src/embed/liveboard.js.map +1 -1
- package/cjs/src/embed/liveboard.spec.js +12 -0
- package/cjs/src/embed/liveboard.spec.js.map +1 -1
- package/cjs/src/embed/sage.d.ts +1 -0
- package/cjs/src/embed/sage.d.ts.map +1 -1
- package/cjs/src/embed/sage.js +1 -0
- package/cjs/src/embed/sage.js.map +1 -1
- package/cjs/src/embed/ts-embed.d.ts.map +1 -1
- package/cjs/src/embed/ts-embed.js +20 -1
- package/cjs/src/embed/ts-embed.js.map +1 -1
- package/cjs/src/embed/ts-embed.spec.js +69 -0
- package/cjs/src/embed/ts-embed.spec.js.map +1 -1
- package/cjs/src/types.d.ts +890 -210
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +830 -194
- package/cjs/src/types.js.map +1 -1
- package/dist/src/css-variables.d.ts +1 -1
- package/dist/src/css-variables.d.ts.map +1 -1
- package/dist/src/embed/liveboard.d.ts +6 -0
- package/dist/src/embed/liveboard.d.ts.map +1 -1
- package/dist/src/embed/sage.d.ts +1 -0
- package/dist/src/embed/sage.d.ts.map +1 -1
- package/dist/src/embed/ts-embed.d.ts.map +1 -1
- package/dist/src/types.d.ts +890 -210
- package/dist/src/types.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +856 -197
- package/dist/tsembed-react.js +837 -188
- package/dist/tsembed.es.js +856 -197
- package/dist/tsembed.js +837 -188
- package/dist/visual-embed-sdk-react-full.d.ts +898 -211
- package/dist/visual-embed-sdk-react.d.ts +898 -211
- package/dist/visual-embed-sdk.d.ts +898 -211
- package/lib/package.json +1 -1
- package/lib/src/css-variables.d.ts +1 -1
- package/lib/src/css-variables.d.ts.map +1 -1
- package/lib/src/embed/liveboard.d.ts +6 -0
- package/lib/src/embed/liveboard.d.ts.map +1 -1
- package/lib/src/embed/liveboard.js +4 -1
- package/lib/src/embed/liveboard.js.map +1 -1
- package/lib/src/embed/liveboard.spec.js +12 -0
- package/lib/src/embed/liveboard.spec.js.map +1 -1
- package/lib/src/embed/sage.d.ts +1 -0
- package/lib/src/embed/sage.d.ts.map +1 -1
- package/lib/src/embed/sage.js +1 -0
- package/lib/src/embed/sage.js.map +1 -1
- package/lib/src/embed/ts-embed.d.ts.map +1 -1
- package/lib/src/embed/ts-embed.js +20 -1
- package/lib/src/embed/ts-embed.js.map +1 -1
- package/lib/src/embed/ts-embed.spec.js +69 -0
- package/lib/src/embed/ts-embed.spec.js.map +1 -1
- package/lib/src/types.d.ts +890 -210
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +830 -194
- package/lib/src/types.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +898 -211
- package/package.json +1 -1
- package/src/css-variables.ts +1 -1
- package/src/embed/liveboard.spec.ts +16 -0
- package/src/embed/liveboard.ts +10 -0
- package/src/embed/sage.ts +1 -0
- package/src/embed/ts-embed.spec.ts +79 -0
- package/src/embed/ts-embed.ts +26 -1
- package/src/types.ts +903 -210
package/lib/src/types.js
CHANGED
|
@@ -164,7 +164,7 @@ export var AuthType;
|
|
|
164
164
|
* .then((data) => data.token);
|
|
165
165
|
* }
|
|
166
166
|
* ```
|
|
167
|
-
* @version SDK: 1.22.0| ThouhgtSpot: 9.3.0.cl, 9.5.1
|
|
167
|
+
* @version SDK: 1.22.0| ThouhgtSpot: 9.3.0.cl, 9.5.1.sw
|
|
168
168
|
*/
|
|
169
169
|
AuthType["TrustedAuthTokenCookieless"] = "AuthServerCookieless";
|
|
170
170
|
/**
|
|
@@ -314,7 +314,7 @@ export var EmbedEvent;
|
|
|
314
314
|
* One or more data columns have been selected.
|
|
315
315
|
*
|
|
316
316
|
* @returns columnIds - the list of columns
|
|
317
|
-
* @version SDK: 1.10.0 | ThoughtSpot: 8.2.0.cl, 8.4.1
|
|
317
|
+
* @version SDK: 1.10.0 | ThoughtSpot: 8.2.0.cl, 8.4.1.sw
|
|
318
318
|
*/
|
|
319
319
|
EmbedEvent["AddRemoveColumns"] = "addRemoveColumns";
|
|
320
320
|
/**
|
|
@@ -347,7 +347,7 @@ export var EmbedEvent;
|
|
|
347
347
|
* });
|
|
348
348
|
* ```
|
|
349
349
|
* @return viz, clickedPoint - metadata about point that is clicked
|
|
350
|
-
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1
|
|
350
|
+
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
351
351
|
* @important
|
|
352
352
|
*/
|
|
353
353
|
EmbedEvent["VizPointClick"] = "vizPointClick";
|
|
@@ -397,7 +397,7 @@ export var EmbedEvent;
|
|
|
397
397
|
* Emitted when the "Get Data" button in Search Bar embed
|
|
398
398
|
* is clicked.
|
|
399
399
|
*
|
|
400
|
-
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.0
|
|
400
|
+
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.0.sw
|
|
401
401
|
*/
|
|
402
402
|
EmbedEvent["GetDataClick"] = "getDataClick";
|
|
403
403
|
/**
|
|
@@ -427,13 +427,13 @@ export var EmbedEvent;
|
|
|
427
427
|
/**
|
|
428
428
|
* Emitted when any modal is opened in the app
|
|
429
429
|
*
|
|
430
|
-
* @version SDK: 1.6.0 | ThoughtSpot: ts8.nov.cl, 8.4.1
|
|
430
|
+
* @version SDK: 1.6.0 | ThoughtSpot: ts8.nov.cl, 8.4.1.sw
|
|
431
431
|
*/
|
|
432
432
|
EmbedEvent["DialogOpen"] = "dialog-open";
|
|
433
433
|
/**
|
|
434
434
|
* Emitted when any modal is closed in the app
|
|
435
435
|
*
|
|
436
|
-
* @version SDK: 1.6.0 | ThoughtSpot: ts8.nov.cl, 8.4.1
|
|
436
|
+
* @version SDK: 1.6.0 | ThoughtSpot: ts8.nov.cl, 8.4.1.sw
|
|
437
437
|
*/
|
|
438
438
|
EmbedEvent["DialogClose"] = "dialog-close";
|
|
439
439
|
/**
|
|
@@ -441,136 +441,136 @@ export var EmbedEvent;
|
|
|
441
441
|
* You can use this event as a hook to trigger
|
|
442
442
|
* other events on the rendered Liveboard.
|
|
443
443
|
*
|
|
444
|
-
* @version SDK: 1.9.1 | ThoughtSpot: 8.1.0.cl, 8.4.1
|
|
444
|
+
* @version SDK: 1.9.1 | ThoughtSpot: 8.1.0.cl, 8.4.1.sw
|
|
445
445
|
*/
|
|
446
446
|
EmbedEvent["LiveboardRendered"] = "PinboardRendered";
|
|
447
447
|
/**
|
|
448
448
|
* This can be used to register an event listener which
|
|
449
449
|
* is triggered on all events.
|
|
450
450
|
*
|
|
451
|
-
* @Version SDK: 1.10.0 | ThoughtSpot: 8.2.0.cl, 8.4.1
|
|
451
|
+
* @Version SDK: 1.10.0 | ThoughtSpot: 8.2.0.cl, 8.4.1.sw
|
|
452
452
|
*/
|
|
453
453
|
EmbedEvent["ALL"] = "*";
|
|
454
454
|
/**
|
|
455
|
-
* Emitted when
|
|
455
|
+
* Emitted when an Answer is saved in the app
|
|
456
456
|
*
|
|
457
|
-
* @Version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1
|
|
457
|
+
* @Version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
458
458
|
*/
|
|
459
459
|
EmbedEvent["Save"] = "save";
|
|
460
460
|
/**
|
|
461
461
|
* Emitted when the download action is triggered on an answer
|
|
462
462
|
*
|
|
463
|
-
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1
|
|
463
|
+
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
464
464
|
*/
|
|
465
465
|
EmbedEvent["Download"] = "download";
|
|
466
466
|
/**
|
|
467
467
|
* Emitted when the download action is triggered on an answer
|
|
468
468
|
*
|
|
469
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.4.0
|
|
469
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.4.0.sw
|
|
470
470
|
*/
|
|
471
471
|
EmbedEvent["DownloadAsPng"] = "downloadAsPng";
|
|
472
472
|
/**
|
|
473
473
|
* Emitted when the Download as PDF action is triggered on an answer
|
|
474
474
|
*
|
|
475
|
-
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1
|
|
475
|
+
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
476
476
|
*/
|
|
477
477
|
EmbedEvent["DownloadAsPdf"] = "downloadAsPdf";
|
|
478
478
|
/**
|
|
479
479
|
* Emitted when the Download as CSV action is triggered on an answer
|
|
480
480
|
*
|
|
481
|
-
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1
|
|
481
|
+
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
482
482
|
*/
|
|
483
483
|
EmbedEvent["DownloadAsCsv"] = "downloadAsCsv";
|
|
484
484
|
/**
|
|
485
485
|
* Emitted when the Download as XLSX action is triggered on an answer
|
|
486
486
|
*
|
|
487
|
-
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1
|
|
487
|
+
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
488
488
|
*/
|
|
489
489
|
EmbedEvent["DownloadAsXlsx"] = "downloadAsXlsx";
|
|
490
490
|
/**
|
|
491
491
|
* Emitted when an answer is deleted in the app
|
|
492
492
|
*
|
|
493
|
-
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1
|
|
493
|
+
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
494
494
|
*/
|
|
495
495
|
EmbedEvent["AnswerDelete"] = "answerDelete";
|
|
496
496
|
/**
|
|
497
497
|
* Emitted when an answer is pinned to a Liveboard
|
|
498
498
|
*
|
|
499
|
-
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1
|
|
499
|
+
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
500
500
|
*/
|
|
501
501
|
EmbedEvent["Pin"] = "pin";
|
|
502
502
|
/**
|
|
503
503
|
* Emitted when SpotIQ analysis is triggered
|
|
504
504
|
*
|
|
505
|
-
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1
|
|
505
|
+
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
506
506
|
*/
|
|
507
507
|
EmbedEvent["SpotIQAnalyze"] = "spotIQAnalyze";
|
|
508
508
|
/**
|
|
509
509
|
* Emitted when a user shares an object with another user or group
|
|
510
510
|
*
|
|
511
|
-
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1
|
|
511
|
+
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
512
512
|
*/
|
|
513
513
|
EmbedEvent["Share"] = "share";
|
|
514
514
|
/**
|
|
515
515
|
* Emitted when a user clicks the Include action to include a specific value or data
|
|
516
516
|
* on a chart or table
|
|
517
517
|
*
|
|
518
|
-
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1
|
|
518
|
+
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
519
519
|
*/
|
|
520
520
|
EmbedEvent["DrillInclude"] = "context-menu-item-include";
|
|
521
521
|
/**
|
|
522
522
|
* Emitted when a user clicks the Exclude action to exclude a specific value or data
|
|
523
523
|
* on a chart or table
|
|
524
524
|
*
|
|
525
|
-
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1
|
|
525
|
+
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
526
526
|
*/
|
|
527
527
|
EmbedEvent["DrillExclude"] = "context-menu-item-exclude";
|
|
528
528
|
/**
|
|
529
529
|
* Emitted when copied column value on the app
|
|
530
530
|
*
|
|
531
|
-
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1
|
|
531
|
+
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
532
532
|
*/
|
|
533
533
|
EmbedEvent["CopyToClipboard"] = "context-menu-item-copy-to-clipboard";
|
|
534
534
|
/**
|
|
535
535
|
* Emitted when a user clicks the Update TML action
|
|
536
536
|
*
|
|
537
|
-
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1
|
|
537
|
+
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
538
538
|
*/
|
|
539
539
|
EmbedEvent["UpdateTML"] = "updateTSL";
|
|
540
540
|
/**
|
|
541
541
|
* Emitted when a user clicks the Edit TML action
|
|
542
542
|
*
|
|
543
|
-
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1
|
|
543
|
+
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
544
544
|
*/
|
|
545
545
|
EmbedEvent["EditTML"] = "editTSL";
|
|
546
546
|
/**
|
|
547
547
|
* Emitted when ExportTML trigger in answer on the app
|
|
548
548
|
*
|
|
549
|
-
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1
|
|
549
|
+
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
550
550
|
*/
|
|
551
551
|
EmbedEvent["ExportTML"] = "exportTSL";
|
|
552
552
|
/**
|
|
553
553
|
* Emitted when an answer is saved as a view
|
|
554
554
|
*
|
|
555
|
-
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1
|
|
555
|
+
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
556
556
|
*/
|
|
557
557
|
EmbedEvent["SaveAsView"] = "saveAsView";
|
|
558
558
|
/**
|
|
559
559
|
* Emitted when copy of existing answer on the app
|
|
560
560
|
*
|
|
561
|
-
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1
|
|
561
|
+
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
562
562
|
*/
|
|
563
563
|
EmbedEvent["CopyAEdit"] = "copyAEdit";
|
|
564
564
|
/**
|
|
565
565
|
* Emitted when a user clicks Show underlying data on an answe
|
|
566
566
|
*
|
|
567
|
-
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1
|
|
567
|
+
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
568
568
|
*/
|
|
569
569
|
EmbedEvent["ShowUnderlyingData"] = "showUnderlyingData";
|
|
570
570
|
/**
|
|
571
571
|
* Emitted when an answer is switched to a chart or table view
|
|
572
572
|
*
|
|
573
|
-
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1
|
|
573
|
+
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
574
574
|
*/
|
|
575
575
|
EmbedEvent["AnswerChartSwitcher"] = "answerChartSwitcher";
|
|
576
576
|
/**
|
|
@@ -582,67 +582,67 @@ export var EmbedEvent;
|
|
|
582
582
|
/**
|
|
583
583
|
* Emitted when a user clicks Show Liveboard details on a Liveboard
|
|
584
584
|
*
|
|
585
|
-
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1
|
|
585
|
+
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
586
586
|
*/
|
|
587
587
|
EmbedEvent["LiveboardInfo"] = "pinboardInfo";
|
|
588
588
|
/**
|
|
589
589
|
* Emitted when a user clicks on the Favorite icon on a Liveboard
|
|
590
590
|
*
|
|
591
|
-
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1
|
|
591
|
+
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
592
592
|
*/
|
|
593
593
|
EmbedEvent["AddToFavorites"] = "addToFavorites";
|
|
594
594
|
/**
|
|
595
595
|
* Emitted when a user clicks Schedule on a Liveboard
|
|
596
596
|
*
|
|
597
|
-
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1
|
|
597
|
+
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
598
598
|
*/
|
|
599
599
|
EmbedEvent["Schedule"] = "subscription";
|
|
600
600
|
/**
|
|
601
601
|
* Emitted when a user clicks Edit on a Liveboard or visualization
|
|
602
602
|
*
|
|
603
|
-
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1
|
|
603
|
+
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
604
604
|
*/
|
|
605
605
|
EmbedEvent["Edit"] = "edit";
|
|
606
606
|
/**
|
|
607
607
|
* Emitted when a user clicks Make a copy on a Liveboard
|
|
608
608
|
*
|
|
609
|
-
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1
|
|
609
|
+
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
610
610
|
*/
|
|
611
611
|
EmbedEvent["MakeACopy"] = "makeACopy";
|
|
612
612
|
/**
|
|
613
613
|
* Emitted when a user clicks Present on a Liveboard or visualization
|
|
614
614
|
*
|
|
615
|
-
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1
|
|
615
|
+
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
616
616
|
*/
|
|
617
617
|
EmbedEvent["Present"] = "present";
|
|
618
618
|
/**
|
|
619
619
|
* Emitted when a user clicks Delete on a Liveboard
|
|
620
620
|
*
|
|
621
|
-
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1
|
|
621
|
+
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
622
622
|
*/
|
|
623
623
|
EmbedEvent["Delete"] = "delete";
|
|
624
624
|
/**
|
|
625
625
|
* Emitted when a user clicks Manage schedules on a Liveboard
|
|
626
626
|
*
|
|
627
|
-
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1
|
|
627
|
+
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
628
628
|
*/
|
|
629
629
|
EmbedEvent["SchedulesList"] = "schedule-list";
|
|
630
630
|
/**
|
|
631
631
|
* Emitted when a user clicks Cancel in edit mode on a Liveboard
|
|
632
632
|
*
|
|
633
|
-
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1
|
|
633
|
+
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
634
634
|
*/
|
|
635
635
|
EmbedEvent["Cancel"] = "cancel";
|
|
636
636
|
/**
|
|
637
637
|
* Emitted when a user clicks Explore on a visualization
|
|
638
638
|
*
|
|
639
|
-
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1
|
|
639
|
+
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
640
640
|
*/
|
|
641
641
|
EmbedEvent["Explore"] = "explore";
|
|
642
642
|
/**
|
|
643
643
|
* Emitted when a user clicks Copy link action on a visualization
|
|
644
644
|
*
|
|
645
|
-
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1
|
|
645
|
+
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
646
646
|
*/
|
|
647
647
|
EmbedEvent["CopyLink"] = "embedDocument";
|
|
648
648
|
/**
|
|
@@ -663,6 +663,12 @@ export var EmbedEvent;
|
|
|
663
663
|
* @hidden
|
|
664
664
|
*/
|
|
665
665
|
EmbedEvent["InsertIntoSlide"] = "insertInToSlide";
|
|
666
|
+
/**
|
|
667
|
+
* Emitted when a user changes any filter on a Liveboard.
|
|
668
|
+
*
|
|
669
|
+
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
|
|
670
|
+
*/
|
|
671
|
+
EmbedEvent["FilterChanged"] = "filterChanged";
|
|
666
672
|
})(EmbedEvent || (EmbedEvent = {}));
|
|
667
673
|
/**
|
|
668
674
|
* Event types that can be triggered by the host application
|
|
@@ -690,13 +696,14 @@ export var EmbedEvent;
|
|
|
690
696
|
export var HostEvent;
|
|
691
697
|
(function (HostEvent) {
|
|
692
698
|
/**
|
|
693
|
-
*
|
|
694
|
-
*
|
|
699
|
+
* Triggers a search query in AppEmbed and SearchEmbed
|
|
700
|
+
* deployments.
|
|
701
|
+
* Includes the following properties:
|
|
695
702
|
* @param - dataSourceIds - The data source GUID to Search on
|
|
696
703
|
* - Although an array, only a single source
|
|
697
|
-
* is supported
|
|
698
|
-
* @param - searchQuery -
|
|
699
|
-
* @param - execute -
|
|
704
|
+
* is supported.
|
|
705
|
+
* @param - searchQuery - Query string with search tokens
|
|
706
|
+
* @param - execute - executes the existing / updated query
|
|
700
707
|
* @example
|
|
701
708
|
* ```js
|
|
702
709
|
* searchEmbed.trigger(HostEvent.Search, {
|
|
@@ -708,13 +715,13 @@ export var HostEvent;
|
|
|
708
715
|
*/
|
|
709
716
|
HostEvent["Search"] = "search";
|
|
710
717
|
/**
|
|
711
|
-
*
|
|
712
|
-
*
|
|
718
|
+
* Triggers a drill on certain points of the specified column
|
|
719
|
+
* Includes the following properties:
|
|
713
720
|
* @param - points - an object containing selectedPoints/clickedPoints
|
|
714
|
-
*
|
|
715
|
-
* @param - columnGuid -
|
|
716
|
-
*
|
|
717
|
-
*
|
|
721
|
+
* to drill to. For example, { selectedPoints: []}
|
|
722
|
+
* @param - columnGuid - Optional. GUID of the column to drill
|
|
723
|
+
* by. If not provided it will auto drill by the configured
|
|
724
|
+
* column.
|
|
718
725
|
* @example
|
|
719
726
|
* ```js
|
|
720
727
|
* searchEmbed.on(EmbedEvent.VizPointDoubleClick, (payload) => {
|
|
@@ -747,17 +754,17 @@ export var HostEvent;
|
|
|
747
754
|
*/
|
|
748
755
|
HostEvent["Reload"] = "reload";
|
|
749
756
|
/**
|
|
750
|
-
*
|
|
757
|
+
* Sets the visible visualizations on a Liveboard.
|
|
751
758
|
*
|
|
752
|
-
* @param -
|
|
753
|
-
*
|
|
759
|
+
* @param - An array of GUIDs of the visualization to show. The visualization IDs not passed
|
|
760
|
+
* in this parameter will be hidden.
|
|
754
761
|
* @example
|
|
755
762
|
* ```js
|
|
756
763
|
* liveboardEmbed.trigger(HostEvent.SetVisibleVizs, [
|
|
757
764
|
* '730496d6-6903-4601-937e-2c691821af3c',
|
|
758
765
|
* 'd547ec54-2a37-4516-a222-2b06719af726'])
|
|
759
766
|
* ```
|
|
760
|
-
* @version SDK: 1.6.0 | ThoughtSpot: ts8.nov.cl, 8.4.1
|
|
767
|
+
* @version SDK: 1.6.0 | ThoughtSpot: ts8.nov.cl, 8.4.1.sw
|
|
761
768
|
*/
|
|
762
769
|
HostEvent["SetVisibleVizs"] = "SetPinboardVisibleVizs";
|
|
763
770
|
/**
|
|
@@ -774,9 +781,18 @@ export var HostEvent;
|
|
|
774
781
|
*/
|
|
775
782
|
HostEvent["SetActiveTab"] = "SetActiveTab";
|
|
776
783
|
/**
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
784
|
+
* Updates runtime filters applied on a Saved Answer or Liveboard. The
|
|
785
|
+
* runtime filters passed here are appended to the existing runtime
|
|
786
|
+
* filters.
|
|
787
|
+
* Pass an array of runtime filters with the following attributes:
|
|
788
|
+
* `columnName`
|
|
789
|
+
* _String_. The name of the column to filter on.
|
|
790
|
+
* `operator`
|
|
791
|
+
* Runtime filter operator to apply. For information,
|
|
792
|
+
* see [Runtime filter operators](https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator).
|
|
793
|
+
* `values`
|
|
794
|
+
* List of operands. Some operators such as EQ, LE allow a single value, whereas operators
|
|
795
|
+
* such as BW and IN accept multiple operands.
|
|
780
796
|
* @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
|
|
781
797
|
* @example
|
|
782
798
|
* ```js
|
|
@@ -785,25 +801,24 @@ export var HostEvent;
|
|
|
785
801
|
* {columnName: "item type",operator: RuntimeFilterOp.EQ,values: ["Jackets"]}
|
|
786
802
|
* ])
|
|
787
803
|
* ```
|
|
788
|
-
* @version SDK: 1.9.0 | ThoughtSpot: 8.1.0.cl, 8.4.1
|
|
804
|
+
* @version SDK: 1.9.0 | ThoughtSpot: 8.1.0.cl, 8.4.1.sw
|
|
789
805
|
* @important
|
|
790
806
|
*/
|
|
791
807
|
HostEvent["UpdateRuntimeFilters"] = "UpdateRuntimeFilters";
|
|
792
808
|
/**
|
|
793
|
-
* Navigate to a specific page in
|
|
809
|
+
* Navigate to a specific page in the embedded application without reloading the page.
|
|
794
810
|
* This is the same as calling `appEmbed.navigateToPage(path, true)`
|
|
795
|
-
*
|
|
796
811
|
* @param - path - the path to navigate to (can be a number[1/-1] to go forward/back)
|
|
797
812
|
* @example
|
|
798
813
|
* ```js
|
|
799
814
|
* appEmbed.navigateToPage(-1)
|
|
800
815
|
* ```
|
|
801
|
-
* @version SDK: 1.12.0 | ThoughtSpot 8.4.0.cl, 8.4.1
|
|
816
|
+
* @version SDK: 1.12.0 | ThoughtSpot 8.4.0.cl, 8.4.1.sw
|
|
802
817
|
*/
|
|
803
818
|
HostEvent["Navigate"] = "Navigate";
|
|
804
819
|
/**
|
|
805
820
|
* Opens the filter panel for a particular column.
|
|
806
|
-
* Works with Search embed.
|
|
821
|
+
* Works with Search and Liveboard embed.
|
|
807
822
|
*
|
|
808
823
|
* @param - { columnId: string,
|
|
809
824
|
* name: string,
|
|
@@ -812,233 +827,257 @@ export var HostEvent;
|
|
|
812
827
|
* @example
|
|
813
828
|
* ```js
|
|
814
829
|
* searchEmbed.trigger(HostEvent.OpenFilter,
|
|
815
|
-
*
|
|
830
|
+
* { columnId: '<column-GUID>', name: 'column name', type: 'INT64', dataType: 'ATTRIBUTE'})
|
|
831
|
+
* LiveboardEmbed.trigger(HostEvent.OpenFilter,
|
|
832
|
+
* { columnId: '<column-GUID>'})
|
|
816
833
|
* ```
|
|
817
834
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
818
835
|
*/
|
|
819
836
|
HostEvent["OpenFilter"] = "openFilter";
|
|
820
837
|
/**
|
|
821
|
-
* Adds
|
|
838
|
+
* Adds columns to the current search query.
|
|
822
839
|
*
|
|
823
840
|
* @param - { columnIds: string[] }
|
|
824
841
|
* @example
|
|
825
842
|
* ```js
|
|
826
|
-
* searchEmbed.trigger(HostEvent.AddColumns, { columnIds: ['
|
|
843
|
+
* searchEmbed.trigger(HostEvent.AddColumns, { columnIds: ['<column-GUID>','<column-GUID>'] })
|
|
827
844
|
* ```
|
|
828
845
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
829
846
|
*/
|
|
830
847
|
HostEvent["AddColumns"] = "addColumns";
|
|
831
848
|
/**
|
|
832
|
-
* Removes a column from the current
|
|
849
|
+
* Removes a column from the current search query.
|
|
833
850
|
*
|
|
834
851
|
* @param - { columnId: string }
|
|
835
852
|
* @example
|
|
836
853
|
* ```js
|
|
837
|
-
* searchEmbed.trigger(HostEvent.RemoveColumn, { columnId: '
|
|
854
|
+
* searchEmbed.trigger(HostEvent.RemoveColumn, { columnId: '<column-Guid>' })
|
|
838
855
|
* ```
|
|
839
856
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
840
857
|
*/
|
|
841
858
|
HostEvent["RemoveColumn"] = "removeColumn";
|
|
842
859
|
/**
|
|
843
|
-
* Gets the current
|
|
860
|
+
* Gets the current Liveboard content.
|
|
844
861
|
*
|
|
845
862
|
* @example
|
|
846
863
|
* ```js
|
|
847
864
|
* liveboardEmbed.trigger(HostEvent.getExportRequestForCurrentPinboard)
|
|
848
865
|
* ```
|
|
849
|
-
* @version SDK: 1.13.0 | ThoughtSpot: 8.5.0.cl, 8.8.1
|
|
866
|
+
* @version SDK: 1.13.0 | ThoughtSpot: 8.5.0.cl, 8.8.1.sw
|
|
850
867
|
*/
|
|
851
868
|
HostEvent["getExportRequestForCurrentPinboard"] = "getExportRequestForCurrentPinboard";
|
|
852
869
|
/**
|
|
853
|
-
* Triggers the Pin action on an embedded object
|
|
870
|
+
* Triggers the **Pin** action on an embedded object
|
|
854
871
|
*
|
|
855
|
-
* @param -
|
|
856
|
-
*
|
|
872
|
+
* @param - Liveboard embed takes the `vizId` as a
|
|
873
|
+
* key. Can be left undefined when embedding Search, full app or
|
|
874
|
+
* a visualization.
|
|
857
875
|
* @example
|
|
858
876
|
* ```js
|
|
859
877
|
* liveboardEmbed.trigger(HostEvent.Pin, {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
|
|
878
|
+
* ```
|
|
879
|
+
* ```js
|
|
860
880
|
* vizEmbed.trigger(HostEvent.Pin)
|
|
881
|
+
* ```
|
|
882
|
+
* ```js
|
|
861
883
|
* searchEmbed.trigger(HostEvent.Pin)
|
|
862
884
|
* ```
|
|
863
|
-
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1
|
|
885
|
+
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
864
886
|
*/
|
|
865
887
|
HostEvent["Pin"] = "pin";
|
|
866
888
|
/**
|
|
867
|
-
* Triggers the Show Liveboard details action on a Liveboard
|
|
889
|
+
* Triggers the **Show Liveboard details** action on a Liveboard
|
|
868
890
|
*
|
|
869
891
|
* @example
|
|
870
892
|
* ```js
|
|
871
893
|
* liveboardEmbed.trigger(HostEvent.LiveboardInfo)
|
|
872
894
|
* ```
|
|
873
|
-
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1
|
|
895
|
+
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
874
896
|
*/
|
|
875
897
|
HostEvent["LiveboardInfo"] = "pinboardInfo";
|
|
876
898
|
/**
|
|
877
|
-
* Triggers the Schedule action on a Liveboard
|
|
899
|
+
* Triggers the **Schedule** action on a Liveboard
|
|
878
900
|
*
|
|
879
901
|
* @example
|
|
880
902
|
* ```js
|
|
881
903
|
* liveboardEmbed.trigger(HostEvent.Schedule)
|
|
882
904
|
* ```
|
|
883
|
-
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1
|
|
905
|
+
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
884
906
|
*/
|
|
885
907
|
HostEvent["Schedule"] = "subscription";
|
|
886
908
|
/**
|
|
887
|
-
* Triggers the Manage schedule action on a Liveboard
|
|
909
|
+
* Triggers the **Manage schedule** action on a Liveboard
|
|
888
910
|
*
|
|
889
911
|
* @example
|
|
890
912
|
* ```js
|
|
891
913
|
* liveboardEmbed.trigger(HostEvent.ScheduleList)
|
|
892
914
|
* ```
|
|
893
|
-
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1
|
|
915
|
+
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
894
916
|
*/
|
|
895
917
|
HostEvent["SchedulesList"] = "schedule-list";
|
|
896
918
|
/**
|
|
897
|
-
* Triggers the Export TML action on a Liveboard
|
|
919
|
+
* Triggers the **Export TML** action on a Liveboard
|
|
898
920
|
*
|
|
899
921
|
* @example
|
|
900
922
|
* ```js
|
|
901
923
|
* liveboardEmbed.trigger(HostEvent.ExportTML)
|
|
902
924
|
* ```
|
|
903
|
-
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1
|
|
925
|
+
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
904
926
|
*/
|
|
905
927
|
HostEvent["ExportTML"] = "exportTSL";
|
|
906
928
|
/**
|
|
907
|
-
* Triggers the Edit TML action on a Liveboard
|
|
929
|
+
* Triggers the **Edit TML** action on a Liveboard
|
|
908
930
|
*
|
|
909
931
|
* @example
|
|
910
932
|
* ```js
|
|
911
933
|
* liveboardEmbed.trigger(HostEvent.EditTML)
|
|
912
934
|
* ```
|
|
913
|
-
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1
|
|
935
|
+
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
914
936
|
*/
|
|
915
937
|
HostEvent["EditTML"] = "editTSL";
|
|
916
938
|
/**
|
|
917
|
-
* Triggers the Update TML action on a Liveboard
|
|
939
|
+
* Triggers the **Update TML** action on a Liveboard
|
|
918
940
|
*
|
|
919
941
|
* @example
|
|
920
942
|
* ```js
|
|
921
943
|
* liveboardEmbed.trigger(HostEvent.UpdateTML)
|
|
922
944
|
* ```
|
|
923
|
-
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1
|
|
945
|
+
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
924
946
|
*/
|
|
925
947
|
HostEvent["UpdateTML"] = "updateTSL";
|
|
926
948
|
/**
|
|
927
|
-
* Triggers the Download PDF action on a Liveboard
|
|
949
|
+
* Triggers the **Download PDF** action on a Liveboard
|
|
928
950
|
*
|
|
929
951
|
* @example
|
|
930
952
|
* ```js
|
|
931
953
|
* liveboardEmbed.trigger(HostEvent.DownloadAsPdf)
|
|
932
954
|
* ```
|
|
933
|
-
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1
|
|
955
|
+
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
934
956
|
*/
|
|
935
957
|
HostEvent["DownloadAsPdf"] = "downloadAsPdf";
|
|
936
958
|
/**
|
|
937
|
-
* Triggers the Make a copy action on a Liveboard,
|
|
959
|
+
* Triggers the **Make a copy** action on a Liveboard, Search, or
|
|
960
|
+
* visualization page
|
|
938
961
|
*
|
|
939
962
|
* @example
|
|
940
963
|
* ```js
|
|
941
964
|
* liveboardEmbed.trigger(HostEvent.MakeACopy, {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
|
|
965
|
+
* ```
|
|
966
|
+
* ```js
|
|
942
967
|
* vizEmbed.trigger(HostEvent.MakeACopy)
|
|
968
|
+
* ```
|
|
969
|
+
* ```js
|
|
943
970
|
* searchEmbed.trigger(HostEvent.MakeACopy)
|
|
944
971
|
* ```
|
|
945
|
-
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1
|
|
972
|
+
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
946
973
|
*/
|
|
947
974
|
HostEvent["MakeACopy"] = "makeACopy";
|
|
948
975
|
/**
|
|
949
|
-
* Triggers the Delete action on a Liveboard
|
|
976
|
+
* Triggers the **Delete** action on a Liveboard
|
|
950
977
|
*
|
|
951
978
|
* @example
|
|
952
979
|
* ```js
|
|
953
980
|
* appEmbed.trigger(HostEvent.Remove)
|
|
954
981
|
* ```
|
|
955
|
-
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1
|
|
982
|
+
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
956
983
|
*/
|
|
957
984
|
HostEvent["Remove"] = "delete";
|
|
958
985
|
/**
|
|
959
|
-
* Triggers the Explore action on a visualization
|
|
986
|
+
* Triggers the **Explore* action on a visualization
|
|
960
987
|
*
|
|
961
|
-
* @param - an object with vizId as a key
|
|
988
|
+
* @param - an object with `vizId` as a key
|
|
962
989
|
* @example
|
|
963
990
|
* ```js
|
|
964
991
|
* liveboardEmbed.trigger(HostEvent.Explore, {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
|
|
965
992
|
* ```
|
|
966
|
-
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1
|
|
993
|
+
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
967
994
|
*/
|
|
968
995
|
HostEvent["Explore"] = "explore";
|
|
969
996
|
/**
|
|
970
|
-
* Triggers the Create alert action on a visualization
|
|
997
|
+
* Triggers the **Create alert** action on a visualization
|
|
971
998
|
*
|
|
972
|
-
* @param - an object with vizId as a key
|
|
999
|
+
* @param - an object with `vizId` as a key
|
|
973
1000
|
* @example
|
|
974
1001
|
* ```js
|
|
975
1002
|
* liveboardEmbed.trigger(HostEvent.CreateMonitor {
|
|
976
1003
|
* vizId: '730496d6-6903-4601-937e-2c691821af3c'
|
|
977
1004
|
* })
|
|
978
1005
|
* ```
|
|
979
|
-
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1
|
|
1006
|
+
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
980
1007
|
*/
|
|
981
1008
|
HostEvent["CreateMonitor"] = "createMonitor";
|
|
982
1009
|
/**
|
|
983
|
-
* Triggers the Manage
|
|
1010
|
+
* Triggers the **Manage alerts** action on a visualization
|
|
984
1011
|
*
|
|
985
|
-
* @param - an object with vizId as a key
|
|
1012
|
+
* @param - an object with `vizId` as a key
|
|
986
1013
|
* @example
|
|
987
1014
|
* ```js
|
|
988
1015
|
* liveboardEmbed.trigger(HostEvent.ManageMonitor, {
|
|
989
1016
|
* vizId: '730496d6-6903-4601-937e-2c691821af3c'
|
|
990
1017
|
* })
|
|
991
1018
|
* ```
|
|
992
|
-
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1
|
|
1019
|
+
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
993
1020
|
*/
|
|
994
1021
|
HostEvent["ManageMonitor"] = "manageMonitor";
|
|
995
1022
|
/**
|
|
996
|
-
* Triggers the Edit action on a Liveboard or visualization
|
|
1023
|
+
* Triggers the **Edit** action on a Liveboard or visualization
|
|
997
1024
|
*
|
|
998
|
-
* @param - object -
|
|
999
|
-
*
|
|
1025
|
+
* @param - object - To trigger the action for a specific visualization
|
|
1026
|
+
* in Liveboard embed, pass in `vizId` as a key.
|
|
1027
|
+
* Can be left undefined when embedding Search, full app, or
|
|
1028
|
+
* a visualization.
|
|
1000
1029
|
* @example
|
|
1001
1030
|
* ```js
|
|
1002
1031
|
* liveboardEmbed.trigger(HostEvent.Edit)
|
|
1003
|
-
*
|
|
1032
|
+
* ```
|
|
1033
|
+
* ```js
|
|
1004
1034
|
* liveboardEmbed.trigger(HostEvent.Edit, {vizId:
|
|
1005
1035
|
* '730496d6-6903-4601-937e-2c691821af3c'})
|
|
1006
|
-
*
|
|
1036
|
+
* ```
|
|
1037
|
+
* ```js
|
|
1007
1038
|
* vizEmbed.trigger((HostEvent.Edit)
|
|
1008
1039
|
* ```
|
|
1009
|
-
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1
|
|
1040
|
+
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
1010
1041
|
*/
|
|
1011
1042
|
HostEvent["Edit"] = "edit";
|
|
1012
1043
|
/**
|
|
1013
|
-
* Triggers the Copy link action on a Liveboard or visualization
|
|
1044
|
+
* Triggers the **Copy link** action on a Liveboard or visualization
|
|
1014
1045
|
*
|
|
1015
|
-
* @param - object - to trigger the action for a
|
|
1016
|
-
*
|
|
1046
|
+
* @param - object - to trigger the action for a
|
|
1047
|
+
* specific visualization in Liveboard embed, pass in `vizId` as a key
|
|
1017
1048
|
* @example
|
|
1018
1049
|
* ```js
|
|
1019
1050
|
* liveboardEmbed.trigger(HostEvent.CopyLink)
|
|
1051
|
+
* ```
|
|
1052
|
+
* ```js
|
|
1020
1053
|
* liveboardEmbed.trigger(HostEvent.CopyLink, {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
|
|
1054
|
+
* ```
|
|
1055
|
+
* ```js
|
|
1021
1056
|
* vizEmbed.trigger((HostEvent.CopyLink)
|
|
1022
1057
|
* ```
|
|
1023
|
-
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1
|
|
1058
|
+
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
1024
1059
|
*/
|
|
1025
1060
|
HostEvent["CopyLink"] = "embedDocument";
|
|
1026
1061
|
/**
|
|
1027
|
-
* Triggers the Present action on a Liveboard or visualization
|
|
1062
|
+
* Triggers the **Present** action on a Liveboard or visualization
|
|
1028
1063
|
*
|
|
1029
|
-
* @param - object - to trigger the action for a
|
|
1030
|
-
* in Liveboard embed, pass in vizId as a key
|
|
1064
|
+
* @param - object - to trigger the action for a specific visualization
|
|
1065
|
+
* in Liveboard embed, pass in `vizId` as a key
|
|
1031
1066
|
* @example
|
|
1032
1067
|
* ```js
|
|
1033
1068
|
* liveboardEmbed.trigger(HostEvent.Present)
|
|
1069
|
+
* ```
|
|
1070
|
+
* ```js
|
|
1034
1071
|
* liveboardEmbed.trigger(HostEvent.Present, {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
|
|
1072
|
+
* ```
|
|
1073
|
+
* ```js
|
|
1035
1074
|
* vizEmbed.trigger((HostEvent.Present)
|
|
1036
1075
|
* ```
|
|
1037
|
-
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1
|
|
1076
|
+
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
1038
1077
|
*/
|
|
1039
1078
|
HostEvent["Present"] = "present";
|
|
1040
1079
|
/**
|
|
1041
|
-
*
|
|
1080
|
+
* Gets TML for the current search.
|
|
1042
1081
|
*
|
|
1043
1082
|
* @example
|
|
1044
1083
|
* ```js
|
|
@@ -1048,79 +1087,89 @@ export var HostEvent;
|
|
|
1048
1087
|
* );
|
|
1049
1088
|
* })
|
|
1050
1089
|
* ```
|
|
1051
|
-
* @version SDK: 1.18.0 | ThoughtSpot: 8.10.0.cl, 9.0.1
|
|
1090
|
+
* @version SDK: 1.18.0 | ThoughtSpot: 8.10.0.cl, 9.0.1.sw
|
|
1052
1091
|
* @important
|
|
1053
1092
|
*/
|
|
1054
1093
|
HostEvent["GetTML"] = "getTML";
|
|
1055
1094
|
/**
|
|
1056
|
-
* Triggers the
|
|
1095
|
+
* Triggers the **Show underlying data** action on visualization or search
|
|
1057
1096
|
*
|
|
1058
1097
|
* @param - an object with vizId as a key
|
|
1059
1098
|
* @example
|
|
1060
1099
|
* ```js
|
|
1061
1100
|
* liveboardEmbed.trigger(HostEvent.ShowUnderlyingData, {vizId:
|
|
1062
1101
|
* '730496d6-6903-4601-937e-2c691821af3c'})
|
|
1063
|
-
*
|
|
1102
|
+
* ```
|
|
1103
|
+
* ```js
|
|
1064
1104
|
* vizEmbed.trigger(HostEvent.ShowUnderlyingData)
|
|
1065
|
-
*
|
|
1105
|
+
* ```
|
|
1106
|
+
* ```js
|
|
1066
1107
|
* searchEmbed.trigger(HostEvent.ShowUnderlyingData)
|
|
1067
1108
|
* ```
|
|
1068
|
-
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1
|
|
1109
|
+
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
|
|
1069
1110
|
*/
|
|
1070
1111
|
HostEvent["ShowUnderlyingData"] = "showUnderlyingData";
|
|
1071
1112
|
/**
|
|
1072
|
-
* Triggers the Delete action on visualization or search
|
|
1113
|
+
* Triggers the **Delete** action on visualization or search
|
|
1073
1114
|
*
|
|
1074
|
-
* @param -
|
|
1075
|
-
*
|
|
1115
|
+
* @param - Liveboard embed takes an object with `vizId` as a key.
|
|
1116
|
+
* Can be left empty if embedding Search or visualization.
|
|
1076
1117
|
* @example
|
|
1077
1118
|
* ```js
|
|
1078
1119
|
* liveboardEmbed.trigger(HostEvent.Delete, {vizId:
|
|
1079
1120
|
* '730496d6-6903-4601-937e-2c691821af3c'})
|
|
1080
|
-
*
|
|
1121
|
+
* ```
|
|
1122
|
+
* ```js
|
|
1081
1123
|
* vizEmbed.trigger(HostEvent.Delete)
|
|
1082
|
-
*
|
|
1124
|
+
* ```
|
|
1125
|
+
* ```js
|
|
1083
1126
|
* searchEmbed.trigger(HostEvent.Delete)
|
|
1084
1127
|
* ```
|
|
1085
|
-
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1
|
|
1128
|
+
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
|
|
1086
1129
|
*/
|
|
1087
1130
|
HostEvent["Delete"] = "onDeleteAnswer";
|
|
1088
1131
|
/**
|
|
1089
|
-
* Triggers the
|
|
1090
|
-
*
|
|
1091
|
-
* @param -
|
|
1092
|
-
*
|
|
1132
|
+
* Triggers the **SpotIQ analyze** action on visualization
|
|
1133
|
+
* or search.
|
|
1134
|
+
* @param - Liveboard embed takes `vizId` as a
|
|
1135
|
+
* key. Can be left undefined when embedding Search or
|
|
1136
|
+
* visualization.
|
|
1093
1137
|
* @example
|
|
1094
1138
|
* ```js
|
|
1095
1139
|
* liveboardEmbed.trigger(HostEvent.SpotIQAnalyze, {vizId:
|
|
1096
1140
|
* '730496d6-6903-4601-937e-2c691821af3c'})
|
|
1097
|
-
*
|
|
1141
|
+
* ```
|
|
1142
|
+
* ```js
|
|
1098
1143
|
* vizEmbed.trigger(HostEvent.SpotIQAnalyze)
|
|
1099
|
-
*
|
|
1144
|
+
* ```
|
|
1145
|
+
* ```js
|
|
1100
1146
|
* searchEmbed.trigger(HostEvent.SpotIQAnalyze)
|
|
1101
1147
|
* ```
|
|
1102
|
-
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1
|
|
1148
|
+
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
|
|
1103
1149
|
*/
|
|
1104
1150
|
HostEvent["SpotIQAnalyze"] = "spotIQAnalyze";
|
|
1105
1151
|
/**
|
|
1106
|
-
* Triggers the Download action on
|
|
1152
|
+
* Triggers the **Download** action on charts in
|
|
1153
|
+
* the embedded view.
|
|
1107
1154
|
*
|
|
1108
1155
|
* @example
|
|
1109
1156
|
* ```js
|
|
1110
1157
|
* liveboardEmbed.trigger(HostEvent.Download, {vizId:
|
|
1111
1158
|
* '730496d6-6903-4601-937e-2c691821af3c'})
|
|
1112
|
-
*
|
|
1159
|
+
* ```
|
|
1160
|
+
* ```js
|
|
1113
1161
|
* vizEmbed.trigger(HostEvent.Download)
|
|
1114
|
-
*
|
|
1162
|
+
* ```
|
|
1163
|
+
* ```js
|
|
1115
1164
|
* searchEmbed.trigger(HostEvent.Download)
|
|
1116
1165
|
* ```
|
|
1117
|
-
* @deprecated from SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl ,9.4.1
|
|
1118
|
-
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1
|
|
1166
|
+
* @deprecated from SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl ,9.4.1.sw ,Use {@link DownloadAsPng}
|
|
1167
|
+
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
|
|
1119
1168
|
*/
|
|
1120
1169
|
HostEvent["Download"] = "downloadAsPng";
|
|
1121
1170
|
/**
|
|
1122
|
-
* Triggers the Download action on
|
|
1123
|
-
*
|
|
1171
|
+
* Triggers the **Download** > **PNG** action on
|
|
1172
|
+
* charts in the embedded view.
|
|
1124
1173
|
* @example
|
|
1125
1174
|
* ```js
|
|
1126
1175
|
* liveboardEmbed.trigger(HostEvent.DownloadAsPng,
|
|
@@ -1130,115 +1179,192 @@ export var HostEvent;
|
|
|
1130
1179
|
*
|
|
1131
1180
|
* searchEmbed.trigger(HostEvent.DownloadAsPng)
|
|
1132
1181
|
* ```
|
|
1133
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.4.1
|
|
1182
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.4.1.sw
|
|
1134
1183
|
*/
|
|
1135
1184
|
HostEvent["DownloadAsPng"] = "downloadAsPng";
|
|
1136
1185
|
/**
|
|
1137
|
-
* Triggers the
|
|
1186
|
+
* Triggers the **Download** > **CSV** action on tables in
|
|
1187
|
+
* the embedded view.
|
|
1138
1188
|
*
|
|
1139
1189
|
* @example
|
|
1140
1190
|
* ```js
|
|
1141
1191
|
* liveboardEmbed.trigger(HostEvent.DownloadAsCsv, {vizId:
|
|
1142
1192
|
* '730496d6-6903-4601-937e-2c691821af3c'})
|
|
1143
|
-
*
|
|
1193
|
+
* ```
|
|
1194
|
+
* ```js
|
|
1144
1195
|
* vizEmbed.trigger(HostEvent.DownloadAsCsv)
|
|
1145
|
-
*
|
|
1196
|
+
* ```
|
|
1197
|
+
* ```js
|
|
1146
1198
|
* searchEmbed.trigger(HostEvent.DownloadAsCsv)
|
|
1147
1199
|
* ```
|
|
1148
|
-
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1
|
|
1200
|
+
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
|
|
1149
1201
|
*/
|
|
1150
1202
|
HostEvent["DownloadAsCsv"] = "downloadAsCSV";
|
|
1151
1203
|
/**
|
|
1152
|
-
* Triggers the
|
|
1153
|
-
*
|
|
1204
|
+
* Triggers the **Download** > **XLSX** action on tables
|
|
1205
|
+
* in the embedded view.
|
|
1154
1206
|
* @example
|
|
1155
1207
|
* ```js
|
|
1156
1208
|
* liveboardEmbed.trigger(HostEvent.DownloadAsXlsx, {vizId:
|
|
1157
1209
|
* '730496d6-6903-4601-937e-2c691821af3c'})
|
|
1158
|
-
*
|
|
1210
|
+
* ```
|
|
1211
|
+
* ```js
|
|
1159
1212
|
* vizEmbed.trigger(HostEvent.DownloadAsXlsx)
|
|
1160
|
-
*
|
|
1213
|
+
* ```
|
|
1214
|
+
* ```js
|
|
1161
1215
|
* searchEmbed.trigger(HostEvent.DownloadAsXlsx)
|
|
1162
1216
|
* ```
|
|
1163
|
-
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1
|
|
1217
|
+
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
|
|
1164
1218
|
*/
|
|
1165
1219
|
HostEvent["DownloadAsXlsx"] = "downloadAsXLSX";
|
|
1166
1220
|
/**
|
|
1167
|
-
* Triggers the Share action on
|
|
1221
|
+
* Triggers the **Share** action on an embedded
|
|
1222
|
+
* Liveboard or Answer.
|
|
1168
1223
|
*
|
|
1169
1224
|
* @example
|
|
1170
1225
|
* ```js
|
|
1171
1226
|
* liveboardEmbed.trigger(HostEvent.Share)
|
|
1172
|
-
*
|
|
1227
|
+
* ```
|
|
1228
|
+
* ```js
|
|
1173
1229
|
* searchEmbed.trigger(HostEvent.Share)
|
|
1174
1230
|
* ```
|
|
1175
|
-
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1
|
|
1231
|
+
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
|
|
1176
1232
|
*/
|
|
1177
1233
|
HostEvent["Share"] = "share";
|
|
1178
1234
|
/**
|
|
1179
|
-
*
|
|
1180
|
-
*
|
|
1235
|
+
* Triggers the **Save** action on a Liveboard or Answer.
|
|
1236
|
+
* Saves the changes.
|
|
1181
1237
|
* @example
|
|
1182
1238
|
* ```js
|
|
1183
1239
|
* liveboardEmbed.trigger(HostEvent.Save)
|
|
1184
|
-
*
|
|
1240
|
+
* ```
|
|
1241
|
+
* ```js
|
|
1185
1242
|
* searchEmbed.trigger(HostEvent.Save)
|
|
1186
1243
|
* ```
|
|
1187
|
-
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1
|
|
1244
|
+
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
|
|
1188
1245
|
*/
|
|
1189
1246
|
HostEvent["Save"] = "save";
|
|
1190
1247
|
/**
|
|
1191
|
-
* Triggers the
|
|
1192
|
-
*
|
|
1193
|
-
* @param - an object with vizId as a key
|
|
1248
|
+
* Triggers the **Sync to Sheets** action on an embedded visualization or Answer
|
|
1249
|
+
* Sends data from an Answer or Liveboard visualization to a Google sheet.
|
|
1250
|
+
* @param - an object with `vizId` as a key
|
|
1194
1251
|
* @example
|
|
1195
1252
|
* ```js
|
|
1196
1253
|
* liveboardEmbed.trigger(HostEvent.SyncToSheets, {vizId:
|
|
1197
1254
|
* '730496d6-6903-4601-937e-2c691821af3c'})
|
|
1198
|
-
*
|
|
1255
|
+
* ```
|
|
1256
|
+
* ```js
|
|
1199
1257
|
* vizEmbed.trigger(HostEvent.SyncToSheets)
|
|
1200
1258
|
* ```
|
|
1201
|
-
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1
|
|
1259
|
+
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
|
|
1202
1260
|
*/
|
|
1203
1261
|
HostEvent["SyncToSheets"] = "sync-to-sheets";
|
|
1204
1262
|
/**
|
|
1205
|
-
* Triggers the
|
|
1206
|
-
*
|
|
1263
|
+
* Triggers the **Sync to Other Apps** action on an embedded visualization or Answer
|
|
1264
|
+
* Sends data from an Answer or Liveboard visualization to third-party apps such
|
|
1265
|
+
* as Slack, Salesforce, Microsoft Teams, ServiceNow and so on.
|
|
1207
1266
|
* @param - an object with vizId as a key
|
|
1208
1267
|
* @example
|
|
1209
1268
|
* ```js
|
|
1210
1269
|
* liveboardEmbed.trigger(HostEvent.SyncToOtherApps, {vizId:
|
|
1211
1270
|
* '730496d6-6903-4601-937e-2c691821af3c'})
|
|
1212
|
-
*
|
|
1271
|
+
* ```
|
|
1272
|
+
* ```js
|
|
1213
1273
|
* vizEmbed.trigger(HostEvent.SyncToOtherApps)
|
|
1214
1274
|
* ```
|
|
1215
|
-
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1
|
|
1275
|
+
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
|
|
1216
1276
|
*/
|
|
1217
1277
|
HostEvent["SyncToOtherApps"] = "sync-to-other-apps";
|
|
1218
1278
|
/**
|
|
1219
|
-
* Triggers the
|
|
1220
|
-
*
|
|
1221
|
-
*
|
|
1279
|
+
* Triggers the **Manage pipelines** action on an embedded
|
|
1280
|
+
* visualization or Answer.
|
|
1281
|
+
* Allows users to manage ThoughtSpot Sync pipelines.
|
|
1282
|
+
* @param - an object with `vizId` as a key
|
|
1222
1283
|
* @example
|
|
1223
1284
|
* ```js
|
|
1224
1285
|
* liveboardEmbed.trigger(HostEvent.ManagePipelines, {vizId:
|
|
1225
1286
|
* '730496d6-6903-4601-937e-2c691821af3c'})
|
|
1226
|
-
*
|
|
1287
|
+
* ```
|
|
1288
|
+
* ```js
|
|
1227
1289
|
* vizEmbed.trigger(HostEvent.ManagePipelines)
|
|
1228
1290
|
* ```
|
|
1229
|
-
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1
|
|
1291
|
+
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
|
|
1230
1292
|
*/
|
|
1231
1293
|
HostEvent["ManagePipelines"] = "manage-pipeline";
|
|
1232
1294
|
/**
|
|
1233
|
-
* Triggers the Reset search
|
|
1295
|
+
* Triggers the Reset search on the Search page
|
|
1234
1296
|
*
|
|
1235
1297
|
* @example
|
|
1236
1298
|
* ```js
|
|
1237
1299
|
* searchEmbed.trigger(HostEvent.ResetSearch)
|
|
1238
1300
|
* ```
|
|
1239
|
-
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.0.1
|
|
1301
|
+
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.0.1.sw
|
|
1240
1302
|
*/
|
|
1241
1303
|
HostEvent["ResetSearch"] = "resetSearch";
|
|
1304
|
+
/**
|
|
1305
|
+
* Gets the currents visible and runtime filters applied on a Liveboard
|
|
1306
|
+
*
|
|
1307
|
+
* @example
|
|
1308
|
+
* liveboardEmbed.trigger(HostEvent.GetFilters)
|
|
1309
|
+
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
|
|
1310
|
+
*/
|
|
1311
|
+
HostEvent["GetFilters"] = "getFilters";
|
|
1312
|
+
/**
|
|
1313
|
+
* Updates the visible filters on the Liveboard.
|
|
1314
|
+
*
|
|
1315
|
+
* @param - filter: filter object containing column name and filter operation and values
|
|
1316
|
+
* @example
|
|
1317
|
+
*
|
|
1318
|
+
* ```js
|
|
1319
|
+
* liveboardEmbed.trigger(HostEvent.UpdateFilters, {
|
|
1320
|
+
* filter: { column: 'column name', oper: 'in', values: [1,2,3], is_mandatory: false }
|
|
1321
|
+
* })
|
|
1322
|
+
* ```
|
|
1323
|
+
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
|
|
1324
|
+
*/
|
|
1325
|
+
HostEvent["UpdateFilters"] = "updateFilters";
|
|
1326
|
+
/*
|
|
1327
|
+
* Get Tab for the current Liveboard.
|
|
1328
|
+
*
|
|
1329
|
+
* @example
|
|
1330
|
+
* ```js
|
|
1331
|
+
* liveboardEmbed.trigger(HostEvent.GetTabs).then((tabDetails) => {
|
|
1332
|
+
* console.log(
|
|
1333
|
+
* tabDetails // TabDetails of current LB
|
|
1334
|
+
* );
|
|
1335
|
+
* })
|
|
1336
|
+
* ```
|
|
1337
|
+
* @version SDK: 1.25.0 | Thoughtspot: 9.6.0.cl
|
|
1338
|
+
*/
|
|
1339
|
+
HostEvent["GetTabs"] = "getTabs";
|
|
1340
|
+
/**
|
|
1341
|
+
* Set the visible Tabs on a Liveboard.
|
|
1342
|
+
*
|
|
1343
|
+
* @param - an array of ids of Tabs to show, the ids not passed
|
|
1344
|
+
* will be hidden.
|
|
1345
|
+
* @example
|
|
1346
|
+
* ```js
|
|
1347
|
+
* liveboardEmbed.trigger(HostEvent.SetVisibleTabs, [
|
|
1348
|
+
* '430496d6-6903-4601-937e-2c691821af3c',
|
|
1349
|
+
* 'f547ec54-2a37-4516-a222-2b06719af726'])
|
|
1350
|
+
* ```
|
|
1351
|
+
* @version SDK: 1.25.0 | Thoughtspot: 9.6.0.cl
|
|
1352
|
+
*/
|
|
1353
|
+
HostEvent["SetVisibleTabs"] = "SetPinboardVisibleTabs";
|
|
1354
|
+
/**
|
|
1355
|
+
* Set the hidden tabs on a Liveboard.
|
|
1356
|
+
*
|
|
1357
|
+
* @param - an array of ids of Tabs to hide, the ids not passed
|
|
1358
|
+
* will be shown.
|
|
1359
|
+
* @example
|
|
1360
|
+
* ```js
|
|
1361
|
+
* liveboardEmbed.trigger(HostEvent.SetHiddenTabs, [
|
|
1362
|
+
* '630496d6-6903-4601-937e-2c691821af3c',
|
|
1363
|
+
* 'i547ec54-2a37-4516-a222-2b06719af726'])
|
|
1364
|
+
* ```
|
|
1365
|
+
* @version SDK: 1.25.0 | Thoughtspot: 9.6.0.cl
|
|
1366
|
+
*/
|
|
1367
|
+
HostEvent["SetHiddenTabs"] = "SetPinboardHiddenTabs";
|
|
1242
1368
|
})(HostEvent || (HostEvent = {}));
|
|
1243
1369
|
/**
|
|
1244
1370
|
* The different visual modes that the data sources panel within
|
|
@@ -1318,27 +1444,51 @@ export var Param;
|
|
|
1318
1444
|
Param["DisableWorksheetChange"] = "disableWorksheetChange";
|
|
1319
1445
|
Param["HideEurekaResults"] = "hideEurekaResults";
|
|
1320
1446
|
Param["HideEurekaSuggestions"] = "hideEurekaSuggestions";
|
|
1447
|
+
Param["HideLiveboardHeader"] = "hideLiveboardHeader";
|
|
1448
|
+
Param["ShowLiveboardDescription"] = "showLiveboardDescription";
|
|
1449
|
+
Param["ShowLiveboardTitle"] = "showLiveboardTitle";
|
|
1450
|
+
Param["HiddenTabs"] = "hideTabs";
|
|
1451
|
+
Param["VisibleTabs"] = "visibleTabs";
|
|
1452
|
+
Param["HideTabPanel"] = "hideTabPanel";
|
|
1321
1453
|
})(Param || (Param = {}));
|
|
1322
1454
|
/**
|
|
1323
|
-
*
|
|
1324
|
-
*
|
|
1325
|
-
*
|
|
1326
|
-
*
|
|
1327
|
-
*
|
|
1328
|
-
*
|
|
1455
|
+
* ThoughtSpot application pages include actions and menu commands
|
|
1456
|
+
* for various user-initiated operations. These actions are represented
|
|
1457
|
+
* as enumeration members in the SDK. To show, hide, or disable
|
|
1458
|
+
* specific actions in the embedded view, define the Action
|
|
1459
|
+
* enumeration members in the `disabledActions`, `visibleActions`,
|
|
1460
|
+
* or `hiddenActions` array.
|
|
1329
1461
|
* @example
|
|
1330
1462
|
* ```js
|
|
1331
1463
|
* const embed = new LiveboardEmbed('#embed-container', {
|
|
1332
1464
|
* ... // other options
|
|
1333
|
-
* visibleActions: [Action.Save, Action.Explore],
|
|
1334
|
-
*
|
|
1335
|
-
* hiddenActions: [
|
|
1465
|
+
* visibleActions: [Action.Save, Action.Edit, Action.Present, ActionAction.Explore],
|
|
1466
|
+
* disabledActions: [Action.Download],
|
|
1467
|
+
* //hiddenActions: [], // Set either this or visibleActions
|
|
1336
1468
|
* })
|
|
1337
1469
|
* ```
|
|
1470
|
+
* @example
|
|
1471
|
+
* ```js
|
|
1472
|
+
* const embed = new LiveboardEmbed('#embed-container', {
|
|
1473
|
+
* ... // other options
|
|
1474
|
+
* //visibleActions: [],
|
|
1475
|
+
* disabledActions: [Action.Download],
|
|
1476
|
+
* hiddenActions: [Action.Edit, ActionAction.Explore],
|
|
1477
|
+
* })
|
|
1478
|
+
* ```
|
|
1479
|
+
|
|
1338
1480
|
*/
|
|
1339
1481
|
// eslint-disable-next-line no-shadow
|
|
1340
1482
|
export var Action;
|
|
1341
1483
|
(function (Action) {
|
|
1484
|
+
/**
|
|
1485
|
+
* The **Save** action on an Answer or Liveboard.
|
|
1486
|
+
* Allows users to save the changes.
|
|
1487
|
+
* @example
|
|
1488
|
+
* ```js
|
|
1489
|
+
* disabledActions: [Action.SaveAsView]
|
|
1490
|
+
* ```
|
|
1491
|
+
*/
|
|
1342
1492
|
Action["Save"] = "save";
|
|
1343
1493
|
/**
|
|
1344
1494
|
* @hidden
|
|
@@ -1348,27 +1498,137 @@ export var Action;
|
|
|
1348
1498
|
* @hidden
|
|
1349
1499
|
*/
|
|
1350
1500
|
Action["SaveUntitled"] = "saveUntitled";
|
|
1501
|
+
/**
|
|
1502
|
+
* The **Save as View** action on the Answer
|
|
1503
|
+
* page. Saves an Answer as a View object.
|
|
1504
|
+
*
|
|
1505
|
+
* @example
|
|
1506
|
+
* ```js
|
|
1507
|
+
* disabledActions: [Action.SaveAsView]
|
|
1508
|
+
* ```
|
|
1509
|
+
*/
|
|
1351
1510
|
Action["SaveAsView"] = "saveAsView";
|
|
1511
|
+
/**
|
|
1512
|
+
* The **Make a copy** action on a Liveboard or Answer
|
|
1513
|
+
* page.
|
|
1514
|
+
* Creates a copy of the Liveboard, visualization,
|
|
1515
|
+
* or Answer.
|
|
1516
|
+
*
|
|
1517
|
+
* @example
|
|
1518
|
+
* ```js
|
|
1519
|
+
* disabledActions: [Action.MakeACopy]
|
|
1520
|
+
* ```
|
|
1521
|
+
*/
|
|
1352
1522
|
Action["MakeACopy"] = "makeACopy";
|
|
1523
|
+
/**
|
|
1524
|
+
* The **Copy and Edit** action on a Liveboard.
|
|
1525
|
+
* This action is now replaced with `Action.MakeACopy`.
|
|
1526
|
+
*
|
|
1527
|
+
* @example
|
|
1528
|
+
* ```js
|
|
1529
|
+
* disabledActions: [Action.EditACopy]
|
|
1530
|
+
* ```
|
|
1531
|
+
*/
|
|
1353
1532
|
Action["EditACopy"] = "editACopy";
|
|
1533
|
+
/**
|
|
1534
|
+
* The **Copy link** menu action on a Liveboard visualization.
|
|
1535
|
+
* Copies the visualization URL
|
|
1536
|
+
* @example
|
|
1537
|
+
* ```js
|
|
1538
|
+
* disabledActions: [Action.CopyLink]
|
|
1539
|
+
* ```
|
|
1540
|
+
*/
|
|
1354
1541
|
Action["CopyLink"] = "embedDocument";
|
|
1355
1542
|
/**
|
|
1356
1543
|
* @hidden
|
|
1357
1544
|
*/
|
|
1358
1545
|
Action["ResetLayout"] = "resetLayout";
|
|
1546
|
+
/**
|
|
1547
|
+
* The **Schedule** menu action on a Liveboard.
|
|
1548
|
+
* Allows scheduling a Liveboard notification.
|
|
1549
|
+
* @example
|
|
1550
|
+
* ```js
|
|
1551
|
+
* disabledActions: [Action.Schedule]
|
|
1552
|
+
* ```
|
|
1553
|
+
*/
|
|
1359
1554
|
Action["Schedule"] = "subscription";
|
|
1555
|
+
/**
|
|
1556
|
+
* The **Manage schedules** menu action on a Liveboard.
|
|
1557
|
+
* Allows users to manage scheduled Liveboard jobs.
|
|
1558
|
+
* @example
|
|
1559
|
+
* ```js
|
|
1560
|
+
* disabledActions: [Action.SchedulesList]
|
|
1561
|
+
* ```
|
|
1562
|
+
*/
|
|
1360
1563
|
Action["SchedulesList"] = "schedule-list";
|
|
1564
|
+
/**
|
|
1565
|
+
* The **Share** action on a Liveboard, Answer, or Worksheet.
|
|
1566
|
+
* Allows users to share an object with other users and groups.
|
|
1567
|
+
* @example
|
|
1568
|
+
* ```js
|
|
1569
|
+
* disabledActions: [Action.Share]
|
|
1570
|
+
* ```
|
|
1571
|
+
*/
|
|
1361
1572
|
Action["Share"] = "share";
|
|
1573
|
+
/**
|
|
1574
|
+
* The **Add filter** action on a Liveboard and Search page.
|
|
1575
|
+
* Allows adding filters to Answers and visualizations on a Liveboard.
|
|
1576
|
+
* @example
|
|
1577
|
+
* ```js
|
|
1578
|
+
* disabledActions: [Action.AddFilter]
|
|
1579
|
+
* ```
|
|
1580
|
+
*/
|
|
1362
1581
|
Action["AddFilter"] = "addFilter";
|
|
1582
|
+
/**
|
|
1583
|
+
* Filter configuration options on a Liveboard and Search page.
|
|
1584
|
+
* Allows configuring filter options when adding filters to a
|
|
1585
|
+
* Liveboard or Answer.
|
|
1586
|
+
* @example
|
|
1587
|
+
* ```js
|
|
1588
|
+
* disabledActions: [Action.ConfigureFilter]
|
|
1589
|
+
* ```
|
|
1590
|
+
*/
|
|
1363
1591
|
Action["ConfigureFilter"] = "configureFilter";
|
|
1364
1592
|
Action["CollapseDataSources"] = "collapseDataSources";
|
|
1593
|
+
/**
|
|
1594
|
+
* The **Choose sources** button on Search page.
|
|
1595
|
+
* Allows selecting data sources for search queries.
|
|
1596
|
+
* @example
|
|
1597
|
+
* ```js
|
|
1598
|
+
* disabledActions: [Action.ChooseDataSources]
|
|
1599
|
+
* ```
|
|
1600
|
+
*/
|
|
1365
1601
|
Action["ChooseDataSources"] = "chooseDataSources";
|
|
1602
|
+
/**
|
|
1603
|
+
* The **Create formula** action on a Search or Answer page.
|
|
1604
|
+
* Allows adding formulas to an Answer.
|
|
1605
|
+
* @example
|
|
1606
|
+
* ```js
|
|
1607
|
+
* disabledActions: [Action.AddFormula]
|
|
1608
|
+
* ```
|
|
1609
|
+
*/
|
|
1366
1610
|
Action["AddFormula"] = "addFormula";
|
|
1611
|
+
/**
|
|
1612
|
+
* The **Add parameter** action on a Liveboard or Answer.
|
|
1613
|
+
* Allows adding Parameters to a Liveboard or Answer.
|
|
1614
|
+
* @example
|
|
1615
|
+
* ```js
|
|
1616
|
+
* disabledActions: [Action.AddParameter]
|
|
1617
|
+
* ```
|
|
1618
|
+
*/
|
|
1367
1619
|
Action["AddParameter"] = "addParameter";
|
|
1368
1620
|
/**
|
|
1369
1621
|
* @hidden
|
|
1370
1622
|
*/
|
|
1371
1623
|
Action["SearchOnTop"] = "searchOnTop";
|
|
1624
|
+
/**
|
|
1625
|
+
* The **SpotIQ analyze** menu action on a visualization or
|
|
1626
|
+
* Answer page.
|
|
1627
|
+
* @example
|
|
1628
|
+
* ```js
|
|
1629
|
+
* disabledActions: [Action.SpotIQAnalyze]
|
|
1630
|
+
* ```
|
|
1631
|
+
*/
|
|
1372
1632
|
Action["SpotIQAnalyze"] = "spotIQAnalyze";
|
|
1373
1633
|
/**
|
|
1374
1634
|
* @hidden
|
|
@@ -1383,24 +1643,150 @@ export var Action;
|
|
|
1383
1643
|
* @hidden
|
|
1384
1644
|
*/
|
|
1385
1645
|
Action["ReplaySearch"] = "replaySearch";
|
|
1646
|
+
/**
|
|
1647
|
+
* The **Show underlying data** menu action on a visualization or
|
|
1648
|
+
* Answer page.
|
|
1649
|
+
* @example
|
|
1650
|
+
* ```js
|
|
1651
|
+
* disabledActions: [Action.ShowUnderlyingData]
|
|
1652
|
+
* ```
|
|
1653
|
+
*/
|
|
1386
1654
|
Action["ShowUnderlyingData"] = "showUnderlyingData";
|
|
1655
|
+
/**
|
|
1656
|
+
* The **Download** menu action on Liveboard visualizations
|
|
1657
|
+
* and Answers.
|
|
1658
|
+
* Allows downloading a visualization or Answer.
|
|
1659
|
+
* @example
|
|
1660
|
+
* ```js
|
|
1661
|
+
* disabledActions: [Action.DownloadAsPng]
|
|
1662
|
+
* ```
|
|
1663
|
+
*/
|
|
1387
1664
|
Action["Download"] = "download";
|
|
1665
|
+
/**
|
|
1666
|
+
* The **Download** > **PNG** menu action for charts on a Liveboard
|
|
1667
|
+
* or Answer page.
|
|
1668
|
+
* Downloads a visualization or Answer as a PNG file.
|
|
1669
|
+
* @example
|
|
1670
|
+
* ```js
|
|
1671
|
+
* disabledActions: [Action.DownloadAsPng]
|
|
1672
|
+
* ```
|
|
1673
|
+
*/
|
|
1388
1674
|
Action["DownloadAsPng"] = "downloadAsPng";
|
|
1675
|
+
/**
|
|
1676
|
+
* The **Download** > **PDF** menu action on a Liveboard.
|
|
1677
|
+
* Downloads a visualization or Answer as a PDF file.
|
|
1678
|
+
* @example
|
|
1679
|
+
* ```js
|
|
1680
|
+
* disabledActions: [Action.DownloadAsPdf]
|
|
1681
|
+
* ```
|
|
1682
|
+
*/
|
|
1389
1683
|
Action["DownloadAsPdf"] = "downloadAsPdf";
|
|
1684
|
+
/**
|
|
1685
|
+
* The **Download** > **CSV** menu action for tables on a Liveboard
|
|
1686
|
+
* or Answer page.
|
|
1687
|
+
* Downloads a visualization or Answer in the XLSX format.
|
|
1688
|
+
* @example
|
|
1689
|
+
* ```js
|
|
1690
|
+
* disabledActions: [Action.DownloadAsCsv]
|
|
1691
|
+
* ```
|
|
1692
|
+
*/
|
|
1390
1693
|
Action["DownloadAsCsv"] = "downloadAsCSV";
|
|
1694
|
+
/**
|
|
1695
|
+
* The **Download** > **XLSX** menu action for tables on a Liveboard
|
|
1696
|
+
* or Answer page.
|
|
1697
|
+
* Downloads a visualization or Answer in the XLSX format.
|
|
1698
|
+
* @example
|
|
1699
|
+
* ```js
|
|
1700
|
+
* disabledActions: [Action.DownloadAsXlsx]
|
|
1701
|
+
* ```
|
|
1702
|
+
*/
|
|
1391
1703
|
Action["DownloadAsXlsx"] = "downloadAsXLSX";
|
|
1392
1704
|
/**
|
|
1393
1705
|
* @hidden
|
|
1394
1706
|
*/
|
|
1395
1707
|
Action["DownloadTrace"] = "downloadTrace";
|
|
1708
|
+
/**
|
|
1709
|
+
* The **Export TML** menu action on Liveboard, Answers
|
|
1710
|
+
* Worksheets and Data Connections page.
|
|
1711
|
+
* Exports an object as a TML file.
|
|
1712
|
+
* @example
|
|
1713
|
+
* ```js
|
|
1714
|
+
* disabledActions: [Action.ExportTML]
|
|
1715
|
+
* ```
|
|
1716
|
+
*/
|
|
1396
1717
|
Action["ExportTML"] = "exportTSL";
|
|
1718
|
+
/**
|
|
1719
|
+
* The **Import TML** menu action for Liveboards and Answers.
|
|
1720
|
+
* Imports TML representation of ThoughtSpot objects.
|
|
1721
|
+
* @example
|
|
1722
|
+
* ```js
|
|
1723
|
+
* disabledActions: [Action.ImportTML]
|
|
1724
|
+
* ```
|
|
1725
|
+
*/
|
|
1397
1726
|
Action["ImportTML"] = "importTSL";
|
|
1727
|
+
/**
|
|
1728
|
+
* The **Update TML** menu action for Liveboards and Answers.
|
|
1729
|
+
* Update TML representation of ThoughtSpot objects.
|
|
1730
|
+
* @example
|
|
1731
|
+
* ```js
|
|
1732
|
+
* disabledActions: [Action.UpdateTML]
|
|
1733
|
+
* ```
|
|
1734
|
+
*/
|
|
1398
1735
|
Action["UpdateTML"] = "updateTSL";
|
|
1736
|
+
/**
|
|
1737
|
+
* The **Edit TML** menu action for Liveboards and Answers.
|
|
1738
|
+
* Opens the TML editor.
|
|
1739
|
+
* @example
|
|
1740
|
+
* ```js
|
|
1741
|
+
* disabledActions: [Action.EditTML]
|
|
1742
|
+
* ```
|
|
1743
|
+
*/
|
|
1399
1744
|
Action["EditTML"] = "editTSL";
|
|
1745
|
+
/**
|
|
1746
|
+
* The **Present** menu action for Liveboards and Answers.
|
|
1747
|
+
* Allows presenting a Liveboard or visualization in
|
|
1748
|
+
* slideshow mode.
|
|
1749
|
+
* @example
|
|
1750
|
+
* ```js
|
|
1751
|
+
* disabledActions: [Action.Present]
|
|
1752
|
+
* ```
|
|
1753
|
+
*/
|
|
1400
1754
|
Action["Present"] = "present";
|
|
1755
|
+
/**
|
|
1756
|
+
* The tile resize options in the visualization menu.
|
|
1757
|
+
* Allows switching between different preset layouts.
|
|
1758
|
+
* @example
|
|
1759
|
+
* ```js
|
|
1760
|
+
* disabledActions: [Action.ToggleSize]
|
|
1761
|
+
* ```
|
|
1762
|
+
*/
|
|
1401
1763
|
Action["ToggleSize"] = "toggleSize";
|
|
1764
|
+
/**
|
|
1765
|
+
* The *Edit* action on the Liveboard page and in the
|
|
1766
|
+
* visualization menu.
|
|
1767
|
+
* Opens a Liveboard or visualization in edit mode.
|
|
1768
|
+
* @example
|
|
1769
|
+
* ```js
|
|
1770
|
+
* disabledActions: [Action.Edit]
|
|
1771
|
+
* ```
|
|
1772
|
+
*/
|
|
1402
1773
|
Action["Edit"] = "edit";
|
|
1774
|
+
/**
|
|
1775
|
+
* The text edit option for Liveboard and visualization titles.
|
|
1776
|
+
* @example
|
|
1777
|
+
* ```js
|
|
1778
|
+
* disabledActions: [Action.EditTitle]
|
|
1779
|
+
* ```
|
|
1780
|
+
*/
|
|
1403
1781
|
Action["EditTitle"] = "editTitle";
|
|
1782
|
+
/**
|
|
1783
|
+
* The **Delete** menu action on Liveboards and visualizations.
|
|
1784
|
+
* Deletes a Liveboard or a visualization from a Liveboard.
|
|
1785
|
+
* @example
|
|
1786
|
+
* ```js
|
|
1787
|
+
* disabledActions: [Action.Remove]
|
|
1788
|
+
* ```
|
|
1789
|
+
*/
|
|
1404
1790
|
Action["Remove"] = "delete";
|
|
1405
1791
|
/**
|
|
1406
1792
|
* @hidden
|
|
@@ -1422,6 +1808,16 @@ export var Action;
|
|
|
1422
1808
|
* @hidden
|
|
1423
1809
|
*/
|
|
1424
1810
|
Action["PinboardInfo"] = "pinboardInfo";
|
|
1811
|
+
/**
|
|
1812
|
+
* The **Show Liveboard details** menu action on a Liveboard.
|
|
1813
|
+
* Displays details such as the name, description, and
|
|
1814
|
+
* author of the Liveboard, and timestamp of Liveboard creation
|
|
1815
|
+
* and update.
|
|
1816
|
+
* @example
|
|
1817
|
+
* ```js
|
|
1818
|
+
* disabledActions: [Action.LiveboardInfo]
|
|
1819
|
+
* ```
|
|
1820
|
+
*/
|
|
1425
1821
|
Action["LiveboardInfo"] = "pinboardInfo";
|
|
1426
1822
|
/**
|
|
1427
1823
|
* @hidden
|
|
@@ -1432,20 +1828,61 @@ export var Action;
|
|
|
1432
1828
|
*/
|
|
1433
1829
|
Action["DownloadEmbraceQueries"] = "downloadEmbraceQueries";
|
|
1434
1830
|
/**
|
|
1435
|
-
|
|
1436
|
-
|
|
1831
|
+
* The **Pin** menu action on an Answer or
|
|
1832
|
+
* Search results page.
|
|
1833
|
+
* @example
|
|
1834
|
+
* ```js
|
|
1835
|
+
* disabledActions: [Action.Pin]
|
|
1836
|
+
* ```
|
|
1837
|
+
*/
|
|
1437
1838
|
Action["Pin"] = "pin";
|
|
1438
1839
|
/**
|
|
1439
1840
|
* @hidden
|
|
1440
1841
|
*/
|
|
1441
1842
|
Action["AnalysisInfo"] = "analysisInfo";
|
|
1442
|
-
Action["Subscription"] = "subscription";
|
|
1443
1843
|
/**
|
|
1444
|
-
*
|
|
1844
|
+
* The **Schedule** menu action on a Liveboard.
|
|
1845
|
+
* @example
|
|
1846
|
+
* ```js
|
|
1847
|
+
* disabledActions: [Action.Subscription]
|
|
1848
|
+
* ```
|
|
1445
1849
|
*/
|
|
1850
|
+
Action["Subscription"] = "subscription";
|
|
1851
|
+
/**
|
|
1852
|
+
* The **Explore** action on Liveboard visualizations
|
|
1853
|
+
* @example
|
|
1854
|
+
* ```js
|
|
1855
|
+
* disabledActions: [Action.Explore]
|
|
1856
|
+
* ```
|
|
1857
|
+
*/
|
|
1446
1858
|
Action["Explore"] = "explore";
|
|
1859
|
+
/**
|
|
1860
|
+
* The action to include data points on a drilled-down Answer
|
|
1861
|
+
* or visualization
|
|
1862
|
+
* @example
|
|
1863
|
+
* ```js
|
|
1864
|
+
* disabledActions: [Action.DrillInclude]
|
|
1865
|
+
* ```
|
|
1866
|
+
*/
|
|
1447
1867
|
Action["DrillInclude"] = "context-menu-item-include";
|
|
1868
|
+
/**
|
|
1869
|
+
* The action to exclude data points on a drilled-down Answer
|
|
1870
|
+
* or visualization
|
|
1871
|
+
* @example
|
|
1872
|
+
* ```js
|
|
1873
|
+
* disabledActions: [Action.DrillInclude]
|
|
1874
|
+
* ```
|
|
1875
|
+
*/
|
|
1448
1876
|
Action["DrillExclude"] = "context-menu-item-exclude";
|
|
1877
|
+
/**
|
|
1878
|
+
* The **Copy to clipboard** menu action on tables in an Answer
|
|
1879
|
+
* or Liveboard.
|
|
1880
|
+
* Copies the selected data point.
|
|
1881
|
+
* @example
|
|
1882
|
+
* ```js
|
|
1883
|
+
* disabledActions: [Action.CopyToClipboard]
|
|
1884
|
+
* ```
|
|
1885
|
+
*/
|
|
1449
1886
|
Action["CopyToClipboard"] = "context-menu-item-copy-to-clipboard";
|
|
1450
1887
|
Action["CopyAndEdit"] = "context-menu-item-copy-and-edit";
|
|
1451
1888
|
/**
|
|
@@ -1454,89 +1891,266 @@ export var Action;
|
|
|
1454
1891
|
Action["DrillEdit"] = "context-menu-item-edit";
|
|
1455
1892
|
Action["EditMeasure"] = "context-menu-item-edit-measure";
|
|
1456
1893
|
Action["Separator"] = "context-menu-item-separator";
|
|
1894
|
+
/**
|
|
1895
|
+
* The **Drill down** menu action on Answers and Liveboard
|
|
1896
|
+
* visualizations.
|
|
1897
|
+
* Allows drilling down to a specific data point on a chart or table.
|
|
1898
|
+
* @example
|
|
1899
|
+
* ```js
|
|
1900
|
+
* disabledActions: [Action.DrillDown]
|
|
1901
|
+
* ```
|
|
1902
|
+
*/
|
|
1457
1903
|
Action["DrillDown"] = "DRILL";
|
|
1904
|
+
/**
|
|
1905
|
+
* The request access action on Liveboards.
|
|
1906
|
+
* Allows users with view permissions to request edit access to a Liveboard.
|
|
1907
|
+
* @example
|
|
1908
|
+
* ```js
|
|
1909
|
+
* disabledActions: [Action.RequestAccess]
|
|
1910
|
+
* ```
|
|
1911
|
+
*/
|
|
1458
1912
|
Action["RequestAccess"] = "requestAccess";
|
|
1459
|
-
Action["QueryDetailsButtons"] = "queryDetailsButtons";
|
|
1460
1913
|
/**
|
|
1461
|
-
*
|
|
1914
|
+
* The **Query visualizer** and **Query SQL** buttons in Query details panel
|
|
1915
|
+
* of the Answer page
|
|
1916
|
+
* @example
|
|
1917
|
+
* ```js
|
|
1918
|
+
* disabledActions: [Action.QueryDetailsButtons]
|
|
1919
|
+
* ```
|
|
1920
|
+
*/
|
|
1921
|
+
Action["QueryDetailsButtons"] = "QueryDetailsButtons";
|
|
1922
|
+
/**
|
|
1923
|
+
* The **Delete** action for Answers.
|
|
1924
|
+
* @example
|
|
1925
|
+
* ```js
|
|
1926
|
+
* disabledActions: [Action.AnswerDelete]
|
|
1927
|
+
* ```
|
|
1928
|
+
* @version SDK: 1.9.0 | ThoughtSpot: 8.1.0.cl, 8.4.1.sw
|
|
1462
1929
|
*/
|
|
1463
1930
|
Action["AnswerDelete"] = "onDeleteAnswer";
|
|
1464
1931
|
/**
|
|
1465
|
-
*
|
|
1932
|
+
* The Chart switcher icon on Answer and visualization pages.
|
|
1933
|
+
* @example
|
|
1934
|
+
* ```js
|
|
1935
|
+
* disabledActions: [Action.AnswerChartSwitcher]
|
|
1936
|
+
* ```
|
|
1937
|
+
* @version SDK: 1.9.0 | ThoughtSpot: 8.1.0.cl, 8.4.1.sw
|
|
1466
1938
|
*/
|
|
1467
1939
|
Action["AnswerChartSwitcher"] = "answerChartSwitcher";
|
|
1468
1940
|
/**
|
|
1469
|
-
*
|
|
1941
|
+
* Favorites icon (*) on Answers, Liveboard, and Data pages
|
|
1942
|
+
* @example
|
|
1943
|
+
* ```js
|
|
1944
|
+
* disabledActions: [Action.AddToFavorites]
|
|
1945
|
+
* ```
|
|
1946
|
+
* @version SDK: 1.9.0 | ThoughtSpot: 8.1.0.cl, 8.4.1.sw
|
|
1470
1947
|
*/
|
|
1471
1948
|
Action["AddToFavorites"] = "addToFavorites";
|
|
1472
1949
|
/**
|
|
1473
|
-
*
|
|
1950
|
+
* The edit icon on Liveboards (Classic experience).
|
|
1951
|
+
* @example
|
|
1952
|
+
* ```js
|
|
1953
|
+
* disabledActions: [Action.EditDetails]
|
|
1954
|
+
* ```
|
|
1955
|
+
* @version SDK: 1.9.0 | ThoughtSpot: 8.1.0.cl, 8.4.1.sw
|
|
1474
1956
|
*/
|
|
1475
1957
|
Action["EditDetails"] = "editDetails";
|
|
1476
1958
|
/**
|
|
1477
|
-
*
|
|
1959
|
+
* The Create alert action on KPI charts.
|
|
1960
|
+
* @example
|
|
1961
|
+
* ```js
|
|
1962
|
+
* disabledActions: [Action.CreateMonitor ]
|
|
1963
|
+
* ```
|
|
1964
|
+
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
1478
1965
|
*/
|
|
1479
1966
|
Action["CreateMonitor"] = "createMonitor";
|
|
1480
1967
|
/**
|
|
1481
|
-
* @
|
|
1968
|
+
* @example
|
|
1969
|
+
* ```js
|
|
1970
|
+
* disabledActions: [Action.ReportError]
|
|
1971
|
+
* ```
|
|
1972
|
+
* @version SDK: 1.11.1 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
1482
1973
|
*/
|
|
1483
1974
|
Action["ReportError"] = "reportError";
|
|
1975
|
+
/**
|
|
1976
|
+
* The **Sync to sheets** action on Answers and Liveboard visualizations.
|
|
1977
|
+
* Allows sending data to a Google Sheet.
|
|
1978
|
+
* @example
|
|
1979
|
+
* ```js
|
|
1980
|
+
* disabledActions: [Action.SyncToSheets]
|
|
1981
|
+
* ```
|
|
1982
|
+
* @version SDK: 1.18.0| ThoughtSpot: 8.10.0.cl, 9.0.1.sw
|
|
1983
|
+
*/
|
|
1484
1984
|
Action["SyncToSheets"] = "sync-to-sheets";
|
|
1985
|
+
/**
|
|
1986
|
+
* The **Sync to other apps** action on Answers and Liveboard visualizations.
|
|
1987
|
+
* Allows sending data to third-party apps like Slack, Salesforce,
|
|
1988
|
+
* Microsoft Teams, and so on.
|
|
1989
|
+
* @example
|
|
1990
|
+
* ```js
|
|
1991
|
+
* disabledActions: [Action.SyncToOtherApps]
|
|
1992
|
+
* ```
|
|
1993
|
+
* @version SDK: 1.18.0| ThoughtSpot: 8.10.0.cl, 9.0.1.sw
|
|
1994
|
+
*/
|
|
1485
1995
|
Action["SyncToOtherApps"] = "sync-to-other-apps";
|
|
1996
|
+
/**
|
|
1997
|
+
* The **Manage pipelines** action on Answers and Liveboard visualizations.
|
|
1998
|
+
* Allows users to manage data sync pipelines to third-party apps.
|
|
1999
|
+
* @example
|
|
2000
|
+
* ```js
|
|
2001
|
+
* disabledActions: [Action.SyncToOtherApps]
|
|
2002
|
+
* ```
|
|
2003
|
+
* @version SDK: 1.18.0| ThoughtSpot: 8.10.0.cl, 9.0.1.sw
|
|
2004
|
+
*/
|
|
1486
2005
|
Action["ManagePipelines"] = "manage-pipeline";
|
|
1487
2006
|
/**
|
|
2007
|
+
* The **Filter** action on Liveboard visualizations.
|
|
2008
|
+
* Allows users to apply cross-filters on a Liveboard.
|
|
2009
|
+
* @example
|
|
2010
|
+
* ```js
|
|
2011
|
+
* disabledActions: [Action.CrossFilter]
|
|
2012
|
+
* ```
|
|
1488
2013
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
1489
2014
|
*/
|
|
1490
2015
|
Action["CrossFilter"] = "context-menu-item-cross-filter";
|
|
1491
2016
|
/**
|
|
2017
|
+
* The **Remove** action that appears when cross filters are applied
|
|
2018
|
+
* on a Liveboard.
|
|
2019
|
+
* Removes filters applied o a visualization.
|
|
2020
|
+
* @example
|
|
2021
|
+
* ```js
|
|
2022
|
+
* disabledActions: [Action.RemoveCrossFilter]
|
|
2023
|
+
* ```
|
|
1492
2024
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
1493
2025
|
*/
|
|
1494
2026
|
Action["RemoveCrossFilter"] = "context-menu-item-remove-cross-filter";
|
|
1495
2027
|
/**
|
|
2028
|
+
* The **Aggregate** option in the chart axis or the
|
|
2029
|
+
* table column customization menu.
|
|
2030
|
+
* Provides aggregation options to analyze the data on a chart or table.
|
|
2031
|
+
* @example
|
|
2032
|
+
* ```js
|
|
2033
|
+
* disabledActions: [Action.AxisMenuAggregate]
|
|
2034
|
+
* ```
|
|
1496
2035
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
1497
2036
|
*/
|
|
1498
2037
|
Action["AxisMenuAggregate"] = "axisMenuAggregate";
|
|
1499
2038
|
/**
|
|
2039
|
+
* The **Time bucket** option in the chart axis or table column
|
|
2040
|
+
* customization menu.
|
|
2041
|
+
* Allows defining time metric for date comparison.
|
|
2042
|
+
* @example
|
|
2043
|
+
* ```js
|
|
2044
|
+
* disabledActions: [Action.AxisMenuTimeBucket]
|
|
2045
|
+
* ```
|
|
1500
2046
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
1501
2047
|
*/
|
|
1502
2048
|
Action["AxisMenuTimeBucket"] = "axisMenuTimeBucket";
|
|
1503
2049
|
/**
|
|
2050
|
+
* The **Filter** action in the chart axis or table column
|
|
2051
|
+
* customization menu.
|
|
2052
|
+
* @example
|
|
2053
|
+
* ```js
|
|
2054
|
+
* disabledActions: [Action.AxisMenuFilter]
|
|
2055
|
+
* ```
|
|
1504
2056
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
1505
2057
|
*/
|
|
1506
2058
|
Action["AxisMenuFilter"] = "axisMenuFilter";
|
|
1507
2059
|
/**
|
|
2060
|
+
* The **Conditional formatting** action on chart or table.
|
|
2061
|
+
* Allows adding rules for conditional formatting of data
|
|
2062
|
+
* points on a chart or table.
|
|
2063
|
+
* @example
|
|
2064
|
+
* ```js
|
|
2065
|
+
* disabledActions: [Action.AxisMenuConditionalFormat]
|
|
2066
|
+
* ```
|
|
1508
2067
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
1509
2068
|
*/
|
|
1510
2069
|
Action["AxisMenuConditionalFormat"] = "axisMenuConditionalFormat";
|
|
1511
2070
|
/**
|
|
2071
|
+
* The **Sort** menu action on a table or chart axis
|
|
2072
|
+
* Sorts data in ascending or descending order.
|
|
2073
|
+
* Allows adding, editing, or removing filters.
|
|
2074
|
+
* @example
|
|
2075
|
+
* ```js
|
|
2076
|
+
* disabledActions: [Action.AxisMenuConditionalFormat]
|
|
2077
|
+
* ```
|
|
1512
2078
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
1513
2079
|
*/
|
|
1514
2080
|
Action["AxisMenuSort"] = "axisMenuSort";
|
|
1515
2081
|
/**
|
|
2082
|
+
* The **Group** option in the chart axis or table column
|
|
2083
|
+
* customization menu.
|
|
2084
|
+
* Allows grouping data points if the axes use the same
|
|
2085
|
+
* unit of measurement and a similar scale.
|
|
2086
|
+
* @example
|
|
2087
|
+
* ```js
|
|
2088
|
+
* disabledActions: [Action.AxisMenuGroup]
|
|
2089
|
+
* ```
|
|
1516
2090
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
1517
2091
|
*/
|
|
1518
2092
|
Action["AxisMenuGroup"] = "axisMenuGroup";
|
|
1519
2093
|
/**
|
|
2094
|
+
* The **Position** option in the axis customization menu.
|
|
2095
|
+
* Allows changing the position of the axis to the
|
|
2096
|
+
* left or right side of the chart.
|
|
2097
|
+
* @example
|
|
2098
|
+
* ```js
|
|
2099
|
+
* disabledActions: [Action.AxisMenuPosition]
|
|
2100
|
+
* ```
|
|
1520
2101
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
1521
2102
|
*/
|
|
1522
2103
|
Action["AxisMenuPosition"] = "axisMenuPosition";
|
|
1523
2104
|
/**
|
|
2105
|
+
* The **Rename** option in the chart axis or table column customization menu.
|
|
2106
|
+
* Renames the axis label on a chart or the column header on a table.
|
|
2107
|
+
* @example
|
|
2108
|
+
* ```js
|
|
2109
|
+
* disabledActions: [Action.AxisMenuRename]
|
|
2110
|
+
* ```
|
|
1524
2111
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
1525
2112
|
*/
|
|
1526
2113
|
Action["AxisMenuRename"] = "axisMenuRename";
|
|
1527
2114
|
/**
|
|
2115
|
+
* The **Edit** action in the axis customization menu.
|
|
2116
|
+
* Allows editing the axis name, position, minimum and maximum values,
|
|
2117
|
+
* and format of a column.
|
|
2118
|
+
* @example
|
|
2119
|
+
* ```js
|
|
2120
|
+
* disabledActions: [Action.AxisMenuEdit]
|
|
2121
|
+
* ```
|
|
1528
2122
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
1529
2123
|
*/
|
|
1530
2124
|
Action["AxisMenuEdit"] = "axisMenuEdit";
|
|
1531
2125
|
/**
|
|
2126
|
+
* The **Number format** action to customize the format of
|
|
2127
|
+
* the data labels on a chart or table.
|
|
2128
|
+
* @example
|
|
2129
|
+
* ```js
|
|
2130
|
+
* disabledActions: [Action.AxisMenuNumberFormat]
|
|
2131
|
+
* ```
|
|
1532
2132
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
1533
2133
|
*/
|
|
1534
2134
|
Action["AxisMenuNumberFormat"] = "axisMenuNumberFormat";
|
|
1535
2135
|
/**
|
|
2136
|
+
* The **Text wrapping** action on a table.
|
|
2137
|
+
* Wraps or clips column text on a table.
|
|
2138
|
+
* @example
|
|
2139
|
+
* ```js
|
|
2140
|
+
* disabledActions: [Action.AxisMenuTextWrapping]
|
|
2141
|
+
* ```
|
|
1536
2142
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
1537
2143
|
*/
|
|
1538
2144
|
Action["AxisMenuTextWrapping"] = "axisMenuTextWrapping";
|
|
1539
2145
|
/**
|
|
2146
|
+
* The **Remove** action in the chart axis or table column
|
|
2147
|
+
* customization menu.
|
|
2148
|
+
* Removes the data labels from a chart or the column of a
|
|
2149
|
+
* table visualization.
|
|
2150
|
+
* @example
|
|
2151
|
+
* ```js
|
|
2152
|
+
* disabledActions: [Action.AxisMenuRemove]
|
|
2153
|
+
* ```
|
|
1540
2154
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
1541
2155
|
*/
|
|
1542
2156
|
Action["AxisMenuRemove"] = "axisMenuRemove";
|
|
@@ -1545,9 +2159,31 @@ export var Action;
|
|
|
1545
2159
|
*/
|
|
1546
2160
|
Action["InsertInToSlide"] = "insertInToSlide";
|
|
1547
2161
|
/**
|
|
2162
|
+
* The **Rename** menu action on Liveboards and visualizations.
|
|
2163
|
+
* Allows renaming a Liveboard or visualization.
|
|
2164
|
+
* @example
|
|
2165
|
+
* ```js
|
|
2166
|
+
* disabledActions: [Action.RenameModalTitleDescription]
|
|
2167
|
+
* ```
|
|
1548
2168
|
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
|
|
1549
2169
|
*/
|
|
1550
2170
|
Action["RenameModalTitleDescription"] = "renameModalTitleDescription";
|
|
2171
|
+
/**
|
|
2172
|
+
* @version SDK: 1.25.0 | Thoughtspot: 9.6.0.cl
|
|
2173
|
+
*/
|
|
2174
|
+
Action["RequestVerification"] = "requestVerification";
|
|
2175
|
+
/**
|
|
2176
|
+
* @version SDK: 1.25.0 | Thoughtspot: 9.6.0.cl
|
|
2177
|
+
*/
|
|
2178
|
+
Action["MarkAsVerified"] = "markAsVerified";
|
|
2179
|
+
/**
|
|
2180
|
+
* @version SDK: 1.25.0 | Thoughtspot: 9.6.0.cl
|
|
2181
|
+
*/
|
|
2182
|
+
Action["AddTab"] = "addTab";
|
|
2183
|
+
/**
|
|
2184
|
+
* @version SDK: 1.25.0 | Thoughtspot: 9.6.0.cl
|
|
2185
|
+
*/
|
|
2186
|
+
Action["EnableContextualChangeAnalysis"] = "enableContextualChangeAnalysis";
|
|
1551
2187
|
})(Action || (Action = {}));
|
|
1552
2188
|
// eslint-disable-next-line no-shadow
|
|
1553
2189
|
export var OperationType;
|