@thoughtspot/visual-embed-sdk 1.47.0 → 1.47.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/package.json +1 -1
- package/cjs/src/embed/app.d.ts +24 -0
- package/cjs/src/embed/app.d.ts.map +1 -1
- package/cjs/src/embed/app.js +7 -1
- package/cjs/src/embed/app.js.map +1 -1
- package/cjs/src/embed/app.spec.js +30 -0
- package/cjs/src/embed/app.spec.js.map +1 -1
- package/cjs/src/embed/conversation.d.ts +9 -0
- package/cjs/src/embed/conversation.d.ts.map +1 -1
- package/cjs/src/embed/conversation.js +2 -1
- package/cjs/src/embed/conversation.js.map +1 -1
- package/cjs/src/embed/liveboard.d.ts +9 -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/types.d.ts +2 -0
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +2 -0
- package/cjs/src/types.js.map +1 -1
- package/dist/{index-Bm2Hck8q.js → index-CUgxBnPm.js} +1 -1
- package/dist/src/embed/app.d.ts +24 -0
- package/dist/src/embed/app.d.ts.map +1 -1
- package/dist/src/embed/conversation.d.ts +9 -0
- package/dist/src/embed/conversation.d.ts.map +1 -1
- package/dist/src/embed/liveboard.d.ts +9 -0
- package/dist/src/embed/liveboard.d.ts.map +1 -1
- package/dist/src/types.d.ts +2 -0
- package/dist/src/types.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +18 -6
- package/dist/tsembed-react.js +17 -5
- package/dist/tsembed.es.js +18 -6
- package/dist/tsembed.js +17 -5
- package/dist/visual-embed-sdk-react-full.d.ts +42 -0
- package/dist/visual-embed-sdk-react.d.ts +42 -0
- package/dist/visual-embed-sdk.d.ts +42 -0
- package/lib/package.json +1 -1
- package/lib/src/embed/app.d.ts +24 -0
- package/lib/src/embed/app.d.ts.map +1 -1
- package/lib/src/embed/app.js +7 -1
- package/lib/src/embed/app.js.map +1 -1
- package/lib/src/embed/app.spec.js +30 -0
- package/lib/src/embed/app.spec.js.map +1 -1
- package/lib/src/embed/conversation.d.ts +9 -0
- package/lib/src/embed/conversation.d.ts.map +1 -1
- package/lib/src/embed/conversation.js +2 -1
- package/lib/src/embed/conversation.js.map +1 -1
- package/lib/src/embed/liveboard.d.ts +9 -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/types.d.ts +2 -0
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +2 -0
- package/lib/src/types.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +42 -0
- package/package.json +1 -1
- package/src/embed/app.spec.ts +46 -1
- package/src/embed/app.ts +33 -0
- package/src/embed/conversation.ts +11 -0
- package/src/embed/liveboard.ts +13 -0
- package/src/types.ts +2 -0
package/dist/tsembed-react.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @thoughtspot/visual-embed-sdk version 1.47.
|
|
1
|
+
/* @thoughtspot/visual-embed-sdk version 1.47.1 */
|
|
2
2
|
'use client';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import React__default, { useRef, useCallback } from 'react';
|
|
@@ -4151,6 +4151,7 @@ var Param;
|
|
|
4151
4151
|
Param["HideIrrelevantFiltersInTab"] = "hideIrrelevantFiltersAtTabLevel";
|
|
4152
4152
|
Param["IsEnhancedFilterInteractivityEnabled"] = "isLiveboardPermissionV2Enabled";
|
|
4153
4153
|
Param["SpotterEnabled"] = "isSpotterExperienceEnabled";
|
|
4154
|
+
Param["IsUnifiedSearchExperienceEnabled"] = "isUnifiedSearchExperienceEnabled";
|
|
4154
4155
|
Param["OverrideOrgId"] = "orgId";
|
|
4155
4156
|
Param["OauthPollingInterval"] = "oAuthPollingInterval";
|
|
4156
4157
|
Param["IsForceRedirect"] = "isForceRedirect";
|
|
@@ -4171,6 +4172,7 @@ var Param;
|
|
|
4171
4172
|
Param["isLinkParametersEnabled"] = "isLinkParametersEnabled";
|
|
4172
4173
|
Param["EnablePastConversationsSidebar"] = "enablePastConversationsSidebar";
|
|
4173
4174
|
Param["UpdatedSpotterChatPrompt"] = "updatedSpotterChatPrompt";
|
|
4175
|
+
Param["EnableStopAnswerGenerationEmbed"] = "enableStopAnswerGenerationEmbed";
|
|
4174
4176
|
Param["SpotterSidebarTitle"] = "spotterSidebarTitle";
|
|
4175
4177
|
Param["SpotterSidebarDefaultExpanded"] = "spotterSidebarDefaultExpanded";
|
|
4176
4178
|
Param["SpotterChatRenameLabel"] = "spotterChatRenameLabel";
|
|
@@ -9969,7 +9971,7 @@ class AnswerService {
|
|
|
9969
9971
|
async getTML() {
|
|
9970
9972
|
const { object } = await this.executeQuery(getAnswerTML, {});
|
|
9971
9973
|
const edoc = object[0].edoc;
|
|
9972
|
-
const YAML = await import('./index-
|
|
9974
|
+
const YAML = await import('./index-CUgxBnPm.js');
|
|
9973
9975
|
const parsedDoc = YAML.parse(edoc);
|
|
9974
9976
|
return {
|
|
9975
9977
|
answer: {
|
|
@@ -19263,7 +19265,7 @@ function processEventData(type, eventData, thoughtSpotHost, containerEl) {
|
|
|
19263
19265
|
return eventData;
|
|
19264
19266
|
}
|
|
19265
19267
|
|
|
19266
|
-
var version$1="1.47.
|
|
19268
|
+
var version$1="1.47.1";var pkgInfo = {version:version$1};
|
|
19267
19269
|
|
|
19268
19270
|
function isValidUpdateFiltersPayload(payload) {
|
|
19269
19271
|
if (!payload)
|
|
@@ -21757,7 +21759,7 @@ let AppEmbed$1 = class AppEmbed extends V1Embed {
|
|
|
21757
21759
|
* embedded Liveboard or visualization.
|
|
21758
21760
|
*/
|
|
21759
21761
|
getEmbedParams() {
|
|
21760
|
-
const { tag, hideTagFilterChips, hideObjects, liveboardV2, showPrimaryNavbar, disableProfileAndHelp, hideHamburger, hideObjectSearch, hideNotification, hideApplicationSwitcher, hideOrgSwitcher, enableSearchAssist, fullHeight, dataPanelV2 = true, hideLiveboardHeader = false, showLiveboardTitle = true, showLiveboardDescription = true, showMaskedFilterChip = false, isLiveboardMasterpiecesEnabled = false, hideHomepageLeftNav = false, modularHomeExperience = false, isLiveboardHeaderSticky = true, enableAskSage, collapseSearchBarInitially = false, enable2ColumnLayout, enableCustomColumnGroups = false, dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState.EXPAND_ALL, collapseSearchBar = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, isEnhancedFilterInteractivityEnabled = false, homePageSearchBarMode, enablePendoHelp = true, discoveryExperience, coverAndFilterOptionInPDF = false, isLiveboardStylingAndGroupingEnabled, isPNGInScheduledEmailsEnabled = false, isLiveboardXLSXCSVDownloadEnabled = false, isGranularXLSXCSVSchedulesEnabled = false, isCentralizedLiveboardFilterUXEnabled = false, isLinkParametersEnabled, updatedSpotterChatPrompt, spotterChatConfig, minimumHeight, isThisPeriodInDateFiltersEnabled, enableHomepageAnnouncement = false, isContinuousLiveboardPDFEnabled, } = this.viewConfig;
|
|
21762
|
+
const { tag, hideTagFilterChips, hideObjects, liveboardV2, showPrimaryNavbar, disableProfileAndHelp, hideHamburger, hideObjectSearch, hideNotification, hideApplicationSwitcher, hideOrgSwitcher, enableSearchAssist, fullHeight, dataPanelV2 = true, hideLiveboardHeader = false, showLiveboardTitle = true, showLiveboardDescription = true, showMaskedFilterChip = false, isLiveboardMasterpiecesEnabled = false, hideHomepageLeftNav = false, modularHomeExperience = false, isLiveboardHeaderSticky = true, enableAskSage, collapseSearchBarInitially = false, enable2ColumnLayout, enableCustomColumnGroups = false, dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState.EXPAND_ALL, collapseSearchBar = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, isEnhancedFilterInteractivityEnabled = false, homePageSearchBarMode, isUnifiedSearchExperienceEnabled = true, enablePendoHelp = true, discoveryExperience, coverAndFilterOptionInPDF = false, isLiveboardStylingAndGroupingEnabled, isPNGInScheduledEmailsEnabled = false, isLiveboardXLSXCSVDownloadEnabled = false, isGranularXLSXCSVSchedulesEnabled = false, isCentralizedLiveboardFilterUXEnabled = false, isLinkParametersEnabled, updatedSpotterChatPrompt, enableStopAnswerGenerationEmbed, spotterChatConfig, minimumHeight, isThisPeriodInDateFiltersEnabled, enableHomepageAnnouncement = false, isContinuousLiveboardPDFEnabled, } = this.viewConfig;
|
|
21761
21763
|
let params = {};
|
|
21762
21764
|
params[Param.PrimaryNavHidden] = !showPrimaryNavbar;
|
|
21763
21765
|
params[Param.HideProfleAndHelp] = !!disableProfileAndHelp;
|
|
@@ -21775,11 +21777,17 @@ let AppEmbed$1 = class AppEmbed extends V1Embed {
|
|
|
21775
21777
|
params[Param.ShowLiveboardVerifiedBadge] = showLiveboardVerifiedBadge;
|
|
21776
21778
|
params[Param.ShowLiveboardReverifyBanner] = showLiveboardReverifyBanner;
|
|
21777
21779
|
params[Param.HideIrrelevantFiltersInTab] = hideIrrelevantChipsInLiveboardTabs;
|
|
21780
|
+
if (isUnifiedSearchExperienceEnabled !== undefined) {
|
|
21781
|
+
params[Param.IsUnifiedSearchExperienceEnabled] = isUnifiedSearchExperienceEnabled;
|
|
21782
|
+
}
|
|
21778
21783
|
params[Param.CoverAndFilterOptionInPDF] = !!coverAndFilterOptionInPDF;
|
|
21779
21784
|
params = this.getBaseQueryParams(params);
|
|
21780
21785
|
if (!isUndefined(updatedSpotterChatPrompt)) {
|
|
21781
21786
|
params[Param.UpdatedSpotterChatPrompt] = !!updatedSpotterChatPrompt;
|
|
21782
21787
|
}
|
|
21788
|
+
if (!isUndefined(enableStopAnswerGenerationEmbed)) {
|
|
21789
|
+
params[Param.EnableStopAnswerGenerationEmbed] = !!enableStopAnswerGenerationEmbed;
|
|
21790
|
+
}
|
|
21783
21791
|
// Handle spotterChatConfig params
|
|
21784
21792
|
if (spotterChatConfig) {
|
|
21785
21793
|
const { hideToolResponseCardBranding, toolResponseCardBrandingLabel, } = spotterChatConfig;
|
|
@@ -22216,7 +22224,7 @@ let LiveboardEmbed$1 = class LiveboardEmbed extends V1Embed {
|
|
|
22216
22224
|
getEmbedParamsObject() {
|
|
22217
22225
|
let params = {};
|
|
22218
22226
|
params = this.getBaseQueryParams(params);
|
|
22219
|
-
const { enableVizTransformations, fullHeight, defaultHeight, minimumHeight, visibleVizs, liveboardV2, vizId, hideTabPanel, activeTabId, hideLiveboardHeader, showLiveboardDescription, showLiveboardTitle, isLiveboardHeaderSticky = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, showMaskedFilterChip = false, isLiveboardMasterpiecesEnabled = false, isEnhancedFilterInteractivityEnabled = false, enableAskSage, enable2ColumnLayout, dataPanelV2 = true, enableCustomColumnGroups = false, oAuthPollingInterval, isForceRedirect, dataSourceId, coverAndFilterOptionInPDF = false, isLiveboardStylingAndGroupingEnabled, isPNGInScheduledEmailsEnabled = false, isLiveboardXLSXCSVDownloadEnabled = false, isGranularXLSXCSVSchedulesEnabled = false, showSpotterLimitations, isCentralizedLiveboardFilterUXEnabled = false, isLinkParametersEnabled, updatedSpotterChatPrompt, spotterChatConfig, isThisPeriodInDateFiltersEnabled, isContinuousLiveboardPDFEnabled, } = this.viewConfig;
|
|
22227
|
+
const { enableVizTransformations, fullHeight, defaultHeight, minimumHeight, visibleVizs, liveboardV2, vizId, hideTabPanel, activeTabId, hideLiveboardHeader, showLiveboardDescription, showLiveboardTitle, isLiveboardHeaderSticky = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, showMaskedFilterChip = false, isLiveboardMasterpiecesEnabled = false, isEnhancedFilterInteractivityEnabled = false, enableAskSage, enable2ColumnLayout, dataPanelV2 = true, enableCustomColumnGroups = false, oAuthPollingInterval, isForceRedirect, dataSourceId, coverAndFilterOptionInPDF = false, isLiveboardStylingAndGroupingEnabled, isPNGInScheduledEmailsEnabled = false, isLiveboardXLSXCSVDownloadEnabled = false, isGranularXLSXCSVSchedulesEnabled = false, showSpotterLimitations, isCentralizedLiveboardFilterUXEnabled = false, isLinkParametersEnabled, updatedSpotterChatPrompt, enableStopAnswerGenerationEmbed, spotterChatConfig, isThisPeriodInDateFiltersEnabled, isContinuousLiveboardPDFEnabled, } = this.viewConfig;
|
|
22220
22228
|
const preventLiveboardFilterRemoval = this.viewConfig.preventLiveboardFilterRemoval
|
|
22221
22229
|
|| this.viewConfig.preventPinboardFilterRemoval;
|
|
22222
22230
|
if (fullHeight === true) {
|
|
@@ -22238,6 +22246,9 @@ let LiveboardEmbed$1 = class LiveboardEmbed extends V1Embed {
|
|
|
22238
22246
|
if (!isUndefined(updatedSpotterChatPrompt)) {
|
|
22239
22247
|
params[Param.UpdatedSpotterChatPrompt] = !!updatedSpotterChatPrompt;
|
|
22240
22248
|
}
|
|
22249
|
+
if (!isUndefined(enableStopAnswerGenerationEmbed)) {
|
|
22250
|
+
params[Param.EnableStopAnswerGenerationEmbed] = !!enableStopAnswerGenerationEmbed;
|
|
22251
|
+
}
|
|
22241
22252
|
if (visibleVizs) {
|
|
22242
22253
|
params[Param.visibleVizs] = visibleVizs;
|
|
22243
22254
|
}
|
|
@@ -23072,7 +23083,7 @@ let SpotterEmbed$1 = class SpotterEmbed extends TsEmbed {
|
|
|
23072
23083
|
return buildSpotterSidebarAppInitData(defaultAppInitData, this.viewConfig, this.handleError.bind(this));
|
|
23073
23084
|
}
|
|
23074
23085
|
getEmbedParamsObject() {
|
|
23075
|
-
const { worksheetId, searchOptions, disableSourceSelection, hideSourceSelection, dataPanelV2, showSpotterLimitations, hideSampleQuestions, runtimeFilters, excludeRuntimeFiltersfromURL, runtimeParameters, excludeRuntimeParametersfromURL, updatedSpotterChatPrompt, spotterChatConfig, } = this.viewConfig;
|
|
23086
|
+
const { worksheetId, searchOptions, disableSourceSelection, hideSourceSelection, dataPanelV2, showSpotterLimitations, hideSampleQuestions, runtimeFilters, excludeRuntimeFiltersfromURL, runtimeParameters, excludeRuntimeParametersfromURL, updatedSpotterChatPrompt, enableStopAnswerGenerationEmbed, spotterChatConfig, } = this.viewConfig;
|
|
23076
23087
|
if (!worksheetId) {
|
|
23077
23088
|
this.handleError({
|
|
23078
23089
|
errorType: ErrorDetailsTypes.VALIDATION_ERROR,
|
|
@@ -23090,6 +23101,7 @@ let SpotterEmbed$1 = class SpotterEmbed extends TsEmbed {
|
|
|
23090
23101
|
setParamIfDefined(queryParams, Param.ShowSpotterLimitations, showSpotterLimitations, true);
|
|
23091
23102
|
setParamIfDefined(queryParams, Param.HideSampleQuestions, hideSampleQuestions, true);
|
|
23092
23103
|
setParamIfDefined(queryParams, Param.UpdatedSpotterChatPrompt, updatedSpotterChatPrompt, true);
|
|
23104
|
+
setParamIfDefined(queryParams, Param.EnableStopAnswerGenerationEmbed, enableStopAnswerGenerationEmbed, true);
|
|
23093
23105
|
// Handle spotterChatConfig params
|
|
23094
23106
|
if (spotterChatConfig) {
|
|
23095
23107
|
const { hideToolResponseCardBranding, toolResponseCardBrandingLabel, } = spotterChatConfig;
|
package/dist/tsembed-react.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @thoughtspot/visual-embed-sdk version 1.47.
|
|
1
|
+
/* @thoughtspot/visual-embed-sdk version 1.47.1 */
|
|
2
2
|
'use client';
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) :
|
|
@@ -4173,6 +4173,7 @@
|
|
|
4173
4173
|
Param["HideIrrelevantFiltersInTab"] = "hideIrrelevantFiltersAtTabLevel";
|
|
4174
4174
|
Param["IsEnhancedFilterInteractivityEnabled"] = "isLiveboardPermissionV2Enabled";
|
|
4175
4175
|
Param["SpotterEnabled"] = "isSpotterExperienceEnabled";
|
|
4176
|
+
Param["IsUnifiedSearchExperienceEnabled"] = "isUnifiedSearchExperienceEnabled";
|
|
4176
4177
|
Param["OverrideOrgId"] = "orgId";
|
|
4177
4178
|
Param["OauthPollingInterval"] = "oAuthPollingInterval";
|
|
4178
4179
|
Param["IsForceRedirect"] = "isForceRedirect";
|
|
@@ -4193,6 +4194,7 @@
|
|
|
4193
4194
|
Param["isLinkParametersEnabled"] = "isLinkParametersEnabled";
|
|
4194
4195
|
Param["EnablePastConversationsSidebar"] = "enablePastConversationsSidebar";
|
|
4195
4196
|
Param["UpdatedSpotterChatPrompt"] = "updatedSpotterChatPrompt";
|
|
4197
|
+
Param["EnableStopAnswerGenerationEmbed"] = "enableStopAnswerGenerationEmbed";
|
|
4196
4198
|
Param["SpotterSidebarTitle"] = "spotterSidebarTitle";
|
|
4197
4199
|
Param["SpotterSidebarDefaultExpanded"] = "spotterSidebarDefaultExpanded";
|
|
4198
4200
|
Param["SpotterChatRenameLabel"] = "spotterChatRenameLabel";
|
|
@@ -19285,7 +19287,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
19285
19287
|
return eventData;
|
|
19286
19288
|
}
|
|
19287
19289
|
|
|
19288
|
-
var version$1="1.47.
|
|
19290
|
+
var version$1="1.47.1";var pkgInfo = {version:version$1};
|
|
19289
19291
|
|
|
19290
19292
|
function isValidUpdateFiltersPayload(payload) {
|
|
19291
19293
|
if (!payload)
|
|
@@ -21779,7 +21781,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
21779
21781
|
* embedded Liveboard or visualization.
|
|
21780
21782
|
*/
|
|
21781
21783
|
getEmbedParams() {
|
|
21782
|
-
const { tag, hideTagFilterChips, hideObjects, liveboardV2, showPrimaryNavbar, disableProfileAndHelp, hideHamburger, hideObjectSearch, hideNotification, hideApplicationSwitcher, hideOrgSwitcher, enableSearchAssist, fullHeight, dataPanelV2 = true, hideLiveboardHeader = false, showLiveboardTitle = true, showLiveboardDescription = true, showMaskedFilterChip = false, isLiveboardMasterpiecesEnabled = false, hideHomepageLeftNav = false, modularHomeExperience = false, isLiveboardHeaderSticky = true, enableAskSage, collapseSearchBarInitially = false, enable2ColumnLayout, enableCustomColumnGroups = false, dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState.EXPAND_ALL, collapseSearchBar = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, isEnhancedFilterInteractivityEnabled = false, homePageSearchBarMode, enablePendoHelp = true, discoveryExperience, coverAndFilterOptionInPDF = false, isLiveboardStylingAndGroupingEnabled, isPNGInScheduledEmailsEnabled = false, isLiveboardXLSXCSVDownloadEnabled = false, isGranularXLSXCSVSchedulesEnabled = false, isCentralizedLiveboardFilterUXEnabled = false, isLinkParametersEnabled, updatedSpotterChatPrompt, spotterChatConfig, minimumHeight, isThisPeriodInDateFiltersEnabled, enableHomepageAnnouncement = false, isContinuousLiveboardPDFEnabled, } = this.viewConfig;
|
|
21784
|
+
const { tag, hideTagFilterChips, hideObjects, liveboardV2, showPrimaryNavbar, disableProfileAndHelp, hideHamburger, hideObjectSearch, hideNotification, hideApplicationSwitcher, hideOrgSwitcher, enableSearchAssist, fullHeight, dataPanelV2 = true, hideLiveboardHeader = false, showLiveboardTitle = true, showLiveboardDescription = true, showMaskedFilterChip = false, isLiveboardMasterpiecesEnabled = false, hideHomepageLeftNav = false, modularHomeExperience = false, isLiveboardHeaderSticky = true, enableAskSage, collapseSearchBarInitially = false, enable2ColumnLayout, enableCustomColumnGroups = false, dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState.EXPAND_ALL, collapseSearchBar = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, isEnhancedFilterInteractivityEnabled = false, homePageSearchBarMode, isUnifiedSearchExperienceEnabled = true, enablePendoHelp = true, discoveryExperience, coverAndFilterOptionInPDF = false, isLiveboardStylingAndGroupingEnabled, isPNGInScheduledEmailsEnabled = false, isLiveboardXLSXCSVDownloadEnabled = false, isGranularXLSXCSVSchedulesEnabled = false, isCentralizedLiveboardFilterUXEnabled = false, isLinkParametersEnabled, updatedSpotterChatPrompt, enableStopAnswerGenerationEmbed, spotterChatConfig, minimumHeight, isThisPeriodInDateFiltersEnabled, enableHomepageAnnouncement = false, isContinuousLiveboardPDFEnabled, } = this.viewConfig;
|
|
21783
21785
|
let params = {};
|
|
21784
21786
|
params[Param.PrimaryNavHidden] = !showPrimaryNavbar;
|
|
21785
21787
|
params[Param.HideProfleAndHelp] = !!disableProfileAndHelp;
|
|
@@ -21797,11 +21799,17 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
21797
21799
|
params[Param.ShowLiveboardVerifiedBadge] = showLiveboardVerifiedBadge;
|
|
21798
21800
|
params[Param.ShowLiveboardReverifyBanner] = showLiveboardReverifyBanner;
|
|
21799
21801
|
params[Param.HideIrrelevantFiltersInTab] = hideIrrelevantChipsInLiveboardTabs;
|
|
21802
|
+
if (isUnifiedSearchExperienceEnabled !== undefined) {
|
|
21803
|
+
params[Param.IsUnifiedSearchExperienceEnabled] = isUnifiedSearchExperienceEnabled;
|
|
21804
|
+
}
|
|
21800
21805
|
params[Param.CoverAndFilterOptionInPDF] = !!coverAndFilterOptionInPDF;
|
|
21801
21806
|
params = this.getBaseQueryParams(params);
|
|
21802
21807
|
if (!isUndefined(updatedSpotterChatPrompt)) {
|
|
21803
21808
|
params[Param.UpdatedSpotterChatPrompt] = !!updatedSpotterChatPrompt;
|
|
21804
21809
|
}
|
|
21810
|
+
if (!isUndefined(enableStopAnswerGenerationEmbed)) {
|
|
21811
|
+
params[Param.EnableStopAnswerGenerationEmbed] = !!enableStopAnswerGenerationEmbed;
|
|
21812
|
+
}
|
|
21805
21813
|
// Handle spotterChatConfig params
|
|
21806
21814
|
if (spotterChatConfig) {
|
|
21807
21815
|
const { hideToolResponseCardBranding, toolResponseCardBrandingLabel, } = spotterChatConfig;
|
|
@@ -22238,7 +22246,7 @@ query GetEurekaVizSnapshots(
|
|
|
22238
22246
|
getEmbedParamsObject() {
|
|
22239
22247
|
let params = {};
|
|
22240
22248
|
params = this.getBaseQueryParams(params);
|
|
22241
|
-
const { enableVizTransformations, fullHeight, defaultHeight, minimumHeight, visibleVizs, liveboardV2, vizId, hideTabPanel, activeTabId, hideLiveboardHeader, showLiveboardDescription, showLiveboardTitle, isLiveboardHeaderSticky = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, showMaskedFilterChip = false, isLiveboardMasterpiecesEnabled = false, isEnhancedFilterInteractivityEnabled = false, enableAskSage, enable2ColumnLayout, dataPanelV2 = true, enableCustomColumnGroups = false, oAuthPollingInterval, isForceRedirect, dataSourceId, coverAndFilterOptionInPDF = false, isLiveboardStylingAndGroupingEnabled, isPNGInScheduledEmailsEnabled = false, isLiveboardXLSXCSVDownloadEnabled = false, isGranularXLSXCSVSchedulesEnabled = false, showSpotterLimitations, isCentralizedLiveboardFilterUXEnabled = false, isLinkParametersEnabled, updatedSpotterChatPrompt, spotterChatConfig, isThisPeriodInDateFiltersEnabled, isContinuousLiveboardPDFEnabled, } = this.viewConfig;
|
|
22249
|
+
const { enableVizTransformations, fullHeight, defaultHeight, minimumHeight, visibleVizs, liveboardV2, vizId, hideTabPanel, activeTabId, hideLiveboardHeader, showLiveboardDescription, showLiveboardTitle, isLiveboardHeaderSticky = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, showMaskedFilterChip = false, isLiveboardMasterpiecesEnabled = false, isEnhancedFilterInteractivityEnabled = false, enableAskSage, enable2ColumnLayout, dataPanelV2 = true, enableCustomColumnGroups = false, oAuthPollingInterval, isForceRedirect, dataSourceId, coverAndFilterOptionInPDF = false, isLiveboardStylingAndGroupingEnabled, isPNGInScheduledEmailsEnabled = false, isLiveboardXLSXCSVDownloadEnabled = false, isGranularXLSXCSVSchedulesEnabled = false, showSpotterLimitations, isCentralizedLiveboardFilterUXEnabled = false, isLinkParametersEnabled, updatedSpotterChatPrompt, enableStopAnswerGenerationEmbed, spotterChatConfig, isThisPeriodInDateFiltersEnabled, isContinuousLiveboardPDFEnabled, } = this.viewConfig;
|
|
22242
22250
|
const preventLiveboardFilterRemoval = this.viewConfig.preventLiveboardFilterRemoval
|
|
22243
22251
|
|| this.viewConfig.preventPinboardFilterRemoval;
|
|
22244
22252
|
if (fullHeight === true) {
|
|
@@ -22260,6 +22268,9 @@ query GetEurekaVizSnapshots(
|
|
|
22260
22268
|
if (!isUndefined(updatedSpotterChatPrompt)) {
|
|
22261
22269
|
params[Param.UpdatedSpotterChatPrompt] = !!updatedSpotterChatPrompt;
|
|
22262
22270
|
}
|
|
22271
|
+
if (!isUndefined(enableStopAnswerGenerationEmbed)) {
|
|
22272
|
+
params[Param.EnableStopAnswerGenerationEmbed] = !!enableStopAnswerGenerationEmbed;
|
|
22273
|
+
}
|
|
22263
22274
|
if (visibleVizs) {
|
|
22264
22275
|
params[Param.visibleVizs] = visibleVizs;
|
|
22265
22276
|
}
|
|
@@ -23094,7 +23105,7 @@ query SendMessage($params: Input_convassist_SendMessageRequest) {
|
|
|
23094
23105
|
return buildSpotterSidebarAppInitData(defaultAppInitData, this.viewConfig, this.handleError.bind(this));
|
|
23095
23106
|
}
|
|
23096
23107
|
getEmbedParamsObject() {
|
|
23097
|
-
const { worksheetId, searchOptions, disableSourceSelection, hideSourceSelection, dataPanelV2, showSpotterLimitations, hideSampleQuestions, runtimeFilters, excludeRuntimeFiltersfromURL, runtimeParameters, excludeRuntimeParametersfromURL, updatedSpotterChatPrompt, spotterChatConfig, } = this.viewConfig;
|
|
23108
|
+
const { worksheetId, searchOptions, disableSourceSelection, hideSourceSelection, dataPanelV2, showSpotterLimitations, hideSampleQuestions, runtimeFilters, excludeRuntimeFiltersfromURL, runtimeParameters, excludeRuntimeParametersfromURL, updatedSpotterChatPrompt, enableStopAnswerGenerationEmbed, spotterChatConfig, } = this.viewConfig;
|
|
23098
23109
|
if (!worksheetId) {
|
|
23099
23110
|
this.handleError({
|
|
23100
23111
|
errorType: ErrorDetailsTypes.VALIDATION_ERROR,
|
|
@@ -23112,6 +23123,7 @@ query SendMessage($params: Input_convassist_SendMessageRequest) {
|
|
|
23112
23123
|
setParamIfDefined(queryParams, Param.ShowSpotterLimitations, showSpotterLimitations, true);
|
|
23113
23124
|
setParamIfDefined(queryParams, Param.HideSampleQuestions, hideSampleQuestions, true);
|
|
23114
23125
|
setParamIfDefined(queryParams, Param.UpdatedSpotterChatPrompt, updatedSpotterChatPrompt, true);
|
|
23126
|
+
setParamIfDefined(queryParams, Param.EnableStopAnswerGenerationEmbed, enableStopAnswerGenerationEmbed, true);
|
|
23115
23127
|
// Handle spotterChatConfig params
|
|
23116
23128
|
if (spotterChatConfig) {
|
|
23117
23129
|
const { hideToolResponseCardBranding, toolResponseCardBrandingLabel, } = spotterChatConfig;
|
package/dist/tsembed.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @thoughtspot/visual-embed-sdk version 1.47.
|
|
1
|
+
/* @thoughtspot/visual-embed-sdk version 1.47.1 */
|
|
2
2
|
'use client';
|
|
3
3
|
function _mergeNamespaces(n, m) {
|
|
4
4
|
m.forEach(function (e) {
|
|
@@ -3983,6 +3983,7 @@ var Param;
|
|
|
3983
3983
|
Param["HideIrrelevantFiltersInTab"] = "hideIrrelevantFiltersAtTabLevel";
|
|
3984
3984
|
Param["IsEnhancedFilterInteractivityEnabled"] = "isLiveboardPermissionV2Enabled";
|
|
3985
3985
|
Param["SpotterEnabled"] = "isSpotterExperienceEnabled";
|
|
3986
|
+
Param["IsUnifiedSearchExperienceEnabled"] = "isUnifiedSearchExperienceEnabled";
|
|
3986
3987
|
Param["OverrideOrgId"] = "orgId";
|
|
3987
3988
|
Param["OauthPollingInterval"] = "oAuthPollingInterval";
|
|
3988
3989
|
Param["IsForceRedirect"] = "isForceRedirect";
|
|
@@ -4003,6 +4004,7 @@ var Param;
|
|
|
4003
4004
|
Param["isLinkParametersEnabled"] = "isLinkParametersEnabled";
|
|
4004
4005
|
Param["EnablePastConversationsSidebar"] = "enablePastConversationsSidebar";
|
|
4005
4006
|
Param["UpdatedSpotterChatPrompt"] = "updatedSpotterChatPrompt";
|
|
4007
|
+
Param["EnableStopAnswerGenerationEmbed"] = "enableStopAnswerGenerationEmbed";
|
|
4006
4008
|
Param["SpotterSidebarTitle"] = "spotterSidebarTitle";
|
|
4007
4009
|
Param["SpotterSidebarDefaultExpanded"] = "spotterSidebarDefaultExpanded";
|
|
4008
4010
|
Param["SpotterChatRenameLabel"] = "spotterChatRenameLabel";
|
|
@@ -9853,7 +9855,7 @@ class AnswerService {
|
|
|
9853
9855
|
async getTML() {
|
|
9854
9856
|
const { object } = await this.executeQuery(getAnswerTML, {});
|
|
9855
9857
|
const edoc = object[0].edoc;
|
|
9856
|
-
const YAML = await import('./index-
|
|
9858
|
+
const YAML = await import('./index-CUgxBnPm.js');
|
|
9857
9859
|
const parsedDoc = YAML.parse(edoc);
|
|
9858
9860
|
return {
|
|
9859
9861
|
answer: {
|
|
@@ -19329,7 +19331,7 @@ function processEventData(type, eventData, thoughtSpotHost, containerEl) {
|
|
|
19329
19331
|
return eventData;
|
|
19330
19332
|
}
|
|
19331
19333
|
|
|
19332
|
-
var version$1="1.47.
|
|
19334
|
+
var version$1="1.47.1";var pkgInfo = {version:version$1};
|
|
19333
19335
|
|
|
19334
19336
|
function isValidUpdateFiltersPayload(payload) {
|
|
19335
19337
|
if (!payload)
|
|
@@ -21564,7 +21566,7 @@ class AppEmbed extends V1Embed {
|
|
|
21564
21566
|
* embedded Liveboard or visualization.
|
|
21565
21567
|
*/
|
|
21566
21568
|
getEmbedParams() {
|
|
21567
|
-
const { tag, hideTagFilterChips, hideObjects, liveboardV2, showPrimaryNavbar, disableProfileAndHelp, hideHamburger, hideObjectSearch, hideNotification, hideApplicationSwitcher, hideOrgSwitcher, enableSearchAssist, fullHeight, dataPanelV2 = true, hideLiveboardHeader = false, showLiveboardTitle = true, showLiveboardDescription = true, showMaskedFilterChip = false, isLiveboardMasterpiecesEnabled = false, hideHomepageLeftNav = false, modularHomeExperience = false, isLiveboardHeaderSticky = true, enableAskSage, collapseSearchBarInitially = false, enable2ColumnLayout, enableCustomColumnGroups = false, dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState$1.EXPAND_ALL, collapseSearchBar = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, isEnhancedFilterInteractivityEnabled = false, homePageSearchBarMode, enablePendoHelp = true, discoveryExperience, coverAndFilterOptionInPDF = false, isLiveboardStylingAndGroupingEnabled, isPNGInScheduledEmailsEnabled = false, isLiveboardXLSXCSVDownloadEnabled = false, isGranularXLSXCSVSchedulesEnabled = false, isCentralizedLiveboardFilterUXEnabled = false, isLinkParametersEnabled, updatedSpotterChatPrompt, spotterChatConfig, minimumHeight, isThisPeriodInDateFiltersEnabled, enableHomepageAnnouncement = false, isContinuousLiveboardPDFEnabled, } = this.viewConfig;
|
|
21569
|
+
const { tag, hideTagFilterChips, hideObjects, liveboardV2, showPrimaryNavbar, disableProfileAndHelp, hideHamburger, hideObjectSearch, hideNotification, hideApplicationSwitcher, hideOrgSwitcher, enableSearchAssist, fullHeight, dataPanelV2 = true, hideLiveboardHeader = false, showLiveboardTitle = true, showLiveboardDescription = true, showMaskedFilterChip = false, isLiveboardMasterpiecesEnabled = false, hideHomepageLeftNav = false, modularHomeExperience = false, isLiveboardHeaderSticky = true, enableAskSage, collapseSearchBarInitially = false, enable2ColumnLayout, enableCustomColumnGroups = false, dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState$1.EXPAND_ALL, collapseSearchBar = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, isEnhancedFilterInteractivityEnabled = false, homePageSearchBarMode, isUnifiedSearchExperienceEnabled = true, enablePendoHelp = true, discoveryExperience, coverAndFilterOptionInPDF = false, isLiveboardStylingAndGroupingEnabled, isPNGInScheduledEmailsEnabled = false, isLiveboardXLSXCSVDownloadEnabled = false, isGranularXLSXCSVSchedulesEnabled = false, isCentralizedLiveboardFilterUXEnabled = false, isLinkParametersEnabled, updatedSpotterChatPrompt, enableStopAnswerGenerationEmbed, spotterChatConfig, minimumHeight, isThisPeriodInDateFiltersEnabled, enableHomepageAnnouncement = false, isContinuousLiveboardPDFEnabled, } = this.viewConfig;
|
|
21568
21570
|
let params = {};
|
|
21569
21571
|
params[Param.PrimaryNavHidden] = !showPrimaryNavbar;
|
|
21570
21572
|
params[Param.HideProfleAndHelp] = !!disableProfileAndHelp;
|
|
@@ -21582,11 +21584,17 @@ class AppEmbed extends V1Embed {
|
|
|
21582
21584
|
params[Param.ShowLiveboardVerifiedBadge] = showLiveboardVerifiedBadge;
|
|
21583
21585
|
params[Param.ShowLiveboardReverifyBanner] = showLiveboardReverifyBanner;
|
|
21584
21586
|
params[Param.HideIrrelevantFiltersInTab] = hideIrrelevantChipsInLiveboardTabs;
|
|
21587
|
+
if (isUnifiedSearchExperienceEnabled !== undefined) {
|
|
21588
|
+
params[Param.IsUnifiedSearchExperienceEnabled] = isUnifiedSearchExperienceEnabled;
|
|
21589
|
+
}
|
|
21585
21590
|
params[Param.CoverAndFilterOptionInPDF] = !!coverAndFilterOptionInPDF;
|
|
21586
21591
|
params = this.getBaseQueryParams(params);
|
|
21587
21592
|
if (!isUndefined(updatedSpotterChatPrompt)) {
|
|
21588
21593
|
params[Param.UpdatedSpotterChatPrompt] = !!updatedSpotterChatPrompt;
|
|
21589
21594
|
}
|
|
21595
|
+
if (!isUndefined(enableStopAnswerGenerationEmbed)) {
|
|
21596
|
+
params[Param.EnableStopAnswerGenerationEmbed] = !!enableStopAnswerGenerationEmbed;
|
|
21597
|
+
}
|
|
21590
21598
|
// Handle spotterChatConfig params
|
|
21591
21599
|
if (spotterChatConfig) {
|
|
21592
21600
|
const { hideToolResponseCardBranding, toolResponseCardBrandingLabel, } = spotterChatConfig;
|
|
@@ -22023,7 +22031,7 @@ class LiveboardEmbed extends V1Embed {
|
|
|
22023
22031
|
getEmbedParamsObject() {
|
|
22024
22032
|
let params = {};
|
|
22025
22033
|
params = this.getBaseQueryParams(params);
|
|
22026
|
-
const { enableVizTransformations, fullHeight, defaultHeight, minimumHeight, visibleVizs, liveboardV2, vizId, hideTabPanel, activeTabId, hideLiveboardHeader, showLiveboardDescription, showLiveboardTitle, isLiveboardHeaderSticky = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, showMaskedFilterChip = false, isLiveboardMasterpiecesEnabled = false, isEnhancedFilterInteractivityEnabled = false, enableAskSage, enable2ColumnLayout, dataPanelV2 = true, enableCustomColumnGroups = false, oAuthPollingInterval, isForceRedirect, dataSourceId, coverAndFilterOptionInPDF = false, isLiveboardStylingAndGroupingEnabled, isPNGInScheduledEmailsEnabled = false, isLiveboardXLSXCSVDownloadEnabled = false, isGranularXLSXCSVSchedulesEnabled = false, showSpotterLimitations, isCentralizedLiveboardFilterUXEnabled = false, isLinkParametersEnabled, updatedSpotterChatPrompt, spotterChatConfig, isThisPeriodInDateFiltersEnabled, isContinuousLiveboardPDFEnabled, } = this.viewConfig;
|
|
22034
|
+
const { enableVizTransformations, fullHeight, defaultHeight, minimumHeight, visibleVizs, liveboardV2, vizId, hideTabPanel, activeTabId, hideLiveboardHeader, showLiveboardDescription, showLiveboardTitle, isLiveboardHeaderSticky = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, showMaskedFilterChip = false, isLiveboardMasterpiecesEnabled = false, isEnhancedFilterInteractivityEnabled = false, enableAskSage, enable2ColumnLayout, dataPanelV2 = true, enableCustomColumnGroups = false, oAuthPollingInterval, isForceRedirect, dataSourceId, coverAndFilterOptionInPDF = false, isLiveboardStylingAndGroupingEnabled, isPNGInScheduledEmailsEnabled = false, isLiveboardXLSXCSVDownloadEnabled = false, isGranularXLSXCSVSchedulesEnabled = false, showSpotterLimitations, isCentralizedLiveboardFilterUXEnabled = false, isLinkParametersEnabled, updatedSpotterChatPrompt, enableStopAnswerGenerationEmbed, spotterChatConfig, isThisPeriodInDateFiltersEnabled, isContinuousLiveboardPDFEnabled, } = this.viewConfig;
|
|
22027
22035
|
const preventLiveboardFilterRemoval = this.viewConfig.preventLiveboardFilterRemoval
|
|
22028
22036
|
|| this.viewConfig.preventPinboardFilterRemoval;
|
|
22029
22037
|
if (fullHeight === true) {
|
|
@@ -22045,6 +22053,9 @@ class LiveboardEmbed extends V1Embed {
|
|
|
22045
22053
|
if (!isUndefined(updatedSpotterChatPrompt)) {
|
|
22046
22054
|
params[Param.UpdatedSpotterChatPrompt] = !!updatedSpotterChatPrompt;
|
|
22047
22055
|
}
|
|
22056
|
+
if (!isUndefined(enableStopAnswerGenerationEmbed)) {
|
|
22057
|
+
params[Param.EnableStopAnswerGenerationEmbed] = !!enableStopAnswerGenerationEmbed;
|
|
22058
|
+
}
|
|
22048
22059
|
if (visibleVizs) {
|
|
22049
22060
|
params[Param.visibleVizs] = visibleVizs;
|
|
22050
22061
|
}
|
|
@@ -23148,7 +23159,7 @@ class SpotterEmbed extends TsEmbed {
|
|
|
23148
23159
|
return buildSpotterSidebarAppInitData(defaultAppInitData, this.viewConfig, this.handleError.bind(this));
|
|
23149
23160
|
}
|
|
23150
23161
|
getEmbedParamsObject() {
|
|
23151
|
-
const { worksheetId, searchOptions, disableSourceSelection, hideSourceSelection, dataPanelV2, showSpotterLimitations, hideSampleQuestions, runtimeFilters, excludeRuntimeFiltersfromURL, runtimeParameters, excludeRuntimeParametersfromURL, updatedSpotterChatPrompt, spotterChatConfig, } = this.viewConfig;
|
|
23162
|
+
const { worksheetId, searchOptions, disableSourceSelection, hideSourceSelection, dataPanelV2, showSpotterLimitations, hideSampleQuestions, runtimeFilters, excludeRuntimeFiltersfromURL, runtimeParameters, excludeRuntimeParametersfromURL, updatedSpotterChatPrompt, enableStopAnswerGenerationEmbed, spotterChatConfig, } = this.viewConfig;
|
|
23152
23163
|
if (!worksheetId) {
|
|
23153
23164
|
this.handleError({
|
|
23154
23165
|
errorType: ErrorDetailsTypes.VALIDATION_ERROR,
|
|
@@ -23166,6 +23177,7 @@ class SpotterEmbed extends TsEmbed {
|
|
|
23166
23177
|
setParamIfDefined(queryParams, Param.ShowSpotterLimitations, showSpotterLimitations, true);
|
|
23167
23178
|
setParamIfDefined(queryParams, Param.HideSampleQuestions, hideSampleQuestions, true);
|
|
23168
23179
|
setParamIfDefined(queryParams, Param.UpdatedSpotterChatPrompt, updatedSpotterChatPrompt, true);
|
|
23180
|
+
setParamIfDefined(queryParams, Param.EnableStopAnswerGenerationEmbed, enableStopAnswerGenerationEmbed, true);
|
|
23169
23181
|
// Handle spotterChatConfig params
|
|
23170
23182
|
if (spotterChatConfig) {
|
|
23171
23183
|
const { hideToolResponseCardBranding, toolResponseCardBrandingLabel, } = spotterChatConfig;
|
package/dist/tsembed.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @thoughtspot/visual-embed-sdk version 1.47.
|
|
1
|
+
/* @thoughtspot/visual-embed-sdk version 1.47.1 */
|
|
2
2
|
'use client';
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
@@ -3989,6 +3989,7 @@
|
|
|
3989
3989
|
Param["HideIrrelevantFiltersInTab"] = "hideIrrelevantFiltersAtTabLevel";
|
|
3990
3990
|
Param["IsEnhancedFilterInteractivityEnabled"] = "isLiveboardPermissionV2Enabled";
|
|
3991
3991
|
Param["SpotterEnabled"] = "isSpotterExperienceEnabled";
|
|
3992
|
+
Param["IsUnifiedSearchExperienceEnabled"] = "isUnifiedSearchExperienceEnabled";
|
|
3992
3993
|
Param["OverrideOrgId"] = "orgId";
|
|
3993
3994
|
Param["OauthPollingInterval"] = "oAuthPollingInterval";
|
|
3994
3995
|
Param["IsForceRedirect"] = "isForceRedirect";
|
|
@@ -4009,6 +4010,7 @@
|
|
|
4009
4010
|
Param["isLinkParametersEnabled"] = "isLinkParametersEnabled";
|
|
4010
4011
|
Param["EnablePastConversationsSidebar"] = "enablePastConversationsSidebar";
|
|
4011
4012
|
Param["UpdatedSpotterChatPrompt"] = "updatedSpotterChatPrompt";
|
|
4013
|
+
Param["EnableStopAnswerGenerationEmbed"] = "enableStopAnswerGenerationEmbed";
|
|
4012
4014
|
Param["SpotterSidebarTitle"] = "spotterSidebarTitle";
|
|
4013
4015
|
Param["SpotterSidebarDefaultExpanded"] = "spotterSidebarDefaultExpanded";
|
|
4014
4016
|
Param["SpotterChatRenameLabel"] = "spotterChatRenameLabel";
|
|
@@ -19335,7 +19337,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
19335
19337
|
return eventData;
|
|
19336
19338
|
}
|
|
19337
19339
|
|
|
19338
|
-
var version$1="1.47.
|
|
19340
|
+
var version$1="1.47.1";var pkgInfo = {version:version$1};
|
|
19339
19341
|
|
|
19340
19342
|
function isValidUpdateFiltersPayload(payload) {
|
|
19341
19343
|
if (!payload)
|
|
@@ -21570,7 +21572,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
21570
21572
|
* embedded Liveboard or visualization.
|
|
21571
21573
|
*/
|
|
21572
21574
|
getEmbedParams() {
|
|
21573
|
-
const { tag, hideTagFilterChips, hideObjects, liveboardV2, showPrimaryNavbar, disableProfileAndHelp, hideHamburger, hideObjectSearch, hideNotification, hideApplicationSwitcher, hideOrgSwitcher, enableSearchAssist, fullHeight, dataPanelV2 = true, hideLiveboardHeader = false, showLiveboardTitle = true, showLiveboardDescription = true, showMaskedFilterChip = false, isLiveboardMasterpiecesEnabled = false, hideHomepageLeftNav = false, modularHomeExperience = false, isLiveboardHeaderSticky = true, enableAskSage, collapseSearchBarInitially = false, enable2ColumnLayout, enableCustomColumnGroups = false, dataPanelCustomGroupsAccordionInitialState = exports.DataPanelCustomColumnGroupsAccordionState.EXPAND_ALL, collapseSearchBar = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, isEnhancedFilterInteractivityEnabled = false, homePageSearchBarMode, enablePendoHelp = true, discoveryExperience, coverAndFilterOptionInPDF = false, isLiveboardStylingAndGroupingEnabled, isPNGInScheduledEmailsEnabled = false, isLiveboardXLSXCSVDownloadEnabled = false, isGranularXLSXCSVSchedulesEnabled = false, isCentralizedLiveboardFilterUXEnabled = false, isLinkParametersEnabled, updatedSpotterChatPrompt, spotterChatConfig, minimumHeight, isThisPeriodInDateFiltersEnabled, enableHomepageAnnouncement = false, isContinuousLiveboardPDFEnabled, } = this.viewConfig;
|
|
21575
|
+
const { tag, hideTagFilterChips, hideObjects, liveboardV2, showPrimaryNavbar, disableProfileAndHelp, hideHamburger, hideObjectSearch, hideNotification, hideApplicationSwitcher, hideOrgSwitcher, enableSearchAssist, fullHeight, dataPanelV2 = true, hideLiveboardHeader = false, showLiveboardTitle = true, showLiveboardDescription = true, showMaskedFilterChip = false, isLiveboardMasterpiecesEnabled = false, hideHomepageLeftNav = false, modularHomeExperience = false, isLiveboardHeaderSticky = true, enableAskSage, collapseSearchBarInitially = false, enable2ColumnLayout, enableCustomColumnGroups = false, dataPanelCustomGroupsAccordionInitialState = exports.DataPanelCustomColumnGroupsAccordionState.EXPAND_ALL, collapseSearchBar = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, isEnhancedFilterInteractivityEnabled = false, homePageSearchBarMode, isUnifiedSearchExperienceEnabled = true, enablePendoHelp = true, discoveryExperience, coverAndFilterOptionInPDF = false, isLiveboardStylingAndGroupingEnabled, isPNGInScheduledEmailsEnabled = false, isLiveboardXLSXCSVDownloadEnabled = false, isGranularXLSXCSVSchedulesEnabled = false, isCentralizedLiveboardFilterUXEnabled = false, isLinkParametersEnabled, updatedSpotterChatPrompt, enableStopAnswerGenerationEmbed, spotterChatConfig, minimumHeight, isThisPeriodInDateFiltersEnabled, enableHomepageAnnouncement = false, isContinuousLiveboardPDFEnabled, } = this.viewConfig;
|
|
21574
21576
|
let params = {};
|
|
21575
21577
|
params[Param.PrimaryNavHidden] = !showPrimaryNavbar;
|
|
21576
21578
|
params[Param.HideProfleAndHelp] = !!disableProfileAndHelp;
|
|
@@ -21588,11 +21590,17 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
21588
21590
|
params[Param.ShowLiveboardVerifiedBadge] = showLiveboardVerifiedBadge;
|
|
21589
21591
|
params[Param.ShowLiveboardReverifyBanner] = showLiveboardReverifyBanner;
|
|
21590
21592
|
params[Param.HideIrrelevantFiltersInTab] = hideIrrelevantChipsInLiveboardTabs;
|
|
21593
|
+
if (isUnifiedSearchExperienceEnabled !== undefined) {
|
|
21594
|
+
params[Param.IsUnifiedSearchExperienceEnabled] = isUnifiedSearchExperienceEnabled;
|
|
21595
|
+
}
|
|
21591
21596
|
params[Param.CoverAndFilterOptionInPDF] = !!coverAndFilterOptionInPDF;
|
|
21592
21597
|
params = this.getBaseQueryParams(params);
|
|
21593
21598
|
if (!isUndefined(updatedSpotterChatPrompt)) {
|
|
21594
21599
|
params[Param.UpdatedSpotterChatPrompt] = !!updatedSpotterChatPrompt;
|
|
21595
21600
|
}
|
|
21601
|
+
if (!isUndefined(enableStopAnswerGenerationEmbed)) {
|
|
21602
|
+
params[Param.EnableStopAnswerGenerationEmbed] = !!enableStopAnswerGenerationEmbed;
|
|
21603
|
+
}
|
|
21596
21604
|
// Handle spotterChatConfig params
|
|
21597
21605
|
if (spotterChatConfig) {
|
|
21598
21606
|
const { hideToolResponseCardBranding, toolResponseCardBrandingLabel, } = spotterChatConfig;
|
|
@@ -22029,7 +22037,7 @@ query GetEurekaVizSnapshots(
|
|
|
22029
22037
|
getEmbedParamsObject() {
|
|
22030
22038
|
let params = {};
|
|
22031
22039
|
params = this.getBaseQueryParams(params);
|
|
22032
|
-
const { enableVizTransformations, fullHeight, defaultHeight, minimumHeight, visibleVizs, liveboardV2, vizId, hideTabPanel, activeTabId, hideLiveboardHeader, showLiveboardDescription, showLiveboardTitle, isLiveboardHeaderSticky = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, showMaskedFilterChip = false, isLiveboardMasterpiecesEnabled = false, isEnhancedFilterInteractivityEnabled = false, enableAskSage, enable2ColumnLayout, dataPanelV2 = true, enableCustomColumnGroups = false, oAuthPollingInterval, isForceRedirect, dataSourceId, coverAndFilterOptionInPDF = false, isLiveboardStylingAndGroupingEnabled, isPNGInScheduledEmailsEnabled = false, isLiveboardXLSXCSVDownloadEnabled = false, isGranularXLSXCSVSchedulesEnabled = false, showSpotterLimitations, isCentralizedLiveboardFilterUXEnabled = false, isLinkParametersEnabled, updatedSpotterChatPrompt, spotterChatConfig, isThisPeriodInDateFiltersEnabled, isContinuousLiveboardPDFEnabled, } = this.viewConfig;
|
|
22040
|
+
const { enableVizTransformations, fullHeight, defaultHeight, minimumHeight, visibleVizs, liveboardV2, vizId, hideTabPanel, activeTabId, hideLiveboardHeader, showLiveboardDescription, showLiveboardTitle, isLiveboardHeaderSticky = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, showMaskedFilterChip = false, isLiveboardMasterpiecesEnabled = false, isEnhancedFilterInteractivityEnabled = false, enableAskSage, enable2ColumnLayout, dataPanelV2 = true, enableCustomColumnGroups = false, oAuthPollingInterval, isForceRedirect, dataSourceId, coverAndFilterOptionInPDF = false, isLiveboardStylingAndGroupingEnabled, isPNGInScheduledEmailsEnabled = false, isLiveboardXLSXCSVDownloadEnabled = false, isGranularXLSXCSVSchedulesEnabled = false, showSpotterLimitations, isCentralizedLiveboardFilterUXEnabled = false, isLinkParametersEnabled, updatedSpotterChatPrompt, enableStopAnswerGenerationEmbed, spotterChatConfig, isThisPeriodInDateFiltersEnabled, isContinuousLiveboardPDFEnabled, } = this.viewConfig;
|
|
22033
22041
|
const preventLiveboardFilterRemoval = this.viewConfig.preventLiveboardFilterRemoval
|
|
22034
22042
|
|| this.viewConfig.preventPinboardFilterRemoval;
|
|
22035
22043
|
if (fullHeight === true) {
|
|
@@ -22051,6 +22059,9 @@ query GetEurekaVizSnapshots(
|
|
|
22051
22059
|
if (!isUndefined(updatedSpotterChatPrompt)) {
|
|
22052
22060
|
params[Param.UpdatedSpotterChatPrompt] = !!updatedSpotterChatPrompt;
|
|
22053
22061
|
}
|
|
22062
|
+
if (!isUndefined(enableStopAnswerGenerationEmbed)) {
|
|
22063
|
+
params[Param.EnableStopAnswerGenerationEmbed] = !!enableStopAnswerGenerationEmbed;
|
|
22064
|
+
}
|
|
22054
22065
|
if (visibleVizs) {
|
|
22055
22066
|
params[Param.visibleVizs] = visibleVizs;
|
|
22056
22067
|
}
|
|
@@ -23154,7 +23165,7 @@ query SendMessage($params: Input_convassist_SendMessageRequest) {
|
|
|
23154
23165
|
return buildSpotterSidebarAppInitData(defaultAppInitData, this.viewConfig, this.handleError.bind(this));
|
|
23155
23166
|
}
|
|
23156
23167
|
getEmbedParamsObject() {
|
|
23157
|
-
const { worksheetId, searchOptions, disableSourceSelection, hideSourceSelection, dataPanelV2, showSpotterLimitations, hideSampleQuestions, runtimeFilters, excludeRuntimeFiltersfromURL, runtimeParameters, excludeRuntimeParametersfromURL, updatedSpotterChatPrompt, spotterChatConfig, } = this.viewConfig;
|
|
23168
|
+
const { worksheetId, searchOptions, disableSourceSelection, hideSourceSelection, dataPanelV2, showSpotterLimitations, hideSampleQuestions, runtimeFilters, excludeRuntimeFiltersfromURL, runtimeParameters, excludeRuntimeParametersfromURL, updatedSpotterChatPrompt, enableStopAnswerGenerationEmbed, spotterChatConfig, } = this.viewConfig;
|
|
23158
23169
|
if (!worksheetId) {
|
|
23159
23170
|
this.handleError({
|
|
23160
23171
|
errorType: exports.ErrorDetailsTypes.VALIDATION_ERROR,
|
|
@@ -23172,6 +23183,7 @@ query SendMessage($params: Input_convassist_SendMessageRequest) {
|
|
|
23172
23183
|
setParamIfDefined(queryParams, Param.ShowSpotterLimitations, showSpotterLimitations, true);
|
|
23173
23184
|
setParamIfDefined(queryParams, Param.HideSampleQuestions, hideSampleQuestions, true);
|
|
23174
23185
|
setParamIfDefined(queryParams, Param.UpdatedSpotterChatPrompt, updatedSpotterChatPrompt, true);
|
|
23186
|
+
setParamIfDefined(queryParams, Param.EnableStopAnswerGenerationEmbed, enableStopAnswerGenerationEmbed, true);
|
|
23175
23187
|
// Handle spotterChatConfig params
|
|
23176
23188
|
if (spotterChatConfig) {
|
|
23177
23189
|
const { hideToolResponseCardBranding, toolResponseCardBrandingLabel, } = spotterChatConfig;
|
|
@@ -10229,6 +10229,15 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, "primaryAct
|
|
|
10229
10229
|
* ```
|
|
10230
10230
|
*/
|
|
10231
10231
|
updatedSpotterChatPrompt?: boolean;
|
|
10232
|
+
/**
|
|
10233
|
+
* Enables the stop answer generation button in the Spotter embed UI,
|
|
10234
|
+
* allowing users to interrupt an ongoing answer generation.
|
|
10235
|
+
*
|
|
10236
|
+
* Supported embed types: `SpotterEmbed`
|
|
10237
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
10238
|
+
* @default false
|
|
10239
|
+
*/
|
|
10240
|
+
enableStopAnswerGenerationEmbed?: boolean;
|
|
10232
10241
|
/**
|
|
10233
10242
|
* Controls the visibility of the past conversations sidebar.
|
|
10234
10243
|
*
|
|
@@ -10811,6 +10820,21 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
10811
10820
|
* @version SDK: 1.33.0 | ThoughtSpot: 10.3.0.cl
|
|
10812
10821
|
*/
|
|
10813
10822
|
homePageSearchBarMode?: HomePageSearchBarMode;
|
|
10823
|
+
/**
|
|
10824
|
+
* This flag is used to enable unified search experience for full app embed.
|
|
10825
|
+
*
|
|
10826
|
+
* Supported embed types: `AppEmbed`
|
|
10827
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.5.0.cl
|
|
10828
|
+
* @default true
|
|
10829
|
+
* @example
|
|
10830
|
+
* ```js
|
|
10831
|
+
* const embed = new AppEmbed('#tsEmbed', {
|
|
10832
|
+
* ... // other embed view config
|
|
10833
|
+
* isUnifiedSearchExperienceEnabled: true,
|
|
10834
|
+
* })
|
|
10835
|
+
* ```
|
|
10836
|
+
*/
|
|
10837
|
+
isUnifiedSearchExperienceEnabled?: boolean;
|
|
10814
10838
|
/**
|
|
10815
10839
|
* This flag is used to enable/disable the styling and grouping in a Liveboard. Use {@link isLiveboardMasterpiecesEnabled} instead.
|
|
10816
10840
|
* @deprecated This flag is deprecated.
|
|
@@ -10997,6 +11021,15 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
10997
11021
|
* ```
|
|
10998
11022
|
*/
|
|
10999
11023
|
spotterChatConfig?: SpotterChatViewConfig;
|
|
11024
|
+
/**
|
|
11025
|
+
* Enables the stop answer generation button in the Spotter embed UI,
|
|
11026
|
+
* allowing users to interrupt an ongoing answer generation.
|
|
11027
|
+
*
|
|
11028
|
+
* Supported embed types: `AppEmbed`
|
|
11029
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
11030
|
+
* @default false
|
|
11031
|
+
*/
|
|
11032
|
+
enableStopAnswerGenerationEmbed?: boolean;
|
|
11000
11033
|
/**
|
|
11001
11034
|
* This is the minimum height (in pixels) for a full-height App.
|
|
11002
11035
|
* Setting this height helps resolve issues with empty Apps and
|
|
@@ -11594,6 +11627,15 @@ export interface LiveboardViewConfig extends BaseViewConfig, SearchLiveboardComm
|
|
|
11594
11627
|
* ```
|
|
11595
11628
|
*/
|
|
11596
11629
|
updatedSpotterChatPrompt?: boolean;
|
|
11630
|
+
/**
|
|
11631
|
+
* Enables the stop answer generation button in the Spotter embed UI,
|
|
11632
|
+
* allowing users to interrupt an ongoing answer generation.
|
|
11633
|
+
*
|
|
11634
|
+
* Supported embed types: `LiveboardEmbed`
|
|
11635
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
11636
|
+
* @default false
|
|
11637
|
+
*/
|
|
11638
|
+
enableStopAnswerGenerationEmbed?: boolean;
|
|
11597
11639
|
/**
|
|
11598
11640
|
* Configuration for customizing Spotter chat UI
|
|
11599
11641
|
* branding in tool response cards.
|
|
@@ -10202,6 +10202,15 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, "primaryAct
|
|
|
10202
10202
|
* ```
|
|
10203
10203
|
*/
|
|
10204
10204
|
updatedSpotterChatPrompt?: boolean;
|
|
10205
|
+
/**
|
|
10206
|
+
* Enables the stop answer generation button in the Spotter embed UI,
|
|
10207
|
+
* allowing users to interrupt an ongoing answer generation.
|
|
10208
|
+
*
|
|
10209
|
+
* Supported embed types: `SpotterEmbed`
|
|
10210
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
10211
|
+
* @default false
|
|
10212
|
+
*/
|
|
10213
|
+
enableStopAnswerGenerationEmbed?: boolean;
|
|
10205
10214
|
/**
|
|
10206
10215
|
* Controls the visibility of the past conversations sidebar.
|
|
10207
10216
|
*
|
|
@@ -10780,6 +10789,21 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
10780
10789
|
* @version SDK: 1.33.0 | ThoughtSpot: 10.3.0.cl
|
|
10781
10790
|
*/
|
|
10782
10791
|
homePageSearchBarMode?: HomePageSearchBarMode;
|
|
10792
|
+
/**
|
|
10793
|
+
* This flag is used to enable unified search experience for full app embed.
|
|
10794
|
+
*
|
|
10795
|
+
* Supported embed types: `AppEmbed`
|
|
10796
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.5.0.cl
|
|
10797
|
+
* @default true
|
|
10798
|
+
* @example
|
|
10799
|
+
* ```js
|
|
10800
|
+
* const embed = new AppEmbed('#tsEmbed', {
|
|
10801
|
+
* ... // other embed view config
|
|
10802
|
+
* isUnifiedSearchExperienceEnabled: true,
|
|
10803
|
+
* })
|
|
10804
|
+
* ```
|
|
10805
|
+
*/
|
|
10806
|
+
isUnifiedSearchExperienceEnabled?: boolean;
|
|
10783
10807
|
/**
|
|
10784
10808
|
* This flag is used to enable/disable the styling and grouping in a Liveboard. Use {@link isLiveboardMasterpiecesEnabled} instead.
|
|
10785
10809
|
* @deprecated This flag is deprecated.
|
|
@@ -10966,6 +10990,15 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
10966
10990
|
* ```
|
|
10967
10991
|
*/
|
|
10968
10992
|
spotterChatConfig?: SpotterChatViewConfig;
|
|
10993
|
+
/**
|
|
10994
|
+
* Enables the stop answer generation button in the Spotter embed UI,
|
|
10995
|
+
* allowing users to interrupt an ongoing answer generation.
|
|
10996
|
+
*
|
|
10997
|
+
* Supported embed types: `AppEmbed`
|
|
10998
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
10999
|
+
* @default false
|
|
11000
|
+
*/
|
|
11001
|
+
enableStopAnswerGenerationEmbed?: boolean;
|
|
10969
11002
|
/**
|
|
10970
11003
|
* This is the minimum height (in pixels) for a full-height App.
|
|
10971
11004
|
* Setting this height helps resolve issues with empty Apps and
|
|
@@ -11563,6 +11596,15 @@ export interface LiveboardViewConfig extends BaseViewConfig, SearchLiveboardComm
|
|
|
11563
11596
|
* ```
|
|
11564
11597
|
*/
|
|
11565
11598
|
updatedSpotterChatPrompt?: boolean;
|
|
11599
|
+
/**
|
|
11600
|
+
* Enables the stop answer generation button in the Spotter embed UI,
|
|
11601
|
+
* allowing users to interrupt an ongoing answer generation.
|
|
11602
|
+
*
|
|
11603
|
+
* Supported embed types: `LiveboardEmbed`
|
|
11604
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
11605
|
+
* @default false
|
|
11606
|
+
*/
|
|
11607
|
+
enableStopAnswerGenerationEmbed?: boolean;
|
|
11566
11608
|
/**
|
|
11567
11609
|
* Configuration for customizing Spotter chat UI
|
|
11568
11610
|
* branding in tool response cards.
|
|
@@ -9815,6 +9815,15 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, "primaryAct
|
|
|
9815
9815
|
* ```
|
|
9816
9816
|
*/
|
|
9817
9817
|
updatedSpotterChatPrompt?: boolean;
|
|
9818
|
+
/**
|
|
9819
|
+
* Enables the stop answer generation button in the Spotter embed UI,
|
|
9820
|
+
* allowing users to interrupt an ongoing answer generation.
|
|
9821
|
+
*
|
|
9822
|
+
* Supported embed types: `SpotterEmbed`
|
|
9823
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
9824
|
+
* @default false
|
|
9825
|
+
*/
|
|
9826
|
+
enableStopAnswerGenerationEmbed?: boolean;
|
|
9818
9827
|
/**
|
|
9819
9828
|
* Controls the visibility of the past conversations sidebar.
|
|
9820
9829
|
*
|
|
@@ -10441,6 +10450,21 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
10441
10450
|
* @version SDK: 1.33.0 | ThoughtSpot: 10.3.0.cl
|
|
10442
10451
|
*/
|
|
10443
10452
|
homePageSearchBarMode?: HomePageSearchBarMode;
|
|
10453
|
+
/**
|
|
10454
|
+
* This flag is used to enable unified search experience for full app embed.
|
|
10455
|
+
*
|
|
10456
|
+
* Supported embed types: `AppEmbed`
|
|
10457
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.5.0.cl
|
|
10458
|
+
* @default true
|
|
10459
|
+
* @example
|
|
10460
|
+
* ```js
|
|
10461
|
+
* const embed = new AppEmbed('#tsEmbed', {
|
|
10462
|
+
* ... // other embed view config
|
|
10463
|
+
* isUnifiedSearchExperienceEnabled: true,
|
|
10464
|
+
* })
|
|
10465
|
+
* ```
|
|
10466
|
+
*/
|
|
10467
|
+
isUnifiedSearchExperienceEnabled?: boolean;
|
|
10444
10468
|
/**
|
|
10445
10469
|
* This flag is used to enable/disable the styling and grouping in a Liveboard. Use {@link isLiveboardMasterpiecesEnabled} instead.
|
|
10446
10470
|
* @deprecated This flag is deprecated.
|
|
@@ -10627,6 +10651,15 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
10627
10651
|
* ```
|
|
10628
10652
|
*/
|
|
10629
10653
|
spotterChatConfig?: SpotterChatViewConfig;
|
|
10654
|
+
/**
|
|
10655
|
+
* Enables the stop answer generation button in the Spotter embed UI,
|
|
10656
|
+
* allowing users to interrupt an ongoing answer generation.
|
|
10657
|
+
*
|
|
10658
|
+
* Supported embed types: `AppEmbed`
|
|
10659
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
10660
|
+
* @default false
|
|
10661
|
+
*/
|
|
10662
|
+
enableStopAnswerGenerationEmbed?: boolean;
|
|
10630
10663
|
/**
|
|
10631
10664
|
* This is the minimum height (in pixels) for a full-height App.
|
|
10632
10665
|
* Setting this height helps resolve issues with empty Apps and
|
|
@@ -11511,6 +11544,15 @@ export interface LiveboardViewConfig extends BaseViewConfig, SearchLiveboardComm
|
|
|
11511
11544
|
* ```
|
|
11512
11545
|
*/
|
|
11513
11546
|
updatedSpotterChatPrompt?: boolean;
|
|
11547
|
+
/**
|
|
11548
|
+
* Enables the stop answer generation button in the Spotter embed UI,
|
|
11549
|
+
* allowing users to interrupt an ongoing answer generation.
|
|
11550
|
+
*
|
|
11551
|
+
* Supported embed types: `LiveboardEmbed`
|
|
11552
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
11553
|
+
* @default false
|
|
11554
|
+
*/
|
|
11555
|
+
enableStopAnswerGenerationEmbed?: boolean;
|
|
11514
11556
|
/**
|
|
11515
11557
|
* Configuration for customizing Spotter chat UI
|
|
11516
11558
|
* branding in tool response cards.
|