@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
  import * as React from 'react';
4
4
  import React__default, { useRef, useCallback } from 'react';
@@ -528,7 +528,11 @@ var HomepageModule;
528
528
  var ListPageColumns;
529
529
  (function (ListPageColumns) {
530
530
  /**
531
- * Favourite
531
+ * Favorites
532
+ */
533
+ ListPageColumns["Favorites"] = "FAVOURITE";
534
+ /**
535
+ * @deprecated Use {@link ListPageColumns.Favorites} instead.
532
536
  */
533
537
  ListPageColumns["Favourite"] = "FAVOURITE";
534
538
  /**
@@ -547,6 +551,10 @@ var ListPageColumns;
547
551
  * Share
548
552
  */
549
553
  ListPageColumns["Share"] = "SHARE";
554
+ /**
555
+ * Verified badge/column
556
+ */
557
+ ListPageColumns["Verified"] = "VERIFIED";
550
558
  })(ListPageColumns || (ListPageColumns = {}));
551
559
  /**
552
560
  * Event types emitted by the embedded ThoughtSpot application.
@@ -763,7 +771,7 @@ var EmbedEvent;
763
771
  /**
764
772
  * An error has occurred. This event is fired for the following error types:
765
773
  *
766
- * `API` - API call failure error.
774
+ * `API` - API call failure.
767
775
  * `FULLSCREEN` - Error when presenting a Liveboard or visualization in full screen
768
776
  * mode. `SINGLE_VALUE_FILTER` - Error due to multiple values in the single value
769
777
  * filter. `NON_EXIST_FILTER` - Error due to a non-existent filter.
@@ -1494,20 +1502,20 @@ var EmbedEvent;
1494
1502
  /**
1495
1503
  *
1496
1504
  * This event can be emitted to intercept search execution initiated by
1497
- * the users and implement the logic to allow or restrict search execution.
1498
- * You can can also show custom error text if the search query must be
1505
+ * users and implement logic to allow or restrict search execution.
1506
+ * You can also show custom error text if the search query must be
1499
1507
  * restricted due to your application or business requirements.
1500
1508
 
1501
1509
  * Prerequisite: Set `isOnBeforeGetVizDataInterceptEnabled` to `true`
1502
1510
  * for this embed event to get emitted.
1503
- * @param:payload The payload received from the embed related to the Data API call.
1504
- * @param:responder
1505
- * Contains elements that lets developers define whether ThoughtSpot
1506
- * should run the search, and if not, what error message
1507
- * should be shown to the user.
1511
+ * @param - Includes the following event listener parameters:
1512
+ * - `payload`: The payload received from the embed related to the Data API call.
1513
+ * - `responder`: Contains elements that let developers define whether ThoughtSpot
1514
+ * should run the search, and if not, what error message
1515
+ * should be shown to the user.
1508
1516
  *
1509
- * `execute` - When execute returns `true`, the search will be run.
1510
- * When execute returns `false`, the search will not be executed.
1517
+ * `execute` - When `execute` returns `true`, the search will be run.
1518
+ * When `execute` returns `false`, the search will not be executed.
1511
1519
  *
1512
1520
  * `error` - Developers can customize the error message text when `execute`
1513
1521
  * is `false` using the `errorText` and `errorDescription` parameters in responder.
@@ -1679,7 +1687,7 @@ var EmbedEvent;
1679
1687
  * console.log('payload', payload);
1680
1688
  * })
1681
1689
  * ```
1682
- * @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
1690
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
1683
1691
  */
1684
1692
  EmbedEvent["DataModelInstructions"] = "DataModelInstructions";
