@thoughtspot/visual-embed-sdk 1.46.5 → 1.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/package.json +1 -1
- package/cjs/src/embed/app.d.ts +0 -15
- package/cjs/src/embed/app.d.ts.map +1 -1
- package/cjs/src/embed/app.js +1 -2
- package/cjs/src/embed/app.js.map +1 -1
- package/cjs/src/embed/app.spec.js +0 -10
- package/cjs/src/embed/app.spec.js.map +1 -1
- package/cjs/src/embed/conversation.d.ts +1 -1
- package/cjs/src/embed/hostEventClient/utils.d.ts.map +1 -1
- package/cjs/src/embed/hostEventClient/utils.js +7 -1
- package/cjs/src/embed/hostEventClient/utils.js.map +1 -1
- package/cjs/src/embed/hostEventClient/utils.spec.js +80 -5
- package/cjs/src/embed/hostEventClient/utils.spec.js.map +1 -1
- package/cjs/src/embed/ts-embed.d.ts.map +1 -1
- package/cjs/src/embed/ts-embed.js +12 -4
- package/cjs/src/embed/ts-embed.js.map +1 -1
- package/cjs/src/embed/ts-embed.spec.d.ts.map +1 -1
- package/cjs/src/embed/ts-embed.spec.js +28 -67
- package/cjs/src/embed/ts-embed.spec.js.map +1 -1
- package/cjs/src/errors.d.ts +0 -1
- package/cjs/src/errors.d.ts.map +1 -1
- package/cjs/src/errors.js +0 -1
- package/cjs/src/errors.js.map +1 -1
- package/cjs/src/index.d.ts +1 -2
- package/cjs/src/index.d.ts.map +1 -1
- package/cjs/src/index.js +2 -4
- package/cjs/src/index.js.map +1 -1
- package/cjs/src/react/all-types-export.d.ts +2 -2
- package/cjs/src/react/all-types-export.d.ts.map +1 -1
- package/cjs/src/react/all-types-export.js +1 -3
- package/cjs/src/react/all-types-export.js.map +1 -1
- package/cjs/src/react/index.d.ts +1 -36
- package/cjs/src/react/index.d.ts.map +1 -1
- package/cjs/src/react/index.js +1 -34
- package/cjs/src/react/index.js.map +1 -1
- package/cjs/src/types.d.ts +41 -75
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +17 -47
- package/cjs/src/types.js.map +1 -1
- package/dist/{index-ChNydfIz.js → index-Bm2Hck8q.js} +1 -1
- package/dist/src/embed/app.d.ts +0 -15
- package/dist/src/embed/app.d.ts.map +1 -1
- package/dist/src/embed/conversation.d.ts +1 -1
- package/dist/src/embed/hostEventClient/utils.d.ts.map +1 -1
- package/dist/src/embed/ts-embed.d.ts.map +1 -1
- package/dist/src/embed/ts-embed.spec.d.ts.map +1 -1
- package/dist/src/errors.d.ts +0 -1
- package/dist/src/errors.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/react/all-types-export.d.ts +2 -2
- package/dist/src/react/all-types-export.d.ts.map +1 -1
- package/dist/src/react/index.d.ts +1 -36
- package/dist/src/react/index.d.ts.map +1 -1
- package/dist/src/types.d.ts +41 -75
- package/dist/src/types.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +59 -199
- package/dist/tsembed-react.js +47 -189
- package/dist/tsembed.es.js +74 -180
- package/dist/tsembed.js +30800 -30907
- package/dist/visual-embed-sdk-react-full.d.ts +44 -270
- package/dist/visual-embed-sdk-react.d.ts +44 -270
- package/dist/visual-embed-sdk.d.ts +42 -240
- package/lib/package.json +1 -1
- package/lib/src/embed/app.d.ts +0 -15
- package/lib/src/embed/app.d.ts.map +1 -1
- package/lib/src/embed/app.js +1 -2
- package/lib/src/embed/app.js.map +1 -1
- package/lib/src/embed/app.spec.js +0 -10
- package/lib/src/embed/app.spec.js.map +1 -1
- package/lib/src/embed/conversation.d.ts +1 -1
- package/lib/src/embed/hostEventClient/utils.d.ts.map +1 -1
- package/lib/src/embed/hostEventClient/utils.js +7 -1
- package/lib/src/embed/hostEventClient/utils.js.map +1 -1
- package/lib/src/embed/hostEventClient/utils.spec.js +80 -5
- package/lib/src/embed/hostEventClient/utils.spec.js.map +1 -1
- package/lib/src/embed/ts-embed.d.ts.map +1 -1
- package/lib/src/embed/ts-embed.js +12 -4
- package/lib/src/embed/ts-embed.js.map +1 -1
- package/lib/src/embed/ts-embed.spec.d.ts.map +1 -1
- package/lib/src/embed/ts-embed.spec.js +30 -69
- package/lib/src/embed/ts-embed.spec.js.map +1 -1
- package/lib/src/errors.d.ts +0 -1
- package/lib/src/errors.d.ts.map +1 -1
- package/lib/src/errors.js +0 -1
- package/lib/src/errors.js.map +1 -1
- package/lib/src/index.d.ts +1 -2
- package/lib/src/index.d.ts.map +1 -1
- package/lib/src/index.js +1 -2
- package/lib/src/index.js.map +1 -1
- package/lib/src/react/all-types-export.d.ts +2 -2
- package/lib/src/react/all-types-export.d.ts.map +1 -1
- package/lib/src/react/all-types-export.js +1 -1
- package/lib/src/react/all-types-export.js.map +1 -1
- package/lib/src/react/index.d.ts +1 -36
- package/lib/src/react/index.d.ts.map +1 -1
- package/lib/src/react/index.js +0 -33
- package/lib/src/react/index.js.map +1 -1
- package/lib/src/types.d.ts +41 -75
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +17 -47
- package/lib/src/types.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +42 -240
- package/package.json +1 -1
- package/src/embed/app.spec.ts +0 -15
- package/src/embed/app.ts +2 -20
- package/src/embed/conversation.ts +4 -4
- package/src/embed/hostEventClient/utils.spec.ts +94 -6
- package/src/embed/hostEventClient/utils.ts +15 -2
- package/src/embed/ts-embed.spec.ts +56 -108
- package/src/embed/ts-embed.ts +10 -3
- package/src/errors.ts +0 -1
- package/src/index.ts +2 -5
- package/src/react/all-types-export.ts +0 -3
- package/src/react/index.tsx +15 -59
- package/src/types.ts +102 -138
- package/cjs/src/embed/sage.d.ts +0 -164
- package/cjs/src/embed/sage.d.ts.map +0 -1
- package/cjs/src/embed/sage.js +0 -88
- package/cjs/src/embed/sage.js.map +0 -1
- package/cjs/src/embed/sage.spec.d.ts +0 -2
- package/cjs/src/embed/sage.spec.d.ts.map +0 -1
- package/cjs/src/embed/sage.spec.js +0 -151
- package/cjs/src/embed/sage.spec.js.map +0 -1
- package/dist/index-DGV_zh53.js +0 -7371
- package/dist/index-DW2wEHqy.js +0 -7371
- package/dist/src/embed/sage.d.ts +0 -164
- package/dist/src/embed/sage.d.ts.map +0 -1
- package/dist/src/embed/sage.spec.d.ts +0 -2
- package/dist/src/embed/sage.spec.d.ts.map +0 -1
- package/lib/src/embed/sage.d.ts +0 -164
- package/lib/src/embed/sage.d.ts.map +0 -1
- package/lib/src/embed/sage.js +0 -84
- package/lib/src/embed/sage.js.map +0 -1
- package/lib/src/embed/sage.spec.d.ts +0 -2
- package/lib/src/embed/sage.spec.d.ts.map +0 -1
- package/lib/src/embed/sage.spec.js +0 -148
- package/lib/src/embed/sage.spec.js.map +0 -1
- package/src/embed/sage.spec.ts +0 -206
- package/src/embed/sage.ts +0 -231
|
@@ -1493,11 +1493,6 @@ export interface EmbedConfig {
|
|
|
1493
1493
|
* @version SDK: 1.12.0 | ThoughtSpot: 8.4.0.cl, 8.4.1.sw
|
|
1494
1494
|
*/
|
|
1495
1495
|
suppressSearchEmbedBetaWarning?: boolean;
|
|
1496
|
-
/**
|
|
1497
|
-
* Hide `beta` alert warning message for SageEmbed.
|
|
1498
|
-
*
|
|
1499
|
-
*/
|
|
1500
|
-
suppressSageEmbedBetaWarning?: boolean;
|
|
1501
1496
|
/**
|
|
1502
1497
|
* Custom style params for embed Config.
|
|
1503
1498
|
* @version SDK: 1.17.0 | ThoughtSpot: 8.9.0.cl, 9.0.1.sw
|
|
@@ -1579,6 +1574,7 @@ export interface EmbedConfig {
|
|
|
1579
1574
|
/**
|
|
1580
1575
|
* Disables the Mixpanel tracking from the SDK.
|
|
1581
1576
|
* @version SDK: 1.27.9
|
|
1577
|
+
* @hidden
|
|
1582
1578
|
*/
|
|
1583
1579
|
disableSDKTracking?: boolean;
|
|
1584
1580
|
/**
|
|
@@ -1881,7 +1877,7 @@ export interface BaseViewConfig extends ApiInterceptFlags {
|
|
|
1881
1877
|
* The width and height dimensions to render an embedded
|
|
1882
1878
|
* object inside your app. Specify the values in pixels or percentage.
|
|
1883
1879
|
*
|
|
1884
|
-
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `
|
|
1880
|
+
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SearchEmbed`, `SpotterAgentEmbed`, `SpotterEmbed`, `SearchBarEmbed`
|
|
1885
1881
|
* @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 7.2.1
|
|
1886
1882
|
* @example
|
|
1887
1883
|
* ```js
|
|
@@ -1910,7 +1906,7 @@ export interface BaseViewConfig extends ApiInterceptFlags {
|
|
|
1910
1906
|
* for the user.
|
|
1911
1907
|
* Use this to disable actions.
|
|
1912
1908
|
*
|
|
1913
|
-
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `
|
|
1909
|
+
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SearchEmbed`, `SpotterAgentEmbed`, `SpotterEmbed`, `SearchBarEmbed`
|
|
1914
1910
|
* @version SDK: 1.6.0 | ThoughtSpot: ts8.nov.cl, 8.4.1.sw
|
|
1915
1911
|
* @example
|
|
1916
1912
|
* ```js
|
|
@@ -1925,7 +1921,7 @@ export interface BaseViewConfig extends ApiInterceptFlags {
|
|
|
1925
1921
|
/**
|
|
1926
1922
|
* The tooltip to display for disabled actions.
|
|
1927
1923
|
*
|
|
1928
|
-
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `
|
|
1924
|
+
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SearchEmbed`, `SpotterAgentEmbed`, `SpotterEmbed`, `SearchBarEmbed`
|
|
1929
1925
|
* @version SDK: 1.6.0 | ThoughtSpot: ts8.nov.cl, 8.4.1.sw
|
|
1930
1926
|
* @example
|
|
1931
1927
|
* ```js
|
|
@@ -1943,7 +1939,7 @@ export interface BaseViewConfig extends ApiInterceptFlags {
|
|
|
1943
1939
|
* These actions will be hidden from the user.
|
|
1944
1940
|
* Use this to hide an action.
|
|
1945
1941
|
*
|
|
1946
|
-
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `
|
|
1942
|
+
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SearchEmbed`, `SpotterAgentEmbed`, `SpotterEmbed`, `SearchBarEmbed`
|
|
1947
1943
|
* @version SDK: 1.6.0 | ThoughtSpot: ts8.nov.cl, 8.4.1.sw
|
|
1948
1944
|
* @example
|
|
1949
1945
|
* ```js
|
|
@@ -1964,7 +1960,7 @@ export interface BaseViewConfig extends ApiInterceptFlags {
|
|
|
1964
1960
|
*
|
|
1965
1961
|
* Use either this or hiddenActions.
|
|
1966
1962
|
*
|
|
1967
|
-
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `
|
|
1963
|
+
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SearchEmbed`, `SpotterAgentEmbed`, `SpotterEmbed`, `SearchBarEmbed`
|
|
1968
1964
|
* @version SDK: 1.6.0 | ThoughtSpot: ts8.nov.cl, 8.4.1.sw
|
|
1969
1965
|
* @important
|
|
1970
1966
|
* @example
|
|
@@ -1980,7 +1976,7 @@ export interface BaseViewConfig extends ApiInterceptFlags {
|
|
|
1980
1976
|
/**
|
|
1981
1977
|
* The locale settings to apply to the embedded view.
|
|
1982
1978
|
*
|
|
1983
|
-
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `
|
|
1979
|
+
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SearchEmbed`, `SpotterAgentEmbed`, `SpotterEmbed`, `SearchBarEmbed`
|
|
1984
1980
|
* @version SDK: 1.9.4 | ThoughtSpot: 8.1.0.cl, 8.4.1.sw
|
|
1985
1981
|
* @example
|
|
1986
1982
|
* ```js
|
|
@@ -2001,7 +1997,7 @@ export interface BaseViewConfig extends ApiInterceptFlags {
|
|
|
2001
1997
|
* to control embed behavior in non-regular ways. We do not publish the
|
|
2002
1998
|
* list of supported keys and values associated with each.
|
|
2003
1999
|
*
|
|
2004
|
-
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `
|
|
2000
|
+
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SearchEmbed`, `SpotterAgentEmbed`, `SpotterEmbed`, `SearchBarEmbed`
|
|
2005
2001
|
* @version SDK: 1.9.0 | ThoughtSpot: 8.1.0.cl, 8.4.1.sw
|
|
2006
2002
|
* @example
|
|
2007
2003
|
* ```js
|
|
@@ -2029,7 +2025,7 @@ export interface BaseViewConfig extends ApiInterceptFlags {
|
|
|
2029
2025
|
* Insert as a sibling of the target container, instead of appending to a
|
|
2030
2026
|
* child inside it.
|
|
2031
2027
|
*
|
|
2032
|
-
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `
|
|
2028
|
+
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SearchEmbed`, `SpotterAgentEmbed`, `SpotterEmbed`, `SearchBarEmbed`
|
|
2033
2029
|
* @version SDK: 1.2.0 | ThoughtSpot: 9.0.0.cl, 9.0.0.sw
|
|
2034
2030
|
* @example
|
|
2035
2031
|
* ```js
|
|
@@ -2055,7 +2051,7 @@ export interface BaseViewConfig extends ApiInterceptFlags {
|
|
|
2055
2051
|
* Use PreRender to render the embed in the background and then
|
|
2056
2052
|
* show or hide the rendered embed using showPreRender or hidePreRender respectively.
|
|
2057
2053
|
*
|
|
2058
|
-
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `
|
|
2054
|
+
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SearchEmbed`, `SpotterAgentEmbed`, `SpotterEmbed`, `SearchBarEmbed`
|
|
2059
2055
|
* @version SDK: 1.25.0 | ThoughtSpot: 9.6.0.cl, 9.8.0.sw
|
|
2060
2056
|
* @example
|
|
2061
2057
|
* ```js
|
|
@@ -2092,7 +2088,7 @@ export interface BaseViewConfig extends ApiInterceptFlags {
|
|
|
2092
2088
|
* Enable the V2 shell. This can provide performance benefits
|
|
2093
2089
|
* due to a lighter-weight shell.
|
|
2094
2090
|
*
|
|
2095
|
-
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `
|
|
2091
|
+
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SearchEmbed`, `SpotterAgentEmbed`, `SpotterEmbed`, `SearchBarEmbed`
|
|
2096
2092
|
* @version SDK: 1.31.2 | ThoughtSpot: 10.0.0.cl
|
|
2097
2093
|
* @example
|
|
2098
2094
|
* ```js
|
|
@@ -2119,7 +2115,7 @@ export interface BaseViewConfig extends ApiInterceptFlags {
|
|
|
2119
2115
|
* This flag can be used to disable links inside the embedded app,
|
|
2120
2116
|
* and disable redirection of links in a new tab.
|
|
2121
2117
|
*
|
|
2122
|
-
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `
|
|
2118
|
+
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SearchEmbed`, `SpotterAgentEmbed`, `SpotterEmbed`, `SearchBarEmbed`
|
|
2123
2119
|
* @version SDK: 1.32.1 | ThoughtSpot: 10.3.0.cl
|
|
2124
2120
|
* @example
|
|
2125
2121
|
* ```js
|
|
@@ -2138,7 +2134,7 @@ export interface BaseViewConfig extends ApiInterceptFlags {
|
|
|
2138
2134
|
* The `overrideOrgId` setting is honoured only if the
|
|
2139
2135
|
* Per Org URL feature is enabled on your ThoughtSpot instance.
|
|
2140
2136
|
*
|
|
2141
|
-
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `
|
|
2137
|
+
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SearchEmbed`, `SpotterAgentEmbed`, `SpotterEmbed`, `SearchBarEmbed`
|
|
2142
2138
|
* @version SDK: 1.35.0 | ThoughtSpot: 10.5.0.cl
|
|
2143
2139
|
* @example
|
|
2144
2140
|
* ```js
|
|
@@ -2158,7 +2154,7 @@ export interface BaseViewConfig extends ApiInterceptFlags {
|
|
|
2158
2154
|
* {@link enableLinkOverridesV2} instead.
|
|
2159
2155
|
*
|
|
2160
2156
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`,
|
|
2161
|
-
* `
|
|
2157
|
+
* `SearchEmbed`, `SpotterAgentEmbed`,
|
|
2162
2158
|
* `SpotterEmbed`, `SearchBarEmbed`
|
|
2163
2159
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
2164
2160
|
* @example
|
|
@@ -2182,7 +2178,7 @@ export interface BaseViewConfig extends ApiInterceptFlags {
|
|
|
2182
2178
|
* older ThoughtSpot versions.
|
|
2183
2179
|
*
|
|
2184
2180
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`,
|
|
2185
|
-
* `
|
|
2181
|
+
* `SearchEmbed`, `SpotterAgentEmbed`,
|
|
2186
2182
|
* `SpotterEmbed`, `SearchBarEmbed`
|
|
2187
2183
|
* @version SDK: 1.46.0 | ThoughtSpot: 26.2.0.cl
|
|
2188
2184
|
* @example
|
|
@@ -2241,7 +2237,7 @@ export interface BaseViewConfig extends ApiInterceptFlags {
|
|
|
2241
2237
|
* external app, calling an API, or opening a modal — based on the data context of
|
|
2242
2238
|
* what they clicked can be used to trigger custom logic when the action is clicked.
|
|
2243
2239
|
*
|
|
2244
|
-
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `
|
|
2240
|
+
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SearchEmbed`, `SpotterEmbed`
|
|
2245
2241
|
* @version SDK: 1.43.0 | ThoughtSpot: 10.14.0.cl
|
|
2246
2242
|
* @example
|
|
2247
2243
|
* ```ts
|
|
@@ -2595,11 +2591,11 @@ export interface SearchLiveboardCommonViewConfig {
|
|
|
2595
2591
|
/**
|
|
2596
2592
|
* flag to set ContextMenu Trigger to either left or right click.
|
|
2597
2593
|
*
|
|
2598
|
-
* Supported embed types: `AppEmbed`, `
|
|
2594
|
+
* Supported embed types: `AppEmbed`, `SearchEmbed`
|
|
2599
2595
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
2600
2596
|
* @example
|
|
2601
2597
|
* ```js
|
|
2602
|
-
* // Replace <EmbedComponent> with embed component name. For example, AppEmbed,
|
|
2598
|
+
* // Replace <EmbedComponent> with embed component name. For example, AppEmbed, or SearchEmbed
|
|
2603
2599
|
* const embed = new <EmbedComponent>('#tsEmbed', {
|
|
2604
2600
|
* ... // other embed view config
|
|
2605
2601
|
* contextMenuTrigger:ContextMenuTriggerOptions.LEFT_CLICK || RIGHT_CLICK,
|
|
@@ -2636,12 +2632,12 @@ export interface SearchLiveboardCommonViewConfig {
|
|
|
2636
2632
|
/**
|
|
2637
2633
|
* To set the initial state of the search bar in case of saved Answers.
|
|
2638
2634
|
*
|
|
2639
|
-
* Supported embed types: `
|
|
2635
|
+
* Supported embed types: `AppEmbed`, `SearchBarEmbed`
|
|
2640
2636
|
* @default true
|
|
2641
2637
|
* @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
|
|
2642
2638
|
* @example
|
|
2643
2639
|
* ```js
|
|
2644
|
-
* // Replace <EmbedComponent> with embed component name. For example,
|
|
2640
|
+
* // Replace <EmbedComponent> with embed component name. For example, AppEmbed, or SearchBarEmbed
|
|
2645
2641
|
* const embed = new <EmbedComponent>('#tsEmbed', {
|
|
2646
2642
|
* ... // other embed view config
|
|
2647
2643
|
* collapseSearchBar: true,
|
|
@@ -2652,12 +2648,12 @@ export interface SearchLiveboardCommonViewConfig {
|
|
|
2652
2648
|
/**
|
|
2653
2649
|
* Flag to control Data panel experience
|
|
2654
2650
|
*
|
|
2655
|
-
* Supported embed types: `
|
|
2651
|
+
* Supported embed types: `AppEmbed`, `SearchBarEmbed`, `LiveboardEmbed`, `SearchEmbed`
|
|
2656
2652
|
* @deprecated from SDK: 1.46.0 | ThoughtSpot Cloud: 26.3.0.cl
|
|
2657
2653
|
* @default true
|
|
2658
2654
|
* @example
|
|
2659
2655
|
* ```js
|
|
2660
|
-
* // Replace <EmbedComponent> with embed component name. For example,
|
|
2656
|
+
* // Replace <EmbedComponent> with embed component name. For example, AppEmbed, or SearchBarEmbed
|
|
2661
2657
|
* const embed = new <EmbedComponent>('#tsEmbed', {
|
|
2662
2658
|
* ... // other embed view config
|
|
2663
2659
|
* dataPanelV2: true,
|
|
@@ -2668,12 +2664,12 @@ export interface SearchLiveboardCommonViewConfig {
|
|
|
2668
2664
|
/**
|
|
2669
2665
|
* To enable custom column groups in data panel v2
|
|
2670
2666
|
*
|
|
2671
|
-
* Supported embed types: `
|
|
2667
|
+
* Supported embed types: `SearchBarEmbed`, `LiveboardEmbed`, `SearchEmbed`
|
|
2672
2668
|
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl, 10.1.0.sw
|
|
2673
2669
|
* @default false
|
|
2674
2670
|
* @example
|
|
2675
2671
|
* ```js
|
|
2676
|
-
* // Replace <EmbedComponent> with embed component name. For example,
|
|
2672
|
+
* // Replace <EmbedComponent> with embed component name. For example, SearchBarEmbed, or LiveboardEmbed
|
|
2677
2673
|
* const embed = new <EmbedComponent>('#tsEmbed', {
|
|
2678
2674
|
* ... // other embed view config
|
|
2679
2675
|
* enableCustomColumnGroups: true,
|
|
@@ -4054,19 +4050,6 @@ export enum EmbedEvent {
|
|
|
4054
4050
|
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl, 9.5.0.sw
|
|
4055
4051
|
*/
|
|
4056
4052
|
FilterChanged = "filterChanged",
|
|
4057
|
-
/**
|
|
4058
|
-
* Emitted when a user clicks the **Go** button to initiate
|
|
4059
|
-
* a Natural Language Search query
|
|
4060
|
-
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
4061
|
-
*/
|
|
4062
|
-
SageEmbedQuery = "sageEmbedQuery",
|
|
4063
|
-
/**
|
|
4064
|
-
* Emitted when a user selects a data source on the embedded
|
|
4065
|
-
* Natural Language Search interface.
|
|
4066
|
-
*
|
|
4067
|
-
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
4068
|
-
*/
|
|
4069
|
-
SageWorksheetUpdated = "sageWorksheetUpdated",
|
|
4070
4053
|
/**
|
|
4071
4054
|
* Emitted when a user updates a connection on the **Data** page
|
|
4072
4055
|
* @version SDK: 1.27.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
@@ -5529,7 +5512,7 @@ export enum HostEvent {
|
|
|
5529
5512
|
* tml.answer.search_query // TML representation of the search query
|
|
5530
5513
|
* );
|
|
5531
5514
|
* })
|
|
5532
|
-
|
|
5515
|
+
* ```
|
|
5533
5516
|
* @example
|
|
5534
5517
|
* ```js
|
|
5535
5518
|
* // Get TML from search context
|
|
@@ -6152,21 +6135,6 @@ export enum HostEvent {
|
|
|
6152
6135
|
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 9.8.0.sw
|
|
6153
6136
|
*/
|
|
6154
6137
|
SetHiddenTabs = "SetPinboardHiddenTabs",
|
|
6155
|
-
/**
|
|
6156
|
-
* Updates the search query string for Natural Language Search operations.
|
|
6157
|
-
* @param - Includes the following keys:
|
|
6158
|
-
* - `queryString`: Text string in Natural Language format.
|
|
6159
|
-
* - `executeSearch`: Boolean to execute search and update search query.
|
|
6160
|
-
* @example
|
|
6161
|
-
* ```js
|
|
6162
|
-
* sageEmbed.trigger(HostEvent.UpdateSageQuery, {
|
|
6163
|
-
* queryString: 'revenue per year',
|
|
6164
|
-
* executeSearch: true,
|
|
6165
|
-
* })
|
|
6166
|
-
* ```
|
|
6167
|
-
* @version SDK: 1.26.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
6168
|
-
*/
|
|
6169
|
-
UpdateSageQuery = "updateSageQuery",
|
|
6170
6138
|
/**
|
|
6171
6139
|
* Get the Answer session for a Search or
|
|
6172
6140
|
* Liveboard visualization.
|
|
@@ -7952,11 +7920,11 @@ export enum Action {
|
|
|
7952
7920
|
*/
|
|
7953
7921
|
CoverAndFilterOptionInPDF = "coverAndFilterOptionInPDF",
|
|
7954
7922
|
/**
|
|
7955
|
-
|
|
7956
|
-
|
|
7957
|
-
|
|
7958
|
-
|
|
7959
|
-
|
|
7923
|
+
* Action ID to hide or disable the Coaching workflow in Spotter conversations.
|
|
7924
|
+
* When disabled, users cannot access **Add to Coaching** workflow in conversation.
|
|
7925
|
+
* The **Add to Coaching** feature allows adding reference questions and
|
|
7926
|
+
* business terms to improve Spotter’s responses. This feature is generally available
|
|
7927
|
+
* (GA) from version 26.2.0.cl and enabled by default on embed deployments.
|
|
7960
7928
|
* @example
|
|
7961
7929
|
* ```js
|
|
7962
7930
|
* hiddenAction: [Action.InConversationTraining]
|
|
@@ -8033,17 +8001,17 @@ export enum Action {
|
|
|
8033
8001
|
*/
|
|
8034
8002
|
LiveboardStylePanel = "liveboardStylePanel",
|
|
8035
8003
|
/**
|
|
8036
|
-
|
|
8037
|
-
|
|
8038
|
-
|
|
8039
|
-
|
|
8040
|
-
|
|
8041
|
-
|
|
8042
|
-
|
|
8043
|
-
|
|
8044
|
-
|
|
8045
|
-
|
|
8046
|
-
|
|
8004
|
+
* The **Publish** action for Liveboards, Answers and Models.
|
|
8005
|
+
* Opens the publishing modal. It's a parent action for the
|
|
8006
|
+
* **Manage Publishing** and **Unpublish** actions if the object
|
|
8007
|
+
* is already published, otherwise appears standalone.
|
|
8008
|
+
* @example
|
|
8009
|
+
* ```js
|
|
8010
|
+
* hiddenActions: [Action.Publish]
|
|
8011
|
+
* disabledActions: [Action.Publish]
|
|
8012
|
+
* ```
|
|
8013
|
+
* @version SDK: 1.45.0 | ThoughtSpot Cloud: 26.2.0.cl
|
|
8014
|
+
*/
|
|
8047
8015
|
Publish = "publish",
|
|
8048
8016
|
/**
|
|
8049
8017
|
* The **Manage Publishing** action for Liveboards, Answers and Models.
|
|
@@ -9730,7 +9698,7 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, "primaryAct
|
|
|
9730
9698
|
* @default true
|
|
9731
9699
|
* @example
|
|
9732
9700
|
* ```js
|
|
9733
|
-
* // Replace <EmbedComponent> with embed component name. For example,
|
|
9701
|
+
* // Replace <EmbedComponent> with embed component name. For example, AppEmbed, or SearchBarEmbed
|
|
9734
9702
|
* const embed = new <EmbedComponent>('#tsEmbed', {
|
|
9735
9703
|
* ... // other embed view config
|
|
9736
9704
|
* dataPanelV2: true,
|
|
@@ -10474,21 +10442,6 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
10474
10442
|
* @version SDK: 1.33.0 | ThoughtSpot: 10.3.0.cl
|
|
10475
10443
|
*/
|
|
10476
10444
|
homePageSearchBarMode?: HomePageSearchBarMode;
|
|
10477
|
-
/**
|
|
10478
|
-
* This flag is used to enable unified search experience for full app embed.
|
|
10479
|
-
*
|
|
10480
|
-
* Supported embed types: `AppEmbed`
|
|
10481
|
-
* @version SDK: 1.34.0 | ThoughtSpot: 10.5.0.cl
|
|
10482
|
-
* @default true
|
|
10483
|
-
* @example
|
|
10484
|
-
* ```js
|
|
10485
|
-
* const embed = new AppEmbed('#tsEmbed', {
|
|
10486
|
-
* ... // other embed view config
|
|
10487
|
-
* isUnifiedSearchExperienceEnabled: true,
|
|
10488
|
-
* })
|
|
10489
|
-
* ```
|
|
10490
|
-
*/
|
|
10491
|
-
isUnifiedSearchExperienceEnabled?: boolean;
|
|
10492
10445
|
/**
|
|
10493
10446
|
* This flag is used to enable/disable the styling and grouping in a Liveboard. Use {@link isLiveboardMasterpiecesEnabled} instead.
|
|
10494
10447
|
* @deprecated This flag is deprecated.
|
|
@@ -12245,157 +12198,6 @@ export type SessionInfo = {
|
|
|
12245
12198
|
* @returns {Promise<SessionInfo>} The session info object.
|
|
12246
12199
|
*/
|
|
12247
12200
|
export function getSessionInfo(): Promise<SessionInfo>;
|
|
12248
|
-
interface SearchOptions$2 {
|
|
12249
|
-
/**
|
|
12250
|
-
* The query string to pass for Natural Language Search.
|
|
12251
|
-
*/
|
|
12252
|
-
searchQuery: string;
|
|
12253
|
-
/**
|
|
12254
|
-
* Boolean to define if the search should be executed or not.
|
|
12255
|
-
* If it is executed, the focus is placed on the results.
|
|
12256
|
-
* If it’s not executed, the focus is placed at the end of
|
|
12257
|
-
* the token string in the search bar.
|
|
12258
|
-
*/
|
|
12259
|
-
executeSearch?: boolean;
|
|
12260
|
-
}
|
|
12261
|
-
/**
|
|
12262
|
-
* The configuration attributes for the embedded Natural language search view. Based on
|
|
12263
|
-
* GPT and LLM.
|
|
12264
|
-
* @version SDK: 1.23.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
12265
|
-
*
|
|
12266
|
-
* Note: This embed will be deprecated from SDK: 1.40.0 | ThoughtSpot: 10.13.0.cl
|
|
12267
|
-
* @group Embed components
|
|
12268
|
-
*/
|
|
12269
|
-
export interface SageViewConfig extends SearchLiveboardCommonViewConfig, Omit<BaseViewConfig, "primaryAction" | "runtimeFilters" | "runtimeParameters" | "excludeRuntimeFiltersfromURL" | "excludeRuntimeParametersfromURL"> {
|
|
12270
|
-
/**
|
|
12271
|
-
* If set to true, a list of Liveboard and Answers related
|
|
12272
|
-
* to the natural language search will be shown below the
|
|
12273
|
-
* AI generated answer.
|
|
12274
|
-
* @deprecated Currently Liveboard and Answers related
|
|
12275
|
-
* to the natural language search will not be shown for sage
|
|
12276
|
-
* embed
|
|
12277
|
-
*/
|
|
12278
|
-
showObjectResults?: boolean;
|
|
12279
|
-
/**
|
|
12280
|
-
* flag used by the TS product tour page to show the blue search bar
|
|
12281
|
-
* even after the search is completed. This is different from ThoughtSpot Embedded
|
|
12282
|
-
* Sage Embed experience where it mimics closer to the non-embed case.
|
|
12283
|
-
* The Sample questions container is collapsed when this value is set after
|
|
12284
|
-
* does a search.
|
|
12285
|
-
* @version SDK: 1.26.0 | ThoughtSpot: 9.8.0.cl
|
|
12286
|
-
* @hidden
|
|
12287
|
-
*/
|
|
12288
|
-
isProductTour?: boolean;
|
|
12289
|
-
/**
|
|
12290
|
-
* Show or hide the search bar title.
|
|
12291
|
-
* @version SDK: 1.29.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
12292
|
-
* @deprecated ThoughtSpot: 9.10.0.cl | search bar doesn't have the title from 9.10.0.cl
|
|
12293
|
-
*/
|
|
12294
|
-
hideSearchBarTitle?: boolean;
|
|
12295
|
-
/**
|
|
12296
|
-
* Show or hide the Answer header, that is, the `AI Answer` title
|
|
12297
|
-
* at the top of the Answer page.
|
|
12298
|
-
* @version SDK: 1.26.0 | ThoughtSpot: 9.10.0.cl
|
|
12299
|
-
*/
|
|
12300
|
-
hideSageAnswerHeader?: boolean;
|
|
12301
|
-
/**
|
|
12302
|
-
* Disable the data source selection option.
|
|
12303
|
-
* @version SDK: 1.26.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
12304
|
-
*/
|
|
12305
|
-
disableWorksheetChange?: boolean;
|
|
12306
|
-
/**
|
|
12307
|
-
* Hide the data source selection panel.
|
|
12308
|
-
* @version SDK: 1.26.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
12309
|
-
*/
|
|
12310
|
-
hideWorksheetSelector?: boolean;
|
|
12311
|
-
/**
|
|
12312
|
-
* Show or hide autocomplete suggestions for the search query string.
|
|
12313
|
-
* @version SDK: 1.26.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
12314
|
-
*/
|
|
12315
|
-
hideAutocompleteSuggestions?: boolean;
|
|
12316
|
-
/**
|
|
12317
|
-
* Show or hide autocomplete suggestions for the search query string.
|
|
12318
|
-
* You can use {@link hideAutocompleteSuggestions} instead.
|
|
12319
|
-
* @deprecated
|
|
12320
|
-
* Currently, the object suggestions will not be shown for Natural Language Search.
|
|
12321
|
-
*/
|
|
12322
|
-
showObjectSuggestions?: boolean;
|
|
12323
|
-
/**
|
|
12324
|
-
* Show or hide sample questions.
|
|
12325
|
-
* The sample questions are autogenerated based on the data model
|
|
12326
|
-
* selected for the search operation.
|
|
12327
|
-
*
|
|
12328
|
-
* Supported embed types: `SageEmbed`
|
|
12329
|
-
* @version SDK: 1.26.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
12330
|
-
* @example
|
|
12331
|
-
* ```js
|
|
12332
|
-
* const embed = new SageEmbed('#tsEmbed', {
|
|
12333
|
-
* ... //other embed view config
|
|
12334
|
-
* hideSampleQuestions : true,
|
|
12335
|
-
* })
|
|
12336
|
-
* ```
|
|
12337
|
-
*/
|
|
12338
|
-
hideSampleQuestions?: boolean;
|
|
12339
|
-
/**
|
|
12340
|
-
* The data source GUID (Model GUID) to set on load.
|
|
12341
|
-
*/
|
|
12342
|
-
dataSource?: string;
|
|
12343
|
-
/**
|
|
12344
|
-
* Includes the following properties:
|
|
12345
|
-
*
|
|
12346
|
-
* `searchQuery`: The search query string to pass in the search bar.
|
|
12347
|
-
* Supports Natural Language Search queries.
|
|
12348
|
-
*
|
|
12349
|
-
* `executeSearch`: Boolean to define if the search should be executed or not.
|
|
12350
|
-
* If it is executed, the focus is placed on the results.
|
|
12351
|
-
* If it’s not executed, the focus is placed at the end of
|
|
12352
|
-
* the token string in the search bar.
|
|
12353
|
-
*
|
|
12354
|
-
* Supported embed types: `SageEmbed`
|
|
12355
|
-
* @version SDK: 1.26.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
|
|
12356
|
-
* @example
|
|
12357
|
-
* ```js
|
|
12358
|
-
* searchOptions: {
|
|
12359
|
-
* searchQuery: 'average sales by country and product type',
|
|
12360
|
-
* executeSearch: true,
|
|
12361
|
-
* }
|
|
12362
|
-
* ```
|
|
12363
|
-
*/
|
|
12364
|
-
searchOptions?: SearchOptions$2;
|
|
12365
|
-
}
|
|
12366
|
-
/**
|
|
12367
|
-
* Embed ThoughtSpot LLM and GPT-based Natural Language Search component.
|
|
12368
|
-
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl, 9.5.1-sw
|
|
12369
|
-
*
|
|
12370
|
-
* Note: This embed will be deprecated from SDK: 1.40.0 | ThoughtSpot: 10.13.0.cl
|
|
12371
|
-
* @group Embed components
|
|
12372
|
-
*/
|
|
12373
|
-
export class SageEmbed extends V1Embed {
|
|
12374
|
-
/**
|
|
12375
|
-
* The view configuration for the embedded ThoughtSpot sage.
|
|
12376
|
-
*
|
|
12377
|
-
*/
|
|
12378
|
-
protected viewConfig: SageViewConfig;
|
|
12379
|
-
constructor(domSelector: DOMSelector, viewConfig: SageViewConfig);
|
|
12380
|
-
protected getEmbedParamsObject(): Record<any, any>;
|
|
12381
|
-
/**
|
|
12382
|
-
* Constructs a map of parameters to be passed on to the
|
|
12383
|
-
* embedded Eureka or Sage search page.
|
|
12384
|
-
* @returns {string} query string
|
|
12385
|
-
*/
|
|
12386
|
-
protected getEmbedParams(): string;
|
|
12387
|
-
/**
|
|
12388
|
-
* Construct the URL of the embedded ThoughtSpot sage to be
|
|
12389
|
-
* loaded in the iframe
|
|
12390
|
-
* @returns {string} iframe url
|
|
12391
|
-
*/
|
|
12392
|
-
getIFrameSrc(): string;
|
|
12393
|
-
/**
|
|
12394
|
-
* Render the embedded ThoughtSpot Sage
|
|
12395
|
-
* @returns {SageEmbed} Eureka/Sage embed
|
|
12396
|
-
*/
|
|
12397
|
-
render(): Promise<SageEmbed>;
|
|
12398
|
-
}
|
|
12399
12201
|
/**
|
|
12400
12202
|
* Gets the embed configuration settings that were used to
|
|
12401
12203
|
* initialize the SDK.
|
package/package.json
CHANGED
package/src/embed/app.spec.ts
CHANGED
|
@@ -880,21 +880,6 @@ describe('App embed tests', () => {
|
|
|
880
880
|
});
|
|
881
881
|
});
|
|
882
882
|
|
|
883
|
-
test('Should add isUnifiedSearchExperienceEnabled flag to the iframe src', async () => {
|
|
884
|
-
const appEmbed = new AppEmbed(getRootEl(), {
|
|
885
|
-
...defaultViewConfig,
|
|
886
|
-
isUnifiedSearchExperienceEnabled: false,
|
|
887
|
-
} as AppViewConfig);
|
|
888
|
-
|
|
889
|
-
appEmbed.render();
|
|
890
|
-
await executeAfterWait(() => {
|
|
891
|
-
expectUrlMatchesWithParams(
|
|
892
|
-
getIFrameSrc(),
|
|
893
|
-
`http://${thoughtSpotHost}/?embedApp=true&primaryNavHidden=true&profileAndHelpInNavBarHidden=false&isUnifiedSearchExperienceEnabled=false${defaultParams}${defaultParamsPost}#/home`,
|
|
894
|
-
);
|
|
895
|
-
});
|
|
896
|
-
});
|
|
897
|
-
|
|
898
883
|
test('Should add hideIrrelevantFiltersAtTabLevel flag to the iframe src', async () => {
|
|
899
884
|
const appEmbed = new AppEmbed(getRootEl(), {
|
|
900
885
|
...defaultViewConfig,
|
package/src/embed/app.ts
CHANGED
|
@@ -534,22 +534,6 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
534
534
|
* @version SDK: 1.33.0 | ThoughtSpot: 10.3.0.cl
|
|
535
535
|
*/
|
|
536
536
|
homePageSearchBarMode?: HomePageSearchBarMode;
|
|
537
|
-
/**
|
|
538
|
-
* This flag is used to enable unified search experience for full app embed.
|
|
539
|
-
*
|
|
540
|
-
* Supported embed types: `AppEmbed`
|
|
541
|
-
* @version SDK: 1.34.0 | ThoughtSpot: 10.5.0.cl
|
|
542
|
-
* @default true
|
|
543
|
-
* @example
|
|
544
|
-
* ```js
|
|
545
|
-
* const embed = new AppEmbed('#tsEmbed', {
|
|
546
|
-
* ... // other embed view config
|
|
547
|
-
* isUnifiedSearchExperienceEnabled: true,
|
|
548
|
-
* })
|
|
549
|
-
* ```
|
|
550
|
-
*/
|
|
551
|
-
isUnifiedSearchExperienceEnabled?: boolean;
|
|
552
|
-
|
|
553
537
|
/**
|
|
554
538
|
* This flag is used to enable/disable the styling and grouping in a Liveboard. Use {@link isLiveboardMasterpiecesEnabled} instead.
|
|
555
539
|
* @deprecated This flag is deprecated.
|
|
@@ -587,8 +571,8 @@ export interface AppViewConfig extends AllEmbedViewConfig {
|
|
|
587
571
|
isPNGInScheduledEmailsEnabled?: boolean;
|
|
588
572
|
|
|
589
573
|
/**
|
|
590
|
-
* Enables the 'what you see is what you get' PDF export for Liveboards. Each tab is rendered on a single page
|
|
591
|
-
* following the exact UI layout, instead of splitting visualizations across multiple A4 pages.
|
|
574
|
+
* Enables the 'what you see is what you get' PDF export for Liveboards. Each tab is rendered on a single page
|
|
575
|
+
* following the exact UI layout, instead of splitting visualizations across multiple A4 pages.
|
|
592
576
|
* This feature is GA from version 26.5.0.cl and is enabled by default on embed deployments.
|
|
593
577
|
*
|
|
594
578
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`
|
|
@@ -868,7 +852,6 @@ export class AppEmbed extends V1Embed {
|
|
|
868
852
|
hideIrrelevantChipsInLiveboardTabs = false,
|
|
869
853
|
isEnhancedFilterInteractivityEnabled = false,
|
|
870
854
|
homePageSearchBarMode,
|
|
871
|
-
isUnifiedSearchExperienceEnabled = true,
|
|
872
855
|
enablePendoHelp = true,
|
|
873
856
|
discoveryExperience,
|
|
874
857
|
coverAndFilterOptionInPDF = false,
|
|
@@ -903,7 +886,6 @@ export class AppEmbed extends V1Embed {
|
|
|
903
886
|
params[Param.ShowLiveboardVerifiedBadge] = showLiveboardVerifiedBadge;
|
|
904
887
|
params[Param.ShowLiveboardReverifyBanner] = showLiveboardReverifyBanner;
|
|
905
888
|
params[Param.HideIrrelevantFiltersInTab] = hideIrrelevantChipsInLiveboardTabs;
|
|
906
|
-
params[Param.IsUnifiedSearchExperienceEnabled] = isUnifiedSearchExperienceEnabled;
|
|
907
889
|
params[Param.CoverAndFilterOptionInPDF] = !!coverAndFilterOptionInPDF;
|
|
908
890
|
|
|
909
891
|
params = this.getBaseQueryParams(params);
|
|
@@ -166,7 +166,7 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, 'primaryAct
|
|
|
166
166
|
* @default true
|
|
167
167
|
* @example
|
|
168
168
|
* ```js
|
|
169
|
-
* // Replace <EmbedComponent> with embed component name. For example,
|
|
169
|
+
* // Replace <EmbedComponent> with embed component name. For example, AppEmbed, or SearchBarEmbed
|
|
170
170
|
* const embed = new <EmbedComponent>('#tsEmbed', {
|
|
171
171
|
* ... // other embed view config
|
|
172
172
|
* dataPanelV2: true,
|
|
@@ -228,7 +228,7 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, 'primaryAct
|
|
|
228
228
|
runtimeFilters?: RuntimeFilter[];
|
|
229
229
|
/**
|
|
230
230
|
* Flag to control whether runtime filters should be included in the URL.
|
|
231
|
-
* If true, filters will be passed via app initialization payload
|
|
231
|
+
* If true, filters will be passed via app initialization payload
|
|
232
232
|
* (default behavior from SDK 1.45.0).
|
|
233
233
|
* If false/undefined, filters are appended to the iframe URL instead.
|
|
234
234
|
* (default behavior before SDK 1.45.0).
|
|
@@ -259,9 +259,9 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, 'primaryAct
|
|
|
259
259
|
runtimeParameters?: RuntimeParameter[];
|
|
260
260
|
/**
|
|
261
261
|
* Flag to control whether runtime parameters should be included in the URL.
|
|
262
|
-
* If true, parameters will be passed via app
|
|
262
|
+
* If true, parameters will be passed via app
|
|
263
263
|
* initialization payload (default behavior from SDK 1.45.0).
|
|
264
|
-
* If false/undefined, parameters are appended to
|
|
264
|
+
* If false/undefined, parameters are appended to
|
|
265
265
|
* the iframe URL instead (default behavior before SDK 1.45.0).
|
|
266
266
|
*
|
|
267
267
|
* Supported embed types: `SpotterEmbed`
|