@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
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) :
@@ -464,6 +464,13 @@
464
464
  * @version SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl
465
465
  */
466
466
  HomeLeftNavItem["Favorites"] = "favorites";
467
+ /**
468
+ * The *Collections* menu option in
469
+ * the *Insights* left navigation panel.
470
+ * Shown when collections are enabled on the cluster.
471
+ * @version SDK: 1.52.0 | ThoughtSpot Cloud: 26.9.0.cl
472
+ */
473
+ HomeLeftNavItem["Collections"] = "collections";
467
474
  })(exports.HomeLeftNavItem || (exports.HomeLeftNavItem = {}));
468
475
  /**
469
476
  * A map of the supported runtime filter operations
@@ -2006,6 +2013,30 @@
2006
2013
  * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
2007
2014
  */
2008
2015
  EmbedEvent["SpotterConversationSelected"] = "spotterConversationSelected";
2016
+ /**
2017
+ * Emitted when the Spotter agent finishes streaming/rendering a response.
2018
+ * Includes the conversation and message identifiers so the host app can
2019
+ * fetch the full conversation history via the REST API if needed.
2020
+ *
2021
+ * The payload data has the shape `{ convId: string, messageId: string }`.
2022
+ *
2023
+ * Works with SpotterEmbed as well as AppEmbed (when Spotter is reached
2024
+ * inside the full application).
2025
+ * @example
2026
+ * ```js
2027
+ * spotterEmbed.on(EmbedEvent.SpotterResponseComplete, (payload) => {
2028
+ * console.log('Spotter response complete', payload);
2029
+ * })
2030
+ * ```
2031
+ * @example
2032
+ * ```js
2033
+ * appEmbed.on(EmbedEvent.SpotterResponseComplete, (payload) => {
2034
+ * console.log('Spotter response complete', payload);
2035
+ * })
2036
+ * ```
2037
+ * @version SDK: 1.51.0 | ThoughtSpot Cloud: 26.9.0.cl
2038
+ */
2039
+ EmbedEvent["SpotterResponseComplete"] = "spotterResponseComplete";
2009
2040
  /**
2010
2041
  * @hidden
2011
2042
  * Emitted when the auth token is about to get expired and needs to be refreshed.
@@ -3571,6 +3602,14 @@
3571
3602
  /**
3572
3603
  * Get details of filters applied on the Liveboard.
3573
3604
  * Returns arrays containing Liveboard filter and runtime filter elements.
3605
+ * Each Liveboard filter may include an `applicability` attribute
3606
+ * indicating the scope of the filter. It contains a `level`
3607
+ * (`LIVEBOARD`, `TAB`, or `GROUP`) and, when `level` is `TAB` or
3608
+ * `GROUP`, a `targetId` with the GUID of the target. At `LIVEBOARD`
3609
+ * level there is no `targetId`, since the filter applies to the
3610
+ * whole Liveboard.
3611
+ * The `applicability` attribute is available from SDK: 1.51.0 |
3612
+ * ThoughtSpot: 26.10.0.cl.
3574
3613
  * @example
3575
3614
  * ```js
3576
3615
  * const data = await liveboardEmbed.trigger(HostEvent.GetFilters);
@@ -3610,6 +3649,16 @@
3610
3649
  *
3611
3650
  * `type` - To update filters for date time, specify the date format type.
3612
3651
  * For more information and examples, see link:https://developers.thoughtspot.com/docs/embed-liveboard#_date_filters[Date filters].
3652
+ *
3653
+ * `applicability` - Optional. Scopes the filter to a specific target,
3654
+ * for example, a single Liveboard tab. Available from SDK: 1.51.0 |
3655
+ * ThoughtSpot: 26.10.0.cl. Includes the following attributes:
3656
+ *
3657
+ * - `level`: The scope of the filter: `LIVEBOARD`, `TAB`, or `GROUP`.
3658
+ * - `targetId`: The GUID of the target, for example, the tab GUID.
3659
+ * Required when `level` is `TAB` or `GROUP`. Do not pass it when
3660
+ * `level` is `LIVEBOARD`, since the filter applies to the whole
3661
+ * Liveboard.
3613
3662
  * @example
3614
3663
  * ```js
3615
3664
  *
@@ -3686,6 +3735,21 @@
3686
3735
  * }
3687
3736
  * }, ContextType.Liveboard);
3688
3737
  * ```
3738
+ * @example
3739
+ * ```js
3740
+ * // Scope the filter to a specific Liveboard tab
3741
+ * liveboardEmbed.trigger(HostEvent.UpdateFilters, {
3742
+ * filter: {
3743
+ * column: "item type",
3744
+ * oper: "IN",
3745
+ * values: ["bags", "shirts"],
3746
+ * applicability: {
3747
+ * level: "TAB",
3748
+ * targetId: "e0836cad-4fdf-42d4-bd97-567a6b2a6058"
3749
+ * }
3750
+ * }
3751
+ * });
3752
+ * ```
3689
3753
  * @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
3690
3754
  */
3691
3755
  HostEvent["UpdateFilters"] = "updateFilters";
@@ -3837,6 +3901,15 @@
3837
3901
  * - `name`: Name of the parameter.
3838
3902
  * - `value`: The value to set for the parameter.
3839
3903
  * - `isVisibleToUser`: Optional. To control the visibility of the parameter chip.
3904
+ * - `applicability`: Optional. Scopes the parameter to a specific target,
3905
+ * for example, a single Liveboard tab. Available from SDK: 1.51.0 |
3906
+ * ThoughtSpot: 26.10.0.cl. Includes the following attributes:
3907
+ *
3908
+ * - `level`: The scope of the parameter: `LIVEBOARD`, `TAB`, or `GROUP`.
3909
+ * - `targetId`: The GUID of the target, for example, the tab GUID.
3910
+ * Required when `level` is `TAB` or `GROUP`. Do not pass it when
3911
+ * `level` is `LIVEBOARD`, since the parameter applies to the whole
3912
+ * Liveboard.
3840
3913
  *
3841
3914
  * @example
3842
3915
  * ```js
@@ -3848,6 +3921,18 @@
3848
3921
  * ```
3849
3922
  * @example
3850
3923
  * ```js
3924
+ * // Scope the parameter to a specific Liveboard tab
3925
+ * liveboardEmbed.trigger(HostEvent.UpdateParameters, [{
3926
+ * name: "Integer Range Param",
3927
+ * value: 10,
3928
+ * applicability: {
3929
+ * level: "TAB",
3930
+ * targetId: "e0836cad-4fdf-42d4-bd97-567a6b2a6058"
3931
+ * }
3932
+ * }])
3933
+ * ```
3934
+ * @example
3935
+ * ```js
3851
3936
  * // Update parameters from liveboard context
3852
3937
  * import { ContextType } from '@thoughtspot/visual-embed-sdk';
3853
3938
  * liveboardEmbed.trigger(HostEvent.UpdateParameters, [{
@@ -3861,6 +3946,14 @@
3861
3946
  HostEvent["UpdateParameters"] = "UpdateParameters";
3862
3947
  /**
3863
3948
  * Triggers GetParameters to fetch the runtime Parameters.
3949
+ * Each parameter may include an `applicability` attribute
3950
+ * indicating the scope of the parameter. It contains a `level`
3951
+ * (`LIVEBOARD`, `TAB`, or `GROUP`) and, when `level` is `TAB` or
3952
+ * `GROUP`, a `targetId` with the GUID of the target. At `LIVEBOARD`
3953
+ * level there is no `targetId`, since the parameter applies to the
3954
+ * whole Liveboard.
3955
+ * The `applicability` attribute is available from SDK: 1.51.0 |
3956
+ * ThoughtSpot: 26.10.0.cl.
3864
3957
  * @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
3865
3958
  * ```js