1685
1693
  /**
@@ -1898,14 +1906,14 @@ var HostEvent;
1898
1906
  * the search query string.
1899
1907
  * Supported in `AppEmbed` and `SearchEmbed` deployments.
1900
1908
  * Includes the following properties:
1901
- * @param - `searchQuery` - query string with search tokens
1902
- * @param - `dataSources` - Data source GUID to Search on
1903
- * - Although an array, only a single source
1904
- * is supported.
1905
- * @param - `execute` - executes search and updates the existing query
1909
+ * @param - Includes the following keys:
1910
+ * - `searchQuery`: Query string with search tokens.
1911
+ * - `dataSources`: Data source GUID to search on.
1912
+ * Although an array, only a single source is supported.
1913
+ * - `execute`: Executes search and updates the existing query.
1906
1914
  * @example
1907
1915
  * ```js
1908
- * searchembed.trigger(HostEvent.Search, {
1916
+ * searchEmbed.trigger(HostEvent.Search, {
1909
1917
  searchQuery: "[sales] by [item type]",
1910
1918
  dataSources: ["cd252e5c-b552-49a8-821d-3eadaa049cca"],
1911
1919
  execute: true
@@ -1916,16 +1924,15 @@ var HostEvent;
1916
1924
  /**
1917
1925
  * Triggers a drill on certain points of the specified column
1918
1926
  * Includes the following properties:
1919
- * @param - points - an object containing selectedPoints/clickedPoints
1920
- * to drill to. For example, { selectedPoints: []}
1921
- * @param - columnGuid - Optional. GUID of the column to drill
1922
- * by. If not provided it will auto drill by the configured
1923
- * column.
1924
- * @param - autoDrillDown - Optional. If true, the drill down will be
1925
- * done automatically on the most popular column.
1926
- * @param - vizId [TS >= 9.8.0] - Optional. The GUID of the visualization to drill
1927
- * in case of a Liveboard.
1928
- * @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
1927
+ * @param - Includes the following keys:
1928
+ * - `points`: An object containing `selectedPoints` and/or `clickedPoint`
1929
+ * to drill to. For example, `{ selectedPoints: [] }`.
1930
+ * - `columnGuid`: Optional. GUID of the column to drill by. If not provided,
1931
+ * it will auto drill by the configured column.
1932
+ * - `autoDrillDown`: Optional. If `true`, the drill down will be done automatically
1933
+ * on the most popular column.
1934
+ * - `vizId` (TS >= 9.8.0): Optional. The GUID of the visualization to drill in case
1935
+ * of a Liveboard. In Spotter embed, `vizId` refers to the Answer ID and is **required**.
1929
1936
  * @example
1930
1937
  * ```js
1931
1938
  * searchEmbed.on(EmbedEvent.VizPointDoubleClick, (payload) => {
@@ -2018,14 +2025,12 @@ var HostEvent;
2018
2025
  * and `AppEmbed` only. In full application embedding, this event updates
2019
2026
  * the runtime filters applied on the Liveboard and saved Answer objects.
2020
2027
  *
2021
- * @param - Pass an array of {@link RuntimeFilter} with the following attributes:
2022
- * `columnName` - _String_. The name of the column to filter on.
2023
- *
2024
- * `operator` - {@link RuntimeFilterOp} to apply. For more information,
2025
- * see link:https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator[Developer Documentation].
2026
- *
2027
- * `values` - List of operands. Some operators such as EQ and LE allow a
2028
- * single value, whereas BW and IN accept multiple values.
2028
+ * @param - Array of {@link RuntimeFilter} objects. Each item includes:
2029
+ * - `columnName`: Name of the column to filter on.
2030
+ * - `operator`: {@link RuntimeFilterOp} to apply. For more information, see
2031
+ * link:https://developers.thoughtspot.com/docs/runtime-filters#rtOperator[Developer Documentation].
2032
+ * - `values`: List of operands. Some operators such as EQ and LE allow a single
2033
+ * value, whereas BW and IN accept multiple values.
2029
2034
  *
2030
2035
  * **Note**: Updating runtime filters resets the ThoughtSpot
2031
2036
  * object to its original state and applies new filter conditions.
@@ -2048,7 +2053,7 @@ var HostEvent;
2048
2053
  /**
2049
2054
  * Navigate to a specific page in the embedded ThoughtSpot application.
2050
2055
  * This is the same as calling `appEmbed.navigateToPage(path, true)`.
2051
- * @param - `path` - the path to navigate to to go forward or back. The path value can
2056
+ * @param - `path` - the path to navigate to go forward or back. The path value can
2052
2057
  * be a number; for example, `1`, `-1`.
2053
2058
  * @example
2054
2059
  * ```js
@@ -2119,30 +2124,25 @@ var HostEvent;
2119
2124
  * for the Answer that the user is currently on
2120
2125
  * and a modal opens for Liveboard selection.
2121
2126
  * To add an Answer or visualization to a Liveboard programmatically without
2122
- * showing requiring additional user input via *Pin to Liveboard* modal, define
2127
+ * requiring additional user input via the *Pin to Liveboard* modal, define
2123
2128
  * the following parameters:
2124
2129
  *
2125
- * @param
2126
- * `vizId`- GUID of the saved Answer or Spotter visualization ID to pin to a Liveboard.
2127
- * Optional when pinning a new chart or table generated from a Search query.
2128
- * **Required** in Spotter Embed.
2129
- * @param
2130
- * `liveboardID` - GUID of the Liveboard to pin an Answer. If there is no Liveboard,
2131
- * specify the `newLiveboardName` parameter to create a new Liveboard.
2132
- * @param
2133
- * `tabId` - GUID of the Liveboard tab. Adds the Answer to the Liveboard tab
2134
- * specified in the code.
2135
- * @param
2136
- * `newVizName` - Name string for the Answer or visualization. If defined,
2137
- * this parameter adds a new visualization object or creates a copy of the
2138
- * Answer or visualization specified in `vizId`.
2139
- * Required attribute.
2140
- * @param
2141
- * `newLiveboardName` - Name string for the Liveboard.
2142
- * Creates a new Liveboard object with the specified name.
2143
- * @param
2144
- * `newTabName` - Name of the tab. Adds a new tab Liveboard specified
2145
- * in the code.
2130
+ * @param - Includes the following keys:
2131
+ * - `vizId`: GUID of the saved Answer or Spotter visualization ID to pin to a Liveboard.
2132
+ * Optional when pinning a new chart or table generated from a Search query.
2133
+ * **Required** in Spotter Embed.
2134
+ * - `liveboardId`: GUID of the Liveboard to pin an Answer. If there is no Liveboard,
2135
+ * specify the `newLiveboardName` parameter to create a new Liveboard.
2136
+ * - `tabId`: GUID of the Liveboard tab. Adds the Answer to the Liveboard tab
2137
+ * specified in the code.
2138
+ * - `newVizName`: Name string for the Answer or visualization. If defined,
2139
+ * this parameter adds a new visualization object or creates a copy of the
2140
+ * Answer or visualization specified in `vizId`.
2141
+ * Required.
2142
+ * - `newLiveboardName`: Name string for the Liveboard.
2143
+ * Creates a new Liveboard object with the specified name.
2144
+ * - `newTabName`: Name of the tab. Adds a new tab Liveboard specified
2145
+ * in the code.
2146
2146
  *
2147
2147
  * @example
2148
2148
  * ```js
@@ -2382,9 +2382,9 @@ var HostEvent;
2382
2382
  * on a Liveboard.
2383
2383
  *
2384
2384
  * This event is not supported in visualization embed and search embed.
2385
- * @param - object - To trigger the action for a specific visualization
2386
- * in Liveboard embed, pass in `vizId` as a key.
2387
- * @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
2385
+ * @param - Object parameter. Includes the following keys:
2386
+ * - `vizId`: To trigger the action for a specific visualization in Liveboard embed,
2387
+ * pass in `vizId` as a key. In Spotter embed, `vizId` refers to the Answer ID and is **required**.
2388
2388
  *
2389
2389
  * @example
2390
2390
  * ```js
@@ -2751,10 +2751,9 @@ var HostEvent;
2751
2751
  HostEvent["GetFilters"] = "getFilters";
2752
2752
  /**
2753
2753
  * Update one or several filters applied on a Liveboard.
2754
- * @param - `filter`: a single filter object containing column name,
2755
- * filter operator, and values.
2756
- * @param - `filters`: multiple filter objects with column name, filter operator,
2757
- * and values for each.
2754
+ * @param - Includes the following keys:
2755
+ * - `filter`: A single filter object containing column name, filter operator, and values.
2756
+ * - `filters`: Multiple filter objects with column name, filter operator, and values for each.
2758
2757
  *
2759
2758
  * Each filter object must include the following attributes:
2760
2759
  *
@@ -2880,8 +2879,9 @@ var HostEvent;
2880
2879
  HostEvent["SetHiddenTabs"] = "SetPinboardHiddenTabs";
2881
2880
  /**
2882
2881
  * Updates the search query string for Natural Language Search operations.
2883
- * @param - `queryString`: Text string in Natural Language format
2884
- * @param - `executeSearch`: Boolean to execute search and update search query
2882
+ * @param - Includes the following keys:
2883
+ * - `queryString`: Text string in Natural Language format.
2884
+ * - `executeSearch`: Boolean to execute search and update search query.
2885
2885
  * @example
2886
2886
  * ```js
2887
2887
  * sageEmbed.trigger(HostEvent.UpdateSageQuery, {
@@ -2960,11 +2960,10 @@ var HostEvent;
2960
2960
  /**
2961
2961
  * Triggers an action to update Parameter values on embedded
2962
2962
  * Answers, Liveboard, and Spotter answer in Edit mode.
2963
- * @param - `name` - Name of the Parameter
2964
- * @param - `value` - The value to set for the Parameter.
2965
- *
2966
- * Optionally, to control the visibility of the Parameter chip,
2967
- * use the `isVisibleToUser` attribute when applying an override.
2963
+ * @param - Includes the following keys for each item:
2964
+ * - `name`: Name of the parameter.
2965
+ * - `value`: The value to set for the parameter.
2966
+ * - `isVisibleToUser`: Optional. To control the visibility of the parameter chip.
2968
2967
  *
2969
2968
  * @example
2970
2969
  * ```js
@@ -3022,11 +3021,10 @@ var HostEvent;
3022
3021
  * If no parameters are specified, the save action is
3023
3022
  * triggered with a modal to prompt users to
3024
3023
  * add a name and description for the Answer.
3025
- * @param - `vizId` refers to the Answer ID in Spotter embed
3026
- * and is required in Spotter embed.
3027
- * Optional attributes to set Answer properties include:
3028
- * @param - `name` - Name string for the Answer.
3029
- * @param - `description` - Description text for the Answer.
3024
+ * @param - Includes the following keys:
3025
+ * - `vizId`: Refers to the Answer ID in Spotter embed and is **required** in Spotter embed.
3026
+ * - `name`: Optional. Name string for the Answer.
3027
+ * - `description`: Optional. Description text for the Answer.
3030
3028
  * @example
3031
3029
  * ```js
3032
3030
  * const saveAnswerResponse = await searchEmbed.trigger(HostEvent.SaveAnswer, {
@@ -3075,8 +3073,9 @@ var HostEvent;
3075
3073
  /**
3076
3074
  * Triggers a search operation with the search tokens specified in
3077
3075
  * the search query string in spotter embed.
3078
- * @param - `query`: Text string in Natural Language format
3079
- * @param - `executeSearch`: Boolean to execute search and update search query
3076
+ * @param - Includes the following keys:
3077
+ * - `query`: Text string in Natural Language format.
3078
+ * - `executeSearch`: Boolean to execute search and update search query.
3080
3079
  * @example
3081
3080
  * ```js
3082
3081
  * spotterEmbed.trigger(HostEvent.SpotterSearch, {
@@ -3123,7 +3122,7 @@ var HostEvent;
3123
3122
  * ```js
3124
3123
  * spotterEmbed.trigger(HostEvent.DataModelInstructions);
3125
3124
  * ```
3126
- * @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
3125
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
3127
3126
  */
