@thoughtspot/visual-embed-sdk 1.32.1 → 1.32.2

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 (90) hide show
  1. package/cjs/package.json +4 -22
  2. package/cjs/src/css-variables.d.ts +28 -0
  3. package/cjs/src/css-variables.d.ts.map +1 -1
  4. package/cjs/src/embed/app.d.ts +15 -14
  5. package/cjs/src/embed/app.d.ts.map +1 -1
  6. package/cjs/src/embed/app.js +18 -3
  7. package/cjs/src/embed/app.js.map +1 -1
  8. package/cjs/src/embed/app.spec.js +32 -0
  9. package/cjs/src/embed/app.spec.js.map +1 -1
  10. package/cjs/src/embed/liveboard.d.ts.map +1 -1
  11. package/cjs/src/embed/liveboard.js +2 -1
  12. package/cjs/src/embed/liveboard.js.map +1 -1
  13. package/cjs/src/embed/liveboard.spec.js +10 -0
  14. package/cjs/src/embed/liveboard.spec.js.map +1 -1
  15. package/cjs/src/embed/search.d.ts +0 -13
  16. package/cjs/src/embed/search.d.ts.map +1 -1
  17. package/cjs/src/embed/search.js +1 -1
  18. package/cjs/src/embed/search.js.map +1 -1
  19. package/cjs/src/embed/search.spec.js +9 -9
  20. package/cjs/src/embed/search.spec.js.map +1 -1
  21. package/cjs/src/mixpanel-service.d.ts +4 -0
  22. package/cjs/src/mixpanel-service.d.ts.map +1 -1
  23. package/cjs/src/mixpanel-service.js +4 -0
  24. package/cjs/src/mixpanel-service.js.map +1 -1
  25. package/cjs/src/react/index.spec.js +1 -1
  26. package/cjs/src/react/index.spec.js.map +1 -1
  27. package/cjs/src/types.d.ts +25 -14
  28. package/cjs/src/types.d.ts.map +1 -1
  29. package/cjs/src/types.js +11 -13
  30. package/cjs/src/types.js.map +1 -1
  31. package/dist/src/css-variables.d.ts +28 -0
  32. package/dist/src/css-variables.d.ts.map +1 -1
  33. package/dist/src/embed/app.d.ts +15 -14
  34. package/dist/src/embed/app.d.ts.map +1 -1
  35. package/dist/src/embed/liveboard.d.ts.map +1 -1
  36. package/dist/src/embed/search.d.ts +0 -13
  37. package/dist/src/embed/search.d.ts.map +1 -1
  38. package/dist/src/mixpanel-service.d.ts +4 -0
  39. package/dist/src/mixpanel-service.d.ts.map +1 -1
  40. package/dist/src/types.d.ts +25 -14
  41. package/dist/src/types.d.ts.map +1 -1
  42. package/dist/tsembed-react.es.js +36 -18
  43. package/dist/tsembed-react.js +36 -18
  44. package/dist/tsembed.es.js +36 -18
  45. package/dist/tsembed.js +36 -18
  46. package/dist/visual-embed-sdk-react-full.d.ts +72 -41
  47. package/dist/visual-embed-sdk-react.d.ts +72 -41
  48. package/dist/visual-embed-sdk.d.ts +72 -41
  49. package/lib/package.json +4 -22
  50. package/lib/src/css-variables.d.ts +28 -0
  51. package/lib/src/css-variables.d.ts.map +1 -1
  52. package/lib/src/embed/app.d.ts +15 -14
  53. package/lib/src/embed/app.d.ts.map +1 -1
  54. package/lib/src/embed/app.js +17 -2
  55. package/lib/src/embed/app.js.map +1 -1
  56. package/lib/src/embed/app.spec.js +33 -1
  57. package/lib/src/embed/app.spec.js.map +1 -1
  58. package/lib/src/embed/liveboard.d.ts.map +1 -1
  59. package/lib/src/embed/liveboard.js +2 -1
  60. package/lib/src/embed/liveboard.js.map +1 -1
  61. package/lib/src/embed/liveboard.spec.js +10 -0
  62. package/lib/src/embed/liveboard.spec.js.map +1 -1
  63. package/lib/src/embed/search.d.ts +0 -13
  64. package/lib/src/embed/search.d.ts.map +1 -1
  65. package/lib/src/embed/search.js +1 -1
  66. package/lib/src/embed/search.js.map +1 -1
  67. package/lib/src/embed/search.spec.js +9 -9
  68. package/lib/src/embed/search.spec.js.map +1 -1
  69. package/lib/src/mixpanel-service.d.ts +4 -0
  70. package/lib/src/mixpanel-service.d.ts.map +1 -1
  71. package/lib/src/mixpanel-service.js +4 -0
  72. package/lib/src/mixpanel-service.js.map +1 -1
  73. package/lib/src/react/index.spec.js +1 -1
  74. package/lib/src/react/index.spec.js.map +1 -1
  75. package/lib/src/types.d.ts +25 -14
  76. package/lib/src/types.d.ts.map +1 -1
  77. package/lib/src/types.js +11 -13
  78. package/lib/src/types.js.map +1 -1
  79. package/lib/src/visual-embed-sdk.d.ts +72 -41
  80. package/package.json +4 -22
  81. package/src/css-variables.ts +28 -0
  82. package/src/embed/app.spec.ts +48 -0
  83. package/src/embed/app.ts +22 -14
  84. package/src/embed/liveboard.spec.ts +14 -0
  85. package/src/embed/liveboard.ts +2 -0
  86. package/src/embed/search.spec.ts +9 -9
  87. package/src/embed/search.ts +1 -14
  88. package/src/mixpanel-service.ts +4 -0
  89. package/src/react/index.spec.tsx +1 -1
  90. package/src/types.ts +35 -23
