@thoughtspot/visual-embed-sdk 1.47.1 → 1.47.3
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 +19 -1
- 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 +141 -0
- package/cjs/src/embed/app.spec.js.map +1 -1
- package/cjs/src/embed/conversation.d.ts +2 -1
- package/cjs/src/embed/conversation.d.ts.map +1 -1
- package/cjs/src/embed/conversation.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 +7 -1
- package/cjs/src/embed/liveboard.js.map +1 -1
- package/cjs/src/embed/liveboard.spec.js +54 -0
- package/cjs/src/embed/liveboard.spec.js.map +1 -1
- package/cjs/src/embed/search.d.ts +24 -1
- package/cjs/src/embed/search.d.ts.map +1 -1
- package/cjs/src/embed/search.js +15 -2
- package/cjs/src/embed/search.js.map +1 -1
- package/cjs/src/embed/search.spec.js +99 -0
- package/cjs/src/embed/search.spec.js.map +1 -1
- package/cjs/src/embed/spotter-utils.d.ts +3 -0
- package/cjs/src/embed/spotter-utils.d.ts.map +1 -1
- package/cjs/src/embed/spotter-utils.js +11 -3
- package/cjs/src/embed/spotter-utils.js.map +1 -1
- package/cjs/src/embed/spotter-utils.spec.js +51 -0
- package/cjs/src/embed/spotter-utils.spec.js.map +1 -1
- package/cjs/src/embed/ts-embed.d.ts +14 -1
- package/cjs/src/embed/ts-embed.d.ts.map +1 -1
- package/cjs/src/embed/ts-embed.js +29 -3
- package/cjs/src/embed/ts-embed.js.map +1 -1
- package/cjs/src/embed/ts-embed.spec.js +139 -0
- package/cjs/src/embed/ts-embed.spec.js.map +1 -1
- package/cjs/src/index.d.ts +2 -2
- package/cjs/src/index.d.ts.map +1 -1
- package/cjs/src/index.js +8 -1
- package/cjs/src/index.js.map +1 -1
- package/cjs/src/mixpanel-service.d.ts.map +1 -1
- package/cjs/src/mixpanel-service.js +2 -0
- package/cjs/src/mixpanel-service.js.map +1 -1
- package/cjs/src/mixpanel-service.spec.js +2 -0
- package/cjs/src/mixpanel-service.spec.js.map +1 -1
- package/cjs/src/test/test-utils.d.ts +1 -0
- package/cjs/src/test/test-utils.d.ts.map +1 -1
- package/cjs/src/test/test-utils.js +26 -1
- package/cjs/src/test/test-utils.js.map +1 -1
- package/cjs/src/types.d.ts +532 -6
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +225 -3
- package/cjs/src/types.js.map +1 -1
- package/dist/{index-CUgxBnPm.js → index-DZq20cR6.js} +1 -1
- package/dist/src/embed/app.d.ts +19 -1
- package/dist/src/embed/app.d.ts.map +1 -1
- package/dist/src/embed/conversation.d.ts +2 -1
- package/dist/src/embed/conversation.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/search.d.ts +24 -1
- package/dist/src/embed/search.d.ts.map +1 -1
- package/dist/src/embed/spotter-utils.d.ts +3 -0
- package/dist/src/embed/spotter-utils.d.ts.map +1 -1
- package/dist/src/embed/ts-embed.d.ts +14 -1
- package/dist/src/embed/ts-embed.d.ts.map +1 -1
- package/dist/src/index.d.ts +2 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/mixpanel-service.d.ts.map +1 -1
- package/dist/src/test/test-utils.d.ts +1 -0
- package/dist/src/test/test-utils.d.ts.map +1 -1
- package/dist/src/types.d.ts +532 -6
- package/dist/src/types.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +299 -17
- package/dist/tsembed-react.js +298 -16
- package/dist/tsembed.es.js +300 -18
- package/dist/tsembed.js +298 -16
- package/dist/visual-embed-sdk-react-full.d.ts +572 -6
- package/dist/visual-embed-sdk-react.d.ts +572 -6
- package/dist/visual-embed-sdk.d.ts +600 -6
- package/lib/package.json +3 -3
- package/lib/src/embed/app.d.ts +19 -1
- 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 +142 -1
- package/lib/src/embed/app.spec.js.map +1 -1
- package/lib/src/embed/conversation.d.ts +2 -1
- package/lib/src/embed/conversation.d.ts.map +1 -1
- package/lib/src/embed/conversation.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 +7 -1
- package/lib/src/embed/liveboard.js.map +1 -1
- package/lib/src/embed/liveboard.spec.js +54 -0
- package/lib/src/embed/liveboard.spec.js.map +1 -1
- package/lib/src/embed/search.d.ts +24 -1
- package/lib/src/embed/search.d.ts.map +1 -1
- package/lib/src/embed/search.js +15 -2
- package/lib/src/embed/search.js.map +1 -1
- package/lib/src/embed/search.spec.js +100 -1
- package/lib/src/embed/search.spec.js.map +1 -1
- package/lib/src/embed/spotter-utils.d.ts +3 -0
- package/lib/src/embed/spotter-utils.d.ts.map +1 -1
- package/lib/src/embed/spotter-utils.js +11 -3
- package/lib/src/embed/spotter-utils.js.map +1 -1
- package/lib/src/embed/spotter-utils.spec.js +51 -0
- package/lib/src/embed/spotter-utils.spec.js.map +1 -1
- package/lib/src/embed/ts-embed.d.ts +14 -1
- package/lib/src/embed/ts-embed.d.ts.map +1 -1
- package/lib/src/embed/ts-embed.js +28 -2
- package/lib/src/embed/ts-embed.js.map +1 -1
- package/lib/src/embed/ts-embed.spec.js +139 -0
- package/lib/src/embed/ts-embed.spec.js.map +1 -1
- package/lib/src/index.d.ts +2 -2
- package/lib/src/index.d.ts.map +1 -1
- package/lib/src/index.js +2 -2
- package/lib/src/index.js.map +1 -1
- package/lib/src/mixpanel-service.d.ts.map +1 -1
- package/lib/src/mixpanel-service.js +2 -0
- package/lib/src/mixpanel-service.js.map +1 -1
- package/lib/src/mixpanel-service.spec.js +2 -0
- package/lib/src/mixpanel-service.spec.js.map +1 -1
- package/lib/src/test/test-utils.d.ts +1 -0
- package/lib/src/test/test-utils.d.ts.map +1 -1
- package/lib/src/test/test-utils.js +25 -1
- package/lib/src/test/test-utils.js.map +1 -1
- package/lib/src/types.d.ts +532 -6
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +224 -2
- package/lib/src/types.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +600 -6
- package/package.json +3 -3
- package/src/embed/app.spec.ts +179 -0
- package/src/embed/app.ts +29 -0
- package/src/embed/conversation.ts +2 -1
- 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 +73 -0
- package/src/embed/liveboard.ts +23 -0
- package/src/embed/search.spec.ts +118 -0
- package/src/embed/search.ts +43 -1
- package/src/embed/spotter-utils.spec.ts +52 -0
- package/src/embed/spotter-utils.ts +19 -3
- package/src/embed/ts-embed.spec.ts +185 -0
- package/src/embed/ts-embed.ts +29 -3
- package/src/index.ts +16 -0
- package/src/mixpanel-service.spec.ts +2 -0
- package/src/mixpanel-service.ts +2 -0
- package/src/test/test-utils.ts +33 -1
- package/src/types.ts +561 -2
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.3 */
|
|
2
2
|
'use client';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import React__default, { useRef, useCallback } from 'react';
|
|
@@ -1963,6 +1963,53 @@ var EmbedEvent;
|
|
|
1963
1963
|
* @version SDK: 1.45.2 | ThoughtSpot: 26.3.0.cl
|
|
1964
1964
|
*/
|
|
1965
1965
|
EmbedEvent["RefreshAuthToken"] = "RefreshAuthToken";
|
|
1966
|
+
/**
|
|
1967
|
+
* Triggered whenever the page context changes, returning the current context along with the navigation stack.
|
|
1968
|
+
* @example
|
|
1969
|
+
* ```js
|
|
1970
|
+
* embed.on(EmbedEvent.EmbedPageContextChanged, (payload) => {
|
|
1971
|
+
* console.log('payload', payload);
|
|
1972
|
+
* })
|
|
1973
|
+
* ```
|
|
1974
|
+
* @version SDK: 1.47.2 | ThoughtSpot: 26.3.0.cl
|
|
1975
|
+
*/
|
|
1976
|
+
EmbedEvent["EmbedPageContextChanged"] = "EmbedPageContextChanged";
|
|
1977
|
+
/**
|
|
1978
|
+
* Represents a special embed event that is triggered whenever any host event is subscribed.
|
|
1979
|
+
*
|
|
1980
|
+
* You can listen to this event when you need to dispatch a host event during load or render,
|
|
1981
|
+
* particularly in situations where timing issues may occur.
|
|
1982
|
+
*
|
|
1983
|
+
* @example
|
|
1984
|
+
* ```js
|
|
1985
|
+
* embed.on(`${HostEvent.Save} Subscribed`, () => {
|
|
1986
|
+
* // make action
|
|
1987
|
+
* });
|
|
1988
|
+
* ```
|
|
1989
|
+
*
|
|
1990
|
+
* @example
|
|
1991
|
+
* ```js
|
|
1992
|
+
* embed.on(subscribedEvent(HostEvent.Save), () => {
|
|
1993
|
+
* // make action
|
|
1994
|
+
* });
|
|
1995
|
+
* ```
|
|
1996
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.4.0.cl
|
|
1997
|
+
*/
|
|
1998
|
+
EmbedEvent["Subscribed"] = "Subscribed";
|
|
1999
|
+
/**
|
|
2000
|
+
* Emitted when a user clicks the **Send Test Email** button in the
|
|
2001
|
+
* Liveboard schedule modal. Requires `isSendNowLiveboardSchedulingEnabled`
|
|
2002
|
+
* to be enabled.
|
|
2003
|
+
* @example
|
|
2004
|
+
* ```js
|
|
2005
|
+
* liveboardEmbed.on(EmbedEvent.SendTestScheduleEmail, (payload) => {
|
|
2006
|
+
* console.log('Send test email', payload);
|
|
2007
|
+
* // payload: { liveboardId: string, sendToSelf: boolean }
|
|
2008
|
+
* })
|
|
2009
|
+
* ```
|
|
2010
|
+
* @version SDK: 1.48.0 | ThoughtSpot Cloud: 26.5.0.cl
|
|
2011
|
+
*/
|
|
2012
|
+
EmbedEvent["SendTestScheduleEmail"] = "sendTestScheduleEmail";
|
|
1966
2013
|
})(EmbedEvent || (EmbedEvent = {}));
|
|
1967
2014
|
/**
|
|
1968
2015
|
* Event types that can be triggered by the host application
|
|
@@ -3662,7 +3709,8 @@ var HostEvent;
|
|
|
3662
3709
|
* ```js
|
|
3663
3710
|
* // Get parameters from liveboard context
|
|
3664
3711
|
* import { ContextType } from '@thoughtspot/visual-embed-sdk';
|
|
3665
|
-
* liveboardEmbed.trigger(HostEvent.GetParameters, {},
|
|
3712
|
+
* liveboardEmbed.trigger(HostEvent.GetParameters, {},
|
|
3713
|
+
* ContextType.Liveboard).then((parameters) => {
|
|
3666
3714
|
* console.log('parameters', parameters);
|
|
3667
3715
|
* });
|
|
3668
3716
|
* ```
|
|
@@ -4014,6 +4062,26 @@ var HostEvent;
|
|
|
4014
4062
|
* @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
|
|
4015
4063
|
*/
|
|
4016
4064
|
HostEvent["GetPageContext"] = "GetPageContext";
|
|
4065
|
+
/**
|
|
4066
|
+
* Trigger the **Send Test Email** action in the Liveboard schedule modal.
|
|
4067
|
+
* Sends a test schedule email to self or all recipients.
|
|
4068
|
+
* Requires `isSendNowLiveboardSchedulingEnabled` to be enabled.
|
|
4069
|
+
* @example
|
|
4070
|
+
* ```js
|
|
4071
|
+
* liveboardEmbed.trigger(HostEvent.SendTestScheduleEmail, {
|
|
4072
|
+
* sendToSelf: true,
|
|
4073
|
+
* })
|
|
4074
|
+
* ```
|
|
4075
|
+
* @example
|
|
4076
|
+
* ```js
|
|
4077
|
+
* // Send to all recipients
|
|
4078
|
+
* liveboardEmbed.trigger(HostEvent.SendTestScheduleEmail, {
|
|
4079
|
+
* sendToSelf: false,
|
|
4080
|
+
* })
|
|
4081
|
+
* ```
|
|
4082
|
+
* @version SDK: 1.48.0 | ThoughtSpot Cloud: 26.5.0.cl
|
|
4083
|
+
*/
|
|
4084
|
+
HostEvent["SendTestScheduleEmail"] = "sendTestScheduleEmail";
|
|
4017
4085
|
})(HostEvent || (HostEvent = {}));
|
|
4018
4086
|
/**
|
|
4019
4087
|
* The different visual modes that the data sources panel within
|
|
@@ -4113,6 +4181,7 @@ var Param;
|
|
|
4113
4181
|
Param["ShowLiveboardTitle"] = "showLiveboardTitle";
|
|
4114
4182
|
Param["ShowMaskedFilterChip"] = "showMaskedFilterChip";
|
|
4115
4183
|
Param["IsLiveboardMasterpiecesEnabled"] = "isLiveboardMasterpiecesEnabled";
|
|
4184
|
+
Param["EnableNewChartLibrary"] = "muzeChartPhase1EnabledGA";
|
|
4116
4185
|
Param["HiddenTabs"] = "hideTabs";
|
|
4117
4186
|
Param["VisibleTabs"] = "visibleTabs";
|
|
4118
4187
|
Param["HideTabPanel"] = "hideTabPanel";
|
|
@@ -4168,6 +4237,7 @@ var Param;
|
|
|
4168
4237
|
Param["IsWYSIWYGLiveboardPDFEnabled"] = "isWYSIWYGLiveboardPDFEnabled";
|
|
4169
4238
|
Param["isLiveboardXLSXCSVDownloadEnabled"] = "isLiveboardXLSXCSVDownloadEnabled";
|
|
4170
4239
|
Param["isGranularXLSXCSVSchedulesEnabled"] = "isGranularXLSXCSVSchedulesEnabled";
|
|
4240
|
+
Param["isSendNowLiveboardSchedulingEnabled"] = "isSendNowLiveboardSchedulingEnabled";
|
|
4171
4241
|
Param["isCentralizedLiveboardFilterUXEnabled"] = "isCentralizedLiveboardFilterUXEnabled";
|
|
4172
4242
|
Param["isLinkParametersEnabled"] = "isLinkParametersEnabled";
|
|
4173
4243
|
Param["EnablePastConversationsSidebar"] = "enablePastConversationsSidebar";
|
|
@@ -4187,6 +4257,7 @@ var Param;
|
|
|
4187
4257
|
Param["HideToolResponseCardBranding"] = "hideToolResponseCardBranding";
|
|
4188
4258
|
Param["ToolResponseCardBrandingLabel"] = "toolResponseCardBrandingLabel";
|
|
4189
4259
|
Param["EnableHomepageAnnouncement"] = "enableHomepageAnnouncement";
|
|
4260
|
+
Param["EnableLiveboardDataCache"] = "enableLiveboardDataCache";
|
|
4190
4261
|
})(Param || (Param = {}));
|
|
4191
4262
|
/**
|
|
4192
4263
|
* ThoughtSpot application pages include actions and menu commands
|
|
@@ -4508,7 +4579,7 @@ var Action;
|
|
|
4508
4579
|
* ```js
|
|
4509
4580
|
* disabledActions: [Action.DownloadLiveboard]
|
|
4510
4581
|
* ```
|
|
4511
|
-
* @version SDK: 1.
|
|
4582
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
4512
4583
|
*/
|
|
4513
4584
|
Action["DownloadLiveboard"] = "downloadLiveboard";
|
|
4514
4585
|
/**
|
|
@@ -4521,6 +4592,26 @@ var Action;
|
|
|
4521
4592
|
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
4522
4593
|
*/
|
|
4523
4594
|
Action["DownloadLiveboardAsContinuousPDF"] = "downloadLiveboardAsContinuousPDF";
|
|
4595
|
+
/**
|
|
4596
|
+
* The **Download Liveboard as XLSX** menu action on a Liveboard.
|
|
4597
|
+
* Allows downloading the entire Liveboard as an XLSX file.
|
|
4598
|
+
* @example
|
|
4599
|
+
* ```js
|
|
4600
|
+
* disabledActions: [Action.DownloadLiveboardAsXlsx]
|
|
4601
|
+
* ```
|
|
4602
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
4603
|
+
*/
|
|
4604
|
+
Action["DownloadLiveboardAsXlsx"] = "downloadLiveboardAsXlsx";
|
|
4605
|
+
/**
|
|
4606
|
+
* The **Download Liveboard as CSV** menu action on a Liveboard.
|
|
4607
|
+
* Allows downloading the entire Liveboard as a CSV file.
|
|
4608
|
+
* @example
|
|
4609
|
+
* ```js
|
|
4610
|
+
* disabledActions: [Action.DownloadLiveboardAsCsv]
|
|
4611
|
+
* ```
|
|
4612
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
4613
|
+
*/
|
|
4614
|
+
Action["DownloadLiveboardAsCsv"] = "downloadLiveboardAsCsv";
|
|
4524
4615
|
/**
|
|
4525
4616
|
* @hidden
|
|
4526
4617
|
*/
|
|
@@ -5783,6 +5874,18 @@ var Action;
|
|
|
5783
5874
|
* @version SDK: 1.45.0 | ThoughtSpot: 26.4.0.cl
|
|
5784
5875
|
*/
|
|
5785
5876
|
Action["IncludeCurrentPeriod"] = "includeCurrentPeriod";
|
|
5877
|
+
/**
|
|
5878
|
+
* The **Send Test Email** button in the Liveboard schedule modal.
|
|
5879
|
+
* Allows sending a test schedule email to self or all recipients.
|
|
5880
|
+
* Requires `isSendNowLiveboardSchedulingEnabled` to be enabled.
|
|
5881
|
+
* @example
|
|
5882
|
+
* ```js
|
|
5883
|
+
* disabledActions: [Action.SendTestScheduleEmail]
|
|
5884
|
+
* hiddenActions: [Action.SendTestScheduleEmail]
|
|
5885
|
+
* ```
|
|
5886
|
+
* @version SDK: 1.48.0 | ThoughtSpot Cloud: 26.5.0.cl
|
|
5887
|
+
*/
|
|
5888
|
+
Action["SendTestScheduleEmail"] = "sendTestScheduleEmail";
|
|
5786
5889
|
})(Action || (Action = {}));
|
|
5787
5890
|
var PrefetchFeatures;
|
|
5788
5891
|
(function (PrefetchFeatures) {
|
|
@@ -6127,7 +6230,126 @@ var InterceptedApiType;
|
|
|
6127
6230
|
* The apis that are use to get the data for the liveboard
|
|
6128
6231
|
*/
|
|
6129
6232
|
InterceptedApiType["LiveboardData"] = "LiveboardData";
|
|
6130
|
-
})(InterceptedApiType || (InterceptedApiType = {}));
|
|
6233
|
+
})(InterceptedApiType || (InterceptedApiType = {}));
|
|
6234
|
+
/**
|
|
6235
|
+
* Data label filter operators
|
|
6236
|
+
* @group Visual Overrides
|
|
6237
|
+
*/
|
|
6238
|
+
var DataLabelFilterOperator;
|
|
6239
|
+
(function (DataLabelFilterOperator) {
|
|
6240
|
+
/** Greater than */
|
|
6241
|
+
DataLabelFilterOperator["GreaterThan"] = "GREATER_THAN";
|
|
6242
|
+
/** Less than */
|
|
6243
|
+
DataLabelFilterOperator["LessThan"] = "LESS_THAN";
|
|
6244
|
+
/** Greater than or equal to */
|
|
6245
|
+
DataLabelFilterOperator["GreaterThanOrEqualTo"] = "GREATER_THAN_OR_EQUAL_TO";
|
|
6246
|
+
/** Less than or equal to */
|
|
6247
|
+
DataLabelFilterOperator["LessThanOrEqualTo"] = "LESS_THAN_OR_EQUAL_TO";
|
|
6248
|
+
/** Equal to */
|
|
6249
|
+
DataLabelFilterOperator["EqualTo"] = "EQUAL_TO";
|
|
6250
|
+
/** Not equal to */
|
|
6251
|
+
DataLabelFilterOperator["NotEqualTo"] = "NOT_EQUAL_TO";
|
|
6252
|
+
})(DataLabelFilterOperator || (DataLabelFilterOperator = {}));
|
|
6253
|
+
/**
|
|
6254
|
+
* Conditional formatting operators
|
|
6255
|
+
* @group Visual Overrides
|
|
6256
|
+
*/
|
|
6257
|
+
var ConditionalFormattingOperator;
|
|
6258
|
+
(function (ConditionalFormattingOperator) {
|
|
6259
|
+
/** Is equal to */
|
|
6260
|
+
ConditionalFormattingOperator["Is"] = "IS";
|
|
6261
|
+
/** Is not equal to */
|
|
6262
|
+
ConditionalFormattingOperator["IsNot"] = "IS_NOT";
|
|
6263
|
+
/** Contains */
|
|
6264
|
+
ConditionalFormattingOperator["Contains"] = "CONTAINS";
|
|
6265
|
+
/** Does not contain */
|
|
6266
|
+
ConditionalFormattingOperator["DoesNotContain"] = "DOES_NOT_CONTAIN";
|
|
6267
|
+
/** Starts with */
|
|
6268
|
+
ConditionalFormattingOperator["StartsWith"] = "STARTS_WITH";
|
|
6269
|
+
/** Ends with */
|
|
6270
|
+
ConditionalFormattingOperator["EndsWith"] = "ENDS_WITH";
|
|
6271
|
+
/** Greater than */
|
|
6272
|
+
ConditionalFormattingOperator["GreaterThan"] = "GREATER_THAN";
|
|
6273
|
+
/** Less than */
|
|
6274
|
+
ConditionalFormattingOperator["LessThan"] = "LESS_THAN";
|
|
6275
|
+
/** Greater than or equal to */
|
|
6276
|
+
ConditionalFormattingOperator["GreaterThanEqualTo"] = "GREATER_THAN_EQUAL_TO";
|
|
6277
|
+
/** Less than or equal to */
|
|
6278
|
+
ConditionalFormattingOperator["LessThanEqualTo"] = "LESS_THAN_EQUAL_TO";
|
|
6279
|
+
/** Equal to */
|
|
6280
|
+
ConditionalFormattingOperator["EqualTo"] = "EQUAL_TO";
|
|
6281
|
+
/** Not equal to */
|
|
6282
|
+
ConditionalFormattingOperator["NotEqualTo"] = "NOT_EQUAL_TO";
|
|
6283
|
+
/** Is between */
|
|
6284
|
+
ConditionalFormattingOperator["IsBetween"] = "IS_BETWEEN";
|
|
6285
|
+
/** Is null */
|
|
6286
|
+
ConditionalFormattingOperator["IsNull"] = "IS_NULL";
|
|
6287
|
+
/** Is not null */
|
|
6288
|
+
ConditionalFormattingOperator["IsNotNull"] = "IS_NOT_NULL";
|
|
6289
|
+
})(ConditionalFormattingOperator || (ConditionalFormattingOperator = {}));
|
|
6290
|
+
/**
|
|
6291
|
+
* Background format types for conditional formatting
|
|
6292
|
+
* @group Visual Overrides
|
|
6293
|
+
*/
|
|
6294
|
+
var BackgroundFormatType;
|
|
6295
|
+
(function (BackgroundFormatType) {
|
|
6296
|
+
/** Solid color background */
|
|
6297
|
+
BackgroundFormatType["Solid"] = "SOLID";
|
|
6298
|
+
/** Gradient background */
|
|
6299
|
+
BackgroundFormatType["Gradient"] = "GRADIENT";
|
|
6300
|
+
})(BackgroundFormatType || (BackgroundFormatType = {}));
|
|
6301
|
+
/**
|
|
6302
|
+
* Comparison types for conditional formatting
|
|
6303
|
+
* @group Visual Overrides
|
|
6304
|
+
*/
|
|
6305
|
+
var ConditionalFormattingComparisonType;
|
|
6306
|
+
(function (ConditionalFormattingComparisonType) {
|
|
6307
|
+
/** Value-based comparison */
|
|
6308
|
+
ConditionalFormattingComparisonType["ValueBased"] = "VALUE_BASED";
|
|
6309
|
+
/** Column-based comparison */
|
|
6310
|
+
ConditionalFormattingComparisonType["ColumnBased"] = "COLUMN_BASED";
|
|
6311
|
+
/** Parameter-based comparison */
|
|
6312
|
+
ConditionalFormattingComparisonType["ParameterBased"] = "PARAMETER_BASED";
|
|
6313
|
+
})(ConditionalFormattingComparisonType || (ConditionalFormattingComparisonType = {}));
|
|
6314
|
+
/**
|
|
6315
|
+
* Legend position options
|
|
6316
|
+
* @group Visual Overrides
|
|
6317
|
+
*/
|
|
6318
|
+
var LegendPosition;
|
|
6319
|
+
(function (LegendPosition) {
|
|
6320
|
+
/** Position legend at the top */
|
|
6321
|
+
LegendPosition["Top"] = "top";
|
|
6322
|
+
/** Position legend at the bottom */
|
|
6323
|
+
LegendPosition["Bottom"] = "bottom";
|
|
6324
|
+
/** Position legend on the left */
|
|
6325
|
+
LegendPosition["Left"] = "left";
|
|
6326
|
+
/** Position legend on the right */
|
|
6327
|
+
LegendPosition["Right"] = "right";
|
|
6328
|
+
})(LegendPosition || (LegendPosition = {}));
|
|
6329
|
+
/**
|
|
6330
|
+
* Table theme options
|
|
6331
|
+
* @group Visual Overrides
|
|
6332
|
+
*/
|
|
6333
|
+
var TableTheme;
|
|
6334
|
+
(function (TableTheme) {
|
|
6335
|
+
/** Outline theme */
|
|
6336
|
+
TableTheme["Outline"] = "OUTLINE";
|
|
6337
|
+
/** Row theme */
|
|
6338
|
+
TableTheme["Row"] = "ROW";
|
|
6339
|
+
/** Zebra theme */
|
|
6340
|
+
TableTheme["Zebra"] = "ZEBRA";
|
|
6341
|
+
})(TableTheme || (TableTheme = {}));
|
|
6342
|
+
/**
|
|
6343
|
+
* Table content density options
|
|
6344
|
+
* @group Visual Overrides
|
|
6345
|
+
*/
|
|
6346
|
+
var TableContentDensity;
|
|
6347
|
+
(function (TableContentDensity) {
|
|
6348
|
+
/** Regular density */
|
|
6349
|
+
TableContentDensity["Regular"] = "REGULAR";
|
|
6350
|
+
/** Compact density */
|
|
6351
|
+
TableContentDensity["Compact"] = "COMPACT";
|
|
6352
|
+
})(TableContentDensity || (TableContentDensity = {}));
|
|
6131
6353
|
|
|
6132
6354
|
const logFunctions = {
|
|
6133
6355
|
[LogLevel.SILENT]: () => undefined,
|
|
@@ -7678,7 +7900,7 @@ var _setCacheAdd = setCacheAdd;
|
|
|
7678
7900
|
* @name has
|
|
7679
7901
|
* @memberOf SetCache
|
|
7680
7902
|
* @param {*} value The value to search for.
|
|
7681
|
-
* @returns {
|
|
7903
|
+
* @returns {boolean} Returns `true` if `value` is found, else `false`.
|
|
7682
7904
|
*/
|
|
7683
7905
|
function setCacheHas(value) {
|
|
7684
7906
|
return this.__data__.has(value);
|
|
@@ -9971,7 +10193,7 @@ class AnswerService {
|
|
|
9971
10193
|
async getTML() {
|
|
9972
10194
|
const { object } = await this.executeQuery(getAnswerTML, {});
|
|
9973
10195
|
const edoc = object[0].edoc;
|
|
9974
|
-
const YAML = await import('./index-
|
|
10196
|
+
const YAML = await import('./index-DZq20cR6.js');
|
|
9975
10197
|
const parsedDoc = YAML.parse(edoc);
|
|
9976
10198
|
return {
|
|
9977
10199
|
answer: {
|
|
@@ -11047,7 +11269,7 @@ function baseOrderBy(collection, iteratees, orders) {
|
|
|
11047
11269
|
if (isArray_1(iteratee)) {
|
|
11048
11270
|
return function(value) {
|
|
11049
11271
|
return _baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);
|
|
11050
|
-
}
|
|
11272
|
+
};
|
|
11051
11273
|
}
|
|
11052
11274
|
return iteratee;
|
|
11053
11275
|
});
|
|
@@ -17701,6 +17923,8 @@ var mixpanel$1 = /*#__PURE__*/_mergeNamespaces({
|
|
|
17701
17923
|
default: mixpanel_cjs
|
|
17702
17924
|
}, [mixpanel_cjs]);
|
|
17703
17925
|
|
|
17926
|
+
var version="1.47.3";
|
|
17927
|
+
|
|
17704
17928
|
// Needed to avoid error in CJS builds on some bundlers.
|
|
17705
17929
|
const mixpanelLib = mixpanel_cjs || mixpanel$1;
|
|
17706
17930
|
let mixpanelInstance;
|
|
@@ -17767,6 +17991,7 @@ function initMixpanel(sessionInfo) {
|
|
|
17767
17991
|
clusterName: sessionInfo.clusterName,
|
|
17768
17992
|
releaseVersion: sessionInfo.releaseVersion,
|
|
17769
17993
|
hostAppUrl: ((_a = window === null || window === void 0 ? void 0 : window.location) === null || _a === void 0 ? void 0 : _a.host) || '',
|
|
17994
|
+
sdkVersion: version,
|
|
17770
17995
|
});
|
|
17771
17996
|
isMixpanelInitialized = true;
|
|
17772
17997
|
emptyQueue();
|
|
@@ -19265,8 +19490,6 @@ function processEventData(type, eventData, thoughtSpotHost, containerEl) {
|
|
|
19265
19490
|
return eventData;
|
|
19266
19491
|
}
|
|
19267
19492
|
|
|
19268
|
-
var version$1="1.47.1";var pkgInfo = {version:version$1};
|
|
19269
|
-
|
|
19270
19493
|
function isValidUpdateFiltersPayload(payload) {
|
|
19271
19494
|
if (!payload)
|
|
19272
19495
|
return false;
|
|
@@ -19677,7 +19900,6 @@ const processLegacyInterceptResponse = (payload) => {
|
|
|
19677
19900
|
* @summary Base classes
|
|
19678
19901
|
* @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
|
|
19679
19902
|
*/
|
|
19680
|
-
const { version } = pkgInfo;
|
|
19681
19903
|
/**
|
|
19682
19904
|
* Global prefix for all ThoughtSpot postHash Params.
|
|
19683
19905
|
*/
|
|
@@ -20592,6 +20814,17 @@ class TsEmbed {
|
|
|
20592
20814
|
setIFrameHeight(height) {
|
|
20593
20815
|
this.iFrame.style.height = getCssDimension(height);
|
|
20594
20816
|
}
|
|
20817
|
+
shouldSkipEvent(eventType, data) {
|
|
20818
|
+
var _a, _b, _c;
|
|
20819
|
+
const errorType = (_a = data === null || data === void 0 ? void 0 : data.errorType) !== null && _a !== void 0 ? _a : (_b = data === null || data === void 0 ? void 0 : data.data) === null || _b === void 0 ? void 0 : _b.code;
|
|
20820
|
+
if (eventType === EmbedEvent.Error
|
|
20821
|
+
&& errorType === EmbedErrorCodes.HOST_EVENT_VALIDATION
|
|
20822
|
+
&& (!getHostEventsConfig(this.viewConfig).useHostEventsV2 || getHostEventsConfig(this.viewConfig).shouldBypassPayloadValidation)) {
|
|
20823
|
+
logger$3.warn(`Host Event Validation failed: ${(_c = data === null || data === void 0 ? void 0 : data.data) === null || _c === void 0 ? void 0 : _c.message}`);
|
|
20824
|
+
return true;
|
|
20825
|
+
}
|
|
20826
|
+
return false;
|
|
20827
|
+
}
|
|
20595
20828
|
/**
|
|
20596
20829
|
* Executes all registered event handlers for a particular event type
|
|
20597
20830
|
* @param eventType The event type
|
|
@@ -20599,6 +20832,8 @@ class TsEmbed {
|
|
|
20599
20832
|
* @param eventPort The event Port for a specific MessageChannel
|
|
20600
20833
|
*/
|
|
20601
20834
|
executeCallbacks(eventType, data, eventPort) {
|
|
20835
|
+
if (this.shouldSkipEvent(eventType, data))
|
|
20836
|
+
return;
|
|
20602
20837
|
const eventHandlers = this.eventHandlerMap.get(eventType) || [];
|
|
20603
20838
|
const allHandlers = this.eventHandlerMap.get(EmbedEvent.ALL) || [];
|
|
20604
20839
|
const callbacks = [...eventHandlers, ...allHandlers];
|
|
@@ -20911,6 +21146,20 @@ class TsEmbed {
|
|
|
20911
21146
|
});
|
|
20912
21147
|
});
|
|
20913
21148
|
}
|
|
21149
|
+
/**
|
|
21150
|
+
* Generates the event name for a "Subscribed" embed event.
|
|
21151
|
+
*
|
|
21152
|
+
* This helper appends the "Subscribed" suffix to a given host or action event,
|
|
21153
|
+
* allowing you to listen for subscription lifecycle events in a consistent format.
|
|
21154
|
+
*
|
|
21155
|
+
* @param eventName - The host or action event to generate the subscribed event name for.
|
|
21156
|
+
* @returns The formatted event name (e.g., "Save Subscribed").
|
|
21157
|
+
*
|
|
21158
|
+
* @version SDK: 1.47.2 | ThoughtSpot: 26.3.0.cl
|
|
21159
|
+
*/
|
|
21160
|
+
subscribedEvent(eventName) {
|
|
21161
|
+
return `${eventName} ${EmbedEvent.Subscribed}`;
|
|
21162
|
+
}
|
|
20914
21163
|
/**
|
|
20915
21164
|
* Creates the preRender shell
|
|
20916
21165
|
* @param showPreRenderByDefault - Show the preRender after render, hidden by default
|
|
@@ -21400,11 +21649,21 @@ let SearchEmbed$1 = class SearchEmbed extends TsEmbed {
|
|
|
21400
21649
|
}
|
|
21401
21650
|
async getAppInitData() {
|
|
21402
21651
|
const defaultAppInitData = await super.getAppInitData();
|
|
21403
|
-
|
|
21652
|
+
const result = {
|
|
21653
|
+
...defaultAppInitData,
|
|
21654
|
+
...this.getSearchInitData(),
|
|
21655
|
+
};
|
|
21656
|
+
if (this.viewConfig.visualOverrides) {
|
|
21657
|
+
result.embedParams = {
|
|
21658
|
+
...(defaultAppInitData.embedParams || {}),
|
|
21659
|
+
visualOverridesParams: this.viewConfig.visualOverrides,
|
|
21660
|
+
};
|
|
21661
|
+
}
|
|
21662
|
+
return result;
|
|
21404
21663
|
}
|
|
21405
21664
|
getEmbedParamsObject() {
|
|
21406
21665
|
var _a;
|
|
21407
|
-
const { hideResults, enableSearchAssist, forceTable, searchOptions, runtimeFilters, dataSource, dataSources, excludeRuntimeFiltersfromURL, hideSearchBar, dataPanelV2 = true, useLastSelectedSources = false, runtimeParameters, collapseSearchBarInitially = false, enableCustomColumnGroups = false, dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState$1.EXPAND_ALL, focusSearchBarOnRender = true, excludeRuntimeParametersfromURL, excludeSearchTokenStringFromURL, collapseSearchBar = true, isThisPeriodInDateFiltersEnabled, } = this.viewConfig;
|
|
21666
|
+
const { hideResults, enableSearchAssist, forceTable, searchOptions, runtimeFilters, dataSource, dataSources, excludeRuntimeFiltersfromURL, hideSearchBar, dataPanelV2 = true, useLastSelectedSources = false, runtimeParameters, collapseSearchBarInitially = false, enableCustomColumnGroups = false, dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState$1.EXPAND_ALL, focusSearchBarOnRender = true, excludeRuntimeParametersfromURL, excludeSearchTokenStringFromURL, collapseSearchBar = true, isThisPeriodInDateFiltersEnabled, newChartsLibrary, } = this.viewConfig;
|
|
21408
21667
|
const queryParams = this.getBaseQueryParams();
|
|
21409
21668
|
queryParams[Param.HideActions] = [
|
|
21410
21669
|
...((_a = queryParams[Param.HideActions]) !== null && _a !== void 0 ? _a : []),
|
|
@@ -21442,6 +21701,9 @@ let SearchEmbed$1 = class SearchEmbed extends TsEmbed {
|
|
|
21442
21701
|
if (isThisPeriodInDateFiltersEnabled !== undefined) {
|
|
21443
21702
|
queryParams[Param.IsThisPeriodInDateFiltersEnabled] = isThisPeriodInDateFiltersEnabled;
|
|
21444
21703
|
}
|
|
21704
|
+
if (newChartsLibrary !== undefined) {
|
|
21705
|
+
queryParams[Param.EnableNewChartLibrary] = newChartsLibrary;
|
|
21706
|
+
}
|
|
21445
21707
|
queryParams[Param.DataPanelV2Enabled] = dataPanelV2;
|
|
21446
21708
|
queryParams[Param.DataSourceMode] = this.getDataSourceMode();
|
|
21447
21709
|
queryParams[Param.UseLastSelectedDataSource] = useLastSelectedSources;
|
|
@@ -21518,14 +21780,21 @@ const resolveEnablePastConversationsSidebar = (params) => (params.spotterSidebar
|
|
|
21518
21780
|
? params.spotterSidebarConfigValue
|
|
21519
21781
|
: params.standaloneValue);
|
|
21520
21782
|
function buildSpotterSidebarAppInitData(defaultAppInitData, viewConfig, handleError) {
|
|
21521
|
-
const { spotterSidebarConfig, enablePastConversationsSidebar } = viewConfig;
|
|
21783
|
+
const { spotterSidebarConfig, enablePastConversationsSidebar, visualOverrides } = viewConfig;
|
|
21522
21784
|
const resolvedEnablePastConversations = resolveEnablePastConversationsSidebar({
|
|
21523
21785
|
spotterSidebarConfigValue: spotterSidebarConfig === null || spotterSidebarConfig === void 0 ? void 0 : spotterSidebarConfig.enablePastConversationsSidebar,
|
|
21524
21786
|
standaloneValue: enablePastConversationsSidebar,
|
|
21525
21787
|
});
|
|
21526
21788
|
const hasConfig = spotterSidebarConfig || resolvedEnablePastConversations !== undefined;
|
|
21527
|
-
if (!hasConfig)
|
|
21528
|
-
|
|
21789
|
+
if (!hasConfig) {
|
|
21790
|
+
if (visualOverrides === undefined) {
|
|
21791
|
+
return defaultAppInitData;
|
|
21792
|
+
}
|
|
21793
|
+
return {
|
|
21794
|
+
...defaultAppInitData,
|
|
21795
|
+
embedParams: { visualOverridesParams: visualOverrides },
|
|
21796
|
+
};
|
|
21797
|
+
}
|
|
21529
21798
|
const resolvedSidebarConfig = {
|
|
21530
21799
|
...spotterSidebarConfig,
|
|
21531
21800
|
...(resolvedEnablePastConversations !== undefined && {
|
|
@@ -21549,6 +21818,7 @@ function buildSpotterSidebarAppInitData(defaultAppInitData, viewConfig, handleEr
|
|
|
21549
21818
|
embedParams: {
|
|
21550
21819
|
...(defaultAppInitData.embedParams || {}),
|
|
21551
21820
|
spotterSidebarConfig: resolvedSidebarConfig,
|
|
21821
|
+
...(visualOverrides !== undefined ? { visualOverridesParams: visualOverrides } : {}),
|
|
21552
21822
|
},
|
|
21553
21823
|
};
|
|
21554
21824
|
}
|
|
@@ -21759,7 +22029,7 @@ let AppEmbed$1 = class AppEmbed extends V1Embed {
|
|
|
21759
22029
|
* embedded Liveboard or visualization.
|
|
21760
22030
|
*/
|
|
21761
22031
|
getEmbedParams() {
|
|
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;
|
|
22032
|
+
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, newChartsLibrary, 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;
|
|
21763
22033
|
let params = {};
|
|
21764
22034
|
params[Param.PrimaryNavHidden] = !showPrimaryNavbar;
|
|
21765
22035
|
params[Param.HideProfleAndHelp] = !!disableProfileAndHelp;
|
|
@@ -21770,6 +22040,9 @@ let AppEmbed$1 = class AppEmbed extends V1Embed {
|
|
|
21770
22040
|
params[Param.ShowLiveboardDescription] = !!showLiveboardDescription;
|
|
21771
22041
|
params[Param.ShowMaskedFilterChip] = showMaskedFilterChip;
|
|
21772
22042
|
params[Param.IsLiveboardMasterpiecesEnabled] = isLiveboardMasterpiecesEnabled;
|
|
22043
|
+
if (newChartsLibrary !== undefined) {
|
|
22044
|
+
params[Param.EnableNewChartLibrary] = newChartsLibrary;
|
|
22045
|
+
}
|
|
21773
22046
|
params[Param.LiveboardHeaderSticky] = isLiveboardHeaderSticky;
|
|
21774
22047
|
params[Param.IsFullAppEmbed] = true;
|
|
21775
22048
|
params[Param.LiveboardHeaderV2] = isLiveboardCompactHeaderEnabled;
|
|
@@ -21867,6 +22140,9 @@ let AppEmbed$1 = class AppEmbed extends V1Embed {
|
|
|
21867
22140
|
params[Param.IsWYSIWYGLiveboardPDFEnabled] = isContinuousLiveboardPDFEnabled;
|
|
21868
22141
|
}
|
|
21869
22142
|
this.defaultHeight = minimumHeight || this.defaultHeight;
|
|
22143
|
+
if (enableLiveboardDataCache !== undefined) {
|
|
22144
|
+
params[Param.EnableLiveboardDataCache] = enableLiveboardDataCache;
|
|
22145
|
+
}
|
|
21870
22146
|
params[Param.DataPanelV2Enabled] = dataPanelV2;
|
|
21871
22147
|
params[Param.HideHomepageLeftNav] = hideHomepageLeftNav;
|
|
21872
22148
|
params[Param.ModularHomeExperienceEnabled] = modularHomeExperience;
|
|
@@ -22224,7 +22500,7 @@ let LiveboardEmbed$1 = class LiveboardEmbed extends V1Embed {
|
|
|
22224
22500
|
getEmbedParamsObject() {
|
|
22225
22501
|
let params = {};
|
|
22226
22502
|
params = this.getBaseQueryParams(params);
|
|
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;
|
|
22503
|
+
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, newChartsLibrary, 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;
|
|
22228
22504
|
const preventLiveboardFilterRemoval = this.viewConfig.preventLiveboardFilterRemoval
|
|
22229
22505
|
|| this.viewConfig.preventPinboardFilterRemoval;
|
|
22230
22506
|
if (fullHeight === true) {
|
|
@@ -22319,6 +22595,12 @@ let LiveboardEmbed$1 = class LiveboardEmbed extends V1Embed {
|
|
|
22319
22595
|
if (isContinuousLiveboardPDFEnabled !== undefined) {
|
|
22320
22596
|
params[Param.IsWYSIWYGLiveboardPDFEnabled] = isContinuousLiveboardPDFEnabled;
|
|
22321
22597
|
}
|
|
22598
|
+
if (enableLiveboardDataCache !== undefined) {
|
|
22599
|
+
params[Param.EnableLiveboardDataCache] = enableLiveboardDataCache;
|
|
22600
|
+
}
|
|
22601
|
+
if (newChartsLibrary !== undefined) {
|
|
22602
|
+
params[Param.EnableNewChartLibrary] = newChartsLibrary;
|
|
22603
|
+
}
|
|
22322
22604
|
params[Param.LiveboardHeaderSticky] = isLiveboardHeaderSticky;
|
|
22323
22605
|
params[Param.LiveboardHeaderV2] = isLiveboardCompactHeaderEnabled;
|
|
22324
22606
|
params[Param.ShowLiveboardVerifiedBadge] = showLiveboardVerifiedBadge;
|