@thoughtspot/visual-embed-sdk 1.35.5-hostEvent.7 → 1.35.5-hostEvent.8

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 (58) hide show
  1. package/cjs/package.json +1 -1
  2. package/cjs/src/embed/app.d.ts +1 -1
  3. package/cjs/src/embed/base.d.ts +1 -1
  4. package/cjs/src/embed/base.js +1 -1
  5. package/cjs/src/embed/hostEventClient/host-event-client.d.ts.map +1 -1
  6. package/cjs/src/embed/hostEventClient/host-event-client.js +1 -1
  7. package/cjs/src/embed/hostEventClient/host-event-client.js.map +1 -1
  8. package/cjs/src/embed/liveboard.d.ts +8 -7
  9. package/cjs/src/embed/liveboard.d.ts.map +1 -1
  10. package/cjs/src/embed/liveboard.js +2 -2
  11. package/cjs/src/embed/liveboard.js.map +1 -1
  12. package/cjs/src/embed/ts-embed.d.ts +1 -1
  13. package/cjs/src/embed/ts-embed.js +1 -1
  14. package/cjs/src/types.d.ts +25 -20
  15. package/cjs/src/types.d.ts.map +1 -1
  16. package/cjs/src/types.js +19 -18
  17. package/cjs/src/types.js.map +1 -1
  18. package/dist/index-nWevLycs.js +7370 -0
  19. package/dist/src/embed/app.d.ts +1 -1
  20. package/dist/src/embed/base.d.ts +1 -1
  21. package/dist/src/embed/hostEventClient/host-event-client.d.ts.map +1 -1
  22. package/dist/src/embed/liveboard.d.ts +8 -7
  23. package/dist/src/embed/liveboard.d.ts.map +1 -1
  24. package/dist/src/embed/ts-embed.d.ts +1 -1
  25. package/dist/src/types.d.ts +25 -20
  26. package/dist/src/types.d.ts.map +1 -1
  27. package/dist/tsembed-react.es.js +26 -25
  28. package/dist/tsembed-react.js +25 -24
  29. package/dist/tsembed.es.js +27 -26
  30. package/dist/tsembed.js +26 -25
  31. package/dist/visual-embed-sdk-react-full.d.ts +36 -30
  32. package/dist/visual-embed-sdk-react.d.ts +36 -30
  33. package/dist/visual-embed-sdk.d.ts +36 -30
  34. package/lib/package.json +1 -1
  35. package/lib/src/embed/app.d.ts +1 -1
  36. package/lib/src/embed/base.d.ts +1 -1
  37. package/lib/src/embed/base.js +1 -1
  38. package/lib/src/embed/hostEventClient/host-event-client.d.ts.map +1 -1
  39. package/lib/src/embed/hostEventClient/host-event-client.js +1 -1
  40. package/lib/src/embed/hostEventClient/host-event-client.js.map +1 -1
  41. package/lib/src/embed/liveboard.d.ts +8 -7
  42. package/lib/src/embed/liveboard.d.ts.map +1 -1
  43. package/lib/src/embed/liveboard.js +2 -2
  44. package/lib/src/embed/liveboard.js.map +1 -1
  45. package/lib/src/embed/ts-embed.d.ts +1 -1
  46. package/lib/src/embed/ts-embed.js +1 -1
  47. package/lib/src/types.d.ts +25 -20
  48. package/lib/src/types.d.ts.map +1 -1
  49. package/lib/src/types.js +19 -18
  50. package/lib/src/types.js.map +1 -1
  51. package/lib/src/visual-embed-sdk.d.ts +36 -30
  52. package/package.json +1 -1
  53. package/src/embed/app.ts +1 -1
  54. package/src/embed/base.ts +1 -1
  55. package/src/embed/hostEventClient/host-event-client.ts +1 -6
  56. package/src/embed/liveboard.ts +8 -7
  57. package/src/embed/ts-embed.ts +1 -1
  58. package/src/types.ts +25 -20