@@ -1184,7 +1184,6 @@ var EmbedEvent;
1184
1184
  /**
1185
1185
  * Emitted when a user clicks the **Update TML** action on
1186
1186
  * embedded Liveboard.
1187
- *
1188
1187
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
1189
1188
  * @example
1190
1189
  *```js
@@ -1196,7 +1195,6 @@ var EmbedEvent;
1196
1195
  /**
1197
1196
  * Emitted when a user clicks the **Edit TML** action
1198
1197
  * on an embedded Liveboard.
1199
- *
1200
1198
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
1201
1199
  * @example
1202
1200
  *```js
@@ -1806,20 +1804,16 @@ var HostEvent;
1806
1804
  /**
1807
1805
  * Trigger the **Export TML** action on an embedded Liveboard or
1808
1806
  * Answer.
1809
- *
1810
1807
  * @example
1811
1808
  * ```js
1812
1809
  * liveboardEmbed.trigger(HostEvent.ExportTML)
1813
1810
  * ```
1814
- *
1815
1811
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1816
1812
  */
1817
1813
  HostEvent["ExportTML"] = "exportTSL";
1818
1814
  /**
1819
1815
  * Trigger the **Edit TML** action on an embedded Liveboard or
1820
1816
  * saved Answers in the full application embedding.
1821
- *
1822
- *
1823
1817
  * @example
1824
1818
  * ```js
1825
1819
  * liveboardEmbed.trigger(HostEvent.EditTML)
@@ -1946,7 +1940,6 @@ var HostEvent;
1946
1940
  * This event is not supported in visualization embed and search embed.
1947
1941
  * @param - object - To trigger the action for a specific visualization
1948
1942
  * in Liveboard embed, pass in `vizId` as a key.
1949
- *
1950
1943
  * @example
1951
1944
  * ```js
1952
1945
  * liveboardEmbed.trigger(HostEvent.Edit)
@@ -2213,7 +2206,6 @@ var HostEvent;
2213
2206
  /**
2214
2207
  * Get details of filters applied on the Liveboard.
2215
2208
  * Returns arrays containing Liveboard filter and runtime filter elements.
2216
- *
2217
2209
  * @example
2218
2210
  * ```js
2219
2211
  * const data = await liveboardEmbed.trigger(HostEvent.GetFilters);
@@ -2516,6 +2508,7 @@ var Param;
2516
2508
  Param["IsOnBeforeGetVizDataInterceptEnabled"] = "isOnBeforeGetVizDataInterceptEnabled";
2517
2509
  Param["FocusSearchBarOnRender"] = "focusSearchBarOnRender";
2518
2510
  Param["DisableRedirectionLinksInNewTab"] = "disableRedirectionLinksInNewTab";
2511
+ Param["HomePageSearchBarMode"] = "homePageSearchBarMode";
2519
2512
  })(Param || (Param = {}));
2520
2513
  /**
2521
2514
  * ThoughtSpot application pages include actions and menu commands
@@ -2567,7 +2560,6 @@ var Action;
2567
2560
  * The **Save as View** action on the Answer
2568
2561
  * page. Saves an Answer as a View object in the full
2569
2562
  * application embedding mode.
2570
- *
2571
2563
  * @example
2572
2564
  * ```js
2573
2565
  * disabledActions: [Action.SaveAsView]
@@ -3025,7 +3017,6 @@ var Action;
3025
3017
  /**
3026
3018
  * The **Delete** action for Answers in the full application
3027
3019
  * embedding mode.
3028
- *
3029
3020
  * @example
3030
3021
  * ```js
3031
3022
  * disabledActions: [Action.AnswerDelete]
@@ -3297,9 +3288,6 @@ var Action;
3297
3288
  */
