@thoughtspot/visual-embed-sdk 1.47.1 → 1.47.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/package.json +3 -3
- package/cjs/src/embed/app.d.ts +13 -0
- package/cjs/src/embed/app.d.ts.map +1 -1
- package/cjs/src/embed/app.js +4 -1
- package/cjs/src/embed/app.js.map +1 -1
- package/cjs/src/embed/app.spec.js +29 -0
- package/cjs/src/embed/app.spec.js.map +1 -1
- package/cjs/src/embed/hostEventClient/contracts.d.ts +4 -1
- package/cjs/src/embed/hostEventClient/contracts.d.ts.map +1 -1
- package/cjs/src/embed/hostEventClient/host-event-client.spec.js +2 -2
- package/cjs/src/embed/hostEventClient/host-event-client.spec.js.map +1 -1
- package/cjs/src/embed/liveboard.d.ts +13 -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 +32 -0
- package/cjs/src/embed/liveboard.spec.js.map +1 -1
- package/cjs/src/embed/ts-embed.d.ts +13 -1
- package/cjs/src/embed/ts-embed.d.ts.map +1 -1
- package/cjs/src/embed/ts-embed.js +14 -0
- package/cjs/src/embed/ts-embed.js.map +1 -1
- package/cjs/src/types.d.ts +108 -6
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +104 -2
- package/cjs/src/types.js.map +1 -1
- package/dist/{index-CUgxBnPm.js → index-CFZ7RDZ9.js} +1 -1
- package/dist/src/embed/app.d.ts +13 -0
- package/dist/src/embed/app.d.ts.map +1 -1
- package/dist/src/embed/hostEventClient/contracts.d.ts +4 -1
- package/dist/src/embed/hostEventClient/contracts.d.ts.map +1 -1
- package/dist/src/embed/liveboard.d.ts +13 -0
- package/dist/src/embed/liveboard.d.ts.map +1 -1
- package/dist/src/embed/ts-embed.d.ts +13 -1
- package/dist/src/embed/ts-embed.d.ts.map +1 -1
- package/dist/src/types.d.ts +108 -6
- package/dist/src/types.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +131 -9
- package/dist/tsembed-react.js +130 -8
- package/dist/tsembed.es.js +131 -9
- package/dist/tsembed.js +130 -8
- package/dist/visual-embed-sdk-react-full.d.ts +147 -6
- package/dist/visual-embed-sdk-react.d.ts +147 -6
- package/dist/visual-embed-sdk.d.ts +147 -6
- package/lib/package.json +3 -3
- package/lib/src/embed/app.d.ts +13 -0
- package/lib/src/embed/app.d.ts.map +1 -1
- package/lib/src/embed/app.js +4 -1
- package/lib/src/embed/app.js.map +1 -1
- package/lib/src/embed/app.spec.js +29 -0
- package/lib/src/embed/app.spec.js.map +1 -1
- package/lib/src/embed/hostEventClient/contracts.d.ts +4 -1
- package/lib/src/embed/hostEventClient/contracts.d.ts.map +1 -1
- package/lib/src/embed/hostEventClient/host-event-client.spec.js +2 -2
- package/lib/src/embed/hostEventClient/host-event-client.spec.js.map +1 -1
- package/lib/src/embed/liveboard.d.ts +13 -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 +32 -0
- package/lib/src/embed/liveboard.spec.js.map +1 -1
- package/lib/src/embed/ts-embed.d.ts +13 -1
- package/lib/src/embed/ts-embed.d.ts.map +1 -1
- package/lib/src/embed/ts-embed.js +14 -0
- package/lib/src/embed/ts-embed.js.map +1 -1
- package/lib/src/types.d.ts +108 -6
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +104 -2
- package/lib/src/types.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +147 -6
- package/package.json +3 -3
- package/src/embed/app.spec.ts +38 -0
- package/src/embed/app.ts +18 -0
- package/src/embed/hostEventClient/contracts.ts +2 -1
- package/src/embed/hostEventClient/host-event-client.spec.ts +2 -2
- package/src/embed/liveboard.spec.ts +41 -0
- package/src/embed/liveboard.ts +18 -0
- package/src/embed/ts-embed.ts +15 -0
- package/src/types.ts +107 -2
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.2 */
|
|
2
2
|
'use client';
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) :
|
|
@@ -1985,6 +1985,53 @@
|
|
|
1985
1985
|
* @version SDK: 1.45.2 | ThoughtSpot: 26.3.0.cl
|
|
1986
1986
|
*/
|
|
1987
1987
|
EmbedEvent["RefreshAuthToken"] = "RefreshAuthToken";
|
|
1988
|
+
/**
|
|
1989
|
+
* Triggered whenever the page context changes, returning the current context along with the navigation stack.
|
|
1990
|
+
* @example
|
|
1991
|
+
* ```js
|
|
1992
|
+
* embed.on(EmbedEvent.EmbedPageContextChanged, (payload) => {
|
|
1993
|
+
* console.log('payload', payload);
|
|
1994
|
+
* })
|
|
1995
|
+
* ```
|
|
1996
|
+
* @version SDK: 1.47.2 | ThoughtSpot: 26.3.0.cl
|
|
1997
|
+
*/
|
|
1998
|
+
EmbedEvent["EmbedPageContextChanged"] = "EmbedPageContextChanged";
|
|
1999
|
+
/**
|
|
2000
|
+
* Represents a special embed event that is triggered whenever any host event is subscribed.
|
|
2001
|
+
*
|
|
2002
|
+
* You can listen to this event when you need to dispatch a host event during load or render,
|
|
2003
|
+
* particularly in situations where timing issues may occur.
|
|
2004
|
+
*
|
|
2005
|
+
* @example
|
|
2006
|
+
* ```js
|
|
2007
|
+
* embed.on(`${HostEvent.Save} Subscribed`, () => {
|
|
2008
|
+
* // make action
|
|
2009
|
+
* });
|
|
2010
|
+
* ```
|
|
2011
|
+
*
|
|
2012
|
+
* @example
|
|
2013
|
+
* ```js
|
|
2014
|
+
* embed.on(subscribedEvent(HostEvent.Save), () => {
|
|
2015
|
+
* // make action
|
|
2016
|
+
* });
|
|
2017
|
+
* ```
|
|
2018
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.4.0.cl
|
|
2019
|
+
*/
|
|
2020
|
+
EmbedEvent["Subscribed"] = "Subscribed";
|
|
2021
|
+
/**
|
|
2022
|
+
* Emitted when a user clicks the **Send Test Email** button in the
|
|
2023
|
+
* Liveboard schedule modal. Requires `isSendNowLiveboardSchedulingEnabled`
|
|
2024
|
+
* to be enabled.
|
|
2025
|
+
* @example
|
|
2026
|
+
* ```js
|
|
2027
|
+
* liveboardEmbed.on(EmbedEvent.SendTestScheduleEmail, (payload) => {
|
|
2028
|
+
* console.log('Send test email', payload);
|
|
2029
|
+
* // payload: { liveboardId: string, sendToSelf: boolean }
|
|
2030
|
+
* })
|
|
2031
|
+
* ```
|
|
2032
|
+
* @version SDK: 1.48.0 | ThoughtSpot Cloud: 26.5.0.cl
|
|
2033
|
+
*/
|
|
2034
|
+
EmbedEvent["SendTestScheduleEmail"] = "sendTestScheduleEmail";
|
|
1988
2035
|
})(exports.EmbedEvent || (exports.EmbedEvent = {}));
|
|
1989
2036
|
/**
|
|
1990
2037
|
* Event types that can be triggered by the host application
|
|
@@ -3684,7 +3731,8 @@
|
|
|
3684
3731
|
* ```js
|
|
3685
3732
|
* // Get parameters from liveboard context
|
|
3686
3733
|
* import { ContextType } from '@thoughtspot/visual-embed-sdk';
|
|
3687
|
-
* liveboardEmbed.trigger(HostEvent.GetParameters, {},
|
|
3734
|
+
* liveboardEmbed.trigger(HostEvent.GetParameters, {},
|
|
3735
|
+
* ContextType.Liveboard).then((parameters) => {
|
|
3688
3736
|
* console.log('parameters', parameters);
|
|
3689
3737
|
* });
|
|
3690
3738
|
* ```
|
|
@@ -4036,6 +4084,26 @@
|
|
|
4036
4084
|
* @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
|
|
4037
4085
|
*/
|
|
4038
4086
|
HostEvent["GetPageContext"] = "GetPageContext";
|
|
4087
|
+
/**
|
|
4088
|
+
* Trigger the **Send Test Email** action in the Liveboard schedule modal.
|
|
4089
|
+
* Sends a test schedule email to self or all recipients.
|
|
4090
|
+
* Requires `isSendNowLiveboardSchedulingEnabled` to be enabled.
|
|
4091
|
+
* @example
|
|
4092
|
+
* ```js
|
|
4093
|
+
* liveboardEmbed.trigger(HostEvent.SendTestScheduleEmail, {
|
|
4094
|
+
* sendToSelf: true,
|
|
4095
|
+
* })
|
|
4096
|
+
* ```
|
|
4097
|
+
* @example
|
|
4098
|
+
* ```js
|
|
4099
|
+
* // Send to all recipients
|
|
4100
|
+
* liveboardEmbed.trigger(HostEvent.SendTestScheduleEmail, {
|
|
4101
|
+
* sendToSelf: false,
|
|
4102
|
+
* })
|
|
4103
|
+
* ```
|
|
4104
|
+
* @version SDK: 1.48.0 | ThoughtSpot Cloud: 26.5.0.cl
|
|
4105
|
+
*/
|
|
4106
|
+
HostEvent["SendTestScheduleEmail"] = "sendTestScheduleEmail";
|
|
4039
4107
|
})(exports.HostEvent || (exports.HostEvent = {}));
|
|
4040
4108
|
/**
|
|
4041
4109
|
* The different visual modes that the data sources panel within
|
|
@@ -4190,6 +4258,7 @@
|
|
|
4190
4258
|
Param["IsWYSIWYGLiveboardPDFEnabled"] = "isWYSIWYGLiveboardPDFEnabled";
|
|
4191
4259
|
Param["isLiveboardXLSXCSVDownloadEnabled"] = "isLiveboardXLSXCSVDownloadEnabled";
|
|
4192
4260
|
Param["isGranularXLSXCSVSchedulesEnabled"] = "isGranularXLSXCSVSchedulesEnabled";
|
|
4261
|
+
Param["isSendNowLiveboardSchedulingEnabled"] = "isSendNowLiveboardSchedulingEnabled";
|
|
4193
4262
|
Param["isCentralizedLiveboardFilterUXEnabled"] = "isCentralizedLiveboardFilterUXEnabled";
|
|
4194
4263
|
Param["isLinkParametersEnabled"] = "isLinkParametersEnabled";
|
|
4195
4264
|
Param["EnablePastConversationsSidebar"] = "enablePastConversationsSidebar";
|
|
@@ -4209,6 +4278,7 @@
|
|
|
4209
4278
|
Param["HideToolResponseCardBranding"] = "hideToolResponseCardBranding";
|
|
4210
4279
|
Param["ToolResponseCardBrandingLabel"] = "toolResponseCardBrandingLabel";
|
|
4211
4280
|
Param["EnableHomepageAnnouncement"] = "enableHomepageAnnouncement";
|
|
4281
|
+
Param["EnableLiveboardDataCache"] = "enableLiveboardDataCache";
|
|
4212
4282
|
})(Param || (Param = {}));
|
|
4213
4283
|
/**
|
|
4214
4284
|
* ThoughtSpot application pages include actions and menu commands
|
|
@@ -4530,7 +4600,7 @@
|
|
|
4530
4600
|
* ```js
|
|
4531
4601
|
* disabledActions: [Action.DownloadLiveboard]
|
|
4532
4602
|
* ```
|
|
4533
|
-
* @version SDK: 1.
|
|
4603
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
4534
4604
|
*/
|
|
4535
4605
|
Action["DownloadLiveboard"] = "downloadLiveboard";
|
|
4536
4606
|
/**
|
|
@@ -4543,6 +4613,26 @@
|
|
|
4543
4613
|
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
4544
4614
|
*/
|
|
4545
4615
|
Action["DownloadLiveboardAsContinuousPDF"] = "downloadLiveboardAsContinuousPDF";
|
|
4616
|
+
/**
|
|
4617
|
+
* The **Download Liveboard as XLSX** menu action on a Liveboard.
|
|
4618
|
+
* Allows downloading the entire Liveboard as an XLSX file.
|
|
4619
|
+
* @example
|
|
4620
|
+
* ```js
|
|
4621
|
+
* disabledActions: [Action.DownloadLiveboardAsXlsx]
|
|
4622
|
+
* ```
|
|
4623
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
4624
|
+
*/
|
|
4625
|
+
Action["DownloadLiveboardAsXlsx"] = "downloadLiveboardAsXlsx";
|
|
4626
|
+
/**
|
|
4627
|
+
* The **Download Liveboard as CSV** menu action on a Liveboard.
|
|
4628
|
+
* Allows downloading the entire Liveboard as a CSV file.
|
|
4629
|
+
* @example
|
|
4630
|
+
* ```js
|
|
4631
|
+
* disabledActions: [Action.DownloadLiveboardAsCsv]
|
|
4632
|
+
* ```
|
|
4633
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
4634
|
+
*/
|
|
4635
|
+
Action["DownloadLiveboardAsCsv"] = "downloadLiveboardAsCsv";
|
|
4546
4636
|
/**
|
|
4547
4637
|
* @hidden
|
|
4548
4638
|
*/
|
|
@@ -5805,6 +5895,18 @@
|
|
|
5805
5895
|
* @version SDK: 1.45.0 | ThoughtSpot: 26.4.0.cl
|
|
5806
5896
|
*/
|
|
5807
5897
|
Action["IncludeCurrentPeriod"] = "includeCurrentPeriod";
|
|
5898
|
+
/**
|
|
5899
|
+
* The **Send Test Email** button in the Liveboard schedule modal.
|
|
5900
|
+
* Allows sending a test schedule email to self or all recipients.
|
|
5901
|
+
* Requires `isSendNowLiveboardSchedulingEnabled` to be enabled.
|
|
5902
|
+
* @example
|
|
5903
|
+
* ```js
|
|
5904
|
+
* disabledActions: [Action.SendTestScheduleEmail]
|
|
5905
|
+
* hiddenActions: [Action.SendTestScheduleEmail]
|
|
5906
|
+
* ```
|
|
5907
|
+
* @version SDK: 1.48.0 | ThoughtSpot Cloud: 26.5.0.cl
|
|
5908
|
+
*/
|
|
5909
|
+
Action["SendTestScheduleEmail"] = "sendTestScheduleEmail";
|
|
5808
5910
|
})(exports.Action || (exports.Action = {}));
|
|
5809
5911
|
var PrefetchFeatures;
|
|
5810
5912
|
(function (PrefetchFeatures) {
|
|
@@ -7700,7 +7802,7 @@
|
|
|
7700
7802
|
* @name has
|
|
7701
7803
|
* @memberOf SetCache
|
|
7702
7804
|
* @param {*} value The value to search for.
|
|
7703
|
-
* @returns {
|
|
7805
|
+
* @returns {boolean} Returns `true` if `value` is found, else `false`.
|
|
7704
7806
|
*/
|
|
7705
7807
|
function setCacheHas(value) {
|
|
7706
7808
|
return this.__data__.has(value);
|
|
@@ -11069,7 +11171,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
11069
11171
|
if (isArray_1(iteratee)) {
|
|
11070
11172
|
return function(value) {
|
|
11071
11173
|
return _baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);
|
|
11072
|
-
}
|
|
11174
|
+
};
|
|
11073
11175
|
}
|
|
11074
11176
|
return iteratee;
|
|
11075
11177
|
});
|
|
@@ -19287,7 +19389,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
19287
19389
|
return eventData;
|
|
19288
19390
|
}
|
|
19289
19391
|
|
|
19290
|
-
var version$1="1.47.
|
|
19392
|
+
var version$1="1.47.2";var pkgInfo = {version:version$1};
|
|
19291
19393
|
|
|
19292
19394
|
function isValidUpdateFiltersPayload(payload) {
|
|
19293
19395
|
if (!payload)
|
|
@@ -20933,6 +21035,20 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
20933
21035
|
});
|
|
20934
21036
|
});
|
|
20935
21037
|
}
|
|
21038
|
+
/**
|
|
21039
|
+
* Generates the event name for a "Subscribed" embed event.
|
|
21040
|
+
*
|
|
21041
|
+
* This helper appends the "Subscribed" suffix to a given host or action event,
|
|
21042
|
+
* allowing you to listen for subscription lifecycle events in a consistent format.
|
|
21043
|
+
*
|
|
21044
|
+
* @param eventName - The host or action event to generate the subscribed event name for.
|
|
21045
|
+
* @returns The formatted event name (e.g., "Save Subscribed").
|
|
21046
|
+
*
|
|
21047
|
+
* @version SDK: 1.47.2 | ThoughtSpot: 26.3.0.cl
|
|
21048
|
+
*/
|
|
21049
|
+
subscribedEvent(eventName) {
|
|
21050
|
+
return `${eventName} ${exports.EmbedEvent.Subscribed}`;
|
|
21051
|
+
}
|
|
20936
21052
|
/**
|
|
20937
21053
|
* Creates the preRender shell
|
|
20938
21054
|
* @param showPreRenderByDefault - Show the preRender after render, hidden by default
|
|
@@ -21781,7 +21897,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
21781
21897
|
* embedded Liveboard or visualization.
|
|
21782
21898
|
*/
|
|
21783
21899
|
getEmbedParams() {
|
|
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;
|
|
21900
|
+
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, enableLiveboardDataCache, } = this.viewConfig;
|
|
21785
21901
|
let params = {};
|
|
21786
21902
|
params[Param.PrimaryNavHidden] = !showPrimaryNavbar;
|
|
21787
21903
|
params[Param.HideProfleAndHelp] = !!disableProfileAndHelp;
|
|
@@ -21889,6 +22005,9 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
21889
22005
|
params[Param.IsWYSIWYGLiveboardPDFEnabled] = isContinuousLiveboardPDFEnabled;
|
|
21890
22006
|
}
|
|
21891
22007
|
this.defaultHeight = minimumHeight || this.defaultHeight;
|
|
22008
|
+
if (enableLiveboardDataCache !== undefined) {
|
|
22009
|
+
params[Param.EnableLiveboardDataCache] = enableLiveboardDataCache;
|
|
22010
|
+
}
|
|
21892
22011
|
params[Param.DataPanelV2Enabled] = dataPanelV2;
|
|
21893
22012
|
params[Param.HideHomepageLeftNav] = hideHomepageLeftNav;
|
|
21894
22013
|
params[Param.ModularHomeExperienceEnabled] = modularHomeExperience;
|
|
@@ -22246,7 +22365,7 @@ query GetEurekaVizSnapshots(
|
|
|
22246
22365
|
getEmbedParamsObject() {
|
|
22247
22366
|
let params = {};
|
|
22248
22367
|
params = this.getBaseQueryParams(params);
|
|
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;
|
|
22368
|
+
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, enableLiveboardDataCache, } = this.viewConfig;
|
|
22250
22369
|
const preventLiveboardFilterRemoval = this.viewConfig.preventLiveboardFilterRemoval
|
|
22251
22370
|
|| this.viewConfig.preventPinboardFilterRemoval;
|
|
22252
22371
|
if (fullHeight === true) {
|
|
@@ -22341,6 +22460,9 @@ query GetEurekaVizSnapshots(
|
|
|
22341
22460
|
if (isContinuousLiveboardPDFEnabled !== undefined) {
|
|
22342
22461
|
params[Param.IsWYSIWYGLiveboardPDFEnabled] = isContinuousLiveboardPDFEnabled;
|
|
22343
22462
|
}
|
|
22463
|
+
if (enableLiveboardDataCache !== undefined) {
|
|
22464
|
+
params[Param.EnableLiveboardDataCache] = enableLiveboardDataCache;
|
|
22465
|
+
}
|
|
22344
22466
|
params[Param.LiveboardHeaderSticky] = isLiveboardHeaderSticky;
|
|
22345
22467
|
params[Param.LiveboardHeaderV2] = isLiveboardCompactHeaderEnabled;
|
|
22346
22468
|
params[Param.ShowLiveboardVerifiedBadge] = showLiveboardVerifiedBadge;
|
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.2 */
|
|
2
2
|
'use client';
|
|
3
3
|
function _mergeNamespaces(n, m) {
|
|
4
4
|
m.forEach(function (e) {
|
|
@@ -1795,6 +1795,53 @@ var EmbedEvent;
|
|
|
1795
1795
|
* @version SDK: 1.45.2 | ThoughtSpot: 26.3.0.cl
|
|
1796
1796
|
*/
|
|
1797
1797
|
EmbedEvent["RefreshAuthToken"] = "RefreshAuthToken";
|
|
1798
|
+
/**
|
|
1799
|
+
* Triggered whenever the page context changes, returning the current context along with the navigation stack.
|
|
1800
|
+
* @example
|
|
1801
|
+
* ```js
|
|
1802
|
+
* embed.on(EmbedEvent.EmbedPageContextChanged, (payload) => {
|
|
1803
|
+
* console.log('payload', payload);
|
|
1804
|
+
* })
|
|
1805
|
+
* ```
|
|
1806
|
+
* @version SDK: 1.47.2 | ThoughtSpot: 26.3.0.cl
|
|
1807
|
+
*/
|
|
1808
|
+
EmbedEvent["EmbedPageContextChanged"] = "EmbedPageContextChanged";
|
|
1809
|
+
/**
|
|
1810
|
+
* Represents a special embed event that is triggered whenever any host event is subscribed.
|
|
1811
|
+
*
|
|
1812
|
+
* You can listen to this event when you need to dispatch a host event during load or render,
|
|
1813
|
+
* particularly in situations where timing issues may occur.
|
|
1814
|
+
*
|
|
1815
|
+
* @example
|
|
1816
|
+
* ```js
|
|
1817
|
+
* embed.on(`${HostEvent.Save} Subscribed`, () => {
|
|
1818
|
+
* // make action
|
|
1819
|
+
* });
|
|
1820
|
+
* ```
|
|
1821
|
+
*
|
|
1822
|
+
* @example
|
|
1823
|
+
* ```js
|
|
1824
|
+
* embed.on(subscribedEvent(HostEvent.Save), () => {
|
|
1825
|
+
* // make action
|
|
1826
|
+
* });
|
|
1827
|
+
* ```
|
|
1828
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.4.0.cl
|
|
1829
|
+
*/
|
|
1830
|
+
EmbedEvent["Subscribed"] = "Subscribed";
|
|
1831
|
+
/**
|
|
1832
|
+
* Emitted when a user clicks the **Send Test Email** button in the
|
|
1833
|
+
* Liveboard schedule modal. Requires `isSendNowLiveboardSchedulingEnabled`
|
|
1834
|
+
* to be enabled.
|
|
1835
|
+
* @example
|
|
1836
|
+
* ```js
|
|
1837
|
+
* liveboardEmbed.on(EmbedEvent.SendTestScheduleEmail, (payload) => {
|
|
1838
|
+
* console.log('Send test email', payload);
|
|
1839
|
+
* // payload: { liveboardId: string, sendToSelf: boolean }
|
|
1840
|
+
* })
|
|
1841
|
+
* ```
|
|
1842
|
+
* @version SDK: 1.48.0 | ThoughtSpot Cloud: 26.5.0.cl
|
|
1843
|
+
*/
|
|
1844
|
+
EmbedEvent["SendTestScheduleEmail"] = "sendTestScheduleEmail";
|
|
1798
1845
|
})(EmbedEvent || (EmbedEvent = {}));
|
|
1799
1846
|
/**
|
|
1800
1847
|
* Event types that can be triggered by the host application
|
|
@@ -3494,7 +3541,8 @@ var HostEvent;
|
|
|
3494
3541
|
* ```js
|
|
3495
3542
|
* // Get parameters from liveboard context
|
|
3496
3543
|
* import { ContextType } from '@thoughtspot/visual-embed-sdk';
|
|
3497
|
-
* liveboardEmbed.trigger(HostEvent.GetParameters, {},
|
|
3544
|
+
* liveboardEmbed.trigger(HostEvent.GetParameters, {},
|
|
3545
|
+
* ContextType.Liveboard).then((parameters) => {
|
|
3498
3546
|
* console.log('parameters', parameters);
|
|
3499
3547
|
* });
|
|
3500
3548
|
* ```
|
|
@@ -3846,6 +3894,26 @@ var HostEvent;
|
|
|
3846
3894
|
* @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
|
|
3847
3895
|
*/
|
|
3848
3896
|
HostEvent["GetPageContext"] = "GetPageContext";
|
|
3897
|
+
/**
|
|
3898
|
+
* Trigger the **Send Test Email** action in the Liveboard schedule modal.
|
|
3899
|
+
* Sends a test schedule email to self or all recipients.
|
|
3900
|
+
* Requires `isSendNowLiveboardSchedulingEnabled` to be enabled.
|
|
3901
|
+
* @example
|
|
3902
|
+
* ```js
|
|
3903
|
+
* liveboardEmbed.trigger(HostEvent.SendTestScheduleEmail, {
|
|
3904
|
+
* sendToSelf: true,
|
|
3905
|
+
* })
|
|
3906
|
+
* ```
|
|
3907
|
+
* @example
|
|
3908
|
+
* ```js
|
|
3909
|
+
* // Send to all recipients
|
|
3910
|
+
* liveboardEmbed.trigger(HostEvent.SendTestScheduleEmail, {
|
|
3911
|
+
* sendToSelf: false,
|
|
3912
|
+
* })
|
|
3913
|
+
* ```
|
|
3914
|
+
* @version SDK: 1.48.0 | ThoughtSpot Cloud: 26.5.0.cl
|
|
3915
|
+
*/
|
|
3916
|
+
HostEvent["SendTestScheduleEmail"] = "sendTestScheduleEmail";
|
|
3849
3917
|
})(HostEvent || (HostEvent = {}));
|
|
3850
3918
|
/**
|
|
3851
3919
|
* The different visual modes that the data sources panel within
|
|
@@ -4000,6 +4068,7 @@ var Param;
|
|
|
4000
4068
|
Param["IsWYSIWYGLiveboardPDFEnabled"] = "isWYSIWYGLiveboardPDFEnabled";
|
|
4001
4069
|
Param["isLiveboardXLSXCSVDownloadEnabled"] = "isLiveboardXLSXCSVDownloadEnabled";
|
|
4002
4070
|
Param["isGranularXLSXCSVSchedulesEnabled"] = "isGranularXLSXCSVSchedulesEnabled";
|
|
4071
|
+
Param["isSendNowLiveboardSchedulingEnabled"] = "isSendNowLiveboardSchedulingEnabled";
|
|
4003
4072
|
Param["isCentralizedLiveboardFilterUXEnabled"] = "isCentralizedLiveboardFilterUXEnabled";
|
|
4004
4073
|
Param["isLinkParametersEnabled"] = "isLinkParametersEnabled";
|
|
4005
4074
|
Param["EnablePastConversationsSidebar"] = "enablePastConversationsSidebar";
|
|
@@ -4019,6 +4088,7 @@ var Param;
|
|
|
4019
4088
|
Param["HideToolResponseCardBranding"] = "hideToolResponseCardBranding";
|
|
4020
4089
|
Param["ToolResponseCardBrandingLabel"] = "toolResponseCardBrandingLabel";
|
|
4021
4090
|
Param["EnableHomepageAnnouncement"] = "enableHomepageAnnouncement";
|
|
4091
|
+
Param["EnableLiveboardDataCache"] = "enableLiveboardDataCache";
|
|
4022
4092
|
})(Param || (Param = {}));
|
|
4023
4093
|
/**
|
|
4024
4094
|
* ThoughtSpot application pages include actions and menu commands
|
|
@@ -4340,7 +4410,7 @@ var Action;
|
|
|
4340
4410
|
* ```js
|
|
4341
4411
|
* disabledActions: [Action.DownloadLiveboard]
|
|
4342
4412
|
* ```
|
|
4343
|
-
* @version SDK: 1.
|
|
4413
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
4344
4414
|
*/
|
|
4345
4415
|
Action["DownloadLiveboard"] = "downloadLiveboard";
|
|
4346
4416
|
/**
|
|
@@ -4353,6 +4423,26 @@ var Action;
|
|
|
4353
4423
|
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
4354
4424
|
*/
|
|
4355
4425
|
Action["DownloadLiveboardAsContinuousPDF"] = "downloadLiveboardAsContinuousPDF";
|
|
4426
|
+
/**
|
|
4427
|
+
* The **Download Liveboard as XLSX** menu action on a Liveboard.
|
|
4428
|
+
* Allows downloading the entire Liveboard as an XLSX file.
|
|
4429
|
+
* @example
|
|
4430
|
+
* ```js
|
|
4431
|
+
* disabledActions: [Action.DownloadLiveboardAsXlsx]
|
|
4432
|
+
* ```
|
|
4433
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
4434
|
+
*/
|
|
4435
|
+
Action["DownloadLiveboardAsXlsx"] = "downloadLiveboardAsXlsx";
|
|
4436
|
+
/**
|
|
4437
|
+
* The **Download Liveboard as CSV** menu action on a Liveboard.
|
|
4438
|
+
* Allows downloading the entire Liveboard as a CSV file.
|
|
4439
|
+
* @example
|
|
4440
|
+
* ```js
|
|
4441
|
+
* disabledActions: [Action.DownloadLiveboardAsCsv]
|
|
4442
|
+
* ```
|
|
4443
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
4444
|
+
*/
|
|
4445
|
+
Action["DownloadLiveboardAsCsv"] = "downloadLiveboardAsCsv";
|
|
4356
4446
|
/**
|
|
4357
4447
|
* @hidden
|
|
4358
4448
|
*/
|
|
@@ -5615,6 +5705,18 @@ var Action;
|
|
|
5615
5705
|
* @version SDK: 1.45.0 | ThoughtSpot: 26.4.0.cl
|
|
5616
5706
|
*/
|
|
5617
5707
|
Action["IncludeCurrentPeriod"] = "includeCurrentPeriod";
|
|
5708
|
+
/**
|
|
5709
|
+
* The **Send Test Email** button in the Liveboard schedule modal.
|
|
5710
|
+
* Allows sending a test schedule email to self or all recipients.
|
|
5711
|
+
* Requires `isSendNowLiveboardSchedulingEnabled` to be enabled.
|
|
5712
|
+
* @example
|
|
5713
|
+
* ```js
|
|
5714
|
+
* disabledActions: [Action.SendTestScheduleEmail]
|
|
5715
|
+
* hiddenActions: [Action.SendTestScheduleEmail]
|
|
5716
|
+
* ```
|
|
5717
|
+
* @version SDK: 1.48.0 | ThoughtSpot Cloud: 26.5.0.cl
|
|
5718
|
+
*/
|
|
5719
|
+
Action["SendTestScheduleEmail"] = "sendTestScheduleEmail";
|
|
5618
5720
|
})(Action || (Action = {}));
|
|
5619
5721
|
var PrefetchFeatures;
|
|
5620
5722
|
(function (PrefetchFeatures) {
|
|
@@ -7562,7 +7664,7 @@ var _setCacheAdd = setCacheAdd;
|
|
|
7562
7664
|
* @name has
|
|
7563
7665
|
* @memberOf SetCache
|
|
7564
7666
|
* @param {*} value The value to search for.
|
|
7565
|
-
* @returns {
|
|
7667
|
+
* @returns {boolean} Returns `true` if `value` is found, else `false`.
|
|
7566
7668
|
*/
|
|
7567
7669
|
function setCacheHas(value) {
|
|
7568
7670
|
return this.__data__.has(value);
|
|
@@ -9855,7 +9957,7 @@ class AnswerService {
|
|
|
9855
9957
|
async getTML() {
|
|
9856
9958
|
const { object } = await this.executeQuery(getAnswerTML, {});
|
|
9857
9959
|
const edoc = object[0].edoc;
|
|
9858
|
-
const YAML = await import('./index-
|
|
9960
|
+
const YAML = await import('./index-CFZ7RDZ9.js');
|
|
9859
9961
|
const parsedDoc = YAML.parse(edoc);
|
|
9860
9962
|
return {
|
|
9861
9963
|
answer: {
|
|
@@ -10931,7 +11033,7 @@ function baseOrderBy(collection, iteratees, orders) {
|
|
|
10931
11033
|
if (isArray_1(iteratee)) {
|
|
10932
11034
|
return function(value) {
|
|
10933
11035
|
return _baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);
|
|
10934
|
-
}
|
|
11036
|
+
};
|
|
10935
11037
|
}
|
|
10936
11038
|
return iteratee;
|
|
10937
11039
|
});
|
|
@@ -19331,7 +19433,7 @@ function processEventData(type, eventData, thoughtSpotHost, containerEl) {
|
|
|
19331
19433
|
return eventData;
|
|
19332
19434
|
}
|
|
19333
19435
|
|
|
19334
|
-
var version$1="1.47.
|
|
19436
|
+
var version$1="1.47.2";var pkgInfo = {version:version$1};
|
|
19335
19437
|
|
|
19336
19438
|
function isValidUpdateFiltersPayload(payload) {
|
|
19337
19439
|
if (!payload)
|
|
@@ -20977,6 +21079,20 @@ class TsEmbed {
|
|
|
20977
21079
|
});
|
|
20978
21080
|
});
|
|
20979
21081
|
}
|
|
21082
|
+
/**
|
|
21083
|
+
* Generates the event name for a "Subscribed" embed event.
|
|
21084
|
+
*
|
|
21085
|
+
* This helper appends the "Subscribed" suffix to a given host or action event,
|
|
21086
|
+
* allowing you to listen for subscription lifecycle events in a consistent format.
|
|
21087
|
+
*
|
|
21088
|
+
* @param eventName - The host or action event to generate the subscribed event name for.
|
|
21089
|
+
* @returns The formatted event name (e.g., "Save Subscribed").
|
|
21090
|
+
*
|
|
21091
|
+
* @version SDK: 1.47.2 | ThoughtSpot: 26.3.0.cl
|
|
21092
|
+
*/
|
|
21093
|
+
subscribedEvent(eventName) {
|
|
21094
|
+
return `${eventName} ${EmbedEvent.Subscribed}`;
|
|
21095
|
+
}
|
|
20980
21096
|
/**
|
|
20981
21097
|
* Creates the preRender shell
|
|
20982
21098
|
* @param showPreRenderByDefault - Show the preRender after render, hidden by default
|
|
@@ -21566,7 +21682,7 @@ class AppEmbed extends V1Embed {
|
|
|
21566
21682
|
* embedded Liveboard or visualization.
|
|
21567
21683
|
*/
|
|
21568
21684
|
getEmbedParams() {
|
|
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;
|
|
21685
|
+
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, enableLiveboardDataCache, } = this.viewConfig;
|
|
21570
21686
|
let params = {};
|
|
21571
21687
|
params[Param.PrimaryNavHidden] = !showPrimaryNavbar;
|
|
21572
21688
|
params[Param.HideProfleAndHelp] = !!disableProfileAndHelp;
|
|
@@ -21674,6 +21790,9 @@ class AppEmbed extends V1Embed {
|
|
|
21674
21790
|
params[Param.IsWYSIWYGLiveboardPDFEnabled] = isContinuousLiveboardPDFEnabled;
|
|
21675
21791
|
}
|
|
21676
21792
|
this.defaultHeight = minimumHeight || this.defaultHeight;
|
|
21793
|
+
if (enableLiveboardDataCache !== undefined) {
|
|
21794
|
+
params[Param.EnableLiveboardDataCache] = enableLiveboardDataCache;
|
|
21795
|
+
}
|
|
21677
21796
|
params[Param.DataPanelV2Enabled] = dataPanelV2;
|
|
21678
21797
|
params[Param.HideHomepageLeftNav] = hideHomepageLeftNav;
|
|
21679
21798
|
params[Param.ModularHomeExperienceEnabled] = modularHomeExperience;
|
|
@@ -22031,7 +22150,7 @@ class LiveboardEmbed extends V1Embed {
|
|
|
22031
22150
|
getEmbedParamsObject() {
|
|
22032
22151
|
let params = {};
|
|
22033
22152
|
params = this.getBaseQueryParams(params);
|
|
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;
|
|
22153
|
+
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, enableLiveboardDataCache, } = this.viewConfig;
|
|
22035
22154
|
const preventLiveboardFilterRemoval = this.viewConfig.preventLiveboardFilterRemoval
|
|
22036
22155
|
|| this.viewConfig.preventPinboardFilterRemoval;
|
|
22037
22156
|
if (fullHeight === true) {
|
|
@@ -22126,6 +22245,9 @@ class LiveboardEmbed extends V1Embed {
|
|
|
22126
22245
|
if (isContinuousLiveboardPDFEnabled !== undefined) {
|
|
22127
22246
|
params[Param.IsWYSIWYGLiveboardPDFEnabled] = isContinuousLiveboardPDFEnabled;
|
|
22128
22247
|
}
|
|
22248
|
+
if (enableLiveboardDataCache !== undefined) {
|
|
22249
|
+
params[Param.EnableLiveboardDataCache] = enableLiveboardDataCache;
|
|
22250
|
+
}
|
|
22129
22251
|
params[Param.LiveboardHeaderSticky] = isLiveboardHeaderSticky;
|
|
22130
22252
|
params[Param.LiveboardHeaderV2] = isLiveboardCompactHeaderEnabled;
|
|
22131
22253
|
params[Param.ShowLiveboardVerifiedBadge] = showLiveboardVerifiedBadge;
|