@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
package/dist/tsembed.js CHANGED
@@ -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) :
@@ -366,7 +366,11 @@
366
366
  exports.ListPageColumns = void 0;
367
367
  (function (ListPageColumns) {
368
368
  /**
369
- * Favourite
369
+ * Favorites
370
+ */
371
+ ListPageColumns["Favorites"] = "FAVOURITE";
372
+ /**
373
+ * @deprecated Use {@link ListPageColumns.Favorites} instead.
370
374
  */
371
375
  ListPageColumns["Favourite"] = "FAVOURITE";
372
376
  /**
@@ -385,6 +389,10 @@
385
389
  * Share
386
390
  */
387
391
  ListPageColumns["Share"] = "SHARE";
392
+ /**
393
+ * Verified badge/column
394
+ */
395
+ ListPageColumns["Verified"] = "VERIFIED";
388
396
  })(exports.ListPageColumns || (exports.ListPageColumns = {}));
389
397
  /**
390
398
  * Event types emitted by the embedded ThoughtSpot application.
@@ -601,7 +609,7 @@
601
609
  /**
602
610
  * An error has occurred. This event is fired for the following error types:
603
611
  *
604
- * `API` - API call failure error.
612
+ * `API` - API call failure.
605
613
  * `FULLSCREEN` - Error when presenting a Liveboard or visualization in full screen
606
614
  * mode. `SINGLE_VALUE_FILTER` - Error due to multiple values in the single value
607
615
  * filter. `NON_EXIST_FILTER` - Error due to a non-existent filter.
@@ -1332,20 +1340,20 @@
1332
1340
  /**
1333
1341
  *
1334
1342
  * This event can be emitted to intercept search execution initiated by
1335
- * the users and implement the logic to allow or restrict search execution.
1336
- * You can can also show custom error text if the search query must be
1343
+ * users and implement logic to allow or restrict search execution.
1344
+ * You can also show custom error text if the search query must be
1337
1345
  * restricted due to your application or business requirements.
1338
1346
 
1339
1347
  * Prerequisite: Set `isOnBeforeGetVizDataInterceptEnabled` to `true`
1340
1348
  * for this embed event to get emitted.
1341
- * @param:payload The payload received from the embed related to the Data API call.
1342
- * @param:responder
1343
- * Contains elements that lets developers define whether ThoughtSpot
1344
- * should run the search, and if not, what error message
1345
- * should be shown to the user.
1349
+ * @param - Includes the following event listener parameters:
1350
+ * - `payload`: The payload received from the embed related to the Data API call.
1351
+ * - `responder`: Contains elements that let developers define whether ThoughtSpot
1352
+ * should run the search, and if not, what error message
1353
+ * should be shown to the user.
1346
1354
  *
1347
- * `execute` - When execute returns `true`, the search will be run.
1348
- * When execute returns `false`, the search will not be executed.
1355
+ * `execute` - When `execute` returns `true`, the search will be run.
1356
+ * When `execute` returns `false`, the search will not be executed.
1349
1357
  *
1350
1358
  * `error` - Developers can customize the error message text when `execute`
1351
1359
  * is `false` using the `errorText` and `errorDescription` parameters in responder.
@@ -1517,7 +1525,7 @@
1517
1525
  * console.log('payload', payload);
1518
1526
  * })
1519
1527
  * ```
1520
- * @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
1528
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
1521
1529
  */
1522
1530
  EmbedEvent["DataModelInstructions"] = "DataModelInstructions";