3298
3289
  Action["RenameModalTitleDescription"] = "renameModalTitleDescription";
3299
3290
  /**
3300
- *
3301
- * The **Request Verification** action on the Liveboard.
3302
- * Triggers a Liveboard verification request.
3303
3291
  *
3304
3292
  * @example
3305
3293
  * ```js
@@ -3535,6 +3523,16 @@ var Action;
3535
3523
  * @version SDK: 1.34.0 | Thoughtspot: 10.3.0.cl
3536
3524
  */
3537
3525
  Action["UnsubscribeScheduleHomepage"] = "unsubscribeScheduleHomepage";
3526
+ /**
3527
+ * The **Manage Tags** action on Homepage Favourite Module.
3528
+ *
3529
+ * @example
3530
+ * ```js
3531
+ * disabledActions: [Action.ManageTags]
3532
+ * ```
3533
+ * @version SDK : 1.34.0 | Thoughtspot: 10.3.0.cl
3534
+ */
3535
+ Action["ManageTags"] = "manageTags";
3538
3536
  /**
3539
3537
  * Action ID for delete schedule action on schedule on homepage
3540
3538
  * @example
@@ -12782,6 +12780,10 @@ var mixpanel$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.assign(/*#__PURE
12782
12780
  // Needed to avoid error in CJS builds on some bundlers.
12783
12781
  const mixpanelLib = mixpanel_cjs || mixpanel$1;
12784
12782
  let mixpanelInstance;
12783
+ /**
12784
+ * Enum of mixpanel events
12785
+ * @hidden
12786
+ */
12785
12787
  const MIXPANEL_EVENT = {
12786
12788
  VISUAL_SDK_RENDER_START: 'visual-sdk-render-start',
12787
12789
  VISUAL_SDK_CALLED_INIT: 'visual-sdk-called-init',
@@ -14201,7 +14203,7 @@ function processTrigger(iFrame, messageType, thoughtSpotHost, data) {
14201
14203
  });
14202
14204
  }
14203
14205
 
14204
- var name="@thoughtspot/visual-embed-sdk";var version="1.32.1";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-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","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-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","eslint-plugin-comment-length":"^0.9.2","eslint-plugin-jsdoc":"^46.9.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","@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/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-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:"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",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,description:description,module:module,main:main,types:types,files:files,exports:exports,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.js",limit:"48 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};
14206
+ var name="@thoughtspot/visual-embed-sdk";var version="1.32.2";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","eslint-plugin-comment-length":"^0.9.2","eslint-plugin-jsdoc":"^46.9.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","@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/mixpanel-browser":"^2.35.6","@types/lodash":"^4.17.0","@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","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:"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",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,description:description,module:module,main:main,types:types,files:files,exports:exports,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.js",limit:"48 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};
14205
14207
 
14206
14208
  /**
14207
14209
  * Copyright (c) 2022
@@ -15278,6 +15280,10 @@ var Page;
15278
15280
  * SpotIQ listing page
15279
15281
  */
15280
15282
  Page["SpotIQ"] = "insights";
