@thoughtspot/visual-embed-sdk 1.33.9 → 1.33.11

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 (78) hide show
  1. package/cjs/package.json +2 -2
  2. package/cjs/src/embed/conversation.d.ts +0 -2
  3. package/cjs/src/embed/conversation.d.ts.map +1 -1
  4. package/cjs/src/embed/conversation.js.map +1 -1
  5. package/cjs/src/embed/liveboard.d.ts +36 -0
  6. package/cjs/src/embed/liveboard.d.ts.map +1 -1
  7. package/cjs/src/embed/liveboard.js +10 -1
  8. package/cjs/src/embed/liveboard.js.map +1 -1
  9. package/cjs/src/embed/liveboard.spec.js +13 -0
  10. package/cjs/src/embed/liveboard.spec.js.map +1 -1
  11. package/cjs/src/embed/ts-embed.d.ts.map +1 -1
  12. package/cjs/src/embed/ts-embed.js +5 -2
  13. package/cjs/src/embed/ts-embed.js.map +1 -1
  14. package/cjs/src/embed/ts-embed.spec.d.ts +2 -1
  15. package/cjs/src/embed/ts-embed.spec.d.ts.map +1 -1
  16. package/cjs/src/embed/ts-embed.spec.js +158 -0
  17. package/cjs/src/embed/ts-embed.spec.js.map +1 -1
  18. package/cjs/src/index.d.ts +2 -2
  19. package/cjs/src/index.d.ts.map +1 -1
  20. package/cjs/src/index.js +2 -1
  21. package/cjs/src/index.js.map +1 -1
  22. package/cjs/src/types.d.ts +50 -7
  23. package/cjs/src/types.d.ts.map +1 -1
  24. package/cjs/src/types.js +41 -4
  25. package/cjs/src/types.js.map +1 -1
  26. package/dist/{index-BXczdQc7.js → index-CVRnW-aN.js} +1 -1
  27. package/dist/src/embed/conversation.d.ts +0 -2
  28. package/dist/src/embed/conversation.d.ts.map +1 -1
  29. package/dist/src/embed/liveboard.d.ts +36 -0
  30. package/dist/src/embed/liveboard.d.ts.map +1 -1
  31. package/dist/src/embed/ts-embed.d.ts.map +1 -1
  32. package/dist/src/embed/ts-embed.spec.d.ts +2 -1
  33. package/dist/src/embed/ts-embed.spec.d.ts.map +1 -1
  34. package/dist/src/index.d.ts +2 -2
  35. package/dist/src/index.d.ts.map +1 -1
  36. package/dist/src/types.d.ts +50 -7
  37. package/dist/src/types.d.ts.map +1 -1
  38. package/dist/tsembed-react.es.js +59 -10
  39. package/dist/tsembed-react.js +58 -9
  40. package/dist/tsembed.es.js +60 -11
  41. package/dist/tsembed.js +60 -11
  42. package/dist/visual-embed-sdk-react-full.d.ts +87 -10
  43. package/dist/visual-embed-sdk-react.d.ts +87 -10
  44. package/dist/visual-embed-sdk.d.ts +87 -10
  45. package/lib/package.json +2 -2
  46. package/lib/src/embed/conversation.d.ts +0 -2
  47. package/lib/src/embed/conversation.d.ts.map +1 -1
  48. package/lib/src/embed/conversation.js.map +1 -1
  49. package/lib/src/embed/liveboard.d.ts +36 -0
  50. package/lib/src/embed/liveboard.d.ts.map +1 -1
  51. package/lib/src/embed/liveboard.js +10 -1
  52. package/lib/src/embed/liveboard.js.map +1 -1
  53. package/lib/src/embed/liveboard.spec.js +13 -0
  54. package/lib/src/embed/liveboard.spec.js.map +1 -1
  55. package/lib/src/embed/ts-embed.d.ts.map +1 -1
  56. package/lib/src/embed/ts-embed.js +5 -2
  57. package/lib/src/embed/ts-embed.js.map +1 -1
  58. package/lib/src/embed/ts-embed.spec.d.ts +2 -1
  59. package/lib/src/embed/ts-embed.spec.d.ts.map +1 -1
  60. package/lib/src/embed/ts-embed.spec.js +159 -2
  61. package/lib/src/embed/ts-embed.spec.js.map +1 -1
  62. package/lib/src/index.d.ts +2 -2
  63. package/lib/src/index.d.ts.map +1 -1
  64. package/lib/src/index.js +2 -2
  65. package/lib/src/index.js.map +1 -1
  66. package/lib/src/types.d.ts +50 -7
  67. package/lib/src/types.d.ts.map +1 -1
  68. package/lib/src/types.js +41 -4
  69. package/lib/src/types.js.map +1 -1
  70. package/lib/src/visual-embed-sdk.d.ts +88 -11
  71. package/package.json +2 -2
  72. package/src/embed/conversation.ts +0 -2
  73. package/src/embed/liveboard.spec.ts +17 -0
  74. package/src/embed/liveboard.ts +54 -0
  75. package/src/embed/ts-embed.spec.ts +219 -0
  76. package/src/embed/ts-embed.ts +6 -1
  77. package/src/index.ts +4 -1
  78. package/src/types.ts +50 -4