1523
1531
  /**
@@ -1736,14 +1744,14 @@
1736
1744
  * the search query string.
1737
1745
  * Supported in `AppEmbed` and `SearchEmbed` deployments.
1738
1746
  * Includes the following properties:
1739
- * @param - `searchQuery` - query string with search tokens
1740
- * @param - `dataSources` - Data source GUID to Search on
1741
- * - Although an array, only a single source
1742
- * is supported.
1743
- * @param - `execute` - executes search and updates the existing query
1747
+ * @param - Includes the following keys:
1748
+ * - `searchQuery`: Query string with search tokens.
1749
+ * - `dataSources`: Data source GUID to search on.
1750
+ * Although an array, only a single source is supported.
1751
+ * - `execute`: Executes search and updates the existing query.
1744
1752
  * @example
1745
1753
  * ```js
1746
- * searchembed.trigger(HostEvent.Search, {
1754
+ * searchEmbed.trigger(HostEvent.Search, {
1747
1755
  searchQuery: "[sales] by [item type]",
1748
1756
  dataSources: ["cd252e5c-b552-49a8-821d-3eadaa049cca"],
1749
1757
  execute: true
@@ -1754,16 +1762,15 @@
1754
1762
  /**
1755
1763
  * Triggers a drill on certain points of the specified column
1756
1764
  * Includes the following properties:
1757
- * @param - points - an object containing selectedPoints/clickedPoints
1758
- * to drill to. For example, { selectedPoints: []}
1759
- * @param - columnGuid - Optional. GUID of the column to drill
1760
- * by. If not provided it will auto drill by the configured
1761
- * column.
1762
- * @param - autoDrillDown - Optional. If true, the drill down will be
1763
- * done automatically on the most popular column.
1764
- * @param - vizId [TS >= 9.8.0] - Optional. The GUID of the visualization to drill
1765
- * in case of a Liveboard.
1766
- * @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
1765
+ * @param - Includes the following keys:
1766
+ * - `points`: An object containing `selectedPoints` and/or `clickedPoint`
1767
+ * to drill to. For example, `{ selectedPoints: [] }`.
1768
+ * - `columnGuid`: Optional. GUID of the column to drill by. If not provided,
1769
+ * it will auto drill by the configured column.
1770
+ * - `autoDrillDown`: Optional. If `true`, the drill down will be done automatically
1771
+ * on the most popular column.
1772
+ * - `vizId` (TS >= 9.8.0): Optional. The GUID of the visualization to drill in case
1773
+ * of a Liveboard. In Spotter embed, `vizId` refers to the Answer ID and is **required**.
1767
1774
  * @example
1768
1775
  * ```js
1769
1776
  * searchEmbed.on(EmbedEvent.VizPointDoubleClick, (payload) => {
@@ -1856,14 +1863,12 @@
1856
1863
  * and `AppEmbed` only. In full application embedding, this event updates
1857
1864
  * the runtime filters applied on the Liveboard and saved Answer objects.
1858
1865
  *
1859
- * @param - Pass an array of {@link RuntimeFilter} with the following attributes:
1860
- * `columnName` - _String_. The name of the column to filter on.
1861
- *
1862
- * `operator` - {@link RuntimeFilterOp} to apply. For more information,
1863
- * see link:https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator[Developer Documentation].
1864
- *
1865
- * `values` - List of operands. Some operators such as EQ and LE allow a
1866
- * single value, whereas BW and IN accept multiple values.
1866
+ * @param - Array of {@link RuntimeFilter} objects. Each item includes:
1867
+ * - `columnName`: Name of the column to filter on.
1868
+ * - `operator`: {@link RuntimeFilterOp} to apply. For more information, see
1869
+ * link:https://developers.thoughtspot.com/docs/runtime-filters#rtOperator[Developer Documentation].
1870
+ * - `values`: List of operands. Some operators such as EQ and LE allow a single
1871
+ * value, whereas BW and IN accept multiple values.
1867
1872
  *
1868
1873
  * **Note**: Updating runtime filters resets the ThoughtSpot
1869
1874
  * object to its original state and applies new filter conditions.
@@ -1886,7 +1891,7 @@
1886
1891
  /**
1887
1892
  * Navigate to a specific page in the embedded ThoughtSpot application.
1888
1893
  * This is the same as calling `appEmbed.navigateToPage(path, true)`.
1889
- * @param - `path` - the path to navigate to to go forward or back. The path value can
1894
+ * @param - `path` - the path to navigate to go forward or back. The path value can
1890
1895
  * be a number; for example, `1`, `-1`.
1891
1896
  * @example
1892
1897
  * ```js
@@ -1957,30 +1962,25 @@
1957
1962
  * for the Answer that the user is currently on
1958
1963
  * and a modal opens for Liveboard selection.
1959
1964
  * To add an Answer or visualization to a Liveboard programmatically without
1960
- * showing requiring additional user input via *Pin to Liveboard* modal, define
1965
+ * requiring additional user input via the *Pin to Liveboard* modal, define
1961
1966
  * the following parameters:
1962
1967
  *
1963
- * @param
1964
- * `vizId`- GUID of the saved Answer or Spotter visualization ID to pin to a Liveboard.
1965
- * Optional when pinning a new chart or table generated from a Search query.
1966
- * **Required** in Spotter Embed.
1967
- * @param
1968
- * `liveboardID` - GUID of the Liveboard to pin an Answer. If there is no Liveboard,
1969
- * specify the `newLiveboardName` parameter to create a new Liveboard.
1970
- * @param
1971
- * `tabId` - GUID of the Liveboard tab. Adds the Answer to the Liveboard tab
1972
- * specified in the code.
1973
- * @param
1974
- * `newVizName` - Name string for the Answer or visualization. If defined,
1975
- * this parameter adds a new visualization object or creates a copy of the
1976
- * Answer or visualization specified in `vizId`.
1977
- * Required attribute.
1978
- * @param
1979
- * `newLiveboardName` - Name string for the Liveboard.
1980
- * Creates a new Liveboard object with the specified name.
1981
- * @param
1982
- * `newTabName` - Name of the tab. Adds a new tab Liveboard specified
1983
- * in the code.
1968
+ * @param - Includes the following keys:
1969
+ * - `vizId`: GUID of the saved Answer or Spotter visualization ID to pin to a Liveboard.
1970
+ * Optional when pinning a new chart or table generated from a Search query.
1971
+ * **Required** in Spotter Embed.
1972
+ * - `liveboardId`: GUID of the Liveboard to pin an Answer. If there is no Liveboard,
1973
+ * specify the `newLiveboardName` parameter to create a new Liveboard.
1974
+ * - `tabId`: GUID of the Liveboard tab. Adds the Answer to the Liveboard tab
1975
+ * specified in the code.
1976
+ * - `newVizName`: Name string for the Answer or visualization. If defined,
1977
+ * this parameter adds a new visualization object or creates a copy of the
1978
+ * Answer or visualization specified in `vizId`.
1979
+ * Required.
1980
+ * - `newLiveboardName`: Name string for the Liveboard.
1981
+ * Creates a new Liveboard object with the specified name.
1982
+ * - `newTabName`: Name of the tab. Adds a new tab Liveboard specified
1983
+ * in the code.
1984
1984
  *
1985
1985
  * @example
1986
1986
  * ```js
@@ -2220,9 +2220,9 @@
2220
2220
  * on a Liveboard.
2221
2221
  *
2222
2222
  * This event is not supported in visualization embed and search embed.
2223
- * @param - object - To trigger the action for a specific visualization
2224
- * in Liveboard embed, pass in `vizId` as a key.
2225
- * @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
2223
+ * @param - Object parameter. Includes the following keys:
2224
+ * - `vizId`: To trigger the action for a specific visualization in Liveboard embed,
2225
+ * pass in `vizId` as a key. In Spotter embed, `vizId` refers to the Answer ID and is **required**.
2226
2226
  *
2227
2227
  * @example
2228
2228
  * ```js
@@ -2589,10 +2589,9 @@
2589
2589
  HostEvent["GetFilters"] = "getFilters";
2590
2590
  /**
2591
2591
  * Update one or several filters applied on a Liveboard.
2592
- * @param - `filter`: a single filter object containing column name,
2593
- * filter operator, and values.
2594
- * @param - `filters`: multiple filter objects with column name, filter operator,
2595
- * and values for each.
2592
+ * @param - Includes the following keys:
2593
+ * - `filter`: A single filter object containing column name, filter operator, and values.
2594
+ * - `filters`: Multiple filter objects with column name, filter operator, and values for each.
2596
2595
  *
2597
2596
  * Each filter object must include the following attributes:
2598
2597
  *
@@ -2718,8 +2717,9 @@
2718
2717
  HostEvent["SetHiddenTabs"] = "SetPinboardHiddenTabs";
2719
2718
  /**
2720
2719
  * Updates the search query string for Natural Language Search operations.
2721
- * @param - `queryString`: Text string in Natural Language format
2722
- * @param - `executeSearch`: Boolean to execute search and update search query
2720
+ * @param - Includes the following keys:
2721
+ * - `queryString`: Text string in Natural Language format.
2722
+ * - `executeSearch`: Boolean to execute search and update search query.
2723
2723
  * @example
2724
2724
  * ```js
2725
2725
  * sageEmbed.trigger(HostEvent.UpdateSageQuery, {
@@ -2798,11 +2798,10 @@
2798
2798
  /**
2799
2799
  * Triggers an action to update Parameter values on embedded
2800
2800
  * Answers, Liveboard, and Spotter answer in Edit mode.
2801
- * @param - `name` - Name of the Parameter
2802
- * @param - `value` - The value to set for the Parameter.
2803
- *
2804
- * Optionally, to control the visibility of the Parameter chip,
2805
- * use the `isVisibleToUser` attribute when applying an override.
2801
+ * @param - Includes the following keys for each item:
2802
+ * - `name`: Name of the parameter.
2803
+ * - `value`: The value to set for the parameter.
2804
+ * - `isVisibleToUser`: Optional. To control the visibility of the parameter chip.
2806
2805
  *
2807
2806
  * @example
2808
2807
  * ```js
@@ -2860,11 +2859,10 @@
2860
2859
  * If no parameters are specified, the save action is
2861
2860
  * triggered with a modal to prompt users to
2862
2861
  * add a name and description for the Answer.
2863
- * @param - `vizId` refers to the Answer ID in Spotter embed
2864
- * and is required in Spotter embed.
2865
- * Optional attributes to set Answer properties include:
2866
- * @param - `name` - Name string for the Answer.
2867
- * @param - `description` - Description text for the Answer.
2862
+ * @param - Includes the following keys:
2863
+ * - `vizId`: Refers to the Answer ID in Spotter embed and is **required** in Spotter embed.
2864
+ * - `name`: Optional. Name string for the Answer.
2865
+ * - `description`: Optional. Description text for the Answer.
2868
2866
  * @example
2869
2867
  * ```js
2870
2868
  * const saveAnswerResponse = await searchEmbed.trigger(HostEvent.SaveAnswer, {
@@ -2913,8 +2911,9 @@
2913
2911
  /**
2914
2912
  * Triggers a search operation with the search tokens specified in
2915
2913
  * the search query string in spotter embed.
2916
- * @param - `query`: Text string in Natural Language format
2917
- * @param - `executeSearch`: Boolean to execute search and update search query
2914
+ * @param - Includes the following keys:
2915
+ * - `query`: Text string in Natural Language format.
2916
+ * - `executeSearch`: Boolean to execute search and update search query.
2918
2917
  * @example
2919
2918
  * ```js
2920
2919
  * spotterEmbed.trigger(HostEvent.SpotterSearch, {
@@ -2961,7 +2960,7 @@
2961
2960
  * ```js
2962
2961
  * spotterEmbed.trigger(HostEvent.DataModelInstructions);
2963
2962
  * ```
2964
- * @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
2963
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
2965
2964
  */