15283
+ /**
15284
+ * Monitor Alerts Page
15285
+ */
15286
+ Page["Monitor"] = "monitor";
15281
15287
  })(Page || (Page = {}));
15282
15288
  /**
15283
15289
  * Define the initial state os column custom group accordions
@@ -15298,6 +15304,12 @@ var DataPanelCustomColumnGroupsAccordionState;
15298
15304
  */
15299
15305
  DataPanelCustomColumnGroupsAccordionState["EXPAND_FIRST"] = "EXPAND_FIRST";
15300
15306
  })(DataPanelCustomColumnGroupsAccordionState || (DataPanelCustomColumnGroupsAccordionState = {}));
15307
+ var HomePageSearchBarMode;
15308
+ (function (HomePageSearchBarMode) {
15309
+ HomePageSearchBarMode["OBJECT_SEARCH"] = "objectSearch";
15310
+ HomePageSearchBarMode["AI_ANSWER"] = "aiAnswer";
15311
+ HomePageSearchBarMode["NONE"] = "none";
15312
+ })(HomePageSearchBarMode || (HomePageSearchBarMode = {}));
15301
15313
  /**
15302
15314
  * Embeds full ThoughtSpot experience in a host application.
15303
15315
  * @group Embed components
@@ -15338,9 +15350,9 @@ class AppEmbed extends V1Embed {
15338
15350
  * embedded Liveboard or visualization.
15339
15351
  */