3128
3127
  HostEvent["DataModelInstructions"] = "DataModelInstructions";
3129
3128
  /**
@@ -3208,7 +3207,7 @@ var HostEvent;
3208
3207
  */
3209
3208
  HostEvent["UpdateEmbedParams"] = "updateEmbedParams";
3210
3209
  /**
3211
- * Triggered when the embed is needed to be destroyed. This is used to clean up any embed related resources internally.
3210
+ * Triggered when the embed needs to be destroyed. This is used to clean up any embed-related resources internally.
3212
3211
  * @example
3213
3212
  * ```js
3214
3213
  * liveboardEmbed.trigger(HostEvent.DestroyEmbed);
@@ -3216,11 +3215,12 @@ var HostEvent;
3216
3215
  * @version SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl
3217
3216
  */
3218
3217
  HostEvent["DestroyEmbed"] = "EmbedDestroyed";
3219
- /** Triggers a create new conversation operation in spotter embed.
3220
- * @example
3221
- * ```js
3218
+ /**
3219
+ * Triggers a new conversation in Spotter embed.
3220
+ *
3222
3221
  * This feature is available only when chat history is enabled on your ThoughtSpot instance.
3223
3222
  * Contact your admin or ThoughtSpot Support to enable chat history on your instance.
3223
+ *
3224
3224
  * @example
3225
3225
  * ```js
3226
3226
  * spotterEmbed.trigger(HostEvent.StartNewSpotterConversation);
@@ -3377,8 +3377,9 @@ var Param;
3377
3377
  Param["IsLiveboardStylingAndGroupingEnabled"] = "isLiveboardStylingAndGroupingEnabled";
3378
3378
  Param["IsLazyLoadingForEmbedEnabled"] = "isLazyLoadingForEmbedEnabled";
3379
3379
  Param["RootMarginForLazyLoad"] = "rootMarginForLazyLoad";
3380
- Param["LiveboardXLSXCSVDownload"] = "isLiveboardXLSXCSVDownloadEnabled";
3381
3380
  Param["isPNGInScheduledEmailsEnabled"] = "isPNGInScheduledEmailsEnabled";
3381
+ Param["isLiveboardXLSXCSVDownloadEnabled"] = "isLiveboardXLSXCSVDownloadEnabled";
3382
+ Param["isGranularXLSXCSVSchedulesEnabled"] = "isGranularXLSXCSVSchedulesEnabled";
3382
3383
  Param["isCentralizedLiveboardFilterUXEnabled"] = "isCentralizedLiveboardFilterUXEnabled";
3383
3384
  Param["isLinkParametersEnabled"] = "isLinkParametersEnabled";
3384
3385
  Param["EnablePastConversationsSidebar"] = "enablePastConversationsSidebar";
@@ -3409,7 +3410,7 @@ var Param;
3409
3410
  * hiddenActions: [Action.Edit, ActionAction.Explore],
3410
3411
  * })
3411
3412
  * ```
3412
- * See also link:https://developers.thoughtspot.com/docs/actions[Action IDs in the SDK]
3413
+ * See also link:https://developers.thoughtspot.com/docs/actions[Developer Documentation].
3413
3414
  */
