@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.
- package/cjs/package.json +2 -2
- package/cjs/src/embed/conversation.d.ts +0 -2
- package/cjs/src/embed/conversation.d.ts.map +1 -1
- package/cjs/src/embed/conversation.js.map +1 -1
- package/cjs/src/embed/liveboard.d.ts +36 -0
- package/cjs/src/embed/liveboard.d.ts.map +1 -1
- package/cjs/src/embed/liveboard.js +10 -1
- package/cjs/src/embed/liveboard.js.map +1 -1
- package/cjs/src/embed/liveboard.spec.js +13 -0
- package/cjs/src/embed/liveboard.spec.js.map +1 -1
- package/cjs/src/embed/ts-embed.d.ts.map +1 -1
- package/cjs/src/embed/ts-embed.js +5 -2
- package/cjs/src/embed/ts-embed.js.map +1 -1
- package/cjs/src/embed/ts-embed.spec.d.ts +2 -1
- package/cjs/src/embed/ts-embed.spec.d.ts.map +1 -1
- package/cjs/src/embed/ts-embed.spec.js +158 -0
- package/cjs/src/embed/ts-embed.spec.js.map +1 -1
- package/cjs/src/index.d.ts +2 -2
- package/cjs/src/index.d.ts.map +1 -1
- package/cjs/src/index.js +2 -1
- package/cjs/src/index.js.map +1 -1
- package/cjs/src/types.d.ts +50 -7
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +41 -4
- package/cjs/src/types.js.map +1 -1
- package/dist/{index-BXczdQc7.js → index-CVRnW-aN.js} +1 -1
- package/dist/src/embed/conversation.d.ts +0 -2
- package/dist/src/embed/conversation.d.ts.map +1 -1
- package/dist/src/embed/liveboard.d.ts +36 -0
- package/dist/src/embed/liveboard.d.ts.map +1 -1
- package/dist/src/embed/ts-embed.d.ts.map +1 -1
- package/dist/src/embed/ts-embed.spec.d.ts +2 -1
- package/dist/src/embed/ts-embed.spec.d.ts.map +1 -1
- package/dist/src/index.d.ts +2 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/types.d.ts +50 -7
- package/dist/src/types.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +59 -10
- package/dist/tsembed-react.js +58 -9
- package/dist/tsembed.es.js +60 -11
- package/dist/tsembed.js +60 -11
- package/dist/visual-embed-sdk-react-full.d.ts +87 -10
- package/dist/visual-embed-sdk-react.d.ts +87 -10
- package/dist/visual-embed-sdk.d.ts +87 -10
- package/lib/package.json +2 -2
- package/lib/src/embed/conversation.d.ts +0 -2
- package/lib/src/embed/conversation.d.ts.map +1 -1
- package/lib/src/embed/conversation.js.map +1 -1
- package/lib/src/embed/liveboard.d.ts +36 -0
- package/lib/src/embed/liveboard.d.ts.map +1 -1
- package/lib/src/embed/liveboard.js +10 -1
- package/lib/src/embed/liveboard.js.map +1 -1
- package/lib/src/embed/liveboard.spec.js +13 -0
- package/lib/src/embed/liveboard.spec.js.map +1 -1
- package/lib/src/embed/ts-embed.d.ts.map +1 -1
- package/lib/src/embed/ts-embed.js +5 -2
- package/lib/src/embed/ts-embed.js.map +1 -1
- package/lib/src/embed/ts-embed.spec.d.ts +2 -1
- package/lib/src/embed/ts-embed.spec.d.ts.map +1 -1
- package/lib/src/embed/ts-embed.spec.js +159 -2
- package/lib/src/embed/ts-embed.spec.js.map +1 -1
- package/lib/src/index.d.ts +2 -2
- package/lib/src/index.d.ts.map +1 -1
- package/lib/src/index.js +2 -2
- package/lib/src/index.js.map +1 -1
- package/lib/src/types.d.ts +50 -7
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +41 -4
- package/lib/src/types.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +88 -11
- package/package.json +2 -2
- package/src/embed/conversation.ts +0 -2
- package/src/embed/liveboard.spec.ts +17 -0
- package/src/embed/liveboard.ts +54 -0
- package/src/embed/ts-embed.spec.ts +219 -0
- package/src/embed/ts-embed.ts +6 -1
- package/src/index.ts +4 -1
- package/src/types.ts +50 -4
package/dist/tsembed.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @thoughtspot/visual-embed-sdk version 1.33.
|
|
1
|
+
/* @thoughtspot/visual-embed-sdk version 1.33.11 */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
@@ -1773,7 +1773,6 @@
|
|
|
1773
1773
|
* Get iframe URL for the current embed view on the playground.
|
|
1774
1774
|
* Developers can use this URL to embed a ThoughtSpot object
|
|
1775
1775
|
* in apps like Salesforce or Sharepoint.
|
|
1776
|
-
*
|
|
1777
1776
|
* @example
|
|
1778
1777
|
* ```js
|
|
1779
1778
|
* const url = embed.trigger(HostEvent.GetIframeUrl);
|
|
@@ -1896,7 +1895,6 @@
|
|
|
1896
1895
|
* sorting, toggling of legends, and data drill down.
|
|
1897
1896
|
* For more information, see
|
|
1898
1897
|
* link:https://developers.thoughtspot.com/docs/fetch-data-and-report-apis#transient-lb-content[Liveboard data with unsaved changes].
|
|
1899
|
-
*
|
|
1900
1898
|
* @example
|
|
1901
1899
|
* ```js
|
|
1902
1900
|
* liveboardEmbed.trigger(HostEvent.getExportRequestForCurrentPinboard).then(
|
|
@@ -2548,6 +2546,14 @@
|
|
|
2548
2546
|
* @version SDK: 1.29.0 | Thoughtspot: 10.1.0.cl
|
|
2549
2547
|
*/
|
|
2550
2548
|
HostEvent["GetParameters"] = "GetParameters";
|
|
2549
|
+
/**
|
|
2550
|
+
* Triggers update of persoanlised view for a liveboard
|
|
2551
|
+
* ```js
|
|
2552
|
+
* liveboardEmbed.trigger(HostEvent.UpdatePersonalisedView, {viewId: '1234'})
|
|
2553
|
+
* ```
|
|
2554
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
2555
|
+
*/
|
|
2556
|
+
HostEvent["UpdatePersonalisedView"] = "UpdatePersonalisedView";
|
|
2551
2557
|
})(exports.HostEvent || (exports.HostEvent = {}));
|
|
2552
2558
|
/**
|
|
2553
2559
|
* The different visual modes that the data sources panel within
|
|
@@ -2669,6 +2675,10 @@
|
|
|
2669
2675
|
Param["SpotterEnabled"] = "isSpotterExperienceEnabled";
|
|
2670
2676
|
Param["IsUnifiedSearchExperienceEnabled"] = "isUnifiedSearchExperienceEnabled";
|
|
2671
2677
|
Param["OverrideOrgId"] = "orgId";
|
|
2678
|
+
Param["EnableFlipTooltipToContextMenu"] = "flipTooltipToContextMenuEnabled";
|
|
2679
|
+
Param["OauthPollingInterval"] = "oAuthPollingInterval";
|
|
2680
|
+
Param["IsForceRedirect"] = "isForceRedirect";
|
|
2681
|
+
Param["DataSourceId"] = "dataSourceId";
|
|
2672
2682
|
})(Param || (Param = {}));
|
|
2673
2683
|
/**
|
|
2674
2684
|
* ThoughtSpot application pages include actions and menu commands
|
|
@@ -3733,7 +3743,7 @@
|
|
|
3733
3743
|
* Action ID for hide/disable reset button in spotter
|
|
3734
3744
|
* @example
|
|
3735
3745
|
* ```js
|
|
3736
|
-
* hiddenAction: [Action.
|
|
3746
|
+
* hiddenAction: [Action.ResetSpotterChat]
|
|
3737
3747
|
* ```
|
|
3738
3748
|
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
3739
3749
|
*/
|
|
@@ -3742,11 +3752,38 @@
|
|
|
3742
3752
|
* Action ID for hide/disable feedback in spotter
|
|
3743
3753
|
* @example
|
|
3744
3754
|
* ```js
|
|
3745
|
-
* hiddenAction: [Action.
|
|
3755
|
+
* hiddenAction: [Action.SpotterFeedback]
|
|
3746
3756
|
* ```
|
|
3747
3757
|
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
3748
3758
|
*/
|
|
3749
3759
|
Action["SpotterFeedback"] = "spotterFeedback";
|
|
3760
|
+
/**
|
|
3761
|
+
* Action ID for hide/disable editing previous prompt in spotter
|
|
3762
|
+
* @example
|
|
3763
|
+
* ```js
|
|
3764
|
+
* hiddenAction: [Action.EditPreviousPrompt]
|
|
3765
|
+
* ```
|
|
3766
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
3767
|
+
*/
|
|
3768
|
+
Action["EditPreviousPrompt"] = "editPreviousPrompt";
|
|
3769
|
+
/**
|
|
3770
|
+
* Action ID for hide/disable deleting previous prompt in spotter
|
|
3771
|
+
* @example
|
|
3772
|
+
* ```js
|
|
3773
|
+
* hiddenAction: [Action.DeletePreviousPrompt]
|
|
3774
|
+
* ```
|
|
3775
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
3776
|
+
*/
|
|
3777
|
+
Action["DeletePreviousPrompt"] = "deletePreviousPrompt";
|
|
3778
|
+
/**
|
|
3779
|
+
* Action ID for hide/disable edit of tokens on spotter results.
|
|
3780
|
+
* @example
|
|
3781
|
+
* ```js
|
|
3782
|
+
* hiddenAction: [Action.EditTokens]
|
|
3783
|
+
* ```
|
|
3784
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
3785
|
+
*/
|
|
3786
|
+
Action["EditTokens"] = "editTokens";
|
|
3750
3787
|
})(exports.Action || (exports.Action = {}));
|
|
3751
3788
|
exports.PrefetchFeatures = void 0;
|
|
3752
3789
|
(function (PrefetchFeatures) {
|
|
@@ -14760,7 +14797,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
14760
14797
|
});
|
|
14761
14798
|
}
|
|
14762
14799
|
|
|
14763
|
-
var name="@thoughtspot/visual-embed-sdk";var version$1="1.33.
|
|
14800
|
+
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};
|
|
14764
14801
|
|
|
14765
14802
|
/**
|
|
14766
14803
|
* Copyright (c) 2022
|
|
@@ -15067,12 +15104,15 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
15067
15104
|
if (this.embedConfig.currencyFormat) {
|
|
15068
15105
|
queryParams[Param.CurrencyFormat] = this.embedConfig.currencyFormat;
|
|
15069
15106
|
}
|
|
15070
|
-
const { disabledActions, disabledActionReason, hiddenActions, visibleActions, hiddenTabs, visibleTabs, showAlerts, additionalFlags: additionalFlagsFromView, locale, customizations, contextMenuTrigger, linkOverride, insertInToSlide, disableRedirectionLinksInNewTab, overrideOrgId, } = this.viewConfig;
|
|
15107
|
+
const { disabledActions, disabledActionReason, hiddenActions, visibleActions, hiddenTabs, visibleTabs, showAlerts, additionalFlags: additionalFlagsFromView, locale, customizations, contextMenuTrigger, linkOverride, insertInToSlide, disableRedirectionLinksInNewTab, overrideOrgId, enableFlipTooltipToContextMenu = false, } = this.viewConfig;
|
|
15071
15108
|
const { additionalFlags: additionalFlagsFromInit } = this.embedConfig;
|
|
15072
15109
|
const additionalFlags = {
|
|
15073
15110
|
...additionalFlagsFromInit,
|
|
15074
15111
|
...additionalFlagsFromView,
|
|
15075
15112
|
};
|
|
15113
|
+
if (enableFlipTooltipToContextMenu) {
|
|
15114
|
+
queryParams[Param.EnableFlipTooltipToContextMenu] = enableFlipTooltipToContextMenu;
|
|
15115
|
+
}
|
|
15076
15116
|
if (Array.isArray(visibleActions) && Array.isArray(hiddenActions)) {
|
|
15077
15117
|
this.handleError('You cannot have both hidden actions and visible actions');
|
|
15078
15118
|
return queryParams;
|
|
@@ -15180,7 +15220,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
15180
15220
|
iFrame.mozallowfullscreen = true;
|
|
15181
15221
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
15182
15222
|
// @ts-ignore
|
|
15183
|
-
iFrame.allow = 'clipboard-read; clipboard-write fullscreen';
|
|
15223
|
+
iFrame.allow = 'clipboard-read; clipboard-write; fullscreen;';
|
|
15184
15224
|
const { height: frameHeight, width: frameWidth, ...restParams } = this.viewConfig.frameParams || {};
|
|
15185
15225
|
const width = getCssDimension(frameWidth || DEFAULT_EMBED_WIDTH);
|
|
15186
15226
|
const height = getCssDimension(frameHeight || DEFAULT_EMBED_HEIGHT);
|
|
@@ -15867,12 +15907,12 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
15867
15907
|
*/
|
|
15868
15908
|
DataPanelCustomColumnGroupsAccordionState["EXPAND_FIRST"] = "EXPAND_FIRST";
|
|
15869
15909
|
})(DataPanelCustomColumnGroupsAccordionState$1 || (DataPanelCustomColumnGroupsAccordionState$1 = {}));
|
|
15870
|
-
|
|
15910
|
+
exports.HomePageSearchBarMode = void 0;
|
|
15871
15911
|
(function (HomePageSearchBarMode) {
|
|
15872
15912
|
HomePageSearchBarMode["OBJECT_SEARCH"] = "objectSearch";
|
|
15873
15913
|
HomePageSearchBarMode["AI_ANSWER"] = "aiAnswer";
|
|
15874
15914
|
HomePageSearchBarMode["NONE"] = "none";
|
|
15875
|
-
})(HomePageSearchBarMode || (HomePageSearchBarMode = {}));
|
|
15915
|
+
})(exports.HomePageSearchBarMode || (exports.HomePageSearchBarMode = {}));
|
|
15876
15916
|
/**
|
|
15877
15917
|
* Embeds full ThoughtSpot experience in a host application.
|
|
15878
15918
|
* @group Embed components
|
|
@@ -16208,7 +16248,7 @@ query GetEurekaVizSnapshots(
|
|
|
16208
16248
|
getEmbedParams() {
|
|
16209
16249
|
let params = {};
|
|
16210
16250
|
params = this.getBaseQueryParams(params);
|
|
16211
|
-
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;
|
|
16251
|
+
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;
|
|
16212
16252
|
const preventLiveboardFilterRemoval = this.viewConfig.preventLiveboardFilterRemoval
|
|
16213
16253
|
|| this.viewConfig.preventPinboardFilterRemoval;
|
|
16214
16254
|
if (fullHeight === true) {
|
|
@@ -16251,6 +16291,15 @@ query GetEurekaVizSnapshots(
|
|
|
16251
16291
|
if (enableAskSage) {
|
|
16252
16292
|
params[Param.enableAskSage] = enableAskSage;
|
|
16253
16293
|
}
|
|
16294
|
+
if (oAuthPollingInterval !== undefined) {
|
|
16295
|
+
params[Param.OauthPollingInterval] = oAuthPollingInterval;
|
|
16296
|
+
}
|
|
16297
|
+
if (isForceRedirect) {
|
|
16298
|
+
params[Param.IsForceRedirect] = isForceRedirect;
|
|
16299
|
+
}
|
|
16300
|
+
if (dataSourceId !== undefined) {
|
|
16301
|
+
params[Param.DataSourceId] = dataSourceId;
|
|
16302
|
+
}
|
|
16254
16303
|
params[Param.LiveboardHeaderSticky] = isLiveboardHeaderSticky;
|
|
16255
16304
|
params[Param.LiveboardHeaderV2] = isLiveboardCompactHeaderEnabled;
|
|
16256
16305
|
params[Param.ShowLiveboardVerifiedBadge] = showLiveboardVerifiedBadge;
|
|
@@ -259,7 +259,7 @@ export function useEmbedRef<T extends EmbedComponent>(): React.MutableRefObject<
|
|
|
259
259
|
* @summary ThoughtSpot Visual Embed SDK
|
|
260
260
|
* @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
|
|
261
261
|
*/
|
|
262
|
-
export { init, logout, prefetch, executeTML, exportTML, executeTMLInput, exportTMLInput, getEmbedConfig as getInitConfig, getSessionInfo, tokenizedFetch, getAnswerFromQuery, createLiveboardWithAnswers, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, SageEmbed, AppEmbed, BodylessConversation, BodylessConversationViewConfig, ConversationEmbed, ConversationViewConfig, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, AnswerService, SessionInterface, UnderlyingDataPoint, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, ContextMenuTriggerOptions, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, SageViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, HomeLeftNavItem, HomepageModule, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, RuntimeParameter, LogLevel, uploadMixpanelEvent, MIXPANEL_EVENT, VizPoint, CustomActionPayload, };
|
|
262
|
+
export { init, logout, prefetch, executeTML, exportTML, executeTMLInput, exportTMLInput, getEmbedConfig as getInitConfig, getSessionInfo, tokenizedFetch, getAnswerFromQuery, createLiveboardWithAnswers, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, SageEmbed, AppEmbed, BodylessConversation, BodylessConversationViewConfig, ConversationEmbed, ConversationViewConfig, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, AnswerService, SessionInterface, UnderlyingDataPoint, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, ContextMenuTriggerOptions, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, SageViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, HomeLeftNavItem, HomepageModule, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, RuntimeParameter, LogLevel, uploadMixpanelEvent, MIXPANEL_EVENT, HomePageSearchBarMode, VizPoint, CustomActionPayload, };
|
|
263
263
|
|
|
264
264
|
/**
|
|
265
265
|
* @group Embed components
|
|
@@ -1574,6 +1574,42 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
|
|
|
1574
1574
|
* ```
|
|
1575
1575
|
*/
|
|
1576
1576
|
hideIrrelevantChipsInLiveboardTabs?: boolean;
|
|
1577
|
+
/**
|
|
1578
|
+
* The Liveboard to run on regular intervals to fetch the cdw token.
|
|
1579
|
+
* @hidden
|
|
1580
|
+
* @version SDK: 1.35.0 | ThoughtSpot:10.6.0.cl
|
|
1581
|
+
* @example
|
|
1582
|
+
* ```js
|
|
1583
|
+
* const embed = new LiveboardEmbed('#embed-container', {
|
|
1584
|
+
* ... // other options
|
|
1585
|
+
* oAuthPollingInterval: value in milliseconds,
|
|
1586
|
+
* })
|
|
1587
|
+
*/
|
|
1588
|
+
oAuthPollingInterval?: number;
|
|
1589
|
+
/**
|
|
1590
|
+
* The Liveboard is set to force a token fetch during the initial load.
|
|
1591
|
+
* @hidden
|
|
1592
|
+
* @version SDK: 1.35.0 | ThoughtSpot:10.6.0.cl
|
|
1593
|
+
* @example
|
|
1594
|
+
* ```js
|
|
1595
|
+
* const embed = new LiveboardEmbed('#embed-container', {
|
|
1596
|
+
* ... // other options
|
|
1597
|
+
* isForceRedirect: false,
|
|
1598
|
+
* })
|
|
1599
|
+
*/
|
|
1600
|
+
isForceRedirect?: boolean;
|
|
1601
|
+
/**
|
|
1602
|
+
* The source connection ID for authentication.
|
|
1603
|
+
* @hidden
|
|
1604
|
+
* @version SDK: 1.35.0 | ThoughtSpot:10.6.0.cl
|
|
1605
|
+
* @example
|
|
1606
|
+
* ```js
|
|
1607
|
+
* const embed = new LiveboardEmbed('#embed-container', {
|
|
1608
|
+
* ... // other options
|
|
1609
|
+
* dataSourceId: '',
|
|
1610
|
+
* })
|
|
1611
|
+
*/
|
|
1612
|
+
dataSourceId?: string;
|
|
1577
1613
|
}
|
|
1578
1614
|
/**
|
|
1579
1615
|
* Embed a ThoughtSpot Liveboard or visualization. When rendered it already
|
|
@@ -1672,7 +1708,6 @@ export interface ConversationViewConfig extends ViewConfig {
|
|
|
1672
1708
|
* disableSourceSelection : true,
|
|
1673
1709
|
* })
|
|
1674
1710
|
* ```
|
|
1675
|
-
*
|
|
1676
1711
|
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
1677
1712
|
*/
|
|
1678
1713
|
disableSourceSelection?: boolean;
|
|
@@ -1685,7 +1720,6 @@ export interface ConversationViewConfig extends ViewConfig {
|
|
|
1685
1720
|
* hideSourceSelection : true,
|
|
1686
1721
|
* })
|
|
1687
1722
|
* ```
|
|
1688
|
-
*
|
|
1689
1723
|
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
1690
1724
|
*/
|
|
1691
1725
|
hideSourceSelection?: boolean;
|
|
@@ -3190,6 +3224,12 @@ export interface ViewConfig {
|
|
|
3190
3224
|
* @version SDK: 1.35.0 | ThoughtSpot: 10.5.0.cl
|
|
3191
3225
|
*/
|
|
3192
3226
|
overrideOrgId?: number;
|
|
3227
|
+
/**
|
|
3228
|
+
* Flag to control new flip tooltip context menu experience
|
|
3229
|
+
* @default false
|
|
3230
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
3231
|
+
*/
|
|
3232
|
+
enableFlipTooltipToContextMenu?: boolean;
|
|
3193
3233
|
}
|
|
3194
3234
|
/**
|
|
3195
3235
|
* MessagePayload: Embed event payload: message type, data and status (start/end)
|
|
@@ -4483,7 +4523,6 @@ export declare enum HostEvent {
|
|
|
4483
4523
|
* Get iframe URL for the current embed view on the playground.
|
|
4484
4524
|
* Developers can use this URL to embed a ThoughtSpot object
|
|
4485
4525
|
* in apps like Salesforce or Sharepoint.
|
|
4486
|
-
*
|
|
4487
4526
|
* @example
|
|
4488
4527
|
* ```js
|
|
4489
4528
|
* const url = embed.trigger(HostEvent.GetIframeUrl);
|
|
@@ -4606,7 +4645,6 @@ export declare enum HostEvent {
|
|
|
4606
4645
|
* sorting, toggling of legends, and data drill down.
|
|
4607
4646
|
* For more information, see
|
|
4608
4647
|
* link:https://developers.thoughtspot.com/docs/fetch-data-and-report-apis#transient-lb-content[Liveboard data with unsaved changes].
|
|
4609
|
-
*
|
|
4610
4648
|
* @example
|
|
4611
4649
|
* ```js
|
|
4612
4650
|
* liveboardEmbed.trigger(HostEvent.getExportRequestForCurrentPinboard).then(
|
|
@@ -5257,7 +5295,15 @@ export declare enum HostEvent {
|
|
|
5257
5295
|
*```
|
|
5258
5296
|
* @version SDK: 1.29.0 | Thoughtspot: 10.1.0.cl
|
|
5259
5297
|
*/
|
|
5260
|
-
GetParameters = "GetParameters"
|
|
5298
|
+
GetParameters = "GetParameters",
|
|
5299
|
+
/**
|
|
5300
|
+
* Triggers update of persoanlised view for a liveboard
|
|
5301
|
+
* ```js
|
|
5302
|
+
* liveboardEmbed.trigger(HostEvent.UpdatePersonalisedView, {viewId: '1234'})
|
|
5303
|
+
* ```
|
|
5304
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
5305
|
+
*/
|
|
5306
|
+
UpdatePersonalisedView = "UpdatePersonalisedView"
|
|
5261
5307
|
}
|
|
5262
5308
|
/**
|
|
5263
5309
|
* The different visual modes that the data sources panel within
|
|
@@ -5373,7 +5419,11 @@ export declare enum Param {
|
|
|
5373
5419
|
HideIrrelevantFiltersInTab = "hideIrrelevantFiltersAtTabLevel",
|
|
5374
5420
|
SpotterEnabled = "isSpotterExperienceEnabled",
|
|
5375
5421
|
IsUnifiedSearchExperienceEnabled = "isUnifiedSearchExperienceEnabled",
|
|
5376
|
-
OverrideOrgId = "orgId"
|
|
5422
|
+
OverrideOrgId = "orgId",
|
|
5423
|
+
EnableFlipTooltipToContextMenu = "flipTooltipToContextMenuEnabled",
|
|
5424
|
+
OauthPollingInterval = "oAuthPollingInterval",
|
|
5425
|
+
IsForceRedirect = "isForceRedirect",
|
|
5426
|
+
DataSourceId = "dataSourceId"
|
|
5377
5427
|
}
|
|
5378
5428
|
/**
|
|
5379
5429
|
* ThoughtSpot application pages include actions and menu commands
|
|
@@ -6436,7 +6486,7 @@ export declare enum Action {
|
|
|
6436
6486
|
* Action ID for hide/disable reset button in spotter
|
|
6437
6487
|
* @example
|
|
6438
6488
|
* ```js
|
|
6439
|
-
* hiddenAction: [Action.
|
|
6489
|
+
* hiddenAction: [Action.ResetSpotterChat]
|
|
6440
6490
|
* ```
|
|
6441
6491
|
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
6442
6492
|
*/
|
|
@@ -6445,11 +6495,38 @@ export declare enum Action {
|
|
|
6445
6495
|
* Action ID for hide/disable feedback in spotter
|
|
6446
6496
|
* @example
|
|
6447
6497
|
* ```js
|
|
6448
|
-
* hiddenAction: [Action.
|
|
6498
|
+
* hiddenAction: [Action.SpotterFeedback]
|
|
6499
|
+
* ```
|
|
6500
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
6501
|
+
*/
|
|
6502
|
+
SpotterFeedback = "spotterFeedback",
|
|
6503
|
+
/**
|
|
6504
|
+
* Action ID for hide/disable editing previous prompt in spotter
|
|
6505
|
+
* @example
|
|
6506
|
+
* ```js
|
|
6507
|
+
* hiddenAction: [Action.EditPreviousPrompt]
|
|
6508
|
+
* ```
|
|
6509
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
6510
|
+
*/
|
|
6511
|
+
EditPreviousPrompt = "editPreviousPrompt",
|
|
6512
|
+
/**
|
|
6513
|
+
* Action ID for hide/disable deleting previous prompt in spotter
|
|
6514
|
+
* @example
|
|
6515
|
+
* ```js
|
|
6516
|
+
* hiddenAction: [Action.DeletePreviousPrompt]
|
|
6517
|
+
* ```
|
|
6518
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
6519
|
+
*/
|
|
6520
|
+
DeletePreviousPrompt = "deletePreviousPrompt",
|
|
6521
|
+
/**
|
|
6522
|
+
* Action ID for hide/disable edit of tokens on spotter results.
|
|
6523
|
+
* @example
|
|
6524
|
+
* ```js
|
|
6525
|
+
* hiddenAction: [Action.EditTokens]
|
|
6449
6526
|
* ```
|
|
6450
6527
|
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
6451
6528
|
*/
|
|
6452
|
-
|
|
6529
|
+
EditTokens = "editTokens"
|
|
6453
6530
|
}
|
|
6454
6531
|
export interface AnswerServiceType {
|
|
6455
6532
|
getAnswer?: (offset: number, batchSize: number) => any;
|
|
@@ -1564,6 +1564,42 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
|
|
|
1564
1564
|
* ```
|
|
1565
1565
|
*/
|
|
1566
1566
|
hideIrrelevantChipsInLiveboardTabs?: boolean;
|
|
1567
|
+
/**
|
|
1568
|
+
* The Liveboard to run on regular intervals to fetch the cdw token.
|
|
1569
|
+
* @hidden
|
|
1570
|
+
* @version SDK: 1.35.0 | ThoughtSpot:10.6.0.cl
|
|
1571
|
+
* @example
|
|
1572
|
+
* ```js
|
|
1573
|
+
* const embed = new LiveboardEmbed('#embed-container', {
|
|
1574
|
+
* ... // other options
|
|
1575
|
+
* oAuthPollingInterval: value in milliseconds,
|
|
1576
|
+
* })
|
|
1577
|
+
*/
|
|
1578
|
+
oAuthPollingInterval?: number;
|
|
1579
|
+
/**
|
|
1580
|
+
* The Liveboard is set to force a token fetch during the initial load.
|
|
1581
|
+
* @hidden
|
|
1582
|
+
* @version SDK: 1.35.0 | ThoughtSpot:10.6.0.cl
|
|
1583
|
+
* @example
|
|
1584
|
+
* ```js
|
|
1585
|
+
* const embed = new LiveboardEmbed('#embed-container', {
|
|
1586
|
+
* ... // other options
|
|
1587
|
+
* isForceRedirect: false,
|
|
1588
|
+
* })
|
|
1589
|
+
*/
|
|
1590
|
+
isForceRedirect?: boolean;
|
|
1591
|
+
/**
|
|
1592
|
+
* The source connection ID for authentication.
|
|
1593
|
+
* @hidden
|
|
1594
|
+
* @version SDK: 1.35.0 | ThoughtSpot:10.6.0.cl
|
|
1595
|
+
* @example
|
|
1596
|
+
* ```js
|
|
1597
|
+
* const embed = new LiveboardEmbed('#embed-container', {
|
|
1598
|
+
* ... // other options
|
|
1599
|
+
* dataSourceId: '',
|
|
1600
|
+
* })
|
|
1601
|
+
*/
|
|
1602
|
+
dataSourceId?: string;
|
|
1567
1603
|
}
|
|
1568
1604
|
/**
|
|
1569
1605
|
* Embed a ThoughtSpot Liveboard or visualization. When rendered it already
|
|
@@ -1662,7 +1698,6 @@ export interface ConversationViewConfig extends ViewConfig {
|
|
|
1662
1698
|
* disableSourceSelection : true,
|
|
1663
1699
|
* })
|
|
1664
1700
|
* ```
|
|
1665
|
-
*
|
|
1666
1701
|
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
1667
1702
|
*/
|
|
1668
1703
|
disableSourceSelection?: boolean;
|
|
@@ -1675,7 +1710,6 @@ export interface ConversationViewConfig extends ViewConfig {
|
|
|
1675
1710
|
* hideSourceSelection : true,
|
|
1676
1711
|
* })
|
|
1677
1712
|
* ```
|
|
1678
|
-
*
|
|
1679
1713
|
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
1680
1714
|
*/
|
|
1681
1715
|
hideSourceSelection?: boolean;
|
|
@@ -1710,7 +1744,7 @@ export declare class ConversationEmbed extends TsEmbed {
|
|
|
1710
1744
|
* @summary ThoughtSpot Visual Embed SDK
|
|
1711
1745
|
* @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
|
|
1712
1746
|
*/
|
|
1713
|
-
export { init, logout, prefetch, executeTML, exportTML, executeTMLInput, exportTMLInput, getEmbedConfig as getInitConfig, getSessionInfo, tokenizedFetch, getAnswerFromQuery, createLiveboardWithAnswers, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, SageEmbed, AppEmbed, BodylessConversation, BodylessConversationViewConfig, ConversationEmbed, ConversationViewConfig, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, AnswerService, SessionInterface, UnderlyingDataPoint, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, ContextMenuTriggerOptions, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, SageViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, HomeLeftNavItem, HomepageModule, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, RuntimeParameter, LogLevel, uploadMixpanelEvent, MIXPANEL_EVENT, VizPoint, CustomActionPayload, };
|
|
1747
|
+
export { init, logout, prefetch, executeTML, exportTML, executeTMLInput, exportTMLInput, getEmbedConfig as getInitConfig, getSessionInfo, tokenizedFetch, getAnswerFromQuery, createLiveboardWithAnswers, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, SageEmbed, AppEmbed, BodylessConversation, BodylessConversationViewConfig, ConversationEmbed, ConversationViewConfig, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, AnswerService, SessionInterface, UnderlyingDataPoint, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, ContextMenuTriggerOptions, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, SageViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, HomeLeftNavItem, HomepageModule, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, RuntimeParameter, LogLevel, uploadMixpanelEvent, MIXPANEL_EVENT, HomePageSearchBarMode, VizPoint, CustomActionPayload, };
|
|
1714
1748
|
|
|
1715
1749
|
/**
|
|
1716
1750
|
* Copyright (c) 2023
|
|
@@ -2782,6 +2816,12 @@ export interface ViewConfig {
|
|
|
2782
2816
|
* @version SDK: 1.35.0 | ThoughtSpot: 10.5.0.cl
|
|
2783
2817
|
*/
|
|
2784
2818
|
overrideOrgId?: number;
|
|
2819
|
+
/**
|
|
2820
|
+
* Flag to control new flip tooltip context menu experience
|
|
2821
|
+
* @default false
|
|
2822
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
2823
|
+
*/
|
|
2824
|
+
enableFlipTooltipToContextMenu?: boolean;
|
|
2785
2825
|
}
|
|
2786
2826
|
/**
|
|
2787
2827
|
* MessagePayload: Embed event payload: message type, data and status (start/end)
|
|
@@ -4075,7 +4115,6 @@ export declare enum HostEvent {
|
|
|
4075
4115
|
* Get iframe URL for the current embed view on the playground.
|
|
4076
4116
|
* Developers can use this URL to embed a ThoughtSpot object
|
|
4077
4117
|
* in apps like Salesforce or Sharepoint.
|
|
4078
|
-
*
|
|
4079
4118
|
* @example
|
|
4080
4119
|
* ```js
|
|
4081
4120
|
* const url = embed.trigger(HostEvent.GetIframeUrl);
|
|
@@ -4198,7 +4237,6 @@ export declare enum HostEvent {
|
|
|
4198
4237
|
* sorting, toggling of legends, and data drill down.
|
|
4199
4238
|
* For more information, see
|
|
4200
4239
|
* link:https://developers.thoughtspot.com/docs/fetch-data-and-report-apis#transient-lb-content[Liveboard data with unsaved changes].
|
|
4201
|
-
*
|
|
4202
4240
|
* @example
|
|
4203
4241
|
* ```js
|
|
4204
4242
|
* liveboardEmbed.trigger(HostEvent.getExportRequestForCurrentPinboard).then(
|
|
@@ -4849,7 +4887,15 @@ export declare enum HostEvent {
|
|
|
4849
4887
|
*```
|
|
4850
4888
|
* @version SDK: 1.29.0 | Thoughtspot: 10.1.0.cl
|
|
4851
4889
|
*/
|
|
4852
|
-
GetParameters = "GetParameters"
|
|
4890
|
+
GetParameters = "GetParameters",
|
|
4891
|
+
/**
|
|
4892
|
+
* Triggers update of persoanlised view for a liveboard
|
|
4893
|
+
* ```js
|
|
4894
|
+
* liveboardEmbed.trigger(HostEvent.UpdatePersonalisedView, {viewId: '1234'})
|
|
4895
|
+
* ```
|
|
4896
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
4897
|
+
*/
|
|
4898
|
+
UpdatePersonalisedView = "UpdatePersonalisedView"
|
|
4853
4899
|
}
|
|
4854
4900
|
/**
|
|
4855
4901
|
* The different visual modes that the data sources panel within
|
|
@@ -4965,7 +5011,11 @@ export declare enum Param {
|
|
|
4965
5011
|
HideIrrelevantFiltersInTab = "hideIrrelevantFiltersAtTabLevel",
|
|
4966
5012
|
SpotterEnabled = "isSpotterExperienceEnabled",
|
|
4967
5013
|
IsUnifiedSearchExperienceEnabled = "isUnifiedSearchExperienceEnabled",
|
|
4968
|
-
OverrideOrgId = "orgId"
|
|
5014
|
+
OverrideOrgId = "orgId",
|
|
5015
|
+
EnableFlipTooltipToContextMenu = "flipTooltipToContextMenuEnabled",
|
|
5016
|
+
OauthPollingInterval = "oAuthPollingInterval",
|
|
5017
|
+
IsForceRedirect = "isForceRedirect",
|
|
5018
|
+
DataSourceId = "dataSourceId"
|
|
4969
5019
|
}
|
|
4970
5020
|
/**
|
|
4971
5021
|
* ThoughtSpot application pages include actions and menu commands
|
|
@@ -6028,7 +6078,7 @@ export declare enum Action {
|
|
|
6028
6078
|
* Action ID for hide/disable reset button in spotter
|
|
6029
6079
|
* @example
|
|
6030
6080
|
* ```js
|
|
6031
|
-
* hiddenAction: [Action.
|
|
6081
|
+
* hiddenAction: [Action.ResetSpotterChat]
|
|
6032
6082
|
* ```
|
|
6033
6083
|
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
6034
6084
|
*/
|
|
@@ -6037,11 +6087,38 @@ export declare enum Action {
|
|
|
6037
6087
|
* Action ID for hide/disable feedback in spotter
|
|
6038
6088
|
* @example
|
|
6039
6089
|
* ```js
|
|
6040
|
-
* hiddenAction: [Action.
|
|
6090
|
+
* hiddenAction: [Action.SpotterFeedback]
|
|
6091
|
+
* ```
|
|
6092
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
6093
|
+
*/
|
|
6094
|
+
SpotterFeedback = "spotterFeedback",
|
|
6095
|
+
/**
|
|
6096
|
+
* Action ID for hide/disable editing previous prompt in spotter
|
|
6097
|
+
* @example
|
|
6098
|
+
* ```js
|
|
6099
|
+
* hiddenAction: [Action.EditPreviousPrompt]
|
|
6100
|
+
* ```
|
|
6101
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
6102
|
+
*/
|
|
6103
|
+
EditPreviousPrompt = "editPreviousPrompt",
|
|
6104
|
+
/**
|
|
6105
|
+
* Action ID for hide/disable deleting previous prompt in spotter
|
|
6106
|
+
* @example
|
|
6107
|
+
* ```js
|
|
6108
|
+
* hiddenAction: [Action.DeletePreviousPrompt]
|
|
6109
|
+
* ```
|
|
6110
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
6111
|
+
*/
|
|
6112
|
+
DeletePreviousPrompt = "deletePreviousPrompt",
|
|
6113
|
+
/**
|
|
6114
|
+
* Action ID for hide/disable edit of tokens on spotter results.
|
|
6115
|
+
* @example
|
|
6116
|
+
* ```js
|
|
6117
|
+
* hiddenAction: [Action.EditTokens]
|
|
6041
6118
|
* ```
|
|
6042
6119
|
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
6043
6120
|
*/
|
|
6044
|
-
|
|
6121
|
+
EditTokens = "editTokens"
|
|
6045
6122
|
}
|
|
6046
6123
|
export interface AnswerServiceType {
|
|
6047
6124
|
getAnswer?: (offset: number, batchSize: number) => any;
|