15340
15352
  getEmbedParams() {
15341
- const { tag, hideObjects, liveboardV2, showPrimaryNavbar, disableProfileAndHelp, hideApplicationSwitcher, hideOrgSwitcher, enableSearchAssist, fullHeight, dataPanelV2 = false, hideLiveboardHeader = false, showLiveboardTitle = true, showLiveboardDescription = true, hideHomepageLeftNav = false, modularHomeExperience = false, isLiveboardHeaderSticky = true, enableAskSage, collapseSearchBarInitially = false, enable2ColumnLayout, enableCustomColumnGroups = false, isOnBeforeGetVizDataInterceptEnabled = false,
15353
+ const { tag, hideObjects, liveboardV2, showPrimaryNavbar, disableProfileAndHelp, hideApplicationSwitcher, hideOrgSwitcher, enableSearchAssist, fullHeight, dataPanelV2 = true, hideLiveboardHeader = false, showLiveboardTitle = true, showLiveboardDescription = true, hideHomepageLeftNav = false, modularHomeExperience = false, isLiveboardHeaderSticky = true, enableAskSage, collapseSearchBarInitially = false, enable2ColumnLayout, enableCustomColumnGroups = false, isOnBeforeGetVizDataInterceptEnabled = false,
15342
15354
  /* eslint-disable-next-line max-len */
15343
- dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState.EXPAND_ALL, collapseSearchBar = true, } = this.viewConfig;
15355
+ dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState.EXPAND_ALL, collapseSearchBar = true, homePageSearchBarMode, } = this.viewConfig;
15344
15356
  let params = {};
15345
15357
  params[Param.EmbedApp] = true;
15346
15358
  params[Param.PrimaryNavHidden] = !showPrimaryNavbar;
@@ -15378,6 +15390,9 @@ class AppEmbed extends V1Embed {
15378
15390
  /* eslint-disable-next-line max-len */
15379
15391
  params[Param.IsOnBeforeGetVizDataInterceptEnabled] = isOnBeforeGetVizDataInterceptEnabled;
15380
15392
  }
15393
+ if (homePageSearchBarMode) {
15394
+ params[Param.HomePageSearchBarMode] = homePageSearchBarMode;
15395
+ }
15381
15396
  params[Param.DataPanelV2Enabled] = dataPanelV2;
15382
15397
  params[Param.HideHomepageLeftNav] = hideHomepageLeftNav;
15383
15398
  params[Param.ModularHomeExperienceEnabled] = modularHomeExperience;
@@ -15428,6 +15443,8 @@ class AppEmbed extends V1Embed {
15428
15443
  return 'data/tables';
15429
15444
  case Page.SpotIQ:
15430
15445
  return modularHomeExperience ? 'home/spotiq-analysis' : 'insights/results';
15446
+ case Page.Monitor:
15447
+ return modularHomeExperience ? 'home/monitor-alerts' : 'insights/monitor-alerts';
15431
15448
  case Page.Home:
15432
15449
  default:
15433
15450
  return 'home';
@@ -15619,7 +15636,7 @@ class LiveboardEmbed extends V1Embed {
15619
15636
  let params = {};
15620
15637
  params[Param.EmbedApp] = true;
15621
15638
  params = this.getBaseQueryParams(params);
15622
- const { enableVizTransformations, fullHeight, defaultHeight, visibleVizs, liveboardV2, vizId, hideTabPanel, activeTabId, hideLiveboardHeader, showLiveboardDescription, showLiveboardTitle, isLiveboardHeaderSticky = true, enableAskSage, enable2ColumnLayout, } = this.viewConfig;
15639
+ const { enableVizTransformations, fullHeight, defaultHeight, visibleVizs, liveboardV2, vizId, hideTabPanel, activeTabId, hideLiveboardHeader, showLiveboardDescription, showLiveboardTitle, isLiveboardHeaderSticky = true, enableAskSage, enable2ColumnLayout, dataPanelV2 = true, } = this.viewConfig;
15623
15640
  const preventLiveboardFilterRemoval = this.viewConfig.preventLiveboardFilterRemoval
15624
15641
  || this.viewConfig.preventPinboardFilterRemoval;
15625
15642
  if (fullHeight === true) {
@@ -15663,6 +15680,7 @@ class LiveboardEmbed extends V1Embed {
15663
15680
  params[Param.enableAskSage] = enableAskSage;
15664
15681
  }
15665
15682
  params[Param.LiveboardHeaderSticky] = isLiveboardHeaderSticky;
15683
+ params[Param.DataPanelV2Enabled] = dataPanelV2;
15666
15684
  const queryParams = getQueryParamString(params, true);
15667
15685
  return queryParams;
15668
15686
  }
@@ -15853,7 +15871,7 @@ class SearchEmbed extends TsEmbed {
15853
15871
  }
15854
15872
  getEmbedParams() {
15855
15873
  var _a;
15856
- const { hideResults, enableSearchAssist, forceTable, searchOptions, runtimeFilters, dataSource, dataSources, excludeRuntimeFiltersfromURL, hideSearchBar, dataPanelV2 = false, useLastSelectedSources = false, runtimeParameters, collapseSearchBarInitially = false, enableCustomColumnGroups = false, isOnBeforeGetVizDataInterceptEnabled = false,
15874
+ const { hideResults, enableSearchAssist, forceTable, searchOptions, runtimeFilters, dataSource, dataSources, excludeRuntimeFiltersfromURL, hideSearchBar, dataPanelV2 = true, useLastSelectedSources = false, runtimeParameters, collapseSearchBarInitially = false, enableCustomColumnGroups = false, isOnBeforeGetVizDataInterceptEnabled = false,
15857
15875
  /* eslint-disable-next-line max-len */
15858
15876
  dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState$1.EXPAND_ALL, focusSearchBarOnRender = true, excludeRuntimeParametersfromURL, collapseSearchBar = true, } = this.viewConfig;
15859
15877
  const queryParams = this.getBaseQueryParams();
package/dist/tsembed.js CHANGED
@@ -1139,7 +1139,6 @@
1139
1139
  /**
1140
1140
  * Emitted when a user clicks the **Update TML** action on
1141
1141
  * embedded Liveboard.
1142
- *
1143
1142
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
1144
1143
  * @example
1145
1144
  *```js
@@ -1151,7 +1150,6 @@
1151
1150
  /**
1152
1151
  * Emitted when a user clicks the **Edit TML** action
1153
1152
  * on an embedded Liveboard.
1154
- *
1155
1153
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
1156
1154
  * @example
1157
1155
  *```js
@@ -1738,20 +1736,16 @@
1738
1736
  /**
1739
1737
  * Trigger the **Export TML** action on an embedded Liveboard or
1740
1738
  * Answer.
1741
- *
1742
1739
  * @example
1743
1740
  * ```js
1744
1741
  * liveboardEmbed.trigger(HostEvent.ExportTML)
1745
1742
  * ```
1746
- *
1747
1743
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1748
1744
  */
1749
1745
  HostEvent["ExportTML"] = "exportTSL";
1750
1746
  /**
1751
1747
  * Trigger the **Edit TML** action on an embedded Liveboard or
1752
1748
  * saved Answers in the full application embedding.
1753
- *
1754
- *
1755
1749
  * @example
1756
1750
  * ```js
1757
1751
  * liveboardEmbed.trigger(HostEvent.EditTML)
@@ -1878,7 +1872,6 @@
1878
1872
  * This event is not supported in visualization embed and search embed.
1879
1873
  * @param - object - To trigger the action for a specific visualization
1880
1874
  * in Liveboard embed, pass in `vizId` as a key.
1881
- *
1882
1875
  * @example
1883
1876
  * ```js
1884
1877
  * liveboardEmbed.trigger(HostEvent.Edit)
@@ -2145,7 +2138,6 @@
2145
2138
  /**
2146
2139
  * Get details of filters applied on the Liveboard.
2147
2140
  * Returns arrays containing Liveboard filter and runtime filter elements.
2148
- *
2149
2141
  * @example
2150
2142
  * ```js
2151
2143
  * const data = await liveboardEmbed.trigger(HostEvent.GetFilters);
@@ -2442,6 +2434,7 @@
2442
2434
  Param["IsOnBeforeGetVizDataInterceptEnabled"] = "isOnBeforeGetVizDataInterceptEnabled";
2443
2435
  Param["FocusSearchBarOnRender"] = "focusSearchBarOnRender";
2444
2436
  Param["DisableRedirectionLinksInNewTab"] = "disableRedirectionLinksInNewTab";
2437
+ Param["HomePageSearchBarMode"] = "homePageSearchBarMode";
2445
2438
  })(Param || (Param = {}));
2446
2439
  (function (Action) {
2447
2440
  /**
@@ -2465,7 +2458,6 @@
2465
2458
  * The **Save as View** action on the Answer
2466
2459
  * page. Saves an Answer as a View object in the full
2467
2460
  * application embedding mode.
2468
- *
2469
2461
  * @example
2470
2462
  * ```js
2471
2463
  * disabledActions: [Action.SaveAsView]
@@ -2923,7 +2915,6 @@
2923
2915
  /**
2924
2916
  * The **Delete** action for Answers in the full application
2925
2917
  * embedding mode.
2926
- *
2927
2918
  * @example
2928
2919
  * ```js
2929
2920
  * disabledActions: [Action.AnswerDelete]
@@ -3195,9 +3186,6 @@
3195
3186
  */
3196
3187
  Action["RenameModalTitleDescription"] = "renameModalTitleDescription";
3197
3188
  /**
3198
- *
3199
- * The **Request Verification** action on the Liveboard.
3200
- * Triggers a Liveboard verification request.
3201
3189
  *
3202
3190
  * @example
3203
3191
  * ```js
@@ -3433,6 +3421,16 @@
3433
3421
  * @version SDK: 1.34.0 | Thoughtspot: 10.3.0.cl
3434
3422
  */
3435
3423
  Action["UnsubscribeScheduleHomepage"] = "unsubscribeScheduleHomepage";
3424
+ /**
3425
+ * The **Manage Tags** action on Homepage Favourite Module.
3426
+ *
3427
+ * @example
3428
+ * ```js
3429
+ * disabledActions: [Action.ManageTags]
3430
+ * ```
3431
+ * @version SDK : 1.34.0 | Thoughtspot: 10.3.0.cl
3432
+ */
3433
+ Action["ManageTags"] = "manageTags";
3436
3434
  /**
3437
3435
  * Action ID for delete schedule action on schedule on homepage
3438
3436
  * @example
@@ -12674,6 +12672,10 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
12674
12672
  // Needed to avoid error in CJS builds on some bundlers.
12675
12673
  const mixpanelLib = mixpanel_cjs || mixpanel$1;
12676
12674
  let mixpanelInstance;
12675
+ /**
12676
+ * Enum of mixpanel events
12677
+ * @hidden
12678
+ */
12677
12679
  const MIXPANEL_EVENT = {
12678
12680
  VISUAL_SDK_RENDER_START: 'visual-sdk-render-start',
12679
12681
  VISUAL_SDK_CALLED_INIT: 'visual-sdk-called-init',
@@ -14077,7 +14079,7 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
14077
14079
  });
14078
14080
  }
14079
14081
 
14080
- var name="@thoughtspot/visual-embed-sdk";var version="1.32.1";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-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","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-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","eslint-plugin-comment-length":"^0.9.2","eslint-plugin-jsdoc":"^46.9.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","@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/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-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:"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",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,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.js",limit:"48 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};
14082
+ var name="@thoughtspot/visual-embed-sdk";var version="1.32.2";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","eslint-plugin-comment-length":"^0.9.2","eslint-plugin-jsdoc":"^46.9.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","@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/mixpanel-browser":"^2.35.6","@types/lodash":"^4.17.0","@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","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:"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",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,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.js",limit:"48 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};
14081
14083
 
14082
14084
  /**
14083
14085
  * Copyright (c) 2022
@@ -15149,6 +15151,10 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
15149
15151
  * SpotIQ listing page
15150
15152
  */
15151
15153
  Page["SpotIQ"] = "insights";
15154
+ /**
15155
+ * Monitor Alerts Page
15156
+ */
15157
+ Page["Monitor"] = "monitor";
15152
15158
  })(exports.Page || (exports.Page = {}));