@@ -1,4 +1,4 @@
1
- /* @thoughtspot/visual-embed-sdk version 1.33.9 */
1
+ /* @thoughtspot/visual-embed-sdk version 1.33.11 */
2
2
  import * as React from 'react';
3
3
  import React__default from 'react';
4
4
 
@@ -1882,7 +1882,6 @@ var HostEvent;
1882
1882
  * Get iframe URL for the current embed view on the playground.
1883
1883
  * Developers can use this URL to embed a ThoughtSpot object
1884
1884
  * in apps like Salesforce or Sharepoint.
1885
- *
1886
1885
  * @example
1887
1886
  * ```js
1888
1887
  * const url = embed.trigger(HostEvent.GetIframeUrl);
@@ -2005,7 +2004,6 @@ var HostEvent;
2005
2004
  * sorting, toggling of legends, and data drill down.
2006
2005
  * For more information, see
2007
2006
  * link:https://developers.thoughtspot.com/docs/fetch-data-and-report-apis#transient-lb-content[Liveboard data with unsaved changes].
2008
- *
2009
2007
  * @example
2010
2008
  * ```js
2011
2009
  * liveboardEmbed.trigger(HostEvent.getExportRequestForCurrentPinboard).then(
@@ -2657,6 +2655,14 @@ var HostEvent;
2657
2655
  * @version SDK: 1.29.0 | Thoughtspot: 10.1.0.cl
2658
2656
  */
2659
2657
  HostEvent["GetParameters"] = "GetParameters";
2658
+ /**
2659
+ * Triggers update of persoanlised view for a liveboard
2660
+ * ```js
2661
+ * liveboardEmbed.trigger(HostEvent.UpdatePersonalisedView, {viewId: '1234'})
2662
+ * ```
2663
+ * @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
2664
+ */
2665
+ HostEvent["UpdatePersonalisedView"] = "UpdatePersonalisedView";
2660
2666
  })(HostEvent || (HostEvent = {}));
2661
2667
  /**
2662
2668
  * The different visual modes that the data sources panel within
@@ -2778,6 +2784,10 @@ var Param;
2778
2784
  Param["SpotterEnabled"] = "isSpotterExperienceEnabled";
2779
2785
  Param["IsUnifiedSearchExperienceEnabled"] = "isUnifiedSearchExperienceEnabled";
2780
2786
  Param["OverrideOrgId"] = "orgId";
2787
+ Param["EnableFlipTooltipToContextMenu"] = "flipTooltipToContextMenuEnabled";
2788
+ Param["OauthPollingInterval"] = "oAuthPollingInterval";
2789
+ Param["IsForceRedirect"] = "isForceRedirect";
2790
+ Param["DataSourceId"] = "dataSourceId";
2781
2791
  })(Param || (Param = {}));
2782
2792
  /**
2783
2793
  * ThoughtSpot application pages include actions and menu commands
@@ -3842,7 +3852,7 @@ var Action;
3842
3852
  * Action ID for hide/disable reset button in spotter
3843
3853
  * @example
3844
3854
  * ```js
3845
- * hiddenAction: [Action.ChangeFilterVisibilityInTab]
3855
+ * hiddenAction: [Action.ResetSpotterChat]
3846
3856
  * ```
3847
3857
  * @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
3848
3858
  */
@@ -3851,11 +3861,38 @@ var Action;
3851
3861
  * Action ID for hide/disable feedback in spotter
3852
3862
  * @example
3853
3863
  * ```js
3854
- * hiddenAction: [Action.ChangeFilterVisibilityInTab]
3864
+ * hiddenAction: [Action.SpotterFeedback]
3855
3865
  * ```
3856
3866
  * @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
3857
3867
  */
3858
3868
  Action["SpotterFeedback"] = "spotterFeedback";
3869
+ /**
3870
+ * Action ID for hide/disable editing previous prompt in spotter
3871
+ * @example
3872
+ * ```js
3873
+ * hiddenAction: [Action.EditPreviousPrompt]
3874
+ * ```
3875
+ * @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
3876
+ */
3877
+ Action["EditPreviousPrompt"] = "editPreviousPrompt";
3878
+ /**
3879
+ * Action ID for hide/disable deleting previous prompt in spotter
3880
+ * @example
3881
+ * ```js
3882
+ * hiddenAction: [Action.DeletePreviousPrompt]
3883
+ * ```
3884
+ * @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
3885
+ */
3886
+ Action["DeletePreviousPrompt"] = "deletePreviousPrompt";
3887
+ /**
3888
+ * Action ID for hide/disable edit of tokens on spotter results.
3889
+ * @example
3890
+ * ```js
3891
+ * hiddenAction: [Action.EditTokens]
3892
+ * ```
3893
+ * @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
3894
+ */
3895
+ Action["EditTokens"] = "editTokens";
3859
3896
  })(Action || (Action = {}));
