@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
package/dist/tsembed.js CHANGED
@@ -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) :
@@ -263,6 +263,13 @@
263
263
  * @version SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl
264
264
  */
265
265
  HomeLeftNavItem["Favorites"] = "favorites";
266
+ /**
267
+ * The *Collections* menu option in
268
+ * the *Insights* left navigation panel.
269
+ * Shown when collections are enabled on the cluster.
270
+ * @version SDK: 1.52.0 | ThoughtSpot Cloud: 26.9.0.cl
271
+ */
272
+ HomeLeftNavItem["Collections"] = "collections";
266
273
  })(exports.HomeLeftNavItem || (exports.HomeLeftNavItem = {}));
267
274
  /**
268
275
  * A map of the supported runtime filter operations
@@ -1805,6 +1812,30 @@
1805
1812
  * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
1806
1813
  */
1807
1814
  EmbedEvent["SpotterConversationSelected"] = "spotterConversationSelected";
1815
+ /**
1816
+ * Emitted when the Spotter agent finishes streaming/rendering a response.
1817
+ * Includes the conversation and message identifiers so the host app can
1818
+ * fetch the full conversation history via the REST API if needed.
1819
+ *
1820
+ * The payload data has the shape `{ convId: string, messageId: string }`.
1821
+ *
1822
+ * Works with SpotterEmbed as well as AppEmbed (when Spotter is reached
1823
+ * inside the full application).
1824
+ * @example
1825
+ * ```js
1826
+ * spotterEmbed.on(EmbedEvent.SpotterResponseComplete, (payload) => {
1827
+ * console.log('Spotter response complete', payload);
1828
+ * })
1829
+ * ```
1830
+ * @example
1831
+ * ```js
1832
+ * appEmbed.on(EmbedEvent.SpotterResponseComplete, (payload) => {
1833
+ * console.log('Spotter response complete', payload);
1834
+ * })
1835
+ * ```
1836
+ * @version SDK: 1.51.0 | ThoughtSpot Cloud: 26.9.0.cl
1837
+ */
1838
+ EmbedEvent["SpotterResponseComplete"] = "spotterResponseComplete";
1808
1839
  /**
1809
1840
  * @hidden
1810
1841
  * Emitted when the auth token is about to get expired and needs to be refreshed.
@@ -3370,6 +3401,14 @@
3370
3401
  /**
3371
3402
  * Get details of filters applied on the Liveboard.
3372
3403
  * Returns arrays containing Liveboard filter and runtime filter elements.
3404
+ * Each Liveboard filter may include an `applicability` attribute
3405
+ * indicating the scope of the filter. It contains a `level`
3406
+ * (`LIVEBOARD`, `TAB`, or `GROUP`) and, when `level` is `TAB` or
3407
+ * `GROUP`, a `targetId` with the GUID of the target. At `LIVEBOARD`
3408
+ * level there is no `targetId`, since the filter applies to the
3409
+ * whole Liveboard.
3410
+ * The `applicability` attribute is available from SDK: 1.51.0 |
3411
+ * ThoughtSpot: 26.10.0.cl.
3373
3412
  * @example
3374
3413
  * ```js
3375
3414
  * const data = await liveboardEmbed.trigger(HostEvent.GetFilters);
@@ -3409,6 +3448,16 @@
3409
3448
  *
3410
3449
  * `type` - To update filters for date time, specify the date format type.
3411
3450
  * For more information and examples, see link:https://developers.thoughtspot.com/docs/embed-liveboard#_date_filters[Date filters].
3451
+ *
3452
+ * `applicability` - Optional. Scopes the filter to a specific target,
3453
+ * for example, a single Liveboard tab. Available from SDK: 1.51.0 |
3454
+ * ThoughtSpot: 26.10.0.cl. Includes the following attributes:
3455
+ *
3456
+ * - `level`: The scope of the filter: `LIVEBOARD`, `TAB`, or `GROUP`.
3457
+ * - `targetId`: The GUID of the target, for example, the tab GUID.
3458
+ * Required when `level` is `TAB` or `GROUP`. Do not pass it when
3459
+ * `level` is `LIVEBOARD`, since the filter applies to the whole
3460
+ * Liveboard.
3412
3461
  * @example
3413
3462
  * ```js
3414
3463
  *
@@ -3485,6 +3534,21 @@
3485
3534
  * }
3486
3535
  * }, ContextType.Liveboard);
3487
3536
  * ```
3537
+ * @example
3538
+ * ```js
3539
+ * // Scope the filter to a specific Liveboard tab
3540
+ * liveboardEmbed.trigger(HostEvent.UpdateFilters, {
3541
+ * filter: {
3542
+ * column: "item type",
3543
+ * oper: "IN",
3544
+ * values: ["bags", "shirts"],
3545
+ * applicability: {
3546
+ * level: "TAB",
3547
+ * targetId: "e0836cad-4fdf-42d4-bd97-567a6b2a6058"
3548
+ * }
3549
+ * }
3550
+ * });
3551
+ * ```
3488
3552
  * @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
3489
3553
  */
3490
3554
  HostEvent["UpdateFilters"] = "updateFilters";
@@ -3636,6 +3700,15 @@
3636
3700
  * - `name`: Name of the parameter.
3637
3701
  * - `value`: The value to set for the parameter.
3638
3702
  * - `isVisibleToUser`: Optional. To control the visibility of the parameter chip.
3703
+ * - `applicability`: Optional. Scopes the parameter to a specific target,
3704
+ * for example, a single Liveboard tab. Available from SDK: 1.51.0 |
3705
+ * ThoughtSpot: 26.10.0.cl. Includes the following attributes:
3706
+ *
3707
+ * - `level`: The scope of the parameter: `LIVEBOARD`, `TAB`, or `GROUP`.
3708
+ * - `targetId`: The GUID of the target, for example, the tab GUID.
3709
+ * Required when `level` is `TAB` or `GROUP`. Do not pass it when
3710
+ * `level` is `LIVEBOARD`, since the parameter applies to the whole
3711
+ * Liveboard.
3639
3712
  *
3640
3713
  * @example
3641
3714
  * ```js
@@ -3647,6 +3720,18 @@
3647
3720
  * ```
3648
3721
  * @example
3649
3722
  * ```js
3723
+ * // Scope the parameter to a specific Liveboard tab
3724
+ * liveboardEmbed.trigger(HostEvent.UpdateParameters, [{
3725
+ * name: "Integer Range Param",
3726
+ * value: 10,
3727
+ * applicability: {
3728
+ * level: "TAB",
3729
+ * targetId: "e0836cad-4fdf-42d4-bd97-567a6b2a6058"
3730
+ * }
3731
+ * }])
3732
+ * ```
3733
+ * @example
3734
+ * ```js
3650
3735
  * // Update parameters from liveboard context
3651
3736
  * import { ContextType } from '@thoughtspot/visual-embed-sdk';
3652
3737
  * liveboardEmbed.trigger(HostEvent.UpdateParameters, [{
@@ -3660,6 +3745,14 @@
3660
3745
  HostEvent["UpdateParameters"] = "UpdateParameters";
3661
3746
  /**
3662
3747
  * Triggers GetParameters to fetch the runtime Parameters.
3748
+ * Each parameter may include an `applicability` attribute
3749
+ * indicating the scope of the parameter. It contains a `level`
3750
+ * (`LIVEBOARD`, `TAB`, or `GROUP`) and, when `level` is `TAB` or
3751
+ * `GROUP`, a `targetId` with the GUID of the target. At `LIVEBOARD`
3752
+ * level there is no `targetId`, since the parameter applies to the
3753
+ * whole Liveboard.
3754
+ * The `applicability` attribute is available from SDK: 1.51.0 |
3755
+ * ThoughtSpot: 26.10.0.cl.
3663
3756
  * @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
3664
3757
  * ```js
