@thoughtspot/visual-embed-sdk 1.22.0-alpha.6 → 1.22.0-alpha.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 (57) hide show
  1. package/cjs/package.json +1 -1
  2. package/cjs/src/embed/sage.d.ts +7 -10
  3. package/cjs/src/embed/sage.d.ts.map +1 -1
  4. package/cjs/src/embed/sage.js +5 -5
  5. package/cjs/src/embed/sage.js.map +1 -1
  6. package/cjs/src/embed/sage.spec.js +2 -3
  7. package/cjs/src/embed/sage.spec.js.map +1 -1
  8. package/cjs/src/index.d.ts +2 -2
  9. package/cjs/src/index.d.ts.map +1 -1
  10. package/cjs/src/index.js.map +1 -1
  11. package/cjs/src/react/all-types-export.d.ts +2 -2
  12. package/cjs/src/react/all-types-export.d.ts.map +1 -1
  13. package/cjs/src/react/all-types-export.js +2 -1
  14. package/cjs/src/react/all-types-export.js.map +1 -1
  15. package/cjs/src/react/index.d.ts +13 -0
  16. package/cjs/src/react/index.d.ts.map +1 -1
  17. package/cjs/src/react/index.js +13 -0
  18. package/cjs/src/react/index.js.map +1 -1
  19. package/dist/src/embed/sage.d.ts +7 -10
  20. package/dist/src/embed/sage.d.ts.map +1 -1
  21. package/dist/src/index.d.ts +2 -2
  22. package/dist/src/index.d.ts.map +1 -1
  23. package/dist/src/react/all-types-export.d.ts +2 -2
  24. package/dist/src/react/all-types-export.d.ts.map +1 -1
  25. package/dist/src/react/index.d.ts +13 -0
  26. package/dist/src/react/index.d.ts.map +1 -1
  27. package/dist/tsembed-react.es.js +19 -6
  28. package/dist/tsembed-react.js +19 -6
  29. package/dist/tsembed.es.js +6 -6
  30. package/dist/tsembed.js +6 -6
  31. package/dist/visual-embed-sdk-react-full.d.ts +21 -11
  32. package/dist/visual-embed-sdk-react.d.ts +21 -11
  33. package/dist/visual-embed-sdk.d.ts +8 -11
  34. package/lib/package.json +1 -1
  35. package/lib/src/embed/sage.d.ts +7 -10
  36. package/lib/src/embed/sage.d.ts.map +1 -1
  37. package/lib/src/embed/sage.js +5 -5
  38. package/lib/src/embed/sage.js.map +1 -1
  39. package/lib/src/embed/sage.spec.js +2 -3
  40. package/lib/src/embed/sage.spec.js.map +1 -1
  41. package/lib/src/index.d.ts +2 -2
  42. package/lib/src/index.d.ts.map +1 -1
  43. package/lib/src/index.js.map +1 -1
  44. package/lib/src/react/all-types-export.d.ts +2 -2
  45. package/lib/src/react/all-types-export.d.ts.map +1 -1
  46. package/lib/src/react/all-types-export.js +1 -1
  47. package/lib/src/react/all-types-export.js.map +1 -1
  48. package/lib/src/react/index.d.ts +13 -0
  49. package/lib/src/react/index.d.ts.map +1 -1
  50. package/lib/src/react/index.js +13 -0
  51. package/lib/src/react/index.js.map +1 -1
  52. package/package.json +1 -1
  53. package/src/embed/sage.spec.ts +2 -3
  54. package/src/embed/sage.ts +12 -16
  55. package/src/index.ts +2 -1
  56. package/src/react/all-types-export.ts +2 -0
  57. package/src/react/index.tsx +13 -0
@@ -27523,7 +27523,7 @@ function processTrigger(iFrame, messageType, thoughtSpotHost, data) {
27523
27523
  });
27524
27524
  }
27525
27525
 
