@thoughtspot/visual-embed-sdk 1.44.4 → 1.44.5

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.
Files changed (122) hide show
  1. package/cjs/package.json +1 -1
  2. package/cjs/src/embed/app.d.ts +32 -0
  3. package/cjs/src/embed/app.d.ts.map +1 -1
  4. package/cjs/src/embed/app.js +7 -4
  5. package/cjs/src/embed/app.js.map +1 -1
  6. package/cjs/src/embed/app.spec.js +18 -7
  7. package/cjs/src/embed/app.spec.js.map +1 -1
  8. package/cjs/src/embed/conversation.d.ts +10 -6
  9. package/cjs/src/embed/conversation.d.ts.map +1 -1
  10. package/cjs/src/embed/conversation.js +12 -2
  11. package/cjs/src/embed/conversation.js.map +1 -1
  12. package/cjs/src/embed/conversation.spec.js +3 -0
  13. package/cjs/src/embed/conversation.spec.js.map +1 -1
  14. package/cjs/src/embed/embed.spec.js +1 -0
  15. package/cjs/src/embed/embed.spec.js.map +1 -1
  16. package/cjs/src/embed/liveboard.d.ts +32 -0
  17. package/cjs/src/embed/liveboard.d.ts.map +1 -1
  18. package/cjs/src/embed/liveboard.js +7 -4
  19. package/cjs/src/embed/liveboard.js.map +1 -1
  20. package/cjs/src/embed/liveboard.spec.js +46 -33
  21. package/cjs/src/embed/liveboard.spec.js.map +1 -1
  22. package/cjs/src/embed/pinboard.spec.js +1 -0
  23. package/cjs/src/embed/pinboard.spec.js.map +1 -1
  24. package/cjs/src/embed/search.d.ts.map +1 -1
  25. package/cjs/src/embed/search.js +6 -1
  26. package/cjs/src/embed/search.js.map +1 -1
  27. package/cjs/src/embed/search.spec.js +2 -0
  28. package/cjs/src/embed/search.spec.js.map +1 -1
  29. package/cjs/src/embed/ts-embed.d.ts.map +1 -1
  30. package/cjs/src/embed/ts-embed.js +7 -3
  31. package/cjs/src/embed/ts-embed.js.map +1 -1
  32. package/cjs/src/embed/ts-embed.spec.js +1 -0
  33. package/cjs/src/embed/ts-embed.spec.js.map +1 -1
  34. package/cjs/src/types.d.ts +140 -141
  35. package/cjs/src/types.d.ts.map +1 -1
  36. package/cjs/src/types.js +127 -117
  37. package/cjs/src/types.js.map +1 -1
  38. package/cjs/src/utils/graphql/answerService/answer-queries.d.ts +1 -1
  39. package/cjs/src/utils/graphql/answerService/answer-queries.d.ts.map +1 -1
  40. package/cjs/src/utils/graphql/answerService/answer-queries.js +0 -1
  41. package/cjs/src/utils/graphql/answerService/answer-queries.js.map +1 -1
  42. package/cjs/src/utils/graphql/answerService/answerService.spec.js +0 -1
  43. package/cjs/src/utils/graphql/answerService/answerService.spec.js.map +1 -1
  44. package/dist/{index-C5FAW929.js → index-_2rRJf4J.js} +1 -1
  45. package/dist/src/embed/app.d.ts +32 -0
  46. package/dist/src/embed/app.d.ts.map +1 -1
  47. package/dist/src/embed/conversation.d.ts +10 -6
  48. package/dist/src/embed/conversation.d.ts.map +1 -1
  49. package/dist/src/embed/liveboard.d.ts +32 -0
  50. package/dist/src/embed/liveboard.d.ts.map +1 -1
  51. package/dist/src/embed/search.d.ts.map +1 -1
  52. package/dist/src/embed/ts-embed.d.ts.map +1 -1
  53. package/dist/src/types.d.ts +140 -141
  54. package/dist/src/types.d.ts.map +1 -1
  55. package/dist/src/utils/graphql/answerService/answer-queries.d.ts +1 -1
  56. package/dist/src/utils/graphql/answerService/answer-queries.d.ts.map +1 -1
  57. package/dist/tsembed-react.es.js +169 -135
  58. package/dist/tsembed-react.js +168 -134
  59. package/dist/tsembed.es.js +169 -135
  60. package/dist/tsembed.js +168 -134
  61. package/dist/visual-embed-sdk-react-full.d.ts +207 -129
  62. package/dist/visual-embed-sdk-react.d.ts +207 -129
  63. package/dist/visual-embed-sdk.d.ts +212 -146
  64. package/lib/package.json +1 -1
  65. package/lib/src/embed/app.d.ts +32 -0
  66. package/lib/src/embed/app.d.ts.map +1 -1
  67. package/lib/src/embed/app.js +7 -4
  68. package/lib/src/embed/app.js.map +1 -1
  69. package/lib/src/embed/app.spec.js +18 -7
  70. package/lib/src/embed/app.spec.js.map +1 -1
  71. package/lib/src/embed/conversation.d.ts +10 -6
  72. package/lib/src/embed/conversation.d.ts.map +1 -1
  73. package/lib/src/embed/conversation.js +12 -2
  74. package/lib/src/embed/conversation.js.map +1 -1
  75. package/lib/src/embed/conversation.spec.js +3 -0
  76. package/lib/src/embed/conversation.spec.js.map +1 -1
  77. package/lib/src/embed/embed.spec.js +1 -0
  78. package/lib/src/embed/embed.spec.js.map +1 -1
  79. package/lib/src/embed/liveboard.d.ts +32 -0
  80. package/lib/src/embed/liveboard.d.ts.map +1 -1
  81. package/lib/src/embed/liveboard.js +7 -4
  82. package/lib/src/embed/liveboard.js.map +1 -1
  83. package/lib/src/embed/liveboard.spec.js +46 -33
  84. package/lib/src/embed/liveboard.spec.js.map +1 -1
  85. package/lib/src/embed/pinboard.spec.js +1 -0
  86. package/lib/src/embed/pinboard.spec.js.map +1 -1
  87. package/lib/src/embed/search.d.ts.map +1 -1
  88. package/lib/src/embed/search.js +6 -1
  89. package/lib/src/embed/search.js.map +1 -1
  90. package/lib/src/embed/search.spec.js +2 -0
  91. package/lib/src/embed/search.spec.js.map +1 -1
  92. package/lib/src/embed/ts-embed.d.ts.map +1 -1
  93. package/lib/src/embed/ts-embed.js +7 -3
  94. package/lib/src/embed/ts-embed.js.map +1 -1
  95. package/lib/src/embed/ts-embed.spec.js +1 -0
  96. package/lib/src/embed/ts-embed.spec.js.map +1 -1
  97. package/lib/src/types.d.ts +140 -141
  98. package/lib/src/types.d.ts.map +1 -1
  99. package/lib/src/types.js +127 -117
  100. package/lib/src/types.js.map +1 -1
  101. package/lib/src/utils/graphql/answerService/answer-queries.d.ts +1 -1
  102. package/lib/src/utils/graphql/answerService/answer-queries.d.ts.map +1 -1
  103. package/lib/src/utils/graphql/answerService/answer-queries.js +0 -1
  104. package/lib/src/utils/graphql/answerService/answer-queries.js.map +1 -1
  105. package/lib/src/utils/graphql/answerService/answerService.spec.js +0 -1
  106. package/lib/src/utils/graphql/answerService/answerService.spec.js.map +1 -1
  107. package/package.json +1 -1
  108. package/src/embed/app.spec.ts +25 -7
  109. package/src/embed/app.ts +44 -5
  110. package/src/embed/conversation.spec.ts +3 -0
  111. package/src/embed/conversation.ts +22 -8
  112. package/src/embed/embed.spec.ts +1 -0
  113. package/src/embed/liveboard.spec.ts +62 -42
  114. package/src/embed/liveboard.ts +42 -5
  115. package/src/embed/pinboard.spec.ts +1 -0
  116. package/src/embed/search.spec.ts +2 -0
  117. package/src/embed/search.ts +6 -1
  118. package/src/embed/ts-embed.spec.ts +1 -0
  119. package/src/embed/ts-embed.ts +7 -3
  120. package/src/types.ts +144 -144
  121. package/src/utils/graphql/answerService/answer-queries.ts +0 -1
  122. package/src/utils/graphql/answerService/answerService.spec.ts +0 -1