3665
3758
  * liveboardEmbed.trigger(HostEvent.GetParameters).then((parameter) => {
@@ -4242,6 +4335,7 @@
4242
4335
  Param["SpotterEnabled"] = "isSpotterExperienceEnabled";
4243
4336
  Param["IsUnifiedSearchExperienceEnabled"] = "isUnifiedSearchExperienceEnabled";
4244
4337
  Param["OverrideOrgId"] = "orgId";
4338
+ Param["OverrideHistoryState"] = "overrideHistoryState";
4245
4339
  Param["OauthPollingInterval"] = "oAuthPollingInterval";
4246
4340
  Param["IsForceRedirect"] = "isForceRedirect";
4247
4341
  Param["DataSourceId"] = "dataSourceId";
@@ -4262,6 +4356,7 @@
4262
4356
  Param["isLinkParametersEnabled"] = "isLinkParametersEnabled";
4263
4357
  Param["EnablePastConversationsSidebar"] = "enablePastConversationsSidebar";
4264
4358
  Param["UpdatedSpotterChatPrompt"] = "updatedSpotterChatPrompt";
4359
+ Param["DefaultQueryMode"] = "defaultQueryMode";
4265
4360
  Param["EnableStopAnswerGenerationEmbed"] = "enableStopAnswerGenerationEmbed";
4266
4361
  Param["SpotterSidebarTitle"] = "spotterSidebarTitle";
4267
4362
  Param["SpotterSidebarDefaultExpanded"] = "spotterSidebarDefaultExpanded";
@@ -6368,6 +6463,8 @@
6368
6463
  EmbedErrorCodes["UPDATEFILTERS_INVALID_PAYLOAD"] = "UPDATEFILTERS_INVALID_PAYLOAD";
6369
6464
  /** DrillDown payload is invalid - missing or malformed points */
6370
6465
  EmbedErrorCodes["DRILLDOWN_INVALID_PAYLOAD"] = "DRILLDOWN_INVALID_PAYLOAD";
6466
+ /** UpdateParameters payload is invalid - malformed applicability */
6467
+ EmbedErrorCodes["UPDATEPARAMETERS_INVALID_PAYLOAD"] = "UPDATEPARAMETERS_INVALID_PAYLOAD";
6371
6468
  })(exports.EmbedErrorCodes || (exports.EmbedErrorCodes = {}));
6372
6469
  /**
6373
6470
  * Context types for specifying the page context when triggering host events.
@@ -6546,7 +6643,7 @@
6546
6643
  TableContentDensity["Compact"] = "COMPACT";
6547
6644
  })(exports.TableContentDensity || (exports.TableContentDensity = {}));
6548
6645
 
6549
- var version$1="1.50.0";var pkg = {version:version$1};
6646
+ var version$1="1.50.1";var pkg = {version:version$1};
6550
6647
 
6551
6648
  const { version } = pkg;
6552
6649
 
@@ -6722,6 +6819,7 @@
6722
6819
  INVALID_SPOTTER_DOCUMENTATION_URL: 'Invalid spotterDocumentationUrl. Please provide a valid http or https URL.',
6723
6820
  UPDATEFILTERS_INVALID_PAYLOAD: 'UpdateFilters requires a valid filter or filters array. Expected: { filter: { column, oper, values } } or { filters: [{ column, oper, values }, ...] }',
6724
6821
  DRILLDOWN_INVALID_PAYLOAD: 'DrillDown requires a valid points object. Expected: { points: { clickedPoint?, selectedPoints? }, autoDrillDown?, vizId? }',
6822
+ UPDATEPARAMETERS_INVALID_PAYLOAD: 'UpdateParameters received an invalid applicability. Expected: { level: LIVEBOARD | TAB | GROUP, targetId } where targetId is required for TAB and GROUP levels',
6725
6823
  };
6726
6824
  const CUSTOM_ACTIONS_ERROR_MESSAGE = {
6727
6825
  INVALID_ACTION_OBJECT: 'Custom Action Validation Error: Invalid action object provided',
@@ -6840,7 +6938,7 @@
6840
6938
  * @returns true if the value is a valid CSS margin value, false otherwise
6841
6939
  */
6842
6940
  const isValidCssMargin = (value) => {
6843
- if (isUndefined(value)) {
6941
+ if (isUndefined$1(value)) {
6844
6942
  return false;
6845
6943
  }
6846
6944
  if (typeof value !== 'string') {
@@ -7049,7 +7147,7 @@
7049
7147
  element.style.removeProperty(styleProperty);
7050
7148
  });
7051
7149
  };
7052
- const isUndefined = (value) => value === undefined;
7150
+ const isUndefined$1 = (value) => value === undefined;
7053
7151
  // Return if the value is a string, double or boolean.