3860
3897
  var PrefetchFeatures;
3861
3898
  (function (PrefetchFeatures) {
@@ -7113,7 +7150,7 @@ class AnswerService {
7113
7150
  async getTML() {
7114
7151
  const { object } = await this.executeQuery(getAnswerTML, {});
7115
7152
  const edoc = object[0].edoc;
7116
- const YAML = await import('./index-BXczdQc7.js');
7153
+ const YAML = await import('./index-CVRnW-aN.js');
7117
7154
  const parsedDoc = YAML.parse(edoc);
7118
7155
  return {
7119
7156
  answer: {
@@ -14512,7 +14549,7 @@ function processTrigger(iFrame, messageType, thoughtSpotHost, data) {
14512
14549
  });
14513
14550
  }
14514
14551
 
14515
- var name="@thoughtspot/visual-embed-sdk";var version$1="1.33.9";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck","test-sdk":"jest -c jest.config.sdk.js --runInBand",test:"npm run test-sdk",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest",dev:"vite -c vite.local.config.ts"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-comment-length":"1.7.3","eslint-plugin-jsdoc":"^46.9.0","fs-extra":"^10.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^5.3.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"30 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};
14552
+ var name="@thoughtspot/visual-embed-sdk";var version$1="1.33.11";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck","test-sdk":"jest -c jest.config.sdk.js --runInBand",test:"npm run test-sdk",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest",dev:"vite -c vite.local.config.ts"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-comment-length":"1.7.3","eslint-plugin-jsdoc":"^46.9.0","fs-extra":"^10.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^5.3.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"31 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
14516
14553
 
14517
14554
  /**
14518
14555
  * Copyright (c) 2022
@@ -14819,12 +14856,15 @@ class TsEmbed {
14819
14856
  if (this.embedConfig.currencyFormat) {
14820
14857
  queryParams[Param.CurrencyFormat] = this.embedConfig.currencyFormat;
14821
14858
  }
14822
- const { disabledActions, disabledActionReason, hiddenActions, visibleActions, hiddenTabs, visibleTabs, showAlerts, additionalFlags: additionalFlagsFromView, locale, customizations, contextMenuTrigger, linkOverride, insertInToSlide, disableRedirectionLinksInNewTab, overrideOrgId, } = this.viewConfig;
14859
+ const { disabledActions, disabledActionReason, hiddenActions, visibleActions, hiddenTabs, visibleTabs, showAlerts, additionalFlags: additionalFlagsFromView, locale, customizations, contextMenuTrigger, linkOverride, insertInToSlide, disableRedirectionLinksInNewTab, overrideOrgId, enableFlipTooltipToContextMenu = false, } = this.viewConfig;
14823
14860
  const { additionalFlags: additionalFlagsFromInit } = this.embedConfig;
14824
14861
  const additionalFlags = {
14825
14862
  ...additionalFlagsFromInit,
14826
14863
  ...additionalFlagsFromView,
14827
14864
  };
14865
+ if (enableFlipTooltipToContextMenu) {
14866
+ queryParams[Param.EnableFlipTooltipToContextMenu] = enableFlipTooltipToContextMenu;
14867
+ }
14828
14868
  if (Array.isArray(visibleActions) && Array.isArray(hiddenActions)) {
14829
14869
  this.handleError('You cannot have both hidden actions and visible actions');
14830
14870
  return queryParams;
@@ -14932,7 +14972,7 @@ class TsEmbed {
14932
14972
  iFrame.mozallowfullscreen = true;
14933
14973
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
14934
14974
  // @ts-ignore
14935
- iFrame.allow = 'clipboard-read; clipboard-write fullscreen';
14975
+ iFrame.allow = 'clipboard-read; clipboard-write; fullscreen;';
14936
14976
  const { height: frameHeight, width: frameWidth, ...restParams } = this.viewConfig.frameParams || {};
14937
14977
  const width = getCssDimension(frameWidth || DEFAULT_EMBED_WIDTH);
14938
14978
  const height = getCssDimension(frameHeight || DEFAULT_EMBED_HEIGHT);
@@ -16257,7 +16297,7 @@ let LiveboardEmbed$1 = class LiveboardEmbed extends V1Embed {
16257
16297
  getEmbedParams() {
16258
16298
  let params = {};
16259
16299
  params = this.getBaseQueryParams(params);
16260
- const { enableVizTransformations, fullHeight, defaultHeight, visibleVizs, liveboardV2, vizId, hideTabPanel, activeTabId, hideLiveboardHeader, showLiveboardDescription, showLiveboardTitle, isLiveboardHeaderSticky = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, enableAskSage, enable2ColumnLayout, dataPanelV2 = false, enableCustomColumnGroups = false, } = this.viewConfig;
16300
+ const { enableVizTransformations, fullHeight, defaultHeight, visibleVizs, liveboardV2, vizId, hideTabPanel, activeTabId, hideLiveboardHeader, showLiveboardDescription, showLiveboardTitle, isLiveboardHeaderSticky = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, enableAskSage, enable2ColumnLayout, dataPanelV2 = false, enableCustomColumnGroups = false, oAuthPollingInterval, isForceRedirect, dataSourceId, } = this.viewConfig;
16261
16301
  const preventLiveboardFilterRemoval = this.viewConfig.preventLiveboardFilterRemoval
16262
16302
  || this.viewConfig.preventPinboardFilterRemoval;
16263
16303
  if (fullHeight === true) {
@@ -16300,6 +16340,15 @@ let LiveboardEmbed$1 = class LiveboardEmbed extends V1Embed {
16300
16340
  if (enableAskSage) {
16301
16341
  params[Param.enableAskSage] = enableAskSage;
16302
16342
  }
16343
+ if (oAuthPollingInterval !== undefined) {
16344
+ params[Param.OauthPollingInterval] = oAuthPollingInterval;
16345
+ }
16346
+ if (isForceRedirect) {
16347
+ params[Param.IsForceRedirect] = isForceRedirect;
16348
+ }
16349
+ if (dataSourceId !== undefined) {
16350
+ params[Param.DataSourceId] = dataSourceId;
16351
+ }
16303
16352
  params[Param.LiveboardHeaderSticky] = isLiveboardHeaderSticky;
16304
16353
  params[Param.LiveboardHeaderV2] = isLiveboardCompactHeaderEnabled;
16305
16354
  params[Param.ShowLiveboardVerifiedBadge] = showLiveboardVerifiedBadge;
@@ -1,4 +1,4 @@
1
- /* @thoughtspot/visual-embed-sdk version 1.33.9 */
1
+ /* @thoughtspot/visual-embed-sdk version 1.33.11 */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) :
4
4
  typeof define === 'function' && define.amd ? define(['exports', 'react'], factory) :
@@ -1904,7 +1904,6 @@
1904
1904
  * Get iframe URL for the current embed view on the playground.
1905
1905
  * Developers can use this URL to embed a ThoughtSpot object
1906
1906
  * in apps like Salesforce or Sharepoint.
1907
- *
1908
1907
  * @example
1909
1908
  * ```js
1910
1909
  * const url = embed.trigger(HostEvent.GetIframeUrl);
@@ -2027,7 +2026,6 @@
2027
2026
  * sorting, toggling of legends, and data drill down.
2028
2027
  * For more information, see
2029
2028
  * link:https://developers.thoughtspot.com/docs/fetch-data-and-report-apis#transient-lb-content[Liveboard data with unsaved changes].
2030
- *
2031
2029
  * @example
2032
2030
  * ```js
2033
2031
  * liveboardEmbed.trigger(HostEvent.getExportRequestForCurrentPinboard).then(
@@ -2679,6 +2677,14 @@
2679
2677
  * @version SDK: 1.29.0 | Thoughtspot: 10.1.0.cl
2680
2678
  */
2681
2679
  HostEvent["GetParameters"] = "GetParameters";
2680
+ /**
2681
+ * Triggers update of persoanlised view for a liveboard
2682
+ * ```js
2683
+ * liveboardEmbed.trigger(HostEvent.UpdatePersonalisedView, {viewId: '1234'})
2684
+ * ```
2685
+ * @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
2686
+ */
2687
+ HostEvent["UpdatePersonalisedView"] = "UpdatePersonalisedView";
2682
2688
  })(exports.HostEvent || (exports.HostEvent = {}));
2683
2689
  /**
2684
2690
  * The different visual modes that the data sources panel within
@@ -2800,6 +2806,10 @@
2800
2806
  Param["SpotterEnabled"] = "isSpotterExperienceEnabled";
2801
2807
  Param["IsUnifiedSearchExperienceEnabled"] = "isUnifiedSearchExperienceEnabled";
2802
2808
  Param["OverrideOrgId"] = "orgId";
2809
+ Param["EnableFlipTooltipToContextMenu"] = "flipTooltipToContextMenuEnabled";
2810
+ Param["OauthPollingInterval"] = "oAuthPollingInterval";
2811
+ Param["IsForceRedirect"] = "isForceRedirect";
2812
+ Param["DataSourceId"] = "dataSourceId";
2803
2813
  })(Param || (Param = {}));
2804
2814
  /**
2805
2815
  * ThoughtSpot application pages include actions and menu commands
@@ -3864,7 +3874,7 @@
3864
3874
  * Action ID for hide/disable reset button in spotter
3865
3875
  * @example
3866
3876
  * ```js
3867
- * hiddenAction: [Action.ChangeFilterVisibilityInTab]
3877
+ * hiddenAction: [Action.ResetSpotterChat]
3868
3878
  * ```
3869
3879
  * @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
3870
3880
  */
@@ -3873,11 +3883,38 @@
3873
3883
  * Action ID for hide/disable feedback in spotter
3874
3884
  * @example
3875
3885
  * ```js
3876
- * hiddenAction: [Action.ChangeFilterVisibilityInTab]
3886
+ * hiddenAction: [Action.SpotterFeedback]
3877
3887
  * ```
3878
3888
  * @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
3879
3889
  */
3880
3890
  Action["SpotterFeedback"] = "spotterFeedback";
3891
+ /**
3892
+ * Action ID for hide/disable editing previous prompt in spotter
3893
+ * @example
3894
+ * ```js
3895
+ * hiddenAction: [Action.EditPreviousPrompt]
3896
+ * ```
3897
+ * @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
3898
+ */
3899
+ Action["EditPreviousPrompt"] = "editPreviousPrompt";
3900
+ /**
3901
+ * Action ID for hide/disable deleting previous prompt in spotter
3902
+ * @example
3903
+ * ```js
3904
+ * hiddenAction: [Action.DeletePreviousPrompt]
3905
+ * ```
3906
+ * @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
3907
+ */
3908
+ Action["DeletePreviousPrompt"] = "deletePreviousPrompt";
3909
+ /**
3910
+ * Action ID for hide/disable edit of tokens on spotter results.
3911
+ * @example
3912
+ * ```js
3913
+ * hiddenAction: [Action.EditTokens]
3914
+ * ```
3915
+ * @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
3916
+ */
3917
+ Action["EditTokens"] = "editTokens";
3881
3918
  })(exports.Action || (exports.Action = {}));