2966
2965
  HostEvent["DataModelInstructions"] = "DataModelInstructions";
2967
2966
  /**
@@ -3046,7 +3045,7 @@
3046
3045
  */
3047
3046
  HostEvent["UpdateEmbedParams"] = "updateEmbedParams";
3048
3047
  /**
3049
- * Triggered when the embed is needed to be destroyed. This is used to clean up any embed related resources internally.
3048
+ * Triggered when the embed needs to be destroyed. This is used to clean up any embed-related resources internally.
3050
3049
  * @example
3051
3050
  * ```js
3052
3051
  * liveboardEmbed.trigger(HostEvent.DestroyEmbed);
@@ -3054,11 +3053,12 @@
3054
3053
  * @version SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl
3055
3054
  */
3056
3055
  HostEvent["DestroyEmbed"] = "EmbedDestroyed";
3057
- /** Triggers a create new conversation operation in spotter embed.
3058
- * @example
3059
- * ```js
3056
+ /**
3057
+ * Triggers a new conversation in Spotter embed.
3058
+ *
3060
3059
  * This feature is available only when chat history is enabled on your ThoughtSpot instance.
3061
3060
  * Contact your admin or ThoughtSpot Support to enable chat history on your instance.
3061
+ *
3062
3062
  * @example
3063
3063
  * ```js
3064
3064
  * spotterEmbed.trigger(HostEvent.StartNewSpotterConversation);
@@ -3215,8 +3215,9 @@
3215
3215
  Param["IsLiveboardStylingAndGroupingEnabled"] = "isLiveboardStylingAndGroupingEnabled";
3216
3216
  Param["IsLazyLoadingForEmbedEnabled"] = "isLazyLoadingForEmbedEnabled";
3217
3217
  Param["RootMarginForLazyLoad"] = "rootMarginForLazyLoad";
3218
- Param["LiveboardXLSXCSVDownload"] = "isLiveboardXLSXCSVDownloadEnabled";
3219
3218
  Param["isPNGInScheduledEmailsEnabled"] = "isPNGInScheduledEmailsEnabled";
3219
+ Param["isLiveboardXLSXCSVDownloadEnabled"] = "isLiveboardXLSXCSVDownloadEnabled";
3220
+ Param["isGranularXLSXCSVSchedulesEnabled"] = "isGranularXLSXCSVSchedulesEnabled";
3220
3221
  Param["isCentralizedLiveboardFilterUXEnabled"] = "isCentralizedLiveboardFilterUXEnabled";
3221
3222
  Param["isLinkParametersEnabled"] = "isLinkParametersEnabled";
3222
3223
  Param["EnablePastConversationsSidebar"] = "enablePastConversationsSidebar";
@@ -3247,7 +3248,7 @@
3247
3248
  * hiddenActions: [Action.Edit, ActionAction.Explore],
3248
3249
  * })
3249
3250
  * ```
3250
- * See also link:https://developers.thoughtspot.com/docs/actions[Action IDs in the SDK]
3251
+ * See also link:https://developers.thoughtspot.com/docs/actions[Developer Documentation].
3251
3252
  */
