diff --git a/README.md b/README.md
index 106713553..772fe1e73 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@
# ThoughtSpot Visual Embed SDK
[](https://coveralls.io/github/thoughtspot/visual-embed-sdk?branch=main)  [](https://www.jsdelivr.com/package/npm/@thoughtspot/visual-embed-sdk)  
-SDK to embed ThoughtSpot into your web apps. You need a ThoughtSpot account to use the SDK, [click here](https://www.thoughtspot.com/trial?tsref=trialtse) to start a trial.
+SDK to embed ThoughtSpot into your web apps. You need a ThoughtSpot account to use the SDK, [click here](https://www.thoughtspot.com/trial?tsref=trialtse) to start a free trial.
* [Installation](#installation)
* [Live Playground](#live-playground)
@@ -24,8 +24,6 @@ SDK to embed ThoughtSpot into your web apps. You need a ThoughtSpot account to u
## Installation
-The SDK is compatible with ThoughtSpot SW version >= 7.1 and ThoughtSpot Cloud.
-
Install the Visual Embed SDK from [NPM](https://www.npmjs.com/package/@thoughtspot/visual-embed-sdk):
```
@@ -199,7 +197,7 @@ const MyComponent = ({ dataSources }) => {
};
```
-### Triggering events on React components (> version 1.9.2)
+### Triggering events on React components
```jsx
import { HostEvent } from '@thoughtspot/visual-embed-sdk';
diff --git a/dts-config/dts-bundle-file.config.js b/dts-config/dts-bundle-file.config.js
new file mode 100644
index 000000000..5da684855
--- /dev/null
+++ b/dts-config/dts-bundle-file.config.js
@@ -0,0 +1,20 @@
+module.exports = {
+ compilationOptions: {
+ preferredConfigPath: '../tsconfig.json',
+ followSymlinks: false,
+ },
+ entries: [
+ {
+ filePath: '../lib/src/index.d.ts',
+ outFile: '../visual-embed-sdk.d.ts',
+ noCheck: true,
+ output: {
+ noBanner: false,
+ respectPreserveConstEnum: false,
+ },
+ libraries: {
+ inlinedLibraries: ['@babel/types'],
+ },
+ }
+ ],
+};
diff --git a/dts-config/dts-bundle-react-full.config.js b/dts-config/dts-bundle-react-full.config.js
new file mode 100644
index 000000000..c676d7b0e
--- /dev/null
+++ b/dts-config/dts-bundle-react-full.config.js
@@ -0,0 +1,20 @@
+module.exports = {
+ compilationOptions: {
+ preferredConfigPath: '../tsconfig.json',
+ followSymlinks: false,
+ },
+ entries: [
+ {
+ filePath: '../lib/src/react/all-types-export.d.ts',
+ outFile: '../dist/visual-embed-sdk-react-full.d.ts',
+ noCheck: true,
+ output: {
+ noBanner: false,
+ respectPreserveConstEnum: false,
+ },
+ libraries: {
+ inlinedLibraries: ['@babel/types'],
+ },
+ }
+ ],
+};
diff --git a/dts-config/dts-bundle-react.config.js b/dts-config/dts-bundle-react.config.js
new file mode 100644
index 000000000..1df3f338a
--- /dev/null
+++ b/dts-config/dts-bundle-react.config.js
@@ -0,0 +1,20 @@
+module.exports = {
+ compilationOptions: {
+ preferredConfigPath: '../tsconfig.json',
+ followSymlinks: false,
+ },
+ entries: [
+ {
+ filePath: '../lib/src/react/index.d.ts',
+ outFile: '../dist/visual-embed-sdk-react.d.ts',
+ noCheck: true,
+ output: {
+ noBanner: false,
+ respectPreserveConstEnum: false,
+ },
+ libraries: {
+ inlinedLibraries: ['@babel/types'],
+ },
+ }
+ ],
+};
diff --git a/dts-config/dts-bundle.config.js b/dts-config/dts-bundle.config.js
new file mode 100644
index 000000000..9ef1a6e25
--- /dev/null
+++ b/dts-config/dts-bundle.config.js
@@ -0,0 +1,20 @@
+module.exports = {
+ compilationOptions: {
+ preferredConfigPath: '../tsconfig.json',
+ followSymlinks: false,
+ },
+ entries: [
+ {
+ filePath: '../lib/src/index.d.ts',
+ outFile: '../dist/visual-embed-sdk.d.ts',
+ noCheck: true,
+ output: {
+ noBanner: false,
+ respectPreserveConstEnum: false,
+ },
+ libraries: {
+ inlinedLibraries: ['@babel/types'],
+ },
+ }
+ ],
+};
diff --git a/eslint.config.mjs b/eslint.config.mjs
index ca936c440..879d8e50f 100644
--- a/eslint.config.mjs
+++ b/eslint.config.mjs
@@ -1,5 +1,4 @@
import { defineConfig } from 'eslint/config';
-import globals from 'globals';
import tseslint from 'typescript-eslint';
import pluginReact from 'eslint-plugin-react';
import importPlugin from 'eslint-plugin-import';
@@ -48,7 +47,8 @@ export default defineConfig([
maxLength: 90,
ignoreUrls: true,
},
- ]
- }
+ ],
+ 'import/no-cycle': "error"
+ },
},
-]);
\ No newline at end of file
+]);
diff --git a/package-lock.json b/package-lock.json
index cd7602e7a..66b24bcad 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@thoughtspot/visual-embed-sdk",
- "version": "1.40.1",
+ "version": "1.43.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@thoughtspot/visual-embed-sdk",
- "version": "1.40.1",
+ "version": "1.43.0",
"license": "ThoughtSpot Development Tools End User License Agreement",
"dependencies": {
"classnames": "^2.3.1",
@@ -45,7 +45,7 @@
"coveralls-next": "^5.0.0",
"crypto": "^1.0.1",
"current-git-branch": "^1.1.0",
- "dts-bundle": "^0.7.3",
+ "dts-bundle-generator": "^9.5.1",
"eslint": "^9.23.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^10.1.1",
@@ -4630,12 +4630,6 @@
"@types/responselike": "^1.0.0"
}
},
- "node_modules/@types/detect-indent": {
- "version": "0.1.30",
- "resolved": "https://registry.npmjs.org/@types/detect-indent/-/detect-indent-0.1.30.tgz",
- "integrity": "sha512-AUmj9JHuHTD94slY1WR1VulFxRGC6D1pcNCN0MCulKFyiihvV/28lLS8oRHgfmc2Cxq954J8Vmosa8qzm7PLGQ==",
- "dev": true
- },
"node_modules/@types/eslint": {
"version": "9.6.1",
"resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.1.tgz",
@@ -4664,16 +4658,6 @@
"integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==",
"dev": true
},
- "node_modules/@types/glob": {
- "version": "5.0.30",
- "resolved": "https://registry.npmjs.org/@types/glob/-/glob-5.0.30.tgz",
- "integrity": "sha512-ZM05wDByI+WA153sfirJyEHoYYoIuZ7lA2dB/Gl8ymmpMTR78fNRtDMqa7Z6SdH4fZdLWZNRE6mZpx3XqBOrHw==",
- "dev": true,
- "dependencies": {
- "@types/minimatch": "*",
- "@types/node": "*"
- }
- },
"node_modules/@types/graceful-fs": {
"version": "4.1.9",
"resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz",
@@ -4764,24 +4748,12 @@
"@types/unist": "^2"
}
},
- "node_modules/@types/minimatch": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.2.tgz",
- "integrity": "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==",
- "dev": true
- },
"node_modules/@types/mixpanel-browser": {
"version": "2.50.0",
"resolved": "https://registry.npmjs.org/@types/mixpanel-browser/-/mixpanel-browser-2.50.0.tgz",
"integrity": "sha512-RkGTkkDUw3Tm/GEmcS/x8t2mNrt34jgrEWLVM6oSnoe/+bk/WQP1EWaHLk3pCDc3IaXHNoweoNMa1iWLLF0yFQ==",
"dev": true
},
- "node_modules/@types/mkdirp": {
- "version": "0.3.29",
- "resolved": "https://registry.npmjs.org/@types/mkdirp/-/mkdirp-0.3.29.tgz",
- "integrity": "sha512-QRLQpFsIQGO2k8pupga9abfei85GKotAtQ+F6xuQmSGomUt6C52TyMiTFpP8kUwuPKr00gNtu3itLlC6gvI/NA==",
- "dev": true
- },
"node_modules/@types/node": {
"version": "22.7.5",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz",
@@ -7607,28 +7579,6 @@
"url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/detect-indent": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-0.2.0.tgz",
- "integrity": "sha512-C6jyrDu/eGH4KT0ZxAzijiH+ts5YLy7DqGFoDuHGxZjMOdjzRltp3jByySnpFBVIy4Em0ZkLN8tIV6mcREdw5A==",
- "dev": true,
- "dependencies": {
- "get-stdin": "^0.1.0",
- "minimist": "^0.1.0"
- },
- "bin": {
- "detect-indent": "cli.js"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/detect-indent/node_modules/minimist": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.1.0.tgz",
- "integrity": "sha512-wR5Ipl99t0mTGwLjQJnBjrP/O7zBbLZqvA3aw32DmLx+nXHfWctUjzDjnDx09pX1Po86WFQazF9xUzfMea3Cnw==",
- "dev": true
- },
"node_modules/detect-newline": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz",
@@ -7776,49 +7726,79 @@
"node": ">=8"
}
},
- "node_modules/dts-bundle": {
- "version": "0.7.3",
- "resolved": "https://registry.npmjs.org/dts-bundle/-/dts-bundle-0.7.3.tgz",
- "integrity": "sha512-EEAEuPRk8QyKhoN90NHTh+spSQujkkvOnKWUfuzpmC/fgryiWopL1SegSktx0UsoPfNidIGVDN7/AXpBDBv0WQ==",
+ "node_modules/dts-bundle-generator": {
+ "version": "9.5.1",
+ "resolved": "https://registry.npmjs.org/dts-bundle-generator/-/dts-bundle-generator-9.5.1.tgz",
+ "integrity": "sha512-DxpJOb2FNnEyOzMkG11sxO2dmxPjthoVWxfKqWYJ/bI/rT1rvTMktF5EKjAYrRZu6Z6t3NhOUZ0sZ5ZXevOfbA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "@types/detect-indent": "0.1.30",
- "@types/glob": "5.0.30",
- "@types/mkdirp": "0.3.29",
- "@types/node": "8.0.0",
- "commander": "^2.9.0",
- "detect-indent": "^0.2.0",
- "glob": "^6.0.4",
- "mkdirp": "^0.5.0"
+ "typescript": ">=5.0.2",
+ "yargs": "^17.6.0"
},
"bin": {
- "dts-bundle": "lib/dts-bundle.js"
+ "dts-bundle-generator": "dist/bin/dts-bundle-generator.js"
},
"engines": {
- "node": ">= 0.10.0"
+ "node": ">=14.0.0"
}
},
- "node_modules/dts-bundle/node_modules/@types/node": {
- "version": "8.0.0",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-8.0.0.tgz",
- "integrity": "sha512-j2tekvJCO7j22cs+LO6i0kRPhmQ9MXaPZ55TzOc1lzkN5b6BWqq4AFjl04s1oRRQ1v5rSe+KEvnLUSTonuls/A==",
- "dev": true
+ "node_modules/dts-bundle-generator/node_modules/cliui": {
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",
+ "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "string-width": "^4.2.0",
+ "strip-ansi": "^6.0.1",
+ "wrap-ansi": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
},
- "node_modules/dts-bundle/node_modules/glob": {
- "version": "6.0.4",
- "resolved": "https://registry.npmjs.org/glob/-/glob-6.0.4.tgz",
- "integrity": "sha512-MKZeRNyYZAVVVG1oZeLaWie1uweH40m9AZwIwxyPbTSX4hHrVYSzLg0Ro5Z5R7XKkIX+Cc6oD1rqeDJnwsB8/A==",
- "deprecated": "Glob versions prior to v9 are no longer supported",
+ "node_modules/dts-bundle-generator/node_modules/typescript": {
+ "version": "5.9.2",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.2.tgz",
+ "integrity": "sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==",
"dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=14.17"
+ }
+ },
+ "node_modules/dts-bundle-generator/node_modules/yargs": {
+ "version": "17.7.2",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz",
+ "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "2 || 3",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
+ "cliui": "^8.0.1",
+ "escalade": "^3.1.1",
+ "get-caller-file": "^2.0.5",
+ "require-directory": "^2.1.1",
+ "string-width": "^4.2.3",
+ "y18n": "^5.0.5",
+ "yargs-parser": "^21.1.1"
},
"engines": {
- "node": "*"
+ "node": ">=12"
+ }
+ },
+ "node_modules/dts-bundle-generator/node_modules/yargs-parser": {
+ "version": "21.1.1",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",
+ "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": ">=12"
}
},
"node_modules/dunder-proto": {
@@ -9837,15 +9817,6 @@
"node": ">= 0.4"
}
},
- "node_modules/get-stdin": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-0.1.0.tgz",
- "integrity": "sha512-/WBu3IaQZxE3bs3BhBmR10ipDY4pjN+U4EZgXULa1eqKA0B/Lka/MVoAqhTVYBkkRlCrEGDOU9itrzIgm9Ksng==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
"node_modules/get-stream": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz",
@@ -17741,11 +17712,10 @@
}
},
"node_modules/tar-fs": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.1.0.tgz",
- "integrity": "sha512-5Mty5y/sOF1YWj1J6GiBodjlDc05CUR8PKXrsnFAiSG0xA+GHeWLovaZPYUDXkH/1iKRf2+M5+OrRgzC7O9b7w==",
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.1.1.tgz",
+ "integrity": "sha512-LZA0oaPOc2fVo82Txf3gw+AkEd38szODlptMYejQUhndHMLQ9M059uXR+AfS7DNo0NpINvSqDsvyaCrBVkptWg==",
"dev": true,
- "license": "MIT",
"dependencies": {
"pump": "^3.0.0",
"tar-stream": "^3.1.5"
@@ -19029,11 +18999,10 @@
}
},
"node_modules/vite": {
- "version": "6.3.5",
- "resolved": "https://registry.npmjs.org/vite/-/vite-6.3.5.tgz",
- "integrity": "sha512-cZn6NDFE7wdTpINgs++ZJ4N49W2vRp8LCKrn3Ob1kYNtOo21vfDoaV5GzBfLU4MovSAB8uNRm4jgzVQZ+mBzPQ==",
+ "version": "6.4.1",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-6.4.1.tgz",
+ "integrity": "sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g==",
"dev": true,
- "license": "MIT",
"dependencies": {
"esbuild": "^0.25.0",
"fdir": "^6.4.4",
@@ -23025,12 +22994,6 @@
"@types/responselike": "^1.0.0"
}
},
- "@types/detect-indent": {
- "version": "0.1.30",
- "resolved": "https://registry.npmjs.org/@types/detect-indent/-/detect-indent-0.1.30.tgz",
- "integrity": "sha512-AUmj9JHuHTD94slY1WR1VulFxRGC6D1pcNCN0MCulKFyiihvV/28lLS8oRHgfmc2Cxq954J8Vmosa8qzm7PLGQ==",
- "dev": true
- },
"@types/eslint": {
"version": "9.6.1",
"resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.1.tgz",
@@ -23057,16 +23020,6 @@
"integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==",
"dev": true
},
- "@types/glob": {
- "version": "5.0.30",
- "resolved": "https://registry.npmjs.org/@types/glob/-/glob-5.0.30.tgz",
- "integrity": "sha512-ZM05wDByI+WA153sfirJyEHoYYoIuZ7lA2dB/Gl8ymmpMTR78fNRtDMqa7Z6SdH4fZdLWZNRE6mZpx3XqBOrHw==",
- "dev": true,
- "requires": {
- "@types/minimatch": "*",
- "@types/node": "*"
- }
- },
"@types/graceful-fs": {
"version": "4.1.9",
"resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz",
@@ -23157,24 +23110,12 @@
"@types/unist": "^2"
}
},
- "@types/minimatch": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.2.tgz",
- "integrity": "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==",
- "dev": true
- },
"@types/mixpanel-browser": {
"version": "2.50.0",
"resolved": "https://registry.npmjs.org/@types/mixpanel-browser/-/mixpanel-browser-2.50.0.tgz",
"integrity": "sha512-RkGTkkDUw3Tm/GEmcS/x8t2mNrt34jgrEWLVM6oSnoe/+bk/WQP1EWaHLk3pCDc3IaXHNoweoNMa1iWLLF0yFQ==",
"dev": true
},
- "@types/mkdirp": {
- "version": "0.3.29",
- "resolved": "https://registry.npmjs.org/@types/mkdirp/-/mkdirp-0.3.29.tgz",
- "integrity": "sha512-QRLQpFsIQGO2k8pupga9abfei85GKotAtQ+F6xuQmSGomUt6C52TyMiTFpP8kUwuPKr00gNtu3itLlC6gvI/NA==",
- "dev": true
- },
"@types/node": {
"version": "22.7.5",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz",
@@ -25231,24 +25172,6 @@
"repeat-string": "^1.5.4"
}
},
- "detect-indent": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-0.2.0.tgz",
- "integrity": "sha512-C6jyrDu/eGH4KT0ZxAzijiH+ts5YLy7DqGFoDuHGxZjMOdjzRltp3jByySnpFBVIy4Em0ZkLN8tIV6mcREdw5A==",
- "dev": true,
- "requires": {
- "get-stdin": "^0.1.0",
- "minimist": "^0.1.0"
- },
- "dependencies": {
- "minimist": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.1.0.tgz",
- "integrity": "sha512-wR5Ipl99t0mTGwLjQJnBjrP/O7zBbLZqvA3aw32DmLx+nXHfWctUjzDjnDx09pX1Po86WFQazF9xUzfMea3Cnw==",
- "dev": true
- }
- }
- },
"detect-newline": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz",
@@ -25359,40 +25282,53 @@
"is-obj": "^2.0.0"
}
},
- "dts-bundle": {
- "version": "0.7.3",
- "resolved": "https://registry.npmjs.org/dts-bundle/-/dts-bundle-0.7.3.tgz",
- "integrity": "sha512-EEAEuPRk8QyKhoN90NHTh+spSQujkkvOnKWUfuzpmC/fgryiWopL1SegSktx0UsoPfNidIGVDN7/AXpBDBv0WQ==",
+ "dts-bundle-generator": {
+ "version": "9.5.1",
+ "resolved": "https://registry.npmjs.org/dts-bundle-generator/-/dts-bundle-generator-9.5.1.tgz",
+ "integrity": "sha512-DxpJOb2FNnEyOzMkG11sxO2dmxPjthoVWxfKqWYJ/bI/rT1rvTMktF5EKjAYrRZu6Z6t3NhOUZ0sZ5ZXevOfbA==",
"dev": true,
"requires": {
- "@types/detect-indent": "0.1.30",
- "@types/glob": "5.0.30",
- "@types/mkdirp": "0.3.29",
- "@types/node": "8.0.0",
- "commander": "^2.9.0",
- "detect-indent": "^0.2.0",
- "glob": "^6.0.4",
- "mkdirp": "^0.5.0"
+ "typescript": ">=5.0.2",
+ "yargs": "^17.6.0"
},
"dependencies": {
- "@types/node": {
- "version": "8.0.0",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-8.0.0.tgz",
- "integrity": "sha512-j2tekvJCO7j22cs+LO6i0kRPhmQ9MXaPZ55TzOc1lzkN5b6BWqq4AFjl04s1oRRQ1v5rSe+KEvnLUSTonuls/A==",
+ "cliui": {
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",
+ "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==",
+ "dev": true,
+ "requires": {
+ "string-width": "^4.2.0",
+ "strip-ansi": "^6.0.1",
+ "wrap-ansi": "^7.0.0"
+ }
+ },
+ "typescript": {
+ "version": "5.9.2",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.2.tgz",
+ "integrity": "sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==",
"dev": true
},
- "glob": {
- "version": "6.0.4",
- "resolved": "https://registry.npmjs.org/glob/-/glob-6.0.4.tgz",
- "integrity": "sha512-MKZeRNyYZAVVVG1oZeLaWie1uweH40m9AZwIwxyPbTSX4hHrVYSzLg0Ro5Z5R7XKkIX+Cc6oD1rqeDJnwsB8/A==",
+ "yargs": {
+ "version": "17.7.2",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz",
+ "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==",
"dev": true,
"requires": {
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "2 || 3",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
+ "cliui": "^8.0.1",
+ "escalade": "^3.1.1",
+ "get-caller-file": "^2.0.5",
+ "require-directory": "^2.1.1",
+ "string-width": "^4.2.3",
+ "y18n": "^5.0.5",
+ "yargs-parser": "^21.1.1"
}
+ },
+ "yargs-parser": {
+ "version": "21.1.1",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",
+ "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==",
+ "dev": true
}
}
},
@@ -26885,12 +26821,6 @@
"es-object-atoms": "^1.0.0"
}
},
- "get-stdin": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-0.1.0.tgz",
- "integrity": "sha512-/WBu3IaQZxE3bs3BhBmR10ipDY4pjN+U4EZgXULa1eqKA0B/Lka/MVoAqhTVYBkkRlCrEGDOU9itrzIgm9Ksng==",
- "dev": true
- },
"get-stream": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz",
@@ -32776,9 +32706,9 @@
"dev": true
},
"tar-fs": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.1.0.tgz",
- "integrity": "sha512-5Mty5y/sOF1YWj1J6GiBodjlDc05CUR8PKXrsnFAiSG0xA+GHeWLovaZPYUDXkH/1iKRf2+M5+OrRgzC7O9b7w==",
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.1.1.tgz",
+ "integrity": "sha512-LZA0oaPOc2fVo82Txf3gw+AkEd38szODlptMYejQUhndHMLQ9M059uXR+AfS7DNo0NpINvSqDsvyaCrBVkptWg==",
"dev": true,
"requires": {
"bare-fs": "^4.0.1",
@@ -33698,9 +33628,9 @@
}
},
"vite": {
- "version": "6.3.5",
- "resolved": "https://registry.npmjs.org/vite/-/vite-6.3.5.tgz",
- "integrity": "sha512-cZn6NDFE7wdTpINgs++ZJ4N49W2vRp8LCKrn3Ob1kYNtOo21vfDoaV5GzBfLU4MovSAB8uNRm4jgzVQZ+mBzPQ==",
+ "version": "6.4.1",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-6.4.1.tgz",
+ "integrity": "sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g==",
"dev": true,
"requires": {
"esbuild": "^0.25.0",
diff --git a/package.json b/package.json
index 30f0cd155..7898d1083 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@thoughtspot/visual-embed-sdk",
- "version": "1.41.0",
+ "version": "1.43.0",
"description": "ThoughtSpot Embed SDK",
"module": "lib/src/index.js",
"main": "dist/tsembed.js",
@@ -44,15 +44,15 @@
"scripts": {
"lint": "eslint 'src/**'",
"lint:fix": "eslint 'src/**/*.*' --fix",
- "tsc": "tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs",
+ "tsc": "tsc -p tsconfig.build.json --incremental false; tsc -p tsconfig.build.json --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",
+ "bundle-dts-file": "dts-bundle-generator --config ./dts-config/dts-bundle-file.config.js",
+ "bundle-dts": "dts-bundle-generator --config ./dts-config/dts-bundle.config.js",
+ "bundle-dts-react": "dts-bundle-generator --config ./dts-config/dts-bundle-react.config.js",
+ "bundle-dts-react-full": "dts-bundle-generator --config ./dts-config/dts-bundle-react-full.config.js",
"build": "rollup -c",
"watch": "rollup -cw",
- "docgen": "typedoc --tsconfig tsconfig.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck",
+ "docgen": "typedoc --tsconfig tsconfig.build.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 | npx coveralls-next",
@@ -104,7 +104,7 @@
"coveralls-next": "^5.0.0",
"crypto": "^1.0.1",
"current-git-branch": "^1.1.0",
- "dts-bundle": "^0.7.3",
+ "dts-bundle-generator": "^9.5.1",
"eslint": "^9.23.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^10.1.1",
diff --git a/src/api-intercept.spec.ts b/src/api-intercept.spec.ts
new file mode 100644
index 000000000..845753776
--- /dev/null
+++ b/src/api-intercept.spec.ts
@@ -0,0 +1,856 @@
+import * as apiIntercept from './api-intercept';
+import * as config from './config';
+import * as embedConfig from './embed/embedConfig';
+import { InterceptedApiType, EmbedEvent, BaseViewConfig } from './types';
+import { embedEventStatus } from './utils';
+import { logger } from './utils/logger';
+
+jest.mock('./config');
+jest.mock('./embed/embedConfig');
+jest.mock('./utils/logger');
+
+const mockGetThoughtSpotHost = config.getThoughtSpotHost as jest.Mock;
+const mockGetEmbedConfig = embedConfig.getEmbedConfig as jest.Mock;
+const mockLogger = logger as jest.Mocked;
+
+describe('api-intercept', () => {
+ const thoughtSpotHost = 'https://test.thoughtspot.com';
+ let originalJsonParse: any;
+
+ beforeAll(() => {
+ originalJsonParse = JSON.parse;
+ });
+
+ beforeEach(() => {
+ jest.clearAllMocks();
+ mockGetThoughtSpotHost.mockReturnValue(thoughtSpotHost);
+ mockGetEmbedConfig.mockReturnValue({});
+ // Restore JSON.parse before each test
+ JSON.parse = originalJsonParse;
+ });
+
+ afterEach(() => {
+ // Ensure JSON.parse is restored after each test
+ JSON.parse = originalJsonParse;
+ });
+
+ describe('getInterceptInitData', () => {
+ it('should return default intercept flags when no intercepts are configured', () => {
+ const viewConfig: BaseViewConfig = {};
+
+ const result = apiIntercept.getInterceptInitData(viewConfig);
+
+ expect(result).toEqual({
+ interceptUrls: [],
+ interceptTimeout: undefined,
+ });
+ });
+
+ it('should expand InterceptedApiType.AnswerData to specific URLs', () => {
+ const viewConfig: BaseViewConfig = {
+ interceptUrls: [InterceptedApiType.AnswerData]
+ };
+
+ const result = apiIntercept.getInterceptInitData(viewConfig);
+
+ expect(result.interceptUrls).toEqual([
+ `${thoughtSpotHost}/prism/?op=GetChartWithData`,
+ `${thoughtSpotHost}/prism/?op=GetTableWithHeadlineData`,
+ `${thoughtSpotHost}/prism/?op=GetTableWithData`,
+ ]);
+ });
+
+ it('should expand InterceptedApiType.LiveboardData to specific URLs', () => {
+ const viewConfig: BaseViewConfig = {
+ interceptUrls: [InterceptedApiType.LiveboardData]
+ };
+
+ const result = apiIntercept.getInterceptInitData(viewConfig);
+
+ expect(result.interceptUrls).toEqual([
+ `${thoughtSpotHost}/prism/?op=LoadContextBook`
+ ]);
+ });
+
+ it('should handle multiple intercept types', () => {
+ const viewConfig: BaseViewConfig = {
+ interceptUrls: [
+ InterceptedApiType.AnswerData,
+ InterceptedApiType.LiveboardData
+ ]
+ };
+
+ const result = apiIntercept.getInterceptInitData(viewConfig);
+
+ expect(result.interceptUrls).toContain(`${thoughtSpotHost}/prism/?op=GetChartWithData`);
+ expect(result.interceptUrls).toContain(`${thoughtSpotHost}/prism/?op=LoadContextBook`);
+ expect(result.interceptUrls.length).toBe(4);
+ });
+
+ it('should handle custom URL strings', () => {
+ const customUrl = '/api/custom-endpoint';
+ const viewConfig: BaseViewConfig = {
+ interceptUrls: [customUrl]
+ };
+
+ const result = apiIntercept.getInterceptInitData(viewConfig);
+
+ expect(result.interceptUrls).toEqual([`${thoughtSpotHost}${customUrl}`]);
+ });
+
+ it('should handle full URL strings', () => {
+ const fullUrl = 'https://example.com/api/endpoint';
+ const viewConfig: BaseViewConfig = {
+ interceptUrls: [fullUrl]
+ };
+
+ const result = apiIntercept.getInterceptInitData(viewConfig);
+
+ expect(result.interceptUrls).toEqual([fullUrl]);
+ });
+
+ it('should handle InterceptedApiType.ALL', () => {
+ const viewConfig: BaseViewConfig = {
+ interceptUrls: [InterceptedApiType.ALL]
+ };
+
+ const result = apiIntercept.getInterceptInitData(viewConfig);
+
+ expect(result.interceptUrls).toEqual([InterceptedApiType.ALL]);
+ });
+
+ it('should prioritize ALL over other intercept types', () => {
+ const viewConfig: BaseViewConfig = {
+ interceptUrls: [
+ InterceptedApiType.AnswerData,
+ InterceptedApiType.ALL,
+ '/api/custom'
+ ]
+ };
+
+ const result = apiIntercept.getInterceptInitData(viewConfig);
+
+ expect(result.interceptUrls).toEqual([InterceptedApiType.ALL]);
+ });
+
+ it('should handle legacy isOnBeforeGetVizDataInterceptEnabled flag', () => {
+ const viewConfig: any = {
+ isOnBeforeGetVizDataInterceptEnabled: true
+ };
+
+ const result = apiIntercept.getInterceptInitData(viewConfig);
+
+ expect(result.interceptUrls).toContain(`${thoughtSpotHost}/prism/?op=GetChartWithData`);
+ });
+
+ it('should combine legacy flag with interceptUrls', () => {
+ const viewConfig: any = {
+ isOnBeforeGetVizDataInterceptEnabled: true,
+ interceptUrls: [InterceptedApiType.LiveboardData]
+ };
+
+ const result = apiIntercept.getInterceptInitData(viewConfig);
+
+ expect(result.interceptUrls).toContain(`${thoughtSpotHost}/prism/?op=GetChartWithData`);
+ expect(result.interceptUrls).toContain(`${thoughtSpotHost}/prism/?op=LoadContextBook`);
+ });
+
+ it('should pass through interceptTimeout', () => {
+ const viewConfig: BaseViewConfig = {
+ interceptUrls: [],
+ interceptTimeout: 5000
+ };
+
+ const result = apiIntercept.getInterceptInitData(viewConfig);
+
+ expect(result.interceptTimeout).toBe(5000);
+ });
+
+ it('should deduplicate URLs when same type is added multiple times', () => {
+ const viewConfig: BaseViewConfig = {
+ interceptUrls: [
+ InterceptedApiType.AnswerData,
+ InterceptedApiType.AnswerData
+ ]
+ };
+
+ const result = apiIntercept.getInterceptInitData(viewConfig);
+
+ expect(result.interceptUrls.length).toBe(3); // 3 answer data URLs
+ });
+ });
+
+ describe('handleInterceptEvent', () => {
+ let executeEvent: jest.Mock;
+ let getUnsavedAnswerTml: jest.Mock;
+ let viewConfig: BaseViewConfig;
+
+ beforeEach(() => {
+ executeEvent = jest.fn();
+ getUnsavedAnswerTml = jest.fn().mockResolvedValue({ answer: { tml: 'test-tml' } });
+ viewConfig = {};
+ });
+
+ it('should handle valid intercept data', async () => {
+ const eventData = {
+ data: JSON.stringify({
+ input: '/prism/?op=GetChartWithData',
+ init: {
+ method: 'POST',
+ body: JSON.stringify({
+ variables: {
+ session: { sessionId: 'session-123' },
+ contextBookId: 'viz-456'
+ }
+ })
+ }
+ })
+ };
+
+ await apiIntercept.handleInterceptEvent({
+ eventData,
+ executeEvent,
+ viewConfig,
+ getUnsavedAnswerTml
+ });
+
+ expect(executeEvent).toHaveBeenCalledWith(
+ EmbedEvent.ApiIntercept,
+ expect.objectContaining({
+ input: '/prism/?op=GetChartWithData',
+ urlType: InterceptedApiType.AnswerData
+ })
+ );
+ });
+
+ it('should trigger legacy OnBeforeGetVizDataIntercept for answer data URLs', async () => {
+ viewConfig.isOnBeforeGetVizDataInterceptEnabled = true;
+ const eventData = {
+ data: JSON.stringify({
+ input: '/prism/?op=GetChartWithData',
+ init: {
+ method: 'POST',
+ body: JSON.stringify({
+ variables: {
+ session: { sessionId: 'session-123' },
+ contextBookId: 'viz-456'
+ }
+ })
+ }
+ })
+ };
+
+ await apiIntercept.handleInterceptEvent({
+ eventData,
+ executeEvent,
+ viewConfig,
+ getUnsavedAnswerTml
+ });
+
+ expect(getUnsavedAnswerTml).toHaveBeenCalledWith({
+ sessionId: 'session-123',
+ vizId: 'viz-456'
+ });
+
+ expect(executeEvent).toHaveBeenCalledWith(
+ EmbedEvent.OnBeforeGetVizDataIntercept,
+ {
+ data: {
+ data: { answer: { tml: 'test-tml' } },
+ status: embedEventStatus.END,
+ type: EmbedEvent.OnBeforeGetVizDataIntercept
+ }
+ }
+ );
+
+ expect(executeEvent).toHaveBeenCalledWith(
+ EmbedEvent.ApiIntercept,
+ expect.any(Object)
+ );
+ });
+
+ it('should not trigger legacy intercept for non-answer data URLs', async () => {
+ viewConfig.isOnBeforeGetVizDataInterceptEnabled = true;
+ const eventData = {
+ data: JSON.stringify({
+ input: '/prism/?op=LoadContextBook',
+ init: {
+ method: 'POST',
+ body: '{}'
+ }
+ })
+ };
+
+ await apiIntercept.handleInterceptEvent({
+ eventData,
+ executeEvent,
+ viewConfig,
+ getUnsavedAnswerTml
+ });
+
+ expect(getUnsavedAnswerTml).not.toHaveBeenCalled();
+ expect(executeEvent).toHaveBeenCalledTimes(1);
+ expect(executeEvent).toHaveBeenCalledWith(
+ EmbedEvent.ApiIntercept,
+ expect.any(Object)
+ );
+ });
+
+ it('should handle GetTableWithHeadlineData URL as answer data', async () => {
+ viewConfig.isOnBeforeGetVizDataInterceptEnabled = true;
+ const eventData = {
+ data: JSON.stringify({
+ input: '/prism/?op=GetTableWithHeadlineData',
+ init: {
+ body: JSON.stringify({
+ variables: { session: { sessionId: 'test' } }
+ })
+ }
+ })
+ };
+
+ await apiIntercept.handleInterceptEvent({
+ eventData,
+ executeEvent,
+ viewConfig,
+ getUnsavedAnswerTml
+ });
+
+ expect(getUnsavedAnswerTml).toHaveBeenCalled();
+ });
+
+ it('should handle GetTableWithData URL as answer data', async () => {
+ viewConfig.isOnBeforeGetVizDataInterceptEnabled = true;
+ const eventData = {
+ data: JSON.stringify({
+ input: '/prism/?op=GetTableWithData',
+ init: {
+ body: JSON.stringify({
+ variables: { session: { sessionId: 'test' } }
+ })
+ }
+ })
+ };
+
+ await apiIntercept.handleInterceptEvent({
+ eventData,
+ executeEvent,
+ viewConfig,
+ getUnsavedAnswerTml
+ });
+
+ expect(getUnsavedAnswerTml).toHaveBeenCalled();
+ });
+
+ it('should handle invalid JSON in event data', async () => {
+ const eventData = {
+ data: 'invalid-json'
+ };
+
+ await apiIntercept.handleInterceptEvent({
+ eventData,
+ executeEvent,
+ viewConfig,
+ getUnsavedAnswerTml
+ });
+
+ expect(executeEvent).toHaveBeenCalledWith(
+ EmbedEvent.Error,
+ { error: 'Error parsing api intercept body' }
+ );
+ expect(mockLogger.error).toHaveBeenCalled();
+ });
+
+ it('should handle init with non-JSON body', async () => {
+ const eventData = {
+ data: JSON.stringify({
+ input: '/api/test',
+ init: {
+ method: 'POST',
+ body: 'plain-text-body'
+ }
+ })
+ };
+
+ await apiIntercept.handleInterceptEvent({
+ eventData,
+ executeEvent,
+ viewConfig,
+ getUnsavedAnswerTml
+ });
+
+ expect(executeEvent).toHaveBeenCalledWith(
+ EmbedEvent.ApiIntercept,
+ expect.objectContaining({
+ init: expect.objectContaining({
+ body: 'plain-text-body'
+ })
+ })
+ );
+ });
+
+ it('should handle malformed event data structure with property access error', async () => {
+ // Create an object with a getter that throws when accessing 'input'
+ global.JSON.parse = jest.fn().mockImplementationOnce((str) => {
+ // Return an object with a getter that throws
+ return new Proxy({}, {
+ get(target, prop) {
+ if (prop === 'input') {
+ throw new Error('Property access error');
+ }
+ return undefined;
+ }
+ });
+ });
+
+ const eventData = {
+ data: JSON.stringify({ input: '/test', init: {} })
+ };
+
+ await apiIntercept.handleInterceptEvent({
+ eventData,
+ executeEvent,
+ viewConfig,
+ getUnsavedAnswerTml
+ });
+
+ expect(executeEvent).toHaveBeenCalledWith(
+ EmbedEvent.Error,
+ { error: 'Error parsing api intercept body' }
+ );
+ expect(mockLogger.error).toHaveBeenCalled();
+
+ // Explicitly restore for this test
+ global.JSON.parse = originalJsonParse;
+ });
+
+ it('should determine urlType as ALL for unknown URLs', async () => {
+ const eventData = {
+ data: JSON.stringify({
+ input: '/unknown/endpoint',
+ init: { method: 'GET' }
+ })
+ };
+
+ await apiIntercept.handleInterceptEvent({
+ eventData,
+ executeEvent,
+ viewConfig,
+ getUnsavedAnswerTml
+ });
+
+ expect(executeEvent).toHaveBeenCalledWith(
+ EmbedEvent.ApiIntercept,
+ expect.objectContaining({
+ urlType: InterceptedApiType.ALL
+ })
+ );
+ });
+
+ it('should determine urlType as LiveboardData for liveboard URLs', async () => {
+ const eventData = {
+ data: JSON.stringify({
+ input: '/prism/?op=LoadContextBook',
+ init: { method: 'POST' }
+ })
+ };
+
+ await apiIntercept.handleInterceptEvent({
+ eventData,
+ executeEvent,
+ viewConfig,
+ getUnsavedAnswerTml
+ });
+
+ expect(executeEvent).toHaveBeenCalledWith(
+ EmbedEvent.ApiIntercept,
+ expect.objectContaining({
+ urlType: InterceptedApiType.LiveboardData
+ })
+ );
+ });
+
+ it('should handle event data with missing init', async () => {
+ const eventData = {
+ data: JSON.stringify({
+ input: '/prism/?op=GetChartWithData'
+ })
+ };
+
+ await apiIntercept.handleInterceptEvent({
+ eventData,
+ executeEvent,
+ viewConfig,
+ getUnsavedAnswerTml
+ });
+
+ // When init is missing, accessing init.body throws an error
+ expect(executeEvent).toHaveBeenCalledWith(
+ EmbedEvent.Error,
+ { error: 'Error parsing api intercept body' }
+ );
+ });
+
+ it('should handle event data with missing body', async () => {
+ const eventData = {
+ data: JSON.stringify({
+ input: '/prism/?op=GetChartWithData',
+ init: {}
+ })
+ };
+
+ await apiIntercept.handleInterceptEvent({
+ eventData,
+ executeEvent,
+ viewConfig,
+ getUnsavedAnswerTml
+ });
+
+ expect(executeEvent).toHaveBeenCalledWith(
+ EmbedEvent.ApiIntercept,
+ expect.any(Object)
+ );
+ });
+
+ it('should handle event data with missing variables in body', async () => {
+ const eventData = {
+ data: JSON.stringify({
+ input: '/prism/?op=GetChartWithData',
+ init: {
+ body: JSON.stringify({})
+ }
+ })
+ };
+
+ await apiIntercept.handleInterceptEvent({
+ eventData,
+ executeEvent,
+ viewConfig,
+ getUnsavedAnswerTml
+ });
+
+ expect(executeEvent).toHaveBeenCalledWith(
+ EmbedEvent.ApiIntercept,
+ expect.any(Object)
+ );
+ });
+
+ it('should handle event data with missing session in variables', async () => {
+ const eventData = {
+ data: JSON.stringify({
+ input: '/prism/?op=GetChartWithData',
+ init: {
+ body: JSON.stringify({
+ variables: {}
+ })
+ }
+ })
+ };
+
+ await apiIntercept.handleInterceptEvent({
+ eventData,
+ executeEvent,
+ viewConfig,
+ getUnsavedAnswerTml
+ });
+
+ expect(executeEvent).toHaveBeenCalledWith(
+ EmbedEvent.ApiIntercept,
+ expect.any(Object)
+ );
+ });
+ });
+
+ describe('processApiInterceptResponse', () => {
+ it('should process legacy format with error', () => {
+ const legacyPayload = {
+ data: {
+ error: {
+ errorText: 'Test Error',
+ errorDescription: 'Test Description'
+ },
+ execute: false
+ }
+ };
+
+ const result = apiIntercept.processApiInterceptResponse(legacyPayload);
+
+ expect(result).toEqual({
+ data: {
+ execute: false,
+ response: {
+ body: {
+ errors: [
+ {
+ title: 'Test Error',
+ description: 'Test Description',
+ isUserError: true,
+ },
+ ],
+ data: {},
+ },
+ },
+ }
+ });
+ });
+
+ it('should pass through new format unchanged', () => {
+ const newPayload = {
+ execute: true,
+ response: {
+ body: { data: 'test' }
+ }
+ };
+
+ const result = apiIntercept.processApiInterceptResponse(newPayload);
+
+ expect(result).toEqual(newPayload);
+ });
+
+ it('should handle payload without data property', () => {
+ const payload = {
+ execute: true
+ };
+
+ const result = apiIntercept.processApiInterceptResponse(payload);
+
+ expect(result).toEqual(payload);
+ });
+
+ it('should handle payload with data but no error', () => {
+ const payload = {
+ data: {
+ execute: true,
+ someOtherProperty: 'value'
+ }
+ };
+
+ const result = apiIntercept.processApiInterceptResponse(payload);
+
+ expect(result).toEqual(payload);
+ });
+
+ it('should handle null payload', () => {
+ const result = apiIntercept.processApiInterceptResponse(null);
+
+ expect(result).toBeNull();
+ });
+
+ it('should handle undefined payload', () => {
+ const result = apiIntercept.processApiInterceptResponse(undefined);
+
+ expect(result).toBeUndefined();
+ });
+
+ it('should handle payload with null data', () => {
+ const payload: any = {
+ data: null
+ };
+
+ const result = apiIntercept.processApiInterceptResponse(payload);
+
+ expect(result).toEqual(payload);
+ });
+
+ it('should handle payload with data.error set to null', () => {
+ const payload: any = {
+ data: {
+ error: null,
+ execute: true
+ }
+ };
+
+ const result = apiIntercept.processApiInterceptResponse(payload);
+
+ expect(result).toEqual(payload);
+ });
+
+ it('should handle payload with data.error set to undefined', () => {
+ const payload: any = {
+ data: {
+ error: undefined,
+ execute: true
+ }
+ };
+
+ const result = apiIntercept.processApiInterceptResponse(payload);
+
+ expect(result).toEqual(payload);
+ });
+
+ it('should handle payload with data.error set to false', () => {
+ const payload = {
+ data: {
+ error: false,
+ execute: true
+ }
+ };
+
+ const result = apiIntercept.processApiInterceptResponse(payload);
+
+ expect(result).toEqual(payload);
+ });
+
+ it('should handle payload with data.error set to 0', () => {
+ const payload = {
+ data: {
+ error: 0,
+ execute: true
+ }
+ };
+
+ const result = apiIntercept.processApiInterceptResponse(payload);
+
+ expect(result).toEqual(payload);
+ });
+
+ it('should handle payload with data.error set to empty string', () => {
+ const payload = {
+ data: {
+ error: '',
+ execute: true
+ }
+ };
+
+ const result = apiIntercept.processApiInterceptResponse(payload);
+
+ expect(result).toEqual(payload);
+ });
+ });
+
+ describe('processLegacyInterceptResponse', () => {
+ it('should convert legacy error format to new format', () => {
+ const legacyPayload = {
+ data: {
+ error: {
+ errorText: 'Custom Error',
+ errorDescription: 'Custom Description'
+ },
+ execute: false
+ }
+ };
+
+ const result = apiIntercept.processLegacyInterceptResponse(legacyPayload);
+
+ expect(result).toEqual({
+ data: {
+ execute: false,
+ response: {
+ body: {
+ errors: [
+ {
+ title: 'Custom Error',
+ description: 'Custom Description',
+ isUserError: true,
+ },
+ ],
+ data: {},
+ },
+ },
+ }
+ });
+ });
+
+ it('should handle missing error properties', () => {
+ const legacyPayload = {
+ data: {
+ error: {},
+ execute: true
+ }
+ };
+
+ const result = apiIntercept.processLegacyInterceptResponse(legacyPayload);
+
+ expect(result.data.response.body.errors[0]).toEqual({
+ title: undefined,
+ description: undefined,
+ isUserError: true,
+ });
+ });
+
+ it('should handle missing execute property', () => {
+ const legacyPayload = {
+ data: {
+ error: {
+ errorText: 'Error',
+ errorDescription: 'Description'
+ }
+ }
+ };
+
+ const result = apiIntercept.processLegacyInterceptResponse(legacyPayload);
+
+ expect(result.data.execute).toBeUndefined();
+ });
+
+ it('should always include empty data object', () => {
+ const legacyPayload = {
+ data: {
+ error: {
+ errorText: 'Error',
+ errorDescription: 'Description'
+ },
+ execute: false
+ }
+ };
+
+ const result = apiIntercept.processLegacyInterceptResponse(legacyPayload);
+
+ expect(result.data.response.body.data).toEqual({});
+ });
+
+ it('should always set isUserError to true', () => {
+ const legacyPayload = {
+ data: {
+ error: {
+ errorText: 'Error',
+ errorDescription: 'Description'
+ },
+ execute: false
+ }
+ };
+
+ const result = apiIntercept.processLegacyInterceptResponse(legacyPayload);
+
+ expect(result.data.response.body.errors[0].isUserError).toBe(true);
+ });
+
+ it('should handle payload with null data', () => {
+ const legacyPayload: any = {
+ data: null
+ };
+
+ const result = apiIntercept.processLegacyInterceptResponse(legacyPayload);
+
+ expect(result.data.execute).toBeUndefined();
+ expect(result.data.response.body.errors[0].title).toBeUndefined();
+ expect(result.data.response.body.errors[0].description).toBeUndefined();
+ });
+
+ it('should handle payload with null error', () => {
+ const legacyPayload: any = {
+ data: {
+ error: null,
+ execute: true
+ }
+ };
+
+ const result = apiIntercept.processLegacyInterceptResponse(legacyPayload);
+
+ expect(result.data.execute).toBe(true);
+ expect(result.data.response.body.errors[0].title).toBeUndefined();
+ expect(result.data.response.body.errors[0].description).toBeUndefined();
+ });
+
+ it('should handle payload with undefined properties', () => {
+ const legacyPayload = {};
+
+ const result = apiIntercept.processLegacyInterceptResponse(legacyPayload);
+
+ expect(result.data.execute).toBeUndefined();
+ expect(result.data.response.body.errors[0].title).toBeUndefined();
+ expect(result.data.response.body.errors[0].description).toBeUndefined();
+ });
+ });
+});
+
diff --git a/src/api-intercept.ts b/src/api-intercept.ts
new file mode 100644
index 000000000..824594d81
--- /dev/null
+++ b/src/api-intercept.ts
@@ -0,0 +1,204 @@
+import { getThoughtSpotHost } from "./config";
+import { getEmbedConfig } from "./embed/embedConfig";
+import { InterceptedApiType, BaseViewConfig, ApiInterceptFlags, EmbedEvent } from "./types";
+import { embedEventStatus } from "./utils";
+import { logger } from "./utils/logger";
+
+const DefaultInterceptUrlsMap: Record, string[]> = {
+ [InterceptedApiType.AnswerData]: [
+ '/prism/?op=GetChartWithData',
+ '/prism/?op=GetTableWithHeadlineData',
+ '/prism/?op=GetTableWithData',
+ ] as string[],
+ [InterceptedApiType.LiveboardData]: [
+ '/prism/?op=LoadContextBook'
+ ] as string[],
+};
+
+const formatInterceptUrl = (url: string) => {
+ const host = getThoughtSpotHost(getEmbedConfig());
+ if (url.startsWith('/')) return `${host}${url}`;
+ return url;
+}
+
+interface LegacyInterceptFlags {
+ isOnBeforeGetVizDataInterceptEnabled: boolean;
+}
+/**
+ * Converts user passed url values to proper urls
+ * [ANSER_DATA] => ['https://host/pris/op?=op']
+ * @param interceptUrls
+ * @returns
+ */
+const processInterceptUrls = (interceptUrls: (string | InterceptedApiType)[]) => {
+ let processedUrls = [...interceptUrls];
+ Object.entries(DefaultInterceptUrlsMap).forEach(([apiType, apiTypeUrls]) => {
+ if (!processedUrls.includes(apiType)) return;
+ processedUrls = processedUrls.filter(url => url !== apiType);
+ processedUrls = [...processedUrls, ...apiTypeUrls];
+ })
+ return processedUrls.map(url => formatInterceptUrl(url));
+}
+
+/**
+ * Returns the data to be sent to embed to setup intercepts
+ * the urls to intercept, timeout etc
+ * @param viewConfig
+ * @returns
+ */
+export const getInterceptInitData = (viewConfig: BaseViewConfig): Required> => {
+ const combinedUrls = [...(viewConfig.interceptUrls || [])];
+
+ if ((viewConfig as LegacyInterceptFlags).isOnBeforeGetVizDataInterceptEnabled) {
+ combinedUrls.push(InterceptedApiType.AnswerData);
+ }
+
+ const shouldInterceptAll = combinedUrls.includes(InterceptedApiType.ALL);
+ const interceptUrls = shouldInterceptAll ? [InterceptedApiType.ALL] : processInterceptUrls(combinedUrls);
+
+ const interceptTimeout = viewConfig.interceptTimeout;
+
+ return {
+ interceptUrls,
+ interceptTimeout,
+ };
+}
+
+const parseJson = (jsonString: string): [any, Error | null] => {
+ try {
+ const json = JSON.parse(jsonString);
+ return [json, null];
+ } catch (error) {
+ return [null, error];
+ }
+}
+
+/**
+ * Parse the api intercept data and return the parsed data and error if any
+ * Embed returns the input and init from the fetch call
+ */
+const parseInterceptData = (eventDataString: any) => {
+
+ try {
+ const [parsedData, error] = parseJson(eventDataString);
+ if (error) {
+ return [null, error];
+ }
+
+ const { input, init } = parsedData;
+
+ const [parsedBody, bodyParseError] = parseJson(init.body);
+ if (!bodyParseError) {
+ init.body = parsedBody;
+ }
+
+ const parsedInit = { input, init };
+ return [parsedInit, null];
+ } catch (error) {
+ return [null, error];
+ }
+}
+
+const getUrlType = (url: string) => {
+ for (const [apiType, apiTypeUrls] of Object.entries(DefaultInterceptUrlsMap)) {
+ if (apiTypeUrls.includes(url)) return apiType as InterceptedApiType;
+ }
+ // TODO: have a unknown type maybe ??
+ return InterceptedApiType.ALL;
+}
+
+/**
+ * Handle Api intercept event and simulate legacy onBeforeGetVizDataIntercept event
+ *
+ * embed sends -> ApiIntercept -> we send
+ * ApiIntercept
+ * OnBeforeGetVizDataIntercept (if url is part of DefaultUrlMap.AnswerData)
+ *
+ * @param params
+ * @returns
+ */
+export const handleInterceptEvent = async (params: {
+ eventData: any,
+ executeEvent: (eventType: EmbedEvent, data: any) => void,
+ viewConfig: BaseViewConfig,
+ getUnsavedAnswerTml: (props: { sessionId?: string, vizId?: string }) => Promise<{ tml: string }>
+}) => {
+
+ const { eventData, executeEvent, viewConfig, getUnsavedAnswerTml } = params;
+
+ const [interceptData, bodyParseError] = parseInterceptData(eventData.data);
+
+ if (bodyParseError) {
+ executeEvent(EmbedEvent.Error, {
+ error: 'Error parsing api intercept body',
+ });
+ logger.error('Error parsing request body', bodyParseError);
+ return;
+ }
+
+
+ const { input: requestUrl, init } = interceptData;
+
+ const sessionId = init?.body?.variables?.session?.sessionId;
+ const vizId = init?.body?.variables?.contextBookId;
+
+ const answerDataUrls = DefaultInterceptUrlsMap[InterceptedApiType.AnswerData];
+ const legacyInterceptEnabled = viewConfig.isOnBeforeGetVizDataInterceptEnabled;
+ const isAnswerDataUrl = answerDataUrls.includes(requestUrl);
+ const sendLegacyIntercept = isAnswerDataUrl && legacyInterceptEnabled;
+ if (sendLegacyIntercept) {
+ const answerTml = await getUnsavedAnswerTml({ sessionId, vizId });
+ // Build the legacy payload for backwards compatibility
+ const legacyPayload = {
+ data: {
+ data: answerTml,
+ status: embedEventStatus.END,
+ type: EmbedEvent.OnBeforeGetVizDataIntercept
+ }
+ }
+ executeEvent(EmbedEvent.OnBeforeGetVizDataIntercept, legacyPayload);
+ }
+
+ const urlType = getUrlType(requestUrl);
+ executeEvent(EmbedEvent.ApiIntercept, { ...interceptData, urlType });
+}
+
+/**
+ * Support both the legacy and new format of the api intercept response
+ * @param payload
+ * @returns
+ */
+export const processApiInterceptResponse = (payload: any) => {
+ const isLegacyFormat = payload?.data?.error;
+
+ if (isLegacyFormat) {
+ return processLegacyInterceptResponse(payload);
+ }
+
+ return payload;
+}
+
+export const processLegacyInterceptResponse = (payload: any) => {
+
+ const errorText = payload?.data?.error?.errorText;
+ const errorDescription = payload?.data?.error?.errorDescription;
+
+ const payloadToSend = {
+ execute: payload?.data?.execute,
+ response: {
+ body: {
+ errors: [
+ {
+ title: errorText,
+ description: errorDescription,
+ isUserError: true,
+ },
+ ],
+ data: {},
+ },
+ },
+ };
+
+
+ return { data: payloadToSend };
+}
diff --git a/src/authToken.spec.ts b/src/authToken.spec.ts
index 0396a081a..a3adc792e 100644
--- a/src/authToken.spec.ts
+++ b/src/authToken.spec.ts
@@ -1,6 +1,9 @@
-import { getAuthenticationToken, resetCachedAuthToken } from './authToken';
+import { getAuthenticationToken, resetCachedAuthToken, validateAuthToken } from './authToken';
import * as authServiceInstance from './utils/authService/authService';
import { EmbedConfig } from './types';
+import { formatTemplate } from './utils';
+import { logger } from './utils/logger';
+import { ERROR_MESSAGE } from './errors';
describe('AuthToken Unit tests', () => {
test('getAuthenticationToken: When verification is disabled', async () => {
@@ -28,4 +31,48 @@ describe('AuthToken Unit tests', () => {
expect(token).toBe('abc2');
expect(authServiceInstance.verifyTokenService).toBeCalledWith('test', 'abc2');
});
+
+ test('validateAuthToken : When token is invalid by type number', async () => {
+ jest.spyOn(logger, 'error').mockImplementation(() => {});
+ const loggerSpy = jest.spyOn(logger, 'error');
+
+ const authToken = (123 as unknown) as string;
+ const errorMessage = formatTemplate(ERROR_MESSAGE.INVALID_TOKEN_TYPE_ERROR, {
+ invalidType: typeof authToken,
+ });
+
+ await expect(
+ validateAuthToken(
+ {
+ thoughtSpotHost: 'test',
+ } as EmbedConfig,
+ authToken,
+ ),
+ ).rejects.toThrow(errorMessage);
+ expect(loggerSpy).toHaveBeenCalledWith(errorMessage);
+
+ loggerSpy.mockRestore();
+ });
+
+ test('validateAuthToken : When token is invalid by type object', async () => {
+ jest.spyOn(logger, 'error').mockImplementation(() => {});
+ const loggerSpy = jest.spyOn(logger, 'error');
+
+ const authToken = ({} as unknown) as string;
+ const errorMessage = formatTemplate(ERROR_MESSAGE.INVALID_TOKEN_TYPE_ERROR, {
+ invalidType: typeof authToken,
+ });
+
+ await expect(
+ validateAuthToken(
+ {
+ thoughtSpotHost: 'test',
+ } as EmbedConfig,
+ authToken,
+ ),
+ ).rejects.toThrow(errorMessage);
+ expect(loggerSpy).toHaveBeenCalledWith(errorMessage);
+
+ loggerSpy.mockRestore();
+ });
});
diff --git a/src/authToken.ts b/src/authToken.ts
index cbfdea8d4..14cb0407c 100644
--- a/src/authToken.ts
+++ b/src/authToken.ts
@@ -1,6 +1,6 @@
import { ERROR_MESSAGE } from './errors';
import { EmbedConfig } from './types';
-import { getValueFromWindow, storeValueInWindow } from './utils';
+import { getValueFromWindow, storeValueInWindow, formatTemplate } from './utils';
import { fetchAuthTokenService, verifyTokenService } from './utils/authService/authService';
import { logger } from './utils/logger';
@@ -53,12 +53,23 @@ export async function getAuthenticationToken(embedConfig: EmbedConfig): Promise<
return authToken;
}
-const validateAuthToken = async (
+export const validateAuthToken = async (
embedConfig: EmbedConfig,
authToken: string,
suppressAlert?: boolean,
): Promise => {
+ // even if token verification is disabled, we will still validate
+ // that the token is a string before proceeding.
+ if (typeof authToken !== 'string') {
+ const errorMessage = formatTemplate(ERROR_MESSAGE.INVALID_TOKEN_TYPE_ERROR, {
+ invalidType: typeof authToken,
+ });
+ logger.error(errorMessage);
+ throw new Error(errorMessage);
+ }
+
const cachedAuthToken = getCacheAuthToken();
+
if (embedConfig.disableTokenVerification) {
logger.info('Token verification is disabled. Assuming token is valid.');
return true;
diff --git a/src/css-variables.ts b/src/css-variables.ts
index ac28149dd..0ff3d020c 100644
--- a/src/css-variables.ts
+++ b/src/css-variables.ts
@@ -27,7 +27,8 @@ export interface CustomCssVariables {
* Font color of the text on toggle buttons such as
* **All**, **Answers**, and **Liveboards** on the Home page (Classic experience),
* the text color of the chart and table tiles on Home page (New modular Homepage
- * experience), and title text on the AI-generated charts and tables.
+ * experience), title text on the AI-generated charts and tables, and object titles on
+ * list pages such as *Liveboards* and *Answers*.
* The default color code is #2770EF.
*
*/
@@ -473,36 +474,16 @@ export interface CustomCssVariables {
*/
'--ts-var-checkbox-background-color'?: string;
- /**
- * Height of the tiles in the Liveboard.
- */
- '--ts-var-viz-tile-height'?: string;
-
/**
* Background color of the layout in the Liveboard.
*/
'--ts-var-liveboard-layout-background'?: string;
- /**
- * Font color of the title of the layout in the Liveboard.
- */
- '--ts-var-liveboard-layout-title-color'?: string;
-
- /**
- * Font size of the title of the layout in the Liveboard.
- */
- '--ts-var-liveboard-layout-title-fontsize'?: string;
-
/**
* Background color of the header in the Liveboard.
*/
'--ts-var-liveboard-header-background'?: string;
- /**
- * Font size of the header in the Liveboard.
- */
- '--ts-var-liveboard-header-fontsize'?: string;
-
/**
* Font color of the header in the Liveboard.
*/
@@ -535,51 +516,43 @@ export interface CustomCssVariables {
/**
* Padding of the groups in the Liveboard.
+ *
+ * Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.
*/
'--ts-var-liveboard-group-padding'?: string;
- /**
- * Padding of the title of the groups in the Liveboard.
- */
- '--ts-var-liveboard-group-title-padding'?: string;
-
/**
* Font size of the title of the groups in the Liveboard.
+ *
+ * Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.
*/
'--ts-var-liveboard-group-title-font-size'?: string;
/**
* Font weight of the title of the groups in the Liveboard.
+ *
+ * Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.
*/
'--ts-var-liveboard-group-title-font-weight'?: string;
/**
* Font size of the title of the tiles inside the groups in the Liveboard.
+ *
+ * Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.
*/
'--ts-var-liveboard-group-tile-title-font-size'?: string;
/**
* Font weight of the title of the tiles inside the groups in the Liveboard.
+ *
+ * Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.
*/
'--ts-var-liveboard-group-tile-title-font-weight'?: string;
/**
- * Font size of the description of the groups in the Liveboard.
- */
- '--ts-var-liveboard-group-description-font-size'?: string;
-
- /**
- * Font weight of the description of the groups in the Liveboard.
- */
- '--ts-var-liveboard-group-description-font-weight'?: string;
-
- /**
- * Border of the tiles in the Liveboard.
- */
- '--ts-var-liveboard-group-tile-border'?: string;
-
- /**
- * Padding of the tiles in the Liveboard.
+ * Padding of the group tiles in the Liveboard.
+ *
+ * Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.
*/
'--ts-var-liveboard-group-tile-padding'?: string;
@@ -590,11 +563,15 @@ export interface CustomCssVariables {
/**
* Background color of the groups in the Liveboard.
+ *
+ * Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.
*/
'--ts-var-liveboard-group-background'?: string;
/**
* Border color of the groups in the Liveboard.
+ *
+ * Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.
*/
'--ts-var-liveboard-group-border-color'?: string;
@@ -610,54 +587,67 @@ export interface CustomCssVariables {
/**
* Font color of the title of the groups in the Liveboard.
+ *
+ * Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.
*/
'--ts-var-liveboard-group-title-font-color'?: string;
/**
* Font color of the description of the groups in the Liveboard.
+ *
+ * Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.
*/
'--ts-var-liveboard-group-description-font-color'?: string;
/**
* Font color of the title of the tiles inside the groups in the Liveboard.
+ *
+ * Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.
*/
'--ts-var-liveboard-group-tile-title-font-color'?: string;
+ /**
+ * Font color of the description of the tiles inside the groups in the Liveboard.
+ *
+ * Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.
+ */
+ '--ts-var-liveboard-group-tile-description-font-color'?: string;
+
/**
* Background color of the tiles inside the groups in the Liveboard.
+ *
+ * Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.
*/
'--ts-var-liveboard-group-tile-background'?: string;
/**
- * Background color of the chips in the Liveboard.
+ * Background color of the filter chips in the Liveboard.
+ *
+ * Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.
*/
'--ts-var-liveboard-chip-background'?: string;
/**
- * Font color of the chips in the Liveboard.
+ * Font color of the filter chips in the Liveboard.
+ *
+ * Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.
*/
'--ts-var-liveboard-chip-color'?: string;
/**
- * Background color of the chips in the Liveboard on hover.
+ * Background color of the filter chips in the Liveboard on hover.
+ *
+ * Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.
*/
'--ts-var-liveboard-chip--hover-background'?: string;
/**
- * Font color of the chips in the Liveboard on hover.
- */
- '--ts-var-liveboard-chip--hover-color'?: string;
-
- /**
- * Background color of the chips in the Liveboard on active.
+ * Background color of the filter chips in the Liveboard on active.
+ *
+ * Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.
*/
'--ts-var-liveboard-chip--active-background'?: string;
- /**
- * Font color of the chips in the Liveboard on active.
- */
- '--ts-var-liveboard-chip--active-color'?: string;
-
/**
* Width of the side panel in the Liveboard.
*/
@@ -703,16 +693,6 @@ export interface CustomCssVariables {
*/
'--ts-var-liveboard-tile-title-fontweight'?: string;
- /**
- * Font weight of the description of the tiles in the Liveboard.
- */
- '--ts-var-liveboard-tile-description-font-weight'?: string;
-
- /**
- * Opacity of the description of the tiles in the Liveboard.
- */
- '--ts-var-liveboard-tile-description-opacity'?: string;
-
/**
* Background color of the parameter chips in the Liveboard.
*/
diff --git a/src/embed/app.spec.ts b/src/embed/app.spec.ts
index 676baa692..a96941577 100644
--- a/src/embed/app.spec.ts
+++ b/src/embed/app.spec.ts
@@ -358,6 +358,34 @@ describe('App embed tests', () => {
});
});
+ test('should set isLinkParametersEnabled to true in url', async () => {
+ const appEmbed = new AppEmbed(getRootEl(), {
+ ...defaultViewConfig,
+ isLinkParametersEnabled: true,
+ } as AppViewConfig);
+ appEmbed.render();
+ await executeAfterWait(() => {
+ expectUrlMatchesWithParams(
+ getIFrameSrc(),
+ `http://${thoughtSpotHost}/?embedApp=true&profileAndHelpInNavBarHidden=false&isLinkParametersEnabled=true${defaultParamsPost}#/home`,
+ );
+ });
+ });
+
+ test('should set isLinkParametersEnabled to false in url', async () => {
+ const appEmbed = new AppEmbed(getRootEl(), {
+ ...defaultViewConfig,
+ isLinkParametersEnabled: false,
+ } as AppViewConfig);
+ appEmbed.render();
+ await executeAfterWait(() => {
+ expectUrlMatchesWithParams(
+ getIFrameSrc(),
+ `http://${thoughtSpotHost}/?embedApp=true&profileAndHelpInNavBarHidden=false&isLinkParametersEnabled=false${defaultParamsPost}#/home`,
+ );
+ });
+ });
+
test('should set liveboardXLSXCSVDownload to true in url', async () => {
const appEmbed = new AppEmbed(getRootEl(), {
...defaultViewConfig,
@@ -386,6 +414,34 @@ describe('App embed tests', () => {
});
});
+ test('should set isCentralizedLiveboardFilterUXEnabled to true in url', async () => {
+ const appEmbed = new AppEmbed(getRootEl(), {
+ ...defaultViewConfig,
+ isCentralizedLiveboardFilterUXEnabled: true,
+ } as AppViewConfig);
+ appEmbed.render();
+ await executeAfterWait(() => {
+ expectUrlMatchesWithParams(
+ getIFrameSrc(),
+ `http://${thoughtSpotHost}/?embedApp=true&profileAndHelpInNavBarHidden=false&isCentralizedLiveboardFilterUXEnabled=true${defaultParamsPost}#/home`,
+ );
+ });
+ });
+
+ test('should set isCentralizedLiveboardFilterUXEnabled to false in url', async () => {
+ const appEmbed = new AppEmbed(getRootEl(), {
+ ...defaultViewConfig,
+ isCentralizedLiveboardFilterUXEnabled: false,
+ } as AppViewConfig);
+ appEmbed.render();
+ await executeAfterWait(() => {
+ expectUrlMatchesWithParams(
+ getIFrameSrc(),
+ `http://${thoughtSpotHost}/?embedApp=true&profileAndHelpInNavBarHidden=false&isCentralizedLiveboardFilterUXEnabled=false${defaultParamsPost}#/home`,
+ );
+ });
+ });
+
test('Should add the tag to the iframe src', async () => {
const appEmbed = new AppEmbed(getRootEl(), {
...defaultViewConfig,
@@ -402,6 +458,51 @@ describe('App embed tests', () => {
});
});
+ test('Should add the hideTagFilterChips true to the iframe src', async () => {
+ const appEmbed = new AppEmbed(getRootEl(), {
+ ...defaultViewConfig,
+ showPrimaryNavbar: false,
+ hideTagFilterChips: true,
+ } as AppViewConfig);
+
+ appEmbed.render();
+ await executeAfterWait(() => {
+ expectUrlMatchesWithParams(
+ getIFrameSrc(),
+ `http://${thoughtSpotHost}/?embedApp=true&primaryNavHidden=true&profileAndHelpInNavBarHidden=false${defaultParams}&hideTagFilterChips=true${defaultParamsPost}#/home`,
+ );
+ });
+ });
+
+ test('Should add the hideTagFilterChips false to the iframe src', async () => {
+ const appEmbed = new AppEmbed(getRootEl(), {
+ ...defaultViewConfig,
+ showPrimaryNavbar: false,
+ hideTagFilterChips: false,
+ } as AppViewConfig);
+ appEmbed.render();
+ await executeAfterWait(() => {
+ expectUrlMatchesWithParams(
+ getIFrameSrc(),
+ `http://${thoughtSpotHost}/?embedApp=true&primaryNavHidden=true&profileAndHelpInNavBarHidden=false${defaultParams}&hideTagFilterChips=false${defaultParamsPost}#/home`,
+ );
+ });
+ });
+
+ test('Should not add hideTagFilterChips if it is undefined', async () => {
+ const appEmbed = new AppEmbed(getRootEl(), {
+ ...defaultViewConfig,
+ showPrimaryNavbar: false,
+ } as AppViewConfig);
+ appEmbed.render();
+ await executeAfterWait(() => {
+ expectUrlMatchesWithParams(
+ getIFrameSrc(),
+ `http://${thoughtSpotHost}/?embedApp=true&primaryNavHidden=true&profileAndHelpInNavBarHidden=false${defaultParams}${defaultParamsPost}#/home`,
+ );
+ });
+ });
+
test('Should add enableSearchAssist flagto the iframe src', async () => {
const appEmbed = new AppEmbed(getRootEl(), {
...defaultViewConfig,
@@ -522,6 +623,20 @@ describe('App embed tests', () => {
});
});
+ test('Should add isLiveboardPermissionV2Enabled flag to the iframe src', async () => {
+ const appEmbed = new AppEmbed(getRootEl(), {
+ ...defaultViewConfig,
+ isEnhancedFilterInteractivityEnabled: false,
+ } as AppViewConfig);
+ appEmbed.render();
+ await executeAfterWait(() => {
+ expectUrlMatchesWithParams(
+ getIFrameSrc(),
+ `http://${thoughtSpotHost}/?embedApp=true&primaryNavHidden=true&profileAndHelpInNavBarHidden=false&isLiveboardPermissionV2Enabled=false${defaultParams}${defaultParamsPost}#/home`,
+ );
+ });
+ });
+
test('Should add default values of flags to the iframe src', async () => {
const appEmbed = new AppEmbed(getRootEl(), {
...defaultViewConfig,
diff --git a/src/embed/app.ts b/src/embed/app.ts
index 71355be20..189f0835f 100644
--- a/src/embed/app.ts
+++ b/src/embed/app.ts
@@ -367,6 +367,26 @@ export interface AppViewConfig extends AllEmbedViewConfig {
* ```
*/
tag?: string;
+ /**
+ * Hide tag filter chips that appear when content is filtered by tags.
+ * When enabled, this automatically:
+ * - Hides tag filter indicators/chips from the UI
+ *
+ * This provides a clean interface without tag-related UI elements.
+ *
+ * Supported embed types: `AppEmbed`
+ * @version SDK: 1.44.0 | ThoughtSpot: 10.15.0.cl
+ * @example
+ * ```js
+ * // Simple usage - automatically hides all tag-related UI
+ * const embed = new AppEmbed('#tsEmbed', {
+ * ... // other embed view config
+ * tag: 'Some Tag',
+ * hideTagFilterChips: true, // This is all you need!
+ * });
+ * ```
+ */
+ hideTagFilterChips?: boolean;
/**
* The array of GUIDs to be hidden
*
@@ -492,11 +512,6 @@ export interface AppViewConfig extends AllEmbedViewConfig {
* ```
*/
dataPanelCustomGroupsAccordionInitialState?: DataPanelCustomColumnGroupsAccordionState;
- /**
- * Flag that allows using `EmbedEvent.OnBeforeGetVizDataIntercept`.
- * @version SDK : 1.29.0 | ThoughtSpot: 10.1.0.cl
- */
- isOnBeforeGetVizDataInterceptEnabled?: boolean;
/**
* Flag to use home page search bar mode
*
@@ -625,6 +640,7 @@ export class AppEmbed extends V1Embed {
protected getEmbedParams() {
const {
tag,
+ hideTagFilterChips,
hideObjects,
liveboardV2,
showPrimaryNavbar,
@@ -647,14 +663,13 @@ export class AppEmbed extends V1Embed {
collapseSearchBarInitially = false,
enable2ColumnLayout,
enableCustomColumnGroups = false,
- isOnBeforeGetVizDataInterceptEnabled = false,
-
dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState.EXPAND_ALL,
collapseSearchBar = true,
isLiveboardCompactHeaderEnabled = false,
showLiveboardVerifiedBadge = true,
showLiveboardReverifyBanner = true,
hideIrrelevantChipsInLiveboardTabs = false,
+ isEnhancedFilterInteractivityEnabled = false,
homePageSearchBarMode,
isUnifiedSearchExperienceEnabled = true,
enablePendoHelp = true,
@@ -663,6 +678,8 @@ export class AppEmbed extends V1Embed {
liveboardXLSXCSVDownload = false,
isLiveboardStylingAndGroupingEnabled,
isPNGInScheduledEmailsEnabled = false,
+ isCentralizedLiveboardFilterUXEnabled = false,
+ isLinkParametersEnabled,
} = this.viewConfig;
let params: any = {};
@@ -676,6 +693,7 @@ export class AppEmbed extends V1Embed {
params[Param.LiveboardHeaderSticky] = isLiveboardHeaderSticky;
params[Param.IsFullAppEmbed] = true;
params[Param.LiveboardHeaderV2] = isLiveboardCompactHeaderEnabled;
+ params[Param.IsEnhancedFilterInteractivityEnabled] = isEnhancedFilterInteractivityEnabled;
params[Param.ShowLiveboardVerifiedBadge] = showLiveboardVerifiedBadge;
params[Param.ShowLiveboardReverifyBanner] = showLiveboardReverifyBanner;
params[Param.HideIrrelevantFiltersInTab] = hideIrrelevantChipsInLiveboardTabs;
@@ -727,13 +745,6 @@ export class AppEmbed extends V1Embed {
params[Param.enableAskSage] = enableAskSage;
}
- if (isOnBeforeGetVizDataInterceptEnabled) {
-
- params[
- Param.IsOnBeforeGetVizDataInterceptEnabled
- ] = isOnBeforeGetVizDataInterceptEnabled;
- }
-
if (homePageSearchBarMode) {
params[Param.HomePageSearchBarMode] = homePageSearchBarMode;
}
@@ -749,6 +760,20 @@ export class AppEmbed extends V1Embed {
if (isPNGInScheduledEmailsEnabled !== undefined) {
params[Param.isPNGInScheduledEmailsEnabled] = isPNGInScheduledEmailsEnabled;
}
+
+ if (hideTagFilterChips !== undefined) {
+ params[Param.HideTagFilterChips] = hideTagFilterChips;
+ }
+
+ if (isLinkParametersEnabled !== undefined) {
+ params[Param.isLinkParametersEnabled] = isLinkParametersEnabled;
+ }
+
+ if (isCentralizedLiveboardFilterUXEnabled != undefined) {
+ params[
+ Param.isCentralizedLiveboardFilterUXEnabled
+ ] = isCentralizedLiveboardFilterUXEnabled;
+ }
params[Param.DataPanelV2Enabled] = dataPanelV2;
params[Param.HideHomepageLeftNav] = hideHomepageLeftNav;
diff --git a/src/embed/base.ts b/src/embed/base.ts
index bc8ec3121..faf669d5a 100644
--- a/src/embed/base.ts
+++ b/src/embed/base.ts
@@ -41,6 +41,8 @@ const CONFIG_DEFAULTS: Partial = {
authTriggerText: 'Authorize',
authType: AuthType.None,
logLevel: LogLevel.ERROR,
+ waitForCleanupOnDestroy: false,
+ cleanupTimeout: 5000,
};
export interface executeTMLInput {
diff --git a/src/embed/bodyless-conversation.ts b/src/embed/bodyless-conversation.ts
index 8e081c7ba..3e93d3355 100644
--- a/src/embed/bodyless-conversation.ts
+++ b/src/embed/bodyless-conversation.ts
@@ -10,7 +10,7 @@ import { getQueryParamString } from '../utils';
*/
export interface SpotterAgentEmbedViewConfig extends Omit {
/**
- * The ID of the worksheet to use for the conversation.
+ * The ID of the Model to use for the conversation.
*/
worksheetId: string;
}
@@ -39,6 +39,13 @@ export class ConversationMessage extends TsEmbed {
super(container, viewConfig);
}
+ protected getEmbedParamsObject() {
+ const queryParams = this.getBaseQueryParams();
+ queryParams[Param.HideActions] = [...(queryParams[Param.HideActions] ?? [])];
+ queryParams[Param.isSpotterAgentEmbed] = true;
+ return queryParams;
+ }
+
public getIframeSrc() {
const {
sessionId,
@@ -49,10 +56,8 @@ export class ConversationMessage extends TsEmbed {
messageId,
} = this.viewConfig;
const path = 'conv-assist-answer';
- const queryParams = this.getBaseQueryParams();
+ const queryParams = this.getEmbedParamsObject();
- queryParams[Param.HideActions] = [...(queryParams[Param.HideActions] ?? [])];
- queryParams[Param.isSpotterAgentEmbed] = true;
let query = '';
const queryParamsString = getQueryParamString(queryParams, true);
if (queryParamsString) {
diff --git a/src/embed/conversation.spec.ts b/src/embed/conversation.spec.ts
index 992076940..104c25512 100644
--- a/src/embed/conversation.spec.ts
+++ b/src/embed/conversation.spec.ts
@@ -148,7 +148,7 @@ describe('ConversationEmbed', () => {
searchQuery: 'searchQuery',
},
dataPanelV2: true,
- hiddenActions: [Action.InConversationTraining]
+ hiddenActions: [Action.InConversationTraining],
};
const conversationEmbed = new SpotterEmbed(getRootEl(), viewConfig);
@@ -282,6 +282,40 @@ describe('ConversationEmbed', () => {
);
});
+ it('should render the conversation embed with past conversations sidebar enabled', async () => {
+ const viewConfig: SpotterEmbedViewConfig = {
+ worksheetId: 'worksheetId',
+ searchOptions: {
+ searchQuery: 'searchQuery',
+ },
+ enablePastConversationsSidebar: true,
+ };
+
+ const conversationEmbed = new SpotterEmbed(getRootEl(), viewConfig);
+ await conversationEmbed.render();
+ expectUrlMatchesWithParams(
+ getIFrameSrc(),
+ `http://${thoughtSpotHost}/v2/?${defaultParams}&isSpotterExperienceEnabled=true&enablePastConversationsSidebar=true#/embed/insights/conv-assist?worksheet=worksheetId&query=searchQuery`,
+ );
+ });
+
+ it('should render the conversation embed with past conversations sidebar disabled', async () => {
+ const viewConfig: SpotterEmbedViewConfig = {
+ worksheetId: 'worksheetId',
+ searchOptions: {
+ searchQuery: 'searchQuery',
+ },
+ enablePastConversationsSidebar: false,
+ };
+
+ const conversationEmbed = new SpotterEmbed(getRootEl(), viewConfig);
+ await conversationEmbed.render();
+ expectUrlMatchesWithParams(
+ getIFrameSrc(),
+ `http://${thoughtSpotHost}/v2/?${defaultParams}&isSpotterExperienceEnabled=true&enablePastConversationsSidebar=false#/embed/insights/conv-assist?worksheet=worksheetId&query=searchQuery`,
+ );
+ });
+
it('should ensure deprecated ConversationEmbed class maintains same functionality as SpotterEmbed', async () => {
const viewConfig: SpotterEmbedViewConfig = {
worksheetId: 'worksheetId',
diff --git a/src/embed/conversation.ts b/src/embed/conversation.ts
index f9a73b807..df13ba1c6 100644
--- a/src/embed/conversation.ts
+++ b/src/embed/conversation.ts
@@ -62,7 +62,7 @@ export interface SpotterEmbedViewConfig extends Omit with embed component name. For example, SageEmbed, AppEmbed, or SearchBarEmbed
@@ -164,6 +164,22 @@ export interface SpotterEmbedViewConfig extends Omit {
+ jest.spyOn(SessionInfoService, 'getSessionInfo').mockResolvedValue(mockSessionInfo || {
+ releaseVersion: '1.0.0',
+ userGUID: '1234567890',
+ currentOrgId: 1,
+ privileges: [],
+ mixpanelToken: '1234567890',
+ })
+};
+
beforeAll(() => {
init({
thoughtSpotHost,
@@ -128,6 +139,20 @@ describe('Liveboard/viz embed tests', () => {
});
});
+ test('should set LiveboardStylePanel in visible actions', async () => {
+ const liveboardEmbed = new LiveboardEmbed(getRootEl(), {
+ visibleActions: [Action.LiveboardStylePanel],
+ ...defaultViewConfig,
+ liveboardId,
+ } as LiveboardViewConfig);
+ liveboardEmbed.render();
+ await executeAfterWait(() => {
+ expectUrlToHaveParamsWithValues(getIFrameSrc(), {
+ visibleAction: JSON.stringify([Action.LiveboardStylePanel]),
+ });
+ });
+ });
+
test('should set enable2ColumnLayout to true in url', async () => {
const liveboardEmbed = new LiveboardEmbed(getRootEl(), {
enable2ColumnLayout: true,
@@ -158,6 +183,21 @@ describe('Liveboard/viz embed tests', () => {
});
});
+ test('should set isLiveboardPermissionV2Enabled to true in url', async () => {
+ const liveboardEmbed = new LiveboardEmbed(getRootEl(), {
+ isEnhancedFilterInteractivityEnabled: true,
+ ...defaultViewConfig,
+ liveboardId,
+ } as LiveboardViewConfig);
+ liveboardEmbed.render();
+ await executeAfterWait(() => {
+ expectUrlMatchesWithParams(
+ getIFrameSrc(),
+ `http://${thoughtSpotHost}/?embedApp=true${defaultParams}&isLiveboardPermissionV2Enabled=true${prefixParams}#/embed/viz/${liveboardId}`,
+ );
+ });
+ });
+
test('should set isPNGInScheduledEmailsEnabled to true in url', async () => {
const liveboardEmbed = new LiveboardEmbed(getRootEl(), {
isPNGInScheduledEmailsEnabled: true,
@@ -173,6 +213,36 @@ describe('Liveboard/viz embed tests', () => {
});
});
+ test('should set isLinkParametersEnabled to true in url', async () => {
+ const liveboardEmbed = new LiveboardEmbed(getRootEl(), {
+ isLinkParametersEnabled: true,
+ ...defaultViewConfig,
+ liveboardId,
+ } as LiveboardViewConfig);
+ liveboardEmbed.render();
+ await executeAfterWait(() => {
+ expectUrlMatchesWithParams(
+ getIFrameSrc(),
+ `http://${thoughtSpotHost}/?embedApp=true${defaultParams}&isLinkParametersEnabled=true${prefixParams}#/embed/viz/${liveboardId}`,
+ );
+ });
+ });
+
+ test('should set isLinkParametersEnabled to false in url', async () => {
+ const liveboardEmbed = new LiveboardEmbed(getRootEl(), {
+ isLinkParametersEnabled: false,
+ ...defaultViewConfig,
+ liveboardId,
+ } as LiveboardViewConfig);
+ liveboardEmbed.render();
+ await executeAfterWait(() => {
+ expectUrlMatchesWithParams(
+ getIFrameSrc(),
+ `http://${thoughtSpotHost}/?embedApp=true${defaultParams}&isLinkParametersEnabled=false${prefixParams}#/embed/viz/${liveboardId}`,
+ );
+ });
+ });
+
test('should set visible actions as empty array', async () => {
const liveboardEmbed = new LiveboardEmbed(getRootEl(), {
visibleActions: [],
@@ -413,6 +483,36 @@ describe('Liveboard/viz embed tests', () => {
});
});
+ test('should add isCentralizedLiveboardFilterUXEnabled flag and set value to true to the iframe src', async () => {
+ const liveboardEmbed = new LiveboardEmbed(getRootEl(), {
+ ...defaultViewConfig,
+ liveboardId,
+ isCentralizedLiveboardFilterUXEnabled: true,
+ } as LiveboardViewConfig);
+ liveboardEmbed.render();
+ await executeAfterWait(() => {
+ expectUrlMatchesWithParams(
+ getIFrameSrc(),
+ `http://${thoughtSpotHost}/?embedApp=true${defaultParams}&isCentralizedLiveboardFilterUXEnabled=true${prefixParams}#/embed/viz/${liveboardId}`,
+ );
+ });
+ });
+
+ test('should add isCentralizedLiveboardFilterUXEnabled flag and set value to false to the iframe src', async () => {
+ const liveboardEmbed = new LiveboardEmbed(getRootEl(), {
+ ...defaultViewConfig,
+ liveboardId,
+ isCentralizedLiveboardFilterUXEnabled: false,
+ } as LiveboardViewConfig);
+ liveboardEmbed.render();
+ await executeAfterWait(() => {
+ expectUrlMatchesWithParams(
+ getIFrameSrc(),
+ `http://${thoughtSpotHost}/?embedApp=true${defaultParams}&isCentralizedLiveboardFilterUXEnabled=false${prefixParams}#/embed/viz/${liveboardId}`,
+ );
+ });
+ });
+
test('should not append runtime filters in URL if excludeRuntimeFiltersfromURL is true', async () => {
const liveboardEmbed = new LiveboardEmbed(getRootEl(), {
...defaultViewConfig,
@@ -646,6 +746,9 @@ describe('Liveboard/viz embed tests', () => {
test('navigateToLiveboard should trigger the navigate event with the correct path', async (done) => {
mockMessageChannel();
+ // mock getSessionInfo
+
+ mockGetSessionInfo();
const liveboardEmbed = new LiveboardEmbed(getRootEl(), {
...defaultViewConfig,
} as LiveboardViewConfig);
@@ -656,16 +759,31 @@ describe('Liveboard/viz embed tests', () => {
postMessageToParent(iframe.contentWindow, {
type: EmbedEvent.APP_INIT,
});
+ postMessageToParent(iframe.contentWindow, {
+ type: EmbedEvent.AuthInit,
+ });
+ liveboardEmbed.navigateToLiveboard('lb1', 'viz1');
});
+
executeAfterWait(() => {
- liveboardEmbed.navigateToLiveboard('lb1', 'viz1');
expect(onSpy).toHaveBeenCalledWith(HostEvent.Navigate, 'embed/viz/lb1/viz1');
done();
- });
+ }, 1002);
});
test('navigateToLiveboard with preRender', async (done) => {
mockMessageChannel();
+
+ // mock getSessionInfo
+ jest.spyOn(SessionInfoService, 'getSessionInfo').mockResolvedValue({
+ releaseVersion: '1.0.0',
+ userGUID: '1234567890',
+ currentOrgId: 1,
+ privileges: [],
+ mixpanelToken: '1234567890',
+ });
+ mockGetSessionInfo();
+
const liveboardEmbed = new LiveboardEmbed(getRootEl(), {
...defaultViewConfig,
preRenderId: 'test',
@@ -677,12 +795,15 @@ describe('Liveboard/viz embed tests', () => {
postMessageToParent(iframe.contentWindow, {
type: EmbedEvent.APP_INIT,
});
+ postMessageToParent(iframe.contentWindow, {
+ type: EmbedEvent.AuthInit,
+ });
});
executeAfterWait(() => {
liveboardEmbed.navigateToLiveboard('lb1', 'viz1');
expect(onSpy).toHaveBeenCalledWith(HostEvent.Navigate, 'embed/viz/lb1/viz1');
done();
- });
+ }, 1002);
});
test('should set runtime parametere values in url params', async () => {
const liveboardEmbed = new LiveboardEmbed(getRootEl(), {
@@ -704,6 +825,21 @@ describe('Liveboard/viz embed tests', () => {
});
});
+ test('should set showSpotterLimitations parameter in url params', async () => {
+ const liveboardEmbed = new LiveboardEmbed(getRootEl(), {
+ ...defaultViewConfig,
+ liveboardId,
+ showSpotterLimitations: true,
+ } as LiveboardViewConfig);
+ await liveboardEmbed.render();
+ await executeAfterWait(() => {
+ expectUrlMatchesWithParams(
+ getIFrameSrc(),
+ `http://${thoughtSpotHost}/?embedApp=true${defaultParams}${prefixParams}&showSpotterLimitations=true#/embed/viz/${liveboardId}`,
+ );
+ });
+ });
+
test('SetActiveTab Hostevent should not trigger the navigate event with the correct path, for vizEmbed', async () => {
const mockProcessTrigger = jest.spyOn(tsEmbed.TsEmbed.prototype, 'trigger');
const liveboardEmbed = new LiveboardEmbed(getRootEl(), {
@@ -741,6 +877,12 @@ describe('Liveboard/viz embed tests', () => {
});
describe('PreRender flow for liveboard embed', () => {
+ beforeAll(() => {
+ init({
+ thoughtSpotHost: "http://tshost",
+ authType: AuthType.None,
+ });
+ });
test('it should preRender generic with liveboard id is not passed', async (done) => {
const consoleSpy = jest.spyOn(console, 'error');
const libEmbed = new LiveboardEmbed(getRootEl(), {
@@ -875,13 +1017,7 @@ describe('Liveboard/viz embed tests', () => {
preRenderId: testPreRenderId,
});
- jest.spyOn(SessionInfoService, 'getSessionInfo').mockResolvedValue({
- releaseVersion: '1.0.0',
- userGUID: '1234567890',
- currentOrgId: 1,
- privileges: [],
- mixpanelToken: '1234567890',
- });
+ mockGetSessionInfo();
let resizeObserverCb: any;
(window as any).ResizeObserver =
window.ResizeObserver ||
@@ -930,6 +1066,60 @@ describe('Liveboard/viz embed tests', () => {
done();
}, 1005);
});
+
+
+ test('should replace existing preRender when replaceExistingPreRender is true', async () => {
+ const testPreRenderId = 'testReplacePreRender';
+
+ // Stub ResizeObserver for JSDOM
+ (window as any).ResizeObserver = (window as any).ResizeObserver
+ || jest.fn().mockImplementation(() => ({
+ disconnect: jest.fn(),
+ observe: jest.fn(),
+ unobserve: jest.fn(),
+ }));
+
+ // Create initial embed and show preRender (this will create the
+ // preRender wrapper/child)
+ const embedA = new LiveboardEmbed(getRootEl(), {
+ preRenderId: testPreRenderId,
+ });
+
+ await embedA.showPreRender();
+
+ await waitFor(() => !!getIFrameEl());
+
+ const ids = embedA.getPreRenderIds();
+ const oldWrapper = document.getElementById(ids.wrapper);
+ const oldChild = document.getElementById(ids.child);
+
+ const tsKey = '__tsEmbed';
+ expect((oldWrapper as any)[tsKey]).toBe(embedA);
+
+ // Create a new embed instance and preRender with
+ // replaceExistingPreRender = true
+ const embedB = new LiveboardEmbed(getRootEl(), {
+ preRenderId: testPreRenderId,
+ });
+ const prerenderGenericSpy = jest.spyOn(embedB, 'prerenderGeneric');
+
+ await embedB.preRender(false, true);
+
+ await waitFor(() => (document.getElementById(ids.wrapper) as any)?.[tsKey] === embedB);
+
+ const newWrapper = document.getElementById(ids.wrapper);
+ const newChild = document.getElementById(ids.child);
+
+ // Should have called prerenderGeneric for the new embed instance
+ expect(prerenderGenericSpy).toHaveBeenCalledTimes(1);
+
+ // Wrapper should be replaced (new wrapper element), child iframe
+ // may be reused
+ expect(newWrapper).not.toBe(oldWrapper);
+
+ // __tsEmbed on wrapper should now point to the new embed instance
+ expect((newWrapper as any)[tsKey]).toBe(embedB);
+ });
});
describe('LazyLoadingForFullHeight functionality', () => {
diff --git a/src/embed/liveboard.ts b/src/embed/liveboard.ts
index f39eb9118..e730e73ae 100644
--- a/src/embed/liveboard.ts
+++ b/src/embed/liveboard.ts
@@ -46,7 +46,7 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
* incrementally as users scroll the page to view the charts and tables.
*
* @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 7.2.1
- *
+ *
* Supported embed types: `LiveboardEmbed`
* @example
* ```js
@@ -61,7 +61,7 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
* This is the minimum height(in pixels) for a full-height Liveboard.
* Setting this height helps resolve issues with empty Liveboards and
* other screens navigable from a Liveboard.
- *
+ *
* Supported embed types: `LiveboardEmbed`
* @version SDK: 1.5.0 | ThoughtSpot: ts7.oct.cl, 7.2.1
* @default 500
@@ -90,7 +90,7 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
/**
* The Liveboard to display in the embedded view.
* Use either liveboardId or pinboardId to reference the Liveboard to embed.
- *
+ *
* Supported embed types: `LiveboardEmbed`
* @version SDK: 1.3.0 | ThoughtSpot ts7.aug.cl, 7.2.1
* @example
@@ -108,7 +108,7 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
pinboardId?: string;
/**
* The visualization within the Liveboard to display.
- *
+ *
* Supported embed types: `LiveboardEmbed`
* @version SDK: 1.9.1 | ThoughtSpot: 8.1.0.cl, 8.4.1-sw
* @example
@@ -123,7 +123,7 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
/**
* If set to true, all filter chips from a
* Liveboard page will be read-only (no X buttons)
- *
+ *
* Supported embed types: `LiveboardEmbed`
* @version SDK: 1.3.0 | ThoughtSpot ts7.aug.cl, 7.2.1.sw
* @example
@@ -139,7 +139,7 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
* Array of visualization IDs which should be visible when the Liveboard
* renders. This can be changed by triggering the `SetVisibleVizs`
* event.
- *
+ *
* Supported embed types: `LiveboardEmbed`
* @version SDK: 1.9.1 | ThoughtSpot: 8.1.0.cl, 8.4.1-sw
* @example
@@ -161,7 +161,7 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
/**
* Render embedded Liveboards and visualizations in the
* new Liveboard experience mode.
- *
+ *
* Supported embed types: `LiveboardEmbed`
* @version SDK: 1.14.0 | ThoughtSpot: 8.6.0.cl, 8.8.1-sw
* @example
@@ -176,7 +176,7 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
/**
* Set a Liveboard tab as an active tab.
* Specify the tab ID.
- *
+ *
* Supported embed types: `LiveboardEmbed`
* @example
* ```js
@@ -190,7 +190,7 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
activeTabId?: string;
/**
* Show or hide the tab panel of the embedded Liveboard.
- *
+ *
* Supported embed types: `LiveboardEmbed`
* @version SDK: 1.25.0 | ThoughtSpot: 9.6.0.cl, 9.8.0.sw
* @example
@@ -211,7 +211,7 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
*
* Since, this will show preview images, be careful that it may show
* undesired data to the user when using row level security.
- *
+ *
* Supported embed types: `LiveboardEmbed`
* @example
* ```js
@@ -227,8 +227,8 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
showPreviewLoader?: boolean;
/**
* The Liveboard to run on regular intervals to fetch the cdw token.
- *
- * Supported embed types: `LiveboardEmbed`
+ *
+ * Supported embed types: `LiveboardEmbed`
* @hidden
* @version SDK: 1.35.0 | ThoughtSpot:10.6.0.cl
* @example
@@ -242,7 +242,7 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
/**
* The Liveboard is set to force a token fetch during the initial load.
- *
+ *
* Supported embed types: `LiveboardEmbed`
* @hidden
* @version SDK: 1.35.0 | ThoughtSpot:10.6.0.cl
@@ -259,7 +259,7 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
* The source connection ID for authentication.
* @hidden
* @version SDK: 1.35.0 | ThoughtSpot:10.6.0.cl
- *
+ *
* Supported embed types: `LiveboardEmbed`
* @example
* ```js
@@ -273,7 +273,7 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
* The list of tab IDs to hide from the embedded.
* This Tabs will be hidden from their respective LBs.
* Use this to hide an tabID.
- *
+ *
* Supported embed types: `LiveboardEmbed`
* @example
* ```js
@@ -293,7 +293,7 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
* Only the tabs specified in the array will be shown in the Liveboard.
*
* Use either `visibleTabs` or `hiddenTabs`.
- *
+ *
* Supported embed types: `LiveboardEmbed`
* @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 10.1.0.sw
* @example
@@ -310,7 +310,7 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
visibleTabs?: string[];
/**
* This flag is used to enable/disable the styling and grouping in a Liveboard
- *
+ *
* Supported embed types: `LiveboardEmbed`, `AppEmbed`
* @type {boolean}
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
@@ -326,7 +326,7 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
isLiveboardStylingAndGroupingEnabled?: boolean;
/**
* This flag is used to enable/disable the png embedding of liveboard in scheduled mails
- *
+ *
* Supported embed types: `AppEmbed`, `LiveboardEmbed`
* @type {boolean}
* @version SDK: 1.42.0 | ThoughtSpot: 10.14.0.cl
@@ -342,7 +342,7 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
isPNGInScheduledEmailsEnabled?: boolean;
/**
* This flag is used to enable the full height lazy load data.
- *
+ *
* @example
* ```js
* const embed = new LiveboardEmbed('#embed-container', {
@@ -351,7 +351,7 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
* lazyLoadingForFullHeight: true,
* })
* ```
- *
+ *
* @type {boolean}
* @default false
* @version SDK: 1.40.0 | ThoughtSpot:10.12.0.cl
@@ -359,13 +359,13 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
lazyLoadingForFullHeight?: boolean;
/**
* The margin to be used for lazy loading.
- *
+ *
* For example, if the margin is set to '10px',
* the visualization will be loaded 10px before the its top edge is visible in the
* viewport.
- *
+ *
* The format is similar to CSS margin.
- *
+ *
* @example
* ```js
* const embed = new LiveboardEmbed('#embed-container', {
@@ -380,6 +380,22 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
* @version SDK: 1.40.0 | ThoughtSpot:10.12.0.cl
*/
lazyLoadingMargin?: string;
+ /**
+ * showSpotterLimitations : show limitation text
+ * of the spotter underneath the chat input.
+ * default is false.
+ *
+ * @example
+ * ```js
+ * const embed = new LiveboardEmbed('#embed-container', {
+ * // ...other options
+ * showSpotterLimitations: true,
+ * })
+ * ```
+ * @type {boolean}
+ * @version SDK: 1.41.1 | ThoughtSpot: 10.5.0.cl
+ */
+ showSpotterLimitations?: boolean;
}
/**
@@ -424,6 +440,12 @@ export class LiveboardEmbed extends V1Embed {
* embedded Liveboard or visualization.
*/
protected getEmbedParams() {
+ const params = this.getEmbedParamsObject();
+ const queryParams = getQueryParamString(params, true);
+ return queryParams;
+ }
+
+ protected getEmbedParamsObject() {
let params: any = {};
params = this.getBaseQueryParams(params);
const {
@@ -443,6 +465,7 @@ export class LiveboardEmbed extends V1Embed {
showLiveboardVerifiedBadge = true,
showLiveboardReverifyBanner = true,
hideIrrelevantChipsInLiveboardTabs = false,
+ isEnhancedFilterInteractivityEnabled = false,
enableAskSage,
enable2ColumnLayout,
dataPanelV2 = true,
@@ -454,6 +477,9 @@ export class LiveboardEmbed extends V1Embed {
liveboardXLSXCSVDownload = false,
isLiveboardStylingAndGroupingEnabled,
isPNGInScheduledEmailsEnabled = false,
+ showSpotterLimitations,
+ isCentralizedLiveboardFilterUXEnabled = false,
+ isLinkParametersEnabled,
} = this.viewConfig;
const preventLiveboardFilterRemoval = this.viewConfig.preventLiveboardFilterRemoval
@@ -525,18 +551,33 @@ export class LiveboardEmbed extends V1Embed {
params[Param.isPNGInScheduledEmailsEnabled] = isPNGInScheduledEmailsEnabled;
}
+ if (showSpotterLimitations !== undefined) {
+ params[Param.ShowSpotterLimitations] = showSpotterLimitations;
+ }
+
+ if (isLinkParametersEnabled !== undefined) {
+ params[Param.isLinkParametersEnabled] = isLinkParametersEnabled;
+ }
+
+ if (isCentralizedLiveboardFilterUXEnabled !== undefined) {
+ params[
+ Param.isCentralizedLiveboardFilterUXEnabled
+ ] = isCentralizedLiveboardFilterUXEnabled;
+ }
+
params[Param.LiveboardHeaderSticky] = isLiveboardHeaderSticky;
params[Param.LiveboardHeaderV2] = isLiveboardCompactHeaderEnabled;
params[Param.ShowLiveboardVerifiedBadge] = showLiveboardVerifiedBadge;
params[Param.ShowLiveboardReverifyBanner] = showLiveboardReverifyBanner;
params[Param.HideIrrelevantFiltersInTab] = hideIrrelevantChipsInLiveboardTabs;
+ params[Param.IsEnhancedFilterInteractivityEnabled] = isEnhancedFilterInteractivityEnabled;
params[Param.DataPanelV2Enabled] = dataPanelV2;
params[Param.EnableCustomColumnGroups] = enableCustomColumnGroups;
params[Param.CoverAndFilterOptionInPDF] = coverAndFilterOptionInPDF;
params[Param.LiveboardXLSXCSVDownload] = !!liveboardXLSXCSVDownload;
const queryParams = getQueryParamString(params, true);
- return queryParams;
+ return params;
}
private getIframeSuffixSrc(liveboardId: string, vizId: string, activeTabId: string) {
diff --git a/src/embed/sage.ts b/src/embed/sage.ts
index 8b1c4d9b9..a8818ae75 100644
--- a/src/embed/sage.ts
+++ b/src/embed/sage.ts
@@ -69,12 +69,12 @@ export interface SageViewConfig
*/
hideSageAnswerHeader?: boolean;
/**
- * Disable the worksheet selection option.
+ * Disable the data source selection option.
* @version SDK: 1.26.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
*/
disableWorksheetChange?: boolean;
/**
- * Hide the worksheet selection panel.
+ * Hide the data source selection panel.
* @version SDK: 1.26.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
*/
hideWorksheetSelector?: boolean;
@@ -92,7 +92,7 @@ export interface SageViewConfig
showObjectSuggestions?: boolean;
/**
* Show or hide sample questions.
- * The sample questions are autogenerated based on the worksheet
+ * The sample questions are autogenerated based on the data Model.
* selected for the search operation.
*
* Supported embed types: `SageEmbed`
@@ -107,7 +107,7 @@ export interface SageViewConfig
*/
hideSampleQuestions?: boolean;
/**
- * The data source GUID (Worksheet GUID) to set on load.
+ * The data source GUID (Model GUID) to set on load.
*/
dataSource?: string;
/**
@@ -153,12 +153,7 @@ export class SageEmbed extends V1Embed {
super(domSelector, viewConfig);
}
- /**
- * Constructs a map of parameters to be passed on to the
- * embedded Eureka or Sage search page.
- * @returns {string} query string
- */
- protected getEmbedParams(): string {
+ protected getEmbedParamsObject() {
const {
disableWorksheetChange,
hideWorksheetSelector,
@@ -184,6 +179,16 @@ export class SageEmbed extends V1Embed {
params[Param.IsProductTour] = !!isProductTour;
params[Param.HideSageAnswerHeader] = !!hideSageAnswerHeader;
+ return params;
+ }
+
+ /**
+ * Constructs a map of parameters to be passed on to the
+ * embedded Eureka or Sage search page.
+ * @returns {string} query string
+ */
+ protected getEmbedParams(): string {
+ const params = this.getEmbedParamsObject();
return getQueryParamString(params, true);
}
@@ -194,15 +199,15 @@ export class SageEmbed extends V1Embed {
*/
public getIFrameSrc(): string {
const path = 'eureka';
- const postHashObj = {};
+ const postHashObj: Record = {};
const tsPostHashParams = this.getThoughtSpotPostUrlParams();
const {
dataSource, searchOptions,
} = this.viewConfig;
- if (dataSource) postHashObj[Param.WorksheetId] = dataSource;
+ if (dataSource) (postHashObj as any)[Param.WorksheetId] = dataSource;
if (searchOptions?.searchQuery && searchOptions.executeSearch) {
- postHashObj[Param.executeSearch] = true;
+ (postHashObj as any)[Param.executeSearch] = true;
}
let sagePostHashParams = new URLSearchParams(postHashObj).toString();
diff --git a/src/embed/search-bar.tsx b/src/embed/search-bar.tsx
index df45faea2..bc5f02627 100644
--- a/src/embed/search-bar.tsx
+++ b/src/embed/search-bar.tsx
@@ -118,12 +118,7 @@ export class SearchBarEmbed extends TsEmbed {
this.viewConfig = viewConfig;
}
- /**
- * Construct the URL of the embedded ThoughtSpot search to be
- * loaded in the iframe
- * @param dataSources A list of data source GUIDs
- */
- private getIFrameSrc() {
+ protected getEmbedParamsObject() {
const {
searchOptions,
dataSource,
@@ -131,7 +126,6 @@ export class SearchBarEmbed extends TsEmbed {
useLastSelectedSources = false,
excludeSearchTokenStringFromURL,
} = this.viewConfig;
- const path = 'search-bar-embed';
const queryParams = this.getBaseQueryParams();
queryParams[Param.HideActions] = [...(queryParams[Param.HideActions] ?? [])];
@@ -159,6 +153,19 @@ export class SearchBarEmbed extends TsEmbed {
queryParams[Param.UseLastSelectedDataSource] = false;
}
queryParams[Param.searchEmbed] = true;
+
+ return queryParams;
+ }
+
+ /**
+ * Construct the URL of the embedded ThoughtSpot search to be
+ * loaded in the iframe
+ * @param dataSources A list of data source GUIDs
+ */
+ private getIFrameSrc() {
+ const queryParams = this.getEmbedParamsObject();
+ const path = 'search-bar-embed';
+
let query = '';
const queryParamsString = getQueryParamString(queryParams, true);
if (queryParamsString) {
diff --git a/src/embed/search.ts b/src/embed/search.ts
index 40f9a4960..e572b9acb 100644
--- a/src/embed/search.ts
+++ b/src/embed/search.ts
@@ -26,6 +26,7 @@ import { ERROR_MESSAGE } from '../errors';
import { getAuthPromise } from './base';
import { getReleaseVersion } from '../auth';
import { getEmbedConfig } from './embedConfig';
+import { getInterceptInitData } from '../api-intercept';
/**
* Configuration for search options.
@@ -276,13 +277,6 @@ export interface SearchViewConfig
* @deprecated Use {@link collapseSearchBar} instead
*/
collapseSearchBarInitially?: boolean;
- /**
- * Flag to enable onBeforeSearchExecute Embed Event
- *
- * Supported embed types: `SearchEmbed`
- * @version: SDK: 1.29.0 | ThoughtSpot: 10.1.0.cl
- */
- isOnBeforeGetVizDataInterceptEnabled?: boolean;
/**
* This controls the initial behaviour of custom column groups accordion.
* It takes DataPanelCustomColumnGroupsAccordionState enum values as input.
@@ -331,7 +325,7 @@ export const HiddenActionItemByDefaultForSearchEmbed = [
];
export interface SearchAppInitData extends DefaultAppInitData {
- searchOptions?: SearchOptions;
+ searchOptions?: SearchOptions;
}
/**
@@ -381,7 +375,7 @@ export class SearchEmbed extends TsEmbed {
return { ...defaultAppInitData, ...this.getSearchInitData() };
}
- protected getEmbedParams(): string {
+ protected getEmbedParamsObject() {
const {
hideResults,
enableSearchAssist,
@@ -397,8 +391,6 @@ export class SearchEmbed extends TsEmbed {
runtimeParameters,
collapseSearchBarInitially = false,
enableCustomColumnGroups = false,
- isOnBeforeGetVizDataInterceptEnabled = false,
- /* eslint-disable-next-line max-len */
dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState.EXPAND_ALL,
focusSearchBarOnRender = true,
excludeRuntimeParametersfromURL,
@@ -442,11 +434,6 @@ export class SearchEmbed extends TsEmbed {
queryParams[Param.HideSearchBar] = true;
}
- if (isOnBeforeGetVizDataInterceptEnabled) {
- /* eslint-disable-next-line max-len */
- queryParams[Param.IsOnBeforeGetVizDataInterceptEnabled] = isOnBeforeGetVizDataInterceptEnabled;
- }
-
if (!focusSearchBarOnRender) {
queryParams[Param.FocusSearchBarOnRender] = focusSearchBarOnRender;
}
@@ -460,7 +447,7 @@ export class SearchEmbed extends TsEmbed {
}
queryParams[Param.searchEmbed] = true;
- /* eslint-disable-next-line max-len */
+
queryParams[Param.CollapseSearchBarInitially] = collapseSearchBarInitially || collapseSearchBar;
queryParams[Param.EnableCustomColumnGroups] = enableCustomColumnGroups;
if (dataPanelCustomGroupsAccordionInitialState
@@ -468,12 +455,23 @@ export class SearchEmbed extends TsEmbed {
|| dataPanelCustomGroupsAccordionInitialState
=== DataPanelCustomColumnGroupsAccordionState.EXPAND_FIRST
) {
- /* eslint-disable-next-line max-len */
+
queryParams[Param.DataPanelCustomGroupsAccordionInitialState] = dataPanelCustomGroupsAccordionInitialState;
} else {
- /* eslint-disable-next-line max-len */
+
queryParams[Param.DataPanelCustomGroupsAccordionInitialState] = DataPanelCustomColumnGroupsAccordionState.EXPAND_ALL;
}
+ return queryParams;
+ }
+
+ protected getEmbedParams() {
+ const {
+ runtimeParameters,
+ runtimeFilters,
+ excludeRuntimeParametersfromURL,
+ excludeRuntimeFiltersfromURL,
+ } = this.viewConfig;
+ const queryParams = this.getEmbedParamsObject();
let query = '';
const queryParamsString = getQueryParamString(queryParams, true);
if (queryParamsString) {
diff --git a/src/embed/ts-embed.spec.ts b/src/embed/ts-embed.spec.ts
index 1c8708d1a..f676c566e 100644
--- a/src/embed/ts-embed.spec.ts
+++ b/src/embed/ts-embed.spec.ts
@@ -28,6 +28,7 @@ import {
ContextMenuTriggerOptions,
CustomActionTarget,
CustomActionsPosition,
+ DefaultAppInitData,
} from '../types';
import {
executeAfterWait,
@@ -60,10 +61,12 @@ import { processTrigger } from '../utils/processTrigger';
import { UIPassthroughEvent } from './hostEventClient/contracts';
import * as sessionInfoService from '../utils/sessionInfoService';
import * as authToken from '../authToken';
+import * as apiIntercept from '../api-intercept';
jest.mock('../utils/processTrigger');
const mockProcessTrigger = processTrigger as jest.Mock;
+const mockHandleInterceptEvent = jest.spyOn(apiIntercept, 'handleInterceptEvent');
const defaultViewConfig = {
frameParams: {
width: 1280,
@@ -110,6 +113,31 @@ const customVariablesForThirdPartyTools = {
key2: '*%^',
};
+const getMockAppInitPayload = (data: any) => {
+ const defaultData: DefaultAppInitData = {
+ customisations,
+ authToken: '',
+ hostConfig: undefined,
+ runtimeFilterParams: null,
+ runtimeParameterParams: null,
+ hiddenHomeLeftNavItems: [],
+ hiddenHomepageModules: [],
+ hiddenListColumns: [],
+ customActions: [],
+ reorderedHomepageModules: [],
+ customVariablesForThirdPartyTools,
+ interceptTimeout: undefined,
+ interceptUrls: [],
+ };
+ return {
+ type: EmbedEvent.APP_INIT,
+ data: {
+ ...defaultData,
+ ...data,
+ },
+ };
+}
+
describe('Unit test case for ts embed', () => {
const mockMixPanelEvent = jest.spyOn(mixpanelInstance, 'uploadMixpanelEvent');
beforeEach(() => {
@@ -337,22 +365,7 @@ describe('Unit test case for ts embed', () => {
postMessageToParent(iframe.contentWindow, mockEmbedEventPayload, mockPort);
});
await executeAfterWait(() => {
- expect(mockPort.postMessage).toHaveBeenCalledWith({
- type: EmbedEvent.APP_INIT,
- data: {
- customisations,
- authToken: '',
- runtimeFilterParams: null,
- runtimeParameterParams: null,
- hiddenHomeLeftNavItems: [],
- hiddenHomepageModules: [],
- hiddenListColumns: [],
- customActions: [],
- hostConfig: undefined,
- reorderedHomepageModules: [],
- customVariablesForThirdPartyTools,
- },
- });
+ expect(mockPort.postMessage).toHaveBeenCalledWith(getMockAppInitPayload({}));
});
});
@@ -374,22 +387,9 @@ describe('Unit test case for ts embed', () => {
postMessageToParent(iframe.contentWindow, mockEmbedEventPayload, mockPort);
});
await executeAfterWait(() => {
- expect(mockPort.postMessage).toHaveBeenCalledWith({
- type: EmbedEvent.APP_INIT,
- data: {
- customisations: customisationsView,
- authToken: '',
- runtimeFilterParams: null,
- runtimeParameterParams: null,
- hiddenHomeLeftNavItems: [],
- hiddenHomepageModules: [],
- hiddenListColumns: [],
- customActions: [],
- hostConfig: undefined,
- reorderedHomepageModules: [],
- customVariablesForThirdPartyTools,
- },
- });
+ expect(mockPort.postMessage).toHaveBeenCalledWith(getMockAppInitPayload({
+ customisations: customisationsView,
+ }));
});
});
@@ -416,22 +416,9 @@ describe('Unit test case for ts embed', () => {
postMessageToParent(iframe.contentWindow, mockEmbedEventPayload, mockPort);
});
await executeAfterWait(() => {
- expect(mockPort.postMessage).toHaveBeenCalledWith({
- type: EmbedEvent.APP_INIT,
- data: {
- customisations,
- authToken: '',
- hostConfig: undefined,
- runtimeFilterParams: null,
- runtimeParameterParams: null,
- hiddenHomeLeftNavItems: [],
- hiddenHomepageModules: [HomepageModule.MyLibrary, HomepageModule.Learning],
- hiddenListColumns: [],
- customActions: [],
- reorderedHomepageModules: [],
- customVariablesForThirdPartyTools,
- },
- });
+ expect(mockPort.postMessage).toHaveBeenCalledWith(getMockAppInitPayload({
+ hiddenHomepageModules: [HomepageModule.MyLibrary, HomepageModule.Learning],
+ }));
});
});
@@ -455,22 +442,7 @@ describe('Unit test case for ts embed', () => {
postMessageToParent(iframe.contentWindow, mockEmbedEventPayload, mockPort);
});
await executeAfterWait(() => {
- expect(mockPort.postMessage).toHaveBeenCalledWith({
- type: EmbedEvent.APP_INIT,
- data: {
- customisations,
- authToken: '',
- hostConfig: undefined,
- runtimeFilterParams: null,
- runtimeParameterParams: null,
- hiddenHomeLeftNavItems: [],
- hiddenHomepageModules: [],
- hiddenListColumns: [],
- customActions: [],
- reorderedHomepageModules: [],
- customVariablesForThirdPartyTools,
- },
- });
+ expect(mockPort.postMessage).toHaveBeenCalledWith(getMockAppInitPayload({}));
});
});
@@ -497,23 +469,10 @@ describe('Unit test case for ts embed', () => {
postMessageToParent(iframe.contentWindow, mockEmbedEventPayload, mockPort);
});
await executeAfterWait(() => {
- expect(mockPort.postMessage).toHaveBeenCalledWith({
- type: EmbedEvent.APP_INIT,
- data: {
- customisations,
- authToken: '',
- hostConfig: undefined,
- runtimeFilterParams: null,
- runtimeParameterParams: null,
- hiddenHomeLeftNavItems: [],
- hiddenHomepageModules: [],
- hiddenListColumns: [],
- customActions: [],
- reorderedHomepageModules:
- [HomepageModule.MyLibrary, HomepageModule.Watchlist],
- customVariablesForThirdPartyTools,
- },
- });
+ expect(mockPort.postMessage).toHaveBeenCalledWith(getMockAppInitPayload({
+ reorderedHomepageModules:
+ [HomepageModule.MyLibrary, HomepageModule.Watchlist],
+ }));
});
});
@@ -543,22 +502,9 @@ describe('Unit test case for ts embed', () => {
postMessageToParent(iframe.contentWindow, mockEmbedEventPayload, mockPort);
});
await executeAfterWait(() => {
- expect(mockPort.postMessage).toHaveBeenCalledWith({
- type: EmbedEvent.APP_INIT,
- data: {
- customisations,
- authToken: '',
- runtimeFilterParams: null,
- runtimeParameterParams: 'param1=color¶mVal1=blue',
- hiddenHomeLeftNavItems: [],
- hiddenHomepageModules: [],
- hiddenListColumns: [],
- customActions: [],
- hostConfig: undefined,
- reorderedHomepageModules: [],
- customVariablesForThirdPartyTools,
- },
- });
+ expect(mockPort.postMessage).toHaveBeenCalledWith(getMockAppInitPayload({
+ runtimeParameterParams: 'param1=color¶mVal1=blue',
+ }));
});
});
@@ -589,22 +535,9 @@ describe('Unit test case for ts embed', () => {
postMessageToParent(iframe.contentWindow, mockEmbedEventPayload, mockPort);
});
await executeAfterWait(() => {
- expect(mockPort.postMessage).toHaveBeenCalledWith({
- type: EmbedEvent.APP_INIT,
- data: {
- customisations,
- authToken: '',
- runtimeFilterParams: 'col1=color&op1=EQ&val1=blue',
- runtimeParameterParams: null,
- hiddenHomeLeftNavItems: [],
- hiddenHomepageModules: [],
- hiddenListColumns: [],
- customActions: [],
- hostConfig: undefined,
- reorderedHomepageModules: [],
- customVariablesForThirdPartyTools,
- },
- });
+ expect(mockPort.postMessage).toHaveBeenCalledWith(getMockAppInitPayload({
+ runtimeFilterParams: 'col1=color&op1=EQ&val1=blue',
+ }));
});
});
@@ -634,22 +567,7 @@ describe('Unit test case for ts embed', () => {
postMessageToParent(iframe.contentWindow, mockEmbedEventPayload, mockPort);
});
await executeAfterWait(() => {
- expect(mockPort.postMessage).toHaveBeenCalledWith({
- type: EmbedEvent.APP_INIT,
- data: {
- customisations,
- authToken: '',
- runtimeFilterParams: null,
- runtimeParameterParams: null,
- hiddenHomeLeftNavItems: [],
- hiddenHomepageModules: [],
- hiddenListColumns: [],
- customActions: [],
- hostConfig: undefined,
- reorderedHomepageModules: [],
- customVariablesForThirdPartyTools,
- },
- });
+ expect(mockPort.postMessage).toHaveBeenCalledWith(getMockAppInitPayload({}));
});
});
@@ -680,22 +598,7 @@ describe('Unit test case for ts embed', () => {
postMessageToParent(iframe.contentWindow, mockEmbedEventPayload, mockPort);
});
await executeAfterWait(() => {
- expect(mockPort.postMessage).toHaveBeenCalledWith({
- type: EmbedEvent.APP_INIT,
- data: {
- customisations,
- authToken: '',
- runtimeFilterParams: null,
- runtimeParameterParams: null,
- hiddenHomeLeftNavItems: [],
- hiddenHomepageModules: [],
- hiddenListColumns: [],
- customActions: [],
- hostConfig: undefined,
- reorderedHomepageModules: [],
- customVariablesForThirdPartyTools,
- },
- });
+ expect(mockPort.postMessage).toHaveBeenCalledWith(getMockAppInitPayload({}));
});
});
@@ -723,23 +626,10 @@ describe('Unit test case for ts embed', () => {
});
await executeAfterWait(() => {
- expect(mockPort.postMessage).toHaveBeenCalledWith({
- type: EmbedEvent.APP_INIT,
- data: {
- customisations,
- authToken: '',
- hostConfig: undefined,
- runtimeFilterParams: null,
- runtimeParameterParams: null,
- hiddenHomeLeftNavItems:
- [HomeLeftNavItem.Home, HomeLeftNavItem.MonitorSubscription],
- hiddenHomepageModules: [],
- hiddenListColumns: [],
- customActions: [],
- reorderedHomepageModules: [],
- customVariablesForThirdPartyTools,
- },
- });
+ expect(mockPort.postMessage).toHaveBeenCalledWith(getMockAppInitPayload({
+ hiddenHomeLeftNavItems:
+ [HomeLeftNavItem.Home, HomeLeftNavItem.MonitorSubscription],
+ }));
});
});
@@ -894,22 +784,10 @@ describe('Unit test case for ts embed', () => {
postMessageToParent(iframe.contentWindow, mockEmbedEventPayload, mockPort);
});
await executeAfterWait(() => {
- expect(mockPort.postMessage).toHaveBeenCalledWith({
- type: EmbedEvent.APP_INIT,
- data: {
- customisations,
- authToken: 'test_auth_token1',
- runtimeFilterParams: null,
- runtimeParameterParams: null,
- hiddenHomeLeftNavItems: [],
- hiddenHomepageModules: [],
- hiddenListColumns: [],
- customActions: [],
- hostConfig: undefined,
- reorderedHomepageModules: [],
- customVariablesForThirdPartyTools: {},
- },
- });
+ expect(mockPort.postMessage).toHaveBeenCalledWith(getMockAppInitPayload({
+ authToken: 'test_auth_token1',
+ customVariablesForThirdPartyTools: {},
+ }));
});
jest.spyOn(authService, 'verifyTokenService').mockClear();
@@ -965,36 +843,25 @@ describe('Unit test case for ts embed', () => {
});
await executeAfterWait(() => {
- expect(mockPort.postMessage).toHaveBeenCalledWith({
- type: EmbedEvent.APP_INIT,
- data: {
- customisations: {
- content: {
- strings: {
- Liveboard: 'Dashboard',
- },
- stringIDsUrl: 'https://sample-string-ids-url.com',
- stringIDs: {
- 'liveboard.header.title': 'Dashboard name',
- },
+ expect(mockPort.postMessage).toHaveBeenCalledWith(getMockAppInitPayload({
+ customisations: {
+ content: {
+ strings: {
+ Liveboard: 'Dashboard',
},
- style: {
- customCSS: {},
- customCSSUrl: undefined,
+ stringIDsUrl: 'https://sample-string-ids-url.com',
+ stringIDs: {
+ 'liveboard.header.title': 'Dashboard name',
},
},
- authToken: 'test_auth_token1',
- runtimeFilterParams: null,
- runtimeParameterParams: null,
- hiddenHomeLeftNavItems: [],
- hiddenHomepageModules: [],
- hiddenListColumns: [],
- customActions: [],
- hostConfig: undefined,
- reorderedHomepageModules: [],
- customVariablesForThirdPartyTools: {},
+ style: {
+ customCSS: {},
+ customCSSUrl: undefined,
+ },
},
- });
+ authToken: 'test_auth_token1',
+ customVariablesForThirdPartyTools: {},
+ }));
const customisationContent = mockPort.postMessage.mock.calls[0][0].data.customisations.content;
expect(customisationContent.stringIDsUrl)
.toBe('https://sample-string-ids-url.com');
@@ -1045,7 +912,7 @@ describe('Unit test case for ts embed', () => {
type: EmbedEvent.APP_INIT,
data: {},
};
-
+
// Create a SearchEmbed with valid custom actions to test
// CustomActionsValidationResult
const searchEmbed = new SearchEmbed(getRootEl(), {
@@ -1067,7 +934,7 @@ describe('Unit test case for ts embed', () => {
}
]
});
-
+
searchEmbed.render();
const mockPort: any = {
postMessage: jest.fn(),
@@ -1079,44 +946,34 @@ describe('Unit test case for ts embed', () => {
});
await executeAfterWait(() => {
- expect(mockPort.postMessage).toHaveBeenCalledWith({
- type: EmbedEvent.APP_INIT,
- data: {
- customisations: {
- content: {},
- style: {
- customCSS: {},
- customCSSUrl: undefined,
- },
+ expect(mockPort.postMessage).toHaveBeenCalledWith(getMockAppInitPayload({
+ customisations: {
+ content: {},
+ style: {
+ customCSS: {},
+ customCSSUrl: undefined,
},
- authToken: 'test_auth_token1',
- runtimeFilterParams: null,
- runtimeParameterParams: null,
- hiddenHomeLeftNavItems: [],
- hiddenHomepageModules: [],
- hiddenListColumns: [],
- customActions: [
- {
- id: 'action2',
- name: 'Another Valid Action',
- target: CustomActionTarget.VIZ,
- position: CustomActionsPosition.MENU,
- metadataIds: { vizIds: ['viz456'] }
- },
- {
- id: 'action1',
- name: 'Valid Action',
- target: CustomActionTarget.LIVEBOARD,
- position: CustomActionsPosition.PRIMARY,
- metadataIds: { liveboardIds: ['lb123'] }
- }
- ], // Actions should be sorted by name
- hostConfig: undefined,
- reorderedHomepageModules: [],
- customVariablesForThirdPartyTools: {},
},
- });
-
+ authToken: 'test_auth_token1',
+ customActions: [
+ {
+ id: 'action2',
+ name: 'Another Valid Action',
+ target: CustomActionTarget.VIZ,
+ position: CustomActionsPosition.MENU,
+ metadataIds: { vizIds: ['viz456'] }
+ },
+ {
+ id: 'action1',
+ name: 'Valid Action',
+ target: CustomActionTarget.LIVEBOARD,
+ position: CustomActionsPosition.PRIMARY,
+ metadataIds: { liveboardIds: ['lb123'] }
+ }
+ ], // Actions should be sorted by name
+ customVariablesForThirdPartyTools: {},
+ }));
+
// Verify that CustomActionsValidationResult structure is
// correct
const appInitData = mockPort.postMessage.mock.calls[0][0].data;
@@ -1137,7 +994,7 @@ describe('Unit test case for ts embed', () => {
})
])
);
-
+
// Verify actions are sorted by name (alphabetically)
expect(appInitData.customActions[0].name).toBe('Another Valid Action');
expect(appInitData.customActions[1].name).toBe('Valid Action');
@@ -2428,50 +2285,6 @@ describe('Unit test case for ts embed', () => {
});
});
- describe('When destroyed', () => {
- it('should remove the iframe', async () => {
- const appEmbed = new AppEmbed(getRootEl(), {
- frameParams: {
- width: '100%',
- height: '100%',
- },
- });
- await appEmbed.render();
- expect(getIFrameEl()).toBeTruthy();
- appEmbed.destroy();
- expect(getIFrameEl()).toBeFalsy();
- });
-
- it('should remove the iframe when insertAsSibling is true', async () => {
- const appEmbed = new AppEmbed(getRootEl(), {
- frameParams: {
- width: '100%',
- height: '100%',
- },
- insertAsSibling: true,
- });
- await appEmbed.render();
- expect(getIFrameEl()).toBeTruthy();
- appEmbed.destroy();
- expect(getIFrameEl()).toBeFalsy();
- });
-
- it("Should remove the error message on destroy if it's present", async () => {
- jest.spyOn(baseInstance, 'getAuthPromise').mockResolvedValueOnce(false);
- const appEmbed = new AppEmbed(getRootEl(), {
- frameParams: {
- width: '100%',
- height: '100%',
- },
- insertAsSibling: true,
- });
- await appEmbed.render();
- expect(getRootEl().nextElementSibling.innerHTML).toContain('Not logged in');
- appEmbed.destroy();
- expect(getRootEl().nextElementSibling.innerHTML).toBe('');
- });
- });
-
describe('validate getThoughtSpotPostUrlParams', () => {
const { location } = window;
@@ -2488,7 +2301,7 @@ describe('Unit test case for ts embed', () => {
});
afterAll((): void => {
- window.location = location;
+ (window.location as any) = location;
});
it('get url params for TS', () => {
@@ -3345,4 +3158,674 @@ describe('Unit test case for ts embed', () => {
expect(searchEmbed.isEmbedContainerLoaded).toBe(true);
});
});
+
+ describe('Online event listener registration after auth failure', () => {
+ beforeAll(() => {
+ init({
+ thoughtSpotHost: 'tshost',
+ authType: AuthType.None,
+ loginFailedMessage: 'Not logged in',
+ });
+ });
+
+ test('should register online event listener when authentication fails', async () => {
+ const addEventListenerSpy = jest.spyOn(window, 'addEventListener');
+ jest.spyOn(baseInstance, 'getAuthPromise').mockRejectedValueOnce(
+ new Error('Auth failed'),
+ );
+ const searchEmbed = new SearchEmbed(getRootEl(), defaultViewConfig);
+ addEventListenerSpy.mockClear();
+ await searchEmbed.render();
+ await executeAfterWait(() => {
+ expect(getRootEl().innerHTML).toContain('Not logged in');
+ const onlineListenerCalls = addEventListenerSpy.mock.calls.filter(
+ (call) => call[0] === 'online',
+ );
+ expect(onlineListenerCalls).toHaveLength(1);
+ const offlineListenerCalls = addEventListenerSpy.mock.calls.filter(
+ (call) => call[0] === 'offline',
+ );
+ expect(offlineListenerCalls).toHaveLength(1);
+ const messageListenerCalls = addEventListenerSpy.mock.calls.filter(
+ (call) => call[0] === 'message',
+ );
+ expect(messageListenerCalls).toHaveLength(0);
+ });
+
+ addEventListenerSpy.mockRestore();
+ });
+
+ test('should attempt to trigger reload when online event occurs after auth failure', async () => {
+ jest.spyOn(baseInstance, 'getAuthPromise').mockRejectedValueOnce(
+ new Error('Auth failed'),
+ );
+ const searchEmbed = new SearchEmbed(getRootEl(), defaultViewConfig);
+ const triggerSpy = jest.spyOn(searchEmbed, 'trigger').mockResolvedValue(null);
+ await searchEmbed.render();
+
+ await executeAfterWait(() => {
+ expect(getRootEl().innerHTML).toContain('Not logged in');
+ triggerSpy.mockClear();
+ const onlineEvent = new Event('online');
+ window.dispatchEvent(onlineEvent);
+ expect(triggerSpy).toHaveBeenCalledWith(HostEvent.Reload);
+ });
+
+ triggerSpy.mockReset();
+ });
+
+ test('should handle online event gracefully when no iframe exists', async () => {
+ jest.spyOn(baseInstance, 'getAuthPromise').mockRejectedValueOnce(
+ new Error('Auth failed'),
+ );
+ const searchEmbed = new SearchEmbed(getRootEl(), defaultViewConfig);
+ const errorSpy = jest.spyOn(console, 'error').mockImplementation(() => { });
+ await searchEmbed.render();
+ await executeAfterWait(() => {
+ expect(getRootEl().innerHTML).toContain('Not logged in');
+ const onlineEvent = new Event('online');
+ expect(() => {
+ window.dispatchEvent(onlineEvent);
+ }).not.toThrow();
+ });
+
+ errorSpy.mockReset();
+ });
+
+ test('should register all event listeners when authentication succeeds', async () => {
+ const addEventListenerSpy = jest.spyOn(window, 'addEventListener');
+ jest.spyOn(baseInstance, 'getAuthPromise').mockResolvedValueOnce(true);
+ const searchEmbed = new SearchEmbed(getRootEl(), defaultViewConfig);
+ addEventListenerSpy.mockClear();
+ await searchEmbed.render();
+ await executeAfterWait(() => {
+ const onlineListenerCalls = addEventListenerSpy.mock.calls.filter(
+ (call) => call[0] === 'online',
+ );
+ expect(onlineListenerCalls).toHaveLength(1);
+ const offlineListenerCalls = addEventListenerSpy.mock.calls.filter(
+ (call) => call[0] === 'offline',
+ );
+ expect(offlineListenerCalls).toHaveLength(1);
+ const messageListenerCalls = addEventListenerSpy.mock.calls.filter(
+ (call) => call[0] === 'message',
+ );
+ expect(messageListenerCalls).toHaveLength(1);
+ });
+
+ addEventListenerSpy.mockRestore();
+ });
+ test('should successfully trigger reload when online event occurs after auth success', async () => {
+ jest.spyOn(baseInstance, 'getAuthPromise').mockResolvedValueOnce(true);
+ const searchEmbed = new SearchEmbed(getRootEl(), defaultViewConfig);
+ const triggerSpy = jest.spyOn(searchEmbed, 'trigger').mockResolvedValue({} as any);
+ await searchEmbed.render();
+ await executeAfterWait(() => {
+ triggerSpy.mockClear();
+ const onlineEvent = new Event('online');
+ window.dispatchEvent(onlineEvent);
+ expect(triggerSpy).toHaveBeenCalledWith(HostEvent.Reload);
+ });
+ triggerSpy.mockReset();
+ });
+ });
+
+ describe('When destroyed', () => {
+ it('should remove the iframe', async () => {
+ const appEmbed = new AppEmbed(getRootEl(), {
+ frameParams: {
+ width: '100%',
+ height: '100%',
+ },
+ });
+ await appEmbed.render();
+ expect(getIFrameEl()).toBeTruthy();
+ appEmbed.destroy();
+ expect(getIFrameEl()).toBeFalsy();
+ });
+
+ it('should remove the iframe when insertAsSibling is true', async () => {
+ const appEmbed = new AppEmbed(getRootEl(), {
+ frameParams: {
+ width: '100%',
+ height: '100%',
+ },
+ insertAsSibling: true,
+ });
+ await appEmbed.render();
+ expect(getIFrameEl()).toBeTruthy();
+ appEmbed.destroy();
+ expect(getIFrameEl()).toBeFalsy();
+ });
+
+ it("Should remove the error message on destroy if it's present", async () => {
+ jest.spyOn(baseInstance, 'getAuthPromise').mockResolvedValueOnce(false);
+ const appEmbed = new AppEmbed(getRootEl(), {
+ frameParams: {
+ width: '100%',
+ height: '100%',
+ },
+ insertAsSibling: true,
+ });
+ await appEmbed.render();
+ expect(getRootEl().nextElementSibling.innerHTML).toContain('Not logged in');
+ appEmbed.destroy();
+ expect(getRootEl().nextElementSibling.innerHTML).toBe('');
+ });
+
+ describe('with waitForCleanupOnDestroy configuration', () => {
+ let originalEmbedConfig: any;
+
+ beforeEach(() => {
+ originalEmbedConfig = embedConfig.getEmbedConfig();
+ });
+
+ afterEach(() => {
+ embedConfig.setEmbedConfig(originalEmbedConfig);
+ });
+
+ it('should trigger DestroyEmbed event immediately when waitForCleanupOnDestroy is false', async () => {
+ embedConfig.setEmbedConfig({
+ ...originalEmbedConfig,
+ waitForCleanupOnDestroy: false,
+ });
+
+ const appEmbed = new AppEmbed(getRootEl(), {
+ frameParams: {
+ width: '100%',
+ height: '100%',
+ },
+ });
+ await appEmbed.render();
+
+ const triggerSpy = jest.spyOn(appEmbed, 'trigger').mockResolvedValue(null);
+ const removeChildSpy = jest.spyOn(Node.prototype, 'removeChild').mockImplementation(() => getRootEl());
+
+ appEmbed.destroy();
+
+ expect(triggerSpy).toHaveBeenCalledWith(HostEvent.DestroyEmbed);
+ expect(removeChildSpy).toHaveBeenCalled();
+ });
+
+ it('should trigger DestroyEmbed event and wait for cleanup when waitForCleanupOnDestroy is true', async () => {
+ embedConfig.setEmbedConfig({
+ ...originalEmbedConfig,
+ waitForCleanupOnDestroy: true,
+ cleanupTimeout: 1000,
+ });
+
+ const appEmbed = new AppEmbed(getRootEl(), {
+ frameParams: {
+ width: '100%',
+ height: '100%',
+ },
+ });
+ await appEmbed.render();
+
+ const triggerSpy = jest.spyOn(appEmbed, 'trigger').mockResolvedValue(null);
+ const removeChildSpy = jest.spyOn(Node.prototype, 'removeChild').mockImplementation(() => getRootEl());
+
+ appEmbed.destroy();
+
+ // Should be called immediately when config is enabled
+ expect(triggerSpy).toHaveBeenCalledWith(HostEvent.DestroyEmbed);
+
+ // Wait for the timeout to complete
+ await new Promise(resolve => setTimeout(resolve, 1100));
+
+ expect(removeChildSpy).toHaveBeenCalled();
+ });
+
+ it('should handle Promise.race with successful cleanup completion', async () => {
+ embedConfig.setEmbedConfig({
+ ...originalEmbedConfig,
+ waitForCleanupOnDestroy: true,
+ cleanupTimeout: 2000,
+ });
+
+ const appEmbed = new AppEmbed(getRootEl(), {
+ frameParams: {
+ width: '100%',
+ height: '100%',
+ },
+ });
+ await appEmbed.render();
+
+ // Mock trigger to resolve quickly (before timeout)
+ const triggerSpy = jest.spyOn(appEmbed, 'trigger').mockImplementation(() =>
+ new Promise(resolve => setTimeout(() => resolve(null), 100))
+ );
+ const removeChildSpy = jest.spyOn(Node.prototype, 'removeChild').mockImplementation(() => getRootEl());
+
+ appEmbed.destroy();
+
+ // Wait for the trigger to complete
+ await new Promise(resolve => setTimeout(resolve, 200));
+
+ expect(triggerSpy).toHaveBeenCalledWith(HostEvent.DestroyEmbed);
+ expect(removeChildSpy).toHaveBeenCalled();
+ });
+
+ it('should handle Promise.race with timeout when cleanup takes too long', async () => {
+ embedConfig.setEmbedConfig({
+ ...originalEmbedConfig,
+ waitForCleanupOnDestroy: true,
+ cleanupTimeout: 100,
+ });
+
+ const appEmbed = new AppEmbed(getRootEl(), {
+ frameParams: {
+ width: '100%',
+ height: '100%',
+ },
+ });
+ await appEmbed.render();
+
+ // Mock trigger to take longer than timeout
+ const triggerSpy = jest.spyOn(appEmbed, 'trigger').mockImplementation(() =>
+ new Promise(resolve => setTimeout(() => resolve(null), 500))
+ );
+ const removeChildSpy = jest.spyOn(Node.prototype, 'removeChild').mockImplementation(() => getRootEl());
+
+ appEmbed.destroy();
+
+ // Wait for the timeout to complete
+ await new Promise(resolve => setTimeout(resolve, 200));
+
+ expect(triggerSpy).toHaveBeenCalledWith(HostEvent.DestroyEmbed);
+ expect(removeChildSpy).toHaveBeenCalled();
+ });
+ });
+ });
+
+ describe('handleApiInterceptEvent', () => {
+ beforeEach(() => {
+ document.body.innerHTML = getDocumentBody();
+ init({
+ thoughtSpotHost: 'tshost',
+ authType: AuthType.None,
+ });
+ jest.clearAllMocks();
+ mockHandleInterceptEvent.mockClear();
+ });
+
+ test('should call handleInterceptEvent with correct parameters', async () => {
+ const searchEmbed = new SearchEmbed(getRootEl(), defaultViewConfig);
+ await searchEmbed.render();
+
+ const mockEventData = {
+ type: EmbedEvent.ApiIntercept,
+ data: JSON.stringify({
+ input: '/prism/?op=GetChartWithData',
+ init: {
+ method: 'POST',
+ body: JSON.stringify({
+ variables: {
+ session: { sessionId: 'session-123' },
+ contextBookId: 'viz-456'
+ }
+ })
+ }
+ })
+ };
+
+ const mockPort: any = {
+ postMessage: jest.fn(),
+ };
+
+ await executeAfterWait(() => {
+ const iframe = getIFrameEl();
+ postMessageToParent(iframe.contentWindow, mockEventData, mockPort);
+ });
+
+ await executeAfterWait(() => {
+ expect(mockHandleInterceptEvent).toHaveBeenCalledTimes(1);
+ const call = mockHandleInterceptEvent.mock.calls[0][0];
+ expect(call.eventData).toEqual(mockEventData);
+ expect(call.executeEvent).toBeInstanceOf(Function);
+ expect(call.getUnsavedAnswerTml).toBeInstanceOf(Function);
+ expect(call.viewConfig).toMatchObject(defaultViewConfig);
+ });
+ });
+
+ test('should execute callbacks through executeEvent function', async () => {
+ let capturedExecuteEvent: any;
+ mockHandleInterceptEvent.mockImplementation((params) => {
+ capturedExecuteEvent = params.executeEvent;
+ });
+
+ const searchEmbed = new SearchEmbed(getRootEl(), defaultViewConfig);
+ const mockCallback = jest.fn();
+ searchEmbed.on(EmbedEvent.CustomAction, mockCallback);
+ await searchEmbed.render();
+
+ const mockEventData = {
+ type: EmbedEvent.ApiIntercept,
+ data: JSON.stringify({
+ input: '/prism/?op=GetChartWithData',
+ init: {}
+ })
+ };
+
+ const mockPort: any = {
+ postMessage: jest.fn(),
+ };
+
+ await executeAfterWait(() => {
+ const iframe = getIFrameEl();
+ postMessageToParent(iframe.contentWindow, mockEventData, mockPort);
+ });
+
+ await executeAfterWait(() => {
+ expect(capturedExecuteEvent).toBeDefined();
+
+ // Simulate executeEvent being called by handleInterceptEvent
+ const testData = { test: 'data' };
+ capturedExecuteEvent(EmbedEvent.CustomAction, testData);
+
+ // executeEvent passes data as first param to callback
+ expect(mockCallback).toHaveBeenCalled();
+ expect(mockCallback.mock.calls[0][0]).toEqual(testData);
+ });
+ });
+
+ test('should call triggerUIPassThrough through getUnsavedAnswerTml function', async () => {
+ let capturedGetUnsavedAnswerTml: any;
+ mockHandleInterceptEvent.mockImplementation((params) => {
+ capturedGetUnsavedAnswerTml = params.getUnsavedAnswerTml;
+ });
+
+ const mockTmlResponse = { tml: 'test-tml-content' };
+ mockProcessTrigger.mockResolvedValue([{ value: mockTmlResponse }]);
+
+ const searchEmbed = new SearchEmbed(getRootEl(), defaultViewConfig);
+ await searchEmbed.render();
+
+ const mockEventData = {
+ type: EmbedEvent.ApiIntercept,
+ data: JSON.stringify({
+ input: '/prism/?op=GetChartWithData',
+ init: {}
+ })
+ };
+
+ const mockPort: any = {
+ postMessage: jest.fn(),
+ };
+
+ await executeAfterWait(() => {
+ const iframe = getIFrameEl();
+ postMessageToParent(iframe.contentWindow, mockEventData, mockPort);
+ });
+
+ await executeAfterWait(async () => {
+ expect(capturedGetUnsavedAnswerTml).toBeDefined();
+
+ // Clear previous calls
+ mockProcessTrigger.mockClear();
+
+ // Simulate getUnsavedAnswerTml being called by
+ // handleInterceptEvent
+ const result = await capturedGetUnsavedAnswerTml({
+ sessionId: 'session-123',
+ vizId: 'viz-456'
+ });
+
+ expect(mockProcessTrigger).toHaveBeenCalled();
+ const callArgs = mockProcessTrigger.mock.calls[0];
+ // Verify UIPassthrough event is triggered with the right params
+ expect(callArgs[1]).toBe('UiPassthrough');
+ expect(callArgs[3]).toMatchObject({
+ type: 'getUnsavedAnswerTML',
+ parameters: {
+ sessionId: 'session-123',
+ vizId: 'viz-456'
+ }
+ });
+ expect(result).toEqual(mockTmlResponse);
+ });
+ });
+
+ test('should pass viewConfig to handleInterceptEvent', async () => {
+ const customViewConfig = {
+ ...defaultViewConfig,
+ interceptUrls: ['/api/test'],
+ interceptTimeout: 5000,
+ };
+
+ const searchEmbed = new SearchEmbed(getRootEl(), customViewConfig);
+ await searchEmbed.render();
+
+ const mockEventData = {
+ type: EmbedEvent.ApiIntercept,
+ data: JSON.stringify({
+ input: '/api/test',
+ init: {}
+ })
+ };
+
+ const mockPort: any = {
+ postMessage: jest.fn(),
+ };
+
+ await executeAfterWait(() => {
+ const iframe = getIFrameEl();
+ postMessageToParent(iframe.contentWindow, mockEventData, mockPort);
+ });
+
+ await executeAfterWait(() => {
+ const call = mockHandleInterceptEvent.mock.calls[0][0];
+ expect(call.viewConfig).toMatchObject({
+ interceptUrls: ['/api/test'],
+ interceptTimeout: 5000,
+ });
+ });
+ });
+
+ test('should handle ApiIntercept event with eventPort', async () => {
+ const searchEmbed = new SearchEmbed(getRootEl(), defaultViewConfig);
+ await searchEmbed.render();
+
+ const mockEventData = {
+ type: EmbedEvent.ApiIntercept,
+ data: JSON.stringify({
+ input: '/prism/?op=GetChartWithData',
+ init: {}
+ })
+ };
+
+ const mockPort: any = {
+ postMessage: jest.fn(),
+ };
+
+ await executeAfterWait(() => {
+ const iframe = getIFrameEl();
+ postMessageToParent(iframe.contentWindow, mockEventData, mockPort);
+ });
+
+ await executeAfterWait(() => {
+ expect(mockHandleInterceptEvent).toHaveBeenCalled();
+
+ // Verify the executeEvent function uses the port
+ const executeEventFn = mockHandleInterceptEvent.mock.calls[0][0].executeEvent;
+ expect(executeEventFn).toBeDefined();
+ });
+ });
+
+ test('should not process non-ApiIntercept events through handleApiInterceptEvent', async () => {
+ const searchEmbed = new SearchEmbed(getRootEl(), defaultViewConfig);
+ await searchEmbed.render();
+
+ const mockEventData = {
+ type: EmbedEvent.Save,
+ data: { answerId: '123' },
+ };
+
+ const mockPort: any = {
+ postMessage: jest.fn(),
+ };
+
+ await executeAfterWait(() => {
+ const iframe = getIFrameEl();
+ postMessageToParent(iframe.contentWindow, mockEventData, mockPort);
+ });
+
+ await executeAfterWait(() => {
+ expect(mockHandleInterceptEvent).not.toHaveBeenCalled();
+ });
+ });
+
+ test('should handle multiple ApiIntercept events', async () => {
+ const searchEmbed = new SearchEmbed(getRootEl(), defaultViewConfig);
+ await searchEmbed.render();
+
+ const mockEventData1 = {
+ type: EmbedEvent.ApiIntercept,
+ data: JSON.stringify({
+ input: '/prism/?op=GetChartWithData',
+ init: {}
+ })
+ };
+
+ const mockEventData2 = {
+ type: EmbedEvent.ApiIntercept,
+ data: JSON.stringify({
+ input: '/prism/?op=LoadContextBook',
+ init: {}
+ })
+ };
+
+ const mockPort: any = {
+ postMessage: jest.fn(),
+ };
+
+ await executeAfterWait(() => {
+ const iframe = getIFrameEl();
+ postMessageToParent(iframe.contentWindow, mockEventData1, mockPort);
+ });
+
+ await executeAfterWait(() => {
+ postMessageToParent(getIFrameEl().contentWindow, mockEventData2, mockPort);
+ });
+
+ await executeAfterWait(() => {
+ expect(mockHandleInterceptEvent).toHaveBeenCalledTimes(2);
+ });
+ });
+
+ test('should pass eventPort to executeCallbacks', async () => {
+ let capturedExecuteEvent: any;
+ mockHandleInterceptEvent.mockImplementation((params) => {
+ capturedExecuteEvent = params.executeEvent;
+ });
+
+ const searchEmbed = new SearchEmbed(getRootEl(), defaultViewConfig);
+ const mockCallback = jest.fn();
+ searchEmbed.on(EmbedEvent.ApiIntercept, mockCallback);
+ await searchEmbed.render();
+
+ const mockEventData = {
+ type: EmbedEvent.ApiIntercept,
+ data: JSON.stringify({
+ input: '/prism/?op=GetChartWithData',
+ init: {}
+ })
+ };
+
+ const mockPort: any = {
+ postMessage: jest.fn(),
+ };
+
+ await executeAfterWait(() => {
+ const iframe = getIFrameEl();
+ postMessageToParent(iframe.contentWindow, mockEventData, mockPort);
+ });
+
+ await executeAfterWait(() => {
+ expect(capturedExecuteEvent).toBeDefined();
+
+ // Call executeEvent with a response
+ const responseData = { execute: true };
+ capturedExecuteEvent(EmbedEvent.ApiIntercept, responseData);
+
+ // Verify the callback was invoked with the data
+ expect(mockCallback).toHaveBeenCalled();
+ expect(mockCallback.mock.calls[0][0]).toEqual(responseData);
+ });
+ });
+
+ test('should handle getUnsavedAnswerTml with empty response', async () => {
+ let capturedGetUnsavedAnswerTml: any;
+ mockHandleInterceptEvent.mockImplementation((params) => {
+ capturedGetUnsavedAnswerTml = params.getUnsavedAnswerTml;
+ });
+
+ mockProcessTrigger.mockResolvedValue([]);
+
+ const searchEmbed = new SearchEmbed(getRootEl(), defaultViewConfig);
+ await searchEmbed.render();
+
+ const mockEventData = {
+ type: EmbedEvent.ApiIntercept,
+ data: JSON.stringify({
+ input: '/prism/?op=GetChartWithData',
+ init: {}
+ })
+ };
+
+ const mockPort: any = {
+ postMessage: jest.fn(),
+ };
+
+ await executeAfterWait(() => {
+ const iframe = getIFrameEl();
+ postMessageToParent(iframe.contentWindow, mockEventData, mockPort);
+ });
+
+ await executeAfterWait(async () => {
+ expect(capturedGetUnsavedAnswerTml).toBeDefined();
+
+ const result = await capturedGetUnsavedAnswerTml({
+ sessionId: 'session-123',
+ vizId: 'viz-456'
+ });
+
+ expect(result).toBeUndefined();
+ });
+ });
+
+ test('should work with LiveboardEmbed', async () => {
+ const liveboardEmbed = new LiveboardEmbed(getRootEl(), {
+ ...defaultViewConfig,
+ liveboardId: 'test-liveboard-id',
+ });
+ await liveboardEmbed.render();
+
+ const mockEventData = {
+ type: EmbedEvent.ApiIntercept,
+ data: JSON.stringify({
+ input: '/prism/?op=LoadContextBook',
+ init: {}
+ })
+ };
+
+ const mockPort: any = {
+ postMessage: jest.fn(),
+ };
+
+ await executeAfterWait(() => {
+ const iframe = getIFrameEl();
+ postMessageToParent(iframe.contentWindow, mockEventData, mockPort);
+ });
+
+ await executeAfterWait(() => {
+ expect(mockHandleInterceptEvent).toHaveBeenCalledTimes(1);
+ expect(mockHandleInterceptEvent).toHaveBeenCalledWith(
+ expect.objectContaining({
+ eventData: mockEventData,
+ })
+ );
+ });
+ });
+ });
});
diff --git a/src/embed/ts-embed.ts b/src/embed/ts-embed.ts
index 546cb2228..1687fe5a7 100644
--- a/src/embed/ts-embed.ts
+++ b/src/embed/ts-embed.ts
@@ -71,6 +71,7 @@ import { getEmbedConfig } from './embedConfig';
import { ERROR_MESSAGE } from '../errors';
import { getPreauthInfo } from '../utils/sessionInfoService';
import { HostEventClient } from './hostEventClient/host-event-client';
+import { getInterceptInitData, handleInterceptEvent, processApiInterceptResponse, processLegacyInterceptResponse } from '../api-intercept';
const { version } = pkgInfo;
@@ -199,11 +200,11 @@ export class TsEmbed {
uploadMixpanelEvent(MIXPANEL_EVENT.VISUAL_SDK_EMBED_CREATE, {
...viewConfig,
});
- this.hostEventClient = new HostEventClient(this.iFrame);
+ const embedConfig = getEmbedConfig();
+ this.embedConfig = embedConfig;
+ this.hostEventClient = new HostEventClient(this.iFrame);
this.isReadyForRenderPromise = getInitPromise().then(async () => {
- const embedConfig = getEmbedConfig();
- this.embedConfig = embedConfig;
if (!embedConfig.authTriggerContainer && !embedConfig.useEventForSAMLPopup) {
this.embedConfig.authTriggerContainer = domSelector;
}
@@ -312,31 +313,11 @@ export class TsEmbed {
private subscribedListeners: Record = {};
/**
- * Adds a global event listener to window for "message" events.
- * ThoughtSpot detects if a particular event is targeted to this
- * embed instance through an identifier contained in the payload,
- * and executes the registered callbacks accordingly.
+ * Subscribe to network events (online/offline) that should
+ * work regardless of auth status
*/
- private subscribeToEvents() {
- this.unsubscribeToEvents();
- const messageEventListener = (event: MessageEvent) => {
- const eventType = this.getEventType(event);
- const eventPort = this.getEventPort(event);
- const eventData = this.formatEventData(event, eventType);
- if (event.source === this.iFrame.contentWindow) {
- this.executeCallbacks(
- eventType,
- processEventData(
- eventType,
- eventData,
- this.thoughtSpotHost,
- this.isPreRendered ? this.preRenderWrapper : this.el,
- ),
- eventPort,
- );
- }
- };
- window.addEventListener('message', messageEventListener);
+ private subscribeToNetworkEvents() {
+ this.unsubscribeToNetworkEvents();
const onlineEventListener = (e: Event) => {
this.trigger(HostEvent.Reload);
@@ -344,7 +325,7 @@ export class TsEmbed {
window.addEventListener('online', onlineEventListener);
const offlineEventListener = (e: Event) => {
- const offlineWarning = 'Network not Detected. Embed is offline. Please reconnect and refresh';
+ const offlineWarning = ERROR_MESSAGE.OFFLINE_WARNING;
this.executeCallbacks(EmbedEvent.Error, {
offlineWarning,
});
@@ -352,11 +333,87 @@ export class TsEmbed {
};
window.addEventListener('offline', offlineEventListener);
- this.subscribedListeners = {
- message: messageEventListener,
- online: onlineEventListener,
- offline: offlineEventListener,
- };
+ this.subscribedListeners.online = onlineEventListener;
+ this.subscribedListeners.offline = offlineEventListener;
+ }
+
+ private handleApiInterceptEvent({ eventData, eventPort }: { eventData: any, eventPort: MessagePort | void }) {
+ const executeEvent = (_eventType: EmbedEvent, data: any) => {
+ this.executeCallbacks(_eventType, data, eventPort);
+ }
+ const getUnsavedAnswerTml = async (props: { sessionId?: string, vizId?: string }) => {
+ const response = await this.triggerUIPassThrough(UIPassthroughEvent.GetUnsavedAnswerTML, props);
+ return response.filter((item) => item.value)?.[0]?.value;
+ }
+ handleInterceptEvent({ eventData, executeEvent, viewConfig: this.viewConfig, getUnsavedAnswerTml });
+ }
+
+ private messageEventListener = (event: MessageEvent) => {
+ const eventType = this.getEventType(event);
+ const eventPort = this.getEventPort(event);
+ const eventData = this.formatEventData(event, eventType);
+ if (event.source === this.iFrame.contentWindow) {
+ const processedEventData = processEventData(
+ eventType,
+ eventData,
+ this.thoughtSpotHost,
+ this.isPreRendered ? this.preRenderWrapper : this.el,
+ );
+
+ if (eventType === EmbedEvent.ApiIntercept) {
+ this.handleApiInterceptEvent({ eventData, eventPort });
+ return;
+ }
+
+ this.executeCallbacks(
+ eventType,
+ processedEventData,
+ eventPort,
+ );
+ }
+ };
+ /**
+ * Subscribe to message events that depend on successful iframe setup
+ */
+ private subscribeToMessageEvents() {
+ this.unsubscribeToMessageEvents();
+
+ window.addEventListener('message', this.messageEventListener);
+
+ this.subscribedListeners.message = this.messageEventListener;
+ }
+
+
+ /**
+ * Adds event listeners for both network and message events.
+ * This maintains backward compatibility with the existing method.
+ * Adds a global event listener to window for "message" events.
+ * ThoughtSpot detects if a particular event is targeted to this
+ * embed instance through an identifier contained in the payload,
+ * and executes the registered callbacks accordingly.
+ */
+ private subscribeToEvents() {
+ this.subscribeToNetworkEvents();
+ this.subscribeToMessageEvents();
+ }
+
+
+ private unsubscribeToNetworkEvents() {
+ if (this.subscribedListeners.online) {
+ window.removeEventListener('online', this.subscribedListeners.online);
+ delete this.subscribedListeners.online;
+ }
+ if (this.subscribedListeners.offline) {
+ window.removeEventListener('offline', this.subscribedListeners.offline);
+ delete this.subscribedListeners.offline;
+ }
+ }
+
+ private unsubscribeToMessageEvents() {
+ if (this.subscribedListeners.message) {
+ window.removeEventListener('message', this.subscribedListeners.message);
+ delete this.subscribedListeners.message;
+ }
}
private unsubscribeToEvents() {
@@ -391,7 +448,7 @@ export class TsEmbed {
message: customActionsResult.errors,
});
}
- return {
+ const baseInitData = {
customisations: getCustomisations(this.embedConfig, this.viewConfig),
authToken,
runtimeFilterParams: this.viewConfig.excludeRuntimeFiltersfromURL
@@ -410,7 +467,10 @@ export class TsEmbed {
this.embedConfig.customVariablesForThirdPartyTools || {},
hiddenListColumns: this.viewConfig.hiddenListColumns || [],
customActions: customActionsResult.actions,
+ ...getInterceptInitData(this.viewConfig),
};
+
+ return baseInitData;
}
protected async getAppInitData() {
@@ -494,10 +554,10 @@ export class TsEmbed {
this.on(EmbedEvent.APP_INIT, this.appInitCb, { start: false }, true);
this.on(EmbedEvent.AuthExpire, this.updateAuthToken, { start: false }, true);
this.on(EmbedEvent.IdleSessionTimeout, this.idleSessionTimeout, { start: false }, true);
-
- const embedListenerReadyHandler = this.createEmbedContainerHandler(EmbedEvent.EmbedListenerReady);
+
+ const embedListenerReadyHandler = this.createEmbedContainerHandler(EmbedEvent.EmbedListenerReady);
this.on(EmbedEvent.EmbedListenerReady, embedListenerReadyHandler, { start: false }, true);
-
+
const authInitHandler = this.createEmbedContainerHandler(EmbedEvent.AuthInit);
this.on(EmbedEvent.AuthInit, authInitHandler, { start: false }, true);
};
@@ -520,6 +580,12 @@ export class TsEmbed {
return `${basePath}#`;
}
+ protected getUpdateEmbedParamsObject() {
+ let queryParams = this.getEmbedParamsObject();
+ queryParams = { ...this.viewConfig, ...queryParams, ...this.getAppInitData() };
+ return queryParams;
+ }
+
/**
* Common query params set for all the embed modes.
* @param queryParams
@@ -702,10 +768,15 @@ export class TsEmbed {
}
protected getEmbedParams() {
- const queryParams = this.getBaseQueryParams();
+ const queryParams = this.getEmbedParamsObject();
return getQueryParamString(queryParams);
}
+ protected getEmbedParamsObject() {
+ const params = this.getBaseQueryParams();
+ return params;
+ }
+
protected getRootIframeSrc() {
const query = this.getEmbedParams();
return this.getEmbedBasePath(query);
@@ -787,6 +858,9 @@ export class TsEmbed {
uploadMixpanelEvent(MIXPANEL_EVENT.VISUAL_SDK_RENDER_START);
+ // Always subscribe to network events, regardless of auth status
+ this.subscribeToNetworkEvents();
+
return getAuthPromise()
?.then((isLoggedIn: boolean) => {
if (!isLoggedIn) {
@@ -832,7 +906,9 @@ export class TsEmbed {
el.remove();
});
}
- this.subscribeToEvents();
+ // Subscribe to message events only after successful
+ // auth and iframe setup
+ this.subscribeToMessageEvents();
})
.catch((error) => {
nextInQueue();
@@ -972,6 +1048,30 @@ export class TsEmbed {
this.iFrame.style.height = getCssDimension(height);
}
+ /**
+ * We can process the customer given payload before sending it to the embed port
+ * Embed event handler -> responder -> createEmbedEventResponder -> send response
+ * @param eventPort The event port for a specific MessageChannel
+ * @param eventType The event type
+ * @returns
+ */
+ protected createEmbedEventResponder = (eventPort: MessagePort | void, eventType: EmbedEvent) => {
+
+ const getPayloadToSend = (payload: any) => {
+ if (eventType === EmbedEvent.OnBeforeGetVizDataIntercept) {
+ return processLegacyInterceptResponse(payload);
+ }
+ if (eventType === EmbedEvent.ApiIntercept) {
+ return processApiInterceptResponse(payload);
+ }
+ return payload;
+ }
+ return (payload: any) => {
+ const payloadToSend = getPayloadToSend(payload);
+ this.triggerEventOnPort(eventPort, payloadToSend);
+ }
+ }
+
/**
* Executes all registered event handlers for a particular event type
* @param eventType The event type
@@ -996,9 +1096,8 @@ export class TsEmbed {
// payload
|| (!callbackObj.options.start && dataStatus === embedEventStatus.END)
) {
- callbackObj.callback(data, (payload) => {
- this.triggerEventOnPort(eventPort, payload);
- });
+ const responder = this.createEmbedEventResponder(eventPort, eventType);
+ callbackObj.callback(data, responder);
}
});
}
@@ -1141,10 +1240,10 @@ export class TsEmbed {
}
/**
- * @hidden
- * Internal state to track if the embed container is loaded.
- * This is used to trigger events after the embed container is loaded.
- */
+ * @hidden
+ * Internal state to track if the embed container is loaded.
+ * This is used to trigger events after the embed container is loaded.
+ */
public isEmbedContainerLoaded = false;
/**
@@ -1191,7 +1290,7 @@ export class TsEmbed {
} else {
logger.debug('pushing callback to embedContainerReadyCallbacks', callback);
this.embedContainerReadyCallbacks.push(callback);
- }
+ }
}
protected createEmbedContainerHandler = (source: EmbedEvent.AuthInit | EmbedEvent.EmbedListenerReady) => () => {
@@ -1232,6 +1331,16 @@ export class TsEmbed {
this.handleError('Host event type is undefined');
return null;
}
+
+ // Check if iframe exists before triggering -
+ // this prevents the error when auth fails
+ if (!this.iFrame) {
+ logger.debug(
+ `Cannot trigger ${messageType} - iframe not available (likely due to auth failure)`,
+ );
+ return null;
+ }
+
// send an empty object, this is needed for liveboard default handlers
return this.hostEventClient.triggerHostEvent(messageType, data);
}
@@ -1279,13 +1388,20 @@ export class TsEmbed {
* Creates the preRender shell
* @param showPreRenderByDefault - Show the preRender after render, hidden by default
*/
- public async preRender(showPreRenderByDefault = false): Promise {
+
+ public async preRender(showPreRenderByDefault = false, replaceExistingPreRender = false): Promise {
if (!this.viewConfig.preRenderId) {
logger.error(ERROR_MESSAGE.PRERENDER_ID_MISSING);
return this;
}
this.isPreRendered = true;
this.showPreRenderByDefault = showPreRenderByDefault;
+
+ const isAlreadyRendered = this.connectPreRendered();
+ if (isAlreadyRendered && !replaceExistingPreRender) {
+ return this;
+ }
+
return this.handleRenderForPrerender();
}
@@ -1328,8 +1444,21 @@ export class TsEmbed {
public destroy(): void {
try {
this.removeFullscreenChangeHandler();
- this.insertedDomEl?.parentNode.removeChild(this.insertedDomEl);
this.unsubscribeToEvents();
+ if (!getEmbedConfig().waitForCleanupOnDestroy) {
+ this.trigger(HostEvent.DestroyEmbed)
+ this.insertedDomEl?.parentNode?.removeChild(this.insertedDomEl);
+ } else {
+ const cleanupTimeout = getEmbedConfig().cleanupTimeout;
+ Promise.race([
+ this.trigger(HostEvent.DestroyEmbed),
+ new Promise((resolve) => setTimeout(resolve, cleanupTimeout)),
+ ]).then(() => {
+ this.insertedDomEl?.parentNode?.removeChild(this.insertedDomEl);
+ }).catch((e) => {
+ logger.log('Error destroying TS Embed', e);
+ });
+ }
} catch (e) {
logger.log('Error destroying TS Embed', e);
}
@@ -1407,8 +1536,14 @@ export class TsEmbed {
return this.preRender(true);
}
this.validatePreRenderViewConfig(this.viewConfig);
+ logger.debug('triggering UpdateEmbedParams', this.viewConfig);
+ this.executeAfterEmbedContainerLoaded(() => {
+ this.trigger(HostEvent.UpdateEmbedParams, this.getUpdateEmbedParamsObject());
+ });
}
+ this.beforePrerenderVisible();
+
if (this.el) {
this.syncPreRenderStyle();
if (!this.viewConfig.doNotTrackPreRenderSize) {
@@ -1426,8 +1561,6 @@ export class TsEmbed {
}
}
- this.beforePrerenderVisible();
-
removeStyleProperties(this.preRenderWrapper, ['z-index', 'opacity', 'pointer-events']);
this.subscribeToEvents();
diff --git a/src/errors.ts b/src/errors.ts
index efbfc3edd..38ff5f817 100644
--- a/src/errors.ts
+++ b/src/errors.ts
@@ -1,6 +1,6 @@
export const ERROR_MESSAGE = {
INVALID_THOUGHTSPOT_HOST: 'Error parsing ThoughtSpot host. Please provide a valid URL.',
- SPOTTER_EMBED_WORKSHEED_ID_NOT_FOUND: 'Please select a worksheet to get started',
+ SPOTTER_EMBED_WORKSHEED_ID_NOT_FOUND: 'Please select a Model to get started',
LIVEBOARD_VIZ_ID_VALIDATION: 'Please select a Liveboard to embed.',
TRIGGER_TIMED_OUT: 'Trigger timed-out in getting a response',
SEARCHEMBED_BETA_WRANING_MESSAGE: 'SearchEmbed is in Beta in this release.',
@@ -10,6 +10,7 @@ export const ERROR_MESSAGE = {
SDK_NOT_INITIALIZED: 'SDK not initialized',
SESSION_INFO_FAILED: 'Failed to get session information',
INVALID_TOKEN_ERROR: 'Received invalid token from getAuthToken callback or authToken endpoint.',
+ INVALID_TOKEN_TYPE_ERROR: 'Expected getAuthToken to return a string, but received a {invalidType}.',
MIXPANEL_TOKEN_NOT_FOUND: 'Mixpanel token not found in session info',
PRERENDER_ID_MISSING: 'PreRender ID is required for preRender',
SYNC_STYLE_CALLED_BEFORE_RENDER: 'PreRender should be called before using syncPreRenderStyle',
@@ -18,6 +19,7 @@ export const ERROR_MESSAGE = {
MISSING_REPORTING_OBSERVER: 'ReportingObserver not supported',
RENDER_CALLED_BEFORE_INIT: 'Looks like render was called before calling init, the render won\'t start until init is called.\nFor more info check\n1. https://developers.thoughtspot.com/docs/Function_init#_init\n2.https://developers.thoughtspot.com/docs/getting-started#initSdk',
SPOTTER_AGENT_NOT_INITIALIZED: 'SpotterAgent not initialized',
+ OFFLINE_WARNING : 'Network not Detected. Embed is offline. Please reconnect and refresh',
};
export const CUSTOM_ACTIONS_ERROR_MESSAGE = {
diff --git a/src/index.ts b/src/index.ts
index 9b4c18fde..9d38a3a54 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -64,6 +64,7 @@ import {
ListPageColumns,
CustomActionsPosition,
CustomActionTarget,
+ InterceptedApiType,
} from './types';
import { CustomCssVariables } from './css-variables';
import { SageEmbed, SageViewConfig } from './embed/sage';
@@ -152,6 +153,7 @@ export {
DataPanelCustomColumnGroupsAccordionState,
CustomActionsPosition,
CustomActionTarget,
+ InterceptedApiType,
};
export { resetCachedAuthToken } from './authToken';
diff --git a/src/react/all-types-export.spec.ts b/src/react/all-types-export.spec.ts
index 07af6fd2e..aa88f7335 100644
--- a/src/react/all-types-export.spec.ts
+++ b/src/react/all-types-export.spec.ts
@@ -6,6 +6,6 @@ describe('Exports', () => {
});
it('should not have undefined exports', () => {
- Object.keys(Exports).forEach((exportKey) => expect(Boolean(Exports[exportKey])).toBe(true));
+ Object.entries(Exports).forEach(([, exportValue]) => {expect(Boolean(exportValue)).toBe(true);});
});
});
diff --git a/src/react/all-types-export.ts b/src/react/all-types-export.ts
index 2f4872026..eee507bfc 100644
--- a/src/react/all-types-export.ts
+++ b/src/react/all-types-export.ts
@@ -59,4 +59,7 @@ export {
resetCachedAuthToken,
UIPassthroughEvent,
DataPanelCustomColumnGroupsAccordionState,
+ InterceptedApiType,
+ CustomActionsPosition,
+ CustomActionTarget,
} from '../index';
diff --git a/src/react/index.tsx b/src/react/index.tsx
index 38fcc5a37..81c544984 100644
--- a/src/react/index.tsx
+++ b/src/react/index.tsx
@@ -94,10 +94,12 @@ const componentFactory =
+
) : (
-
+
);
},
);
diff --git a/src/react/util.spec.tsx b/src/react/util.spec.tsx
new file mode 100644
index 000000000..b09085107
--- /dev/null
+++ b/src/react/util.spec.tsx
@@ -0,0 +1,88 @@
+import { getViewPropsAndListeners } from './util';
+import { EmbedEvent, MessageCallback } from '../types';
+
+describe('React util functions', () => {
+ describe('getViewPropsAndListeners', () => {
+ test('should return empty viewConfig and listeners for empty props', () => {
+ const props = {};
+ const result = getViewPropsAndListeners(props);
+
+ expect(result.viewConfig).toEqual({});
+ expect(result.listeners).toEqual({});
+ });
+
+ test('should separate view config properties from props', () => {
+ const props = {
+ frameParams: { width: 100, height: 200 },
+ showLiveboardTitle: true,
+ liveboardId: 'test-liveboard-id',
+ vizId: 'test-viz-id',
+ className: 'test-class',
+ style: { color: 'red' },
+ };
+
+ const result = getViewPropsAndListeners(props);
+
+ expect(result.viewConfig).toEqual({
+ frameParams: { width: 100, height: 200 },
+ showLiveboardTitle: true,
+ liveboardId: 'test-liveboard-id',
+ vizId: 'test-viz-id',
+ className: 'test-class',
+ style: { color: 'red' },
+ });
+ expect(result.listeners).toEqual({});
+ });
+
+ test('should separate event handlers from props', () => {
+ const onInit: MessageCallback = jest.fn();
+ const onLoad: MessageCallback = jest.fn();
+ const onData: MessageCallback = jest.fn();
+
+ const props = {
+ onInit,
+ onLoad,
+ onData,
+ };
+
+ const result = getViewPropsAndListeners(props);
+
+ expect(result.viewConfig).toEqual({});
+ expect(result.listeners).toEqual({
+ [EmbedEvent.Init]: onInit,
+ [EmbedEvent.Load]: onLoad,
+ [EmbedEvent.Data]: onData,
+ });
+ });
+
+ test('should handle both view config and event handlers', () => {
+ const onInit: MessageCallback = jest.fn();
+ const onAuthInit: MessageCallback = jest.fn();
+ const onQueryChanged: MessageCallback = jest.fn();
+
+ const props = {
+ liveboardId: 'test-liveboard-id',
+ showLiveboardTitle: false,
+ frameParams: { height: 500 },
+ onInit,
+ onAuthInit,
+ onQueryChanged,
+ className: 'embed-container',
+ };
+
+ const result = getViewPropsAndListeners(props);
+
+ expect(result.viewConfig).toEqual({
+ liveboardId: 'test-liveboard-id',
+ showLiveboardTitle: false,
+ frameParams: { height: 500 },
+ className: 'embed-container',
+ });
+ expect(result.listeners).toEqual({
+ [EmbedEvent.Init]: onInit,
+ [EmbedEvent.AuthInit]: onAuthInit,
+ [EmbedEvent.QueryChanged]: onQueryChanged,
+ });
+ });
+ });
+});
diff --git a/src/react/util.ts b/src/react/util.ts
index c08e8fb05..d4a168a78 100644
--- a/src/react/util.ts
+++ b/src/react/util.ts
@@ -24,10 +24,10 @@ export function getViewPropsAndListeners<
return Object.keys(props).reduce(
(accu, key) => {
if (key.startsWith('on')) {
- const eventName = key.substr(2);
- accu.listeners[EmbedEvent[eventName]] = props[key];
+ const eventName = key.substr(2) as any;
+ (accu.listeners as any)[EmbedEvent[eventName as keyof typeof EmbedEvent] as any] = props[key as keyof T];
} else {
- accu.viewConfig[key] = props[key];
+ (accu.viewConfig as any)[key] = props[key as keyof T];
}
return accu;
},
diff --git a/src/types.ts b/src/types.ts
index 210ee6e56..721253b15 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -14,7 +14,7 @@ import type { SessionInterface } from './utils/graphql/answerService/answerServi
* the embedded app
* @group Authentication / Init
*/
-
+
export enum AuthType {
/**
* No authentication on the SDK. Pass-through to the embedded App. Alias for
@@ -231,12 +231,12 @@ export type DOMSelector = string | HTMLElement;
* Use {@link CustomCssVariables} or css rules.
*/
export interface customCssInterface {
- /**
- * The custom css variables, which can be set.
- * The variables are available in the {@link CustomCssVariables}
- * interface. For more information, see
- * link:https://developers.thoughtspot.com/docs/css-variables-reference[CSS variable reference].
- */
+ /**
+ * The custom css variables, which can be set.
+ * The variables are available in the {@link CustomCssVariables}
+ * interface. For more information, see
+ * link:https://developers.thoughtspot.com/docs/css-variables-reference[CSS variable reference].
+ */
variables?: CustomCssVariables;
/**
* Can be used to define a custom font face
@@ -262,7 +262,7 @@ export interface customCssInterface {
* };
* ```
*/
-
+
rules_UNSTABLE?: {
[selector: string]: {
[declaration: string]: string;
@@ -648,7 +648,7 @@ export interface EmbedConfig {
* ```
* @version SDK 1.37.0 | ThoughtSpot: 10.8.0.cl
*/
- customVariablesForThirdPartyTools?: Record< string, any >;
+ customVariablesForThirdPartyTools?: Record;
disablePreauthCache?: boolean;
@@ -681,17 +681,30 @@ export interface EmbedConfig {
* ... // other embed config options
* customActions: [
* {
- * name: 'customAction',
+ * name: 'customAction',
* id: 'customAction',
* target: CustomActionTarget.VISUALIZATION,
* position: CustomActionPosition.PRIMARY,
* }
- * }
+ * }
* ]
* })
* ```
*/
customActions?: CustomAction[];
+
+ /**
+ * Wait for the cleanup to be completed before destroying the embed.
+ * @version SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl
+ * @default false
+ */
+ waitForCleanupOnDestroy?: boolean;
+ /**
+ * The timeout for the cleanup to be completed before destroying the embed.
+ * @version SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl
+ * @default 5000
+ */
+ cleanupTimeout?: number;
}
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
@@ -726,7 +739,7 @@ export interface FrameParams {
/**
* The common configuration object for an embedded view.
*/
-export interface BaseViewConfig {
+export interface BaseViewConfig extends ApiInterceptFlags {
/**
* @hidden
*/
@@ -757,7 +770,7 @@ export interface BaseViewConfig {
/**
* @hidden
*/
-
+
styleSheet__unstable?: string;
/**
* The list of actions to disable from the primary menu, more menu
@@ -957,7 +970,7 @@ export interface BaseViewConfig {
* ```
* @version SDK: 1.31.2 | ThoughtSpot: 10.0.0.cl
*/
-
+
enableV2Shell_experimental?: boolean;
/**
* For internal tracking of the embed component type.
@@ -1045,7 +1058,7 @@ export interface BaseViewConfig {
/**
* Show alert messages and toast messages in the embed.
* Supported embed in all embed types.
- *
+ *
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
* @example
* ```js
@@ -1062,7 +1075,7 @@ export interface BaseViewConfig {
* actions enable users to trigger custom workflows — such as navigating to an
* external app, calling an API, or opening a modal — based on the data context of
* what they clicked can be used to trigger custom logic when the action is clicked.
- *
+ *
* Supported embed types: `AppEmbed`, `LiveboardEmbed`, `SageEmbed`, `SearchEmbed`, `SpotterEmbed`
* @version SDK: 1.43.0 | ThoughtSpot: 10.14.0.cl
* @example
@@ -1073,12 +1086,12 @@ export interface BaseViewConfig {
* ... // other embed config options
* customActions: [
* {
- * name: 'customAction',
+ * name: 'customAction',
* id: 'customAction',
* target: CustomActionTarget.VISUALIZATION,
* position: CustomActionPosition.PRIMARY,
* }
- * }
+ * }
* ]
* })
* ```
@@ -1094,7 +1107,7 @@ export interface HomePageConfig {
* Hide list page columns
* For example: hiddenListColumns = [ListPageColumns.Author]
*
- * **Note**: This option is currently available only in full app embedding and requires importing the ListPageColumns enum.
+ * **Note**: This option is currently available only in full app embedding and requires importing the ListPageColumns enum.
* At present, it can be used with Liveboard and Answer list pages, and starting with version 10.14.0.cl, it will also be supported for the Home page.
*
* Supported embed types: `AppEmbed`
@@ -1102,7 +1115,7 @@ export interface HomePageConfig {
* @example
* ```js
* import { ListPageColumns } from '@thoughtspot/visual-embed-sdk';
- *
+ *
* const embed = new AppEmbed('#tsEmbed', {
* ... //other embed view config
* hiddenListColumns : [ListPageColumns.Favorite,ListPageColumns.Author],
@@ -1124,7 +1137,7 @@ export interface HomePageConfig {
* @example
* ```js
* import { HomepageModule } from '@thoughtspot/visual-embed-sdk';
- *
+ *
* const embed = new AppEmbed('#tsEmbed', {
* ... //other embed view config
* hiddenHomepageModules : [HomepageModule.Favorite,HomepageModule.Learning],
@@ -1146,7 +1159,7 @@ export interface HomePageConfig {
* @example
* ```js
* import { HomepageModule } from '@thoughtspot/visual-embed-sdk';
- *
+ *
* const embed = new AppEmbed('#tsEmbed', {
* ... //other embed view config
* reorderedHomepageModules:[HomepageModule.Favorite,HomepageModule.MyLibrary],
@@ -1163,7 +1176,7 @@ export interface HomePageConfig {
* @example
* ```js
* import { HomeLeftNavItem } from '@thoughtspot/visual-embed-sdk';
- *
+ *
* const embed = new AppEmbed('#tsEmbed', {
* ... //other embed view config
* hiddenHomeLeftNavItems : [HomeLeftNavItem.Home,HomeLeftNavItem.Answers],
@@ -1282,7 +1295,7 @@ export interface SearchLiveboardCommonViewConfig {
*
* Supported embed types: `SageEmbed`, `AppEmbed`, `SearchBarEmbed`, `LiveboardEmbed`, `SearchEmbed`
* @default true
- * @version SDK: 1.43.0 | ThoughtSpot Cloud: 10.14.0.cl
+ * @version SDK: 1.41.1 | ThoughtSpot Cloud: 10.14.0.cl
* @example
* ```js
* // Replace with embed component name. For example, SageEmbed, AppEmbed, or SearchBarEmbed
@@ -1431,7 +1444,7 @@ export interface LiveboardAppEmbedViewConfig {
showLiveboardVerifiedBadge?: boolean;
/**
* This flag is used to enable/disable hide irrelevant filters in Liveboard tab
- *
+ *
* **Note**: This feature is supported only if compact header is enabled on your Liveboard. To enable compact header, use the `isLiveboardCompactHeaderEnabled` attribute.
*
* Supported embed types: `AppEmbed`, `LiveboardEmbed`
@@ -1481,7 +1494,7 @@ export interface LiveboardAppEmbedViewConfig {
* ```
*/
enableAskSage?: boolean;
- /**
+ /**
* This flag is used to show or hide checkboxes for including or excluding
* the cover and filters pages in the Liveboard PDF.
*
@@ -1512,10 +1525,62 @@ export interface LiveboardAppEmbedViewConfig {
* ```
*/
liveboardXLSXCSVDownload?: boolean;
+ /**
+ * This flag is used to enable or disable the new centralized Liveboard filter UX (v2).
+ * When enabled, a unified modal is used to manage and update multiple filters at once,
+ * replacing the older individual filter interactions.
+ * To enable this feature on your instance, contact ThoughtSpot Support.
+ *
+ * Supported embed types: `AppEmbed`, `LiveboardEmbed`
+ * @version SDK: 1.42.0 | ThoughtSpot: 10.15.0.cl
+ * @example
+ * ```js
+ * // Replace with embed component name. For example, AppEmbed or LiveboardEmbed
+ * const embed = new ('#tsEmbed', {
+ * ... // other embed view config
+ * isCentralizedLiveboardFilterUXEnabled: true,
+ * })
+ * ```
+ */
+ isCentralizedLiveboardFilterUXEnabled?: boolean;
+ /**
+ * This flag is used to enable or disable the link parameters in liveboard.
+ *
+ * Supported embed types: `AppEmbed`, `LiveboardEmbed`
+ * @version SDK: 1.42.0 | ThoughtSpot: 10.14.0.cl
+ * @example
+ * ```js
+ * // Replace with embed component name. For example, AppEmbed or LiveboardEmbed
+ * const embed = new ('#tsEmbed', {
+ * ... // other embed view config
+ * isLinkParametersEnabled: true,
+ * })
+ * ```
+ */
+ isLinkParametersEnabled?: boolean;
+ /**
+ * This flag is used to enable or disable the enhanced filter interactivity in liveboard.
+ *
+ * Supported embed types: `AppEmbed`, `LiveboardEmbed`
+ * @version SDK: 1.42.0 | ThoughtSpot: 10.15.0.cl
+ * @example
+ * ```js
+ * // Replace with embed component name. For example, AppEmbed or LiveboardEmbed
+ * const embed = new ('#tsEmbed', {
+ * ... // other embed view config
+ * isEnhancedFilterInteractivityEnabled: true,
+ * })
+ * ```
+ */
+ isEnhancedFilterInteractivityEnabled?: boolean;
}
-export interface AllEmbedViewConfig extends BaseViewConfig, SearchLiveboardCommonViewConfig, HomePageConfig, LiveboardAppEmbedViewConfig {}
+export interface AllEmbedViewConfig
+ extends BaseViewConfig,
+ SearchLiveboardCommonViewConfig,
+ HomePageConfig,
+ LiveboardAppEmbedViewConfig {}
/**
* MessagePayload: Embed event payload: message type, data and status (start/end)
@@ -1576,7 +1641,7 @@ export type QueryParams = {
/**
* A map of the supported runtime filter operations
*/
-
+
export enum RuntimeFilterOp {
/**
* Equals
@@ -1647,7 +1712,7 @@ export enum RuntimeFilterOp {
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl, 10.1.0.sw
*/
-
+
export enum HomepageModule {
/**
* Search bar
@@ -1680,7 +1745,7 @@ export enum HomepageModule {
* **Note**: This option is applicable to full app embedding only.
* @version SDK: 1.38.0 | ThoughtSpot: 10.9.0.cl
*/
-
+
export enum ListPageColumns {
/**
* Favourite
@@ -1778,7 +1843,7 @@ export interface RuntimeParameter {
* ```
* @group Events
*/
-
+
export enum EmbedEvent {
/**
* Rendering has initialized.
@@ -1820,7 +1885,7 @@ export enum EmbedEvent {
*/
Load = 'load',
/**
- * Data pertaining to an Answer or Liveboard is received.
+ * Data pertaining to an Answer, Liveboard or Spotter visualization is received.
* The event payload includes the raw data of the object.
* @return data - Answer of Liveboard data
* @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
@@ -2241,6 +2306,17 @@ export enum EmbedEvent {
*```
*/
AnswerDelete = 'answerDelete',
+ /**
+ * Emitted when the AI Highlights action is triggered on a Liveboard
+ * @version SDK: 1.44.0 | ThoughtSpot: 10.15.0.cl
+ * @example
+ *```js
+ * liveboardEmbed.on(EmbedEvent.AIHighlights, (payload) => {
+ * console.log('AI Highlights', payload);
+ * })
+ *```
+ */
+ AIHighlights = 'AIHighlights',
/**
* Emitted when a user initiates the Pin action to
* add an Answer to a Liveboard.
@@ -2671,21 +2747,24 @@ export enum EmbedEvent {
* Prerequisite: Set `isOnBeforeGetVizDataInterceptEnabled` to `true`
* for this embed event to get emitted.
- * @param: payload
- * @param: responder
+ * @param:payload The payload received from the embed related to the Data API call.
+ * @param:responder
* Contains elements that lets developers define whether ThoughtSpot
* should run the search, and if not, what error message
* should be shown to the user.
*
- * execute: When execute returns `true`, the search will be run.
+ * `execute` - When execute returns `true`, the search will be run.
* When execute returns `false`, the search will not be executed.
*
- * error: Developers can customize the error message text when `execute`
- * returns `false` using the error parameter in responder.
+ * `error` - Developers can customize the error message text when `execute`
+ * is `false` using the `errorText` and `errorDescription` parameters in responder.
+ *
+ * `errorText` - The error message text to be shown to the user.
+ * `errorDescription (ThoughtSpot: 10.15.0.cl and above)` - The error description to be shown to the user.
* @version SDK : 1.29.0 | ThoughtSpot: 10.3.0.cl
* @example
*```js
- * .on(EmbedEvent.OnBeforeGetVizDataIntercept,
+ * embed.on(EmbedEvent.OnBeforeGetVizDataIntercept,
* (payload, responder) => {
* responder({
* data: {
@@ -2701,7 +2780,7 @@ export enum EmbedEvent {
* ```
*
*```js
- * .on(EmbedEvent.OnBeforeGetVizDataIntercept,
+ * embed.on(EmbedEvent.OnBeforeGetVizDataIntercept,
* (payload, responder) => {
* const query = payload.data.data.answer.search_query
* responder({
@@ -2712,7 +2791,8 @@ export enum EmbedEvent {
* error: {
* //Provide a custom error message to explain to your end user
* // why their search did not run, and which searches are accepted by your custom logic.
- * errorText: "You can't use this query :" + query + ".
+ * errorText: "Error Occurred",
+ * errorDescription: "You can't use this query :" + query + ".
* The 'sales' measures can never be used at the 'county' level.
* Please try another measure, or remove 'county' from your search."
* }
@@ -2759,7 +2839,7 @@ export enum EmbedEvent {
* the table visualization.
*
* If the Row-Level Security (RLS) rules are applied on the
- * Worksheet or Model, exercise caution when changing column
+ * Model, exercise caution when changing column
* or table cell values to maintain data security.
*
* @example
@@ -2774,8 +2854,8 @@ export enum EmbedEvent {
* ```
* @version SDK: 1.37.0 | ThoughtSpot: 10.8.0.cl
*/
- TableVizRendered = 'TableVizRendered',
- /**
+ TableVizRendered = 'TableVizRendered',
+ /**
* Emitted when the liveboard is created from pin modal or Liveboard list page.
* You can use this event as a hook to trigger
* other events on liveboard creation.
@@ -2792,7 +2872,7 @@ export enum EmbedEvent {
* Emitted when a user creates a Model.
* @version SDK : 1.37.0 | ThoughtSpot: 10.8.0.cl
*/
- CreateModel = 'createModel',
+ CreateModel = 'createModel',
/**
* @hidden
* Emitted when a user exits present mode.
@@ -2817,7 +2897,7 @@ export enum EmbedEvent {
*/
SpotterData = 'SpotterData',
/**
- * Emitted when user opens up the worksheet preview modal in Spotter embed.
+ * Emitted when user opens up the data source preview modal in Spotter embed.
* @example
* ```js
* spotterEmbed.on(EmbedEvent.PreviewSpotterData, (payload) => {
@@ -2905,6 +2985,72 @@ export enum EmbedEvent {
* @version SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl
*/
OrgSwitched = 'orgSwitched',
+ /**
+ * Emitted when the user intercepts a URL.
+ *
+ * Supported on all embed types.
+ *
+ * @example
+ *
+ * ```js
+ * embed.on(EmbedEvent.ApiIntercept, (payload, responder) => {
+ * console.log('payload', payload);
+ * responder({
+ * data: {
+ * execute: false,
+ * error: {
+ * errorText: 'Error Occurred',
+ * }
+ * }
+ * })
+ * })
+ * ```
+ *
+ * ```js
+ * // We can also send a response for the intercepted api
+ * embed.on(EmbedEvent.ApiIntercept, (payload, responder) => {
+ * console.log('payload', payload);
+ * responder({
+ * data: {
+ * execute: false,
+ * response: {
+ * body: {
+ * data: {
+ * // Some api response
+ * },
+ * }
+ * }
+ * }
+ * })
+ * })
+ *
+ * // here embed will use the response from the responder as the response for the api
+ * ```
+ *
+ * ```js
+ * // We can also send error in response for the intercepted api
+ * embed.on(EmbedEvent.ApiIntercept, (payload, responder) => {
+ * console.log('payload', payload);
+ * responder({
+ * data: {
+ * execute: false,
+ * response: {
+ * body: {
+ * errors: [{
+ * title: 'Error Occurred',
+ * description: 'Error Description',
+ * isUserError: true,
+ * }],
+ * data: {},
+ * },
+ * }
+ * }
+ * })
+ * })
+ * ```
+ * @version SDK: 1.43.0 | ThoughtSpot: 10.15.0.cl
+ */
+ ApiIntercept = 'ApiIntercept',
}
/**
@@ -2960,7 +3106,7 @@ export enum EmbedEvent {
* ```
* @group Events
*/
-
+
export enum HostEvent {
/**
* Triggers a search operation with the search tokens specified in
@@ -3044,9 +3190,7 @@ export enum HostEvent {
*/
Reload = 'reload',
/**
- * Get iframe URL for the current embed view on the playground.
- * Developers can use this URL to embed a ThoughtSpot object
- * in apps like Salesforce or Sharepoint.
+ * Get iframe URL for the current embed view.
* @example
* ```js
* const url = embed.trigger(HostEvent.GetIframeUrl);
@@ -3194,7 +3338,7 @@ export enum HostEvent {
* the following parameters:
*
* @param
- * `vizId`- GUID of the saved Answer or visualization to pin to a Liveboard.
+ * `vizId`- GUID of the saved Answer or Spotter visualization ID to pin to a Liveboard.
* Optional when pinning a new chart or table generated from a Search query.
* **Required** in Spotter Embed.
* @param
@@ -3246,10 +3390,16 @@ export enum HostEvent {
* ```
* @example
* ```js
- * const pinResponse = await spotterEmbed.trigger(HostEvent.Pin, {
- * vizId:'730496d6-6903-4601-937e-2c691821af3c'
- * });
- * ```
+
+ * // You can use the Data event dispatched on each answer creation to get the vizId and use in Pin host event.
+ * let latestSpotterVizId = '';
+ * spotterEmbed.on(EmbedEvent.Data, (payload) => {
+ * latestSpotterVizId = payload.data.id;
+ * });
+ *
+ * spotterEmbed.trigger(HostEvent.Pin, { vizId: latestSpotterVizId });
+ * ```
+ *
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
*/
Pin = 'pin',
@@ -3324,14 +3474,29 @@ export enum HostEvent {
* ```
* @example
* ```js
- * spotterEmbed.trigger(HostEvent.DownloadAsPdf, {
- * vizId:'730496d6-6903-4601-937e-2c691821af3c'
- * });
- * ```
+
+ * // You can use the Data event dispatched on each answer creation to get the vizId and use in DownloadAsPdf host event.
+ * let latestSpotterVizId = '';
+ * spotterEmbed.on(EmbedEvent.Data, (payload) => {
+ * latestSpotterVizId = payload.data.id;
+ * });
+ *
+ * spotterEmbed.trigger(HostEvent.DownloadAsPdf, { vizId: latestSpotterVizId });
+ * ```
*
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
*/
DownloadAsPdf = 'downloadAsPdf',
+ /**
+ * Trigger the **AI Highlights** action on an embedded Liveboard
+ *
+ * @example
+ * ```js
+ * liveboardEmbed.trigger(HostEvent.AIHighlights)
+ * ```
+ * @version SDK: 1.44.0 | ThoughtSpot: 10.15.0.cl
+ */
+ AIHighlights = 'AIHighlights',
/**
* Trigger the **Make a copy** action on a Liveboard,
* visualization, or Answer page.
@@ -3354,9 +3519,13 @@ export enum HostEvent {
* ```
* @example
* ```js
- * const pinResponse = await spotterEmbed.trigger(HostEvent.MakeACopy, {
- * vizId:'730496d6-6903-4601-937e-2c691821af3c'
- * });
+ * // You can use the Data event dispatched on each answer creation to get the vizId and use in MakeACopy host event.
+ * let latestSpotterVizId = '';
+ * spotterEmbed.on(EmbedEvent.Data, (payload) => {
+ * latestSpotterVizId = payload.data.id;
+ * });
+ *
+ * spotterEmbed.trigger(HostEvent.MakeACopy, { vizId: latestSpotterVizId });
* ```
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
*/
@@ -3431,7 +3600,7 @@ export enum HostEvent {
* @param - object - To trigger the action for a specific visualization
* in Liveboard embed, pass in `vizId` as a key.
* @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
- *
+ *
* @example
* ```js
* liveboardEmbed.trigger(HostEvent.Edit)
@@ -3442,15 +3611,7 @@ export enum HostEvent {
* ```
* @example
* ```js
- * const pinResponse = await spotterEmbed.trigger(HostEvent.Edit, {
- * vizId:'730496d6-6903-4601-937e-2c691821af3c'
- * });
- * ```
- * @example
- * ```js
- * const editResponse = await spotterEmbed.trigger(HostEvent.Edit, {
- * vizId:'730496d6-6903-4601-937e-2c691821af3c'
- * });
+ * spotterEmbed.trigger(HostEvent.Edit);
* ```
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
*/
@@ -3499,16 +3660,23 @@ export enum HostEvent {
* );
* })
* ```
- * @example
+ * * @example
* ```js
- * spotterEmbed.trigger(HostEvent.GetTML, {
- * vizId: '730496d6-6903-4601-937e-2c691821af3c'
+
+ * // You can use the Data event dispatched on each answer creation to get the vizId and use in Pin host event.
+ * let latestSpotterVizId = '';
+ * spotterEmbed.on(EmbedEvent.Data, (payload) => {
+ * latestSpotterVizId = payload.data.id;
+ * });
+ *
+ * spotterEmbed.trigger(HostEvent.GetTML, {
+ * vizId: latestSpotterVizId
* }).then((tml) => {
* console.log(
* tml.answer.search_query // TML representation of the search query
* );
* })
- * ```
+ * ```
* @version SDK: 1.18.0 | ThoughtSpot: 8.10.0.cl, 9.0.1.sw
* @important
*/
@@ -3572,7 +3740,7 @@ export enum HostEvent {
/**
* Trigger the **Download** action on charts in
* the embedded view.
- * @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
+ * @param - `vizId` refers to the Visualization ID in Spotter embed and is required in Spotter embed.
* @example
* ```js
* liveboardEmbed.trigger(HostEvent.Download, {vizId:
@@ -3582,9 +3750,13 @@ export enum HostEvent {
* embed.trigger(HostEvent.Download)
* ```
* ```js
- * spotterEmbed.trigger(HostEvent.Download, {
- * vizId:'730496d6-6903-4601-937e-2c691821af3c'
- * });
+ * // You can use the Data event dispatched on each answer creation to get the vizId and use in Download host event.
+ * let latestSpotterVizId = '';
+ * spotterEmbed.on(EmbedEvent.Data, (payload) => {
+ * latestSpotterVizId = payload.data.id;
+ * });
+ *
+ * spotterEmbed.trigger(HostEvent.Download, { vizId: latestSpotterVizId });
* ```
* @deprecated from SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl ,9.4.1.sw
* Use {@link DownloadAsPng}
@@ -3602,19 +3774,23 @@ export enum HostEvent {
* vizEmbed.trigger(HostEvent.DownloadAsPng)
*
* searchEmbed.trigger(HostEvent.DownloadAsPng)
- *
- * spotterEmbed.trigger(HostEvent.DownloadAsPng, {
- * vizId:"730496d6-6903-4601-937e-2c691821af3c"
- * })
+ *
+ * // You can use the Data event dispatched on each answer creation to get the vizId and use in DownloadAsPng host event.
+ * let latestSpotterVizId = '';
+ * spotterEmbed.on(EmbedEvent.Data, (payload) => {
+ * latestSpotterVizId = payload.data.id;
+ * });
+ *
+ * spotterEmbed.trigger(HostEvent.DownloadAsPng, { vizId: latestSpotterVizId });
* ```
- *
+ *
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.4.1.sw
*/
DownloadAsPng = 'downloadAsPng',
/**
* Trigger the **Download** > **CSV** action on tables in
* the embedded view.
- * @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
+ * @param - `vizId` refers to the Visualization ID in Spotter embed and is required in Spotter embed.
* @example
* ```js
* liveboardEmbed.trigger(HostEvent.DownloadAsCsv, {vizId:
@@ -3627,9 +3803,13 @@ export enum HostEvent {
* searchEmbed.trigger(HostEvent.DownloadAsCsv)
* ```
* ```js
- * spotterEmbed.trigger(HostEvent.DownloadAsCsv, {
- * vizId:"730496d6-6903-4601-937e-2c691821af3c"
- * })
+ * // You can use the Data event dispatched on each answer creation to get the vizId and use in DownloadAsCsv host event.
+ * let latestSpotterVizId = '';
+ * spotterEmbed.on(EmbedEvent.Data, (payload) => {
+ * latestSpotterVizId = payload.data.id;
+ * });
+ *
+ * spotterEmbed.trigger(HostEvent.DownloadAsCsv, { vizId: latestSpotterVizId });
* ```
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
*/
@@ -3637,7 +3817,7 @@ export enum HostEvent {
/**
* Trigger the **Download** > **XLSX** action on tables
* in the embedded view.
- * @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
+ * @param - `vizId` refers to the Visualization ID in Spotter embed and is required in Spotter embed.
* @example
* ```js
* liveboardEmbed.trigger(HostEvent.DownloadAsXlsx, {vizId:
@@ -3650,9 +3830,13 @@ export enum HostEvent {
* searchEmbed.trigger(HostEvent.DownloadAsXlsx)
* ```
* ```js
- * spotterEmbed.trigger(HostEvent.downloadAsXLSX, {
- * vizId:"730496d6-6903-4601-937e-2c691821af3c"
- * })
+ * // You can use the Data event dispatched on each answer creation to get the vizId and use in DownloadAsXlsx host event.
+ * let latestSpotterVizId = '';
+ * spotterEmbed.on(EmbedEvent.Data, (payload) => {
+ * latestSpotterVizId = payload.data.id;
+ * });
+ *
+ * spotterEmbed.trigger(HostEvent.DownloadAsXlsx, { vizId: latestSpotterVizId });
* ```
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
*/
@@ -3671,21 +3855,42 @@ export enum HostEvent {
*/
Share = 'share',
/**
- * Trigger the **Save** action on a Liveboard or Answer.
+ * Trigger the **Save** action on a Liveboard, Answer, or Spotter.
* Saves the changes.
- * @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
+ *
+ * @param - `vizId` refers to the Spotter Visualization Id used in Spotter embed.
+ * It is required and can be retrieved from the data embed event.
+ *
* @example
* ```js
+ * // Save changes in a Liveboard
* liveboardEmbed.trigger(HostEvent.Save)
* ```
+ *
* ```js
+ * // Save the current Answer in Search embed
* searchEmbed.trigger(HostEvent.Save)
* ```
+ *
* ```js
+ * // Save a Visualization in Spotter (requires vizId)
* spotterEmbed.trigger(HostEvent.Save, {
- * vizId:"730496d6-6903-4601-937e-2c691821af3c"
+ * vizId: "730496d6-6903-4601-937e-2c691821af3c"
* })
* ```
+ *
+ * ```js
+ * // How to get the vizId in Spotter?
+ *
+ * // You can use the Data event dispatched on each answer creation to get the vizId.
+ * let latestSpotterVizId = '';
+ * spotterEmbed.on(EmbedEvent.Data, (payload) => {
+ * latestSpotterVizId = payload.data.id;
+ * });
+ *
+ * spotterEmbed.trigger(HostEvent.Save, { vizId: latestSpotterVizId });
+ * ```
+ *
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
*/
Save = 'save',
@@ -3823,7 +4028,7 @@ export enum HostEvent {
* column: "Date",
* oper: 'EQ',
* values: ["2023-07-31"],
- * types: "EXACT_DATE"
+ * type: "EXACT_DATE"
* }]
* });
* ```
@@ -3969,15 +4174,21 @@ export enum HostEvent {
ResetLiveboardPersonalisedView = 'ResetLiveboardPersonalisedView',
/**
* Triggers an action to update Parameter values on embedded
- * Answers, Liveboard and Spotter answer in Edit mode.
+ * Answers, Liveboard, and Spotter answer in Edit mode.
+ * @param - `name` - Name of the Parameter
+ * @param - `value` - The value to set for the Parameter.
+ *
+ * Optionally, to control the visibility of the Parameter chip,
+ * use the `isVisibleToUser` attribute when applying an override.
*
* @example
* ```js
* liveboardEmbed.trigger(HostEvent.UpdateParameters, [{
- * name: "Color",
- * value: "almond"
+ * name: "Integer Range Param",
+ * value: 10,
+ * isVisibleToUser: false
* }])
- *
+ * ```
* @version SDK: 1.29.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
*/
UpdateParameters = 'UpdateParameters',
@@ -3990,11 +4201,13 @@ export enum HostEvent {
* });
*```
*```js
- * spotterEmbed.trigger(HostEvent.GetParameters, {
- * vizId: '730496d6-6903-4601-937e-2c691821af3c'
- * }).then((parameter) => {
- * console.log('parameters', parameter);
+ * // You can use the Data event dispatched on each answer creation to get the vizId and use in GetParameters host event.
+ * let latestSpotterVizId = '';
+ * spotterEmbed.on(EmbedEvent.Data, (payload) => {
+ * latestSpotterVizId = payload.data.id;
* });
+ *
+ * spotterEmbed.trigger(HostEvent.GetParameters, { vizId: latestSpotterVizId });
*```
* @version SDK: 1.29.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
*/
@@ -4015,7 +4228,7 @@ export enum HostEvent {
*```
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
*/
- InfoSuccess = 'InfoSuccess',
+ InfoSuccess = 'InfoSuccess',
/**
* Trigger the save action for an Answer.
* To programmatically save an answer without opening the
@@ -4024,10 +4237,11 @@ export enum HostEvent {
* If no parameters are specified, the save action is
* triggered with a modal to prompt users to
* add a name and description for the Answer.
- * @param - optional attributes to set Answer properties.
- * `name` - Name string for the Answer.
- * `description` - Description text for the Answer.
- * @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
+ * @param - `vizId` refers to the Answer ID in Spotter embed
+ * and is required in Spotter embed.
+ * Optional attributes to set Answer properties include:
+ * @param - `name` - Name string for the Answer.
+ * @param - `description` - Description text for the Answer.
* @example
* ```js
* const saveAnswerResponse = await searchEmbed.trigger(HostEvent.SaveAnswer, {
@@ -4037,11 +4251,13 @@ export enum HostEvent {
* ```
* @example
* ```js
- * const saveAnswerResponse = await spotterEmbed.trigger(HostEvent.SaveAnswer, {
- * vizId: '730496d6-6903-4601-937e-2c691821af3c',
- * name: "Sales by states",
- * description: "Total sales by states in MidWest"
+ * // You can use the Data event dispatched on each answer creation to get the vizId and use in SaveAnswer host event.
+ * let latestSpotterVizId = '';
+ * spotterEmbed.on(EmbedEvent.Data, (payload) => {
+ * latestSpotterVizId = payload.data.id;
* });
+ *
+ * spotterEmbed.trigger(HostEvent.SaveAnswer, { vizId: latestSpotterVizId });
* ```
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
*/
@@ -4097,7 +4313,7 @@ export enum HostEvent {
*/
EditLastPrompt = 'EditLastPrompt',
/**
- * Opens the Worksheet preview modal in Spotter Embed.
+ * Opens the data source preview modal in Spotter Embed.
* @example
* ```js
* spotterEmbed.trigger(HostEvent.PreviewSpotterData);
@@ -4125,12 +4341,15 @@ export enum HostEvent {
DeleteLastPrompt = 'DeleteLastPrompt',
/**
* Toggle the visualization to chart or table view.
- * @param - `vizId ` refers to the answer id in spotter Embed, it is required in spotter Embed.
+ * @param - `vizId ` refers to the Visualization ID in Spotter embed and is required.
* @example
* ```js
- * spotterEmbed.trigger(HostEvent.AnswerChartSwitcher, {
- * vizId:'b535c760-8bbe-4e6f-bb26-af56b4129a1e'
+ * let latestSpotterVizId = '';
+ * spotterEmbed.on(EmbedEvent.Data, (payload) => {
+ * latestSpotterVizId = payload.data.id;
* });
+ *
+ * spotterEmbed.trigger(HostEvent.AnswerChartSwitcher, { vizId: latestSpotterVizId });
*```
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
*/
@@ -4159,23 +4378,47 @@ export enum HostEvent {
*/
VisibleEmbedCoordinates = 'visibleEmbedCoordinates',
/**
- * Trigger the *Ask Spotter* action for visualizations
- * @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
+ * Trigger the *Spotter* action for visualizations present on the liveboard's vizzes.
+ * @param - `vizId` refers to the Visualization ID in Spotter embed and is required.
* @example
* ```js
- * spotterEmbed.trigger(HostEvent.AskSpotter,
- * {vizId:'730496d6-6903-4601-937e-2c691821af3c'})
+ * let latestSpotterVizId = '';
+ * spotterEmbed.on(EmbedEvent.Data, (payload) => {
+ * latestSpotterVizId = payload.data.id;
+ * });
+ *
+ * spotterEmbed.trigger(HostEvent.AskSpotter, { vizId: latestSpotterVizId });
* ```
* @version SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl
*/
AskSpotter = 'AskSpotter',
+
+ /**
+ * @hidden
+ * Triggers the update of the embed params.
+ *
+ * @example
+ * ```js
+ * liveboardEmbed.trigger(HostEvent.UpdateEmbedParams, viewConfig);
+ * ```
+ */
+ UpdateEmbedParams = 'updateEmbedParams',
+ /**
+ * Triggered when the embed is needed to be destroyed. This is used to clean up any embed related resources internally.
+ * @example
+ * ```js
+ * liveboardEmbed.trigger(HostEvent.DestroyEmbed);
+ * ```
+ * @version SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl
+ */
+ DestroyEmbed = 'EmbedDestroyed',
}
/**
* The different visual modes that the data sources panel within
* search could appear in, such as hidden, collapsed, or expanded.
*/
-
+
export enum DataSourceVisualMode {
/**
* The data source panel is hidden.
@@ -4195,7 +4438,7 @@ export enum DataSourceVisualMode {
* The query params passed down to the embedded ThoughtSpot app
* containing configuration and/or visual information.
*/
-
+
export enum Param {
EmbedApp = 'embedApp',
DataSources = 'dataSources',
@@ -4214,6 +4457,7 @@ export enum Param {
HideResult = 'hideResult',
UseLastSelectedDataSource = 'useLastSelectedSources',
Tag = 'tag',
+ HideTagFilterChips = 'hideTagFilterChips',
AutoLogin = 'autoLogin',
searchTokenString = 'searchTokenString',
executeSearch = 'executeSearch',
@@ -4302,6 +4546,7 @@ export enum Param {
ShowLiveboardReverifyBanner = 'showLiveboardReverifyBanner',
LiveboardHeaderV2 = 'isLiveboardHeaderV2Enabled',
HideIrrelevantFiltersInTab = 'hideIrrelevantFiltersAtTabLevel',
+ IsEnhancedFilterInteractivityEnabled = 'isLiveboardPermissionV2Enabled',
SpotterEnabled = 'isSpotterExperienceEnabled',
IsUnifiedSearchExperienceEnabled = 'isUnifiedSearchExperienceEnabled',
OverrideOrgId = 'orgId',
@@ -4318,6 +4563,9 @@ export enum Param {
RootMarginForLazyLoad = 'rootMarginForLazyLoad',
LiveboardXLSXCSVDownload = 'isLiveboardXLSXCSVDownloadEnabled',
isPNGInScheduledEmailsEnabled = 'isPNGInScheduledEmailsEnabled',
+ isCentralizedLiveboardFilterUXEnabled = 'isCentralizedLiveboardFilterUXEnabled',
+ isLinkParametersEnabled = 'isLinkParametersEnabled',
+ EnablePastConversationsSidebar = 'enablePastConversationsSidebar',
}
/**
@@ -4347,7 +4595,7 @@ export enum Param {
* ```
* See also link:https://developers.thoughtspot.com/docs/actions[Action IDs in the SDK]
*/
-
+
export enum Action {
/**
* The **Save** action on an Answer or Liveboard.
@@ -4431,7 +4679,7 @@ export enum Action {
*/
SchedulesList = 'schedule-list',
/**
- * The **Share** action on a Liveboard, Answer, or Worksheet.
+ * The **Share** action on a Liveboard, Answer, or Model.
* Allows users to share an object with other users and groups.
* @example
* ```js
@@ -4890,7 +5138,7 @@ export enum Action {
AnswerChartSwitcher = 'answerChartSwitcher',
/**
* The Favorites icon (*) for Answers,
- * Liveboard, and data objects like Worksheet, Model,
+ * Liveboard, and data objects like Model,
* Tables and Views.
* Allows adding an object to the user's favorites list.
* @example
@@ -5640,6 +5888,16 @@ export enum Action {
* @version SDK: 1.42.0 | ThoughtSpot Cloud: 10.14.0.cl
*/
RemoveAttachment = 'removeAttachment',
+ /**
+ * The **Style panel** on a Liveboard.
+ * Controls the visibility of the Liveboard style panel.
+ * @example
+ * ```js
+ * hiddenActions: [Action.LiveboardStylePanel]
+ * ```
+ * @version SDK: 1.43.0 | ThoughtSpot Cloud: 10.15.0.cl
+ */
+ LiveboardStylePanel = 'liveboardStylePanel',
}
export interface AnswerServiceType {
@@ -5724,7 +5982,7 @@ export interface CustomAction {
dataModelIds?: {
modelIds?: string[];
modelColumnNames?: string[];
- }
+ };
orgIds?: string[];
groupIds?: string[];
}
@@ -5847,4 +6105,68 @@ export interface DefaultAppInitData {
customVariablesForThirdPartyTools: Record;
hiddenListColumns: ListPageColumns[];
customActions: CustomAction[];
+ interceptTimeout: number | undefined;
+ interceptUrls: (string | InterceptedApiType)[];
+}
+
+/**
+ * Enum for the type of API intercepted
+ */
+export enum InterceptedApiType {
+ /**
+ * The apis that are use to get the data for the embed
+ */
+ AnswerData = 'AnswerData',
+ /**
+ * This will intercept all the apis
+ */
+ ALL = 'ALL',
+ /**
+ * The apis that are use to get the data for the liveboard
+ */
+ LiveboardData = 'LiveboardData',
}
+
+export type ApiInterceptFlags = {
+ /**
+ * Flag that allows using `EmbedEvent.OnBeforeGetVizDataIntercept`.
+ *
+ * Can be used for Serach and App Embed from SDK 1.29.0
+ *
+ * @version SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl
+ */
+ isOnBeforeGetVizDataInterceptEnabled?: boolean;
+ /**
+ * This allows to intercept the urls passed, once intercepted the api will only
+ * run based on the reponse from the responder of ApiIntercept event.
+ *
+ * @example
+ * ```js
+ * const embed = new LiveboardEmbed('#embed', {
+ * ...viewConfig,
+ * enableApiIntercept: true,
+ * interceptUrls: [InterceptedApiType.DATA],
+ * })
+ * ```
+ *
+ * @version SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl
+ */
+ interceptUrls?: (string | InterceptedApiType)[];
+ /**
+ * The timeout for the intercept, default is 30000ms
+ * the api will error out if the timeout is reached
+ *
+ * @example
+ * ```js
+ * const embed = new LiveboardEmbed('#embed', {
+ * ...viewConfig,
+ * enableApiIntercept: true,
+ * interceptUrls: [InterceptedApiType.ALL],
+ * interceptTimeout: 1000,
+ * })
+ * ```
+ *
+ * @version SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl
+ */
+ interceptTimeout?: number;
+};
diff --git a/src/utils.spec.ts b/src/utils.spec.ts
index 06f91be5a..e50cdf630 100644
--- a/src/utils.spec.ts
+++ b/src/utils.spec.ts
@@ -18,6 +18,7 @@ import {
getTypeFromValue,
arrayIncludesString,
calculateVisibleElementData,
+ formatTemplate,
} from './utils';
import { RuntimeFilterOp } from './types';
import { logger } from './utils/logger';
@@ -718,3 +719,20 @@ describe('calculateVisibleElementData', () => {
});
});
});
+
+describe('formatTemplate', () => {
+ it('should replace placeholders with provided values', () => {
+ expect(
+ formatTemplate('Hello {name}, you are {age} years old', { name: 'John', age: 30 }),
+ ).toBe('Hello John, you are 30 years old');
+ expect(
+ formatTemplate('Expected {type}, but received {actual}', {
+ type: 'string',
+ actual: 'number',
+ }),
+ ).toBe('Expected string, but received number');
+ expect(
+ formatTemplate('Hello {name}, you are {age} years old', { name: 'John' }),
+ ).toBe('Hello John, you are {age} years old');
+ });
+});
diff --git a/src/utils.ts b/src/utils.ts
index af71550a0..160bad71b 100644
--- a/src/utils.ts
+++ b/src/utils.ts
@@ -499,3 +499,24 @@ export const calculateVisibleElementData = (element: HTMLElement) => {
return data;
}
+
+/**
+ * Replaces placeholders in a template string with provided values.
+ * Placeholders should be in the format {key}.
+ * @param template - The template string with placeholders
+ * @param values - An object containing key-value pairs to replace placeholders
+ * @returns The template string with placeholders replaced
+ * @example
+ * formatTemplate('Hello {name}, you are {age} years old', { name: 'John', age: 30 })
+ * // Returns: 'Hello John, you are 30 years old'
+ *
+ * formatTemplate('Expected {type}, but received {actual}', { type: 'string', actual: 'number' })
+ * // Returns: 'Expected string, but received number'
+ */
+export const formatTemplate = (template: string, values: Record): string => {
+ // This regex /\{(\w+)\}/g finds all placeholders in the format {word}
+ // and captures the word inside the braces for replacement.
+ return template.replace(/\{(\w+)\}/g, (match, key) => {
+ return values[key] !== undefined ? String(values[key]) : match;
+ });
+};
\ No newline at end of file
diff --git a/src/utils/custom-actions.spec.ts b/src/utils/custom-actions.spec.ts
index dd53f02df..2e0750128 100644
--- a/src/utils/custom-actions.spec.ts
+++ b/src/utils/custom-actions.spec.ts
@@ -428,4 +428,26 @@ describe('getCustomActions function', () => {
expect(result.errors[0]).toContain("Position 'PRIMARY' is not supported for spotter-level custom actions. Supported positions: MENU, CONTEXTMENU");
});
});
+
+ describe('Warnings', () => {
+ test('should warn when action name length exceeds 30 characters', () => {
+ // Arrange
+ const longName = 'A'.repeat(31);
+ const action: CustomAction = {
+ id: 'long-name-id',
+ name: longName,
+ target: CustomActionTarget.LIVEBOARD,
+ position: CustomActionsPosition.PRIMARY,
+ };
+
+ // Act
+ const result = getCustomActions([action]);
+
+ // Assert
+ expect(result.actions).toHaveLength(1);
+ expect(logger.warn).toHaveBeenCalledWith([
+ `Custom action name '${longName}' exceeds 30 characters. This may cause display or truncation issues in the UI.`
+ ]);
+ });
+ });
});
diff --git a/src/utils/custom-actions.ts b/src/utils/custom-actions.ts
index 605493827..149b26992 100644
--- a/src/utils/custom-actions.ts
+++ b/src/utils/custom-actions.ts
@@ -2,6 +2,7 @@ import { CustomAction, CustomActionsPosition, CustomActionTarget } from '../type
import { arrayIncludesString } from '../utils';
import sortBy from 'lodash/sortBy';
import { CUSTOM_ACTIONS_ERROR_MESSAGE } from '../errors';
+import { logger } from './logger';
export interface CustomActionsValidationResult {
actions: CustomAction[];
@@ -208,6 +209,16 @@ export const getCustomActions = (customActions: CustomAction[]): CustomActionsVa
}
});
+ // Step 4: Collect warnings for long custom action names
+ const MAX_ACTION_NAME_LENGTH = 30;
+ const warnings = finalValidActions
+ .filter(action => action.name.length > MAX_ACTION_NAME_LENGTH)
+ .map(action => `Custom action name '${action.name}' exceeds ${MAX_ACTION_NAME_LENGTH} characters. This may cause display or truncation issues in the UI.`);
+
+ if (warnings.length > 0) {
+ logger.warn(warnings);
+ }
+
const sortedActions = sortBy(finalValidActions, (a) => a.name.toLocaleLowerCase());
return {
diff --git a/src/utils/logger.ts b/src/utils/logger.ts
index d52c6730d..86f10dc94 100644
--- a/src/utils/logger.ts
+++ b/src/utils/logger.ts
@@ -1,4 +1,3 @@
-import { isUndefined } from '../utils';
import { LogLevel } from '../types';
const logFunctions: {
@@ -42,7 +41,7 @@ class Logger {
public canLog(logLevel: LogLevel): boolean {
if (logLevel === LogLevel.SILENT) return false;
- if (!isUndefined(globalLogLevelOverride)) {
+ if (globalLogLevelOverride !== undefined) {
return compareLogLevels(globalLogLevelOverride, logLevel) >= 0;
}
return compareLogLevels(this.logLevel, logLevel) >= 0;
diff --git a/src/utils/processData.spec.ts b/src/utils/processData.spec.ts
index beb06d81a..5f4dc3c61 100644
--- a/src/utils/processData.spec.ts
+++ b/src/utils/processData.spec.ts
@@ -1,4 +1,3 @@
-import { disable } from 'mixpanel-browser';
import * as processDataInstance from './processData';
import * as answerServiceInstance from './graphql/answerService/answerService';
import * as auth from '../auth';
diff --git a/src/utils/processData.ts b/src/utils/processData.ts
index 2d06c5bac..5f34f0066 100644
--- a/src/utils/processData.ts
+++ b/src/utils/processData.ts
@@ -10,7 +10,6 @@ import { AuthType, CustomActionPayload, EmbedEvent } from '../types';
import { AnswerService } from './graphql/answerService/answerService';
import { resetCachedAuthToken } from '../authToken';
import { ERROR_MESSAGE } from '../errors';
-import { logger } from '../utils/logger';
import { handleExitPresentMode } from '../utils';
import { resetCachedPreauthInfo, resetCachedSessionInfo } from './sessionInfoService';
@@ -21,7 +20,7 @@ import { resetCachedPreauthInfo, resetCachedSessionInfo } from './sessionInfoSer
function processExitPresentMode(e: any) {
const embedConfig = getEmbedConfig();
const disableFullscreenPresentation = embedConfig?.disableFullscreenPresentation ?? true;
-
+
if (!disableFullscreenPresentation) {
handleExitPresentMode();
}
@@ -103,7 +102,7 @@ export function processAuthFailure(e: any, containerEl: Element) {
const {
loginFailedMessage, authType, disableLoginFailurePage, autoLogin,
} = getEmbedConfig();
-
+
const isEmbeddedSSO = authType === AuthType.EmbeddedSSO;
const isTrustedAuth = authType === AuthType.TrustedAuthToken || authType === AuthType.TrustedAuthTokenCookieless;
const isEmbeddedSSOInfoFailure = isEmbeddedSSO && e?.data?.type === AuthFailureType.UNAUTHENTICATED_FAILURE;
@@ -144,26 +143,26 @@ function processAuthLogout(e: any, containerEl: Element) {
*/
export function processEventData(
type: EmbedEvent,
- e: any,
+ eventData: any,
thoughtSpotHost: string,
containerEl: Element,
): any {
switch (type) {
case EmbedEvent.CustomAction:
- return processCustomAction(e, thoughtSpotHost);
+ return processCustomAction(eventData, thoughtSpotHost);
case EmbedEvent.AuthInit:
- return processAuthInit(e);
+ return processAuthInit(eventData);
case EmbedEvent.NoCookieAccess:
- return processNoCookieAccess(e, containerEl);
+ return processNoCookieAccess(eventData, containerEl);
case EmbedEvent.AuthFailure:
- return processAuthFailure(e, containerEl);
+ return processAuthFailure(eventData, containerEl);
case EmbedEvent.AuthLogout:
- return processAuthLogout(e, containerEl);
+ return processAuthLogout(eventData, containerEl);
case EmbedEvent.ExitPresentMode:
- return processExitPresentMode(e);
+ return processExitPresentMode(eventData);
case EmbedEvent.CLEAR_INFO_CACHE:
return processClearInfoCache();
default:
}
- return e;
+ return eventData;
}
diff --git a/static/typedoc/typedoc.json b/static/typedoc/typedoc.json
index 29a40beb4..423df3776 100644
--- a/static/typedoc/typedoc.json
+++ b/static/typedoc/typedoc.json
@@ -7,7 +7,7 @@
"originalName": "",
"children": [
{
- "id": 2048,
+ "id": 2166,
"name": "Action",
"kind": 4,
"kindString": "Enumeration",
@@ -27,7 +27,7 @@
},
"children": [
{
- "id": 2161,
+ "id": 2279,
"name": "AIHighlights",
"kind": 16,
"kindString": "Enumeration member",
@@ -48,14 +48,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5386,
+ "line": 5634,
"character": 4
}
],
"defaultValue": "\"AIHighlights\""
},
{
- "id": 2068,
+ "id": 2186,
"name": "AddColumnSet",
"kind": 16,
"kindString": "Enumeration member",
@@ -76,14 +76,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4532,
+ "line": 4780,
"character": 4
}
],
"defaultValue": "\"addSimpleCohort\""
},
{
- "id": 2061,
+ "id": 2179,
"name": "AddDataPanelObjects",
"kind": 16,
"kindString": "Enumeration member",
@@ -104,14 +104,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4461,
+ "line": 4709,
"character": 4
}
],
"defaultValue": "\"addDataPanelObjects\""
},
{
- "id": 2060,
+ "id": 2178,
"name": "AddFilter",
"kind": 16,
"kindString": "Enumeration member",
@@ -128,14 +128,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4450,
+ "line": 4698,
"character": 4
}
],
"defaultValue": "\"addFilter\""
},
{
- "id": 2066,
+ "id": 2184,
"name": "AddFormula",
"kind": 16,
"kindString": "Enumeration member",
@@ -152,14 +152,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4513,
+ "line": 4761,
"character": 4
}
],
"defaultValue": "\"addFormula\""
},
{
- "id": 2067,
+ "id": 2185,
"name": "AddParameter",
"kind": 16,
"kindString": "Enumeration member",
@@ -176,14 +176,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4522,
+ "line": 4770,
"character": 4
}
],
"defaultValue": "\"addParameter\""
},
{
- "id": 2069,
+ "id": 2187,
"name": "AddQuerySet",
"kind": 16,
"kindString": "Enumeration member",
@@ -204,14 +204,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4542,
+ "line": 4790,
"character": 4
}
],
"defaultValue": "\"addAdvancedCohort\""
},
{
- "id": 2143,
+ "id": 2261,
"name": "AddTab",
"kind": 16,
"kindString": "Enumeration member",
@@ -232,20 +232,20 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5180,
+ "line": 5428,
"character": 4
}
],
"defaultValue": "\"addTab\""
},
{
- "id": 2116,
+ "id": 2234,
"name": "AddToFavorites",
"kind": 16,
"kindString": "Enumeration member",
"flags": {},
"comment": {
- "shortText": "The Favorites icon (*) for Answers,\nLiveboard, and data objects like Worksheet, Model,\nTables and Views.\nAllows adding an object to the user's favorites list.",
+ "shortText": "The Favorites icon (*) for Answers,\nLiveboard, and data objects like Model,\nTables and Views.\nAllows adding an object to the user's favorites list.",
"tags": [
{
"tag": "example",
@@ -260,14 +260,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4902,
+ "line": 5150,
"character": 4
}
],
"defaultValue": "\"addToFavorites\""
},
{
- "id": 2158,
+ "id": 2276,
"name": "AddToWatchlist",
"kind": 16,
"kindString": "Enumeration member",
@@ -288,14 +288,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5353,
+ "line": 5601,
"character": 4
}
],
"defaultValue": "\"addToWatchlist\""
},
{
- "id": 2115,
+ "id": 2233,
"name": "AnswerChartSwitcher",
"kind": 16,
"kindString": "Enumeration member",
@@ -316,14 +316,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4890,
+ "line": 5138,
"character": 4
}
],
"defaultValue": "\"answerChartSwitcher\""
},
{
- "id": 2114,
+ "id": 2232,
"name": "AnswerDelete",
"kind": 16,
"kindString": "Enumeration member",
@@ -344,14 +344,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4878,
+ "line": 5126,
"character": 4
}
],
"defaultValue": "\"onDeleteAnswer\""
},
{
- "id": 2157,
+ "id": 2275,
"name": "AskAi",
"kind": 16,
"kindString": "Enumeration member",
@@ -373,14 +373,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5342,
+ "line": 5590,
"character": 4
}
],
"defaultValue": "\"AskAi\""
},
{
- "id": 2127,
+ "id": 2245,
"name": "AxisMenuAggregate",
"kind": 16,
"kindString": "Enumeration member",
@@ -401,14 +401,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5015,
+ "line": 5263,
"character": 4
}
],
"defaultValue": "\"axisMenuAggregate\""
},
{
- "id": 2130,
+ "id": 2248,
"name": "AxisMenuConditionalFormat",
"kind": 16,
"kindString": "Enumeration member",
@@ -429,14 +429,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5049,
+ "line": 5297,
"character": 4
}
],
"defaultValue": "\"axisMenuConditionalFormat\""
},
{
- "id": 2135,
+ "id": 2253,
"name": "AxisMenuEdit",
"kind": 16,
"kindString": "Enumeration member",
@@ -457,14 +457,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5104,
+ "line": 5352,
"character": 4
}
],
"defaultValue": "\"axisMenuEdit\""
},
{
- "id": 2129,
+ "id": 2247,
"name": "AxisMenuFilter",
"kind": 16,
"kindString": "Enumeration member",
@@ -485,14 +485,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5038,
+ "line": 5286,
"character": 4
}
],
"defaultValue": "\"axisMenuFilter\""
},
{
- "id": 2132,
+ "id": 2250,
"name": "AxisMenuGroup",
"kind": 16,
"kindString": "Enumeration member",
@@ -513,14 +513,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5072,
+ "line": 5320,
"character": 4
}
],
"defaultValue": "\"axisMenuGroup\""
},
{
- "id": 2136,
+ "id": 2254,
"name": "AxisMenuNumberFormat",
"kind": 16,
"kindString": "Enumeration member",
@@ -541,14 +541,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5114,
+ "line": 5362,
"character": 4
}
],
"defaultValue": "\"axisMenuNumberFormat\""
},
{
- "id": 2133,
+ "id": 2251,
"name": "AxisMenuPosition",
"kind": 16,
"kindString": "Enumeration member",
@@ -569,14 +569,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5083,
+ "line": 5331,
"character": 4
}
],
"defaultValue": "\"axisMenuPosition\""
},
{
- "id": 2138,
+ "id": 2256,
"name": "AxisMenuRemove",
"kind": 16,
"kindString": "Enumeration member",
@@ -597,14 +597,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5136,
+ "line": 5384,
"character": 4
}
],
"defaultValue": "\"axisMenuRemove\""
},
{
- "id": 2134,
+ "id": 2252,
"name": "AxisMenuRename",
"kind": 16,
"kindString": "Enumeration member",
@@ -625,14 +625,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5093,
+ "line": 5341,
"character": 4
}
],
"defaultValue": "\"axisMenuRename\""
},
{
- "id": 2131,
+ "id": 2249,
"name": "AxisMenuSort",
"kind": 16,
"kindString": "Enumeration member",
@@ -653,14 +653,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5060,
+ "line": 5308,
"character": 4
}
],
"defaultValue": "\"axisMenuSort\""
},
{
- "id": 2137,
+ "id": 2255,
"name": "AxisMenuTextWrapping",
"kind": 16,
"kindString": "Enumeration member",
@@ -681,14 +681,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5124,
+ "line": 5372,
"character": 4
}
],
"defaultValue": "\"axisMenuTextWrapping\""
},
{
- "id": 2128,
+ "id": 2246,
"name": "AxisMenuTimeBucket",
"kind": 16,
"kindString": "Enumeration member",
@@ -709,14 +709,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5026,
+ "line": 5274,
"character": 4
}
],
"defaultValue": "\"axisMenuTimeBucket\""
},
{
- "id": 2170,
+ "id": 2288,
"name": "ChangeFilterVisibilityInTab",
"kind": 16,
"kindString": "Enumeration member",
@@ -737,14 +737,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5484,
+ "line": 5732,
"character": 4
}
],
"defaultValue": "\"changeFilterVisibilityInTab\""
},
{
- "id": 2065,
+ "id": 2183,
"name": "ChooseDataSources",
"kind": 16,
"kindString": "Enumeration member",
@@ -761,14 +761,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4504,
+ "line": 4752,
"character": 4
}
],
"defaultValue": "\"chooseDataSources\""
},
{
- "id": 2064,
+ "id": 2182,
"name": "CollapseDataPanel",
"kind": 16,
"kindString": "Enumeration member",
@@ -789,14 +789,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4495,
+ "line": 4743,
"character": 4
}
],
"defaultValue": "\"collapseDataPanel\""
},
{
- "id": 2063,
+ "id": 2181,
"name": "CollapseDataSources",
"kind": 16,
"kindString": "Enumeration member",
@@ -817,14 +817,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4483,
+ "line": 4731,
"character": 4
}
],
"defaultValue": "\"collapseDataSources\""
},
{
- "id": 2177,
+ "id": 2295,
"name": "ColumnRename",
"kind": 16,
"kindString": "Enumeration member",
@@ -845,14 +845,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5560,
+ "line": 5808,
"character": 4
}
],
"defaultValue": "\"columnRename\""
},
{
- "id": 2062,
+ "id": 2180,
"name": "ConfigureFilter",
"kind": 16,
"kindString": "Enumeration member",
@@ -869,14 +869,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4472,
+ "line": 4720,
"character": 4
}
],
"defaultValue": "\"configureFilter\""
},
{
- "id": 2107,
+ "id": 2225,
"name": "CopyAndEdit",
"kind": 16,
"kindString": "Enumeration member",
@@ -884,14 +884,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4829,
+ "line": 5077,
"character": 4
}
],
"defaultValue": "\"context-menu-item-copy-and-edit\""
},
{
- "id": 2055,
+ "id": 2173,
"name": "CopyLink",
"kind": 16,
"kindString": "Enumeration member",
@@ -908,14 +908,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4409,
+ "line": 4657,
"character": 4
}
],
"defaultValue": "\"embedDocument\""
},
{
- "id": 2106,
+ "id": 2224,
"name": "CopyToClipboard",
"kind": 16,
"kindString": "Enumeration member",
@@ -932,14 +932,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4828,
+ "line": 5076,
"character": 4
}
],
"defaultValue": "\"context-menu-item-copy-to-clipboard\""
},
{
- "id": 2178,
+ "id": 2296,
"name": "CoverAndFilterOptionInPDF",
"kind": 16,
"kindString": "Enumeration member",
@@ -960,14 +960,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5570,
+ "line": 5818,
"character": 4
}
],
"defaultValue": "\"coverAndFilterOptionInPDF\""
},
{
- "id": 2155,
+ "id": 2273,
"name": "CreateLiveboard",
"kind": 16,
"kindString": "Enumeration member",
@@ -988,14 +988,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5317,
+ "line": 5565,
"character": 4
}
],
"defaultValue": "\"createLiveboard\""
},
{
- "id": 2118,
+ "id": 2236,
"name": "CreateMonitor",
"kind": 16,
"kindString": "Enumeration member",
@@ -1016,14 +1016,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4922,
+ "line": 5170,
"character": 4
}
],
"defaultValue": "\"createMonitor\""
},
{
- "id": 2123,
+ "id": 2241,
"name": "CrossFilter",
"kind": 16,
"kindString": "Enumeration member",
@@ -1044,14 +1044,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4973,
+ "line": 5221,
"character": 4
}
],
"defaultValue": "\"context-menu-item-cross-filter\""
},
{
- "id": 2175,
+ "id": 2293,
"name": "DeletePreviousPrompt",
"kind": 16,
"kindString": "Enumeration member",
@@ -1072,14 +1072,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5541,
+ "line": 5789,
"character": 4
}
],
"defaultValue": "\"deletePreviousPrompt\""
},
{
- "id": 2167,
+ "id": 2285,
"name": "DeleteScheduleHomepage",
"kind": 16,
"kindString": "Enumeration member",
@@ -1100,14 +1100,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5453,
+ "line": 5701,
"character": 4
}
],
"defaultValue": "\"deleteScheduleHomepage\""
},
{
- "id": 2169,
+ "id": 2287,
"name": "DisableChipReorder",
"kind": 16,
"kindString": "Enumeration member",
@@ -1128,14 +1128,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5472,
+ "line": 5720,
"character": 4
}
],
"defaultValue": "\"disableChipReorder\""
},
{
- "id": 2077,
+ "id": 2195,
"name": "Download",
"kind": 16,
"kindString": "Enumeration member",
@@ -1152,14 +1152,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4592,
+ "line": 4840,
"character": 4
}
],
"defaultValue": "\"download\""
},
{
- "id": 2080,
+ "id": 2198,
"name": "DownloadAsCsv",
"kind": 16,
"kindString": "Enumeration member",
@@ -1176,14 +1176,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4625,
+ "line": 4873,
"character": 4
}
],
"defaultValue": "\"downloadAsCSV\""
},
{
- "id": 2079,
+ "id": 2197,
"name": "DownloadAsPdf",
"kind": 16,
"kindString": "Enumeration member",
@@ -1201,14 +1201,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4615,
+ "line": 4863,
"character": 4
}
],
"defaultValue": "\"downloadAsPdf\""
},
{
- "id": 2078,
+ "id": 2196,
"name": "DownloadAsPng",
"kind": 16,
"kindString": "Enumeration member",
@@ -1225,14 +1225,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4602,
+ "line": 4850,
"character": 4
}
],
"defaultValue": "\"downloadAsPng\""
},
{
- "id": 2081,
+ "id": 2199,
"name": "DownloadAsXlsx",
"kind": 16,
"kindString": "Enumeration member",
@@ -1249,14 +1249,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4635,
+ "line": 4883,
"character": 4
}
],
"defaultValue": "\"downloadAsXLSX\""
},
{
- "id": 2111,
+ "id": 2229,
"name": "DrillDown",
"kind": 16,
"kindString": "Enumeration member",
@@ -1273,14 +1273,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4845,
+ "line": 5093,
"character": 4
}
],
"defaultValue": "\"DRILL\""
},
{
- "id": 2105,
+ "id": 2223,
"name": "DrillExclude",
"kind": 16,
"kindString": "Enumeration member",
@@ -1297,14 +1297,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4818,
+ "line": 5066,
"character": 4
}
],
"defaultValue": "\"context-menu-item-exclude\""
},
{
- "id": 2104,
+ "id": 2222,
"name": "DrillInclude",
"kind": 16,
"kindString": "Enumeration member",
@@ -1321,14 +1321,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4809,
+ "line": 5057,
"character": 4
}
],
"defaultValue": "\"context-menu-item-include\""
},
{
- "id": 2089,
+ "id": 2207,
"name": "Edit",
"kind": 16,
"kindString": "Enumeration member",
@@ -1345,14 +1345,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4711,
+ "line": 4959,
"character": 4
}
],
"defaultValue": "\"edit\""
},
{
- "id": 2054,
+ "id": 2172,
"name": "EditACopy",
"kind": 16,
"kindString": "Enumeration member",
@@ -1369,14 +1369,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4400,
+ "line": 4648,
"character": 4
}
],
"defaultValue": "\"editACopy\""
},
{
- "id": 2117,
+ "id": 2235,
"name": "EditDetails",
"kind": 16,
"kindString": "Enumeration member",
@@ -1397,14 +1397,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4911,
+ "line": 5159,
"character": 4
}
],
"defaultValue": "\"editDetails\""
},
{
- "id": 2109,
+ "id": 2227,
"name": "EditMeasure",
"kind": 16,
"kindString": "Enumeration member",
@@ -1412,14 +1412,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4834,
+ "line": 5082,
"character": 4
}
],
"defaultValue": "\"context-menu-item-edit-measure\""
},
{
- "id": 2174,
+ "id": 2292,
"name": "EditPreviousPrompt",
"kind": 16,
"kindString": "Enumeration member",
@@ -1440,14 +1440,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5530,
+ "line": 5778,
"character": 4
}
],
"defaultValue": "\"editPreviousPrompt\""
},
{
- "id": 2147,
+ "id": 2265,
"name": "EditSageAnswer",
"kind": 16,
"kindString": "Enumeration member",
@@ -1468,14 +1468,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5224,
+ "line": 5472,
"character": 4
}
],
"defaultValue": "\"editSageAnswer\""
},
{
- "id": 2162,
+ "id": 2280,
"name": "EditScheduleHomepage",
"kind": 16,
"kindString": "Enumeration member",
@@ -1496,14 +1496,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5399,
+ "line": 5647,
"character": 4
}
],
"defaultValue": "\"editScheduleHomepage\""
},
{
- "id": 2086,
+ "id": 2204,
"name": "EditTML",
"kind": 16,
"kindString": "Enumeration member",
@@ -1520,14 +1520,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4679,
+ "line": 4927,
"character": 4
}
],
"defaultValue": "\"editTSL\""
},
{
- "id": 2090,
+ "id": 2208,
"name": "EditTitle",
"kind": 16,
"kindString": "Enumeration member",
@@ -1544,14 +1544,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4719,
+ "line": 4967,
"character": 4
}
],
"defaultValue": "\"editTitle\""
},
{
- "id": 2176,
+ "id": 2294,
"name": "EditTokens",
"kind": 16,
"kindString": "Enumeration member",
@@ -1572,14 +1572,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5551,
+ "line": 5799,
"character": 4
}
],
"defaultValue": "\"editTokens\""
},
{
- "id": 2144,
+ "id": 2262,
"name": "EnableContextualChangeAnalysis",
"kind": 16,
"kindString": "Enumeration member",
@@ -1600,14 +1600,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5190,
+ "line": 5438,
"character": 4
}
],
"defaultValue": "\"enableContextualChangeAnalysis\""
},
{
- "id": 2145,
+ "id": 2263,
"name": "EnableIterativeChangeAnalysis",
"kind": 16,
"kindString": "Enumeration member",
@@ -1628,14 +1628,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5201,
+ "line": 5449,
"character": 4
}
],
"defaultValue": "\"enableIterativeChangeAnalysis\""
},
{
- "id": 2103,
+ "id": 2221,
"name": "Explore",
"kind": 16,
"kindString": "Enumeration member",
@@ -1652,14 +1652,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4798,
+ "line": 5046,
"character": 4
}
],
"defaultValue": "\"explore\""
},
{
- "id": 2083,
+ "id": 2201,
"name": "ExportTML",
"kind": 16,
"kindString": "Enumeration member",
@@ -1677,14 +1677,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4651,
+ "line": 4899,
"character": 4
}
],
"defaultValue": "\"exportTSL\""
},
{
- "id": 2084,
+ "id": 2202,
"name": "ImportTML",
"kind": 16,
"kindString": "Enumeration member",
@@ -1701,14 +1701,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4661,
+ "line": 4909,
"character": 4
}
],
"defaultValue": "\"importTSL\""
},
{
- "id": 2179,
+ "id": 2297,
"name": "InConversationTraining",
"kind": 16,
"kindString": "Enumeration member",
@@ -1729,14 +1729,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5586,
+ "line": 5834,
"character": 4
}
],
"defaultValue": "\"InConversationTraining\""
},
{
- "id": 2168,
+ "id": 2286,
"name": "KPIAnalysisCTA",
"kind": 16,
"kindString": "Enumeration member",
@@ -1757,14 +1757,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5463,
+ "line": 5711,
"character": 4
}
],
"defaultValue": "\"kpiAnalysisCTA\""
},
{
- "id": 2097,
+ "id": 2215,
"name": "LiveboardInfo",
"kind": 16,
"kindString": "Enumeration member",
@@ -1781,14 +1781,42 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4760,
+ "line": 5008,
"character": 4
}
],
"defaultValue": "\"pinboardInfo\""
},
{
- "id": 2153,
+ "id": 2303,
+ "name": "LiveboardStylePanel",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {},
+ "comment": {
+ "shortText": "The **Style panel** on a Liveboard.\nControls the visibility of the Liveboard style panel.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n```js\nhiddenActions: [Action.LiveboardStylePanel]\n```"
+ },
+ {
+ "tag": "version",
+ "text": "SDK: 1.43.0 | ThoughtSpot Cloud: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 5900,
+ "character": 4
+ }
+ ],
+ "defaultValue": "\"liveboardStylePanel\""
+ },
+ {
+ "id": 2271,
"name": "LiveboardUsers",
"kind": 16,
"kindString": "Enumeration member",
@@ -1809,14 +1837,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5285,
+ "line": 5533,
"character": 4
}
],
"defaultValue": "\"liveboardUsers\""
},
{
- "id": 2053,
+ "id": 2171,
"name": "MakeACopy",
"kind": 16,
"kindString": "Enumeration member",
@@ -1833,14 +1861,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4391,
+ "line": 4639,
"character": 4
}
],
"defaultValue": "\"makeACopy\""
},
{
- "id": 2151,
+ "id": 2269,
"name": "ManageMonitor",
"kind": 16,
"kindString": "Enumeration member",
@@ -1857,14 +1885,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5265,
+ "line": 5513,
"character": 4
}
],
"defaultValue": "\"manageMonitor\""
},
{
- "id": 2122,
+ "id": 2240,
"name": "ManagePipelines",
"kind": 16,
"kindString": "Enumeration member",
@@ -1885,14 +1913,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4963,
+ "line": 5211,
"character": 4
}
],
"defaultValue": "\"manage-pipeline\""
},
{
- "id": 2166,
+ "id": 2284,
"name": "ManageTags",
"kind": 16,
"kindString": "Enumeration member",
@@ -1913,14 +1941,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5442,
+ "line": 5690,
"character": 4
}
],
"defaultValue": "\"manageTags\""
},
{
- "id": 2142,
+ "id": 2260,
"name": "MarkAsVerified",
"kind": 16,
"kindString": "Enumeration member",
@@ -1941,14 +1969,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5170,
+ "line": 5418,
"character": 4
}
],
"defaultValue": "\"markAsVerified\""
},
{
- "id": 2149,
+ "id": 2267,
"name": "ModifySageAnswer",
"kind": 16,
"kindString": "Enumeration member",
@@ -1968,14 +1996,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5245,
+ "line": 5493,
"character": 4
}
],
"defaultValue": "\"modifySageAnswer\""
},
{
- "id": 2150,
+ "id": 2268,
"name": "MoveToTab",
"kind": 16,
"kindString": "Enumeration member",
@@ -1992,14 +2020,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5254,
+ "line": 5502,
"character": 4
}
],
"defaultValue": "\"onContainerMove\""
},
{
- "id": 2160,
+ "id": 2278,
"name": "OrganiseFavourites",
"kind": 16,
"kindString": "Enumeration member",
@@ -2020,14 +2048,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5375,
+ "line": 5623,
"character": 4
}
],
"defaultValue": "\"organiseFavourites\""
},
{
- "id": 2163,
+ "id": 2281,
"name": "PauseScheduleHomepage",
"kind": 16,
"kindString": "Enumeration member",
@@ -2048,14 +2076,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5410,
+ "line": 5658,
"character": 4
}
],
"defaultValue": "\"pauseScheduleHomepage\""
},
{
- "id": 2152,
+ "id": 2270,
"name": "PersonalisedViewsDropdown",
"kind": 16,
"kindString": "Enumeration member",
@@ -2076,14 +2104,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5275,
+ "line": 5523,
"character": 4
}
],
"defaultValue": "\"personalisedViewsDropdown\""
},
{
- "id": 2100,
+ "id": 2218,
"name": "Pin",
"kind": 16,
"kindString": "Enumeration member",
@@ -2100,14 +2128,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4777,
+ "line": 5025,
"character": 4
}
],
"defaultValue": "\"pin\""
},
{
- "id": 2183,
+ "id": 2301,
"name": "PngScreenshotInEmail",
"kind": 16,
"kindString": "Enumeration member",
@@ -2124,14 +2152,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5630,
+ "line": 5878,
"character": 4
}
],
"defaultValue": "\"pngScreenshotInEmail\""
},
{
- "id": 2087,
+ "id": 2205,
"name": "Present",
"kind": 16,
"kindString": "Enumeration member",
@@ -2148,14 +2176,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4689,
+ "line": 4937,
"character": 4
}
],
"defaultValue": "\"present\""
},
{
- "id": 2171,
+ "id": 2289,
"name": "PreviewDataSpotter",
"kind": 16,
"kindString": "Enumeration member",
@@ -2176,14 +2204,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5496,
+ "line": 5744,
"character": 4
}
],
"defaultValue": "\"previewDataSpotter\""
},
{
- "id": 2113,
+ "id": 2231,
"name": "QueryDetailsButtons",
"kind": 16,
"kindString": "Enumeration member",
@@ -2201,14 +2229,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4868,
+ "line": 5116,
"character": 4
}
],
"defaultValue": "\"queryDetailsButtons\""
},
{
- "id": 2091,
+ "id": 2209,
"name": "Remove",
"kind": 16,
"kindString": "Enumeration member",
@@ -2225,14 +2253,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4729,
+ "line": 4977,
"character": 4
}
],
"defaultValue": "\"delete\""
},
{
- "id": 2184,
+ "id": 2302,
"name": "RemoveAttachment",
"kind": 16,
"kindString": "Enumeration member",
@@ -2253,14 +2281,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5642,
+ "line": 5890,
"character": 4
}
],
"defaultValue": "\"removeAttachment\""
},
{
- "id": 2126,
+ "id": 2244,
"name": "RemoveCrossFilter",
"kind": 16,
"kindString": "Enumeration member",
@@ -2281,14 +2309,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5004,
+ "line": 5252,
"character": 4
}
],
"defaultValue": "\"context-menu-item-remove-cross-filter\""
},
{
- "id": 2159,
+ "id": 2277,
"name": "RemoveFromWatchlist",
"kind": 16,
"kindString": "Enumeration member",
@@ -2309,14 +2337,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5364,
+ "line": 5612,
"character": 4
}
],
"defaultValue": "\"removeFromWatchlist\""
},
{
- "id": 2140,
+ "id": 2258,
"name": "RenameModalTitleDescription",
"kind": 16,
"kindString": "Enumeration member",
@@ -2337,14 +2365,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5150,
+ "line": 5398,
"character": 4
}
],
"defaultValue": "\"renameModalTitleDescription\""
},
{
- "id": 2119,
+ "id": 2237,
"name": "ReportError",
"kind": 16,
"kindString": "Enumeration member",
@@ -2368,14 +2396,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4932,
+ "line": 5180,
"character": 4
}
],
"defaultValue": "\"reportError\""
},
{
- "id": 2112,
+ "id": 2230,
"name": "RequestAccess",
"kind": 16,
"kindString": "Enumeration member",
@@ -2392,14 +2420,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4854,
+ "line": 5102,
"character": 4
}
],
"defaultValue": "\"requestAccess\""
},
{
- "id": 2141,
+ "id": 2259,
"name": "RequestVerification",
"kind": 16,
"kindString": "Enumeration member",
@@ -2420,14 +2448,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5160,
+ "line": 5408,
"character": 4
}
],
"defaultValue": "\"requestVerification\""
},
{
- "id": 2172,
+ "id": 2290,
"name": "ResetSpotterChat",
"kind": 16,
"kindString": "Enumeration member",
@@ -2448,14 +2476,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5508,
+ "line": 5756,
"character": 4
}
],
"defaultValue": "\"resetSpotterChat\""
},
{
- "id": 2148,
+ "id": 2266,
"name": "SageAnswerFeedback",
"kind": 16,
"kindString": "Enumeration member",
@@ -2476,14 +2504,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5236,
+ "line": 5484,
"character": 4
}
],
"defaultValue": "\"sageAnswerFeedback\""
},
{
- "id": 2049,
+ "id": 2167,
"name": "Save",
"kind": 16,
"kindString": "Enumeration member",
@@ -2500,14 +2528,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4360,
+ "line": 4608,
"character": 4
}
],
"defaultValue": "\"save\""
},
{
- "id": 2052,
+ "id": 2170,
"name": "SaveAsView",
"kind": 16,
"kindString": "Enumeration member",
@@ -2524,14 +2552,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4378,
+ "line": 4626,
"character": 4
}
],
"defaultValue": "\"saveAsView\""
},
{
- "id": 2057,
+ "id": 2175,
"name": "Schedule",
"kind": 16,
"kindString": "Enumeration member",
@@ -2548,14 +2576,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4423,
+ "line": 4671,
"character": 4
}
],
"defaultValue": "\"subscription\""
},
{
- "id": 2058,
+ "id": 2176,
"name": "SchedulesList",
"kind": 16,
"kindString": "Enumeration member",
@@ -2572,14 +2600,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4432,
+ "line": 4680,
"character": 4
}
],
"defaultValue": "\"schedule-list\""
},
{
- "id": 2110,
+ "id": 2228,
"name": "Separator",
"kind": 16,
"kindString": "Enumeration member",
@@ -2587,20 +2615,20 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4835,
+ "line": 5083,
"character": 4
}
],
"defaultValue": "\"context-menu-item-separator\""
},
{
- "id": 2059,
+ "id": 2177,
"name": "Share",
"kind": 16,
"kindString": "Enumeration member",
"flags": {},
"comment": {
- "shortText": "The **Share** action on a Liveboard, Answer, or Worksheet.\nAllows users to share an object with other users and groups.",
+ "shortText": "The **Share** action on a Liveboard, Answer, or Model.\nAllows users to share an object with other users and groups.",
"tags": [
{
"tag": "example",
@@ -2611,14 +2639,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4441,
+ "line": 4689,
"character": 4
}
],
"defaultValue": "\"share\""
},
{
- "id": 2074,
+ "id": 2192,
"name": "ShareViz",
"kind": 16,
"kindString": "Enumeration member",
@@ -2629,14 +2657,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4567,
+ "line": 4815,
"character": 4
}
],
"defaultValue": "\"shareViz\""
},
{
- "id": 2146,
+ "id": 2264,
"name": "ShowSageQuery",
"kind": 16,
"kindString": "Enumeration member",
@@ -2657,14 +2685,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5211,
+ "line": 5459,
"character": 4
}
],
"defaultValue": "\"showSageQuery\""
},
{
- "id": 2076,
+ "id": 2194,
"name": "ShowUnderlyingData",
"kind": 16,
"kindString": "Enumeration member",
@@ -2681,14 +2709,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4582,
+ "line": 4830,
"character": 4
}
],
"defaultValue": "\"showUnderlyingData\""
},
{
- "id": 2071,
+ "id": 2189,
"name": "SpotIQAnalyze",
"kind": 16,
"kindString": "Enumeration member",
@@ -2705,14 +2733,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4555,
+ "line": 4803,
"character": 4
}
],
"defaultValue": "\"spotIQAnalyze\""
},
{
- "id": 2173,
+ "id": 2291,
"name": "SpotterFeedback",
"kind": 16,
"kindString": "Enumeration member",
@@ -2733,14 +2761,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5519,
+ "line": 5767,
"character": 4
}
],
"defaultValue": "\"spotterFeedback\""
},
{
- "id": 2182,
+ "id": 2300,
"name": "SpotterTokenQuickEdit",
"kind": 16,
"kindString": "Enumeration member",
@@ -2761,14 +2789,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5619,
+ "line": 5867,
"character": 4
}
],
"defaultValue": "\"SpotterTokenQuickEdit\""
},
{
- "id": 2180,
+ "id": 2298,
"name": "SpotterWarningsBanner",
"kind": 16,
"kindString": "Enumeration member",
@@ -2789,14 +2817,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5597,
+ "line": 5845,
"character": 4
}
],
"defaultValue": "\"SpotterWarningsBanner\""
},
{
- "id": 2181,
+ "id": 2299,
"name": "SpotterWarningsOnTokens",
"kind": 16,
"kindString": "Enumeration member",
@@ -2817,14 +2845,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5608,
+ "line": 5856,
"character": 4
}
],
"defaultValue": "\"SpotterWarningsOnTokens\""
},
{
- "id": 2102,
+ "id": 2220,
"name": "Subscription",
"kind": 16,
"kindString": "Enumeration member",
@@ -2841,14 +2869,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4790,
+ "line": 5038,
"character": 4
}
],
"defaultValue": "\"subscription\""
},
{
- "id": 2121,
+ "id": 2239,
"name": "SyncToOtherApps",
"kind": 16,
"kindString": "Enumeration member",
@@ -2869,14 +2897,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4953,
+ "line": 5201,
"character": 4
}
],
"defaultValue": "\"sync-to-other-apps\""
},
{
- "id": 2120,
+ "id": 2238,
"name": "SyncToSheets",
"kind": 16,
"kindString": "Enumeration member",
@@ -2897,14 +2925,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4942,
+ "line": 5190,
"character": 4
}
],
"defaultValue": "\"sync-to-sheets\""
},
{
- "id": 2124,
+ "id": 2242,
"name": "SyncToSlack",
"kind": 16,
"kindString": "Enumeration member",
@@ -2925,14 +2953,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4983,
+ "line": 5231,
"character": 4
}
],
"defaultValue": "\"syncToSlack\""
},
{
- "id": 2125,
+ "id": 2243,
"name": "SyncToTeams",
"kind": 16,
"kindString": "Enumeration member",
@@ -2953,14 +2981,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4993,
+ "line": 5241,
"character": 4
}
],
"defaultValue": "\"syncToTeams\""
},
{
- "id": 2154,
+ "id": 2272,
"name": "TML",
"kind": 16,
"kindString": "Enumeration member",
@@ -2985,14 +3013,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5304,
+ "line": 5552,
"character": 4
}
],
"defaultValue": "\"tml\""
},
{
- "id": 2088,
+ "id": 2206,
"name": "ToggleSize",
"kind": 16,
"kindString": "Enumeration member",
@@ -3009,14 +3037,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4701,
+ "line": 4949,
"character": 4
}
],
"defaultValue": "\"toggleSize\""
},
{
- "id": 2165,
+ "id": 2283,
"name": "UnsubscribeScheduleHomepage",
"kind": 16,
"kindString": "Enumeration member",
@@ -3037,14 +3065,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5432,
+ "line": 5680,
"character": 4
}
],
"defaultValue": "\"unsubscribeScheduleHomepage\""
},
{
- "id": 2085,
+ "id": 2203,
"name": "UpdateTML",
"kind": 16,
"kindString": "Enumeration member",
@@ -3061,14 +3089,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4670,
+ "line": 4918,
"character": 4
}
],
"defaultValue": "\"updateTSL\""
},
{
- "id": 2156,
+ "id": 2274,
"name": "VerifiedLiveboard",
"kind": 16,
"kindString": "Enumeration member",
@@ -3089,14 +3117,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5328,
+ "line": 5576,
"character": 4
}
],
"defaultValue": "\"verifiedLiveboard\""
},
{
- "id": 2164,
+ "id": 2282,
"name": "ViewScheduleRunHomepage",
"kind": 16,
"kindString": "Enumeration member",
@@ -3117,7 +3145,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5421,
+ "line": 5669,
"character": 4
}
],
@@ -3129,137 +3157,138 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 2161,
- 2068,
- 2061,
- 2060,
- 2066,
- 2067,
- 2069,
- 2143,
- 2116,
- 2158,
- 2115,
- 2114,
- 2157,
- 2127,
- 2130,
- 2135,
- 2129,
- 2132,
- 2136,
- 2133,
- 2138,
- 2134,
- 2131,
- 2137,
- 2128,
- 2170,
- 2065,
- 2064,
- 2063,
- 2177,
- 2062,
- 2107,
- 2055,
- 2106,
- 2178,
- 2155,
- 2118,
- 2123,
- 2175,
- 2167,
- 2169,
- 2077,
- 2080,
- 2079,
- 2078,
- 2081,
- 2111,
- 2105,
- 2104,
- 2089,
- 2054,
- 2117,
- 2109,
- 2174,
- 2147,
- 2162,
- 2086,
- 2090,
- 2176,
- 2144,
- 2145,
- 2103,
- 2083,
- 2084,
+ 2279,
+ 2186,
2179,
- 2168,
- 2097,
- 2153,
- 2053,
- 2151,
- 2122,
- 2166,
- 2142,
- 2149,
- 2150,
- 2160,
- 2163,
- 2152,
- 2100,
- 2183,
- 2087,
- 2171,
- 2113,
- 2091,
+ 2178,
2184,
- 2126,
- 2159,
- 2140,
- 2119,
- 2112,
- 2141,
- 2172,
- 2148,
- 2049,
- 2052,
- 2057,
- 2058,
- 2110,
- 2059,
- 2074,
- 2146,
- 2076,
- 2071,
- 2173,
+ 2185,
+ 2187,
+ 2261,
+ 2234,
+ 2276,
+ 2233,
+ 2232,
+ 2275,
+ 2245,
+ 2248,
+ 2253,
+ 2247,
+ 2250,
+ 2254,
+ 2251,
+ 2256,
+ 2252,
+ 2249,
+ 2255,
+ 2246,
+ 2288,
+ 2183,
2182,
- 2180,
2181,
- 2102,
- 2121,
- 2120,
- 2124,
- 2125,
- 2154,
- 2088,
- 2165,
- 2085,
- 2156,
- 2164
+ 2295,
+ 2180,
+ 2225,
+ 2173,
+ 2224,
+ 2296,
+ 2273,
+ 2236,
+ 2241,
+ 2293,
+ 2285,
+ 2287,
+ 2195,
+ 2198,
+ 2197,
+ 2196,
+ 2199,
+ 2229,
+ 2223,
+ 2222,
+ 2207,
+ 2172,
+ 2235,
+ 2227,
+ 2292,
+ 2265,
+ 2280,
+ 2204,
+ 2208,
+ 2294,
+ 2262,
+ 2263,
+ 2221,
+ 2201,
+ 2202,
+ 2297,
+ 2286,
+ 2215,
+ 2303,
+ 2271,
+ 2171,
+ 2269,
+ 2240,
+ 2284,
+ 2260,
+ 2267,
+ 2268,
+ 2278,
+ 2281,
+ 2270,
+ 2218,
+ 2301,
+ 2205,
+ 2289,
+ 2231,
+ 2209,
+ 2302,
+ 2244,
+ 2277,
+ 2258,
+ 2237,
+ 2230,
+ 2259,
+ 2290,
+ 2266,
+ 2167,
+ 2170,
+ 2175,
+ 2176,
+ 2228,
+ 2177,
+ 2192,
+ 2264,
+ 2194,
+ 2189,
+ 2291,
+ 2300,
+ 2298,
+ 2299,
+ 2220,
+ 2239,
+ 2238,
+ 2242,
+ 2243,
+ 2272,
+ 2206,
+ 2283,
+ 2203,
+ 2274,
+ 2282
]
}
],
"sources": [
{
"fileName": "types.ts",
- "line": 4351,
+ "line": 4599,
"character": 12
}
]
},
{
- "id": 1702,
+ "id": 1815,
"name": "AuthEvent",
"kind": 4,
"kindString": "Enumeration",
@@ -3275,7 +3304,7 @@
},
"children": [
{
- "id": 1703,
+ "id": 1816,
"name": "TRIGGER_SSO_POPUP",
"kind": 16,
"kindString": "Enumeration member",
@@ -3298,7 +3327,7 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 1703
+ 1816
]
}
],
@@ -3311,7 +3340,7 @@
]
},
{
- "id": 1687,
+ "id": 1800,
"name": "AuthFailureType",
"kind": 4,
"kindString": "Enumeration",
@@ -3327,7 +3356,7 @@
},
"children": [
{
- "id": 1690,
+ "id": 1803,
"name": "EXPIRY",
"kind": 16,
"kindString": "Enumeration member",
@@ -3342,7 +3371,7 @@
"defaultValue": "\"EXPIRY\""
},
{
- "id": 1692,
+ "id": 1805,
"name": "IDLE_SESSION_TIMEOUT",
"kind": 16,
"kindString": "Enumeration member",
@@ -3357,7 +3386,7 @@
"defaultValue": "\"IDLE_SESSION_TIMEOUT\""
},
{
- "id": 1689,
+ "id": 1802,
"name": "NO_COOKIE_ACCESS",
"kind": 16,
"kindString": "Enumeration member",
@@ -3372,7 +3401,7 @@
"defaultValue": "\"NO_COOKIE_ACCESS\""
},
{
- "id": 1691,
+ "id": 1804,
"name": "OTHER",
"kind": 16,
"kindString": "Enumeration member",
@@ -3387,7 +3416,7 @@
"defaultValue": "\"OTHER\""
},
{
- "id": 1688,
+ "id": 1801,
"name": "SDK",
"kind": 16,
"kindString": "Enumeration member",
@@ -3402,7 +3431,7 @@
"defaultValue": "\"SDK\""
},
{
- "id": 1693,
+ "id": 1806,
"name": "UNAUTHENTICATED_FAILURE",
"kind": 16,
"kindString": "Enumeration member",
@@ -3422,12 +3451,12 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 1690,
- 1692,
- 1689,
- 1691,
- 1688,
- 1693
+ 1803,
+ 1805,
+ 1802,
+ 1804,
+ 1801,
+ 1806
]
}
],
@@ -3440,7 +3469,7 @@
]
},
{
- "id": 1694,
+ "id": 1807,
"name": "AuthStatus",
"kind": 4,
"kindString": "Enumeration",
@@ -3456,7 +3485,7 @@
},
"children": [
{
- "id": 1695,
+ "id": 1808,
"name": "FAILURE",
"kind": 16,
"kindString": "Enumeration member",
@@ -3474,7 +3503,7 @@
"defaultValue": "\"FAILURE\""
},
{
- "id": 1699,
+ "id": 1812,
"name": "LOGOUT",
"kind": 16,
"kindString": "Enumeration member",
@@ -3492,7 +3521,7 @@
"defaultValue": "\"LOGOUT\""
},
{
- "id": 1701,
+ "id": 1814,
"name": "SAML_POPUP_CLOSED_NO_AUTH",
"kind": 16,
"kindString": "Enumeration member",
@@ -3510,7 +3539,7 @@
"defaultValue": "\"SAML_POPUP_CLOSED_NO_AUTH\""
},
{
- "id": 1696,
+ "id": 1809,
"name": "SDK_SUCCESS",
"kind": 16,
"kindString": "Enumeration member",
@@ -3528,7 +3557,7 @@
"defaultValue": "\"SDK_SUCCESS\""
},
{
- "id": 1698,
+ "id": 1811,
"name": "SUCCESS",
"kind": 16,
"kindString": "Enumeration member",
@@ -3546,7 +3575,7 @@
"defaultValue": "\"SUCCESS\""
},
{
- "id": 1700,
+ "id": 1813,
"name": "WAITING_FOR_POPUP",
"kind": 16,
"kindString": "Enumeration member",
@@ -3575,12 +3604,12 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 1695,
- 1699,
- 1701,
- 1696,
- 1698,
- 1700
+ 1808,
+ 1812,
+ 1814,
+ 1809,
+ 1811,
+ 1813
]
}
],
@@ -3593,7 +3622,7 @@
]
},
{
- "id": 1849,
+ "id": 1962,
"name": "AuthType",
"kind": 4,
"kindString": "Enumeration",
@@ -3609,7 +3638,7 @@
},
"children": [
{
- "id": 1860,
+ "id": 1973,
"name": "Basic",
"kind": 16,
"kindString": "Enumeration member",
@@ -3628,7 +3657,7 @@
"defaultValue": "\"Basic\""
},
{
- "id": 1851,
+ "id": 1964,
"name": "EmbeddedSSO",
"kind": 16,
"kindString": "Enumeration member",
@@ -3657,7 +3686,7 @@
"defaultValue": "\"EmbeddedSSO\""
},
{
- "id": 1850,
+ "id": 1963,
"name": "None",
"kind": 16,
"kindString": "Enumeration member",
@@ -3681,7 +3710,7 @@
"defaultValue": "\"None\""
},
{
- "id": 1856,
+ "id": 1969,
"name": "OIDCRedirect",
"kind": 16,
"kindString": "Enumeration member",
@@ -3699,7 +3728,7 @@
"defaultValue": "\"SSO_OIDC\""
},
{
- "id": 1854,
+ "id": 1967,
"name": "SAMLRedirect",
"kind": 16,
"kindString": "Enumeration member",
@@ -3732,7 +3761,7 @@
"defaultValue": "\"SSO_SAML\""
},
{
- "id": 1858,
+ "id": 1971,
"name": "TrustedAuthToken",
"kind": 16,
"kindString": "Enumeration member",
@@ -3756,7 +3785,7 @@
"defaultValue": "\"AuthServer\""
},
{
- "id": 1859,
+ "id": 1972,
"name": "TrustedAuthTokenCookieless",
"kind": 16,
"kindString": "Enumeration member",
@@ -3789,13 +3818,13 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 1860,
- 1851,
- 1850,
- 1856,
- 1854,
- 1858,
- 1859
+ 1973,
+ 1964,
+ 1963,
+ 1969,
+ 1967,
+ 1971,
+ 1972
]
}
],
@@ -3808,7 +3837,7 @@
]
},
{
- "id": 2185,
+ "id": 2304,
"name": "ContextMenuTriggerOptions",
"kind": 4,
"kindString": "Enumeration",
@@ -3818,7 +3847,7 @@
},
"children": [
{
- "id": 2188,
+ "id": 2307,
"name": "BOTH_CLICKS",
"kind": 16,
"kindString": "Enumeration member",
@@ -3826,14 +3855,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5663,
+ "line": 5921,
"character": 4
}
],
"defaultValue": "\"both-clicks\""
},
{
- "id": 2186,
+ "id": 2305,
"name": "LEFT_CLICK",
"kind": 16,
"kindString": "Enumeration member",
@@ -3841,14 +3870,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5661,
+ "line": 5919,
"character": 4
}
],
"defaultValue": "\"left-click\""
},
{
- "id": 2187,
+ "id": 2306,
"name": "RIGHT_CLICK",
"kind": 16,
"kindString": "Enumeration member",
@@ -3856,7 +3885,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5662,
+ "line": 5920,
"character": 4
}
],
@@ -3868,22 +3897,22 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 2188,
- 2186,
- 2187
+ 2307,
+ 2305,
+ 2306
]
}
],
"sources": [
{
"fileName": "types.ts",
- "line": 5660,
+ "line": 5918,
"character": 12
}
]
},
{
- "id": 2855,
+ "id": 2987,
"name": "CustomActionTarget",
"kind": 4,
"kindString": "Enumeration",
@@ -3893,7 +3922,7 @@
},
"children": [
{
- "id": 2858,
+ "id": 2990,
"name": "ANSWER",
"kind": 16,
"kindString": "Enumeration member",
@@ -3901,14 +3930,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5748,
+ "line": 6006,
"character": 4
}
],
"defaultValue": "\"ANSWER\""
},
{
- "id": 2856,
+ "id": 2988,
"name": "LIVEBOARD",
"kind": 16,
"kindString": "Enumeration member",
@@ -3916,14 +3945,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5746,
+ "line": 6004,
"character": 4
}
],
"defaultValue": "\"LIVEBOARD\""
},
{
- "id": 2859,
+ "id": 2991,
"name": "SPOTTER",
"kind": 16,
"kindString": "Enumeration member",
@@ -3931,14 +3960,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5749,
+ "line": 6007,
"character": 4
}
],
"defaultValue": "\"SPOTTER\""
},
{
- "id": 2857,
+ "id": 2989,
"name": "VIZ",
"kind": 16,
"kindString": "Enumeration member",
@@ -3946,7 +3975,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5747,
+ "line": 6005,
"character": 4
}
],
@@ -3958,23 +3987,23 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 2858,
- 2856,
- 2859,
- 2857
+ 2990,
+ 2988,
+ 2991,
+ 2989
]
}
],
"sources": [
{
"fileName": "types.ts",
- "line": 5745,
+ "line": 6003,
"character": 12
}
]
},
{
- "id": 2851,
+ "id": 2983,
"name": "CustomActionsPosition",
"kind": 4,
"kindString": "Enumeration",
@@ -3984,7 +4013,7 @@
},
"children": [
{
- "id": 2854,
+ "id": 2986,
"name": "CONTEXTMENU",
"kind": 16,
"kindString": "Enumeration member",
@@ -3992,14 +4021,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5739,
+ "line": 5997,
"character": 4
}
],
"defaultValue": "\"CONTEXTMENU\""
},
{
- "id": 2853,
+ "id": 2985,
"name": "MENU",
"kind": 16,
"kindString": "Enumeration member",
@@ -4007,14 +4036,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5738,
+ "line": 5996,
"character": 4
}
],
"defaultValue": "\"MENU\""
},
{
- "id": 2852,
+ "id": 2984,
"name": "PRIMARY",
"kind": 16,
"kindString": "Enumeration member",
@@ -4022,7 +4051,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5737,
+ "line": 5995,
"character": 4
}
],
@@ -4034,22 +4063,22 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 2854,
- 2853,
- 2852
+ 2986,
+ 2985,
+ 2984
]
}
],
"sources": [
{
"fileName": "types.ts",
- "line": 5736,
+ "line": 5994,
"character": 12
}
]
},
{
- "id": 2847,
+ "id": 2979,
"name": "DataPanelCustomColumnGroupsAccordionState",
"kind": 4,
"kindString": "Enumeration",
@@ -4059,7 +4088,7 @@
},
"children": [
{
- "id": 2849,
+ "id": 2981,
"name": "COLLAPSE_ALL",
"kind": 16,
"kindString": "Enumeration member",
@@ -4077,7 +4106,7 @@
"defaultValue": "\"COLLAPSE_ALL\""
},
{
- "id": 2848,
+ "id": 2980,
"name": "EXPAND_ALL",
"kind": 16,
"kindString": "Enumeration member",
@@ -4095,7 +4124,7 @@
"defaultValue": "\"EXPAND_ALL\""
},
{
- "id": 2850,
+ "id": 2982,
"name": "EXPAND_FIRST",
"kind": 16,
"kindString": "Enumeration member",
@@ -4118,9 +4147,9 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 2849,
- 2848,
- 2850
+ 2981,
+ 2980,
+ 2982
]
}
],
@@ -4133,7 +4162,7 @@
]
},
{
- "id": 2044,
+ "id": 2162,
"name": "DataSourceVisualMode",
"kind": 4,
"kindString": "Enumeration",
@@ -4143,7 +4172,7 @@
},
"children": [
{
- "id": 2046,
+ "id": 2164,
"name": "Collapsed",
"kind": 16,
"kindString": "Enumeration member",
@@ -4154,14 +4183,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4187,
+ "line": 4430,
"character": 4
}
],
"defaultValue": "\"collapse\""
},
{
- "id": 2047,
+ "id": 2165,
"name": "Expanded",
"kind": 16,
"kindString": "Enumeration member",
@@ -4172,14 +4201,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4191,
+ "line": 4434,
"character": 4
}
],
"defaultValue": "\"expand\""
},
{
- "id": 2045,
+ "id": 2163,
"name": "Hidden",
"kind": 16,
"kindString": "Enumeration member",
@@ -4190,7 +4219,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4183,
+ "line": 4426,
"character": 4
}
],
@@ -4202,22 +4231,22 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 2046,
- 2047,
- 2045
+ 2164,
+ 2165,
+ 2163
]
}
],
"sources": [
{
"fileName": "types.ts",
- "line": 4179,
+ "line": 4422,
"character": 12
}
]
},
{
- "id": 1881,
+ "id": 1994,
"name": "EmbedEvent",
"kind": 4,
"kindString": "Enumeration",
@@ -4242,7 +4271,35 @@
},
"children": [
{
- "id": 1909,
+ "id": 2030,
+ "name": "AIHighlights",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {},
+ "comment": {
+ "shortText": "Emitted when the AI Highlights action is triggered on a Liveboard",
+ "tags": [
+ {
+ "tag": "version",
+ "text": "SDK: 1.44.0 | ThoughtSpot: 10.15.0.cl"
+ },
+ {
+ "tag": "example",
+ "text": "\n```js\nliveboardEmbed.on(EmbedEvent.AIHighlights, (payload) => {\n console.log('AI Highlights', payload);\n})\n```\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 2319,
+ "character": 4
+ }
+ ],
+ "defaultValue": "\"AIHighlights\""
+ },
+ {
+ "id": 2022,
"name": "ALL",
"kind": 16,
"kindString": "Enumeration member",
@@ -4263,14 +4320,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2139,
+ "line": 2204,
"character": 4
}
],
"defaultValue": "\"*\""
},
{
- "id": 1889,
+ "id": 2002,
"name": "AddRemoveColumns",
"kind": 16,
"kindString": "Enumeration member",
@@ -4295,14 +4352,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1905,
+ "line": 1970,
"character": 4
}
],
"defaultValue": "\"addRemoveColumns\""
},
{
- "id": 1933,
+ "id": 2047,
"name": "AddToFavorites",
"kind": 16,
"kindString": "Enumeration member",
@@ -4323,14 +4380,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2450,
+ "line": 2526,
"character": 4
}
],
"defaultValue": "\"addToFavorites\""
},
{
- "id": 1894,
+ "id": 2007,
"name": "Alert",
"kind": 16,
"kindString": "Enumeration member",
@@ -4355,14 +4412,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1997,
+ "line": 2062,
"character": 4
}
],
"defaultValue": "\"alert\""
},
{
- "id": 1929,
+ "id": 2043,
"name": "AnswerChartSwitcher",
"kind": 16,
"kindString": "Enumeration member",
@@ -4383,14 +4440,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2418,
+ "line": 2494,
"character": 4
}
],
"defaultValue": "\"answerChartSwitcher\""
},
{
- "id": 1916,
+ "id": 2029,
"name": "AnswerDelete",
"kind": 16,
"kindString": "Enumeration member",
@@ -4411,14 +4468,43 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2243,
+ "line": 2308,
"character": 4
}
],
"defaultValue": "\"answerDelete\""
},
{
- "id": 1956,
+ "id": 2088,
+ "name": "ApiIntercept",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {},
+ "comment": {
+ "shortText": "Emitted when the user intercepts a URL.",
+ "text": "Supported on all embed types.\n",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n\n```js\nembed.on(EmbedEvent.ApiIntercept, (payload, responder) => {\n console.log('payload', payload);\n responder({\n data: {\n execute: false,\n error: {\n errorText: 'Error Occurred',\n }\n }\n })\n})\n```\n\n```js\n// We can also send a response for the intercepted api\nembed.on(EmbedEvent.ApiIntercept, (payload, responder) => {\n console.log('payload', payload);\n responder({\n data: {\n execute: false,\n response: {\n body: {\n data: {\n // Some api response\n },\n }\n }\n }\n })\n})\n\n// here embed will use the response from the responder as the response for the api\n```\n\n```js\n// We can also send error in response for the intercepted api\nembed.on(EmbedEvent.ApiIntercept, (payload, responder) => {\n console.log('payload', payload);\n responder({\n data: {\n execute: false,\n response: {\n body: {\n errors: [{\n title: 'Error Occurred',\n description: 'Error Description',\n isUserError: true,\n }],\n data: {},\n },\n }\n }\n })\n})\n```"
+ },
+ {
+ "tag": "version",
+ "text": "SDK: 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 3053,
+ "character": 4
+ }
+ ],
+ "defaultValue": "\"ApiIntercept\""
+ },
+ {
+ "id": 2070,
"name": "AskSageInit",
"kind": 16,
"kindString": "Enumeration member",
@@ -4451,14 +4537,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2659,
+ "line": 2735,
"character": 4
}
],
"defaultValue": "\"AskSageInit\""
},
{
- "id": 1895,
+ "id": 2008,
"name": "AuthExpire",
"kind": 16,
"kindString": "Enumeration member",
@@ -4479,14 +4565,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2010,
+ "line": 2075,
"character": 4
}
],
"defaultValue": "\"ThoughtspotAuthExpired\""
},
{
- "id": 1883,
+ "id": 1996,
"name": "AuthInit",
"kind": 16,
"kindString": "Enumeration member",
@@ -4511,14 +4597,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1807,
+ "line": 1872,
"character": 4
}
],
"defaultValue": "\"authInit\""
},
{
- "id": 1940,
+ "id": 2054,
"name": "Cancel",
"kind": 16,
"kindString": "Enumeration member",
@@ -4539,14 +4625,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2526,
+ "line": 2602,
"character": 4
}
],
"defaultValue": "\"cancel\""
},
{
- "id": 1927,
+ "id": 2041,
"name": "CopyAEdit",
"kind": 16,
"kindString": "Enumeration member",
@@ -4567,14 +4653,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2396,
+ "line": 2472,
"character": 4
}
],
"defaultValue": "\"copyAEdit\""
},
{
- "id": 1942,
+ "id": 2056,
"name": "CopyLink",
"kind": 16,
"kindString": "Enumeration member",
@@ -4595,14 +4681,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2546,
+ "line": 2622,
"character": 4
}
],
"defaultValue": "\"embedDocument\""
},
{
- "id": 1922,
+ "id": 2036,
"name": "CopyToClipboard",
"kind": 16,
"kindString": "Enumeration member",
@@ -4623,14 +4709,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2333,
+ "line": 2409,
"character": 4
}
],
"defaultValue": "\"context-menu-item-copy-to-clipboard\""
},
{
- "id": 1950,
+ "id": 2064,
"name": "CreateConnection",
"kind": 16,
"kindString": "Enumeration member",
@@ -4647,14 +4733,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2610,
+ "line": 2686,
"character": 4
}
],
"defaultValue": "\"createConnection\""
},
{
- "id": 1961,
+ "id": 2075,
"name": "CreateLiveboard",
"kind": 16,
"kindString": "Enumeration member",
@@ -4672,14 +4758,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2790,
+ "line": 2870,
"character": 4
}
],
"defaultValue": "\"createLiveboard\""
},
{
- "id": 1962,
+ "id": 2076,
"name": "CreateModel",
"kind": 16,
"kindString": "Enumeration member",
@@ -4696,14 +4782,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2795,
- "character": 5
+ "line": 2875,
+ "character": 4
}
],
"defaultValue": "\"createModel\""
},
{
- "id": 1955,
+ "id": 2069,
"name": "CreateWorksheet",
"kind": 16,
"kindString": "Enumeration member",
@@ -4720,14 +4806,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2650,
+ "line": 2726,
"character": 4
}
],
"defaultValue": "\"createWorksheet\""
},
{
- "id": 1943,
+ "id": 2057,
"name": "CrossFilterChanged",
"kind": 16,
"kindString": "Enumeration member",
@@ -4748,14 +4834,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2557,
+ "line": 2633,
"character": 4
}
],
"defaultValue": "\"cross-filter-changed\""
},
{
- "id": 1890,
+ "id": 2003,
"name": "CustomAction",
"kind": 16,
"kindString": "Enumeration member",
@@ -4784,20 +4870,20 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1922,
+ "line": 1987,
"character": 4
}
],
"defaultValue": "\"customAction\""
},
{
- "id": 1885,
+ "id": 1998,
"name": "Data",
"kind": 16,
"kindString": "Enumeration member",
"flags": {},
"comment": {
- "shortText": "Data pertaining to an Answer or Liveboard is received.\nThe event payload includes the raw data of the object.",
+ "shortText": "Data pertaining to an Answer, Liveboard or Spotter visualization is received.\nThe event payload includes the raw data of the object.",
"tags": [
{
"tag": "returns",
@@ -4820,14 +4906,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1835,
+ "line": 1900,
"character": 4
}
],
"defaultValue": "\"data\""
},
{
- "id": 1888,
+ "id": 2001,
"name": "DataSourceSelected",
"kind": 16,
"kindString": "Enumeration member",
@@ -4852,14 +4938,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1893,
+ "line": 1958,
"character": 4
}
],
"defaultValue": "\"dataSourceSelected\""
},
{
- "id": 1938,
+ "id": 2052,
"name": "Delete",
"kind": 16,
"kindString": "Enumeration member",
@@ -4880,14 +4966,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2508,
+ "line": 2584,
"character": 4
}
],
"defaultValue": "\"delete\""
},
{
- "id": 1954,
+ "id": 2068,
"name": "DeletePersonalisedView",
"kind": 16,
"kindString": "Enumeration member",
@@ -4912,14 +4998,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2645,
+ "line": 2721,
"character": 4
}
],
"defaultValue": "\"deletePersonalisedView\""
},
{
- "id": 1907,
+ "id": 2020,
"name": "DialogClose",
"kind": 16,
"kindString": "Enumeration member",
@@ -4940,14 +5026,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2106,
+ "line": 2171,
"character": 4
}
],
"defaultValue": "\"dialog-close\""
},
{
- "id": 1906,
+ "id": 2019,
"name": "DialogOpen",
"kind": 16,
"kindString": "Enumeration member",
@@ -4968,14 +5054,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2095,
+ "line": 2160,
"character": 4
}
],
"defaultValue": "\"dialog-open\""
},
{
- "id": 1911,
+ "id": 2024,
"name": "Download",
"kind": 16,
"kindString": "Enumeration member",
@@ -4997,14 +5083,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2173,
+ "line": 2238,
"character": 4
}
],
"defaultValue": "\"download\""
},
{
- "id": 1914,
+ "id": 2027,
"name": "DownloadAsCsv",
"kind": 16,
"kindString": "Enumeration member",
@@ -5025,14 +5111,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2215,
+ "line": 2280,
"character": 4
}
],
"defaultValue": "\"downloadAsCsv\""
},
{
- "id": 1913,
+ "id": 2026,
"name": "DownloadAsPdf",
"kind": 16,
"kindString": "Enumeration member",
@@ -5053,14 +5139,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2201,
+ "line": 2266,
"character": 4
}
],
"defaultValue": "\"downloadAsPdf\""
},
{
- "id": 1912,
+ "id": 2025,
"name": "DownloadAsPng",
"kind": 16,
"kindString": "Enumeration member",
@@ -5081,14 +5167,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2187,
+ "line": 2252,
"character": 4
}
],
"defaultValue": "\"downloadAsPng\""
},
{
- "id": 1915,
+ "id": 2028,
"name": "DownloadAsXlsx",
"kind": 16,
"kindString": "Enumeration member",
@@ -5109,14 +5195,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2229,
+ "line": 2294,
"character": 4
}
],
"defaultValue": "\"downloadAsXlsx\""
},
{
- "id": 1921,
+ "id": 2035,
"name": "DrillExclude",
"kind": 16,
"kindString": "Enumeration member",
@@ -5137,14 +5223,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2322,
+ "line": 2398,
"character": 4
}
],
"defaultValue": "\"context-menu-item-exclude\""
},
{
- "id": 1920,
+ "id": 2034,
"name": "DrillInclude",
"kind": 16,
"kindString": "Enumeration member",
@@ -5165,14 +5251,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2310,
+ "line": 2386,
"character": 4
}
],
"defaultValue": "\"context-menu-item-include\""
},
{
- "id": 1887,
+ "id": 2000,
"name": "Drilldown",
"kind": 16,
"kindString": "Enumeration member",
@@ -5209,14 +5295,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1881,
+ "line": 1946,
"character": 4
}
],
"defaultValue": "\"drillDown\""
},
{
- "id": 1935,
+ "id": 2049,
"name": "Edit",
"kind": 16,
"kindString": "Enumeration member",
@@ -5237,14 +5323,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2472,
+ "line": 2548,
"character": 4
}
],
"defaultValue": "\"edit\""
},
{
- "id": 1924,
+ "id": 2038,
"name": "EditTML",
"kind": 16,
"kindString": "Enumeration member",
@@ -5265,14 +5351,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2356,
+ "line": 2432,
"character": 4
}
],
"defaultValue": "\"editTSL\""
},
{
- "id": 1893,
+ "id": 2006,
"name": "Error",
"kind": 16,
"kindString": "Enumeration member",
@@ -5302,14 +5388,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1987,
+ "line": 2052,
"character": 4
}
],
"defaultValue": "\"Error\""
},
{
- "id": 1941,
+ "id": 2055,
"name": "Explore",
"kind": 16,
"kindString": "Enumeration member",
@@ -5330,14 +5416,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2536,
+ "line": 2612,
"character": 4
}
],
"defaultValue": "\"explore\""
},
{
- "id": 1925,
+ "id": 2039,
"name": "ExportTML",
"kind": 16,
"kindString": "Enumeration member",
@@ -5358,14 +5444,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2371,
+ "line": 2447,
"character": 4
}
],
"defaultValue": "\"exportTSL\""
},
{
- "id": 1946,
+ "id": 2060,
"name": "FilterChanged",
"kind": 16,
"kindString": "Enumeration member",
@@ -5382,14 +5468,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2587,
+ "line": 2663,
"character": 4
}
],
"defaultValue": "\"filterChanged\""
},
{
- "id": 1901,
+ "id": 2014,
"name": "GetDataClick",
"kind": 16,
"kindString": "Enumeration member",
@@ -5410,14 +5496,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2052,
+ "line": 2117,
"character": 4
}
],
"defaultValue": "\"getDataClick\""
},
{
- "id": 1882,
+ "id": 1995,
"name": "Init",
"kind": 16,
"kindString": "Enumeration member",
@@ -5438,14 +5524,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1795,
+ "line": 1860,
"character": 4
}
],
"defaultValue": "\"init\""
},
{
- "id": 1969,
+ "id": 2083,
"name": "LastPromptDeleted",
"kind": 16,
"kindString": "Enumeration member",
@@ -5466,14 +5552,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2862,
+ "line": 2942,
"character": 4
}
],
"defaultValue": "\"LastPromptDeleted\""
},
{
- "id": 1968,
+ "id": 2082,
"name": "LastPromptEdited",
"kind": 16,
"kindString": "Enumeration member",
@@ -5494,14 +5580,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2851,
+ "line": 2931,
"character": 4
}
],
"defaultValue": "\"LastPromptEdited\""
},
{
- "id": 1932,
+ "id": 2046,
"name": "LiveboardInfo",
"kind": 16,
"kindString": "Enumeration member",
@@ -5522,14 +5608,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2439,
+ "line": 2515,
"character": 4
}
],
"defaultValue": "\"pinboardInfo\""
},
{
- "id": 1908,
+ "id": 2021,
"name": "LiveboardRendered",
"kind": 16,
"kindString": "Enumeration member",
@@ -5554,14 +5640,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2128,
+ "line": 2193,
"character": 4
}
],
"defaultValue": "\"PinboardRendered\""
},
{
- "id": 1884,
+ "id": 1997,
"name": "Load",
"kind": 16,
"kindString": "Enumeration member",
@@ -5586,14 +5672,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1821,
+ "line": 1886,
"character": 4
}
],
"defaultValue": "\"load\""
},
{
- "id": 1936,
+ "id": 2050,
"name": "MakeACopy",
"kind": 16,
"kindString": "Enumeration member",
@@ -5614,14 +5700,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2483,
+ "line": 2559,
"character": 4
}
],
"defaultValue": "\"makeACopy\""
},
{
- "id": 1904,
+ "id": 2017,
"name": "NoCookieAccess",
"kind": 16,
"kindString": "Enumeration member",
@@ -5642,14 +5728,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2078,
+ "line": 2143,
"character": 4
}
],
"defaultValue": "\"noCookieAccess\""
},
{
- "id": 1958,
+ "id": 2072,
"name": "OnBeforeGetVizDataIntercept",
"kind": 16,
"kindString": "Enumeration member",
@@ -5659,12 +5745,12 @@
"text": "Prerequisite: Set `isOnBeforeGetVizDataInterceptEnabled` to `true`\nfor this embed event to get emitted.",
"tags": [
{
- "tag": "param:",
- "text": "payload"
+ "tag": "param:payload",
+ "text": "The payload received from the embed related to the Data API call."
},
{
- "tag": "param:",
- "text": "responder\nContains elements that lets developers define whether ThoughtSpot\nshould run the search, and if not, what error message\nshould be shown to the user.\n\nexecute: When execute returns `true`, the search will be run.\nWhen execute returns `false`, the search will not be executed.\n\nerror: Developers can customize the error message text when `execute`\nreturns `false` using the error parameter in responder."
+ "tag": "param:responder",
+ "text": "\nContains elements that lets developers define whether ThoughtSpot\nshould run the search, and if not, what error message\nshould be shown to the user.\n\n`execute` - When execute returns `true`, the search will be run.\nWhen execute returns `false`, the search will not be executed.\n\n`error` - Developers can customize the error message text when `execute`\nis `false` using the `errorText` and `errorDescription` parameters in responder.\n\n`errorText` - The error message text to be shown to the user.\n`errorDescription (ThoughtSpot: 10.15.0.cl and above)` - The error description to be shown to the user."
},
{
"tag": "version",
@@ -5672,21 +5758,21 @@
},
{
"tag": "example",
- "text": "\n```js\n.on(EmbedEvent.OnBeforeGetVizDataIntercept,\n(payload, responder) => {\n responder({\n data: {\n execute:false,\n error: {\n //Provide a custom error message to explain to your end user\n //why their search did not run\n errorText: \"This search query cannot be run.\n Please contact your administrator for more details.\"\n }\n }})\n})\n```\n\n```js\n.on(EmbedEvent.OnBeforeGetVizDataIntercept,\n(payload, responder) => {\nconst query = payload.data.data.answer.search_query\nresponder({\n data: {\n // returns true as long as the query does not include\n // both the 'sales' AND the 'county' column\n execute: !(query.includes(\"sales\")&&query.includes(\"county\")),\n error: {\n //Provide a custom error message to explain to your end user\n // why their search did not run, and which searches are accepted by your custom logic.\n errorText: \"You can't use this query :\" + query + \".\n The 'sales' measures can never be used at the 'county' level.\n Please try another measure, or remove 'county' from your search.\"\n }\n }})\n})\n```\n"
+ "text": "\n```js\nembed.on(EmbedEvent.OnBeforeGetVizDataIntercept,\n(payload, responder) => {\n responder({\n data: {\n execute:false,\n error: {\n //Provide a custom error message to explain to your end user\n //why their search did not run\n errorText: \"This search query cannot be run.\n Please contact your administrator for more details.\"\n }\n }})\n})\n```\n\n```js\nembed.on(EmbedEvent.OnBeforeGetVizDataIntercept,\n(payload, responder) => {\nconst query = payload.data.data.answer.search_query\nresponder({\n data: {\n // returns true as long as the query does not include\n // both the 'sales' AND the 'county' column\n execute: !(query.includes(\"sales\")&&query.includes(\"county\")),\n error: {\n //Provide a custom error message to explain to your end user\n // why their search did not run, and which searches are accepted by your custom logic.\n errorText: \"Error Occurred\",\n errorDescription: \"You can't use this query :\" + query + \".\n The 'sales' measures can never be used at the 'county' level.\n Please try another measure, or remove 'county' from your search.\"\n }\n }})\n})\n```\n"
}
]
},
"sources": [
{
"fileName": "types.ts",
- "line": 2723,
+ "line": 2803,
"character": 4
}
],
"defaultValue": "\"onBeforeGetVizDataIntercept\""
},
{
- "id": 1973,
+ "id": 2087,
"name": "OrgSwitched",
"kind": 16,
"kindString": "Enumeration member",
@@ -5707,14 +5793,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2907,
+ "line": 2987,
"character": 4
}
],
"defaultValue": "\"orgSwitched\""
},
{
- "id": 1959,
+ "id": 2073,
"name": "ParameterChanged",
"kind": 16,
"kindString": "Enumeration member",
@@ -5731,14 +5817,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2734,
+ "line": 2814,
"character": 4
}
],
"defaultValue": "\"parameterChanged\""
},
{
- "id": 1917,
+ "id": 2031,
"name": "Pin",
"kind": 16,
"kindString": "Enumeration member",
@@ -5759,14 +5845,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2262,
+ "line": 2338,
"character": 4
}
],
"defaultValue": "\"pin\""
},
{
- "id": 1937,
+ "id": 2051,
"name": "Present",
"kind": 16,
"kindString": "Enumeration member",
@@ -5791,20 +5877,20 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2498,
+ "line": 2574,
"character": 4
}
],
"defaultValue": "\"present\""
},
{
- "id": 1966,
+ "id": 2080,
"name": "PreviewSpotterData",
"kind": 16,
"kindString": "Enumeration member",
"flags": {},
"comment": {
- "shortText": "Emitted when user opens up the worksheet preview modal in Spotter embed.",
+ "shortText": "Emitted when user opens up the data source preview modal in Spotter embed.",
"tags": [
{
"tag": "example",
@@ -5819,14 +5905,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2829,
+ "line": 2909,
"character": 4
}
],
"defaultValue": "\"PreviewSpotterData\""
},
{
- "id": 1886,
+ "id": 1999,
"name": "QueryChanged",
"kind": 16,
"kindString": "Enumeration member",
@@ -5847,14 +5933,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1844,
+ "line": 1909,
"character": 4
}
],
"defaultValue": "\"queryChanged\""
},
{
- "id": 1957,
+ "id": 2071,
"name": "Rename",
"kind": 16,
"kindString": "Enumeration member",
@@ -5871,14 +5957,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2664,
+ "line": 2740,
"character": 4
}
],
"defaultValue": "\"rename\""
},
{
- "id": 1953,
+ "id": 2067,
"name": "ResetLiveboard",
"kind": 16,
"kindString": "Enumeration member",
@@ -5911,14 +5997,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2638,
+ "line": 2714,
"character": 4
}
],
"defaultValue": "\"resetLiveboard\""
},
{
- "id": 1970,
+ "id": 2084,
"name": "ResetSpotterConversation",
"kind": 16,
"kindString": "Enumeration member",
@@ -5939,14 +6025,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2873,
+ "line": 2953,
"character": 4
}
],
"defaultValue": "\"ResetSpotterConversation\""
},
{
- "id": 1902,
+ "id": 2015,
"name": "RouteChange",
"kind": 16,
"kindString": "Enumeration member",
@@ -5967,14 +6053,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2062,
+ "line": 2127,
"character": 4
}
],
"defaultValue": "\"ROUTE_CHANGE\""
},
{
- "id": 1947,
+ "id": 2061,
"name": "SageEmbedQuery",
"kind": 16,
"kindString": "Enumeration member",
@@ -5991,14 +6077,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2593,
+ "line": 2669,
"character": 4
}
],
"defaultValue": "\"sageEmbedQuery\""
},
{
- "id": 1948,
+ "id": 2062,
"name": "SageWorksheetUpdated",
"kind": 16,
"kindString": "Enumeration member",
@@ -6015,14 +6101,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2600,
+ "line": 2676,
"character": 4
}
],
"defaultValue": "\"sageWorksheetUpdated\""
},
{
- "id": 1910,
+ "id": 2023,
"name": "Save",
"kind": 16,
"kindString": "Enumeration member",
@@ -6043,14 +6129,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2157,
+ "line": 2222,
"character": 4
}
],
"defaultValue": "\"save\""
},
{
- "id": 1926,
+ "id": 2040,
"name": "SaveAsView",
"kind": 16,
"kindString": "Enumeration member",
@@ -6071,14 +6157,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2382,
+ "line": 2458,
"character": 4
}
],
"defaultValue": "\"saveAsView\""
},
{
- "id": 1952,
+ "id": 2066,
"name": "SavePersonalisedView",
"kind": 16,
"kindString": "Enumeration member",
@@ -6111,14 +6197,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2629,
+ "line": 2705,
"character": 4
}
],
"defaultValue": "\"savePersonalisedView\""
},
{
- "id": 1934,
+ "id": 2048,
"name": "Schedule",
"kind": 16,
"kindString": "Enumeration member",
@@ -6139,14 +6225,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2461,
+ "line": 2537,
"character": 4
}
],
"defaultValue": "\"subscription\""
},
{
- "id": 1939,
+ "id": 2053,
"name": "SchedulesList",
"kind": 16,
"kindString": "Enumeration member",
@@ -6167,14 +6253,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2517,
+ "line": 2593,
"character": 4
}
],
"defaultValue": "\"schedule-list\""
},
{
- "id": 1919,
+ "id": 2033,
"name": "Share",
"kind": 16,
"kindString": "Enumeration member",
@@ -6195,14 +6281,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2298,
+ "line": 2374,
"character": 4
}
],
"defaultValue": "\"share\""
},
{
- "id": 1928,
+ "id": 2042,
"name": "ShowUnderlyingData",
"kind": 16,
"kindString": "Enumeration member",
@@ -6223,14 +6309,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2407,
+ "line": 2483,
"character": 4
}
],
"defaultValue": "\"showUnderlyingData\""
},
{
- "id": 1918,
+ "id": 2032,
"name": "SpotIQAnalyze",
"kind": 16,
"kindString": "Enumeration member",
@@ -6251,14 +6337,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2280,
+ "line": 2356,
"character": 4
}
],
"defaultValue": "\"spotIQAnalyze\""
},
{
- "id": 1965,
+ "id": 2079,
"name": "SpotterData",
"kind": 16,
"kindString": "Enumeration member",
@@ -6279,14 +6365,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2818,
+ "line": 2898,
"character": 4
}
],
"defaultValue": "\"SpotterData\""
},
{
- "id": 1971,
+ "id": 2085,
"name": "SpotterInit",
"kind": 16,
"kindString": "Enumeration member",
@@ -6307,14 +6393,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2884,
+ "line": 2964,
"character": 4
}
],
"defaultValue": "\"spotterInit\""
},
{
- "id": 1967,
+ "id": 2081,
"name": "SpotterQueryTriggered",
"kind": 16,
"kindString": "Enumeration member",
@@ -6335,21 +6421,21 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2840,
+ "line": 2920,
"character": 4
}
],
"defaultValue": "\"SpotterQueryTriggered\""
},
{
- "id": 1960,
+ "id": 2074,
"name": "TableVizRendered",
"kind": 16,
"kindString": "Enumeration member",
"flags": {},
"comment": {
"shortText": "Emits when a table visualization is rendered in\nthe ThoughtSpot embedded app.",
- "text": "You can also use this event as a hook to trigger host events\nsuch as `HostEvent.TransformTableVizData` on the table visualization.\nThe event payload contains the data used in the rendered table.\nYou can extract the relevant data from the payload\nstored in `payload.data.data.columnDataLite`.\n\n`columnDataLite` is a multidimensional array that contains\ndata values for each column, which was used in the query to\ngenerate the table visualization. To find and modify specific cell data,\nyou can either loop through the array or directly access a cell if\nyou know its position and data index.\n\nIn the following code sample, the first cell in the first column\n(`columnDataLite[0].dataValue[0]`) is set to `new fob`.\nNote that any changes made to the data in the payload will only update the\nvisual presentation and do not affect the underlying data.\nTo persist data value modifications after a reload or during chart\ninteractions such as drill down, ensure that the modified\npayload in the `columnDataLite` is passed on to\n`HostEvent.TransformTableVizData` and trigger an update to\nthe table visualization.\n\nIf the Row-Level Security (RLS) rules are applied on the\nWorksheet or Model, exercise caution when changing column\nor table cell values to maintain data security.\n",
+ "text": "You can also use this event as a hook to trigger host events\nsuch as `HostEvent.TransformTableVizData` on the table visualization.\nThe event payload contains the data used in the rendered table.\nYou can extract the relevant data from the payload\nstored in `payload.data.data.columnDataLite`.\n\n`columnDataLite` is a multidimensional array that contains\ndata values for each column, which was used in the query to\ngenerate the table visualization. To find and modify specific cell data,\nyou can either loop through the array or directly access a cell if\nyou know its position and data index.\n\nIn the following code sample, the first cell in the first column\n(`columnDataLite[0].dataValue[0]`) is set to `new fob`.\nNote that any changes made to the data in the payload will only update the\nvisual presentation and do not affect the underlying data.\nTo persist data value modifications after a reload or during chart\ninteractions such as drill down, ensure that the modified\npayload in the `columnDataLite` is passed on to\n`HostEvent.TransformTableVizData` and trigger an update to\nthe table visualization.\n\nIf the Row-Level Security (RLS) rules are applied on the\nModel, exercise caution when changing column\nor table cell values to maintain data security.\n",
"tags": [
{
"tag": "example",
@@ -6364,14 +6450,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2777,
- "character": 5
+ "line": 2857,
+ "character": 4
}
],
"defaultValue": "\"TableVizRendered\""
},
{
- "id": 1949,
+ "id": 2063,
"name": "UpdateConnection",
"kind": 16,
"kindString": "Enumeration member",
@@ -6388,14 +6474,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2605,
+ "line": 2681,
"character": 4
}
],
"defaultValue": "\"updateConnection\""
},
{
- "id": 1951,
+ "id": 2065,
"name": "UpdatePersonalisedView",
"kind": 16,
"kindString": "Enumeration member",
@@ -6428,14 +6514,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2620,
+ "line": 2696,
"character": 4
}
],
"defaultValue": "\"updatePersonalisedView\""
},
{
- "id": 1923,
+ "id": 2037,
"name": "UpdateTML",
"kind": 16,
"kindString": "Enumeration member",
@@ -6456,14 +6542,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2344,
+ "line": 2420,
"character": 4
}
],
"defaultValue": "\"updateTSL\""
},
{
- "id": 1892,
+ "id": 2005,
"name": "VizPointClick",
"kind": 16,
"kindString": "Enumeration member",
@@ -6492,14 +6578,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1953,
+ "line": 2018,
"character": 4
}
],
"defaultValue": "\"vizPointClick\""
},
{
- "id": 1891,
+ "id": 2004,
"name": "VizPointDoubleClick",
"kind": 16,
"kindString": "Enumeration member",
@@ -6524,14 +6610,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1934,
+ "line": 1999,
"character": 4
}
],
"defaultValue": "\"vizPointDoubleClick\""
},
{
- "id": 1944,
+ "id": 2058,
"name": "VizPointRightClick",
"kind": 16,
"kindString": "Enumeration member",
@@ -6552,7 +6638,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2568,
+ "line": 2644,
"character": 4
}
],
@@ -6564,98 +6650,100 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 1909,
- 1889,
- 1933,
- 1894,
- 1929,
- 1916,
- 1956,
- 1895,
- 1883,
- 1940,
- 1927,
- 1942,
- 1922,
- 1950,
- 1961,
- 1962,
- 1955,
- 1943,
- 1890,
- 1885,
- 1888,
- 1938,
- 1954,
- 1907,
- 1906,
- 1911,
- 1914,
- 1913,
- 1912,
- 1915,
- 1921,
- 1920,
- 1887,
- 1935,
- 1924,
- 1893,
- 1941,
- 1925,
- 1946,
- 1901,
- 1882,
- 1969,
- 1968,
- 1932,
- 1908,
- 1884,
- 1936,
- 1904,
- 1958,
- 1973,
- 1959,
- 1917,
- 1937,
- 1966,
- 1886,
- 1957,
- 1953,
- 1970,
- 1902,
- 1947,
- 1948,
- 1910,
- 1926,
- 1952,
- 1934,
- 1939,
- 1919,
- 1928,
- 1918,
- 1965,
- 1971,
- 1967,
- 1960,
- 1949,
- 1951,
- 1923,
- 1892,
- 1891,
- 1944
+ 2030,
+ 2022,
+ 2002,
+ 2047,
+ 2007,
+ 2043,
+ 2029,
+ 2088,
+ 2070,
+ 2008,
+ 1996,
+ 2054,
+ 2041,
+ 2056,
+ 2036,
+ 2064,
+ 2075,
+ 2076,
+ 2069,
+ 2057,
+ 2003,
+ 1998,
+ 2001,
+ 2052,
+ 2068,
+ 2020,
+ 2019,
+ 2024,
+ 2027,
+ 2026,
+ 2025,
+ 2028,
+ 2035,
+ 2034,
+ 2000,
+ 2049,
+ 2038,
+ 2006,
+ 2055,
+ 2039,
+ 2060,
+ 2014,
+ 1995,
+ 2083,
+ 2082,
+ 2046,
+ 2021,
+ 1997,
+ 2050,
+ 2017,
+ 2072,
+ 2087,
+ 2073,
+ 2031,
+ 2051,
+ 2080,
+ 1999,
+ 2071,
+ 2067,
+ 2084,
+ 2015,
+ 2061,
+ 2062,
+ 2023,
+ 2040,
+ 2066,
+ 2048,
+ 2053,
+ 2033,
+ 2042,
+ 2032,
+ 2079,
+ 2085,
+ 2081,
+ 2074,
+ 2063,
+ 2065,
+ 2037,
+ 2005,
+ 2004,
+ 2058
]
}
],
"sources": [
{
"fileName": "types.ts",
- "line": 1782,
+ "line": 1847,
"character": 12
}
]
},
{
- "id": 2544,
+ "id": 2686,
"name": "HomeLeftNavItem",
"kind": 4,
"kindString": "Enumeration",
@@ -6665,7 +6753,7 @@
},
"children": [
{
- "id": 2548,
+ "id": 2690,
"name": "Answers",
"kind": 16,
"kindString": "Enumeration member",
@@ -6688,7 +6776,7 @@
"defaultValue": "\"answers\""
},
{
- "id": 2552,
+ "id": 2694,
"name": "Create",
"kind": 16,
"kindString": "Enumeration member",
@@ -6712,7 +6800,7 @@
"defaultValue": "\"create\""
},
{
- "id": 2554,
+ "id": 2696,
"name": "Favorites",
"kind": 16,
"kindString": "Enumeration member",
@@ -6736,7 +6824,7 @@
"defaultValue": "\"favorites\""
},
{
- "id": 2546,
+ "id": 2688,
"name": "Home",
"kind": 16,
"kindString": "Enumeration member",
@@ -6759,7 +6847,7 @@
"defaultValue": "\"insights-home\""
},
{
- "id": 2551,
+ "id": 2693,
"name": "LiveboardSchedules",
"kind": 16,
"kindString": "Enumeration member",
@@ -6782,7 +6870,7 @@
"defaultValue": "\"liveboard-schedules\""
},
{
- "id": 2547,
+ "id": 2689,
"name": "Liveboards",
"kind": 16,
"kindString": "Enumeration member",
@@ -6805,7 +6893,7 @@
"defaultValue": "\"liveboards\""
},
{
- "id": 2549,
+ "id": 2691,
"name": "MonitorSubscription",
"kind": 16,
"kindString": "Enumeration member",
@@ -6828,7 +6916,7 @@
"defaultValue": "\"monitor-alerts\""
},
{
- "id": 2545,
+ "id": 2687,
"name": "SearchData",
"kind": 16,
"kindString": "Enumeration member",
@@ -6851,7 +6939,7 @@
"defaultValue": "\"search-data\""
},
{
- "id": 2550,
+ "id": 2692,
"name": "SpotIQAnalysis",
"kind": 16,
"kindString": "Enumeration member",
@@ -6874,7 +6962,7 @@
"defaultValue": "\"spotiq-analysis\""
},
{
- "id": 2553,
+ "id": 2695,
"name": "Spotter",
"kind": 16,
"kindString": "Enumeration member",
@@ -6903,16 +6991,16 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 2548,
- 2552,
- 2554,
- 2546,
- 2551,
- 2547,
- 2549,
- 2545,
- 2550,
- 2553
+ 2690,
+ 2694,
+ 2696,
+ 2688,
+ 2693,
+ 2689,
+ 2691,
+ 2687,
+ 2692,
+ 2695
]
}
],
@@ -6925,7 +7013,7 @@
]
},
{
- "id": 2805,
+ "id": 2936,
"name": "HomePage",
"kind": 4,
"kindString": "Enumeration",
@@ -6941,7 +7029,7 @@
},
"children": [
{
- "id": 2806,
+ "id": 2937,
"name": "Modular",
"kind": 16,
"kindString": "Enumeration member",
@@ -6959,7 +7047,7 @@
"defaultValue": "\"v2\""
},
{
- "id": 2807,
+ "id": 2938,
"name": "ModularWithStylingChanges",
"kind": 16,
"kindString": "Enumeration member",
@@ -6982,8 +7070,8 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 2806,
- 2807
+ 2937,
+ 2938
]
}
],
@@ -6996,14 +7084,14 @@
]
},
{
- "id": 2799,
+ "id": 2930,
"name": "HomePageSearchBarMode",
"kind": 4,
"kindString": "Enumeration",
"flags": {},
"children": [
{
- "id": 2801,
+ "id": 2932,
"name": "AI_ANSWER",
"kind": 16,
"kindString": "Enumeration member",
@@ -7018,7 +7106,7 @@
"defaultValue": "\"aiAnswer\""
},
{
- "id": 2802,
+ "id": 2933,
"name": "NONE",
"kind": 16,
"kindString": "Enumeration member",
@@ -7033,7 +7121,7 @@
"defaultValue": "\"none\""
},
{
- "id": 2800,
+ "id": 2931,
"name": "OBJECT_SEARCH",
"kind": 16,
"kindString": "Enumeration member",
@@ -7053,9 +7141,9 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 2801,
- 2802,
- 2800
+ 2932,
+ 2933,
+ 2931
]
}
],
@@ -7068,7 +7156,7 @@
]
},
{
- "id": 2555,
+ "id": 2697,
"name": "HomepageModule",
"kind": 4,
"kindString": "Enumeration",
@@ -7084,7 +7172,7 @@
},
"children": [
{
- "id": 2558,
+ "id": 2700,
"name": "Favorite",
"kind": 16,
"kindString": "Enumeration member",
@@ -7095,14 +7183,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1663,
+ "line": 1728,
"character": 4
}
],
"defaultValue": "\"FAVORITE\""
},
{
- "id": 2561,
+ "id": 2703,
"name": "Learning",
"kind": 16,
"kindString": "Enumeration member",
@@ -7113,14 +7201,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1675,
+ "line": 1740,
"character": 4
}
],
"defaultValue": "\"LEARNING\""
},
{
- "id": 2559,
+ "id": 2701,
"name": "MyLibrary",
"kind": 16,
"kindString": "Enumeration member",
@@ -7131,14 +7219,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1667,
+ "line": 1732,
"character": 4
}
],
"defaultValue": "\"MY_LIBRARY\""
},
{
- "id": 2556,
+ "id": 2698,
"name": "Search",
"kind": 16,
"kindString": "Enumeration member",
@@ -7149,14 +7237,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1655,
+ "line": 1720,
"character": 4
}
],
"defaultValue": "\"SEARCH\""
},
{
- "id": 2560,
+ "id": 2702,
"name": "Trending",
"kind": 16,
"kindString": "Enumeration member",
@@ -7167,14 +7255,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1671,
+ "line": 1736,
"character": 4
}
],
"defaultValue": "\"TRENDING\""
},
{
- "id": 2557,
+ "id": 2699,
"name": "Watchlist",
"kind": 16,
"kindString": "Enumeration member",
@@ -7185,7 +7273,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1659,
+ "line": 1724,
"character": 4
}
],
@@ -7197,25 +7285,25 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 2558,
- 2561,
- 2559,
- 2556,
- 2560,
- 2557
+ 2700,
+ 2703,
+ 2701,
+ 2698,
+ 2702,
+ 2699
]
}
],
"sources": [
{
"fileName": "types.ts",
- "line": 1651,
+ "line": 1716,
"character": 12
}
]
},
{
- "id": 1974,
+ "id": 2089,
"name": "HostEvent",
"kind": 4,
"kindString": "Enumeration",
@@ -7244,7 +7332,35 @@
},
"children": [
{
- "id": 1985,
+ "id": 2111,
+ "name": "AIHighlights",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {},
+ "comment": {
+ "shortText": "Trigger the **AI Highlights** action on an embedded Liveboard",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n```js\nliveboardEmbed.trigger(HostEvent.AIHighlights)\n```"
+ },
+ {
+ "tag": "version",
+ "text": "SDK: 1.44.0 | ThoughtSpot: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 3499,
+ "character": 4
+ }
+ ],
+ "defaultValue": "\"AIHighlights\""
+ },
+ {
+ "id": 2100,
"name": "AddColumns",
"kind": 16,
"kindString": "Enumeration member",
@@ -7270,14 +7386,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3160,
+ "line": 3304,
"character": 4
}
],
"defaultValue": "\"addColumns\""
},
{
- "id": 2040,
+ "id": 2156,
"name": "AnswerChartSwitcher",
"kind": 16,
"kindString": "Enumeration member",
@@ -7287,12 +7403,12 @@
"tags": [
{
"tag": "param",
- "text": "`vizId ` refers to the answer id in spotter Embed, it is required in spotter Embed.",
+ "text": "`vizId ` refers to the Visualization ID in Spotter embed and is required.",
"param": "-"
},
{
"tag": "example",
- "text": "\n```js\nspotterEmbed.trigger(HostEvent.AnswerChartSwitcher, {\n vizId:'b535c760-8bbe-4e6f-bb26-af56b4129a1e'\n});\n```"
+ "text": "\n```js\nlet latestSpotterVizId = '';\nspotterEmbed.on(EmbedEvent.Data, (payload) => {\n latestSpotterVizId = payload.data.id;\n});\n\nspotterEmbed.trigger(HostEvent.AnswerChartSwitcher, { vizId: latestSpotterVizId });\n```"
},
{
"tag": "version",
@@ -7303,14 +7419,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4137,
+ "line": 4356,
"character": 4
}
],
"defaultValue": "\"answerChartSwitcher\""
},
{
- "id": 2025,
+ "id": 2141,
"name": "AskSage",
"kind": 16,
"kindString": "Enumeration member",
@@ -7331,29 +7447,29 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3944,
+ "line": 4149,
"character": 4
}
],
"defaultValue": "\"AskSage\""
},
{
- "id": 2043,
+ "id": 2159,
"name": "AskSpotter",
"kind": 16,
"kindString": "Enumeration member",
"flags": {},
"comment": {
- "shortText": "Trigger the *Ask Spotter* action for visualizations",
+ "shortText": "Trigger the *Spotter* action for visualizations present on the liveboard's vizzes.",
"tags": [
{
"tag": "param",
- "text": "`vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.",
+ "text": "`vizId` refers to the Visualization ID in Spotter embed and is required.",
"param": "-"
},
{
"tag": "example",
- "text": "\n```js\nspotterEmbed.trigger(HostEvent.AskSpotter,\n{vizId:'730496d6-6903-4601-937e-2c691821af3c'})\n```"
+ "text": "\n```js\nlet latestSpotterVizId = '';\nspotterEmbed.on(EmbedEvent.Data, (payload) => {\n latestSpotterVizId = payload.data.id;\n});\n\nspotterEmbed.trigger(HostEvent.AskSpotter, { vizId: latestSpotterVizId });\n```"
},
{
"tag": "version",
@@ -7364,14 +7480,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4171,
+ "line": 4394,
"character": 4
}
],
"defaultValue": "\"AskSpotter\""
},
{
- "id": 2002,
+ "id": 2118,
"name": "CopyLink",
"kind": 16,
"kindString": "Enumeration member",
@@ -7397,14 +7513,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3474,
+ "line": 3635,
"character": 4
}
],
"defaultValue": "\"embedDocument\""
},
{
- "id": 1999,
+ "id": 2115,
"name": "CreateMonitor",
"kind": 16,
"kindString": "Enumeration member",
@@ -7434,14 +7550,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3404,
+ "line": 3573,
"character": 4
}
],
"defaultValue": "\"createMonitor\""
},
{
- "id": 2006,
+ "id": 2122,
"name": "Delete",
"kind": 16,
"kindString": "Enumeration member",
@@ -7467,14 +7583,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3551,
+ "line": 3719,
"character": 4
}
],
"defaultValue": "\"onDeleteAnswer\""
},
{
- "id": 2039,
+ "id": 2155,
"name": "DeleteLastPrompt",
"kind": 16,
"kindString": "Enumeration member",
@@ -7495,14 +7611,42 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4125,
+ "line": 4341,
"character": 4
}
],
"defaultValue": "\"DeleteLastPrompt\""
},
{
- "id": 2008,
+ "id": 2161,
+ "name": "DestroyEmbed",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {},
+ "comment": {
+ "shortText": "Triggered when the embed is needed to be destroyed. This is used to clean up any embed related resources internally.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n```js\nliveboardEmbed.trigger(HostEvent.DestroyEmbed);\n```"
+ },
+ {
+ "tag": "version",
+ "text": "SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 4414,
+ "character": 4
+ }
+ ],
+ "defaultValue": "\"EmbedDestroyed\""
+ },
+ {
+ "id": 2124,
"name": "Download",
"kind": 16,
"kindString": "Enumeration member",
@@ -7512,12 +7656,12 @@
"tags": [
{
"tag": "param",
- "text": "`vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.",
+ "text": "`vizId` refers to the Visualization ID in Spotter embed and is required in Spotter embed.",
"param": "-"
},
{
"tag": "example",
- "text": "\n```js\nliveboardEmbed.trigger(HostEvent.Download, {vizId:\n'730496d6-6903-4601-937e-2c691821af3c'})\n```\n```js\nembed.trigger(HostEvent.Download)\n```\n```js\nspotterEmbed.trigger(HostEvent.Download, {\n vizId:'730496d6-6903-4601-937e-2c691821af3c'\n });\n```"
+ "text": "\n```js\nliveboardEmbed.trigger(HostEvent.Download, {vizId:\n'730496d6-6903-4601-937e-2c691821af3c'})\n```\n```js\nembed.trigger(HostEvent.Download)\n```\n```js\n// You can use the Data event dispatched on each answer creation to get the vizId and use in Download host event.\nlet latestSpotterVizId = '';\nspotterEmbed.on(EmbedEvent.Data, (payload) => {\n latestSpotterVizId = payload.data.id;\n});\n\nspotterEmbed.trigger(HostEvent.Download, { vizId: latestSpotterVizId });\n```"
},
{
"tag": "deprecated",
@@ -7532,14 +7676,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3593,
+ "line": 3765,
"character": 4
}
],
"defaultValue": "\"downloadAsPng\""
},
{
- "id": 2010,
+ "id": 2126,
"name": "DownloadAsCsv",
"kind": 16,
"kindString": "Enumeration member",
@@ -7549,12 +7693,12 @@
"tags": [
{
"tag": "param",
- "text": "`vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.",
+ "text": "`vizId` refers to the Visualization ID in Spotter embed and is required in Spotter embed.",
"param": "-"
},
{
"tag": "example",
- "text": "\n```js\nliveboardEmbed.trigger(HostEvent.DownloadAsCsv, {vizId:\n'730496d6-6903-4601-937e-2c691821af3c'})\n```\n```js\nvizEmbed.trigger(HostEvent.DownloadAsCsv)\n```\n```js\nsearchEmbed.trigger(HostEvent.DownloadAsCsv)\n```\n```js\nspotterEmbed.trigger(HostEvent.DownloadAsCsv, {\n vizId:\"730496d6-6903-4601-937e-2c691821af3c\"\n})\n```"
+ "text": "\n```js\nliveboardEmbed.trigger(HostEvent.DownloadAsCsv, {vizId:\n'730496d6-6903-4601-937e-2c691821af3c'})\n```\n```js\nvizEmbed.trigger(HostEvent.DownloadAsCsv)\n```\n```js\nsearchEmbed.trigger(HostEvent.DownloadAsCsv)\n```\n```js\n// You can use the Data event dispatched on each answer creation to get the vizId and use in DownloadAsCsv host event.\nlet latestSpotterVizId = '';\nspotterEmbed.on(EmbedEvent.Data, (payload) => {\n latestSpotterVizId = payload.data.id;\n});\n\nspotterEmbed.trigger(HostEvent.DownloadAsCsv, { vizId: latestSpotterVizId });\n```"
},
{
"tag": "version",
@@ -7565,14 +7709,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3636,
+ "line": 3816,
"character": 4
}
],
"defaultValue": "\"downloadAsCSV\""
},
{
- "id": 1995,
+ "id": 2110,
"name": "DownloadAsPdf",
"kind": 16,
"kindString": "Enumeration member",
@@ -7591,7 +7735,7 @@
},
{
"tag": "example",
- "text": "\n```js\nspotterEmbed.trigger(HostEvent.DownloadAsPdf, {\n vizId:'730496d6-6903-4601-937e-2c691821af3c'\n });\n```\n"
+ "text": "\n```js\n\n// You can use the Data event dispatched on each answer creation to get the vizId and use in DownloadAsPdf host event.\nlet latestSpotterVizId = '';\nspotterEmbed.on(EmbedEvent.Data, (payload) => {\n latestSpotterVizId = payload.data.id;\n});\n\nspotterEmbed.trigger(HostEvent.DownloadAsPdf, { vizId: latestSpotterVizId });\n```\n"
},
{
"tag": "version",
@@ -7602,14 +7746,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3334,
+ "line": 3489,
"character": 4
}
],
"defaultValue": "\"downloadAsPdf\""
},
{
- "id": 2009,
+ "id": 2125,
"name": "DownloadAsPng",
"kind": 16,
"kindString": "Enumeration member",
@@ -7619,7 +7763,7 @@
"tags": [
{
"tag": "example",
- "text": "\n```js\nliveboardEmbed.trigger(HostEvent.DownloadAsPng,\n{vizId:'730496d6-6903-4601-937e-2c691821af3c'})\n\nvizEmbed.trigger(HostEvent.DownloadAsPng)\n\nsearchEmbed.trigger(HostEvent.DownloadAsPng)\n\nspotterEmbed.trigger(HostEvent.DownloadAsPng, {\n vizId:\"730496d6-6903-4601-937e-2c691821af3c\"\n})\n```\n"
+ "text": "\n```js\nliveboardEmbed.trigger(HostEvent.DownloadAsPng,\n{vizId:'730496d6-6903-4601-937e-2c691821af3c'})\n\nvizEmbed.trigger(HostEvent.DownloadAsPng)\n\nsearchEmbed.trigger(HostEvent.DownloadAsPng)\n\n// You can use the Data event dispatched on each answer creation to get the vizId and use in DownloadAsPng host event.\nlet latestSpotterVizId = '';\nspotterEmbed.on(EmbedEvent.Data, (payload) => {\n latestSpotterVizId = payload.data.id;\n});\n\nspotterEmbed.trigger(HostEvent.DownloadAsPng, { vizId: latestSpotterVizId });\n```\n"
},
{
"tag": "version",
@@ -7630,14 +7774,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3613,
+ "line": 3789,
"character": 4
}
],
"defaultValue": "\"downloadAsPng\""
},
{
- "id": 2011,
+ "id": 2127,
"name": "DownloadAsXlsx",
"kind": 16,
"kindString": "Enumeration member",
@@ -7647,12 +7791,12 @@
"tags": [
{
"tag": "param",
- "text": "`vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.",
+ "text": "`vizId` refers to the Visualization ID in Spotter embed and is required in Spotter embed.",
"param": "-"
},
{
"tag": "example",
- "text": "\n```js\nliveboardEmbed.trigger(HostEvent.DownloadAsXlsx, {vizId:\n'730496d6-6903-4601-937e-2c691821af3c'})\n```\n```js\nvizEmbed.trigger(HostEvent.DownloadAsXlsx)\n```\n```js\nsearchEmbed.trigger(HostEvent.DownloadAsXlsx)\n```\n```js\nspotterEmbed.trigger(HostEvent.downloadAsXLSX, {\n vizId:\"730496d6-6903-4601-937e-2c691821af3c\"\n})\n```"
+ "text": "\n```js\nliveboardEmbed.trigger(HostEvent.DownloadAsXlsx, {vizId:\n'730496d6-6903-4601-937e-2c691821af3c'})\n```\n```js\nvizEmbed.trigger(HostEvent.DownloadAsXlsx)\n```\n```js\nsearchEmbed.trigger(HostEvent.DownloadAsXlsx)\n```\n```js\n// You can use the Data event dispatched on each answer creation to get the vizId and use in DownloadAsXlsx host event.\nlet latestSpotterVizId = '';\nspotterEmbed.on(EmbedEvent.Data, (payload) => {\n latestSpotterVizId = payload.data.id;\n});\n\nspotterEmbed.trigger(HostEvent.DownloadAsXlsx, { vizId: latestSpotterVizId });\n```"
},
{
"tag": "version",
@@ -7663,14 +7807,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3659,
+ "line": 3843,
"character": 4
}
],
"defaultValue": "\"downloadAsXLSX\""
},
{
- "id": 1976,
+ "id": 2091,
"name": "DrillDown",
"kind": 16,
"kindString": "Enumeration member",
@@ -7720,14 +7864,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3035,
+ "line": 3181,
"character": 4
}
],
"defaultValue": "\"triggerDrillDown\""
},
{
- "id": 2001,
+ "id": 2117,
"name": "Edit",
"kind": 16,
"kindString": "Enumeration member",
@@ -7752,11 +7896,7 @@
},
{
"tag": "example",
- "text": "\n```js\nconst pinResponse = await spotterEmbed.trigger(HostEvent.Edit, {\n vizId:'730496d6-6903-4601-937e-2c691821af3c'\n });\n```"
- },
- {
- "tag": "example",
- "text": "\n```js\nconst editResponse = await spotterEmbed.trigger(HostEvent.Edit, {\n vizId:'730496d6-6903-4601-937e-2c691821af3c'\n });\n```"
+ "text": "\n```js\nspotterEmbed.trigger(HostEvent.Edit);\n```"
},
{
"tag": "version",
@@ -7767,14 +7907,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3457,
+ "line": 3618,
"character": 4
}
],
"defaultValue": "\"edit\""
},
{
- "id": 2036,
+ "id": 2152,
"name": "EditLastPrompt",
"kind": 16,
"kindString": "Enumeration member",
@@ -7800,14 +7940,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4098,
+ "line": 4314,
"character": 4
}
],
"defaultValue": "\"EditLastPrompt\""
},
{
- "id": 1993,
+ "id": 2108,
"name": "EditTML",
"kind": 16,
"kindString": "Enumeration member",
@@ -7828,14 +7968,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3303,
+ "line": 3453,
"character": 4
}
],
"defaultValue": "\"editTSL\""
},
{
- "id": 1998,
+ "id": 2114,
"name": "Explore",
"kind": 16,
"kindString": "Enumeration member",
@@ -7861,14 +8001,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3387,
+ "line": 3556,
"character": 4
}
],
"defaultValue": "\"explore\""
},
{
- "id": 1992,
+ "id": 2107,
"name": "ExportTML",
"kind": 16,
"kindString": "Enumeration member",
@@ -7889,14 +8029,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3293,
+ "line": 3443,
"character": 4
}
],
"defaultValue": "\"exportTSL\""
},
{
- "id": 2024,
+ "id": 2140,
"name": "GetAnswerSession",
"kind": 16,
"kindString": "Enumeration member",
@@ -7922,14 +8062,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3934,
+ "line": 4139,
"character": 4
}
],
"defaultValue": "\"getAnswerSession\""
},
{
- "id": 2018,
+ "id": 2134,
"name": "GetFilters",
"kind": 16,
"kindString": "Enumeration member",
@@ -7950,20 +8090,20 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3761,
+ "line": 3966,
"character": 4
}
],
"defaultValue": "\"getFilters\""
},
{
- "id": 1979,
+ "id": 2094,
"name": "GetIframeUrl",
"kind": 16,
"kindString": "Enumeration member",
"flags": {},
"comment": {
- "shortText": "Get iframe URL for the current embed view on the playground.\nDevelopers can use this URL to embed a ThoughtSpot object\nin apps like Salesforce or Sharepoint.",
+ "shortText": "Get iframe URL for the current embed view.",
"tags": [
{
"tag": "example",
@@ -7978,14 +8118,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3057,
+ "line": 3201,
"character": 4
}
],
"defaultValue": "\"GetIframeUrl\""
},
{
- "id": 2029,
+ "id": 2145,
"name": "GetParameters",
"kind": 16,
"kindString": "Enumeration member",
@@ -7995,7 +8135,7 @@
"tags": [
{
"tag": "param",
- "text": "`vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.\n```js\nliveboardEmbed.trigger(HostEvent.GetParameters).then((parameter) => {\n console.log('parameters', parameter);\n});\n```\n```js\nspotterEmbed.trigger(HostEvent.GetParameters, {\n vizId: '730496d6-6903-4601-937e-2c691821af3c'\n}).then((parameter) => {\n console.log('parameters', parameter);\n});\n```",
+ "text": "`vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.\n```js\nliveboardEmbed.trigger(HostEvent.GetParameters).then((parameter) => {\n console.log('parameters', parameter);\n});\n```\n```js\n// You can use the Data event dispatched on each answer creation to get the vizId and use in GetParameters host event.\nlet latestSpotterVizId = '';\nspotterEmbed.on(EmbedEvent.Data, (payload) => {\n latestSpotterVizId = payload.data.id;\n});\n\nspotterEmbed.trigger(HostEvent.GetParameters, { vizId: latestSpotterVizId });\n```",
"param": "-"
},
{
@@ -8007,14 +8147,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4001,
+ "line": 4214,
"character": 4
}
],
"defaultValue": "\"GetParameters\""
},
{
- "id": 2004,
+ "id": 2120,
"name": "GetTML",
"kind": 16,
"kindString": "Enumeration member",
@@ -8024,11 +8164,7 @@
"tags": [
{
"tag": "example",
- "text": "\n```js\nsearchEmbed.trigger(HostEvent.GetTML).then((tml) => {\n console.log(\n tml.answer.search_query // TML representation of the search query\n );\n})\n```"
- },
- {
- "tag": "example",
- "text": "\n```js\nspotterEmbed.trigger(HostEvent.GetTML, {\n vizId: '730496d6-6903-4601-937e-2c691821af3c'\n}).then((tml) => {\n console.log(\n tml.answer.search_query // TML representation of the search query\n );\n})\n```"
+ "text": "\n```js\nsearchEmbed.trigger(HostEvent.GetTML).then((tml) => {\n console.log(\n tml.answer.search_query // TML representation of the search query\n );\n})\n```\n* @example\n```js\n\n// You can use the Data event dispatched on each answer creation to get the vizId and use in Pin host event.\nlet latestSpotterVizId = '';\nspotterEmbed.on(EmbedEvent.Data, (payload) => {\n latestSpotterVizId = payload.data.id;\n});\n\nspotterEmbed.trigger(HostEvent.GetTML, {\n vizId: latestSpotterVizId\n}).then((tml) => {\n console.log(\n tml.answer.search_query // TML representation of the search query\n );\n})\n```"
},
{
"tag": "version",
@@ -8043,14 +8179,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3515,
+ "line": 3683,
"character": 4
}
],
"defaultValue": "\"getTML\""
},
{
- "id": 2020,
+ "id": 2136,
"name": "GetTabs",
"kind": 16,
"kindString": "Enumeration member",
@@ -8071,14 +8207,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3864,
+ "line": 4069,
"character": 4
}
],
"defaultValue": "\"getTabs\""
},
{
- "id": 1989,
+ "id": 2104,
"name": "LiveboardInfo",
"kind": 16,
"kindString": "Enumeration member",
@@ -8099,14 +8235,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3265,
+ "line": 3415,
"character": 4
}
],
"defaultValue": "\"pinboardInfo\""
},
{
- "id": 1996,
+ "id": 2112,
"name": "MakeACopy",
"kind": 16,
"kindString": "Enumeration member",
@@ -8132,7 +8268,7 @@
},
{
"tag": "example",
- "text": "\n```js\nconst pinResponse = await spotterEmbed.trigger(HostEvent.MakeACopy, {\n vizId:'730496d6-6903-4601-937e-2c691821af3c'\n });\n```"
+ "text": "\n```js\n// You can use the Data event dispatched on each answer creation to get the vizId and use in MakeACopy host event.\nlet latestSpotterVizId = '';\nspotterEmbed.on(EmbedEvent.Data, (payload) => {\n latestSpotterVizId = payload.data.id;\n});\n\nspotterEmbed.trigger(HostEvent.MakeACopy, { vizId: latestSpotterVizId });\n```"
},
{
"tag": "version",
@@ -8143,14 +8279,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3363,
+ "line": 3532,
"character": 4
}
],
"defaultValue": "\"makeACopy\""
},
{
- "id": 2000,
+ "id": 2116,
"name": "ManageMonitor",
"kind": 16,
"kindString": "Enumeration member",
@@ -8184,14 +8320,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3425,
+ "line": 3594,
"character": 4
}
],
"defaultValue": "\"manageMonitor\""
},
{
- "id": 2016,
+ "id": 2132,
"name": "ManagePipelines",
"kind": 16,
"kindString": "Enumeration member",
@@ -8217,14 +8353,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3738,
+ "line": 3943,
"character": 4
}
],
"defaultValue": "\"manage-pipeline\""
},
{
- "id": 1983,
+ "id": 2098,
"name": "Navigate",
"kind": 16,
"kindString": "Enumeration member",
@@ -8250,14 +8386,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3130,
+ "line": 3274,
"character": 4
}
],
"defaultValue": "\"Navigate\""
},
{
- "id": 1984,
+ "id": 2099,
"name": "OpenFilter",
"kind": 16,
"kindString": "Enumeration member",
@@ -8287,14 +8423,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3150,
+ "line": 3294,
"character": 4
}
],
"defaultValue": "\"openFilter\""
},
{
- "id": 1988,
+ "id": 2103,
"name": "Pin",
"kind": 16,
"kindString": "Enumeration member",
@@ -8304,7 +8440,7 @@
"tags": [
{
"tag": "param",
- "text": "\n`vizId`- GUID of the saved Answer or visualization to pin to a Liveboard.\n Optional when pinning a new chart or table generated from a Search query.\n **Required** in Spotter Embed."
+ "text": "\n`vizId`- GUID of the saved Answer or Spotter visualization ID to pin to a Liveboard.\n Optional when pinning a new chart or table generated from a Search query.\n **Required** in Spotter Embed."
},
{
"tag": "param",
@@ -8344,7 +8480,7 @@
},
{
"tag": "example",
- "text": "\n```js\nconst pinResponse = await spotterEmbed.trigger(HostEvent.Pin, {\n vizId:'730496d6-6903-4601-937e-2c691821af3c'\n });\n```"
+ "text": "\n```js\n\n// You can use the Data event dispatched on each answer creation to get the vizId and use in Pin host event.\nlet latestSpotterVizId = '';\nspotterEmbed.on(EmbedEvent.Data, (payload) => {\n latestSpotterVizId = payload.data.id;\n});\n\nspotterEmbed.trigger(HostEvent.Pin, { vizId: latestSpotterVizId });\n```\n"
},
{
"tag": "version",
@@ -8355,14 +8491,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3255,
+ "line": 3405,
"character": 4
}
],
"defaultValue": "\"pin\""
},
{
- "id": 2003,
+ "id": 2119,
"name": "Present",
"kind": 16,
"kindString": "Enumeration member",
@@ -8388,20 +8524,20 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3491,
+ "line": 3652,
"character": 4
}
],
"defaultValue": "\"present\""
},
{
- "id": 2037,
+ "id": 2153,
"name": "PreviewSpotterData",
"kind": 16,
"kindString": "Enumeration member",
"flags": {},
"comment": {
- "shortText": "Opens the Worksheet preview modal in Spotter Embed.",
+ "shortText": "Opens the data source preview modal in Spotter Embed.",
"tags": [
{
"tag": "example",
@@ -8416,14 +8552,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4107,
+ "line": 4323,
"character": 4
}
],
"defaultValue": "\"PreviewSpotterData\""
},
{
- "id": 1997,
+ "id": 2113,
"name": "Remove",
"kind": 16,
"kindString": "Enumeration member",
@@ -8448,14 +8584,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3377,
+ "line": 3546,
"character": 4
}
],
"defaultValue": "\"delete\""
},
{
- "id": 1986,
+ "id": 2101,
"name": "RemoveColumn",
"kind": 16,
"kindString": "Enumeration member",
@@ -8481,14 +8617,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3170,
+ "line": 3314,
"character": 4
}
],
"defaultValue": "\"removeColumn\""
},
{
- "id": 2027,
+ "id": 2143,
"name": "ResetLiveboardPersonalisedView",
"kind": 16,
"kindString": "Enumeration member",
@@ -8509,14 +8645,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3969,
+ "line": 4174,
"character": 4
}
],
"defaultValue": "\"ResetLiveboardPersonalisedView\""
},
{
- "id": 2017,
+ "id": 2133,
"name": "ResetSearch",
"kind": 16,
"kindString": "Enumeration member",
@@ -8537,14 +8673,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3750,
+ "line": 3955,
"character": 4
}
],
"defaultValue": "\"resetSearch\""
},
{
- "id": 2038,
+ "id": 2154,
"name": "ResetSpotterConversation",
"kind": 16,
"kindString": "Enumeration member",
@@ -8565,29 +8701,29 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4116,
+ "line": 4332,
"character": 4
}
],
"defaultValue": "\"ResetSpotterConversation\""
},
{
- "id": 2013,
+ "id": 2129,
"name": "Save",
"kind": 16,
"kindString": "Enumeration member",
"flags": {},
"comment": {
- "shortText": "Trigger the **Save** action on a Liveboard or Answer.\nSaves the changes.",
+ "shortText": "Trigger the **Save** action on a Liveboard, Answer, or Spotter.\nSaves the changes.",
"tags": [
{
"tag": "param",
- "text": "`vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.",
+ "text": "`vizId` refers to the Spotter Visualization Id used in Spotter embed.\nIt is required and can be retrieved from the data embed event.\n",
"param": "-"
},
{
"tag": "example",
- "text": "\n```js\nliveboardEmbed.trigger(HostEvent.Save)\n```\n```js\nsearchEmbed.trigger(HostEvent.Save)\n```\n```js\nspotterEmbed.trigger(HostEvent.Save, {\n vizId:\"730496d6-6903-4601-937e-2c691821af3c\"\n})\n```"
+ "text": "\n```js\n// Save changes in a Liveboard\nliveboardEmbed.trigger(HostEvent.Save)\n```\n\n```js\n// Save the current Answer in Search embed\nsearchEmbed.trigger(HostEvent.Save)\n```\n\n```js\n// Save a Visualization in Spotter (requires vizId)\nspotterEmbed.trigger(HostEvent.Save, {\n vizId: \"730496d6-6903-4601-937e-2c691821af3c\"\n})\n```\n\n```js\n// How to get the vizId in Spotter?\n\n// You can use the Data event dispatched on each answer creation to get the vizId.\nlet latestSpotterVizId = '';\nspotterEmbed.on(EmbedEvent.Data, (payload) => {\n latestSpotterVizId = payload.data.id;\n});\n\nspotterEmbed.trigger(HostEvent.Save, { vizId: latestSpotterVizId });\n```\n"
},
{
"tag": "version",
@@ -8598,14 +8734,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3691,
+ "line": 3896,
"character": 4
}
],
"defaultValue": "\"save\""
},
{
- "id": 2032,
+ "id": 2148,
"name": "SaveAnswer",
"kind": 16,
"kindString": "Enumeration member",
@@ -8615,12 +8751,17 @@
"tags": [
{
"tag": "param",
- "text": "optional attributes to set Answer properties.\n `name` - Name string for the Answer.\n `description` - Description text for the Answer.",
+ "text": "`vizId` refers to the Answer ID in Spotter embed\nand is required in Spotter embed.\nOptional attributes to set Answer properties include:",
"param": "-"
},
{
"tag": "param",
- "text": "`vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.",
+ "text": "`name` - Name string for the Answer.",
+ "param": "-"
+ },
+ {
+ "tag": "param",
+ "text": "`description` - Description text for the Answer.",
"param": "-"
},
{
@@ -8629,7 +8770,7 @@
},
{
"tag": "example",
- "text": "\n```js\nconst saveAnswerResponse = await spotterEmbed.trigger(HostEvent.SaveAnswer, {\n vizId: '730496d6-6903-4601-937e-2c691821af3c',\n name: \"Sales by states\",\n description: \"Total sales by states in MidWest\"\n});\n```"
+ "text": "\n```js\n// You can use the Data event dispatched on each answer creation to get the vizId and use in SaveAnswer host event.\nlet latestSpotterVizId = '';\nspotterEmbed.on(EmbedEvent.Data, (payload) => {\n latestSpotterVizId = payload.data.id;\n});\n\nspotterEmbed.trigger(HostEvent.SaveAnswer, { vizId: latestSpotterVizId });\n```"
},
{
"tag": "version",
@@ -8640,14 +8781,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4048,
+ "line": 4264,
"character": 4
}
],
"defaultValue": "\"saveAnswer\""
},
{
- "id": 1990,
+ "id": 2105,
"name": "Schedule",
"kind": 16,
"kindString": "Enumeration member",
@@ -8668,14 +8809,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3274,
+ "line": 3424,
"character": 4
}
],
"defaultValue": "\"subscription\""
},
{
- "id": 1991,
+ "id": 2106,
"name": "SchedulesList",
"kind": 16,
"kindString": "Enumeration member",
@@ -8696,14 +8837,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3283,
+ "line": 3433,
"character": 4
}
],
"defaultValue": "\"schedule-list\""
},
{
- "id": 1975,
+ "id": 2090,
"name": "Search",
"kind": 16,
"kindString": "Enumeration member",
@@ -8735,14 +8876,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 2984,
+ "line": 3130,
"character": 4
}
],
"defaultValue": "\"search\""
},
{
- "id": 1981,
+ "id": 2096,
"name": "SetActiveTab",
"kind": 16,
"kindString": "Enumeration member",
@@ -8768,14 +8909,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3082,
+ "line": 3226,
"character": 4
}
],
"defaultValue": "\"SetActiveTab\""
},
{
- "id": 2022,
+ "id": 2138,
"name": "SetHiddenTabs",
"kind": 16,
"kindString": "Enumeration member",
@@ -8801,14 +8942,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3890,
+ "line": 4095,
"character": 4
}
],
"defaultValue": "\"SetPinboardHiddenTabs\""
},
{
- "id": 2021,
+ "id": 2137,
"name": "SetVisibleTabs",
"kind": 16,
"kindString": "Enumeration member",
@@ -8834,14 +8975,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3877,
+ "line": 4082,
"character": 4
}
],
"defaultValue": "\"SetPinboardVisibleTabs\""
},
{
- "id": 1980,
+ "id": 2095,
"name": "SetVisibleVizs",
"kind": 16,
"kindString": "Enumeration member",
@@ -8867,14 +9008,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3070,
+ "line": 3214,
"character": 4
}
],
"defaultValue": "\"SetPinboardVisibleVizs\""
},
{
- "id": 2012,
+ "id": 2128,
"name": "Share",
"kind": 16,
"kindString": "Enumeration member",
@@ -8895,14 +9036,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3672,
+ "line": 3856,
"character": 4
}
],
"defaultValue": "\"share\""
},
{
- "id": 2005,
+ "id": 2121,
"name": "ShowUnderlyingData",
"kind": 16,
"kindString": "Enumeration member",
@@ -8928,14 +9069,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3534,
+ "line": 3702,
"character": 4
}
],
"defaultValue": "\"showUnderlyingData\""
},
{
- "id": 2007,
+ "id": 2123,
"name": "SpotIQAnalyze",
"kind": 16,
"kindString": "Enumeration member",
@@ -8961,14 +9102,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3571,
+ "line": 3739,
"character": 4
}
],
"defaultValue": "\"spotIQAnalyze\""
},
{
- "id": 2035,
+ "id": 2151,
"name": "SpotterSearch",
"kind": 16,
"kindString": "Enumeration member",
@@ -8999,14 +9140,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4088,
+ "line": 4304,
"character": 4
}
],
"defaultValue": "\"SpotterSearch\""
},
{
- "id": 2015,
+ "id": 2131,
"name": "SyncToOtherApps",
"kind": 16,
"kindString": "Enumeration member",
@@ -9032,14 +9173,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3722,
+ "line": 3927,
"character": 4
}
],
"defaultValue": "\"sync-to-other-apps\""
},
{
- "id": 2014,
+ "id": 2130,
"name": "SyncToSheets",
"kind": 16,
"kindString": "Enumeration member",
@@ -9065,14 +9206,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3706,
+ "line": 3911,
"character": 4
}
],
"defaultValue": "\"sync-to-sheets\""
},
{
- "id": 2034,
+ "id": 2150,
"name": "TransformTableVizData",
"kind": 16,
"kindString": "Enumeration member",
@@ -9098,14 +9239,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4073,
+ "line": 4289,
"character": 4
}
],
"defaultValue": "\"TransformTableVizData\""
},
{
- "id": 2026,
+ "id": 2142,
"name": "UpdateCrossFilter",
"kind": 16,
"kindString": "Enumeration member",
@@ -9126,14 +9267,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3960,
+ "line": 4165,
"character": 4
}
],
"defaultValue": "\"UpdateCrossFilter\""
},
{
- "id": 2019,
+ "id": 2135,
"name": "UpdateFilters",
"kind": 16,
"kindString": "Enumeration member",
@@ -9161,7 +9302,7 @@
},
{
"tag": "example",
- "text": "\n\n```js\nliveboardEmbed.trigger(HostEvent.UpdateFilters, {\n filters: [{\n column: \"Item Type\",\n oper: 'IN',\n values: [\"bags\",\"shirts\"]\n },\n {\n column: \"Region\",\n oper: 'IN',\n values: [\"West\",\"Midwest\"]\n },\n {\n column: \"Date\",\n oper: 'EQ',\n values: [\"2023-07-31\"],\n types: \"EXACT_DATE\"\n }]\n});\n```\nIf there are multiple columns with the same name, consider\nusing `WORKSHEET_NAME::COLUMN_NAME` format.\n"
+ "text": "\n\n```js\nliveboardEmbed.trigger(HostEvent.UpdateFilters, {\n filters: [{\n column: \"Item Type\",\n oper: 'IN',\n values: [\"bags\",\"shirts\"]\n },\n {\n column: \"Region\",\n oper: 'IN',\n values: [\"West\",\"Midwest\"]\n },\n {\n column: \"Date\",\n oper: 'EQ',\n values: [\"2023-07-31\"],\n type: \"EXACT_DATE\"\n }]\n});\n```\nIf there are multiple columns with the same name, consider\nusing `WORKSHEET_NAME::COLUMN_NAME` format.\n"
},
{
"tag": "example",
@@ -9176,38 +9317,52 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3851,
+ "line": 4056,
"character": 4
}
],
"defaultValue": "\"updateFilters\""
},
{
- "id": 2028,
+ "id": 2144,
"name": "UpdateParameters",
"kind": 16,
"kindString": "Enumeration member",
"flags": {},
"comment": {
- "shortText": "Triggers an action to update Parameter values on embedded\nAnswers, Liveboard and Spotter answer in Edit mode.",
+ "shortText": "Triggers an action to update Parameter values on embedded\nAnswers, Liveboard, and Spotter answer in Edit mode.",
"tags": [
+ {
+ "tag": "param",
+ "text": "`name` - Name of the Parameter",
+ "param": "-"
+ },
+ {
+ "tag": "param",
+ "text": "`value` - The value to set for the Parameter.\n\nOptionally, to control the visibility of the Parameter chip,\nuse the `isVisibleToUser` attribute when applying an override.\n",
+ "param": "-"
+ },
{
"tag": "example",
- "text": "\n```js\nliveboardEmbed.trigger(HostEvent.UpdateParameters, [{\nname: \"Color\",\nvalue: \"almond\"\n}])\n\n@version SDK: 1.29.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw\n"
+ "text": "\n```js\nliveboardEmbed.trigger(HostEvent.UpdateParameters, [{\n name: \"Integer Range Param\",\n value: 10,\n isVisibleToUser: false\n}])\n```"
+ },
+ {
+ "tag": "version",
+ "text": "SDK: 1.29.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw\n"
}
]
},
"sources": [
{
"fileName": "types.ts",
- "line": 3983,
+ "line": 4194,
"character": 4
}
],
"defaultValue": "\"UpdateParameters\""
},
{
- "id": 2030,
+ "id": 2146,
"name": "UpdatePersonalisedView",
"kind": 16,
"kindString": "Enumeration member",
@@ -9224,14 +9379,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 4009,
+ "line": 4222,
"character": 4
}
],
"defaultValue": "\"UpdatePersonalisedView\""
},
{
- "id": 1982,
+ "id": 2097,
"name": "UpdateRuntimeFilters",
"kind": 16,
"kindString": "Enumeration member",
@@ -9262,14 +9417,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3118,
+ "line": 3262,
"character": 4
}
],
"defaultValue": "\"UpdateRuntimeFilters\""
},
{
- "id": 2023,
+ "id": 2139,
"name": "UpdateSageQuery",
"kind": 16,
"kindString": "Enumeration member",
@@ -9300,14 +9455,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3904,
+ "line": 4109,
"character": 4
}
],
"defaultValue": "\"updateSageQuery\""
},
{
- "id": 1994,
+ "id": 2109,
"name": "UpdateTML",
"kind": 16,
"kindString": "Enumeration member",
@@ -9328,14 +9483,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3312,
+ "line": 3462,
"character": 4
}
],
"defaultValue": "\"updateTSL\""
},
{
- "id": 1987,
+ "id": 2102,
"name": "getExportRequestForCurrentPinboard",
"kind": 16,
"kindString": "Enumeration member",
@@ -9356,7 +9511,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 3186,
+ "line": 3330,
"character": 4
}
],
@@ -9368,82 +9523,168 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 1985,
- 2040,
- 2025,
- 2043,
- 2002,
- 1999,
- 2006,
- 2039,
- 2008,
- 2010,
- 1995,
- 2009,
- 2011,
- 1976,
- 2001,
- 2036,
- 1993,
- 1998,
- 1992,
- 2024,
- 2018,
- 1979,
- 2029,
- 2004,
- 2020,
- 1989,
- 1996,
- 2000,
- 2016,
- 1983,
- 1984,
- 1988,
- 2003,
- 2037,
- 1997,
- 1986,
- 2027,
- 2017,
- 2038,
- 2013,
- 2032,
- 1990,
- 1991,
- 1975,
- 1981,
- 2022,
- 2021,
- 1980,
- 2012,
- 2005,
- 2007,
- 2035,
- 2015,
- 2014,
- 2034,
- 2026,
- 2019,
- 2028,
- 2030,
- 1982,
- 2023,
- 1994,
- 1987
+ 2111,
+ 2100,
+ 2156,
+ 2141,
+ 2159,
+ 2118,
+ 2115,
+ 2122,
+ 2155,
+ 2161,
+ 2124,
+ 2126,
+ 2110,
+ 2125,
+ 2127,
+ 2091,
+ 2117,
+ 2152,
+ 2108,
+ 2114,
+ 2107,
+ 2140,
+ 2134,
+ 2094,
+ 2145,
+ 2120,
+ 2136,
+ 2104,
+ 2112,
+ 2116,
+ 2132,
+ 2098,
+ 2099,
+ 2103,
+ 2119,
+ 2153,
+ 2113,
+ 2101,
+ 2143,
+ 2133,
+ 2154,
+ 2129,
+ 2148,
+ 2105,
+ 2106,
+ 2090,
+ 2096,
+ 2138,
+ 2137,
+ 2095,
+ 2128,
+ 2121,
+ 2123,
+ 2151,
+ 2131,
+ 2130,
+ 2150,
+ 2142,
+ 2135,
+ 2144,
+ 2146,
+ 2097,
+ 2139,
+ 2109,
+ 2102
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 3110,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 2992,
+ "name": "InterceptedApiType",
+ "kind": 4,
+ "kindString": "Enumeration",
+ "flags": {},
+ "comment": {
+ "shortText": "Enum for the type of API intercepted"
+ },
+ "children": [
+ {
+ "id": 2994,
+ "name": "ALL",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {},
+ "comment": {
+ "shortText": "This will intercept all the apis"
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6123,
+ "character": 4
+ }
+ ],
+ "defaultValue": "\"ALL\""
+ },
+ {
+ "id": 2993,
+ "name": "AnswerData",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {},
+ "comment": {
+ "shortText": "The apis that are use to get the data for the embed"
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6119,
+ "character": 4
+ }
+ ],
+ "defaultValue": "\"AnswerData\""
+ },
+ {
+ "id": 2995,
+ "name": "LiveboardData",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {},
+ "comment": {
+ "shortText": "The apis that are use to get the data for the liveboard"
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6127,
+ "character": 4
+ }
+ ],
+ "defaultValue": "\"LiveboardData\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration members",
+ "kind": 16,
+ "children": [
+ 2994,
+ 2993,
+ 2995
]
}
],
"sources": [
{
"fileName": "types.ts",
- "line": 2964,
+ "line": 6115,
"character": 12
}
]
},
{
- "id": 2808,
+ "id": 2939,
"name": "ListPage",
"kind": 4,
"kindString": "Enumeration",
@@ -9459,7 +9700,7 @@
},
"children": [
{
- "id": 2809,
+ "id": 2940,
"name": "List",
"kind": 16,
"kindString": "Enumeration member",
@@ -9477,7 +9718,7 @@
"defaultValue": "\"v2\""
},
{
- "id": 2810,
+ "id": 2941,
"name": "ListWithUXChanges",
"kind": 16,
"kindString": "Enumeration member",
@@ -9500,8 +9741,8 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 2809,
- 2810
+ 2940,
+ 2941
]
}
],
@@ -9514,7 +9755,7 @@
]
},
{
- "id": 2841,
+ "id": 2973,
"name": "ListPageColumns",
"kind": 4,
"kindString": "Enumeration",
@@ -9530,7 +9771,7 @@
},
"children": [
{
- "id": 2844,
+ "id": 2976,
"name": "Author",
"kind": 16,
"kindString": "Enumeration member",
@@ -9541,14 +9782,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1696,
+ "line": 1761,
"character": 4
}
],
"defaultValue": "\"AUTHOR\""
},
{
- "id": 2845,
+ "id": 2977,
"name": "DateSort",
"kind": 16,
"kindString": "Enumeration member",
@@ -9559,14 +9800,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1700,
+ "line": 1765,
"character": 4
}
],
"defaultValue": "\"DATE_SORT\""
},
{
- "id": 2842,
+ "id": 2974,
"name": "Favourite",
"kind": 16,
"kindString": "Enumeration member",
@@ -9577,14 +9818,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1688,
+ "line": 1753,
"character": 4
}
],
"defaultValue": "\"FAVOURITE\""
},
{
- "id": 2846,
+ "id": 2978,
"name": "Share",
"kind": 16,
"kindString": "Enumeration member",
@@ -9595,14 +9836,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1704,
+ "line": 1769,
"character": 4
}
],
"defaultValue": "\"SHARE\""
},
{
- "id": 2843,
+ "id": 2975,
"name": "Tags",
"kind": 16,
"kindString": "Enumeration member",
@@ -9613,7 +9854,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1692,
+ "line": 1757,
"character": 4
}
],
@@ -9625,24 +9866,24 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 2844,
- 2845,
- 2842,
- 2846,
- 2843
+ 2976,
+ 2977,
+ 2974,
+ 2978,
+ 2975
]
}
],
"sources": [
{
"fileName": "types.ts",
- "line": 1684,
+ "line": 1749,
"character": 12
}
]
},
{
- "id": 2776,
+ "id": 2907,
"name": "LogLevel",
"kind": 4,
"kindString": "Enumeration",
@@ -9652,7 +9893,7 @@
},
"children": [
{
- "id": 2781,
+ "id": 2912,
"name": "DEBUG",
"kind": 16,
"kindString": "Enumeration member",
@@ -9673,14 +9914,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5823,
+ "line": 6081,
"character": 4
}
],
"defaultValue": "\"DEBUG\""
},
{
- "id": 2778,
+ "id": 2909,
"name": "ERROR",
"kind": 16,
"kindString": "Enumeration member",
@@ -9701,14 +9942,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5784,
+ "line": 6042,
"character": 4
}
],
"defaultValue": "\"ERROR\""
},
{
- "id": 2780,
+ "id": 2911,
"name": "INFO",
"kind": 16,
"kindString": "Enumeration member",
@@ -9729,14 +9970,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5809,
+ "line": 6067,
"character": 4
}
],
"defaultValue": "\"INFO\""
},
{
- "id": 2777,
+ "id": 2908,
"name": "SILENT",
"kind": 16,
"kindString": "Enumeration member",
@@ -9757,14 +9998,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5772,
+ "line": 6030,
"character": 4
}
],
"defaultValue": "\"SILENT\""
},
{
- "id": 2782,
+ "id": 2913,
"name": "TRACE",
"kind": 16,
"kindString": "Enumeration member",
@@ -9785,14 +10026,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5835,
+ "line": 6093,
"character": 4
}
],
"defaultValue": "\"TRACE\""
},
{
- "id": 2779,
+ "id": 2910,
"name": "WARN",
"kind": 16,
"kindString": "Enumeration member",
@@ -9813,7 +10054,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5796,
+ "line": 6054,
"character": 4
}
],
@@ -9825,25 +10066,25 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 2781,
- 2778,
- 2780,
- 2777,
- 2782,
- 2779
+ 2912,
+ 2909,
+ 2911,
+ 2908,
+ 2913,
+ 2910
]
}
],
"sources": [
{
"fileName": "types.ts",
- "line": 5759,
+ "line": 6017,
"character": 12
}
]
},
{
- "id": 1840,
+ "id": 1953,
"name": "Page",
"kind": 4,
"kindString": "Enumeration",
@@ -9853,7 +10094,7 @@
},
"children": [
{
- "id": 1843,
+ "id": 1956,
"name": "Answers",
"kind": 16,
"kindString": "Enumeration member",
@@ -9871,7 +10112,7 @@
"defaultValue": "\"answers\""
},
{
- "id": 1846,
+ "id": 1959,
"name": "Data",
"kind": 16,
"kindString": "Enumeration member",
@@ -9889,7 +10130,7 @@
"defaultValue": "\"data\""
},
{
- "id": 1841,
+ "id": 1954,
"name": "Home",
"kind": 16,
"kindString": "Enumeration member",
@@ -9907,7 +10148,7 @@
"defaultValue": "\"home\""
},
{
- "id": 1844,
+ "id": 1957,
"name": "Liveboards",
"kind": 16,
"kindString": "Enumeration member",
@@ -9925,7 +10166,7 @@
"defaultValue": "\"liveboards\""
},
{
- "id": 1848,
+ "id": 1961,
"name": "Monitor",
"kind": 16,
"kindString": "Enumeration member",
@@ -9943,7 +10184,7 @@
"defaultValue": "\"monitor\""
},
{
- "id": 1842,
+ "id": 1955,
"name": "Search",
"kind": 16,
"kindString": "Enumeration member",
@@ -9961,7 +10202,7 @@
"defaultValue": "\"search\""
},
{
- "id": 1847,
+ "id": 1960,
"name": "SpotIQ",
"kind": 16,
"kindString": "Enumeration member",
@@ -9984,13 +10225,13 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 1843,
- 1846,
- 1841,
- 1844,
- 1848,
- 1842,
- 1847
+ 1956,
+ 1959,
+ 1954,
+ 1957,
+ 1961,
+ 1955,
+ 1960
]
}
],
@@ -10003,14 +10244,14 @@
]
},
{
- "id": 2533,
+ "id": 2675,
"name": "PrefetchFeatures",
"kind": 4,
"kindString": "Enumeration",
"flags": {},
"children": [
{
- "id": 2534,
+ "id": 2676,
"name": "FullApp",
"kind": 16,
"kindString": "Enumeration member",
@@ -10018,14 +10259,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5650,
+ "line": 5908,
"character": 4
}
],
"defaultValue": "\"FullApp\""
},
{
- "id": 2536,
+ "id": 2678,
"name": "LiveboardEmbed",
"kind": 16,
"kindString": "Enumeration member",
@@ -10033,14 +10274,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5652,
+ "line": 5910,
"character": 4
}
],
"defaultValue": "\"LiveboardEmbed\""
},
{
- "id": 2535,
+ "id": 2677,
"name": "SearchEmbed",
"kind": 16,
"kindString": "Enumeration member",
@@ -10048,14 +10289,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5651,
+ "line": 5909,
"character": 4
}
],
"defaultValue": "\"SearchEmbed\""
},
{
- "id": 2537,
+ "id": 2679,
"name": "VizEmbed",
"kind": 16,
"kindString": "Enumeration member",
@@ -10063,7 +10304,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5653,
+ "line": 5911,
"character": 4
}
],
@@ -10075,23 +10316,23 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 2534,
- 2536,
- 2535,
- 2537
+ 2676,
+ 2678,
+ 2677,
+ 2679
]
}
],
"sources": [
{
"fileName": "types.ts",
- "line": 5649,
+ "line": 5907,
"character": 12
}
]
},
{
- "id": 2803,
+ "id": 2934,
"name": "PrimaryNavbarVersion",
"kind": 4,
"kindString": "Enumeration",
@@ -10107,7 +10348,7 @@
},
"children": [
{
- "id": 2804,
+ "id": 2935,
"name": "Sliding",
"kind": 16,
"kindString": "Enumeration member",
@@ -10130,7 +10371,7 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 2804
+ 2935
]
}
],
@@ -10143,7 +10384,7 @@
]
},
{
- "id": 1865,
+ "id": 1978,
"name": "RuntimeFilterOp",
"kind": 4,
"kindString": "Enumeration",
@@ -10153,7 +10394,7 @@
},
"children": [
{
- "id": 1873,
+ "id": 1986,
"name": "BEGINS_WITH",
"kind": 16,
"kindString": "Enumeration member",
@@ -10164,14 +10405,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1612,
+ "line": 1677,
"character": 4
}
],
"defaultValue": "\"BEGINS_WITH\""
},
{
- "id": 1878,
+ "id": 1991,
"name": "BW",
"kind": 16,
"kindString": "Enumeration member",
@@ -10182,14 +10423,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1632,
+ "line": 1697,
"character": 4
}
],
"defaultValue": "\"BW\""
},
{
- "id": 1877,
+ "id": 1990,
"name": "BW_INC",
"kind": 16,
"kindString": "Enumeration member",
@@ -10200,14 +10441,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1628,
+ "line": 1693,
"character": 4
}
],
"defaultValue": "\"BW_INC\""
},
{
- "id": 1875,
+ "id": 1988,
"name": "BW_INC_MAX",
"kind": 16,
"kindString": "Enumeration member",
@@ -10218,14 +10459,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1620,
+ "line": 1685,
"character": 4
}
],
"defaultValue": "\"BW_INC_MAX\""
},
{
- "id": 1876,
+ "id": 1989,
"name": "BW_INC_MIN",
"kind": 16,
"kindString": "Enumeration member",
@@ -10236,14 +10477,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1624,
+ "line": 1689,
"character": 4
}
],
"defaultValue": "\"BW_INC_MIN\""
},
{
- "id": 1872,
+ "id": 1985,
"name": "CONTAINS",
"kind": 16,
"kindString": "Enumeration member",
@@ -10254,14 +10495,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1608,
+ "line": 1673,
"character": 4
}
],
"defaultValue": "\"CONTAINS\""
},
{
- "id": 1874,
+ "id": 1987,
"name": "ENDS_WITH",
"kind": 16,
"kindString": "Enumeration member",
@@ -10272,14 +10513,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1616,
+ "line": 1681,
"character": 4
}
],
"defaultValue": "\"ENDS_WITH\""
},
{
- "id": 1866,
+ "id": 1979,
"name": "EQ",
"kind": 16,
"kindString": "Enumeration member",
@@ -10290,14 +10531,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1584,
+ "line": 1649,
"character": 4
}
],
"defaultValue": "\"EQ\""
},
{
- "id": 1871,
+ "id": 1984,
"name": "GE",
"kind": 16,
"kindString": "Enumeration member",
@@ -10308,14 +10549,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1604,
+ "line": 1669,
"character": 4
}
],
"defaultValue": "\"GE\""
},
{
- "id": 1870,
+ "id": 1983,
"name": "GT",
"kind": 16,
"kindString": "Enumeration member",
@@ -10326,14 +10567,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1600,
+ "line": 1665,
"character": 4
}
],
"defaultValue": "\"GT\""
},
{
- "id": 1879,
+ "id": 1992,
"name": "IN",
"kind": 16,
"kindString": "Enumeration member",
@@ -10344,14 +10585,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1636,
+ "line": 1701,
"character": 4
}
],
"defaultValue": "\"IN\""
},
{
- "id": 1869,
+ "id": 1982,
"name": "LE",
"kind": 16,
"kindString": "Enumeration member",
@@ -10362,14 +10603,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1596,
+ "line": 1661,
"character": 4
}
],
"defaultValue": "\"LE\""
},
{
- "id": 1868,
+ "id": 1981,
"name": "LT",
"kind": 16,
"kindString": "Enumeration member",
@@ -10380,14 +10621,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1592,
+ "line": 1657,
"character": 4
}
],
"defaultValue": "\"LT\""
},
{
- "id": 1867,
+ "id": 1980,
"name": "NE",
"kind": 16,
"kindString": "Enumeration member",
@@ -10398,14 +10639,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1588,
+ "line": 1653,
"character": 4
}
],
"defaultValue": "\"NE\""
},
{
- "id": 1880,
+ "id": 1993,
"name": "NOT_IN",
"kind": 16,
"kindString": "Enumeration member",
@@ -10416,7 +10657,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1640,
+ "line": 1705,
"character": 4
}
],
@@ -10428,41 +10669,41 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 1873,
- 1878,
- 1877,
- 1875,
- 1876,
- 1872,
- 1874,
- 1866,
- 1871,
- 1870,
- 1879,
- 1869,
- 1868,
- 1867,
- 1880
+ 1986,
+ 1991,
+ 1990,
+ 1988,
+ 1989,
+ 1985,
+ 1987,
+ 1979,
+ 1984,
+ 1983,
+ 1992,
+ 1982,
+ 1981,
+ 1980,
+ 1993
]
}
],
"sources": [
{
"fileName": "types.ts",
- "line": 1580,
+ "line": 1645,
"character": 12
}
]
},
{
- "id": 2834,
+ "id": 2965,
"name": "UIPassthroughEvent",
"kind": 4,
"kindString": "Enumeration",
"flags": {},
"children": [
{
- "id": 2839,
+ "id": 2970,
"name": "GetAnswerConfig",
"kind": 16,
"kindString": "Enumeration member",
@@ -10477,7 +10718,7 @@
"defaultValue": "\"getAnswerPageConfig\""
},
{
- "id": 2838,
+ "id": 2969,
"name": "GetAvailableUIPassthroughs",
"kind": 16,
"kindString": "Enumeration member",
@@ -10492,7 +10733,7 @@
"defaultValue": "\"getAvailableUiPassthroughs\""
},
{
- "id": 2837,
+ "id": 2968,
"name": "GetDiscoverabilityStatus",
"kind": 16,
"kindString": "Enumeration member",
@@ -10507,7 +10748,7 @@
"defaultValue": "\"getDiscoverabilityStatus\""
},
{
- "id": 2840,
+ "id": 2971,
"name": "GetLiveboardConfig",
"kind": 16,
"kindString": "Enumeration member",
@@ -10522,7 +10763,22 @@
"defaultValue": "\"getPinboardPageConfig\""
},
{
- "id": 2835,
+ "id": 2972,
+ "name": "GetUnsavedAnswerTML",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "embed/hostEventClient/contracts.ts",
+ "line": 10,
+ "character": 2
+ }
+ ],
+ "defaultValue": "\"getUnsavedAnswerTML\""
+ },
+ {
+ "id": 2966,
"name": "PinAnswerToLiveboard",
"kind": 16,
"kindString": "Enumeration member",
@@ -10537,7 +10793,7 @@
"defaultValue": "\"addVizToPinboard\""
},
{
- "id": 2836,
+ "id": 2967,
"name": "SaveAnswer",
"kind": 16,
"kindString": "Enumeration member",
@@ -10557,12 +10813,13 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 2839,
- 2838,
- 2837,
- 2840,
- 2835,
- 2836
+ 2970,
+ 2969,
+ 2968,
+ 2971,
+ 2972,
+ 2966,
+ 2967
]
}
],
@@ -10575,7 +10832,7 @@
]
},
{
- "id": 1757,
+ "id": 1870,
"name": "AnswerService",
"kind": 128,
"kindString": "Class",
@@ -10604,7 +10861,7 @@
},
"children": [
{
- "id": 1758,
+ "id": 1871,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -10621,7 +10878,7 @@
],
"signatures": [
{
- "id": 1759,
+ "id": 1872,
"name": "new AnswerService",
"kind": 16384,
"kindString": "Constructor signature",
@@ -10631,7 +10888,7 @@
},
"parameters": [
{
- "id": 1760,
+ "id": 1873,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -10639,12 +10896,12 @@
"comment": {},
"type": {
"type": "reference",
- "id": 1830,
+ "id": 1943,
"name": "SessionInterface"
}
},
{
- "id": 1761,
+ "id": 1874,
"name": "answer",
"kind": 32768,
"kindString": "Parameter",
@@ -10656,7 +10913,7 @@
}
},
{
- "id": 1762,
+ "id": 1875,
"name": "thoughtSpotHost",
"kind": 32768,
"kindString": "Parameter",
@@ -10668,7 +10925,7 @@
}
},
{
- "id": 1763,
+ "id": 1876,
"name": "selectedPoints",
"kind": 32768,
"kindString": "Parameter",
@@ -10682,7 +10939,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2811,
+ "id": 2942,
"name": "VizPoint"
}
}
@@ -10690,14 +10947,14 @@
],
"type": {
"type": "reference",
- "id": 1757,
+ "id": 1870,
"name": "AnswerService"
}
}
]
},
{
- "id": 1772,
+ "id": 1885,
"name": "addColumns",
"kind": 2048,
"kindString": "Method",
@@ -10713,7 +10970,7 @@
],
"signatures": [
{
- "id": 1773,
+ "id": 1886,
"name": "addColumns",
"kind": 4096,
"kindString": "Call signature",
@@ -10724,7 +10981,7 @@
},
"parameters": [
{
- "id": 1774,
+ "id": 1887,
"name": "columnIds",
"kind": 32768,
"kindString": "Parameter",
@@ -10753,7 +11010,7 @@
]
},
{
- "id": 1775,
+ "id": 1888,
"name": "addColumnsByName",
"kind": 2048,
"kindString": "Method",
@@ -10769,7 +11026,7 @@
],
"signatures": [
{
- "id": 1776,
+ "id": 1889,
"name": "addColumnsByName",
"kind": 4096,
"kindString": "Call signature",
@@ -10785,7 +11042,7 @@
},
"parameters": [
{
- "id": 1777,
+ "id": 1890,
"name": "columnNames",
"kind": 32768,
"kindString": "Parameter",
@@ -10814,7 +11071,7 @@
]
},
{
- "id": 1824,
+ "id": 1937,
"name": "addDisplayedVizToLiveboard",
"kind": 2048,
"kindString": "Method",
@@ -10830,14 +11087,14 @@
],
"signatures": [
{
- "id": 1825,
+ "id": 1938,
"name": "addDisplayedVizToLiveboard",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 1826,
+ "id": 1939,
"name": "liveboardId",
"kind": 32768,
"kindString": "Parameter",
@@ -10862,7 +11119,7 @@
]
},
{
- "id": 1778,
+ "id": 1891,
"name": "addFilter",
"kind": 2048,
"kindString": "Method",
@@ -10878,7 +11135,7 @@
],
"signatures": [
{
- "id": 1779,
+ "id": 1892,
"name": "addFilter",
"kind": 4096,
"kindString": "Call signature",
@@ -10889,7 +11146,7 @@
},
"parameters": [
{
- "id": 1780,
+ "id": 1893,
"name": "columnName",
"kind": 32768,
"kindString": "Parameter",
@@ -10901,7 +11158,7 @@
}
},
{
- "id": 1781,
+ "id": 1894,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -10909,12 +11166,12 @@
"comment": {},
"type": {
"type": "reference",
- "id": 1865,
+ "id": 1978,
"name": "RuntimeFilterOp"
}
},
{
- "id": 1782,
+ "id": 1895,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -10960,7 +11217,7 @@
]
},
{
- "id": 1814,
+ "id": 1927,
"name": "executeQuery",
"kind": 2048,
"kindString": "Method",
@@ -10976,7 +11233,7 @@
],
"signatures": [
{
- "id": 1815,
+ "id": 1928,
"name": "executeQuery",
"kind": 4096,
"kindString": "Call signature",
@@ -10987,7 +11244,7 @@
},
"parameters": [
{
- "id": 1816,
+ "id": 1929,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -11001,7 +11258,7 @@
}
},
{
- "id": 1817,
+ "id": 1930,
"name": "variables",
"kind": 32768,
"kindString": "Parameter",
@@ -11029,7 +11286,7 @@
]
},
{
- "id": 1792,
+ "id": 1905,
"name": "fetchCSVBlob",
"kind": 2048,
"kindString": "Method",
@@ -11045,7 +11302,7 @@
],
"signatures": [
{
- "id": 1793,
+ "id": 1906,
"name": "fetchCSVBlob",
"kind": 4096,
"kindString": "Call signature",
@@ -11056,7 +11313,7 @@
},
"parameters": [
{
- "id": 1794,
+ "id": 1907,
"name": "userLocale",
"kind": 32768,
"kindString": "Parameter",
@@ -11069,7 +11326,7 @@
"defaultValue": "'en-us'"
},
{
- "id": 1795,
+ "id": 1908,
"name": "includeInfo",
"kind": 32768,
"kindString": "Parameter",
@@ -11098,7 +11355,7 @@
]
},
{
- "id": 1785,
+ "id": 1898,
"name": "fetchData",
"kind": 2048,
"kindString": "Method",
@@ -11114,7 +11371,7 @@
],
"signatures": [
{
- "id": 1786,
+ "id": 1899,
"name": "fetchData",
"kind": 4096,
"kindString": "Call signature",
@@ -11125,7 +11382,7 @@
},
"parameters": [
{
- "id": 1787,
+ "id": 1900,
"name": "offset",
"kind": 32768,
"kindString": "Parameter",
@@ -11138,7 +11395,7 @@
"defaultValue": "0"
},
{
- "id": 1788,
+ "id": 1901,
"name": "size",
"kind": 32768,
"kindString": "Parameter",
@@ -11157,14 +11414,14 @@
{
"type": "reflection",
"declaration": {
- "id": 1789,
+ "id": 1902,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 1790,
+ "id": 1903,
"name": "columns",
"kind": 1024,
"kindString": "Property",
@@ -11175,7 +11432,7 @@
}
},
{
- "id": 1791,
+ "id": 1904,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -11191,8 +11448,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 1790,
- 1791
+ 1903,
+ 1904
]
}
]
@@ -11205,7 +11462,7 @@
]
},
{
- "id": 1796,
+ "id": 1909,
"name": "fetchPNGBlob",
"kind": 2048,
"kindString": "Method",
@@ -11221,7 +11478,7 @@
],
"signatures": [
{
- "id": 1797,
+ "id": 1910,
"name": "fetchPNGBlob",
"kind": 4096,
"kindString": "Call signature",
@@ -11232,7 +11489,7 @@
},
"parameters": [
{
- "id": 1798,
+ "id": 1911,
"name": "userLocale",
"kind": 32768,
"kindString": "Parameter",
@@ -11245,7 +11502,7 @@
"defaultValue": "'en-us'"
},
{
- "id": 1799,
+ "id": 1912,
"name": "omitBackground",
"kind": 32768,
"kindString": "Parameter",
@@ -11260,7 +11517,7 @@
"defaultValue": "false"
},
{
- "id": 1800,
+ "id": 1913,
"name": "deviceScaleFactor",
"kind": 32768,
"kindString": "Parameter",
@@ -11289,7 +11546,7 @@
]
},
{
- "id": 1820,
+ "id": 1933,
"name": "getAnswer",
"kind": 2048,
"kindString": "Method",
@@ -11305,7 +11562,7 @@
],
"signatures": [
{
- "id": 1821,
+ "id": 1934,
"name": "getAnswer",
"kind": 4096,
"kindString": "Call signature",
@@ -11324,7 +11581,7 @@
]
},
{
- "id": 1801,
+ "id": 1914,
"name": "getFetchCSVBlobUrl",
"kind": 2048,
"kindString": "Method",
@@ -11340,7 +11597,7 @@
],
"signatures": [
{
- "id": 1802,
+ "id": 1915,
"name": "getFetchCSVBlobUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -11351,7 +11608,7 @@
},
"parameters": [
{
- "id": 1803,
+ "id": 1916,
"name": "userLocale",
"kind": 32768,
"kindString": "Parameter",
@@ -11364,7 +11621,7 @@
"defaultValue": "'en-us'"
},
{
- "id": 1804,
+ "id": 1917,
"name": "includeInfo",
"kind": 32768,
"kindString": "Parameter",
@@ -11385,7 +11642,7 @@
]
},
{
- "id": 1805,
+ "id": 1918,
"name": "getFetchPNGBlobUrl",
"kind": 2048,
"kindString": "Method",
@@ -11401,7 +11658,7 @@
],
"signatures": [
{
- "id": 1806,
+ "id": 1919,
"name": "getFetchPNGBlobUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -11411,7 +11668,7 @@
},
"parameters": [
{
- "id": 1807,
+ "id": 1920,
"name": "userLocale",
"kind": 32768,
"kindString": "Parameter",
@@ -11424,7 +11681,7 @@
"defaultValue": "'en-us'"
},
{
- "id": 1808,
+ "id": 1921,
"name": "omitBackground",
"kind": 32768,
"kindString": "Parameter",
@@ -11437,7 +11694,7 @@
"defaultValue": "false"
},
{
- "id": 1809,
+ "id": 1922,
"name": "deviceScaleFactor",
"kind": 32768,
"kindString": "Parameter",
@@ -11460,7 +11717,7 @@
]
},
{
- "id": 1783,
+ "id": 1896,
"name": "getSQLQuery",
"kind": 2048,
"kindString": "Method",
@@ -11476,7 +11733,7 @@
],
"signatures": [
{
- "id": 1784,
+ "id": 1897,
"name": "getSQLQuery",
"kind": 4096,
"kindString": "Call signature",
@@ -11495,7 +11752,7 @@
]
},
{
- "id": 1818,
+ "id": 1931,
"name": "getSession",
"kind": 2048,
"kindString": "Method",
@@ -11511,7 +11768,7 @@
],
"signatures": [
{
- "id": 1819,
+ "id": 1932,
"name": "getSession",
"kind": 4096,
"kindString": "Call signature",
@@ -11522,14 +11779,14 @@
},
"type": {
"type": "reference",
- "id": 1830,
+ "id": 1943,
"name": "SessionInterface"
}
}
]
},
{
- "id": 1767,
+ "id": 1880,
"name": "getSourceDetail",
"kind": 2048,
"kindString": "Method",
@@ -11545,7 +11802,7 @@
],
"signatures": [
{
- "id": 1768,
+ "id": 1881,
"name": "getSourceDetail",
"kind": 4096,
"kindString": "Call signature",
@@ -11567,7 +11824,7 @@
]
},
{
- "id": 1822,
+ "id": 1935,
"name": "getTML",
"kind": 2048,
"kindString": "Method",
@@ -11583,7 +11840,7 @@
],
"signatures": [
{
- "id": 1823,
+ "id": 1936,
"name": "getTML",
"kind": 4096,
"kindString": "Call signature",
@@ -11602,7 +11859,7 @@
]
},
{
- "id": 1810,
+ "id": 1923,
"name": "getUnderlyingDataForPoint",
"kind": 2048,
"kindString": "Method",
@@ -11618,7 +11875,7 @@
],
"signatures": [
{
- "id": 1811,
+ "id": 1924,
"name": "getUnderlyingDataForPoint",
"kind": 4096,
"kindString": "Call signature",
@@ -11638,7 +11895,7 @@
},
"parameters": [
{
- "id": 1812,
+ "id": 1925,
"name": "outputColumnNames",
"kind": 32768,
"kindString": "Parameter",
@@ -11653,7 +11910,7 @@
}
},
{
- "id": 1813,
+ "id": 1926,
"name": "selectedPoints",
"kind": 32768,
"kindString": "Parameter",
@@ -11665,7 +11922,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 1837,
+ "id": 1950,
"name": "UnderlyingDataPoint"
}
}
@@ -11676,7 +11933,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 1757,
+ "id": 1870,
"name": "AnswerService"
}
],
@@ -11686,7 +11943,7 @@
]
},
{
- "id": 1769,
+ "id": 1882,
"name": "removeColumns",
"kind": 2048,
"kindString": "Method",
@@ -11702,7 +11959,7 @@
],
"signatures": [
{
- "id": 1770,
+ "id": 1883,
"name": "removeColumns",
"kind": 4096,
"kindString": "Call signature",
@@ -11713,7 +11970,7 @@
},
"parameters": [
{
- "id": 1771,
+ "id": 1884,
"name": "columnIds",
"kind": 32768,
"kindString": "Parameter",
@@ -11742,7 +11999,7 @@
]
},
{
- "id": 1827,
+ "id": 1940,
"name": "setTMLOverride",
"kind": 2048,
"kindString": "Method",
@@ -11758,14 +12015,14 @@
],
"signatures": [
{
- "id": 1828,
+ "id": 1941,
"name": "setTMLOverride",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 1829,
+ "id": 1942,
"name": "override",
"kind": 32768,
"kindString": "Parameter",
@@ -11789,31 +12046,31 @@
"title": "Constructors",
"kind": 512,
"children": [
- 1758
+ 1871
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 1772,
- 1775,
- 1824,
- 1778,
- 1814,
- 1792,
- 1785,
- 1796,
- 1820,
- 1801,
- 1805,
- 1783,
- 1818,
- 1767,
- 1822,
- 1810,
- 1769,
- 1827
+ 1885,
+ 1888,
+ 1937,
+ 1891,
+ 1927,
+ 1905,
+ 1898,
+ 1909,
+ 1933,
+ 1914,
+ 1918,
+ 1896,
+ 1931,
+ 1880,
+ 1935,
+ 1923,
+ 1882,
+ 1940
]
}
],
@@ -11826,7 +12083,7 @@
]
},
{
- "id": 961,
+ "id": 1024,
"name": "AppEmbed",
"kind": 128,
"kindString": "Class",
@@ -11842,7 +12099,7 @@
},
"children": [
{
- "id": 962,
+ "id": 1025,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -11850,46 +12107,46 @@
"sources": [
{
"fileName": "embed/app.ts",
- "line": 610,
+ "line": 625,
"character": 4
}
],
"signatures": [
{
- "id": 963,
+ "id": 1026,
"name": "new AppEmbed",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 964,
+ "id": 1027,
"name": "domSelector",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 2562,
+ "id": 2704,
"name": "DOMSelector"
}
},
{
- "id": 965,
+ "id": 1028,
"name": "viewConfig",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 2453,
+ "id": 2589,
"name": "AppViewConfig"
}
}
],
"type": {
"type": "reference",
- "id": 961,
+ "id": 1024,
"name": "AppEmbed"
},
"overwrites": {
@@ -11904,7 +12161,7 @@
}
},
{
- "id": 999,
+ "id": 1062,
"name": "destroy",
"kind": 2048,
"kindString": "Method",
@@ -11914,13 +12171,13 @@
"sources": [
{
"fileName": "embed/app.ts",
- "line": 968,
+ "line": 993,
"character": 11
}
],
"signatures": [
{
- "id": 1000,
+ "id": 1063,
"name": "destroy",
"kind": 4096,
"kindString": "Call signature",
@@ -11950,7 +12207,7 @@
}
},
{
- "id": 1163,
+ "id": 1238,
"name": "getAnswerService",
"kind": 2048,
"kindString": "Method",
@@ -11960,13 +12217,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1511,
+ "line": 1644,
"character": 17
}
],
"signatures": [
{
- "id": 1164,
+ "id": 1239,
"name": "getAnswerService",
"kind": 4096,
"kindString": "Call signature",
@@ -11982,7 +12239,7 @@
},
"parameters": [
{
- "id": 1165,
+ "id": 1240,
"name": "vizId",
"kind": 32768,
"kindString": "Parameter",
@@ -12003,7 +12260,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 1757,
+ "id": 1870,
"name": "AnswerService"
}
],
@@ -12021,7 +12278,7 @@
}
},
{
- "id": 976,
+ "id": 1039,
"name": "getIFrameSrc",
"kind": 2048,
"kindString": "Method",
@@ -12031,13 +12288,13 @@
"sources": [
{
"fileName": "embed/app.ts",
- "line": 837,
+ "line": 862,
"character": 11
}
],
"signatures": [
{
- "id": 977,
+ "id": 1040,
"name": "getIFrameSrc",
"kind": 4096,
"kindString": "Call signature",
@@ -12053,7 +12310,7 @@
]
},
{
- "id": 1133,
+ "id": 1207,
"name": "getIframeSrc",
"kind": 2048,
"kindString": "Method",
@@ -12063,13 +12320,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1270,
+ "line": 1379,
"character": 11
}
],
"signatures": [
{
- "id": 1134,
+ "id": 1208,
"name": "getIframeSrc",
"kind": 4096,
"kindString": "Call signature",
@@ -12090,7 +12347,7 @@
}
},
{
- "id": 1158,
+ "id": 1233,
"name": "getPreRenderIds",
"kind": 2048,
"kindString": "Method",
@@ -12100,13 +12357,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1498,
+ "line": 1631,
"character": 11
}
],
"signatures": [
{
- "id": 1159,
+ "id": 1234,
"name": "getPreRenderIds",
"kind": 4096,
"kindString": "Call signature",
@@ -12128,14 +12385,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 1160,
+ "id": 1235,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 1162,
+ "id": 1237,
"name": "child",
"kind": 1024,
"kindString": "Property",
@@ -12147,7 +12404,7 @@
"defaultValue": "..."
},
{
- "id": 1161,
+ "id": 1236,
"name": "wrapper",
"kind": 1024,
"kindString": "Property",
@@ -12164,8 +12421,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 1162,
- 1161
+ 1237,
+ 1236
]
}
]
@@ -12183,7 +12440,7 @@
}
},
{
- "id": 1140,
+ "id": 1215,
"name": "getThoughtSpotPostUrlParams",
"kind": 2048,
"kindString": "Method",
@@ -12193,13 +12450,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1298,
+ "line": 1414,
"character": 11
}
],
"signatures": [
{
- "id": 1141,
+ "id": 1216,
"name": "getThoughtSpotPostUrlParams",
"kind": 4096,
"kindString": "Call signature",
@@ -12215,7 +12472,7 @@
},
"parameters": [
{
- "id": 1142,
+ "id": 1217,
"name": "additionalParams",
"kind": 32768,
"kindString": "Parameter",
@@ -12223,20 +12480,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 1143,
+ "id": 1218,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 1144,
+ "id": 1219,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 1145,
+ "id": 1220,
"name": "key",
"kind": 32768,
"flags": {},
@@ -12281,7 +12538,7 @@
}
},
{
- "id": 1146,
+ "id": 1221,
"name": "getUnderlyingFrameElement",
"kind": 2048,
"kindString": "Method",
@@ -12291,13 +12548,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1338,
+ "line": 1467,
"character": 11
}
],
"signatures": [
{
- "id": 1147,
+ "id": 1222,
"name": "getUnderlyingFrameElement",
"kind": 4096,
"kindString": "Call signature",
@@ -12318,7 +12575,7 @@
}
},
{
- "id": 1156,
+ "id": 1231,
"name": "hidePreRender",
"kind": 2048,
"kindString": "Method",
@@ -12328,13 +12585,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1470,
+ "line": 1603,
"character": 11
}
],
"signatures": [
{
- "id": 1157,
+ "id": 1232,
"name": "hidePreRender",
"kind": 4096,
"kindString": "Call signature",
@@ -12358,7 +12615,7 @@
}
},
{
- "id": 995,
+ "id": 1058,
"name": "navigateToPage",
"kind": 2048,
"kindString": "Method",
@@ -12368,13 +12625,13 @@
"sources": [
{
"fileName": "embed/app.ts",
- "line": 942,
+ "line": 967,
"character": 11
}
],
"signatures": [
{
- "id": 996,
+ "id": 1059,
"name": "navigateToPage",
"kind": 4096,
"kindString": "Call signature",
@@ -12390,7 +12647,7 @@
},
"parameters": [
{
- "id": 997,
+ "id": 1060,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -12413,7 +12670,7 @@
}
},
{
- "id": 998,
+ "id": 1061,
"name": "noReload",
"kind": 32768,
"kindString": "Parameter",
@@ -12436,7 +12693,7 @@
]
},
{
- "id": 1104,
+ "id": 1178,
"name": "off",
"kind": 2048,
"kindString": "Method",
@@ -12446,13 +12703,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1110,
+ "line": 1209,
"character": 11
}
],
"signatures": [
{
- "id": 1105,
+ "id": 1179,
"name": "off",
"kind": 4096,
"kindString": "Call signature",
@@ -12468,7 +12725,7 @@
},
"parameters": [
{
- "id": 1106,
+ "id": 1180,
"name": "messageType",
"kind": 32768,
"kindString": "Parameter",
@@ -12478,12 +12735,12 @@
},
"type": {
"type": "reference",
- "id": 1881,
+ "id": 1994,
"name": "EmbedEvent"
}
},
{
- "id": 1107,
+ "id": 1181,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -12493,7 +12750,7 @@
},
"type": {
"type": "reference",
- "id": 2566,
+ "id": 2708,
"name": "MessageCallback"
}
}
@@ -12514,7 +12771,7 @@
}
},
{
- "id": 1014,
+ "id": 1077,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -12524,13 +12781,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1620,
+ "line": 1753,
"character": 11
}
],
"signatures": [
{
- "id": 1015,
+ "id": 1078,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
@@ -12553,38 +12810,38 @@
},
"parameters": [
{
- "id": 1016,
+ "id": 1079,
"name": "messageType",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1881,
+ "id": 1994,
"name": "EmbedEvent"
}
},
{
- "id": 1017,
+ "id": 1080,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 2566,
+ "id": 2708,
"name": "MessageCallback"
}
},
{
- "id": 1018,
+ "id": 1081,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 2563,
+ "id": 2705,
"name": "MessageOptions"
},
"defaultValue": "..."
@@ -12606,7 +12863,7 @@
}
},
{
- "id": 1137,
+ "id": 1211,
"name": "preRender",
"kind": 2048,
"kindString": "Method",
@@ -12616,13 +12873,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1282,
+ "line": 1392,
"character": 17
}
],
"signatures": [
{
- "id": 1138,
+ "id": 1212,
"name": "preRender",
"kind": 4096,
"kindString": "Call signature",
@@ -12632,7 +12889,7 @@
},
"parameters": [
{
- "id": 1139,
+ "id": 1213,
"name": "showPreRenderByDefault",
"kind": 32768,
"kindString": "Parameter",
@@ -12645,6 +12902,18 @@
"name": "boolean"
},
"defaultValue": "false"
+ },
+ {
+ "id": 1214,
+ "name": "replaceExistingPreRender",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
}
],
"type": {
@@ -12669,7 +12938,7 @@
}
},
{
- "id": 1148,
+ "id": 1223,
"name": "prerenderGeneric",
"kind": 2048,
"kindString": "Method",
@@ -12679,13 +12948,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1349,
+ "line": 1478,
"character": 17
}
],
"signatures": [
{
- "id": 1149,
+ "id": 1224,
"name": "prerenderGeneric",
"kind": 4096,
"kindString": "Call signature",
@@ -12722,7 +12991,7 @@
}
},
{
- "id": 1007,
+ "id": 1070,
"name": "render",
"kind": 2048,
"kindString": "Method",
@@ -12732,13 +13001,13 @@
"sources": [
{
"fileName": "embed/app.ts",
- "line": 997,
+ "line": 1022,
"character": 17
}
],
"signatures": [
{
- "id": 1008,
+ "id": 1071,
"name": "render",
"kind": 4096,
"kindString": "Call signature",
@@ -12751,7 +13020,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 961,
+ "id": 1024,
"name": "AppEmbed"
}
],
@@ -12769,7 +13038,7 @@
}
},
{
- "id": 1152,
+ "id": 1227,
"name": "showPreRender",
"kind": 2048,
"kindString": "Method",
@@ -12779,13 +13048,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1397,
+ "line": 1526,
"character": 17
}
],
"signatures": [
{
- "id": 1153,
+ "id": 1228,
"name": "showPreRender",
"kind": 4096,
"kindString": "Call signature",
@@ -12815,7 +13084,7 @@
}
},
{
- "id": 1154,
+ "id": 1229,
"name": "syncPreRenderStyle",
"kind": 2048,
"kindString": "Method",
@@ -12825,13 +13094,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1451,
+ "line": 1584,
"character": 11
}
],
"signatures": [
{
- "id": 1155,
+ "id": 1230,
"name": "syncPreRenderStyle",
"kind": 4096,
"kindString": "Call signature",
@@ -12861,7 +13130,7 @@
}
},
{
- "id": 1122,
+ "id": 1196,
"name": "trigger",
"kind": 2048,
"kindString": "Method",
@@ -12871,13 +13140,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1220,
+ "line": 1319,
"character": 17
}
],
"signatures": [
{
- "id": 1123,
+ "id": 1197,
"name": "trigger",
"kind": 4096,
"kindString": "Call signature",
@@ -12888,19 +13157,19 @@
},
"typeParameter": [
{
- "id": 1124,
+ "id": 1198,
"name": "HostEventT",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1974,
+ "id": 2089,
"name": "HostEvent"
}
},
{
- "id": 1125,
+ "id": 1199,
"name": "PayloadT",
"kind": 131072,
"kindString": "Type parameter",
@@ -12909,7 +13178,7 @@
],
"parameters": [
{
- "id": 1126,
+ "id": 1200,
"name": "messageType",
"kind": 32768,
"kindString": "Parameter",
@@ -12923,7 +13192,7 @@
}
},
{
- "id": 1127,
+ "id": 1201,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -12980,7 +13249,7 @@
}
},
{
- "id": 1128,
+ "id": 1202,
"name": "triggerUIPassThrough",
"kind": 2048,
"kindString": "Method",
@@ -12990,13 +13259,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1246,
+ "line": 1355,
"character": 17
}
],
"signatures": [
{
- "id": 1129,
+ "id": 1203,
"name": "triggerUIPassThrough",
"kind": 4096,
"kindString": "Call signature",
@@ -13007,21 +13276,21 @@
},
"typeParameter": [
{
- "id": 1130,
+ "id": 1204,
"name": "UIPassthroughEventT",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 2834,
+ "id": 2965,
"name": "UIPassthroughEvent"
}
}
],
"parameters": [
{
- "id": 1131,
+ "id": 1205,
"name": "apiName",
"kind": 32768,
"kindString": "Parameter",
@@ -13035,7 +13304,7 @@
}
},
{
- "id": 1132,
+ "id": 1206,
"name": "parameters",
"kind": 32768,
"kindString": "Parameter",
@@ -13088,38 +13357,38 @@
"title": "Constructors",
"kind": 512,
"children": [
- 962
+ 1025
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 999,
- 1163,
- 976,
- 1133,
- 1158,
- 1140,
- 1146,
- 1156,
- 995,
- 1104,
- 1014,
- 1137,
- 1148,
- 1007,
- 1152,
- 1154,
- 1122,
- 1128
+ 1062,
+ 1238,
+ 1039,
+ 1207,
+ 1233,
+ 1215,
+ 1221,
+ 1231,
+ 1058,
+ 1178,
+ 1077,
+ 1211,
+ 1223,
+ 1070,
+ 1227,
+ 1229,
+ 1196,
+ 1202
]
}
],
"sources": [
{
"fileName": "embed/app.ts",
- "line": 604,
+ "line": 619,
"character": 13
}
],
@@ -13131,7 +13400,7 @@
]
},
{
- "id": 1256,
+ "id": 1337,
"name": "BodylessConversation",
"kind": 128,
"kindString": "Class",
@@ -13155,7 +13424,7 @@
},
"children": [
{
- "id": 1257,
+ "id": 1338,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -13163,51 +13432,51 @@
"sources": [
{
"fileName": "embed/bodyless-conversation.ts",
- "line": 180,
+ "line": 185,
"character": 4
}
],
"signatures": [
{
- "id": 1258,
+ "id": 1339,
"name": "new BodylessConversation",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 1259,
+ "id": 1340,
"name": "viewConfig",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1227,
+ "id": 1305,
"name": "BodylessConversationViewConfig"
}
}
],
"type": {
"type": "reference",
- "id": 1256,
+ "id": 1337,
"name": "BodylessConversation"
},
"overwrites": {
"type": "reference",
- "id": 1168,
+ "id": 1243,
"name": "SpotterAgentEmbed.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 1167,
+ "id": 1242,
"name": "SpotterAgentEmbed.constructor"
}
},
{
- "id": 1260,
+ "id": 1341,
"name": "sendMessage",
"kind": 2048,
"kindString": "Method",
@@ -13217,20 +13486,20 @@
"sources": [
{
"fileName": "embed/bodyless-conversation.ts",
- "line": 113,
+ "line": 118,
"character": 17
}
],
"signatures": [
{
- "id": 1261,
+ "id": 1342,
"name": "sendMessage",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 1262,
+ "id": 1343,
"name": "userMessage",
"kind": 32768,
"kindString": "Parameter",
@@ -13250,14 +13519,14 @@
{
"type": "reflection",
"declaration": {
- "id": 1263,
+ "id": 1344,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 1265,
+ "id": 1346,
"name": "container",
"kind": 1024,
"kindString": "Property",
@@ -13268,7 +13537,7 @@
}
},
{
- "id": 1264,
+ "id": 1345,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -13279,7 +13548,7 @@
}
},
{
- "id": 1266,
+ "id": 1347,
"name": "viz",
"kind": 1024,
"kindString": "Property",
@@ -13296,9 +13565,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 1265,
- 1264,
- 1266
+ 1346,
+ 1345,
+ 1347
]
}
]
@@ -13307,14 +13576,14 @@
{
"type": "reflection",
"declaration": {
- "id": 1267,
+ "id": 1348,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 1268,
+ "id": 1349,
"name": "container",
"kind": 1024,
"kindString": "Property",
@@ -13325,7 +13594,7 @@
}
},
{
- "id": 1270,
+ "id": 1351,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -13336,7 +13605,7 @@
}
},
{
- "id": 1269,
+ "id": 1350,
"name": "viz",
"kind": 1024,
"kindString": "Property",
@@ -13353,9 +13622,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 1268,
- 1270,
- 1269
+ 1349,
+ 1351,
+ 1350
]
}
]
@@ -13368,19 +13637,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1172,
+ "id": 1247,
"name": "SpotterAgentEmbed.sendMessage"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 1171,
+ "id": 1246,
"name": "SpotterAgentEmbed.sendMessage"
}
},
{
- "id": 1271,
+ "id": 1352,
"name": "sendMessageData",
"kind": 2048,
"kindString": "Method",
@@ -13390,13 +13659,13 @@
"sources": [
{
"fileName": "embed/bodyless-conversation.ts",
- "line": 139,
+ "line": 144,
"character": 17
}
],
"signatures": [
{
- "id": 1272,
+ "id": 1353,
"name": "sendMessageData",
"kind": 4096,
"kindString": "Call signature",
@@ -13407,7 +13676,7 @@
},
"parameters": [
{
- "id": 1273,
+ "id": 1354,
"name": "userMessage",
"kind": 32768,
"kindString": "Parameter",
@@ -13430,14 +13699,14 @@
{
"type": "reflection",
"declaration": {
- "id": 1274,
+ "id": 1355,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 1276,
+ "id": 1357,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -13449,7 +13718,7 @@
"defaultValue": "..."
},
{
- "id": 1275,
+ "id": 1356,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -13465,8 +13734,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 1276,
- 1275
+ 1357,
+ 1356
]
}
]
@@ -13475,14 +13744,14 @@
{
"type": "reflection",
"declaration": {
- "id": 1277,
+ "id": 1358,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 1278,
+ "id": 1359,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -13490,14 +13759,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 1279,
+ "id": 1360,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 1285,
+ "id": 1366,
"name": "acGenNo",
"kind": 1024,
"kindString": "Property",
@@ -13509,7 +13778,7 @@
"defaultValue": "..."
},
{
- "id": 1284,
+ "id": 1365,
"name": "acSessionId",
"kind": 1024,
"kindString": "Property",
@@ -13521,7 +13790,7 @@
"defaultValue": "..."
},
{
- "id": 1280,
+ "id": 1361,
"name": "convId",
"kind": 1024,
"kindString": "Property",
@@ -13533,7 +13802,7 @@
"defaultValue": "..."
},
{
- "id": 1283,
+ "id": 1364,
"name": "genNo",
"kind": 1024,
"kindString": "Property",
@@ -13545,7 +13814,7 @@
"defaultValue": "..."
},
{
- "id": 1281,
+ "id": 1362,
"name": "messageId",
"kind": 1024,
"kindString": "Property",
@@ -13557,7 +13826,7 @@
"defaultValue": "..."
},
{
- "id": 1282,
+ "id": 1363,
"name": "sessionId",
"kind": 1024,
"kindString": "Property",
@@ -13574,12 +13843,12 @@
"title": "Properties",
"kind": 1024,
"children": [
- 1285,
- 1284,
- 1280,
- 1283,
- 1281,
- 1282
+ 1366,
+ 1365,
+ 1361,
+ 1364,
+ 1362,
+ 1363
]
}
]
@@ -13588,7 +13857,7 @@
"defaultValue": "..."
},
{
- "id": 1286,
+ "id": 1367,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -13604,8 +13873,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 1278,
- 1286
+ 1359,
+ 1367
]
}
]
@@ -13618,14 +13887,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1183,
+ "id": 1258,
"name": "SpotterAgentEmbed.sendMessageData"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 1182,
+ "id": 1257,
"name": "SpotterAgentEmbed.sendMessageData"
}
}
@@ -13635,35 +13904,35 @@
"title": "Constructors",
"kind": 512,
"children": [
- 1257
+ 1338
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 1260,
- 1271
+ 1341,
+ 1352
]
}
],
"sources": [
{
"fileName": "embed/bodyless-conversation.ts",
- "line": 179,
+ "line": 184,
"character": 13
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 1166,
+ "id": 1241,
"name": "SpotterAgentEmbed"
}
]
},
{
- "id": 1526,
+ "id": 1627,
"name": "ConversationEmbed",
"kind": 128,
"kindString": "Class",
@@ -13691,7 +13960,7 @@
},
"children": [
{
- "id": 1527,
+ "id": 1628,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -13699,20 +13968,20 @@
"sources": [
{
"fileName": "embed/conversation.ts",
- "line": 288,
+ "line": 325,
"character": 4
}
],
"signatures": [
{
- "id": 1528,
+ "id": 1629,
"name": "new ConversationEmbed",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 1529,
+ "id": 1630,
"name": "container",
"kind": 32768,
"kindString": "Parameter",
@@ -13723,38 +13992,38 @@
}
},
{
- "id": 1530,
+ "id": 1631,
"name": "viewConfig",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1487,
+ "id": 1584,
"name": "ConversationViewConfig"
}
}
],
"type": {
"type": "reference",
- "id": 1526,
+ "id": 1627,
"name": "ConversationEmbed"
},
"overwrites": {
"type": "reference",
- "id": 1289,
+ "id": 1370,
"name": "SpotterEmbed.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 1288,
+ "id": 1369,
"name": "SpotterEmbed.constructor"
}
},
{
- "id": 1665,
+ "id": 1778,
"name": "destroy",
"kind": 2048,
"kindString": "Method",
@@ -13764,13 +14033,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1328,
+ "line": 1444,
"character": 11
}
],
"signatures": [
{
- "id": 1666,
+ "id": 1779,
"name": "destroy",
"kind": 4096,
"kindString": "Call signature",
@@ -13790,19 +14059,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1427,
+ "id": 1520,
"name": "SpotterEmbed.destroy"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 1426,
+ "id": 1519,
"name": "SpotterEmbed.destroy"
}
},
{
- "id": 1684,
+ "id": 1797,
"name": "getAnswerService",
"kind": 2048,
"kindString": "Method",
@@ -13812,13 +14081,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1511,
+ "line": 1644,
"character": 17
}
],
"signatures": [
{
- "id": 1685,
+ "id": 1798,
"name": "getAnswerService",
"kind": 4096,
"kindString": "Call signature",
@@ -13834,7 +14103,7 @@
},
"parameters": [
{
- "id": 1686,
+ "id": 1799,
"name": "vizId",
"kind": 32768,
"kindString": "Parameter",
@@ -13855,7 +14124,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 1757,
+ "id": 1870,
"name": "AnswerService"
}
],
@@ -13863,19 +14132,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1446,
+ "id": 1539,
"name": "SpotterEmbed.getAnswerService"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 1445,
+ "id": 1538,
"name": "SpotterEmbed.getAnswerService"
}
},
{
- "id": 1532,
+ "id": 1635,
"name": "getIframeSrc",
"kind": 2048,
"kindString": "Method",
@@ -13885,13 +14154,13 @@
"sources": [
{
"fileName": "embed/conversation.ts",
- "line": 199,
+ "line": 258,
"character": 11
}
],
"signatures": [
{
- "id": 1533,
+ "id": 1636,
"name": "getIframeSrc",
"kind": 4096,
"kindString": "Call signature",
@@ -13902,19 +14171,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1294,
+ "id": 1377,
"name": "SpotterEmbed.getIframeSrc"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 1293,
+ "id": 1376,
"name": "SpotterEmbed.getIframeSrc"
}
},
{
- "id": 1679,
+ "id": 1792,
"name": "getPreRenderIds",
"kind": 2048,
"kindString": "Method",
@@ -13924,13 +14193,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1498,
+ "line": 1631,
"character": 11
}
],
"signatures": [
{
- "id": 1680,
+ "id": 1793,
"name": "getPreRenderIds",
"kind": 4096,
"kindString": "Call signature",
@@ -13952,14 +14221,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 1681,
+ "id": 1794,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 1683,
+ "id": 1796,
"name": "child",
"kind": 1024,
"kindString": "Property",
@@ -13971,7 +14240,7 @@
"defaultValue": "..."
},
{
- "id": 1682,
+ "id": 1795,
"name": "wrapper",
"kind": 1024,
"kindString": "Property",
@@ -13988,8 +14257,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 1683,
- 1682
+ 1796,
+ 1795
]
}
]
@@ -13997,19 +14266,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1441,
+ "id": 1534,
"name": "SpotterEmbed.getPreRenderIds"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 1440,
+ "id": 1533,
"name": "SpotterEmbed.getPreRenderIds"
}
},
{
- "id": 1659,
+ "id": 1772,
"name": "getThoughtSpotPostUrlParams",
"kind": 2048,
"kindString": "Method",
@@ -14019,13 +14288,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1298,
+ "line": 1414,
"character": 11
}
],
"signatures": [
{
- "id": 1660,
+ "id": 1773,
"name": "getThoughtSpotPostUrlParams",
"kind": 4096,
"kindString": "Call signature",
@@ -14041,7 +14310,7 @@
},
"parameters": [
{
- "id": 1661,
+ "id": 1774,
"name": "additionalParams",
"kind": 32768,
"kindString": "Parameter",
@@ -14049,20 +14318,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 1662,
+ "id": 1775,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 1663,
+ "id": 1776,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 1664,
+ "id": 1777,
"name": "key",
"kind": 32768,
"flags": {},
@@ -14097,19 +14366,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1421,
+ "id": 1514,
"name": "SpotterEmbed.getThoughtSpotPostUrlParams"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 1420,
+ "id": 1513,
"name": "SpotterEmbed.getThoughtSpotPostUrlParams"
}
},
{
- "id": 1667,
+ "id": 1780,
"name": "getUnderlyingFrameElement",
"kind": 2048,
"kindString": "Method",
@@ -14119,13 +14388,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1338,
+ "line": 1467,
"character": 11
}
],
"signatures": [
{
- "id": 1668,
+ "id": 1781,
"name": "getUnderlyingFrameElement",
"kind": 4096,
"kindString": "Call signature",
@@ -14136,19 +14405,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1429,
+ "id": 1522,
"name": "SpotterEmbed.getUnderlyingFrameElement"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 1428,
+ "id": 1521,
"name": "SpotterEmbed.getUnderlyingFrameElement"
}
},
{
- "id": 1677,
+ "id": 1790,
"name": "hidePreRender",
"kind": 2048,
"kindString": "Method",
@@ -14158,13 +14427,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1470,
+ "line": 1603,
"character": 11
}
],
"signatures": [
{
- "id": 1678,
+ "id": 1791,
"name": "hidePreRender",
"kind": 4096,
"kindString": "Call signature",
@@ -14178,19 +14447,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1439,
+ "id": 1532,
"name": "SpotterEmbed.hidePreRender"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 1438,
+ "id": 1531,
"name": "SpotterEmbed.hidePreRender"
}
},
{
- "id": 1625,
+ "id": 1737,
"name": "off",
"kind": 2048,
"kindString": "Method",
@@ -14200,13 +14469,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1110,
+ "line": 1209,
"character": 11
}
],
"signatures": [
{
- "id": 1626,
+ "id": 1738,
"name": "off",
"kind": 4096,
"kindString": "Call signature",
@@ -14222,7 +14491,7 @@
},
"parameters": [
{
- "id": 1627,
+ "id": 1739,
"name": "messageType",
"kind": 32768,
"kindString": "Parameter",
@@ -14232,12 +14501,12 @@
},
"type": {
"type": "reference",
- "id": 1881,
+ "id": 1994,
"name": "EmbedEvent"
}
},
{
- "id": 1628,
+ "id": 1740,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -14247,7 +14516,7 @@
},
"type": {
"type": "reference",
- "id": 2566,
+ "id": 2708,
"name": "MessageCallback"
}
}
@@ -14258,19 +14527,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1387,
+ "id": 1479,
"name": "SpotterEmbed.off"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 1386,
+ "id": 1478,
"name": "SpotterEmbed.off"
}
},
{
- "id": 1619,
+ "id": 1731,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -14280,13 +14549,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1081,
+ "line": 1180,
"character": 11
}
],
"signatures": [
{
- "id": 1620,
+ "id": 1732,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
@@ -14306,7 +14575,7 @@
},
"parameters": [
{
- "id": 1621,
+ "id": 1733,
"name": "messageType",
"kind": 32768,
"kindString": "Parameter",
@@ -14316,12 +14585,12 @@
},
"type": {
"type": "reference",
- "id": 1881,
+ "id": 1994,
"name": "EmbedEvent"
}
},
{
- "id": 1622,
+ "id": 1734,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -14331,12 +14600,12 @@
},
"type": {
"type": "reference",
- "id": 2566,
+ "id": 2708,
"name": "MessageCallback"
}
},
{
- "id": 1623,
+ "id": 1735,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -14346,13 +14615,13 @@
},
"type": {
"type": "reference",
- "id": 2563,
+ "id": 2705,
"name": "MessageOptions"
},
"defaultValue": "..."
},
{
- "id": 1624,
+ "id": 1736,
"name": "isRegisteredBySDK",
"kind": 32768,
"kindString": "Parameter",
@@ -14371,19 +14640,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1381,
+ "id": 1473,
"name": "SpotterEmbed.on"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 1380,
+ "id": 1472,
"name": "SpotterEmbed.on"
}
},
{
- "id": 1656,
+ "id": 1768,
"name": "preRender",
"kind": 2048,
"kindString": "Method",
@@ -14393,13 +14662,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1282,
+ "line": 1392,
"character": 17
}
],
"signatures": [
{
- "id": 1657,
+ "id": 1769,
"name": "preRender",
"kind": 4096,
"kindString": "Call signature",
@@ -14409,7 +14678,7 @@
},
"parameters": [
{
- "id": 1658,
+ "id": 1770,
"name": "showPreRenderByDefault",
"kind": 32768,
"kindString": "Parameter",
@@ -14422,6 +14691,18 @@
"name": "boolean"
},
"defaultValue": "false"
+ },
+ {
+ "id": 1771,
+ "name": "replaceExistingPreRender",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
}
],
"type": {
@@ -14436,19 +14717,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1418,
+ "id": 1510,
"name": "SpotterEmbed.preRender"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 1417,
+ "id": 1509,
"name": "SpotterEmbed.preRender"
}
},
{
- "id": 1669,
+ "id": 1782,
"name": "prerenderGeneric",
"kind": 2048,
"kindString": "Method",
@@ -14458,13 +14739,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1349,
+ "line": 1478,
"character": 17
}
],
"signatures": [
{
- "id": 1670,
+ "id": 1783,
"name": "prerenderGeneric",
"kind": 4096,
"kindString": "Call signature",
@@ -14491,19 +14772,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1431,
+ "id": 1524,
"name": "SpotterEmbed.prerenderGeneric"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 1430,
+ "id": 1523,
"name": "SpotterEmbed.prerenderGeneric"
}
},
{
- "id": 1534,
+ "id": 1637,
"name": "render",
"kind": 2048,
"kindString": "Method",
@@ -14513,13 +14794,13 @@
"sources": [
{
"fileName": "embed/conversation.ts",
- "line": 261,
+ "line": 298,
"character": 17
}
],
"signatures": [
{
- "id": 1535,
+ "id": 1638,
"name": "render",
"kind": 4096,
"kindString": "Call signature",
@@ -14529,7 +14810,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 1287,
+ "id": 1368,
"name": "SpotterEmbed"
}
],
@@ -14537,19 +14818,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1296,
+ "id": 1379,
"name": "SpotterEmbed.render"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 1295,
+ "id": 1378,
"name": "SpotterEmbed.render"
}
},
{
- "id": 1673,
+ "id": 1786,
"name": "showPreRender",
"kind": 2048,
"kindString": "Method",
@@ -14559,13 +14840,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1397,
+ "line": 1526,
"character": 17
}
],
"signatures": [
{
- "id": 1674,
+ "id": 1787,
"name": "showPreRender",
"kind": 4096,
"kindString": "Call signature",
@@ -14585,19 +14866,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1435,
+ "id": 1528,
"name": "SpotterEmbed.showPreRender"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 1434,
+ "id": 1527,
"name": "SpotterEmbed.showPreRender"
}
},
{
- "id": 1675,
+ "id": 1788,
"name": "syncPreRenderStyle",
"kind": 2048,
"kindString": "Method",
@@ -14607,13 +14888,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1451,
+ "line": 1584,
"character": 11
}
],
"signatures": [
{
- "id": 1676,
+ "id": 1789,
"name": "syncPreRenderStyle",
"kind": 4096,
"kindString": "Call signature",
@@ -14633,19 +14914,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1437,
+ "id": 1530,
"name": "SpotterEmbed.syncPreRenderStyle"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 1436,
+ "id": 1529,
"name": "SpotterEmbed.syncPreRenderStyle"
}
},
{
- "id": 1643,
+ "id": 1755,
"name": "trigger",
"kind": 2048,
"kindString": "Method",
@@ -14655,13 +14936,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1220,
+ "line": 1319,
"character": 17
}
],
"signatures": [
{
- "id": 1644,
+ "id": 1756,
"name": "trigger",
"kind": 4096,
"kindString": "Call signature",
@@ -14672,19 +14953,19 @@
},
"typeParameter": [
{
- "id": 1645,
+ "id": 1757,
"name": "HostEventT",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1974,
+ "id": 2089,
"name": "HostEvent"
}
},
{
- "id": 1646,
+ "id": 1758,
"name": "PayloadT",
"kind": 131072,
"kindString": "Type parameter",
@@ -14693,7 +14974,7 @@
],
"parameters": [
{
- "id": 1647,
+ "id": 1759,
"name": "messageType",
"kind": 32768,
"kindString": "Parameter",
@@ -14707,7 +14988,7 @@
}
},
{
- "id": 1648,
+ "id": 1760,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -14754,19 +15035,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1405,
+ "id": 1497,
"name": "SpotterEmbed.trigger"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 1404,
+ "id": 1496,
"name": "SpotterEmbed.trigger"
}
},
{
- "id": 1649,
+ "id": 1761,
"name": "triggerUIPassThrough",
"kind": 2048,
"kindString": "Method",
@@ -14776,13 +15057,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1246,
+ "line": 1355,
"character": 17
}
],
"signatures": [
{
- "id": 1650,
+ "id": 1762,
"name": "triggerUIPassThrough",
"kind": 4096,
"kindString": "Call signature",
@@ -14793,21 +15074,21 @@
},
"typeParameter": [
{
- "id": 1651,
+ "id": 1763,
"name": "UIPassthroughEventT",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 2834,
+ "id": 2965,
"name": "UIPassthroughEvent"
}
}
],
"parameters": [
{
- "id": 1652,
+ "id": 1764,
"name": "apiName",
"kind": 32768,
"kindString": "Parameter",
@@ -14821,7 +15102,7 @@
}
},
{
- "id": 1653,
+ "id": 1765,
"name": "parameters",
"kind": 32768,
"kindString": "Parameter",
@@ -14859,14 +15140,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1411,
+ "id": 1503,
"name": "SpotterEmbed.triggerUIPassThrough"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 1410,
+ "id": 1502,
"name": "SpotterEmbed.triggerUIPassThrough"
}
}
@@ -14876,49 +15157,49 @@
"title": "Constructors",
"kind": 512,
"children": [
- 1527
+ 1628
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 1665,
- 1684,
- 1532,
- 1679,
- 1659,
- 1667,
- 1677,
- 1625,
- 1619,
- 1656,
- 1669,
- 1534,
- 1673,
- 1675,
- 1643,
- 1649
+ 1778,
+ 1797,
+ 1635,
+ 1792,
+ 1772,
+ 1780,
+ 1790,
+ 1737,
+ 1731,
+ 1768,
+ 1782,
+ 1637,
+ 1786,
+ 1788,
+ 1755,
+ 1761
]
}
],
"sources": [
{
"fileName": "embed/conversation.ts",
- "line": 287,
+ "line": 324,
"character": 13
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 1287,
+ "id": 1368,
"name": "SpotterEmbed"
}
]
},
{
- "id": 572,
+ "id": 611,
"name": "LiveboardEmbed",
"kind": 128,
"kindString": "Class",
@@ -14938,7 +15219,7 @@
},
"children": [
{
- "id": 573,
+ "id": 612,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -14946,46 +15227,46 @@
"sources": [
{
"fileName": "embed/liveboard.ts",
- "line": 406,
+ "line": 422,
"character": 4
}
],
"signatures": [
{
- "id": 574,
+ "id": 613,
"name": "new LiveboardEmbed",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 575,
+ "id": 614,
"name": "domSelector",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 2562,
+ "id": 2704,
"name": "DOMSelector"
}
},
{
- "id": 576,
+ "id": 615,
"name": "viewConfig",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 2335,
+ "id": 2461,
"name": "LiveboardViewConfig"
}
}
],
"type": {
"type": "reference",
- "id": 572,
+ "id": 611,
"name": "LiveboardEmbed"
},
"overwrites": {
@@ -15000,7 +15281,7 @@
}
},
{
- "id": 626,
+ "id": 667,
"name": "destroy",
"kind": 2048,
"kindString": "Method",
@@ -15010,13 +15291,13 @@
"sources": [
{
"fileName": "embed/liveboard.ts",
- "line": 727,
+ "line": 768,
"character": 11
}
],
"signatures": [
{
- "id": 627,
+ "id": 668,
"name": "destroy",
"kind": 4096,
"kindString": "Call signature",
@@ -15046,7 +15327,7 @@
}
},
{
- "id": 787,
+ "id": 838,
"name": "getAnswerService",
"kind": 2048,
"kindString": "Method",
@@ -15056,13 +15337,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1511,
+ "line": 1644,
"character": 17
}
],
"signatures": [
{
- "id": 788,
+ "id": 839,
"name": "getAnswerService",
"kind": 4096,
"kindString": "Call signature",
@@ -15078,7 +15359,7 @@
},
"parameters": [
{
- "id": 789,
+ "id": 840,
"name": "vizId",
"kind": 32768,
"kindString": "Parameter",
@@ -15099,7 +15380,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 1757,
+ "id": 1870,
"name": "AnswerService"
}
],
@@ -15117,7 +15398,7 @@
}
},
{
- "id": 761,
+ "id": 811,
"name": "getIframeSrc",
"kind": 2048,
"kindString": "Method",
@@ -15127,13 +15408,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1270,
+ "line": 1379,
"character": 11
}
],
"signatures": [
{
- "id": 762,
+ "id": 812,
"name": "getIframeSrc",
"kind": 4096,
"kindString": "Call signature",
@@ -15154,7 +15435,7 @@
}
},
{
- "id": 641,
+ "id": 682,
"name": "getLiveboardUrl",
"kind": 2048,
"kindString": "Method",
@@ -15164,13 +15445,13 @@
"sources": [
{
"fileName": "embed/liveboard.ts",
- "line": 786,
+ "line": 827,
"character": 11
}
],
"signatures": [
{
- "id": 642,
+ "id": 683,
"name": "getLiveboardUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -15187,7 +15468,7 @@
]
},
{
- "id": 782,
+ "id": 833,
"name": "getPreRenderIds",
"kind": 2048,
"kindString": "Method",
@@ -15197,13 +15478,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1498,
+ "line": 1631,
"character": 11
}
],
"signatures": [
{
- "id": 783,
+ "id": 834,
"name": "getPreRenderIds",
"kind": 4096,
"kindString": "Call signature",
@@ -15225,14 +15506,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 784,
+ "id": 835,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 786,
+ "id": 837,
"name": "child",
"kind": 1024,
"kindString": "Property",
@@ -15244,7 +15525,7 @@
"defaultValue": "..."
},
{
- "id": 785,
+ "id": 836,
"name": "wrapper",
"kind": 1024,
"kindString": "Property",
@@ -15261,8 +15542,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 786,
- 785
+ 837,
+ 836
]
}
]
@@ -15280,7 +15561,7 @@
}
},
{
- "id": 766,
+ "id": 817,
"name": "getThoughtSpotPostUrlParams",
"kind": 2048,
"kindString": "Method",
@@ -15290,13 +15571,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1298,
+ "line": 1414,
"character": 11
}
],
"signatures": [
{
- "id": 767,
+ "id": 818,
"name": "getThoughtSpotPostUrlParams",
"kind": 4096,
"kindString": "Call signature",
@@ -15312,7 +15593,7 @@
},
"parameters": [
{
- "id": 768,
+ "id": 819,
"name": "additionalParams",
"kind": 32768,
"kindString": "Parameter",
@@ -15320,20 +15601,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 769,
+ "id": 820,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 770,
+ "id": 821,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 771,
+ "id": 822,
"name": "key",
"kind": 32768,
"flags": {},
@@ -15378,7 +15659,7 @@
}
},
{
- "id": 772,
+ "id": 823,
"name": "getUnderlyingFrameElement",
"kind": 2048,
"kindString": "Method",
@@ -15388,13 +15669,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1338,
+ "line": 1467,
"character": 11
}
],
"signatures": [
{
- "id": 773,
+ "id": 824,
"name": "getUnderlyingFrameElement",
"kind": 4096,
"kindString": "Call signature",
@@ -15415,7 +15696,7 @@
}
},
{
- "id": 780,
+ "id": 831,
"name": "hidePreRender",
"kind": 2048,
"kindString": "Method",
@@ -15425,13 +15706,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1470,
+ "line": 1603,
"character": 11
}
],
"signatures": [
{
- "id": 781,
+ "id": 832,
"name": "hidePreRender",
"kind": 4096,
"kindString": "Call signature",
@@ -15455,7 +15736,7 @@
}
},
{
- "id": 636,
+ "id": 677,
"name": "navigateToLiveboard",
"kind": 2048,
"kindString": "Method",
@@ -15465,20 +15746,20 @@
"sources": [
{
"fileName": "embed/liveboard.ts",
- "line": 767,
+ "line": 808,
"character": 11
}
],
"signatures": [
{
- "id": 637,
+ "id": 678,
"name": "navigateToLiveboard",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 638,
+ "id": 679,
"name": "liveboardId",
"kind": 32768,
"kindString": "Parameter",
@@ -15489,7 +15770,7 @@
}
},
{
- "id": 639,
+ "id": 680,
"name": "vizId",
"kind": 32768,
"kindString": "Parameter",
@@ -15502,7 +15783,7 @@
}
},
{
- "id": 640,
+ "id": 681,
"name": "activeTabId",
"kind": 32768,
"kindString": "Parameter",
@@ -15523,7 +15804,7 @@
]
},
{
- "id": 738,
+ "id": 788,
"name": "off",
"kind": 2048,
"kindString": "Method",
@@ -15533,13 +15814,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1110,
+ "line": 1209,
"character": 11
}
],
"signatures": [
{
- "id": 739,
+ "id": 789,
"name": "off",
"kind": 4096,
"kindString": "Call signature",
@@ -15555,7 +15836,7 @@
},
"parameters": [
{
- "id": 740,
+ "id": 790,
"name": "messageType",
"kind": 32768,
"kindString": "Parameter",
@@ -15565,12 +15846,12 @@
},
"type": {
"type": "reference",
- "id": 1881,
+ "id": 1994,
"name": "EmbedEvent"
}
},
{
- "id": 741,
+ "id": 791,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -15580,7 +15861,7 @@
},
"type": {
"type": "reference",
- "id": 2566,
+ "id": 2708,
"name": "MessageCallback"
}
}
@@ -15601,7 +15882,7 @@
}
},
{
- "id": 648,
+ "id": 689,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -15611,13 +15892,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1620,
+ "line": 1753,
"character": 11
}
],
"signatures": [
{
- "id": 649,
+ "id": 690,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
@@ -15640,38 +15921,38 @@
},
"parameters": [
{
- "id": 650,
+ "id": 691,
"name": "messageType",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1881,
+ "id": 1994,
"name": "EmbedEvent"
}
},
{
- "id": 651,
+ "id": 692,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 2566,
+ "id": 2708,
"name": "MessageCallback"
}
},
{
- "id": 652,
+ "id": 693,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 2563,
+ "id": 2705,
"name": "MessageOptions"
},
"defaultValue": "..."
@@ -15693,7 +15974,7 @@
}
},
{
- "id": 763,
+ "id": 813,
"name": "preRender",
"kind": 2048,
"kindString": "Method",
@@ -15703,13 +15984,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1282,
+ "line": 1392,
"character": 17
}
],
"signatures": [
{
- "id": 764,
+ "id": 814,
"name": "preRender",
"kind": 4096,
"kindString": "Call signature",
@@ -15719,7 +16000,7 @@
},
"parameters": [
{
- "id": 765,
+ "id": 815,
"name": "showPreRenderByDefault",
"kind": 32768,
"kindString": "Parameter",
@@ -15732,6 +16013,18 @@
"name": "boolean"
},
"defaultValue": "false"
+ },
+ {
+ "id": 816,
+ "name": "replaceExistingPreRender",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
}
],
"type": {
@@ -15756,7 +16049,7 @@
}
},
{
- "id": 774,
+ "id": 825,
"name": "prerenderGeneric",
"kind": 2048,
"kindString": "Method",
@@ -15766,13 +16059,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1349,
+ "line": 1478,
"character": 17
}
],
"signatures": [
{
- "id": 775,
+ "id": 826,
"name": "prerenderGeneric",
"kind": 4096,
"kindString": "Call signature",
@@ -15809,7 +16102,7 @@
}
},
{
- "id": 634,
+ "id": 675,
"name": "render",
"kind": 2048,
"kindString": "Method",
@@ -15819,13 +16112,13 @@
"sources": [
{
"fileName": "embed/liveboard.ts",
- "line": 756,
+ "line": 797,
"character": 17
}
],
"signatures": [
{
- "id": 635,
+ "id": 676,
"name": "render",
"kind": 4096,
"kindString": "Call signature",
@@ -15838,7 +16131,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 572,
+ "id": 611,
"name": "LiveboardEmbed"
}
],
@@ -15856,7 +16149,7 @@
}
},
{
- "id": 776,
+ "id": 827,
"name": "showPreRender",
"kind": 2048,
"kindString": "Method",
@@ -15866,13 +16159,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1397,
+ "line": 1526,
"character": 17
}
],
"signatures": [
{
- "id": 777,
+ "id": 828,
"name": "showPreRender",
"kind": 4096,
"kindString": "Call signature",
@@ -15902,7 +16195,7 @@
}
},
{
- "id": 778,
+ "id": 829,
"name": "syncPreRenderStyle",
"kind": 2048,
"kindString": "Method",
@@ -15912,13 +16205,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1451,
+ "line": 1584,
"character": 11
}
],
"signatures": [
{
- "id": 779,
+ "id": 830,
"name": "syncPreRenderStyle",
"kind": 4096,
"kindString": "Call signature",
@@ -15948,7 +16241,7 @@
}
},
{
- "id": 620,
+ "id": 661,
"name": "trigger",
"kind": 2048,
"kindString": "Method",
@@ -15958,13 +16251,13 @@
"sources": [
{
"fileName": "embed/liveboard.ts",
- "line": 709,
+ "line": 750,
"character": 11
}
],
"signatures": [
{
- "id": 621,
+ "id": 662,
"name": "trigger",
"kind": 4096,
"kindString": "Call signature",
@@ -15975,19 +16268,19 @@
},
"typeParameter": [
{
- "id": 622,
+ "id": 663,
"name": "HostEventT",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1974,
+ "id": 2089,
"name": "HostEvent"
}
},
{
- "id": 623,
+ "id": 664,
"name": "PayloadT",
"kind": 131072,
"kindString": "Type parameter",
@@ -15996,7 +16289,7 @@
],
"parameters": [
{
- "id": 624,
+ "id": 665,
"name": "messageType",
"kind": 32768,
"kindString": "Parameter",
@@ -16010,7 +16303,7 @@
}
},
{
- "id": 625,
+ "id": 666,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -16067,7 +16360,7 @@
}
},
{
- "id": 756,
+ "id": 806,
"name": "triggerUIPassThrough",
"kind": 2048,
"kindString": "Method",
@@ -16077,13 +16370,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1246,
+ "line": 1355,
"character": 17
}
],
"signatures": [
{
- "id": 757,
+ "id": 807,
"name": "triggerUIPassThrough",
"kind": 4096,
"kindString": "Call signature",
@@ -16094,21 +16387,21 @@
},
"typeParameter": [
{
- "id": 758,
+ "id": 808,
"name": "UIPassthroughEventT",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 2834,
+ "id": 2965,
"name": "UIPassthroughEvent"
}
}
],
"parameters": [
{
- "id": 759,
+ "id": 809,
"name": "apiName",
"kind": 32768,
"kindString": "Parameter",
@@ -16122,7 +16415,7 @@
}
},
{
- "id": 760,
+ "id": 810,
"name": "parameters",
"kind": 32768,
"kindString": "Parameter",
@@ -16175,38 +16468,38 @@
"title": "Constructors",
"kind": 512,
"children": [
- 573
+ 612
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 626,
- 787,
- 761,
- 641,
- 782,
- 766,
- 772,
- 780,
- 636,
- 738,
- 648,
- 763,
- 774,
- 634,
- 776,
- 778,
- 620,
- 756
+ 667,
+ 838,
+ 811,
+ 682,
+ 833,
+ 817,
+ 823,
+ 831,
+ 677,
+ 788,
+ 689,
+ 813,
+ 825,
+ 675,
+ 827,
+ 829,
+ 661,
+ 806
]
}
],
"sources": [
{
"fileName": "embed/liveboard.ts",
- "line": 400,
+ "line": 416,
"character": 13
}
],
@@ -16218,7 +16511,7 @@
]
},
{
- "id": 790,
+ "id": 841,
"name": "SageEmbed",
"kind": 128,
"kindString": "Class",
@@ -16238,7 +16531,7 @@
},
"children": [
{
- "id": 791,
+ "id": 842,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -16252,40 +16545,40 @@
],
"signatures": [
{
- "id": 792,
+ "id": 843,
"name": "new SageEmbed",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 793,
+ "id": 844,
"name": "domSelector",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 2562,
+ "id": 2704,
"name": "DOMSelector"
}
},
{
- "id": 794,
+ "id": 845,
"name": "viewConfig",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 2406,
+ "id": 2539,
"name": "SageViewConfig"
}
}
],
"type": {
"type": "reference",
- "id": 790,
+ "id": 841,
"name": "SageEmbed"
},
"overwrites": {
@@ -16300,7 +16593,7 @@
}
},
{
- "id": 939,
+ "id": 1002,
"name": "destroy",
"kind": 2048,
"kindString": "Method",
@@ -16310,13 +16603,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1328,
+ "line": 1444,
"character": 11
}
],
"signatures": [
{
- "id": 940,
+ "id": 1003,
"name": "destroy",
"kind": 4096,
"kindString": "Call signature",
@@ -16346,7 +16639,7 @@
}
},
{
- "id": 958,
+ "id": 1021,
"name": "getAnswerService",
"kind": 2048,
"kindString": "Method",
@@ -16356,13 +16649,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1511,
+ "line": 1644,
"character": 17
}
],
"signatures": [
{
- "id": 959,
+ "id": 1022,
"name": "getAnswerService",
"kind": 4096,
"kindString": "Call signature",
@@ -16378,7 +16671,7 @@
},
"parameters": [
{
- "id": 960,
+ "id": 1023,
"name": "vizId",
"kind": 32768,
"kindString": "Parameter",
@@ -16399,7 +16692,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 1757,
+ "id": 1870,
"name": "AnswerService"
}
],
@@ -16417,7 +16710,7 @@
}
},
{
- "id": 798,
+ "id": 851,
"name": "getIFrameSrc",
"kind": 2048,
"kindString": "Method",
@@ -16427,13 +16720,13 @@
"sources": [
{
"fileName": "embed/sage.ts",
- "line": 195,
+ "line": 200,
"character": 11
}
],
"signatures": [
{
- "id": 799,
+ "id": 852,
"name": "getIFrameSrc",
"kind": 4096,
"kindString": "Call signature",
@@ -16450,7 +16743,7 @@
]
},
{
- "id": 926,
+ "id": 988,
"name": "getIframeSrc",
"kind": 2048,
"kindString": "Method",
@@ -16460,13 +16753,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1270,
+ "line": 1379,
"character": 11
}
],
"signatures": [
{
- "id": 927,
+ "id": 989,
"name": "getIframeSrc",
"kind": 4096,
"kindString": "Call signature",
@@ -16487,7 +16780,7 @@
}
},
{
- "id": 953,
+ "id": 1016,
"name": "getPreRenderIds",
"kind": 2048,
"kindString": "Method",
@@ -16497,13 +16790,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1498,
+ "line": 1631,
"character": 11
}
],
"signatures": [
{
- "id": 954,
+ "id": 1017,
"name": "getPreRenderIds",
"kind": 4096,
"kindString": "Call signature",
@@ -16525,14 +16818,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 955,
+ "id": 1018,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 957,
+ "id": 1020,
"name": "child",
"kind": 1024,
"kindString": "Property",
@@ -16544,7 +16837,7 @@
"defaultValue": "..."
},
{
- "id": 956,
+ "id": 1019,
"name": "wrapper",
"kind": 1024,
"kindString": "Property",
@@ -16561,8 +16854,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 957,
- 956
+ 1020,
+ 1019
]
}
]
@@ -16580,7 +16873,7 @@
}
},
{
- "id": 933,
+ "id": 996,
"name": "getThoughtSpotPostUrlParams",
"kind": 2048,
"kindString": "Method",
@@ -16590,13 +16883,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1298,
+ "line": 1414,
"character": 11
}
],
"signatures": [
{
- "id": 934,
+ "id": 997,
"name": "getThoughtSpotPostUrlParams",
"kind": 4096,
"kindString": "Call signature",
@@ -16612,7 +16905,7 @@
},
"parameters": [
{
- "id": 935,
+ "id": 998,
"name": "additionalParams",
"kind": 32768,
"kindString": "Parameter",
@@ -16620,20 +16913,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 936,
+ "id": 999,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 937,
+ "id": 1000,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 938,
+ "id": 1001,
"name": "key",
"kind": 32768,
"flags": {},
@@ -16678,7 +16971,7 @@
}
},
{
- "id": 941,
+ "id": 1004,
"name": "getUnderlyingFrameElement",
"kind": 2048,
"kindString": "Method",
@@ -16688,13 +16981,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1338,
+ "line": 1467,
"character": 11
}
],
"signatures": [
{
- "id": 942,
+ "id": 1005,
"name": "getUnderlyingFrameElement",
"kind": 4096,
"kindString": "Call signature",
@@ -16715,7 +17008,7 @@
}
},
{
- "id": 951,
+ "id": 1014,
"name": "hidePreRender",
"kind": 2048,
"kindString": "Method",
@@ -16725,13 +17018,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1470,
+ "line": 1603,
"character": 11
}
],
"signatures": [
{
- "id": 952,
+ "id": 1015,
"name": "hidePreRender",
"kind": 4096,
"kindString": "Call signature",
@@ -16755,7 +17048,7 @@
}
},
{
- "id": 897,
+ "id": 959,
"name": "off",
"kind": 2048,
"kindString": "Method",
@@ -16765,13 +17058,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1110,
+ "line": 1209,
"character": 11
}
],
"signatures": [
{
- "id": 898,
+ "id": 960,
"name": "off",
"kind": 4096,
"kindString": "Call signature",
@@ -16787,7 +17080,7 @@
},
"parameters": [
{
- "id": 899,
+ "id": 961,
"name": "messageType",
"kind": 32768,
"kindString": "Parameter",
@@ -16797,12 +17090,12 @@
},
"type": {
"type": "reference",
- "id": 1881,
+ "id": 1994,
"name": "EmbedEvent"
}
},
{
- "id": 900,
+ "id": 962,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -16812,7 +17105,7 @@
},
"type": {
"type": "reference",
- "id": 2566,
+ "id": 2708,
"name": "MessageCallback"
}
}
@@ -16833,7 +17126,7 @@
}
},
{
- "id": 807,
+ "id": 860,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -16843,13 +17136,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1620,
+ "line": 1753,
"character": 11
}
],
"signatures": [
{
- "id": 808,
+ "id": 861,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
@@ -16872,38 +17165,38 @@
},
"parameters": [
{
- "id": 809,
+ "id": 862,
"name": "messageType",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1881,
+ "id": 1994,
"name": "EmbedEvent"
}
},
{
- "id": 810,
+ "id": 863,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 2566,
+ "id": 2708,
"name": "MessageCallback"
}
},
{
- "id": 811,
+ "id": 864,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 2563,
+ "id": 2705,
"name": "MessageOptions"
},
"defaultValue": "..."
@@ -16925,7 +17218,7 @@
}
},
{
- "id": 930,
+ "id": 992,
"name": "preRender",
"kind": 2048,
"kindString": "Method",
@@ -16935,13 +17228,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1282,
+ "line": 1392,
"character": 17
}
],
"signatures": [
{
- "id": 931,
+ "id": 993,
"name": "preRender",
"kind": 4096,
"kindString": "Call signature",
@@ -16951,7 +17244,7 @@
},
"parameters": [
{
- "id": 932,
+ "id": 994,
"name": "showPreRenderByDefault",
"kind": 32768,
"kindString": "Parameter",
@@ -16964,6 +17257,18 @@
"name": "boolean"
},
"defaultValue": "false"
+ },
+ {
+ "id": 995,
+ "name": "replaceExistingPreRender",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
}
],
"type": {
@@ -16988,7 +17293,7 @@
}
},
{
- "id": 943,
+ "id": 1006,
"name": "prerenderGeneric",
"kind": 2048,
"kindString": "Method",
@@ -16998,13 +17303,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1349,
+ "line": 1478,
"character": 17
}
],
"signatures": [
{
- "id": 944,
+ "id": 1007,
"name": "prerenderGeneric",
"kind": 4096,
"kindString": "Call signature",
@@ -17041,7 +17346,7 @@
}
},
{
- "id": 800,
+ "id": 853,
"name": "render",
"kind": 2048,
"kindString": "Method",
@@ -17051,13 +17356,13 @@
"sources": [
{
"fileName": "embed/sage.ts",
- "line": 220,
+ "line": 225,
"character": 17
}
],
"signatures": [
{
- "id": 801,
+ "id": 854,
"name": "render",
"kind": 4096,
"kindString": "Call signature",
@@ -17071,7 +17376,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 790,
+ "id": 841,
"name": "SageEmbed"
}
],
@@ -17089,7 +17394,7 @@
}
},
{
- "id": 947,
+ "id": 1010,
"name": "showPreRender",
"kind": 2048,
"kindString": "Method",
@@ -17099,13 +17404,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1397,
+ "line": 1526,
"character": 17
}
],
"signatures": [
{
- "id": 948,
+ "id": 1011,
"name": "showPreRender",
"kind": 4096,
"kindString": "Call signature",
@@ -17135,7 +17440,7 @@
}
},
{
- "id": 949,
+ "id": 1012,
"name": "syncPreRenderStyle",
"kind": 2048,
"kindString": "Method",
@@ -17145,13 +17450,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1451,
+ "line": 1584,
"character": 11
}
],
"signatures": [
{
- "id": 950,
+ "id": 1013,
"name": "syncPreRenderStyle",
"kind": 4096,
"kindString": "Call signature",
@@ -17181,7 +17486,7 @@
}
},
{
- "id": 915,
+ "id": 977,
"name": "trigger",
"kind": 2048,
"kindString": "Method",
@@ -17191,13 +17496,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1220,
+ "line": 1319,
"character": 17
}
],
"signatures": [
{
- "id": 916,
+ "id": 978,
"name": "trigger",
"kind": 4096,
"kindString": "Call signature",
@@ -17208,19 +17513,19 @@
},
"typeParameter": [
{
- "id": 917,
+ "id": 979,
"name": "HostEventT",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1974,
+ "id": 2089,
"name": "HostEvent"
}
},
{
- "id": 918,
+ "id": 980,
"name": "PayloadT",
"kind": 131072,
"kindString": "Type parameter",
@@ -17229,7 +17534,7 @@
],
"parameters": [
{
- "id": 919,
+ "id": 981,
"name": "messageType",
"kind": 32768,
"kindString": "Parameter",
@@ -17243,7 +17548,7 @@
}
},
{
- "id": 920,
+ "id": 982,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -17300,7 +17605,7 @@
}
},
{
- "id": 921,
+ "id": 983,
"name": "triggerUIPassThrough",
"kind": 2048,
"kindString": "Method",
@@ -17310,13 +17615,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1246,
+ "line": 1355,
"character": 17
}
],
"signatures": [
{
- "id": 922,
+ "id": 984,
"name": "triggerUIPassThrough",
"kind": 4096,
"kindString": "Call signature",
@@ -17327,21 +17632,21 @@
},
"typeParameter": [
{
- "id": 923,
+ "id": 985,
"name": "UIPassthroughEventT",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 2834,
+ "id": 2965,
"name": "UIPassthroughEvent"
}
}
],
"parameters": [
{
- "id": 924,
+ "id": 986,
"name": "apiName",
"kind": 32768,
"kindString": "Parameter",
@@ -17355,7 +17660,7 @@
}
},
{
- "id": 925,
+ "id": 987,
"name": "parameters",
"kind": 32768,
"kindString": "Parameter",
@@ -17408,30 +17713,30 @@
"title": "Constructors",
"kind": 512,
"children": [
- 791
+ 842
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 939,
- 958,
- 798,
- 926,
- 953,
- 933,
- 941,
- 951,
- 897,
- 807,
- 930,
- 943,
- 800,
- 947,
- 949,
- 915,
- 921
+ 1002,
+ 1021,
+ 851,
+ 988,
+ 1016,
+ 996,
+ 1004,
+ 1014,
+ 959,
+ 860,
+ 992,
+ 1006,
+ 853,
+ 1010,
+ 1012,
+ 977,
+ 983
]
}
],
@@ -17450,7 +17755,7 @@
]
},
{
- "id": 223,
+ "id": 238,
"name": "SearchBarEmbed",
"kind": 128,
"kindString": "Class",
@@ -17470,7 +17775,7 @@
},
"children": [
{
- "id": 224,
+ "id": 239,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -17484,14 +17789,14 @@
],
"signatures": [
{
- "id": 225,
+ "id": 240,
"name": "new SearchBarEmbed",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 226,
+ "id": 241,
"name": "domSelector",
"kind": 32768,
"kindString": "Parameter",
@@ -17502,21 +17807,21 @@
}
},
{
- "id": 227,
+ "id": 242,
"name": "viewConfig",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 2293,
+ "id": 2416,
"name": "SearchBarViewConfig"
}
}
],
"type": {
"type": "reference",
- "id": 223,
+ "id": 238,
"name": "SearchBarEmbed"
},
"overwrites": {
@@ -17531,7 +17836,7 @@
}
},
{
- "id": 369,
+ "id": 396,
"name": "destroy",
"kind": 2048,
"kindString": "Method",
@@ -17541,13 +17846,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1328,
+ "line": 1444,
"character": 11
}
],
"signatures": [
{
- "id": 370,
+ "id": 397,
"name": "destroy",
"kind": 4096,
"kindString": "Call signature",
@@ -17577,7 +17882,7 @@
}
},
{
- "id": 388,
+ "id": 415,
"name": "getAnswerService",
"kind": 2048,
"kindString": "Method",
@@ -17587,13 +17892,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1511,
+ "line": 1644,
"character": 17
}
],
"signatures": [
{
- "id": 389,
+ "id": 416,
"name": "getAnswerService",
"kind": 4096,
"kindString": "Call signature",
@@ -17609,7 +17914,7 @@
},
"parameters": [
{
- "id": 390,
+ "id": 417,
"name": "vizId",
"kind": 32768,
"kindString": "Parameter",
@@ -17630,7 +17935,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 1757,
+ "id": 1870,
"name": "AnswerService"
}
],
@@ -17648,7 +17953,7 @@
}
},
{
- "id": 356,
+ "id": 382,
"name": "getIframeSrc",
"kind": 2048,
"kindString": "Method",
@@ -17658,13 +17963,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1270,
+ "line": 1379,
"character": 11
}
],
"signatures": [
{
- "id": 357,
+ "id": 383,
"name": "getIframeSrc",
"kind": 4096,
"kindString": "Call signature",
@@ -17685,7 +17990,7 @@
}
},
{
- "id": 383,
+ "id": 410,
"name": "getPreRenderIds",
"kind": 2048,
"kindString": "Method",
@@ -17695,13 +18000,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1498,
+ "line": 1631,
"character": 11
}
],
"signatures": [
{
- "id": 384,
+ "id": 411,
"name": "getPreRenderIds",
"kind": 4096,
"kindString": "Call signature",
@@ -17723,14 +18028,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 385,
+ "id": 412,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 387,
+ "id": 414,
"name": "child",
"kind": 1024,
"kindString": "Property",
@@ -17742,7 +18047,7 @@
"defaultValue": "..."
},
{
- "id": 386,
+ "id": 413,
"name": "wrapper",
"kind": 1024,
"kindString": "Property",
@@ -17759,8 +18064,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 387,
- 386
+ 414,
+ 413
]
}
]
@@ -17778,7 +18083,7 @@
}
},
{
- "id": 363,
+ "id": 390,
"name": "getThoughtSpotPostUrlParams",
"kind": 2048,
"kindString": "Method",
@@ -17788,13 +18093,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1298,
+ "line": 1414,
"character": 11
}
],
"signatures": [
{
- "id": 364,
+ "id": 391,
"name": "getThoughtSpotPostUrlParams",
"kind": 4096,
"kindString": "Call signature",
@@ -17810,7 +18115,7 @@
},
"parameters": [
{
- "id": 365,
+ "id": 392,
"name": "additionalParams",
"kind": 32768,
"kindString": "Parameter",
@@ -17818,20 +18123,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 366,
+ "id": 393,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 367,
+ "id": 394,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 368,
+ "id": 395,
"name": "key",
"kind": 32768,
"flags": {},
@@ -17876,7 +18181,7 @@
}
},
{
- "id": 371,
+ "id": 398,
"name": "getUnderlyingFrameElement",
"kind": 2048,
"kindString": "Method",
@@ -17886,13 +18191,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1338,
+ "line": 1467,
"character": 11
}
],
"signatures": [
{
- "id": 372,
+ "id": 399,
"name": "getUnderlyingFrameElement",
"kind": 4096,
"kindString": "Call signature",
@@ -17913,7 +18218,7 @@
}
},
{
- "id": 381,
+ "id": 408,
"name": "hidePreRender",
"kind": 2048,
"kindString": "Method",
@@ -17923,13 +18228,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1470,
+ "line": 1603,
"character": 11
}
],
"signatures": [
{
- "id": 382,
+ "id": 409,
"name": "hidePreRender",
"kind": 4096,
"kindString": "Call signature",
@@ -17953,7 +18258,7 @@
}
},
{
- "id": 327,
+ "id": 353,
"name": "off",
"kind": 2048,
"kindString": "Method",
@@ -17963,13 +18268,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1110,
+ "line": 1209,
"character": 11
}
],
"signatures": [
{
- "id": 328,
+ "id": 354,
"name": "off",
"kind": 4096,
"kindString": "Call signature",
@@ -17985,7 +18290,7 @@
},
"parameters": [
{
- "id": 329,
+ "id": 355,
"name": "messageType",
"kind": 32768,
"kindString": "Parameter",
@@ -17995,12 +18300,12 @@
},
"type": {
"type": "reference",
- "id": 1881,
+ "id": 1994,
"name": "EmbedEvent"
}
},
{
- "id": 330,
+ "id": 356,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -18010,7 +18315,7 @@
},
"type": {
"type": "reference",
- "id": 2566,
+ "id": 2708,
"name": "MessageCallback"
}
}
@@ -18031,7 +18336,7 @@
}
},
{
- "id": 321,
+ "id": 347,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -18041,13 +18346,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1081,
+ "line": 1180,
"character": 11
}
],
"signatures": [
{
- "id": 322,
+ "id": 348,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
@@ -18067,7 +18372,7 @@
},
"parameters": [
{
- "id": 323,
+ "id": 349,
"name": "messageType",
"kind": 32768,
"kindString": "Parameter",
@@ -18077,12 +18382,12 @@
},
"type": {
"type": "reference",
- "id": 1881,
+ "id": 1994,
"name": "EmbedEvent"
}
},
{
- "id": 324,
+ "id": 350,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -18092,12 +18397,12 @@
},
"type": {
"type": "reference",
- "id": 2566,
+ "id": 2708,
"name": "MessageCallback"
}
},
{
- "id": 325,
+ "id": 351,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -18107,13 +18412,13 @@
},
"type": {
"type": "reference",
- "id": 2563,
+ "id": 2705,
"name": "MessageOptions"
},
"defaultValue": "..."
},
{
- "id": 326,
+ "id": 352,
"name": "isRegisteredBySDK",
"kind": 32768,
"kindString": "Parameter",
@@ -18142,7 +18447,7 @@
}
},
{
- "id": 360,
+ "id": 386,
"name": "preRender",
"kind": 2048,
"kindString": "Method",
@@ -18152,13 +18457,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1282,
+ "line": 1392,
"character": 17
}
],
"signatures": [
{
- "id": 361,
+ "id": 387,
"name": "preRender",
"kind": 4096,
"kindString": "Call signature",
@@ -18168,7 +18473,7 @@
},
"parameters": [
{
- "id": 362,
+ "id": 388,
"name": "showPreRenderByDefault",
"kind": 32768,
"kindString": "Parameter",
@@ -18181,6 +18486,18 @@
"name": "boolean"
},
"defaultValue": "false"
+ },
+ {
+ "id": 389,
+ "name": "replaceExistingPreRender",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
}
],
"type": {
@@ -18205,7 +18522,7 @@
}
},
{
- "id": 373,
+ "id": 400,
"name": "prerenderGeneric",
"kind": 2048,
"kindString": "Method",
@@ -18215,13 +18532,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1349,
+ "line": 1478,
"character": 17
}
],
"signatures": [
{
- "id": 374,
+ "id": 401,
"name": "prerenderGeneric",
"kind": 4096,
"kindString": "Call signature",
@@ -18258,7 +18575,7 @@
}
},
{
- "id": 232,
+ "id": 249,
"name": "render",
"kind": 2048,
"kindString": "Method",
@@ -18268,13 +18585,13 @@
"sources": [
{
"fileName": "embed/search-bar.tsx",
- "line": 175,
+ "line": 182,
"character": 17
}
],
"signatures": [
{
- "id": 233,
+ "id": 250,
"name": "render",
"kind": 4096,
"kindString": "Call signature",
@@ -18287,7 +18604,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 223,
+ "id": 238,
"name": "SearchBarEmbed"
}
],
@@ -18305,7 +18622,7 @@
}
},
{
- "id": 377,
+ "id": 404,
"name": "showPreRender",
"kind": 2048,
"kindString": "Method",
@@ -18315,13 +18632,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1397,
+ "line": 1526,
"character": 17
}
],
"signatures": [
{
- "id": 378,
+ "id": 405,
"name": "showPreRender",
"kind": 4096,
"kindString": "Call signature",
@@ -18351,7 +18668,7 @@
}
},
{
- "id": 379,
+ "id": 406,
"name": "syncPreRenderStyle",
"kind": 2048,
"kindString": "Method",
@@ -18361,13 +18678,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1451,
+ "line": 1584,
"character": 11
}
],
"signatures": [
{
- "id": 380,
+ "id": 407,
"name": "syncPreRenderStyle",
"kind": 4096,
"kindString": "Call signature",
@@ -18397,7 +18714,7 @@
}
},
{
- "id": 345,
+ "id": 371,
"name": "trigger",
"kind": 2048,
"kindString": "Method",
@@ -18407,13 +18724,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1220,
+ "line": 1319,
"character": 17
}
],
"signatures": [
{
- "id": 346,
+ "id": 372,
"name": "trigger",
"kind": 4096,
"kindString": "Call signature",
@@ -18424,19 +18741,19 @@
},
"typeParameter": [
{
- "id": 347,
+ "id": 373,
"name": "HostEventT",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1974,
+ "id": 2089,
"name": "HostEvent"
}
},
{
- "id": 348,
+ "id": 374,
"name": "PayloadT",
"kind": 131072,
"kindString": "Type parameter",
@@ -18445,7 +18762,7 @@
],
"parameters": [
{
- "id": 349,
+ "id": 375,
"name": "messageType",
"kind": 32768,
"kindString": "Parameter",
@@ -18459,7 +18776,7 @@
}
},
{
- "id": 350,
+ "id": 376,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -18516,7 +18833,7 @@
}
},
{
- "id": 351,
+ "id": 377,
"name": "triggerUIPassThrough",
"kind": 2048,
"kindString": "Method",
@@ -18526,13 +18843,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1246,
+ "line": 1355,
"character": 17
}
],
"signatures": [
{
- "id": 352,
+ "id": 378,
"name": "triggerUIPassThrough",
"kind": 4096,
"kindString": "Call signature",
@@ -18543,21 +18860,21 @@
},
"typeParameter": [
{
- "id": 353,
+ "id": 379,
"name": "UIPassthroughEventT",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 2834,
+ "id": 2965,
"name": "UIPassthroughEvent"
}
}
],
"parameters": [
{
- "id": 354,
+ "id": 380,
"name": "apiName",
"kind": 32768,
"kindString": "Parameter",
@@ -18571,7 +18888,7 @@
}
},
{
- "id": 355,
+ "id": 381,
"name": "parameters",
"kind": 32768,
"kindString": "Parameter",
@@ -18624,29 +18941,29 @@
"title": "Constructors",
"kind": 512,
"children": [
- 224
+ 239
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 369,
- 388,
- 356,
- 383,
- 363,
+ 396,
+ 415,
+ 382,
+ 410,
+ 390,
+ 398,
+ 408,
+ 353,
+ 347,
+ 386,
+ 400,
+ 249,
+ 404,
+ 406,
371,
- 381,
- 327,
- 321,
- 360,
- 373,
- 232,
- 377,
- 379,
- 345,
- 351
+ 377
]
}
],
@@ -18665,7 +18982,7 @@
]
},
{
- "id": 52,
+ "id": 55,
"name": "SearchEmbed",
"kind": 128,
"kindString": "Class",
@@ -18681,7 +18998,7 @@
},
"children": [
{
- "id": 53,
+ "id": 56,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -18689,46 +19006,46 @@
"sources": [
{
"fileName": "embed/search.ts",
- "line": 347,
+ "line": 341,
"character": 4
}
],
"signatures": [
{
- "id": 54,
+ "id": 57,
"name": "new SearchEmbed",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 55,
+ "id": 58,
"name": "domSelector",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 2562,
+ "id": 2704,
"name": "DOMSelector"
}
},
{
- "id": 56,
+ "id": 59,
"name": "viewConfig",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 2239,
+ "id": 2360,
"name": "SearchViewConfig"
}
}
],
"type": {
"type": "reference",
- "id": 52,
+ "id": 55,
"name": "SearchEmbed"
},
"overwrites": {
@@ -18743,7 +19060,7 @@
}
},
{
- "id": 201,
+ "id": 216,
"name": "destroy",
"kind": 2048,
"kindString": "Method",
@@ -18753,13 +19070,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1328,
+ "line": 1444,
"character": 11
}
],
"signatures": [
{
- "id": 202,
+ "id": 217,
"name": "destroy",
"kind": 4096,
"kindString": "Call signature",
@@ -18789,7 +19106,7 @@
}
},
{
- "id": 220,
+ "id": 235,
"name": "getAnswerService",
"kind": 2048,
"kindString": "Method",
@@ -18799,13 +19116,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1511,
+ "line": 1644,
"character": 17
}
],
"signatures": [
{
- "id": 221,
+ "id": 236,
"name": "getAnswerService",
"kind": 4096,
"kindString": "Call signature",
@@ -18821,7 +19138,7 @@
},
"parameters": [
{
- "id": 222,
+ "id": 237,
"name": "vizId",
"kind": 32768,
"kindString": "Parameter",
@@ -18842,7 +19159,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 1757,
+ "id": 1870,
"name": "AnswerService"
}
],
@@ -18860,7 +19177,7 @@
}
},
{
- "id": 70,
+ "id": 75,
"name": "getIFrameSrc",
"kind": 2048,
"kindString": "Method",
@@ -18870,13 +19187,13 @@
"sources": [
{
"fileName": "embed/search.ts",
- "line": 499,
+ "line": 497,
"character": 11
}
],
"signatures": [
{
- "id": 71,
+ "id": 76,
"name": "getIFrameSrc",
"kind": 4096,
"kindString": "Call signature",
@@ -18892,7 +19209,7 @@
]
},
{
- "id": 188,
+ "id": 202,
"name": "getIframeSrc",
"kind": 2048,
"kindString": "Method",
@@ -18902,13 +19219,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1270,
+ "line": 1379,
"character": 11
}
],
"signatures": [
{
- "id": 189,
+ "id": 203,
"name": "getIframeSrc",
"kind": 4096,
"kindString": "Call signature",
@@ -18929,7 +19246,7 @@
}
},
{
- "id": 215,
+ "id": 230,
"name": "getPreRenderIds",
"kind": 2048,
"kindString": "Method",
@@ -18939,13 +19256,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1498,
+ "line": 1631,
"character": 11
}
],
"signatures": [
{
- "id": 216,
+ "id": 231,
"name": "getPreRenderIds",
"kind": 4096,
"kindString": "Call signature",
@@ -18967,14 +19284,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 217,
+ "id": 232,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 219,
+ "id": 234,
"name": "child",
"kind": 1024,
"kindString": "Property",
@@ -18986,7 +19303,7 @@
"defaultValue": "..."
},
{
- "id": 218,
+ "id": 233,
"name": "wrapper",
"kind": 1024,
"kindString": "Property",
@@ -19003,8 +19320,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 219,
- 218
+ 234,
+ 233
]
}
]
@@ -19022,7 +19339,7 @@
}
},
{
- "id": 195,
+ "id": 210,
"name": "getThoughtSpotPostUrlParams",
"kind": 2048,
"kindString": "Method",
@@ -19032,13 +19349,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1298,
+ "line": 1414,
"character": 11
}
],
"signatures": [
{
- "id": 196,
+ "id": 211,
"name": "getThoughtSpotPostUrlParams",
"kind": 4096,
"kindString": "Call signature",
@@ -19054,7 +19371,7 @@
},
"parameters": [
{
- "id": 197,
+ "id": 212,
"name": "additionalParams",
"kind": 32768,
"kindString": "Parameter",
@@ -19062,20 +19379,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 198,
+ "id": 213,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 199,
+ "id": 214,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 200,
+ "id": 215,
"name": "key",
"kind": 32768,
"flags": {},
@@ -19120,7 +19437,7 @@
}
},
{
- "id": 203,
+ "id": 218,
"name": "getUnderlyingFrameElement",
"kind": 2048,
"kindString": "Method",
@@ -19130,13 +19447,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1338,
+ "line": 1467,
"character": 11
}
],
"signatures": [
{
- "id": 204,
+ "id": 219,
"name": "getUnderlyingFrameElement",
"kind": 4096,
"kindString": "Call signature",
@@ -19157,7 +19474,7 @@
}
},
{
- "id": 213,
+ "id": 228,
"name": "hidePreRender",
"kind": 2048,
"kindString": "Method",
@@ -19167,13 +19484,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1470,
+ "line": 1603,
"character": 11
}
],
"signatures": [
{
- "id": 214,
+ "id": 229,
"name": "hidePreRender",
"kind": 4096,
"kindString": "Call signature",
@@ -19197,7 +19514,7 @@
}
},
{
- "id": 159,
+ "id": 173,
"name": "off",
"kind": 2048,
"kindString": "Method",
@@ -19207,13 +19524,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1110,
+ "line": 1209,
"character": 11
}
],
"signatures": [
{
- "id": 160,
+ "id": 174,
"name": "off",
"kind": 4096,
"kindString": "Call signature",
@@ -19229,7 +19546,7 @@
},
"parameters": [
{
- "id": 161,
+ "id": 175,
"name": "messageType",
"kind": 32768,
"kindString": "Parameter",
@@ -19239,12 +19556,12 @@
},
"type": {
"type": "reference",
- "id": 1881,
+ "id": 1994,
"name": "EmbedEvent"
}
},
{
- "id": 162,
+ "id": 176,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -19254,7 +19571,7 @@
},
"type": {
"type": "reference",
- "id": 2566,
+ "id": 2708,
"name": "MessageCallback"
}
}
@@ -19275,7 +19592,7 @@
}
},
{
- "id": 153,
+ "id": 167,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -19285,13 +19602,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1081,
+ "line": 1180,
"character": 11
}
],
"signatures": [
{
- "id": 154,
+ "id": 168,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
@@ -19311,7 +19628,7 @@
},
"parameters": [
{
- "id": 155,
+ "id": 169,
"name": "messageType",
"kind": 32768,
"kindString": "Parameter",
@@ -19321,12 +19638,12 @@
},
"type": {
"type": "reference",
- "id": 1881,
+ "id": 1994,
"name": "EmbedEvent"
}
},
{
- "id": 156,
+ "id": 170,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -19336,12 +19653,12 @@
},
"type": {
"type": "reference",
- "id": 2566,
+ "id": 2708,
"name": "MessageCallback"
}
},
{
- "id": 157,
+ "id": 171,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -19351,13 +19668,13 @@
},
"type": {
"type": "reference",
- "id": 2563,
+ "id": 2705,
"name": "MessageOptions"
},
"defaultValue": "..."
},
{
- "id": 158,
+ "id": 172,
"name": "isRegisteredBySDK",
"kind": 32768,
"kindString": "Parameter",
@@ -19386,7 +19703,7 @@
}
},
{
- "id": 192,
+ "id": 206,
"name": "preRender",
"kind": 2048,
"kindString": "Method",
@@ -19396,13 +19713,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1282,
+ "line": 1392,
"character": 17
}
],
"signatures": [
{
- "id": 193,
+ "id": 207,
"name": "preRender",
"kind": 4096,
"kindString": "Call signature",
@@ -19412,7 +19729,7 @@
},
"parameters": [
{
- "id": 194,
+ "id": 208,
"name": "showPreRenderByDefault",
"kind": 32768,
"kindString": "Parameter",
@@ -19425,6 +19742,18 @@
"name": "boolean"
},
"defaultValue": "false"
+ },
+ {
+ "id": 209,
+ "name": "replaceExistingPreRender",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
}
],
"type": {
@@ -19449,7 +19778,7 @@
}
},
{
- "id": 205,
+ "id": 220,
"name": "prerenderGeneric",
"kind": 2048,
"kindString": "Method",
@@ -19459,13 +19788,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1349,
+ "line": 1478,
"character": 17
}
],
"signatures": [
{
- "id": 206,
+ "id": 221,
"name": "prerenderGeneric",
"kind": 4096,
"kindString": "Call signature",
@@ -19502,7 +19831,7 @@
}
},
{
- "id": 72,
+ "id": 77,
"name": "render",
"kind": 2048,
"kindString": "Method",
@@ -19512,13 +19841,13 @@
"sources": [
{
"fileName": "embed/search.ts",
- "line": 510,
+ "line": 508,
"character": 17
}
],
"signatures": [
{
- "id": 73,
+ "id": 78,
"name": "render",
"kind": 4096,
"kindString": "Call signature",
@@ -19531,7 +19860,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 52,
+ "id": 55,
"name": "SearchEmbed"
}
],
@@ -19549,7 +19878,7 @@
}
},
{
- "id": 209,
+ "id": 224,
"name": "showPreRender",
"kind": 2048,
"kindString": "Method",
@@ -19559,13 +19888,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1397,
+ "line": 1526,
"character": 17
}
],
"signatures": [
{
- "id": 210,
+ "id": 225,
"name": "showPreRender",
"kind": 4096,
"kindString": "Call signature",
@@ -19595,7 +19924,7 @@
}
},
{
- "id": 211,
+ "id": 226,
"name": "syncPreRenderStyle",
"kind": 2048,
"kindString": "Method",
@@ -19605,13 +19934,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1451,
+ "line": 1584,
"character": 11
}
],
"signatures": [
{
- "id": 212,
+ "id": 227,
"name": "syncPreRenderStyle",
"kind": 4096,
"kindString": "Call signature",
@@ -19641,7 +19970,7 @@
}
},
{
- "id": 177,
+ "id": 191,
"name": "trigger",
"kind": 2048,
"kindString": "Method",
@@ -19651,13 +19980,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1220,
+ "line": 1319,
"character": 17
}
],
"signatures": [
{
- "id": 178,
+ "id": 192,
"name": "trigger",
"kind": 4096,
"kindString": "Call signature",
@@ -19668,19 +19997,19 @@
},
"typeParameter": [
{
- "id": 179,
+ "id": 193,
"name": "HostEventT",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1974,
+ "id": 2089,
"name": "HostEvent"
}
},
{
- "id": 180,
+ "id": 194,
"name": "PayloadT",
"kind": 131072,
"kindString": "Type parameter",
@@ -19689,7 +20018,7 @@
],
"parameters": [
{
- "id": 181,
+ "id": 195,
"name": "messageType",
"kind": 32768,
"kindString": "Parameter",
@@ -19703,7 +20032,7 @@
}
},
{
- "id": 182,
+ "id": 196,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -19760,7 +20089,7 @@
}
},
{
- "id": 183,
+ "id": 197,
"name": "triggerUIPassThrough",
"kind": 2048,
"kindString": "Method",
@@ -19770,13 +20099,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1246,
+ "line": 1355,
"character": 17
}
],
"signatures": [
{
- "id": 184,
+ "id": 198,
"name": "triggerUIPassThrough",
"kind": 4096,
"kindString": "Call signature",
@@ -19787,21 +20116,21 @@
},
"typeParameter": [
{
- "id": 185,
+ "id": 199,
"name": "UIPassthroughEventT",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 2834,
+ "id": 2965,
"name": "UIPassthroughEvent"
}
}
],
"parameters": [
{
- "id": 186,
+ "id": 200,
"name": "apiName",
"kind": 32768,
"kindString": "Parameter",
@@ -19815,7 +20144,7 @@
}
},
{
- "id": 187,
+ "id": 201,
"name": "parameters",
"kind": 32768,
"kindString": "Parameter",
@@ -19868,37 +20197,37 @@
"title": "Constructors",
"kind": 512,
"children": [
- 53
+ 56
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 201,
+ 216,
+ 235,
+ 75,
+ 202,
+ 230,
+ 210,
+ 218,
+ 228,
+ 173,
+ 167,
+ 206,
220,
- 70,
- 188,
- 215,
- 195,
- 203,
- 213,
- 159,
- 153,
- 192,
- 205,
- 72,
- 209,
- 211,
- 177,
- 183
+ 77,
+ 224,
+ 226,
+ 191,
+ 197
]
}
],
"sources": [
{
"fileName": "embed/search.ts",
- "line": 341,
+ "line": 335,
"character": 13
}
],
@@ -19910,7 +20239,7 @@
]
},
{
- "id": 1166,
+ "id": 1241,
"name": "SpotterAgentEmbed",
"kind": 128,
"kindString": "Class",
@@ -19934,7 +20263,7 @@
},
"children": [
{
- "id": 1167,
+ "id": 1242,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -19942,41 +20271,41 @@
"sources": [
{
"fileName": "embed/bodyless-conversation.ts",
- "line": 104,
+ "line": 109,
"character": 4
}
],
"signatures": [
{
- "id": 1168,
+ "id": 1243,
"name": "new SpotterAgentEmbed",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 1169,
+ "id": 1244,
"name": "viewConfig",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1198,
+ "id": 1273,
"name": "SpotterAgentEmbedViewConfig"
}
}
],
"type": {
"type": "reference",
- "id": 1166,
+ "id": 1241,
"name": "SpotterAgentEmbed"
}
}
]
},
{
- "id": 1171,
+ "id": 1246,
"name": "sendMessage",
"kind": 2048,
"kindString": "Method",
@@ -19986,20 +20315,20 @@
"sources": [
{
"fileName": "embed/bodyless-conversation.ts",
- "line": 113,
+ "line": 118,
"character": 17
}
],
"signatures": [
{
- "id": 1172,
+ "id": 1247,
"name": "sendMessage",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 1173,
+ "id": 1248,
"name": "userMessage",
"kind": 32768,
"kindString": "Parameter",
@@ -20019,14 +20348,14 @@
{
"type": "reflection",
"declaration": {
- "id": 1174,
+ "id": 1249,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 1176,
+ "id": 1251,
"name": "container",
"kind": 1024,
"kindString": "Property",
@@ -20037,7 +20366,7 @@
}
},
{
- "id": 1175,
+ "id": 1250,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -20048,7 +20377,7 @@
}
},
{
- "id": 1177,
+ "id": 1252,
"name": "viz",
"kind": 1024,
"kindString": "Property",
@@ -20065,9 +20394,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 1176,
- 1175,
- 1177
+ 1251,
+ 1250,
+ 1252
]
}
]
@@ -20076,14 +20405,14 @@
{
"type": "reflection",
"declaration": {
- "id": 1178,
+ "id": 1253,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 1179,
+ "id": 1254,
"name": "container",
"kind": 1024,
"kindString": "Property",
@@ -20094,7 +20423,7 @@
}
},
{
- "id": 1181,
+ "id": 1256,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -20105,7 +20434,7 @@
}
},
{
- "id": 1180,
+ "id": 1255,
"name": "viz",
"kind": 1024,
"kindString": "Property",
@@ -20122,9 +20451,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 1179,
- 1181,
- 1180
+ 1254,
+ 1256,
+ 1255
]
}
]
@@ -20139,7 +20468,7 @@
]
},
{
- "id": 1182,
+ "id": 1257,
"name": "sendMessageData",
"kind": 2048,
"kindString": "Method",
@@ -20149,13 +20478,13 @@
"sources": [
{
"fileName": "embed/bodyless-conversation.ts",
- "line": 139,
+ "line": 144,
"character": 17
}
],
"signatures": [
{
- "id": 1183,
+ "id": 1258,
"name": "sendMessageData",
"kind": 4096,
"kindString": "Call signature",
@@ -20166,7 +20495,7 @@
},
"parameters": [
{
- "id": 1184,
+ "id": 1259,
"name": "userMessage",
"kind": 32768,
"kindString": "Parameter",
@@ -20189,14 +20518,14 @@
{
"type": "reflection",
"declaration": {
- "id": 1185,
+ "id": 1260,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 1187,
+ "id": 1262,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -20208,7 +20537,7 @@
"defaultValue": "..."
},
{
- "id": 1186,
+ "id": 1261,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -20224,8 +20553,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 1187,
- 1186
+ 1262,
+ 1261
]
}
]
@@ -20234,14 +20563,14 @@
{
"type": "reflection",
"declaration": {
- "id": 1188,
+ "id": 1263,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 1189,
+ "id": 1264,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -20249,14 +20578,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 1190,
+ "id": 1265,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 1196,
+ "id": 1271,
"name": "acGenNo",
"kind": 1024,
"kindString": "Property",
@@ -20268,7 +20597,7 @@
"defaultValue": "..."
},
{
- "id": 1195,
+ "id": 1270,
"name": "acSessionId",
"kind": 1024,
"kindString": "Property",
@@ -20280,7 +20609,7 @@
"defaultValue": "..."
},
{
- "id": 1191,
+ "id": 1266,
"name": "convId",
"kind": 1024,
"kindString": "Property",
@@ -20292,7 +20621,7 @@
"defaultValue": "..."
},
{
- "id": 1194,
+ "id": 1269,
"name": "genNo",
"kind": 1024,
"kindString": "Property",
@@ -20304,7 +20633,7 @@
"defaultValue": "..."
},
{
- "id": 1192,
+ "id": 1267,
"name": "messageId",
"kind": 1024,
"kindString": "Property",
@@ -20316,7 +20645,7 @@
"defaultValue": "..."
},
{
- "id": 1193,
+ "id": 1268,
"name": "sessionId",
"kind": 1024,
"kindString": "Property",
@@ -20333,12 +20662,12 @@
"title": "Properties",
"kind": 1024,
"children": [
- 1196,
- 1195,
- 1191,
- 1194,
- 1192,
- 1193
+ 1271,
+ 1270,
+ 1266,
+ 1269,
+ 1267,
+ 1268
]
}
]
@@ -20347,7 +20676,7 @@
"defaultValue": "..."
},
{
- "id": 1197,
+ "id": 1272,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -20363,8 +20692,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 1189,
- 1197
+ 1264,
+ 1272
]
}
]
@@ -20384,35 +20713,35 @@
"title": "Constructors",
"kind": 512,
"children": [
- 1167
+ 1242
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 1171,
- 1182
+ 1246,
+ 1257
]
}
],
"sources": [
{
"fileName": "embed/bodyless-conversation.ts",
- "line": 101,
+ "line": 106,
"character": 13
}
],
"extendedBy": [
{
"type": "reference",
- "id": 1256,
+ "id": 1337,
"name": "BodylessConversation"
}
]
},
{
- "id": 1287,
+ "id": 1368,
"name": "SpotterEmbed",
"kind": 128,
"kindString": "Class",
@@ -20436,7 +20765,7 @@
},
"children": [
{
- "id": 1288,
+ "id": 1369,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -20444,20 +20773,20 @@
"sources": [
{
"fileName": "embed/conversation.ts",
- "line": 194,
+ "line": 210,
"character": 4
}
],
"signatures": [
{
- "id": 1289,
+ "id": 1370,
"name": "new SpotterEmbed",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 1290,
+ "id": 1371,
"name": "container",
"kind": 32768,
"kindString": "Parameter",
@@ -20468,21 +20797,21 @@
}
},
{
- "id": 1291,
+ "id": 1372,
"name": "viewConfig",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1448,
+ "id": 1541,
"name": "SpotterEmbedViewConfig"
}
}
],
"type": {
"type": "reference",
- "id": 1287,
+ "id": 1368,
"name": "SpotterEmbed"
},
"overwrites": {
@@ -20497,7 +20826,7 @@
}
},
{
- "id": 1426,
+ "id": 1519,
"name": "destroy",
"kind": 2048,
"kindString": "Method",
@@ -20507,13 +20836,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1328,
+ "line": 1444,
"character": 11
}
],
"signatures": [
{
- "id": 1427,
+ "id": 1520,
"name": "destroy",
"kind": 4096,
"kindString": "Call signature",
@@ -20543,7 +20872,7 @@
}
},
{
- "id": 1445,
+ "id": 1538,
"name": "getAnswerService",
"kind": 2048,
"kindString": "Method",
@@ -20553,13 +20882,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1511,
+ "line": 1644,
"character": 17
}
],
"signatures": [
{
- "id": 1446,
+ "id": 1539,
"name": "getAnswerService",
"kind": 4096,
"kindString": "Call signature",
@@ -20575,7 +20904,7 @@
},
"parameters": [
{
- "id": 1447,
+ "id": 1540,
"name": "vizId",
"kind": 32768,
"kindString": "Parameter",
@@ -20596,7 +20925,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 1757,
+ "id": 1870,
"name": "AnswerService"
}
],
@@ -20614,7 +20943,7 @@
}
},
{
- "id": 1293,
+ "id": 1376,
"name": "getIframeSrc",
"kind": 2048,
"kindString": "Method",
@@ -20624,13 +20953,13 @@
"sources": [
{
"fileName": "embed/conversation.ts",
- "line": 199,
+ "line": 258,
"character": 11
}
],
"signatures": [
{
- "id": 1294,
+ "id": 1377,
"name": "getIframeSrc",
"kind": 4096,
"kindString": "Call signature",
@@ -20651,7 +20980,7 @@
}
},
{
- "id": 1440,
+ "id": 1533,
"name": "getPreRenderIds",
"kind": 2048,
"kindString": "Method",
@@ -20661,13 +20990,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1498,
+ "line": 1631,
"character": 11
}
],
"signatures": [
{
- "id": 1441,
+ "id": 1534,
"name": "getPreRenderIds",
"kind": 4096,
"kindString": "Call signature",
@@ -20689,14 +21018,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 1442,
+ "id": 1535,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 1444,
+ "id": 1537,
"name": "child",
"kind": 1024,
"kindString": "Property",
@@ -20708,7 +21037,7 @@
"defaultValue": "..."
},
{
- "id": 1443,
+ "id": 1536,
"name": "wrapper",
"kind": 1024,
"kindString": "Property",
@@ -20725,8 +21054,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 1444,
- 1443
+ 1537,
+ 1536
]
}
]
@@ -20744,7 +21073,7 @@
}
},
{
- "id": 1420,
+ "id": 1513,
"name": "getThoughtSpotPostUrlParams",
"kind": 2048,
"kindString": "Method",
@@ -20754,13 +21083,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1298,
+ "line": 1414,
"character": 11
}
],
"signatures": [
{
- "id": 1421,
+ "id": 1514,
"name": "getThoughtSpotPostUrlParams",
"kind": 4096,
"kindString": "Call signature",
@@ -20776,7 +21105,7 @@
},
"parameters": [
{
- "id": 1422,
+ "id": 1515,
"name": "additionalParams",
"kind": 32768,
"kindString": "Parameter",
@@ -20784,20 +21113,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 1423,
+ "id": 1516,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 1424,
+ "id": 1517,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 1425,
+ "id": 1518,
"name": "key",
"kind": 32768,
"flags": {},
@@ -20842,7 +21171,7 @@
}
},
{
- "id": 1428,
+ "id": 1521,
"name": "getUnderlyingFrameElement",
"kind": 2048,
"kindString": "Method",
@@ -20852,13 +21181,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1338,
+ "line": 1467,
"character": 11
}
],
"signatures": [
{
- "id": 1429,
+ "id": 1522,
"name": "getUnderlyingFrameElement",
"kind": 4096,
"kindString": "Call signature",
@@ -20879,7 +21208,7 @@
}
},
{
- "id": 1438,
+ "id": 1531,
"name": "hidePreRender",
"kind": 2048,
"kindString": "Method",
@@ -20889,13 +21218,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1470,
+ "line": 1603,
"character": 11
}
],
"signatures": [
{
- "id": 1439,
+ "id": 1532,
"name": "hidePreRender",
"kind": 4096,
"kindString": "Call signature",
@@ -20919,7 +21248,7 @@
}
},
{
- "id": 1386,
+ "id": 1478,
"name": "off",
"kind": 2048,
"kindString": "Method",
@@ -20929,13 +21258,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1110,
+ "line": 1209,
"character": 11
}
],
"signatures": [
{
- "id": 1387,
+ "id": 1479,
"name": "off",
"kind": 4096,
"kindString": "Call signature",
@@ -20951,7 +21280,7 @@
},
"parameters": [
{
- "id": 1388,
+ "id": 1480,
"name": "messageType",
"kind": 32768,
"kindString": "Parameter",
@@ -20961,12 +21290,12 @@
},
"type": {
"type": "reference",
- "id": 1881,
+ "id": 1994,
"name": "EmbedEvent"
}
},
{
- "id": 1389,
+ "id": 1481,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -20976,7 +21305,7 @@
},
"type": {
"type": "reference",
- "id": 2566,
+ "id": 2708,
"name": "MessageCallback"
}
}
@@ -20997,7 +21326,7 @@
}
},
{
- "id": 1380,
+ "id": 1472,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -21007,13 +21336,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1081,
+ "line": 1180,
"character": 11
}
],
"signatures": [
{
- "id": 1381,
+ "id": 1473,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
@@ -21033,7 +21362,7 @@
},
"parameters": [
{
- "id": 1382,
+ "id": 1474,
"name": "messageType",
"kind": 32768,
"kindString": "Parameter",
@@ -21043,12 +21372,12 @@
},
"type": {
"type": "reference",
- "id": 1881,
+ "id": 1994,
"name": "EmbedEvent"
}
},
{
- "id": 1383,
+ "id": 1475,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -21058,12 +21387,12 @@
},
"type": {
"type": "reference",
- "id": 2566,
+ "id": 2708,
"name": "MessageCallback"
}
},
{
- "id": 1384,
+ "id": 1476,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -21073,13 +21402,13 @@
},
"type": {
"type": "reference",
- "id": 2563,
+ "id": 2705,
"name": "MessageOptions"
},
"defaultValue": "..."
},
{
- "id": 1385,
+ "id": 1477,
"name": "isRegisteredBySDK",
"kind": 32768,
"kindString": "Parameter",
@@ -21108,7 +21437,7 @@
}
},
{
- "id": 1417,
+ "id": 1509,
"name": "preRender",
"kind": 2048,
"kindString": "Method",
@@ -21118,13 +21447,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1282,
+ "line": 1392,
"character": 17
}
],
"signatures": [
{
- "id": 1418,
+ "id": 1510,
"name": "preRender",
"kind": 4096,
"kindString": "Call signature",
@@ -21134,7 +21463,7 @@
},
"parameters": [
{
- "id": 1419,
+ "id": 1511,
"name": "showPreRenderByDefault",
"kind": 32768,
"kindString": "Parameter",
@@ -21147,6 +21476,18 @@
"name": "boolean"
},
"defaultValue": "false"
+ },
+ {
+ "id": 1512,
+ "name": "replaceExistingPreRender",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
}
],
"type": {
@@ -21171,7 +21512,7 @@
}
},
{
- "id": 1430,
+ "id": 1523,
"name": "prerenderGeneric",
"kind": 2048,
"kindString": "Method",
@@ -21181,13 +21522,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1349,
+ "line": 1478,
"character": 17
}
],
"signatures": [
{
- "id": 1431,
+ "id": 1524,
"name": "prerenderGeneric",
"kind": 4096,
"kindString": "Call signature",
@@ -21224,7 +21565,7 @@
}
},
{
- "id": 1295,
+ "id": 1378,
"name": "render",
"kind": 2048,
"kindString": "Method",
@@ -21234,13 +21575,13 @@
"sources": [
{
"fileName": "embed/conversation.ts",
- "line": 261,
+ "line": 298,
"character": 17
}
],
"signatures": [
{
- "id": 1296,
+ "id": 1379,
"name": "render",
"kind": 4096,
"kindString": "Call signature",
@@ -21250,7 +21591,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 1287,
+ "id": 1368,
"name": "SpotterEmbed"
}
],
@@ -21268,7 +21609,7 @@
}
},
{
- "id": 1434,
+ "id": 1527,
"name": "showPreRender",
"kind": 2048,
"kindString": "Method",
@@ -21278,13 +21619,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1397,
+ "line": 1526,
"character": 17
}
],
"signatures": [
{
- "id": 1435,
+ "id": 1528,
"name": "showPreRender",
"kind": 4096,
"kindString": "Call signature",
@@ -21314,7 +21655,7 @@
}
},
{
- "id": 1436,
+ "id": 1529,
"name": "syncPreRenderStyle",
"kind": 2048,
"kindString": "Method",
@@ -21324,13 +21665,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1451,
+ "line": 1584,
"character": 11
}
],
"signatures": [
{
- "id": 1437,
+ "id": 1530,
"name": "syncPreRenderStyle",
"kind": 4096,
"kindString": "Call signature",
@@ -21360,7 +21701,7 @@
}
},
{
- "id": 1404,
+ "id": 1496,
"name": "trigger",
"kind": 2048,
"kindString": "Method",
@@ -21370,13 +21711,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1220,
+ "line": 1319,
"character": 17
}
],
"signatures": [
{
- "id": 1405,
+ "id": 1497,
"name": "trigger",
"kind": 4096,
"kindString": "Call signature",
@@ -21387,19 +21728,19 @@
},
"typeParameter": [
{
- "id": 1406,
+ "id": 1498,
"name": "HostEventT",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1974,
+ "id": 2089,
"name": "HostEvent"
}
},
{
- "id": 1407,
+ "id": 1499,
"name": "PayloadT",
"kind": 131072,
"kindString": "Type parameter",
@@ -21408,7 +21749,7 @@
],
"parameters": [
{
- "id": 1408,
+ "id": 1500,
"name": "messageType",
"kind": 32768,
"kindString": "Parameter",
@@ -21422,7 +21763,7 @@
}
},
{
- "id": 1409,
+ "id": 1501,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -21479,7 +21820,7 @@
}
},
{
- "id": 1410,
+ "id": 1502,
"name": "triggerUIPassThrough",
"kind": 2048,
"kindString": "Method",
@@ -21489,13 +21830,13 @@
"sources": [
{
"fileName": "embed/ts-embed.ts",
- "line": 1246,
+ "line": 1355,
"character": 17
}
],
"signatures": [
{
- "id": 1411,
+ "id": 1503,
"name": "triggerUIPassThrough",
"kind": 4096,
"kindString": "Call signature",
@@ -21506,21 +21847,21 @@
},
"typeParameter": [
{
- "id": 1412,
+ "id": 1504,
"name": "UIPassthroughEventT",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 2834,
+ "id": 2965,
"name": "UIPassthroughEvent"
}
}
],
"parameters": [
{
- "id": 1413,
+ "id": 1505,
"name": "apiName",
"kind": 32768,
"kindString": "Parameter",
@@ -21534,7 +21875,7 @@
}
},
{
- "id": 1414,
+ "id": 1506,
"name": "parameters",
"kind": 32768,
"kindString": "Parameter",
@@ -21587,36 +21928,36 @@
"title": "Constructors",
"kind": 512,
"children": [
- 1288
+ 1369
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 1426,
- 1445,
- 1293,
- 1440,
- 1420,
- 1428,
- 1438,
- 1386,
- 1380,
- 1417,
- 1430,
- 1295,
- 1434,
- 1436,
- 1404,
- 1410
+ 1519,
+ 1538,
+ 1376,
+ 1533,
+ 1513,
+ 1521,
+ 1531,
+ 1478,
+ 1472,
+ 1509,
+ 1523,
+ 1378,
+ 1527,
+ 1529,
+ 1496,
+ 1502
]
}
],
"sources": [
{
"fileName": "embed/conversation.ts",
- "line": 193,
+ "line": 209,
"character": 13
}
],
@@ -21629,13 +21970,13 @@
"extendedBy": [
{
"type": "reference",
- "id": 1526,
+ "id": 1627,
"name": "ConversationEmbed"
}
]
},
{
- "id": 2453,
+ "id": 2589,
"name": "AppViewConfig",
"kind": 256,
"kindString": "Interface",
@@ -21651,7 +21992,7 @@
},
"children": [
{
- "id": 2490,
+ "id": 2626,
"name": "additionalFlags",
"kind": 1024,
"kindString": "Property",
@@ -21675,27 +22016,27 @@
"sources": [
{
"fileName": "types.ts",
- "line": 873,
+ "line": 886,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 2491,
+ "id": 2627,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 2492,
+ "id": 2628,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 2493,
+ "id": 2629,
"name": "key",
"kind": 32768,
"flags": {},
@@ -21731,7 +22072,7 @@
}
},
{
- "id": 2514,
+ "id": 2653,
"name": "collapseSearchBar",
"kind": 1024,
"kindString": "Property",
@@ -21759,7 +22100,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1279,
+ "line": 1292,
"character": 4
}
],
@@ -21773,7 +22114,7 @@
}
},
{
- "id": 2472,
+ "id": 2609,
"name": "collapseSearchBarInitially",
"kind": 1024,
"kindString": "Property",
@@ -21800,7 +22141,7 @@
"sources": [
{
"fileName": "embed/app.ts",
- "line": 473,
+ "line": 493,
"character": 4
}
],
@@ -21810,7 +22151,7 @@
}
},
{
- "id": 2511,
+ "id": 2650,
"name": "contextMenuTrigger",
"kind": 1024,
"kindString": "Property",
@@ -21834,13 +22175,13 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1243,
+ "line": 1256,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 2185,
+ "id": 2304,
"name": "ContextMenuTriggerOptions"
},
"inheritedFrom": {
@@ -21849,7 +22190,7 @@
}
},
{
- "id": 2531,
+ "id": 2670,
"name": "coverAndFilterOptionInPDF",
"kind": 1024,
"kindString": "Property",
@@ -21873,7 +22214,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1499,
+ "line": 1512,
"character": 4
}
],
@@ -21887,7 +22228,7 @@
}
},
{
- "id": 2508,
+ "id": 2644,
"name": "customActions",
"kind": 1024,
"kindString": "Property",
@@ -21904,14 +22245,14 @@
},
{
"tag": "example",
- "text": "\n```js\nimport { CustomActionPosition, CustomActionTarget } from '@thoughtspot/visual-embed-sdk';\n// Use supported embed types such as AppEmbed or LiveboardEmbed\nconst embed = new LiveboardEmbed('#tsEmbed', {\n ... // other embed config options\n customActions: [\n {\n name: 'customAction', \n id: 'customAction',\n target: CustomActionTarget.VISUALIZATION,\n position: CustomActionPosition.PRIMARY,\n }\n } \n ]\n})\n```\n"
+ "text": "\n```js\nimport { CustomActionPosition, CustomActionTarget } from '@thoughtspot/visual-embed-sdk';\n// Use supported embed types such as AppEmbed or LiveboardEmbed\nconst embed = new LiveboardEmbed('#tsEmbed', {\n ... // other embed config options\n customActions: [\n {\n name: 'customAction',\n id: 'customAction',\n target: CustomActionTarget.VISUALIZATION,\n position: CustomActionPosition.PRIMARY,\n }\n }\n ]\n})\n```\n"
}
]
},
"sources": [
{
"fileName": "types.ts",
- "line": 1086,
+ "line": 1099,
"character": 4
}
],
@@ -21928,7 +22269,7 @@
}
},
{
- "id": 2494,
+ "id": 2630,
"name": "customizations",
"kind": 1024,
"kindString": "Property",
@@ -21951,13 +22292,13 @@
"sources": [
{
"fileName": "types.ts",
- "line": 880,
+ "line": 893,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 2579,
+ "id": 2721,
"name": "CustomisationsInterface"
},
"inheritedFrom": {
@@ -21966,7 +22307,7 @@
}
},
{
- "id": 2473,
+ "id": 2610,
"name": "dataPanelCustomGroupsAccordionInitialState",
"kind": 1024,
"kindString": "Property",
@@ -21994,18 +22335,18 @@
"sources": [
{
"fileName": "embed/app.ts",
- "line": 494,
+ "line": 514,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 2847,
+ "id": 2979,
"name": "DataPanelCustomColumnGroupsAccordionState"
}
},
{
- "id": 2515,
+ "id": 2654,
"name": "dataPanelV2",
"kind": 1024,
"kindString": "Property",
@@ -22022,7 +22363,7 @@
},
{
"tag": "version",
- "text": "SDK: 1.43.0 | ThoughtSpot Cloud: 10.14.0.cl"
+ "text": "SDK: 1.41.1 | ThoughtSpot Cloud: 10.14.0.cl"
},
{
"tag": "example",
@@ -22033,7 +22374,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1295,
+ "line": 1308,
"character": 4
}
],
@@ -22047,7 +22388,7 @@
}
},
{
- "id": 2456,
+ "id": 2592,
"name": "disableProfileAndHelp",
"kind": 1024,
"kindString": "Property",
@@ -22085,7 +22426,7 @@
}
},
{
- "id": 2502,
+ "id": 2638,
"name": "disableRedirectionLinksInNewTab",
"kind": 1024,
"kindString": "Property",
@@ -22109,7 +22450,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 988,
+ "line": 1001,
"character": 4
}
],
@@ -22123,7 +22464,7 @@
}
},
{
- "id": 2486,
+ "id": 2622,
"name": "disabledActionReason",
"kind": 1024,
"kindString": "Property",
@@ -22147,7 +22488,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 795,
+ "line": 808,
"character": 4
}
],
@@ -22161,7 +22502,7 @@
}
},
{
- "id": 2485,
+ "id": 2621,
"name": "disabledActions",
"kind": 1024,
"kindString": "Property",
@@ -22185,7 +22526,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 779,
+ "line": 792,
"character": 4
}
],
@@ -22193,7 +22534,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2048,
+ "id": 2166,
"name": "Action"
}
},
@@ -22203,7 +22544,7 @@
}
},
{
- "id": 2471,
+ "id": 2608,
"name": "discoveryExperience",
"kind": 1024,
"kindString": "Property",
@@ -22231,7 +22572,7 @@
"sources": [
{
"fileName": "embed/app.ts",
- "line": 466,
+ "line": 486,
"character": 4
}
],
@@ -22241,7 +22582,7 @@
}
},
{
- "id": 2498,
+ "id": 2634,
"name": "doNotTrackPreRenderSize",
"kind": 1024,
"kindString": "Property",
@@ -22268,7 +22609,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 944,
+ "line": 957,
"character": 4
}
],
@@ -22282,7 +22623,7 @@
}
},
{
- "id": 2525,
+ "id": 2664,
"name": "enable2ColumnLayout",
"kind": 1024,
"kindString": "Property",
@@ -22310,7 +22651,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1397,
+ "line": 1410,
"character": 4
}
],
@@ -22324,7 +22665,7 @@
}
},
{
- "id": 2530,
+ "id": 2669,
"name": "enableAskSage",
"kind": 1024,
"kindString": "Property",
@@ -22352,7 +22693,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1483,
+ "line": 1496,
"character": 4
}
],
@@ -22366,7 +22707,7 @@
}
},
{
- "id": 2516,
+ "id": 2655,
"name": "enableCustomColumnGroups",
"kind": 1024,
"kindString": "Property",
@@ -22394,7 +22735,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1311,
+ "line": 1324,
"character": 4
}
],
@@ -22408,7 +22749,7 @@
}
},
{
- "id": 2457,
+ "id": 2593,
"name": "enablePendoHelp",
"kind": 1024,
"kindString": "Property",
@@ -22444,7 +22785,7 @@
}
},
{
- "id": 2468,
+ "id": 2605,
"name": "enableSearchAssist",
"kind": 1024,
"kindString": "Property",
@@ -22472,7 +22813,7 @@
"sources": [
{
"fileName": "embed/app.ts",
- "line": 410,
+ "line": 430,
"character": 4
}
],
@@ -22482,7 +22823,7 @@
}
},
{
- "id": 2499,
+ "id": 2635,
"name": "enableV2Shell_experimental",
"kind": 1024,
"kindString": "Property",
@@ -22506,7 +22847,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 961,
+ "line": 974,
"character": 4
}
],
@@ -22520,7 +22861,7 @@
}
},
{
- "id": 2512,
+ "id": 2651,
"name": "excludeRuntimeFiltersfromURL",
"kind": 1024,
"kindString": "Property",
@@ -22544,7 +22885,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1254,
+ "line": 1267,
"character": 4
}
],
@@ -22558,7 +22899,7 @@
}
},
{
- "id": 2513,
+ "id": 2652,
"name": "excludeRuntimeParametersfromURL",
"kind": 1024,
"kindString": "Property",
@@ -22582,7 +22923,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1264,
+ "line": 1277,
"character": 4
}
],
@@ -22596,7 +22937,7 @@
}
},
{
- "id": 2501,
+ "id": 2637,
"name": "exposeTranslationIDs",
"kind": 1024,
"kindString": "Property",
@@ -22619,7 +22960,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 972,
+ "line": 985,
"character": 4
}
],
@@ -22633,7 +22974,7 @@
}
},
{
- "id": 2482,
+ "id": 2618,
"name": "frameParams",
"kind": 1024,
"kindString": "Property",
@@ -22657,13 +22998,13 @@
"sources": [
{
"fileName": "types.ts",
- "line": 752,
+ "line": 765,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 2538,
+ "id": 2680,
"name": "FrameParams"
},
"inheritedFrom": {
@@ -22672,7 +23013,7 @@
}
},
{
- "id": 2469,
+ "id": 2606,
"name": "fullHeight",
"kind": 1024,
"kindString": "Property",
@@ -22696,7 +23037,7 @@
"sources": [
{
"fileName": "embed/app.ts",
- "line": 433,
+ "line": 453,
"character": 4
}
],
@@ -22706,7 +23047,7 @@
}
},
{
- "id": 2487,
+ "id": 2623,
"name": "hiddenActions",
"kind": 1024,
"kindString": "Property",
@@ -22734,7 +23075,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 813,
+ "line": 826,
"character": 4
}
],
@@ -22742,7 +23083,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2048,
+ "id": 2166,
"name": "Action"
}
},
@@ -22752,7 +23093,7 @@
}
},
{
- "id": 2520,
+ "id": 2659,
"name": "hiddenHomeLeftNavItems",
"kind": 1024,
"kindString": "Property",
@@ -22776,7 +23117,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1179,
+ "line": 1192,
"character": 4
}
],
@@ -22784,7 +23125,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2544,
+ "id": 2686,
"name": "HomeLeftNavItem"
}
},
@@ -22794,7 +23135,7 @@
}
},
{
- "id": 2518,
+ "id": 2657,
"name": "hiddenHomepageModules",
"kind": 1024,
"kindString": "Property",
@@ -22818,7 +23159,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1134,
+ "line": 1147,
"character": 4
}
],
@@ -22826,7 +23167,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2555,
+ "id": 2697,
"name": "HomepageModule"
}
},
@@ -22836,7 +23177,7 @@
}
},
{
- "id": 2517,
+ "id": 2656,
"name": "hiddenListColumns",
"kind": 1024,
"kindString": "Property",
@@ -22860,7 +23201,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1112,
+ "line": 1125,
"character": 4
}
],
@@ -22868,7 +23209,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2841,
+ "id": 2973,
"name": "ListPageColumns"
}
},
@@ -22878,7 +23219,7 @@
}
},
{
- "id": 2461,
+ "id": 2597,
"name": "hideApplicationSwitcher",
"kind": 1024,
"kindString": "Property",
@@ -22916,7 +23257,7 @@
}
},
{
- "id": 2458,
+ "id": 2594,
"name": "hideHamburger",
"kind": 1024,
"kindString": "Property",
@@ -22954,7 +23295,7 @@
}
},
{
- "id": 2455,
+ "id": 2591,
"name": "hideHomepageLeftNav",
"kind": 1024,
"kindString": "Property",
@@ -22992,7 +23333,7 @@
}
},
{
- "id": 2528,
+ "id": 2667,
"name": "hideIrrelevantChipsInLiveboardTabs",
"kind": 1024,
"kindString": "Property",
@@ -23020,7 +23361,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1450,
+ "line": 1463,
"character": 4
}
],
@@ -23034,7 +23375,7 @@
}
},
{
- "id": 2521,
+ "id": 2660,
"name": "hideLiveboardHeader",
"kind": 1024,
"kindString": "Property",
@@ -23062,7 +23403,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1333,
+ "line": 1346,
"character": 4
}
],
@@ -23076,7 +23417,7 @@
}
},
{
- "id": 2460,
+ "id": 2596,
"name": "hideNotification",
"kind": 1024,
"kindString": "Property",
@@ -23114,7 +23455,7 @@
}
},
{
- "id": 2459,
+ "id": 2595,
"name": "hideObjectSearch",
"kind": 1024,
"kindString": "Property",
@@ -23152,7 +23493,7 @@
}
},
{
- "id": 2466,
+ "id": 2603,
"name": "hideObjects",
"kind": 1024,
"kindString": "Property",
@@ -23176,7 +23517,7 @@
"sources": [
{
"fileName": "embed/app.ts",
- "line": 386,
+ "line": 406,
"character": 4
}
],
@@ -23189,7 +23530,7 @@
}
},
{
- "id": 2462,
+ "id": 2598,
"name": "hideOrgSwitcher",
"kind": 1024,
"kindString": "Property",
@@ -23227,7 +23568,41 @@
}
},
{
- "id": 2475,
+ "id": 2602,
+ "name": "hideTagFilterChips",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Hide tag filter chips that appear when content is filtered by tags.\nWhen enabled, this automatically:\n- Hides tag filter indicators/chips from the UI",
+ "text": "This provides a clean interface without tag-related UI elements.\n\nSupported embed types: `AppEmbed`",
+ "tags": [
+ {
+ "tag": "version",
+ "text": "SDK: 1.44.0 | ThoughtSpot: 10.15.0.cl"
+ },
+ {
+ "tag": "example",
+ "text": "\n```js\n// Simple usage - automatically hides all tag-related UI\nconst embed = new AppEmbed('#tsEmbed', {\n ... // other embed view config\n tag: 'Some Tag',\n hideTagFilterChips: true, // This is all you need!\n});\n```\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "embed/app.ts",
+ "line": 389,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 2611,
"name": "homePageSearchBarMode",
"kind": 1024,
"kindString": "Property",
@@ -23247,18 +23622,18 @@
"sources": [
{
"fileName": "embed/app.ts",
- "line": 506,
+ "line": 521,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 2799,
+ "id": 2930,
"name": "HomePageSearchBarMode"
}
},
{
- "id": 2495,
+ "id": 2631,
"name": "insertAsSibling",
"kind": 1024,
"kindString": "Property",
@@ -23282,7 +23657,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 896,
+ "line": 909,
"character": 4
}
],
@@ -23296,7 +23671,198 @@
}
},
{
- "id": 2526,
+ "id": 2647,
+ "name": "interceptTimeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The timeout for the intercept, default is 30000ms\nthe api will error out if the timeout is reached",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n```js\nconst embed = new LiveboardEmbed('#embed', {\n ...viewConfig,\n enableApiIntercept: true,\n interceptUrls: [InterceptedApiType.ALL],\n interceptTimeout: 1000,\n})\n```\n"
+ },
+ {
+ "tag": "version",
+ "text": "SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6171,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "AllEmbedViewConfig.interceptTimeout"
+ }
+ },
+ {
+ "id": 2646,
+ "name": "interceptUrls",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "This allows to intercept the urls passed, once intercepted the api will only\nrun based on the reponse from the responder of ApiIntercept event.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n```js\nconst embed = new LiveboardEmbed('#embed', {\n ...viewConfig,\n enableApiIntercept: true,\n interceptUrls: [InterceptedApiType.DATA],\n})\n```\n"
+ },
+ {
+ "tag": "version",
+ "text": "SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6154,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "AllEmbedViewConfig.interceptUrls"
+ }
+ },
+ {
+ "id": 2672,
+ "name": "isCentralizedLiveboardFilterUXEnabled",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "This flag is used to enable or disable the new centralized Liveboard filter UX (v2).\nWhen enabled, a unified modal is used to manage and update multiple filters at once,\nreplacing the older individual filter interactions.\nTo enable this feature on your instance, contact ThoughtSpot Support.",
+ "text": "Supported embed types: `AppEmbed`, `LiveboardEmbed`",
+ "tags": [
+ {
+ "tag": "version",
+ "text": "SDK: 1.42.0 | ThoughtSpot: 10.15.0.cl"
+ },
+ {
+ "tag": "example",
+ "text": "\n```js\n// Replace with embed component name. For example, AppEmbed or LiveboardEmbed\nconst embed = new ('#tsEmbed', {\n ... // other embed view config\n isCentralizedLiveboardFilterUXEnabled: true,\n})\n```\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 1545,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "AllEmbedViewConfig.isCentralizedLiveboardFilterUXEnabled"
+ }
+ },
+ {
+ "id": 2674,
+ "name": "isEnhancedFilterInteractivityEnabled",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "This flag is used to enable or disable the enhanced filter interactivity in liveboard.",
+ "text": "Supported embed types: `AppEmbed`, `LiveboardEmbed`",
+ "tags": [
+ {
+ "tag": "version",
+ "text": "SDK: 1.42.0 | ThoughtSpot: 10.15.0.cl"
+ },
+ {
+ "tag": "example",
+ "text": "\n```js\n// Replace with embed component name. For example, AppEmbed or LiveboardEmbed\nconst embed = new ('#tsEmbed', {\n ... // other embed view config\n isEnhancedFilterInteractivityEnabled: true,\n})\n```\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 1576,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "AllEmbedViewConfig.isEnhancedFilterInteractivityEnabled"
+ }
+ },
+ {
+ "id": 2673,
+ "name": "isLinkParametersEnabled",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "This flag is used to enable or disable the link parameters in liveboard.",
+ "text": "Supported embed types: `AppEmbed`, `LiveboardEmbed`",
+ "tags": [
+ {
+ "tag": "version",
+ "text": "SDK: 1.42.0 | ThoughtSpot: 10.14.0.cl"
+ },
+ {
+ "tag": "example",
+ "text": "\n```js\n// Replace with embed component name. For example, AppEmbed or LiveboardEmbed\nconst embed = new ('#tsEmbed', {\n ... // other embed view config\n isLinkParametersEnabled: true,\n})\n```\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 1560,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "AllEmbedViewConfig.isLinkParametersEnabled"
+ }
+ },
+ {
+ "id": 2665,
"name": "isLiveboardCompactHeaderEnabled",
"kind": 1024,
"kindString": "Property",
@@ -23324,7 +23890,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1414,
+ "line": 1427,
"character": 4
}
],
@@ -23338,7 +23904,7 @@
}
},
{
- "id": 2524,
+ "id": 2663,
"name": "isLiveboardHeaderSticky",
"kind": 1024,
"kindString": "Property",
@@ -23362,7 +23928,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1380,
+ "line": 1393,
"character": 4
}
],
@@ -23376,7 +23942,7 @@
}
},
{
- "id": 2477,
+ "id": 2613,
"name": "isLiveboardStylingAndGroupingEnabled",
"kind": 1024,
"kindString": "Property",
@@ -23400,7 +23966,7 @@
"sources": [
{
"fileName": "embed/app.ts",
- "line": 538,
+ "line": 553,
"character": 4
}
],
@@ -23410,7 +23976,7 @@
}
},
{
- "id": 2474,
+ "id": 2645,
"name": "isOnBeforeGetVizDataInterceptEnabled",
"kind": 1024,
"kindString": "Property",
@@ -23419,27 +23985,32 @@
},
"comment": {
"shortText": "Flag that allows using `EmbedEvent.OnBeforeGetVizDataIntercept`.",
+ "text": "Can be used for Serach and App Embed from SDK 1.29.0\n",
"tags": [
{
"tag": "version",
- "text": "SDK : 1.29.0 | ThoughtSpot: 10.1.0.cl\n"
+ "text": "SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
}
]
},
"sources": [
{
- "fileName": "embed/app.ts",
- "line": 499,
+ "fileName": "types.ts",
+ "line": 6138,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "AllEmbedViewConfig.isOnBeforeGetVizDataInterceptEnabled"
}
},
{
- "id": 2478,
+ "id": 2614,
"name": "isPNGInScheduledEmailsEnabled",
"kind": 1024,
"kindString": "Property",
@@ -23463,7 +24034,7 @@
"sources": [
{
"fileName": "embed/app.ts",
- "line": 555,
+ "line": 570,
"character": 4
}
],
@@ -23473,7 +24044,7 @@
}
},
{
- "id": 2476,
+ "id": 2612,
"name": "isUnifiedSearchExperienceEnabled",
"kind": 1024,
"kindString": "Property",
@@ -23501,7 +24072,7 @@
"sources": [
{
"fileName": "embed/app.ts",
- "line": 521,
+ "line": 536,
"character": 4
}
],
@@ -23511,7 +24082,7 @@
}
},
{
- "id": 2479,
+ "id": 2615,
"name": "lazyLoadingForFullHeight",
"kind": 1024,
"kindString": "Property",
@@ -23538,7 +24109,7 @@
"sources": [
{
"fileName": "embed/app.ts",
- "line": 573,
+ "line": 588,
"character": 4
}
],
@@ -23548,7 +24119,7 @@
}
},
{
- "id": 2480,
+ "id": 2616,
"name": "lazyLoadingMargin",
"kind": 1024,
"kindString": "Property",
@@ -23572,7 +24143,7 @@
"sources": [
{
"fileName": "embed/app.ts",
- "line": 597,
+ "line": 612,
"character": 4
}
],
@@ -23582,7 +24153,7 @@
}
},
{
- "id": 2504,
+ "id": 2640,
"name": "linkOverride",
"kind": 1024,
"kindString": "Property",
@@ -23606,7 +24177,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1022,
+ "line": 1035,
"character": 4
}
],
@@ -23620,7 +24191,7 @@
}
},
{
- "id": 2532,
+ "id": 2671,
"name": "liveboardXLSXCSVDownload",
"kind": 1024,
"kindString": "Property",
@@ -23644,7 +24215,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1514,
+ "line": 1527,
"character": 4
}
],
@@ -23658,7 +24229,7 @@
}
},
{
- "id": 2489,
+ "id": 2625,
"name": "locale",
"kind": 1024,
"kindString": "Property",
@@ -23682,7 +24253,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 849,
+ "line": 862,
"character": 4
}
],
@@ -23696,7 +24267,7 @@
}
},
{
- "id": 2470,
+ "id": 2607,
"name": "modularHomeExperience",
"kind": 1024,
"kindString": "Property",
@@ -23724,7 +24295,7 @@
"sources": [
{
"fileName": "embed/app.ts",
- "line": 448,
+ "line": 468,
"character": 4
}
],
@@ -23734,7 +24305,7 @@
}
},
{
- "id": 2503,
+ "id": 2639,
"name": "overrideOrgId",
"kind": 1024,
"kindString": "Property",
@@ -23758,7 +24329,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1007,
+ "line": 1020,
"character": 4
}
],
@@ -23772,7 +24343,7 @@
}
},
{
- "id": 2464,
+ "id": 2600,
"name": "pageId",
"kind": 1024,
"kindString": "Property",
@@ -23802,12 +24373,12 @@
],
"type": {
"type": "reference",
- "id": 1840,
+ "id": 1953,
"name": "Page"
}
},
{
- "id": 2463,
+ "id": 2599,
"name": "path",
"kind": 1024,
"kindString": "Property",
@@ -23841,7 +24412,7 @@
}
},
{
- "id": 2497,
+ "id": 2633,
"name": "preRenderId",
"kind": 1024,
"kindString": "Property",
@@ -23865,7 +24436,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 923,
+ "line": 936,
"character": 4
}
],
@@ -23879,7 +24450,7 @@
}
},
{
- "id": 2505,
+ "id": 2641,
"name": "primaryAction",
"kind": 1024,
"kindString": "Property",
@@ -23903,7 +24474,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1038,
+ "line": 1051,
"character": 4
}
],
@@ -23917,7 +24488,7 @@
}
},
{
- "id": 2519,
+ "id": 2658,
"name": "reorderedHomepageModules",
"kind": 1024,
"kindString": "Property",
@@ -23941,7 +24512,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1156,
+ "line": 1169,
"character": 4
}
],
@@ -23949,7 +24520,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2555,
+ "id": 2697,
"name": "HomepageModule"
}
},
@@ -23959,7 +24530,7 @@
}
},
{
- "id": 2509,
+ "id": 2648,
"name": "runtimeFilters",
"kind": 1024,
"kindString": "Property",
@@ -23983,7 +24554,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1207,
+ "line": 1220,
"character": 4
}
],
@@ -23991,7 +24562,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 1861,
+ "id": 1974,
"name": "RuntimeFilter"
}
},
@@ -24001,7 +24572,7 @@
}
},
{
- "id": 2510,
+ "id": 2649,
"name": "runtimeParameters",
"kind": 1024,
"kindString": "Property",
@@ -24025,7 +24596,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1228,
+ "line": 1241,
"character": 4
}
],
@@ -24033,7 +24604,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2773,
+ "id": 2904,
"name": "RuntimeParameter"
}
},
@@ -24043,7 +24614,7 @@
}
},
{
- "id": 2507,
+ "id": 2643,
"name": "showAlerts",
"kind": 1024,
"kindString": "Property",
@@ -24066,7 +24637,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1058,
+ "line": 1071,
"character": 4
}
],
@@ -24080,7 +24651,7 @@
}
},
{
- "id": 2523,
+ "id": 2662,
"name": "showLiveboardDescription",
"kind": 1024,
"kindString": "Property",
@@ -24108,7 +24679,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1365,
+ "line": 1378,
"character": 4
}
],
@@ -24122,7 +24693,7 @@
}
},
{
- "id": 2529,
+ "id": 2668,
"name": "showLiveboardReverifyBanner",
"kind": 1024,
"kindString": "Property",
@@ -24150,7 +24721,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1467,
+ "line": 1480,
"character": 4
}
],
@@ -24164,7 +24735,7 @@
}
},
{
- "id": 2522,
+ "id": 2661,
"name": "showLiveboardTitle",
"kind": 1024,
"kindString": "Property",
@@ -24192,7 +24763,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1349,
+ "line": 1362,
"character": 4
}
],
@@ -24206,7 +24777,7 @@
}
},
{
- "id": 2527,
+ "id": 2666,
"name": "showLiveboardVerifiedBadge",
"kind": 1024,
"kindString": "Property",
@@ -24234,7 +24805,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1431,
+ "line": 1444,
"character": 4
}
],
@@ -24248,7 +24819,7 @@
}
},
{
- "id": 2454,
+ "id": 2590,
"name": "showPrimaryNavbar",
"kind": 1024,
"kindString": "Property",
@@ -24286,7 +24857,7 @@
}
},
{
- "id": 2465,
+ "id": 2601,
"name": "tag",
"kind": 1024,
"kindString": "Property",
@@ -24320,7 +24891,7 @@
}
},
{
- "id": 2488,
+ "id": 2624,
"name": "visibleActions",
"kind": 1024,
"kindString": "Property",
@@ -24348,7 +24919,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 834,
+ "line": 847,
"character": 4
}
],
@@ -24356,7 +24927,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2048,
+ "id": 2166,
"name": "Action"
}
},
@@ -24371,75 +24942,81 @@
"title": "Properties",
"kind": 1024,
"children": [
- 2490,
- 2514,
- 2472,
- 2511,
- 2531,
- 2508,
- 2494,
- 2473,
- 2515,
- 2456,
- 2502,
- 2486,
- 2485,
- 2471,
- 2498,
- 2525,
- 2530,
- 2516,
- 2457,
- 2468,
- 2499,
- 2512,
- 2513,
- 2501,
- 2482,
- 2469,
- 2487,
- 2520,
- 2518,
- 2517,
- 2461,
- 2458,
- 2455,
- 2528,
- 2521,
- 2460,
- 2459,
- 2466,
- 2462,
- 2475,
- 2495,
- 2526,
- 2524,
- 2477,
- 2474,
- 2478,
- 2476,
- 2479,
- 2480,
- 2504,
- 2532,
- 2489,
- 2470,
- 2503,
- 2464,
- 2463,
- 2497,
- 2505,
- 2519,
- 2509,
- 2510,
- 2507,
- 2523,
- 2529,
- 2522,
- 2527,
- 2454,
- 2465,
- 2488
+ 2626,
+ 2653,
+ 2609,
+ 2650,
+ 2670,
+ 2644,
+ 2630,
+ 2610,
+ 2654,
+ 2592,
+ 2638,
+ 2622,
+ 2621,
+ 2608,
+ 2634,
+ 2664,
+ 2669,
+ 2655,
+ 2593,
+ 2605,
+ 2635,
+ 2651,
+ 2652,
+ 2637,
+ 2618,
+ 2606,
+ 2623,
+ 2659,
+ 2657,
+ 2656,
+ 2597,
+ 2594,
+ 2591,
+ 2667,
+ 2660,
+ 2596,
+ 2595,
+ 2603,
+ 2598,
+ 2602,
+ 2611,
+ 2631,
+ 2647,
+ 2646,
+ 2672,
+ 2674,
+ 2673,
+ 2665,
+ 2663,
+ 2613,
+ 2645,
+ 2614,
+ 2612,
+ 2615,
+ 2616,
+ 2640,
+ 2671,
+ 2625,
+ 2607,
+ 2639,
+ 2600,
+ 2599,
+ 2633,
+ 2641,
+ 2658,
+ 2648,
+ 2649,
+ 2643,
+ 2662,
+ 2668,
+ 2661,
+ 2666,
+ 2590,
+ 2601,
+ 2624
]
}
],
@@ -24458,7 +25035,7 @@
]
},
{
- "id": 1704,
+ "id": 1817,
"name": "AuthEventEmitter",
"kind": 256,
"kindString": "Interface",
@@ -24474,14 +25051,14 @@
},
"children": [
{
- "id": 1741,
+ "id": 1854,
"name": "emit",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 1742,
+ "id": 1855,
"name": "emit",
"kind": 4096,
"kindString": "Call signature",
@@ -24491,19 +25068,19 @@
},
"parameters": [
{
- "id": 1743,
+ "id": 1856,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1703,
+ "id": 1816,
"name": "TRIGGER_SSO_POPUP"
}
},
{
- "id": 1744,
+ "id": 1857,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
@@ -24527,14 +25104,14 @@
]
},
{
- "id": 1745,
+ "id": 1858,
"name": "off",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 1746,
+ "id": 1859,
"name": "off",
"kind": 4096,
"kindString": "Call signature",
@@ -24544,7 +25121,7 @@
},
"parameters": [
{
- "id": 1747,
+ "id": 1860,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -24552,12 +25129,12 @@
"comment": {},
"type": {
"type": "reference",
- "id": 1694,
+ "id": 1807,
"name": "AuthStatus"
}
},
{
- "id": 1748,
+ "id": 1861,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
@@ -24566,21 +25143,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 1749,
+ "id": 1862,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 1750,
+ "id": 1863,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 1751,
+ "id": 1864,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
@@ -24606,7 +25183,7 @@
}
},
{
- "id": 1752,
+ "id": 1865,
"name": "context",
"kind": 32768,
"kindString": "Parameter",
@@ -24618,7 +25195,7 @@
}
},
{
- "id": 1753,
+ "id": 1866,
"name": "once",
"kind": 32768,
"kindString": "Parameter",
@@ -24634,21 +25211,21 @@
],
"type": {
"type": "reference",
- "id": 1704,
+ "id": 1817,
"name": "AuthEventEmitter"
}
}
]
},
{
- "id": 1705,
+ "id": 1818,
"name": "on",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 1706,
+ "id": 1819,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
@@ -24658,7 +25235,7 @@
},
"parameters": [
{
- "id": 1707,
+ "id": 1820,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -24666,12 +25243,12 @@
"comment": {},
"type": {
"type": "reference",
- "id": 1695,
+ "id": 1808,
"name": "FAILURE"
}
},
{
- "id": 1708,
+ "id": 1821,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
@@ -24682,28 +25259,28 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 1709,
+ "id": 1822,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 1710,
+ "id": 1823,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 1711,
+ "id": 1824,
"name": "failureType",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1687,
+ "id": 1800,
"name": "AuthFailureType"
}
}
@@ -24720,12 +25297,12 @@
],
"type": {
"type": "reference",
- "id": 1704,
+ "id": 1817,
"name": "AuthEventEmitter"
}
},
{
- "id": 1712,
+ "id": 1825,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
@@ -24735,7 +25312,7 @@
},
"parameters": [
{
- "id": 1713,
+ "id": 1826,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -24746,29 +25323,29 @@
"types": [
{
"type": "reference",
- "id": 1696,
+ "id": 1809,
"name": "SDK_SUCCESS"
},
{
"type": "reference",
- "id": 1699,
+ "id": 1812,
"name": "LOGOUT"
},
{
"type": "reference",
- "id": 1700,
+ "id": 1813,
"name": "WAITING_FOR_POPUP"
},
{
"type": "reference",
- "id": 1701,
+ "id": 1814,
"name": "SAML_POPUP_CLOSED_NO_AUTH"
}
]
}
},
{
- "id": 1714,
+ "id": 1827,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
@@ -24779,14 +25356,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 1715,
+ "id": 1828,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 1716,
+ "id": 1829,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
@@ -24803,31 +25380,31 @@
],
"type": {
"type": "reference",
- "id": 1704,
+ "id": 1817,
"name": "AuthEventEmitter"
}
},
{
- "id": 1717,
+ "id": 1830,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 1718,
+ "id": 1831,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1698,
+ "id": 1811,
"name": "SUCCESS"
}
},
{
- "id": 1719,
+ "id": 1832,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
@@ -24835,21 +25412,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 1720,
+ "id": 1833,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 1721,
+ "id": 1834,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 1722,
+ "id": 1835,
"name": "sessionInfo",
"kind": 32768,
"kindString": "Parameter",
@@ -24872,40 +25449,40 @@
],
"type": {
"type": "reference",
- "id": 1704,
+ "id": 1817,
"name": "AuthEventEmitter"
}
}
]
},
{
- "id": 1723,
+ "id": 1836,
"name": "once",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 1724,
+ "id": 1837,
"name": "once",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 1725,
+ "id": 1838,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1695,
+ "id": 1808,
"name": "FAILURE"
}
},
{
- "id": 1726,
+ "id": 1839,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
@@ -24913,28 +25490,28 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 1727,
+ "id": 1840,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 1728,
+ "id": 1841,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 1729,
+ "id": 1842,
"name": "failureType",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1687,
+ "id": 1800,
"name": "AuthFailureType"
}
}
@@ -24951,19 +25528,19 @@
],
"type": {
"type": "reference",
- "id": 1704,
+ "id": 1817,
"name": "AuthEventEmitter"
}
},
{
- "id": 1730,
+ "id": 1843,
"name": "once",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 1731,
+ "id": 1844,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -24973,29 +25550,29 @@
"types": [
{
"type": "reference",
- "id": 1696,
+ "id": 1809,
"name": "SDK_SUCCESS"
},
{
"type": "reference",
- "id": 1699,
+ "id": 1812,
"name": "LOGOUT"
},
{
"type": "reference",
- "id": 1700,
+ "id": 1813,
"name": "WAITING_FOR_POPUP"
},
{
"type": "reference",
- "id": 1701,
+ "id": 1814,
"name": "SAML_POPUP_CLOSED_NO_AUTH"
}
]
}
},
{
- "id": 1732,
+ "id": 1845,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
@@ -25003,14 +25580,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 1733,
+ "id": 1846,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 1734,
+ "id": 1847,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
@@ -25027,31 +25604,31 @@
],
"type": {
"type": "reference",
- "id": 1704,
+ "id": 1817,
"name": "AuthEventEmitter"
}
},
{
- "id": 1735,
+ "id": 1848,
"name": "once",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 1736,
+ "id": 1849,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 1698,
+ "id": 1811,
"name": "SUCCESS"
}
},
{
- "id": 1737,
+ "id": 1850,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
@@ -25059,21 +25636,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 1738,
+ "id": 1851,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 1739,
+ "id": 1852,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 1740,
+ "id": 1853,
"name": "sessionInfo",
"kind": 32768,
"kindString": "Parameter",
@@ -25096,21 +25673,21 @@
],
"type": {
"type": "reference",
- "id": 1704,
+ "id": 1817,
"name": "AuthEventEmitter"
}
}
]
},
{
- "id": 1754,
+ "id": 1867,
"name": "removeAllListeners",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 1755,
+ "id": 1868,
"name": "removeAllListeners",
"kind": 4096,
"kindString": "Call signature",
@@ -25120,7 +25697,7 @@
},
"parameters": [
{
- "id": 1756,
+ "id": 1869,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -25130,14 +25707,14 @@
},
"type": {
"type": "reference",
- "id": 1694,
+ "id": 1807,
"name": "AuthStatus"
}
}
],
"type": {
"type": "reference",
- "id": 1704,
+ "id": 1817,
"name": "AuthEventEmitter"
}
}
@@ -25149,11 +25726,11 @@
"title": "Methods",
"kind": 2048,
"children": [
- 1741,
- 1745,
- 1705,
- 1723,
- 1754
+ 1854,
+ 1858,
+ 1818,
+ 1836,
+ 1867
]
}
],
@@ -25166,7 +25743,7 @@
]
},
{
- "id": 1227,
+ "id": 1305,
"name": "BodylessConversationViewConfig",
"kind": 256,
"kindString": "Interface",
@@ -25186,7 +25763,7 @@
},
"children": [
{
- "id": 1238,
+ "id": 1316,
"name": "additionalFlags",
"kind": 1024,
"kindString": "Property",
@@ -25210,27 +25787,27 @@
"sources": [
{
"fileName": "types.ts",
- "line": 873,
+ "line": 886,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 1239,
+ "id": 1317,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 1240,
+ "id": 1318,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 1241,
+ "id": 1319,
"name": "key",
"kind": 32768,
"flags": {},
@@ -25262,12 +25839,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1209,
+ "id": 1284,
"name": "SpotterAgentEmbedViewConfig.additionalFlags"
}
},
{
- "id": 1255,
+ "id": 1333,
"name": "customActions",
"kind": 1024,
"kindString": "Property",
@@ -25284,14 +25861,14 @@
},
{
"tag": "example",
- "text": "\n```js\nimport { CustomActionPosition, CustomActionTarget } from '@thoughtspot/visual-embed-sdk';\n// Use supported embed types such as AppEmbed or LiveboardEmbed\nconst embed = new LiveboardEmbed('#tsEmbed', {\n ... // other embed config options\n customActions: [\n {\n name: 'customAction', \n id: 'customAction',\n target: CustomActionTarget.VISUALIZATION,\n position: CustomActionPosition.PRIMARY,\n }\n } \n ]\n})\n```\n"
+ "text": "\n```js\nimport { CustomActionPosition, CustomActionTarget } from '@thoughtspot/visual-embed-sdk';\n// Use supported embed types such as AppEmbed or LiveboardEmbed\nconst embed = new LiveboardEmbed('#tsEmbed', {\n ... // other embed config options\n customActions: [\n {\n name: 'customAction',\n id: 'customAction',\n target: CustomActionTarget.VISUALIZATION,\n position: CustomActionPosition.PRIMARY,\n }\n }\n ]\n})\n```\n"
}
]
},
"sources": [
{
"fileName": "types.ts",
- "line": 1086,
+ "line": 1099,
"character": 4
}
],
@@ -25304,12 +25881,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1226,
+ "id": 1301,
"name": "SpotterAgentEmbedViewConfig.customActions"
}
},
{
- "id": 1242,
+ "id": 1320,
"name": "customizations",
"kind": 1024,
"kindString": "Property",
@@ -25332,23 +25909,23 @@
"sources": [
{
"fileName": "types.ts",
- "line": 880,
+ "line": 893,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 2579,
+ "id": 2721,
"name": "CustomisationsInterface"
},
"inheritedFrom": {
"type": "reference",
- "id": 1213,
+ "id": 1288,
"name": "SpotterAgentEmbedViewConfig.customizations"
}
},
{
- "id": 1250,
+ "id": 1328,
"name": "disableRedirectionLinksInNewTab",
"kind": 1024,
"kindString": "Property",
@@ -25372,7 +25949,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 988,
+ "line": 1001,
"character": 4
}
],
@@ -25382,12 +25959,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1221,
+ "id": 1296,
"name": "SpotterAgentEmbedViewConfig.disableRedirectionLinksInNewTab"
}
},
{
- "id": 1234,
+ "id": 1312,
"name": "disabledActionReason",
"kind": 1024,
"kindString": "Property",
@@ -25411,7 +25988,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 795,
+ "line": 808,
"character": 4
}
],
@@ -25421,12 +25998,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1205,
+ "id": 1280,
"name": "SpotterAgentEmbedViewConfig.disabledActionReason"
}
},
{
- "id": 1233,
+ "id": 1311,
"name": "disabledActions",
"kind": 1024,
"kindString": "Property",
@@ -25450,7 +26027,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 779,
+ "line": 792,
"character": 4
}
],
@@ -25458,18 +26035,18 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2048,
+ "id": 2166,
"name": "Action"
}
},
"inheritedFrom": {
"type": "reference",
- "id": 1204,
+ "id": 1279,
"name": "SpotterAgentEmbedViewConfig.disabledActions"
}
},
{
- "id": 1246,
+ "id": 1324,
"name": "doNotTrackPreRenderSize",
"kind": 1024,
"kindString": "Property",
@@ -25496,7 +26073,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 944,
+ "line": 957,
"character": 4
}
],
@@ -25506,12 +26083,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1217,
+ "id": 1292,
"name": "SpotterAgentEmbedViewConfig.doNotTrackPreRenderSize"
}
},
{
- "id": 1247,
+ "id": 1325,
"name": "enableV2Shell_experimental",
"kind": 1024,
"kindString": "Property",
@@ -25535,7 +26112,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 961,
+ "line": 974,
"character": 4
}
],
@@ -25545,12 +26122,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1218,
+ "id": 1293,
"name": "SpotterAgentEmbedViewConfig.enableV2Shell_experimental"
}
},
{
- "id": 1249,
+ "id": 1327,
"name": "exposeTranslationIDs",
"kind": 1024,
"kindString": "Property",
@@ -25573,7 +26150,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 972,
+ "line": 985,
"character": 4
}
],
@@ -25583,12 +26160,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1220,
+ "id": 1295,
"name": "SpotterAgentEmbedViewConfig.exposeTranslationIDs"
}
},
{
- "id": 1230,
+ "id": 1308,
"name": "frameParams",
"kind": 1024,
"kindString": "Property",
@@ -25612,23 +26189,23 @@
"sources": [
{
"fileName": "types.ts",
- "line": 752,
+ "line": 765,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 2538,
+ "id": 2680,
"name": "FrameParams"
},
"inheritedFrom": {
"type": "reference",
- "id": 1201,
+ "id": 1276,
"name": "SpotterAgentEmbedViewConfig.frameParams"
}
},
{
- "id": 1235,
+ "id": 1313,
"name": "hiddenActions",
"kind": 1024,
"kindString": "Property",
@@ -25656,7 +26233,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 813,
+ "line": 826,
"character": 4
}
],
@@ -25664,18 +26241,18 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2048,
+ "id": 2166,
"name": "Action"
}
},
"inheritedFrom": {
"type": "reference",
- "id": 1206,
+ "id": 1281,
"name": "SpotterAgentEmbedViewConfig.hiddenActions"
}
},
{
- "id": 1243,
+ "id": 1321,
"name": "insertAsSibling",
"kind": 1024,
"kindString": "Property",
@@ -25699,7 +26276,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 896,
+ "line": 909,
"character": 4
}
],
@@ -25709,12 +26286,126 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1214,
+ "id": 1289,
"name": "SpotterAgentEmbedViewConfig.insertAsSibling"
}
},
{
- "id": 1252,
+ "id": 1336,
+ "name": "interceptTimeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The timeout for the intercept, default is 30000ms\nthe api will error out if the timeout is reached",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n```js\nconst embed = new LiveboardEmbed('#embed', {\n ...viewConfig,\n enableApiIntercept: true,\n interceptUrls: [InterceptedApiType.ALL],\n interceptTimeout: 1000,\n})\n```\n"
+ },
+ {
+ "tag": "version",
+ "text": "SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6171,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 1304,
+ "name": "SpotterAgentEmbedViewConfig.interceptTimeout"
+ }
+ },
+ {
+ "id": 1335,
+ "name": "interceptUrls",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "This allows to intercept the urls passed, once intercepted the api will only\nrun based on the reponse from the responder of ApiIntercept event.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n```js\nconst embed = new LiveboardEmbed('#embed', {\n ...viewConfig,\n enableApiIntercept: true,\n interceptUrls: [InterceptedApiType.DATA],\n})\n```\n"
+ },
+ {
+ "tag": "version",
+ "text": "SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6154,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 1303,
+ "name": "SpotterAgentEmbedViewConfig.interceptUrls"
+ }
+ },
+ {
+ "id": 1334,
+ "name": "isOnBeforeGetVizDataInterceptEnabled",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Flag that allows using `EmbedEvent.OnBeforeGetVizDataIntercept`.",
+ "text": "Can be used for Serach and App Embed from SDK 1.29.0\n",
+ "tags": [
+ {
+ "tag": "version",
+ "text": "SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6138,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 1302,
+ "name": "SpotterAgentEmbedViewConfig.isOnBeforeGetVizDataInterceptEnabled"
+ }
+ },
+ {
+ "id": 1330,
"name": "linkOverride",
"kind": 1024,
"kindString": "Property",
@@ -25738,7 +26429,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1022,
+ "line": 1035,
"character": 4
}
],
@@ -25748,12 +26439,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1223,
+ "id": 1298,
"name": "SpotterAgentEmbedViewConfig.linkOverride"
}
},
{
- "id": 1237,
+ "id": 1315,
"name": "locale",
"kind": 1024,
"kindString": "Property",
@@ -25777,7 +26468,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 849,
+ "line": 862,
"character": 4
}
],
@@ -25787,12 +26478,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1208,
+ "id": 1283,
"name": "SpotterAgentEmbedViewConfig.locale"
}
},
{
- "id": 1251,
+ "id": 1329,
"name": "overrideOrgId",
"kind": 1024,
"kindString": "Property",
@@ -25816,7 +26507,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1007,
+ "line": 1020,
"character": 4
}
],
@@ -25826,12 +26517,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1222,
+ "id": 1297,
"name": "SpotterAgentEmbedViewConfig.overrideOrgId"
}
},
{
- "id": 1245,
+ "id": 1323,
"name": "preRenderId",
"kind": 1024,
"kindString": "Property",
@@ -25855,7 +26546,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 923,
+ "line": 936,
"character": 4
}
],
@@ -25865,12 +26556,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1216,
+ "id": 1291,
"name": "SpotterAgentEmbedViewConfig.preRenderId"
}
},
{
- "id": 1254,
+ "id": 1332,
"name": "showAlerts",
"kind": 1024,
"kindString": "Property",
@@ -25893,7 +26584,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1058,
+ "line": 1071,
"character": 4
}
],
@@ -25903,12 +26594,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1225,
+ "id": 1300,
"name": "SpotterAgentEmbedViewConfig.showAlerts"
}
},
{
- "id": 1236,
+ "id": 1314,
"name": "visibleActions",
"kind": 1024,
"kindString": "Property",
@@ -25936,7 +26627,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 834,
+ "line": 847,
"character": 4
}
],
@@ -25944,24 +26635,24 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2048,
+ "id": 2166,
"name": "Action"
}
},
"inheritedFrom": {
"type": "reference",
- "id": 1207,
+ "id": 1282,
"name": "SpotterAgentEmbedViewConfig.visibleActions"
}
},
{
- "id": 1228,
+ "id": 1306,
"name": "worksheetId",
"kind": 1024,
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "The ID of the worksheet to use for the conversation."
+ "shortText": "The ID of the Model to use for the conversation."
},
"sources": [
{
@@ -25976,7 +26667,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1199,
+ "id": 1274,
"name": "SpotterAgentEmbedViewConfig.worksheetId"
}
}
@@ -25986,25 +26677,28 @@
"title": "Properties",
"kind": 1024,
"children": [
- 1238,
- 1255,
- 1242,
- 1250,
- 1234,
- 1233,
- 1246,
- 1247,
- 1249,
- 1230,
- 1235,
- 1243,
- 1252,
- 1237,
- 1251,
- 1245,
- 1254,
- 1236,
- 1228
+ 1316,
+ 1333,
+ 1320,
+ 1328,
+ 1312,
+ 1311,
+ 1324,
+ 1325,
+ 1327,
+ 1308,
+ 1313,
+ 1321,
+ 1336,
+ 1335,
+ 1334,
+ 1330,
+ 1315,
+ 1329,
+ 1323,
+ 1332,
+ 1314,
+ 1306
]
}
],
@@ -26018,13 +26712,13 @@
"extendedTypes": [
{
"type": "reference",
- "id": 1198,
+ "id": 1273,
"name": "SpotterAgentEmbedViewConfig"
}
]
},
{
- "id": 1487,
+ "id": 1584,
"name": "ConversationViewConfig",
"kind": 256,
"kindString": "Interface",
@@ -26044,7 +26738,7 @@
},
"children": [
{
- "id": 1508,
+ "id": 1606,
"name": "additionalFlags",
"kind": 1024,
"kindString": "Property",
@@ -26068,27 +26762,27 @@
"sources": [
{
"fileName": "types.ts",
- "line": 873,
+ "line": 886,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 1509,
+ "id": 1607,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 1510,
+ "id": 1608,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 1511,
+ "id": 1609,
"name": "key",
"kind": 32768,
"flags": {},
@@ -26120,12 +26814,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1469,
+ "id": 1563,
"name": "SpotterEmbedViewConfig.additionalFlags"
}
},
{
- "id": 1525,
+ "id": 1623,
"name": "customActions",
"kind": 1024,
"kindString": "Property",
@@ -26142,14 +26836,14 @@
},
{
"tag": "example",
- "text": "\n```js\nimport { CustomActionPosition, CustomActionTarget } from '@thoughtspot/visual-embed-sdk';\n// Use supported embed types such as AppEmbed or LiveboardEmbed\nconst embed = new LiveboardEmbed('#tsEmbed', {\n ... // other embed config options\n customActions: [\n {\n name: 'customAction', \n id: 'customAction',\n target: CustomActionTarget.VISUALIZATION,\n position: CustomActionPosition.PRIMARY,\n }\n } \n ]\n})\n```\n"
+ "text": "\n```js\nimport { CustomActionPosition, CustomActionTarget } from '@thoughtspot/visual-embed-sdk';\n// Use supported embed types such as AppEmbed or LiveboardEmbed\nconst embed = new LiveboardEmbed('#tsEmbed', {\n ... // other embed config options\n customActions: [\n {\n name: 'customAction',\n id: 'customAction',\n target: CustomActionTarget.VISUALIZATION,\n position: CustomActionPosition.PRIMARY,\n }\n }\n ]\n})\n```\n"
}
]
},
"sources": [
{
"fileName": "types.ts",
- "line": 1086,
+ "line": 1099,
"character": 4
}
],
@@ -26162,12 +26856,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1486,
+ "id": 1580,
"name": "SpotterEmbedViewConfig.customActions"
}
},
{
- "id": 1512,
+ "id": 1610,
"name": "customizations",
"kind": 1024,
"kindString": "Property",
@@ -26190,23 +26884,23 @@
"sources": [
{
"fileName": "types.ts",
- "line": 880,
+ "line": 893,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 2579,
+ "id": 2721,
"name": "CustomisationsInterface"
},
"inheritedFrom": {
"type": "reference",
- "id": 1473,
+ "id": 1567,
"name": "SpotterEmbedViewConfig.customizations"
}
},
{
- "id": 1492,
+ "id": 1589,
"name": "dataPanelV2",
"kind": 1024,
"kindString": "Property",
@@ -26223,7 +26917,7 @@
},
{
"tag": "version",
- "text": "SDK: 1.43.0 | ThoughtSpot Cloud: 10.14.0.cl"
+ "text": "SDK: 1.41.1 | ThoughtSpot Cloud: 10.14.0.cl"
},
{
"tag": "example",
@@ -26244,12 +26938,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1453,
+ "id": 1546,
"name": "SpotterEmbedViewConfig.dataPanelV2"
}
},
{
- "id": 1520,
+ "id": 1618,
"name": "disableRedirectionLinksInNewTab",
"kind": 1024,
"kindString": "Property",
@@ -26273,7 +26967,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 988,
+ "line": 1001,
"character": 4
}
],
@@ -26283,12 +26977,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1481,
+ "id": 1575,
"name": "SpotterEmbedViewConfig.disableRedirectionLinksInNewTab"
}
},
{
- "id": 1490,
+ "id": 1587,
"name": "disableSourceSelection",
"kind": 1024,
"kindString": "Property",
@@ -26322,12 +27016,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1451,
+ "id": 1544,
"name": "SpotterEmbedViewConfig.disableSourceSelection"
}
},
{
- "id": 1504,
+ "id": 1602,
"name": "disabledActionReason",
"kind": 1024,
"kindString": "Property",
@@ -26351,7 +27045,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 795,
+ "line": 808,
"character": 4
}
],
@@ -26361,12 +27055,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1465,
+ "id": 1559,
"name": "SpotterEmbedViewConfig.disabledActionReason"
}
},
{
- "id": 1503,
+ "id": 1601,
"name": "disabledActions",
"kind": 1024,
"kindString": "Property",
@@ -26390,7 +27084,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 779,
+ "line": 792,
"character": 4
}
],
@@ -26398,18 +27092,18 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2048,
+ "id": 2166,
"name": "Action"
}
},
"inheritedFrom": {
"type": "reference",
- "id": 1464,
+ "id": 1558,
"name": "SpotterEmbedViewConfig.disabledActions"
}
},
{
- "id": 1516,
+ "id": 1614,
"name": "doNotTrackPreRenderSize",
"kind": 1024,
"kindString": "Property",
@@ -26436,7 +27130,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 944,
+ "line": 957,
"character": 4
}
],
@@ -26446,12 +27140,55 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1477,
+ "id": 1571,
"name": "SpotterEmbedViewConfig.doNotTrackPreRenderSize"
}
},
{
- "id": 1517,
+ "id": 1596,
+ "name": "enablePastConversationsSidebar",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "enablePastConversationsSidebar : Controls the visibility of the past conversations\nsidebar.",
+ "text": "Supported embed types: `SpotterEmbed`",
+ "tags": [
+ {
+ "tag": "default",
+ "text": "false"
+ },
+ {
+ "tag": "example",
+ "text": "\n```js\nconst embed = new SpotterEmbed('#tsEmbed', {\n ... //other embed view config\n enablePastConversationsSidebar : true,\n})\n```"
+ },
+ {
+ "tag": "version",
+ "text": "SDK: 1.43.0 | ThoughtSpot: 10.14.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "embed/conversation.ts",
+ "line": 182,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 1553,
+ "name": "SpotterEmbedViewConfig.enablePastConversationsSidebar"
+ }
+ },
+ {
+ "id": 1615,
"name": "enableV2Shell_experimental",
"kind": 1024,
"kindString": "Property",
@@ -26475,7 +27212,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 961,
+ "line": 974,
"character": 4
}
],
@@ -26485,12 +27222,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1478,
+ "id": 1572,
"name": "SpotterEmbedViewConfig.enableV2Shell_experimental"
}
},
{
- "id": 1496,
+ "id": 1593,
"name": "excludeRuntimeFiltersfromURL",
"kind": 1024,
"kindString": "Property",
@@ -26524,12 +27261,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1457,
+ "id": 1550,
"name": "SpotterEmbedViewConfig.excludeRuntimeFiltersfromURL"
}
},
{
- "id": 1498,
+ "id": 1595,
"name": "excludeRuntimeParametersfromURL",
"kind": 1024,
"kindString": "Property",
@@ -26563,12 +27300,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1459,
+ "id": 1552,
"name": "SpotterEmbedViewConfig.excludeRuntimeParametersfromURL"
}
},
{
- "id": 1519,
+ "id": 1617,
"name": "exposeTranslationIDs",
"kind": 1024,
"kindString": "Property",
@@ -26591,7 +27328,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 972,
+ "line": 985,
"character": 4
}
],
@@ -26601,12 +27338,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1480,
+ "id": 1574,
"name": "SpotterEmbedViewConfig.exposeTranslationIDs"
}
},
{
- "id": 1500,
+ "id": 1598,
"name": "frameParams",
"kind": 1024,
"kindString": "Property",
@@ -26630,23 +27367,23 @@
"sources": [
{
"fileName": "types.ts",
- "line": 752,
+ "line": 765,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 2538,
+ "id": 2680,
"name": "FrameParams"
},
"inheritedFrom": {
"type": "reference",
- "id": 1461,
+ "id": 1555,
"name": "SpotterEmbedViewConfig.frameParams"
}
},
{
- "id": 1505,
+ "id": 1603,
"name": "hiddenActions",
"kind": 1024,
"kindString": "Property",
@@ -26674,7 +27411,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 813,
+ "line": 826,
"character": 4
}
],
@@ -26682,18 +27419,18 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2048,
+ "id": 2166,
"name": "Action"
}
},
"inheritedFrom": {
"type": "reference",
- "id": 1466,
+ "id": 1560,
"name": "SpotterEmbedViewConfig.hiddenActions"
}
},
{
- "id": 1494,
+ "id": 1591,
"name": "hideSampleQuestions",
"kind": 1024,
"kindString": "Property",
@@ -26727,12 +27464,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1455,
+ "id": 1548,
"name": "SpotterEmbedViewConfig.hideSampleQuestions"
}
},
{
- "id": 1491,
+ "id": 1588,
"name": "hideSourceSelection",
"kind": 1024,
"kindString": "Property",
@@ -26766,12 +27503,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1452,
+ "id": 1545,
"name": "SpotterEmbedViewConfig.hideSourceSelection"
}
},
{
- "id": 1513,
+ "id": 1611,
"name": "insertAsSibling",
"kind": 1024,
"kindString": "Property",
@@ -26795,7 +27532,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 896,
+ "line": 909,
"character": 4
}
],
@@ -26805,12 +27542,126 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1474,
+ "id": 1568,
"name": "SpotterEmbedViewConfig.insertAsSibling"
}
},
{
- "id": 1522,
+ "id": 1626,
+ "name": "interceptTimeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The timeout for the intercept, default is 30000ms\nthe api will error out if the timeout is reached",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n```js\nconst embed = new LiveboardEmbed('#embed', {\n ...viewConfig,\n enableApiIntercept: true,\n interceptUrls: [InterceptedApiType.ALL],\n interceptTimeout: 1000,\n})\n```\n"
+ },
+ {
+ "tag": "version",
+ "text": "SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6171,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 1583,
+ "name": "SpotterEmbedViewConfig.interceptTimeout"
+ }
+ },
+ {
+ "id": 1625,
+ "name": "interceptUrls",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "This allows to intercept the urls passed, once intercepted the api will only\nrun based on the reponse from the responder of ApiIntercept event.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n```js\nconst embed = new LiveboardEmbed('#embed', {\n ...viewConfig,\n enableApiIntercept: true,\n interceptUrls: [InterceptedApiType.DATA],\n})\n```\n"
+ },
+ {
+ "tag": "version",
+ "text": "SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6154,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 1582,
+ "name": "SpotterEmbedViewConfig.interceptUrls"
+ }
+ },
+ {
+ "id": 1624,
+ "name": "isOnBeforeGetVizDataInterceptEnabled",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Flag that allows using `EmbedEvent.OnBeforeGetVizDataIntercept`.",
+ "text": "Can be used for Serach and App Embed from SDK 1.29.0\n",
+ "tags": [
+ {
+ "tag": "version",
+ "text": "SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6138,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 1581,
+ "name": "SpotterEmbedViewConfig.isOnBeforeGetVizDataInterceptEnabled"
+ }
+ },
+ {
+ "id": 1620,
"name": "linkOverride",
"kind": 1024,
"kindString": "Property",
@@ -26834,7 +27685,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1022,
+ "line": 1035,
"character": 4
}
],
@@ -26844,12 +27695,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1483,
+ "id": 1577,
"name": "SpotterEmbedViewConfig.linkOverride"
}
},
{
- "id": 1507,
+ "id": 1605,
"name": "locale",
"kind": 1024,
"kindString": "Property",
@@ -26873,7 +27724,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 849,
+ "line": 862,
"character": 4
}
],
@@ -26883,12 +27734,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1468,
+ "id": 1562,
"name": "SpotterEmbedViewConfig.locale"
}
},
{
- "id": 1521,
+ "id": 1619,
"name": "overrideOrgId",
"kind": 1024,
"kindString": "Property",
@@ -26912,7 +27763,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1007,
+ "line": 1020,
"character": 4
}
],
@@ -26922,12 +27773,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1482,
+ "id": 1576,
"name": "SpotterEmbedViewConfig.overrideOrgId"
}
},
{
- "id": 1515,
+ "id": 1613,
"name": "preRenderId",
"kind": 1024,
"kindString": "Property",
@@ -26951,7 +27802,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 923,
+ "line": 936,
"character": 4
}
],
@@ -26961,12 +27812,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1476,
+ "id": 1570,
"name": "SpotterEmbedViewConfig.preRenderId"
}
},
{
- "id": 1495,
+ "id": 1592,
"name": "runtimeFilters",
"kind": 1024,
"kindString": "Property",
@@ -26998,18 +27849,18 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 1861,
+ "id": 1974,
"name": "RuntimeFilter"
}
},
"inheritedFrom": {
"type": "reference",
- "id": 1456,
+ "id": 1549,
"name": "SpotterEmbedViewConfig.runtimeFilters"
}
},
{
- "id": 1497,
+ "id": 1594,
"name": "runtimeParameters",
"kind": 1024,
"kindString": "Property",
@@ -27041,18 +27892,18 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2773,
+ "id": 2904,
"name": "RuntimeParameter"
}
},
"inheritedFrom": {
"type": "reference",
- "id": 1458,
+ "id": 1551,
"name": "SpotterEmbedViewConfig.runtimeParameters"
}
},
{
- "id": 1489,
+ "id": 1586,
"name": "searchOptions",
"kind": 1024,
"kindString": "Property",
@@ -27075,12 +27926,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1450,
+ "id": 1543,
"name": "SpotterEmbedViewConfig.searchOptions"
}
},
{
- "id": 1524,
+ "id": 1622,
"name": "showAlerts",
"kind": 1024,
"kindString": "Property",
@@ -27103,7 +27954,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1058,
+ "line": 1071,
"character": 4
}
],
@@ -27113,12 +27964,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1485,
+ "id": 1579,
"name": "SpotterEmbedViewConfig.showAlerts"
}
},
{
- "id": 1493,
+ "id": 1590,
"name": "showSpotterLimitations",
"kind": 1024,
"kindString": "Property",
@@ -27152,12 +28003,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1454,
+ "id": 1547,
"name": "SpotterEmbedViewConfig.showSpotterLimitations"
}
},
{
- "id": 1506,
+ "id": 1604,
"name": "visibleActions",
"kind": 1024,
"kindString": "Property",
@@ -27185,7 +28036,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 834,
+ "line": 847,
"character": 4
}
],
@@ -27193,18 +28044,18 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2048,
+ "id": 2166,
"name": "Action"
}
},
"inheritedFrom": {
"type": "reference",
- "id": 1467,
+ "id": 1561,
"name": "SpotterEmbedViewConfig.visibleActions"
}
},
{
- "id": 1488,
+ "id": 1585,
"name": "worksheetId",
"kind": 1024,
"kindString": "Property",
@@ -27225,7 +28076,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 1449,
+ "id": 1542,
"name": "SpotterEmbedViewConfig.worksheetId"
}
}
@@ -27235,55 +28086,59 @@
"title": "Properties",
"kind": 1024,
"children": [
- 1508,
- 1525,
- 1512,
- 1492,
- 1520,
- 1490,
- 1504,
- 1503,
- 1516,
- 1517,
- 1496,
- 1498,
- 1519,
- 1500,
- 1505,
- 1494,
- 1491,
- 1513,
- 1522,
- 1507,
- 1521,
- 1515,
- 1495,
- 1497,
- 1489,
- 1524,
- 1493,
- 1506,
- 1488
+ 1606,
+ 1623,
+ 1610,
+ 1589,
+ 1618,
+ 1587,
+ 1602,
+ 1601,
+ 1614,
+ 1596,
+ 1615,
+ 1593,
+ 1595,
+ 1617,
+ 1598,
+ 1603,
+ 1591,
+ 1588,
+ 1611,
+ 1626,
+ 1625,
+ 1624,
+ 1620,
+ 1605,
+ 1619,
+ 1613,
+ 1592,
+ 1594,
+ 1586,
+ 1622,
+ 1590,
+ 1604,
+ 1585
]
}
],
"sources": [
{
"fileName": "embed/conversation.ts",
- "line": 176,
+ "line": 192,
"character": 17
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 1448,
+ "id": 1541,
"name": "SpotterEmbedViewConfig"
}
]
},
{
- "id": 2814,
+ "id": 2945,
"name": "CustomActionPayload",
"kind": 256,
"kindString": "Interface",
@@ -27298,7 +28153,7 @@
},
"children": [
{
- "id": 2815,
+ "id": 2946,
"name": "contextMenuPoints",
"kind": 1024,
"kindString": "Property",
@@ -27308,21 +28163,21 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5694,
+ "line": 5952,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 2816,
+ "id": 2947,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 2817,
+ "id": 2948,
"name": "clickedPoint",
"kind": 1024,
"kindString": "Property",
@@ -27330,18 +28185,18 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5695,
+ "line": 5953,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 2811,
+ "id": 2942,
"name": "VizPoint"
}
},
{
- "id": 2818,
+ "id": 2949,
"name": "selectedPoints",
"kind": 1024,
"kindString": "Property",
@@ -27349,7 +28204,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5696,
+ "line": 5954,
"character": 8
}
],
@@ -27357,7 +28212,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2811,
+ "id": 2942,
"name": "VizPoint"
}
}
@@ -27368,8 +28223,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 2817,
- 2818
+ 2948,
+ 2949
]
}
]
@@ -27377,7 +28232,7 @@
}
},
{
- "id": 2819,
+ "id": 2950,
"name": "embedAnswerData",
"kind": 1024,
"kindString": "Property",
@@ -27385,21 +28240,21 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5698,
+ "line": 5956,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 2820,
+ "id": 2951,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 2828,
+ "id": 2959,
"name": "columns",
"kind": 1024,
"kindString": "Property",
@@ -27407,7 +28262,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5706,
+ "line": 5964,
"character": 8
}
],
@@ -27420,7 +28275,7 @@
}
},
{
- "id": 2829,
+ "id": 2960,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -27428,7 +28283,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5707,
+ "line": 5965,
"character": 8
}
],
@@ -27441,7 +28296,7 @@
}
},
{
- "id": 2822,
+ "id": 2953,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -27449,7 +28304,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5700,
+ "line": 5958,
"character": 8
}
],
@@ -27459,7 +28314,7 @@
}
},
{
- "id": 2821,
+ "id": 2952,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -27467,7 +28322,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5699,
+ "line": 5957,
"character": 8
}
],
@@ -27477,7 +28332,7 @@
}
},
{
- "id": 2823,
+ "id": 2954,
"name": "sources",
"kind": 1024,
"kindString": "Property",
@@ -27485,21 +28340,21 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5701,
+ "line": 5959,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 2824,
+ "id": 2955,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 2825,
+ "id": 2956,
"name": "header",
"kind": 1024,
"kindString": "Property",
@@ -27507,21 +28362,21 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5702,
+ "line": 5960,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 2826,
+ "id": 2957,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 2827,
+ "id": 2958,
"name": "guid",
"kind": 1024,
"kindString": "Property",
@@ -27529,7 +28384,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5703,
+ "line": 5961,
"character": 16
}
],
@@ -27544,7 +28399,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 2827
+ 2958
]
}
]
@@ -27557,7 +28412,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 2825
+ 2956
]
}
]
@@ -27570,23 +28425,23 @@
"title": "Properties",
"kind": 1024,
"children": [
- 2828,
- 2829,
- 2822,
- 2821,
- 2823
+ 2959,
+ 2960,
+ 2953,
+ 2952,
+ 2954
]
}
],
"indexSignature": {
- "id": 2830,
+ "id": 2961,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 2831,
+ "id": 2962,
"name": "key",
"kind": 32768,
"flags": {},
@@ -27605,7 +28460,7 @@
}
},
{
- "id": 2832,
+ "id": 2963,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -27613,18 +28468,18 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5710,
+ "line": 5968,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 1830,
+ "id": 1943,
"name": "SessionInterface"
}
},
{
- "id": 2833,
+ "id": 2964,
"name": "vizId",
"kind": 1024,
"kindString": "Property",
@@ -27634,7 +28489,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5711,
+ "line": 5969,
"character": 4
}
],
@@ -27649,23 +28504,23 @@
"title": "Properties",
"kind": 1024,
"children": [
- 2815,
- 2819,
- 2832,
- 2833
+ 2946,
+ 2950,
+ 2963,
+ 2964
]
}
],
"sources": [
{
"fileName": "types.ts",
- "line": 5693,
+ "line": 5951,
"character": 17
}
]
},
{
- "id": 2601,
+ "id": 2743,
"name": "CustomCssVariables",
"kind": 256,
"kindString": "Interface",
@@ -27675,7 +28530,7 @@
},
"children": [
{
- "id": 2655,
+ "id": 2797,
"name": "--ts-var-answer-chart-hover-background",
"kind": 1024,
"kindString": "Property",
@@ -27688,7 +28543,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 291,
+ "line": 292,
"character": 4
}
],
@@ -27698,7 +28553,7 @@
}
},
{
- "id": 2654,
+ "id": 2796,
"name": "--ts-var-answer-chart-select-background",
"kind": 1024,
"kindString": "Property",
@@ -27711,7 +28566,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 285,
+ "line": 286,
"character": 4
}
],
@@ -27721,7 +28576,7 @@
}
},
{
- "id": 2624,
+ "id": 2766,
"name": "--ts-var-answer-data-panel-background-color",
"kind": 1024,
"kindString": "Property",
@@ -27734,7 +28589,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 127,
+ "line": 128,
"character": 4
}
],
@@ -27744,7 +28599,7 @@
}
},
{
- "id": 2625,
+ "id": 2767,
"name": "--ts-var-answer-edit-panel-background-color",
"kind": 1024,
"kindString": "Property",
@@ -27757,7 +28612,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 133,
+ "line": 134,
"character": 4
}
],
@@ -27767,7 +28622,7 @@
}
},
{
- "id": 2627,
+ "id": 2769,
"name": "--ts-var-answer-view-table-chart-switcher-active-background",
"kind": 1024,
"kindString": "Property",
@@ -27780,7 +28635,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 143,
+ "line": 144,
"character": 4
}
],
@@ -27790,7 +28645,7 @@
}
},
{
- "id": 2626,
+ "id": 2768,
"name": "--ts-var-answer-view-table-chart-switcher-background",
"kind": 1024,
"kindString": "Property",
@@ -27803,7 +28658,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 138,
+ "line": 139,
"character": 4
}
],
@@ -27813,7 +28668,7 @@
}
},
{
- "id": 2606,
+ "id": 2748,
"name": "--ts-var-application-color",
"kind": 1024,
"kindString": "Property",
@@ -27821,12 +28676,12 @@
"isOptional": true
},
"comment": {
- "shortText": "Font color of the text on toggle buttons such as\n**All**, **Answers**, and **Liveboards** on the Home page (Classic experience),\nthe text color of the chart and table tiles on Home page (New modular Homepage\nexperience), and title text on the AI-generated charts and tables.\nThe default color code is #2770EF."
+ "shortText": "Font color of the text on toggle buttons such as\n**All**, **Answers**, and **Liveboards** on the Home page (Classic experience),\nthe text color of the chart and table tiles on Home page (New modular Homepage\nexperience), title text on the AI-generated charts and tables, and object titles on\nlist pages such as *Liveboards* and *Answers*.\nThe default color code is #2770EF."
},
"sources": [
{
"fileName": "css-variables.ts",
- "line": 34,
+ "line": 35,
"character": 4
}
],
@@ -27836,7 +28691,7 @@
}
},
{
- "id": 2667,
+ "id": 2809,
"name": "--ts-var-axis-data-label-color",
"kind": 1024,
"kindString": "Property",
@@ -27849,7 +28704,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 351,
+ "line": 352,
"character": 4
}
],
@@ -27859,7 +28714,7 @@
}
},
{
- "id": 2668,
+ "id": 2810,
"name": "--ts-var-axis-data-label-font-family",
"kind": 1024,
"kindString": "Property",
@@ -27872,7 +28727,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 356,
+ "line": 357,
"character": 4
}
],
@@ -27882,7 +28737,7 @@
}
},
{
- "id": 2665,
+ "id": 2807,
"name": "--ts-var-axis-title-color",
"kind": 1024,
"kindString": "Property",
@@ -27895,7 +28750,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 341,
+ "line": 342,
"character": 4
}
],
@@ -27905,7 +28760,7 @@
}
},
{
- "id": 2666,
+ "id": 2808,
"name": "--ts-var-axis-title-font-family",
"kind": 1024,
"kindString": "Property",
@@ -27918,7 +28773,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 346,
+ "line": 347,
"character": 4
}
],
@@ -27928,7 +28783,7 @@
}
},
{
- "id": 2629,
+ "id": 2771,
"name": "--ts-var-button--icon-border-radius",
"kind": 1024,
"kindString": "Property",
@@ -27941,7 +28796,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 155,
+ "line": 156,
"character": 4
}
],
@@ -27951,7 +28806,7 @@
}
},
{
- "id": 2634,
+ "id": 2776,
"name": "--ts-var-button--primary--active-background",
"kind": 1024,
"kindString": "Property",
@@ -27964,7 +28819,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 182,
+ "line": 183,
"character": 4
}
],
@@ -27974,7 +28829,7 @@
}
},
{
- "id": 2631,
+ "id": 2773,
"name": "--ts-var-button--primary--font-family",
"kind": 1024,
"kindString": "Property",
@@ -27987,7 +28842,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 166,
+ "line": 167,
"character": 4
}
],
@@ -27997,7 +28852,7 @@
}
},
{
- "id": 2633,
+ "id": 2775,
"name": "--ts-var-button--primary--hover-background",
"kind": 1024,
"kindString": "Property",
@@ -28010,7 +28865,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 177,
+ "line": 178,
"character": 4
}
],
@@ -28020,7 +28875,7 @@
}
},
{
- "id": 2632,
+ "id": 2774,
"name": "--ts-var-button--primary-background",
"kind": 1024,
"kindString": "Property",
@@ -28033,7 +28888,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 172,
+ "line": 173,
"character": 4
}
],
@@ -28043,7 +28898,7 @@
}
},
{
- "id": 2630,
+ "id": 2772,
"name": "--ts-var-button--primary-color",
"kind": 1024,
"kindString": "Property",
@@ -28056,7 +28911,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 161,
+ "line": 162,
"character": 4
}
],
@@ -28066,7 +28921,7 @@
}
},
{
- "id": 2639,
+ "id": 2781,
"name": "--ts-var-button--secondary--active-background",
"kind": 1024,
"kindString": "Property",
@@ -28079,7 +28934,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 207,
+ "line": 208,
"character": 4
}
],
@@ -28089,7 +28944,7 @@
}
},
{
- "id": 2636,
+ "id": 2778,
"name": "--ts-var-button--secondary--font-family",
"kind": 1024,
"kindString": "Property",
@@ -28102,7 +28957,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 192,
+ "line": 193,
"character": 4
}
],
@@ -28112,7 +28967,7 @@
}
},
{
- "id": 2638,
+ "id": 2780,
"name": "--ts-var-button--secondary--hover-background",
"kind": 1024,
"kindString": "Property",
@@ -28125,7 +28980,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 202,
+ "line": 203,
"character": 4
}
],
@@ -28135,7 +28990,7 @@
}
},
{
- "id": 2637,
+ "id": 2779,
"name": "--ts-var-button--secondary-background",
"kind": 1024,
"kindString": "Property",
@@ -28148,7 +29003,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 197,
+ "line": 198,
"character": 4
}
],
@@ -28158,7 +29013,7 @@
}
},
{
- "id": 2635,
+ "id": 2777,
"name": "--ts-var-button--secondary-color",
"kind": 1024,
"kindString": "Property",
@@ -28171,7 +29026,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 187,
+ "line": 188,
"character": 4
}
],
@@ -28181,7 +29036,7 @@
}
},
{
- "id": 2643,
+ "id": 2785,
"name": "--ts-var-button--tertiary--active-background",
"kind": 1024,
"kindString": "Property",
@@ -28194,7 +29049,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 228,
+ "line": 229,
"character": 4
}
],
@@ -28204,7 +29059,7 @@
}
},
{
- "id": 2642,
+ "id": 2784,
"name": "--ts-var-button--tertiary--hover-background",
"kind": 1024,
"kindString": "Property",
@@ -28217,7 +29072,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 223,
+ "line": 224,
"character": 4
}
],
@@ -28227,7 +29082,7 @@
}
},
{
- "id": 2641,
+ "id": 2783,
"name": "--ts-var-button--tertiary-background",
"kind": 1024,
"kindString": "Property",
@@ -28240,7 +29095,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 218,
+ "line": 219,
"character": 4
}
],
@@ -28250,7 +29105,7 @@
}
},
{
- "id": 2640,
+ "id": 2782,
"name": "--ts-var-button--tertiary-color",
"kind": 1024,
"kindString": "Property",
@@ -28263,7 +29118,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 213,
+ "line": 214,
"character": 4
}
],
@@ -28273,7 +29128,7 @@
}
},
{
- "id": 2628,
+ "id": 2770,
"name": "--ts-var-button-border-radius",
"kind": 1024,
"kindString": "Property",
@@ -28286,7 +29141,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 149,
+ "line": 150,
"character": 4
}
],
@@ -28296,7 +29151,7 @@
}
},
{
- "id": 2772,
+ "id": 2903,
"name": "--ts-var-cca-modal-summary-header-background",
"kind": 1024,
"kindString": "Property",
@@ -28309,7 +29164,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 869,
+ "line": 849,
"character": 4
}
],
@@ -28319,7 +29174,7 @@
}
},
{
- "id": 2767,
+ "id": 2898,
"name": "--ts-var-change-analysis-insights-background",
"kind": 1024,
"kindString": "Property",
@@ -28332,7 +29187,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 844,
+ "line": 824,
"character": 4
}
],
@@ -28342,7 +29197,7 @@
}
},
{
- "id": 2762,
+ "id": 2893,
"name": "--ts-var-chart-heatmap-legend-label-color",
"kind": 1024,
"kindString": "Property",
@@ -28355,7 +29210,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 819,
+ "line": 799,
"character": 4
}
],
@@ -28365,7 +29220,7 @@
}
},
{
- "id": 2761,
+ "id": 2892,
"name": "--ts-var-chart-heatmap-legend-title-color",
"kind": 1024,
"kindString": "Property",
@@ -28378,7 +29233,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 814,
+ "line": 794,
"character": 4
}
],
@@ -28388,7 +29243,7 @@
}
},
{
- "id": 2764,
+ "id": 2895,
"name": "--ts-var-chart-treemap-legend-label-color",
"kind": 1024,
"kindString": "Property",
@@ -28401,7 +29256,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 829,
+ "line": 809,
"character": 4
}
],
@@ -28411,7 +29266,7 @@
}
},
{
- "id": 2763,
+ "id": 2894,
"name": "--ts-var-chart-treemap-legend-title-color",
"kind": 1024,
"kindString": "Property",
@@ -28424,7 +29279,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 824,
+ "line": 804,
"character": 4
}
],
@@ -28434,7 +29289,7 @@
}
},
{
- "id": 2690,
+ "id": 2832,
"name": "--ts-var-checkbox-active-color",
"kind": 1024,
"kindString": "Property",
@@ -28447,7 +29302,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 462,
+ "line": 463,
"character": 4
}
],
@@ -28457,7 +29312,7 @@
}
},
{
- "id": 2693,
+ "id": 2835,
"name": "--ts-var-checkbox-background-color",
"kind": 1024,
"kindString": "Property",
@@ -28470,7 +29325,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 474,
+ "line": 475,
"character": 4
}
],
@@ -28480,7 +29335,7 @@
}
},
{
- "id": 2688,
+ "id": 2830,
"name": "--ts-var-checkbox-border-color",
"kind": 1024,
"kindString": "Property",
@@ -28493,7 +29348,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 454,
+ "line": 455,
"character": 4
}
],
@@ -28503,7 +29358,7 @@
}
},
{
- "id": 2691,
+ "id": 2833,
"name": "--ts-var-checkbox-checked-color",
"kind": 1024,
"kindString": "Property",
@@ -28516,7 +29371,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 466,
+ "line": 467,
"character": 4
}
],
@@ -28526,7 +29381,7 @@
}
},
{
- "id": 2692,
+ "id": 2834,
"name": "--ts-var-checkbox-checked-disabled",
"kind": 1024,
"kindString": "Property",
@@ -28539,7 +29394,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 470,
+ "line": 471,
"character": 4
}
],
@@ -28549,7 +29404,7 @@
}
},
{
- "id": 2687,
+ "id": 2829,
"name": "--ts-var-checkbox-error-border",
"kind": 1024,
"kindString": "Property",
@@ -28562,7 +29417,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 450,
+ "line": 451,
"character": 4
}
],
@@ -28572,7 +29427,7 @@
}
},
{
- "id": 2689,
+ "id": 2831,
"name": "--ts-var-checkbox-hover-border",
"kind": 1024,
"kindString": "Property",
@@ -28585,7 +29440,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 458,
+ "line": 459,
"character": 4
}
],
@@ -28595,7 +29450,7 @@
}
},
{
- "id": 2660,
+ "id": 2802,
"name": "--ts-var-chip--active-background",
"kind": 1024,
"kindString": "Property",
@@ -28608,7 +29463,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 316,
+ "line": 317,
"character": 4
}
],
@@ -28618,7 +29473,7 @@
}
},
{
- "id": 2659,
+ "id": 2801,
"name": "--ts-var-chip--active-color",
"kind": 1024,
"kindString": "Property",
@@ -28631,7 +29486,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 311,
+ "line": 312,
"character": 4
}
],
@@ -28641,7 +29496,7 @@
}
},
{
- "id": 2662,
+ "id": 2804,
"name": "--ts-var-chip--hover-background",
"kind": 1024,
"kindString": "Property",
@@ -28654,7 +29509,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 326,
+ "line": 327,
"character": 4
}
],
@@ -28664,7 +29519,7 @@
}
},
{
- "id": 2661,
+ "id": 2803,
"name": "--ts-var-chip--hover-color",
"kind": 1024,
"kindString": "Property",
@@ -28677,7 +29532,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 321,
+ "line": 322,
"character": 4
}
],
@@ -28687,7 +29542,7 @@
}
},
{
- "id": 2658,
+ "id": 2800,
"name": "--ts-var-chip-background",
"kind": 1024,
"kindString": "Property",
@@ -28700,7 +29555,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 306,
+ "line": 307,
"character": 4
}
],
@@ -28710,7 +29565,7 @@
}
},
{
- "id": 2656,
+ "id": 2798,
"name": "--ts-var-chip-border-radius",
"kind": 1024,
"kindString": "Property",
@@ -28723,7 +29578,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 296,
+ "line": 297,
"character": 4
}
],
@@ -28733,7 +29588,7 @@
}
},
{
- "id": 2657,
+ "id": 2799,
"name": "--ts-var-chip-box-shadow",
"kind": 1024,
"kindString": "Property",
@@ -28746,7 +29601,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 301,
+ "line": 302,
"character": 4
}
],
@@ -28756,7 +29611,7 @@
}
},
{
- "id": 2663,
+ "id": 2805,
"name": "--ts-var-chip-color",
"kind": 1024,
"kindString": "Property",
@@ -28769,7 +29624,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 331,
+ "line": 332,
"character": 4
}
],
@@ -28779,7 +29634,7 @@
}
},
{
- "id": 2664,
+ "id": 2806,
"name": "--ts-var-chip-title-font-family",
"kind": 1024,
"kindString": "Property",
@@ -28792,7 +29647,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 336,
+ "line": 337,
"character": 4
}
],
@@ -28802,7 +29657,7 @@
}
},
{
- "id": 2675,
+ "id": 2817,
"name": "--ts-var-dialog-body-background",
"kind": 1024,
"kindString": "Property",
@@ -28815,7 +29670,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 391,
+ "line": 392,
"character": 4
}
],
@@ -28825,7 +29680,7 @@
}
},
{
- "id": 2676,
+ "id": 2818,
"name": "--ts-var-dialog-body-color",
"kind": 1024,
"kindString": "Property",
@@ -28838,7 +29693,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 396,
+ "line": 397,
"character": 4
}
],
@@ -28848,7 +29703,7 @@
}
},
{
- "id": 2679,
+ "id": 2821,
"name": "--ts-var-dialog-footer-background",
"kind": 1024,
"kindString": "Property",
@@ -28861,7 +29716,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 411,
+ "line": 412,
"character": 4
}
],
@@ -28871,7 +29726,7 @@
}
},
{
- "id": 2677,
+ "id": 2819,
"name": "--ts-var-dialog-header-background",
"kind": 1024,
"kindString": "Property",
@@ -28884,7 +29739,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 401,
+ "line": 402,
"character": 4
}
],
@@ -28894,7 +29749,7 @@
}
},
{
- "id": 2678,
+ "id": 2820,
"name": "--ts-var-dialog-header-color",
"kind": 1024,
"kindString": "Property",
@@ -28907,7 +29762,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 406,
+ "line": 407,
"character": 4
}
],
@@ -28917,7 +29772,7 @@
}
},
{
- "id": 2686,
+ "id": 2828,
"name": "--ts-var-home-favorite-suggestion-card-background",
"kind": 1024,
"kindString": "Property",
@@ -28930,7 +29785,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 446,
+ "line": 447,
"character": 4
}
],
@@ -28940,7 +29795,7 @@
}
},
{
- "id": 2685,
+ "id": 2827,
"name": "--ts-var-home-favorite-suggestion-card-icon-color",
"kind": 1024,
"kindString": "Property",
@@ -28953,7 +29808,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 441,
+ "line": 442,
"character": 4
}
],
@@ -28963,7 +29818,7 @@
}
},
{
- "id": 2684,
+ "id": 2826,
"name": "--ts-var-home-favorite-suggestion-card-text-color",
"kind": 1024,
"kindString": "Property",
@@ -28976,7 +29831,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 436,
+ "line": 437,
"character": 4
}
],
@@ -28986,7 +29841,7 @@
}
},
{
- "id": 2683,
+ "id": 2825,
"name": "--ts-var-home-watchlist-selected-text-color",
"kind": 1024,
"kindString": "Property",
@@ -28999,7 +29854,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 431,
+ "line": 432,
"character": 4
}
],
@@ -29009,7 +29864,7 @@
}
},
{
- "id": 2760,
+ "id": 2891,
"name": "--ts-var-kpi-analyze-text-color",
"kind": 1024,
"kindString": "Property",
@@ -29022,7 +29877,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 809,
+ "line": 789,
"character": 4
}
],
@@ -29032,7 +29887,7 @@
}
},
{
- "id": 2759,
+ "id": 2890,
"name": "--ts-var-kpi-comparison-color",
"kind": 1024,
"kindString": "Property",
@@ -29045,7 +29900,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 804,
+ "line": 784,
"character": 4
}
],
@@ -29055,7 +29910,7 @@
}
},
{
- "id": 2758,
+ "id": 2889,
"name": "--ts-var-kpi-hero-color",
"kind": 1024,
"kindString": "Property",
@@ -29068,7 +29923,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 799,
+ "line": 779,
"character": 4
}
],
@@ -29078,7 +29933,7 @@
}
},
{
- "id": 2766,
+ "id": 2897,
"name": "--ts-var-kpi-negative-change-color",
"kind": 1024,
"kindString": "Property",
@@ -29091,7 +29946,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 839,
+ "line": 819,
"character": 4
}
],
@@ -29101,7 +29956,7 @@
}
},
{
- "id": 2765,
+ "id": 2896,
"name": "--ts-var-kpi-positive-change-color",
"kind": 1024,
"kindString": "Property",
@@ -29114,7 +29969,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 834,
+ "line": 814,
"character": 4
}
],
@@ -29124,7 +29979,7 @@
}
},
{
- "id": 2681,
+ "id": 2823,
"name": "--ts-var-list-hover-background",
"kind": 1024,
"kindString": "Property",
@@ -29137,7 +29992,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 421,
+ "line": 422,
"character": 4
}
],
@@ -29147,7 +30002,7 @@
}
},
{
- "id": 2680,
+ "id": 2822,
"name": "--ts-var-list-selected-background",
"kind": 1024,
"kindString": "Property",
@@ -29160,7 +30015,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 416,
+ "line": 417,
"character": 4
}
],
@@ -29170,7 +30025,7 @@
}
},
{
- "id": 2716,
+ "id": 2850,
"name": "--ts-var-liveboard-answer-viz-padding",
"kind": 1024,
"kindString": "Property",
@@ -29183,7 +30038,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 589,
+ "line": 562,
"character": 4
}
],
@@ -29193,7 +30048,7 @@
}
},
{
- "id": 2729,
+ "id": 2863,
"name": "--ts-var-liveboard-chip--active-background",
"kind": 1024,
"kindString": "Property",
@@ -29201,35 +30056,13 @@
"isOptional": true
},
"comment": {
- "shortText": "Background color of the chips in the Liveboard on active."
+ "shortText": "Background color of the filter chips in the Liveboard on active.",
+ "text": "Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.\n"
},
"sources": [
{
"fileName": "css-variables.ts",
- "line": 654,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 2730,
- "name": "--ts-var-liveboard-chip--active-color",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Font color of the chips in the Liveboard on active."
- },
- "sources": [
- {
- "fileName": "css-variables.ts",
- "line": 659,
+ "line": 649,
"character": 4
}
],
@@ -29239,7 +30072,7 @@
}
},
{
- "id": 2727,
+ "id": 2862,
"name": "--ts-var-liveboard-chip--hover-background",
"kind": 1024,
"kindString": "Property",
@@ -29247,35 +30080,13 @@
"isOptional": true
},
"comment": {
- "shortText": "Background color of the chips in the Liveboard on hover."
- },
- "sources": [
- {
- "fileName": "css-variables.ts",
- "line": 644,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 2728,
- "name": "--ts-var-liveboard-chip--hover-color",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Font color of the chips in the Liveboard on hover."
+ "shortText": "Background color of the filter chips in the Liveboard on hover.",
+ "text": "Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.\n"
},
"sources": [
{
"fileName": "css-variables.ts",
- "line": 649,
+ "line": 642,
"character": 4
}
],
@@ -29285,7 +30096,7 @@
}
},
{
- "id": 2725,
+ "id": 2860,
"name": "--ts-var-liveboard-chip-background",
"kind": 1024,
"kindString": "Property",
@@ -29293,12 +30104,13 @@
"isOptional": true
},
"comment": {
- "shortText": "Background color of the chips in the Liveboard."
+ "shortText": "Background color of the filter chips in the Liveboard.",
+ "text": "Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.\n"
},
"sources": [
{
"fileName": "css-variables.ts",
- "line": 634,
+ "line": 628,
"character": 4
}
],
@@ -29308,7 +30120,7 @@
}
},
{
- "id": 2726,
+ "id": 2861,
"name": "--ts-var-liveboard-chip-color",
"kind": 1024,
"kindString": "Property",
@@ -29316,12 +30128,13 @@
"isOptional": true
},
"comment": {
- "shortText": "Font color of the chips in the Liveboard."
+ "shortText": "Font color of the filter chips in the Liveboard.",
+ "text": "Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.\n"
},
"sources": [
{
"fileName": "css-variables.ts",
- "line": 639,
+ "line": 635,
"character": 4
}
],
@@ -29331,7 +30144,7 @@
}
},
{
- "id": 2735,
+ "id": 2868,
"name": "--ts-var-liveboard-cross-filter-layout-background",
"kind": 1024,
"kindString": "Property",
@@ -29344,7 +30157,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 684,
+ "line": 674,
"character": 4
}
],
@@ -29354,7 +30167,7 @@
}
},
{
- "id": 2733,
+ "id": 2866,
"name": "--ts-var-liveboard-dual-column-breakpoint",
"kind": 1024,
"kindString": "Property",
@@ -29367,7 +30180,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 674,
+ "line": 664,
"character": 4
}
],
@@ -29377,7 +30190,7 @@
}
},
{
- "id": 2732,
+ "id": 2865,
"name": "--ts-var-liveboard-edit-bar-background",
"kind": 1024,
"kindString": "Property",
@@ -29390,7 +30203,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 669,
+ "line": 659,
"character": 4
}
],
@@ -29400,7 +30213,7 @@
}
},
{
- "id": 2717,
+ "id": 2851,
"name": "--ts-var-liveboard-group-background",
"kind": 1024,
"kindString": "Property",
@@ -29408,12 +30221,13 @@
"isOptional": true
},
"comment": {
- "shortText": "Background color of the groups in the Liveboard."
+ "shortText": "Background color of the groups in the Liveboard.",
+ "text": "Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.\n"
},
"sources": [
{
"fileName": "css-variables.ts",
- "line": 594,
+ "line": 569,
"character": 4
}
],
@@ -29423,7 +30237,7 @@
}
},
{
- "id": 2718,
+ "id": 2852,
"name": "--ts-var-liveboard-group-border-color",
"kind": 1024,
"kindString": "Property",
@@ -29431,12 +30245,13 @@
"isOptional": true
},
"comment": {
- "shortText": "Border color of the groups in the Liveboard."
+ "shortText": "Border color of the groups in the Liveboard.",
+ "text": "Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.\n"
},
"sources": [
{
"fileName": "css-variables.ts",
- "line": 599,
+ "line": 576,
"character": 4
}
],
@@ -29446,7 +30261,7 @@
}
},
{
- "id": 2722,
+ "id": 2856,
"name": "--ts-var-liveboard-group-description-font-color",
"kind": 1024,
"kindString": "Property",
@@ -29454,58 +30269,13 @@
"isOptional": true
},
"comment": {
- "shortText": "Font color of the description of the groups in the Liveboard."
- },
- "sources": [
- {
- "fileName": "css-variables.ts",
- "line": 619,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 2712,
- "name": "--ts-var-liveboard-group-description-font-size",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Font size of the description of the groups in the Liveboard."
- },
- "sources": [
- {
- "fileName": "css-variables.ts",
- "line": 569,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 2713,
- "name": "--ts-var-liveboard-group-description-font-weight",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Font weight of the description of the groups in the Liveboard."
+ "shortText": "Font color of the description of the groups in the Liveboard.",
+ "text": "Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.\n"
},
"sources": [
{
"fileName": "css-variables.ts",
- "line": 574,
+ "line": 600,
"character": 4
}
],
@@ -29515,7 +30285,7 @@
}
},
{
- "id": 2706,
+ "id": 2844,
"name": "--ts-var-liveboard-group-padding",
"kind": 1024,
"kindString": "Property",
@@ -29523,12 +30293,13 @@
"isOptional": true
},
"comment": {
- "shortText": "Padding of the groups in the Liveboard."
+ "shortText": "Padding of the groups in the Liveboard.",
+ "text": "Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.\n"
},
"sources": [
{
"fileName": "css-variables.ts",
- "line": 539,
+ "line": 522,
"character": 4
}
],
@@ -29538,7 +30309,7 @@
}
},
{
- "id": 2724,
+ "id": 2859,
"name": "--ts-var-liveboard-group-tile-background",
"kind": 1024,
"kindString": "Property",
@@ -29546,12 +30317,13 @@
"isOptional": true
},
"comment": {
- "shortText": "Background color of the tiles inside the groups in the Liveboard."
+ "shortText": "Background color of the tiles inside the groups in the Liveboard.",
+ "text": "Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.\n"
},
"sources": [
{
"fileName": "css-variables.ts",
- "line": 629,
+ "line": 621,
"character": 4
}
],
@@ -29561,20 +30333,21 @@
}
},
{
- "id": 2714,
- "name": "--ts-var-liveboard-group-tile-border",
+ "id": 2858,
+ "name": "--ts-var-liveboard-group-tile-description-font-color",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
- "shortText": "Border of the tiles in the Liveboard."
+ "shortText": "Font color of the description of the tiles inside the groups in the Liveboard.",
+ "text": "Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.\n"
},
"sources": [
{
"fileName": "css-variables.ts",
- "line": 579,
+ "line": 614,
"character": 4
}
],
@@ -29584,7 +30357,7 @@
}
},
{
- "id": 2715,
+ "id": 2849,
"name": "--ts-var-liveboard-group-tile-padding",
"kind": 1024,
"kindString": "Property",
@@ -29592,12 +30365,13 @@
"isOptional": true
},
"comment": {
- "shortText": "Padding of the tiles in the Liveboard."
+ "shortText": "Padding of the group tiles in the Liveboard.",
+ "text": "Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.\n"
},
"sources": [
{
"fileName": "css-variables.ts",
- "line": 584,
+ "line": 557,
"character": 4
}
],
@@ -29607,7 +30381,7 @@
}
},
{
- "id": 2723,
+ "id": 2857,
"name": "--ts-var-liveboard-group-tile-title-font-color",
"kind": 1024,
"kindString": "Property",
@@ -29615,12 +30389,13 @@
"isOptional": true
},
"comment": {
- "shortText": "Font color of the title of the tiles inside the groups in the Liveboard."
+ "shortText": "Font color of the title of the tiles inside the groups in the Liveboard.",
+ "text": "Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.\n"
},
"sources": [
{
"fileName": "css-variables.ts",
- "line": 624,
+ "line": 607,
"character": 4
}
],
@@ -29630,7 +30405,7 @@
}
},
{
- "id": 2710,
+ "id": 2847,
"name": "--ts-var-liveboard-group-tile-title-font-size",
"kind": 1024,
"kindString": "Property",
@@ -29638,12 +30413,13 @@
"isOptional": true
},
"comment": {
- "shortText": "Font size of the title of the tiles inside the groups in the Liveboard."
+ "shortText": "Font size of the title of the tiles inside the groups in the Liveboard.",
+ "text": "Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.\n"
},
"sources": [
{
"fileName": "css-variables.ts",
- "line": 559,
+ "line": 543,
"character": 4
}
],
@@ -29653,7 +30429,7 @@
}
},
{
- "id": 2711,
+ "id": 2848,
"name": "--ts-var-liveboard-group-tile-title-font-weight",
"kind": 1024,
"kindString": "Property",
@@ -29661,12 +30437,13 @@
"isOptional": true
},
"comment": {
- "shortText": "Font weight of the title of the tiles inside the groups in the Liveboard."
+ "shortText": "Font weight of the title of the tiles inside the groups in the Liveboard.",
+ "text": "Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.\n"
},
"sources": [
{
"fileName": "css-variables.ts",
- "line": 564,
+ "line": 550,
"character": 4
}
],
@@ -29676,7 +30453,7 @@
}
},
{
- "id": 2721,
+ "id": 2855,
"name": "--ts-var-liveboard-group-title-font-color",
"kind": 1024,
"kindString": "Property",
@@ -29684,12 +30461,13 @@
"isOptional": true
},
"comment": {
- "shortText": "Font color of the title of the groups in the Liveboard."
+ "shortText": "Font color of the title of the groups in the Liveboard.",
+ "text": "Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.\n"
},
"sources": [
{
"fileName": "css-variables.ts",
- "line": 614,
+ "line": 593,
"character": 4
}
],
@@ -29699,7 +30477,7 @@
}
},
{
- "id": 2708,
+ "id": 2845,
"name": "--ts-var-liveboard-group-title-font-size",
"kind": 1024,
"kindString": "Property",
@@ -29707,12 +30485,13 @@
"isOptional": true
},
"comment": {
- "shortText": "Font size of the title of the groups in the Liveboard."
+ "shortText": "Font size of the title of the groups in the Liveboard.",
+ "text": "Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.\n"
},
"sources": [
{
"fileName": "css-variables.ts",
- "line": 549,
+ "line": 529,
"character": 4
}
],
@@ -29722,7 +30501,7 @@
}
},
{
- "id": 2709,
+ "id": 2846,
"name": "--ts-var-liveboard-group-title-font-weight",
"kind": 1024,
"kindString": "Property",
@@ -29730,35 +30509,13 @@
"isOptional": true
},
"comment": {
- "shortText": "Font weight of the title of the groups in the Liveboard."
- },
- "sources": [
- {
- "fileName": "css-variables.ts",
- "line": 554,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 2707,
- "name": "--ts-var-liveboard-group-title-padding",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Padding of the title of the groups in the Liveboard."
+ "shortText": "Font weight of the title of the groups in the Liveboard.",
+ "text": "Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.\n"
},
"sources": [
{
"fileName": "css-variables.ts",
- "line": 544,
+ "line": 536,
"character": 4
}
],
@@ -29768,7 +30525,7 @@
}
},
{
- "id": 2751,
+ "id": 2882,
"name": "--ts-var-liveboard-header-action-button-active-color",
"kind": 1024,
"kindString": "Property",
@@ -29781,7 +30538,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 764,
+ "line": 744,
"character": 4
}
],
@@ -29791,7 +30548,7 @@
}
},
{
- "id": 2748,
+ "id": 2879,
"name": "--ts-var-liveboard-header-action-button-background",
"kind": 1024,
"kindString": "Property",
@@ -29804,7 +30561,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 749,
+ "line": 729,
"character": 4
}
],
@@ -29814,7 +30571,7 @@
}
},
{
- "id": 2749,
+ "id": 2880,
"name": "--ts-var-liveboard-header-action-button-font-color",
"kind": 1024,
"kindString": "Property",
@@ -29827,7 +30584,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 754,
+ "line": 734,
"character": 4
}
],
@@ -29837,7 +30594,7 @@
}
},
{
- "id": 2750,
+ "id": 2881,
"name": "--ts-var-liveboard-header-action-button-hover-color",
"kind": 1024,
"kindString": "Property",
@@ -29850,7 +30607,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 759,
+ "line": 739,
"character": 4
}
],
@@ -29860,7 +30617,7 @@
}
},
{
- "id": 2698,
+ "id": 2837,
"name": "--ts-var-liveboard-header-background",
"kind": 1024,
"kindString": "Property",
@@ -29873,7 +30630,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 499,
+ "line": 485,
"character": 4
}
],
@@ -29883,7 +30640,7 @@
}
},
{
- "id": 2757,
+ "id": 2888,
"name": "--ts-var-liveboard-header-badge-active-color",
"kind": 1024,
"kindString": "Property",
@@ -29896,7 +30653,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 794,
+ "line": 774,
"character": 4
}
],
@@ -29906,7 +30663,7 @@
}
},
{
- "id": 2752,
+ "id": 2883,
"name": "--ts-var-liveboard-header-badge-background",
"kind": 1024,
"kindString": "Property",
@@ -29919,7 +30676,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 769,
+ "line": 749,
"character": 4
}
],
@@ -29929,7 +30686,7 @@
}
},
{
- "id": 2753,
+ "id": 2884,
"name": "--ts-var-liveboard-header-badge-font-color",
"kind": 1024,
"kindString": "Property",
@@ -29942,7 +30699,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 774,
+ "line": 754,
"character": 4
}
],
@@ -29952,7 +30709,7 @@
}
},
{
- "id": 2756,
+ "id": 2887,
"name": "--ts-var-liveboard-header-badge-hover-color",
"kind": 1024,
"kindString": "Property",
@@ -29965,7 +30722,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 789,
+ "line": 769,
"character": 4
}
],
@@ -29975,7 +30732,7 @@
}
},
{
- "id": 2754,
+ "id": 2885,
"name": "--ts-var-liveboard-header-badge-modified-background",
"kind": 1024,
"kindString": "Property",
@@ -29988,7 +30745,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 779,
+ "line": 759,
"character": 4
}
],
@@ -29998,7 +30755,7 @@
}
},
{
- "id": 2755,
+ "id": 2886,
"name": "--ts-var-liveboard-header-badge-modified-font-color",
"kind": 1024,
"kindString": "Property",
@@ -30011,7 +30768,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 784,
+ "line": 764,
"character": 4
}
],
@@ -30021,7 +30778,7 @@
}
},
{
- "id": 2700,
+ "id": 2838,
"name": "--ts-var-liveboard-header-font-color",
"kind": 1024,
"kindString": "Property",
@@ -30034,7 +30791,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 509,
+ "line": 490,
"character": 4
}
],
@@ -30044,30 +30801,7 @@
}
},
{
- "id": 2699,
- "name": "--ts-var-liveboard-header-fontsize",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Font size of the header in the Liveboard."
- },
- "sources": [
- {
- "fileName": "css-variables.ts",
- "line": 504,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 2695,
+ "id": 2836,
"name": "--ts-var-liveboard-layout-background",
"kind": 1024,
"kindString": "Property",
@@ -30080,7 +30814,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 484,
+ "line": 480,
"character": 4
}
],
@@ -30090,53 +30824,7 @@
}
},
{
- "id": 2696,
- "name": "--ts-var-liveboard-layout-title-color",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Font color of the title of the layout in the Liveboard."
- },
- "sources": [
- {
- "fileName": "css-variables.ts",
- "line": 489,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 2697,
- "name": "--ts-var-liveboard-layout-title-fontsize",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Font size of the title of the layout in the Liveboard."
- },
- "sources": [
- {
- "fileName": "css-variables.ts",
- "line": 494,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 2720,
+ "id": 2854,
"name": "--ts-var-liveboard-notetitle-body-font-color",
"kind": 1024,
"kindString": "Property",
@@ -30149,7 +30837,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 609,
+ "line": 586,
"character": 4
}
],
@@ -30159,7 +30847,7 @@
}
},
{
- "id": 2719,
+ "id": 2853,
"name": "--ts-var-liveboard-notetitle-heading-font-color",
"kind": 1024,
"kindString": "Property",
@@ -30172,7 +30860,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 604,
+ "line": 581,
"character": 4
}
],
@@ -30182,7 +30870,7 @@
}
},
{
- "id": 2734,
+ "id": 2867,
"name": "--ts-var-liveboard-single-column-breakpoint",
"kind": 1024,
"kindString": "Property",
@@ -30195,7 +30883,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 679,
+ "line": 669,
"character": 4
}
],
@@ -30205,7 +30893,7 @@
}
},
{
- "id": 2736,
+ "id": 2869,
"name": "--ts-var-liveboard-tab-active-border-color",
"kind": 1024,
"kindString": "Property",
@@ -30218,7 +30906,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 689,
+ "line": 679,
"character": 4
}
],
@@ -30228,7 +30916,7 @@
}
},
{
- "id": 2737,
+ "id": 2870,
"name": "--ts-var-liveboard-tab-hover-color",
"kind": 1024,
"kindString": "Property",
@@ -30241,7 +30929,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 694,
+ "line": 684,
"character": 4
}
],
@@ -30251,7 +30939,7 @@
}
},
{
- "id": 2702,
+ "id": 2840,
"name": "--ts-var-liveboard-tile-background",
"kind": 1024,
"kindString": "Property",
@@ -30264,7 +30952,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 519,
+ "line": 500,
"character": 4
}
],
@@ -30274,7 +30962,7 @@
}
},
{
- "id": 2701,
+ "id": 2839,
"name": "--ts-var-liveboard-tile-border-color",
"kind": 1024,
"kindString": "Property",
@@ -30287,7 +30975,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 514,
+ "line": 495,
"character": 4
}
],
@@ -30297,7 +30985,7 @@
}
},
{
- "id": 2703,
+ "id": 2841,
"name": "--ts-var-liveboard-tile-border-radius",
"kind": 1024,
"kindString": "Property",
@@ -30310,30 +30998,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 524,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 2740,
- "name": "--ts-var-liveboard-tile-description-font-weight",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Font weight of the description of the tiles in the Liveboard."
- },
- "sources": [
- {
- "fileName": "css-variables.ts",
- "line": 709,
+ "line": 505,
"character": 4
}
],
@@ -30343,30 +31008,7 @@
}
},
{
- "id": 2741,
- "name": "--ts-var-liveboard-tile-description-opacity",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Opacity of the description of the tiles in the Liveboard."
- },
- "sources": [
- {
- "fileName": "css-variables.ts",
- "line": 714,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 2704,
+ "id": 2842,
"name": "--ts-var-liveboard-tile-padding",
"kind": 1024,
"kindString": "Property",
@@ -30379,7 +31021,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 529,
+ "line": 510,
"character": 4
}
],
@@ -30389,7 +31031,7 @@
}
},
{
- "id": 2705,
+ "id": 2843,
"name": "--ts-var-liveboard-tile-table-header-background",
"kind": 1024,
"kindString": "Property",
@@ -30402,7 +31044,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 534,
+ "line": 515,
"character": 4
}
],
@@ -30412,7 +31054,7 @@
}
},
{
- "id": 2738,
+ "id": 2871,
"name": "--ts-var-liveboard-tile-title-fontsize",
"kind": 1024,
"kindString": "Property",
@@ -30425,7 +31067,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 699,
+ "line": 689,
"character": 4
}
],
@@ -30435,7 +31077,7 @@
}
},
{
- "id": 2739,
+ "id": 2872,
"name": "--ts-var-liveboard-tile-title-fontweight",
"kind": 1024,
"kindString": "Property",
@@ -30448,7 +31090,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 704,
+ "line": 694,
"character": 4
}
],
@@ -30458,7 +31100,7 @@
}
},
{
- "id": 2673,
+ "id": 2815,
"name": "--ts-var-menu--hover-background",
"kind": 1024,
"kindString": "Property",
@@ -30471,7 +31113,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 381,
+ "line": 382,
"character": 4
}
],
@@ -30481,7 +31123,7 @@
}
},
{
- "id": 2670,
+ "id": 2812,
"name": "--ts-var-menu-background",
"kind": 1024,
"kindString": "Property",
@@ -30494,7 +31136,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 366,
+ "line": 367,
"character": 4
}
],
@@ -30504,7 +31146,7 @@
}
},
{
- "id": 2669,
+ "id": 2811,
"name": "--ts-var-menu-color",
"kind": 1024,
"kindString": "Property",
@@ -30517,7 +31159,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 361,
+ "line": 362,
"character": 4
}
],
@@ -30527,7 +31169,7 @@
}
},
{
- "id": 2671,
+ "id": 2813,
"name": "--ts-var-menu-font-family",
"kind": 1024,
"kindString": "Property",
@@ -30540,7 +31182,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 371,
+ "line": 372,
"character": 4
}
],
@@ -30550,7 +31192,7 @@
}
},
{
- "id": 2674,
+ "id": 2816,
"name": "--ts-var-menu-selected-text-color",
"kind": 1024,
"kindString": "Property",
@@ -30563,7 +31205,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 386,
+ "line": 387,
"character": 4
}
],
@@ -30573,7 +31215,7 @@
}
},
{
- "id": 2672,
+ "id": 2814,
"name": "--ts-var-menu-text-transform",
"kind": 1024,
"kindString": "Property",
@@ -30586,7 +31228,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 376,
+ "line": 377,
"character": 4
}
],
@@ -30596,7 +31238,7 @@
}
},
{
- "id": 2607,
+ "id": 2749,
"name": "--ts-var-nav-background",
"kind": 1024,
"kindString": "Property",
@@ -30609,7 +31251,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 39,
+ "line": 40,
"character": 4
}
],
@@ -30619,7 +31261,7 @@
}
},
{
- "id": 2608,
+ "id": 2750,
"name": "--ts-var-nav-color",
"kind": 1024,
"kindString": "Property",
@@ -30632,7 +31274,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 44,
+ "line": 45,
"character": 4
}
],
@@ -30642,7 +31284,7 @@
}
},
{
- "id": 2746,
+ "id": 2877,
"name": "--ts-var-parameter-chip-active-background",
"kind": 1024,
"kindString": "Property",
@@ -30655,7 +31297,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 739,
+ "line": 719,
"character": 4
}
],
@@ -30665,7 +31307,7 @@
}
},
{
- "id": 2747,
+ "id": 2878,
"name": "--ts-var-parameter-chip-active-text-color",
"kind": 1024,
"kindString": "Property",
@@ -30678,7 +31320,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 744,
+ "line": 724,
"character": 4
}
],
@@ -30688,7 +31330,7 @@
}
},
{
- "id": 2742,
+ "id": 2873,
"name": "--ts-var-parameter-chip-background",
"kind": 1024,
"kindString": "Property",
@@ -30701,7 +31343,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 719,
+ "line": 699,
"character": 4
}
],
@@ -30711,7 +31353,7 @@
}
},
{
- "id": 2744,
+ "id": 2875,
"name": "--ts-var-parameter-chip-hover-background",
"kind": 1024,
"kindString": "Property",
@@ -30724,7 +31366,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 729,
+ "line": 709,
"character": 4
}
],
@@ -30734,7 +31376,7 @@
}
},
{
- "id": 2745,
+ "id": 2876,
"name": "--ts-var-parameter-chip-hover-text-color",
"kind": 1024,
"kindString": "Property",
@@ -30747,7 +31389,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 734,
+ "line": 714,
"character": 4
}
],
@@ -30757,7 +31399,7 @@
}
},
{
- "id": 2743,
+ "id": 2874,
"name": "--ts-var-parameter-chip-text-color",
"kind": 1024,
"kindString": "Property",
@@ -30770,7 +31412,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 724,
+ "line": 704,
"character": 4
}
],
@@ -30780,7 +31422,7 @@
}
},
{
- "id": 2602,
+ "id": 2744,
"name": "--ts-var-root-background",
"kind": 1024,
"kindString": "Property",
@@ -30803,7 +31445,7 @@
}
},
{
- "id": 2603,
+ "id": 2745,
"name": "--ts-var-root-color",
"kind": 1024,
"kindString": "Property",
@@ -30826,7 +31468,7 @@
}
},
{
- "id": 2604,
+ "id": 2746,
"name": "--ts-var-root-font-family",
"kind": 1024,
"kindString": "Property",
@@ -30849,7 +31491,7 @@
}
},
{
- "id": 2605,
+ "id": 2747,
"name": "--ts-var-root-text-transform",
"kind": 1024,
"kindString": "Property",
@@ -30872,7 +31514,7 @@
}
},
{
- "id": 2616,
+ "id": 2758,
"name": "--ts-var-search-auto-complete-background",
"kind": 1024,
"kindString": "Property",
@@ -30885,7 +31527,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 84,
+ "line": 85,
"character": 4
}
],
@@ -30895,7 +31537,7 @@
}
},
{
- "id": 2620,
+ "id": 2762,
"name": "--ts-var-search-auto-complete-font-color",
"kind": 1024,
"kindString": "Property",
@@ -30908,7 +31550,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 106,
+ "line": 107,
"character": 4
}
],
@@ -30918,7 +31560,7 @@
}
},
{
- "id": 2621,
+ "id": 2763,
"name": "--ts-var-search-auto-complete-subtext-font-color",
"kind": 1024,
"kindString": "Property",
@@ -30931,7 +31573,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 112,
+ "line": 113,
"character": 4
}
],
@@ -30941,7 +31583,7 @@
}
},
{
- "id": 2619,
+ "id": 2761,
"name": "--ts-var-search-bar-auto-complete-hover-background",
"kind": 1024,
"kindString": "Property",
@@ -30954,7 +31596,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 101,
+ "line": 102,
"character": 4
}
],
@@ -30964,7 +31606,7 @@
}
},
{
- "id": 2615,
+ "id": 2757,
"name": "--ts-var-search-bar-background",
"kind": 1024,
"kindString": "Property",
@@ -30977,7 +31619,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 79,
+ "line": 80,
"character": 4
}
],
@@ -30987,7 +31629,7 @@
}
},
{
- "id": 2618,
+ "id": 2760,
"name": "--ts-var-search-bar-navigation-help-text-background",
"kind": 1024,
"kindString": "Property",
@@ -31000,7 +31642,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 96,
+ "line": 97,
"character": 4
}
],
@@ -31010,7 +31652,7 @@
}
},
{
- "id": 2612,
+ "id": 2754,
"name": "--ts-var-search-bar-text-font-color",
"kind": 1024,
"kindString": "Property",
@@ -31023,7 +31665,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 64,
+ "line": 65,
"character": 4
}
],
@@ -31033,7 +31675,7 @@
}
},
{
- "id": 2613,
+ "id": 2755,
"name": "--ts-var-search-bar-text-font-family",
"kind": 1024,
"kindString": "Property",
@@ -31046,7 +31688,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 69,
+ "line": 70,
"character": 4
}
],
@@ -31056,7 +31698,7 @@
}
},
{
- "id": 2614,
+ "id": 2756,
"name": "--ts-var-search-bar-text-font-style",
"kind": 1024,
"kindString": "Property",
@@ -31069,7 +31711,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 74,
+ "line": 75,
"character": 4
}
],
@@ -31079,7 +31721,7 @@
}
},
{
- "id": 2609,
+ "id": 2751,
"name": "--ts-var-search-data-button-background",
"kind": 1024,
"kindString": "Property",
@@ -31092,7 +31734,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 49,
+ "line": 50,
"character": 4
}
],
@@ -31102,7 +31744,7 @@
}
},
{
- "id": 2610,
+ "id": 2752,
"name": "--ts-var-search-data-button-font-color",
"kind": 1024,
"kindString": "Property",
@@ -31115,7 +31757,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 54,
+ "line": 55,
"character": 4
}
],
@@ -31125,7 +31767,7 @@
}
},
{
- "id": 2611,
+ "id": 2753,
"name": "--ts-var-search-data-button-font-family",
"kind": 1024,
"kindString": "Property",
@@ -31138,7 +31780,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 59,
+ "line": 60,
"character": 4
}
],
@@ -31148,7 +31790,7 @@
}
},
{
- "id": 2617,
+ "id": 2759,
"name": "--ts-var-search-navigation-button-background",
"kind": 1024,
"kindString": "Property",
@@ -31161,7 +31803,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 90,
+ "line": 91,
"character": 4
}
],
@@ -31171,7 +31813,7 @@
}
},
{
- "id": 2682,
+ "id": 2824,
"name": "--ts-var-segment-control-hover-background",
"kind": 1024,
"kindString": "Property",
@@ -31184,7 +31826,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 426,
+ "line": 427,
"character": 4
}
],
@@ -31194,7 +31836,7 @@
}
},
{
- "id": 2731,
+ "id": 2864,
"name": "--ts-var-side-panel-width",
"kind": 1024,
"kindString": "Property",
@@ -31207,7 +31849,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 664,
+ "line": 654,
"character": 4
}
],
@@ -31217,7 +31859,7 @@
}
},
{
- "id": 2771,
+ "id": 2902,
"name": "--ts-var-spotiq-analyze-crosscorrelation-card-background",
"kind": 1024,
"kindString": "Property",
@@ -31230,7 +31872,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 864,
+ "line": 844,
"character": 4
}
],
@@ -31240,7 +31882,7 @@
}
},
{
- "id": 2768,
+ "id": 2899,
"name": "--ts-var-spotiq-analyze-forecasting-card-background",
"kind": 1024,
"kindString": "Property",
@@ -31253,7 +31895,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 849,
+ "line": 829,
"character": 4
}
],
@@ -31263,7 +31905,7 @@
}
},
{
- "id": 2769,
+ "id": 2900,
"name": "--ts-var-spotiq-analyze-outlier-card-background",
"kind": 1024,
"kindString": "Property",
@@ -31276,7 +31918,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 854,
+ "line": 834,
"character": 4
}
],
@@ -31286,7 +31928,7 @@
}
},
{
- "id": 2770,
+ "id": 2901,
"name": "--ts-var-spotiq-analyze-trend-card-background",
"kind": 1024,
"kindString": "Property",
@@ -31299,7 +31941,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 859,
+ "line": 839,
"character": 4
}
],
@@ -31309,7 +31951,7 @@
}
},
{
- "id": 2622,
+ "id": 2764,
"name": "--ts-var-spotter-input-background",
"kind": 1024,
"kindString": "Property",
@@ -31322,7 +31964,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 117,
+ "line": 118,
"character": 4
}
],
@@ -31332,7 +31974,7 @@
}
},
{
- "id": 2623,
+ "id": 2765,
"name": "--ts-var-spotter-prompt-background",
"kind": 1024,
"kindString": "Property",
@@ -31345,7 +31987,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 122,
+ "line": 123,
"character": 4
}
],
@@ -31355,7 +31997,7 @@
}
},
{
- "id": 2652,
+ "id": 2794,
"name": "--ts-var-viz-background",
"kind": 1024,
"kindString": "Property",
@@ -31368,7 +32010,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 275,
+ "line": 276,
"character": 4
}
],
@@ -31378,7 +32020,7 @@
}
},
{
- "id": 2650,
+ "id": 2792,
"name": "--ts-var-viz-border-radius",
"kind": 1024,
"kindString": "Property",
@@ -31391,7 +32033,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 265,
+ "line": 266,
"character": 4
}
],
@@ -31401,7 +32043,7 @@
}
},
{
- "id": 2651,
+ "id": 2793,
"name": "--ts-var-viz-box-shadow",
"kind": 1024,
"kindString": "Property",
@@ -31414,7 +32056,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 270,
+ "line": 271,
"character": 4
}
],
@@ -31424,7 +32066,7 @@
}
},
{
- "id": 2647,
+ "id": 2789,
"name": "--ts-var-viz-description-color",
"kind": 1024,
"kindString": "Property",
@@ -31437,7 +32079,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 248,
+ "line": 249,
"character": 4
}
],
@@ -31447,7 +32089,7 @@
}
},
{
- "id": 2648,
+ "id": 2790,
"name": "--ts-var-viz-description-font-family",
"kind": 1024,
"kindString": "Property",
@@ -31460,7 +32102,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 254,
+ "line": 255,
"character": 4
}
],
@@ -31470,7 +32112,7 @@
}
},
{
- "id": 2649,
+ "id": 2791,
"name": "--ts-var-viz-description-text-transform",
"kind": 1024,
"kindString": "Property",
@@ -31483,7 +32125,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 260,
+ "line": 261,
"character": 4
}
],
@@ -31493,7 +32135,7 @@
}
},
{
- "id": 2653,
+ "id": 2795,
"name": "--ts-var-viz-legend-hover-background",
"kind": 1024,
"kindString": "Property",
@@ -31506,7 +32148,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 280,
+ "line": 281,
"character": 4
}
],
@@ -31516,30 +32158,7 @@
}
},
{
- "id": 2694,
- "name": "--ts-var-viz-tile-height",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Height of the tiles in the Liveboard."
- },
- "sources": [
- {
- "fileName": "css-variables.ts",
- "line": 479,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 2644,
+ "id": 2786,
"name": "--ts-var-viz-title-color",
"kind": 1024,
"kindString": "Property",
@@ -31552,7 +32171,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 233,
+ "line": 234,
"character": 4
}
],
@@ -31562,7 +32181,7 @@
}
},
{
- "id": 2645,
+ "id": 2787,
"name": "--ts-var-viz-title-font-family",
"kind": 1024,
"kindString": "Property",
@@ -31575,7 +32194,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 238,
+ "line": 239,
"character": 4
}
],
@@ -31585,7 +32204,7 @@
}
},
{
- "id": 2646,
+ "id": 2788,
"name": "--ts-var-viz-title-text-transform",
"kind": 1024,
"kindString": "Property",
@@ -31598,7 +32217,7 @@
"sources": [
{
"fileName": "css-variables.ts",
- "line": 243,
+ "line": 244,
"character": 4
}
],
@@ -31613,177 +32232,166 @@
"title": "Properties",
"kind": 1024,
"children": [
- 2655,
- 2654,
- 2624,
- 2625,
- 2627,
- 2626,
- 2606,
- 2667,
- 2668,
- 2665,
- 2666,
- 2629,
- 2634,
- 2631,
- 2633,
- 2632,
- 2630,
- 2639,
- 2636,
- 2638,
- 2637,
- 2635,
- 2643,
- 2642,
- 2641,
- 2640,
- 2628,
- 2772,
- 2767,
- 2762,
- 2761,
- 2764,
- 2763,
- 2690,
- 2693,
- 2688,
- 2691,
- 2692,
- 2687,
- 2689,
- 2660,
- 2659,
- 2662,
- 2661,
- 2658,
- 2656,
- 2657,
- 2663,
- 2664,
- 2675,
- 2676,
- 2679,
- 2677,
- 2678,
- 2686,
- 2685,
- 2684,
- 2683,
- 2760,
- 2759,
- 2758,
+ 2797,
+ 2796,
2766,
- 2765,
- 2681,
- 2680,
- 2716,
- 2729,
- 2730,
- 2727,
- 2728,
- 2725,
- 2726,
- 2735,
- 2733,
- 2732,
- 2717,
- 2718,
- 2722,
- 2712,
- 2713,
- 2706,
- 2724,
- 2714,
- 2715,
- 2723,
- 2710,
- 2711,
- 2721,
- 2708,
- 2709,
- 2707,
- 2751,
+ 2767,
+ 2769,
+ 2768,
2748,
+ 2809,
+ 2810,
+ 2807,
+ 2808,
+ 2771,
+ 2776,
+ 2773,
+ 2775,
+ 2774,
+ 2772,
+ 2781,
+ 2778,
+ 2780,
+ 2779,
+ 2777,
+ 2785,
+ 2784,
+ 2783,
+ 2782,
+ 2770,
+ 2903,
+ 2898,
+ 2893,
+ 2892,
+ 2895,
+ 2894,
+ 2832,
+ 2835,
+ 2830,
+ 2833,
+ 2834,
+ 2829,
+ 2831,
+ 2802,
+ 2801,
+ 2804,
+ 2803,
+ 2800,
+ 2798,
+ 2799,
+ 2805,
+ 2806,
+ 2817,
+ 2818,
+ 2821,
+ 2819,
+ 2820,
+ 2828,
+ 2827,
+ 2826,
+ 2825,
+ 2891,
+ 2890,
+ 2889,
+ 2897,
+ 2896,
+ 2823,
+ 2822,
+ 2850,
+ 2863,
+ 2862,
+ 2860,
+ 2861,
+ 2868,
+ 2866,
+ 2865,
+ 2851,
+ 2852,
+ 2856,
+ 2844,
+ 2859,
+ 2858,
+ 2849,
+ 2857,
+ 2847,
+ 2848,
+ 2855,
+ 2845,
+ 2846,
+ 2882,
+ 2879,
+ 2880,
+ 2881,
+ 2837,
+ 2888,
+ 2883,
+ 2884,
+ 2887,
+ 2885,
+ 2886,
+ 2838,
+ 2836,
+ 2854,
+ 2853,
+ 2867,
+ 2869,
+ 2870,
+ 2840,
+ 2839,
+ 2841,
+ 2842,
+ 2843,
+ 2871,
+ 2872,
+ 2815,
+ 2812,
+ 2811,
+ 2813,
+ 2816,
+ 2814,
2749,
2750,
- 2698,
+ 2877,
+ 2878,
+ 2873,
+ 2875,
+ 2876,
+ 2874,
+ 2744,
+ 2745,
+ 2746,
+ 2747,
+ 2758,
+ 2762,
+ 2763,
+ 2761,
2757,
- 2752,
- 2753,
- 2756,
+ 2760,
2754,
2755,
- 2700,
- 2699,
- 2695,
- 2696,
- 2697,
- 2720,
- 2719,
- 2734,
- 2736,
- 2737,
- 2702,
- 2701,
- 2703,
- 2740,
- 2741,
- 2704,
- 2705,
- 2738,
- 2739,
- 2673,
- 2670,
- 2669,
- 2671,
- 2674,
- 2672,
- 2607,
- 2608,
- 2746,
- 2747,
- 2742,
- 2744,
- 2745,
- 2743,
- 2602,
- 2603,
- 2604,
- 2605,
- 2616,
- 2620,
- 2621,
- 2619,
- 2615,
- 2618,
- 2612,
- 2613,
- 2614,
- 2609,
- 2610,
- 2611,
- 2617,
- 2682,
- 2731,
- 2771,
- 2768,
- 2769,
- 2770,
- 2622,
- 2623,
- 2652,
- 2650,
- 2651,
- 2647,
- 2648,
- 2649,
- 2653,
- 2694,
- 2644,
- 2645,
- 2646
+ 2756,
+ 2751,
+ 2752,
+ 2753,
+ 2759,
+ 2824,
+ 2864,
+ 2902,
+ 2899,
+ 2900,
+ 2901,
+ 2764,
+ 2765,
+ 2794,
+ 2792,
+ 2793,
+ 2789,
+ 2790,
+ 2791,
+ 2795,
+ 2786,
+ 2787,
+ 2788
]
}
],
@@ -31796,7 +32404,7 @@
]
},
{
- "id": 2589,
+ "id": 2731,
"name": "CustomStyles",
"kind": 256,
"kindString": "Interface",
@@ -31806,7 +32414,7 @@
},
"children": [
{
- "id": 2591,
+ "id": 2733,
"name": "customCSS",
"kind": 1024,
"kindString": "Property",
@@ -31822,12 +32430,12 @@
],
"type": {
"type": "reference",
- "id": 2592,
+ "id": 2734,
"name": "customCssInterface"
}
},
{
- "id": 2590,
+ "id": 2732,
"name": "customCSSUrl",
"kind": 1024,
"kindString": "Property",
@@ -31852,8 +32460,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 2591,
- 2590
+ 2733,
+ 2732
]
}
],
@@ -31866,7 +32474,7 @@
]
},
{
- "id": 2579,
+ "id": 2721,
"name": "CustomisationsInterface",
"kind": 256,
"kindString": "Interface",
@@ -31882,7 +32490,7 @@
},
"children": [
{
- "id": 2581,
+ "id": 2723,
"name": "content",
"kind": 1024,
"kindString": "Property",
@@ -31899,14 +32507,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 2582,
+ "id": 2724,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 2584,
+ "id": 2726,
"name": "stringIDs",
"kind": 1024,
"kindString": "Property",
@@ -31936,7 +32544,7 @@
}
},
{
- "id": 2585,
+ "id": 2727,
"name": "stringIDsUrl",
"kind": 1024,
"kindString": "Property",
@@ -31956,7 +32564,7 @@
}
},
{
- "id": 2583,
+ "id": 2725,
"name": "strings",
"kind": 1024,
"kindString": "Property",
@@ -31999,21 +32607,21 @@
"title": "Properties",
"kind": 1024,
"children": [
- 2584,
- 2585,
- 2583
+ 2726,
+ 2727,
+ 2725
]
}
],
"indexSignature": {
- "id": 2586,
+ "id": 2728,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 2587,
+ "id": 2729,
"name": "key",
"kind": 32768,
"flags": {},
@@ -32032,7 +32640,7 @@
}
},
{
- "id": 2588,
+ "id": 2730,
"name": "iconSpriteUrl",
"kind": 1024,
"kindString": "Property",
@@ -32052,7 +32660,7 @@
}
},
{
- "id": 2580,
+ "id": 2722,
"name": "style",
"kind": 1024,
"kindString": "Property",
@@ -32068,7 +32676,7 @@
],
"type": {
"type": "reference",
- "id": 2589,
+ "id": 2731,
"name": "CustomStyles"
}
}
@@ -32078,9 +32686,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 2581,
- 2588,
- 2580
+ 2723,
+ 2730,
+ 2722
]
}
],
@@ -32093,7 +32701,7 @@
]
},
{
- "id": 2189,
+ "id": 2308,
"name": "EmbedConfig",
"kind": 256,
"kindString": "Interface",
@@ -32109,7 +32717,7 @@
},
"children": [
{
- "id": 2231,
+ "id": 2350,
"name": "additionalFlags",
"kind": 1024,
"kindString": "Property",
@@ -32139,20 +32747,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 2232,
+ "id": 2351,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 2233,
+ "id": 2352,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 2234,
+ "id": 2353,
"name": "key",
"kind": 32768,
"flags": {},
@@ -32184,7 +32792,7 @@
}
},
{
- "id": 2192,
+ "id": 2311,
"name": "authEndpoint",
"kind": 1024,
"kindString": "Property",
@@ -32207,7 +32815,7 @@
}
},
{
- "id": 2213,
+ "id": 2332,
"name": "authTriggerContainer",
"kind": 1024,
"kindString": "Property",
@@ -32249,7 +32857,7 @@
}
},
{
- "id": 2215,
+ "id": 2334,
"name": "authTriggerText",
"kind": 1024,
"kindString": "Property",
@@ -32278,7 +32886,7 @@
}
},
{
- "id": 2191,
+ "id": 2310,
"name": "authType",
"kind": 1024,
"kindString": "Property",
@@ -32295,12 +32903,12 @@
],
"type": {
"type": "reference",
- "id": 1849,
+ "id": 1962,
"name": "AuthType"
}
},
{
- "id": 2204,
+ "id": 2323,
"name": "autoLogin",
"kind": 1024,
"kindString": "Property",
@@ -32329,7 +32937,7 @@
}
},
{
- "id": 2216,
+ "id": 2335,
"name": "blockNonEmbedFullAppAccess",
"kind": 1024,
"kindString": "Property",
@@ -32362,7 +32970,7 @@
}
},
{
- "id": 2207,
+ "id": 2326,
"name": "callPrefetch",
"kind": 1024,
"kindString": "Property",
@@ -32391,7 +32999,40 @@
}
},
{
- "id": 2228,
+ "id": 2359,
+ "name": "cleanupTimeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The timeout for the cleanup to be completed before destroying the embed.",
+ "tags": [
+ {
+ "tag": "version",
+ "text": "SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl"
+ },
+ {
+ "tag": "default",
+ "text": "5000\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 707,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 2347,
"name": "currencyFormat",
"kind": 1024,
"kindString": "Property",
@@ -32420,7 +33061,7 @@
}
},
{
- "id": 2238,
+ "id": 2357,
"name": "customActions",
"kind": 1024,
"kindString": "Property",
@@ -32436,7 +33077,7 @@
},
{
"tag": "example",
- "text": "\n```js\nimport { CustomActionPosition, CustomActionTarget } from '@thoughtspot/visual-embed-sdk';\ninit({\n ... // other embed config options\n customActions: [\n {\n name: 'customAction', \n id: 'customAction',\n target: CustomActionTarget.VISUALIZATION,\n position: CustomActionPosition.PRIMARY,\n }\n } \n ]\n})\n```\n"
+ "text": "\n```js\nimport { CustomActionPosition, CustomActionTarget } from '@thoughtspot/visual-embed-sdk';\ninit({\n ... // other embed config options\n customActions: [\n {\n name: 'customAction',\n id: 'customAction',\n target: CustomActionTarget.VISUALIZATION,\n position: CustomActionPosition.PRIMARY,\n }\n }\n ]\n})\n```\n"
}
]
},
@@ -32456,7 +33097,7 @@
}
},
{
- "id": 2235,
+ "id": 2354,
"name": "customVariablesForThirdPartyTools",
"kind": 1024,
"kindString": "Property",
@@ -32499,7 +33140,7 @@
}
},
{
- "id": 2212,
+ "id": 2331,
"name": "customizations",
"kind": 1024,
"kindString": "Property",
@@ -32524,12 +33165,12 @@
],
"type": {
"type": "reference",
- "id": 2579,
+ "id": 2721,
"name": "CustomisationsInterface"
}
},
{
- "id": 2226,
+ "id": 2345,
"name": "dateFormatLocale",
"kind": 1024,
"kindString": "Property",
@@ -32558,7 +33199,7 @@
}
},
{
- "id": 2209,
+ "id": 2328,
"name": "detectCookieAccessSlow",
"kind": 1024,
"kindString": "Property",
@@ -32588,7 +33229,7 @@
}
},
{
- "id": 2237,
+ "id": 2356,
"name": "disableFullscreenPresentation",
"kind": 1024,
"kindString": "Property",
@@ -32625,7 +33266,7 @@
}
},
{
- "id": 2230,
+ "id": 2349,
"name": "disableLoginFailurePage",
"kind": 1024,
"kindString": "Property",
@@ -32654,7 +33295,7 @@
}
},
{
- "id": 2205,
+ "id": 2324,
"name": "disableLoginRedirect",
"kind": 1024,
"kindString": "Property",
@@ -32687,7 +33328,7 @@
}
},
{
- "id": 2236,
+ "id": 2355,
"name": "disablePreauthCache",
"kind": 1024,
"kindString": "Property",
@@ -32707,7 +33348,7 @@
}
},
{
- "id": 2225,
+ "id": 2344,
"name": "disableSDKTracking",
"kind": 1024,
"kindString": "Property",
@@ -32736,7 +33377,7 @@
}
},
{
- "id": 2203,
+ "id": 2322,
"name": "ignoreNoCookieAccess",
"kind": 1024,
"kindString": "Property",
@@ -32765,7 +33406,7 @@
}
},
{
- "id": 2198,
+ "id": 2317,
"name": "inPopup",
"kind": 1024,
"kindString": "Property",
@@ -32799,7 +33440,7 @@
}
},
{
- "id": 2224,
+ "id": 2343,
"name": "logLevel",
"kind": 1024,
"kindString": "Property",
@@ -32832,12 +33473,12 @@
],
"type": {
"type": "reference",
- "id": 2776,
+ "id": 2907,
"name": "LogLevel"
}
},
{
- "id": 2206,
+ "id": 2325,
"name": "loginFailedMessage",
"kind": 1024,
"kindString": "Property",
@@ -32866,7 +33507,7 @@
}
},
{
- "id": 2197,
+ "id": 2316,
"name": "noRedirect",
"kind": 1024,
"kindString": "Property",
@@ -32899,7 +33540,7 @@
}
},
{
- "id": 2227,
+ "id": 2346,
"name": "numberFormatLocale",
"kind": 1024,
"kindString": "Property",
@@ -32928,7 +33569,7 @@
}
},
{
- "id": 2196,
+ "id": 2315,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -32952,7 +33593,7 @@
}
},
{
- "id": 2222,
+ "id": 2341,
"name": "pendoTrackingKey",
"kind": 1024,
"kindString": "Property",
@@ -32981,7 +33622,7 @@
}
},
{
- "id": 2208,
+ "id": 2327,
"name": "queueMultiRenders",
"kind": 1024,
"kindString": "Property",
@@ -33014,7 +33655,7 @@
}
},
{
- "id": 2199,
+ "id": 2318,
"name": "redirectPath",
"kind": 1024,
"kindString": "Property",
@@ -33044,7 +33685,7 @@
}
},
{
- "id": 2201,
+ "id": 2320,
"name": "shouldEncodeUrlQueryParams",
"kind": 1024,
"kindString": "Property",
@@ -33073,7 +33714,7 @@
}
},
{
- "id": 2223,
+ "id": 2342,
"name": "suppressErrorAlerts",
"kind": 1024,
"kindString": "Property",
@@ -33102,7 +33743,7 @@
}
},
{
- "id": 2202,
+ "id": 2321,
"name": "suppressNoCookieAccessAlert",
"kind": 1024,
"kindString": "Property",
@@ -33131,7 +33772,7 @@
}
},
{
- "id": 2211,
+ "id": 2330,
"name": "suppressSageEmbedBetaWarning",
"kind": 1024,
"kindString": "Property",
@@ -33154,7 +33795,7 @@
}
},
{
- "id": 2210,
+ "id": 2329,
"name": "suppressSearchEmbedBetaWarning",
"kind": 1024,
"kindString": "Property",
@@ -33183,7 +33824,7 @@
}
},
{
- "id": 2190,
+ "id": 2309,
"name": "thoughtSpotHost",
"kind": 1024,
"kindString": "Property",
@@ -33204,7 +33845,7 @@
}
},
{
- "id": 2214,
+ "id": 2333,
"name": "useEventForSAMLPopup",
"kind": 1024,
"kindString": "Property",
@@ -33227,7 +33868,7 @@
}
},
{
- "id": 2195,
+ "id": 2314,
"name": "username",
"kind": 1024,
"kindString": "Property",
@@ -33250,7 +33891,40 @@
}
},
{
- "id": 2193,
+ "id": 2358,
+ "name": "waitForCleanupOnDestroy",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Wait for the cleanup to be completed before destroying the embed.",
+ "tags": [
+ {
+ "tag": "version",
+ "text": "SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl"
+ },
+ {
+ "tag": "default",
+ "text": "false\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 701,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 2312,
"name": "getAuthToken",
"kind": 2048,
"kindString": "Method",
@@ -33266,7 +33940,7 @@
],
"signatures": [
{
- "id": 2194,
+ "id": 2313,
"name": "getAuthToken",
"kind": 4096,
"kindString": "Call signature",
@@ -33294,50 +33968,52 @@
"title": "Properties",
"kind": 1024,
"children": [
- 2231,
- 2192,
- 2213,
- 2215,
- 2191,
- 2204,
- 2216,
- 2207,
- 2228,
- 2238,
- 2235,
- 2212,
- 2226,
- 2209,
- 2237,
- 2230,
- 2205,
- 2236,
- 2225,
- 2203,
- 2198,
- 2224,
- 2206,
- 2197,
- 2227,
- 2196,
- 2222,
- 2208,
- 2199,
- 2201,
- 2223,
- 2202,
- 2211,
- 2210,
- 2190,
- 2214,
- 2195
+ 2350,
+ 2311,
+ 2332,
+ 2334,
+ 2310,
+ 2323,
+ 2335,
+ 2326,
+ 2359,
+ 2347,
+ 2357,
+ 2354,
+ 2331,
+ 2345,
+ 2328,
+ 2356,
+ 2349,
+ 2324,
+ 2355,
+ 2344,
+ 2322,
+ 2317,
+ 2343,
+ 2325,
+ 2316,
+ 2346,
+ 2315,
+ 2341,
+ 2327,
+ 2318,
+ 2320,
+ 2342,
+ 2321,
+ 2330,
+ 2329,
+ 2309,
+ 2333,
+ 2314,
+ 2358
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 2193
+ 2312
]
}
],
@@ -33350,7 +34026,7 @@
]
},
{
- "id": 2538,
+ "id": 2680,
"name": "FrameParams",
"kind": 256,
"kindString": "Interface",
@@ -33366,7 +34042,7 @@
},
"children": [
{
- "id": 2540,
+ "id": 2682,
"name": "height",
"kind": 1024,
"kindString": "Property",
@@ -33379,7 +34055,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 712,
+ "line": 725,
"character": 4
}
],
@@ -33398,7 +34074,7 @@
}
},
{
- "id": 2541,
+ "id": 2683,
"name": "loading",
"kind": 1024,
"kindString": "Property",
@@ -33411,7 +34087,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 718,
+ "line": 731,
"character": 4
}
],
@@ -33434,7 +34110,7 @@
}
},
{
- "id": 2539,
+ "id": 2681,
"name": "width",
"kind": 1024,
"kindString": "Property",
@@ -33447,7 +34123,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 708,
+ "line": 721,
"character": 4
}
],
@@ -33471,21 +34147,21 @@
"title": "Properties",
"kind": 1024,
"children": [
- 2540,
- 2541,
- 2539
+ 2682,
+ 2683,
+ 2681
]
}
],
"sources": [
{
"fileName": "types.ts",
- "line": 704,
+ "line": 717,
"character": 17
}
],
"indexSignature": {
- "id": 2542,
+ "id": 2684,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -33495,7 +34171,7 @@
},
"parameters": [
{
- "id": 2543,
+ "id": 2685,
"name": "key",
"kind": 32768,
"flags": {},
@@ -33529,7 +34205,7 @@
}
},
{
- "id": 2335,
+ "id": 2461,
"name": "LiveboardViewConfig",
"kind": 256,
"kindString": "Interface",
@@ -33545,7 +34221,7 @@
},
"children": [
{
- "id": 2346,
+ "id": 2472,
"name": "activeTabId",
"kind": 1024,
"kindString": "Property",
@@ -33579,7 +34255,7 @@
}
},
{
- "id": 2367,
+ "id": 2494,
"name": "additionalFlags",
"kind": 1024,
"kindString": "Property",
@@ -33603,27 +34279,27 @@
"sources": [
{
"fileName": "types.ts",
- "line": 873,
+ "line": 886,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 2368,
+ "id": 2495,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 2369,
+ "id": 2496,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 2370,
+ "id": 2497,
"name": "key",
"kind": 32768,
"flags": {},
@@ -33659,7 +34335,7 @@
}
},
{
- "id": 2391,
+ "id": 2521,
"name": "collapseSearchBar",
"kind": 1024,
"kindString": "Property",
@@ -33687,7 +34363,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1279,
+ "line": 1292,
"character": 4
}
],
@@ -33701,7 +34377,7 @@
}
},
{
- "id": 2388,
+ "id": 2518,
"name": "contextMenuTrigger",
"kind": 1024,
"kindString": "Property",
@@ -33725,13 +34401,13 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1243,
+ "line": 1256,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 2185,
+ "id": 2304,
"name": "ContextMenuTriggerOptions"
},
"inheritedFrom": {
@@ -33740,7 +34416,7 @@
}
},
{
- "id": 2404,
+ "id": 2534,
"name": "coverAndFilterOptionInPDF",
"kind": 1024,
"kindString": "Property",
@@ -33764,7 +34440,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1499,
+ "line": 1512,
"character": 4
}
],
@@ -33778,7 +34454,7 @@
}
},
{
- "id": 2385,
+ "id": 2512,
"name": "customActions",
"kind": 1024,
"kindString": "Property",
@@ -33795,14 +34471,14 @@
},
{
"tag": "example",
- "text": "\n```js\nimport { CustomActionPosition, CustomActionTarget } from '@thoughtspot/visual-embed-sdk';\n// Use supported embed types such as AppEmbed or LiveboardEmbed\nconst embed = new LiveboardEmbed('#tsEmbed', {\n ... // other embed config options\n customActions: [\n {\n name: 'customAction', \n id: 'customAction',\n target: CustomActionTarget.VISUALIZATION,\n position: CustomActionPosition.PRIMARY,\n }\n } \n ]\n})\n```\n"
+ "text": "\n```js\nimport { CustomActionPosition, CustomActionTarget } from '@thoughtspot/visual-embed-sdk';\n// Use supported embed types such as AppEmbed or LiveboardEmbed\nconst embed = new LiveboardEmbed('#tsEmbed', {\n ... // other embed config options\n customActions: [\n {\n name: 'customAction',\n id: 'customAction',\n target: CustomActionTarget.VISUALIZATION,\n position: CustomActionPosition.PRIMARY,\n }\n }\n ]\n})\n```\n"
}
]
},
"sources": [
{
"fileName": "types.ts",
- "line": 1086,
+ "line": 1099,
"character": 4
}
],
@@ -33819,7 +34495,7 @@
}
},
{
- "id": 2371,
+ "id": 2498,
"name": "customizations",
"kind": 1024,
"kindString": "Property",
@@ -33842,13 +34518,13 @@
"sources": [
{
"fileName": "types.ts",
- "line": 880,
+ "line": 893,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 2579,
+ "id": 2721,
"name": "CustomisationsInterface"
},
"inheritedFrom": {
@@ -33857,7 +34533,7 @@
}
},
{
- "id": 2392,
+ "id": 2522,
"name": "dataPanelV2",
"kind": 1024,
"kindString": "Property",
@@ -33874,7 +34550,7 @@
},
{
"tag": "version",
- "text": "SDK: 1.43.0 | ThoughtSpot Cloud: 10.14.0.cl"
+ "text": "SDK: 1.41.1 | ThoughtSpot Cloud: 10.14.0.cl"
},
{
"tag": "example",
@@ -33885,7 +34561,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1295,
+ "line": 1308,
"character": 4
}
],
@@ -33899,7 +34575,7 @@
}
},
{
- "id": 2337,
+ "id": 2463,
"name": "defaultHeight",
"kind": 1024,
"kindString": "Property",
@@ -33937,7 +34613,7 @@
}
},
{
- "id": 2379,
+ "id": 2506,
"name": "disableRedirectionLinksInNewTab",
"kind": 1024,
"kindString": "Property",
@@ -33961,7 +34637,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 988,
+ "line": 1001,
"character": 4
}
],
@@ -33975,7 +34651,7 @@
}
},
{
- "id": 2363,
+ "id": 2490,
"name": "disabledActionReason",
"kind": 1024,
"kindString": "Property",
@@ -33999,7 +34675,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 795,
+ "line": 808,
"character": 4
}
],
@@ -34013,7 +34689,7 @@
}
},
{
- "id": 2362,
+ "id": 2489,
"name": "disabledActions",
"kind": 1024,
"kindString": "Property",
@@ -34037,7 +34713,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 779,
+ "line": 792,
"character": 4
}
],
@@ -34045,7 +34721,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2048,
+ "id": 2166,
"name": "Action"
}
},
@@ -34055,7 +34731,7 @@
}
},
{
- "id": 2375,
+ "id": 2502,
"name": "doNotTrackPreRenderSize",
"kind": 1024,
"kindString": "Property",
@@ -34082,7 +34758,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 944,
+ "line": 957,
"character": 4
}
],
@@ -34096,7 +34772,7 @@
}
},
{
- "id": 2398,
+ "id": 2528,
"name": "enable2ColumnLayout",
"kind": 1024,
"kindString": "Property",
@@ -34124,7 +34800,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1397,
+ "line": 1410,
"character": 4
}
],
@@ -34138,7 +34814,7 @@
}
},
{
- "id": 2403,
+ "id": 2533,
"name": "enableAskSage",
"kind": 1024,
"kindString": "Property",
@@ -34166,7 +34842,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1483,
+ "line": 1496,
"character": 4
}
],
@@ -34180,7 +34856,7 @@
}
},
{
- "id": 2393,
+ "id": 2523,
"name": "enableCustomColumnGroups",
"kind": 1024,
"kindString": "Property",
@@ -34208,7 +34884,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1311,
+ "line": 1324,
"character": 4
}
],
@@ -34222,7 +34898,7 @@
}
},
{
- "id": 2376,
+ "id": 2503,
"name": "enableV2Shell_experimental",
"kind": 1024,
"kindString": "Property",
@@ -34246,7 +34922,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 961,
+ "line": 974,
"character": 4
}
],
@@ -34260,7 +34936,7 @@
}
},
{
- "id": 2338,
+ "id": 2464,
"name": "enableVizTransformations",
"kind": 1024,
"kindString": "Property",
@@ -34296,7 +34972,7 @@
}
},
{
- "id": 2389,
+ "id": 2519,
"name": "excludeRuntimeFiltersfromURL",
"kind": 1024,
"kindString": "Property",
@@ -34320,7 +34996,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1254,
+ "line": 1267,
"character": 4
}
],
@@ -34334,7 +35010,7 @@
}
},
{
- "id": 2390,
+ "id": 2520,
"name": "excludeRuntimeParametersfromURL",
"kind": 1024,
"kindString": "Property",
@@ -34358,7 +35034,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1264,
+ "line": 1277,
"character": 4
}
],
@@ -34372,7 +35048,7 @@
}
},
{
- "id": 2378,
+ "id": 2505,
"name": "exposeTranslationIDs",
"kind": 1024,
"kindString": "Property",
@@ -34395,7 +35071,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 972,
+ "line": 985,
"character": 4
}
],
@@ -34409,7 +35085,7 @@
}
},
{
- "id": 2359,
+ "id": 2486,
"name": "frameParams",
"kind": 1024,
"kindString": "Property",
@@ -34433,13 +35109,13 @@
"sources": [
{
"fileName": "types.ts",
- "line": 752,
+ "line": 765,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 2538,
+ "id": 2680,
"name": "FrameParams"
},
"inheritedFrom": {
@@ -34448,7 +35124,7 @@
}
},
{
- "id": 2336,
+ "id": 2462,
"name": "fullHeight",
"kind": 1024,
"kindString": "Property",
@@ -34482,7 +35158,7 @@
}
},
{
- "id": 2364,
+ "id": 2491,
"name": "hiddenActions",
"kind": 1024,
"kindString": "Property",
@@ -34510,7 +35186,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 813,
+ "line": 826,
"character": 4
}
],
@@ -34518,7 +35194,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2048,
+ "id": 2166,
"name": "Action"
}
},
@@ -34528,7 +35204,7 @@
}
},
{
- "id": 2352,
+ "id": 2478,
"name": "hiddenTabs",
"kind": 1024,
"kindString": "Property",
@@ -34565,7 +35241,7 @@
}
},
{
- "id": 2401,
+ "id": 2531,
"name": "hideIrrelevantChipsInLiveboardTabs",
"kind": 1024,
"kindString": "Property",
@@ -34593,7 +35269,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1450,
+ "line": 1463,
"character": 4
}
],
@@ -34607,7 +35283,7 @@
}
},
{
- "id": 2394,
+ "id": 2524,
"name": "hideLiveboardHeader",
"kind": 1024,
"kindString": "Property",
@@ -34635,7 +35311,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1333,
+ "line": 1346,
"character": 4
}
],
@@ -34649,7 +35325,7 @@
}
},
{
- "id": 2347,
+ "id": 2473,
"name": "hideTabPanel",
"kind": 1024,
"kindString": "Property",
@@ -34683,7 +35359,7 @@
}
},
{
- "id": 2372,
+ "id": 2499,
"name": "insertAsSibling",
"kind": 1024,
"kindString": "Property",
@@ -34707,7 +35383,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 896,
+ "line": 909,
"character": 4
}
],
@@ -34721,7 +35397,198 @@
}
},
{
- "id": 2399,
+ "id": 2515,
+ "name": "interceptTimeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The timeout for the intercept, default is 30000ms\nthe api will error out if the timeout is reached",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n```js\nconst embed = new LiveboardEmbed('#embed', {\n ...viewConfig,\n enableApiIntercept: true,\n interceptUrls: [InterceptedApiType.ALL],\n interceptTimeout: 1000,\n})\n```\n"
+ },
+ {
+ "tag": "version",
+ "text": "SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6171,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "BaseViewConfig.interceptTimeout"
+ }
+ },
+ {
+ "id": 2514,
+ "name": "interceptUrls",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "This allows to intercept the urls passed, once intercepted the api will only\nrun based on the reponse from the responder of ApiIntercept event.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n```js\nconst embed = new LiveboardEmbed('#embed', {\n ...viewConfig,\n enableApiIntercept: true,\n interceptUrls: [InterceptedApiType.DATA],\n})\n```\n"
+ },
+ {
+ "tag": "version",
+ "text": "SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6154,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "BaseViewConfig.interceptUrls"
+ }
+ },
+ {
+ "id": 2536,
+ "name": "isCentralizedLiveboardFilterUXEnabled",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "This flag is used to enable or disable the new centralized Liveboard filter UX (v2).\nWhen enabled, a unified modal is used to manage and update multiple filters at once,\nreplacing the older individual filter interactions.\nTo enable this feature on your instance, contact ThoughtSpot Support.",
+ "text": "Supported embed types: `AppEmbed`, `LiveboardEmbed`",
+ "tags": [
+ {
+ "tag": "version",
+ "text": "SDK: 1.42.0 | ThoughtSpot: 10.15.0.cl"
+ },
+ {
+ "tag": "example",
+ "text": "\n```js\n// Replace with embed component name. For example, AppEmbed or LiveboardEmbed\nconst embed = new ('#tsEmbed', {\n ... // other embed view config\n isCentralizedLiveboardFilterUXEnabled: true,\n})\n```\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 1545,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "LiveboardAppEmbedViewConfig.isCentralizedLiveboardFilterUXEnabled"
+ }
+ },
+ {
+ "id": 2538,
+ "name": "isEnhancedFilterInteractivityEnabled",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "This flag is used to enable or disable the enhanced filter interactivity in liveboard.",
+ "text": "Supported embed types: `AppEmbed`, `LiveboardEmbed`",
+ "tags": [
+ {
+ "tag": "version",
+ "text": "SDK: 1.42.0 | ThoughtSpot: 10.15.0.cl"
+ },
+ {
+ "tag": "example",
+ "text": "\n```js\n// Replace with embed component name. For example, AppEmbed or LiveboardEmbed\nconst embed = new ('#tsEmbed', {\n ... // other embed view config\n isEnhancedFilterInteractivityEnabled: true,\n})\n```\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 1576,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "LiveboardAppEmbedViewConfig.isEnhancedFilterInteractivityEnabled"
+ }
+ },
+ {
+ "id": 2537,
+ "name": "isLinkParametersEnabled",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "This flag is used to enable or disable the link parameters in liveboard.",
+ "text": "Supported embed types: `AppEmbed`, `LiveboardEmbed`",
+ "tags": [
+ {
+ "tag": "version",
+ "text": "SDK: 1.42.0 | ThoughtSpot: 10.14.0.cl"
+ },
+ {
+ "tag": "example",
+ "text": "\n```js\n// Replace with embed component name. For example, AppEmbed or LiveboardEmbed\nconst embed = new ('#tsEmbed', {\n ... // other embed view config\n isLinkParametersEnabled: true,\n})\n```\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 1560,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "LiveboardAppEmbedViewConfig.isLinkParametersEnabled"
+ }
+ },
+ {
+ "id": 2529,
"name": "isLiveboardCompactHeaderEnabled",
"kind": 1024,
"kindString": "Property",
@@ -34749,7 +35616,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1414,
+ "line": 1427,
"character": 4
}
],
@@ -34763,7 +35630,7 @@
}
},
{
- "id": 2397,
+ "id": 2527,
"name": "isLiveboardHeaderSticky",
"kind": 1024,
"kindString": "Property",
@@ -34787,7 +35654,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1380,
+ "line": 1393,
"character": 4
}
],
@@ -34801,7 +35668,7 @@
}
},
{
- "id": 2354,
+ "id": 2480,
"name": "isLiveboardStylingAndGroupingEnabled",
"kind": 1024,
"kindString": "Property",
@@ -34835,7 +35702,41 @@
}
},
{
- "id": 2355,
+ "id": 2513,
+ "name": "isOnBeforeGetVizDataInterceptEnabled",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Flag that allows using `EmbedEvent.OnBeforeGetVizDataIntercept`.",
+ "text": "Can be used for Serach and App Embed from SDK 1.29.0\n",
+ "tags": [
+ {
+ "tag": "version",
+ "text": "SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6138,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "BaseViewConfig.isOnBeforeGetVizDataInterceptEnabled"
+ }
+ },
+ {
+ "id": 2481,
"name": "isPNGInScheduledEmailsEnabled",
"kind": 1024,
"kindString": "Property",
@@ -34869,7 +35770,7 @@
}
},
{
- "id": 2356,
+ "id": 2482,
"name": "lazyLoadingForFullHeight",
"kind": 1024,
"kindString": "Property",
@@ -34906,7 +35807,7 @@
}
},
{
- "id": 2357,
+ "id": 2483,
"name": "lazyLoadingMargin",
"kind": 1024,
"kindString": "Property",
@@ -34940,7 +35841,7 @@
}
},
{
- "id": 2381,
+ "id": 2508,
"name": "linkOverride",
"kind": 1024,
"kindString": "Property",
@@ -34964,7 +35865,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1022,
+ "line": 1035,
"character": 4
}
],
@@ -34978,7 +35879,7 @@
}
},
{
- "id": 2339,
+ "id": 2465,
"name": "liveboardId",
"kind": 1024,
"kindString": "Property",
@@ -35012,7 +35913,7 @@
}
},
{
- "id": 2345,
+ "id": 2471,
"name": "liveboardV2",
"kind": 1024,
"kindString": "Property",
@@ -35046,7 +35947,7 @@
}
},
{
- "id": 2405,
+ "id": 2535,
"name": "liveboardXLSXCSVDownload",
"kind": 1024,
"kindString": "Property",
@@ -35070,7 +35971,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1514,
+ "line": 1527,
"character": 4
}
],
@@ -35084,7 +35985,7 @@
}
},
{
- "id": 2366,
+ "id": 2493,
"name": "locale",
"kind": 1024,
"kindString": "Property",
@@ -35108,7 +36009,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 849,
+ "line": 862,
"character": 4
}
],
@@ -35122,7 +36023,7 @@
}
},
{
- "id": 2380,
+ "id": 2507,
"name": "overrideOrgId",
"kind": 1024,
"kindString": "Property",
@@ -35146,7 +36047,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1007,
+ "line": 1020,
"character": 4
}
],
@@ -35160,7 +36061,7 @@
}
},
{
- "id": 2374,
+ "id": 2501,
"name": "preRenderId",
"kind": 1024,
"kindString": "Property",
@@ -35184,7 +36085,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 923,
+ "line": 936,
"character": 4
}
],
@@ -35198,7 +36099,7 @@
}
},
{
- "id": 2342,
+ "id": 2468,
"name": "preventLiveboardFilterRemoval",
"kind": 1024,
"kindString": "Property",
@@ -35232,7 +36133,7 @@
}
},
{
- "id": 2382,
+ "id": 2509,
"name": "primaryAction",
"kind": 1024,
"kindString": "Property",
@@ -35256,7 +36157,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1038,
+ "line": 1051,
"character": 4
}
],
@@ -35270,7 +36171,7 @@
}
},
{
- "id": 2386,
+ "id": 2516,
"name": "runtimeFilters",
"kind": 1024,
"kindString": "Property",
@@ -35294,7 +36195,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1207,
+ "line": 1220,
"character": 4
}
],
@@ -35302,7 +36203,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 1861,
+ "id": 1974,
"name": "RuntimeFilter"
}
},
@@ -35312,7 +36213,7 @@
}
},
{
- "id": 2387,
+ "id": 2517,
"name": "runtimeParameters",
"kind": 1024,
"kindString": "Property",
@@ -35336,7 +36237,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1228,
+ "line": 1241,
"character": 4
}
],
@@ -35344,7 +36245,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2773,
+ "id": 2904,
"name": "RuntimeParameter"
}
},
@@ -35354,7 +36255,7 @@
}
},
{
- "id": 2384,
+ "id": 2511,
"name": "showAlerts",
"kind": 1024,
"kindString": "Property",
@@ -35377,7 +36278,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1058,
+ "line": 1071,
"character": 4
}
],
@@ -35391,7 +36292,7 @@
}
},
{
- "id": 2396,
+ "id": 2526,
"name": "showLiveboardDescription",
"kind": 1024,
"kindString": "Property",
@@ -35419,7 +36320,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1365,
+ "line": 1378,
"character": 4
}
],
@@ -35433,7 +36334,7 @@
}
},
{
- "id": 2402,
+ "id": 2532,
"name": "showLiveboardReverifyBanner",
"kind": 1024,
"kindString": "Property",
@@ -35461,7 +36362,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1467,
+ "line": 1480,
"character": 4
}
],
@@ -35475,7 +36376,7 @@
}
},
{
- "id": 2395,
+ "id": 2525,
"name": "showLiveboardTitle",
"kind": 1024,
"kindString": "Property",
@@ -35503,7 +36404,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1349,
+ "line": 1362,
"character": 4
}
],
@@ -35517,7 +36418,7 @@
}
},
{
- "id": 2400,
+ "id": 2530,
"name": "showLiveboardVerifiedBadge",
"kind": 1024,
"kindString": "Property",
@@ -35545,7 +36446,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1431,
+ "line": 1444,
"character": 4
}
],
@@ -35559,7 +36460,7 @@
}
},
{
- "id": 2348,
+ "id": 2474,
"name": "showPreviewLoader",
"kind": 1024,
"kindString": "Property",
@@ -35593,7 +36494,40 @@
}
},
{
- "id": 2365,
+ "id": 2484,
+ "name": "showSpotterLimitations",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "showSpotterLimitations : show limitation text\nof the spotter underneath the chat input.\ndefault is false.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n```js\nconst embed = new LiveboardEmbed('#embed-container', {\n // ...other options\n showSpotterLimitations: true,\n})\n```"
+ },
+ {
+ "tag": "version",
+ "text": "SDK: 1.41.1 | ThoughtSpot: 10.5.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "embed/liveboard.ts",
+ "line": 398,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 2492,
"name": "visibleActions",
"kind": 1024,
"kindString": "Property",
@@ -35621,7 +36555,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 834,
+ "line": 847,
"character": 4
}
],
@@ -35629,7 +36563,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2048,
+ "id": 2166,
"name": "Action"
}
},
@@ -35639,7 +36573,7 @@
}
},
{
- "id": 2353,
+ "id": 2479,
"name": "visibleTabs",
"kind": 1024,
"kindString": "Property",
@@ -35676,7 +36610,7 @@
}
},
{
- "id": 2343,
+ "id": 2469,
"name": "visibleVizs",
"kind": 1024,
"kindString": "Property",
@@ -35713,7 +36647,7 @@
}
},
{
- "id": 2341,
+ "id": 2467,
"name": "vizId",
"kind": 1024,
"kindString": "Property",
@@ -35752,62 +36686,69 @@
"title": "Properties",
"kind": 1024,
"children": [
- 2346,
- 2367,
- 2391,
- 2388,
- 2404,
- 2385,
- 2371,
- 2392,
- 2337,
- 2379,
- 2363,
- 2362,
- 2375,
- 2398,
- 2403,
- 2393,
- 2376,
- 2338,
- 2389,
- 2390,
- 2378,
- 2359,
- 2336,
- 2364,
- 2352,
- 2401,
- 2394,
- 2347,
- 2372,
- 2399,
- 2397,
- 2354,
- 2355,
- 2356,
- 2357,
- 2381,
- 2339,
- 2345,
- 2405,
- 2366,
- 2380,
- 2374,
- 2342,
- 2382,
- 2386,
- 2387,
- 2384,
- 2396,
- 2402,
- 2395,
- 2400,
- 2348,
- 2365,
- 2353,
- 2343,
- 2341
+ 2472,
+ 2494,
+ 2521,
+ 2518,
+ 2534,
+ 2512,
+ 2498,
+ 2522,
+ 2463,
+ 2506,
+ 2490,
+ 2489,
+ 2502,
+ 2528,
+ 2533,
+ 2523,
+ 2503,
+ 2464,
+ 2519,
+ 2520,
+ 2505,
+ 2486,
+ 2462,
+ 2491,
+ 2478,
+ 2531,
+ 2524,
+ 2473,
+ 2499,
+ 2515,
+ 2514,
+ 2536,
+ 2538,
+ 2537,
+ 2529,
+ 2527,
+ 2480,
+ 2513,
+ 2481,
+ 2482,
+ 2483,
+ 2508,
+ 2465,
+ 2471,
+ 2535,
+ 2493,
+ 2507,
+ 2501,
+ 2468,
+ 2509,
+ 2516,
+ 2517,
+ 2511,
+ 2526,
+ 2532,
+ 2525,
+ 2530,
+ 2474,
+ 2484,
+ 2492,
+ 2479,
+ 2469,
+ 2467
]
}
],
@@ -35834,7 +36775,7 @@
]
},
{
- "id": 1861,
+ "id": 1974,
"name": "RuntimeFilter",
"kind": 256,
"kindString": "Interface",
@@ -35844,7 +36785,7 @@
},
"children": [
{
- "id": 1862,
+ "id": 1975,
"name": "columnName",
"kind": 1024,
"kindString": "Property",
@@ -35855,7 +36796,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1715,
+ "line": 1780,
"character": 4
}
],
@@ -35865,7 +36806,7 @@
}
},
{
- "id": 1863,
+ "id": 1976,
"name": "operator",
"kind": 1024,
"kindString": "Property",
@@ -35876,18 +36817,18 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1719,
+ "line": 1784,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 1865,
+ "id": 1978,
"name": "RuntimeFilterOp"
}
},
{
- "id": 1864,
+ "id": 1977,
"name": "values",
"kind": 1024,
"kindString": "Property",
@@ -35898,7 +36839,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1725,
+ "line": 1790,
"character": 4
}
],
@@ -35933,22 +36874,22 @@
"title": "Properties",
"kind": 1024,
"children": [
- 1862,
- 1863,
- 1864
+ 1975,
+ 1976,
+ 1977
]
}
],
"sources": [
{
"fileName": "types.ts",
- "line": 1711,
+ "line": 1776,
"character": 17
}
]
},
{
- "id": 2773,
+ "id": 2904,
"name": "RuntimeParameter",
"kind": 256,
"kindString": "Interface",
@@ -35958,7 +36899,7 @@
},
"children": [
{
- "id": 2774,
+ "id": 2905,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -35969,7 +36910,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1735,
+ "line": 1800,
"character": 4
}
],
@@ -35979,7 +36920,7 @@
}
},
{
- "id": 2775,
+ "id": 2906,
"name": "value",
"kind": 1024,
"kindString": "Property",
@@ -35990,7 +36931,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1739,
+ "line": 1804,
"character": 4
}
],
@@ -36018,21 +36959,21 @@
"title": "Properties",
"kind": 1024,
"children": [
- 2774,
- 2775
+ 2905,
+ 2906
]
}
],
"sources": [
{
"fileName": "types.ts",
- "line": 1731,
+ "line": 1796,
"character": 17
}
]
},
{
- "id": 2406,
+ "id": 2539,
"name": "SageViewConfig",
"kind": 256,
"kindString": "Interface",
@@ -36052,7 +36993,7 @@
},
"children": [
{
- "id": 2435,
+ "id": 2568,
"name": "additionalFlags",
"kind": 1024,
"kindString": "Property",
@@ -36076,27 +37017,27 @@
"sources": [
{
"fileName": "types.ts",
- "line": 873,
+ "line": 886,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 2436,
+ "id": 2569,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 2437,
+ "id": 2570,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 2438,
+ "id": 2571,
"name": "key",
"kind": 32768,
"flags": {},
@@ -36132,7 +37073,7 @@
}
},
{
- "id": 2423,
+ "id": 2556,
"name": "collapseSearchBar",
"kind": 1024,
"kindString": "Property",
@@ -36160,7 +37101,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1279,
+ "line": 1292,
"character": 4
}
],
@@ -36174,7 +37115,7 @@
}
},
{
- "id": 2420,
+ "id": 2553,
"name": "contextMenuTrigger",
"kind": 1024,
"kindString": "Property",
@@ -36198,13 +37139,13 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1243,
+ "line": 1256,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 2185,
+ "id": 2304,
"name": "ContextMenuTriggerOptions"
},
"inheritedFrom": {
@@ -36213,7 +37154,7 @@
}
},
{
- "id": 2452,
+ "id": 2585,
"name": "customActions",
"kind": 1024,
"kindString": "Property",
@@ -36230,14 +37171,14 @@
},
{
"tag": "example",
- "text": "\n```js\nimport { CustomActionPosition, CustomActionTarget } from '@thoughtspot/visual-embed-sdk';\n// Use supported embed types such as AppEmbed or LiveboardEmbed\nconst embed = new LiveboardEmbed('#tsEmbed', {\n ... // other embed config options\n customActions: [\n {\n name: 'customAction', \n id: 'customAction',\n target: CustomActionTarget.VISUALIZATION,\n position: CustomActionPosition.PRIMARY,\n }\n } \n ]\n})\n```\n"
+ "text": "\n```js\nimport { CustomActionPosition, CustomActionTarget } from '@thoughtspot/visual-embed-sdk';\n// Use supported embed types such as AppEmbed or LiveboardEmbed\nconst embed = new LiveboardEmbed('#tsEmbed', {\n ... // other embed config options\n customActions: [\n {\n name: 'customAction',\n id: 'customAction',\n target: CustomActionTarget.VISUALIZATION,\n position: CustomActionPosition.PRIMARY,\n }\n }\n ]\n})\n```\n"
}
]
},
"sources": [
{
"fileName": "types.ts",
- "line": 1086,
+ "line": 1099,
"character": 4
}
],
@@ -36254,7 +37195,7 @@
}
},
{
- "id": 2439,
+ "id": 2572,
"name": "customizations",
"kind": 1024,
"kindString": "Property",
@@ -36277,13 +37218,13 @@
"sources": [
{
"fileName": "types.ts",
- "line": 880,
+ "line": 893,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 2579,
+ "id": 2721,
"name": "CustomisationsInterface"
},
"inheritedFrom": {
@@ -36292,7 +37233,7 @@
}
},
{
- "id": 2424,
+ "id": 2557,
"name": "dataPanelV2",
"kind": 1024,
"kindString": "Property",
@@ -36309,7 +37250,7 @@
},
{
"tag": "version",
- "text": "SDK: 1.43.0 | ThoughtSpot Cloud: 10.14.0.cl"
+ "text": "SDK: 1.41.1 | ThoughtSpot Cloud: 10.14.0.cl"
},
{
"tag": "example",
@@ -36320,7 +37261,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1295,
+ "line": 1308,
"character": 4
}
],
@@ -36334,7 +37275,7 @@
}
},
{
- "id": 2416,
+ "id": 2549,
"name": "dataSource",
"kind": 1024,
"kindString": "Property",
@@ -36342,7 +37283,7 @@
"isOptional": true
},
"comment": {
- "shortText": "The data source GUID (Worksheet GUID) to set on load."
+ "shortText": "The data source GUID (Model GUID) to set on load."
},
"sources": [
{
@@ -36357,7 +37298,7 @@
}
},
{
- "id": 2447,
+ "id": 2580,
"name": "disableRedirectionLinksInNewTab",
"kind": 1024,
"kindString": "Property",
@@ -36381,7 +37322,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 988,
+ "line": 1001,
"character": 4
}
],
@@ -36395,7 +37336,7 @@
}
},
{
- "id": 2411,
+ "id": 2544,
"name": "disableWorksheetChange",
"kind": 1024,
"kindString": "Property",
@@ -36403,7 +37344,7 @@
"isOptional": true
},
"comment": {
- "shortText": "Disable the worksheet selection option.",
+ "shortText": "Disable the data source selection option.",
"tags": [
{
"tag": "version",
@@ -36424,7 +37365,7 @@
}
},
{
- "id": 2431,
+ "id": 2564,
"name": "disabledActionReason",
"kind": 1024,
"kindString": "Property",
@@ -36448,7 +37389,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 795,
+ "line": 808,
"character": 4
}
],
@@ -36462,7 +37403,7 @@
}
},
{
- "id": 2430,
+ "id": 2563,
"name": "disabledActions",
"kind": 1024,
"kindString": "Property",
@@ -36486,7 +37427,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 779,
+ "line": 792,
"character": 4
}
],
@@ -36494,7 +37435,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2048,
+ "id": 2166,
"name": "Action"
}
},
@@ -36504,7 +37445,7 @@
}
},
{
- "id": 2443,
+ "id": 2576,
"name": "doNotTrackPreRenderSize",
"kind": 1024,
"kindString": "Property",
@@ -36531,7 +37472,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 944,
+ "line": 957,
"character": 4
}
],
@@ -36545,7 +37486,7 @@
}
},
{
- "id": 2425,
+ "id": 2558,
"name": "enableCustomColumnGroups",
"kind": 1024,
"kindString": "Property",
@@ -36573,7 +37514,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1311,
+ "line": 1324,
"character": 4
}
],
@@ -36587,7 +37528,7 @@
}
},
{
- "id": 2444,
+ "id": 2577,
"name": "enableV2Shell_experimental",
"kind": 1024,
"kindString": "Property",
@@ -36611,7 +37552,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 961,
+ "line": 974,
"character": 4
}
],
@@ -36625,7 +37566,7 @@
}
},
{
- "id": 2421,
+ "id": 2554,
"name": "excludeRuntimeFiltersfromURL",
"kind": 1024,
"kindString": "Property",
@@ -36649,7 +37590,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1254,
+ "line": 1267,
"character": 4
}
],
@@ -36663,7 +37604,7 @@
}
},
{
- "id": 2422,
+ "id": 2555,
"name": "excludeRuntimeParametersfromURL",
"kind": 1024,
"kindString": "Property",
@@ -36687,7 +37628,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1264,
+ "line": 1277,
"character": 4
}
],
@@ -36701,7 +37642,7 @@
}
},
{
- "id": 2446,
+ "id": 2579,
"name": "exposeTranslationIDs",
"kind": 1024,
"kindString": "Property",
@@ -36724,7 +37665,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 972,
+ "line": 985,
"character": 4
}
],
@@ -36738,7 +37679,7 @@
}
},
{
- "id": 2427,
+ "id": 2560,
"name": "frameParams",
"kind": 1024,
"kindString": "Property",
@@ -36762,13 +37703,13 @@
"sources": [
{
"fileName": "types.ts",
- "line": 752,
+ "line": 765,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 2538,
+ "id": 2680,
"name": "FrameParams"
},
"inheritedFrom": {
@@ -36777,7 +37718,7 @@
}
},
{
- "id": 2432,
+ "id": 2565,
"name": "hiddenActions",
"kind": 1024,
"kindString": "Property",
@@ -36805,7 +37746,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 813,
+ "line": 826,
"character": 4
}
],
@@ -36813,7 +37754,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2048,
+ "id": 2166,
"name": "Action"
}
},
@@ -36823,7 +37764,7 @@
}
},
{
- "id": 2413,
+ "id": 2546,
"name": "hideAutocompleteSuggestions",
"kind": 1024,
"kindString": "Property",
@@ -36852,7 +37793,7 @@
}
},
{
- "id": 2410,
+ "id": 2543,
"name": "hideSageAnswerHeader",
"kind": 1024,
"kindString": "Property",
@@ -36881,7 +37822,7 @@
}
},
{
- "id": 2415,
+ "id": 2548,
"name": "hideSampleQuestions",
"kind": 1024,
"kindString": "Property",
@@ -36889,7 +37830,7 @@
"isOptional": true
},
"comment": {
- "shortText": "Show or hide sample questions.\nThe sample questions are autogenerated based on the worksheet\nselected for the search operation.",
+ "shortText": "Show or hide sample questions.\nThe sample questions are autogenerated based on the data Model.\nselected for the search operation.",
"text": "Supported embed types: `SageEmbed`",
"tags": [
{
@@ -36915,7 +37856,7 @@
}
},
{
- "id": 2409,
+ "id": 2542,
"name": "hideSearchBarTitle",
"kind": 1024,
"kindString": "Property",
@@ -36948,7 +37889,7 @@
}
},
{
- "id": 2412,
+ "id": 2545,
"name": "hideWorksheetSelector",
"kind": 1024,
"kindString": "Property",
@@ -36956,7 +37897,7 @@
"isOptional": true
},
"comment": {
- "shortText": "Hide the worksheet selection panel.",
+ "shortText": "Hide the data source selection panel.",
"tags": [
{
"tag": "version",
@@ -36977,7 +37918,7 @@
}
},
{
- "id": 2440,
+ "id": 2573,
"name": "insertAsSibling",
"kind": 1024,
"kindString": "Property",
@@ -37001,7 +37942,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 896,
+ "line": 909,
"character": 4
}
],
@@ -37015,7 +37956,118 @@
}
},
{
- "id": 2449,
+ "id": 2588,
+ "name": "interceptTimeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The timeout for the intercept, default is 30000ms\nthe api will error out if the timeout is reached",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n```js\nconst embed = new LiveboardEmbed('#embed', {\n ...viewConfig,\n enableApiIntercept: true,\n interceptUrls: [InterceptedApiType.ALL],\n interceptTimeout: 1000,\n})\n```\n"
+ },
+ {
+ "tag": "version",
+ "text": "SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6171,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.interceptTimeout"
+ }
+ },
+ {
+ "id": 2587,
+ "name": "interceptUrls",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "This allows to intercept the urls passed, once intercepted the api will only\nrun based on the reponse from the responder of ApiIntercept event.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n```js\nconst embed = new LiveboardEmbed('#embed', {\n ...viewConfig,\n enableApiIntercept: true,\n interceptUrls: [InterceptedApiType.DATA],\n})\n```\n"
+ },
+ {
+ "tag": "version",
+ "text": "SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6154,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.interceptUrls"
+ }
+ },
+ {
+ "id": 2586,
+ "name": "isOnBeforeGetVizDataInterceptEnabled",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Flag that allows using `EmbedEvent.OnBeforeGetVizDataIntercept`.",
+ "text": "Can be used for Serach and App Embed from SDK 1.29.0\n",
+ "tags": [
+ {
+ "tag": "version",
+ "text": "SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6138,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.isOnBeforeGetVizDataInterceptEnabled"
+ }
+ },
+ {
+ "id": 2582,
"name": "linkOverride",
"kind": 1024,
"kindString": "Property",
@@ -37039,7 +38091,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1022,
+ "line": 1035,
"character": 4
}
],
@@ -37053,7 +38105,7 @@
}
},
{
- "id": 2434,
+ "id": 2567,
"name": "locale",
"kind": 1024,
"kindString": "Property",
@@ -37077,7 +38129,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 849,
+ "line": 862,
"character": 4
}
],
@@ -37091,7 +38143,7 @@
}
},
{
- "id": 2448,
+ "id": 2581,
"name": "overrideOrgId",
"kind": 1024,
"kindString": "Property",
@@ -37115,7 +38167,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1007,
+ "line": 1020,
"character": 4
}
],
@@ -37129,7 +38181,7 @@
}
},
{
- "id": 2442,
+ "id": 2575,
"name": "preRenderId",
"kind": 1024,
"kindString": "Property",
@@ -37153,7 +38205,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 923,
+ "line": 936,
"character": 4
}
],
@@ -37167,7 +38219,7 @@
}
},
{
- "id": 2418,
+ "id": 2551,
"name": "runtimeFilters",
"kind": 1024,
"kindString": "Property",
@@ -37191,7 +38243,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1207,
+ "line": 1220,
"character": 4
}
],
@@ -37199,7 +38251,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 1861,
+ "id": 1974,
"name": "RuntimeFilter"
}
},
@@ -37209,7 +38261,7 @@
}
},
{
- "id": 2419,
+ "id": 2552,
"name": "runtimeParameters",
"kind": 1024,
"kindString": "Property",
@@ -37233,7 +38285,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1228,
+ "line": 1241,
"character": 4
}
],
@@ -37241,7 +38293,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2773,
+ "id": 2904,
"name": "RuntimeParameter"
}
},
@@ -37251,7 +38303,7 @@
}
},
{
- "id": 2417,
+ "id": 2550,
"name": "searchOptions",
"kind": 1024,
"kindString": "Property",
@@ -37285,7 +38337,7 @@
}
},
{
- "id": 2451,
+ "id": 2584,
"name": "showAlerts",
"kind": 1024,
"kindString": "Property",
@@ -37308,7 +38360,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1058,
+ "line": 1071,
"character": 4
}
],
@@ -37322,7 +38374,7 @@
}
},
{
- "id": 2407,
+ "id": 2540,
"name": "showObjectResults",
"kind": 1024,
"kindString": "Property",
@@ -37351,7 +38403,7 @@
}
},
{
- "id": 2414,
+ "id": 2547,
"name": "showObjectSuggestions",
"kind": 1024,
"kindString": "Property",
@@ -37380,7 +38432,7 @@
}
},
{
- "id": 2433,
+ "id": 2566,
"name": "visibleActions",
"kind": 1024,
"kindString": "Property",
@@ -37408,7 +38460,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 834,
+ "line": 847,
"character": 4
}
],
@@ -37416,7 +38468,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2048,
+ "id": 2166,
"name": "Action"
}
},
@@ -37431,42 +38483,45 @@
"title": "Properties",
"kind": 1024,
"children": [
- 2435,
- 2423,
- 2420,
- 2452,
- 2439,
- 2424,
- 2416,
- 2447,
- 2411,
- 2431,
- 2430,
- 2443,
- 2425,
- 2444,
- 2421,
- 2422,
- 2446,
- 2427,
- 2432,
- 2413,
- 2410,
- 2415,
- 2409,
- 2412,
- 2440,
- 2449,
- 2434,
- 2448,
- 2442,
- 2418,
- 2419,
- 2417,
- 2451,
- 2407,
- 2414,
- 2433
+ 2568,
+ 2556,
+ 2553,
+ 2585,
+ 2572,
+ 2557,
+ 2549,
+ 2580,
+ 2544,
+ 2564,
+ 2563,
+ 2576,
+ 2558,
+ 2577,
+ 2554,
+ 2555,
+ 2579,
+ 2560,
+ 2565,
+ 2546,
+ 2543,
+ 2548,
+ 2542,
+ 2545,
+ 2573,
+ 2588,
+ 2587,
+ 2586,
+ 2582,
+ 2567,
+ 2581,
+ 2575,
+ 2551,
+ 2552,
+ 2550,
+ 2584,
+ 2540,
+ 2547,
+ 2566
]
}
],
@@ -37520,7 +38575,7 @@
]
},
{
- "id": 2293,
+ "id": 2416,
"name": "SearchBarViewConfig",
"kind": 256,
"kindString": "Interface",
@@ -37535,7 +38590,7 @@
},
"children": [
{
- "id": 2308,
+ "id": 2431,
"name": "additionalFlags",
"kind": 1024,
"kindString": "Property",
@@ -37559,27 +38614,27 @@
"sources": [
{
"fileName": "types.ts",
- "line": 873,
+ "line": 886,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 2309,
+ "id": 2432,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 2310,
+ "id": 2433,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 2311,
+ "id": 2434,
"name": "key",
"kind": 32768,
"flags": {},
@@ -37615,7 +38670,7 @@
}
},
{
- "id": 2332,
+ "id": 2458,
"name": "collapseSearchBar",
"kind": 1024,
"kindString": "Property",
@@ -37643,7 +38698,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1279,
+ "line": 1292,
"character": 4
}
],
@@ -37657,7 +38712,7 @@
}
},
{
- "id": 2329,
+ "id": 2455,
"name": "contextMenuTrigger",
"kind": 1024,
"kindString": "Property",
@@ -37681,13 +38736,13 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1243,
+ "line": 1256,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 2185,
+ "id": 2304,
"name": "ContextMenuTriggerOptions"
},
"inheritedFrom": {
@@ -37696,7 +38751,7 @@
}
},
{
- "id": 2326,
+ "id": 2449,
"name": "customActions",
"kind": 1024,
"kindString": "Property",
@@ -37713,14 +38768,14 @@
},
{
"tag": "example",
- "text": "\n```js\nimport { CustomActionPosition, CustomActionTarget } from '@thoughtspot/visual-embed-sdk';\n// Use supported embed types such as AppEmbed or LiveboardEmbed\nconst embed = new LiveboardEmbed('#tsEmbed', {\n ... // other embed config options\n customActions: [\n {\n name: 'customAction', \n id: 'customAction',\n target: CustomActionTarget.VISUALIZATION,\n position: CustomActionPosition.PRIMARY,\n }\n } \n ]\n})\n```\n"
+ "text": "\n```js\nimport { CustomActionPosition, CustomActionTarget } from '@thoughtspot/visual-embed-sdk';\n// Use supported embed types such as AppEmbed or LiveboardEmbed\nconst embed = new LiveboardEmbed('#tsEmbed', {\n ... // other embed config options\n customActions: [\n {\n name: 'customAction',\n id: 'customAction',\n target: CustomActionTarget.VISUALIZATION,\n position: CustomActionPosition.PRIMARY,\n }\n }\n ]\n})\n```\n"
}
]
},
"sources": [
{
"fileName": "types.ts",
- "line": 1086,
+ "line": 1099,
"character": 4
}
],
@@ -37737,7 +38792,7 @@
}
},
{
- "id": 2312,
+ "id": 2435,
"name": "customizations",
"kind": 1024,
"kindString": "Property",
@@ -37760,13 +38815,13 @@
"sources": [
{
"fileName": "types.ts",
- "line": 880,
+ "line": 893,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 2579,
+ "id": 2721,
"name": "CustomisationsInterface"
},
"inheritedFrom": {
@@ -37775,7 +38830,7 @@
}
},
{
- "id": 2333,
+ "id": 2459,
"name": "dataPanelV2",
"kind": 1024,
"kindString": "Property",
@@ -37792,7 +38847,7 @@
},
{
"tag": "version",
- "text": "SDK: 1.43.0 | ThoughtSpot Cloud: 10.14.0.cl"
+ "text": "SDK: 1.41.1 | ThoughtSpot Cloud: 10.14.0.cl"
},
{
"tag": "example",
@@ -37803,7 +38858,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1295,
+ "line": 1308,
"character": 4
}
],
@@ -37817,7 +38872,7 @@
}
},
{
- "id": 2295,
+ "id": 2418,
"name": "dataSource",
"kind": 1024,
"kindString": "Property",
@@ -37851,7 +38906,7 @@
}
},
{
- "id": 2294,
+ "id": 2417,
"name": "dataSources",
"kind": 1024,
"kindString": "Property",
@@ -37892,7 +38947,7 @@
}
},
{
- "id": 2320,
+ "id": 2443,
"name": "disableRedirectionLinksInNewTab",
"kind": 1024,
"kindString": "Property",
@@ -37916,7 +38971,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 988,
+ "line": 1001,
"character": 4
}
],
@@ -37930,7 +38985,7 @@
}
},
{
- "id": 2304,
+ "id": 2427,
"name": "disabledActionReason",
"kind": 1024,
"kindString": "Property",
@@ -37954,7 +39009,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 795,
+ "line": 808,
"character": 4
}
],
@@ -37968,7 +39023,7 @@
}
},
{
- "id": 2303,
+ "id": 2426,
"name": "disabledActions",
"kind": 1024,
"kindString": "Property",
@@ -37992,7 +39047,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 779,
+ "line": 792,
"character": 4
}
],
@@ -38000,7 +39055,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2048,
+ "id": 2166,
"name": "Action"
}
},
@@ -38010,7 +39065,7 @@
}
},
{
- "id": 2316,
+ "id": 2439,
"name": "doNotTrackPreRenderSize",
"kind": 1024,
"kindString": "Property",
@@ -38037,7 +39092,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 944,
+ "line": 957,
"character": 4
}
],
@@ -38051,7 +39106,7 @@
}
},
{
- "id": 2334,
+ "id": 2460,
"name": "enableCustomColumnGroups",
"kind": 1024,
"kindString": "Property",
@@ -38079,7 +39134,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1311,
+ "line": 1324,
"character": 4
}
],
@@ -38093,7 +39148,7 @@
}
},
{
- "id": 2317,
+ "id": 2440,
"name": "enableV2Shell_experimental",
"kind": 1024,
"kindString": "Property",
@@ -38117,7 +39172,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 961,
+ "line": 974,
"character": 4
}
],
@@ -38131,7 +39186,7 @@
}
},
{
- "id": 2330,
+ "id": 2456,
"name": "excludeRuntimeFiltersfromURL",
"kind": 1024,
"kindString": "Property",
@@ -38155,7 +39210,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1254,
+ "line": 1267,
"character": 4
}
],
@@ -38169,7 +39224,7 @@
}
},
{
- "id": 2331,
+ "id": 2457,
"name": "excludeRuntimeParametersfromURL",
"kind": 1024,
"kindString": "Property",
@@ -38193,7 +39248,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1264,
+ "line": 1277,
"character": 4
}
],
@@ -38207,7 +39262,7 @@
}
},
{
- "id": 2298,
+ "id": 2421,
"name": "excludeSearchTokenStringFromURL",
"kind": 1024,
"kindString": "Property",
@@ -38241,7 +39296,7 @@
}
},
{
- "id": 2319,
+ "id": 2442,
"name": "exposeTranslationIDs",
"kind": 1024,
"kindString": "Property",
@@ -38264,7 +39319,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 972,
+ "line": 985,
"character": 4
}
],
@@ -38278,7 +39333,7 @@
}
},
{
- "id": 2300,
+ "id": 2423,
"name": "frameParams",
"kind": 1024,
"kindString": "Property",
@@ -38302,13 +39357,13 @@
"sources": [
{
"fileName": "types.ts",
- "line": 752,
+ "line": 765,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 2538,
+ "id": 2680,
"name": "FrameParams"
},
"inheritedFrom": {
@@ -38317,7 +39372,7 @@
}
},
{
- "id": 2305,
+ "id": 2428,
"name": "hiddenActions",
"kind": 1024,
"kindString": "Property",
@@ -38345,7 +39400,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 813,
+ "line": 826,
"character": 4
}
],
@@ -38353,7 +39408,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2048,
+ "id": 2166,
"name": "Action"
}
},
@@ -38363,7 +39418,7 @@
}
},
{
- "id": 2313,
+ "id": 2436,
"name": "insertAsSibling",
"kind": 1024,
"kindString": "Property",
@@ -38387,7 +39442,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 896,
+ "line": 909,
"character": 4
}
],
@@ -38401,7 +39456,118 @@
}
},
{
- "id": 2322,
+ "id": 2452,
+ "name": "interceptTimeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The timeout for the intercept, default is 30000ms\nthe api will error out if the timeout is reached",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n```js\nconst embed = new LiveboardEmbed('#embed', {\n ...viewConfig,\n enableApiIntercept: true,\n interceptUrls: [InterceptedApiType.ALL],\n interceptTimeout: 1000,\n})\n```\n"
+ },
+ {
+ "tag": "version",
+ "text": "SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6171,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "BaseViewConfig.interceptTimeout"
+ }
+ },
+ {
+ "id": 2451,
+ "name": "interceptUrls",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "This allows to intercept the urls passed, once intercepted the api will only\nrun based on the reponse from the responder of ApiIntercept event.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n```js\nconst embed = new LiveboardEmbed('#embed', {\n ...viewConfig,\n enableApiIntercept: true,\n interceptUrls: [InterceptedApiType.DATA],\n})\n```\n"
+ },
+ {
+ "tag": "version",
+ "text": "SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6154,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "BaseViewConfig.interceptUrls"
+ }
+ },
+ {
+ "id": 2450,
+ "name": "isOnBeforeGetVizDataInterceptEnabled",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Flag that allows using `EmbedEvent.OnBeforeGetVizDataIntercept`.",
+ "text": "Can be used for Serach and App Embed from SDK 1.29.0\n",
+ "tags": [
+ {
+ "tag": "version",
+ "text": "SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6138,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "BaseViewConfig.isOnBeforeGetVizDataInterceptEnabled"
+ }
+ },
+ {
+ "id": 2445,
"name": "linkOverride",
"kind": 1024,
"kindString": "Property",
@@ -38425,7 +39591,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1022,
+ "line": 1035,
"character": 4
}
],
@@ -38439,7 +39605,7 @@
}
},
{
- "id": 2307,
+ "id": 2430,
"name": "locale",
"kind": 1024,
"kindString": "Property",
@@ -38463,7 +39629,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 849,
+ "line": 862,
"character": 4
}
],
@@ -38477,7 +39643,7 @@
}
},
{
- "id": 2321,
+ "id": 2444,
"name": "overrideOrgId",
"kind": 1024,
"kindString": "Property",
@@ -38501,7 +39667,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1007,
+ "line": 1020,
"character": 4
}
],
@@ -38515,7 +39681,7 @@
}
},
{
- "id": 2315,
+ "id": 2438,
"name": "preRenderId",
"kind": 1024,
"kindString": "Property",
@@ -38539,7 +39705,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 923,
+ "line": 936,
"character": 4
}
],
@@ -38553,7 +39719,7 @@
}
},
{
- "id": 2323,
+ "id": 2446,
"name": "primaryAction",
"kind": 1024,
"kindString": "Property",
@@ -38577,7 +39743,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1038,
+ "line": 1051,
"character": 4
}
],
@@ -38591,7 +39757,7 @@
}
},
{
- "id": 2327,
+ "id": 2453,
"name": "runtimeFilters",
"kind": 1024,
"kindString": "Property",
@@ -38615,7 +39781,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1207,
+ "line": 1220,
"character": 4
}
],
@@ -38623,7 +39789,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 1861,
+ "id": 1974,
"name": "RuntimeFilter"
}
},
@@ -38633,7 +39799,7 @@
}
},
{
- "id": 2328,
+ "id": 2454,
"name": "runtimeParameters",
"kind": 1024,
"kindString": "Property",
@@ -38657,7 +39823,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1228,
+ "line": 1241,
"character": 4
}
],
@@ -38665,7 +39831,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2773,
+ "id": 2904,
"name": "RuntimeParameter"
}
},
@@ -38675,7 +39841,7 @@
}
},
{
- "id": 2297,
+ "id": 2420,
"name": "searchOptions",
"kind": 1024,
"kindString": "Property",
@@ -38709,7 +39875,7 @@
}
},
{
- "id": 2325,
+ "id": 2448,
"name": "showAlerts",
"kind": 1024,
"kindString": "Property",
@@ -38732,7 +39898,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1058,
+ "line": 1071,
"character": 4
}
],
@@ -38746,7 +39912,7 @@
}
},
{
- "id": 2296,
+ "id": 2419,
"name": "useLastSelectedSources",
"kind": 1024,
"kindString": "Property",
@@ -38780,7 +39946,7 @@
}
},
{
- "id": 2306,
+ "id": 2429,
"name": "visibleActions",
"kind": 1024,
"kindString": "Property",
@@ -38808,7 +39974,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 834,
+ "line": 847,
"character": 4
}
],
@@ -38816,7 +39982,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2048,
+ "id": 2166,
"name": "Action"
}
},
@@ -38831,38 +39997,41 @@
"title": "Properties",
"kind": 1024,
"children": [
- 2308,
- 2332,
- 2329,
- 2326,
- 2312,
- 2333,
- 2295,
- 2294,
- 2320,
- 2304,
- 2303,
- 2316,
- 2334,
- 2317,
- 2330,
- 2331,
- 2298,
- 2319,
- 2300,
- 2305,
- 2313,
- 2322,
- 2307,
- 2321,
- 2315,
- 2323,
- 2327,
- 2328,
- 2297,
- 2325,
- 2296,
- 2306
+ 2431,
+ 2458,
+ 2455,
+ 2449,
+ 2435,
+ 2459,
+ 2418,
+ 2417,
+ 2443,
+ 2427,
+ 2426,
+ 2439,
+ 2460,
+ 2440,
+ 2456,
+ 2457,
+ 2421,
+ 2442,
+ 2423,
+ 2428,
+ 2436,
+ 2452,
+ 2451,
+ 2450,
+ 2445,
+ 2430,
+ 2444,
+ 2438,
+ 2446,
+ 2453,
+ 2454,
+ 2420,
+ 2448,
+ 2419,
+ 2429
]
}
],
@@ -38885,7 +40054,7 @@
]
},
{
- "id": 2239,
+ "id": 2360,
"name": "SearchViewConfig",
"kind": 256,
"kindString": "Interface",
@@ -38901,7 +40070,7 @@
},
"children": [
{
- "id": 2275,
+ "id": 2395,
"name": "additionalFlags",
"kind": 1024,
"kindString": "Property",
@@ -38925,27 +40094,27 @@
"sources": [
{
"fileName": "types.ts",
- "line": 873,
+ "line": 886,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 2276,
+ "id": 2396,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 2277,
+ "id": 2397,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 2278,
+ "id": 2398,
"name": "key",
"kind": 32768,
"flags": {},
@@ -38981,7 +40150,7 @@
}
},
{
- "id": 2251,
+ "id": 2372,
"name": "answerId",
"kind": 1024,
"kindString": "Property",
@@ -39005,7 +40174,7 @@
"sources": [
{
"fileName": "embed/search.ts",
- "line": 249,
+ "line": 250,
"character": 4
}
],
@@ -39015,7 +40184,7 @@
}
},
{
- "id": 2241,
+ "id": 2362,
"name": "collapseDataPanel",
"kind": 1024,
"kindString": "Property",
@@ -39039,7 +40208,7 @@
"sources": [
{
"fileName": "embed/search.ts",
- "line": 102,
+ "line": 103,
"character": 4
}
],
@@ -39049,7 +40218,7 @@
}
},
{
- "id": 2240,
+ "id": 2361,
"name": "collapseDataSources",
"kind": 1024,
"kindString": "Property",
@@ -39073,7 +40242,7 @@
"sources": [
{
"fileName": "embed/search.ts",
- "line": 87,
+ "line": 88,
"character": 4
}
],
@@ -39083,7 +40252,7 @@
}
},
{
- "id": 2263,
+ "id": 2383,
"name": "collapseSearchBar",
"kind": 1024,
"kindString": "Property",
@@ -39111,7 +40280,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1279,
+ "line": 1292,
"character": 4
}
],
@@ -39125,7 +40294,7 @@
}
},
{
- "id": 2254,
+ "id": 2375,
"name": "collapseSearchBarInitially",
"kind": 1024,
"kindString": "Property",
@@ -39152,7 +40321,7 @@
"sources": [
{
"fileName": "embed/search.ts",
- "line": 278,
+ "line": 279,
"character": 4
}
],
@@ -39162,7 +40331,7 @@
}
},
{
- "id": 2260,
+ "id": 2380,
"name": "contextMenuTrigger",
"kind": 1024,
"kindString": "Property",
@@ -39186,13 +40355,13 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1243,
+ "line": 1256,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 2185,
+ "id": 2304,
"name": "ContextMenuTriggerOptions"
},
"inheritedFrom": {
@@ -39201,7 +40370,7 @@
}
},
{
- "id": 2292,
+ "id": 2412,
"name": "customActions",
"kind": 1024,
"kindString": "Property",
@@ -39218,14 +40387,14 @@
},
{
"tag": "example",
- "text": "\n```js\nimport { CustomActionPosition, CustomActionTarget } from '@thoughtspot/visual-embed-sdk';\n// Use supported embed types such as AppEmbed or LiveboardEmbed\nconst embed = new LiveboardEmbed('#tsEmbed', {\n ... // other embed config options\n customActions: [\n {\n name: 'customAction', \n id: 'customAction',\n target: CustomActionTarget.VISUALIZATION,\n position: CustomActionPosition.PRIMARY,\n }\n } \n ]\n})\n```\n"
+ "text": "\n```js\nimport { CustomActionPosition, CustomActionTarget } from '@thoughtspot/visual-embed-sdk';\n// Use supported embed types such as AppEmbed or LiveboardEmbed\nconst embed = new LiveboardEmbed('#tsEmbed', {\n ... // other embed config options\n customActions: [\n {\n name: 'customAction',\n id: 'customAction',\n target: CustomActionTarget.VISUALIZATION,\n position: CustomActionPosition.PRIMARY,\n }\n }\n ]\n})\n```\n"
}
]
},
"sources": [
{
"fileName": "types.ts",
- "line": 1086,
+ "line": 1099,
"character": 4
}
],
@@ -39242,7 +40411,7 @@
}
},
{
- "id": 2279,
+ "id": 2399,
"name": "customizations",
"kind": 1024,
"kindString": "Property",
@@ -39265,13 +40434,13 @@
"sources": [
{
"fileName": "types.ts",
- "line": 880,
+ "line": 893,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 2579,
+ "id": 2721,
"name": "CustomisationsInterface"
},
"inheritedFrom": {
@@ -39280,7 +40449,7 @@
}
},
{
- "id": 2256,
+ "id": 2376,
"name": "dataPanelCustomGroupsAccordionInitialState",
"kind": 1024,
"kindString": "Property",
@@ -39308,7 +40477,7 @@
"sources": [
{
"fileName": "embed/search.ts",
- "line": 306,
+ "line": 300,
"character": 4
}
],
@@ -39318,7 +40487,7 @@
}
},
{
- "id": 2264,
+ "id": 2384,
"name": "dataPanelV2",
"kind": 1024,
"kindString": "Property",
@@ -39335,7 +40504,7 @@
},
{
"tag": "version",
- "text": "SDK: 1.43.0 | ThoughtSpot Cloud: 10.14.0.cl"
+ "text": "SDK: 1.41.1 | ThoughtSpot Cloud: 10.14.0.cl"
},
{
"tag": "example",
@@ -39346,7 +40515,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1295,
+ "line": 1308,
"character": 4
}
],
@@ -39360,7 +40529,7 @@
}
},
{
- "id": 2247,
+ "id": 2368,
"name": "dataSource",
"kind": 1024,
"kindString": "Property",
@@ -39384,7 +40553,7 @@
"sources": [
{
"fileName": "embed/search.ts",
- "line": 189,
+ "line": 190,
"character": 4
}
],
@@ -39394,7 +40563,7 @@
}
},
{
- "id": 2246,
+ "id": 2367,
"name": "dataSources",
"kind": 1024,
"kindString": "Property",
@@ -39417,7 +40586,7 @@
"sources": [
{
"fileName": "embed/search.ts",
- "line": 175,
+ "line": 176,
"character": 4
}
],
@@ -39430,7 +40599,7 @@
}
},
{
- "id": 2287,
+ "id": 2407,
"name": "disableRedirectionLinksInNewTab",
"kind": 1024,
"kindString": "Property",
@@ -39454,7 +40623,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 988,
+ "line": 1001,
"character": 4
}
],
@@ -39468,7 +40637,7 @@
}
},
{
- "id": 2271,
+ "id": 2391,
"name": "disabledActionReason",
"kind": 1024,
"kindString": "Property",
@@ -39492,7 +40661,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 795,
+ "line": 808,
"character": 4
}
],
@@ -39506,7 +40675,7 @@
}
},
{
- "id": 2270,
+ "id": 2390,
"name": "disabledActions",
"kind": 1024,
"kindString": "Property",
@@ -39530,7 +40699,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 779,
+ "line": 792,
"character": 4
}
],
@@ -39538,7 +40707,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2048,
+ "id": 2166,
"name": "Action"
}
},
@@ -39548,7 +40717,7 @@
}
},
{
- "id": 2283,
+ "id": 2403,
"name": "doNotTrackPreRenderSize",
"kind": 1024,
"kindString": "Property",
@@ -39575,7 +40744,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 944,
+ "line": 957,
"character": 4
}
],
@@ -39589,7 +40758,7 @@
}
},
{
- "id": 2265,
+ "id": 2385,
"name": "enableCustomColumnGroups",
"kind": 1024,
"kindString": "Property",
@@ -39617,7 +40786,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1311,
+ "line": 1324,
"character": 4
}
],
@@ -39631,7 +40800,7 @@
}
},
{
- "id": 2244,
+ "id": 2365,
"name": "enableSearchAssist",
"kind": 1024,
"kindString": "Property",
@@ -39655,7 +40824,7 @@
"sources": [
{
"fileName": "embed/search.ts",
- "line": 146,
+ "line": 147,
"character": 4
}
],
@@ -39665,7 +40834,7 @@
}
},
{
- "id": 2284,
+ "id": 2404,
"name": "enableV2Shell_experimental",
"kind": 1024,
"kindString": "Property",
@@ -39689,7 +40858,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 961,
+ "line": 974,
"character": 4
}
],
@@ -39703,7 +40872,7 @@
}
},
{
- "id": 2261,
+ "id": 2381,
"name": "excludeRuntimeFiltersfromURL",
"kind": 1024,
"kindString": "Property",
@@ -39727,7 +40896,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1254,
+ "line": 1267,
"character": 4
}
],
@@ -39741,7 +40910,7 @@
}
},
{
- "id": 2262,
+ "id": 2382,
"name": "excludeRuntimeParametersfromURL",
"kind": 1024,
"kindString": "Property",
@@ -39765,7 +40934,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1264,
+ "line": 1277,
"character": 4
}
],
@@ -39779,7 +40948,7 @@
}
},
{
- "id": 2250,
+ "id": 2371,
"name": "excludeSearchTokenStringFromURL",
"kind": 1024,
"kindString": "Property",
@@ -39803,7 +40972,7 @@
"sources": [
{
"fileName": "embed/search.ts",
- "line": 235,
+ "line": 236,
"character": 4
}
],
@@ -39813,7 +40982,7 @@
}
},
{
- "id": 2286,
+ "id": 2406,
"name": "exposeTranslationIDs",
"kind": 1024,
"kindString": "Property",
@@ -39836,7 +41005,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 972,
+ "line": 985,
"character": 4
}
],
@@ -39850,7 +41019,7 @@
}
},
{
- "id": 2257,
+ "id": 2377,
"name": "focusSearchBarOnRender",
"kind": 1024,
"kindString": "Property",
@@ -39878,7 +41047,7 @@
"sources": [
{
"fileName": "embed/search.ts",
- "line": 322,
+ "line": 316,
"character": 4
}
],
@@ -39888,7 +41057,7 @@
}
},
{
- "id": 2245,
+ "id": 2366,
"name": "forceTable",
"kind": 1024,
"kindString": "Property",
@@ -39912,7 +41081,7 @@
"sources": [
{
"fileName": "embed/search.ts",
- "line": 160,
+ "line": 161,
"character": 4
}
],
@@ -39922,7 +41091,7 @@
}
},
{
- "id": 2267,
+ "id": 2387,
"name": "frameParams",
"kind": 1024,
"kindString": "Property",
@@ -39946,13 +41115,13 @@
"sources": [
{
"fileName": "types.ts",
- "line": 752,
+ "line": 765,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 2538,
+ "id": 2680,
"name": "FrameParams"
},
"inheritedFrom": {
@@ -39961,7 +41130,7 @@
}
},
{
- "id": 2272,
+ "id": 2392,
"name": "hiddenActions",
"kind": 1024,
"kindString": "Property",
@@ -39989,7 +41158,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 813,
+ "line": 826,
"character": 4
}
],
@@ -39997,7 +41166,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2048,
+ "id": 2166,
"name": "Action"
}
},
@@ -40007,7 +41176,7 @@
}
},
{
- "id": 2242,
+ "id": 2363,
"name": "hideDataSources",
"kind": 1024,
"kindString": "Property",
@@ -40031,7 +41200,7 @@
"sources": [
{
"fileName": "embed/search.ts",
- "line": 116,
+ "line": 117,
"character": 4
}
],
@@ -40041,7 +41210,7 @@
}
},
{
- "id": 2243,
+ "id": 2364,
"name": "hideResults",
"kind": 1024,
"kindString": "Property",
@@ -40065,7 +41234,7 @@
"sources": [
{
"fileName": "embed/search.ts",
- "line": 132,
+ "line": 133,
"character": 4
}
],
@@ -40075,7 +41244,7 @@
}
},
{
- "id": 2252,
+ "id": 2373,
"name": "hideSearchBar",
"kind": 1024,
"kindString": "Property",
@@ -40099,7 +41268,7 @@
"sources": [
{
"fileName": "embed/search.ts",
- "line": 264,
+ "line": 265,
"character": 4
}
],
@@ -40109,7 +41278,7 @@
}
},
{
- "id": 2280,
+ "id": 2400,
"name": "insertAsSibling",
"kind": 1024,
"kindString": "Property",
@@ -40133,7 +41302,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 896,
+ "line": 909,
"character": 4
}
],
@@ -40147,7 +41316,84 @@
}
},
{
- "id": 2255,
+ "id": 2415,
+ "name": "interceptTimeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The timeout for the intercept, default is 30000ms\nthe api will error out if the timeout is reached",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n```js\nconst embed = new LiveboardEmbed('#embed', {\n ...viewConfig,\n enableApiIntercept: true,\n interceptUrls: [InterceptedApiType.ALL],\n interceptTimeout: 1000,\n})\n```\n"
+ },
+ {
+ "tag": "version",
+ "text": "SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6171,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.interceptTimeout"
+ }
+ },
+ {
+ "id": 2414,
+ "name": "interceptUrls",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "This allows to intercept the urls passed, once intercepted the api will only\nrun based on the reponse from the responder of ApiIntercept event.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n```js\nconst embed = new LiveboardEmbed('#embed', {\n ...viewConfig,\n enableApiIntercept: true,\n interceptUrls: [InterceptedApiType.DATA],\n})\n```\n"
+ },
+ {
+ "tag": "version",
+ "text": "SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6154,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.interceptUrls"
+ }
+ },
+ {
+ "id": 2413,
"name": "isOnBeforeGetVizDataInterceptEnabled",
"kind": 1024,
"kindString": "Property",
@@ -40155,29 +41401,33 @@
"isOptional": true
},
"comment": {
- "shortText": "Flag to enable onBeforeSearchExecute Embed Event",
- "text": "Supported embed types: `SearchEmbed`",
+ "shortText": "Flag that allows using `EmbedEvent.OnBeforeGetVizDataIntercept`.",
+ "text": "Can be used for Serach and App Embed from SDK 1.29.0\n",
"tags": [
{
- "tag": "version:",
- "text": "SDK: 1.29.0 | ThoughtSpot: 10.1.0.cl\n"
+ "tag": "version",
+ "text": "SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
}
]
},
"sources": [
{
- "fileName": "embed/search.ts",
- "line": 285,
+ "fileName": "types.ts",
+ "line": 6138,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.isOnBeforeGetVizDataInterceptEnabled"
}
},
{
- "id": 2289,
+ "id": 2409,
"name": "linkOverride",
"kind": 1024,
"kindString": "Property",
@@ -40201,7 +41451,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1022,
+ "line": 1035,
"character": 4
}
],
@@ -40215,7 +41465,7 @@
}
},
{
- "id": 2274,
+ "id": 2394,
"name": "locale",
"kind": 1024,
"kindString": "Property",
@@ -40239,7 +41489,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 849,
+ "line": 862,
"character": 4
}
],
@@ -40253,7 +41503,7 @@
}
},
{
- "id": 2288,
+ "id": 2408,
"name": "overrideOrgId",
"kind": 1024,
"kindString": "Property",
@@ -40277,7 +41527,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1007,
+ "line": 1020,
"character": 4
}
],
@@ -40291,7 +41541,7 @@
}
},
{
- "id": 2282,
+ "id": 2402,
"name": "preRenderId",
"kind": 1024,
"kindString": "Property",
@@ -40315,7 +41565,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 923,
+ "line": 936,
"character": 4
}
],
@@ -40329,7 +41579,7 @@
}
},
{
- "id": 2258,
+ "id": 2378,
"name": "runtimeFilters",
"kind": 1024,
"kindString": "Property",
@@ -40353,7 +41603,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1207,
+ "line": 1220,
"character": 4
}
],
@@ -40361,7 +41611,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 1861,
+ "id": 1974,
"name": "RuntimeFilter"
}
},
@@ -40371,7 +41621,7 @@
}
},
{
- "id": 2259,
+ "id": 2379,
"name": "runtimeParameters",
"kind": 1024,
"kindString": "Property",
@@ -40395,7 +41645,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1228,
+ "line": 1241,
"character": 4
}
],
@@ -40403,7 +41653,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2773,
+ "id": 2904,
"name": "RuntimeParameter"
}
},
@@ -40413,7 +41663,7 @@
}
},
{
- "id": 2249,
+ "id": 2370,
"name": "searchOptions",
"kind": 1024,
"kindString": "Property",
@@ -40433,7 +41683,7 @@
"sources": [
{
"fileName": "embed/search.ts",
- "line": 217,
+ "line": 218,
"character": 4
}
],
@@ -40443,7 +41693,7 @@
}
},
{
- "id": 2248,
+ "id": 2369,
"name": "searchQuery",
"kind": 1024,
"kindString": "Property",
@@ -40462,7 +41712,7 @@
"sources": [
{
"fileName": "embed/search.ts",
- "line": 196,
+ "line": 197,
"character": 4
}
],
@@ -40472,7 +41722,7 @@
}
},
{
- "id": 2291,
+ "id": 2411,
"name": "showAlerts",
"kind": 1024,
"kindString": "Property",
@@ -40495,7 +41745,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1058,
+ "line": 1071,
"character": 4
}
],
@@ -40509,7 +41759,7 @@
}
},
{
- "id": 2253,
+ "id": 2374,
"name": "useLastSelectedSources",
"kind": 1024,
"kindString": "Property",
@@ -40529,7 +41779,7 @@
"sources": [
{
"fileName": "embed/search.ts",
- "line": 271,
+ "line": 272,
"character": 4
}
],
@@ -40539,7 +41789,7 @@
}
},
{
- "id": 2273,
+ "id": 2393,
"name": "visibleActions",
"kind": 1024,
"kindString": "Property",
@@ -40567,7 +41817,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 834,
+ "line": 847,
"character": 4
}
],
@@ -40575,7 +41825,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2048,
+ "id": 2166,
"name": "Action"
}
},
@@ -40590,57 +41840,59 @@
"title": "Properties",
"kind": 1024,
"children": [
- 2275,
- 2251,
- 2241,
- 2240,
- 2263,
- 2254,
- 2260,
- 2292,
- 2279,
- 2256,
- 2264,
- 2247,
- 2246,
- 2287,
- 2271,
- 2270,
- 2283,
- 2265,
- 2244,
- 2284,
- 2261,
- 2262,
- 2250,
- 2286,
- 2257,
- 2245,
- 2267,
- 2272,
- 2242,
- 2243,
- 2252,
- 2280,
- 2255,
- 2289,
- 2274,
- 2288,
- 2282,
- 2258,
- 2259,
- 2249,
- 2248,
- 2291,
- 2253,
- 2273
+ 2395,
+ 2372,
+ 2362,
+ 2361,
+ 2383,
+ 2375,
+ 2380,
+ 2412,
+ 2399,
+ 2376,
+ 2384,
+ 2368,
+ 2367,
+ 2407,
+ 2391,
+ 2390,
+ 2403,
+ 2385,
+ 2365,
+ 2404,
+ 2381,
+ 2382,
+ 2371,
+ 2406,
+ 2377,
+ 2366,
+ 2387,
+ 2392,
+ 2363,
+ 2364,
+ 2373,
+ 2400,
+ 2415,
+ 2414,
+ 2413,
+ 2409,
+ 2394,
+ 2408,
+ 2402,
+ 2378,
+ 2379,
+ 2370,
+ 2369,
+ 2411,
+ 2374,
+ 2393
]
}
],
"sources": [
{
"fileName": "embed/search.ts",
- "line": 71,
+ "line": 72,
"character": 17
}
],
@@ -40666,14 +41918,14 @@
]
},
{
- "id": 1830,
+ "id": 1943,
"name": "SessionInterface",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 1833,
+ "id": 1946,
"name": "acSession",
"kind": 1024,
"kindString": "Property",
@@ -40688,14 +41940,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 1834,
+ "id": 1947,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 1836,
+ "id": 1949,
"name": "genNo",
"kind": 1024,
"kindString": "Property",
@@ -40713,7 +41965,7 @@
}
},
{
- "id": 1835,
+ "id": 1948,
"name": "sessionId",
"kind": 1024,
"kindString": "Property",
@@ -40736,8 +41988,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 1836,
- 1835
+ 1949,
+ 1948
]
}
]
@@ -40745,7 +41997,7 @@
}
},
{
- "id": 1832,
+ "id": 1945,
"name": "genNo",
"kind": 1024,
"kindString": "Property",
@@ -40763,7 +42015,7 @@
}
},
{
- "id": 1831,
+ "id": 1944,
"name": "sessionId",
"kind": 1024,
"kindString": "Property",
@@ -40786,9 +42038,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 1833,
- 1832,
- 1831
+ 1946,
+ 1945,
+ 1944
]
}
],
@@ -40801,7 +42053,7 @@
]
},
{
- "id": 1198,
+ "id": 1273,
"name": "SpotterAgentEmbedViewConfig",
"kind": 256,
"kindString": "Interface",
@@ -40817,7 +42069,7 @@
},
"children": [
{
- "id": 1209,
+ "id": 1284,
"name": "additionalFlags",
"kind": 1024,
"kindString": "Property",
@@ -40841,27 +42093,27 @@
"sources": [
{
"fileName": "types.ts",
- "line": 873,
+ "line": 886,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 1210,
+ "id": 1285,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 1211,
+ "id": 1286,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 1212,
+ "id": 1287,
"name": "key",
"kind": 32768,
"flags": {},
@@ -40897,7 +42149,7 @@
}
},
{
- "id": 1226,
+ "id": 1301,
"name": "customActions",
"kind": 1024,
"kindString": "Property",
@@ -40914,14 +42166,14 @@
},
{
"tag": "example",
- "text": "\n```js\nimport { CustomActionPosition, CustomActionTarget } from '@thoughtspot/visual-embed-sdk';\n// Use supported embed types such as AppEmbed or LiveboardEmbed\nconst embed = new LiveboardEmbed('#tsEmbed', {\n ... // other embed config options\n customActions: [\n {\n name: 'customAction', \n id: 'customAction',\n target: CustomActionTarget.VISUALIZATION,\n position: CustomActionPosition.PRIMARY,\n }\n } \n ]\n})\n```\n"
+ "text": "\n```js\nimport { CustomActionPosition, CustomActionTarget } from '@thoughtspot/visual-embed-sdk';\n// Use supported embed types such as AppEmbed or LiveboardEmbed\nconst embed = new LiveboardEmbed('#tsEmbed', {\n ... // other embed config options\n customActions: [\n {\n name: 'customAction',\n id: 'customAction',\n target: CustomActionTarget.VISUALIZATION,\n position: CustomActionPosition.PRIMARY,\n }\n }\n ]\n})\n```\n"
}
]
},
"sources": [
{
"fileName": "types.ts",
- "line": 1086,
+ "line": 1099,
"character": 4
}
],
@@ -40938,7 +42190,7 @@
}
},
{
- "id": 1213,
+ "id": 1288,
"name": "customizations",
"kind": 1024,
"kindString": "Property",
@@ -40961,13 +42213,13 @@
"sources": [
{
"fileName": "types.ts",
- "line": 880,
+ "line": 893,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 2579,
+ "id": 2721,
"name": "CustomisationsInterface"
},
"inheritedFrom": {
@@ -40976,7 +42228,7 @@
}
},
{
- "id": 1221,
+ "id": 1296,
"name": "disableRedirectionLinksInNewTab",
"kind": 1024,
"kindString": "Property",
@@ -41000,7 +42252,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 988,
+ "line": 1001,
"character": 4
}
],
@@ -41014,7 +42266,7 @@
}
},
{
- "id": 1205,
+ "id": 1280,
"name": "disabledActionReason",
"kind": 1024,
"kindString": "Property",
@@ -41038,7 +42290,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 795,
+ "line": 808,
"character": 4
}
],
@@ -41052,7 +42304,7 @@
}
},
{
- "id": 1204,
+ "id": 1279,
"name": "disabledActions",
"kind": 1024,
"kindString": "Property",
@@ -41076,7 +42328,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 779,
+ "line": 792,
"character": 4
}
],
@@ -41084,7 +42336,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2048,
+ "id": 2166,
"name": "Action"
}
},
@@ -41094,7 +42346,7 @@
}
},
{
- "id": 1217,
+ "id": 1292,
"name": "doNotTrackPreRenderSize",
"kind": 1024,
"kindString": "Property",
@@ -41121,7 +42373,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 944,
+ "line": 957,
"character": 4
}
],
@@ -41135,7 +42387,7 @@
}
},
{
- "id": 1218,
+ "id": 1293,
"name": "enableV2Shell_experimental",
"kind": 1024,
"kindString": "Property",
@@ -41159,7 +42411,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 961,
+ "line": 974,
"character": 4
}
],
@@ -41173,7 +42425,7 @@
}
},
{
- "id": 1220,
+ "id": 1295,
"name": "exposeTranslationIDs",
"kind": 1024,
"kindString": "Property",
@@ -41196,7 +42448,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 972,
+ "line": 985,
"character": 4
}
],
@@ -41210,7 +42462,7 @@
}
},
{
- "id": 1201,
+ "id": 1276,
"name": "frameParams",
"kind": 1024,
"kindString": "Property",
@@ -41234,13 +42486,13 @@
"sources": [
{
"fileName": "types.ts",
- "line": 752,
+ "line": 765,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 2538,
+ "id": 2680,
"name": "FrameParams"
},
"inheritedFrom": {
@@ -41249,7 +42501,7 @@
}
},
{
- "id": 1206,
+ "id": 1281,
"name": "hiddenActions",
"kind": 1024,
"kindString": "Property",
@@ -41277,7 +42529,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 813,
+ "line": 826,
"character": 4
}
],
@@ -41285,7 +42537,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2048,
+ "id": 2166,
"name": "Action"
}
},
@@ -41295,7 +42547,7 @@
}
},
{
- "id": 1214,
+ "id": 1289,
"name": "insertAsSibling",
"kind": 1024,
"kindString": "Property",
@@ -41319,7 +42571,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 896,
+ "line": 909,
"character": 4
}
],
@@ -41333,7 +42585,118 @@
}
},
{
- "id": 1223,
+ "id": 1304,
+ "name": "interceptTimeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The timeout for the intercept, default is 30000ms\nthe api will error out if the timeout is reached",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n```js\nconst embed = new LiveboardEmbed('#embed', {\n ...viewConfig,\n enableApiIntercept: true,\n interceptUrls: [InterceptedApiType.ALL],\n interceptTimeout: 1000,\n})\n```\n"
+ },
+ {
+ "tag": "version",
+ "text": "SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6171,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.interceptTimeout"
+ }
+ },
+ {
+ "id": 1303,
+ "name": "interceptUrls",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "This allows to intercept the urls passed, once intercepted the api will only\nrun based on the reponse from the responder of ApiIntercept event.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n```js\nconst embed = new LiveboardEmbed('#embed', {\n ...viewConfig,\n enableApiIntercept: true,\n interceptUrls: [InterceptedApiType.DATA],\n})\n```\n"
+ },
+ {
+ "tag": "version",
+ "text": "SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6154,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.interceptUrls"
+ }
+ },
+ {
+ "id": 1302,
+ "name": "isOnBeforeGetVizDataInterceptEnabled",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Flag that allows using `EmbedEvent.OnBeforeGetVizDataIntercept`.",
+ "text": "Can be used for Serach and App Embed from SDK 1.29.0\n",
+ "tags": [
+ {
+ "tag": "version",
+ "text": "SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6138,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.isOnBeforeGetVizDataInterceptEnabled"
+ }
+ },
+ {
+ "id": 1298,
"name": "linkOverride",
"kind": 1024,
"kindString": "Property",
@@ -41357,7 +42720,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1022,
+ "line": 1035,
"character": 4
}
],
@@ -41371,7 +42734,7 @@
}
},
{
- "id": 1208,
+ "id": 1283,
"name": "locale",
"kind": 1024,
"kindString": "Property",
@@ -41395,7 +42758,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 849,
+ "line": 862,
"character": 4
}
],
@@ -41409,7 +42772,7 @@
}
},
{
- "id": 1222,
+ "id": 1297,
"name": "overrideOrgId",
"kind": 1024,
"kindString": "Property",
@@ -41433,7 +42796,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1007,
+ "line": 1020,
"character": 4
}
],
@@ -41447,7 +42810,7 @@
}
},
{
- "id": 1216,
+ "id": 1291,
"name": "preRenderId",
"kind": 1024,
"kindString": "Property",
@@ -41471,7 +42834,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 923,
+ "line": 936,
"character": 4
}
],
@@ -41485,7 +42848,7 @@
}
},
{
- "id": 1225,
+ "id": 1300,
"name": "showAlerts",
"kind": 1024,
"kindString": "Property",
@@ -41508,7 +42871,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1058,
+ "line": 1071,
"character": 4
}
],
@@ -41522,7 +42885,7 @@
}
},
{
- "id": 1207,
+ "id": 1282,
"name": "visibleActions",
"kind": 1024,
"kindString": "Property",
@@ -41550,7 +42913,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 834,
+ "line": 847,
"character": 4
}
],
@@ -41558,7 +42921,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2048,
+ "id": 2166,
"name": "Action"
}
},
@@ -41568,13 +42931,13 @@
}
},
{
- "id": 1199,
+ "id": 1274,
"name": "worksheetId",
"kind": 1024,
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "The ID of the worksheet to use for the conversation."
+ "shortText": "The ID of the Model to use for the conversation."
},
"sources": [
{
@@ -41594,25 +42957,28 @@
"title": "Properties",
"kind": 1024,
"children": [
- 1209,
- 1226,
- 1213,
- 1221,
- 1205,
- 1204,
- 1217,
- 1218,
- 1220,
- 1201,
- 1206,
- 1214,
- 1223,
- 1208,
- 1222,
- 1216,
- 1225,
- 1207,
- 1199
+ 1284,
+ 1301,
+ 1288,
+ 1296,
+ 1280,
+ 1279,
+ 1292,
+ 1293,
+ 1295,
+ 1276,
+ 1281,
+ 1289,
+ 1304,
+ 1303,
+ 1302,
+ 1298,
+ 1283,
+ 1297,
+ 1291,
+ 1300,
+ 1282,
+ 1274
]
}
],
@@ -41642,13 +43008,13 @@
"extendedBy": [
{
"type": "reference",
- "id": 1227,
+ "id": 1305,
"name": "BodylessConversationViewConfig"
}
]
},
{
- "id": 1448,
+ "id": 1541,
"name": "SpotterEmbedViewConfig",
"kind": 256,
"kindString": "Interface",
@@ -41664,7 +43030,7 @@
},
"children": [
{
- "id": 1469,
+ "id": 1563,
"name": "additionalFlags",
"kind": 1024,
"kindString": "Property",
@@ -41688,27 +43054,27 @@
"sources": [
{
"fileName": "types.ts",
- "line": 873,
+ "line": 886,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 1470,
+ "id": 1564,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 1471,
+ "id": 1565,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 1472,
+ "id": 1566,
"name": "key",
"kind": 32768,
"flags": {},
@@ -41744,7 +43110,7 @@
}
},
{
- "id": 1486,
+ "id": 1580,
"name": "customActions",
"kind": 1024,
"kindString": "Property",
@@ -41761,14 +43127,14 @@
},
{
"tag": "example",
- "text": "\n```js\nimport { CustomActionPosition, CustomActionTarget } from '@thoughtspot/visual-embed-sdk';\n// Use supported embed types such as AppEmbed or LiveboardEmbed\nconst embed = new LiveboardEmbed('#tsEmbed', {\n ... // other embed config options\n customActions: [\n {\n name: 'customAction', \n id: 'customAction',\n target: CustomActionTarget.VISUALIZATION,\n position: CustomActionPosition.PRIMARY,\n }\n } \n ]\n})\n```\n"
+ "text": "\n```js\nimport { CustomActionPosition, CustomActionTarget } from '@thoughtspot/visual-embed-sdk';\n// Use supported embed types such as AppEmbed or LiveboardEmbed\nconst embed = new LiveboardEmbed('#tsEmbed', {\n ... // other embed config options\n customActions: [\n {\n name: 'customAction',\n id: 'customAction',\n target: CustomActionTarget.VISUALIZATION,\n position: CustomActionPosition.PRIMARY,\n }\n }\n ]\n})\n```\n"
}
]
},
"sources": [
{
"fileName": "types.ts",
- "line": 1086,
+ "line": 1099,
"character": 4
}
],
@@ -41785,7 +43151,7 @@
}
},
{
- "id": 1473,
+ "id": 1567,
"name": "customizations",
"kind": 1024,
"kindString": "Property",
@@ -41808,13 +43174,13 @@
"sources": [
{
"fileName": "types.ts",
- "line": 880,
+ "line": 893,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 2579,
+ "id": 2721,
"name": "CustomisationsInterface"
},
"inheritedFrom": {
@@ -41823,7 +43189,7 @@
}
},
{
- "id": 1453,
+ "id": 1546,
"name": "dataPanelV2",
"kind": 1024,
"kindString": "Property",
@@ -41840,7 +43206,7 @@
},
{
"tag": "version",
- "text": "SDK: 1.43.0 | ThoughtSpot Cloud: 10.14.0.cl"
+ "text": "SDK: 1.41.1 | ThoughtSpot Cloud: 10.14.0.cl"
},
{
"tag": "example",
@@ -41861,7 +43227,7 @@
}
},
{
- "id": 1481,
+ "id": 1575,
"name": "disableRedirectionLinksInNewTab",
"kind": 1024,
"kindString": "Property",
@@ -41885,7 +43251,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 988,
+ "line": 1001,
"character": 4
}
],
@@ -41899,7 +43265,7 @@
}
},
{
- "id": 1451,
+ "id": 1544,
"name": "disableSourceSelection",
"kind": 1024,
"kindString": "Property",
@@ -41933,7 +43299,7 @@
}
},
{
- "id": 1465,
+ "id": 1559,
"name": "disabledActionReason",
"kind": 1024,
"kindString": "Property",
@@ -41957,7 +43323,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 795,
+ "line": 808,
"character": 4
}
],
@@ -41971,7 +43337,7 @@
}
},
{
- "id": 1464,
+ "id": 1558,
"name": "disabledActions",
"kind": 1024,
"kindString": "Property",
@@ -41995,7 +43361,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 779,
+ "line": 792,
"character": 4
}
],
@@ -42003,7 +43369,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2048,
+ "id": 2166,
"name": "Action"
}
},
@@ -42013,7 +43379,7 @@
}
},
{
- "id": 1477,
+ "id": 1571,
"name": "doNotTrackPreRenderSize",
"kind": 1024,
"kindString": "Property",
@@ -42040,7 +43406,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 944,
+ "line": 957,
"character": 4
}
],
@@ -42054,7 +43420,45 @@
}
},
{
- "id": 1478,
+ "id": 1553,
+ "name": "enablePastConversationsSidebar",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "enablePastConversationsSidebar : Controls the visibility of the past conversations\nsidebar.",
+ "text": "Supported embed types: `SpotterEmbed`",
+ "tags": [
+ {
+ "tag": "default",
+ "text": "false"
+ },
+ {
+ "tag": "example",
+ "text": "\n```js\nconst embed = new SpotterEmbed('#tsEmbed', {\n ... //other embed view config\n enablePastConversationsSidebar : true,\n})\n```"
+ },
+ {
+ "tag": "version",
+ "text": "SDK: 1.43.0 | ThoughtSpot: 10.14.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "embed/conversation.ts",
+ "line": 182,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 1572,
"name": "enableV2Shell_experimental",
"kind": 1024,
"kindString": "Property",
@@ -42078,7 +43482,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 961,
+ "line": 974,
"character": 4
}
],
@@ -42092,7 +43496,7 @@
}
},
{
- "id": 1457,
+ "id": 1550,
"name": "excludeRuntimeFiltersfromURL",
"kind": 1024,
"kindString": "Property",
@@ -42126,7 +43530,7 @@
}
},
{
- "id": 1459,
+ "id": 1552,
"name": "excludeRuntimeParametersfromURL",
"kind": 1024,
"kindString": "Property",
@@ -42160,7 +43564,7 @@
}
},
{
- "id": 1480,
+ "id": 1574,
"name": "exposeTranslationIDs",
"kind": 1024,
"kindString": "Property",
@@ -42183,7 +43587,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 972,
+ "line": 985,
"character": 4
}
],
@@ -42197,7 +43601,7 @@
}
},
{
- "id": 1461,
+ "id": 1555,
"name": "frameParams",
"kind": 1024,
"kindString": "Property",
@@ -42221,13 +43625,13 @@
"sources": [
{
"fileName": "types.ts",
- "line": 752,
+ "line": 765,
"character": 4
}
],
"type": {
"type": "reference",
- "id": 2538,
+ "id": 2680,
"name": "FrameParams"
},
"inheritedFrom": {
@@ -42236,7 +43640,7 @@
}
},
{
- "id": 1466,
+ "id": 1560,
"name": "hiddenActions",
"kind": 1024,
"kindString": "Property",
@@ -42264,7 +43668,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 813,
+ "line": 826,
"character": 4
}
],
@@ -42272,7 +43676,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2048,
+ "id": 2166,
"name": "Action"
}
},
@@ -42282,7 +43686,7 @@
}
},
{
- "id": 1455,
+ "id": 1548,
"name": "hideSampleQuestions",
"kind": 1024,
"kindString": "Property",
@@ -42316,7 +43720,7 @@
}
},
{
- "id": 1452,
+ "id": 1545,
"name": "hideSourceSelection",
"kind": 1024,
"kindString": "Property",
@@ -42350,7 +43754,7 @@
}
},
{
- "id": 1474,
+ "id": 1568,
"name": "insertAsSibling",
"kind": 1024,
"kindString": "Property",
@@ -42374,7 +43778,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 896,
+ "line": 909,
"character": 4
}
],
@@ -42388,7 +43792,118 @@
}
},
{
- "id": 1483,
+ "id": 1583,
+ "name": "interceptTimeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The timeout for the intercept, default is 30000ms\nthe api will error out if the timeout is reached",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n```js\nconst embed = new LiveboardEmbed('#embed', {\n ...viewConfig,\n enableApiIntercept: true,\n interceptUrls: [InterceptedApiType.ALL],\n interceptTimeout: 1000,\n})\n```\n"
+ },
+ {
+ "tag": "version",
+ "text": "SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6171,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.interceptTimeout"
+ }
+ },
+ {
+ "id": 1582,
+ "name": "interceptUrls",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "This allows to intercept the urls passed, once intercepted the api will only\nrun based on the reponse from the responder of ApiIntercept event.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n```js\nconst embed = new LiveboardEmbed('#embed', {\n ...viewConfig,\n enableApiIntercept: true,\n interceptUrls: [InterceptedApiType.DATA],\n})\n```\n"
+ },
+ {
+ "tag": "version",
+ "text": "SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6154,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.interceptUrls"
+ }
+ },
+ {
+ "id": 1581,
+ "name": "isOnBeforeGetVizDataInterceptEnabled",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Flag that allows using `EmbedEvent.OnBeforeGetVizDataIntercept`.",
+ "text": "Can be used for Serach and App Embed from SDK 1.29.0\n",
+ "tags": [
+ {
+ "tag": "version",
+ "text": "SDK : 1.43.0 | ThoughtSpot: 10.15.0.cl\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "types.ts",
+ "line": 6138,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.isOnBeforeGetVizDataInterceptEnabled"
+ }
+ },
+ {
+ "id": 1577,
"name": "linkOverride",
"kind": 1024,
"kindString": "Property",
@@ -42412,7 +43927,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1022,
+ "line": 1035,
"character": 4
}
],
@@ -42426,7 +43941,7 @@
}
},
{
- "id": 1468,
+ "id": 1562,
"name": "locale",
"kind": 1024,
"kindString": "Property",
@@ -42450,7 +43965,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 849,
+ "line": 862,
"character": 4
}
],
@@ -42464,7 +43979,7 @@
}
},
{
- "id": 1482,
+ "id": 1576,
"name": "overrideOrgId",
"kind": 1024,
"kindString": "Property",
@@ -42488,7 +44003,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1007,
+ "line": 1020,
"character": 4
}
],
@@ -42502,7 +44017,7 @@
}
},
{
- "id": 1476,
+ "id": 1570,
"name": "preRenderId",
"kind": 1024,
"kindString": "Property",
@@ -42526,7 +44041,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 923,
+ "line": 936,
"character": 4
}
],
@@ -42540,7 +44055,7 @@
}
},
{
- "id": 1456,
+ "id": 1549,
"name": "runtimeFilters",
"kind": 1024,
"kindString": "Property",
@@ -42572,13 +44087,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 1861,
+ "id": 1974,
"name": "RuntimeFilter"
}
}
},
{
- "id": 1458,
+ "id": 1551,
"name": "runtimeParameters",
"kind": 1024,
"kindString": "Property",
@@ -42610,13 +44125,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2773,
+ "id": 2904,
"name": "RuntimeParameter"
}
}
},
{
- "id": 1450,
+ "id": 1543,
"name": "searchOptions",
"kind": 1024,
"kindString": "Property",
@@ -42639,7 +44154,7 @@
}
},
{
- "id": 1485,
+ "id": 1579,
"name": "showAlerts",
"kind": 1024,
"kindString": "Property",
@@ -42662,7 +44177,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1058,
+ "line": 1071,
"character": 4
}
],
@@ -42676,7 +44191,7 @@
}
},
{
- "id": 1454,
+ "id": 1547,
"name": "showSpotterLimitations",
"kind": 1024,
"kindString": "Property",
@@ -42710,7 +44225,7 @@
}
},
{
- "id": 1467,
+ "id": 1561,
"name": "visibleActions",
"kind": 1024,
"kindString": "Property",
@@ -42738,7 +44253,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 834,
+ "line": 847,
"character": 4
}
],
@@ -42746,7 +44261,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2048,
+ "id": 2166,
"name": "Action"
}
},
@@ -42756,7 +44271,7 @@
}
},
{
- "id": 1449,
+ "id": 1542,
"name": "worksheetId",
"kind": 1024,
"kindString": "Property",
@@ -42782,35 +44297,39 @@
"title": "Properties",
"kind": 1024,
"children": [
- 1469,
- 1486,
- 1473,
- 1453,
- 1481,
- 1451,
- 1465,
- 1464,
- 1477,
- 1478,
- 1457,
- 1459,
- 1480,
- 1461,
- 1466,
- 1455,
- 1452,
- 1474,
- 1483,
- 1468,
- 1482,
- 1476,
- 1456,
- 1458,
- 1450,
- 1485,
- 1454,
- 1467,
- 1449
+ 1563,
+ 1580,
+ 1567,
+ 1546,
+ 1575,
+ 1544,
+ 1559,
+ 1558,
+ 1571,
+ 1553,
+ 1572,
+ 1550,
+ 1552,
+ 1574,
+ 1555,
+ 1560,
+ 1548,
+ 1545,
+ 1568,
+ 1583,
+ 1582,
+ 1581,
+ 1577,
+ 1562,
+ 1576,
+ 1570,
+ 1549,
+ 1551,
+ 1543,
+ 1579,
+ 1547,
+ 1561,
+ 1542
]
}
],
@@ -42840,20 +44359,20 @@
"extendedBy": [
{
"type": "reference",
- "id": 1487,
+ "id": 1584,
"name": "ConversationViewConfig"
}
]
},
{
- "id": 1837,
+ "id": 1950,
"name": "UnderlyingDataPoint",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 1838,
+ "id": 1951,
"name": "columnId",
"kind": 1024,
"kindString": "Property",
@@ -42871,7 +44390,7 @@
}
},
{
- "id": 1839,
+ "id": 1952,
"name": "dataValue",
"kind": 1024,
"kindString": "Property",
@@ -42894,8 +44413,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 1838,
- 1839
+ 1951,
+ 1952
]
}
],
@@ -42908,14 +44427,14 @@
]
},
{
- "id": 2811,
+ "id": 2942,
"name": "VizPoint",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 2812,
+ "id": 2943,
"name": "selectedAttributes",
"kind": 1024,
"kindString": "Property",
@@ -42923,7 +44442,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5686,
+ "line": 5944,
"character": 4
}
],
@@ -42936,7 +44455,7 @@
}
},
{
- "id": 2813,
+ "id": 2944,
"name": "selectedMeasures",
"kind": 1024,
"kindString": "Property",
@@ -42944,7 +44463,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 5687,
+ "line": 5945,
"character": 4
}
],
@@ -42962,21 +44481,21 @@
"title": "Properties",
"kind": 1024,
"children": [
- 2812,
- 2813
+ 2943,
+ 2944
]
}
],
"sources": [
{
"fileName": "types.ts",
- "line": 5685,
+ "line": 5943,
"character": 17
}
]
},
{
- "id": 2592,
+ "id": 2734,
"name": "customCssInterface",
"kind": 256,
"kindString": "Interface",
@@ -42986,7 +44505,7 @@
},
"children": [
{
- "id": 2594,
+ "id": 2736,
"name": "rules_UNSTABLE",
"kind": 1024,
"kindString": "Property",
@@ -43016,20 +44535,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 2595,
+ "id": 2737,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 2596,
+ "id": 2738,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 2597,
+ "id": 2739,
"name": "selector",
"kind": 32768,
"flags": {},
@@ -43042,7 +44561,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 2598,
+ "id": 2740,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -43055,14 +44574,14 @@
}
],
"indexSignature": {
- "id": 2599,
+ "id": 2741,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 2600,
+ "id": 2742,
"name": "declaration",
"kind": 32768,
"flags": {},
@@ -43084,7 +44603,7 @@
}
},
{
- "id": 2593,
+ "id": 2735,
"name": "variables",
"kind": 1024,
"kindString": "Property",
@@ -43103,7 +44622,7 @@
],
"type": {
"type": "reference",
- "id": 2601,
+ "id": 2743,
"name": "CustomCssVariables"
}
}
@@ -43113,8 +44632,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 2594,
- 2593
+ 2736,
+ 2735
]
}
],
@@ -43144,7 +44663,7 @@
"sources": [
{
"fileName": "embed/base.ts",
- "line": 49,
+ "line": 51,
"character": 4
}
],
@@ -43164,7 +44683,7 @@
"sources": [
{
"fileName": "embed/base.ts",
- "line": 48,
+ "line": 50,
"character": 4
}
],
@@ -43195,7 +44714,7 @@
"sources": [
{
"fileName": "embed/base.ts",
- "line": 47,
+ "line": 49,
"character": 4
}
],
@@ -43222,7 +44741,7 @@
"sources": [
{
"fileName": "embed/base.ts",
- "line": 46,
+ "line": 48,
"character": 17
}
]
@@ -43245,7 +44764,7 @@
"sources": [
{
"fileName": "embed/base.ts",
- "line": 59,
+ "line": 61,
"character": 4
}
],
@@ -43274,7 +44793,7 @@
"sources": [
{
"fileName": "embed/base.ts",
- "line": 57,
+ "line": 59,
"character": 4
}
],
@@ -43294,7 +44813,7 @@
"sources": [
{
"fileName": "embed/base.ts",
- "line": 58,
+ "line": 60,
"character": 4
}
],
@@ -43312,7 +44831,7 @@
"sources": [
{
"fileName": "embed/base.ts",
- "line": 53,
+ "line": 55,
"character": 4
}
],
@@ -43336,7 +44855,7 @@
"sources": [
{
"fileName": "embed/base.ts",
- "line": 54,
+ "line": 56,
"character": 8
}
],
@@ -43356,7 +44875,7 @@
"sources": [
{
"fileName": "embed/base.ts",
- "line": 55,
+ "line": 57,
"character": 8
}
],
@@ -43413,13 +44932,13 @@
"sources": [
{
"fileName": "embed/base.ts",
- "line": 52,
+ "line": 54,
"character": 17
}
]
},
{
- "id": 2562,
+ "id": 2704,
"name": "DOMSelector",
"kind": 4194304,
"kindString": "Type alias",
@@ -43446,7 +44965,7 @@
}
},
{
- "id": 2566,
+ "id": 2708,
"name": "MessageCallback",
"kind": 4194304,
"kindString": "Type alias",
@@ -43454,14 +44973,14 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1548,
+ "line": 1613,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 2567,
+ "id": 2709,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -43478,13 +44997,13 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1548,
+ "line": 1613,
"character": 30
}
],
"signatures": [
{
- "id": 2568,
+ "id": 2710,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
@@ -43494,19 +45013,19 @@
},
"parameters": [
{
- "id": 2569,
+ "id": 2711,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 2574,
+ "id": 2716,
"name": "MessagePayload"
}
},
{
- "id": 2570,
+ "id": 2712,
"name": "responder",
"kind": 32768,
"kindString": "Parameter",
@@ -43516,7 +45035,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 2571,
+ "id": 2713,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -43524,13 +45043,13 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1555,
+ "line": 1620,
"character": 16
}
],
"signatures": [
{
- "id": 2572,
+ "id": 2714,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
@@ -43540,7 +45059,7 @@
},
"parameters": [
{
- "id": 2573,
+ "id": 2715,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -43571,7 +45090,7 @@
}
},
{
- "id": 2563,
+ "id": 2705,
"name": "MessageOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -43588,21 +45107,21 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1537,
+ "line": 1602,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 2564,
+ "id": 2706,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 2565,
+ "id": 2707,
"name": "start",
"kind": 1024,
"kindString": "Property",
@@ -43615,7 +45134,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1542,
+ "line": 1607,
"character": 4
}
],
@@ -43630,14 +45149,14 @@
"title": "Properties",
"kind": 1024,
"children": [
- 2565
+ 2707
]
}
],
"sources": [
{
"fileName": "types.ts",
- "line": 1537,
+ "line": 1602,
"character": 29
}
]
@@ -43645,7 +45164,7 @@
}
},
{
- "id": 2574,
+ "id": 2716,
"name": "MessagePayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -43662,21 +45181,21 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1524,
+ "line": 1589,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 2575,
+ "id": 2717,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 2577,
+ "id": 2719,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -43684,7 +45203,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1528,
+ "line": 1593,
"character": 4
}
],
@@ -43694,7 +45213,7 @@
}
},
{
- "id": 2578,
+ "id": 2720,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -43704,7 +45223,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1530,
+ "line": 1595,
"character": 4
}
],
@@ -43714,7 +45233,7 @@
}
},
{
- "id": 2576,
+ "id": 2718,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -43722,7 +45241,7 @@
"sources": [
{
"fileName": "types.ts",
- "line": 1526,
+ "line": 1591,
"character": 4
}
],
@@ -43737,16 +45256,16 @@
"title": "Properties",
"kind": 1024,
"children": [
- 2577,
- 2578,
- 2576
+ 2719,
+ 2720,
+ 2718
]
}
],
"sources": [
{
"fileName": "types.ts",
- "line": 1524,
+ "line": 1589,
"character": 29
}
]
@@ -43754,7 +45273,7 @@
}
},
{
- "id": 48,
+ "id": 51,
"name": "createLiveboardWithAnswers",
"kind": 64,
"kindString": "Function",
@@ -43770,7 +45289,7 @@
],
"signatures": [
{
- "id": 49,
+ "id": 52,
"name": "createLiveboardWithAnswers",
"kind": 4096,
"kindString": "Call signature",
@@ -43792,7 +45311,7 @@
},
"parameters": [
{
- "id": 50,
+ "id": 53,
"name": "answers",
"kind": 32768,
"kindString": "Parameter",
@@ -43804,13 +45323,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 1757,
+ "id": 1870,
"name": "AnswerService"
}
}
},
{
- "id": 51,
+ "id": 54,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -43848,7 +45367,7 @@
"sources": [
{
"fileName": "embed/base.ts",
- "line": 346,
+ "line": 348,
"character": 13
}
],
@@ -43916,7 +45435,7 @@
"sources": [
{
"fileName": "embed/base.ts",
- "line": 413,
+ "line": 415,
"character": 13
}
],
@@ -43974,7 +45493,7 @@
]
},
{
- "id": 41,
+ "id": 44,
"name": "getAnswerFromQuery",
"kind": 64,
"kindString": "Function",
@@ -43990,7 +45509,7 @@
],
"signatures": [
{
- "id": 42,
+ "id": 45,
"name": "getAnswerFromQuery",
"kind": 4096,
"kindString": "Call signature",
@@ -44011,7 +45530,7 @@
},
"parameters": [
{
- "id": 43,
+ "id": 46,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -44025,7 +45544,7 @@
}
},
{
- "id": 44,
+ "id": 47,
"name": "worksheetId",
"kind": 32768,
"kindString": "Parameter",
@@ -44045,14 +45564,14 @@
{
"type": "reflection",
"declaration": {
- "id": 45,
+ "id": 48,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 46,
+ "id": 49,
"name": "answer",
"kind": 1024,
"kindString": "Property",
@@ -44066,12 +45585,12 @@
],
"type": {
"type": "reference",
- "id": 1757,
+ "id": 1870,
"name": "AnswerService"
}
},
{
- "id": 47,
+ "id": 50,
"name": "suggestion",
"kind": 1024,
"kindString": "Property",
@@ -44094,8 +45613,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 46,
- 47
+ 49,
+ 50
]
}
]
@@ -44153,7 +45672,7 @@
},
"type": {
"type": "reference",
- "id": 2189,
+ "id": 2308,
"name": "EmbedConfig"
}
}
@@ -44212,7 +45731,7 @@
"sources": [
{
"fileName": "embed/base.ts",
- "line": 238,
+ "line": 240,
"character": 13
}
],
@@ -44253,14 +45772,14 @@
},
"type": {
"type": "reference",
- "id": 2189,
+ "id": 2308,
"name": "EmbedConfig"
}
}
],
"type": {
"type": "reference",
- "id": 1704,
+ "id": 1817,
"name": "AuthEventEmitter"
}
}
@@ -44277,7 +45796,7 @@
"sources": [
{
"fileName": "embed/base.ts",
- "line": 296,
+ "line": 298,
"character": 13
}
],
@@ -44344,7 +45863,7 @@
"sources": [
{
"fileName": "embed/base.ts",
- "line": 109,
+ "line": 111,
"character": 13
}
],
@@ -44400,7 +45919,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 2533,
+ "id": 2675,
"name": "PrefetchFeatures"
}
}
@@ -44472,7 +45991,7 @@
]
},
{
- "id": 2860,
+ "id": 2996,
"name": "resetCachedAuthToken",
"kind": 64,
"kindString": "Function",
@@ -44482,13 +46001,13 @@
"sources": [
{
"fileName": "authToken.ts",
- "line": 93,
+ "line": 104,
"character": 13
}
],
"signatures": [
{
- "id": 2861,
+ "id": 2997,
"name": "resetCachedAuthToken",
"kind": 4096,
"kindString": "Call signature",
@@ -44603,11 +46122,86 @@
],
"name": "Promise"
}
+ },
+ {
+ "id": 41,
+ "name": "tokenizedFetch",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Fetch wrapper that adds the authentication token to the request.\nUse this to call the ThoughtSpot APIs when using the visual embed sdk.\nThe interface for this method is the same as Web `Fetch`.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n```js\ntokenizedFetch(\"/api/rest/2.0/auth/session/user\", {\n // .. fetch options ..\n});\n```"
+ },
+ {
+ "tag": "version",
+ "text": "SDK: 1.28.0"
+ },
+ {
+ "tag": "group",
+ "text": "Global methods\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 42,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "name": "URL"
+ },
+ {
+ "type": "reference",
+ "name": "globalThis.Request"
+ }
+ ]
+ }
+ },
+ {
+ "id": 43,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {},
+ "type": {
+ "type": "reference",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "name": "Response"
+ }
+ ],
+ "name": "Promise"
+ }
}
]
},
{
- "id": 2783,
+ "id": 2914,
"name": "uploadMixpanelEvent",
"kind": 64,
"kindString": "Function",
@@ -44621,7 +46215,7 @@
],
"signatures": [
{
- "id": 2784,
+ "id": 2915,
"name": "uploadMixpanelEvent",
"kind": 4096,
"kindString": "Call signature",
@@ -44631,7 +46225,7 @@
},
"parameters": [
{
- "id": 2785,
+ "id": 2916,
"name": "eventId",
"kind": 32768,
"kindString": "Parameter",
@@ -44643,7 +46237,7 @@
}
},
{
- "id": 2786,
+ "id": 2917,
"name": "eventProps",
"kind": 32768,
"kindString": "Parameter",
@@ -44654,7 +46248,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 2787,
+ "id": 2918,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -44677,74 +46271,75 @@
"title": "Enumerations",
"kind": 4,
"children": [
- 2048,
- 1702,
- 1687,
- 1694,
- 1849,
- 2185,
- 2855,
- 2851,
- 2847,
- 2044,
- 1881,
- 2544,
- 2805,
- 2799,
- 2555,
- 1974,
- 2808,
- 2841,
- 2776,
- 1840,
- 2533,
- 2803,
- 1865,
- 2834
+ 2166,
+ 1815,
+ 1800,
+ 1807,
+ 1962,
+ 2304,
+ 2987,
+ 2983,
+ 2979,
+ 2162,
+ 1994,
+ 2686,
+ 2936,
+ 2930,
+ 2697,
+ 2089,
+ 2992,
+ 2939,
+ 2973,
+ 2907,
+ 1953,
+ 2675,
+ 2934,
+ 1978,
+ 2965
]
},
{
"title": "Classes",
"kind": 128,
"children": [
- 1757,
- 961,
- 1256,
- 1526,
- 572,
- 790,
- 223,
- 52,
- 1166,
- 1287
+ 1870,
+ 1024,
+ 1337,
+ 1627,
+ 611,
+ 841,
+ 238,
+ 55,
+ 1241,
+ 1368
]
},
{
"title": "Interfaces",
"kind": 256,
"children": [
- 2453,
- 1704,
- 1227,
- 1487,
- 2814,
- 2601,
2589,
- 2579,
- 2189,
- 2538,
- 2335,
- 1861,
- 2773,
- 2406,
- 2293,
- 2239,
- 1830,
- 1198,
- 1448,
- 1837,
- 2811,
- 2592,
+ 1817,
+ 1305,
+ 1584,
+ 2945,
+ 2743,
+ 2731,
+ 2721,
+ 2308,
+ 2680,
+ 2461,
+ 1974,
+ 2904,
+ 2539,
+ 2416,
+ 2360,
+ 1943,
+ 1273,
+ 1541,
+ 1950,
+ 2942,
+ 2734,
21,
25
]
@@ -44753,28 +46348,28 @@
"title": "Type aliases",
"kind": 4194304,
"children": [
- 2562,
- 2566,
- 2563,
- 2574
+ 2704,
+ 2708,
+ 2705,
+ 2716
]
},
{
"title": "Functions",
"kind": 64,
"children": [
- 48,
+ 51,
15,
18,
- 41,
+ 44,
33,
35,
1,
4,
7,
- 2860,
+ 2996,
37,
- 2783
+ 2914
]
}
],
diff --git a/tsconfig.build.json b/tsconfig.build.json
new file mode 100644
index 000000000..4e1b0a33e
--- /dev/null
+++ b/tsconfig.build.json
@@ -0,0 +1,16 @@
+{
+ "extends": "./tsconfig.json",
+ "compilerOptions": {
+ "suppressImplicitAnyIndexErrors": true
+ },
+ "typedocOptions": {
+ "entryPoints": ["src/index.ts"],
+ "out": "static/typedoc",
+ "json": "static/typedoc/typedoc.json",
+ "excludePrivate": true,
+ "excludeProtected": true,
+ "excludeInternal": true,
+ "hideGenerator": true,
+ "categorizeByGroup": false
+ }
+}
diff --git a/tsconfig.json b/tsconfig.json
index ed0ac673b..b1b281306 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -19,7 +19,6 @@
"strictNullChecks": false,
"strictPropertyInitialization": false,
"strictBindCallApply": true,
- "suppressImplicitAnyIndexErrors": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"esModuleInterop": true,