3882
3919
  var PrefetchFeatures;
3883
3920
  (function (PrefetchFeatures) {
@@ -14534,7 +14571,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
14534
14571
  });
14535
14572
  }
14536
14573
 
14537
- var name="@thoughtspot/visual-embed-sdk";var version$1="1.33.9";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports$1={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck","test-sdk":"jest -c jest.config.sdk.js --runInBand",test:"npm run test-sdk",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest",dev:"vite -c vite.local.config.ts"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-comment-length":"1.7.3","eslint-plugin-jsdoc":"^46.9.0","fs-extra":"^10.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^5.3.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"30 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};
14574
+ var name="@thoughtspot/visual-embed-sdk";var version$1="1.33.11";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports$1={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck","test-sdk":"jest -c jest.config.sdk.js --runInBand",test:"npm run test-sdk",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest",dev:"vite -c vite.local.config.ts"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-comment-length":"1.7.3","eslint-plugin-jsdoc":"^46.9.0","fs-extra":"^10.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^5.3.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"31 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
14538
14575
 
14539
14576
  /**
14540
14577
  * Copyright (c) 2022
@@ -14841,12 +14878,15 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
14841
14878
  if (this.embedConfig.currencyFormat) {
14842
14879
  queryParams[Param.CurrencyFormat] = this.embedConfig.currencyFormat;
14843
14880
  }
14844
- const { disabledActions, disabledActionReason, hiddenActions, visibleActions, hiddenTabs, visibleTabs, showAlerts, additionalFlags: additionalFlagsFromView, locale, customizations, contextMenuTrigger, linkOverride, insertInToSlide, disableRedirectionLinksInNewTab, overrideOrgId, } = this.viewConfig;
14881
+ const { disabledActions, disabledActionReason, hiddenActions, visibleActions, hiddenTabs, visibleTabs, showAlerts, additionalFlags: additionalFlagsFromView, locale, customizations, contextMenuTrigger, linkOverride, insertInToSlide, disableRedirectionLinksInNewTab, overrideOrgId, enableFlipTooltipToContextMenu = false, } = this.viewConfig;
14845
14882
  const { additionalFlags: additionalFlagsFromInit } = this.embedConfig;
14846
14883
  const additionalFlags = {
14847
14884
  ...additionalFlagsFromInit,
14848
14885
  ...additionalFlagsFromView,
14849
14886
  };
14887
+ if (enableFlipTooltipToContextMenu) {
14888
+ queryParams[Param.EnableFlipTooltipToContextMenu] = enableFlipTooltipToContextMenu;
14889
+ }
14850
14890
  if (Array.isArray(visibleActions) && Array.isArray(hiddenActions)) {
14851
14891
  this.handleError('You cannot have both hidden actions and visible actions');
14852
14892
  return queryParams;
@@ -14954,7 +14994,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
14954
14994
  iFrame.mozallowfullscreen = true;
14955
14995
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
14956
14996
  // @ts-ignore
14957
- iFrame.allow = 'clipboard-read; clipboard-write fullscreen';
14997
+ iFrame.allow = 'clipboard-read; clipboard-write; fullscreen;';
14958
14998
  const { height: frameHeight, width: frameWidth, ...restParams } = this.viewConfig.frameParams || {};
14959
14999
  const width = getCssDimension(frameWidth || DEFAULT_EMBED_WIDTH);
14960
15000
  const height = getCssDimension(frameHeight || DEFAULT_EMBED_HEIGHT);
@@ -16279,7 +16319,7 @@ query GetEurekaVizSnapshots(
16279
16319
  getEmbedParams() {
16280
16320
  let params = {};
16281
16321
  params = this.getBaseQueryParams(params);
16282
- const { enableVizTransformations, fullHeight, defaultHeight, visibleVizs, liveboardV2, vizId, hideTabPanel, activeTabId, hideLiveboardHeader, showLiveboardDescription, showLiveboardTitle, isLiveboardHeaderSticky = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, enableAskSage, enable2ColumnLayout, dataPanelV2 = false, enableCustomColumnGroups = false, } = this.viewConfig;
16322
+ const { enableVizTransformations, fullHeight, defaultHeight, visibleVizs, liveboardV2, vizId, hideTabPanel, activeTabId, hideLiveboardHeader, showLiveboardDescription, showLiveboardTitle, isLiveboardHeaderSticky = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, enableAskSage, enable2ColumnLayout, dataPanelV2 = false, enableCustomColumnGroups = false, oAuthPollingInterval, isForceRedirect, dataSourceId, } = this.viewConfig;
16283
16323
  const preventLiveboardFilterRemoval = this.viewConfig.preventLiveboardFilterRemoval
16284
16324
  || this.viewConfig.preventPinboardFilterRemoval;
16285
16325
  if (fullHeight === true) {
@@ -16322,6 +16362,15 @@ query GetEurekaVizSnapshots(
16322
16362
  if (enableAskSage) {
16323
16363
  params[Param.enableAskSage] = enableAskSage;
16324
16364
  }
16365
+ if (oAuthPollingInterval !== undefined) {
16366
+ params[Param.OauthPollingInterval] = oAuthPollingInterval;
16367
+ }
16368
+ if (isForceRedirect) {
16369
+ params[Param.IsForceRedirect] = isForceRedirect;
16370
+ }
16371
+ if (dataSourceId !== undefined) {
16372
+ params[Param.DataSourceId] = dataSourceId;
16373
+ }
16325
16374
  params[Param.LiveboardHeaderSticky] = isLiveboardHeaderSticky;
16326
16375
  params[Param.LiveboardHeaderV2] = isLiveboardCompactHeaderEnabled;
16327
16376
  params[Param.ShowLiveboardVerifiedBadge] = showLiveboardVerifiedBadge;
@@ -1,4 +1,4 @@
1
- /* @thoughtspot/visual-embed-sdk version 1.33.9 */
1
+ /* @thoughtspot/visual-embed-sdk version 1.33.11 */
2
2
  function _mergeNamespaces(n, m) {
3
3
  m.forEach(function (e) {
4
4
  e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
@@ -1767,7 +1767,6 @@ var HostEvent;
1767
1767
  * Get iframe URL for the current embed view on the playground.
1768
1768
  * Developers can use this URL to embed a ThoughtSpot object
1769
1769
  * in apps like Salesforce or Sharepoint.
1770
- *
1771
1770
  * @example
1772
1771
  * ```js
1773
1772
  * const url = embed.trigger(HostEvent.GetIframeUrl);
@@ -1890,7 +1889,6 @@ var HostEvent;
1890
1889
  * sorting, toggling of legends, and data drill down.
1891
1890
  * For more information, see
1892
1891
  * link:https://developers.thoughtspot.com/docs/fetch-data-and-report-apis#transient-lb-content[Liveboard data with unsaved changes].
1893
- *
1894
1892
  * @example
1895
1893
  * ```js
1896
1894
  * liveboardEmbed.trigger(HostEvent.getExportRequestForCurrentPinboard).then(
@@ -2542,6 +2540,14 @@ var HostEvent;
2542
2540
  * @version SDK: 1.29.0 | Thoughtspot: 10.1.0.cl
2543
2541
  */
2544
2542
  HostEvent["GetParameters"] = "GetParameters";
2543
+ /**
2544
+ * Triggers update of persoanlised view for a liveboard
2545
+ * ```js
2546
+ * liveboardEmbed.trigger(HostEvent.UpdatePersonalisedView, {viewId: '1234'})
2547
+ * ```
2548
+ * @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
2549
+ */
2550
+ HostEvent["UpdatePersonalisedView"] = "UpdatePersonalisedView";
2545
2551
  })(HostEvent || (HostEvent = {}));
2546
2552
  /**
2547
2553
  * The different visual modes that the data sources panel within
@@ -2663,6 +2669,10 @@ var Param;
2663
2669
  Param["SpotterEnabled"] = "isSpotterExperienceEnabled";
2664
2670
  Param["IsUnifiedSearchExperienceEnabled"] = "isUnifiedSearchExperienceEnabled";
2665
2671
  Param["OverrideOrgId"] = "orgId";
2672
+ Param["EnableFlipTooltipToContextMenu"] = "flipTooltipToContextMenuEnabled";
2673
+ Param["OauthPollingInterval"] = "oAuthPollingInterval";
2674
+ Param["IsForceRedirect"] = "isForceRedirect";
2675
+ Param["DataSourceId"] = "dataSourceId";
2666
2676
  })(Param || (Param = {}));
2667
2677
  /**
2668
2678
  * ThoughtSpot application pages include actions and menu commands
@@ -3727,7 +3737,7 @@ var Action;
3727
3737
  * Action ID for hide/disable reset button in spotter
3728
3738
  * @example
3729
3739
  * ```js
3730
- * hiddenAction: [Action.ChangeFilterVisibilityInTab]
3740
+ * hiddenAction: [Action.ResetSpotterChat]
3731
3741
  * ```
3732
3742
  * @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
3733
3743
  */
@@ -3736,11 +3746,38 @@ var Action;
3736
3746
  * Action ID for hide/disable feedback in spotter
3737
3747
  * @example
3738
3748
  * ```js
3739
- * hiddenAction: [Action.ChangeFilterVisibilityInTab]
3749
+ * hiddenAction: [Action.SpotterFeedback]
3740
3750
  * ```
3741
3751
  * @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
3742
3752
  */
3743
3753
  Action["SpotterFeedback"] = "spotterFeedback";
3754
+ /**
3755
+ * Action ID for hide/disable editing previous prompt in spotter
3756
+ * @example
3757
+ * ```js
3758
+ * hiddenAction: [Action.EditPreviousPrompt]
3759
+ * ```
3760
+ * @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
3761
+ */
3762
+ Action["EditPreviousPrompt"] = "editPreviousPrompt";
3763
+ /**
3764
+ * Action ID for hide/disable deleting previous prompt in spotter
3765
+ * @example
3766
+ * ```js
3767
+ * hiddenAction: [Action.DeletePreviousPrompt]
3768
+ * ```
3769
+ * @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
3770
+ */
3771
+ Action["DeletePreviousPrompt"] = "deletePreviousPrompt";
3772
+ /**
3773
+ * Action ID for hide/disable edit of tokens on spotter results.
3774
+ * @example
3775
+ * ```js
3776
+ * hiddenAction: [Action.EditTokens]
3777
+ * ```
3778
+ * @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
3779
+ */
3780
+ Action["EditTokens"] = "editTokens";
3744
3781
  })(Action || (Action = {}));
3745
3782
  var PrefetchFeatures;
3746
3783
  (function (PrefetchFeatures) {
@@ -7012,7 +7049,7 @@ class AnswerService {
7012
7049
  async getTML() {
7013
7050
  const { object } = await this.executeQuery(getAnswerTML, {});
7014
7051
  const edoc = object[0].edoc;
7015
- const YAML = await import('./index-BXczdQc7.js');
7052
+ const YAML = await import('./index-CVRnW-aN.js');
7016
7053
  const parsedDoc = YAML.parse(edoc);
7017
7054
  return {
7018
7055
  answer: {
@@ -14754,7 +14791,7 @@ function processTrigger(iFrame, messageType, thoughtSpotHost, data) {
14754
14791
  });
14755
14792
  }
14756
14793
 
14757
- var name="@thoughtspot/visual-embed-sdk";var version$1="1.33.9";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck","test-sdk":"jest -c jest.config.sdk.js --runInBand",test:"npm run test-sdk",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest",dev:"vite -c vite.local.config.ts"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-comment-length":"1.7.3","eslint-plugin-jsdoc":"^46.9.0","fs-extra":"^10.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^5.3.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"30 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};
14794
+ var name="@thoughtspot/visual-embed-sdk";var version$1="1.33.11";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck","test-sdk":"jest -c jest.config.sdk.js --runInBand",test:"npm run test-sdk",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest",dev:"vite -c vite.local.config.ts"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-comment-length":"1.7.3","eslint-plugin-jsdoc":"^46.9.0","fs-extra":"^10.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^5.3.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"31 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
14758
14795
 
14759
14796
  /**
14760
14797
  * Copyright (c) 2022
@@ -15061,12 +15098,15 @@ class TsEmbed {
15061
15098
  if (this.embedConfig.currencyFormat) {
15062
15099
  queryParams[Param.CurrencyFormat] = this.embedConfig.currencyFormat;
15063
15100
  }
15064
- const { disabledActions, disabledActionReason, hiddenActions, visibleActions, hiddenTabs, visibleTabs, showAlerts, additionalFlags: additionalFlagsFromView, locale, customizations, contextMenuTrigger, linkOverride, insertInToSlide, disableRedirectionLinksInNewTab, overrideOrgId, } = this.viewConfig;
15101
+ const { disabledActions, disabledActionReason, hiddenActions, visibleActions, hiddenTabs, visibleTabs, showAlerts, additionalFlags: additionalFlagsFromView, locale, customizations, contextMenuTrigger, linkOverride, insertInToSlide, disableRedirectionLinksInNewTab, overrideOrgId, enableFlipTooltipToContextMenu = false, } = this.viewConfig;
15065
15102
  const { additionalFlags: additionalFlagsFromInit } = this.embedConfig;
15066
15103
  const additionalFlags = {
15067
15104
  ...additionalFlagsFromInit,
15068
15105
  ...additionalFlagsFromView,
15069
15106
  };
15107
+ if (enableFlipTooltipToContextMenu) {
15108
+ queryParams[Param.EnableFlipTooltipToContextMenu] = enableFlipTooltipToContextMenu;
15109
+ }
15070
15110
  if (Array.isArray(visibleActions) && Array.isArray(hiddenActions)) {
15071
15111
  this.handleError('You cannot have both hidden actions and visible actions');
15072
15112
  return queryParams;
@@ -15174,7 +15214,7 @@ class TsEmbed {
15174
15214
  iFrame.mozallowfullscreen = true;
15175
15215
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
15176
15216
  // @ts-ignore
15177
- iFrame.allow = 'clipboard-read; clipboard-write fullscreen';
15217
+ iFrame.allow = 'clipboard-read; clipboard-write; fullscreen;';
15178
15218
  const { height: frameHeight, width: frameWidth, ...restParams } = this.viewConfig.frameParams || {};
15179
15219
  const width = getCssDimension(frameWidth || DEFAULT_EMBED_WIDTH);
15180
15220
  const height = getCssDimension(frameHeight || DEFAULT_EMBED_HEIGHT);
@@ -16202,7 +16242,7 @@ class LiveboardEmbed extends V1Embed {
16202
16242
  getEmbedParams() {
16203
16243
  let params = {};
16204
16244
  params = this.getBaseQueryParams(params);
16205
- const { enableVizTransformations, fullHeight, defaultHeight, visibleVizs, liveboardV2, vizId, hideTabPanel, activeTabId, hideLiveboardHeader, showLiveboardDescription, showLiveboardTitle, isLiveboardHeaderSticky = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, enableAskSage, enable2ColumnLayout, dataPanelV2 = false, enableCustomColumnGroups = false, } = this.viewConfig;
16245
+ const { enableVizTransformations, fullHeight, defaultHeight, visibleVizs, liveboardV2, vizId, hideTabPanel, activeTabId, hideLiveboardHeader, showLiveboardDescription, showLiveboardTitle, isLiveboardHeaderSticky = true, isLiveboardCompactHeaderEnabled = false, showLiveboardVerifiedBadge = true, showLiveboardReverifyBanner = true, hideIrrelevantChipsInLiveboardTabs = false, enableAskSage, enable2ColumnLayout, dataPanelV2 = false, enableCustomColumnGroups = false, oAuthPollingInterval, isForceRedirect, dataSourceId, } = this.viewConfig;
16206
16246
  const preventLiveboardFilterRemoval = this.viewConfig.preventLiveboardFilterRemoval
16207
16247
  || this.viewConfig.preventPinboardFilterRemoval;
16208
16248
  if (fullHeight === true) {
@@ -16245,6 +16285,15 @@ class LiveboardEmbed extends V1Embed {
16245
16285
  if (enableAskSage) {
16246
16286
  params[Param.enableAskSage] = enableAskSage;
16247
16287
  }
16288
+ if (oAuthPollingInterval !== undefined) {
16289
+ params[Param.OauthPollingInterval] = oAuthPollingInterval;
16290
+ }
16291
+ if (isForceRedirect) {
16292
+ params[Param.IsForceRedirect] = isForceRedirect;
16293
+ }
16294
+ if (dataSourceId !== undefined) {
16295
+ params[Param.DataSourceId] = dataSourceId;
16296
+ }
16248
16297
  params[Param.LiveboardHeaderSticky] = isLiveboardHeaderSticky;
16249
16298
  params[Param.LiveboardHeaderV2] = isLiveboardCompactHeaderEnabled;
16250
16299
  params[Param.ShowLiveboardVerifiedBadge] = showLiveboardVerifiedBadge;
@@ -17732,4 +17781,4 @@ const createLiveboardWithAnswers = async (answers, name) => {
17732
17781
  return result;
17733
17782
  };
17734
17783
 
17735
- export { Action, AnswerService, AppEmbed, AuthEvent, AuthFailureType, AuthStatus, AuthType, BodylessConversation, ContextMenuTriggerOptions, ConversationEmbed, DataSourceVisualMode, EmbedEvent, HomeLeftNavItem, HomepageModule, HostEvent, LiveboardEmbed, LogLevel, MIXPANEL_EVENT, Page, PinboardEmbed, PrefetchFeatures, RuntimeFilterOp, SageEmbed, SearchBarEmbed, SearchEmbed, createLiveboardWithAnswers, executeTML, exportTML, getAnswerFromQuery, getEmbedConfig as getInitConfig, getSessionInfo, init, logout, prefetch, resetCachedAuthToken, tokenizedFetch, uploadMixpanelEvent };
17784
+ export { Action, AnswerService, AppEmbed, AuthEvent, AuthFailureType, AuthStatus, AuthType, BodylessConversation, ContextMenuTriggerOptions, ConversationEmbed, DataSourceVisualMode, EmbedEvent, HomeLeftNavItem, HomePageSearchBarMode, HomepageModule, HostEvent, LiveboardEmbed, LogLevel, MIXPANEL_EVENT, Page, PinboardEmbed, PrefetchFeatures, RuntimeFilterOp, SageEmbed, SearchBarEmbed, SearchEmbed, createLiveboardWithAnswers, executeTML, exportTML, getAnswerFromQuery, getEmbedConfig as getInitConfig, getSessionInfo, init, logout, prefetch, resetCachedAuthToken, tokenizedFetch, uploadMixpanelEvent };