27526
- var name="@thoughtspot/visual-embed-sdk";var version="1.22.0-alpha.6";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",start:"gatsby develop","build:gatsby":"npm run clean:gatsby && gatsby build --prefix-paths","build:gatsby:noprefix":"npm run clean:gatsby && gatsby build","serve:gatsby":"gatsby serve","clean:gatsby":"gatsby clean","build-and-publish":"npm run build:gatsby && npm run publish","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","docs-cmd":"node scripts/gatsby-commands.js",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme","test-sdk":"jest -c jest.config.sdk.js --runInBand","test-docs":"jest -c jest.config.docs.js",test:"npm run test-sdk && npm run test-docs",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 && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest"};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","eslint-plugin-comment-length":"^0.9.2","eslint-plugin-jsdoc":"^40.1.0",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"^2.45.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.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","@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/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","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","fs-extra":"^10.0.0",gatsby:"3.13.1","gatsby-plugin-algolia":"^0.22.2","gatsby-plugin-catch-links":"^3.1.0","gatsby-plugin-env-variables":"^2.1.0","gatsby-plugin-intl":"^0.3.3","gatsby-plugin-manifest":"^3.2.0","gatsby-plugin-output":"^0.1.3","gatsby-plugin-sass":"6.7.0","gatsby-plugin-sitemap":"^4.10.0","gatsby-source-filesystem":"3.1.0","gatsby-transformer-asciidoc":"2.1.0","gatsby-transformer-rehype":"2.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-puppeteer":"^4.4.0",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",puppeteer:"^7.0.1",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:"2.30.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"};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","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,description:description,module:module,main:main,types:types,files:files,exports:exports,typesVersions:typesVersions,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};
27526
+ var name="@thoughtspot/visual-embed-sdk";var version="1.22.0-alpha.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",start:"gatsby develop","build:gatsby":"npm run clean:gatsby && gatsby build --prefix-paths","build:gatsby:noprefix":"npm run clean:gatsby && gatsby build","serve:gatsby":"gatsby serve","clean:gatsby":"gatsby clean","build-and-publish":"npm run build:gatsby && npm run publish","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","docs-cmd":"node scripts/gatsby-commands.js",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme","test-sdk":"jest -c jest.config.sdk.js --runInBand","test-docs":"jest -c jest.config.docs.js",test:"npm run test-sdk && npm run test-docs",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 && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest"};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","eslint-plugin-comment-length":"^0.9.2","eslint-plugin-jsdoc":"^40.1.0",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"^2.45.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.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","@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/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","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","fs-extra":"^10.0.0",gatsby:"3.13.1","gatsby-plugin-algolia":"^0.22.2","gatsby-plugin-catch-links":"^3.1.0","gatsby-plugin-env-variables":"^2.1.0","gatsby-plugin-intl":"^0.3.3","gatsby-plugin-manifest":"^3.2.0","gatsby-plugin-output":"^0.1.3","gatsby-plugin-sass":"6.7.0","gatsby-plugin-sitemap":"^4.10.0","gatsby-source-filesystem":"3.1.0","gatsby-transformer-asciidoc":"2.1.0","gatsby-transformer-rehype":"2.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-puppeteer":"^4.4.0",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",puppeteer:"^7.0.1",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:"2.30.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"};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","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,description:description,module:module,main:main,types:types,files:files,exports:exports,typesVersions:typesVersions,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};
27527
27527
 
27528
27528
  /**
27529
27529
  * Copyright (c) 2022
@@ -28799,7 +28799,7 @@ const HiddenActionItemByDefaultForSageEmbed = [
28799
28799
  Action.Share,
28800
28800
  ];
28801
28801
  /**
28802
- * Embed ThoughtSpot search
28802
+ * Embed ThoughtSpot LLM and GPT based natural language search component.
28803
28803
  *
28804
28804
  * @group Embed components
28805
28805
  */
@@ -28816,14 +28816,14 @@ class SageEmbed extends V1Embed {
28816
28816
  */
28817
28817
  getEmbedParams() {
28818
28818
  var _a;
28819
- const { hideEurekaResults, isSageEmbed, disableWorksheetChange, hideWorksheetSelector, hideEurekaSuggestions, } = this.viewConfig;
28819
+ const { showObjectResults, disableWorksheetChange, hideWorksheetSelector, showObjectSuggestions, } = this.viewConfig;
28820
28820
  const params = {};
28821
28821
  params[Param.EmbedApp] = true;
28822
- params[Param.HideEurekaResults] = !!hideEurekaResults;
28823
- params[Param.IsSageEmbed] = !!isSageEmbed;
28822
+ params[Param.HideEurekaResults] = !showObjectResults;
28823
+ params[Param.IsSageEmbed] = true;
28824
28824
  params[Param.DisableWorksheetChange] = !!disableWorksheetChange;
28825
28825
  params[Param.HideWorksheetSelector] = !!hideWorksheetSelector;
28826
- params[Param.HideEurekaSuggestions] = !!hideEurekaSuggestions;
28826
+ params[Param.HideEurekaSuggestions] = !showObjectSuggestions;
28827
28827
  params[Param.HideActions] = [
28828
28828
  ...((_a = params[Param.HideActions]) !== null && _a !== void 0 ? _a : []),
28829
28829
  ...HiddenActionItemByDefaultForSageEmbed,
package/dist/tsembed.js CHANGED
@@ -27421,7 +27421,7 @@
27421
27421
  });
27422
27422
  }
27423
27423
 