@@ -1,4 +1,4 @@
1
- /* @thoughtspot/visual-embed-sdk version 1.44.4 */
1
+ /* @thoughtspot/visual-embed-sdk version 1.44.5 */
2
2
  'use client';
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) :
@@ -550,7 +550,11 @@
550
550
  exports.ListPageColumns = void 0;
551
551
  (function (ListPageColumns) {
552
552
  /**
553
- * Favourite
553
+ * Favorites
554
+ */
555
+ ListPageColumns["Favorites"] = "FAVOURITE";
556
+ /**
557
+ * @deprecated Use {@link ListPageColumns.Favorites} instead.
554
558
  */
555
559
  ListPageColumns["Favourite"] = "FAVOURITE";
556
560
  /**
@@ -569,6 +573,10 @@
569
573
  * Share
570
574
  */
571
575
  ListPageColumns["Share"] = "SHARE";
576
+ /**
577
+ * Verified badge/column
578
+ */
579
+ ListPageColumns["Verified"] = "VERIFIED";
572
580
  })(exports.ListPageColumns || (exports.ListPageColumns = {}));
573
581
  /**
574
582
  * Event types emitted by the embedded ThoughtSpot application.
@@ -785,7 +793,7 @@
785
793
  /**
786
794
  * An error has occurred. This event is fired for the following error types:
787
795
  *
788
- * `API` - API call failure error.
796
+ * `API` - API call failure.
789
797
  * `FULLSCREEN` - Error when presenting a Liveboard or visualization in full screen
790
798
  * mode. `SINGLE_VALUE_FILTER` - Error due to multiple values in the single value
791
799
  * filter. `NON_EXIST_FILTER` - Error due to a non-existent filter.
@@ -1516,20 +1524,20 @@
1516
1524
  /**
1517
1525
  *
1518
1526
  * This event can be emitted to intercept search execution initiated by
1519
- * the users and implement the logic to allow or restrict search execution.
1520
- * You can can also show custom error text if the search query must be
1527
+ * users and implement logic to allow or restrict search execution.
1528
+ * You can also show custom error text if the search query must be
1521
1529
  * restricted due to your application or business requirements.
1522
1530
 
1523
1531
  * Prerequisite: Set `isOnBeforeGetVizDataInterceptEnabled` to `true`
1524
1532
  * for this embed event to get emitted.
1525
- * @param:payload The payload received from the embed related to the Data API call.
1526
- * @param:responder
1527
- * Contains elements that lets developers define whether ThoughtSpot
1528
- * should run the search, and if not, what error message
1529
- * should be shown to the user.
1533
+ * @param - Includes the following event listener parameters:
1534
+ * - `payload`: The payload received from the embed related to the Data API call.
1535
+ * - `responder`: Contains elements that let developers define whether ThoughtSpot
1536
+ * should run the search, and if not, what error message
1537
+ * should be shown to the user.
1530
1538
  *
1531
- * `execute` - When execute returns `true`, the search will be run.
1532
- * When execute returns `false`, the search will not be executed.
1539
+ * `execute` - When `execute` returns `true`, the search will be run.
1540
+ * When `execute` returns `false`, the search will not be executed.
1533
1541
  *
1534
1542
  * `error` - Developers can customize the error message text when `execute`
1535
1543
  * is `false` using the `errorText` and `errorDescription` parameters in responder.
@@ -1701,7 +1709,7 @@
1701
1709
  * console.log('payload', payload);
1702
1710
  * })
1703
1711
  * ```
1704
- * @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
1712
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
1705
1713
  */
1706
1714
  EmbedEvent["DataModelInstructions"] = "DataModelInstructions";