7054
7152
  const getTypeFromValue = (value) => {
7055
7153
  if (typeof value === 'string') {
@@ -7354,7 +7452,7 @@
7354
7452
  };
7355
7453
 
7356
7454
  /** Used for built-in method references. */
7357
- var objectProto$c = Object.prototype;
7455
+ var objectProto$d = Object.prototype;
7358
7456
 
7359
7457
  /**
7360
7458
  * Checks if `value` is likely a prototype object.
@@ -7365,7 +7463,7 @@
7365
7463
  */
7366
7464
  function isPrototype(value) {
7367
7465
  var Ctor = value && value.constructor,
7368
- proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$c;
7466
+ proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$d;
7369
7467
 
7370
7468
  return value === proto;
7371
7469
  }
@@ -7394,10 +7492,10 @@
7394
7492
  var _nativeKeys = nativeKeys;
7395
7493
 
7396
7494
  /** Used for built-in method references. */
7397
- var objectProto$b = Object.prototype;
7495
+ var objectProto$c = Object.prototype;
7398
7496
 
7399
7497
  /** Used to check objects for own properties. */
7400
- var hasOwnProperty$a = objectProto$b.hasOwnProperty;
7498
+ var hasOwnProperty$b = objectProto$c.hasOwnProperty;
7401
7499
 
7402
7500
  /**
7403
7501
  * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
@@ -7412,7 +7510,7 @@
7412
7510
  }
7413
7511
  var result = [];
7414
7512
  for (var key in Object(object)) {
7415
- if (hasOwnProperty$a.call(object, key) && key != 'constructor') {
7513
+ if (hasOwnProperty$b.call(object, key) && key != 'constructor') {
7416
7514
  result.push(key);
7417
7515
  }
7418
7516
  }
@@ -7448,17 +7546,17 @@
7448
7546
  var _Symbol = Symbol$1;
7449
7547
 
7450
7548
  /** Used for built-in method references. */
7451
- var objectProto$a = Object.prototype;
7549
+ var objectProto$b = Object.prototype;
7452
7550
 
7453
7551
  /** Used to check objects for own properties. */
7454
- var hasOwnProperty$9 = objectProto$a.hasOwnProperty;
7552
+ var hasOwnProperty$a = objectProto$b.hasOwnProperty;
7455
7553
 
7456
7554
  /**
7457
7555
  * Used to resolve the
7458
7556
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
7459
7557
  * of values.
7460
7558
  */
7461
- var nativeObjectToString$1 = objectProto$a.toString;
7559
+ var nativeObjectToString$1 = objectProto$b.toString;
7462
7560
 
7463
7561
  /** Built-in value references. */
7464
7562
  var symToStringTag$1 = _Symbol ? _Symbol.toStringTag : undefined;
@@ -7471,7 +7569,7 @@
7471
7569
  * @returns {string} Returns the raw `toStringTag`.
7472
7570
  */
7473
7571
  function getRawTag(value) {
7474
- var isOwn = hasOwnProperty$9.call(value, symToStringTag$1),
7572
+ var isOwn = hasOwnProperty$a.call(value, symToStringTag$1),
7475
7573
  tag = value[symToStringTag$1];
7476
7574
 
7477
7575
  try {
@@ -7493,14 +7591,14 @@
7493
7591
  var _getRawTag = getRawTag;
7494
7592
 
7495
7593
  /** Used for built-in method references. */
7496
- var objectProto$9 = Object.prototype;
7594
+ var objectProto$a = Object.prototype;
7497
7595
 
7498
7596
  /**
7499
7597
  * Used to resolve the
7500
7598
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
7501
7599
  * of values.
7502
7600
  */
7503
- var nativeObjectToString = objectProto$9.toString;
7601
+ var nativeObjectToString = objectProto$a.toString;
7504
7602
 
7505
7603
  /**
7506
7604
  * Converts `value` to a string using `Object.prototype.toString`.
@@ -7632,10 +7730,10 @@
7632
7730
  var _isMasked = isMasked;
7633
7731
 
7634
7732
  /** Used for built-in method references. */
7635
- var funcProto$1 = Function.prototype;
7733
+ var funcProto$2 = Function.prototype;
7636
7734
 
7637
7735
  /** Used to resolve the decompiled source of functions. */
7638
- var funcToString$1 = funcProto$1.toString;
7736
+ var funcToString$2 = funcProto$2.toString;
7639
7737
 
7640
7738
  /**
7641
7739
  * Converts `func` to its source code.
@@ -7647,7 +7745,7 @@
7647
7745
  function toSource(func) {
7648
7746
  if (func != null) {
7649
7747
  try {
7650
- return funcToString$1.call(func);
7748
+ return funcToString$2.call(func);
7651
7749
  } catch (e) {}
7652
7750
  try {
7653
7751
  return (func + '');
@@ -7668,18 +7766,18 @@
7668
7766
  var reIsHostCtor = /^\[object .+?Constructor\]$/;
7669
7767
 
7670
7768
  /** Used for built-in method references. */
7671
- var funcProto = Function.prototype,
7672
- objectProto$8 = Object.prototype;
7769
+ var funcProto$1 = Function.prototype,
7770
+ objectProto$9 = Object.prototype;
7673
7771
 
7674
7772
  /** Used to resolve the decompiled source of functions. */
7675
- var funcToString = funcProto.toString;
7773
+ var funcToString$1 = funcProto$1.toString;
7676
7774
 
7677
7775
  /** Used to check objects for own properties. */
7678
- var hasOwnProperty$8 = objectProto$8.hasOwnProperty;
7776
+ var hasOwnProperty$9 = objectProto$9.hasOwnProperty;
7679
7777
 
7680
7778
  /** Used to detect if a method is native. */
7681
7779
  var reIsNative = RegExp('^' +
7682
- funcToString.call(hasOwnProperty$8).replace(reRegExpChar, '\\$&')
7780
+ funcToString$1.call(hasOwnProperty$9).replace(reRegExpChar, '\\$&')
7683
7781
  .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
7684
7782
  );
7685
7783
 
@@ -7757,7 +7855,7 @@
7757
7855
 
7758
7856
  /** `Object#toString` result references. */
7759
7857
  var mapTag$3 = '[object Map]',
7760
- objectTag$2 = '[object Object]',
7858
+ objectTag$3 = '[object Object]',
7761
7859
  promiseTag = '[object Promise]',
7762
7860
  setTag$3 = '[object Set]',
7763
7861
  weakMapTag$1 = '[object WeakMap]';
@@ -7788,7 +7886,7 @@
7788
7886
  (_WeakMap && getTag(new _WeakMap) != weakMapTag$1)) {
7789
7887
  getTag = function(value) {
7790
7888
  var result = _baseGetTag(value),
7791
- Ctor = result == objectTag$2 ? value.constructor : undefined,
7889
+ Ctor = result == objectTag$3 ? value.constructor : undefined,
7792
7890
  ctorString = Ctor ? _toSource(Ctor) : '';
7793
7891
 
7794
7892
  if (ctorString) {
@@ -7853,13 +7951,13 @@
7853
7951
  var _baseIsArguments = baseIsArguments;
7854
7952
 
7855
7953
  /** Used for built-in method references. */
7856
- var objectProto$7 = Object.prototype;
7954
+ var objectProto$8 = Object.prototype;
7857
7955
 
7858
7956
  /** Used to check objects for own properties. */
7859
- var hasOwnProperty$7 = objectProto$7.hasOwnProperty;
7957
+ var hasOwnProperty$8 = objectProto$8.hasOwnProperty;
7860
7958
 
7861
7959
  /** Built-in value references. */
7862
- var propertyIsEnumerable$1 = objectProto$7.propertyIsEnumerable;
7960
+ var propertyIsEnumerable$1 = objectProto$8.propertyIsEnumerable;
7863
7961
 
7864
7962
  /**
7865
7963
  * Checks if `value` is likely an `arguments` object.
@@ -7880,7 +7978,7 @@
7880
7978
  * // => false
7881
7979
  */
7882
7980
  var isArguments = _baseIsArguments(function() { return arguments; }()) ? _baseIsArguments : function(value) {
7883
- return isObjectLike_1(value) && hasOwnProperty$7.call(value, 'callee') &&
7981
+ return isObjectLike_1(value) && hasOwnProperty$8.call(value, 'callee') &&
7884
7982
  !propertyIsEnumerable$1.call(value, 'callee');
7885
7983
  };
7886
7984
 
@@ -8046,10 +8144,10 @@
8046
8144
  funcTag = '[object Function]',
8047
8145
  mapTag$2 = '[object Map]',
8048
8146
  numberTag$1 = '[object Number]',
8049
- objectTag$1 = '[object Object]',
8147
+ objectTag$2 = '[object Object]',
8050
8148
  regexpTag$1 = '[object RegExp]',
8051
8149
  setTag$2 = '[object Set]',
8052
- stringTag$1 = '[object String]',
8150
+ stringTag$2 = '[object String]',
8053
8151
  weakMapTag = '[object WeakMap]';
8054
8152
 
8055
8153
  var arrayBufferTag$1 = '[object ArrayBuffer]',
@@ -8076,8 +8174,8 @@
8076
8174
  typedArrayTags[dataViewTag$1] = typedArrayTags[dateTag$1] =
8077
8175
  typedArrayTags[errorTag$1] = typedArrayTags[funcTag] =
8078
8176
  typedArrayTags[mapTag$2] = typedArrayTags[numberTag$1] =
8079
- typedArrayTags[objectTag$1] = typedArrayTags[regexpTag$1] =
8080
- typedArrayTags[setTag$2] = typedArrayTags[stringTag$1] =
8177
+ typedArrayTags[objectTag$2] = typedArrayTags[regexpTag$1] =
8178
+ typedArrayTags[setTag$2] = typedArrayTags[stringTag$2] =
8081
8179
  typedArrayTags[weakMapTag] = false;
8082
8180
 
8083
8181
  /**
@@ -8169,10 +8267,10 @@
8169
8267
  setTag$1 = '[object Set]';
8170
8268
 
8171
8269
  /** Used for built-in method references. */
8172
- var objectProto$6 = Object.prototype;
8270
+ var objectProto$7 = Object.prototype;
8173
8271
 
8174
8272
  /** Used to check objects for own properties. */
8175
- var hasOwnProperty$6 = objectProto$6.hasOwnProperty;
8273
+ var hasOwnProperty$7 = objectProto$7.hasOwnProperty;
8176
8274
 
8177
8275
  /**
8178
8276
  * Checks if `value` is an empty object, collection, map, or set.
@@ -8224,7 +8322,7 @@
8224
8322
  return !_baseKeys(value).length;
8225
8323
  }
8226
8324
  for (var key in value) {
8227
- if (hasOwnProperty$6.call(value, key)) {
8325
+ if (hasOwnProperty$7.call(value, key)) {
8228
8326
  return false;
8229
8327
  }
8230
8328
  }
@@ -8233,6 +8331,15 @@
8233
8331
 
8234
8332
  var isEmpty_1 = isEmpty$1;
8235
8333
 
8334
+ /**
8335
+ * Levels at which a filter or parameter can be applied.
8336
+ */
8337
+ var ApplicabilityLevel;
8338
+ (function (ApplicabilityLevel) {
8339
+ ApplicabilityLevel["Liveboard"] = "LIVEBOARD";
8340
+ ApplicabilityLevel["Tab"] = "TAB";
8341
+ ApplicabilityLevel["Group"] = "GROUP";
8342
+ })(ApplicabilityLevel || (ApplicabilityLevel = {}));
8236
8343
  exports.UIPassthroughEvent = void 0;
8237
8344
  (function (UIPassthroughEvent) {
8238
8345
  UIPassthroughEvent["PinAnswerToLiveboard"] = "addVizToPinboard";
@@ -9470,10 +9577,10 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
9470
9577
  var HASH_UNDEFINED$2 = '__lodash_hash_undefined__';
9471
9578
 
9472
9579
  /** Used for built-in method references. */
9473
- var objectProto$5 = Object.prototype;
9580
+ var objectProto$6 = Object.prototype;
9474
9581
 
9475
9582
  /** Used to check objects for own properties. */
9476
- var hasOwnProperty$5 = objectProto$5.hasOwnProperty;
9583
+ var hasOwnProperty$6 = objectProto$6.hasOwnProperty;
9477
9584
 
9478
9585
  /**
9479
9586
  * Gets the hash value for `key`.
@@ -9490,16 +9597,16 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
9490
9597
  var result = data[key];
9491
9598
  return result === HASH_UNDEFINED$2 ? undefined : result;
9492
9599
  }
9493
- return hasOwnProperty$5.call(data, key) ? data[key] : undefined;
9600
+ return hasOwnProperty$6.call(data, key) ? data[key] : undefined;
9494
9601
  }
9495
9602
 
9496
9603
  var _hashGet = hashGet;
9497
9604
 
9498
9605
  /** Used for built-in method references. */
9499
- var objectProto$4 = Object.prototype;
9606
+ var objectProto$5 = Object.prototype;
9500
9607
 
9501
9608
  /** Used to check objects for own properties. */
9502
- var hasOwnProperty$4 = objectProto$4.hasOwnProperty;
9609
+ var hasOwnProperty$5 = objectProto$5.hasOwnProperty;
9503
9610
 
9504
9611
  /**
9505
9612
  * Checks if a hash value for `key` exists.
@@ -9512,7 +9619,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
9512
9619
  */
9513
9620
  function hashHas(key) {
9514
9621
  var data = this.__data__;
9515
- return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty$4.call(data, key);
9622
+ return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty$5.call(data, key);
9516
9623
  }
9517
9624
 
9518
9625
  var _hashHas = hashHas;
@@ -10487,7 +10594,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
10487
10594
  numberTag = '[object Number]',
10488
10595
  regexpTag = '[object RegExp]',
10489
10596
  setTag = '[object Set]',
10490
- stringTag = '[object String]',
10597
+ stringTag$1 = '[object String]',
10491
10598
  symbolTag = '[object Symbol]';
10492
10599
 
10493
10600
  var arrayBufferTag = '[object ArrayBuffer]',
@@ -10542,7 +10649,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
10542
10649
  return object.name == other.name && object.message == other.message;
10543
10650
 
10544
10651
  case regexpTag:
10545
- case stringTag:
10652
+ case stringTag$1:
10546
10653
  // Coerce regexes to strings and treat strings, primitives and objects,
10547
10654
  // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
10548
10655
  // for more details.
@@ -10650,10 +10757,10 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
10650
10757
  var stubArray_1 = stubArray;
10651
10758
 
10652
10759
  /** Used for built-in method references. */
10653
- var objectProto$3 = Object.prototype;
10760
+ var objectProto$4 = Object.prototype;
10654
10761
 
10655
10762
  /** Built-in value references. */
10656
- var propertyIsEnumerable = objectProto$3.propertyIsEnumerable;
10763
+ var propertyIsEnumerable = objectProto$4.propertyIsEnumerable;
10657
10764
 
10658
10765
  /* Built-in method references for those with the same name as other `lodash` methods. */
10659
10766
  var nativeGetSymbols = Object.getOwnPropertySymbols;
@@ -10725,10 +10832,10 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
10725
10832
  var _isIndex = isIndex;
10726
10833
 
10727
10834
  /** Used for built-in method references. */
10728
- var objectProto$2 = Object.prototype;
10835
+ var objectProto$3 = Object.prototype;
10729
10836
 
10730
10837
  /** Used to check objects for own properties. */
10731
- var hasOwnProperty$3 = objectProto$2.hasOwnProperty;
10838
+ var hasOwnProperty$4 = objectProto$3.hasOwnProperty;
10732
10839
 
10733
10840
  /**
10734
10841
  * Creates an array of the enumerable property names of the array-like `value`.
@@ -10748,7 +10855,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
10748
10855
  length = result.length;
10749
10856
 
10750
10857
  for (var key in value) {
10751
- if ((inherited || hasOwnProperty$3.call(value, key)) &&
10858
+ if ((inherited || hasOwnProperty$4.call(value, key)) &&
10752
10859
  !(skipIndexes && (
10753
10860
  // Safari 9 has enumerable `arguments.length` in strict mode.
10754
10861
  key == 'length' ||
@@ -10818,10 +10925,10 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
10818
10925
  var COMPARE_PARTIAL_FLAG$3 = 1;
10819
10926
 
10820
10927
  /** Used for built-in method references. */
10821
- var objectProto$1 = Object.prototype;
10928
+ var objectProto$2 = Object.prototype;
10822
10929
 
10823
10930
  /** Used to check objects for own properties. */
10824
- var hasOwnProperty$2 = objectProto$1.hasOwnProperty;
10931
+ var hasOwnProperty$3 = objectProto$2.hasOwnProperty;
10825
10932
 
10826
10933
  /**
10827
10934
  * A specialized version of `baseIsEqualDeep` for objects with support for
@@ -10849,7 +10956,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
10849
10956
  var index = objLength;
10850
10957
  while (index--) {
10851
10958
  var key = objProps[index];
10852
- if (!(isPartial ? key in other : hasOwnProperty$2.call(other, key))) {
10959
+ if (!(isPartial ? key in other : hasOwnProperty$3.call(other, key))) {
10853
10960
  return false;
10854
10961
  }
10855
10962
  }
@@ -10909,13 +11016,13 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
10909
11016
  /** `Object#toString` result references. */
10910
11017
  var argsTag = '[object Arguments]',
10911
11018
  arrayTag = '[object Array]',
10912
- objectTag = '[object Object]';
11019
+ objectTag$1 = '[object Object]';
10913
11020
 
10914
11021
  /** Used for built-in method references. */
10915
- var objectProto = Object.prototype;
11022
+ var objectProto$1 = Object.prototype;
10916
11023
 
10917
11024
  /** Used to check objects for own properties. */
10918
- var hasOwnProperty$1 = objectProto.hasOwnProperty;
11025
+ var hasOwnProperty$2 = objectProto$1.hasOwnProperty;
10919
11026
 
10920
11027
  /**
10921
11028
  * A specialized version of `baseIsEqual` for arrays and objects which performs
@@ -10937,11 +11044,11 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
10937
11044
  objTag = objIsArr ? arrayTag : _getTag(object),
10938
11045
  othTag = othIsArr ? arrayTag : _getTag(other);
10939
11046
 
10940
- objTag = objTag == argsTag ? objectTag : objTag;
10941
- othTag = othTag == argsTag ? objectTag : othTag;
11047
+ objTag = objTag == argsTag ? objectTag$1 : objTag;
11048
+ othTag = othTag == argsTag ? objectTag$1 : othTag;
10942
11049
 
10943
- var objIsObj = objTag == objectTag,
10944
- othIsObj = othTag == objectTag,
11050
+ var objIsObj = objTag == objectTag$1,
11051
+ othIsObj = othTag == objectTag$1,
10945
11052
  isSameTag = objTag == othTag;
10946
11053
 
10947
11054
  if (isSameTag && isBuffer_1(object)) {
@@ -10958,8 +11065,8 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
10958
11065
  : _equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
10959
11066
  }
10960
11067
  if (!(bitmask & COMPARE_PARTIAL_FLAG$2)) {
10961
- var objIsWrapped = objIsObj && hasOwnProperty$1.call(object, '__wrapped__'),
10962
- othIsWrapped = othIsObj && hasOwnProperty$1.call(other, '__wrapped__');
11068
+ var objIsWrapped = objIsObj && hasOwnProperty$2.call(object, '__wrapped__'),
11069
+ othIsWrapped = othIsObj && hasOwnProperty$2.call(other, '__wrapped__');
10963
11070
 
10964
11071
  if (objIsWrapped || othIsWrapped) {
10965
11072
  var objUnwrapped = objIsWrapped ? object.value() : object,
@@ -12170,7 +12277,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
12170
12277
  var ObjProto = Object.prototype;
12171
12278
  var slice = ArrayProto.slice;
12172
12279
  var toString = ObjProto.toString;
12173
- var hasOwnProperty = ObjProto.hasOwnProperty;
12280
+ var hasOwnProperty$1 = ObjProto.hasOwnProperty;
12174
12281
  var windowConsole = window$1.console;
12175
12282
  var navigator = window$1.navigator;
12176
12283
  var document$1 = window$1.document;
@@ -12307,7 +12414,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
12307
12414
  }
12308
12415
  } else {
12309
12416
  for (var key in obj) {
12310
- if (hasOwnProperty.call(obj, key)) {
12417
+ if (hasOwnProperty$1.call(obj, key)) {
12311
12418
  if (iterator.call(context, obj[key], key, obj) === breaker) {
12312
12419
  return;
12313
12420
  }
@@ -12343,7 +12450,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
12343
12450
  };
12344
12451
 
12345
12452
  _.isArguments = function(obj) {
12346
- return !!(obj && hasOwnProperty.call(obj, 'callee'));
12453
+ return !!(obj && hasOwnProperty$1.call(obj, 'callee'));
12347
12454
  };
12348
12455
 
12349
12456
  _.toArray = function(iterable) {
@@ -12431,7 +12538,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
12431
12538
  _.isEmptyObject = function(obj) {
12432
12539
  if (_.isObject(obj)) {
12433
12540
  for (var key in obj) {
12434
- if (hasOwnProperty.call(obj, key)) {
12541
+ if (hasOwnProperty$1.call(obj, key)) {
12435
12542
  return false;
12436
12543
  }
12437
12544
  }
@@ -12623,7 +12730,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
12623
12730
 
12624
12731
  // Iterate through all of the keys in the object.
12625
12732
  for (k in value) {
12626
- if (hasOwnProperty.call(value, k)) {
12733
+ if (hasOwnProperty$1.call(value, k)) {
12627
12734
  v = str(k, value);
12628
12735
  if (v) {
12629
12736
  partial.push(quote(k) + (gap ? ': ' : ':') + v);
@@ -20044,6 +20151,154 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
20044
20151
  return eventData;
20045
20152
  }
20046
20153
 
20154
+ /**
20155
+ * Checks if `value` is `null` or `undefined`.
20156
+ *
20157
+ * @static
20158
+ * @memberOf _
20159
+ * @since 4.0.0
20160
+ * @category Lang
20161
+ * @param {*} value The value to check.
20162
+ * @returns {boolean} Returns `true` if `value` is nullish, else `false`.
20163
+ * @example
20164
+ *
20165
+ * _.isNil(null);
20166
+ * // => true
20167
+ *
20168
+ * _.isNil(void 0);
20169
+ * // => true
20170
+ *
20171
+ * _.isNil(NaN);
20172
+ * // => false
20173
+ */
20174
+ function isNil(value) {
20175
+ return value == null;
20176
+ }
20177
+
20178
+ var isNil_1 = isNil;
20179
+
20180
+ /** Built-in value references. */
20181
+ var getPrototype = _overArg(Object.getPrototypeOf, Object);
20182
+
20183
+ var _getPrototype = getPrototype;
20184
+
20185
+ /** `Object#toString` result references. */
20186
+ var objectTag = '[object Object]';
20187
+
20188
+ /** Used for built-in method references. */
20189
+ var funcProto = Function.prototype,
20190
+ objectProto = Object.prototype;
20191
+
20192
+ /** Used to resolve the decompiled source of functions. */
20193
+ var funcToString = funcProto.toString;
20194
+
20195
+ /** Used to check objects for own properties. */
20196
+ var hasOwnProperty = objectProto.hasOwnProperty;
20197
+
20198
+ /** Used to infer the `Object` constructor. */
20199
+ var objectCtorString = funcToString.call(Object);
20200
+
20201
+ /**
20202
+ * Checks if `value` is a plain object, that is, an object created by the
20203
+ * `Object` constructor or one with a `[[Prototype]]` of `null`.
20204
+ *
20205
+ * @static
20206
+ * @memberOf _
20207
+ * @since 0.8.0
20208
+ * @category Lang
20209
+ * @param {*} value The value to check.
20210
+ * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
20211
+ * @example
20212
+ *
20213
+ * function Foo() {
20214
+ * this.a = 1;
20215
+ * }
20216
+ *
20217
+ * _.isPlainObject(new Foo);
20218
+ * // => false
20219
+ *
20220
+ * _.isPlainObject([1, 2, 3]);
20221
+ * // => false
20222
+ *
20223
+ * _.isPlainObject({ 'x': 0, 'y': 0 });
20224
+ * // => true
20225
+ *
20226
+ * _.isPlainObject(Object.create(null));
20227
+ * // => true
20228
+ */
20229
+ function isPlainObject(value) {
20230
+ if (!isObjectLike_1(value) || _baseGetTag(value) != objectTag) {
20231
+ return false;
20232
+ }
20233
+ var proto = _getPrototype(value);
20234
+ if (proto === null) {
20235
+ return true;
20236
+ }
20237
+ var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;
20238
+ return typeof Ctor == 'function' && Ctor instanceof Ctor &&
20239
+ funcToString.call(Ctor) == objectCtorString;
20240
+ }
20241
+
20242
+ var isPlainObject_1 = isPlainObject;
20243
+
20244
+ /** `Object#toString` result references. */
20245
+ var stringTag = '[object String]';
20246
+
20247
+ /**
20248
+ * Checks if `value` is classified as a `String` primitive or object.
20249
+ *
20250
+ * @static
20251
+ * @since 0.1.0
20252
+ * @memberOf _
20253
+ * @category Lang
20254
+ * @param {*} value The value to check.
20255
+ * @returns {boolean} Returns `true` if `value` is a string, else `false`.
20256
+ * @example
20257
+ *
20258
+ * _.isString('abc');
20259
+ * // => true
20260
+ *
20261
+ * _.isString(1);
20262
+ * // => false
20263
+ */
20264
+ function isString(value) {
20265
+ return typeof value == 'string' ||
20266
+ (!isArray_1(value) && isObjectLike_1(value) && _baseGetTag(value) == stringTag);
20267
+ }
20268
+
20269
+ var isString_1 = isString;
20270
+
20271
+ /**
20272
+ * Checks if `value` is `undefined`.
20273
+ *
20274
+ * @static
20275
+ * @since 0.1.0
20276
+ * @memberOf _
20277
+ * @category Lang
20278
+ * @param {*} value The value to check.
20279
+ * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.
20280
+ * @example
20281
+ *
20282
+ * _.isUndefined(void 0);
20283
+ * // => true
20284
+ *
20285
+ * _.isUndefined(null);
20286
+ * // => false
20287
+ */
20288
+ function isUndefined(value) {
20289
+ return value === undefined;
20290
+ }
20291
+
20292
+ var isUndefined_1 = isUndefined;
20293
+
20294
+ const isValidApplicability = (a) => {
20295
+ if (isUndefined_1(a))
20296
+ return true;
20297
+ // targetId is not required at LIVEBOARD level, since the filter applies to the whole Liveboard
20298
+ return isPlainObject_1(a)
20299
+ && Object.values(ApplicabilityLevel).includes(a.level)
20300
+ && (a.level === ApplicabilityLevel.Liveboard || (isString_1(a.targetId) && a.targetId.trim().length > 0));
20301
+ };
20047
20302
  function isValidUpdateFiltersPayload(payload) {
20048
20303
  if (!payload)
20049
20304
  return false;
@@ -20052,12 +20307,23 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
20052
20307
  const hasOperator = typeof f.oper === 'string' || typeof f.operator === 'string';
20053
20308
  const hasValues = Array.isArray(f.values);
20054
20309
  const validType = !f.type || typeof f.type === 'string';
20055
- return hasColumn && hasOperator && hasValues && validType;
20310
+ return hasColumn && hasOperator && hasValues && validType && isValidApplicability(f.applicability);
20056
20311
  };
20057
20312
  const hasValidFilter = payload.filter && isValidFilter(payload.filter);
20058
20313
  const hasValidFilters = Array.isArray(payload.filters) && payload.filters.length > 0 && payload.filters.every(isValidFilter);
20059
20314
  return !!(hasValidFilter || hasValidFilters);
20060
20315
  }
20316
+ function isValidUpdateParametersPayload(payload) {
20317
+ // Only validates the applicability of each parameter (null treated as absent); the rest is forwarded as-is for backward compatibility.
20318
+ if (!Array.isArray(payload))
20319
+ return true;
20320
+ return payload.every((p) => {
20321
+ if (!isPlainObject_1(p))
20322
+ return true;
20323
+ const { applicability } = p;
20324
+ return isNil_1(applicability) || isValidApplicability(applicability);
20325
+ });
20326
+ }
20061
20327
  function isValidDrillDownPayload(payload) {
20062
20328
  if (!payload)
20063
20329
  return false;
@@ -20088,6 +20354,9 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
20088
20354
  }
20089
20355
  function throwDrillDownValidationError() {
20090
20356
  createValidationError(ERROR_MESSAGE.DRILLDOWN_INVALID_PAYLOAD);
20357
+ }
20358
+ function throwUpdateParametersValidationError() {
20359
+ createValidationError(ERROR_MESSAGE.UPDATEPARAMETERS_INVALID_PAYLOAD);
20091
20360
  }
20092
20361
 
20093
20362
  /**
@@ -20119,6 +20388,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
20119
20388
  [exports.HostEvent.Pin]: (p, c) => this.handlePinEvent(p, c),
20120
20389
  [exports.HostEvent.SaveAnswer]: (p, c) => this.handleSaveAnswerEvent(p, c),
20121
20390
  [exports.HostEvent.UpdateFilters]: (p, c) => this.handleUpdateFiltersEvent(p, c),
20391
+ [exports.HostEvent.UpdateParameters]: (p, c) => this.handleUpdateParametersEvent(p, c),
20122
20392
  [exports.HostEvent.DrillDown]: (p, c) => this.handleDrillDownEvent(p, c),
20123
20393
  };
20124
20394
  }
@@ -20243,6 +20513,13 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
20243
20513
  }
20244
20514
  return this.handleHostEventWithParam(exports.UIPassthroughEvent.UpdateFilters, payload, context);
20245
20515
  }
20516
+ handleUpdateParametersEvent(payload, context) {
20517
+ if (!isValidUpdateParametersPayload(payload)) {
20518
+ throwUpdateParametersValidationError();
20519
+ }
20520
+ // UpdateParameters has no UI passthrough contract; dispatch over the legacy channel
20521
+ return this.hostEventFallback(exports.HostEvent.UpdateParameters, payload, context);
20522
+ }
20246
20523
  handleDrillDownEvent(payload, context) {
20247
20524
  if (!isValidDrillDownPayload(payload)) {
20248
20525
  throwDrillDownValidationError();
@@ -21028,7 +21305,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
21028
21305
  if (this.embedConfig.currencyFormat) {
21029
21306
  queryParams[Param.CurrencyFormat] = this.embedConfig.currencyFormat;
21030
21307
  }
21031
- const { disabledActions, disabledActionReason, hiddenActions, visibleActions, hiddenTabs, visibleTabs, showAlerts, additionalFlags: additionalFlagsFromView, locale, customizations, contextMenuTrigger, linkOverride, enableLinkOverridesV2, insertInToSlide, disableRedirectionLinksInNewTab, overrideOrgId, exposeTranslationIDs, primaryAction, } = this.viewConfig;
21308
+ const { disabledActions, disabledActionReason, hiddenActions, visibleActions, hiddenTabs, visibleTabs, showAlerts, additionalFlags: additionalFlagsFromView, locale, customizations, contextMenuTrigger, linkOverride, enableLinkOverridesV2, insertInToSlide, disableRedirectionLinksInNewTab, overrideOrgId, overrideHistoryState, exposeTranslationIDs, primaryAction, } = this.viewConfig;
21032
21309
  const { additionalFlags: additionalFlagsFromInit } = this.embedConfig;
21033
21310
  const additionalFlags = {
21034
21311
  ...additionalFlagsFromInit,
@@ -21116,6 +21393,9 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
21116
21393
  if (overrideOrgId !== undefined) {
21117
21394
  queryParams[Param.OverrideOrgId] = overrideOrgId;
21118
21395
  }
21396
+ if (overrideHistoryState !== undefined) {
21397
+ queryParams[Param.OverrideHistoryState] = overrideHistoryState;
21398
+ }
21119
21399
  if (this.isPreAuthCacheEnabled()) {
21120
21400
  queryParams[Param.preAuthCache] = true;
21121
21401
  }
@@ -22048,7 +22328,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
22048
22328
  * wrapper to overlay it.
22049
22329
  */
22050
22330
  async showPreRender() {
22051
- var _a;
22331
+ var _a, _b;
22052
22332
  if (this.shouldWaitForRenderPromise)
22053
22333
  await this.isReadyForRenderPromise;
22054
22334
  if (!this.viewConfig.preRenderId) {
@@ -22072,10 +22352,14 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
22072
22352
  }
22073
22353
  }
22074
22354
  const placeHolderId = this.getPreRenderIds().placeHolder;
22075
- const oldEle = this.hostElement.querySelector(`#${placeHolderId}`);
22076
- if (oldEle) {
22077
- this.hostElement.removeChild(oldEle);
22078
- }
22355
+ // Remove any stale placeholder from a previous cycle. It is located
22356
+ // via a subtree-wide querySelector, so it may be nested deeper than a
22357
+ // direct child (E.g.: with fullHeight the host app can wrap it). Use
22358
+ // Element.remove() — which detaches from whatever the real parent is —
22359
+ // rather than hostElement.removeChild(), which throws NotFoundError
22360
+ // when the match is not a direct child. Mirrors the wrapper/child
22361
+ // cleanup in createPreRenderWrapper()/createPreRenderChild().
22362
+ (_a = this.hostElement.querySelector(`#${placeHolderId}`)) === null || _a === void 0 ? void 0 : _a.remove();
22079
22363
  this.hostElement.appendChild(this.insertedDomEl);
22080
22364
  this.syncPreRenderStyle();
22081
22365
  const customContainer = this.preRenderContainerEl && this.preRenderContainerEl !== document.body
@@ -22086,7 +22370,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
22086
22370
  customContainer.addEventListener('scroll', this.containerScrollListener);
22087
22371
  }
22088
22372
  if (!this.viewConfig.doNotTrackPreRenderSize) {
22089
- const observeTarget = (_a = this.insertedDomEl) !== null && _a !== void 0 ? _a : this.hostElement;
22373
+ const observeTarget = (_b = this.insertedDomEl) !== null && _b !== void 0 ? _b : this.hostElement;
22090
22374
  this.resizeObserver = new ResizeObserver((entries) => {
22091
22375
  entries.forEach((entry) => {
22092
22376
  if (entry.target === observeTarget) {
@@ -22418,6 +22702,10 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
22418
22702
  * Monitor Alerts Page
22419
22703
  */
22420
22704
  Page["Monitor"] = "monitor";
22705
+ /**
22706
+ * Collections listing page
22707
+ */
22708
+ Page["Collections"] = "collections";
22421
22709
  })(exports.Page || (exports.Page = {}));
22422
22710
  /**
22423
22711
  * Define the initial state of column custom group accordions
@@ -22588,7 +22876,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
22588
22876
  * embedded Liveboard or visualization.
22589
22877
  */
22590
22878
  getEmbedParams() {
22591
- 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 = exports.DataPanelCustomColumnGroupsAccordionState.EXPAND_ALL, collapseSearchBar = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, isEnhancedFilterInteractivityEnabled = false, homePageSearchBarMode, isUnifiedSearchExperienceEnabled = true, enablePendoHelp = true, discoveryExperience, coverAndFilterOptionInPDF = false, isLiveboardStylingAndGroupingEnabled, isPNGInScheduledEmailsEnabled = false, isLiveboardXLSXCSVDownloadEnabled = false, isGranularXLSXCSVSchedulesEnabled = false, isCentralizedLiveboardFilterUXEnabled = false, isLinkParametersEnabled, updatedSpotterChatPrompt, enableStopAnswerGenerationEmbed, spotterChatConfig, minimumHeight, isThisPeriodInDateFiltersEnabled, enableHomepageAnnouncement = false, isContinuousLiveboardPDFEnabled = false, enableLiveboardDataCache, } = this.viewConfig;
22879
+ 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 = exports.DataPanelCustomColumnGroupsAccordionState.EXPAND_ALL, collapseSearchBar = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, isEnhancedFilterInteractivityEnabled = false, homePageSearchBarMode, isUnifiedSearchExperienceEnabled = true, enablePendoHelp = true, discoveryExperience, coverAndFilterOptionInPDF = false, isLiveboardStylingAndGroupingEnabled, isPNGInScheduledEmailsEnabled = false, isLiveboardXLSXCSVDownloadEnabled = false, isGranularXLSXCSVSchedulesEnabled = false, isCentralizedLiveboardFilterUXEnabled = false, isLinkParametersEnabled, updatedSpotterChatPrompt, defaultQueryMode, enableStopAnswerGenerationEmbed, spotterChatConfig, minimumHeight, isThisPeriodInDateFiltersEnabled, enableHomepageAnnouncement = false, isContinuousLiveboardPDFEnabled = false, enableLiveboardDataCache, } = this.viewConfig;
22592
22880
  let params = {};
22593
22881
  params[Param.PrimaryNavHidden] = !showPrimaryNavbar;
22594
22882
  params[Param.HideProfleAndHelp] = !!disableProfileAndHelp;
@@ -22614,10 +22902,13 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
22614
22902
  }
22615
22903
  params[Param.CoverAndFilterOptionInPDF] = !!coverAndFilterOptionInPDF;
22616
22904
  params = this.getBaseQueryParams(params);
22617
- if (!isUndefined(updatedSpotterChatPrompt)) {
22905
+ if (!isUndefined$1(updatedSpotterChatPrompt)) {
22618
22906
  params[Param.UpdatedSpotterChatPrompt] = !!updatedSpotterChatPrompt;
22619
22907
  }
22620
- if (!isUndefined(enableStopAnswerGenerationEmbed)) {
22908
+ if (!isUndefined$1(defaultQueryMode)) {
22909
+ params[Param.DefaultQueryMode] = defaultQueryMode;
22910
+ }
22911
+ if (!isUndefined$1(enableStopAnswerGenerationEmbed)) {
22621
22912
  params[Param.EnableStopAnswerGenerationEmbed] = !!enableStopAnswerGenerationEmbed;
22622
22913
  }
22623
22914
  // Handle spotterChatConfig params
@@ -22767,7 +23058,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
22767
23058
  // The Focused (V4) homepage experience requires the updated
22768
23059
  // Spotter chat prompt. Enable it automatically unless the
22769
23060
  // developer has explicitly set updatedSpotterChatPrompt.
22770
- if (isUndefined(updatedSpotterChatPrompt)) {
23061
+ if (isUndefined$1(updatedSpotterChatPrompt)) {
22771
23062
  params[Param.UpdatedSpotterChatPrompt] = true;
22772
23063
  }
22773
23064
  }
@@ -22808,6 +23099,8 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
22808
23099
  return modularHomeExperience ? 'home/spotiq-analysis' : 'insights/results';
22809
23100
  case exports.Page.Monitor:
22810
23101
  return modularHomeExperience ? 'home/monitor-alerts' : 'insights/monitor-alerts';
23102
+ case exports.Page.Collections:
23103
+ return 'collections';
22811
23104
  case exports.Page.Home:
22812
23105
  default:
22813
23106
  return 'home';
@@ -22840,11 +23133,13 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
22840
23133
  * @version SDK: 1.12.0 | ThoughtSpot: 8.4.0.cl, 8.4.1-sw
22841
23134
  */
22842
23135
  navigateToPage(path, noReload = false) {
23136
+ var _a;
22843
23137
  if (!this.iFrame) {
22844
23138
  logger$3.log('Please call render before invoking this method');
22845
23139
  return;
22846
23140
  }
22847
- if (noReload) {
23141
+ const overrideHistoryState = (_a = this.viewConfig) === null || _a === void 0 ? void 0 : _a.overrideHistoryState;
23142
+ if (noReload || overrideHistoryState) {
22848
23143
  this.trigger(exports.HostEvent.Navigate, path);
22849
23144
  }
22850
23145
  else {
@@ -23132,10 +23427,10 @@ query GetEurekaVizSnapshots(
23132
23427
  if (preventLiveboardFilterRemoval) {
23133
23428
  params[Param.preventLiveboardFilterRemoval] = true;
23134
23429
  }
23135
- if (!isUndefined(updatedSpotterChatPrompt)) {
23430
+ if (!isUndefined$1(updatedSpotterChatPrompt)) {
23136
23431
  params[Param.UpdatedSpotterChatPrompt] = !!updatedSpotterChatPrompt;
23137
23432
  }
23138
- if (!isUndefined(enableStopAnswerGenerationEmbed)) {
23433
+ if (!isUndefined$1(enableStopAnswerGenerationEmbed)) {
23139
23434
  params[Param.EnableStopAnswerGenerationEmbed] = !!enableStopAnswerGenerationEmbed;
23140
23435
  }
23141
23436
  if (visibleVizs) {
@@ -23336,7 +23631,7 @@ query GetEurekaVizSnapshots(
23336
23631
  });
23337
23632
  }
23338
23633
  async handleRenderForPrerender() {
23339
- if (isUndefined(this.viewConfig.liveboardId)) {
23634
+ if (isUndefined$1(this.viewConfig.liveboardId)) {
23340
23635
  return this.prerenderGeneric();
23341
23636
  }
23342
23637
  return super.handleRenderForPrerender();
@@ -24255,6 +24550,15 @@ query SendMessage($params: Input_convassist_SendMessageRequest) {
24255
24550
  }
24256
24551
  }
24257
24552
 
24553
+ /**
24554
+ * The query mode Spotter uses when answering a question.
24555
+ * @version SDK: 1.52.0 | ThoughtSpot Cloud: 26.9.0.cl
24556
+ */
24557
+ exports.SpotterQueryMode = void 0;
24558
+ (function (SpotterQueryMode) {
24559
+ SpotterQueryMode["FAST_SEARCH"] = "fastSearch";
24560
+ SpotterQueryMode["RESEARCH"] = "research";
24561
+ })(exports.SpotterQueryMode || (exports.SpotterQueryMode = {}));
24258
24562
  /**
24259
24563
  * Embed ThoughtSpot AI Conversation.
24260
24564
  * @version SDK: 1.37.0 | ThoughtSpot: 10.9.0.cl
@@ -24298,7 +24602,7 @@ query SendMessage($params: Input_convassist_SendMessageRequest) {
24298
24602
  return buildSpotterSidebarAppInitData(defaultAppInitData, this.viewConfig, this.handleError.bind(this));
24299
24603
  }
24300
24604
  getEmbedParamsObject() {
24301
- const { worksheetId, searchOptions, disableSourceSelection, hideSourceSelection, dataPanelV2, showSpotterLimitations, hideSampleQuestions, runtimeFilters, excludeRuntimeFiltersfromURL, runtimeParameters, excludeRuntimeParametersfromURL, updatedSpotterChatPrompt, enableStopAnswerGenerationEmbed, spotterChatConfig, } = this.viewConfig;
24605
+ const { worksheetId, searchOptions, disableSourceSelection, hideSourceSelection, dataPanelV2, showSpotterLimitations, hideSampleQuestions, runtimeFilters, excludeRuntimeFiltersfromURL, runtimeParameters, excludeRuntimeParametersfromURL, updatedSpotterChatPrompt, defaultQueryMode, enableStopAnswerGenerationEmbed, spotterChatConfig, } = this.viewConfig;
24302
24606
  if (!worksheetId) {
24303
24607
  this.handleError({
24304
24608
  errorType: exports.ErrorDetailsTypes.VALIDATION_ERROR,
@@ -24316,6 +24620,7 @@ query SendMessage($params: Input_convassist_SendMessageRequest) {
24316
24620
  setParamIfDefined(queryParams, Param.ShowSpotterLimitations, showSpotterLimitations, true);
24317
24621
  setParamIfDefined(queryParams, Param.HideSampleQuestions, hideSampleQuestions, true);
24318
24622
  setParamIfDefined(queryParams, Param.UpdatedSpotterChatPrompt, updatedSpotterChatPrompt, true);
24623
+ setParamIfDefined(queryParams, Param.DefaultQueryMode, defaultQueryMode);
24319
24624
  setParamIfDefined(queryParams, Param.EnableStopAnswerGenerationEmbed, enableStopAnswerGenerationEmbed, true);
24320
24625
  // Handle spotterChatConfig params
24321
24626
  if (spotterChatConfig) {