27424
- var name="@thoughtspot/visual-embed-sdk";var version="1.22.0-alpha.6";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",start:"gatsby develop","build:gatsby":"npm run clean:gatsby && gatsby build --prefix-paths","build:gatsby:noprefix":"npm run clean:gatsby && gatsby build","serve:gatsby":"gatsby serve","clean:gatsby":"gatsby clean","build-and-publish":"npm run build:gatsby && npm run publish","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","docs-cmd":"node scripts/gatsby-commands.js",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme","test-sdk":"jest -c jest.config.sdk.js --runInBand","test-docs":"jest -c jest.config.docs.js",test:"npm run test-sdk && npm run test-docs",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 && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest"};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","eslint-plugin-comment-length":"^0.9.2","eslint-plugin-jsdoc":"^40.1.0",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"^2.45.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.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","@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/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","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","fs-extra":"^10.0.0",gatsby:"3.13.1","gatsby-plugin-algolia":"^0.22.2","gatsby-plugin-catch-links":"^3.1.0","gatsby-plugin-env-variables":"^2.1.0","gatsby-plugin-intl":"^0.3.3","gatsby-plugin-manifest":"^3.2.0","gatsby-plugin-output":"^0.1.3","gatsby-plugin-sass":"6.7.0","gatsby-plugin-sitemap":"^4.10.0","gatsby-source-filesystem":"3.1.0","gatsby-transformer-asciidoc":"2.1.0","gatsby-transformer-rehype":"2.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-puppeteer":"^4.4.0",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",puppeteer:"^7.0.1",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:"2.30.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"};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","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,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,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};
27424
+ var name="@thoughtspot/visual-embed-sdk";var version="1.22.0-alpha.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",start:"gatsby develop","build:gatsby":"npm run clean:gatsby && gatsby build --prefix-paths","build:gatsby:noprefix":"npm run clean:gatsby && gatsby build","serve:gatsby":"gatsby serve","clean:gatsby":"gatsby clean","build-and-publish":"npm run build:gatsby && npm run publish","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","docs-cmd":"node scripts/gatsby-commands.js",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme","test-sdk":"jest -c jest.config.sdk.js --runInBand","test-docs":"jest -c jest.config.docs.js",test:"npm run test-sdk && npm run test-docs",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 && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest"};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","eslint-plugin-comment-length":"^0.9.2","eslint-plugin-jsdoc":"^40.1.0",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"^2.45.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.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","@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/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","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","fs-extra":"^10.0.0",gatsby:"3.13.1","gatsby-plugin-algolia":"^0.22.2","gatsby-plugin-catch-links":"^3.1.0","gatsby-plugin-env-variables":"^2.1.0","gatsby-plugin-intl":"^0.3.3","gatsby-plugin-manifest":"^3.2.0","gatsby-plugin-output":"^0.1.3","gatsby-plugin-sass":"6.7.0","gatsby-plugin-sitemap":"^4.10.0","gatsby-source-filesystem":"3.1.0","gatsby-transformer-asciidoc":"2.1.0","gatsby-transformer-rehype":"2.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-puppeteer":"^4.4.0",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",puppeteer:"^7.0.1",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:"2.30.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"};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","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,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,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};
27425
27425
 
27426
27426
  /**
27427
27427
  * Copyright (c) 2022
@@ -28692,7 +28692,7 @@
28692
28692
  exports.Action.Share,
28693
28693
  ];
28694
28694
  /**
28695
- * Embed ThoughtSpot search
28695
+ * Embed ThoughtSpot LLM and GPT based natural language search component.
28696
28696
  *
28697
28697
  * @group Embed components
28698
28698
  */
@@ -28709,14 +28709,14 @@
28709
28709
  */