@@ -1,4 +1,4 @@
1
- /* @thoughtspot/visual-embed-sdk version 1.35.5-hostEvent.7 */
1
+ /* @thoughtspot/visual-embed-sdk version 1.35.5-hostEvent.8 */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) :
4
4
  typeof define === 'function' && define.amd ? define(['exports', 'react'], factory) :
@@ -1851,7 +1851,7 @@
1851
1851
  * @param - autoDrillDown - Optional. If true, the drill down will be
1852
1852
  * done automatically on the most popular column.
1853
1853
  * @param - vizId [TS >= 9.8.0] - Optional. The GUID of the visualization to drill
1854
- * in case of a liveboard.
1854
+ * in case of a Liveboard.
1855
1855
  * @example
1856
1856
  * ```js
1857
1857
  * searchEmbed.on(EmbedEvent.VizPointDoubleClick, (payload) => {
@@ -1938,26 +1938,26 @@
1938
1938
  */
1939
1939
  HostEvent["SetActiveTab"] = "SetActiveTab";
1940
1940
  /**
1941
- * Update runtime filters applied on a Saved Answer or Liveboard. The
1942
- * runtime filters passed here are appended to the existing runtime
1943
- * filters.
1941
+ * Updates the runtime filters applied on a Liveboard. The filter
1942
+ * attributes passed with this event are appended to the existing runtime
1943
+ * filters applied on a Liveboard.
1944
+ *
1944
1945
  * Pass an array of runtime filters with the following attributes:
1945
1946
  *
1946
- * `columnName`
1947
- * _String_. The name of the column to filter on.
1947
+ * `columnName` - _String_. The name of the column to filter on.
1948
1948
  *
1949
- * `operator`
1950
- * Runtime filter operator to apply. For information,
1949
+ * `operator` - Runtime filter operator to apply. For more information,
1951
1950
  * see link:https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator[Developer Documentation].
1952
1951
  *
1953
- * `values`
1954
- * List of operands. Some operators such as EQ, LE allow a single value, whereas
1955
- * operators such as BW and IN accept multiple operands.
1952
+ * `values` - List of operands. Some operators such as EQ and LE allow a
1953
+ * single value, whereas BW and IN accept multiple values.
1954
+ *
1955
+ * **Note**: `HostEvent.UpdateRuntimeFilters` is supported in `LiveboardEmbed`
1956
+ * and `AppEmbed` only. In full application embedding, this event updates
1957
+ * the runtime filters applied on the Liveboard and saved Answer objects.
1956
1958
  *
1957
- * **Note**: `HostEvent.UpdateRuntimeFilters` is not supported in
1958
- * Search embedding (SearchEmbed) and Natural Language Search
1959
- * embedding (SageEmbed).
1960
1959
  * @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
1960
+ *
1961
1961
  * @example
1962
1962
  * ```js