3414
3415
  var Action;
3415
3416
  (function (Action) {
@@ -3697,6 +3698,16 @@ var Action;
3697
3698
  * ```
3698
3699
  */
3699
3700
  Action["DownloadAsXlsx"] = "downloadAsXLSX";
3701
+ /**
3702
+ * The **Download Liveboard** menu action on a Liveboard.
3703
+ * Allows downloading the entire Liveboard.
3704
+ * @example
3705
+ * ```js
3706
+ * disabledActions: [Action.DownloadLiveboard]
3707
+ * ```
3708
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
3709
+ */
3710
+ Action["DownloadLiveboard"] = "downloadLiveboard";
3700
3711
  /**
3701
3712
  * @hidden
3702
3713
  */
@@ -4036,28 +4047,28 @@ var Action;
4036
4047
  Action["CrossFilter"] = "context-menu-item-cross-filter";
4037
4048
  /**
4038
4049
  * The **Sync to Slack** action on Liveboard visualizations.
4039
- * Allows sending data to third-party apps Slack
4050
+ * Allows sending data to third-party apps like Slack.
4040
4051
  * @example
4041
4052
  * ```js
4042
4053
  * disabledActions: [Action.SyncToSlack]
4043
4054
  * ```
4044
- * @version @version SDK : 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
4055
+ * @version SDK: 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
4045
4056
  */
4046
4057
  Action["SyncToSlack"] = "syncToSlack";
4047
4058
  /**
4048
4059
  * The **Sync to Teams** action on Liveboard visualizations.
4049
- * Allows sending data to third-party apps Team
4060
+ * Allows sending data to third-party apps like Microsoft Teams.
4050
4061
  * @example
4051
4062
  * ```js
4052
4063
  * disabledActions: [Action.SyncToTeams]
4053
4064
  * ```
4054
- * @version @version SDK : 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
4065
+ * @version SDK: 1.32.0 | ThoughtSpot Cloud: 10.1.0.cl
4055
4066
  */
4056
4067
  Action["SyncToTeams"] = "syncToTeams";
4057
4068
  /**
4058
4069
  * The **Remove** action that appears when cross filters are applied
4059
4070
  * on a Liveboard.
4060
- * Removes filters applied o a visualization.
4071
+ * Removes filters applied to a visualization.
4061
4072
  * @example
4062
4073
  * ```js
4063
4074
  * disabledActions: [Action.RemoveCrossFilter]
@@ -4243,7 +4254,7 @@ var Action;
4243
4254
  Action["AddTab"] = "addTab";
4244
4255
  /**
4245
4256
  *
4246
- *Initiates contextual change analysis on KPI charts.
4257
+ * Initiates contextual change analysis on KPI charts.
4247
4258
  * @example
4248
4259
  * ```js
4249
4260
  * disabledActions: [Action.EnableContextualChangeAnalysis]
@@ -4253,7 +4264,7 @@ var Action;
4253
4264
  Action["EnableContextualChangeAnalysis"] = "enableContextualChangeAnalysis";
4254
4265
  /**
4255
4266
  * Action ID to hide or disable Iterative Change Analysis option
4256
- * on contextual change analysis Inisght charts context menu
4267
+ * in the contextual change analysis Insight charts context menu.
4257
4268
  *
4258
4269
  * @example
4259
4270
  * ```js
@@ -4531,6 +4542,17 @@ var Action;
4531
4542
  * @version SDK: 1.36.0 | ThoughtSpot Cloud: 10.6.0.cl
4532
4543
  */
4533
4544
  Action["ChangeFilterVisibilityInTab"] = "changeFilterVisibilityInTab";
4545
+ /**
4546
+ * The **Data model instructions** button on the Spotter interface.
4547
+ * Allows opening the data model instructions modal.
4548
+ *
4549
+ * @example
4550
+ * ```js
4551
+ * hiddenAction: [Action.DataModelInstructions]
4552
+ * ```
4553
+ * @version SDK: 1.46.0 | ThoughtSpot Cloud: 26.3.0.cl
4554
+ */
4555
+ Action["DataModelInstructions"] = "DataModelInstructions";
4534
4556
  /**
4535
4557
  * The **Preview data** button on the Spotter interface.
4536
4558
  * Allows previewing the data used for Spotter queries.
@@ -4616,12 +4638,12 @@ var Action;
4616
4638
  */
4617
4639
  Action["CoverAndFilterOptionInPDF"] = "coverAndFilterOptionInPDF";
4618
4640
  /**
4619
- * Action ID for hide or disable the
4620
- * Spotter in conversation training widget.
4621
- * The Add to Coaching feature is currently in beta
4622
- * and is disabled by default on embed deployments.
4623
- * To enable this feature on your instance,
4624
- * contact ThoughtSpot Support.
4641
+ * Action ID to hide or disable the Spotter in the conversation training widget.
4642
+ * When disabled, users cannot access **Add to Coaching**, which allows adding reference
4643
+ * questions and business terms to improve Spotter’s responses.
4644
+ * The **Add to Coaching** feature is generally available from version 26.2.0.cl and
4645
+ * enabled by default on embed deployments.
4646
+
4625
4647
  * @example
4626
4648
  * ```js
4627
4649
  * hiddenAction: [Action.InConversationTraining]
@@ -4881,31 +4903,19 @@ var ErrorDetailsTypes;
4881
4903
  ErrorDetailsTypes["NETWORK"] = "NETWORK";
4882
4904
  })(ErrorDetailsTypes || (ErrorDetailsTypes = {}));
4883
4905
  /**
4884
- * Specific error codes for embedded component errors.
4885
- *
4886
- * These codes provide granular identification of errors that occur in embedded components.
4887
- * They are returned in the {@link EmbedErrorDetailsEvent.code} property and allow for
4888
- * precise error handling and debugging.
4906
+ * Error codes for identifying specific issues in embedded ThoughtSpot components.
4889
4907
  *
4890
- * The codes are organized into categories:
4891
- * - **Worksheet ID not found or does not exist**: Errors related to applying or updating filters
4892
- * - **Liveboard ID missing**: Errors related to missing liveboard ID
4893
- * - **Conflicting actions configuration**: Errors related to conflicting actions configuration
4894
- * - **Conflicting tabs configuration**: Errors related to conflicting tabs configuration
4895
- * - **Initialization error**: Errors related to initialization error
4896
- * - **Network error**: Errors related to network error
4897
- * - **Custom action validation**: Errors related to custom action validation
4898
- * - **Login failed**: Errors related to login failed
4899
- * - **Render not called**: Errors related to render not called
4900
- * - **Host event type undefined or invalid**: Errors related to host event type undefined or invalid
4908
+ * Use these codes for precise error handling and debugging. Each code maps to a
4909
+ * distinct failure scenario, enabling targeted recovery strategies.
4901
4910
  *
4902
4911
  * @version SDK: 1.44.2 | ThoughtSpot: 26.2.0.cl
4903
4912
  * @group Error Handling
4913
+ *
4904
4914
  * @see {@link EmbedErrorDetailsEvent} - The error event object that includes these codes
4905
4915
  * @see {@link ErrorDetailsTypes} - General error type categories
4906
4916
  *
4907
4917
  * @example
4908
- * Handle specific error codes
4918
+ * Handle specific error codes in the error event handler
4909
4919
  *
4910
4920
  * embed.on(EmbedEvent.Error, (error) => {
4911
4921
  * if (error.code === EmbedErrorCodes.WORKSHEET_ID_NOT_FOUND) {
@@ -8394,7 +8404,6 @@ const addVizToLiveboard = `
8394
8404
  const getSQLQuery = `
8395
8405
  mutation GetSQLQuery($session: BachSessionIdInput!) {
8396
8406
  Answer__getQuery(session: $session) {
8397
- ${bachSessionId}
8398
8407
  sql
8399
8408
  }
8400
8409
  }
@@ -8722,7 +8731,7 @@ class AnswerService {
8722
8731
  async getTML() {
8723
8732
  const { object } = await this.executeQuery(getAnswerTML, {});
8724
8733
  const edoc = object[0].edoc;
8725
- const YAML = await import('./index-C5FAW929.js');
8734
+ const YAML = await import('./index-_2rRJf4J.js');
8726
8735
  const parsedDoc = YAML.parse(edoc);
8727
8736
  return {
8728
8737
  answer: {
@@ -17979,7 +17988,7 @@ function processEventData(type, eventData, thoughtSpotHost, containerEl) {
17979
17988
  return eventData;
17980
17989
  }
17981
17990
 
17982
- 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={".":{"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,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};
17991
+ 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={".":{"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,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};
17983
17992
 
17984
17993
  class HostEventClient {
17985
17994
  constructor(iFrame) {
@@ -18471,8 +18480,8 @@ class TsEmbed {
18471
18480
  this.eventHandlerMap = new Map();
18472
18481
  this.isError = false;
18473
18482
  this.viewConfig = {
18474
- excludeRuntimeFiltersfromURL: false,
18475
- excludeRuntimeParametersfromURL: false,
18483
+ excludeRuntimeFiltersfromURL: true,
18484
+ excludeRuntimeParametersfromURL: true,
18476
18485
  ...viewConfig,
18477
18486
  };
18478
18487
  this.registerAppInit();
@@ -19664,7 +19673,11 @@ class V1Embed extends TsEmbed {
19664
19673
  * @hidden
19665
19674
  */
19666
19675
  this.test__executeCallbacks = this.executeCallbacks;
19667
- this.viewConfig = { excludeRuntimeFiltersfromURL: false, ...viewConfig };
19676
+ this.viewConfig = {
19677
+ excludeRuntimeFiltersfromURL: true,
19678
+ excludeRuntimeParametersfromURL: true,
19679
+ ...viewConfig,
19680
+ };
19668
19681
  }
19669
19682
  /**
19670
19683
  * Render the app in an iframe and set up event handlers
@@ -19909,7 +19922,12 @@ const HiddenActionItemByDefaultForSearchEmbed = [
19909
19922
  */
19910
19923
  let SearchEmbed$1 = class SearchEmbed extends TsEmbed {
19911
19924
  constructor(domSelector, viewConfig) {
19912
- viewConfig.embedComponentType = 'SearchEmbed';
19925
+ viewConfig = {
19926
+ embedComponentType: 'SearchEmbed',
19927
+ excludeRuntimeFiltersfromURL: true,
19928
+ excludeRuntimeParametersfromURL: true,
19929
+ ...viewConfig,
19930
+ };
19913
19931
  super(domSelector, viewConfig);
19914
19932
  }
19915
19933
  /**
@@ -20232,7 +20250,7 @@ let AppEmbed$1 = class AppEmbed extends V1Embed {
20232
20250
  * embedded Liveboard or visualization.
20233
20251
  */
20234
20252
  getEmbedParams() {
20235
- 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;
20253
+ 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;
20236
20254
  let params = {};
20237
20255
  params[Param.PrimaryNavHidden] = !showPrimaryNavbar;
20238
20256
  params[Param.HideProfleAndHelp] = !!disableProfileAndHelp;
@@ -20301,12 +20319,15 @@ let AppEmbed$1 = class AppEmbed extends V1Embed {
20301
20319
  if (isLiveboardStylingAndGroupingEnabled !== undefined) {
20302
20320
  params[Param.IsLiveboardStylingAndGroupingEnabled] = isLiveboardStylingAndGroupingEnabled;
20303
20321
  }
20304
- if (liveboardXLSXCSVDownload !== undefined) {
20305
- params[Param.LiveboardXLSXCSVDownload] = !!liveboardXLSXCSVDownload;
20306
- }
20307
20322
  if (isPNGInScheduledEmailsEnabled !== undefined) {
20308
20323
  params[Param.isPNGInScheduledEmailsEnabled] = isPNGInScheduledEmailsEnabled;
20309
20324
  }
20325
+ if (isLiveboardXLSXCSVDownloadEnabled !== undefined) {
20326
+ params[Param.isLiveboardXLSXCSVDownloadEnabled] = isLiveboardXLSXCSVDownloadEnabled;
20327
+ }
20328
+ if (isGranularXLSXCSVSchedulesEnabled !== undefined) {
20329
+ params[Param.isGranularXLSXCSVSchedulesEnabled] = isGranularXLSXCSVSchedulesEnabled;
20330
+ }
20310
20331
  if (hideTagFilterChips !== undefined) {
20311
20332
  params[Param.HideTagFilterChips] = hideTagFilterChips;
20312
20333
  }
@@ -20671,7 +20692,7 @@ let LiveboardEmbed$1 = class LiveboardEmbed extends V1Embed {
20671
20692
  getEmbedParamsObject() {
20672
20693
  let params = {};
20673
20694
  params = this.getBaseQueryParams(params);
20674
- 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;
20695
+ 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;
20675
20696
  const preventLiveboardFilterRemoval = this.viewConfig.preventLiveboardFilterRemoval
20676
20697
  || this.viewConfig.preventPinboardFilterRemoval;
20677
20698
  if (fullHeight === true) {
@@ -20736,6 +20757,12 @@ let LiveboardEmbed$1 = class LiveboardEmbed extends V1Embed {
20736
20757
  if (isPNGInScheduledEmailsEnabled !== undefined) {
20737
20758
  params[Param.isPNGInScheduledEmailsEnabled] = isPNGInScheduledEmailsEnabled;
20738
20759
  }
20760
+ if (isLiveboardXLSXCSVDownloadEnabled !== undefined) {
20761
+ params[Param.isLiveboardXLSXCSVDownloadEnabled] = isLiveboardXLSXCSVDownloadEnabled;
20762
+ }
20763
+ if (isGranularXLSXCSVSchedulesEnabled !== undefined) {
20764
+ params[Param.isGranularXLSXCSVSchedulesEnabled] = isGranularXLSXCSVSchedulesEnabled;
20765
+ }
20739
20766
  if (showSpotterLimitations !== undefined) {
20740
20767
  params[Param.ShowSpotterLimitations] = showSpotterLimitations;
20741
20768
  }
@@ -20756,9 +20783,6 @@ let LiveboardEmbed$1 = class LiveboardEmbed extends V1Embed {
20756
20783
  params[Param.DataPanelV2Enabled] = dataPanelV2;
20757
20784
  params[Param.EnableCustomColumnGroups] = enableCustomColumnGroups;
20758
20785
  params[Param.CoverAndFilterOptionInPDF] = coverAndFilterOptionInPDF;
20759
- if (liveboardXLSXCSVDownload !== undefined) {
20760
- params[Param.LiveboardXLSXCSVDownload] = !!liveboardXLSXCSVDownload;
20761
- }
20762
20786
  getQueryParamString(params, true);
20763
20787
  return params;
20764
20788
  }
@@ -21485,7 +21509,12 @@ var isUndefined_1 = isUndefined;
21485
21509
  */
21486
21510
  let SpotterEmbed$1 = class SpotterEmbed extends TsEmbed {
21487
21511
  constructor(container, viewConfig) {
21488
- viewConfig.embedComponentType = 'conversation';
21512
+ viewConfig = {
21513
+ embedComponentType: 'conversation',
21514
+ excludeRuntimeFiltersfromURL: true,
21515
+ excludeRuntimeParametersfromURL: true,
21516
+ ...viewConfig,
21517
+ };
21489
21518
  super(container, viewConfig);
21490
21519
  this.viewConfig = viewConfig;
21491
21520
  }
@@ -21573,7 +21602,12 @@ let SpotterEmbed$1 = class SpotterEmbed extends TsEmbed {
21573
21602
  */
21574
21603
  let ConversationEmbed$1 = class ConversationEmbed extends SpotterEmbed$1 {
21575
21604
  constructor(container, viewConfig) {
21576
- viewConfig.embedComponentType = 'conversation';
21605
+ viewConfig = {
21606
+ embedComponentType: 'conversation',
21607
+ excludeRuntimeFiltersfromURL: true,
21608
+ excludeRuntimeParametersfromURL: true,
21609
+ ...viewConfig,
21610
+ };
21577
21611
  super(container, viewConfig);
21578
21612
  this.viewConfig = viewConfig;
21579
21613
  }