@thoughtspot/visual-embed-sdk 1.28.2 → 1.28.4
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 -1
- package/cjs/src/embed/app.d.ts +38 -0
- package/cjs/src/embed/app.d.ts.map +1 -1
- package/cjs/src/embed/app.js +7 -1
- package/cjs/src/embed/app.js.map +1 -1
- package/cjs/src/embed/app.spec.js +10 -0
- package/cjs/src/embed/app.spec.js.map +1 -1
- package/cjs/src/embed/liveboard.d.ts +16 -0
- package/cjs/src/embed/liveboard.d.ts.map +1 -1
- package/cjs/src/embed/liveboard.js +8 -3
- package/cjs/src/embed/liveboard.js.map +1 -1
- package/cjs/src/embed/liveboard.spec.js +61 -4
- package/cjs/src/embed/liveboard.spec.js.map +1 -1
- package/cjs/src/embed/sage.d.ts +4 -4
- package/cjs/src/embed/sage.d.ts.map +1 -1
- package/cjs/src/embed/sage.js +2 -18
- package/cjs/src/embed/sage.js.map +1 -1
- package/cjs/src/embed/sage.spec.js +20 -31
- package/cjs/src/embed/sage.spec.js.map +1 -1
- package/cjs/src/embed/search.d.ts +22 -0
- package/cjs/src/embed/search.d.ts.map +1 -1
- package/cjs/src/embed/search.js +3 -1
- package/cjs/src/embed/search.js.map +1 -1
- package/cjs/src/embed/search.spec.js +2 -1
- package/cjs/src/embed/search.spec.js.map +1 -1
- package/cjs/src/embed/ts-embed.d.ts.map +1 -1
- package/cjs/src/embed/ts-embed.js +9 -0
- package/cjs/src/embed/ts-embed.js.map +1 -1
- package/cjs/src/embed/ts-embed.spec.js +18 -0
- package/cjs/src/embed/ts-embed.spec.js.map +1 -1
- package/cjs/src/errors.js +1 -1
- package/cjs/src/errors.js.map +1 -1
- package/cjs/src/react/index.spec.js +1 -1
- package/cjs/src/react/index.spec.js.map +1 -1
- package/cjs/src/types.d.ts +106 -9
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +87 -4
- package/cjs/src/types.js.map +1 -1
- package/cjs/src/utils/authService/tokenizedAuthService.spec.d.ts +2 -0
- package/cjs/src/utils/authService/tokenizedAuthService.spec.d.ts.map +1 -0
- package/cjs/src/utils/authService/tokenizedAuthService.spec.js +32 -0
- package/cjs/src/utils/authService/tokenizedAuthService.spec.js.map +1 -0
- package/cjs/src/utils/sessionInfoService.d.ts +66 -0
- package/cjs/src/utils/sessionInfoService.d.ts.map +1 -0
- package/cjs/src/utils/sessionInfoService.js +92 -0
- package/cjs/src/utils/sessionInfoService.js.map +1 -0
- package/dist/src/embed/app.d.ts +38 -0
- package/dist/src/embed/app.d.ts.map +1 -1
- package/dist/src/embed/liveboard.d.ts +16 -0
- package/dist/src/embed/liveboard.d.ts.map +1 -1
- package/dist/src/embed/sage.d.ts +4 -4
- package/dist/src/embed/sage.d.ts.map +1 -1
- package/dist/src/embed/search.d.ts +22 -0
- package/dist/src/embed/search.d.ts.map +1 -1
- package/dist/src/embed/ts-embed.d.ts.map +1 -1
- package/dist/src/types.d.ts +106 -9
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/utils/authService/tokenizedAuthService.spec.d.ts +2 -0
- package/dist/src/utils/authService/tokenizedAuthService.spec.d.ts.map +1 -0
- package/dist/src/utils/sessionInfoService.d.ts +66 -0
- package/dist/src/utils/sessionInfoService.d.ts.map +1 -0
- package/dist/tsembed-react.es.js +117 -28
- package/dist/tsembed-react.js +117 -28
- package/dist/tsembed.es.js +117 -28
- package/dist/tsembed.js +117 -28
- package/dist/visual-embed-sdk-react-full.d.ts +185 -12
- package/dist/visual-embed-sdk-react.d.ts +185 -12
- package/dist/visual-embed-sdk.d.ts +185 -12
- package/lib/package.json +2 -1
- package/lib/src/embed/app.d.ts +38 -0
- package/lib/src/embed/app.d.ts.map +1 -1
- package/lib/src/embed/app.js +7 -1
- package/lib/src/embed/app.js.map +1 -1
- package/lib/src/embed/app.spec.js +10 -0
- package/lib/src/embed/app.spec.js.map +1 -1
- package/lib/src/embed/liveboard.d.ts +16 -0
- package/lib/src/embed/liveboard.d.ts.map +1 -1
- package/lib/src/embed/liveboard.js +8 -3
- package/lib/src/embed/liveboard.js.map +1 -1
- package/lib/src/embed/liveboard.spec.js +61 -4
- package/lib/src/embed/liveboard.spec.js.map +1 -1
- package/lib/src/embed/sage.d.ts +4 -4
- package/lib/src/embed/sage.d.ts.map +1 -1
- package/lib/src/embed/sage.js +2 -18
- package/lib/src/embed/sage.js.map +1 -1
- package/lib/src/embed/sage.spec.js +20 -31
- package/lib/src/embed/sage.spec.js.map +1 -1
- package/lib/src/embed/search.d.ts +22 -0
- package/lib/src/embed/search.d.ts.map +1 -1
- package/lib/src/embed/search.js +3 -1
- package/lib/src/embed/search.js.map +1 -1
- package/lib/src/embed/search.spec.js +2 -1
- package/lib/src/embed/search.spec.js.map +1 -1
- package/lib/src/embed/ts-embed.d.ts.map +1 -1
- package/lib/src/embed/ts-embed.js +9 -0
- package/lib/src/embed/ts-embed.js.map +1 -1
- package/lib/src/embed/ts-embed.spec.js +18 -0
- package/lib/src/embed/ts-embed.spec.js.map +1 -1
- package/lib/src/errors.js +1 -1
- package/lib/src/errors.js.map +1 -1
- package/lib/src/react/index.spec.js +1 -1
- package/lib/src/react/index.spec.js.map +1 -1
- package/lib/src/types.d.ts +106 -9
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +87 -4
- package/lib/src/types.js.map +1 -1
- package/lib/src/utils/authService/tokenizedAuthService.spec.d.ts +2 -0
- package/lib/src/utils/authService/tokenizedAuthService.spec.d.ts.map +1 -0
- package/lib/src/utils/authService/tokenizedAuthService.spec.js +29 -0
- package/lib/src/utils/authService/tokenizedAuthService.spec.js.map +1 -0
- package/lib/src/utils/sessionInfoService.d.ts +66 -0
- package/lib/src/utils/sessionInfoService.d.ts.map +1 -0
- package/lib/src/utils/sessionInfoService.js +85 -0
- package/lib/src/utils/sessionInfoService.js.map +1 -0
- package/lib/src/visual-embed-sdk.d.ts +186 -13
- package/package.json +2 -1
- package/src/embed/app.spec.ts +15 -0
- package/src/embed/app.ts +48 -0
- package/src/embed/liveboard.spec.ts +82 -9
- package/src/embed/liveboard.ts +26 -2
- package/src/embed/sage.spec.ts +20 -35
- package/src/embed/sage.ts +4 -21
- package/src/embed/search.spec.ts +2 -1
- package/src/embed/search.ts +26 -0
- package/src/embed/ts-embed.spec.ts +22 -0
- package/src/embed/ts-embed.ts +9 -0
- package/src/errors.ts +1 -1
- package/src/react/index.spec.tsx +1 -1
- package/src/types.ts +106 -8
package/dist/tsembed.js
CHANGED
|
@@ -2090,6 +2090,13 @@
|
|
|
2090
2090
|
Param["ClientLogLevel"] = "clientLogLevel";
|
|
2091
2091
|
Param["OverrideNativeConsole"] = "overrideConsoleLogs";
|
|
2092
2092
|
Param["enableAskSage"] = "enableAskSage";
|
|
2093
|
+
Param["CollapseSearchBarInitially"] = "collapseSearchBarInitially";
|
|
2094
|
+
Param["EnableCustomColumnGroups"] = "enableCustomColumnGroups";
|
|
2095
|
+
Param["DateFormatLocale"] = "dateFormatLocale";
|
|
2096
|
+
Param["NumberFormatLocale"] = "numberFormatLocale";
|
|
2097
|
+
Param["CurrencyFormat"] = "currencyFormat";
|
|
2098
|
+
Param["Enable2ColumnLayout"] = "enable2ColumnLayout";
|
|
2099
|
+
Param["IsFullAppEmbed"] = "isFullAppEmbed";
|
|
2093
2100
|
})(Param || (Param = {}));
|
|
2094
2101
|
(function (Action) {
|
|
2095
2102
|
/**
|
|
@@ -2198,6 +2205,18 @@
|
|
|
2198
2205
|
* ```
|
|
2199
2206
|
*/
|
|
2200
2207
|
Action["AddFilter"] = "addFilter";
|
|
2208
|
+
/**
|
|
2209
|
+
* The **Add Data Panel Objects** action on the data panel v2.
|
|
2210
|
+
* Allows to show action menu to add different objects (like
|
|
2211
|
+
* formulas, parameters) in data panel v2.
|
|
2212
|
+
*
|
|
2213
|
+
* @example
|
|
2214
|
+
* ```js
|
|
2215
|
+
* disabledActions: [Action.AddDataPanelObjects]
|
|
2216
|
+
* ```
|
|
2217
|
+
* @version SDK: 1.32.0 | Thoughtspot: 10.0.0.cl
|
|
2218
|
+
*/
|
|
2219
|
+
Action["AddDataPanelObjects"] = "addDataPanelObjects";
|
|
2201
2220
|
/**
|
|
2202
2221
|
* Filter configuration options on a Liveboard and Search page.
|
|
2203
2222
|
* Allows configuring filter options when adding filters to a
|
|
@@ -2240,6 +2259,28 @@
|
|
|
2240
2259
|
* ```
|
|
2241
2260
|
*/
|
|
2242
2261
|
Action["AddParameter"] = "addParameter";
|
|
2262
|
+
/**
|
|
2263
|
+
* The **Add Column Set** action on a Answer.
|
|
2264
|
+
* Allows adding column sets to a Answer.
|
|
2265
|
+
*
|
|
2266
|
+
* @example
|
|
2267
|
+
* ```js
|
|
2268
|
+
* disabledActions: [Action.AddColumnSet]
|
|
2269
|
+
* ```
|
|
2270
|
+
* @version SDK: 1.32.0 | Thoughtspot: 10.0.0.cl
|
|
2271
|
+
*/
|
|
2272
|
+
Action["AddColumnSet"] = "addSimpleCohort";
|
|
2273
|
+
/**
|
|
2274
|
+
* The **Add Query Set** action on a Answer.
|
|
2275
|
+
* Allows adding query sets to a Answer.
|
|
2276
|
+
*
|
|
2277
|
+
* @example
|
|
2278
|
+
* ```js
|
|
2279
|
+
* disabledActions: [Action.AddQuerySet]
|
|
2280
|
+
* ```
|
|
2281
|
+
* @version SDK: 1.32.0 | Thoughtspot: 10.0.0.cl
|
|
2282
|
+
*/
|
|
2283
|
+
Action["AddQuerySet"] = "addAdvancedCohort";
|
|
2243
2284
|
/**
|
|
2244
2285
|
* @hidden
|
|
2245
2286
|
*/
|
|
@@ -2671,6 +2712,28 @@
|
|
|
2671
2712
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
2672
2713
|
*/
|
|
2673
2714
|
Action["CrossFilter"] = "context-menu-item-cross-filter";
|
|
2715
|
+
/**
|
|
2716
|
+
* The **Sync to Slack** action on Liveboard visualizations.
|
|
2717
|
+
* Allows sending data to third-party apps Slack
|
|
2718
|
+
*
|
|
2719
|
+
* @example
|
|
2720
|
+
* ```js
|
|
2721
|
+
* disabledActions: [Action.SyncToSlack]
|
|
2722
|
+
* ```
|
|
2723
|
+
* @version @version SDK : 1.32.0 | Thoughtspot: 10.1.0.cl
|
|
2724
|
+
*/
|
|
2725
|
+
Action["SyncToSlack"] = "syncToSlack";
|
|
2726
|
+
/**
|
|
2727
|
+
* The **Sync to Teams** action on Liveboard visualizations.
|
|
2728
|
+
* Allows sending data to third-party apps Team
|
|
2729
|
+
*
|
|
2730
|
+
* @example
|
|
2731
|
+
* ```js
|
|
2732
|
+
* disabledActions: [Action.SyncToTeams]
|
|
2733
|
+
* ```
|
|
2734
|
+
* @version @version SDK : 1.32.0 | Thoughtspot: 10.1.0.cl
|
|
2735
|
+
*/
|
|
2736
|
+
Action["SyncToTeams"] = "syncToTeams";
|
|
2674
2737
|
/**
|
|
2675
2738
|
* The **Remove** action that appears when cross filters are applied
|
|
2676
2739
|
* on a Liveboard.
|
|
@@ -2912,6 +2975,26 @@
|
|
|
2912
2975
|
* @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl
|
|
2913
2976
|
*/
|
|
2914
2977
|
Action["LiveboardUsers"] = "liveboardUsers";
|
|
2978
|
+
/**
|
|
2979
|
+
* Action ID for the Parent TML action
|
|
2980
|
+
* The parent action **TML** must be included to access TML-related options
|
|
2981
|
+
* within the cascading menu (specific to the answer page)
|
|
2982
|
+
*
|
|
2983
|
+
* @example
|
|
2984
|
+
* ```js
|
|
2985
|
+
* // to include specific TML actions
|
|
2986
|
+
* visibleActions: [Action.TML, Action.ExportTML, Action.EditTML]
|
|
2987
|
+
*
|
|
2988
|
+
* ```
|
|
2989
|
+
* @example
|
|
2990
|
+
* ```js
|
|
2991
|
+
* hiddenAction: [Action.TML] // hide all TML actions
|
|
2992
|
+
* disabledActions: [Action.TML] // to disable all TML actions
|
|
2993
|
+
* ```
|
|
2994
|
+
*
|
|
2995
|
+
* @version SDK : 1.28.2 | Thoughtspot: 9.10.5.cl
|
|
2996
|
+
*/
|
|
2997
|
+
Action["TML"] = "tml";
|
|
2915
2998
|
/**
|
|
2916
2999
|
* Action ID for to hide Verified Liveboard Banner
|
|
2917
3000
|
*
|
|
@@ -2953,15 +3036,15 @@
|
|
|
2953
3036
|
*/
|
|
2954
3037
|
Action["RemoveFromWatchlist"] = "removeFromWatchlist";
|
|
2955
3038
|
/**
|
|
2956
|
-
* The **
|
|
3039
|
+
* The **Organise Favourites** action on Homepage Favourite Module.
|
|
2957
3040
|
*
|
|
2958
3041
|
* @example
|
|
2959
3042
|
* ```js
|
|
2960
|
-
* disabledActions: [Action.
|
|
3043
|
+
* disabledActions: [Action.OrganiseFavourites]
|
|
2961
3044
|
* ```
|
|
2962
|
-
* @version SDK : 1.
|
|
3045
|
+
* @version SDK : 1.32.0 | Thoughtspot: 10.0.0.cl
|
|
2963
3046
|
*/
|
|
2964
|
-
Action["
|
|
3047
|
+
Action["OrganiseFavourites"] = "organiseFavourites";
|
|
2965
3048
|
/**
|
|
2966
3049
|
* Action ID for AI Highlights button
|
|
2967
3050
|
*
|
|
@@ -5687,7 +5770,7 @@
|
|
|
5687
5770
|
|
|
5688
5771
|
var isEqual_1 = isEqual;
|
|
5689
5772
|
|
|
5690
|
-
var name="@thoughtspot/visual-embed-sdk";var version="1.28.
|
|
5773
|
+
var name="@thoughtspot/visual-embed-sdk";var version="1.28.4";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports$1={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs",start:"gatsby develop","build:gatsby":"npm run clean:gatsby && gatsby build --prefix-paths","build:gatsby:noprefix":"npm run clean:gatsby && gatsby build","serve:gatsby":"gatsby serve","clean:gatsby":"gatsby clean","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw","docs-cmd":"node scripts/gatsby-commands.js",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme","test-sdk":"jest -c jest.config.sdk.js --runInBand","test-docs":"jest -c jest.config.docs.js",test:"npm run test-sdk && npm run test-docs",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4","eslint-plugin-comment-length":"^0.9.2","eslint-plugin-jsdoc":"^46.9.0",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"^2.45.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","fs-extra":"^10.0.0",gatsby:"3.13.1","gatsby-plugin-algolia":"^0.22.2","gatsby-plugin-catch-links":"^3.1.0","gatsby-plugin-env-variables":"^2.1.0","gatsby-plugin-intl":"^0.3.3","gatsby-plugin-manifest":"^3.2.0","gatsby-plugin-output":"^0.1.3","gatsby-plugin-sass":"6.7.0","gatsby-plugin-sitemap":"^4.10.0","gatsby-source-filesystem":"3.1.0","gatsby-transformer-asciidoc":"2.1.0","gatsby-transformer-rehype":"2.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"2.30.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.js",limit:"45 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};
|
|
5691
5774
|
|
|
5692
5775
|
const EndPoints = {
|
|
5693
5776
|
AUTH_VERIFICATION: '/callosum/v1/session/info',
|
|
@@ -12393,7 +12476,7 @@
|
|
|
12393
12476
|
|
|
12394
12477
|
const ERROR_MESSAGE = {
|
|
12395
12478
|
INVALID_THOUGHTSPOT_HOST: 'Error parsing ThoughtSpot host. Please provide a valid URL.',
|
|
12396
|
-
LIVEBOARD_VIZ_ID_VALIDATION: 'Please
|
|
12479
|
+
LIVEBOARD_VIZ_ID_VALIDATION: 'Please select a liveboard to embed.',
|
|
12397
12480
|
TRIGGER_TIMED_OUT: 'Trigger timedout in getting response',
|
|
12398
12481
|
SEARCHEMBED_BETA_WRANING_MESSAGE: 'Search Embed is in Beta in this release.',
|
|
12399
12482
|
SAGE_EMBED_BETA_WARNING_MESSAGE: 'Sage Embed is in Beta in this release.',
|
|
@@ -14218,6 +14301,15 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
14218
14301
|
if (this.embedConfig.pendoTrackingKey) {
|
|
14219
14302
|
queryParams[Param.PendoTrackingKey] = this.embedConfig.pendoTrackingKey;
|
|
14220
14303
|
}
|
|
14304
|
+
if (this.embedConfig.numberFormatLocale) {
|
|
14305
|
+
queryParams[Param.NumberFormatLocale] = this.embedConfig.numberFormatLocale;
|
|
14306
|
+
}
|
|
14307
|
+
if (this.embedConfig.dateFormatLocale) {
|
|
14308
|
+
queryParams[Param.DateFormatLocale] = this.embedConfig.dateFormatLocale;
|
|
14309
|
+
}
|
|
14310
|
+
if (this.embedConfig.currencyFormat) {
|
|
14311
|
+
queryParams[Param.CurrencyFormat] = this.embedConfig.currencyFormat;
|
|
14312
|
+
}
|
|
14221
14313
|
const { disabledActions, disabledActionReason, hiddenActions, visibleActions, hiddenTabs, visibleTabs, showAlerts, additionalFlags, locale, customizations, contextMenuTrigger, linkOverride, insertInToSlide, } = this.viewConfig;
|
|
14222
14314
|
if (Array.isArray(visibleActions) && Array.isArray(hiddenActions)) {
|
|
14223
14315
|
this.handleError('You cannot have both hidden actions and visible actions');
|
|
@@ -15036,7 +15128,7 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
15036
15128
|
* embedded Liveboard or visualization.
|
|
15037
15129
|
*/
|
|
15038
15130
|
getEmbedParams() {
|
|
15039
|
-
const { tag, hideObjects, liveboardV2, showPrimaryNavbar, disableProfileAndHelp, hideApplicationSwitcher, hideOrgSwitcher, enableSearchAssist, fullHeight, dataPanelV2 = false, hideLiveboardHeader = false, showLiveboardTitle = true, showLiveboardDescription = true, hideHomepageLeftNav = false, modularHomeExperience = false, isLiveboardHeaderSticky = true, enableAskSage, } = this.viewConfig;
|
|
15131
|
+
const { tag, hideObjects, liveboardV2, showPrimaryNavbar, disableProfileAndHelp, hideApplicationSwitcher, hideOrgSwitcher, enableSearchAssist, fullHeight, dataPanelV2 = false, hideLiveboardHeader = false, showLiveboardTitle = true, showLiveboardDescription = true, hideHomepageLeftNav = false, modularHomeExperience = false, isLiveboardHeaderSticky = true, enableAskSage, collapseSearchBarInitially = false, enable2ColumnLayout, enableCustomColumnGroups = false, } = this.viewConfig;
|
|
15040
15132
|
let params = {};
|
|
15041
15133
|
params[Param.EmbedApp] = true;
|
|
15042
15134
|
params[Param.PrimaryNavHidden] = !showPrimaryNavbar;
|
|
@@ -15047,6 +15139,7 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
15047
15139
|
params[Param.ShowLiveboardTitle] = showLiveboardTitle;
|
|
15048
15140
|
params[Param.ShowLiveboardDescription] = !!showLiveboardDescription;
|
|
15049
15141
|
params[Param.LiveboardHeaderSticky] = isLiveboardHeaderSticky;
|
|
15142
|
+
params[Param.IsFullAppEmbed] = true;
|
|
15050
15143
|
params = this.getBaseQueryParams(params);
|
|
15051
15144
|
if (fullHeight === true) {
|
|
15052
15145
|
params[Param.fullHeight] = true;
|
|
@@ -15063,12 +15156,17 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
15063
15156
|
if (enableSearchAssist !== undefined) {
|
|
15064
15157
|
params[Param.EnableSearchAssist] = enableSearchAssist;
|
|
15065
15158
|
}
|
|
15159
|
+
if (enable2ColumnLayout !== undefined) {
|
|
15160
|
+
params[Param.Enable2ColumnLayout] = enable2ColumnLayout;
|
|
15161
|
+
}
|
|
15066
15162
|
if (enableAskSage) {
|
|
15067
15163
|
params[Param.enableAskSage] = enableAskSage;
|
|
15068
15164
|
}
|
|
15069
15165
|
params[Param.DataPanelV2Enabled] = dataPanelV2;
|
|
15070
15166
|
params[Param.HideHomepageLeftNav] = hideHomepageLeftNav;
|
|
15071
15167
|
params[Param.ModularHomeExperienceEnabled] = modularHomeExperience;
|
|
15168
|
+
params[Param.CollapseSearchBarInitially] = collapseSearchBarInitially;
|
|
15169
|
+
params[Param.EnableCustomColumnGroups] = enableCustomColumnGroups;
|
|
15072
15170
|
const queryParams = getQueryParamString(params, true);
|
|
15073
15171
|
return queryParams;
|
|
15074
15172
|
}
|
|
@@ -15217,9 +15315,11 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
15217
15315
|
responder({ type: exports.EmbedEvent.EmbedIframeCenter, data: obj });
|
|
15218
15316
|
};
|
|
15219
15317
|
this.setIframeHeightForNonEmbedLiveboard = (data) => {
|
|
15220
|
-
if (
|
|
15221
|
-
|
|
15318
|
+
if (data.data.currentPath.startsWith('/embed/viz/')
|
|
15319
|
+
|| data.data.currentPath.startsWith('/embed/insights/viz/')) {
|
|
15320
|
+
return;
|
|
15222
15321
|
}
|
|
15322
|
+
this.setIFrameHeight(this.defaultHeight);
|
|
15223
15323
|
};
|
|
15224
15324
|
if (this.viewConfig.fullHeight === true) {
|
|
15225
15325
|
this.on(exports.EmbedEvent.RouteChange, this.setIframeHeightForNonEmbedLiveboard);
|
|
@@ -15235,7 +15335,7 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
15235
15335
|
let params = {};
|
|
15236
15336
|
params[Param.EmbedApp] = true;
|
|
15237
15337
|
params = this.getBaseQueryParams(params);
|
|
15238
|
-
const { enableVizTransformations, fullHeight, defaultHeight, visibleVizs, liveboardV2, vizId, hideTabPanel, activeTabId, hideLiveboardHeader, showLiveboardDescription, showLiveboardTitle, isLiveboardHeaderSticky = true, enableAskSage, } = this.viewConfig;
|
|
15338
|
+
const { enableVizTransformations, fullHeight, defaultHeight, visibleVizs, liveboardV2, vizId, hideTabPanel, activeTabId, hideLiveboardHeader, showLiveboardDescription, showLiveboardTitle, isLiveboardHeaderSticky = true, enableAskSage, enable2ColumnLayout, } = this.viewConfig;
|
|
15239
15339
|
const preventLiveboardFilterRemoval = this.viewConfig.preventLiveboardFilterRemoval
|
|
15240
15340
|
|| this.viewConfig.preventPinboardFilterRemoval;
|
|
15241
15341
|
if (fullHeight === true) {
|
|
@@ -15260,6 +15360,9 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
15260
15360
|
if (liveboardV2 !== undefined) {
|
|
15261
15361
|
params[Param.LiveboardV2Enabled] = liveboardV2;
|
|
15262
15362
|
}
|
|
15363
|
+
if (enable2ColumnLayout !== undefined) {
|
|
15364
|
+
params[Param.Enable2ColumnLayout] = enable2ColumnLayout;
|
|
15365
|
+
}
|
|
15263
15366
|
if (hideTabPanel) {
|
|
15264
15367
|
params[Param.HideTabPanel] = hideTabPanel;
|
|
15265
15368
|
}
|
|
@@ -15422,7 +15525,7 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
15422
15525
|
}
|
|
15423
15526
|
getEmbedParams() {
|
|
15424
15527
|
var _a;
|
|
15425
|
-
const { hideResults, expandAllDataSource, enableSearchAssist, forceTable, searchOptions, runtimeFilters, dataSource, dataSources, excludeRuntimeFiltersfromURL, hideSearchBar, dataPanelV2 = false, useLastSelectedSources = false, runtimeParameters, } = this.viewConfig;
|
|
15528
|
+
const { hideResults, expandAllDataSource, enableSearchAssist, forceTable, searchOptions, runtimeFilters, dataSource, dataSources, excludeRuntimeFiltersfromURL, hideSearchBar, dataPanelV2 = false, useLastSelectedSources = false, runtimeParameters, collapseSearchBarInitially = false, enableCustomColumnGroups = false, } = this.viewConfig;
|
|
15426
15529
|
const queryParams = this.getBaseQueryParams();
|
|
15427
15530
|
queryParams[Param.HideActions] = [
|
|
15428
15531
|
...((_a = queryParams[Param.HideActions]) !== null && _a !== void 0 ? _a : []),
|
|
@@ -15459,6 +15562,8 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
15459
15562
|
queryParams[Param.UseLastSelectedDataSource] = false;
|
|
15460
15563
|
}
|
|
15461
15564
|
queryParams[Param.searchEmbed] = true;
|
|
15565
|
+
queryParams[Param.CollapseSearchBarInitially] = collapseSearchBarInitially;
|
|
15566
|
+
queryParams[Param.EnableCustomColumnGroups] = enableCustomColumnGroups;
|
|
15462
15567
|
let query = '';
|
|
15463
15568
|
const queryParamsString = getQueryParamString(queryParams, true);
|
|
15464
15569
|
if (queryParamsString) {
|
|
@@ -15572,16 +15677,6 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
15572
15677
|
* @summary TS Sage embed
|
|
15573
15678
|
* @author Mourya Balabhadra <mourya.balabhadra@thoughtspot.com>
|
|
15574
15679
|
*/
|
|
15575
|
-
const HiddenActionItemByDefaultForSageEmbed = [
|
|
15576
|
-
exports.Action.Save,
|
|
15577
|
-
exports.Action.Pin,
|
|
15578
|
-
exports.Action.EditACopy,
|
|
15579
|
-
exports.Action.SaveAsView,
|
|
15580
|
-
exports.Action.UpdateTML,
|
|
15581
|
-
exports.Action.EditTML,
|
|
15582
|
-
exports.Action.AnswerDelete,
|
|
15583
|
-
exports.Action.Share,
|
|
15584
|
-
];
|
|
15585
15680
|
/**
|
|
15586
15681
|
* Embed ThoughtSpot LLM and GPT-based Natural Language Search component.
|
|
15587
15682
|
*
|
|
@@ -15601,8 +15696,7 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
15601
15696
|
* @returns {string} query string
|
|
15602
15697
|
*/
|
|
15603
15698
|
getEmbedParams() {
|
|
15604
|
-
|
|
15605
|
-
const { disableWorksheetChange, hideWorksheetSelector, showObjectSuggestions, hideSampleQuestions, isProductTour, hideSearchBarTitle, hideSageAnswerHeader, hideAutocompleteSuggestions, } = this.viewConfig;
|
|
15699
|
+
const { disableWorksheetChange, hideWorksheetSelector, showObjectSuggestions, hideSampleQuestions, isProductTour, hideSageAnswerHeader, hideAutocompleteSuggestions, } = this.viewConfig;
|
|
15606
15700
|
const params = this.getBaseQueryParams();
|
|
15607
15701
|
params[Param.EmbedApp] = true;
|
|
15608
15702
|
params[Param.IsSageEmbed] = true;
|
|
@@ -15615,12 +15709,7 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
15615
15709
|
}
|
|
15616
15710
|
params[Param.HideSampleQuestions] = !!hideSampleQuestions;
|
|
15617
15711
|
params[Param.IsProductTour] = !!isProductTour;
|
|
15618
|
-
params[Param.HideSearchBarTitle] = !!hideSearchBarTitle;
|
|
15619
15712
|
params[Param.HideSageAnswerHeader] = !!hideSageAnswerHeader;
|
|
15620
|
-
params[Param.HideActions] = [
|
|
15621
|
-
...((_a = params[Param.HideActions]) !== null && _a !== void 0 ? _a : []),
|
|
15622
|
-
...HiddenActionItemByDefaultForSageEmbed,
|
|
15623
|
-
];
|
|
15624
15713
|
return getQueryParamString(params, true);
|
|
15625
15714
|
}
|
|
15626
15715
|
/**
|
|
@@ -374,7 +374,7 @@ export interface SageViewConfig extends Omit<ViewConfig, 'hiddenHomepageModules'
|
|
|
374
374
|
showObjectResults?: boolean;
|
|
375
375
|
/**
|
|
376
376
|
* flag used by the TS product tour page to show the blue search bar
|
|
377
|
-
* even after the search is completed. This is different from
|
|
377
|
+
* even after the search is completed. This is different from Thoughtspot Embedded Sage Embed
|
|
378
378
|
* experience where it mimics closer to the non-embed case.
|
|
379
379
|
* The Sample questions container is collapsed when this value is set after
|
|
380
380
|
* does a search.
|
|
@@ -385,8 +385,9 @@ export interface SageViewConfig extends Omit<ViewConfig, 'hiddenHomepageModules'
|
|
|
385
385
|
isProductTour?: boolean;
|
|
386
386
|
/**
|
|
387
387
|
* Show or hide the search bar title.
|
|
388
|
+
* @version SDK: 1.29.0 | Thoughtspot: 9.8.0.cl, 9.8.0.sw
|
|
388
389
|
*
|
|
389
|
-
* @
|
|
390
|
+
* @deprecated Thoughtspot: 9.10.0.cl | search bar doesn't have the title from 9.10.0.cl
|
|
390
391
|
*/
|
|
391
392
|
hideSearchBarTitle?: boolean;
|
|
392
393
|
/**
|
|
@@ -456,7 +457,6 @@ export interface SageViewConfig extends Omit<ViewConfig, 'hiddenHomepageModules'
|
|
|
456
457
|
*/
|
|
457
458
|
searchOptions?: SearchOptions;
|
|
458
459
|
}
|
|
459
|
-
export declare const HiddenActionItemByDefaultForSageEmbed: Action[];
|
|
460
460
|
/**
|
|
461
461
|
* Embed ThoughtSpot LLM and GPT-based Natural Language Search component.
|
|
462
462
|
*
|
|
@@ -697,6 +697,28 @@ export interface SearchViewConfig extends Omit<ViewConfig, 'hiddenHomepageModule
|
|
|
697
697
|
* @version: SDK: 1.24.0
|
|
698
698
|
*/
|
|
699
699
|
useLastSelectedSources?: boolean;
|
|
700
|
+
/**
|
|
701
|
+
* To set the initial state of the search bar in case of saved-answers.
|
|
702
|
+
*
|
|
703
|
+
* @default false
|
|
704
|
+
* @version SDK: 1.32.0 | Thoughtspot: 10.0.0.cl
|
|
705
|
+
*/
|
|
706
|
+
collapseSearchBarInitially?: boolean;
|
|
707
|
+
/**
|
|
708
|
+
* To enable custom column groups in data panel v2
|
|
709
|
+
*
|
|
710
|
+
* @version SDK: 1.32.0 | Thoughtspot: 10.0.0.cl
|
|
711
|
+
* @default false
|
|
712
|
+
*
|
|
713
|
+
* @example
|
|
714
|
+
* ```js
|
|
715
|
+
* const embed = new SearchEmbed('#tsEmbed', {
|
|
716
|
+
* ... // other options
|
|
717
|
+
* enableCustomColumnGroups: true,
|
|
718
|
+
* });
|
|
719
|
+
* ```
|
|
720
|
+
*/
|
|
721
|
+
enableCustomColumnGroups?: boolean;
|
|
700
722
|
}
|
|
701
723
|
export declare const HiddenActionItemByDefaultForSearchEmbed: Action[];
|
|
702
724
|
/**
|
|
@@ -1058,6 +1080,44 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
1058
1080
|
* @default false
|
|
1059
1081
|
*/
|
|
1060
1082
|
enableAskSage?: boolean;
|
|
1083
|
+
/**
|
|
1084
|
+
* To set the initial state of the search bar in case of saved-answers.
|
|
1085
|
+
*
|
|
1086
|
+
* @version SDK: 1.32.0 | Thoughtspot: 10.0.0.cl
|
|
1087
|
+
* @default false
|
|
1088
|
+
*/
|
|
1089
|
+
collapseSearchBarInitially?: boolean;
|
|
1090
|
+
/**
|
|
1091
|
+
* To enable custom column groups in data panel v2
|
|
1092
|
+
*
|
|
1093
|
+
* @version SDK: 1.32.0 | Thoughtspot: 10.0.0.cl
|
|
1094
|
+
* @default false
|
|
1095
|
+
*
|
|
1096
|
+
* @example
|
|
1097
|
+
* ```js
|
|
1098
|
+
* const embed = new AppEmbed('#embed', {
|
|
1099
|
+
* ... // other app view config
|
|
1100
|
+
* enableCustomColumnGroups: true,
|
|
1101
|
+
* });
|
|
1102
|
+
* ```
|
|
1103
|
+
*/
|
|
1104
|
+
enableCustomColumnGroups?: boolean;
|
|
1105
|
+
/**
|
|
1106
|
+
* This flag is used to enable the 2 column layout in liveboard
|
|
1107
|
+
*
|
|
1108
|
+
* @type {boolean}
|
|
1109
|
+
* @default false
|
|
1110
|
+
* @version SDK: 1.32.0 | ThoughtSpot:10.1.0.cl
|
|
1111
|
+
*
|
|
1112
|
+
* @example
|
|
1113
|
+
* ```js
|
|
1114
|
+
* const embed = new LiveboardEmbed('#embed-container', {
|
|
1115
|
+
* ... // other options
|
|
1116
|
+
* enable2ColumnLayout: true,
|
|
1117
|
+
* })
|
|
1118
|
+
* ```
|
|
1119
|
+
*/
|
|
1120
|
+
enable2ColumnLayout?: boolean;
|
|
1061
1121
|
}
|
|
1062
1122
|
/**
|
|
1063
1123
|
* Embeds full ThoughtSpot experience in a host application.
|
|
@@ -1353,6 +1413,22 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
|
|
|
1353
1413
|
* ```
|
|
1354
1414
|
*/
|
|
1355
1415
|
enableAskSage?: boolean;
|
|
1416
|
+
/**
|
|
1417
|
+
* This flag is used to enable the 2 column layout in liveboard
|
|
1418
|
+
*
|
|
1419
|
+
* @type {boolean}
|
|
1420
|
+
* @default false
|
|
1421
|
+
* @version SDK: 1.32.0 | ThoughtSpot:10.1.0.cl
|
|
1422
|
+
*
|
|
1423
|
+
* @example
|
|
1424
|
+
* ```js
|
|
1425
|
+
* const embed = new LiveboardEmbed('#embed-container', {
|
|
1426
|
+
* ... // other options
|
|
1427
|
+
* enable2ColumnLayout: true,
|
|
1428
|
+
* })
|
|
1429
|
+
* ```
|
|
1430
|
+
*/
|
|
1431
|
+
enable2ColumnLayout?: boolean;
|
|
1356
1432
|
}
|
|
1357
1433
|
/**
|
|
1358
1434
|
* Embed a ThoughtSpot Liveboard or visualization. When rendered it already
|
|
@@ -2312,6 +2388,24 @@ export interface EmbedConfig {
|
|
|
2312
2388
|
* @version SDK: 1.27.9
|
|
2313
2389
|
*/
|
|
2314
2390
|
disableSDKTracking?: boolean;
|
|
2391
|
+
/**
|
|
2392
|
+
* Overrides default/user preffered locale for date formatting
|
|
2393
|
+
*
|
|
2394
|
+
* @version SDK: 1.28.4 | Thoughtspot: 10.0.0.cl, 9.5.0.sw
|
|
2395
|
+
*/
|
|
2396
|
+
dateFormatLocale?: string;
|
|
2397
|
+
/**
|
|
2398
|
+
* Overrides default/user preffered locale for number formatting
|
|
2399
|
+
*
|
|
2400
|
+
* @version SDK: 1.28.4 | Thoughtspot: 10.0.0.cl, 9.5.0.sw
|
|
2401
|
+
*/
|
|
2402
|
+
numberFormatLocale?: string;
|
|
2403
|
+
/**
|
|
2404
|
+
* Format to be used for currency when currency format is set to infer from browser
|
|
2405
|
+
*
|
|
2406
|
+
* @version SDK: 1.28.4 | Thoughtspot: 10.0.0.cl, 9.5.0.sw
|
|
2407
|
+
*/
|
|
2408
|
+
currencyFormat?: string;
|
|
2315
2409
|
}
|
|
2316
2410
|
export interface LayoutConfig {
|
|
2317
2411
|
}
|
|
@@ -2629,11 +2723,7 @@ export interface ViewConfig {
|
|
|
2629
2723
|
*
|
|
2630
2724
|
* **Note**: This option does not apply to the classic homepage.
|
|
2631
2725
|
* To access the updated modular homepage, set
|
|
2632
|
-
<<<<<<< HEAD
|
|
2633
|
-
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.0.cl).
|
|
2634
|
-
=======
|
|
2635
2726
|
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
2636
|
-
>>>>>>> 64e22666... typo fixes
|
|
2637
2727
|
*
|
|
2638
2728
|
* @version SDK: 1.28.0 | Thoughtspot: 9.12.5.cl
|
|
2639
2729
|
* @example
|
|
@@ -4776,7 +4866,14 @@ export declare enum Param {
|
|
|
4776
4866
|
HideSearchBar = "hideSearchBar",
|
|
4777
4867
|
ClientLogLevel = "clientLogLevel",
|
|
4778
4868
|
OverrideNativeConsole = "overrideConsoleLogs",
|
|
4779
|
-
enableAskSage = "enableAskSage"
|
|
4869
|
+
enableAskSage = "enableAskSage",
|
|
4870
|
+
CollapseSearchBarInitially = "collapseSearchBarInitially",
|
|
4871
|
+
EnableCustomColumnGroups = "enableCustomColumnGroups",
|
|
4872
|
+
DateFormatLocale = "dateFormatLocale",
|
|
4873
|
+
NumberFormatLocale = "numberFormatLocale",
|
|
4874
|
+
CurrencyFormat = "currencyFormat",
|
|
4875
|
+
Enable2ColumnLayout = "enable2ColumnLayout",
|
|
4876
|
+
IsFullAppEmbed = "isFullAppEmbed"
|
|
4780
4877
|
}
|
|
4781
4878
|
/**
|
|
4782
4879
|
* ThoughtSpot application pages include actions and menu commands
|
|
@@ -4912,6 +5009,18 @@ export declare enum Action {
|
|
|
4912
5009
|
* ```
|
|
4913
5010
|
*/
|
|
4914
5011
|
AddFilter = "addFilter",
|
|
5012
|
+
/**
|
|
5013
|
+
* The **Add Data Panel Objects** action on the data panel v2.
|
|
5014
|
+
* Allows to show action menu to add different objects (like
|
|
5015
|
+
* formulas, parameters) in data panel v2.
|
|
5016
|
+
*
|
|
5017
|
+
* @example
|
|
5018
|
+
* ```js
|
|
5019
|
+
* disabledActions: [Action.AddDataPanelObjects]
|
|
5020
|
+
* ```
|
|
5021
|
+
* @version SDK: 1.32.0 | Thoughtspot: 10.0.0.cl
|
|
5022
|
+
*/
|
|
5023
|
+
AddDataPanelObjects = "addDataPanelObjects",
|
|
4915
5024
|
/**
|
|
4916
5025
|
* Filter configuration options on a Liveboard and Search page.
|
|
4917
5026
|
* Allows configuring filter options when adding filters to a
|
|
@@ -4954,6 +5063,28 @@ export declare enum Action {
|
|
|
4954
5063
|
* ```
|
|
4955
5064
|
*/
|
|
4956
5065
|
AddParameter = "addParameter",
|
|
5066
|
+
/**
|
|
5067
|
+
* The **Add Column Set** action on a Answer.
|
|
5068
|
+
* Allows adding column sets to a Answer.
|
|
5069
|
+
*
|
|
5070
|
+
* @example
|
|
5071
|
+
* ```js
|
|
5072
|
+
* disabledActions: [Action.AddColumnSet]
|
|
5073
|
+
* ```
|
|
5074
|
+
* @version SDK: 1.32.0 | Thoughtspot: 10.0.0.cl
|
|
5075
|
+
*/
|
|
5076
|
+
AddColumnSet = "addSimpleCohort",
|
|
5077
|
+
/**
|
|
5078
|
+
* The **Add Query Set** action on a Answer.
|
|
5079
|
+
* Allows adding query sets to a Answer.
|
|
5080
|
+
*
|
|
5081
|
+
* @example
|
|
5082
|
+
* ```js
|
|
5083
|
+
* disabledActions: [Action.AddQuerySet]
|
|
5084
|
+
* ```
|
|
5085
|
+
* @version SDK: 1.32.0 | Thoughtspot: 10.0.0.cl
|
|
5086
|
+
*/
|
|
5087
|
+
AddQuerySet = "addAdvancedCohort",
|
|
4957
5088
|
/**
|
|
4958
5089
|
* @hidden
|
|
4959
5090
|
*/
|
|
@@ -5385,6 +5516,28 @@ export declare enum Action {
|
|
|
5385
5516
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
|
|
5386
5517
|
*/
|
|
5387
5518
|
CrossFilter = "context-menu-item-cross-filter",
|
|
5519
|
+
/**
|
|
5520
|
+
* The **Sync to Slack** action on Liveboard visualizations.
|
|
5521
|
+
* Allows sending data to third-party apps Slack
|
|
5522
|
+
*
|
|
5523
|
+
* @example
|
|
5524
|
+
* ```js
|
|
5525
|
+
* disabledActions: [Action.SyncToSlack]
|
|
5526
|
+
* ```
|
|
5527
|
+
* @version @version SDK : 1.32.0 | Thoughtspot: 10.1.0.cl
|
|
5528
|
+
*/
|
|
5529
|
+
SyncToSlack = "syncToSlack",
|
|
5530
|
+
/**
|
|
5531
|
+
* The **Sync to Teams** action on Liveboard visualizations.
|
|
5532
|
+
* Allows sending data to third-party apps Team
|
|
5533
|
+
*
|
|
5534
|
+
* @example
|
|
5535
|
+
* ```js
|
|
5536
|
+
* disabledActions: [Action.SyncToTeams]
|
|
5537
|
+
* ```
|
|
5538
|
+
* @version @version SDK : 1.32.0 | Thoughtspot: 10.1.0.cl
|
|
5539
|
+
*/
|
|
5540
|
+
SyncToTeams = "syncToTeams",
|
|
5388
5541
|
/**
|
|
5389
5542
|
* The **Remove** action that appears when cross filters are applied
|
|
5390
5543
|
* on a Liveboard.
|
|
@@ -5626,6 +5779,26 @@ export declare enum Action {
|
|
|
5626
5779
|
* @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl
|
|
5627
5780
|
*/
|
|
5628
5781
|
LiveboardUsers = "liveboardUsers",
|
|
5782
|
+
/**
|
|
5783
|
+
* Action ID for the Parent TML action
|
|
5784
|
+
* The parent action **TML** must be included to access TML-related options
|
|
5785
|
+
* within the cascading menu (specific to the answer page)
|
|
5786
|
+
*
|
|
5787
|
+
* @example
|
|
5788
|
+
* ```js
|
|
5789
|
+
* // to include specific TML actions
|
|
5790
|
+
* visibleActions: [Action.TML, Action.ExportTML, Action.EditTML]
|
|
5791
|
+
*
|
|
5792
|
+
* ```
|
|
5793
|
+
* @example
|
|
5794
|
+
* ```js
|
|
5795
|
+
* hiddenAction: [Action.TML] // hide all TML actions
|
|
5796
|
+
* disabledActions: [Action.TML] // to disable all TML actions
|
|
5797
|
+
* ```
|
|
5798
|
+
*
|
|
5799
|
+
* @version SDK : 1.28.2 | Thoughtspot: 9.10.5.cl
|
|
5800
|
+
*/
|
|
5801
|
+
TML = "tml",
|
|
5629
5802
|
/**
|
|
5630
5803
|
* Action ID for to hide Verified Liveboard Banner
|
|
5631
5804
|
*
|
|
@@ -5667,15 +5840,15 @@ export declare enum Action {
|
|
|
5667
5840
|
*/
|
|
5668
5841
|
RemoveFromWatchlist = "removeFromWatchlist",
|
|
5669
5842
|
/**
|
|
5670
|
-
* The **
|
|
5843
|
+
* The **Organise Favourites** action on Homepage Favourite Module.
|
|
5671
5844
|
*
|
|
5672
5845
|
* @example
|
|
5673
5846
|
* ```js
|
|
5674
|
-
* disabledActions: [Action.
|
|
5847
|
+
* disabledActions: [Action.OrganiseFavourites]
|
|
5675
5848
|
* ```
|
|
5676
|
-
* @version SDK : 1.
|
|
5849
|
+
* @version SDK : 1.32.0 | Thoughtspot: 10.0.0.cl
|
|
5677
5850
|
*/
|
|
5678
|
-
|
|
5851
|
+
OrganiseFavourites = "organiseFavourites",
|
|
5679
5852
|
/**
|
|
5680
5853
|
* Action ID for AI Highlights button
|
|
5681
5854
|
*
|