3866
3959
  * liveboardEmbed.trigger(HostEvent.GetParameters).then((parameter) => {
@@ -4443,6 +4536,7 @@
4443
4536
  Param["SpotterEnabled"] = "isSpotterExperienceEnabled";
4444
4537
  Param["IsUnifiedSearchExperienceEnabled"] = "isUnifiedSearchExperienceEnabled";
4445
4538
  Param["OverrideOrgId"] = "orgId";
4539
+ Param["OverrideHistoryState"] = "overrideHistoryState";
4446
4540
  Param["OauthPollingInterval"] = "oAuthPollingInterval";
4447
4541
  Param["IsForceRedirect"] = "isForceRedirect";
4448
4542
  Param["DataSourceId"] = "dataSourceId";
@@ -4463,6 +4557,7 @@
4463
4557
  Param["isLinkParametersEnabled"] = "isLinkParametersEnabled";
4464
4558
  Param["EnablePastConversationsSidebar"] = "enablePastConversationsSidebar";
4465
4559
  Param["UpdatedSpotterChatPrompt"] = "updatedSpotterChatPrompt";
4560
+ Param["DefaultQueryMode"] = "defaultQueryMode";
4466
4561
  Param["EnableStopAnswerGenerationEmbed"] = "enableStopAnswerGenerationEmbed";
4467
4562
  Param["SpotterSidebarTitle"] = "spotterSidebarTitle";
4468
4563
  Param["SpotterSidebarDefaultExpanded"] = "spotterSidebarDefaultExpanded";
@@ -6569,6 +6664,8 @@
6569
6664
  EmbedErrorCodes["UPDATEFILTERS_INVALID_PAYLOAD"] = "UPDATEFILTERS_INVALID_PAYLOAD";
6570
6665
  /** DrillDown payload is invalid - missing or malformed points */
6571
6666
  EmbedErrorCodes["DRILLDOWN_INVALID_PAYLOAD"] = "DRILLDOWN_INVALID_PAYLOAD";
6667
+ /** UpdateParameters payload is invalid - malformed applicability */
6668
+ EmbedErrorCodes["UPDATEPARAMETERS_INVALID_PAYLOAD"] = "UPDATEPARAMETERS_INVALID_PAYLOAD";
6572
6669
  })(EmbedErrorCodes || (EmbedErrorCodes = {}));
6573
6670
  /**
6574
6671
  * Context types for specifying the page context when triggering host events.
@@ -6747,7 +6844,7 @@
6747
6844
  TableContentDensity["Compact"] = "COMPACT";
6748
6845
  })(TableContentDensity || (TableContentDensity = {}));
6749
6846
 
6750
- var version$1="1.50.0";var pkg = {version:version$1};
6847
+ var version$1="1.50.1";var pkg = {version:version$1};
6751
6848
 
6752
6849
  const { version } = pkg;
6753
6850
 
@@ -6854,6 +6951,7 @@
6854
6951
  INVALID_SPOTTER_DOCUMENTATION_URL: 'Invalid spotterDocumentationUrl. Please provide a valid http or https URL.',
6855
6952
  UPDATEFILTERS_INVALID_PAYLOAD: 'UpdateFilters requires a valid filter or filters array. Expected: { filter: { column, oper, values } } or { filters: [{ column, oper, values }, ...] }',
6856
6953
  DRILLDOWN_INVALID_PAYLOAD: 'DrillDown requires a valid points object. Expected: { points: { clickedPoint?, selectedPoints? }, autoDrillDown?, vizId? }',
6954
+ UPDATEPARAMETERS_INVALID_PAYLOAD: 'UpdateParameters received an invalid applicability. Expected: { level: LIVEBOARD | TAB | GROUP, targetId } where targetId is required for TAB and GROUP levels',
6857
6955
  };
6858
6956
  const CUSTOM_ACTIONS_ERROR_MESSAGE = {
6859
6957
  INVALID_ACTION_OBJECT: 'Custom Action Validation Error: Invalid action object provided',
@@ -6972,7 +7070,7 @@
6972
7070
  * @returns true if the value is a valid CSS margin value, false otherwise
6973
7071
  */
6974
7072
  const isValidCssMargin = (value) => {
6975
- if (isUndefined(value)) {
7073
+ if (isUndefined$1(value)) {
6976
7074
  return false;
6977
7075
  }
6978
7076
  if (typeof value !== 'string') {
@@ -7181,7 +7279,7 @@
7181
7279
  element.style.removeProperty(styleProperty);
7182
7280
  });
7183
7281
  };
7184
- const isUndefined = (value) => value === undefined;
7282
+ const isUndefined$1 = (value) => value === undefined;
7185
7283
  // Return if the value is a string, double or boolean.