15153
15159
  /**
15154
15160
  * Define the initial state os column custom group accordions
@@ -15169,6 +15175,12 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
15169
15175
  */
15170
15176
  DataPanelCustomColumnGroupsAccordionState["EXPAND_FIRST"] = "EXPAND_FIRST";
15171
15177
  })(DataPanelCustomColumnGroupsAccordionState || (DataPanelCustomColumnGroupsAccordionState = {}));
15178
+ var HomePageSearchBarMode;
15179
+ (function (HomePageSearchBarMode) {
15180
+ HomePageSearchBarMode["OBJECT_SEARCH"] = "objectSearch";
15181
+ HomePageSearchBarMode["AI_ANSWER"] = "aiAnswer";
15182
+ HomePageSearchBarMode["NONE"] = "none";
15183
+ })(HomePageSearchBarMode || (HomePageSearchBarMode = {}));
15172
15184
  /**
15173
15185
  * Embeds full ThoughtSpot experience in a host application.
15174
15186
  * @group Embed components
@@ -15209,9 +15221,9 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
15209
15221
  * embedded Liveboard or visualization.
15210
15222
  */
15211
15223
  getEmbedParams() {
15212
- const { tag, hideObjects, liveboardV2, showPrimaryNavbar, disableProfileAndHelp, hideApplicationSwitcher, hideOrgSwitcher, enableSearchAssist, fullHeight, dataPanelV2 = false, hideLiveboardHeader = false, showLiveboardTitle = true, showLiveboardDescription = true, hideHomepageLeftNav = false, modularHomeExperience = false, isLiveboardHeaderSticky = true, enableAskSage, collapseSearchBarInitially = false, enable2ColumnLayout, enableCustomColumnGroups = false, isOnBeforeGetVizDataInterceptEnabled = false,
15224
+ const { tag, hideObjects, liveboardV2, showPrimaryNavbar, disableProfileAndHelp, hideApplicationSwitcher, hideOrgSwitcher, enableSearchAssist, fullHeight, dataPanelV2 = true, hideLiveboardHeader = false, showLiveboardTitle = true, showLiveboardDescription = true, hideHomepageLeftNav = false, modularHomeExperience = false, isLiveboardHeaderSticky = true, enableAskSage, collapseSearchBarInitially = false, enable2ColumnLayout, enableCustomColumnGroups = false, isOnBeforeGetVizDataInterceptEnabled = false,
15213
15225
  /* eslint-disable-next-line max-len */
15214
- dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState.EXPAND_ALL, collapseSearchBar = true, } = this.viewConfig;
15226
+ dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState.EXPAND_ALL, collapseSearchBar = true, homePageSearchBarMode, } = this.viewConfig;
15215
15227
  let params = {};
15216
15228
  params[Param.EmbedApp] = true;
15217
15229
  params[Param.PrimaryNavHidden] = !showPrimaryNavbar;
@@ -15249,6 +15261,9 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
15249
15261
  /* eslint-disable-next-line max-len */
15250
15262
  params[Param.IsOnBeforeGetVizDataInterceptEnabled] = isOnBeforeGetVizDataInterceptEnabled;
15251
15263
  }
