@thoughtspot/visual-embed-sdk 1.50.0 → 1.50.1

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 (188) hide show
  1. package/cjs/package.json +1 -1
  2. package/cjs/src/css-variables.d.ts +59 -0
  3. package/cjs/src/css-variables.d.ts.map +1 -1
  4. package/cjs/src/embed/app.d.ts +31 -2
  5. package/cjs/src/embed/app.d.ts.map +1 -1
  6. package/cjs/src/embed/app.js +13 -2
  7. package/cjs/src/embed/app.js.map +1 -1
  8. package/cjs/src/embed/app.spec.js +101 -0
  9. package/cjs/src/embed/app.spec.js.map +1 -1
  10. package/cjs/src/embed/conversation.d.ts +26 -0
  11. package/cjs/src/embed/conversation.d.ts.map +1 -1
  12. package/cjs/src/embed/conversation.js +12 -2
  13. package/cjs/src/embed/conversation.js.map +1 -1
  14. package/cjs/src/embed/conversation.spec.js +23 -0
  15. package/cjs/src/embed/conversation.spec.js.map +1 -1
  16. package/cjs/src/embed/events.spec.js +593 -0
  17. package/cjs/src/embed/events.spec.js.map +1 -1
  18. package/cjs/src/embed/host-events.spec.js +106 -0
  19. package/cjs/src/embed/host-events.spec.js.map +1 -1
  20. package/cjs/src/embed/hostEventClient/contracts.d.ts +36 -14
  21. package/cjs/src/embed/hostEventClient/contracts.d.ts.map +1 -1
  22. package/cjs/src/embed/hostEventClient/contracts.js +10 -1
  23. package/cjs/src/embed/hostEventClient/contracts.js.map +1 -1
  24. package/cjs/src/embed/hostEventClient/host-event-client.d.ts +1 -0
  25. package/cjs/src/embed/hostEventClient/host-event-client.d.ts.map +1 -1
  26. package/cjs/src/embed/hostEventClient/host-event-client.js +8 -0
  27. package/cjs/src/embed/hostEventClient/host-event-client.js.map +1 -1
  28. package/cjs/src/embed/hostEventClient/host-event-client.spec.js +209 -0
  29. package/cjs/src/embed/hostEventClient/host-event-client.spec.js.map +1 -1
  30. package/cjs/src/embed/hostEventClient/utils.d.ts +2 -0
  31. package/cjs/src/embed/hostEventClient/utils.d.ts.map +1 -1
  32. package/cjs/src/embed/hostEventClient/utils.js +32 -2
  33. package/cjs/src/embed/hostEventClient/utils.js.map +1 -1
  34. package/cjs/src/embed/hostEventClient/utils.spec.js +178 -0
  35. package/cjs/src/embed/hostEventClient/utils.spec.js.map +1 -1
  36. package/cjs/src/embed/liveboard.d.ts +6 -0
  37. package/cjs/src/embed/liveboard.d.ts.map +1 -1
  38. package/cjs/src/embed/liveboard.js.map +1 -1
  39. package/cjs/src/embed/spotter-viz-utils.d.ts +34 -0
  40. package/cjs/src/embed/spotter-viz-utils.d.ts.map +1 -1
  41. package/cjs/src/embed/spotter-viz-utils.js.map +1 -1
  42. package/cjs/src/embed/spotter-viz-utils.spec.js +17 -0
  43. package/cjs/src/embed/spotter-viz-utils.spec.js.map +1 -1
  44. package/cjs/src/embed/ts-embed.d.ts.map +1 -1
  45. package/cjs/src/embed/ts-embed.js +14 -7
  46. package/cjs/src/embed/ts-embed.js.map +1 -1
  47. package/cjs/src/embed/ts-embed.spec.js +146 -0
  48. package/cjs/src/embed/ts-embed.spec.js.map +1 -1
  49. package/cjs/src/errors.d.ts +1 -0
  50. package/cjs/src/errors.d.ts.map +1 -1
  51. package/cjs/src/errors.js +1 -0
  52. package/cjs/src/errors.js.map +1 -1
  53. package/cjs/src/index.d.ts +2 -2
  54. package/cjs/src/index.d.ts.map +1 -1
  55. package/cjs/src/index.js +3 -2
  56. package/cjs/src/index.js.map +1 -1
  57. package/cjs/src/react/util.spec.js +251 -0
  58. package/cjs/src/react/util.spec.js.map +1 -1
  59. package/cjs/src/types.d.ts +119 -2
  60. package/cjs/src/types.d.ts.map +1 -1
  61. package/cjs/src/types.js +97 -0
  62. package/cjs/src/types.js.map +1 -1
  63. package/cjs/src/utils/processData.spec.js +93 -0
  64. package/cjs/src/utils/processData.spec.js.map +1 -1
  65. package/cjs/src/utils/processTrigger.spec.js +61 -0
  66. package/cjs/src/utils/processTrigger.spec.js.map +1 -1
  67. package/dist/{index-B5xoN6Cp.js → index-fCne7kmU.js} +1 -1
  68. package/dist/src/css-variables.d.ts +59 -0
  69. package/dist/src/css-variables.d.ts.map +1 -1
  70. package/dist/src/embed/app.d.ts +31 -2
  71. package/dist/src/embed/app.d.ts.map +1 -1
  72. package/dist/src/embed/conversation.d.ts +26 -0
  73. package/dist/src/embed/conversation.d.ts.map +1 -1
  74. package/dist/src/embed/hostEventClient/contracts.d.ts +36 -14
  75. package/dist/src/embed/hostEventClient/contracts.d.ts.map +1 -1
  76. package/dist/src/embed/hostEventClient/host-event-client.d.ts +1 -0
  77. package/dist/src/embed/hostEventClient/host-event-client.d.ts.map +1 -1
  78. package/dist/src/embed/hostEventClient/utils.d.ts +2 -0
  79. package/dist/src/embed/hostEventClient/utils.d.ts.map +1 -1
  80. package/dist/src/embed/liveboard.d.ts +6 -0
  81. package/dist/src/embed/liveboard.d.ts.map +1 -1
  82. package/dist/src/embed/spotter-viz-utils.d.ts +34 -0
  83. package/dist/src/embed/spotter-viz-utils.d.ts.map +1 -1
  84. package/dist/src/embed/ts-embed.d.ts.map +1 -1
  85. package/dist/src/errors.d.ts +1 -0
  86. package/dist/src/errors.d.ts.map +1 -1
  87. package/dist/src/index.d.ts +2 -2
  88. package/dist/src/index.d.ts.map +1 -1
  89. package/dist/src/types.d.ts +119 -2
  90. package/dist/src/types.d.ts.map +1 -1
  91. package/dist/tsembed-react.es.js +389 -84
  92. package/dist/tsembed-react.js +388 -83
  93. package/dist/tsembed.es.js +390 -85
  94. package/dist/tsembed.js +388 -83
  95. package/dist/visual-embed-sdk-react-full.d.ts +302 -17
  96. package/dist/visual-embed-sdk-react.d.ts +302 -17
  97. package/dist/visual-embed-sdk.d.ts +306 -17
  98. package/lib/package.json +1 -1
  99. package/lib/src/css-variables.d.ts +59 -0
  100. package/lib/src/css-variables.d.ts.map +1 -1
  101. package/lib/src/embed/app.d.ts +31 -2
  102. package/lib/src/embed/app.d.ts.map +1 -1
  103. package/lib/src/embed/app.js +13 -2
  104. package/lib/src/embed/app.js.map +1 -1
  105. package/lib/src/embed/app.spec.js +101 -0
  106. package/lib/src/embed/app.spec.js.map +1 -1
  107. package/lib/src/embed/conversation.d.ts +26 -0
  108. package/lib/src/embed/conversation.d.ts.map +1 -1
  109. package/lib/src/embed/conversation.js +11 -1
  110. package/lib/src/embed/conversation.js.map +1 -1
  111. package/lib/src/embed/conversation.spec.js +24 -1
  112. package/lib/src/embed/conversation.spec.js.map +1 -1
  113. package/lib/src/embed/events.spec.js +593 -0
  114. package/lib/src/embed/events.spec.js.map +1 -1
  115. package/lib/src/embed/host-events.spec.js +107 -1
  116. package/lib/src/embed/host-events.spec.js.map +1 -1
  117. package/lib/src/embed/hostEventClient/contracts.d.ts +36 -14
  118. package/lib/src/embed/hostEventClient/contracts.d.ts.map +1 -1
  119. package/lib/src/embed/hostEventClient/contracts.js +9 -0
  120. package/lib/src/embed/hostEventClient/contracts.js.map +1 -1
  121. package/lib/src/embed/hostEventClient/host-event-client.d.ts +1 -0
  122. package/lib/src/embed/hostEventClient/host-event-client.d.ts.map +1 -1
  123. package/lib/src/embed/hostEventClient/host-event-client.js +9 -1
  124. package/lib/src/embed/hostEventClient/host-event-client.js.map +1 -1
  125. package/lib/src/embed/hostEventClient/host-event-client.spec.js +209 -0
  126. package/lib/src/embed/hostEventClient/host-event-client.spec.js.map +1 -1
  127. package/lib/src/embed/hostEventClient/utils.d.ts +2 -0
  128. package/lib/src/embed/hostEventClient/utils.d.ts.map +1 -1
  129. package/lib/src/embed/hostEventClient/utils.js +28 -1
  130. package/lib/src/embed/hostEventClient/utils.js.map +1 -1
  131. package/lib/src/embed/hostEventClient/utils.spec.js +179 -1
  132. package/lib/src/embed/hostEventClient/utils.spec.js.map +1 -1
  133. package/lib/src/embed/liveboard.d.ts +6 -0
  134. package/lib/src/embed/liveboard.d.ts.map +1 -1
  135. package/lib/src/embed/liveboard.js.map +1 -1
  136. package/lib/src/embed/spotter-viz-utils.d.ts +34 -0
  137. package/lib/src/embed/spotter-viz-utils.d.ts.map +1 -1
  138. package/lib/src/embed/spotter-viz-utils.js.map +1 -1
  139. package/lib/src/embed/spotter-viz-utils.spec.js +17 -0
  140. package/lib/src/embed/spotter-viz-utils.spec.js.map +1 -1
  141. package/lib/src/embed/ts-embed.d.ts.map +1 -1
  142. package/lib/src/embed/ts-embed.js +14 -7
  143. package/lib/src/embed/ts-embed.js.map +1 -1
  144. package/lib/src/embed/ts-embed.spec.js +146 -0
  145. package/lib/src/embed/ts-embed.spec.js.map +1 -1
  146. package/lib/src/errors.d.ts +1 -0
  147. package/lib/src/errors.d.ts.map +1 -1
  148. package/lib/src/errors.js +1 -0
  149. package/lib/src/errors.js.map +1 -1
  150. package/lib/src/index.d.ts +2 -2
  151. package/lib/src/index.d.ts.map +1 -1
  152. package/lib/src/index.js +2 -2
  153. package/lib/src/index.js.map +1 -1
  154. package/lib/src/react/util.spec.js +251 -0
  155. package/lib/src/react/util.spec.js.map +1 -1
  156. package/lib/src/types.d.ts +119 -2
  157. package/lib/src/types.d.ts.map +1 -1
  158. package/lib/src/types.js +97 -0
  159. package/lib/src/types.js.map +1 -1
  160. package/lib/src/utils/processData.spec.js +93 -0
  161. package/lib/src/utils/processData.spec.js.map +1 -1
  162. package/lib/src/utils/processTrigger.spec.js +61 -0
  163. package/lib/src/utils/processTrigger.spec.js.map +1 -1
  164. package/lib/src/visual-embed-sdk.d.ts +306 -17
  165. package/package.json +1 -1
  166. package/src/css-variables.ts +73 -0
  167. package/src/embed/app.spec.ts +140 -0
  168. package/src/embed/app.ts +38 -2
  169. package/src/embed/conversation.spec.ts +32 -1
  170. package/src/embed/conversation.ts +29 -0
  171. package/src/embed/events.spec.ts +705 -1
  172. package/src/embed/host-events.spec.ts +124 -0
  173. package/src/embed/hostEventClient/contracts.ts +41 -14
  174. package/src/embed/hostEventClient/host-event-client.spec.ts +326 -0
  175. package/src/embed/hostEventClient/host-event-client.ts +15 -0
  176. package/src/embed/hostEventClient/utils.spec.ts +204 -0
  177. package/src/embed/hostEventClient/utils.ts +37 -10
  178. package/src/embed/liveboard.ts +6 -0
  179. package/src/embed/spotter-viz-utils.spec.ts +17 -0
  180. package/src/embed/spotter-viz-utils.ts +34 -0
  181. package/src/embed/ts-embed.spec.ts +186 -0
  182. package/src/embed/ts-embed.ts +12 -4
  183. package/src/errors.ts +1 -0
  184. package/src/index.ts +2 -1
  185. package/src/react/util.spec.tsx +255 -0
  186. package/src/types.ts +119 -0
  187. package/src/utils/processData.spec.ts +97 -0
  188. package/src/utils/processTrigger.spec.ts +91 -0