7186
7284
  const getTypeFromValue = (value) => {
7187
7285
  if (typeof value === 'string') {
@@ -7486,7 +7584,7 @@
7486
7584
  };
7487
7585
 
7488
7586
  /** Used for built-in method references. */
7489
- var objectProto$c = Object.prototype;
7587
+ var objectProto$d = Object.prototype;
7490
7588
 
7491
7589
  /**
7492
7590
  * Checks if `value` is likely a prototype object.
@@ -7497,7 +7595,7 @@
7497
7595
  */
7498
7596
  function isPrototype(value) {
7499
7597
  var Ctor = value && value.constructor,
7500
- proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$c;
7598
+ proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$d;
7501
7599
 
7502
7600
  return value === proto;
7503
7601
  }
@@ -7526,10 +7624,10 @@
7526
7624
  var _nativeKeys = nativeKeys;
7527
7625
 
7528
7626
  /** Used for built-in method references. */
7529
- var objectProto$b = Object.prototype;
7627
+ var objectProto$c = Object.prototype;
7530
7628
 
7531
7629
  /** Used to check objects for own properties. */
7532
- var hasOwnProperty$a = objectProto$b.hasOwnProperty;
7630
+ var hasOwnProperty$b = objectProto$c.hasOwnProperty;
7533
7631
 
7534
7632
  /**
7535
7633
  * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
@@ -7544,7 +7642,7 @@
7544
7642
  }
7545
7643
  var result = [];
7546
7644
  for (var key in Object(object)) {
7547
- if (hasOwnProperty$a.call(object, key) && key != 'constructor') {
7645
+ if (hasOwnProperty$b.call(object, key) && key != 'constructor') {
7548
7646
  result.push(key);
7549
7647
  }
7550
7648
  }
@@ -7580,17 +7678,17 @@
7580
7678
  var _Symbol = Symbol$1;
7581
7679
 
7582
7680
  /** Used for built-in method references. */
7583
- var objectProto$a = Object.prototype;
7681
+ var objectProto$b = Object.prototype;
7584
7682
 
7585
7683
  /** Used to check objects for own properties. */
7586
- var hasOwnProperty$9 = objectProto$a.hasOwnProperty;
7684
+ var hasOwnProperty$a = objectProto$b.hasOwnProperty;
7587
7685
 
7588
7686
  /**
7589
7687
  * Used to resolve the
7590
7688
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
7591
7689
  * of values.
7592
7690
  */
7593
- var nativeObjectToString$1 = objectProto$a.toString;
7691
+ var nativeObjectToString$1 = objectProto$b.toString;
7594
7692
 
7595
7693
  /** Built-in value references. */
7596
7694
  var symToStringTag$1 = _Symbol ? _Symbol.toStringTag : undefined;
@@ -7603,7 +7701,7 @@
7603
7701
  * @returns {string} Returns the raw `toStringTag`.
7604
7702
  */
7605
7703
  function getRawTag(value) {
7606
- var isOwn = hasOwnProperty$9.call(value, symToStringTag$1),
7704
+ var isOwn = hasOwnProperty$a.call(value, symToStringTag$1),
7607
7705
  tag = value[symToStringTag$1];
7608
7706
 
7609
7707
  try {
@@ -7625,14 +7723,14 @@
7625
7723
  var _getRawTag = getRawTag;
7626
7724
 
7627
7725
  /** Used for built-in method references. */
7628
- var objectProto$9 = Object.prototype;
7726
+ var objectProto$a = Object.prototype;
7629
7727
 
7630
7728
  /**
7631
7729
  * Used to resolve the
7632
7730
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
7633
7731
  * of values.
7634
7732
  */
7635
- var nativeObjectToString = objectProto$9.toString;
7733
+ var nativeObjectToString = objectProto$a.toString;
7636
7734
 
7637
7735
  /**
7638
7736
  * Converts `value` to a string using `Object.prototype.toString`.
@@ -7764,10 +7862,10 @@
7764
7862
  var _isMasked = isMasked;
7765
7863
 
7766
7864
  /** Used for built-in method references. */
7767
- var funcProto$1 = Function.prototype;
7865
+ var funcProto$2 = Function.prototype;
7768
7866
 
7769
7867
  /** Used to resolve the decompiled source of functions. */
7770
- var funcToString$1 = funcProto$1.toString;
7868
+ var funcToString$2 = funcProto$2.toString;
7771
7869
 
7772
7870
  /**
7773
7871
  * Converts `func` to its source code.
@@ -7779,7 +7877,7 @@
7779
7877
  function toSource(func) {
7780
7878
  if (func != null) {
7781
7879
  try {
7782
- return funcToString$1.call(func);
7880
+ return funcToString$2.call(func);
7783
7881
  } catch (e) {}
7784
7882
  try {
7785
7883
  return (func + '');
@@ -7800,18 +7898,18 @@
7800
7898
  var reIsHostCtor = /^\[object .+?Constructor\]$/;
7801
7899
 
7802
7900
  /** Used for built-in method references. */
7803
- var funcProto = Function.prototype,
7804
- objectProto$8 = Object.prototype;
7901
+ var funcProto$1 = Function.prototype,
7902
+ objectProto$9 = Object.prototype;
7805
7903
 
7806
7904
  /** Used to resolve the decompiled source of functions. */
7807
- var funcToString = funcProto.toString;
7905
+ var funcToString$1 = funcProto$1.toString;
7808
7906
 
7809
7907
  /** Used to check objects for own properties. */
7810
- var hasOwnProperty$8 = objectProto$8.hasOwnProperty;
7908
+ var hasOwnProperty$9 = objectProto$9.hasOwnProperty;
7811
7909
 
7812
7910
  /** Used to detect if a method is native. */
7813
7911
  var reIsNative = RegExp('^' +
7814
- funcToString.call(hasOwnProperty$8).replace(reRegExpChar, '\\$&')
7912
+ funcToString$1.call(hasOwnProperty$9).replace(reRegExpChar, '\\$&')
7815
7913
  .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
7816
7914
  );
7817
7915
 
@@ -7889,7 +7987,7 @@
7889
7987
 
7890
7988
  /** `Object#toString` result references. */
7891
7989
  var mapTag$3 = '[object Map]',
7892
- objectTag$2 = '[object Object]',
7990
+ objectTag$3 = '[object Object]',
7893
7991
  promiseTag = '[object Promise]',
7894
7992
  setTag$3 = '[object Set]',
7895
7993
  weakMapTag$1 = '[object WeakMap]';
@@ -7920,7 +8018,7 @@
7920
8018
  (_WeakMap && getTag(new _WeakMap) != weakMapTag$1)) {
7921
8019
  getTag = function(value) {
7922
8020
  var result = _baseGetTag(value),
7923
- Ctor = result == objectTag$2 ? value.constructor : undefined,
8021
+ Ctor = result == objectTag$3 ? value.constructor : undefined,
7924
8022
  ctorString = Ctor ? _toSource(Ctor) : '';
7925
8023
 
7926
8024
  if (ctorString) {
@@ -7985,13 +8083,13 @@
7985
8083
  var _baseIsArguments = baseIsArguments;
7986
8084
 
7987
8085
  /** Used for built-in method references. */
7988
- var objectProto$7 = Object.prototype;
8086
+ var objectProto$8 = Object.prototype;
7989
8087
 
7990
8088
  /** Used to check objects for own properties. */
7991
- var hasOwnProperty$7 = objectProto$7.hasOwnProperty;
8089
+ var hasOwnProperty$8 = objectProto$8.hasOwnProperty;
7992
8090
 
7993
8091
  /** Built-in value references. */
7994
- var propertyIsEnumerable$1 = objectProto$7.propertyIsEnumerable;
8092
+ var propertyIsEnumerable$1 = objectProto$8.propertyIsEnumerable;
7995
8093
 
7996
8094
  /**
7997
8095
  * Checks if `value` is likely an `arguments` object.
@@ -8012,7 +8110,7 @@
8012
8110
  * // => false
8013
8111
  */
8014
8112
  var isArguments = _baseIsArguments(function() { return arguments; }()) ? _baseIsArguments : function(value) {
8015
- return isObjectLike_1(value) && hasOwnProperty$7.call(value, 'callee') &&
8113
+ return isObjectLike_1(value) && hasOwnProperty$8.call(value, 'callee') &&
8016
8114
  !propertyIsEnumerable$1.call(value, 'callee');
8017
8115
  };
8018
8116
 
@@ -8178,10 +8276,10 @@
8178
8276
  funcTag = '[object Function]',
8179
8277
  mapTag$2 = '[object Map]',
8180
8278
  numberTag$1 = '[object Number]',
8181
- objectTag$1 = '[object Object]',
8279
+ objectTag$2 = '[object Object]',
8182
8280
  regexpTag$1 = '[object RegExp]',
8183
8281
  setTag$2 = '[object Set]',
8184
- stringTag$1 = '[object String]',
8282
+ stringTag$2 = '[object String]',
8185
8283
  weakMapTag = '[object WeakMap]';
8186
8284
 
8187
8285
  var arrayBufferTag$1 = '[object ArrayBuffer]',
@@ -8208,8 +8306,8 @@
8208
8306
  typedArrayTags[dataViewTag$1] = typedArrayTags[dateTag$1] =
8209
8307
  typedArrayTags[errorTag$1] = typedArrayTags[funcTag] =
8210
8308
  typedArrayTags[mapTag$2] = typedArrayTags[numberTag$1] =
8211
- typedArrayTags[objectTag$1] = typedArrayTags[regexpTag$1] =
8212
- typedArrayTags[setTag$2] = typedArrayTags[stringTag$1] =
8309
+ typedArrayTags[objectTag$2] = typedArrayTags[regexpTag$1] =
8310
+ typedArrayTags[setTag$2] = typedArrayTags[stringTag$2] =
8213
8311
  typedArrayTags[weakMapTag] = false;
8214
8312
 
8215
8313
  /**
@@ -8301,10 +8399,10 @@
8301
8399
  setTag$1 = '[object Set]';
8302
8400
 
8303
8401
  /** Used for built-in method references. */
8304
- var objectProto$6 = Object.prototype;
8402
+ var objectProto$7 = Object.prototype;
8305
8403
 
8306
8404
  /** Used to check objects for own properties. */
8307
- var hasOwnProperty$6 = objectProto$6.hasOwnProperty;
8405
+ var hasOwnProperty$7 = objectProto$7.hasOwnProperty;
8308
8406
 
8309
8407
  /**
8310
8408
  * Checks if `value` is an empty object, collection, map, or set.
@@ -8356,7 +8454,7 @@
8356
8454
  return !_baseKeys(value).length;
8357
8455
  }
8358
8456
  for (var key in value) {
8359
- if (hasOwnProperty$6.call(value, key)) {
8457
+ if (hasOwnProperty$7.call(value, key)) {
8360
8458
  return false;
8361
8459
  }
8362
8460
  }
@@ -8365,6 +8463,15 @@
8365
8463
 
8366
8464
  var isEmpty_1 = isEmpty$1;
8367
8465
 
8466
+ /**
8467
+ * Levels at which a filter or parameter can be applied.
8468
+ */
8469
+ var ApplicabilityLevel;
8470
+ (function (ApplicabilityLevel) {
8471
+ ApplicabilityLevel["Liveboard"] = "LIVEBOARD";
8472
+ ApplicabilityLevel["Tab"] = "TAB";
8473
+ ApplicabilityLevel["Group"] = "GROUP";
8474
+ })(ApplicabilityLevel || (ApplicabilityLevel = {}));
8368
8475
  var UIPassthroughEvent;
8369
8476
  (function (UIPassthroughEvent) {
8370
8477
  UIPassthroughEvent["PinAnswerToLiveboard"] = "addVizToPinboard";
@@ -9602,10 +9709,10 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
9602
9709
  var HASH_UNDEFINED$2 = '__lodash_hash_undefined__';
9603
9710
 
9604
9711
  /** Used for built-in method references. */
9605
- var objectProto$5 = Object.prototype;
9712
+ var objectProto$6 = Object.prototype;
9606
9713
 
9607
9714
  /** Used to check objects for own properties. */
9608
- var hasOwnProperty$5 = objectProto$5.hasOwnProperty;
9715
+ var hasOwnProperty$6 = objectProto$6.hasOwnProperty;
9609
9716
 
9610
9717
  /**
9611
9718
  * Gets the hash value for `key`.
@@ -9622,16 +9729,16 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
9622
9729
  var result = data[key];
9623
9730
  return result === HASH_UNDEFINED$2 ? undefined : result;
9624
9731
  }
9625
- return hasOwnProperty$5.call(data, key) ? data[key] : undefined;
9732
+ return hasOwnProperty$6.call(data, key) ? data[key] : undefined;
9626
9733
  }
9627
9734
 
9628
9735
  var _hashGet = hashGet;
9629
9736
 
9630
9737
  /** Used for built-in method references. */
9631
- var objectProto$4 = Object.prototype;
9738
+ var objectProto$5 = Object.prototype;
9632
9739
 
9633
9740
  /** Used to check objects for own properties. */
9634
- var hasOwnProperty$4 = objectProto$4.hasOwnProperty;
9741
+ var hasOwnProperty$5 = objectProto$5.hasOwnProperty;
9635
9742
 
9636
9743
  /**
9637
9744
  * Checks if a hash value for `key` exists.
@@ -9644,7 +9751,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
9644
9751
  */
9645
9752
  function hashHas(key) {
9646
9753
  var data = this.__data__;
9647
- return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty$4.call(data, key);
9754
+ return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty$5.call(data, key);
9648
9755
  }
9649
9756
 
9650
9757
  var _hashHas = hashHas;
@@ -10619,7 +10726,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
10619
10726
  numberTag = '[object Number]',
10620
10727
  regexpTag = '[object RegExp]',
10621
10728
  setTag = '[object Set]',
10622
- stringTag = '[object String]',
10729
+ stringTag$1 = '[object String]',
10623
10730
  symbolTag = '[object Symbol]';
10624
10731
 
10625
10732
  var arrayBufferTag = '[object ArrayBuffer]',
@@ -10674,7 +10781,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
10674
10781
  return object.name == other.name && object.message == other.message;
10675
10782
 
10676
10783
  case regexpTag:
10677
- case stringTag:
10784
+ case stringTag$1:
10678
10785
  // Coerce regexes to strings and treat strings, primitives and objects,
10679
10786
  // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
10680
10787
  // for more details.
@@ -10782,10 +10889,10 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
10782
10889
  var stubArray_1 = stubArray;
10783
10890
 
10784
10891
  /** Used for built-in method references. */
10785
- var objectProto$3 = Object.prototype;
10892
+ var objectProto$4 = Object.prototype;
10786
10893
 
10787
10894
  /** Built-in value references. */
10788
- var propertyIsEnumerable = objectProto$3.propertyIsEnumerable;
10895
+ var propertyIsEnumerable = objectProto$4.propertyIsEnumerable;
10789
10896
 
10790
10897
  /* Built-in method references for those with the same name as other `lodash` methods. */
10791
10898
  var nativeGetSymbols = Object.getOwnPropertySymbols;
@@ -10857,10 +10964,10 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
10857
10964
  var _isIndex = isIndex;
10858
10965
 
10859
10966
  /** Used for built-in method references. */
10860
- var objectProto$2 = Object.prototype;
10967
+ var objectProto$3 = Object.prototype;
10861
10968
 
10862
10969
  /** Used to check objects for own properties. */
10863
- var hasOwnProperty$3 = objectProto$2.hasOwnProperty;
10970
+ var hasOwnProperty$4 = objectProto$3.hasOwnProperty;
10864
10971
 
10865
10972
  /**
10866
10973
  * Creates an array of the enumerable property names of the array-like `value`.
@@ -10880,7 +10987,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
10880
10987
  length = result.length;
10881
10988
 
10882
10989
  for (var key in value) {
10883
- if ((inherited || hasOwnProperty$3.call(value, key)) &&
10990
+ if ((inherited || hasOwnProperty$4.call(value, key)) &&
10884
10991
  !(skipIndexes && (
10885
10992
  // Safari 9 has enumerable `arguments.length` in strict mode.
10886
10993
  key == 'length' ||
@@ -10950,10 +11057,10 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
10950
11057
  var COMPARE_PARTIAL_FLAG$3 = 1;
10951
11058
 
10952
11059
  /** Used for built-in method references. */
10953
- var objectProto$1 = Object.prototype;
11060
+ var objectProto$2 = Object.prototype;
10954
11061
 
10955
11062
  /** Used to check objects for own properties. */
10956
- var hasOwnProperty$2 = objectProto$1.hasOwnProperty;
11063
+ var hasOwnProperty$3 = objectProto$2.hasOwnProperty;
10957
11064
 
10958
11065
  /**
10959
11066
  * A specialized version of `baseIsEqualDeep` for objects with support for
@@ -10981,7 +11088,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
10981
11088
  var index = objLength;
10982
11089
  while (index--) {
10983
11090
  var key = objProps[index];
10984
- if (!(isPartial ? key in other : hasOwnProperty$2.call(other, key))) {
11091
+ if (!(isPartial ? key in other : hasOwnProperty$3.call(other, key))) {
10985
11092
  return false;
10986
11093
  }
10987
11094
  }
@@ -11041,13 +11148,13 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
11041
11148
  /** `Object#toString` result references. */
11042
11149
  var argsTag = '[object Arguments]',
11043
11150
  arrayTag = '[object Array]',
11044
- objectTag = '[object Object]';
11151
+ objectTag$1 = '[object Object]';
11045
11152
 
11046
11153
  /** Used for built-in method references. */
11047
- var objectProto = Object.prototype;
11154
+ var objectProto$1 = Object.prototype;
11048
11155
 
11049
11156
  /** Used to check objects for own properties. */
11050
- var hasOwnProperty$1 = objectProto.hasOwnProperty;
11157
+ var hasOwnProperty$2 = objectProto$1.hasOwnProperty;
11051
11158
 
11052
11159
  /**
11053
11160
  * A specialized version of `baseIsEqual` for arrays and objects which performs
@@ -11069,11 +11176,11 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
11069
11176
  objTag = objIsArr ? arrayTag : _getTag(object),
11070
11177
  othTag = othIsArr ? arrayTag : _getTag(other);
11071
11178
 
11072
- objTag = objTag == argsTag ? objectTag : objTag;
11073
- othTag = othTag == argsTag ? objectTag : othTag;
11179
+ objTag = objTag == argsTag ? objectTag$1 : objTag;
11180
+ othTag = othTag == argsTag ? objectTag$1 : othTag;
11074
11181
 
11075
- var objIsObj = objTag == objectTag,
11076
- othIsObj = othTag == objectTag,
11182
+ var objIsObj = objTag == objectTag$1,
11183
+ othIsObj = othTag == objectTag$1,
11077
11184
  isSameTag = objTag == othTag;
11078
11185
 
11079
11186
  if (isSameTag && isBuffer_1(object)) {
@@ -11090,8 +11197,8 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
11090
11197
  : _equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
11091
11198
  }
11092
11199
  if (!(bitmask & COMPARE_PARTIAL_FLAG$2)) {
11093
- var objIsWrapped = objIsObj && hasOwnProperty$1.call(object, '__wrapped__'),
11094
- othIsWrapped = othIsObj && hasOwnProperty$1.call(other, '__wrapped__');
11200
+ var objIsWrapped = objIsObj && hasOwnProperty$2.call(object, '__wrapped__'),
11201
+ othIsWrapped = othIsObj && hasOwnProperty$2.call(other, '__wrapped__');
11095
11202
 
11096
11203
  if (objIsWrapped || othIsWrapped) {
11097
11204
  var objUnwrapped = objIsWrapped ? object.value() : object,
@@ -12302,7 +12409,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
12302
12409
  var ObjProto = Object.prototype;
12303
12410
  var slice = ArrayProto.slice;
12304
12411
  var toString = ObjProto.toString;
12305
- var hasOwnProperty = ObjProto.hasOwnProperty;
12412
+ var hasOwnProperty$1 = ObjProto.hasOwnProperty;
12306
12413
  var windowConsole = window$1.console;
12307
12414
  var navigator = window$1.navigator;
12308
12415
  var document$1 = window$1.document;
@@ -12439,7 +12546,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
12439
12546
  }
12440
12547
  } else {
12441
12548
  for (var key in obj) {
12442
- if (hasOwnProperty.call(obj, key)) {
12549
+ if (hasOwnProperty$1.call(obj, key)) {
12443
12550
  if (iterator.call(context, obj[key], key, obj) === breaker) {
12444
12551
  return;
12445
12552
  }
@@ -12475,7 +12582,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
12475
12582
  };
12476
12583
 
12477
12584
  _.isArguments = function(obj) {
12478
- return !!(obj && hasOwnProperty.call(obj, 'callee'));
12585
+ return !!(obj && hasOwnProperty$1.call(obj, 'callee'));
12479
12586
  };
12480
12587
 
12481
12588
  _.toArray = function(iterable) {
@@ -12563,7 +12670,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
12563
12670
  _.isEmptyObject = function(obj) {
12564
12671
  if (_.isObject(obj)) {
12565
12672
  for (var key in obj) {
12566
- if (hasOwnProperty.call(obj, key)) {
12673
+ if (hasOwnProperty$1.call(obj, key)) {
12567
12674
  return false;
12568
12675
  }
12569
12676
  }
@@ -12755,7 +12862,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
12755
12862
 
12756
12863
  // Iterate through all of the keys in the object.
12757
12864
  for (k in value) {
12758
- if (hasOwnProperty.call(value, k)) {
12865
+ if (hasOwnProperty$1.call(value, k)) {
12759
12866
  v = str(k, value);
12760
12867
  if (v) {
12761
12868
  partial.push(quote(k) + (gap ? ': ' : ':') + v);
@@ -19994,6 +20101,154 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
19994
20101
  return eventData;
19995
20102
  }
19996
20103
 
20104
+ /**
20105
+ * Checks if `value` is `null` or `undefined`.
20106
+ *
20107
+ * @static
20108
+ * @memberOf _
20109
+ * @since 4.0.0
20110
+ * @category Lang
20111
+ * @param {*} value The value to check.
20112
+ * @returns {boolean} Returns `true` if `value` is nullish, else `false`.
20113
+ * @example
20114
+ *
20115
+ * _.isNil(null);
20116
+ * // => true
20117
+ *
20118
+ * _.isNil(void 0);
20119
+ * // => true
20120
+ *
20121
+ * _.isNil(NaN);
20122
+ * // => false
20123
+ */
20124
+ function isNil(value) {
20125
+ return value == null;
20126
+ }
20127
+
20128
+ var isNil_1 = isNil;
20129
+
20130
+ /** Built-in value references. */
20131
+ var getPrototype = _overArg(Object.getPrototypeOf, Object);
20132
+
20133
+ var _getPrototype = getPrototype;
20134
+
20135
+ /** `Object#toString` result references. */
20136
+ var objectTag = '[object Object]';
20137
+
20138
+ /** Used for built-in method references. */
20139
+ var funcProto = Function.prototype,
20140
+ objectProto = Object.prototype;
20141
+
20142
+ /** Used to resolve the decompiled source of functions. */
20143
+ var funcToString = funcProto.toString;
20144
+
20145
+ /** Used to check objects for own properties. */
20146
+ var hasOwnProperty = objectProto.hasOwnProperty;
20147
+
20148
+ /** Used to infer the `Object` constructor. */
20149
+ var objectCtorString = funcToString.call(Object);
20150
+
20151
+ /**
20152
+ * Checks if `value` is a plain object, that is, an object created by the
20153
+ * `Object` constructor or one with a `[[Prototype]]` of `null`.
20154
+ *
20155
+ * @static
20156
+ * @memberOf _
20157
+ * @since 0.8.0
20158
+ * @category Lang
20159
+ * @param {*} value The value to check.
20160
+ * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
20161
+ * @example
20162
+ *
20163
+ * function Foo() {
20164
+ * this.a = 1;
20165
+ * }
20166
+ *
20167
+ * _.isPlainObject(new Foo);
20168
+ * // => false
20169
+ *
20170
+ * _.isPlainObject([1, 2, 3]);
20171
+ * // => false
20172
+ *
20173
+ * _.isPlainObject({ 'x': 0, 'y': 0 });
20174
+ * // => true
20175
+ *
20176
+ * _.isPlainObject(Object.create(null));
20177
+ * // => true
20178
+ */
20179
+ function isPlainObject(value) {
20180
+ if (!isObjectLike_1(value) || _baseGetTag(value) != objectTag) {
20181
+ return false;
20182
+ }
20183
+ var proto = _getPrototype(value);
20184
+ if (proto === null) {
20185
+ return true;
20186
+ }
20187
+ var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;
20188
+ return typeof Ctor == 'function' && Ctor instanceof Ctor &&
20189
+ funcToString.call(Ctor) == objectCtorString;
20190
+ }
20191
+
20192
+ var isPlainObject_1 = isPlainObject;
20193
+
20194
+ /** `Object#toString` result references. */
20195
+ var stringTag = '[object String]';
20196
+
20197
+ /**
20198
+ * Checks if `value` is classified as a `String` primitive or object.
20199
+ *
20200
+ * @static
20201
+ * @since 0.1.0
20202
+ * @memberOf _
20203
+ * @category Lang
20204
+ * @param {*} value The value to check.
20205
+ * @returns {boolean} Returns `true` if `value` is a string, else `false`.
20206
+ * @example
20207
+ *
20208
+ * _.isString('abc');
20209
+ * // => true
20210
+ *
20211
+ * _.isString(1);
20212
+ * // => false
20213
+ */
20214
+ function isString(value) {
20215
+ return typeof value == 'string' ||
20216
+ (!isArray_1(value) && isObjectLike_1(value) && _baseGetTag(value) == stringTag);
20217
+ }
20218
+
20219
+ var isString_1 = isString;
20220
+
20221
+ /**
20222
+ * Checks if `value` is `undefined`.
20223
+ *
20224
+ * @static
20225
+ * @since 0.1.0
20226
+ * @memberOf _
20227
+ * @category Lang
20228
+ * @param {*} value The value to check.
20229
+ * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.
20230
+ * @example
20231
+ *
20232
+ * _.isUndefined(void 0);
20233
+ * // => true
20234
+ *
20235
+ * _.isUndefined(null);
20236
+ * // => false
20237
+ */
20238
+ function isUndefined(value) {
20239
+ return value === undefined;
20240
+ }
20241
+
20242
+ var isUndefined_1 = isUndefined;
20243
+
20244
+ const isValidApplicability = (a) => {
20245
+ if (isUndefined_1(a))
20246
+ return true;
20247
+ // targetId is not required at LIVEBOARD level, since the filter applies to the whole Liveboard
20248
+ return isPlainObject_1(a)
20249
+ && Object.values(ApplicabilityLevel).includes(a.level)
20250
+ && (a.level === ApplicabilityLevel.Liveboard || (isString_1(a.targetId) && a.targetId.trim().length > 0));
20251
+ };
19997
20252
  function isValidUpdateFiltersPayload(payload) {
19998
20253
  if (!payload)
19999
20254
  return false;
@@ -20002,12 +20257,23 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
20002
20257
  const hasOperator = typeof f.oper === 'string' || typeof f.operator === 'string';
20003
20258
  const hasValues = Array.isArray(f.values);
20004
20259
  const validType = !f.type || typeof f.type === 'string';
20005
- return hasColumn && hasOperator && hasValues && validType;
20260
+ return hasColumn && hasOperator && hasValues && validType && isValidApplicability(f.applicability);
20006
20261
  };
20007
20262
  const hasValidFilter = payload.filter && isValidFilter(payload.filter);
20008
20263
  const hasValidFilters = Array.isArray(payload.filters) && payload.filters.length > 0 && payload.filters.every(isValidFilter);
20009
20264
  return !!(hasValidFilter || hasValidFilters);
20010
20265
  }
20266
+ function isValidUpdateParametersPayload(payload) {
20267
+ // Only validates the applicability of each parameter (null treated as absent); the rest is forwarded as-is for backward compatibility.
20268
+ if (!Array.isArray(payload))
20269
+ return true;
20270
+ return payload.every((p) => {
20271
+ if (!isPlainObject_1(p))
20272
+ return true;
20273
+ const { applicability } = p;
20274
+ return isNil_1(applicability) || isValidApplicability(applicability);
20275
+ });
20276
+ }
20011
20277
  function isValidDrillDownPayload(payload) {
20012
20278
  if (!payload)
20013
20279
  return false;
@@ -20038,6 +20304,9 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
20038
20304
  }
20039
20305
  function throwDrillDownValidationError() {
20040
20306
  createValidationError(ERROR_MESSAGE.DRILLDOWN_INVALID_PAYLOAD);
20307
+ }
20308
+ function throwUpdateParametersValidationError() {
20309
+ createValidationError(ERROR_MESSAGE.UPDATEPARAMETERS_INVALID_PAYLOAD);
20041
20310
  }
20042
20311
 
20043
20312
  /**
@@ -20069,6 +20338,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
20069
20338
  [exports.HostEvent.Pin]: (p, c) => this.handlePinEvent(p, c),
20070
20339
  [exports.HostEvent.SaveAnswer]: (p, c) => this.handleSaveAnswerEvent(p, c),
20071
20340
  [exports.HostEvent.UpdateFilters]: (p, c) => this.handleUpdateFiltersEvent(p, c),
20341
+ [exports.HostEvent.UpdateParameters]: (p, c) => this.handleUpdateParametersEvent(p, c),
20072
20342
  [exports.HostEvent.DrillDown]: (p, c) => this.handleDrillDownEvent(p, c),
20073
20343
  };
20074
20344
  }
@@ -20193,6 +20463,13 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
20193
20463
  }
20194
20464
  return this.handleHostEventWithParam(UIPassthroughEvent.UpdateFilters, payload, context);
20195
20465
  }
20466
+ handleUpdateParametersEvent(payload, context) {
20467
+ if (!isValidUpdateParametersPayload(payload)) {
20468
+ throwUpdateParametersValidationError();
20469
+ }
20470
+ // UpdateParameters has no UI passthrough contract; dispatch over the legacy channel
20471
+ return this.hostEventFallback(exports.HostEvent.UpdateParameters, payload, context);
20472
+ }
20196
20473
  handleDrillDownEvent(payload, context) {
20197
20474
  if (!isValidDrillDownPayload(payload)) {
20198
20475
  throwDrillDownValidationError();
@@ -20978,7 +21255,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
20978
21255
  if (this.embedConfig.currencyFormat) {
20979
21256
  queryParams[Param.CurrencyFormat] = this.embedConfig.currencyFormat;
20980
21257
  }
20981
- const { disabledActions, disabledActionReason, hiddenActions, visibleActions, hiddenTabs, visibleTabs, showAlerts, additionalFlags: additionalFlagsFromView, locale, customizations, contextMenuTrigger, linkOverride, enableLinkOverridesV2, insertInToSlide, disableRedirectionLinksInNewTab, overrideOrgId, exposeTranslationIDs, primaryAction, } = this.viewConfig;
21258
+ const { disabledActions, disabledActionReason, hiddenActions, visibleActions, hiddenTabs, visibleTabs, showAlerts, additionalFlags: additionalFlagsFromView, locale, customizations, contextMenuTrigger, linkOverride, enableLinkOverridesV2, insertInToSlide, disableRedirectionLinksInNewTab, overrideOrgId, overrideHistoryState, exposeTranslationIDs, primaryAction, } = this.viewConfig;
20982
21259
  const { additionalFlags: additionalFlagsFromInit } = this.embedConfig;
20983
21260
  const additionalFlags = {
20984
21261
  ...additionalFlagsFromInit,
@@ -21066,6 +21343,9 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
21066
21343
  if (overrideOrgId !== undefined) {
21067
21344
  queryParams[Param.OverrideOrgId] = overrideOrgId;
21068
21345
  }
21346
+ if (overrideHistoryState !== undefined) {
21347
+ queryParams[Param.OverrideHistoryState] = overrideHistoryState;
21348
+ }
21069
21349
  if (this.isPreAuthCacheEnabled()) {
21070
21350
  queryParams[Param.preAuthCache] = true;
21071
21351
  }
@@ -21998,7 +22278,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
21998
22278
  * wrapper to overlay it.
21999
22279
  */
22000
22280
  async showPreRender() {
22001
- var _a;
22281
+ var _a, _b;
22002
22282
  if (this.shouldWaitForRenderPromise)
22003
22283
  await this.isReadyForRenderPromise;
22004
22284
  if (!this.viewConfig.preRenderId) {
@@ -22022,10 +22302,14 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
22022
22302
  }
22023
22303
  }
22024
22304
  const placeHolderId = this.getPreRenderIds().placeHolder;
22025
- const oldEle = this.hostElement.querySelector(`#${placeHolderId}`);
22026
- if (oldEle) {
22027
- this.hostElement.removeChild(oldEle);
22028
- }
22305
+ // Remove any stale placeholder from a previous cycle. It is located
22306
+ // via a subtree-wide querySelector, so it may be nested deeper than a
22307
+ // direct child (E.g.: with fullHeight the host app can wrap it). Use
22308
+ // Element.remove() — which detaches from whatever the real parent is —
22309
+ // rather than hostElement.removeChild(), which throws NotFoundError
22310
+ // when the match is not a direct child. Mirrors the wrapper/child
22311
+ // cleanup in createPreRenderWrapper()/createPreRenderChild().
22312
+ (_a = this.hostElement.querySelector(`#${placeHolderId}`)) === null || _a === void 0 ? void 0 : _a.remove();
22029
22313
  this.hostElement.appendChild(this.insertedDomEl);
22030
22314
  this.syncPreRenderStyle();
22031
22315
  const customContainer = this.preRenderContainerEl && this.preRenderContainerEl !== document.body
@@ -22036,7 +22320,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
22036
22320
  customContainer.addEventListener('scroll', this.containerScrollListener);
22037
22321
  }
22038
22322
  if (!this.viewConfig.doNotTrackPreRenderSize) {
22039
- const observeTarget = (_a = this.insertedDomEl) !== null && _a !== void 0 ? _a : this.hostElement;
22323
+ const observeTarget = (_b = this.insertedDomEl) !== null && _b !== void 0 ? _b : this.hostElement;
22040
22324
  this.resizeObserver = new ResizeObserver((entries) => {
22041
22325
  entries.forEach((entry) => {
22042
22326
  if (entry.target === observeTarget) {
@@ -22640,6 +22924,10 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
22640
22924
  * Monitor Alerts Page
22641
22925
  */
22642
22926
  Page["Monitor"] = "monitor";
22927
+ /**
22928
+ * Collections listing page
22929
+ */
22930
+ Page["Collections"] = "collections";
22643
22931
  })(exports.Page || (exports.Page = {}));
22644
22932
  /**
22645
22933
  * Define the initial state of column custom group accordions
@@ -22810,7 +23098,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
22810
23098
  * embedded Liveboard or visualization.
22811
23099
  */
22812
23100
  getEmbedParams() {
22813
- 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;
23101
+ 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;
22814
23102
  let params = {};
22815
23103
  params[Param.PrimaryNavHidden] = !showPrimaryNavbar;
22816
23104
  params[Param.HideProfleAndHelp] = !!disableProfileAndHelp;
@@ -22836,10 +23124,13 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
22836
23124
  }
22837
23125
  params[Param.CoverAndFilterOptionInPDF] = !!coverAndFilterOptionInPDF;
22838
23126
  params = this.getBaseQueryParams(params);
22839
- if (!isUndefined(updatedSpotterChatPrompt)) {
23127
+ if (!isUndefined$1(updatedSpotterChatPrompt)) {
22840
23128
  params[Param.UpdatedSpotterChatPrompt] = !!updatedSpotterChatPrompt;
22841
23129
  }
22842
- if (!isUndefined(enableStopAnswerGenerationEmbed)) {
23130
+ if (!isUndefined$1(defaultQueryMode)) {
23131
+ params[Param.DefaultQueryMode] = defaultQueryMode;
23132
+ }
23133
+ if (!isUndefined$1(enableStopAnswerGenerationEmbed)) {
22843
23134
  params[Param.EnableStopAnswerGenerationEmbed] = !!enableStopAnswerGenerationEmbed;
22844
23135
  }
22845
23136
  // Handle spotterChatConfig params
@@ -22989,7 +23280,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
22989
23280
  // The Focused (V4) homepage experience requires the updated
22990
23281
  // Spotter chat prompt. Enable it automatically unless the
22991
23282
  // developer has explicitly set updatedSpotterChatPrompt.
22992
- if (isUndefined(updatedSpotterChatPrompt)) {
23283
+ if (isUndefined$1(updatedSpotterChatPrompt)) {
22993
23284
  params[Param.UpdatedSpotterChatPrompt] = true;
22994
23285
  }
22995
23286
  }
@@ -23030,6 +23321,8 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
23030
23321
  return modularHomeExperience ? 'home/spotiq-analysis' : 'insights/results';
23031
23322
  case exports.Page.Monitor:
23032
23323
  return modularHomeExperience ? 'home/monitor-alerts' : 'insights/monitor-alerts';
23324
+ case exports.Page.Collections:
23325
+ return 'collections';
23033
23326
  case exports.Page.Home:
23034
23327
  default:
23035
23328
  return 'home';
@@ -23062,11 +23355,13 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
23062
23355
  * @version SDK: 1.12.0 | ThoughtSpot: 8.4.0.cl, 8.4.1-sw
23063
23356
  */
23064
23357
  navigateToPage(path, noReload = false) {
23358
+ var _a;
23065
23359
  if (!this.iFrame) {
23066
23360
  logger$3.log('Please call render before invoking this method');
23067
23361
  return;
23068
23362
  }
23069
- if (noReload) {
23363
+ const overrideHistoryState = (_a = this.viewConfig) === null || _a === void 0 ? void 0 : _a.overrideHistoryState;
23364
+ if (noReload || overrideHistoryState) {
23070
23365
  this.trigger(exports.HostEvent.Navigate, path);
23071
23366
  }
23072
23367
  else {
@@ -23354,10 +23649,10 @@ query GetEurekaVizSnapshots(
23354
23649
  if (preventLiveboardFilterRemoval) {
23355
23650
  params[Param.preventLiveboardFilterRemoval] = true;
23356
23651
  }
23357
- if (!isUndefined(updatedSpotterChatPrompt)) {
23652
+ if (!isUndefined$1(updatedSpotterChatPrompt)) {
23358
23653
  params[Param.UpdatedSpotterChatPrompt] = !!updatedSpotterChatPrompt;
23359
23654
  }
23360
- if (!isUndefined(enableStopAnswerGenerationEmbed)) {
23655
+ if (!isUndefined$1(enableStopAnswerGenerationEmbed)) {
23361
23656
  params[Param.EnableStopAnswerGenerationEmbed] = !!enableStopAnswerGenerationEmbed;
23362
23657
  }
23363
23658
  if (visibleVizs) {
@@ -23558,7 +23853,7 @@ query GetEurekaVizSnapshots(
23558
23853
  });
23559
23854
  }
23560
23855
  async handleRenderForPrerender() {
23561
- if (isUndefined(this.viewConfig.liveboardId)) {
23856
+ if (isUndefined$1(this.viewConfig.liveboardId)) {
23562
23857
  return this.prerenderGeneric();
23563
23858
  }
23564
23859
  return super.handleRenderForPrerender();
@@ -24195,6 +24490,15 @@ query SendMessage($params: Input_convassist_SendMessageRequest) {
24195
24490
  });
24196
24491
  }
24197
24492
 
24493
+ /**
24494
+ * The query mode Spotter uses when answering a question.
24495
+ * @version SDK: 1.52.0 | ThoughtSpot Cloud: 26.9.0.cl
24496
+ */
24497
+ var SpotterQueryMode;
24498
+ (function (SpotterQueryMode) {
24499
+ SpotterQueryMode["FAST_SEARCH"] = "fastSearch";
24500
+ SpotterQueryMode["RESEARCH"] = "research";
24501
+ })(SpotterQueryMode || (SpotterQueryMode = {}));
24198
24502
  /**
24199
24503
  * Embed ThoughtSpot AI Conversation.
24200
24504
  * @version SDK: 1.37.0 | ThoughtSpot: 10.9.0.cl
@@ -24238,7 +24542,7 @@ query SendMessage($params: Input_convassist_SendMessageRequest) {
24238
24542
  return buildSpotterSidebarAppInitData(defaultAppInitData, this.viewConfig, this.handleError.bind(this));
24239
24543
  }
24240
24544
  getEmbedParamsObject() {
24241
- const { worksheetId, searchOptions, disableSourceSelection, hideSourceSelection, dataPanelV2, showSpotterLimitations, hideSampleQuestions, runtimeFilters, excludeRuntimeFiltersfromURL, runtimeParameters, excludeRuntimeParametersfromURL, updatedSpotterChatPrompt, enableStopAnswerGenerationEmbed, spotterChatConfig, } = this.viewConfig;
24545
+ const { worksheetId, searchOptions, disableSourceSelection, hideSourceSelection, dataPanelV2, showSpotterLimitations, hideSampleQuestions, runtimeFilters, excludeRuntimeFiltersfromURL, runtimeParameters, excludeRuntimeParametersfromURL, updatedSpotterChatPrompt, defaultQueryMode, enableStopAnswerGenerationEmbed, spotterChatConfig, } = this.viewConfig;
24242
24546
  if (!worksheetId) {
24243
24547
  this.handleError({
24244
24548
  errorType: ErrorDetailsTypes.VALIDATION_ERROR,
@@ -24256,6 +24560,7 @@ query SendMessage($params: Input_convassist_SendMessageRequest) {
24256
24560
  setParamIfDefined(queryParams, Param.ShowSpotterLimitations, showSpotterLimitations, true);
24257
24561
  setParamIfDefined(queryParams, Param.HideSampleQuestions, hideSampleQuestions, true);
24258
24562
  setParamIfDefined(queryParams, Param.UpdatedSpotterChatPrompt, updatedSpotterChatPrompt, true);
24563
+ setParamIfDefined(queryParams, Param.DefaultQueryMode, defaultQueryMode);
24259
24564
  setParamIfDefined(queryParams, Param.EnableStopAnswerGenerationEmbed, enableStopAnswerGenerationEmbed, true);
24260
24565
  // Handle spotterChatConfig params
24261
24566
  if (spotterChatConfig) {