@thoughtspot/visual-embed-sdk 1.47.0 → 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 +37 -0
- package/cjs/src/embed/app.d.ts.map +1 -1
- package/cjs/src/embed/app.js +10 -1
- package/cjs/src/embed/app.js.map +1 -1
- package/cjs/src/embed/app.spec.js +59 -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/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 +22 -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 +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 +110 -6
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +106 -2
- package/cjs/src/types.js.map +1 -1
- package/dist/{index-Bm2Hck8q.js → index-CFZ7RDZ9.js} +1 -1
- package/dist/src/embed/app.d.ts +37 -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/hostEventClient/contracts.d.ts +4 -1
- package/dist/src/embed/hostEventClient/contracts.d.ts.map +1 -1
- package/dist/src/embed/liveboard.d.ts +22 -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 +110 -6
- package/dist/src/types.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +144 -10
- package/dist/tsembed-react.js +143 -9
- package/dist/tsembed.es.js +144 -10
- package/dist/tsembed.js +143 -9
- package/dist/visual-embed-sdk-react-full.d.ts +189 -6
- package/dist/visual-embed-sdk-react.d.ts +189 -6
- package/dist/visual-embed-sdk.d.ts +189 -6
- package/lib/package.json +3 -3
- package/lib/src/embed/app.d.ts +37 -0
- package/lib/src/embed/app.d.ts.map +1 -1
- package/lib/src/embed/app.js +10 -1
- package/lib/src/embed/app.js.map +1 -1
- package/lib/src/embed/app.spec.js +59 -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/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 +22 -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 +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 +110 -6
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +106 -2
- package/lib/src/types.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +189 -6
- package/package.json +3 -3
- package/src/embed/app.spec.ts +84 -1
- package/src/embed/app.ts +51 -0
- package/src/embed/conversation.ts +11 -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 +31 -0
- package/src/embed/ts-embed.ts +15 -0
- package/src/types.ts +109 -2
|
@@ -4506,7 +4506,54 @@ export declare enum EmbedEvent {
|
|
|
4506
4506
|
* ```
|
|
4507
4507
|
* @version SDK: 1.45.2 | ThoughtSpot: 26.3.0.cl
|
|
4508
4508
|
*/
|
|
4509
|
-
RefreshAuthToken = "RefreshAuthToken"
|
|
4509
|
+
RefreshAuthToken = "RefreshAuthToken",
|
|
4510
|
+
/**
|
|
4511
|
+
* Triggered whenever the page context changes, returning the current context along with the navigation stack.
|
|
4512
|
+
* @example
|
|
4513
|
+
* ```js
|
|
4514
|
+
* embed.on(EmbedEvent.EmbedPageContextChanged, (payload) => {
|
|
4515
|
+
* console.log('payload', payload);
|
|
4516
|
+
* })
|
|
4517
|
+
* ```
|
|
4518
|
+
* @version SDK: 1.47.2 | ThoughtSpot: 26.3.0.cl
|
|
4519
|
+
*/
|
|
4520
|
+
EmbedPageContextChanged = "EmbedPageContextChanged",
|
|
4521
|
+
/**
|
|
4522
|
+
* Represents a special embed event that is triggered whenever any host event is subscribed.
|
|
4523
|
+
*
|
|
4524
|
+
* You can listen to this event when you need to dispatch a host event during load or render,
|
|
4525
|
+
* particularly in situations where timing issues may occur.
|
|
4526
|
+
*
|
|
4527
|
+
* @example
|
|
4528
|
+
* ```js
|
|
4529
|
+
* embed.on(`${HostEvent.Save} Subscribed`, () => {
|
|
4530
|
+
* // make action
|
|
4531
|
+
* });
|
|
4532
|
+
* ```
|
|
4533
|
+
*
|
|
4534
|
+
* @example
|
|
4535
|
+
* ```js
|
|
4536
|
+
* embed.on(subscribedEvent(HostEvent.Save), () => {
|
|
4537
|
+
* // make action
|
|
4538
|
+
* });
|
|
4539
|
+
* ```
|
|
4540
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.4.0.cl
|
|
4541
|
+
*/
|
|
4542
|
+
Subscribed = "Subscribed",
|
|
4543
|
+
/**
|
|
4544
|
+
* Emitted when a user clicks the **Send Test Email** button in the
|
|
4545
|
+
* Liveboard schedule modal. Requires `isSendNowLiveboardSchedulingEnabled`
|
|
4546
|
+
* to be enabled.
|
|
4547
|
+
* @example
|
|
4548
|
+
* ```js
|
|
4549
|
+
* liveboardEmbed.on(EmbedEvent.SendTestScheduleEmail, (payload) => {
|
|
4550
|
+
* console.log('Send test email', payload);
|
|
4551
|
+
* // payload: { liveboardId: string, sendToSelf: boolean }
|
|
4552
|
+
* })
|
|
4553
|
+
* ```
|
|
4554
|
+
* @version SDK: 1.48.0 | ThoughtSpot Cloud: 26.5.0.cl
|
|
4555
|
+
*/
|
|
4556
|
+
SendTestScheduleEmail = "sendTestScheduleEmail"
|
|
4510
4557
|
}
|
|
4511
4558
|
/**
|
|
4512
4559
|
* Event types that can be triggered by the host application
|
|
@@ -6204,7 +6251,8 @@ export declare enum HostEvent {
|
|
|
6204
6251
|
* ```js
|
|
6205
6252
|
* // Get parameters from liveboard context
|
|
6206
6253
|
* import { ContextType } from '@thoughtspot/visual-embed-sdk';
|
|
6207
|
-
* liveboardEmbed.trigger(HostEvent.GetParameters, {},
|
|
6254
|
+
* liveboardEmbed.trigger(HostEvent.GetParameters, {},
|
|
6255
|
+
* ContextType.Liveboard).then((parameters) => {
|
|
6208
6256
|
* console.log('parameters', parameters);
|
|
6209
6257
|
* });
|
|
6210
6258
|
* ```
|
|
@@ -6555,7 +6603,27 @@ export declare enum HostEvent {
|
|
|
6555
6603
|
* ```
|
|
6556
6604
|
* @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
|
|
6557
6605
|
*/
|
|
6558
|
-
GetPageContext = "GetPageContext"
|
|
6606
|
+
GetPageContext = "GetPageContext",
|
|
6607
|
+
/**
|
|
6608
|
+
* Trigger the **Send Test Email** action in the Liveboard schedule modal.
|
|
6609
|
+
* Sends a test schedule email to self or all recipients.
|
|
6610
|
+
* Requires `isSendNowLiveboardSchedulingEnabled` to be enabled.
|
|
6611
|
+
* @example
|
|
6612
|
+
* ```js
|
|
6613
|
+
* liveboardEmbed.trigger(HostEvent.SendTestScheduleEmail, {
|
|
6614
|
+
* sendToSelf: true,
|
|
6615
|
+
* })
|
|
6616
|
+
* ```
|
|
6617
|
+
* @example
|
|
6618
|
+
* ```js
|
|
6619
|
+
* // Send to all recipients
|
|
6620
|
+
* liveboardEmbed.trigger(HostEvent.SendTestScheduleEmail, {
|
|
6621
|
+
* sendToSelf: false,
|
|
6622
|
+
* })
|
|
6623
|
+
* ```
|
|
6624
|
+
* @version SDK: 1.48.0 | ThoughtSpot Cloud: 26.5.0.cl
|
|
6625
|
+
*/
|
|
6626
|
+
SendTestScheduleEmail = "sendTestScheduleEmail"
|
|
6559
6627
|
}
|
|
6560
6628
|
/**
|
|
6561
6629
|
* ThoughtSpot application pages include actions and menu commands
|
|
@@ -6876,7 +6944,7 @@ export declare enum Action {
|
|
|
6876
6944
|
* ```js
|
|
6877
6945
|
* disabledActions: [Action.DownloadLiveboard]
|
|
6878
6946
|
* ```
|
|
6879
|
-
* @version SDK: 1.
|
|
6947
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
6880
6948
|
*/
|
|
6881
6949
|
DownloadLiveboard = "downloadLiveboard",
|
|
6882
6950
|
/**
|
|
@@ -6889,6 +6957,26 @@ export declare enum Action {
|
|
|
6889
6957
|
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
6890
6958
|
*/
|
|
6891
6959
|
DownloadLiveboardAsContinuousPDF = "downloadLiveboardAsContinuousPDF",
|
|
6960
|
+
/**
|
|
6961
|
+
* The **Download Liveboard as XLSX** menu action on a Liveboard.
|
|
6962
|
+
* Allows downloading the entire Liveboard as an XLSX file.
|
|
6963
|
+
* @example
|
|
6964
|
+
* ```js
|
|
6965
|
+
* disabledActions: [Action.DownloadLiveboardAsXlsx]
|
|
6966
|
+
* ```
|
|
6967
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
6968
|
+
*/
|
|
6969
|
+
DownloadLiveboardAsXlsx = "downloadLiveboardAsXlsx",
|
|
6970
|
+
/**
|
|
6971
|
+
* The **Download Liveboard as CSV** menu action on a Liveboard.
|
|
6972
|
+
* Allows downloading the entire Liveboard as a CSV file.
|
|
6973
|
+
* @example
|
|
6974
|
+
* ```js
|
|
6975
|
+
* disabledActions: [Action.DownloadLiveboardAsCsv]
|
|
6976
|
+
* ```
|
|
6977
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
6978
|
+
*/
|
|
6979
|
+
DownloadLiveboardAsCsv = "downloadLiveboardAsCsv",
|
|
6892
6980
|
/**
|
|
6893
6981
|
* @hidden
|
|
6894
6982
|
*/
|
|
@@ -8148,7 +8236,19 @@ export declare enum Action {
|
|
|
8148
8236
|
* ```
|
|
8149
8237
|
* @version SDK: 1.45.0 | ThoughtSpot: 26.4.0.cl
|
|
8150
8238
|
*/
|
|
8151
|
-
IncludeCurrentPeriod = "includeCurrentPeriod"
|
|
8239
|
+
IncludeCurrentPeriod = "includeCurrentPeriod",
|
|
8240
|
+
/**
|
|
8241
|
+
* The **Send Test Email** button in the Liveboard schedule modal.
|
|
8242
|
+
* Allows sending a test schedule email to self or all recipients.
|
|
8243
|
+
* Requires `isSendNowLiveboardSchedulingEnabled` to be enabled.
|
|
8244
|
+
* @example
|
|
8245
|
+
* ```js
|
|
8246
|
+
* disabledActions: [Action.SendTestScheduleEmail]
|
|
8247
|
+
* hiddenActions: [Action.SendTestScheduleEmail]
|
|
8248
|
+
* ```
|
|
8249
|
+
* @version SDK: 1.48.0 | ThoughtSpot Cloud: 26.5.0.cl
|
|
8250
|
+
*/
|
|
8251
|
+
SendTestScheduleEmail = "sendTestScheduleEmail"
|
|
8152
8252
|
}
|
|
8153
8253
|
declare enum ContextMenuTriggerOptions {
|
|
8154
8254
|
LEFT_CLICK = "left-click",
|
|
@@ -8880,7 +8980,10 @@ export type UIPassthroughContractBase = {
|
|
|
8880
8980
|
[UIPassthroughEvent.GetExportRequestForCurrentPinboard]: {
|
|
8881
8981
|
request: Record<string, never>;
|
|
8882
8982
|
response: {
|
|
8883
|
-
|
|
8983
|
+
data: {
|
|
8984
|
+
v2Content: string;
|
|
8985
|
+
};
|
|
8986
|
+
type: UIPassthroughEvent.GetExportRequestForCurrentPinboard;
|
|
8884
8987
|
};
|
|
8885
8988
|
};
|
|
8886
8989
|
[UIPassthroughEvent.UpdateFilters]: {
|
|
@@ -9383,6 +9486,18 @@ declare class TsEmbed {
|
|
|
9383
9486
|
* @version SDK: 1.45.2 | ThoughtSpot: 26.3.0.cl
|
|
9384
9487
|
*/
|
|
9385
9488
|
getCurrentContext(): Promise<ContextObject>;
|
|
9489
|
+
/**
|
|
9490
|
+
* Generates the event name for a "Subscribed" embed event.
|
|
9491
|
+
*
|
|
9492
|
+
* This helper appends the "Subscribed" suffix to a given host or action event,
|
|
9493
|
+
* allowing you to listen for subscription lifecycle events in a consistent format.
|
|
9494
|
+
*
|
|
9495
|
+
* @param eventName - The host or action event to generate the subscribed event name for.
|
|
9496
|
+
* @returns The formatted event name (e.g., "Save Subscribed").
|
|
9497
|
+
*
|
|
9498
|
+
* @version SDK: 1.47.2 | ThoughtSpot: 26.3.0.cl
|
|
9499
|
+
*/
|
|
9500
|
+
subscribedEvent(eventName: HostEvent | Action): string;
|
|
9386
9501
|
/**
|
|
9387
9502
|
* Creates the preRender shell
|
|
9388
9503
|
* @param showPreRenderByDefault - Show the preRender after render, hidden by default
|
|
@@ -10202,6 +10317,15 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, "primaryAct
|
|
|
10202
10317
|
* ```
|
|
10203
10318
|
*/
|
|
10204
10319
|
updatedSpotterChatPrompt?: boolean;
|
|
10320
|
+
/**
|
|
10321
|
+
* Enables the stop answer generation button in the Spotter embed UI,
|
|
10322
|
+
* allowing users to interrupt an ongoing answer generation.
|
|
10323
|
+
*
|
|
10324
|
+
* Supported embed types: `SpotterEmbed`
|
|
10325
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
10326
|
+
* @default false
|
|
10327
|
+
*/
|
|
10328
|
+
enableStopAnswerGenerationEmbed?: boolean;
|
|
10205
10329
|
/**
|
|
10206
10330
|
* Controls the visibility of the past conversations sidebar.
|
|
10207
10331
|
*
|
|
@@ -10780,6 +10904,21 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
10780
10904
|
* @version SDK: 1.33.0 | ThoughtSpot: 10.3.0.cl
|
|
10781
10905
|
*/
|
|
10782
10906
|
homePageSearchBarMode?: HomePageSearchBarMode;
|
|
10907
|
+
/**
|
|
10908
|
+
* This flag is used to enable unified search experience for full app embed.
|
|
10909
|
+
*
|
|
10910
|
+
* Supported embed types: `AppEmbed`
|
|
10911
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.5.0.cl
|
|
10912
|
+
* @default true
|
|
10913
|
+
* @example
|
|
10914
|
+
* ```js
|
|
10915
|
+
* const embed = new AppEmbed('#tsEmbed', {
|
|
10916
|
+
* ... // other embed view config
|
|
10917
|
+
* isUnifiedSearchExperienceEnabled: true,
|
|
10918
|
+
* })
|
|
10919
|
+
* ```
|
|
10920
|
+
*/
|
|
10921
|
+
isUnifiedSearchExperienceEnabled?: boolean;
|
|
10783
10922
|
/**
|
|
10784
10923
|
* This flag is used to enable/disable the styling and grouping in a Liveboard. Use {@link isLiveboardMasterpiecesEnabled} instead.
|
|
10785
10924
|
* @deprecated This flag is deprecated.
|
|
@@ -10966,6 +11105,15 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
10966
11105
|
* ```
|
|
10967
11106
|
*/
|
|
10968
11107
|
spotterChatConfig?: SpotterChatViewConfig;
|
|
11108
|
+
/**
|
|
11109
|
+
* Enables the stop answer generation button in the Spotter embed UI,
|
|
11110
|
+
* allowing users to interrupt an ongoing answer generation.
|
|
11111
|
+
*
|
|
11112
|
+
* Supported embed types: `AppEmbed`
|
|
11113
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
11114
|
+
* @default false
|
|
11115
|
+
*/
|
|
11116
|
+
enableStopAnswerGenerationEmbed?: boolean;
|
|
10969
11117
|
/**
|
|
10970
11118
|
* This is the minimum height (in pixels) for a full-height App.
|
|
10971
11119
|
* Setting this height helps resolve issues with empty Apps and
|
|
@@ -10999,6 +11147,19 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
10999
11147
|
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
11000
11148
|
*/
|
|
11001
11149
|
enableHomepageAnnouncement?: boolean;
|
|
11150
|
+
/**
|
|
11151
|
+
* If set to true, enables visualization data caching on the Liveboard.
|
|
11152
|
+
* @type {boolean}
|
|
11153
|
+
* @version SDK: 1.49.0 | ThoughtSpot: 26.6.0.cl
|
|
11154
|
+
* @example
|
|
11155
|
+
* ```js
|
|
11156
|
+
* const embed = new AppEmbed('#tsEmbed', {
|
|
11157
|
+
* ... // other options
|
|
11158
|
+
* enableLiveboardDataCache: true,
|
|
11159
|
+
* })
|
|
11160
|
+
* ```
|
|
11161
|
+
*/
|
|
11162
|
+
enableLiveboardDataCache?: boolean;
|
|
11002
11163
|
}
|
|
11003
11164
|
/**
|
|
11004
11165
|
* APP_INIT data shape for AppEmbed.
|
|
@@ -11563,6 +11724,15 @@ export interface LiveboardViewConfig extends BaseViewConfig, SearchLiveboardComm
|
|
|
11563
11724
|
* ```
|
|
11564
11725
|
*/
|
|
11565
11726
|
updatedSpotterChatPrompt?: boolean;
|
|
11727
|
+
/**
|
|
11728
|
+
* Enables the stop answer generation button in the Spotter embed UI,
|
|
11729
|
+
* allowing users to interrupt an ongoing answer generation.
|
|
11730
|
+
*
|
|
11731
|
+
* Supported embed types: `LiveboardEmbed`
|
|
11732
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
11733
|
+
* @default false
|
|
11734
|
+
*/
|
|
11735
|
+
enableStopAnswerGenerationEmbed?: boolean;
|
|
11566
11736
|
/**
|
|
11567
11737
|
* Configuration for customizing Spotter chat UI
|
|
11568
11738
|
* branding in tool response cards.
|
|
@@ -11581,6 +11751,19 @@ export interface LiveboardViewConfig extends BaseViewConfig, SearchLiveboardComm
|
|
|
11581
11751
|
* ```
|
|
11582
11752
|
*/
|
|
11583
11753
|
spotterChatConfig?: SpotterChatViewConfig;
|
|
11754
|
+
/**
|
|
11755
|
+
* If set to true, enables visualization data caching on the Liveboard.
|
|
11756
|
+
* @type {boolean}
|
|
11757
|
+
* @version SDK: 1.49.0 | ThoughtSpot: 26.6.0.cl
|
|
11758
|
+
* @example
|
|
11759
|
+
* ```js
|
|
11760
|
+
* const embed = new LiveboardEmbed('#embed-container', {
|
|
11761
|
+
* ... // other options
|
|
11762
|
+
* enableLiveboardDataCache: true,
|
|
11763
|
+
* })
|
|
11764
|
+
* ```
|
|
11765
|
+
*/
|
|
11766
|
+
enableLiveboardDataCache?: boolean;
|
|
11584
11767
|
}
|
|
11585
11768
|
declare class LiveboardEmbed extends V1Embed {
|
|
11586
11769
|
protected viewConfig: LiveboardViewConfig;
|
|
@@ -4562,7 +4562,54 @@ export declare enum EmbedEvent {
|
|
|
4562
4562
|
* ```
|
|
4563
4563
|
* @version SDK: 1.45.2 | ThoughtSpot: 26.3.0.cl
|
|
4564
4564
|
*/
|
|
4565
|
-
RefreshAuthToken = "RefreshAuthToken"
|
|
4565
|
+
RefreshAuthToken = "RefreshAuthToken",
|
|
4566
|
+
/**
|
|
4567
|
+
* Triggered whenever the page context changes, returning the current context along with the navigation stack.
|
|
4568
|
+
* @example
|
|
4569
|
+
* ```js
|
|
4570
|
+
* embed.on(EmbedEvent.EmbedPageContextChanged, (payload) => {
|
|
4571
|
+
* console.log('payload', payload);
|
|
4572
|
+
* })
|
|
4573
|
+
* ```
|
|
4574
|
+
* @version SDK: 1.47.2 | ThoughtSpot: 26.3.0.cl
|
|
4575
|
+
*/
|
|
4576
|
+
EmbedPageContextChanged = "EmbedPageContextChanged",
|
|
4577
|
+
/**
|
|
4578
|
+
* Represents a special embed event that is triggered whenever any host event is subscribed.
|
|
4579
|
+
*
|
|
4580
|
+
* You can listen to this event when you need to dispatch a host event during load or render,
|
|
4581
|
+
* particularly in situations where timing issues may occur.
|
|
4582
|
+
*
|
|
4583
|
+
* @example
|
|
4584
|
+
* ```js
|
|
4585
|
+
* embed.on(`${HostEvent.Save} Subscribed`, () => {
|
|
4586
|
+
* // make action
|
|
4587
|
+
* });
|
|
4588
|
+
* ```
|
|
4589
|
+
*
|
|
4590
|
+
* @example
|
|
4591
|
+
* ```js
|
|
4592
|
+
* embed.on(subscribedEvent(HostEvent.Save), () => {
|
|
4593
|
+
* // make action
|
|
4594
|
+
* });
|
|
4595
|
+
* ```
|
|
4596
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.4.0.cl
|
|
4597
|
+
*/
|
|
4598
|
+
Subscribed = "Subscribed",
|
|
4599
|
+
/**
|
|
4600
|
+
* Emitted when a user clicks the **Send Test Email** button in the
|
|
4601
|
+
* Liveboard schedule modal. Requires `isSendNowLiveboardSchedulingEnabled`
|
|
4602
|
+
* to be enabled.
|
|
4603
|
+
* @example
|
|
4604
|
+
* ```js
|
|
4605
|
+
* liveboardEmbed.on(EmbedEvent.SendTestScheduleEmail, (payload) => {
|
|
4606
|
+
* console.log('Send test email', payload);
|
|
4607
|
+
* // payload: { liveboardId: string, sendToSelf: boolean }
|
|
4608
|
+
* })
|
|
4609
|
+
* ```
|
|
4610
|
+
* @version SDK: 1.48.0 | ThoughtSpot Cloud: 26.5.0.cl
|
|
4611
|
+
*/
|
|
4612
|
+
SendTestScheduleEmail = "sendTestScheduleEmail"
|
|
4566
4613
|
}
|
|
4567
4614
|
/**
|
|
4568
4615
|
* Event types that can be triggered by the host application
|
|
@@ -6260,7 +6307,8 @@ export declare enum HostEvent {
|
|
|
6260
6307
|
* ```js
|
|
6261
6308
|
* // Get parameters from liveboard context
|
|
6262
6309
|
* import { ContextType } from '@thoughtspot/visual-embed-sdk';
|
|
6263
|
-
* liveboardEmbed.trigger(HostEvent.GetParameters, {},
|
|
6310
|
+
* liveboardEmbed.trigger(HostEvent.GetParameters, {},
|
|
6311
|
+
* ContextType.Liveboard).then((parameters) => {
|
|
6264
6312
|
* console.log('parameters', parameters);
|
|
6265
6313
|
* });
|
|
6266
6314
|
* ```
|
|
@@ -6611,7 +6659,27 @@ export declare enum HostEvent {
|
|
|
6611
6659
|
* ```
|
|
6612
6660
|
* @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
|
|
6613
6661
|
*/
|
|
6614
|
-
GetPageContext = "GetPageContext"
|
|
6662
|
+
GetPageContext = "GetPageContext",
|
|
6663
|
+
/**
|
|
6664
|
+
* Trigger the **Send Test Email** action in the Liveboard schedule modal.
|
|
6665
|
+
* Sends a test schedule email to self or all recipients.
|
|
6666
|
+
* Requires `isSendNowLiveboardSchedulingEnabled` to be enabled.
|
|
6667
|
+
* @example
|
|
6668
|
+
* ```js
|
|
6669
|
+
* liveboardEmbed.trigger(HostEvent.SendTestScheduleEmail, {
|
|
6670
|
+
* sendToSelf: true,
|
|
6671
|
+
* })
|
|
6672
|
+
* ```
|
|
6673
|
+
* @example
|
|
6674
|
+
* ```js
|
|
6675
|
+
* // Send to all recipients
|
|
6676
|
+
* liveboardEmbed.trigger(HostEvent.SendTestScheduleEmail, {
|
|
6677
|
+
* sendToSelf: false,
|
|
6678
|
+
* })
|
|
6679
|
+
* ```
|
|
6680
|
+
* @version SDK: 1.48.0 | ThoughtSpot Cloud: 26.5.0.cl
|
|
6681
|
+
*/
|
|
6682
|
+
SendTestScheduleEmail = "sendTestScheduleEmail"
|
|
6615
6683
|
}
|
|
6616
6684
|
/**
|
|
6617
6685
|
* The different visual modes that the data sources panel within
|
|
@@ -6950,7 +7018,7 @@ export declare enum Action {
|
|
|
6950
7018
|
* ```js
|
|
6951
7019
|
* disabledActions: [Action.DownloadLiveboard]
|
|
6952
7020
|
* ```
|
|
6953
|
-
* @version SDK: 1.
|
|
7021
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
6954
7022
|
*/
|
|
6955
7023
|
DownloadLiveboard = "downloadLiveboard",
|
|
6956
7024
|
/**
|
|
@@ -6963,6 +7031,26 @@ export declare enum Action {
|
|
|
6963
7031
|
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
6964
7032
|
*/
|
|
6965
7033
|
DownloadLiveboardAsContinuousPDF = "downloadLiveboardAsContinuousPDF",
|
|
7034
|
+
/**
|
|
7035
|
+
* The **Download Liveboard as XLSX** menu action on a Liveboard.
|
|
7036
|
+
* Allows downloading the entire Liveboard as an XLSX file.
|
|
7037
|
+
* @example
|
|
7038
|
+
* ```js
|
|
7039
|
+
* disabledActions: [Action.DownloadLiveboardAsXlsx]
|
|
7040
|
+
* ```
|
|
7041
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
7042
|
+
*/
|
|
7043
|
+
DownloadLiveboardAsXlsx = "downloadLiveboardAsXlsx",
|
|
7044
|
+
/**
|
|
7045
|
+
* The **Download Liveboard as CSV** menu action on a Liveboard.
|
|
7046
|
+
* Allows downloading the entire Liveboard as a CSV file.
|
|
7047
|
+
* @example
|
|
7048
|
+
* ```js
|
|
7049
|
+
* disabledActions: [Action.DownloadLiveboardAsCsv]
|
|
7050
|
+
* ```
|
|
7051
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
7052
|
+
*/
|
|
7053
|
+
DownloadLiveboardAsCsv = "downloadLiveboardAsCsv",
|
|
6966
7054
|
/**
|
|
6967
7055
|
* @hidden
|
|
6968
7056
|
*/
|
|
@@ -8222,7 +8310,19 @@ export declare enum Action {
|
|
|
8222
8310
|
* ```
|
|
8223
8311
|
* @version SDK: 1.45.0 | ThoughtSpot: 26.4.0.cl
|
|
8224
8312
|
*/
|
|
8225
|
-
IncludeCurrentPeriod = "includeCurrentPeriod"
|
|
8313
|
+
IncludeCurrentPeriod = "includeCurrentPeriod",
|
|
8314
|
+
/**
|
|
8315
|
+
* The **Send Test Email** button in the Liveboard schedule modal.
|
|
8316
|
+
* Allows sending a test schedule email to self or all recipients.
|
|
8317
|
+
* Requires `isSendNowLiveboardSchedulingEnabled` to be enabled.
|
|
8318
|
+
* @example
|
|
8319
|
+
* ```js
|
|
8320
|
+
* disabledActions: [Action.SendTestScheduleEmail]
|
|
8321
|
+
* hiddenActions: [Action.SendTestScheduleEmail]
|
|
8322
|
+
* ```
|
|
8323
|
+
* @version SDK: 1.48.0 | ThoughtSpot Cloud: 26.5.0.cl
|
|
8324
|
+
*/
|
|
8325
|
+
SendTestScheduleEmail = "sendTestScheduleEmail"
|
|
8226
8326
|
}
|
|
8227
8327
|
export declare enum PrefetchFeatures {
|
|
8228
8328
|
FullApp = "FullApp",
|
|
@@ -8924,7 +9024,10 @@ export type UIPassthroughContractBase = {
|
|
|
8924
9024
|
[UIPassthroughEvent.GetExportRequestForCurrentPinboard]: {
|
|
8925
9025
|
request: Record<string, never>;
|
|
8926
9026
|
response: {
|
|
8927
|
-
|
|
9027
|
+
data: {
|
|
9028
|
+
v2Content: string;
|
|
9029
|
+
};
|
|
9030
|
+
type: UIPassthroughEvent.GetExportRequestForCurrentPinboard;
|
|
8928
9031
|
};
|
|
8929
9032
|
};
|
|
8930
9033
|
[UIPassthroughEvent.UpdateFilters]: {
|
|
@@ -9427,6 +9530,18 @@ declare class TsEmbed {
|
|
|
9427
9530
|
* @version SDK: 1.45.2 | ThoughtSpot: 26.3.0.cl
|
|
9428
9531
|
*/
|
|
9429
9532
|
getCurrentContext(): Promise<ContextObject>;
|
|
9533
|
+
/**
|
|
9534
|
+
* Generates the event name for a "Subscribed" embed event.
|
|
9535
|
+
*
|
|
9536
|
+
* This helper appends the "Subscribed" suffix to a given host or action event,
|
|
9537
|
+
* allowing you to listen for subscription lifecycle events in a consistent format.
|
|
9538
|
+
*
|
|
9539
|
+
* @param eventName - The host or action event to generate the subscribed event name for.
|
|
9540
|
+
* @returns The formatted event name (e.g., "Save Subscribed").
|
|
9541
|
+
*
|
|
9542
|
+
* @version SDK: 1.47.2 | ThoughtSpot: 26.3.0.cl
|
|
9543
|
+
*/
|
|
9544
|
+
subscribedEvent(eventName: HostEvent | Action): string;
|
|
9430
9545
|
/**
|
|
9431
9546
|
* Creates the preRender shell
|
|
9432
9547
|
* @param showPreRenderByDefault - Show the preRender after render, hidden by default
|
|
@@ -9815,6 +9930,15 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, "primaryAct
|
|
|
9815
9930
|
* ```
|
|
9816
9931
|
*/
|
|
9817
9932
|
updatedSpotterChatPrompt?: boolean;
|
|
9933
|
+
/**
|
|
9934
|
+
* Enables the stop answer generation button in the Spotter embed UI,
|
|
9935
|
+
* allowing users to interrupt an ongoing answer generation.
|
|
9936
|
+
*
|
|
9937
|
+
* Supported embed types: `SpotterEmbed`
|
|
9938
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
9939
|
+
* @default false
|
|
9940
|
+
*/
|
|
9941
|
+
enableStopAnswerGenerationEmbed?: boolean;
|
|
9818
9942
|
/**
|
|
9819
9943
|
* Controls the visibility of the past conversations sidebar.
|
|
9820
9944
|
*
|
|
@@ -10441,6 +10565,21 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
10441
10565
|
* @version SDK: 1.33.0 | ThoughtSpot: 10.3.0.cl
|
|
10442
10566
|
*/
|
|
10443
10567
|
homePageSearchBarMode?: HomePageSearchBarMode;
|
|
10568
|
+
/**
|
|
10569
|
+
* This flag is used to enable unified search experience for full app embed.
|
|
10570
|
+
*
|
|
10571
|
+
* Supported embed types: `AppEmbed`
|
|
10572
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.5.0.cl
|
|
10573
|
+
* @default true
|
|
10574
|
+
* @example
|
|
10575
|
+
* ```js
|
|
10576
|
+
* const embed = new AppEmbed('#tsEmbed', {
|
|
10577
|
+
* ... // other embed view config
|
|
10578
|
+
* isUnifiedSearchExperienceEnabled: true,
|
|
10579
|
+
* })
|
|
10580
|
+
* ```
|
|
10581
|
+
*/
|
|
10582
|
+
isUnifiedSearchExperienceEnabled?: boolean;
|
|
10444
10583
|
/**
|
|
10445
10584
|
* This flag is used to enable/disable the styling and grouping in a Liveboard. Use {@link isLiveboardMasterpiecesEnabled} instead.
|
|
10446
10585
|
* @deprecated This flag is deprecated.
|
|
@@ -10627,6 +10766,15 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
10627
10766
|
* ```
|
|
10628
10767
|
*/
|
|
10629
10768
|
spotterChatConfig?: SpotterChatViewConfig;
|
|
10769
|
+
/**
|
|
10770
|
+
* Enables the stop answer generation button in the Spotter embed UI,
|
|
10771
|
+
* allowing users to interrupt an ongoing answer generation.
|
|
10772
|
+
*
|
|
10773
|
+
* Supported embed types: `AppEmbed`
|
|
10774
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
10775
|
+
* @default false
|
|
10776
|
+
*/
|
|
10777
|
+
enableStopAnswerGenerationEmbed?: boolean;
|
|
10630
10778
|
/**
|
|
10631
10779
|
* This is the minimum height (in pixels) for a full-height App.
|
|
10632
10780
|
* Setting this height helps resolve issues with empty Apps and
|
|
@@ -10660,6 +10808,19 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
10660
10808
|
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
10661
10809
|
*/
|
|
10662
10810
|
enableHomepageAnnouncement?: boolean;
|
|
10811
|
+
/**
|
|
10812
|
+
* If set to true, enables visualization data caching on the Liveboard.
|
|
10813
|
+
* @type {boolean}
|
|
10814
|
+
* @version SDK: 1.49.0 | ThoughtSpot: 26.6.0.cl
|
|
10815
|
+
* @example
|
|
10816
|
+
* ```js
|
|
10817
|
+
* const embed = new AppEmbed('#tsEmbed', {
|
|
10818
|
+
* ... // other options
|
|
10819
|
+
* enableLiveboardDataCache: true,
|
|
10820
|
+
* })
|
|
10821
|
+
* ```
|
|
10822
|
+
*/
|
|
10823
|
+
enableLiveboardDataCache?: boolean;
|
|
10663
10824
|
}
|
|
10664
10825
|
/**
|
|
10665
10826
|
* APP_INIT data shape for AppEmbed.
|
|
@@ -11511,6 +11672,15 @@ export interface LiveboardViewConfig extends BaseViewConfig, SearchLiveboardComm
|
|
|
11511
11672
|
* ```
|
|
11512
11673
|
*/
|
|
11513
11674
|
updatedSpotterChatPrompt?: boolean;
|
|
11675
|
+
/**
|
|
11676
|
+
* Enables the stop answer generation button in the Spotter embed UI,
|
|
11677
|
+
* allowing users to interrupt an ongoing answer generation.
|
|
11678
|
+
*
|
|
11679
|
+
* Supported embed types: `LiveboardEmbed`
|
|
11680
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
11681
|
+
* @default false
|
|
11682
|
+
*/
|
|
11683
|
+
enableStopAnswerGenerationEmbed?: boolean;
|
|
11514
11684
|
/**
|
|
11515
11685
|
* Configuration for customizing Spotter chat UI
|
|
11516
11686
|
* branding in tool response cards.
|
|
@@ -11529,6 +11699,19 @@ export interface LiveboardViewConfig extends BaseViewConfig, SearchLiveboardComm
|
|
|
11529
11699
|
* ```
|
|
11530
11700
|
*/
|
|
11531
11701
|
spotterChatConfig?: SpotterChatViewConfig;
|
|
11702
|
+
/**
|
|
11703
|
+
* If set to true, enables visualization data caching on the Liveboard.
|
|
11704
|
+
* @type {boolean}
|
|
11705
|
+
* @version SDK: 1.49.0 | ThoughtSpot: 26.6.0.cl
|
|
11706
|
+
* @example
|
|
11707
|
+
* ```js
|
|
11708
|
+
* const embed = new LiveboardEmbed('#embed-container', {
|
|
11709
|
+
* ... // other options
|
|
11710
|
+
* enableLiveboardDataCache: true,
|
|
11711
|
+
* })
|
|
11712
|
+
* ```
|
|
11713
|
+
*/
|
|
11714
|
+
enableLiveboardDataCache?: boolean;
|
|
11532
11715
|
}
|
|
11533
11716
|
/**
|
|
11534
11717
|
* Embed a ThoughtSpot Liveboard or visualization. When rendered it already
|
package/lib/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thoughtspot/visual-embed-sdk",
|
|
3
|
-
"version": "1.47.
|
|
3
|
+
"version": "1.47.2",
|
|
4
4
|
"description": "ThoughtSpot Embed SDK",
|
|
5
5
|
"module": "lib/src/index.js",
|
|
6
6
|
"main": "dist/tsembed.js",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"classnames": "^2.3.1",
|
|
72
72
|
"eventemitter3": "^4.0.7",
|
|
73
|
-
"lodash": "^4.
|
|
73
|
+
"lodash": "^4.18.1",
|
|
74
74
|
"mixpanel-browser": "2.47.0",
|
|
75
75
|
"ts-deepmerge": "^6.0.2",
|
|
76
76
|
"tslib": "^2.5.3",
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"jest-environment-jsdom": "^29.7.0",
|
|
127
127
|
"jest-fetch-mock": "^3.0.3",
|
|
128
128
|
"jsdom": "^17.0.0",
|
|
129
|
-
"prettier": "
|
|
129
|
+
"prettier": "3.8.1",
|
|
130
130
|
"react": "^16.14.0",
|
|
131
131
|
"react-dom": "^16.14.0",
|
|
132
132
|
"react-resizable": "^1.11.0",
|
package/lib/src/embed/app.d.ts
CHANGED
|
@@ -513,6 +513,21 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
513
513
|
* @version SDK: 1.33.0 | ThoughtSpot: 10.3.0.cl
|
|
514
514
|
*/
|
|
515
515
|
homePageSearchBarMode?: HomePageSearchBarMode;
|
|
516
|
+
/**
|
|
517
|
+
* This flag is used to enable unified search experience for full app embed.
|
|
518
|
+
*
|
|
519
|
+
* Supported embed types: `AppEmbed`
|
|
520
|
+
* @version SDK: 1.34.0 | ThoughtSpot: 10.5.0.cl
|
|
521
|
+
* @default true
|
|
522
|
+
* @example
|
|
523
|
+
* ```js
|
|
524
|
+
* const embed = new AppEmbed('#tsEmbed', {
|
|
525
|
+
* ... // other embed view config
|
|
526
|
+
* isUnifiedSearchExperienceEnabled: true,
|
|
527
|
+
* })
|
|
528
|
+
* ```
|
|
529
|
+
*/
|
|
530
|
+
isUnifiedSearchExperienceEnabled?: boolean;
|
|
516
531
|
/**
|
|
517
532
|
* This flag is used to enable/disable the styling and grouping in a Liveboard. Use {@link isLiveboardMasterpiecesEnabled} instead.
|
|
518
533
|
* @deprecated This flag is deprecated.
|
|
@@ -699,6 +714,15 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
699
714
|
* ```
|
|
700
715
|
*/
|
|
701
716
|
spotterChatConfig?: SpotterChatViewConfig;
|
|
717
|
+
/**
|
|
718
|
+
* Enables the stop answer generation button in the Spotter embed UI,
|
|
719
|
+
* allowing users to interrupt an ongoing answer generation.
|
|
720
|
+
*
|
|
721
|
+
* Supported embed types: `AppEmbed`
|
|
722
|
+
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
723
|
+
* @default false
|
|
724
|
+
*/
|
|
725
|
+
enableStopAnswerGenerationEmbed?: boolean;
|
|
702
726
|
/**
|
|
703
727
|
* This is the minimum height (in pixels) for a full-height App.
|
|
704
728
|
* Setting this height helps resolve issues with empty Apps and
|
|
@@ -732,6 +756,19 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
732
756
|
* @version SDK: 1.48.0 | ThoughtSpot: 26.5.0.cl
|
|
733
757
|
*/
|
|
734
758
|
enableHomepageAnnouncement?: boolean;
|
|
759
|
+
/**
|
|
760
|
+
* If set to true, enables visualization data caching on the Liveboard.
|
|
761
|
+
* @type {boolean}
|
|
762
|
+
* @version SDK: 1.49.0 | ThoughtSpot: 26.6.0.cl
|
|
763
|
+
* @example
|
|
764
|
+
* ```js
|
|
765
|
+
* const embed = new AppEmbed('#tsEmbed', {
|
|
766
|
+
* ... // other options
|
|
767
|
+
* enableLiveboardDataCache: true,
|
|
768
|
+
* })
|
|
769
|
+
* ```
|
|
770
|
+
*/
|
|
771
|
+
enableLiveboardDataCache?: boolean;
|
|
735
772
|
}
|
|
736
773
|
/**
|
|
737
774
|
* APP_INIT data shape for AppEmbed.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../../src/embed/app.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,EAEH,WAAW,EAGX,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EACrB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAGjF;;GAEG;AAEH,oBAAY,IAAI;IACZ;;OAEG;IACH,IAAI,SAAS;IACb;;OAEG;IACH,MAAM,WAAW;IACjB;;OAEG;IACH,OAAO,YAAY;IACnB;;OAEG;IACH,UAAU,eAAe;IACzB;;OAEG;IACH,SAAS,cAAc;IACvB;;OAEG;IACH,IAAI,SAAS;IACb;;OAEG;IACH,MAAM,aAAa;IACnB;;OAEG;IACH,OAAO,YAAY;CACtB;AAED;;;GAGG;AACH,oBAAY,yCAAyC;IACjD;;OAEG;IACH,UAAU,eAAe;IACzB;;OAEG;IACH,YAAY,iBAAiB;IAC7B;;OAEG;IACH,YAAY,iBAAiB;CAChC;AAED,oBAAY,qBAAqB;IAC7B,aAAa,iBAAiB;IAC9B,SAAS,aAAa;IACtB,IAAI,SAAS;CAChB;AAED;;;GAGG;AACH,oBAAY,oBAAoB;IAC5B;;;;OAIG;IACH,OAAO,OAAO;CACjB;AAED;;;GAGG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