@@ -1,4 +1,4 @@
1
- /* @thoughtspot/visual-embed-sdk version 1.50.0 */
1
+ /* @thoughtspot/visual-embed-sdk version 1.50.1 */
2
2
  'use client';
3
3
  import * as React from 'react';
4
4
  import React__default, { useRef, useCallback } from 'react';
@@ -442,6 +442,13 @@ var HomeLeftNavItem;
442
442
  * @version SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl
443
443
  */
444
444
  HomeLeftNavItem["Favorites"] = "favorites";
445
+ /**
446
+ * The *Collections* menu option in
447
+ * the *Insights* left navigation panel.
448
+ * Shown when collections are enabled on the cluster.
449
+ * @version SDK: 1.52.0 | ThoughtSpot Cloud: 26.9.0.cl
450
+ */
451
+ HomeLeftNavItem["Collections"] = "collections";
445
452
  })(HomeLeftNavItem || (HomeLeftNavItem = {}));
446
453
  /**
447
454
  * A map of the supported runtime filter operations
@@ -1984,6 +1991,30 @@ var EmbedEvent;
1984
1991
  * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
1985
1992
  */
1986
1993
  EmbedEvent["SpotterConversationSelected"] = "spotterConversationSelected";
1994
+ /**
1995
+ * Emitted when the Spotter agent finishes streaming/rendering a response.
1996
+ * Includes the conversation and message identifiers so the host app can
1997
+ * fetch the full conversation history via the REST API if needed.
1998
+ *
1999
+ * The payload data has the shape `{ convId: string, messageId: string }`.
2000
+ *
2001
+ * Works with SpotterEmbed as well as AppEmbed (when Spotter is reached
2002
+ * inside the full application).
2003
+ * @example
2004
+ * ```js
2005
+ * spotterEmbed.on(EmbedEvent.SpotterResponseComplete, (payload) => {
2006
+ * console.log('Spotter response complete', payload);
2007
+ * })
2008
+ * ```
2009
+ * @example
2010
+ * ```js
2011
+ * appEmbed.on(EmbedEvent.SpotterResponseComplete, (payload) => {
2012
+ * console.log('Spotter response complete', payload);
2013
+ * })
2014
+ * ```
2015
+ * @version SDK: 1.51.0 | ThoughtSpot Cloud: 26.9.0.cl
2016
+ */
2017
+ EmbedEvent["SpotterResponseComplete"] = "spotterResponseComplete";
1987
2018
  /**
1988
2019
  * @hidden
1989
2020
  * Emitted when the auth token is about to get expired and needs to be refreshed.
@@ -3549,6 +3580,14 @@ var HostEvent;
3549
3580
  /**
3550
3581
  * Get details of filters applied on the Liveboard.
3551
3582
  * Returns arrays containing Liveboard filter and runtime filter elements.
3583
+ * Each Liveboard filter may include an `applicability` attribute
3584
+ * indicating the scope of the filter. It contains a `level`
3585
+ * (`LIVEBOARD`, `TAB`, or `GROUP`) and, when `level` is `TAB` or
3586
+ * `GROUP`, a `targetId` with the GUID of the target. At `LIVEBOARD`
3587
+ * level there is no `targetId`, since the filter applies to the
3588
+ * whole Liveboard.
3589
+ * The `applicability` attribute is available from SDK: 1.51.0 |
3590
+ * ThoughtSpot: 26.10.0.cl.
3552
3591
  * @example
3553
3592
  * ```js
3554
3593
  * const data = await liveboardEmbed.trigger(HostEvent.GetFilters);
@@ -3588,6 +3627,16 @@ var HostEvent;
3588
3627
  *
3589
3628
  * `type` - To update filters for date time, specify the date format type.
3590
3629
  * For more information and examples, see link:https://developers.thoughtspot.com/docs/embed-liveboard#_date_filters[Date filters].
3630
+ *
3631
+ * `applicability` - Optional. Scopes the filter to a specific target,
3632
+ * for example, a single Liveboard tab. Available from SDK: 1.51.0 |
3633
+ * ThoughtSpot: 26.10.0.cl. Includes the following attributes:
3634
+ *
3635
+ * - `level`: The scope of the filter: `LIVEBOARD`, `TAB`, or `GROUP`.
3636
+ * - `targetId`: The GUID of the target, for example, the tab GUID.
3637
+ * Required when `level` is `TAB` or `GROUP`. Do not pass it when
3638
+ * `level` is `LIVEBOARD`, since the filter applies to the whole
3639
+ * Liveboard.
3591
3640
  * @example
3592
3641
  * ```js
3593
3642
  *
@@ -3664,6 +3713,21 @@ var HostEvent;
3664
3713
  * }
3665
3714
  * }, ContextType.Liveboard);
3666
3715
  * ```
3716
+ * @example
3717
+ * ```js
3718
+ * // Scope the filter to a specific Liveboard tab
3719
+ * liveboardEmbed.trigger(HostEvent.UpdateFilters, {
3720
+ * filter: {
3721
+ * column: "item type",
3722
+ * oper: "IN",
3723
+ * values: ["bags", "shirts"],
3724
+ * applicability: {
3725
+ * level: "TAB",
3726
+ * targetId: "e0836cad-4fdf-42d4-bd97-567a6b2a6058"
3727
+ * }
3728
+ * }
3729
+ * });
3730
+ * ```
3667
3731
  * @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
3668
3732
  */