15264
+ if (homePageSearchBarMode) {
15265
+ params[Param.HomePageSearchBarMode] = homePageSearchBarMode;
15266
+ }
15252
15267
  params[Param.DataPanelV2Enabled] = dataPanelV2;
15253
15268
  params[Param.HideHomepageLeftNav] = hideHomepageLeftNav;
15254
15269
  params[Param.ModularHomeExperienceEnabled] = modularHomeExperience;
@@ -15299,6 +15314,8 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
15299
15314
  return 'data/tables';
15300
15315
  case exports.Page.SpotIQ:
15301
15316
  return modularHomeExperience ? 'home/spotiq-analysis' : 'insights/results';
15317
+ case exports.Page.Monitor:
15318
+ return modularHomeExperience ? 'home/monitor-alerts' : 'insights/monitor-alerts';
15302
15319
  case exports.Page.Home:
15303
15320
  default:
15304
15321
  return 'home';
@@ -15490,7 +15507,7 @@ query GetEurekaVizSnapshots(
15490
15507
  let params = {};
15491
15508
  params[Param.EmbedApp] = true;
15492
15509
  params = this.getBaseQueryParams(params);
15493
- const { enableVizTransformations, fullHeight, defaultHeight, visibleVizs, liveboardV2, vizId, hideTabPanel, activeTabId, hideLiveboardHeader, showLiveboardDescription, showLiveboardTitle, isLiveboardHeaderSticky = true, enableAskSage, enable2ColumnLayout, } = this.viewConfig;
15510
+ const { enableVizTransformations, fullHeight, defaultHeight, visibleVizs, liveboardV2, vizId, hideTabPanel, activeTabId, hideLiveboardHeader, showLiveboardDescription, showLiveboardTitle, isLiveboardHeaderSticky = true, enableAskSage, enable2ColumnLayout, dataPanelV2 = true, } = this.viewConfig;
15494
15511
  const preventLiveboardFilterRemoval = this.viewConfig.preventLiveboardFilterRemoval
15495
15512
  || this.viewConfig.preventPinboardFilterRemoval;
15496
15513
  if (fullHeight === true) {
@@ -15534,6 +15551,7 @@ query GetEurekaVizSnapshots(
15534
15551
  params[Param.enableAskSage] = enableAskSage;
15535
15552
  }
15536
15553
  params[Param.LiveboardHeaderSticky] = isLiveboardHeaderSticky;
15554
+ params[Param.DataPanelV2Enabled] = dataPanelV2;
15537
15555
  const queryParams = getQueryParamString(params, true);
15538
15556
  return queryParams;
15539
15557
  }
@@ -15724,7 +15742,7 @@ query GetEurekaVizSnapshots(
15724
15742
  }
15725
15743
  getEmbedParams() {
15726
15744
  var _a;
15727
- const { hideResults, enableSearchAssist, forceTable, searchOptions, runtimeFilters, dataSource, dataSources, excludeRuntimeFiltersfromURL, hideSearchBar, dataPanelV2 = false, useLastSelectedSources = false, runtimeParameters, collapseSearchBarInitially = false, enableCustomColumnGroups = false, isOnBeforeGetVizDataInterceptEnabled = false,
15745
+ const { hideResults, enableSearchAssist, forceTable, searchOptions, runtimeFilters, dataSource, dataSources, excludeRuntimeFiltersfromURL, hideSearchBar, dataPanelV2 = true, useLastSelectedSources = false, runtimeParameters, collapseSearchBarInitially = false, enableCustomColumnGroups = false, isOnBeforeGetVizDataInterceptEnabled = false,
15728
15746
  /* eslint-disable-next-line max-len */
15729
15747
  dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState$1.EXPAND_ALL, focusSearchBarOnRender = true, excludeRuntimeParametersfromURL, collapseSearchBar = true, } = this.viewConfig;
15730
15748
  const queryParams = this.getBaseQueryParams();