1707
1715
  /**
@@ -1920,14 +1928,14 @@
1920
1928
  * the search query string.
1921
1929
  * Supported in `AppEmbed` and `SearchEmbed` deployments.
1922
1930
  * Includes the following properties:
1923
- * @param - `searchQuery` - query string with search tokens
1924
- * @param - `dataSources` - Data source GUID to Search on
1925
- * - Although an array, only a single source
1926
- * is supported.
1927
- * @param - `execute` - executes search and updates the existing query
1931
+ * @param - Includes the following keys:
1932
+ * - `searchQuery`: Query string with search tokens.
1933
+ * - `dataSources`: Data source GUID to search on.
1934
+ * Although an array, only a single source is supported.
1935
+ * - `execute`: Executes search and updates the existing query.
1928
1936
  * @example
1929
1937
  * ```js
1930
- * searchembed.trigger(HostEvent.Search, {
1938
+ * searchEmbed.trigger(HostEvent.Search, {
1931
1939
  searchQuery: "[sales] by [item type]",
1932
1940
  dataSources: ["cd252e5c-b552-49a8-821d-3eadaa049cca"],
1933
1941
  execute: true
@@ -1938,16 +1946,15 @@
1938
1946
  /**
1939
1947
  * Triggers a drill on certain points of the specified column
1940
1948
  * Includes the following properties:
1941
- * @param - points - an object containing selectedPoints/clickedPoints
1942
- * to drill to. For example, { selectedPoints: []}
1943
- * @param - columnGuid - Optional. GUID of the column to drill
1944
- * by. If not provided it will auto drill by the configured
1945
- * column.
1946
- * @param - autoDrillDown - Optional. If true, the drill down will be
1947
- * done automatically on the most popular column.
1948
- * @param - vizId [TS >= 9.8.0] - Optional. The GUID of the visualization to drill
1949
- * in case of a Liveboard.
1950
- * @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
1949
+ * @param - Includes the following keys:
1950
+ * - `points`: An object containing `selectedPoints` and/or `clickedPoint`
1951
+ * to drill to. For example, `{ selectedPoints: [] }`.
1952
+ * - `columnGuid`: Optional. GUID of the column to drill by. If not provided,
1953
+ * it will auto drill by the configured column.
1954
+ * - `autoDrillDown`: Optional. If `true`, the drill down will be done automatically
1955
+ * on the most popular column.
1956
+ * - `vizId` (TS >= 9.8.0): Optional. The GUID of the visualization to drill in case
1957
+ * of a Liveboard. In Spotter embed, `vizId` refers to the Answer ID and is **required**.
1951
1958
  * @example
1952
1959
  * ```js
1953
1960
  * searchEmbed.on(EmbedEvent.VizPointDoubleClick, (payload) => {
@@ -2040,14 +2047,12 @@
2040
2047
  * and `AppEmbed` only. In full application embedding, this event updates
2041
2048
  * the runtime filters applied on the Liveboard and saved Answer objects.
2042
2049
  *
2043
- * @param - Pass an array of {@link RuntimeFilter} with the following attributes:
2044
- * `columnName` - _String_. The name of the column to filter on.
2045
- *
2046
- * `operator` - {@link RuntimeFilterOp} to apply. For more information,
2047
- * see link:https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator[Developer Documentation].
2048
- *
2049
- * `values` - List of operands. Some operators such as EQ and LE allow a
2050
- * single value, whereas BW and IN accept multiple values.
2050
+ * @param - Array of {@link RuntimeFilter} objects. Each item includes:
2051
+ * - `columnName`: Name of the column to filter on.
2052
+ * - `operator`: {@link RuntimeFilterOp} to apply. For more information, see
2053
+ * link:https://developers.thoughtspot.com/docs/runtime-filters#rtOperator[Developer Documentation].
2054
+ * - `values`: List of operands. Some operators such as EQ and LE allow a single
2055
+ * value, whereas BW and IN accept multiple values.
2051
2056
  *
2052
2057
  * **Note**: Updating runtime filters resets the ThoughtSpot
2053
2058
  * object to its original state and applies new filter conditions.
@@ -2070,7 +2075,7 @@
2070
2075
  /**
2071
2076
  * Navigate to a specific page in the embedded ThoughtSpot application.
2072
2077
  * This is the same as calling `appEmbed.navigateToPage(path, true)`.
2073
- * @param - `path` - the path to navigate to to go forward or back. The path value can
2078
+ * @param - `path` - the path to navigate to go forward or back. The path value can
2074
2079
  * be a number; for example, `1`, `-1`.
2075
2080
  * @example
2076
2081
  * ```js
@@ -2141,30 +2146,25 @@
2141
2146
  * for the Answer that the user is currently on
2142
2147
  * and a modal opens for Liveboard selection.
2143
2148
  * To add an Answer or visualization to a Liveboard programmatically without
2144
- * showing requiring additional user input via *Pin to Liveboard* modal, define
2149
+ * requiring additional user input via the *Pin to Liveboard* modal, define
2145
2150
  * the following parameters:
2146
2151
  *
2147
- * @param
2148
- * `vizId`- GUID of the saved Answer or Spotter visualization ID to pin to a Liveboard.
2149
- * Optional when pinning a new chart or table generated from a Search query.
2150
- * **Required** in Spotter Embed.
2151
- * @param
2152
- * `liveboardID` - GUID of the Liveboard to pin an Answer. If there is no Liveboard,
2153
- * specify the `newLiveboardName` parameter to create a new Liveboard.
2154
- * @param
2155
- * `tabId` - GUID of the Liveboard tab. Adds the Answer to the Liveboard tab
2156
- * specified in the code.
2157
- * @param
2158
- * `newVizName` - Name string for the Answer or visualization. If defined,
2159
- * this parameter adds a new visualization object or creates a copy of the
2160
- * Answer or visualization specified in `vizId`.
2161
- * Required attribute.
2162
- * @param
2163
- * `newLiveboardName` - Name string for the Liveboard.
2164
- * Creates a new Liveboard object with the specified name.
2165
- * @param
2166
- * `newTabName` - Name of the tab. Adds a new tab Liveboard specified
2167
- * in the code.
2152
+ * @param - Includes the following keys:
2153
+ * - `vizId`: GUID of the saved Answer or Spotter visualization ID to pin to a Liveboard.
2154
+ * Optional when pinning a new chart or table generated from a Search query.
2155
+ * **Required** in Spotter Embed.
2156
+ * - `liveboardId`: GUID of the Liveboard to pin an Answer. If there is no Liveboard,
2157
+ * specify the `newLiveboardName` parameter to create a new Liveboard.
2158
+ * - `tabId`: GUID of the Liveboard tab. Adds the Answer to the Liveboard tab
2159
+ * specified in the code.
2160
+ * - `newVizName`: Name string for the Answer or visualization. If defined,
2161
+ * this parameter adds a new visualization object or creates a copy of the
2162
+ * Answer or visualization specified in `vizId`.
2163
+ * Required.
2164
+ * - `newLiveboardName`: Name string for the Liveboard.
2165
+ * Creates a new Liveboard object with the specified name.
2166
+ * - `newTabName`: Name of the tab. Adds a new tab Liveboard specified
2167
+ * in the code.
2168
2168
  *
2169
2169
  * @example
2170
2170
  * ```js
@@ -2404,9 +2404,9 @@
2404
2404
  * on a Liveboard.
2405
2405
  *
2406
2406
  * This event is not supported in visualization embed and search embed.
2407
- * @param - object - To trigger the action for a specific visualization
2408
- * in Liveboard embed, pass in `vizId` as a key.
2409
- * @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
2407
+ * @param - Object parameter. Includes the following keys:
2408
+ * - `vizId`: To trigger the action for a specific visualization in Liveboard embed,
2409
+ * pass in `vizId` as a key. In Spotter embed, `vizId` refers to the Answer ID and is **required**.
2410
2410
  *
2411
2411
  * @example
2412
2412
  * ```js
@@ -2773,10 +2773,9 @@
2773
2773
  HostEvent["GetFilters"] = "getFilters";
2774
2774
  /**
2775
2775
  * Update one or several filters applied on a Liveboard.
2776
- * @param - `filter`: a single filter object containing column name,
2777
- * filter operator, and values.
2778
- * @param - `filters`: multiple filter objects with column name, filter operator,
2779
- * and values for each.
2776
+ * @param - Includes the following keys:
2777
+ * - `filter`: A single filter object containing column name, filter operator, and values.
2778
+ * - `filters`: Multiple filter objects with column name, filter operator, and values for each.
2780
2779
  *
2781
2780
  * Each filter object must include the following attributes:
2782
2781
  *
@@ -2902,8 +2901,9 @@
2902
2901
  HostEvent["SetHiddenTabs"] = "SetPinboardHiddenTabs";
2903
2902
  /**
2904
2903
  * Updates the search query string for Natural Language Search operations.
2905
- * @param - `queryString`: Text string in Natural Language format
2906
- * @param - `executeSearch`: Boolean to execute search and update search query
2904
+ * @param - Includes the following keys:
2905
+ * - `queryString`: Text string in Natural Language format.
2906
+ * - `executeSearch`: Boolean to execute search and update search query.
2907
2907
  * @example
2908
2908
  * ```js
2909
2909
  * sageEmbed.trigger(HostEvent.UpdateSageQuery, {
@@ -2982,11 +2982,10 @@
2982
2982
  /**
2983
2983
  * Triggers an action to update Parameter values on embedded
2984
2984
  * Answers, Liveboard, and Spotter answer in Edit mode.
2985
- * @param - `name` - Name of the Parameter
2986
- * @param - `value` - The value to set for the Parameter.
2987
- *
2988
- * Optionally, to control the visibility of the Parameter chip,
2989
- * use the `isVisibleToUser` attribute when applying an override.
2985
+ * @param - Includes the following keys for each item:
2986
+ * - `name`: Name of the parameter.
2987
+ * - `value`: The value to set for the parameter.
2988
+ * - `isVisibleToUser`: Optional. To control the visibility of the parameter chip.
2990
2989
  *
2991
2990
  * @example
2992
2991
  * ```js
@@ -3044,11 +3043,10 @@
3044
3043
  * If no parameters are specified, the save action is
3045
3044
  * triggered with a modal to prompt users to
3046
3045
  * add a name and description for the Answer.
3047
- * @param - `vizId` refers to the Answer ID in Spotter embed
3048
- * and is required in Spotter embed.
3049
- * Optional attributes to set Answer properties include:
3050
- * @param - `name` - Name string for the Answer.
3051
- * @param - `description` - Description text for the Answer.
3046
+ * @param - Includes the following keys:
3047
+ * - `vizId`: Refers to the Answer ID in Spotter embed and is **required** in Spotter embed.
3048
+ * - `name`: Optional. Name string for the Answer.
3049
+ * - `description`: Optional. Description text for the Answer.
3052
3050
  * @example
3053
3051
  * ```js
3054
3052
  * const saveAnswerResponse = await searchEmbed.trigger(HostEvent.SaveAnswer, {
@@ -3097,8 +3095,9 @@
3097
3095
  /**
3098
3096
  * Triggers a search operation with the search tokens specified in
3099
3097
  * the search query string in spotter embed.
3100
- * @param - `query`: Text string in Natural Language format
3101
- * @param - `executeSearch`: Boolean to execute search and update search query
3098
+ * @param - Includes the following keys:
3099
+ * - `query`: Text string in Natural Language format.
3100
+ * - `executeSearch`: Boolean to execute search and update search query.
3102
3101
  * @example
3103
3102
  * ```js
3104
3103
  * spotterEmbed.trigger(HostEvent.SpotterSearch, {
@@ -3145,7 +3144,7 @@
3145
3144
  * ```js
3146
3145
  * spotterEmbed.trigger(HostEvent.DataModelInstructions);
3147
3146
  * ```
3148
- * @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
3147
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
3149
3148
  */