3669
3733
  HostEvent["UpdateFilters"] = "updateFilters";
@@ -3815,6 +3879,15 @@ var HostEvent;
3815
3879
  * - `name`: Name of the parameter.
3816
3880
  * - `value`: The value to set for the parameter.
3817
3881
  * - `isVisibleToUser`: Optional. To control the visibility of the parameter chip.
3882
+ * - `applicability`: Optional. Scopes the parameter to a specific target,
3883
+ * for example, a single Liveboard tab. Available from SDK: 1.51.0 |
3884
+ * ThoughtSpot: 26.10.0.cl. Includes the following attributes:
3885
+ *
3886
+ * - `level`: The scope of the parameter: `LIVEBOARD`, `TAB`, or `GROUP`.
3887
+ * - `targetId`: The GUID of the target, for example, the tab GUID.
3888
+ * Required when `level` is `TAB` or `GROUP`. Do not pass it when
3889
+ * `level` is `LIVEBOARD`, since the parameter applies to the whole
3890
+ * Liveboard.
3818
3891
  *
3819
3892
  * @example
3820
3893
  * ```js
@@ -3826,6 +3899,18 @@ var HostEvent;
3826
3899
  * ```
3827
3900
  * @example
3828
3901
  * ```js
3902
+ * // Scope the parameter to a specific Liveboard tab
3903
+ * liveboardEmbed.trigger(HostEvent.UpdateParameters, [{
3904
+ * name: "Integer Range Param",
3905
+ * value: 10,
3906
+ * applicability: {
3907
+ * level: "TAB",
3908
+ * targetId: "e0836cad-4fdf-42d4-bd97-567a6b2a6058"
3909
+ * }
3910
+ * }])
3911
+ * ```
3912
+ * @example
3913
+ * ```js
3829
3914
  * // Update parameters from liveboard context
3830
3915
  * import { ContextType } from '@thoughtspot/visual-embed-sdk';
3831
3916
  * liveboardEmbed.trigger(HostEvent.UpdateParameters, [{
@@ -3839,6 +3924,14 @@ var HostEvent;
3839
3924
  HostEvent["UpdateParameters"] = "UpdateParameters";
3840
3925
  /**
3841
3926
  * Triggers GetParameters to fetch the runtime Parameters.
3927
+ * Each parameter may include an `applicability` attribute
3928
+ * indicating the scope of the parameter. It contains a `level`
3929
+ * (`LIVEBOARD`, `TAB`, or `GROUP`) and, when `level` is `TAB` or
3930
+ * `GROUP`, a `targetId` with the GUID of the target. At `LIVEBOARD`
3931
+ * level there is no `targetId`, since the parameter applies to the
3932
+ * whole Liveboard.
3933
+ * The `applicability` attribute is available from SDK: 1.51.0 |
3934
+ * ThoughtSpot: 26.10.0.cl.
3842
3935
  * @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
3843
3936
  * ```js
3844
3937
  * liveboardEmbed.trigger(HostEvent.GetParameters).then((parameter) => {
@@ -4421,6 +4514,7 @@ var Param;
4421
4514
  Param["SpotterEnabled"] = "isSpotterExperienceEnabled";
4422
4515
  Param["IsUnifiedSearchExperienceEnabled"] = "isUnifiedSearchExperienceEnabled";
4423
4516
  Param["OverrideOrgId"] = "orgId";
4517
+ Param["OverrideHistoryState"] = "overrideHistoryState";
4424
4518
  Param["OauthPollingInterval"] = "oAuthPollingInterval";
4425
4519
  Param["IsForceRedirect"] = "isForceRedirect";
4426
4520
  Param["DataSourceId"] = "dataSourceId";
@@ -4441,6 +4535,7 @@ var Param;
4441
4535
  Param["isLinkParametersEnabled"] = "isLinkParametersEnabled";
4442
4536
  Param["EnablePastConversationsSidebar"] = "enablePastConversationsSidebar";
4443
4537
  Param["UpdatedSpotterChatPrompt"] = "updatedSpotterChatPrompt";
4538
+ Param["DefaultQueryMode"] = "defaultQueryMode";
4444
4539
  Param["EnableStopAnswerGenerationEmbed"] = "enableStopAnswerGenerationEmbed";
4445
4540
  Param["SpotterSidebarTitle"] = "spotterSidebarTitle";
4446
4541
  Param["SpotterSidebarDefaultExpanded"] = "spotterSidebarDefaultExpanded";
@@ -6547,6 +6642,8 @@ var EmbedErrorCodes;
6547
6642
  EmbedErrorCodes["UPDATEFILTERS_INVALID_PAYLOAD"] = "UPDATEFILTERS_INVALID_PAYLOAD";
6548
6643
  /** DrillDown payload is invalid - missing or malformed points */
6549
6644
  EmbedErrorCodes["DRILLDOWN_INVALID_PAYLOAD"] = "DRILLDOWN_INVALID_PAYLOAD";
6645
+ /** UpdateParameters payload is invalid - malformed applicability */
6646
+ EmbedErrorCodes["UPDATEPARAMETERS_INVALID_PAYLOAD"] = "UPDATEPARAMETERS_INVALID_PAYLOAD";
6550
6647
  })(EmbedErrorCodes || (EmbedErrorCodes = {}));
6551
6648
  /**
6552
6649
  * Context types for specifying the page context when triggering host events.
@@ -6725,7 +6822,7 @@ var TableContentDensity;
6725
6822
  TableContentDensity["Compact"] = "COMPACT";
6726
6823
  })(TableContentDensity || (TableContentDensity = {}));
6727
6824
 
6728
- var version$1="1.50.0";var pkg = {version:version$1};
6825
+ var version$1="1.50.1";var pkg = {version:version$1};
6729
6826
 
6730
6827
  const { version } = pkg;
6731
6828
 
@@ -6832,6 +6929,7 @@ const ERROR_MESSAGE = {
6832
6929
  INVALID_SPOTTER_DOCUMENTATION_URL: 'Invalid spotterDocumentationUrl. Please provide a valid http or https URL.',
6833
6930
  UPDATEFILTERS_INVALID_PAYLOAD: 'UpdateFilters requires a valid filter or filters array. Expected: { filter: { column, oper, values } } or { filters: [{ column, oper, values }, ...] }',
6834
6931
  DRILLDOWN_INVALID_PAYLOAD: 'DrillDown requires a valid points object. Expected: { points: { clickedPoint?, selectedPoints? }, autoDrillDown?, vizId? }',
6932
+ UPDATEPARAMETERS_INVALID_PAYLOAD: 'UpdateParameters received an invalid applicability. Expected: { level: LIVEBOARD | TAB | GROUP, targetId } where targetId is required for TAB and GROUP levels',
6835
6933
  };
6836
6934
  const CUSTOM_ACTIONS_ERROR_MESSAGE = {
6837
6935
  INVALID_ACTION_OBJECT: 'Custom Action Validation Error: Invalid action object provided',
@@ -6950,7 +7048,7 @@ const getCssDimension = (value) => {
6950
7048
  * @returns true if the value is a valid CSS margin value, false otherwise
6951
7049
  */