28710
28710
  getEmbedParams() {
28711
28711
  var _a;
28712
- const { hideEurekaResults, isSageEmbed, disableWorksheetChange, hideWorksheetSelector, hideEurekaSuggestions, } = this.viewConfig;
28712
+ const { showObjectResults, disableWorksheetChange, hideWorksheetSelector, showObjectSuggestions, } = this.viewConfig;
28713
28713
  const params = {};
28714
28714
  params[Param.EmbedApp] = true;
28715
- params[Param.HideEurekaResults] = !!hideEurekaResults;
28716
- params[Param.IsSageEmbed] = !!isSageEmbed;
28715
+ params[Param.HideEurekaResults] = !showObjectResults;
28716
+ params[Param.IsSageEmbed] = true;
28717
28717
  params[Param.DisableWorksheetChange] = !!disableWorksheetChange;
28718
28718
  params[Param.HideWorksheetSelector] = !!hideWorksheetSelector;
28719
- params[Param.HideEurekaSuggestions] = !!hideEurekaSuggestions;
28719
+ params[Param.HideEurekaSuggestions] = !showObjectSuggestions;
28720
28720
  params[Param.HideActions] = [
28721
28721
  ...((_a = params[Param.HideActions]) !== null && _a !== void 0 ? _a : []),
28722
28722
  ...HiddenActionItemByDefaultForSageEmbed,
@@ -76,6 +76,19 @@ interface SearchBarEmbedProps extends EmbedProps, SearchBarViewConfig {
76
76
  export const SearchBarEmbed: React.ForwardRefExoticComponent<SearchBarEmbedProps & React.RefAttributes<TsEmbed>>;
77
77
  interface SageEmbedProps extends EmbedProps, SageViewConfig {
78
78
  }
79
+ /**
80
+ * React component for LLM based search Sage embed.
81
+ *
82
+ * @example
83
+ * ```tsx
84
+ * function Sage() {
85
+ * return <SageEmbed
86
+ * showObjectResults={true}
87
+ * ... other view config props or event listeners.
88
+ * />
89
+ * }
90
+ * ```
91
+ */
79
92
  export const SageEmbed: React.ForwardRefExoticComponent<SageEmbedProps & React.RefAttributes<TsEmbed>>;
80
93
  /**
81
94
  * Get a reference to the embed component to trigger events on the component.
@@ -105,7 +118,7 @@ export const useEmbedRef: () => React.MutableRefObject<TsEmbed>;
105
118
  * @summary ThoughtSpot Visual Embed SDK
106
119
  * @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
107
120
  */
108
- export { init, logout, prefetch, executeTML, exportTML, getEmbedConfig as getInitConfig, getSessionInfo, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, SageEmbed, AppEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, ContextMenuTriggerOptions, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, };
121
+ export { init, logout, prefetch, executeTML, exportTML, getEmbedConfig as getInitConfig, getSessionInfo, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, SageEmbed, AppEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, ContextMenuTriggerOptions, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, SageViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, };
109
122
 
110
123
  /**
111
124
  * @group Embed components
@@ -156,19 +169,16 @@ export declare class SearchBarEmbed extends TsEmbed {
156
169
  * @author Mourya Balabhadra <mourya.balabhadra@thoughtspot.com>
157
170
  */
158
171
  /**
159
- * The configuration attributes for the embedded search view.
172
+ * The configuration attributes for the embedded Natural language search view. Based on
173
+ * GPT and LLM.
160
174
  *
161
175
  * @group Embed components
162
176
  */
163
177
  export interface SageViewConfig extends ViewConfig {
164
178
  /**
165
- * If set to false, eureka results are hidden
179
+ * If set to true, object results are shown.
166
180
  */
167
- hideEurekaResults?: boolean;
168
- /**
169
- * primary flag to enable eureka(/sage) page embedding.
170
- */
171
- isSageEmbed?: boolean;
181
+ showObjectResults?: boolean;
172
182
  /**
173
183
  * flag to disable changing worksheet. default false.
174
184
  */
@@ -178,14 +188,14 @@ export interface SageViewConfig extends ViewConfig {
178
188
  */
179
189
  hideWorksheetSelector?: boolean;
180
190
  /**
181
- * If set to true, the eureka search suggestions are not shown
191
+ * If set to true, the object search suggestions are not shown
182
192
  *
183
193
  */
184
- hideEurekaSuggestions?: boolean;
194
+ showObjectSuggestions?: boolean;
185
195
  }
186
196
  export declare const HiddenActionItemByDefaultForSageEmbed: Action[];
187
197
  /**
188
- * Embed ThoughtSpot search
198
+ * Embed ThoughtSpot LLM and GPT based natural language search component.
189
199
  *
190
200
  * @group Embed components
191
201
  */
@@ -76,6 +76,19 @@ interface SearchBarEmbedProps extends EmbedProps, SearchBarViewConfig {
76
76
  export const SearchBarEmbed: React.ForwardRefExoticComponent<SearchBarEmbedProps & React.RefAttributes<TsEmbed>>;
77
77
  interface SageEmbedProps extends EmbedProps, SageViewConfig {
78
78
  }
79
+ /**
80
+ * React component for LLM based search Sage embed.
81
+ *
82
+ * @example
83
+ * ```tsx
84
+ * function Sage() {
85
+ * return <SageEmbed
86
+ * showObjectResults={true}
87
+ * ... other view config props or event listeners.
88
+ * />
89
+ * }
90
+ * ```
91
+ */
79
92
  export const SageEmbed: React.ForwardRefExoticComponent<SageEmbedProps & React.RefAttributes<TsEmbed>>;
80
93
  /**
81
94
  * Get a reference to the embed component to trigger events on the component.
@@ -145,19 +158,16 @@ export declare class SearchBarEmbed extends TsEmbed {
145
158
  * @author Mourya Balabhadra <mourya.balabhadra@thoughtspot.com>
146
159
  */
147
160
  /**
148
- * The configuration attributes for the embedded search view.
161
+ * The configuration attributes for the embedded Natural language search view. Based on
162
+ * GPT and LLM.
149
163
  *
150
164
  * @group Embed components
151
165
  */
152
166
  export interface SageViewConfig extends ViewConfig {
153
167
  /**
154
- * If set to false, eureka results are hidden
168
+ * If set to true, object results are shown.
155
169
  */
156
- hideEurekaResults?: boolean;
157
- /**
158
- * primary flag to enable eureka(/sage) page embedding.
159
- */
160
- isSageEmbed?: boolean;
170
+ showObjectResults?: boolean;
161
171
  /**
162
172
  * flag to disable changing worksheet. default false.
163
173
  */
@@ -167,14 +177,14 @@ export interface SageViewConfig extends ViewConfig {
167
177
  */
168
178
  hideWorksheetSelector?: boolean;
169
179
  /**
170
- * If set to true, the eureka search suggestions are not shown
180
+ * If set to true, the object search suggestions are not shown
171
181
  *
172
182
  */
173
- hideEurekaSuggestions?: boolean;
183
+ showObjectSuggestions?: boolean;
174
184
  }
175
185
  export declare const HiddenActionItemByDefaultForSageEmbed: Action[];
176
186
  /**
177
- * Embed ThoughtSpot search
187
+ * Embed ThoughtSpot LLM and GPT based natural language search component.
178
188
  *
179
189
  * @group Embed components
180
190
  */
@@ -850,7 +860,7 @@ export function getViewPropsAndListeners<T extends EmbedProps, U extends ViewCon
850
860
  * @summary ThoughtSpot Visual Embed SDK
851
861
  * @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
852
862
  */
853
- export { init, logout, prefetch, executeTML, exportTML, getEmbedConfig as getInitConfig, getSessionInfo, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, SageEmbed, AppEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, ContextMenuTriggerOptions, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, };
863
+ export { init, logout, prefetch, executeTML, exportTML, getEmbedConfig as getInitConfig, getSessionInfo, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, SageEmbed, AppEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, ContextMenuTriggerOptions, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, SageViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, };
854
864
 
855
865
  /**
856
866
  * Copyright (c) 2023
@@ -13,7 +13,7 @@ import EventEmitter from 'eventemitter3';
13
13
  * @summary ThoughtSpot Visual Embed SDK
14
14
  * @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
15
15
  */
16
- export { init, logout, prefetch, executeTML, exportTML, getEmbedConfig as getInitConfig, getSessionInfo, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, SageEmbed, AppEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, ContextMenuTriggerOptions, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, };
16
+ export { init, logout, prefetch, executeTML, exportTML, getEmbedConfig as getInitConfig, getSessionInfo, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, SageEmbed, AppEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, ContextMenuTriggerOptions, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, SageViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, };
17
17
 
18
18
  /**
19
19
  * Copyright (c) 2022
@@ -3144,19 +3144,16 @@ export interface CustomCssVariables {
3144
3144
  * @author Mourya Balabhadra <mourya.balabhadra@thoughtspot.com>
3145
3145
  */
3146
3146
  /**
3147
- * The configuration attributes for the embedded search view.
3147
+ * The configuration attributes for the embedded Natural language search view. Based on
3148
+ * GPT and LLM.
3148
3149
  *
3149
3150
  * @group Embed components
3150
3151
  */
3151
3152
  export interface SageViewConfig extends ViewConfig {
3152
3153
  /**
3153
- * If set to false, eureka results are hidden
3154
- */
3155
- hideEurekaResults?: boolean;
3156
- /**
3157
- * primary flag to enable eureka(/sage) page embedding.
3154
+ * If set to true, object results are shown.
3158
3155
  */
3159
- isSageEmbed?: boolean;
3156
+ showObjectResults?: boolean;
3160
3157
  /**
3161
3158
  * flag to disable changing worksheet. default false.
3162
3159
  */
@@ -3166,14 +3163,14 @@ export interface SageViewConfig extends ViewConfig {
3166
3163
  */
3167
3164
  hideWorksheetSelector?: boolean;
3168
3165
  /**
3169
- * If set to true, the eureka search suggestions are not shown
3166
+ * If set to true, the object search suggestions are not shown
3170
3167
  *
3171
3168
  */
3172
- hideEurekaSuggestions?: boolean;
3169
+ showObjectSuggestions?: boolean;
3173
3170
  }
3174
3171
  export const HiddenActionItemByDefaultForSageEmbed: Action[];
3175
3172
  /**
3176
- * Embed ThoughtSpot search
3173
+ * Embed ThoughtSpot LLM and GPT based natural language search component.
3177
3174
  *
3178
3175
  * @group Embed components
3179
3176
  */
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thoughtspot/visual-embed-sdk",
3
- "version": "1.22.0-alpha.6",
3
+ "version": "1.22.0-alpha.8",
4
4
  "description": "ThoughtSpot Embed SDK",
5
5
  "module": "lib/src/index.js",
6
6
  "main": "dist/tsembed.js",
@@ -9,19 +9,16 @@
9
9
  import { Action, DOMSelector, ViewConfig } from '../types';
10
10
  import { V1Embed } from './ts-embed';
11
11
  /**
12
- * The configuration attributes for the embedded search view.
12
+ * The configuration attributes for the embedded Natural language search view. Based on
13
+ * GPT and LLM.
13
14
  *
14
15
  * @group Embed components
15
16
  */
16
17
  export interface SageViewConfig extends ViewConfig {
17
18
  /**
18
- * If set to false, eureka results are hidden
19
+ * If set to true, object results are shown.
19
20
  */
20
- hideEurekaResults?: boolean;
21
- /**
22
- * primary flag to enable eureka(/sage) page embedding.
23
- */
24
- isSageEmbed?: boolean;
21
+ showObjectResults?: boolean;
25
22
  /**
26
23
  * flag to disable changing worksheet. default false.
27
24
  */
@@ -31,14 +28,14 @@ export interface SageViewConfig extends ViewConfig {
31
28
  */
32
29
  hideWorksheetSelector?: boolean;
33
30
  /**
34
- * If set to true, the eureka search suggestions are not shown
31
+ * If set to true, the object search suggestions are not shown
35
32
  *
36
33
  */
37
- hideEurekaSuggestions?: boolean;
34
+ showObjectSuggestions?: boolean;
38
35
  }
39
36
  export declare const HiddenActionItemByDefaultForSageEmbed: Action[];
40
37
  /**
41
- * Embed ThoughtSpot search
38
+ * Embed ThoughtSpot LLM and GPT based natural language search component.
42
39
  *
43
40
  * @group Embed components
44
41
  */
@@ -1 +1 @@
1
- {"version":3,"file":"sage.d.ts","sourceRoot":"","sources":["../../../src/embed/sage.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACH,MAAM,EAAE,WAAW,EAAS,UAAU,EACzC,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC;;;;GAIG;AACH,MAAM,WAAW,cAAe,SAAQ,UAAU;IAC9C;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACnC;AACD,eAAO,MAAM,qCAAqC,UASjD,CAAC;AACF;;;;GAIG;AACH,qBAAa,SAAU,SAAQ,OAAO;IAClC;;;OAGG;IACH,SAAS,CAAC,UAAU,EAAE,cAAc,CAAC;gBAGzB,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,cAAc;IAIhE;;;;;OAKG;IACH,SAAS,CAAC,cAAc,IAAI,MAAM;IAwBlC;;;;;OAKG;IACH,OAAO,CAAC,YAAY;IAOpB;;;;OAIG;IACI,MAAM,IAAI,SAAS;CAQ7B"}
1
+ {"version":3,"file":"sage.d.ts","sourceRoot":"","sources":["../../../src/embed/sage.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACH,MAAM,EAAE,WAAW,EAAS,UAAU,EACzC,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC;;;;;GAKG;AACH,MAAM,WAAW,cAAe,SAAQ,UAAU;IAC9C;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACnC;AACD,eAAO,MAAM,qCAAqC,UASjD,CAAC;AACF;;;;GAIG;AACH,qBAAa,SAAU,SAAQ,OAAO;IAClC;;;OAGG;IACH,SAAS,CAAC,UAAU,EAAE,cAAc,CAAC;gBAGzB,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,cAAc;IAIhE;;;;;OAKG;IACH,SAAS,CAAC,cAAc,IAAI,MAAM;IAuBlC;;;;;OAKG;IACH,OAAO,CAAC,YAAY;IAOpB;;;;OAIG;IACI,MAAM,IAAI,SAAS;CAQ7B"}
@@ -20,7 +20,7 @@ export const HiddenActionItemByDefaultForSageEmbed = [
20
20
  Action.Share,
21
21
  ];
22
22
  /**
23
- * Embed ThoughtSpot search
23
+ * Embed ThoughtSpot LLM and GPT based natural language search component.
24
24
  *
25
25
  * @group Embed components
26
26
  */
@@ -37,14 +37,14 @@ export class SageEmbed extends V1Embed {
37
37
  */
38
38
  getEmbedParams() {
39
39
  var _a;
40
- const { hideEurekaResults, isSageEmbed, disableWorksheetChange, hideWorksheetSelector, hideEurekaSuggestions, } = this.viewConfig;
40
+ const { showObjectResults, disableWorksheetChange, hideWorksheetSelector, showObjectSuggestions, } = this.viewConfig;
41
41
  const params = {};
42
42
  params[Param.EmbedApp] = true;
43
- params[Param.HideEurekaResults] = !!hideEurekaResults;
44
- params[Param.IsSageEmbed] = !!isSageEmbed;
43
+ params[Param.HideEurekaResults] = !showObjectResults;
44
+ params[Param.IsSageEmbed] = true;
45
45
  params[Param.DisableWorksheetChange] = !!disableWorksheetChange;
46
46
  params[Param.HideWorksheetSelector] = !!hideWorksheetSelector;
47
- params[Param.HideEurekaSuggestions] = !!hideEurekaSuggestions;
47
+ params[Param.HideEurekaSuggestions] = !showObjectSuggestions;
48
48
  params[Param.HideActions] = [
49
49
  ...((_a = params[Param.HideActions]) !== null && _a !== void 0 ? _a : []),
50
50
  ...HiddenActionItemByDefaultForSageEmbed,
@@ -1 +1 @@
1
- {"version":3,"file":"sage.js","sourceRoot":"","sources":["../../../src/embed/sage.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACH,MAAM,EAAe,KAAK,GAC7B,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AA8BrC,MAAM,CAAC,MAAM,qCAAqC,GAAG;IACjD,MAAM,CAAC,IAAI;IACX,MAAM,CAAC,GAAG;IACV,MAAM,CAAC,SAAS;IAChB,MAAM,CAAC,UAAU;IACjB,MAAM,CAAC,SAAS;IAChB,MAAM,CAAC,OAAO;IACd,MAAM,CAAC,YAAY;IACnB,MAAM,CAAC,KAAK;CACf,CAAC;AACF;;;;GAIG;AACH,MAAM,OAAO,SAAU,SAAQ,OAAO;IAOlC,kDAAkD;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AC;QAChE,MAAM,CAAC,KAAK,CAAC,qBAAqB,CAAC,GAAG,CAAC,CAAC,qBAAqB,CAAC;QAC9D,MAAM,CAAC,KAAK,CAAC,qBAAqB,CAAC,GAAG,CAAC,qBAAqB,CAAC;QAC7D,MAAM,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG;YACxB,GAAG,CAAC,MAAA,MAAM,CAAC,KAAK,CAAC,WAAW,CAAC,mCAAI,EAAE,CAAC;YACpC,GAAG,qCAAqC;SAC3C,CAAC;QAEF,OAAO,mBAAmB,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAC7C,CAAC;IAED;;;;;OAKG;IACK,YAAY;QAChB,MAAM,IAAI,GAAG,QAAQ,CAAC;QACtB,MAAM,gBAAgB,GAAG,IAAI,CAAC,2BAA2B,EAAE,CAAC;QAE5D,OAAO,GAAG,IAAI,CAAC,gBAAgB,EAAE,UAAU,IAAI,GAAG,gBAAgB,EAAE,CAAC;IACzE,CAAC;IAED;;;;OAIG;IACI,MAAM;QACT,KAAK,CAAC,MAAM,EAAE,CAAC;QAEf,MAAM,GAAG,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;QAChC,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;QAExB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ"}
@@ -3,11 +3,10 @@ import { init } from '../index';
3
3
  import { AuthType } from '../types';
4
4
  import { executeAfterWait, expectUrlMatch, getDocumentBody, getIFrameSrc, getRootEl, } from '../test/test-utils';
5
5
  const defaultConfig = {
6
- hideEurekaResults: false,
7
- isSageEmbed: true,
6
+ showObjectResults: true,
8
7
  disableWorksheetChange: false,
9
8
  hideWorksheetSelector: true,
10
- hideEurekaSuggestions: true,
9
+ showObjectSuggestions: false,
11
10
  };
12
11
  const thoughtSpotHost = 'tshost';
13
12
  beforeAll(() => {
@@ -1 +1 @@
1
- {"version":3,"file":"sage.spec.js","sourceRoot":"","sources":["../../../src/embed/sage.spec.ts"],"names":[],"mapp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essionInfo } from './auth';
16
16
  import { AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, EmbedConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, ContextMenuTriggerOptions } from './types';
17
17
  import { CustomCssVariables } from './css-variables';
18
- import { SageEmbed } from './embed/sage';
19
- export { init, logout, prefetch, executeTML, exportTML, getEmbedConfig as getInitConfig, getSessionInfo, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, SageEmbed, AppEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, ContextMenuTriggerOptions, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, };
18
+ import { SageEmbed, SageViewConfig } from './embed/sage';
19
+ export { init, logout, prefetch, executeTML, exportTML, getEmbedConfig as getInitConfig, getSessionInfo, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, SageEmbed, AppEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, ContextMenuTriggerOptions, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, SageViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, };
20
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,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}
@@ -1,3 +1,3 @@
1
- export { SearchEmbed, LiveboardEmbed, SearchBarEmbed, AppEmbed, useEmbedRef, } from './index';
2
- export { init, logout, prefetch, getInitConfig, getSessionInfo, PinboardEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, } from '../index';
1
+ export { SearchEmbed, LiveboardEmbed, SearchBarEmbed, AppEmbed, SageEmbed, useEmbedRef, } from './index';
2
+ export { init, logout, prefetch, getInitConfig, getSessionInfo, PinboardEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, SageViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, } from '../index';
3
3
  //# sourceMappingURL=all-types-export.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"all-types-export.d.ts","sourceRoot":"","sources":["../../../src/react/all-types-export.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,WAAW,EACX,cAAc,EACd,cAAc,EACd,QAAQ,EACR,WAAW,GACd,MAAM,SAAS,CAAC;AAEjB,OAAO,EACH,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,aAAa,EACb,cAAc,EACd,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,gBAAgB,EAEhB,IAAI,EACJ,QAAQ,EACR,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,cAAc,EACd,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,YAAY,EACZ,kBAAkB,EAClB,kBAAkB,GACrB,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"all-types-export.d.ts","sourceRoot":"","sources":["../../../src/react/all-types-export.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,WAAW,EACX,cAAc,EACd,cAAc,EACd,QAAQ,EACR,SAAS,EACT,WAAW,GACd,MAAM,SAAS,CAAC;AAEjB,OAAO,EACH,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,aAAa,EACb,cAAc,EACd,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,gBAAgB,EAEhB,IAAI,EACJ,QAAQ,EACR,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,cAAc,EACd,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,YAAY,EACZ,kBAAkB,EAClB,kBAAkB,GACrB,MAAM,UAAU,CAAC"}
@@ -1,4 +1,4 @@
1
- export { SearchEmbed, LiveboardEmbed, SearchBarEmbed, AppEmbed, useEmbedRef, } from './index';
1
+ export { SearchEmbed, LiveboardEmbed, SearchBarEmbed, AppEmbed, SageEmbed, useEmbedRef, } from './index';
2
2
  export { init, logout, prefetch, getInitConfig, getSessionInfo, PinboardEmbed, AuthFailureType, AuthStatus, AuthEvent,
3
3
  // types
4
4
  Page, AuthType, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, PrefetchFeatures, } from '../index';
@@ -1 +1 @@
1
- {"version":3,"file":"all-types-export.js","sourceRoot":"","sources":["../../../src/react/all-types-export.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,WAAW,EACX,cAAc,EACd,cAAc,EACd,QAAQ,EACR,WAAW,GACd,MAAM,SAAS,CAAC;AAEjB,OAAO,EACH,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,aAAa,EACb,cAAc,EACd,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS;AAET,QAAQ;AACR,IAAI,EACJ,QAAQ,EAER,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,MAAM,EAMN,gBAAgB,GAUnB,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"all-types-export.js","sourceRoot":"","sources":["../../../src/react/all-types-export.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,WAAW,EACX,cAAc,EACd,cAAc,EACd,QAAQ,EACR,SAAS,EACT,WAAW,GACd,MAAM,SAAS,CAAC;AAEjB,OAAO,EACH,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,aAAa,EACb,cAAc,EACd,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS;AAET,QAAQ;AACR,IAAI,EACJ,QAAQ,EAER,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,MAAM,EAON,gBAAgB,GAUnB,MAAM,UAAU,CAAC"}
@@ -76,6 +76,19 @@ interface SearchBarEmbedProps extends EmbedProps, SearchBarViewConfig {
76
76
  export declare const SearchBarEmbed: React.ForwardRefExoticComponent<SearchBarEmbedProps & React.RefAttributes<TsEmbed>>;
77
77
  interface SageEmbedProps extends EmbedProps, SageViewConfig {
78
78
  }
79
+ /**
80
+ * React component for LLM based search Sage embed.
81
+ *
82
+ * @example
83
+ * ```tsx
84
+ * function Sage() {
85
+ * return <SageEmbed
86
+ * showObjectResults={true}
87
+ * ... other view config props or event listeners.
88
+ * />
89
+ * }
90
+ * ```
91
+ */
79
92
  export declare const SageEmbed: React.ForwardRefExoticComponent<SageEmbedProps & React.RefAttributes<TsEmbed>>;
80
93
  /**
81
94
  * Get a reference to the embed component to trigger events on the component.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAqC,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC7F,OAAO,EAA2B,cAAc,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,EAA+B,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAChF,OAAO,EAAyB,aAAa,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,EAAqC,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC5F,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAG5C,OAAO,EAAE,UAAU,EAA4B,MAAM,QAAQ,CAAC;AA2D9D,UAAU,WAAY,SAAQ,UAAU,EAAE,gBAAgB;CAAG;AAE7D;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,WAAW,6EAEvB,CAAC;AAEF,UAAU,QAAS,SAAQ,UAAU,EAAE,aAAa;CAAG;AAEvD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,QAAQ,0EAAyE,CAAC;AAE/F,UAAU,cAAe,SAAQ,UAAU,EAAE,mBAAmB;CAAG;AAEnE;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,cAAc,gFAIT,CAAC;AAEnB,eAAO,MAAM,aAAa,gFAAiB,CAAC;AAE5C,UAAU,mBAAoB,SAAQ,UAAU,EAAE,mBAAmB;CAAG;AAExE;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,cAAc,qFAIT,CAAC;AAEnB,UAAU,cAAe,SAAQ,UAAU,EAAE,cAAc;CAAG;AAE9D,eAAO,MAAM,SAAS,gFAIT,CAAC;AAEd;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,WAAW,QAAO,MAAM,gBAAgB,CAAC,OAAO,CAAgC,CAAC;AAE9F,OAAO,EACH,mBAAm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;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,WAAW,QAAO,MAAM,gBAAgB,CAAC,OAAO,CAAgC,CAAC;AAE9F,OAAO,EACH,mBAAmB,EACnB,gBAAgB,EAChB,aAAa,EACb,IAAI,EACJ,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,MAAM,EACN,WAAW,GACd,MAAM,UAAU,CAAC"}
@@ -96,6 +96,19 @@ export const PinboardEmbed = LiveboardEmbed;
96
96
  * ```
97
97
  */
98
98
  export const SearchBarEmbed = componentFactory(_SearchBarEmbed);
99
+ /**
100
+ * React component for LLM based search Sage embed.
101
+ *
102
+ * @example
103
+ * ```tsx
104
+ * function Sage() {
105
+ * return <SageEmbed
106
+ * showObjectResults={true}
107
+ * ... other view config props or event listeners.
108
+ * />
109
+ * }
110
+ * ```
111
+ */
99
112
  export const SageEmbed = componentFactory(_SageEmbed);
100
113
  /**
101
114
  * Get a reference to the embed component to trigger events on the component.
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/react/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,cAAc,IAAI,eAAe,EAAuB,MAAM,qBAAqB,CAAC;AAC7F,OAAO,EAAE,SAAS,IAAI,UAAU,EAAkB,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,WAAW,IAAI,YAAY,EAAoB,MAAM,iBAAiB,CAAC;AAChF,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAiB,MAAM,cAAc,CAAC;AACpE,OAAO,EAAE,cAAc,IAAI,eAAe,EAAuB,MAAM,oBAAoB,CAAC;AAI5F,OAAO,EAAc,wBAAwB,EAAE,MAAM,QAAQ,CAAC;AAE9D,MAAM,gBAAgB,GAAG,CACrB,gBAAmB,EACrB,EAAE,C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CAAC,UAAU,CAAC,eAAe,CAAC;QACxB,CAAC,CAAC,6CACc,SAAS,EACrB,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,GAC3B;QACR,CAAC,CAAC,4CACc,SAAS,EACrB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,SAAS,GAClB,CACb,CAAC;AACN,CAAC,CACJ,CAAC;AAIF;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,gBAAgB,CACvC,YAAY,CACf,CAAC;AAIF;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,gBAAgB,CAA4C,SAAS,CAAC,CAAC;AAI/F;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,gBAAgB,CAI5C,eAAe,CAAC,CAAC;AAEnB,MAAM,CAAC,MAAM,aAAa,GAAG,cAAc,CAAC;AAI5C;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,gBAAgB,CAI5C,eAAe,CAAC,CAAC;AAInB;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,gBAAgB,CAIvC,UAAU,CAAC,CAAC;AAEd;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,GAAoC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAU,IAAI,CAAC,CAAC;AAE9F,OAAO,EAIH,IAAI,EAEJ,eAAe,EACf,UAAU,EACV,SAAS,EACT,MAAM,GAET,MAAM,UAAU,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thoughtspot/visual-embed-sdk",
3
- "version": "1.22.0-alpha.6",
3
+ "version": "1.22.0-alpha.8",
4
4
  "description": "ThoughtSpot Embed SDK",
5
5
  "module": "lib/src/index.js",
6
6
  "main": "dist/tsembed.js",
@@ -10,11 +10,10 @@ import {
10
10
  } from '../test/test-utils';
11
11
 
12
12
  const defaultConfig: SageViewConfig = {
13
- hideEurekaResults: false,
14
- isSageEmbed: true,
13
+ showObjectResults: true,
15
14
  disableWorksheetChange: false,
16
15
  hideWorksheetSelector: true,
17
- hideEurekaSuggestions: true,
16
+ showObjectSuggestions: false,
18
17
  };
19
18
 
20
19
  const thoughtSpotHost = 'tshost';