3150
3149
  HostEvent["DataModelInstructions"] = "DataModelInstructions";
3151
3150
  /**
@@ -3230,7 +3229,7 @@
3230
3229
  */
3231
3230
  HostEvent["UpdateEmbedParams"] = "updateEmbedParams";
3232
3231
  /**
3233
- * Triggered when the embed is needed to be destroyed. This is used to clean up any embed related resources internally.
3232
+ * Triggered when the embed needs to be destroyed. This is used to clean up any embed-related resources internally.
3234
3233
  * @example
3235
3234
  * ```js
3236
3235
  * liveboardEmbed.trigger(HostEvent.DestroyEmbed);
@@ -3238,11 +3237,12 @@
3238
3237
  * @version SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl
3239
3238
  */
3240
3239
  HostEvent["DestroyEmbed"] = "EmbedDestroyed";
3241
- /** Triggers a create new conversation operation in spotter embed.
3242
- * @example
3243
- * ```js
3240
+ /**
3241
+ * Triggers a new conversation in Spotter embed.
3242
+ *
3244
3243
  * This feature is available only when chat history is enabled on your ThoughtSpot instance.
3245
3244
  * Contact your admin or ThoughtSpot Support to enable chat history on your instance.
3245
+ *
3246
3246
  * @example
3247
3247
  * ```js
3248
3248
  * spotterEmbed.trigger(HostEvent.StartNewSpotterConversation);
@@ -3399,8 +3399,9 @@
3399
3399
  Param["IsLiveboardStylingAndGroupingEnabled"] = "isLiveboardStylingAndGroupingEnabled";
3400
3400
  Param["IsLazyLoadingForEmbedEnabled"] = "isLazyLoadingForEmbedEnabled";
3401
3401
  Param["RootMarginForLazyLoad"] = "rootMarginForLazyLoad";
3402
- Param["LiveboardXLSXCSVDownload"] = "isLiveboardXLSXCSVDownloadEnabled";
3403
3402
  Param["isPNGInScheduledEmailsEnabled"] = "isPNGInScheduledEmailsEnabled";
3403
+ Param["isLiveboardXLSXCSVDownloadEnabled"] = "isLiveboardXLSXCSVDownloadEnabled";
3404
+ Param["isGranularXLSXCSVSchedulesEnabled"] = "isGranularXLSXCSVSchedulesEnabled";
3404
3405
  Param["isCentralizedLiveboardFilterUXEnabled"] = "isCentralizedLiveboardFilterUXEnabled";
3405
3406
  Param["isLinkParametersEnabled"] = "isLinkParametersEnabled";
3406
3407
  Param["EnablePastConversationsSidebar"] = "enablePastConversationsSidebar";
@@ -3431,7 +3432,7 @@
3431
3432
  * hiddenActions: [Action.Edit, ActionAction.Explore],
3432
3433
  * })
3433
3434
  * ```
3434
- * See also link:https://developers.thoughtspot.com/docs/actions[Action IDs in the SDK]
3435
+ * See also link:https://developers.thoughtspot.com/docs/actions[Developer Documentation].
3435
3436
  */