6952
7050
  const isValidCssMargin = (value) => {
6953
- if (isUndefined(value)) {
7051
+ if (isUndefined$1(value)) {
6954
7052
  return false;
6955
7053
  }
6956
7054
  if (typeof value !== 'string') {
@@ -7159,7 +7257,7 @@ const removeStyleProperties = (element, styleProperties) => {
7159
7257
  element.style.removeProperty(styleProperty);
7160
7258
  });
7161
7259
  };
7162
- const isUndefined = (value) => value === undefined;
7260
+ const isUndefined$1 = (value) => value === undefined;
7163
7261
  // Return if the value is a string, double or boolean.
7164
7262
  const getTypeFromValue = (value) => {
7165
7263
  if (typeof value === 'string') {
@@ -7464,7 +7562,7 @@ const setParamIfDefined = (queryParams, param, value, asBoolean = false) => {
7464
7562
  };
7465
7563
 
7466
7564
  /** Used for built-in method references. */
7467
- var objectProto$c = Object.prototype;
7565
+ var objectProto$d = Object.prototype;
7468
7566
 
7469
7567
  /**
7470
7568
  * Checks if `value` is likely a prototype object.
@@ -7475,7 +7573,7 @@ var objectProto$c = Object.prototype;
7475
7573
  */
7476
7574
  function isPrototype(value) {
7477
7575
  var Ctor = value && value.constructor,
7478
- proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$c;
7576
+ proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$d;
7479
7577
 
7480
7578
  return value === proto;
7481
7579
  }
@@ -7504,10 +7602,10 @@ var nativeKeys = _overArg(Object.keys, Object);
7504
7602
  var _nativeKeys = nativeKeys;
7505
7603
 
7506
7604
  /** Used for built-in method references. */
7507
- var objectProto$b = Object.prototype;
7605
+ var objectProto$c = Object.prototype;
7508
7606
 
7509
7607
  /** Used to check objects for own properties. */
7510
- var hasOwnProperty$a = objectProto$b.hasOwnProperty;
7608
+ var hasOwnProperty$b = objectProto$c.hasOwnProperty;
7511
7609
 
7512
7610
  /**
7513
7611
  * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
@@ -7522,7 +7620,7 @@ function baseKeys(object) {
7522
7620
  }
7523
7621
  var result = [];
7524
7622
  for (var key in Object(object)) {
7525
- if (hasOwnProperty$a.call(object, key) && key != 'constructor') {
7623
+ if (hasOwnProperty$b.call(object, key) && key != 'constructor') {
7526
7624
  result.push(key);
7527
7625
  }
7528
7626
  }
@@ -7558,17 +7656,17 @@ var Symbol$1 = _root.Symbol;
7558
7656
  var _Symbol = Symbol$1;
7559
7657
 
7560
7658
  /** Used for built-in method references. */
7561
- var objectProto$a = Object.prototype;
7659
+ var objectProto$b = Object.prototype;
7562
7660
 
7563
7661
  /** Used to check objects for own properties. */
7564
- var hasOwnProperty$9 = objectProto$a.hasOwnProperty;
7662
+ var hasOwnProperty$a = objectProto$b.hasOwnProperty;
7565
7663
 
7566
7664
  /**
7567
7665
  * Used to resolve the
7568
7666
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
7569
7667
  * of values.
7570
7668
  */
7571
- var nativeObjectToString$1 = objectProto$a.toString;
7669
+ var nativeObjectToString$1 = objectProto$b.toString;
7572
7670
 
7573
7671
  /** Built-in value references. */
7574
7672
  var symToStringTag$1 = _Symbol ? _Symbol.toStringTag : undefined;
@@ -7581,7 +7679,7 @@ var symToStringTag$1 = _Symbol ? _Symbol.toStringTag : undefined;
7581
7679
  * @returns {string} Returns the raw `toStringTag`.
7582
7680
  */
7583
7681
  function getRawTag(value) {
7584
- var isOwn = hasOwnProperty$9.call(value, symToStringTag$1),
7682
+ var isOwn = hasOwnProperty$a.call(value, symToStringTag$1),
7585
7683
  tag = value[symToStringTag$1];
7586
7684
 
7587
7685
  try {
@@ -7603,14 +7701,14 @@ function getRawTag(value) {
7603
7701
  var _getRawTag = getRawTag;
7604
7702
 
7605
7703
  /** Used for built-in method references. */
7606
- var objectProto$9 = Object.prototype;
7704
+ var objectProto$a = Object.prototype;
7607
7705
 
7608
7706
  /**
7609
7707
  * Used to resolve the
7610
7708
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
7611
7709
  * of values.
7612
7710
  */
7613
- var nativeObjectToString = objectProto$9.toString;
7711
+ var nativeObjectToString = objectProto$a.toString;
7614
7712
 
7615
7713
  /**
7616
7714
  * Converts `value` to a string using `Object.prototype.toString`.
@@ -7742,10 +7840,10 @@ function isMasked(func) {
7742
7840
  var _isMasked = isMasked;
7743
7841
 
7744
7842
  /** Used for built-in method references. */
7745
- var funcProto$1 = Function.prototype;
7843
+ var funcProto$2 = Function.prototype;
7746
7844
 
7747
7845
  /** Used to resolve the decompiled source of functions. */
7748
- var funcToString$1 = funcProto$1.toString;
7846
+ var funcToString$2 = funcProto$2.toString;
7749
7847
 
7750
7848
  /**
7751
7849
  * Converts `func` to its source code.
@@ -7757,7 +7855,7 @@ var funcToString$1 = funcProto$1.toString;
7757
7855
  function toSource(func) {
7758
7856
  if (func != null) {
7759
7857
  try {
7760
- return funcToString$1.call(func);
7858
+ return funcToString$2.call(func);
7761
7859
  } catch (e) {}
7762
7860
  try {
7763
7861
  return (func + '');
@@ -7778,18 +7876,18 @@ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
7778
7876
  var reIsHostCtor = /^\[object .+?Constructor\]$/;
7779
7877
 
7780
7878
  /** Used for built-in method references. */
7781
- var funcProto = Function.prototype,
7782
- objectProto$8 = Object.prototype;
7879
+ var funcProto$1 = Function.prototype,
7880
+ objectProto$9 = Object.prototype;
7783
7881
 
7784
7882
  /** Used to resolve the decompiled source of functions. */
7785
- var funcToString = funcProto.toString;
7883
+ var funcToString$1 = funcProto$1.toString;
7786
7884
 
7787
7885
  /** Used to check objects for own properties. */
7788
- var hasOwnProperty$8 = objectProto$8.hasOwnProperty;
7886
+ var hasOwnProperty$9 = objectProto$9.hasOwnProperty;
7789
7887
 
7790
7888
  /** Used to detect if a method is native. */
7791
7889
  var reIsNative = RegExp('^' +
7792
- funcToString.call(hasOwnProperty$8).replace(reRegExpChar, '\\$&')
7890
+ funcToString$1.call(hasOwnProperty$9).replace(reRegExpChar, '\\$&')
7793
7891
  .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
7794
7892
  );
7795
7893
 
@@ -7867,7 +7965,7 @@ var _WeakMap = WeakMap;
7867
7965
 
7868
7966
  /** `Object#toString` result references. */
7869
7967
  var mapTag$3 = '[object Map]',
7870
- objectTag$2 = '[object Object]',
7968
+ objectTag$3 = '[object Object]',
7871
7969
  promiseTag = '[object Promise]',
7872
7970
  setTag$3 = '[object Set]',
7873
7971
  weakMapTag$1 = '[object WeakMap]';
@@ -7898,7 +7996,7 @@ if ((_DataView && getTag(new _DataView(new ArrayBuffer(1))) != dataViewTag$2) ||
7898
7996
  (_WeakMap && getTag(new _WeakMap) != weakMapTag$1)) {
7899
7997
  getTag = function(value) {
7900
7998
  var result = _baseGetTag(value),
7901
- Ctor = result == objectTag$2 ? value.constructor : undefined,
7999
+ Ctor = result == objectTag$3 ? value.constructor : undefined,
7902
8000
  ctorString = Ctor ? _toSource(Ctor) : '';
7903
8001
 
7904
8002
  if (ctorString) {
@@ -7963,13 +8061,13 @@ function baseIsArguments(value) {
7963
8061
  var _baseIsArguments = baseIsArguments;
7964
8062
 
7965
8063
  /** Used for built-in method references. */
7966
- var objectProto$7 = Object.prototype;
8064
+ var objectProto$8 = Object.prototype;
7967
8065
 
7968
8066
  /** Used to check objects for own properties. */
7969
- var hasOwnProperty$7 = objectProto$7.hasOwnProperty;
8067
+ var hasOwnProperty$8 = objectProto$8.hasOwnProperty;
7970
8068
 
7971
8069
  /** Built-in value references. */
7972
- var propertyIsEnumerable$1 = objectProto$7.propertyIsEnumerable;
8070
+ var propertyIsEnumerable$1 = objectProto$8.propertyIsEnumerable;
7973
8071
 
7974
8072
  /**
7975
8073
  * Checks if `value` is likely an `arguments` object.
@@ -7990,7 +8088,7 @@ var propertyIsEnumerable$1 = objectProto$7.propertyIsEnumerable;
7990
8088
  * // => false
7991
8089
  */
7992
8090
  var isArguments = _baseIsArguments(function() { return arguments; }()) ? _baseIsArguments : function(value) {
7993
- return isObjectLike_1(value) && hasOwnProperty$7.call(value, 'callee') &&
8091
+ return isObjectLike_1(value) && hasOwnProperty$8.call(value, 'callee') &&
7994
8092
  !propertyIsEnumerable$1.call(value, 'callee');
7995
8093
  };
7996
8094
 
@@ -8156,10 +8254,10 @@ var argsTag$1 = '[object Arguments]',
8156
8254
  funcTag = '[object Function]',
8157
8255
  mapTag$2 = '[object Map]',
8158
8256
  numberTag$1 = '[object Number]',
8159
- objectTag$1 = '[object Object]',
8257
+ objectTag$2 = '[object Object]',
8160
8258
  regexpTag$1 = '[object RegExp]',
8161
8259
  setTag$2 = '[object Set]',
8162
- stringTag$1 = '[object String]',
8260
+ stringTag$2 = '[object String]',
8163
8261
  weakMapTag = '[object WeakMap]';
8164
8262
 
8165
8263
  var arrayBufferTag$1 = '[object ArrayBuffer]',
@@ -8186,8 +8284,8 @@ typedArrayTags[arrayBufferTag$1] = typedArrayTags[boolTag$2] =
8186
8284
  typedArrayTags[dataViewTag$1] = typedArrayTags[dateTag$1] =
8187
8285
  typedArrayTags[errorTag$1] = typedArrayTags[funcTag] =
8188
8286
  typedArrayTags[mapTag$2] = typedArrayTags[numberTag$1] =
8189
- typedArrayTags[objectTag$1] = typedArrayTags[regexpTag$1] =
8190
- typedArrayTags[setTag$2] = typedArrayTags[stringTag$1] =
8287
+ typedArrayTags[objectTag$2] = typedArrayTags[regexpTag$1] =
8288
+ typedArrayTags[setTag$2] = typedArrayTags[stringTag$2] =
8191
8289
  typedArrayTags[weakMapTag] = false;
8192
8290
 
8193
8291
  /**
@@ -8279,10 +8377,10 @@ var mapTag$1 = '[object Map]',
8279
8377
  setTag$1 = '[object Set]';
8280
8378
 
8281
8379
  /** Used for built-in method references. */
8282
- var objectProto$6 = Object.prototype;
8380
+ var objectProto$7 = Object.prototype;
8283
8381
 
8284
8382
  /** Used to check objects for own properties. */
8285
- var hasOwnProperty$6 = objectProto$6.hasOwnProperty;
8383
+ var hasOwnProperty$7 = objectProto$7.hasOwnProperty;
8286
8384
 
8287
8385
  /**
8288
8386
  * Checks if `value` is an empty object, collection, map, or set.
@@ -8334,7 +8432,7 @@ function isEmpty$1(value) {
8334
8432
  return !_baseKeys(value).length;
8335
8433
  }
8336
8434
  for (var key in value) {
8337
- if (hasOwnProperty$6.call(value, key)) {
8435
+ if (hasOwnProperty$7.call(value, key)) {
8338
8436
  return false;
8339
8437
  }
8340
8438
  }
@@ -8343,6 +8441,15 @@ function isEmpty$1(value) {
8343
8441
 
8344
8442
  var isEmpty_1 = isEmpty$1;
8345
8443
 
8444
+ /**
8445
+ * Levels at which a filter or parameter can be applied.
8446
+ */
8447
+ var ApplicabilityLevel;
8448
+ (function (ApplicabilityLevel) {
8449
+ ApplicabilityLevel["Liveboard"] = "LIVEBOARD";
8450
+ ApplicabilityLevel["Tab"] = "TAB";
8451
+ ApplicabilityLevel["Group"] = "GROUP";
8452
+ })(ApplicabilityLevel || (ApplicabilityLevel = {}));
8346
8453
  var UIPassthroughEvent;
8347
8454
  (function (UIPassthroughEvent) {
8348
8455
  UIPassthroughEvent["PinAnswerToLiveboard"] = "addVizToPinboard";
@@ -9295,7 +9402,7 @@ class AnswerService {
9295
9402
  async getTML() {
9296
9403
  const { object } = await this.executeQuery(getAnswerTML, {});
9297
9404
  const edoc = object[0].edoc;
9298
- const YAML = await import('./index-B5xoN6Cp.js');
9405
+ const YAML = await import('./index-fCne7kmU.js');
9299
9406
  const parsedDoc = YAML.parse(edoc);
9300
9407
  return {
9301
9408
  answer: {
@@ -9580,10 +9687,10 @@ var _hashDelete = hashDelete;
9580
9687
  var HASH_UNDEFINED$2 = '__lodash_hash_undefined__';
9581
9688
 
9582
9689
  /** Used for built-in method references. */
9583
- var objectProto$5 = Object.prototype;
9690
+ var objectProto$6 = Object.prototype;
9584
9691
 
9585
9692
  /** Used to check objects for own properties. */
9586
- var hasOwnProperty$5 = objectProto$5.hasOwnProperty;
9693
+ var hasOwnProperty$6 = objectProto$6.hasOwnProperty;
9587
9694
 
9588
9695
  /**
9589
9696
  * Gets the hash value for `key`.
@@ -9600,16 +9707,16 @@ function hashGet(key) {
9600
9707
  var result = data[key];
9601
9708
  return result === HASH_UNDEFINED$2 ? undefined : result;
9602
9709
  }
9603
- return hasOwnProperty$5.call(data, key) ? data[key] : undefined;
9710
+ return hasOwnProperty$6.call(data, key) ? data[key] : undefined;
9604
9711
  }
9605
9712
 
9606
9713
  var _hashGet = hashGet;
9607
9714
 
9608
9715
  /** Used for built-in method references. */
9609
- var objectProto$4 = Object.prototype;
9716
+ var objectProto$5 = Object.prototype;
9610
9717
 
9611
9718
  /** Used to check objects for own properties. */
9612
- var hasOwnProperty$4 = objectProto$4.hasOwnProperty;
9719
+ var hasOwnProperty$5 = objectProto$5.hasOwnProperty;
9613
9720
 
9614
9721
  /**
9615
9722
  * Checks if a hash value for `key` exists.
@@ -9622,7 +9729,7 @@ var hasOwnProperty$4 = objectProto$4.hasOwnProperty;
9622
9729
  */
9623
9730
  function hashHas(key) {
9624
9731
  var data = this.__data__;
9625
- return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty$4.call(data, key);
9732
+ return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty$5.call(data, key);
9626
9733
  }
9627
9734
 
9628
9735
  var _hashHas = hashHas;
@@ -10597,7 +10704,7 @@ var boolTag$1 = '[object Boolean]',
10597
10704
  numberTag = '[object Number]',
10598
10705
  regexpTag = '[object RegExp]',
10599
10706
  setTag = '[object Set]',
10600
- stringTag = '[object String]',
10707
+ stringTag$1 = '[object String]',
10601
10708
  symbolTag = '[object Symbol]';
10602
10709
 
10603
10710
  var arrayBufferTag = '[object ArrayBuffer]',
@@ -10652,7 +10759,7 @@ function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
10652
10759
  return object.name == other.name && object.message == other.message;
10653
10760
 
10654
10761
  case regexpTag:
10655
- case stringTag:
10762
+ case stringTag$1:
10656
10763
  // Coerce regexes to strings and treat strings, primitives and objects,
10657
10764
  // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
10658
10765
  // for more details.
@@ -10760,10 +10867,10 @@ function stubArray() {
10760
10867
  var stubArray_1 = stubArray;
10761
10868
 
10762
10869
  /** Used for built-in method references. */
10763
- var objectProto$3 = Object.prototype;
10870
+ var objectProto$4 = Object.prototype;
10764
10871
 
10765
10872
  /** Built-in value references. */
10766
- var propertyIsEnumerable = objectProto$3.propertyIsEnumerable;
10873
+ var propertyIsEnumerable = objectProto$4.propertyIsEnumerable;
10767
10874
 
10768
10875
  /* Built-in method references for those with the same name as other `lodash` methods. */
10769
10876
  var nativeGetSymbols = Object.getOwnPropertySymbols;
@@ -10835,10 +10942,10 @@ function isIndex(value, length) {
10835
10942
  var _isIndex = isIndex;
10836
10943
 
10837
10944
  /** Used for built-in method references. */
10838
- var objectProto$2 = Object.prototype;
10945
+ var objectProto$3 = Object.prototype;
10839
10946
 
10840
10947
  /** Used to check objects for own properties. */
10841
- var hasOwnProperty$3 = objectProto$2.hasOwnProperty;
10948
+ var hasOwnProperty$4 = objectProto$3.hasOwnProperty;
10842
10949
 
10843
10950
  /**
10844
10951
  * Creates an array of the enumerable property names of the array-like `value`.
@@ -10858,7 +10965,7 @@ function arrayLikeKeys(value, inherited) {
10858
10965
  length = result.length;
10859
10966
 
10860
10967
  for (var key in value) {
10861
- if ((inherited || hasOwnProperty$3.call(value, key)) &&
10968
+ if ((inherited || hasOwnProperty$4.call(value, key)) &&
10862
10969
  !(skipIndexes && (
10863
10970
  // Safari 9 has enumerable `arguments.length` in strict mode.
10864
10971
  key == 'length' ||
@@ -10928,10 +11035,10 @@ var _getAllKeys = getAllKeys;
10928
11035
  var COMPARE_PARTIAL_FLAG$3 = 1;
10929
11036
 
10930
11037
  /** Used for built-in method references. */
10931
- var objectProto$1 = Object.prototype;
11038
+ var objectProto$2 = Object.prototype;
10932
11039
 
10933
11040
  /** Used to check objects for own properties. */
10934
- var hasOwnProperty$2 = objectProto$1.hasOwnProperty;
11041
+ var hasOwnProperty$3 = objectProto$2.hasOwnProperty;
10935
11042
 
10936
11043
  /**
10937
11044
  * A specialized version of `baseIsEqualDeep` for objects with support for
@@ -10959,7 +11066,7 @@ function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
10959
11066
  var index = objLength;
10960
11067
  while (index--) {
10961
11068
  var key = objProps[index];
10962
- if (!(isPartial ? key in other : hasOwnProperty$2.call(other, key))) {
11069
+ if (!(isPartial ? key in other : hasOwnProperty$3.call(other, key))) {
10963
11070
  return false;
10964
11071
  }
10965
11072
  }
@@ -11019,13 +11126,13 @@ var COMPARE_PARTIAL_FLAG$2 = 1;
11019
11126
  /** `Object#toString` result references. */
11020
11127
  var argsTag = '[object Arguments]',
11021
11128
  arrayTag = '[object Array]',
11022
- objectTag = '[object Object]';
11129
+ objectTag$1 = '[object Object]';
11023
11130
 
11024
11131
  /** Used for built-in method references. */
11025
- var objectProto = Object.prototype;
11132
+ var objectProto$1 = Object.prototype;
11026
11133
 
11027
11134
  /** Used to check objects for own properties. */
11028
- var hasOwnProperty$1 = objectProto.hasOwnProperty;
11135
+ var hasOwnProperty$2 = objectProto$1.hasOwnProperty;
11029
11136
 
11030
11137
  /**
11031
11138
  * A specialized version of `baseIsEqual` for arrays and objects which performs
@@ -11047,11 +11154,11 @@ function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
11047
11154
  objTag = objIsArr ? arrayTag : _getTag(object),
11048
11155
  othTag = othIsArr ? arrayTag : _getTag(other);
11049
11156
 
11050
- objTag = objTag == argsTag ? objectTag : objTag;
11051
- othTag = othTag == argsTag ? objectTag : othTag;
11157
+ objTag = objTag == argsTag ? objectTag$1 : objTag;
11158
+ othTag = othTag == argsTag ? objectTag$1 : othTag;
11052
11159
 
11053
- var objIsObj = objTag == objectTag,
11054
- othIsObj = othTag == objectTag,
11160
+ var objIsObj = objTag == objectTag$1,
11161
+ othIsObj = othTag == objectTag$1,
11055
11162
  isSameTag = objTag == othTag;
11056
11163
 
11057
11164
  if (isSameTag && isBuffer_1(object)) {
@@ -11068,8 +11175,8 @@ function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
11068
11175
  : _equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
11069
11176
  }
11070
11177
  if (!(bitmask & COMPARE_PARTIAL_FLAG$2)) {
11071
- var objIsWrapped = objIsObj && hasOwnProperty$1.call(object, '__wrapped__'),
11072
- othIsWrapped = othIsObj && hasOwnProperty$1.call(other, '__wrapped__');
11178
+ var objIsWrapped = objIsObj && hasOwnProperty$2.call(object, '__wrapped__'),
11179
+ othIsWrapped = othIsObj && hasOwnProperty$2.call(other, '__wrapped__');
11073
11180
 
11074
11181
  if (objIsWrapped || othIsWrapped) {
11075
11182
  var objUnwrapped = objIsWrapped ? object.value() : object,
@@ -12280,7 +12387,7 @@ var FuncProto = Function.prototype;
12280
12387
  var ObjProto = Object.prototype;
12281
12388
  var slice = ArrayProto.slice;
12282
12389
  var toString = ObjProto.toString;
12283
- var hasOwnProperty = ObjProto.hasOwnProperty;
12390
+ var hasOwnProperty$1 = ObjProto.hasOwnProperty;
12284
12391
  var windowConsole = window$1.console;
12285
12392
  var navigator = window$1.navigator;
12286
12393
  var document$1 = window$1.document;
@@ -12417,7 +12524,7 @@ _.each = function(obj, iterator, context) {
12417
12524
  }
12418
12525
  } else {
12419
12526
  for (var key in obj) {
12420
- if (hasOwnProperty.call(obj, key)) {
12527
+ if (hasOwnProperty$1.call(obj, key)) {
12421
12528
  if (iterator.call(context, obj[key], key, obj) === breaker) {
12422
12529
  return;
12423
12530
  }
@@ -12453,7 +12560,7 @@ _.isFunction = function(f) {
12453
12560
  };
12454
12561
 
12455
12562
  _.isArguments = function(obj) {
12456
- return !!(obj && hasOwnProperty.call(obj, 'callee'));
12563
+ return !!(obj && hasOwnProperty$1.call(obj, 'callee'));
12457
12564
  };
12458
12565
 
12459
12566
  _.toArray = function(iterable) {
@@ -12541,7 +12648,7 @@ _.isObject = function(obj) {
12541
12648
  _.isEmptyObject = function(obj) {
12542
12649
  if (_.isObject(obj)) {
12543
12650
  for (var key in obj) {
12544
- if (hasOwnProperty.call(obj, key)) {
12651
+ if (hasOwnProperty$1.call(obj, key)) {
12545
12652
  return false;
12546
12653
  }
12547
12654
  }
@@ -12733,7 +12840,7 @@ _.JSONEncode = (function() {
12733
12840
 
12734
12841
  // Iterate through all of the keys in the object.
12735
12842
  for (k in value) {
12736
- if (hasOwnProperty.call(value, k)) {
12843
+ if (hasOwnProperty$1.call(value, k)) {
12737
12844
  v = str(k, value);
12738
12845
  if (v) {
12739
12846
  partial.push(quote(k) + (gap ? ': ' : ':') + v);
@@ -19972,6 +20079,154 @@ function processEventData(type, eventData, thoughtSpotHost, containerEl) {
19972
20079
  return eventData;
19973
20080
  }
19974
20081
 
20082
+ /**
20083
+ * Checks if `value` is `null` or `undefined`.
20084
+ *
20085
+ * @static
20086
+ * @memberOf _
20087
+ * @since 4.0.0
20088
+ * @category Lang
20089
+ * @param {*} value The value to check.
20090
+ * @returns {boolean} Returns `true` if `value` is nullish, else `false`.
20091
+ * @example
20092
+ *
20093
+ * _.isNil(null);
20094
+ * // => true
20095
+ *
20096
+ * _.isNil(void 0);
20097
+ * // => true
20098
+ *
20099
+ * _.isNil(NaN);
20100
+ * // => false
20101
+ */
20102
+ function isNil(value) {
20103
+ return value == null;
20104
+ }
20105
+
20106
+ var isNil_1 = isNil;
20107
+
20108
+ /** Built-in value references. */
20109
+ var getPrototype = _overArg(Object.getPrototypeOf, Object);
20110
+
20111
+ var _getPrototype = getPrototype;
20112
+
20113
+ /** `Object#toString` result references. */
20114
+ var objectTag = '[object Object]';
20115
+
20116
+ /** Used for built-in method references. */
20117
+ var funcProto = Function.prototype,
20118
+ objectProto = Object.prototype;
20119
+
20120
+ /** Used to resolve the decompiled source of functions. */
20121
+ var funcToString = funcProto.toString;
20122
+
20123
+ /** Used to check objects for own properties. */
20124
+ var hasOwnProperty = objectProto.hasOwnProperty;
20125
+
20126
+ /** Used to infer the `Object` constructor. */
20127
+ var objectCtorString = funcToString.call(Object);
20128
+
20129
+ /**
20130
+ * Checks if `value` is a plain object, that is, an object created by the
20131
+ * `Object` constructor or one with a `[[Prototype]]` of `null`.
20132
+ *
20133
+ * @static
20134
+ * @memberOf _
20135
+ * @since 0.8.0
20136
+ * @category Lang
20137
+ * @param {*} value The value to check.
20138
+ * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
20139
+ * @example
20140
+ *
20141
+ * function Foo() {
20142
+ * this.a = 1;
20143
+ * }
20144
+ *
20145
+ * _.isPlainObject(new Foo);
20146
+ * // => false
20147
+ *
20148
+ * _.isPlainObject([1, 2, 3]);
20149
+ * // => false
20150
+ *
20151
+ * _.isPlainObject({ 'x': 0, 'y': 0 });
20152
+ * // => true
20153
+ *
20154
+ * _.isPlainObject(Object.create(null));
20155
+ * // => true
20156
+ */
20157
+ function isPlainObject(value) {
20158
+ if (!isObjectLike_1(value) || _baseGetTag(value) != objectTag) {
20159
+ return false;
20160
+ }
20161
+ var proto = _getPrototype(value);
20162
+ if (proto === null) {
20163
+ return true;
20164
+ }
20165
+ var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;
20166
+ return typeof Ctor == 'function' && Ctor instanceof Ctor &&
20167
+ funcToString.call(Ctor) == objectCtorString;
20168
+ }
20169
+
20170
+ var isPlainObject_1 = isPlainObject;
20171
+
20172
+ /** `Object#toString` result references. */
20173
+ var stringTag = '[object String]';
20174
+
20175
+ /**
20176
+ * Checks if `value` is classified as a `String` primitive or object.
20177
+ *
20178
+ * @static
20179
+ * @since 0.1.0
20180
+ * @memberOf _
20181
+ * @category Lang
20182
+ * @param {*} value The value to check.
20183
+ * @returns {boolean} Returns `true` if `value` is a string, else `false`.
20184
+ * @example
20185
+ *
20186
+ * _.isString('abc');
20187
+ * // => true
20188
+ *
20189
+ * _.isString(1);
20190
+ * // => false
20191
+ */
20192
+ function isString(value) {
20193
+ return typeof value == 'string' ||
20194
+ (!isArray_1(value) && isObjectLike_1(value) && _baseGetTag(value) == stringTag);
20195
+ }
20196
+
20197
+ var isString_1 = isString;
20198
+
20199
+ /**
20200
+ * Checks if `value` is `undefined`.
20201
+ *
20202
+ * @static
20203
+ * @since 0.1.0
20204
+ * @memberOf _
20205
+ * @category Lang
20206
+ * @param {*} value The value to check.
20207
+ * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.
20208
+ * @example
20209
+ *
20210
+ * _.isUndefined(void 0);
20211
+ * // => true
20212
+ *
20213
+ * _.isUndefined(null);
20214
+ * // => false
20215
+ */
20216
+ function isUndefined(value) {
20217
+ return value === undefined;
20218
+ }
20219
+
20220
+ var isUndefined_1 = isUndefined;
20221
+
20222
+ const isValidApplicability = (a) => {
20223
+ if (isUndefined_1(a))
20224
+ return true;
20225
+ // targetId is not required at LIVEBOARD level, since the filter applies to the whole Liveboard
20226
+ return isPlainObject_1(a)
20227
+ && Object.values(ApplicabilityLevel).includes(a.level)
20228
+ && (a.level === ApplicabilityLevel.Liveboard || (isString_1(a.targetId) && a.targetId.trim().length > 0));
20229
+ };
19975
20230
  function isValidUpdateFiltersPayload(payload) {
19976
20231
  if (!payload)
19977
20232
  return false;
@@ -19980,12 +20235,23 @@ function isValidUpdateFiltersPayload(payload) {
19980
20235
  const hasOperator = typeof f.oper === 'string' || typeof f.operator === 'string';
19981
20236
  const hasValues = Array.isArray(f.values);
19982
20237
  const validType = !f.type || typeof f.type === 'string';
19983
- return hasColumn && hasOperator && hasValues && validType;
20238
+ return hasColumn && hasOperator && hasValues && validType && isValidApplicability(f.applicability);
19984
20239
  };
19985
20240
  const hasValidFilter = payload.filter && isValidFilter(payload.filter);
19986
20241
  const hasValidFilters = Array.isArray(payload.filters) && payload.filters.length > 0 && payload.filters.every(isValidFilter);
19987
20242
  return !!(hasValidFilter || hasValidFilters);
19988
20243
  }
20244
+ function isValidUpdateParametersPayload(payload) {
20245
+ // Only validates the applicability of each parameter (null treated as absent); the rest is forwarded as-is for backward compatibility.
20246
+ if (!Array.isArray(payload))
20247
+ return true;
20248
+ return payload.every((p) => {
20249
+ if (!isPlainObject_1(p))
20250
+ return true;
20251
+ const { applicability } = p;
20252
+ return isNil_1(applicability) || isValidApplicability(applicability);
20253
+ });
20254
+ }
19989
20255
  function isValidDrillDownPayload(payload) {
19990
20256
  if (!payload)
19991
20257
  return false;
@@ -20016,6 +20282,9 @@ function throwUpdateFiltersValidationError() {
20016
20282
  }
20017
20283
  function throwDrillDownValidationError() {
20018
20284
  createValidationError(ERROR_MESSAGE.DRILLDOWN_INVALID_PAYLOAD);
20285
+ }
20286
+ function throwUpdateParametersValidationError() {
20287
+ createValidationError(ERROR_MESSAGE.UPDATEPARAMETERS_INVALID_PAYLOAD);
20019
20288
  }
20020
20289
 
20021
20290
  /**
@@ -20047,6 +20316,7 @@ class HostEventClient {
20047
20316
  [HostEvent.Pin]: (p, c) => this.handlePinEvent(p, c),
20048
20317
  [HostEvent.SaveAnswer]: (p, c) => this.handleSaveAnswerEvent(p, c),
20049
20318
  [HostEvent.UpdateFilters]: (p, c) => this.handleUpdateFiltersEvent(p, c),
20319
+ [HostEvent.UpdateParameters]: (p, c) => this.handleUpdateParametersEvent(p, c),
20050
20320
  [HostEvent.DrillDown]: (p, c) => this.handleDrillDownEvent(p, c),
20051
20321
  };
20052
20322
  }
@@ -20171,6 +20441,13 @@ class HostEventClient {
20171
20441
  }
20172
20442
  return this.handleHostEventWithParam(UIPassthroughEvent.UpdateFilters, payload, context);
20173
20443
  }
20444
+ handleUpdateParametersEvent(payload, context) {
20445
+ if (!isValidUpdateParametersPayload(payload)) {
20446
+ throwUpdateParametersValidationError();
20447
+ }
20448
+ // UpdateParameters has no UI passthrough contract; dispatch over the legacy channel
20449
+ return this.hostEventFallback(HostEvent.UpdateParameters, payload, context);
20450
+ }
20174
20451
  handleDrillDownEvent(payload, context) {
20175
20452
  if (!isValidDrillDownPayload(payload)) {
20176
20453
  throwDrillDownValidationError();
@@ -20956,7 +21233,7 @@ class TsEmbed {
20956
21233
  if (this.embedConfig.currencyFormat) {
20957
21234
  queryParams[Param.CurrencyFormat] = this.embedConfig.currencyFormat;
20958
21235
  }
20959
- const { disabledActions, disabledActionReason, hiddenActions, visibleActions, hiddenTabs, visibleTabs, showAlerts, additionalFlags: additionalFlagsFromView, locale, customizations, contextMenuTrigger, linkOverride, enableLinkOverridesV2, insertInToSlide, disableRedirectionLinksInNewTab, overrideOrgId, exposeTranslationIDs, primaryAction, } = this.viewConfig;
21236
+ const { disabledActions, disabledActionReason, hiddenActions, visibleActions, hiddenTabs, visibleTabs, showAlerts, additionalFlags: additionalFlagsFromView, locale, customizations, contextMenuTrigger, linkOverride, enableLinkOverridesV2, insertInToSlide, disableRedirectionLinksInNewTab, overrideOrgId, overrideHistoryState, exposeTranslationIDs, primaryAction, } = this.viewConfig;
20960
21237
  const { additionalFlags: additionalFlagsFromInit } = this.embedConfig;
20961
21238
  const additionalFlags = {
20962
21239
  ...additionalFlagsFromInit,
@@ -21044,6 +21321,9 @@ class TsEmbed {
21044
21321
  if (overrideOrgId !== undefined) {
21045
21322
  queryParams[Param.OverrideOrgId] = overrideOrgId;
21046
21323
  }
21324
+ if (overrideHistoryState !== undefined) {
21325
+ queryParams[Param.OverrideHistoryState] = overrideHistoryState;
21326
+ }
21047
21327
  if (this.isPreAuthCacheEnabled()) {
21048
21328
  queryParams[Param.preAuthCache] = true;
21049
21329
  }
@@ -21976,7 +22256,7 @@ class TsEmbed {
21976
22256
  * wrapper to overlay it.
21977
22257
  */
21978
22258
  async showPreRender() {
21979
- var _a;
22259
+ var _a, _b;
21980
22260
  if (this.shouldWaitForRenderPromise)
21981
22261
  await this.isReadyForRenderPromise;
21982
22262
  if (!this.viewConfig.preRenderId) {
@@ -22000,10 +22280,14 @@ class TsEmbed {
22000
22280
  }
22001
22281
  }
22002
22282
  const placeHolderId = this.getPreRenderIds().placeHolder;
22003
- const oldEle = this.hostElement.querySelector(`#${placeHolderId}`);
22004
- if (oldEle) {
22005
- this.hostElement.removeChild(oldEle);
22006
- }
22283
+ // Remove any stale placeholder from a previous cycle. It is located
22284
+ // via a subtree-wide querySelector, so it may be nested deeper than a
22285
+ // direct child (E.g.: with fullHeight the host app can wrap it). Use
22286
+ // Element.remove() — which detaches from whatever the real parent is —
22287
+ // rather than hostElement.removeChild(), which throws NotFoundError
22288
+ // when the match is not a direct child. Mirrors the wrapper/child
22289
+ // cleanup in createPreRenderWrapper()/createPreRenderChild().
22290
+ (_a = this.hostElement.querySelector(`#${placeHolderId}`)) === null || _a === void 0 ? void 0 : _a.remove();
22007
22291
  this.hostElement.appendChild(this.insertedDomEl);
22008
22292
  this.syncPreRenderStyle();
22009
22293
  const customContainer = this.preRenderContainerEl && this.preRenderContainerEl !== document.body
@@ -22014,7 +22298,7 @@ class TsEmbed {
22014
22298
  customContainer.addEventListener('scroll', this.containerScrollListener);
22015
22299
  }
22016
22300
  if (!this.viewConfig.doNotTrackPreRenderSize) {
22017
- const observeTarget = (_a = this.insertedDomEl) !== null && _a !== void 0 ? _a : this.hostElement;
22301
+ const observeTarget = (_b = this.insertedDomEl) !== null && _b !== void 0 ? _b : this.hostElement;
22018
22302
  this.resizeObserver = new ResizeObserver((entries) => {
22019
22303
  entries.forEach((entry) => {
22020
22304
  if (entry.target === observeTarget) {
@@ -22618,6 +22902,10 @@ var Page;
22618
22902
  * Monitor Alerts Page
22619
22903
  */
22620
22904
  Page["Monitor"] = "monitor";
22905
+ /**
22906
+ * Collections listing page
22907
+ */
22908
+ Page["Collections"] = "collections";
22621
22909
  })(Page || (Page = {}));
22622
22910
  /**
22623
22911
  * Define the initial state of column custom group accordions
@@ -22788,7 +23076,7 @@ let AppEmbed$1 = class AppEmbed extends V1Embed {
22788
23076
  * embedded Liveboard or visualization.
22789
23077
  */
22790
23078
  getEmbedParams() {
22791
- const { tag, hideTagFilterChips, hideObjects, liveboardV2, showPrimaryNavbar, disableProfileAndHelp, hideHamburger, hideObjectSearch, hideNotification, hideApplicationSwitcher, hideOrgSwitcher, enableSearchAssist, newConnectionsExperience, fullHeight, dataPanelV2 = true, hideLiveboardHeader = false, showLiveboardTitle = true, showLiveboardDescription = true, showMaskedFilterChip = false, isLiveboardMasterpiecesEnabled = false, newChartsLibrary, 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, enableStopAnswerGenerationEmbed, spotterChatConfig, minimumHeight, isThisPeriodInDateFiltersEnabled, enableHomepageAnnouncement = false, isContinuousLiveboardPDFEnabled = false, enableLiveboardDataCache, } = this.viewConfig;
23079
+ const { tag, hideTagFilterChips, hideObjects, liveboardV2, showPrimaryNavbar, disableProfileAndHelp, hideHamburger, hideObjectSearch, hideNotification, hideApplicationSwitcher, hideOrgSwitcher, enableSearchAssist, newConnectionsExperience, fullHeight, dataPanelV2 = true, hideLiveboardHeader = false, showLiveboardTitle = true, showLiveboardDescription = true, showMaskedFilterChip = false, isLiveboardMasterpiecesEnabled = false, newChartsLibrary, 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, defaultQueryMode, enableStopAnswerGenerationEmbed, spotterChatConfig, minimumHeight, isThisPeriodInDateFiltersEnabled, enableHomepageAnnouncement = false, isContinuousLiveboardPDFEnabled = false, enableLiveboardDataCache, } = this.viewConfig;
22792
23080
  let params = {};
22793
23081
  params[Param.PrimaryNavHidden] = !showPrimaryNavbar;
22794
23082
  params[Param.HideProfleAndHelp] = !!disableProfileAndHelp;
@@ -22814,10 +23102,13 @@ let AppEmbed$1 = class AppEmbed extends V1Embed {
22814
23102
  }
22815
23103
  params[Param.CoverAndFilterOptionInPDF] = !!coverAndFilterOptionInPDF;
22816
23104
  params = this.getBaseQueryParams(params);
22817
- if (!isUndefined(updatedSpotterChatPrompt)) {
23105
+ if (!isUndefined$1(updatedSpotterChatPrompt)) {
22818
23106
  params[Param.UpdatedSpotterChatPrompt] = !!updatedSpotterChatPrompt;
22819
23107
  }
22820
- if (!isUndefined(enableStopAnswerGenerationEmbed)) {
23108
+ if (!isUndefined$1(defaultQueryMode)) {
23109
+ params[Param.DefaultQueryMode] = defaultQueryMode;
23110
+ }
23111
+ if (!isUndefined$1(enableStopAnswerGenerationEmbed)) {
22821
23112
  params[Param.EnableStopAnswerGenerationEmbed] = !!enableStopAnswerGenerationEmbed;
22822
23113
  }
22823
23114
  // Handle spotterChatConfig params
@@ -22967,7 +23258,7 @@ let AppEmbed$1 = class AppEmbed extends V1Embed {
22967
23258
  // The Focused (V4) homepage experience requires the updated
22968
23259
  // Spotter chat prompt. Enable it automatically unless the
22969
23260
  // developer has explicitly set updatedSpotterChatPrompt.
22970
- if (isUndefined(updatedSpotterChatPrompt)) {
23261
+ if (isUndefined$1(updatedSpotterChatPrompt)) {
22971
23262
  params[Param.UpdatedSpotterChatPrompt] = true;
22972
23263
  }
22973
23264
  }
@@ -23008,6 +23299,8 @@ let AppEmbed$1 = class AppEmbed extends V1Embed {
23008
23299
  return modularHomeExperience ? 'home/spotiq-analysis' : 'insights/results';
23009
23300
  case Page.Monitor:
23010
23301
  return modularHomeExperience ? 'home/monitor-alerts' : 'insights/monitor-alerts';
23302
+ case Page.Collections:
23303
+ return 'collections';
23011
23304
  case Page.Home:
23012
23305
  default:
23013
23306
  return 'home';
@@ -23040,11 +23333,13 @@ let AppEmbed$1 = class AppEmbed extends V1Embed {
23040
23333
  * @version SDK: 1.12.0 | ThoughtSpot: 8.4.0.cl, 8.4.1-sw
23041
23334
  */
23042
23335
  navigateToPage(path, noReload = false) {
23336
+ var _a;
23043
23337
  if (!this.iFrame) {
23044
23338
  logger$3.log('Please call render before invoking this method');
23045
23339
  return;
23046
23340
  }
23047
- if (noReload) {
23341
+ const overrideHistoryState = (_a = this.viewConfig) === null || _a === void 0 ? void 0 : _a.overrideHistoryState;
23342
+ if (noReload || overrideHistoryState) {
23048
23343
  this.trigger(HostEvent.Navigate, path);
23049
23344
  }
23050
23345
  else {
@@ -23332,10 +23627,10 @@ let LiveboardEmbed$1 = class LiveboardEmbed extends V1Embed {
23332
23627
  if (preventLiveboardFilterRemoval) {
23333
23628
  params[Param.preventLiveboardFilterRemoval] = true;
23334
23629
  }
23335
- if (!isUndefined(updatedSpotterChatPrompt)) {
23630
+ if (!isUndefined$1(updatedSpotterChatPrompt)) {
23336
23631
  params[Param.UpdatedSpotterChatPrompt] = !!updatedSpotterChatPrompt;
23337
23632
  }
23338
- if (!isUndefined(enableStopAnswerGenerationEmbed)) {
23633
+ if (!isUndefined$1(enableStopAnswerGenerationEmbed)) {
23339
23634
  params[Param.EnableStopAnswerGenerationEmbed] = !!enableStopAnswerGenerationEmbed;
23340
23635
  }
23341
23636
  if (visibleVizs) {
@@ -23536,7 +23831,7 @@ let LiveboardEmbed$1 = class LiveboardEmbed extends V1Embed {
23536
23831
  });
23537
23832
  }
23538
23833
  async handleRenderForPrerender() {
23539
- if (isUndefined(this.viewConfig.liveboardId)) {
23834
+ if (isUndefined$1(this.viewConfig.liveboardId)) {
23540
23835
  return this.prerenderGeneric();
23541
23836
  }
23542
23837
  return super.handleRenderForPrerender();
@@ -24173,6 +24468,15 @@ function getViewPropsAndListeners(props) {
24173
24468
  });
24174
24469
  }
24175
24470
 
24471
+ /**
24472
+ * The query mode Spotter uses when answering a question.
24473
+ * @version SDK: 1.52.0 | ThoughtSpot Cloud: 26.9.0.cl
24474
+ */
24475
+ var SpotterQueryMode;
24476
+ (function (SpotterQueryMode) {
24477
+ SpotterQueryMode["FAST_SEARCH"] = "fastSearch";
24478
+ SpotterQueryMode["RESEARCH"] = "research";
24479
+ })(SpotterQueryMode || (SpotterQueryMode = {}));
24176
24480
  /**
24177
24481
  * Embed ThoughtSpot AI Conversation.
24178
24482
  * @version SDK: 1.37.0 | ThoughtSpot: 10.9.0.cl
@@ -24216,7 +24520,7 @@ let SpotterEmbed$1 = class SpotterEmbed extends TsEmbed {
24216
24520
  return buildSpotterSidebarAppInitData(defaultAppInitData, this.viewConfig, this.handleError.bind(this));
24217
24521
  }
24218
24522
  getEmbedParamsObject() {
24219
- const { worksheetId, searchOptions, disableSourceSelection, hideSourceSelection, dataPanelV2, showSpotterLimitations, hideSampleQuestions, runtimeFilters, excludeRuntimeFiltersfromURL, runtimeParameters, excludeRuntimeParametersfromURL, updatedSpotterChatPrompt, enableStopAnswerGenerationEmbed, spotterChatConfig, } = this.viewConfig;
24523
+ const { worksheetId, searchOptions, disableSourceSelection, hideSourceSelection, dataPanelV2, showSpotterLimitations, hideSampleQuestions, runtimeFilters, excludeRuntimeFiltersfromURL, runtimeParameters, excludeRuntimeParametersfromURL, updatedSpotterChatPrompt, defaultQueryMode, enableStopAnswerGenerationEmbed, spotterChatConfig, } = this.viewConfig;
24220
24524
  if (!worksheetId) {
24221
24525
  this.handleError({
24222
24526
  errorType: ErrorDetailsTypes.VALIDATION_ERROR,
@@ -24234,6 +24538,7 @@ let SpotterEmbed$1 = class SpotterEmbed extends TsEmbed {
24234
24538
  setParamIfDefined(queryParams, Param.ShowSpotterLimitations, showSpotterLimitations, true);
24235
24539
  setParamIfDefined(queryParams, Param.HideSampleQuestions, hideSampleQuestions, true);
24236
24540
  setParamIfDefined(queryParams, Param.UpdatedSpotterChatPrompt, updatedSpotterChatPrompt, true);
24541
+ setParamIfDefined(queryParams, Param.DefaultQueryMode, defaultQueryMode);
24237
24542
  setParamIfDefined(queryParams, Param.EnableStopAnswerGenerationEmbed, enableStopAnswerGenerationEmbed, true);
24238
24543
  // Handle spotterChatConfig params
24239
24544
  if (spotterChatConfig) {