1963
1963
  * liveboardEmbed.trigger(HostEvent.UpdateRuntimeFilters, [
@@ -2656,7 +2656,7 @@
2656
2656
  */
2657
2657
  HostEvent["ResetLiveboardPersonalisedView"] = "ResetLiveboardPersonalisedView";
2658
2658
  /**
2659
- * Triggers Update RuntimeParameters for answers and liveboard
2659
+ * Triggers an event to Update Parameter values for Answers and Liveboard
2660
2660
  * @example
2661
2661
  * ```js
2662
2662
  * liveboardEmbed.trigger(HostEvent.UpdateParameters, [{
@@ -2678,7 +2678,7 @@
2678
2678
  */
2679
2679
  HostEvent["GetParameters"] = "GetParameters";
2680
2680
  /**
2681
- * Triggers update of persoanlised view for a liveboard
2681
+ * Triggers an event to update a persoanlised view of a Liveboard
2682
2682
  * ```js
2683
2683
  * liveboardEmbed.trigger(HostEvent.UpdatePersonalisedView, {viewId: '1234'})
2684
2684
  * ```
@@ -3674,7 +3674,7 @@
3674
3674
  */
3675
3675
  Action["ModifySageAnswer"] = "modifySageAnswer";
3676
3676
  /**
3677
- * The **Move to Tab** menu action on visualizations in liveboard edit mode.
3677
+ * The **Move to Tab** menu action on visualizations in Liveboard edit mode.
3678
3678
  * Allows moving a visualization to a different tab.
3679
3679
  * @example
3680
3680
  * ```js
@@ -3727,7 +3727,8 @@
3727
3727
  */
3728
3728
  Action["TML"] = "tml";
3729
3729
  /**
3730
- * Action Id for CreateLiveboard for liveboard list page & Pin Modal
3730
+ * Action ID for the create Liveboard option on the Liveboard list page
3731
+ * and Pin modal
3731
3732
  * @example
3732
3733
  * ```js
3733
3734
  * hiddenAction: [Action.CreateLiveboard]
@@ -14525,7 +14526,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
14525
14526
  return e;
14526
14527
  }
14527
14528
 
14528
- var name="@thoughtspot/visual-embed-sdk";var version$1="1.35.5-hostEvent.7";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports$1={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck","test-sdk":"jest -c jest.config.sdk.js --runInBand",test:"npm run test-sdk",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest",dev:"vite -c vite.local.config.ts"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-comment-length":"1.7.3","eslint-plugin-jsdoc":"^46.9.0","fs-extra":"^10.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^5.3.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"31 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
14529
+ var name="@thoughtspot/visual-embed-sdk";var version$1="1.35.5-hostEvent.8";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports$1={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck","test-sdk":"jest -c jest.config.sdk.js --runInBand",test:"npm run test-sdk",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest",dev:"vite -c vite.local.config.ts"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-comment-length":"1.7.3","eslint-plugin-jsdoc":"^46.9.0","fs-extra":"^10.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^5.3.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"31 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
14529
14530
 
14530
14531
  /**
14531
14532
  * Reloads the ThoughtSpot iframe.
@@ -14625,7 +14626,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
14625
14626
  || ((_d = response.value) === null || _d === void 0 ? void 0 : _d.error);
14626
14627
  if (errors) {
14627
14628
  // eslint-disable-next-line no-throw-literal
14628
- throw { error: response.error };
14629
+ throw { error: errors };
14629
14630
  }
14630
14631
  return { ...response.value };
14631
14632
  }
@@ -15669,7 +15670,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
15669
15670
  /**
15670
15671
  * Returns the answerService which can be used to make arbitrary graphql calls on top
15671
15672
  * session.
15672
- * @param vizId [Optional] to get for a specific viz in case of a liveboard.
15673
+ * @param vizId [Optional] to get for a specific viz in case of a Liveboard.
15673
15674
  * @version SDK: 1.25.0 / ThoughtSpot 9.10.0
15674
15675
  */
15675
15676
  async getAnswerService(vizId) {
@@ -16630,8 +16631,8 @@ query GetEurekaVizSnapshots(
16630
16631
  }
16631
16632
  }
16632
16633
  /**
16633
- * Returns the full url of the liveboard/viz which can be used to open
16634
- * this liveboard inside the full Thoughtspot application in a new tab.
16634
+ * Returns the full url of the Liveboard/visualization which can be used to open
16635
+ * this Liveboard inside the full Thoughtspot application in a new tab.
16635
16636
  * @returns url string
16636
16637
  */
16637
16638
  getLiveboardUrl() {
@@ -1,4 +1,4 @@
1
- /* @thoughtspot/visual-embed-sdk version 1.35.5-hostEvent.7 */
1
+ /* @thoughtspot/visual-embed-sdk version 1.35.5-hostEvent.8 */
2
2
  function _mergeNamespaces(n, m) {
3
3
  m.forEach(function (e) {
4
4
  e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
@@ -1714,7 +1714,7 @@ var HostEvent;
1714
1714
  * @param - autoDrillDown - Optional. If true, the drill down will be
1715
1715
  * done automatically on the most popular column.
1716
1716
  * @param - vizId [TS >= 9.8.0] - Optional. The GUID of the visualization to drill
1717
- * in case of a liveboard.
1717
+ * in case of a Liveboard.
1718
1718
  * @example
1719
1719
  * ```js
1720
1720
  * searchEmbed.on(EmbedEvent.VizPointDoubleClick, (payload) => {
@@ -1801,26 +1801,26 @@ var HostEvent;
1801
1801
  */
1802
1802
  HostEvent["SetActiveTab"] = "SetActiveTab";
1803
1803
  /**
1804
- * Update runtime filters applied on a Saved Answer or Liveboard. The
1805
- * runtime filters passed here are appended to the existing runtime
1806
- * filters.
1804
+ * Updates the runtime filters applied on a Liveboard. The filter
1805
+ * attributes passed with this event are appended to the existing runtime
1806
+ * filters applied on a Liveboard.
1807
+ *
1807
1808
  * Pass an array of runtime filters with the following attributes:
1808
1809
  *
1809
- * `columnName`
1810
- * _String_. The name of the column to filter on.
1810
+ * `columnName` - _String_. The name of the column to filter on.
1811
1811
  *
1812
- * `operator`
1813
- * Runtime filter operator to apply. For information,
1812
+ * `operator` - Runtime filter operator to apply. For more information,
1814
1813
  * see link:https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator[Developer Documentation].
1815
1814
  *
1816
- * `values`
1817
- * List of operands. Some operators such as EQ, LE allow a single value, whereas
1818
- * operators such as BW and IN accept multiple operands.
1815
+ * `values` - List of operands. Some operators such as EQ and LE allow a
1816
+ * single value, whereas BW and IN accept multiple values.
1817
+ *
1818
+ * **Note**: `HostEvent.UpdateRuntimeFilters` is supported in `LiveboardEmbed`
1819
+ * and `AppEmbed` only. In full application embedding, this event updates
1820
+ * the runtime filters applied on the Liveboard and saved Answer objects.
1819
1821
  *
1820
- * **Note**: `HostEvent.UpdateRuntimeFilters` is not supported in
1821
- * Search embedding (SearchEmbed) and Natural Language Search
1822
- * embedding (SageEmbed).
1823
1822
  * @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
1823
+ *
1824
1824
  * @example
1825
1825
  * ```js
1826
1826
  * liveboardEmbed.trigger(HostEvent.UpdateRuntimeFilters, [
@@ -2519,7 +2519,7 @@ var HostEvent;
2519
2519
  */
2520
2520
  HostEvent["ResetLiveboardPersonalisedView"] = "ResetLiveboardPersonalisedView";
2521
2521
  /**
2522
- * Triggers Update RuntimeParameters for answers and liveboard
2522
+ * Triggers an event to Update Parameter values for Answers and Liveboard
2523
2523
  * @example
2524
2524
  * ```js
2525
2525
  * liveboardEmbed.trigger(HostEvent.UpdateParameters, [{
@@ -2541,7 +2541,7 @@ var HostEvent;
2541
2541
  */
2542
2542
  HostEvent["GetParameters"] = "GetParameters";
2543
2543
  /**
2544
- * Triggers update of persoanlised view for a liveboard
2544
+ * Triggers an event to update a persoanlised view of a Liveboard
2545
2545
  * ```js
2546
2546
  * liveboardEmbed.trigger(HostEvent.UpdatePersonalisedView, {viewId: '1234'})
2547
2547
  * ```
@@ -3537,7 +3537,7 @@ var Action;
3537
3537
  */
3538
3538
  Action["ModifySageAnswer"] = "modifySageAnswer";
3539
3539
  /**
3540
- * The **Move to Tab** menu action on visualizations in liveboard edit mode.
3540
+ * The **Move to Tab** menu action on visualizations in Liveboard edit mode.
3541
3541
  * Allows moving a visualization to a different tab.
3542
3542
  * @example
3543
3543
  * ```js
@@ -3590,7 +3590,8 @@ var Action;
3590
3590
  */
3591
3591
  Action["TML"] = "tml";
3592
3592
  /**
3593
- * Action Id for CreateLiveboard for liveboard list page & Pin Modal
3593
+ * Action ID for the create Liveboard option on the Liveboard list page
3594
+ * and Pin modal
3594
3595
  * @example
3595
3596
  * ```js
3596
3597
  * hiddenAction: [Action.CreateLiveboard]
@@ -7059,7 +7060,7 @@ class AnswerService {
7059
7060
  async getTML() {
7060
7061
  const { object } = await this.executeQuery(getAnswerTML, {});
7061
7062
  const edoc = object[0].edoc;
7062
- const YAML = await import('./index-DaLHJaLd.js');
7063
+ const YAML = await import('./index-nWevLycs.js');
7063
7064
  const parsedDoc = YAML.parse(edoc);
7064
7065
  return {
7065
7066
  answer: {
@@ -14439,7 +14440,7 @@ function backwardCompat(embedConfig) {
14439
14440
  /**
14440
14441
  * Initializes the Visual Embed SDK globally and perform
14441
14442
  * authentication if applicable. This function needs to be called before any ThoughtSpot
14442
- * component like liveboard etc can be embedded. But need not wait for AuthEvent.SUCCESS
14443
+ * component like Liveboard etc can be embedded. But need not wait for AuthEvent.SUCCESS
14443
14444
  * to actually embed. That is handled internally.
14444
14445
  * @param embedConfig The configuration object containing ThoughtSpot host,
14445
14446
  * authentication mechanism and so on.
@@ -14745,7 +14746,7 @@ function processEventData(type, e, thoughtSpotHost, containerEl) {
14745
14746
  return e;
14746
14747
  }
14747
14748
 
14748
- var name="@thoughtspot/visual-embed-sdk";var version$1="1.35.5-hostEvent.7";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck","test-sdk":"jest -c jest.config.sdk.js --runInBand",test:"npm run test-sdk",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest",dev:"vite -c vite.local.config.ts"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-comment-length":"1.7.3","eslint-plugin-jsdoc":"^46.9.0","fs-extra":"^10.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^5.3.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"31 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
14749
+ var name="@thoughtspot/visual-embed-sdk";var version$1="1.35.5-hostEvent.8";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck","test-sdk":"jest -c jest.config.sdk.js --runInBand",test:"npm run test-sdk",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest",dev:"vite -c vite.local.config.ts"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-comment-length":"1.7.3","eslint-plugin-jsdoc":"^46.9.0","fs-extra":"^10.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^5.3.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"31 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
14749
14750
 
14750
14751
  /**
14751
14752
  * Reloads the ThoughtSpot iframe.
@@ -14845,7 +14846,7 @@ class HostEventClient {
14845
14846
  || ((_d = response.value) === null || _d === void 0 ? void 0 : _d.error);
14846
14847
  if (errors) {
14847
14848
  // eslint-disable-next-line no-throw-literal
14848
- throw { error: response.error };
14849
+ throw { error: errors };
14849
14850
  }
14850
14851
  return { ...response.value };
14851
14852
  }
@@ -15889,7 +15890,7 @@ class TsEmbed {
15889
15890
  /**
15890
15891
  * Returns the answerService which can be used to make arbitrary graphql calls on top
15891
15892
  * session.
15892
- * @param vizId [Optional] to get for a specific viz in case of a liveboard.
15893
+ * @param vizId [Optional] to get for a specific viz in case of a Liveboard.
15893
15894
  * @version SDK: 1.25.0 / ThoughtSpot 9.10.0
15894
15895
  */
15895
15896
  async getAnswerService(vizId) {
@@ -16553,8 +16554,8 @@ class LiveboardEmbed extends V1Embed {
16553
16554
  }
16554
16555
  }
16555
16556
  /**
16556
- * Returns the full url of the liveboard/viz which can be used to open
16557
- * this liveboard inside the full Thoughtspot application in a new tab.
16557
+ * Returns the full url of the Liveboard/visualization which can be used to open
16558
+ * this Liveboard inside the full Thoughtspot application in a new tab.
16558
16559
  * @returns url string
16559
16560
  */
16560
16561
  getLiveboardUrl() {
package/dist/tsembed.js CHANGED
@@ -1,4 +1,4 @@
1
- /* @thoughtspot/visual-embed-sdk version 1.35.5-hostEvent.7 */
1
+ /* @thoughtspot/visual-embed-sdk version 1.35.5-hostEvent.8 */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
4
4
  typeof define === 'function' && define.amd ? define(['exports'], factory) :
@@ -1720,7 +1720,7 @@
1720
1720
  * @param - autoDrillDown - Optional. If true, the drill down will be
1721
1721
  * done automatically on the most popular column.
1722
1722
  * @param - vizId [TS >= 9.8.0] - Optional. The GUID of the visualization to drill
1723
- * in case of a liveboard.
1723
+ * in case of a Liveboard.
1724
1724
  * @example
1725
1725
  * ```js
1726
1726
  * searchEmbed.on(EmbedEvent.VizPointDoubleClick, (payload) => {
@@ -1807,26 +1807,26 @@
1807
1807
  */
1808
1808
  HostEvent["SetActiveTab"] = "SetActiveTab";
1809
1809
  /**
1810
- * Update runtime filters applied on a Saved Answer or Liveboard. The
1811
- * runtime filters passed here are appended to the existing runtime
1812
- * filters.
1810
+ * Updates the runtime filters applied on a Liveboard. The filter
1811
+ * attributes passed with this event are appended to the existing runtime
1812
+ * filters applied on a Liveboard.
1813
+ *
1813
1814
  * Pass an array of runtime filters with the following attributes:
1814
1815
  *
1815
- * `columnName`
1816
- * _String_. The name of the column to filter on.
1816
+ * `columnName` - _String_. The name of the column to filter on.
1817
1817
  *
1818
- * `operator`
1819
- * Runtime filter operator to apply. For information,
1818
+ * `operator` - Runtime filter operator to apply. For more information,
1820
1819
  * see link:https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator[Developer Documentation].
1821
1820
  *
1822
- * `values`
1823
- * List of operands. Some operators such as EQ, LE allow a single value, whereas
1824
- * operators such as BW and IN accept multiple operands.
1821
+ * `values` - List of operands. Some operators such as EQ and LE allow a
1822
+ * single value, whereas BW and IN accept multiple values.
1823
+ *
1824
+ * **Note**: `HostEvent.UpdateRuntimeFilters` is supported in `LiveboardEmbed`
1825
+ * and `AppEmbed` only. In full application embedding, this event updates
1826
+ * the runtime filters applied on the Liveboard and saved Answer objects.
1825
1827
  *
1826
- * **Note**: `HostEvent.UpdateRuntimeFilters` is not supported in
1827
- * Search embedding (SearchEmbed) and Natural Language Search
1828
- * embedding (SageEmbed).
1829
1828
  * @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
1829
+ *
1830
1830
  * @example
1831
1831
  * ```js
1832
1832
  * liveboardEmbed.trigger(HostEvent.UpdateRuntimeFilters, [
@@ -2525,7 +2525,7 @@
2525
2525
  */
2526
2526
  HostEvent["ResetLiveboardPersonalisedView"] = "ResetLiveboardPersonalisedView";
2527
2527
  /**
2528
- * Triggers Update RuntimeParameters for answers and liveboard
2528
+ * Triggers an event to Update Parameter values for Answers and Liveboard
2529
2529
  * @example
2530
2530
  * ```js
2531
2531
  * liveboardEmbed.trigger(HostEvent.UpdateParameters, [{
@@ -2547,7 +2547,7 @@
2547
2547
  */
2548
2548
  HostEvent["GetParameters"] = "GetParameters";
2549
2549
  /**
2550
- * Triggers update of persoanlised view for a liveboard
2550
+ * Triggers an event to update a persoanlised view of a Liveboard
2551
2551
  * ```js
2552
2552
  * liveboardEmbed.trigger(HostEvent.UpdatePersonalisedView, {viewId: '1234'})
2553
2553
  * ```
@@ -3543,7 +3543,7 @@
3543
3543
  */
3544
3544
  Action["ModifySageAnswer"] = "modifySageAnswer";
3545
3545
  /**
3546
- * The **Move to Tab** menu action on visualizations in liveboard edit mode.
3546
+ * The **Move to Tab** menu action on visualizations in Liveboard edit mode.
3547
3547
  * Allows moving a visualization to a different tab.
3548
3548
  * @example
3549
3549
  * ```js
@@ -3596,7 +3596,8 @@
3596
3596
  */
3597
3597
  Action["TML"] = "tml";
3598
3598
  /**
3599
- * Action Id for CreateLiveboard for liveboard list page & Pin Modal
3599
+ * Action ID for the create Liveboard option on the Liveboard list page
3600
+ * and Pin modal
3600
3601
  * @example
3601
3602
  * ```js
3602
3603
  * hiddenAction: [Action.CreateLiveboard]
@@ -14445,7 +14446,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
14445
14446
  /**
14446
14447
  * Initializes the Visual Embed SDK globally and perform
14447
14448
  * authentication if applicable. This function needs to be called before any ThoughtSpot
14448
- * component like liveboard etc can be embedded. But need not wait for AuthEvent.SUCCESS
14449
+ * component like Liveboard etc can be embedded. But need not wait for AuthEvent.SUCCESS
14449
14450
  * to actually embed. That is handled internally.
14450
14451
  * @param embedConfig The configuration object containing ThoughtSpot host,
14451
14452
  * authentication mechanism and so on.
@@ -14751,7 +14752,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
14751
14752
  return e;
14752
14753
  }
14753
14754
 
14754
- var name="@thoughtspot/visual-embed-sdk";var version$1="1.35.5-hostEvent.7";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports$1={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck","test-sdk":"jest -c jest.config.sdk.js --runInBand",test:"npm run test-sdk",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest",dev:"vite -c vite.local.config.ts"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-comment-length":"1.7.3","eslint-plugin-jsdoc":"^46.9.0","fs-extra":"^10.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^5.3.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"31 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
14755
+ var name="@thoughtspot/visual-embed-sdk";var version$1="1.35.5-hostEvent.8";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports$1={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck","test-sdk":"jest -c jest.config.sdk.js --runInBand",test:"npm run test-sdk",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest",dev:"vite -c vite.local.config.ts"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-comment-length":"1.7.3","eslint-plugin-jsdoc":"^46.9.0","fs-extra":"^10.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^5.3.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"31 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
14755
14756
 
14756
14757
  /**
14757
14758
  * Reloads the ThoughtSpot iframe.
@@ -14851,7 +14852,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
14851
14852
  || ((_d = response.value) === null || _d === void 0 ? void 0 : _d.error);
14852
14853
  if (errors) {
14853
14854
  // eslint-disable-next-line no-throw-literal
14854
- throw { error: response.error };
14855
+ throw { error: errors };
14855
14856
  }
14856
14857
  return { ...response.value };
14857
14858
  }
@@ -15895,7 +15896,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
15895
15896
  /**
15896
15897
  * Returns the answerService which can be used to make arbitrary graphql calls on top
15897
15898
  * session.
15898
- * @param vizId [Optional] to get for a specific viz in case of a liveboard.
15899
+ * @param vizId [Optional] to get for a specific viz in case of a Liveboard.
15899
15900
  * @version SDK: 1.25.0 / ThoughtSpot 9.10.0
15900
15901
  */
15901
15902
  async getAnswerService(vizId) {
@@ -16559,8 +16560,8 @@ query GetEurekaVizSnapshots(
16559
16560
  }
16560
16561
  }
16561
16562
  /**
16562
- * Returns the full url of the liveboard/viz which can be used to open
16563
- * this liveboard inside the full Thoughtspot application in a new tab.
16563
+ * Returns the full url of the Liveboard/visualization which can be used to open
16564
+ * this Liveboard inside the full Thoughtspot application in a new tab.
16564
16565
  * @returns url string
16565
16566
  */
16566
16567
  getLiveboardUrl() {