3436
3437
  exports.Action = void 0;
3437
3438
  (function (Action) {
@@ -3719,6 +3720,16 @@
3719
3720
  * ```
3720
3721
  */
3721
3722
  Action["DownloadAsXlsx"] = "downloadAsXLSX";
3723
+ /**
3724
+ * The **Download Liveboard** menu action on a Liveboard.
3725
+ * Allows downloading the entire Liveboard.
3726
+ * @example
3727
+ * ```js
3728
+ * disabledActions: [Action.DownloadLiveboard]
3729
+ * ```
3730
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
3731
+ */
3732
+ Action["DownloadLiveboard"] = "downloadLiveboard";
3722
3733
  /**
3723
3734
  * @hidden
3724
3735
  */
@@ -4058,28 +4069,28 @@
4058
4069
  Action["CrossFilter"] = "context-menu-item-cross-filter";
4059
4070
  /**
4060
4071
  * The **Sync to Slack** action on Liveboard visualizations.
4061
- * Allows sending data to third-party apps Slack
4072
+ * Allows sending data to third-party apps like Slack.
4062
4073
  * @example
4063
4074
  * ```js
4064
4075
  * disabledActions: [Action.SyncToSlack]
4065
4076
  * ```
4066
- * @version @version SDK : 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
4077
+ * @version SDK: 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
4067
4078
  */
4068
4079
  Action["SyncToSlack"] = "syncToSlack";
4069
4080
  /**
4070
4081
  * The **Sync to Teams** action on Liveboard visualizations.
4071
- * Allows sending data to third-party apps Team
4082
+ * Allows sending data to third-party apps like Microsoft Teams.
4072
4083
  * @example
4073
4084
  * ```js
4074
4085
  * disabledActions: [Action.SyncToTeams]
4075
4086
  * ```
4076
- * @version @version SDK : 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
4087
+ * @version SDK: 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
4077
4088
  */
4078
4089
  Action["SyncToTeams"] = "syncToTeams";
4079
4090
  /**
4080
4091
  * The **Remove** action that appears when cross filters are applied
4081
4092
  * on a Liveboard.
4082
- * Removes filters applied o a visualization.
4093
+ * Removes filters applied to a visualization.
4083
4094
  * @example
4084
4095
  * ```js
4085
4096
  * disabledActions: [Action.RemoveCrossFilter]
@@ -4265,7 +4276,7 @@
4265
4276
  Action["AddTab"] = "addTab";
4266
4277
  /**
4267
4278
  *
4268
- *Initiates contextual change analysis on KPI charts.
4279
+ * Initiates contextual change analysis on KPI charts.
4269
4280
  * @example
4270
4281
  * ```js
4271
4282
  * disabledActions: [Action.EnableContextualChangeAnalysis]
@@ -4275,7 +4286,7 @@
4275
4286
  Action["EnableContextualChangeAnalysis"] = "enableContextualChangeAnalysis";
4276
4287
  /**
4277
4288
  * Action ID to hide or disable Iterative Change Analysis option
4278
- * on contextual change analysis Inisght charts context menu
4289
+ * in the contextual change analysis Insight charts context menu.
4279
4290
  *
4280
4291
  * @example
4281
4292
  * ```js
@@ -4553,6 +4564,17 @@
4553
4564
  * @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
4554
4565
  */
4555
4566
  Action["ChangeFilterVisibilityInTab"] = "changeFilterVisibilityInTab";
4567
+ /**
4568
+ * The **Data model instructions** button on the Spotter interface.
4569
+ * Allows opening the data model instructions modal.
4570
+ *
4571
+ * @example
4572
+ * ```js
4573
+ * hiddenAction: [Action.DataModelInstructions]
4574
+ * ```
4575
+ * @version SDK: 1.46.0 | ThoughtSpot Cloud: 26.3.0.cl
4576
+ */
4577
+ Action["DataModelInstructions"] = "DataModelInstructions";
4556
4578
  /**
4557
4579
  * The **Preview data** button on the Spotter interface.
4558
4580
  * Allows previewing the data used for Spotter queries.
@@ -4638,12 +4660,12 @@
4638
4660
  */
4639
4661
  Action["CoverAndFilterOptionInPDF"] = "coverAndFilterOptionInPDF";
4640
4662
  /**
4641
- * Action ID for hide or disable the
4642
- * Spotter in conversation training widget.
4643
- * The Add to Coaching feature is currently in beta
4644
- * and is disabled by default on embed deployments.
4645
- * To enable this feature on your instance,
4646
- * contact ThoughtSpot Support.
4663
+ * Action ID to hide or disable the Spotter in the conversation training widget.
4664
+ * When disabled, users cannot access **Add to Coaching**, which allows adding reference
4665
+ * questions and business terms to improve Spotter’s responses.
4666
+ * The **Add to Coaching** feature is generally available from version 26.2.0.cl and
4667
+ * enabled by default on embed deployments.
4668
+
4647
4669
  * @example
4648
4670
  * ```js
4649
4671
  * hiddenAction: [Action.InConversationTraining]
@@ -4903,31 +4925,19 @@
4903
4925
  ErrorDetailsTypes["NETWORK"] = "NETWORK";
4904
4926
  })(ErrorDetailsTypes || (ErrorDetailsTypes = {}));
4905
4927
  /**
4906
- * Specific error codes for embedded component errors.
4907
- *
4908
- * These codes provide granular identification of errors that occur in embedded components.
4909
- * They are returned in the {@link EmbedErrorDetailsEvent.code} property and allow for
4910
- * precise error handling and debugging.
4928
+ * Error codes for identifying specific issues in embedded ThoughtSpot components.
4911
4929
  *
4912
- * The codes are organized into categories:
4913
- * - **Worksheet ID not found or does not exist**: Errors related to applying or updating filters
4914
- * - **Liveboard ID missing**: Errors related to missing liveboard ID
4915
- * - **Conflicting actions configuration**: Errors related to conflicting actions configuration
4916
- * - **Conflicting tabs configuration**: Errors related to conflicting tabs configuration
4917
- * - **Initialization error**: Errors related to initialization error
4918
- * - **Network error**: Errors related to network error
4919
- * - **Custom action validation**: Errors related to custom action validation
4920
- * - **Login failed**: Errors related to login failed
4921
- * - **Render not called**: Errors related to render not called
4922
- * - **Host event type undefined or invalid**: Errors related to host event type undefined or invalid
4930
+ * Use these codes for precise error handling and debugging. Each code maps to a
4931
+ * distinct failure scenario, enabling targeted recovery strategies.
4923
4932
  *
4924
4933
  * @version SDK: 1.44.2 | ThoughtSpot: 26.2.0.cl
4925
4934
  * @group Error Handling
4935
+ *
4926
4936
  * @see {@link EmbedErrorDetailsEvent} - The error event object that includes these codes
4927
4937
  * @see {@link ErrorDetailsTypes} - General error type categories
4928
4938
  *
4929
4939
  * @example
4930
- * Handle specific error codes
4940
+ * Handle specific error codes in the error event handler
4931
4941
  *
4932
4942
  * embed.on(EmbedEvent.Error, (error) => {
4933
4943
  * if (error.code === EmbedErrorCodes.WORKSHEET_ID_NOT_FOUND) {
@@ -8416,7 +8426,6 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
8416
8426
  const getSQLQuery = `
8417
8427
  mutation GetSQLQuery($session: BachSessionIdInput!) {
8418
8428
  Answer__getQuery(session: $session) {
8419
- ${bachSessionId}
8420
8429
  sql
8421
8430
  }
8422
8431
  }
@@ -18001,7 +18010,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
18001
18010
  return eventData;
18002
18011
  }
18003
18012
 
18004
- var name="@thoughtspot/visual-embed-sdk";var version$1="1.44.4";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports$1={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p tsconfig.build.json --incremental false; tsc -p tsconfig.build.json --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle-generator --config ./dts-config/dts-bundle-file.config.js","bundle-dts":"dts-bundle-generator --config ./dts-config/dts-bundle.config.js","bundle-dts-react":"dts-bundle-generator --config ./dts-config/dts-bundle-react.config.js","bundle-dts-react-full":"dts-bundle-generator --config ./dts-config/dts-bundle-react-full.config.js",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.build.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck","test-sdk":"jest -c jest.config.sdk.js --runInBand",test:"npm run test-sdk",posttest:"cat ./coverage/sdk/lcov.info | npx coveralls-next","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest",dev:"vite -c vite.local.config.ts"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={classnames:"^2.3.1",eventemitter3:"^4.0.7",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^11.2.0","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^30.0.0","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^8.28.0","@typescript-eslint/parser":"^8.28.0",ajv:"^8.17.1",asciidoctor:"^2.2.1","babel-jest":"^30.2.0","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1","coveralls-next":"^5.0.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle-generator":"^9.5.1",eslint:"^9.23.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-prettier":"^10.1.1","eslint-import-resolver-typescript":"^4.2.5","eslint-plugin-comment-length":"2.2.1","eslint-plugin-import":"^2.31.0","eslint-plugin-jsdoc":"^50.6.9","eslint-plugin-prettier":"^5.2.5","eslint-plugin-react":"^7.37.5","eslint-plugin-react-hooks":"^5.2.0","fs-extra":"^10.0.0","gh-pages":"6.3.0",globals:"^16.0.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^2.0.0",jest:"^30.2.0","jest-environment-jsdom":"^29.7.0","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^29.4.6","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","typescript-eslint":"^8.29.1","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^6.3.5"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"32 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
18013
+ var name="@thoughtspot/visual-embed-sdk";var version$1="1.44.5";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports$1={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p tsconfig.build.json --incremental false; tsc -p tsconfig.build.json --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle-generator --config ./dts-config/dts-bundle-file.config.js","bundle-dts":"dts-bundle-generator --config ./dts-config/dts-bundle.config.js","bundle-dts-react":"dts-bundle-generator --config ./dts-config/dts-bundle-react.config.js","bundle-dts-react-full":"dts-bundle-generator --config ./dts-config/dts-bundle-react-full.config.js",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.build.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck","test-sdk":"jest -c jest.config.sdk.js --runInBand",test:"npm run test-sdk",posttest:"cat ./coverage/sdk/lcov.info | npx coveralls-next","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest",dev:"vite -c vite.local.config.ts"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={classnames:"^2.3.1",eventemitter3:"^4.0.7",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^11.2.0","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^30.0.0","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^8.28.0","@typescript-eslint/parser":"^8.28.0",ajv:"^8.17.1",asciidoctor:"^2.2.1","babel-jest":"^30.2.0","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1","coveralls-next":"^5.0.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle-generator":"^9.5.1",eslint:"^9.23.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-prettier":"^10.1.1","eslint-import-resolver-typescript":"^4.2.5","eslint-plugin-comment-length":"2.2.1","eslint-plugin-import":"^2.31.0","eslint-plugin-jsdoc":"^50.6.9","eslint-plugin-prettier":"^5.2.5","eslint-plugin-react":"^7.37.5","eslint-plugin-react-hooks":"^5.2.0","fs-extra":"^10.0.0","gh-pages":"6.3.0",globals:"^16.0.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^2.0.0",jest:"^30.2.0","jest-environment-jsdom":"^29.7.0","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^29.4.6","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","typescript-eslint":"^8.29.1","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^6.3.5"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"32 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
18005
18014
 
18006
18015
  class HostEventClient {
18007
18016
  constructor(iFrame) {
@@ -18493,8 +18502,8 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
18493
18502
  this.eventHandlerMap = new Map();
18494
18503
  this.isError = false;
18495
18504
  this.viewConfig = {
18496
- excludeRuntimeFiltersfromURL: false,
18497
- excludeRuntimeParametersfromURL: false,
18505
+ excludeRuntimeFiltersfromURL: true,
18506
+ excludeRuntimeParametersfromURL: true,
18498
18507
  ...viewConfig,
18499
18508
  };
18500
18509
  this.registerAppInit();
@@ -19686,7 +19695,11 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
19686
19695
  * @hidden
19687
19696
  */
19688
19697
  this.test__executeCallbacks = this.executeCallbacks;
19689
- this.viewConfig = { excludeRuntimeFiltersfromURL: false, ...viewConfig };
19698
+ this.viewConfig = {
19699
+ excludeRuntimeFiltersfromURL: true,
19700
+ excludeRuntimeParametersfromURL: true,
19701
+ ...viewConfig,
19702
+ };
19690
19703
  }
19691
19704
  /**
19692
19705
  * Render the app in an iframe and set up event handlers
@@ -19931,7 +19944,12 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
19931
19944
  */
19932
19945
  let SearchEmbed$1 = class SearchEmbed extends TsEmbed {
19933
19946
  constructor(domSelector, viewConfig) {
19934
- viewConfig.embedComponentType = 'SearchEmbed';
19947
+ viewConfig = {
19948
+ embedComponentType: 'SearchEmbed',
19949
+ excludeRuntimeFiltersfromURL: true,
19950
+ excludeRuntimeParametersfromURL: true,
19951
+ ...viewConfig,
19952
+ };
19935
19953
  super(domSelector, viewConfig);
19936
19954
  }
19937
19955
  /**
@@ -20254,7 +20272,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
20254
20272
  * embedded Liveboard or visualization.
20255
20273
  */
20256
20274
  getEmbedParams() {
20257
- const { tag, hideTagFilterChips, hideObjects, liveboardV2, showPrimaryNavbar, disableProfileAndHelp, hideHamburger, hideObjectSearch, hideNotification, hideApplicationSwitcher, hideOrgSwitcher, enableSearchAssist, fullHeight, dataPanelV2 = true, hideLiveboardHeader = false, showLiveboardTitle = true, showLiveboardDescription = true, showMaskedFilterChip = false, isLiveboardMasterpiecesEnabled = false, hideHomepageLeftNav = false, modularHomeExperience = false, isLiveboardHeaderSticky = true, enableAskSage, collapseSearchBarInitially = false, enable2ColumnLayout, enableCustomColumnGroups = false, dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState.EXPAND_ALL, collapseSearchBar = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, isEnhancedFilterInteractivityEnabled = false, homePageSearchBarMode, isUnifiedSearchExperienceEnabled = true, enablePendoHelp = true, discoveryExperience, coverAndFilterOptionInPDF = false, liveboardXLSXCSVDownload, isLiveboardStylingAndGroupingEnabled, isPNGInScheduledEmailsEnabled = false, isCentralizedLiveboardFilterUXEnabled = false, isLinkParametersEnabled, updatedSpotterChatPrompt, minimumHeight, } = this.viewConfig;
20275
+ const { tag, hideTagFilterChips, hideObjects, liveboardV2, showPrimaryNavbar, disableProfileAndHelp, hideHamburger, hideObjectSearch, hideNotification, hideApplicationSwitcher, hideOrgSwitcher, enableSearchAssist, fullHeight, dataPanelV2 = true, hideLiveboardHeader = false, showLiveboardTitle = true, showLiveboardDescription = true, showMaskedFilterChip = false, isLiveboardMasterpiecesEnabled = false, hideHomepageLeftNav = false, modularHomeExperience = false, isLiveboardHeaderSticky = true, enableAskSage, collapseSearchBarInitially = false, enable2ColumnLayout, enableCustomColumnGroups = false, dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState.EXPAND_ALL, collapseSearchBar = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, isEnhancedFilterInteractivityEnabled = false, homePageSearchBarMode, isUnifiedSearchExperienceEnabled = true, enablePendoHelp = true, discoveryExperience, coverAndFilterOptionInPDF = false, isLiveboardStylingAndGroupingEnabled, isPNGInScheduledEmailsEnabled = false, isLiveboardXLSXCSVDownloadEnabled = false, isGranularXLSXCSVSchedulesEnabled = false, isCentralizedLiveboardFilterUXEnabled = false, isLinkParametersEnabled, updatedSpotterChatPrompt, minimumHeight, } = this.viewConfig;
20258
20276
  let params = {};
20259
20277
  params[Param.PrimaryNavHidden] = !showPrimaryNavbar;
20260
20278
  params[Param.HideProfleAndHelp] = !!disableProfileAndHelp;
@@ -20323,12 +20341,15 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
20323
20341
  if (isLiveboardStylingAndGroupingEnabled !== undefined) {
20324
20342
  params[Param.IsLiveboardStylingAndGroupingEnabled] = isLiveboardStylingAndGroupingEnabled;
20325
20343
  }
20326
- if (liveboardXLSXCSVDownload !== undefined) {
20327
- params[Param.LiveboardXLSXCSVDownload] = !!liveboardXLSXCSVDownload;
20328
- }
20329
20344
  if (isPNGInScheduledEmailsEnabled !== undefined) {
20330
20345
  params[Param.isPNGInScheduledEmailsEnabled] = isPNGInScheduledEmailsEnabled;
20331
20346
  }
20347
+ if (isLiveboardXLSXCSVDownloadEnabled !== undefined) {
20348
+ params[Param.isLiveboardXLSXCSVDownloadEnabled] = isLiveboardXLSXCSVDownloadEnabled;
20349
+ }
20350
+ if (isGranularXLSXCSVSchedulesEnabled !== undefined) {
20351
+ params[Param.isGranularXLSXCSVSchedulesEnabled] = isGranularXLSXCSVSchedulesEnabled;
20352
+ }
20332
20353
  if (hideTagFilterChips !== undefined) {
20333
20354
  params[Param.HideTagFilterChips] = hideTagFilterChips;
20334
20355
  }
@@ -20693,7 +20714,7 @@ query GetEurekaVizSnapshots(
20693
20714
  getEmbedParamsObject() {
20694
20715
  let params = {};
20695
20716
  params = this.getBaseQueryParams(params);
20696
- const { enableVizTransformations, fullHeight, defaultHeight, minimumHeight, visibleVizs, liveboardV2, vizId, hideTabPanel, activeTabId, hideLiveboardHeader, showLiveboardDescription, showLiveboardTitle, isLiveboardHeaderSticky = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, showMaskedFilterChip = false, isLiveboardMasterpiecesEnabled = false, isEnhancedFilterInteractivityEnabled = false, enableAskSage, enable2ColumnLayout, dataPanelV2 = true, enableCustomColumnGroups = false, oAuthPollingInterval, isForceRedirect, dataSourceId, coverAndFilterOptionInPDF = false, liveboardXLSXCSVDownload, isLiveboardStylingAndGroupingEnabled, isPNGInScheduledEmailsEnabled = false, showSpotterLimitations, isCentralizedLiveboardFilterUXEnabled = false, isLinkParametersEnabled, updatedSpotterChatPrompt, } = this.viewConfig;
20717
+ const { enableVizTransformations, fullHeight, defaultHeight, minimumHeight, visibleVizs, liveboardV2, vizId, hideTabPanel, activeTabId, hideLiveboardHeader, showLiveboardDescription, showLiveboardTitle, isLiveboardHeaderSticky = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, showMaskedFilterChip = false, isLiveboardMasterpiecesEnabled = false, isEnhancedFilterInteractivityEnabled = false, enableAskSage, enable2ColumnLayout, dataPanelV2 = true, enableCustomColumnGroups = false, oAuthPollingInterval, isForceRedirect, dataSourceId, coverAndFilterOptionInPDF = false, isLiveboardStylingAndGroupingEnabled, isPNGInScheduledEmailsEnabled = false, isLiveboardXLSXCSVDownloadEnabled = false, isGranularXLSXCSVSchedulesEnabled = false, showSpotterLimitations, isCentralizedLiveboardFilterUXEnabled = false, isLinkParametersEnabled, updatedSpotterChatPrompt, } = this.viewConfig;
20697
20718
  const preventLiveboardFilterRemoval = this.viewConfig.preventLiveboardFilterRemoval
20698
20719
  || this.viewConfig.preventPinboardFilterRemoval;
20699
20720
  if (fullHeight === true) {
@@ -20758,6 +20779,12 @@ query GetEurekaVizSnapshots(
20758
20779
  if (isPNGInScheduledEmailsEnabled !== undefined) {
20759
20780
  params[Param.isPNGInScheduledEmailsEnabled] = isPNGInScheduledEmailsEnabled;
20760
20781
  }
20782
+ if (isLiveboardXLSXCSVDownloadEnabled !== undefined) {
20783
+ params[Param.isLiveboardXLSXCSVDownloadEnabled] = isLiveboardXLSXCSVDownloadEnabled;
20784
+ }
20785
+ if (isGranularXLSXCSVSchedulesEnabled !== undefined) {
20786
+ params[Param.isGranularXLSXCSVSchedulesEnabled] = isGranularXLSXCSVSchedulesEnabled;
20787
+ }
20761
20788
  if (showSpotterLimitations !== undefined) {
20762
20789
  params[Param.ShowSpotterLimitations] = showSpotterLimitations;
20763
20790
  }
@@ -20778,9 +20805,6 @@ query GetEurekaVizSnapshots(
20778
20805
  params[Param.DataPanelV2Enabled] = dataPanelV2;
20779
20806
  params[Param.EnableCustomColumnGroups] = enableCustomColumnGroups;
20780
20807
  params[Param.CoverAndFilterOptionInPDF] = coverAndFilterOptionInPDF;
20781
- if (liveboardXLSXCSVDownload !== undefined) {
20782
- params[Param.LiveboardXLSXCSVDownload] = !!liveboardXLSXCSVDownload;
20783
- }
20784
20808
  getQueryParamString(params, true);
20785
20809
  return params;
20786
20810
  }
@@ -21507,7 +21531,12 @@ query SendMessage($params: Input_convassist_SendMessageRequest) {
21507
21531
  */
21508
21532
  let SpotterEmbed$1 = class SpotterEmbed extends TsEmbed {
21509
21533
  constructor(container, viewConfig) {
21510
- viewConfig.embedComponentType = 'conversation';
21534
+ viewConfig = {
21535
+ embedComponentType: 'conversation',
21536
+ excludeRuntimeFiltersfromURL: true,
21537
+ excludeRuntimeParametersfromURL: true,
21538
+ ...viewConfig,
21539
+ };
21511
21540
  super(container, viewConfig);
21512
21541
  this.viewConfig = viewConfig;
21513
21542
  }
@@ -21595,7 +21624,12 @@ query SendMessage($params: Input_convassist_SendMessageRequest) {
21595
21624
  */
21596
21625
  let ConversationEmbed$1 = class ConversationEmbed extends SpotterEmbed$1 {
21597
21626
  constructor(container, viewConfig) {
21598
- viewConfig.embedComponentType = 'conversation';
21627
+ viewConfig = {
21628
+ embedComponentType: 'conversation',
21629
+ excludeRuntimeFiltersfromURL: true,
21630
+ excludeRuntimeParametersfromURL: true,
21631
+ ...viewConfig,
21632
+ };
21599
21633
  super(container, viewConfig);
21600
21634
  this.viewConfig = viewConfig;
21601
21635
  }