3252
3253
  exports.Action = void 0;
3253
3254
  (function (Action) {
@@ -3535,6 +3536,16 @@
3535
3536
  * ```
3536
3537
  */
3537
3538
  Action["DownloadAsXlsx"] = "downloadAsXLSX";
3539
+ /**
3540
+ * The **Download Liveboard** menu action on a Liveboard.
3541
+ * Allows downloading the entire Liveboard.
3542
+ * @example
3543
+ * ```js
3544
+ * disabledActions: [Action.DownloadLiveboard]
3545
+ * ```
3546
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
3547
+ */
3548
+ Action["DownloadLiveboard"] = "downloadLiveboard";
3538
3549
  /**
3539
3550
  * @hidden
3540
3551
  */
@@ -3874,28 +3885,28 @@
3874
3885
  Action["CrossFilter"] = "context-menu-item-cross-filter";
3875
3886
  /**
3876
3887
  * The **Sync to Slack** action on Liveboard visualizations.
3877
- * Allows sending data to third-party apps Slack
3888
+ * Allows sending data to third-party apps like Slack.
3878
3889
  * @example
3879
3890
  * ```js
3880
3891
  * disabledActions: [Action.SyncToSlack]
3881
3892
  * ```
3882
- * @version @version SDK : 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
3893
+ * @version SDK: 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
3883
3894
  */
3884
3895
  Action["SyncToSlack"] = "syncToSlack";
3885
3896
  /**
3886
3897
  * The **Sync to Teams** action on Liveboard visualizations.
3887
- * Allows sending data to third-party apps Team
3898
+ * Allows sending data to third-party apps like Microsoft Teams.
3888
3899
  * @example
3889
3900
  * ```js
3890
3901
  * disabledActions: [Action.SyncToTeams]
3891
3902
  * ```
3892
- * @version @version SDK : 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
3903
+ * @version SDK: 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
3893
3904
  */
3894
3905
  Action["SyncToTeams"] = "syncToTeams";
3895
3906
  /**
3896
3907
  * The **Remove** action that appears when cross filters are applied
3897
3908
  * on a Liveboard.
3898
- * Removes filters applied o a visualization.
3909
+ * Removes filters applied to a visualization.
3899
3910
  * @example
3900
3911
  * ```js
3901
3912
  * disabledActions: [Action.RemoveCrossFilter]
@@ -4081,7 +4092,7 @@
4081
4092
  Action["AddTab"] = "addTab";
4082
4093
  /**
4083
4094
  *
4084
- *Initiates contextual change analysis on KPI charts.
4095
+ * Initiates contextual change analysis on KPI charts.
4085
4096
  * @example
4086
4097
  * ```js
4087
4098
  * disabledActions: [Action.EnableContextualChangeAnalysis]
@@ -4091,7 +4102,7 @@
4091
4102
  Action["EnableContextualChangeAnalysis"] = "enableContextualChangeAnalysis";
4092
4103
  /**
4093
4104
  * Action ID to hide or disable Iterative Change Analysis option
4094
- * on contextual change analysis Inisght charts context menu
4105
+ * in the contextual change analysis Insight charts context menu.
4095
4106
  *
4096
4107
  * @example
4097
4108
  * ```js
@@ -4369,6 +4380,17 @@
4369
4380
  * @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
4370
4381
  */
4371
4382
  Action["ChangeFilterVisibilityInTab"] = "changeFilterVisibilityInTab";
4383
+ /**
4384
+ * The **Data model instructions** button on the Spotter interface.
4385
+ * Allows opening the data model instructions modal.
4386
+ *
4387
+ * @example
4388
+ * ```js
4389
+ * hiddenAction: [Action.DataModelInstructions]
4390
+ * ```
4391
+ * @version SDK: 1.46.0 | ThoughtSpot Cloud: 26.3.0.cl
4392
+ */
4393
+ Action["DataModelInstructions"] = "DataModelInstructions";
4372
4394
  /**
4373
4395
  * The **Preview data** button on the Spotter interface.
4374
4396
  * Allows previewing the data used for Spotter queries.
@@ -4454,12 +4476,12 @@
4454
4476
  */
4455
4477
  Action["CoverAndFilterOptionInPDF"] = "coverAndFilterOptionInPDF";
4456
4478
  /**
4457
- * Action ID for hide or disable the
4458
- * Spotter in conversation training widget.
4459
- * The Add to Coaching feature is currently in beta
4460
- * and is disabled by default on embed deployments.
4461
- * To enable this feature on your instance,
4462
- * contact ThoughtSpot Support.
4479
+ * Action ID to hide or disable the Spotter in the conversation training widget.
4480
+ * When disabled, users cannot access **Add to Coaching**, which allows adding reference
4481
+ * questions and business terms to improve Spotter’s responses.
4482
+ * The **Add to Coaching** feature is generally available from version 26.2.0.cl and
4483
+ * enabled by default on embed deployments.
4484
+
4463
4485
  * @example
4464
4486
  * ```js
4465
4487
  * hiddenAction: [Action.InConversationTraining]
@@ -4719,31 +4741,19 @@
4719
4741
  ErrorDetailsTypes["NETWORK"] = "NETWORK";
4720
4742
  })(exports.ErrorDetailsTypes || (exports.ErrorDetailsTypes = {}));
4721
4743
  /**
4722
- * Specific error codes for embedded component errors.
4723
- *
4724
- * These codes provide granular identification of errors that occur in embedded components.
4725
- * They are returned in the {@link EmbedErrorDetailsEvent.code} property and allow for
4726
- * precise error handling and debugging.
4744
+ * Error codes for identifying specific issues in embedded ThoughtSpot components.
4727
4745
  *
4728
- * The codes are organized into categories:
4729
- * - **Worksheet ID not found or does not exist**: Errors related to applying or updating filters
4730
- * - **Liveboard ID missing**: Errors related to missing liveboard ID
4731
- * - **Conflicting actions configuration**: Errors related to conflicting actions configuration
4732
- * - **Conflicting tabs configuration**: Errors related to conflicting tabs configuration
4733
- * - **Initialization error**: Errors related to initialization error
4734
- * - **Network error**: Errors related to network error
4735
- * - **Custom action validation**: Errors related to custom action validation
4736
- * - **Login failed**: Errors related to login failed
4737
- * - **Render not called**: Errors related to render not called
4738
- * - **Host event type undefined or invalid**: Errors related to host event type undefined or invalid
4746
+ * Use these codes for precise error handling and debugging. Each code maps to a
4747
+ * distinct failure scenario, enabling targeted recovery strategies.
4739
4748
  *
4740
4749
  * @version SDK: 1.44.2 | ThoughtSpot: 26.2.0.cl
4741
4750
  * @group Error Handling
4751
+ *
4742
4752
  * @see {@link EmbedErrorDetailsEvent} - The error event object that includes these codes
4743
4753
  * @see {@link ErrorDetailsTypes} - General error type categories
4744
4754
  *
4745
4755
  * @example
4746
- * Handle specific error codes
4756
+ * Handle specific error codes in the error event handler
4747
4757
  *
4748
4758
  * embed.on(EmbedEvent.Error, (error) => {
4749
4759
  * if (error.code === EmbedErrorCodes.WORKSHEET_ID_NOT_FOUND) {
@@ -8285,7 +8295,6 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
8285
8295
  const getSQLQuery = `
8286
8296
  mutation GetSQLQuery($session: BachSessionIdInput!) {
8287
8297
  Answer__getQuery(session: $session) {
8288
- ${bachSessionId}
8289
8298
  sql
8290
8299
  }
8291
8300
  }
@@ -18049,7 +18058,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
18049
18058
  return eventData;
18050
18059
  }
18051
18060
 
18052
- 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};
18061
+ 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};
18053
18062
 
18054
18063
  class HostEventClient {
18055
18064
  constructor(iFrame) {
@@ -18541,8 +18550,8 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
18541
18550
  this.eventHandlerMap = new Map();
18542
18551
  this.isError = false;
18543
18552
  this.viewConfig = {
18544
- excludeRuntimeFiltersfromURL: false,
18545
- excludeRuntimeParametersfromURL: false,
18553
+ excludeRuntimeFiltersfromURL: true,
18554
+ excludeRuntimeParametersfromURL: true,
18546
18555
  ...viewConfig,
18547
18556
  };
18548
18557
  this.registerAppInit();
@@ -19734,7 +19743,11 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
19734
19743
  * @hidden
19735
19744
  */
19736
19745
  this.test__executeCallbacks = this.executeCallbacks;
19737
- this.viewConfig = { excludeRuntimeFiltersfromURL: false, ...viewConfig };
19746
+ this.viewConfig = {
19747
+ excludeRuntimeFiltersfromURL: true,
19748
+ excludeRuntimeParametersfromURL: true,
19749
+ ...viewConfig,
19750
+ };
19738
19751
  }
19739
19752
  /**
19740
19753
  * Render the app in an iframe and set up event handlers
@@ -19970,7 +19983,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
19970
19983
  * embedded Liveboard or visualization.
19971
19984
  */
19972
19985
  getEmbedParams() {
19973
- 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 = exports.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;
19986
+ 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 = exports.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;
19974
19987
  let params = {};
19975
19988
  params[Param.PrimaryNavHidden] = !showPrimaryNavbar;
19976
19989
  params[Param.HideProfleAndHelp] = !!disableProfileAndHelp;
@@ -20039,12 +20052,15 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
20039
20052
  if (isLiveboardStylingAndGroupingEnabled !== undefined) {
20040
20053
  params[Param.IsLiveboardStylingAndGroupingEnabled] = isLiveboardStylingAndGroupingEnabled;
20041
20054
  }
20042
- if (liveboardXLSXCSVDownload !== undefined) {
20043
- params[Param.LiveboardXLSXCSVDownload] = !!liveboardXLSXCSVDownload;
20044
- }
20045
20055
  if (isPNGInScheduledEmailsEnabled !== undefined) {
20046
20056
  params[Param.isPNGInScheduledEmailsEnabled] = isPNGInScheduledEmailsEnabled;
20047
20057
  }
20058
+ if (isLiveboardXLSXCSVDownloadEnabled !== undefined) {
20059
+ params[Param.isLiveboardXLSXCSVDownloadEnabled] = isLiveboardXLSXCSVDownloadEnabled;
20060
+ }
20061
+ if (isGranularXLSXCSVSchedulesEnabled !== undefined) {
20062
+ params[Param.isGranularXLSXCSVSchedulesEnabled] = isGranularXLSXCSVSchedulesEnabled;
20063
+ }
20048
20064
  if (hideTagFilterChips !== undefined) {
20049
20065
  params[Param.HideTagFilterChips] = hideTagFilterChips;
20050
20066
  }
@@ -20409,7 +20425,7 @@ query GetEurekaVizSnapshots(
20409
20425
  getEmbedParamsObject() {
20410
20426
  let params = {};
20411
20427
  params = this.getBaseQueryParams(params);
20412
- 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;
20428
+ 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;
20413
20429
  const preventLiveboardFilterRemoval = this.viewConfig.preventLiveboardFilterRemoval
20414
20430
  || this.viewConfig.preventPinboardFilterRemoval;
20415
20431
  if (fullHeight === true) {
@@ -20474,6 +20490,12 @@ query GetEurekaVizSnapshots(
20474
20490
  if (isPNGInScheduledEmailsEnabled !== undefined) {
20475
20491
  params[Param.isPNGInScheduledEmailsEnabled] = isPNGInScheduledEmailsEnabled;
20476
20492
  }
20493
+ if (isLiveboardXLSXCSVDownloadEnabled !== undefined) {
20494
+ params[Param.isLiveboardXLSXCSVDownloadEnabled] = isLiveboardXLSXCSVDownloadEnabled;
20495
+ }
20496
+ if (isGranularXLSXCSVSchedulesEnabled !== undefined) {
20497
+ params[Param.isGranularXLSXCSVSchedulesEnabled] = isGranularXLSXCSVSchedulesEnabled;
20498
+ }
20477
20499
  if (showSpotterLimitations !== undefined) {
20478
20500
  params[Param.ShowSpotterLimitations] = showSpotterLimitations;
20479
20501
  }
@@ -20494,9 +20516,6 @@ query GetEurekaVizSnapshots(
20494
20516
  params[Param.DataPanelV2Enabled] = dataPanelV2;
20495
20517
  params[Param.EnableCustomColumnGroups] = enableCustomColumnGroups;
20496
20518
  params[Param.CoverAndFilterOptionInPDF] = coverAndFilterOptionInPDF;
20497
- if (liveboardXLSXCSVDownload !== undefined) {
20498
- params[Param.LiveboardXLSXCSVDownload] = !!liveboardXLSXCSVDownload;
20499
- }
20500
20519
  getQueryParamString(params, true);
20501
20520
  return params;
20502
20521
  }
@@ -20713,7 +20732,12 @@ query GetEurekaVizSnapshots(
20713
20732
  */
20714
20733
  class SearchEmbed extends TsEmbed {
20715
20734
  constructor(domSelector, viewConfig) {
20716
- viewConfig.embedComponentType = 'SearchEmbed';
20735
+ viewConfig = {
20736
+ embedComponentType: 'SearchEmbed',
20737
+ excludeRuntimeFiltersfromURL: true,
20738
+ excludeRuntimeParametersfromURL: true,
20739
+ ...viewConfig,
20740
+ };
20717
20741
  super(domSelector, viewConfig);
20718
20742
  }
20719
20743
  /**
@@ -21483,7 +21507,12 @@ query SendMessage($params: Input_convassist_SendMessageRequest) {
21483
21507
  */
21484
21508
  class SpotterEmbed extends TsEmbed {
21485
21509
  constructor(container, viewConfig) {
21486
- viewConfig.embedComponentType = 'conversation';
21510
+ viewConfig = {
21511
+ embedComponentType: 'conversation',
21512
+ excludeRuntimeFiltersfromURL: true,
21513
+ excludeRuntimeParametersfromURL: true,
21514
+ ...viewConfig,
21515
+ };
21487
21516
  super(container, viewConfig);
21488
21517
  this.viewConfig = viewConfig;
21489
21518
  }
@@ -21571,7 +21600,12 @@ query SendMessage($params: Input_convassist_SendMessageRequest) {
21571
21600
  */
21572
21601
  class ConversationEmbed extends SpotterEmbed {
21573
21602
  constructor(container, viewConfig) {
21574
- viewConfig.embedComponentType = 'conversation';
21603
+ viewConfig = {
21604
+ embedComponentType: 'conversation',
21605
+ excludeRuntimeFiltersfromURL: true,
21606
+ excludeRuntimeParametersfromURL: true,
21607
+ ...viewConfig,
21608
+ };
21575
21609
  super(container, viewConfig);
21576
21610
  this.viewConfig = viewConfig;
21577
21611
  }