@thoughtspot/visual-embed-sdk 1.33.4 → 1.33.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/package.json +1 -1
- package/cjs/src/config.d.ts.map +1 -1
- package/cjs/src/config.js.map +1 -1
- package/cjs/src/embed/app.d.ts +14 -0
- package/cjs/src/embed/app.d.ts.map +1 -1
- package/cjs/src/embed/app.js +2 -2
- package/cjs/src/embed/app.js.map +1 -1
- package/cjs/src/embed/app.spec.js +10 -0
- package/cjs/src/embed/app.spec.js.map +1 -1
- package/cjs/src/embed/base.d.ts +4 -1
- package/cjs/src/embed/base.d.ts.map +1 -1
- package/cjs/src/embed/base.js +14 -6
- package/cjs/src/embed/base.js.map +1 -1
- package/cjs/src/embed/base.spec.js +45 -3
- package/cjs/src/embed/base.spec.js.map +1 -1
- package/cjs/src/embed/bodyless-conversation.d.ts +17 -0
- package/cjs/src/embed/bodyless-conversation.d.ts.map +1 -1
- package/cjs/src/embed/bodyless-conversation.js +14 -0
- package/cjs/src/embed/bodyless-conversation.js.map +1 -1
- package/cjs/src/embed/conversation.d.ts.map +1 -1
- package/cjs/src/embed/conversation.js +1 -0
- package/cjs/src/embed/conversation.js.map +1 -1
- package/cjs/src/embed/liveboard.d.ts +14 -0
- package/cjs/src/embed/liveboard.d.ts.map +1 -1
- package/cjs/src/embed/liveboard.js +2 -2
- package/cjs/src/embed/liveboard.js.map +1 -1
- package/cjs/src/embed/liveboard.spec.js +11 -0
- package/cjs/src/embed/liveboard.spec.js.map +1 -1
- package/cjs/src/embed/sage.d.ts.map +1 -1
- package/cjs/src/embed/sage.js +0 -1
- package/cjs/src/embed/sage.js.map +1 -1
- package/cjs/src/embed/ts-embed.d.ts.map +1 -1
- package/cjs/src/embed/ts-embed.js +13 -2
- package/cjs/src/embed/ts-embed.js.map +1 -1
- package/cjs/src/embed/ts-embed.spec.js +40 -0
- package/cjs/src/embed/ts-embed.spec.js.map +1 -1
- package/cjs/src/react/index.spec.js +2 -2
- package/cjs/src/react/index.spec.js.map +1 -1
- package/cjs/src/types.d.ts +54 -6
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +15 -3
- package/cjs/src/types.js.map +1 -1
- package/dist/{index-Cl8Rsh6W.js → index-CbltIawo.js} +1 -1
- package/dist/src/config.d.ts.map +1 -1
- package/dist/src/embed/app.d.ts +14 -0
- package/dist/src/embed/app.d.ts.map +1 -1
- package/dist/src/embed/base.d.ts +4 -1
- package/dist/src/embed/base.d.ts.map +1 -1
- package/dist/src/embed/bodyless-conversation.d.ts +17 -0
- package/dist/src/embed/bodyless-conversation.d.ts.map +1 -1
- package/dist/src/embed/conversation.d.ts.map +1 -1
- package/dist/src/embed/liveboard.d.ts +14 -0
- package/dist/src/embed/liveboard.d.ts.map +1 -1
- package/dist/src/embed/sage.d.ts.map +1 -1
- package/dist/src/embed/ts-embed.d.ts.map +1 -1
- package/dist/src/types.d.ts +54 -6
- package/dist/src/types.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +157 -67
- package/dist/tsembed-react.js +156 -66
- package/dist/tsembed.es.js +180 -69
- package/dist/tsembed.js +179 -68
- package/dist/visual-embed-sdk-react-full.d.ts +103 -7
- package/dist/visual-embed-sdk-react.d.ts +103 -7
- package/dist/visual-embed-sdk.d.ts +103 -7
- package/lib/package.json +1 -1
- package/lib/src/config.d.ts.map +1 -1
- package/lib/src/config.js.map +1 -1
- package/lib/src/embed/app.d.ts +14 -0
- package/lib/src/embed/app.d.ts.map +1 -1
- package/lib/src/embed/app.js +2 -2
- package/lib/src/embed/app.js.map +1 -1
- package/lib/src/embed/app.spec.js +10 -0
- package/lib/src/embed/app.spec.js.map +1 -1
- package/lib/src/embed/base.d.ts +4 -1
- package/lib/src/embed/base.d.ts.map +1 -1
- package/lib/src/embed/base.js +15 -7
- package/lib/src/embed/base.js.map +1 -1
- package/lib/src/embed/base.spec.js +45 -3
- package/lib/src/embed/base.spec.js.map +1 -1
- package/lib/src/embed/bodyless-conversation.d.ts +17 -0
- package/lib/src/embed/bodyless-conversation.d.ts.map +1 -1
- package/lib/src/embed/bodyless-conversation.js +14 -0
- package/lib/src/embed/bodyless-conversation.js.map +1 -1
- package/lib/src/embed/conversation.d.ts.map +1 -1
- package/lib/src/embed/conversation.js +1 -0
- package/lib/src/embed/conversation.js.map +1 -1
- package/lib/src/embed/liveboard.d.ts +14 -0
- package/lib/src/embed/liveboard.d.ts.map +1 -1
- package/lib/src/embed/liveboard.js +2 -2
- package/lib/src/embed/liveboard.js.map +1 -1
- package/lib/src/embed/liveboard.spec.js +11 -0
- package/lib/src/embed/liveboard.spec.js.map +1 -1
- package/lib/src/embed/sage.d.ts.map +1 -1
- package/lib/src/embed/sage.js +0 -1
- package/lib/src/embed/sage.js.map +1 -1
- package/lib/src/embed/ts-embed.d.ts.map +1 -1
- package/lib/src/embed/ts-embed.js +13 -2
- package/lib/src/embed/ts-embed.js.map +1 -1
- package/lib/src/embed/ts-embed.spec.js +41 -1
- package/lib/src/embed/ts-embed.spec.js.map +1 -1
- package/lib/src/react/index.spec.js +2 -2
- package/lib/src/react/index.spec.js.map +1 -1
- package/lib/src/types.d.ts +54 -6
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +15 -3
- package/lib/src/types.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +103 -7
- package/package.json +1 -1
- package/src/config.ts +0 -1
- package/src/embed/app.spec.ts +15 -0
- package/src/embed/app.ts +16 -1
- package/src/embed/base.spec.ts +48 -3
- package/src/embed/base.ts +21 -7
- package/src/embed/bodyless-conversation.ts +18 -0
- package/src/embed/conversation.ts +1 -0
- package/src/embed/liveboard.spec.ts +16 -0
- package/src/embed/liveboard.ts +16 -1
- package/src/embed/sage.ts +0 -1
- package/src/embed/ts-embed.spec.ts +47 -0
- package/src/embed/ts-embed.ts +16 -2
- package/src/react/index.spec.tsx +2 -2
- package/src/types.ts +51 -4
|
@@ -1169,6 +1169,20 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
1169
1169
|
* ```
|
|
1170
1170
|
*/
|
|
1171
1171
|
showLiveboardVerifiedBadge?: boolean;
|
|
1172
|
+
/**
|
|
1173
|
+
* This flag is used to enable/disable hide irrelevant filters in liveboard tab
|
|
1174
|
+
* @type {boolean}
|
|
1175
|
+
* @default false
|
|
1176
|
+
* @version SDK: 1.35.0 | ThoughtSpot:10.5.0.cl
|
|
1177
|
+
* @example
|
|
1178
|
+
* ```js
|
|
1179
|
+
* const embed = new AppEmbed('#embed-container', {
|
|
1180
|
+
* ... // other options
|
|
1181
|
+
* hideIrrelevantChipsInLiveboardTabs: true,
|
|
1182
|
+
* })
|
|
1183
|
+
* ```
|
|
1184
|
+
*/
|
|
1185
|
+
hideIrrelevantChipsInLiveboardTabs?: boolean;
|
|
1172
1186
|
/**
|
|
1173
1187
|
* This flag can be used to show or hide the re-verify banner on the Liveboard compact header
|
|
1174
1188
|
* @type {boolean}
|
|
@@ -1546,6 +1560,20 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
|
|
|
1546
1560
|
* ```
|
|
1547
1561
|
*/
|
|
1548
1562
|
showLiveboardReverifyBanner?: boolean;
|
|
1563
|
+
/**
|
|
1564
|
+
* This flag is used to enable/disable hide irrelevant filters in liveboard tab
|
|
1565
|
+
* @type {boolean}
|
|
1566
|
+
* @default false
|
|
1567
|
+
* @version SDK: 1.35.0 | ThoughtSpot:10.5.0.cl
|
|
1568
|
+
* @example
|
|
1569
|
+
* ```js
|
|
1570
|
+
* const embed = new LiveboardEmbed('#embed-container', {
|
|
1571
|
+
* ... // other options
|
|
1572
|
+
* hideIrrelevantChipsInLiveboardTabs: true,
|
|
1573
|
+
* })
|
|
1574
|
+
* ```
|
|
1575
|
+
*/
|
|
1576
|
+
hideIrrelevantChipsInLiveboardTabs?: boolean;
|
|
1549
1577
|
}
|
|
1550
1578
|
/**
|
|
1551
1579
|
* Embed a ThoughtSpot Liveboard or visualization. When rendered it already
|
|
@@ -1684,10 +1712,13 @@ export declare const handleAuth: () => Promise<boolean>;
|
|
|
1684
1712
|
* to your app.
|
|
1685
1713
|
* @param url The URL provided for prefetch
|
|
1686
1714
|
* @param prefetchFeatures Specify features which needs to be prefetched.
|
|
1715
|
+
* @param additionalFlags This can be used to add any URL flag.
|
|
1687
1716
|
* @version SDK: 1.4.0 | ThoughtSpot: ts7.sep.cl, 7.2.1
|
|
1688
1717
|
* @group Global methods
|
|
1689
1718
|
*/
|
|
1690
|
-
export declare const prefetch: (url?: string, prefetchFeatures?: PrefetchFeatures[]
|
|
1719
|
+
export declare const prefetch: (url?: string, prefetchFeatures?: PrefetchFeatures[], additionalFlags?: {
|
|
1720
|
+
[key: string]: string | number | boolean;
|
|
1721
|
+
}) => void;
|
|
1691
1722
|
/**
|
|
1692
1723
|
* Initializes the Visual Embed SDK globally and perform
|
|
1693
1724
|
* authentication if applicable. This function needs to be called before any ThoughtSpot
|
|
@@ -1791,6 +1822,10 @@ export declare const exportTML: (data: exportTMLInput) => Promise<any>;
|
|
|
1791
1822
|
*/
|
|
1792
1823
|
export declare function reset(): void;
|
|
1793
1824
|
|
|
1825
|
+
/**
|
|
1826
|
+
* Configuration for bodyless conversation options.
|
|
1827
|
+
* @group Embed components
|
|
1828
|
+
*/
|
|
1794
1829
|
export interface BodylessConversationViewConfig extends ViewConfig {
|
|
1795
1830
|
/**
|
|
1796
1831
|
* The ID of the worksheet to use for the conversation.
|
|
@@ -1800,6 +1835,19 @@ export interface BodylessConversationViewConfig extends ViewConfig {
|
|
|
1800
1835
|
/**
|
|
1801
1836
|
* Create a conversation embed, which can be integrated inside
|
|
1802
1837
|
* chatbots or other conversational interfaces.
|
|
1838
|
+
* @example
|
|
1839
|
+
* ```js
|
|
1840
|
+
* import { BodylessConversation } from '@thoughtspot/visual-embed-sdk';
|
|
1841
|
+
*
|
|
1842
|
+
* const conversation = new BodylessConversation({
|
|
1843
|
+
* worksheetId: 'worksheetId',
|
|
1844
|
+
* });
|
|
1845
|
+
*
|
|
1846
|
+
* const { container, error } = await conversation.sendMessage('show me sales by region');
|
|
1847
|
+
*
|
|
1848
|
+
* // append the container to the DOM
|
|
1849
|
+
* document.body.appendChild(container); // or to any other element
|
|
1850
|
+
* ```
|
|
1803
1851
|
* @group Embed components
|
|
1804
1852
|
* @version SDK: 1.33.1 | ThoughtSpot: 10.5.0.cl
|
|
1805
1853
|
*/
|
|
@@ -2605,6 +2653,28 @@ export interface EmbedConfig {
|
|
|
2605
2653
|
* @version SDK 1.32.3 | Thoughtspot: *
|
|
2606
2654
|
*/
|
|
2607
2655
|
disableLoginFailurePage?: boolean;
|
|
2656
|
+
/**
|
|
2657
|
+
* This is an object (key/val) of override flags which will be applied
|
|
2658
|
+
* to the internal embedded object. This can be used to add any
|
|
2659
|
+
* URL flag.
|
|
2660
|
+
* Warning: This option is for advanced use only and is used internally
|
|
2661
|
+
* to control embed behavior in non-regular ways. We do not publish the
|
|
2662
|
+
* list of supported keys and values associated with each.
|
|
2663
|
+
* @example
|
|
2664
|
+
* ```js
|
|
2665
|
+
* const embed = new LiveboardEmbed('#embed', {
|
|
2666
|
+
* ... // other liveboard view config
|
|
2667
|
+
* additionalFlags: {
|
|
2668
|
+
* flag1: 'value1',
|
|
2669
|
+
* flag2: 'value2'
|
|
2670
|
+
* }
|
|
2671
|
+
* });
|
|
2672
|
+
* ```
|
|
2673
|
+
* @version SDK: 1.33.5 | ThoughtSpot: *
|
|
2674
|
+
*/
|
|
2675
|
+
additionalFlags?: {
|
|
2676
|
+
[key: string]: string | number | boolean;
|
|
2677
|
+
};
|
|
2608
2678
|
}
|
|
2609
2679
|
export interface LayoutConfig {
|
|
2610
2680
|
}
|
|
@@ -2792,6 +2862,7 @@ export interface ViewConfig {
|
|
|
2792
2862
|
* This is an object (key/val) of override flags which will be applied
|
|
2793
2863
|
* to the internal embedded object. This can be used to add any
|
|
2794
2864
|
* URL flag.
|
|
2865
|
+
* If the same flags are passed in init, they will be overriden by the values here.
|
|
2795
2866
|
* Warning: This option is for advanced use only and is used internally
|
|
2796
2867
|
* to control embed behavior in non-regular ways. We do not publish the
|
|
2797
2868
|
* list of supported keys and values associated with each.
|
|
@@ -3079,6 +3150,19 @@ export interface ViewConfig {
|
|
|
3079
3150
|
* ```
|
|
3080
3151
|
*/
|
|
3081
3152
|
enableCustomColumnGroups?: boolean;
|
|
3153
|
+
/**
|
|
3154
|
+
* View content for another org directly without having to use the org switcher
|
|
3155
|
+
* This flag is honoured if orgPerUrl feature is enabled for the ThoughtSpot cluster
|
|
3156
|
+
* @example
|
|
3157
|
+
* ```js
|
|
3158
|
+
* const embed = new LiveboardEmbed('#embed', {
|
|
3159
|
+
* ... // other options
|
|
3160
|
+
* overrideOrgId: 142536
|
|
3161
|
+
* });
|
|
3162
|
+
* ```
|
|
3163
|
+
* @version SDK: 1.35.0 | ThoughtSpot: 10.5.0.cl
|
|
3164
|
+
*/
|
|
3165
|
+
overrideOrgId?: number;
|
|
3082
3166
|
}
|
|
3083
3167
|
/**
|
|
3084
3168
|
* MessagePayload: Embed event payload: message type, data and status (start/end)
|
|
@@ -3124,7 +3208,7 @@ export type MessageCallbackObj = {
|
|
|
3124
3208
|
};
|
|
3125
3209
|
export type GenericCallbackFn = (...args: any[]) => any;
|
|
3126
3210
|
export type QueryParams = {
|
|
3127
|
-
[key: string]: string;
|
|
3211
|
+
[key: string]: string | boolean | number;
|
|
3128
3212
|
};
|
|
3129
3213
|
/**
|
|
3130
3214
|
* A map of the supported runtime filter operations
|
|
@@ -4959,12 +5043,13 @@ export declare enum HostEvent {
|
|
|
4959
5043
|
* see link:https://developers.thoughtspot.com/docs/runtime-filters#rtOperator[Developer Documentation].
|
|
4960
5044
|
*
|
|
4961
5045
|
* `values` - An array of one or several values. The value definition on the
|
|
4962
|
-
* data type you choose to filter on. For a complete list of supported data types,
|
|
4963
|
-
*
|
|
5046
|
+
* data type you choose to filter on. For a complete list of supported data types,
|
|
5047
|
+
* see
|
|
5048
|
+
* link:https://developers.thoughtspot.com/docs/runtime-filters#_supported_data_types[Supported
|
|
5049
|
+
* data types].
|
|
4964
5050
|
*
|
|
4965
5051
|
* `type` - To update filters for date time, specify the date format type.
|
|
4966
5052
|
* For more information and examples, see link:https://developers.thoughtspot.com/docs/embed-liveboard#_date_filters[Date filters].
|
|
4967
|
-
*
|
|
4968
5053
|
* @example
|
|
4969
5054
|
* ```js
|
|
4970
5055
|
*
|
|
@@ -5249,8 +5334,10 @@ export declare enum Param {
|
|
|
5249
5334
|
ShowLiveboardVerifiedBadge = "showLiveboardVerifiedBadge",
|
|
5250
5335
|
ShowLiveboardReverifyBanner = "showLiveboardReverifyBanner",
|
|
5251
5336
|
LiveboardHeaderV2 = "isLiveboardHeaderV2Enabled",
|
|
5337
|
+
HideIrrelevantFiltersInTab = "hideIrrelevantFiltersAtTabLevel",
|
|
5252
5338
|
SpotterEnabled = "isSpotterExperienceEnabled",
|
|
5253
|
-
IsUnifiedSearchExperienceEnabled = "isUnifiedSearchExperienceEnabled"
|
|
5339
|
+
IsUnifiedSearchExperienceEnabled = "isUnifiedSearchExperienceEnabled",
|
|
5340
|
+
OverrideOrgId = "orgId"
|
|
5254
5341
|
}
|
|
5255
5342
|
/**
|
|
5256
5343
|
* ThoughtSpot application pages include actions and menu commands
|
|
@@ -6290,7 +6377,16 @@ export declare enum Action {
|
|
|
6290
6377
|
* ```
|
|
6291
6378
|
* @version SDK: 1.35.0 | Thoughtspot: 10.5.0.cl
|
|
6292
6379
|
*/
|
|
6293
|
-
DisableChipReorder = "disableChipReorder"
|
|
6380
|
+
DisableChipReorder = "disableChipReorder",
|
|
6381
|
+
/**
|
|
6382
|
+
* Action ID for Hide Irrelevant filters button
|
|
6383
|
+
* @example
|
|
6384
|
+
* ```js
|
|
6385
|
+
* hiddenAction: [Action.ChangeFilterVisibilityInTab]
|
|
6386
|
+
* ```
|
|
6387
|
+
* @version SDK: 1.35.0 | Thoughtspot: 10.5.0.cl
|
|
6388
|
+
*/
|
|
6389
|
+
ChangeFilterVisibilityInTab = "changeFilterVisibilityInTab"
|
|
6294
6390
|
}
|
|
6295
6391
|
export interface AnswerServiceType {
|
|
6296
6392
|
getAnswer?: (offset: number, batchSize: number) => any;
|
|
@@ -1159,6 +1159,20 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
1159
1159
|
* ```
|
|
1160
1160
|
*/
|
|
1161
1161
|
showLiveboardVerifiedBadge?: boolean;
|
|
1162
|
+
/**
|
|
1163
|
+
* This flag is used to enable/disable hide irrelevant filters in liveboard tab
|
|
1164
|
+
* @type {boolean}
|
|
1165
|
+
* @default false
|
|
1166
|
+
* @version SDK: 1.35.0 | ThoughtSpot:10.5.0.cl
|
|
1167
|
+
* @example
|
|
1168
|
+
* ```js
|
|
1169
|
+
* const embed = new AppEmbed('#embed-container', {
|
|
1170
|
+
* ... // other options
|
|
1171
|
+
* hideIrrelevantChipsInLiveboardTabs: true,
|
|
1172
|
+
* })
|
|
1173
|
+
* ```
|
|
1174
|
+
*/
|
|
1175
|
+
hideIrrelevantChipsInLiveboardTabs?: boolean;
|
|
1162
1176
|
/**
|
|
1163
1177
|
* This flag can be used to show or hide the re-verify banner on the Liveboard compact header
|
|
1164
1178
|
* @type {boolean}
|
|
@@ -1536,6 +1550,20 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
|
|
|
1536
1550
|
* ```
|
|
1537
1551
|
*/
|
|
1538
1552
|
showLiveboardReverifyBanner?: boolean;
|
|
1553
|
+
/**
|
|
1554
|
+
* This flag is used to enable/disable hide irrelevant filters in liveboard tab
|
|
1555
|
+
* @type {boolean}
|
|
1556
|
+
* @default false
|
|
1557
|
+
* @version SDK: 1.35.0 | ThoughtSpot:10.5.0.cl
|
|
1558
|
+
* @example
|
|
1559
|
+
* ```js
|
|
1560
|
+
* const embed = new LiveboardEmbed('#embed-container', {
|
|
1561
|
+
* ... // other options
|
|
1562
|
+
* hideIrrelevantChipsInLiveboardTabs: true,
|
|
1563
|
+
* })
|
|
1564
|
+
* ```
|
|
1565
|
+
*/
|
|
1566
|
+
hideIrrelevantChipsInLiveboardTabs?: boolean;
|
|
1539
1567
|
}
|
|
1540
1568
|
/**
|
|
1541
1569
|
* Embed a ThoughtSpot Liveboard or visualization. When rendered it already
|
|
@@ -2217,6 +2245,28 @@ export interface EmbedConfig {
|
|
|
2217
2245
|
* @version SDK 1.32.3 | Thoughtspot: *
|
|
2218
2246
|
*/
|
|
2219
2247
|
disableLoginFailurePage?: boolean;
|
|
2248
|
+
/**
|
|
2249
|
+
* This is an object (key/val) of override flags which will be applied
|
|
2250
|
+
* to the internal embedded object. This can be used to add any
|
|
2251
|
+
* URL flag.
|
|
2252
|
+
* Warning: This option is for advanced use only and is used internally
|
|
2253
|
+
* to control embed behavior in non-regular ways. We do not publish the
|
|
2254
|
+
* list of supported keys and values associated with each.
|
|
2255
|
+
* @example
|
|
2256
|
+
* ```js
|
|
2257
|
+
* const embed = new LiveboardEmbed('#embed', {
|
|
2258
|
+
* ... // other liveboard view config
|
|
2259
|
+
* additionalFlags: {
|
|
2260
|
+
* flag1: 'value1',
|
|
2261
|
+
* flag2: 'value2'
|
|
2262
|
+
* }
|
|
2263
|
+
* });
|
|
2264
|
+
* ```
|
|
2265
|
+
* @version SDK: 1.33.5 | ThoughtSpot: *
|
|
2266
|
+
*/
|
|
2267
|
+
additionalFlags?: {
|
|
2268
|
+
[key: string]: string | number | boolean;
|
|
2269
|
+
};
|
|
2220
2270
|
}
|
|
2221
2271
|
export interface LayoutConfig {
|
|
2222
2272
|
}
|
|
@@ -2404,6 +2454,7 @@ export interface ViewConfig {
|
|
|
2404
2454
|
* This is an object (key/val) of override flags which will be applied
|
|
2405
2455
|
* to the internal embedded object. This can be used to add any
|
|
2406
2456
|
* URL flag.
|
|
2457
|
+
* If the same flags are passed in init, they will be overriden by the values here.
|
|
2407
2458
|
* Warning: This option is for advanced use only and is used internally
|
|
2408
2459
|
* to control embed behavior in non-regular ways. We do not publish the
|
|
2409
2460
|
* list of supported keys and values associated with each.
|
|
@@ -2691,6 +2742,19 @@ export interface ViewConfig {
|
|
|
2691
2742
|
* ```
|
|
2692
2743
|
*/
|
|
2693
2744
|
enableCustomColumnGroups?: boolean;
|
|
2745
|
+
/**
|
|
2746
|
+
* View content for another org directly without having to use the org switcher
|
|
2747
|
+
* This flag is honoured if orgPerUrl feature is enabled for the ThoughtSpot cluster
|
|
2748
|
+
* @example
|
|
2749
|
+
* ```js
|
|
2750
|
+
* const embed = new LiveboardEmbed('#embed', {
|
|
2751
|
+
* ... // other options
|
|
2752
|
+
* overrideOrgId: 142536
|
|
2753
|
+
* });
|
|
2754
|
+
* ```
|
|
2755
|
+
* @version SDK: 1.35.0 | ThoughtSpot: 10.5.0.cl
|
|
2756
|
+
*/
|
|
2757
|
+
overrideOrgId?: number;
|
|
2694
2758
|
}
|
|
2695
2759
|
/**
|
|
2696
2760
|
* MessagePayload: Embed event payload: message type, data and status (start/end)
|
|
@@ -2736,7 +2800,7 @@ export type MessageCallbackObj = {
|
|
|
2736
2800
|
};
|
|
2737
2801
|
export type GenericCallbackFn = (...args: any[]) => any;
|
|
2738
2802
|
export type QueryParams = {
|
|
2739
|
-
[key: string]: string;
|
|
2803
|
+
[key: string]: string | boolean | number;
|
|
2740
2804
|
};
|
|
2741
2805
|
/**
|
|
2742
2806
|
* A map of the supported runtime filter operations
|
|
@@ -4571,12 +4635,13 @@ export declare enum HostEvent {
|
|
|
4571
4635
|
* see link:https://developers.thoughtspot.com/docs/runtime-filters#rtOperator[Developer Documentation].
|
|
4572
4636
|
*
|
|
4573
4637
|
* `values` - An array of one or several values. The value definition on the
|
|
4574
|
-
* data type you choose to filter on. For a complete list of supported data types,
|
|
4575
|
-
*
|
|
4638
|
+
* data type you choose to filter on. For a complete list of supported data types,
|
|
4639
|
+
* see
|
|
4640
|
+
* link:https://developers.thoughtspot.com/docs/runtime-filters#_supported_data_types[Supported
|
|
4641
|
+
* data types].
|
|
4576
4642
|
*
|
|
4577
4643
|
* `type` - To update filters for date time, specify the date format type.
|
|
4578
4644
|
* For more information and examples, see link:https://developers.thoughtspot.com/docs/embed-liveboard#_date_filters[Date filters].
|
|
4579
|
-
*
|
|
4580
4645
|
* @example
|
|
4581
4646
|
* ```js
|
|
4582
4647
|
*
|
|
@@ -4861,8 +4926,10 @@ export declare enum Param {
|
|
|
4861
4926
|
ShowLiveboardVerifiedBadge = "showLiveboardVerifiedBadge",
|
|
4862
4927
|
ShowLiveboardReverifyBanner = "showLiveboardReverifyBanner",
|
|
4863
4928
|
LiveboardHeaderV2 = "isLiveboardHeaderV2Enabled",
|
|
4929
|
+
HideIrrelevantFiltersInTab = "hideIrrelevantFiltersAtTabLevel",
|
|
4864
4930
|
SpotterEnabled = "isSpotterExperienceEnabled",
|
|
4865
|
-
IsUnifiedSearchExperienceEnabled = "isUnifiedSearchExperienceEnabled"
|
|
4931
|
+
IsUnifiedSearchExperienceEnabled = "isUnifiedSearchExperienceEnabled",
|
|
4932
|
+
OverrideOrgId = "orgId"
|
|
4866
4933
|
}
|
|
4867
4934
|
/**
|
|
4868
4935
|
* ThoughtSpot application pages include actions and menu commands
|
|
@@ -5902,7 +5969,16 @@ export declare enum Action {
|
|
|
5902
5969
|
* ```
|
|
5903
5970
|
* @version SDK: 1.35.0 | Thoughtspot: 10.5.0.cl
|
|
5904
5971
|
*/
|
|
5905
|
-
DisableChipReorder = "disableChipReorder"
|
|
5972
|
+
DisableChipReorder = "disableChipReorder",
|
|
5973
|
+
/**
|
|
5974
|
+
* Action ID for Hide Irrelevant filters button
|
|
5975
|
+
* @example
|
|
5976
|
+
* ```js
|
|
5977
|
+
* hiddenAction: [Action.ChangeFilterVisibilityInTab]
|
|
5978
|
+
* ```
|
|
5979
|
+
* @version SDK: 1.35.0 | Thoughtspot: 10.5.0.cl
|
|
5980
|
+
*/
|
|
5981
|
+
ChangeFilterVisibilityInTab = "changeFilterVisibilityInTab"
|
|
5906
5982
|
}
|
|
5907
5983
|
export interface AnswerServiceType {
|
|
5908
5984
|
getAnswer?: (offset: number, batchSize: number) => any;
|
|
@@ -6353,10 +6429,13 @@ export declare const handleAuth: () => Promise<boolean>;
|
|
|
6353
6429
|
* to your app.
|
|
6354
6430
|
* @param url The URL provided for prefetch
|
|
6355
6431
|
* @param prefetchFeatures Specify features which needs to be prefetched.
|
|
6432
|
+
* @param additionalFlags This can be used to add any URL flag.
|
|
6356
6433
|
* @version SDK: 1.4.0 | ThoughtSpot: ts7.sep.cl, 7.2.1
|
|
6357
6434
|
* @group Global methods
|
|
6358
6435
|
*/
|
|
6359
|
-
export declare const prefetch: (url?: string, prefetchFeatures?: PrefetchFeatures[]
|
|
6436
|
+
export declare const prefetch: (url?: string, prefetchFeatures?: PrefetchFeatures[], additionalFlags?: {
|
|
6437
|
+
[key: string]: string | number | boolean;
|
|
6438
|
+
}) => void;
|
|
6360
6439
|
/**
|
|
6361
6440
|
* Initializes the Visual Embed SDK globally and perform
|
|
6362
6441
|
* authentication if applicable. This function needs to be called before any ThoughtSpot
|
|
@@ -6460,6 +6539,10 @@ export declare const exportTML: (data: exportTMLInput) => Promise<any>;
|
|
|
6460
6539
|
*/
|
|
6461
6540
|
export declare function reset(): void;
|
|
6462
6541
|
|
|
6542
|
+
/**
|
|
6543
|
+
* Configuration for bodyless conversation options.
|
|
6544
|
+
* @group Embed components
|
|
6545
|
+
*/
|
|
6463
6546
|
export interface BodylessConversationViewConfig extends ViewConfig {
|
|
6464
6547
|
/**
|
|
6465
6548
|
* The ID of the worksheet to use for the conversation.
|
|
@@ -6469,6 +6552,19 @@ export interface BodylessConversationViewConfig extends ViewConfig {
|
|
|
6469
6552
|
/**
|
|
6470
6553
|
* Create a conversation embed, which can be integrated inside
|
|
6471
6554
|
* chatbots or other conversational interfaces.
|
|
6555
|
+
* @example
|
|
6556
|
+
* ```js
|
|
6557
|
+
* import { BodylessConversation } from '@thoughtspot/visual-embed-sdk';
|
|
6558
|
+
*
|
|
6559
|
+
* const conversation = new BodylessConversation({
|
|
6560
|
+
* worksheetId: 'worksheetId',
|
|
6561
|
+
* });
|
|
6562
|
+
*
|
|
6563
|
+
* const { container, error } = await conversation.sendMessage('show me sales by region');
|
|
6564
|
+
*
|
|
6565
|
+
* // append the container to the DOM
|
|
6566
|
+
* document.body.appendChild(container); // or to any other element
|
|
6567
|
+
* ```
|
|
6472
6568
|
* @group Embed components
|
|
6473
6569
|
* @version SDK: 1.33.1 | ThoughtSpot: 10.5.0.cl
|
|
6474
6570
|
*/
|
|
@@ -417,6 +417,20 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
417
417
|
* ```
|
|
418
418
|
*/
|
|
419
419
|
showLiveboardVerifiedBadge?: boolean;
|
|
420
|
+
/**
|
|
421
|
+
* This flag is used to enable/disable hide irrelevant filters in liveboard tab
|
|
422
|
+
* @type {boolean}
|
|
423
|
+
* @default false
|
|
424
|
+
* @version SDK: 1.35.0 | ThoughtSpot:10.5.0.cl
|
|
425
|
+
* @example
|
|
426
|
+
* ```js
|
|
427
|
+
* const embed = new AppEmbed('#embed-container', {
|
|
428
|
+
* ... // other options
|
|
429
|
+
* hideIrrelevantChipsInLiveboardTabs: true,
|
|
430
|
+
* })
|
|
431
|
+
* ```
|
|
432
|
+
*/
|
|
433
|
+
hideIrrelevantChipsInLiveboardTabs?: boolean;
|
|
420
434
|
/**
|
|
421
435
|
* This flag can be used to show or hide the re-verify banner on the Liveboard compact header
|
|
422
436
|
* @type {boolean}
|
|
@@ -516,10 +530,13 @@ export const handleAuth: () => Promise<boolean>;
|
|
|
516
530
|
* to your app.
|
|
517
531
|
* @param url The URL provided for prefetch
|
|
518
532
|
* @param prefetchFeatures Specify features which needs to be prefetched.
|
|
533
|
+
* @param additionalFlags This can be used to add any URL flag.
|
|
519
534
|
* @version SDK: 1.4.0 | ThoughtSpot: ts7.sep.cl, 7.2.1
|
|
520
535
|
* @group Global methods
|
|
521
536
|
*/
|
|
522
|
-
export const prefetch: (url?: string, prefetchFeatures?: PrefetchFeatures[]
|
|
537
|
+
export const prefetch: (url?: string, prefetchFeatures?: PrefetchFeatures[], additionalFlags?: {
|
|
538
|
+
[key: string]: string | number | boolean;
|
|
539
|
+
}) => void;
|
|
523
540
|
/**
|
|
524
541
|
* Initializes the Visual Embed SDK globally and perform
|
|
525
542
|
* authentication if applicable. This function needs to be called before any ThoughtSpot
|
|
@@ -928,6 +945,20 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
|
|
|
928
945
|
* ```
|
|
929
946
|
*/
|
|
930
947
|
showLiveboardReverifyBanner?: boolean;
|
|
948
|
+
/**
|
|
949
|
+
* This flag is used to enable/disable hide irrelevant filters in liveboard tab
|
|
950
|
+
* @type {boolean}
|
|
951
|
+
* @default false
|
|
952
|
+
* @version SDK: 1.35.0 | ThoughtSpot:10.5.0.cl
|
|
953
|
+
* @example
|
|
954
|
+
* ```js
|
|
955
|
+
* const embed = new LiveboardEmbed('#embed-container', {
|
|
956
|
+
* ... // other options
|
|
957
|
+
* hideIrrelevantChipsInLiveboardTabs: true,
|
|
958
|
+
* })
|
|
959
|
+
* ```
|
|
960
|
+
*/
|
|
961
|
+
hideIrrelevantChipsInLiveboardTabs?: boolean;
|
|
931
962
|
}
|
|
932
963
|
/**
|
|
933
964
|
* Embed a ThoughtSpot Liveboard or visualization. When rendered it already
|
|
@@ -1339,6 +1370,10 @@ export class SearchBarEmbed extends TsEmbed {
|
|
|
1339
1370
|
render(): Promise<SearchBarEmbed>;
|
|
1340
1371
|
}
|
|
1341
1372
|
|
|
1373
|
+
/**
|
|
1374
|
+
* Configuration for bodyless conversation options.
|
|
1375
|
+
* @group Embed components
|
|
1376
|
+
*/
|
|
1342
1377
|
export interface BodylessConversationViewConfig extends ViewConfig {
|
|
1343
1378
|
/**
|
|
1344
1379
|
* The ID of the worksheet to use for the conversation.
|
|
@@ -1348,6 +1383,19 @@ export interface BodylessConversationViewConfig extends ViewConfig {
|
|
|
1348
1383
|
/**
|
|
1349
1384
|
* Create a conversation embed, which can be integrated inside
|
|
1350
1385
|
* chatbots or other conversational interfaces.
|
|
1386
|
+
* @example
|
|
1387
|
+
* ```js
|
|
1388
|
+
* import { BodylessConversation } from '@thoughtspot/visual-embed-sdk';
|
|
1389
|
+
*
|
|
1390
|
+
* const conversation = new BodylessConversation({
|
|
1391
|
+
* worksheetId: 'worksheetId',
|
|
1392
|
+
* });
|
|
1393
|
+
*
|
|
1394
|
+
* const { container, error } = await conversation.sendMessage('show me sales by region');
|
|
1395
|
+
*
|
|
1396
|
+
* // append the container to the DOM
|
|
1397
|
+
* document.body.appendChild(container); // or to any other element
|
|
1398
|
+
* ```
|
|
1351
1399
|
* @group Embed components
|
|
1352
1400
|
* @version SDK: 1.33.1 | ThoughtSpot: 10.5.0.cl
|
|
1353
1401
|
*/
|
|
@@ -2194,6 +2242,28 @@ export interface EmbedConfig {
|
|
|
2194
2242
|
* @version SDK 1.32.3 | Thoughtspot: *
|
|
2195
2243
|
*/
|
|
2196
2244
|
disableLoginFailurePage?: boolean;
|
|
2245
|
+
/**
|
|
2246
|
+
* This is an object (key/val) of override flags which will be applied
|
|
2247
|
+
* to the internal embedded object. This can be used to add any
|
|
2248
|
+
* URL flag.
|
|
2249
|
+
* Warning: This option is for advanced use only and is used internally
|
|
2250
|
+
* to control embed behavior in non-regular ways. We do not publish the
|
|
2251
|
+
* list of supported keys and values associated with each.
|
|
2252
|
+
* @example
|
|
2253
|
+
* ```js
|
|
2254
|
+
* const embed = new LiveboardEmbed('#embed', {
|
|
2255
|
+
* ... // other liveboard view config
|
|
2256
|
+
* additionalFlags: {
|
|
2257
|
+
* flag1: 'value1',
|
|
2258
|
+
* flag2: 'value2'
|
|
2259
|
+
* }
|
|
2260
|
+
* });
|
|
2261
|
+
* ```
|
|
2262
|
+
* @version SDK: 1.33.5 | ThoughtSpot: *
|
|
2263
|
+
*/
|
|
2264
|
+
additionalFlags?: {
|
|
2265
|
+
[key: string]: string | number | boolean;
|
|
2266
|
+
};
|
|
2197
2267
|
}
|
|
2198
2268
|
export interface LayoutConfig {
|
|
2199
2269
|
}
|
|
@@ -2381,6 +2451,7 @@ export interface ViewConfig {
|
|
|
2381
2451
|
* This is an object (key/val) of override flags which will be applied
|
|
2382
2452
|
* to the internal embedded object. This can be used to add any
|
|
2383
2453
|
* URL flag.
|
|
2454
|
+
* If the same flags are passed in init, they will be overriden by the values here.
|
|
2384
2455
|
* Warning: This option is for advanced use only and is used internally
|
|
2385
2456
|
* to control embed behavior in non-regular ways. We do not publish the
|
|
2386
2457
|
* list of supported keys and values associated with each.
|
|
@@ -2668,6 +2739,19 @@ export interface ViewConfig {
|
|
|
2668
2739
|
* ```
|
|
2669
2740
|
*/
|
|
2670
2741
|
enableCustomColumnGroups?: boolean;
|
|
2742
|
+
/**
|
|
2743
|
+
* View content for another org directly without having to use the org switcher
|
|
2744
|
+
* This flag is honoured if orgPerUrl feature is enabled for the ThoughtSpot cluster
|
|
2745
|
+
* @example
|
|
2746
|
+
* ```js
|
|
2747
|
+
* const embed = new LiveboardEmbed('#embed', {
|
|
2748
|
+
* ... // other options
|
|
2749
|
+
* overrideOrgId: 142536
|
|
2750
|
+
* });
|
|
2751
|
+
* ```
|
|
2752
|
+
* @version SDK: 1.35.0 | ThoughtSpot: 10.5.0.cl
|
|
2753
|
+
*/
|
|
2754
|
+
overrideOrgId?: number;
|
|
2671
2755
|
}
|
|
2672
2756
|
/**
|
|
2673
2757
|
* MessagePayload: Embed event payload: message type, data and status (start/end)
|
|
@@ -2713,7 +2797,7 @@ export type MessageCallbackObj = {
|
|
|
2713
2797
|
};
|
|
2714
2798
|
export type GenericCallbackFn = (...args: any[]) => any;
|
|
2715
2799
|
export type QueryParams = {
|
|
2716
|
-
[key: string]: string;
|
|
2800
|
+
[key: string]: string | boolean | number;
|
|
2717
2801
|
};
|
|
2718
2802
|
/**
|
|
2719
2803
|
* A map of the supported runtime filter operations
|
|
@@ -4548,12 +4632,13 @@ export enum HostEvent {
|
|
|
4548
4632
|
* see link:https://developers.thoughtspot.com/docs/runtime-filters#rtOperator[Developer Documentation].
|
|
4549
4633
|
*
|
|
4550
4634
|
* `values` - An array of one or several values. The value definition on the
|
|
4551
|
-
* data type you choose to filter on. For a complete list of supported data types,
|
|
4552
|
-
*
|
|
4635
|
+
* data type you choose to filter on. For a complete list of supported data types,
|
|
4636
|
+
* see
|
|
4637
|
+
* link:https://developers.thoughtspot.com/docs/runtime-filters#_supported_data_types[Supported
|
|
4638
|
+
* data types].
|
|
4553
4639
|
*
|
|
4554
4640
|
* `type` - To update filters for date time, specify the date format type.
|
|
4555
4641
|
* For more information and examples, see link:https://developers.thoughtspot.com/docs/embed-liveboard#_date_filters[Date filters].
|
|
4556
|
-
*
|
|
4557
4642
|
* @example
|
|
4558
4643
|
* ```js
|
|
4559
4644
|
*
|
|
@@ -4838,8 +4923,10 @@ export enum Param {
|
|
|
4838
4923
|
ShowLiveboardVerifiedBadge = "showLiveboardVerifiedBadge",
|
|
4839
4924
|
ShowLiveboardReverifyBanner = "showLiveboardReverifyBanner",
|
|
4840
4925
|
LiveboardHeaderV2 = "isLiveboardHeaderV2Enabled",
|
|
4926
|
+
HideIrrelevantFiltersInTab = "hideIrrelevantFiltersAtTabLevel",
|
|
4841
4927
|
SpotterEnabled = "isSpotterExperienceEnabled",
|
|
4842
|
-
IsUnifiedSearchExperienceEnabled = "isUnifiedSearchExperienceEnabled"
|
|
4928
|
+
IsUnifiedSearchExperienceEnabled = "isUnifiedSearchExperienceEnabled",
|
|
4929
|
+
OverrideOrgId = "orgId"
|
|
4843
4930
|
}
|
|
4844
4931
|
/**
|
|
4845
4932
|
* ThoughtSpot application pages include actions and menu commands
|
|
@@ -5879,7 +5966,16 @@ export enum Action {
|
|
|
5879
5966
|
* ```
|
|
5880
5967
|
* @version SDK: 1.35.0 | Thoughtspot: 10.5.0.cl
|
|
5881
5968
|
*/
|
|
5882
|
-
DisableChipReorder = "disableChipReorder"
|
|
5969
|
+
DisableChipReorder = "disableChipReorder",
|
|
5970
|
+
/**
|
|
5971
|
+
* Action ID for Hide Irrelevant filters button
|
|
5972
|
+
* @example
|
|
5973
|
+
* ```js
|
|
5974
|
+
* hiddenAction: [Action.ChangeFilterVisibilityInTab]
|
|
5975
|
+
* ```
|
|
5976
|
+
* @version SDK: 1.35.0 | Thoughtspot: 10.5.0.cl
|
|
5977
|
+
*/
|
|
5978
|
+
ChangeFilterVisibilityInTab = "changeFilterVisibilityInTab"
|
|
5883
5979
|
}
|
|
5884
5980
|
export interface AnswerServiceType {
|
|
5885
5981
|
getAnswer?: (offset: number, batchSize: number) => any;
|
package/lib/package.json
CHANGED
package/lib/src/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAoBtC;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,WAAY,WAAW,KAAG,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAoBtC;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,WAAY,WAAW,KAAG,MAmBxD,CAAC;AAEF,eAAO,MAAM,aAAa,WAAY,WAAW,KAAG,MAgBnD,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,cAAc,OAAO,CAAC;AAEnC;;GAEG;AACH,eAAO,MAAM,mBAAmB,SAAS,CAAC;AAC1C,eAAO,MAAM,oBAAoB,SAAS,CAAC"}
|
package/lib/src/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAGzC;;;;;;GAMG;AAEH,MAAM,QAAQ,GAAG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I,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE;QAC9D,OAAO,EAAE,CAAC;KACb;IAED,OAAO,IAAI,CAAC;AAChB,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,IAAI,CAAC;AAEnC;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,MAAM,CAAC;AAC1C,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CAAC"}
|
package/lib/src/embed/app.d.ts
CHANGED
|
@@ -403,6 +403,20 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
403
403
|
* ```
|
|
404
404
|
*/
|
|
405
405
|
showLiveboardVerifiedBadge?: boolean;
|
|
406
|
+
/**
|
|
407
|
+
* This flag is used to enable/disable hide irrelevant filters in liveboard tab
|
|
408
|
+
* @type {boolean}
|
|
409
|
+
* @default false
|
|
410
|
+
* @version SDK: 1.35.0 | ThoughtSpot:10.5.0.cl
|
|
411
|
+
* @example
|
|
412
|
+
* ```js
|
|
413
|
+
* const embed = new AppEmbed('#embed-container', {
|
|
414
|
+
* ... // other options
|
|
415
|
+
* hideIrrelevantChipsInLiveboardTabs: true,
|
|
416
|
+
* })
|
|
417
|
+
* ```
|
|
418
|
+
*/
|
|
419
|
+
hideIrrelevantChipsInLiveboardTabs?: boolean;
|
|
406
420
|
/**
|
|
407
421
|
* This flag can be used to show or hide the re-verify banner on the Liveboard compact header
|
|
408
422
|
* @type {boolean}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../../src/embed/app.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,EAEH,WAAW,EAEX,UAAU,EAEV,cAAc,EACjB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC;;GAEG;AAEH,oBAAY,IAAI;IACZ;;OAEG;IACH,I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