@thoughtspot/visual-embed-sdk 1.36.4 → 1.36.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/tsembed.js CHANGED
@@ -1,4 +1,4 @@
1
- /* @thoughtspot/visual-embed-sdk version 1.36.4 */
1
+ /* @thoughtspot/visual-embed-sdk version 1.36.5 */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
4
4
  typeof define === 'function' && define.amd ? define(['exports'], factory) :
@@ -765,8 +765,9 @@
765
765
  */
766
766
  EmbedEvent["Load"] = "load";
767
767
  /**
768
- * Data pertaining to an Answer or Liveboard is received
769
- * @return data - The Answer or Liveboard data
768
+ * Data pertaining to an Answer or Liveboard is received.
769
+ * The event payload includes the raw data of the object.
770
+ * @return data - Answer of Liveboard data
770
771
  * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
771
772
  * @example
772
773
  *```js
@@ -1670,17 +1671,39 @@
1670
1671
  */
1671
1672
  EmbedEvent["ParameterChanged"] = "parameterChanged";
1672
1673
  /**
1673
- * Emitted when the table viz renders.
1674
- * You can use this event as a hook to trigger
1675
- * other events on the rendered table viz data.
1674
+ * Emits when a table visualization is rendered in
1675
+ * the ThoughtSpot embedded app.
1676
+ * You can also use this event as a hook to trigger host events
1677
+ * such as `HostEvent.TransformTableVizData` on the table visualization.
1678
+ * The event payload contains the data used in the rendered table.
1679
+ * You can extract the relevant data from the payload
1680
+ * stored in `payload.data.data.columnDataLite`.
1681
+ * `columnDataLite` is a multidimensional array that contains
1682
+ * data values for each column, which was used in the query to
1683
+ * generate the table visualization. To find and modify specific cell data,
1684
+ * you can either loop through the array or directly access a cell if
1685
+ * you know its position and data index.
1686
+ * In the following code sample, the first cell in the first column
1687
+ * (`columnDataLite[0].dataValue[0]`) is set to `new fob`.
1688
+ * Note that any changes made to the data in the payload will only update the
1689
+ * visual presentation and do not affect the underlying data.
1690
+ * To persist data value modifications after a reload or during chart
1691
+ * interactions such as drill down, ensure that the modified
1692
+ * payload in the `columnDataLite` is passed on to
1693
+ * `HostEvent.TransformTableVizData` and trigger an update to
1694
+ * the table visualization.
1695
+ * If the Row-Level Security (RLS) rules are applied on the
1696
+ * Worksheet or Model, exercise caution when changing column
1697
+ * or table cell values to maintain data security.
1698
+ *
1676
1699
  * @example
1677
1700
  * ```js
1678
1701
  * searchEmbed.on(EmbedEvent.TableVizRendered, (payload) => {
1679
- * console.log(payload);
1680
- * const columnDataLite = payload.data.data.columnDataLite;
1681
- * columnDataLite[0].dataValue[0]="new fob";
1682
- * console.log('>>> new Data', columnDataLite);
1683
- * searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
1702
+ * console.log(payload);
1703
+ * const columnDataLite = payload.data.data.columnDataLite;
1704
+ * columnDataLite[0].dataValue[0]="new fob";
1705
+ * console.log('>>> new Data', columnDataLite);
1706
+ * searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
1684
1707
  * })
1685
1708
  * ```
1686
1709
  * @version SDK: 1.35.12 | ThoughtSpot: 10.7.0.cl
@@ -2719,19 +2742,20 @@
2719
2742
  */
2720
2743
  HostEvent["UIPassthrough"] = "UiPassthrough";
2721
2744
  /**
2722
- * Triggers the table viz rerender with the updated data.
2745
+ * Triggers the table visualization re-render with the updated data.
2723
2746
  * Includes the following properties:
2724
- * @param - columnDataLite - an array of object containing data
2725
- * transformed from data picked from TableVizRendered event.
2726
- * For example, { columnDataLite: []}
2747
+ * @param - `columnDataLite` - an array of object containing the
2748
+ * data value modifications retrieved from the `EmbedEvent.TableVizRendered`
2749
+ * payload.For example, { columnDataLite: []}`.
2750
+ *
2727
2751
  * @example
2728
2752
  * ```js
2729
2753
  * searchEmbed.on(EmbedEvent.TableVizRendered, (payload) => {
2730
- * console.log(payload);
2731
- * const columnDataLite = payload.data.data.columnDataLite;
2732
- * columnDataLite[0].dataValue[0]="new fob";
2733
- * console.log('>>> new Data', columnDataLite);
2734
- * searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
2754
+ * console.log(payload);
2755
+ * const columnDataLite = payload.data.data.columnDataLite;
2756
+ * columnDataLite[0].dataValue[0]="new fob";
2757
+ * console.log('>>> new Data', columnDataLite);
2758
+ * searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
2735
2759
  * })
2736
2760
  * ```
2737
2761
  * @version SDK: 1.35.12 | ThoughtSpot: 10.7.0.cl
@@ -15218,7 +15242,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
15218
15242
  return e;
15219
15243
  }
15220
15244
 
15221
- var name="@thoughtspot/visual-embed-sdk";var version$1="1.36.4";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports$1={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck","test-sdk":"jest -c jest.config.sdk.js --runInBand",test:"npm run test-sdk",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest",dev:"vite -c vite.local.config.ts"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-comment-length":"1.7.3","eslint-plugin-jsdoc":"^46.9.0","fs-extra":"^10.0.0","gh-pages":"6.3.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^5.3.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"31 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
15245
+ var name="@thoughtspot/visual-embed-sdk";var version$1="1.36.5";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports$1={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck","test-sdk":"jest -c jest.config.sdk.js --runInBand",test:"npm run test-sdk",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest",dev:"vite -c vite.local.config.ts"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-comment-length":"1.7.3","eslint-plugin-jsdoc":"^46.9.0","fs-extra":"^10.0.0","gh-pages":"6.3.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^5.3.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"31 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
15222
15246
 
15223
15247
  /**
15224
15248
  * Reloads the ThoughtSpot iframe.
@@ -3283,8 +3283,9 @@ export declare enum EmbedEvent {
3283
3283
  */
3284
3284
  Load = "load",
3285
3285
  /**
3286
- * Data pertaining to an Answer or Liveboard is received
3287
- * @return data - The Answer or Liveboard data
3286
+ * Data pertaining to an Answer or Liveboard is received.
3287
+ * The event payload includes the raw data of the object.
3288
+ * @return data - Answer of Liveboard data
3288
3289
  * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
3289
3290
  * @example
3290
3291
  *```js
@@ -4188,17 +4189,39 @@ export declare enum EmbedEvent {
4188
4189
  */
4189
4190
  ParameterChanged = "parameterChanged",
4190
4191
  /**
4191
- * Emitted when the table viz renders.
4192
- * You can use this event as a hook to trigger
4193
- * other events on the rendered table viz data.
4192
+ * Emits when a table visualization is rendered in
4193
+ * the ThoughtSpot embedded app.
4194
+ * You can also use this event as a hook to trigger host events
4195
+ * such as `HostEvent.TransformTableVizData` on the table visualization.
4196
+ * The event payload contains the data used in the rendered table.
4197
+ * You can extract the relevant data from the payload
4198
+ * stored in `payload.data.data.columnDataLite`.
4199
+ * `columnDataLite` is a multidimensional array that contains
4200
+ * data values for each column, which was used in the query to
4201
+ * generate the table visualization. To find and modify specific cell data,
4202
+ * you can either loop through the array or directly access a cell if
4203
+ * you know its position and data index.
4204
+ * In the following code sample, the first cell in the first column
4205
+ * (`columnDataLite[0].dataValue[0]`) is set to `new fob`.
4206
+ * Note that any changes made to the data in the payload will only update the
4207
+ * visual presentation and do not affect the underlying data.
4208
+ * To persist data value modifications after a reload or during chart
4209
+ * interactions such as drill down, ensure that the modified
4210
+ * payload in the `columnDataLite` is passed on to
4211
+ * `HostEvent.TransformTableVizData` and trigger an update to
4212
+ * the table visualization.
4213
+ * If the Row-Level Security (RLS) rules are applied on the
4214
+ * Worksheet or Model, exercise caution when changing column
4215
+ * or table cell values to maintain data security.
4216
+ *
4194
4217
  * @example
4195
4218
  * ```js
4196
4219
  * searchEmbed.on(EmbedEvent.TableVizRendered, (payload) => {
4197
- * console.log(payload);
4198
- * const columnDataLite = payload.data.data.columnDataLite;
4199
- * columnDataLite[0].dataValue[0]="new fob";
4200
- * console.log('>>> new Data', columnDataLite);
4201
- * searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
4220
+ * console.log(payload);
4221
+ * const columnDataLite = payload.data.data.columnDataLite;
4222
+ * columnDataLite[0].dataValue[0]="new fob";
4223
+ * console.log('>>> new Data', columnDataLite);
4224
+ * searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
4202
4225
  * })
4203
4226
  * ```
4204
4227
  * @version SDK: 1.35.12 | ThoughtSpot: 10.7.0.cl
@@ -5235,19 +5258,20 @@ export declare enum HostEvent {
5235
5258
  */
5236
5259
  UIPassthrough = "UiPassthrough",
5237
5260
  /**
5238
- * Triggers the table viz rerender with the updated data.
5261
+ * Triggers the table visualization re-render with the updated data.
5239
5262
  * Includes the following properties:
5240
- * @param - columnDataLite - an array of object containing data
5241
- * transformed from data picked from TableVizRendered event.
5242
- * For example, { columnDataLite: []}
5263
+ * @param - `columnDataLite` - an array of object containing the
5264
+ * data value modifications retrieved from the `EmbedEvent.TableVizRendered`
5265
+ * payload.For example, { columnDataLite: []}`.
5266
+ *
5243
5267
  * @example
5244
5268
  * ```js
5245
5269
  * searchEmbed.on(EmbedEvent.TableVizRendered, (payload) => {
5246
- * console.log(payload);
5247
- * const columnDataLite = payload.data.data.columnDataLite;
5248
- * columnDataLite[0].dataValue[0]="new fob";
5249
- * console.log('>>> new Data', columnDataLite);
5250
- * searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
5270
+ * console.log(payload);
5271
+ * const columnDataLite = payload.data.data.columnDataLite;
5272
+ * columnDataLite[0].dataValue[0]="new fob";
5273
+ * console.log('>>> new Data', columnDataLite);
5274
+ * searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
5251
5275
  * })
5252
5276
  * ```
5253
5277
  * @version SDK: 1.35.12 | ThoughtSpot: 10.7.0.cl
@@ -7244,7 +7268,7 @@ export interface CustomCssVariables {
7244
7268
  /**
7245
7269
  * Background color of the previously asked prompt message in the Spotter page.
7246
7270
  */
7247
- '--ts-var-spotter-prompt-background': string;
7271
+ '--ts-var-spotter-prompt-background'?: string;
7248
7272
  /**
7249
7273
  * Background color of the data panel.
7250
7274
  */
@@ -3273,8 +3273,9 @@ export declare enum EmbedEvent {
3273
3273
  */
3274
3274
  Load = "load",
3275
3275
  /**
3276
- * Data pertaining to an Answer or Liveboard is received
3277
- * @return data - The Answer or Liveboard data
3276
+ * Data pertaining to an Answer or Liveboard is received.
3277
+ * The event payload includes the raw data of the object.
3278
+ * @return data - Answer of Liveboard data
3278
3279
  * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
3279
3280
  * @example
3280
3281
  *```js
@@ -4178,17 +4179,39 @@ export declare enum EmbedEvent {
4178
4179
  */
4179
4180
  ParameterChanged = "parameterChanged",
4180
4181
  /**
4181
- * Emitted when the table viz renders.
4182
- * You can use this event as a hook to trigger
4183
- * other events on the rendered table viz data.
4182
+ * Emits when a table visualization is rendered in
4183
+ * the ThoughtSpot embedded app.
4184
+ * You can also use this event as a hook to trigger host events
4185
+ * such as `HostEvent.TransformTableVizData` on the table visualization.
4186
+ * The event payload contains the data used in the rendered table.
4187
+ * You can extract the relevant data from the payload
4188
+ * stored in `payload.data.data.columnDataLite`.
4189
+ * `columnDataLite` is a multidimensional array that contains
4190
+ * data values for each column, which was used in the query to
4191
+ * generate the table visualization. To find and modify specific cell data,
4192
+ * you can either loop through the array or directly access a cell if
4193
+ * you know its position and data index.
4194
+ * In the following code sample, the first cell in the first column
4195
+ * (`columnDataLite[0].dataValue[0]`) is set to `new fob`.
4196
+ * Note that any changes made to the data in the payload will only update the
4197
+ * visual presentation and do not affect the underlying data.
4198
+ * To persist data value modifications after a reload or during chart
4199
+ * interactions such as drill down, ensure that the modified
4200
+ * payload in the `columnDataLite` is passed on to
4201
+ * `HostEvent.TransformTableVizData` and trigger an update to
4202
+ * the table visualization.
4203
+ * If the Row-Level Security (RLS) rules are applied on the
4204
+ * Worksheet or Model, exercise caution when changing column
4205
+ * or table cell values to maintain data security.
4206
+ *
4184
4207
  * @example
4185
4208
  * ```js
4186
4209
  * searchEmbed.on(EmbedEvent.TableVizRendered, (payload) => {
4187
- * console.log(payload);
4188
- * const columnDataLite = payload.data.data.columnDataLite;
4189
- * columnDataLite[0].dataValue[0]="new fob";
4190
- * console.log('>>> new Data', columnDataLite);
4191
- * searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
4210
+ * console.log(payload);
4211
+ * const columnDataLite = payload.data.data.columnDataLite;
4212
+ * columnDataLite[0].dataValue[0]="new fob";
4213
+ * console.log('>>> new Data', columnDataLite);
4214
+ * searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
4192
4215
  * })
4193
4216
  * ```
4194
4217
  * @version SDK: 1.35.12 | ThoughtSpot: 10.7.0.cl
@@ -5225,19 +5248,20 @@ export declare enum HostEvent {
5225
5248
  */
5226
5249
  UIPassthrough = "UiPassthrough",
5227
5250
  /**
5228
- * Triggers the table viz rerender with the updated data.
5251
+ * Triggers the table visualization re-render with the updated data.
5229
5252
  * Includes the following properties:
5230
- * @param - columnDataLite - an array of object containing data
5231
- * transformed from data picked from TableVizRendered event.
5232
- * For example, { columnDataLite: []}
5253
+ * @param - `columnDataLite` - an array of object containing the
5254
+ * data value modifications retrieved from the `EmbedEvent.TableVizRendered`
5255
+ * payload.For example, { columnDataLite: []}`.
5256
+ *
5233
5257
  * @example
5234
5258
  * ```js
5235
5259
  * searchEmbed.on(EmbedEvent.TableVizRendered, (payload) => {
5236
- * console.log(payload);
5237
- * const columnDataLite = payload.data.data.columnDataLite;
5238
- * columnDataLite[0].dataValue[0]="new fob";
5239
- * console.log('>>> new Data', columnDataLite);
5240
- * searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
5260
+ * console.log(payload);
5261
+ * const columnDataLite = payload.data.data.columnDataLite;
5262
+ * columnDataLite[0].dataValue[0]="new fob";
5263
+ * console.log('>>> new Data', columnDataLite);
5264
+ * searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
5241
5265
  * })
5242
5266
  * ```
5243
5267
  * @version SDK: 1.35.12 | ThoughtSpot: 10.7.0.cl
@@ -7346,7 +7370,7 @@ export interface CustomCssVariables {
7346
7370
  /**
7347
7371
  * Background color of the previously asked prompt message in the Spotter page.
7348
7372
  */
7349
- '--ts-var-spotter-prompt-background': string;
7373
+ '--ts-var-spotter-prompt-background'?: string;
7350
7374
  /**
7351
7375
  * Background color of the data panel.
7352
7376
  */
@@ -3271,8 +3271,9 @@ export enum EmbedEvent {
3271
3271
  */
3272
3272
  Load = "load",
3273
3273
  /**
3274
- * Data pertaining to an Answer or Liveboard is received
3275
- * @return data - The Answer or Liveboard data
3274
+ * Data pertaining to an Answer or Liveboard is received.
3275
+ * The event payload includes the raw data of the object.
3276
+ * @return data - Answer of Liveboard data
3276
3277
  * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
3277
3278
  * @example
3278
3279
  *```js
@@ -4176,17 +4177,39 @@ export enum EmbedEvent {
4176
4177
  */
4177
4178
  ParameterChanged = "parameterChanged",
4178
4179
  /**
4179
- * Emitted when the table viz renders.
4180
- * You can use this event as a hook to trigger
4181
- * other events on the rendered table viz data.
4180
+ * Emits when a table visualization is rendered in
4181
+ * the ThoughtSpot embedded app.
4182
+ * You can also use this event as a hook to trigger host events
4183
+ * such as `HostEvent.TransformTableVizData` on the table visualization.
4184
+ * The event payload contains the data used in the rendered table.
4185
+ * You can extract the relevant data from the payload
4186
+ * stored in `payload.data.data.columnDataLite`.
4187
+ * `columnDataLite` is a multidimensional array that contains
4188
+ * data values for each column, which was used in the query to
4189
+ * generate the table visualization. To find and modify specific cell data,
4190
+ * you can either loop through the array or directly access a cell if
4191
+ * you know its position and data index.
4192
+ * In the following code sample, the first cell in the first column
4193
+ * (`columnDataLite[0].dataValue[0]`) is set to `new fob`.
4194
+ * Note that any changes made to the data in the payload will only update the
4195
+ * visual presentation and do not affect the underlying data.
4196
+ * To persist data value modifications after a reload or during chart
4197
+ * interactions such as drill down, ensure that the modified
4198
+ * payload in the `columnDataLite` is passed on to
4199
+ * `HostEvent.TransformTableVizData` and trigger an update to
4200
+ * the table visualization.
4201
+ * If the Row-Level Security (RLS) rules are applied on the
4202
+ * Worksheet or Model, exercise caution when changing column
4203
+ * or table cell values to maintain data security.
4204
+ *
4182
4205
  * @example
4183
4206
  * ```js
4184
4207
  * searchEmbed.on(EmbedEvent.TableVizRendered, (payload) => {
4185
- * console.log(payload);
4186
- * const columnDataLite = payload.data.data.columnDataLite;
4187
- * columnDataLite[0].dataValue[0]="new fob";
4188
- * console.log('>>> new Data', columnDataLite);
4189
- * searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
4208
+ * console.log(payload);
4209
+ * const columnDataLite = payload.data.data.columnDataLite;
4210
+ * columnDataLite[0].dataValue[0]="new fob";
4211
+ * console.log('>>> new Data', columnDataLite);
4212
+ * searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
4190
4213
  * })
4191
4214
  * ```
4192
4215
  * @version SDK: 1.35.12 | ThoughtSpot: 10.7.0.cl
@@ -5223,19 +5246,20 @@ export enum HostEvent {
5223
5246
  */
5224
5247
  UIPassthrough = "UiPassthrough",
5225
5248
  /**
5226
- * Triggers the table viz rerender with the updated data.
5249
+ * Triggers the table visualization re-render with the updated data.
5227
5250
  * Includes the following properties:
5228
- * @param - columnDataLite - an array of object containing data
5229
- * transformed from data picked from TableVizRendered event.
5230
- * For example, { columnDataLite: []}
5251
+ * @param - `columnDataLite` - an array of object containing the
5252
+ * data value modifications retrieved from the `EmbedEvent.TableVizRendered`
5253
+ * payload.For example, { columnDataLite: []}`.
5254
+ *
5231
5255
  * @example
5232
5256
  * ```js
5233
5257
  * searchEmbed.on(EmbedEvent.TableVizRendered, (payload) => {
5234
- * console.log(payload);
5235
- * const columnDataLite = payload.data.data.columnDataLite;
5236
- * columnDataLite[0].dataValue[0]="new fob";
5237
- * console.log('>>> new Data', columnDataLite);
5238
- * searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
5258
+ * console.log(payload);
5259
+ * const columnDataLite = payload.data.data.columnDataLite;
5260
+ * columnDataLite[0].dataValue[0]="new fob";
5261
+ * console.log('>>> new Data', columnDataLite);
5262
+ * searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
5239
5263
  * })
5240
5264
  * ```
5241
5265
  * @version SDK: 1.35.12 | ThoughtSpot: 10.7.0.cl
@@ -6819,7 +6843,7 @@ export interface CustomCssVariables {
6819
6843
  /**
6820
6844
  * Background color of the previously asked prompt message in the Spotter page.
6821
6845
  */
6822
- '--ts-var-spotter-prompt-background': string;
6846
+ '--ts-var-spotter-prompt-background'?: string;
6823
6847
  /**
6824
6848
  * Background color of the data panel.
6825
6849
  */
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thoughtspot/visual-embed-sdk",
3
- "version": "1.36.4",
3
+ "version": "1.36.5",
4
4
  "description": "ThoughtSpot Embed SDK",
5
5
  "module": "lib/src/index.js",
6
6
  "main": "dist/tsembed.js",
@@ -98,7 +98,7 @@ export interface CustomCssVariables {
98
98
  /**
99
99
  * Background color of the previously asked prompt message in the Spotter page.
100
100
  */
101
- '--ts-var-spotter-prompt-background': string;
101
+ '--ts-var-spotter-prompt-background'?: string;
102
102
  /**
103
103
  * Background color of the data panel.
104
104
  */
@@ -1 +1 @@
1
- {"version":3,"file":"css-variables.d.ts","sourceRoot":"","sources":["../../src/css-variables.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;IAEpC;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC;IAErC;;OAEG;IACH,8BAA8B,CAAC,EAAE,MAAM,CAAC;IAExC;;;;;;;OAOG;IACH,4BAA4B,CAAC,EAAE,MAAM,CAAC;IAEtC;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IAEnC;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,wCAAwC,CAAC,EAAE,MAAM,CAAC;IAElD;;OAEG;IACH,wCAAwC,CAAC,EAAE,MAAM,CAAC;IAElD;;OAEG;IACH,yCAAyC,CAAC,EAAE,MAAM,CAAC;IAEnD;;OAEG;IACH,qCAAqC,CAAC,EAAE,MAAM,CAAC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;IACH,mDAAmD,CAAC,EAAE,MAAM,CAAC;IAE7D;;OAEG;IACH,mDAAmD,CAAC,EAAE,MAAM,CAAC;IAC7D;;OAEG;IACH,gCAAgC,CAAC,EAAE,MAAM,CAAC;IAC1C;;OAEG;IACH,gCAAgC,CAAC,EAAE,MAAM,CAAC;IAC1C;;OAEG;IACH,gCAAgC,CAAC,EAAE,MAAM,CAAC;IAC1C;;OAEG;IACH,gCAAgC,CAAC,EAAE,MAAM,CAAC;IAC1C;;OAEG;IACH,iCAAiC,CAAC,EAAE,MAAM,CAAC;IAC3C;;OAEG;IACH,oCAAoC,CAAC,EAAE,MAAM,CAAC;IAC9C;;OAEG;IACH,oCAAoC,CAAC,EAAE,MAAM,CAAC;CAC/C"}
@@ -1354,8 +1354,9 @@ export declare enum EmbedEvent {
1354
1354
  */
1355
1355
  Load = "load",
1356
1356
  /**
1357
- * Data pertaining to an Answer or Liveboard is received
1358
- * @return data - The Answer or Liveboard data
1357
+ * Data pertaining to an Answer or Liveboard is received.
1358
+ * The event payload includes the raw data of the object.
1359
+ * @return data - Answer of Liveboard data
1359
1360
  * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
1360
1361
  * @example
1361
1362
  *```js
@@ -2259,17 +2260,39 @@ export declare enum EmbedEvent {
2259
2260
  */
2260
2261
  ParameterChanged = "parameterChanged",
2261
2262
  /**
2262
- * Emitted when the table viz renders.
2263
- * You can use this event as a hook to trigger
2264
- * other events on the rendered table viz data.
2263
+ * Emits when a table visualization is rendered in
2264
+ * the ThoughtSpot embedded app.
2265
+ * You can also use this event as a hook to trigger host events
2266
+ * such as `HostEvent.TransformTableVizData` on the table visualization.
2267
+ * The event payload contains the data used in the rendered table.
2268
+ * You can extract the relevant data from the payload
2269
+ * stored in `payload.data.data.columnDataLite`.
2270
+ * `columnDataLite` is a multidimensional array that contains
2271
+ * data values for each column, which was used in the query to
2272
+ * generate the table visualization. To find and modify specific cell data,
2273
+ * you can either loop through the array or directly access a cell if
2274
+ * you know its position and data index.
2275
+ * In the following code sample, the first cell in the first column
2276
+ * (`columnDataLite[0].dataValue[0]`) is set to `new fob`.
2277
+ * Note that any changes made to the data in the payload will only update the
2278
+ * visual presentation and do not affect the underlying data.
2279
+ * To persist data value modifications after a reload or during chart
2280
+ * interactions such as drill down, ensure that the modified
2281
+ * payload in the `columnDataLite` is passed on to
2282
+ * `HostEvent.TransformTableVizData` and trigger an update to
2283
+ * the table visualization.
2284
+ * If the Row-Level Security (RLS) rules are applied on the
2285
+ * Worksheet or Model, exercise caution when changing column
2286
+ * or table cell values to maintain data security.
2287
+ *
2265
2288
  * @example
2266
2289
  * ```js
2267
2290
  * searchEmbed.on(EmbedEvent.TableVizRendered, (payload) => {
2268
- * console.log(payload);
2269
- * const columnDataLite = payload.data.data.columnDataLite;
2270
- * columnDataLite[0].dataValue[0]="new fob";
2271
- * console.log('>>> new Data', columnDataLite);
2272
- * searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
2291
+ * console.log(payload);
2292
+ * const columnDataLite = payload.data.data.columnDataLite;
2293
+ * columnDataLite[0].dataValue[0]="new fob";
2294
+ * console.log('>>> new Data', columnDataLite);
2295
+ * searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
2273
2296
  * })
2274
2297
  * ```
2275
2298
  * @version SDK: 1.35.12 | ThoughtSpot: 10.7.0.cl
@@ -3306,19 +3329,20 @@ export declare enum HostEvent {
3306
3329
  */
3307
3330
  UIPassthrough = "UiPassthrough",
3308
3331
  /**
3309
- * Triggers the table viz rerender with the updated data.
3332
+ * Triggers the table visualization re-render with the updated data.
3310
3333
  * Includes the following properties:
3311
- * @param - columnDataLite - an array of object containing data
3312
- * transformed from data picked from TableVizRendered event.
3313
- * For example, { columnDataLite: []}
3334
+ * @param - `columnDataLite` - an array of object containing the
3335
+ * data value modifications retrieved from the `EmbedEvent.TableVizRendered`
3336
+ * payload.For example, { columnDataLite: []}`.
3337
+ *
3314
3338
  * @example
3315
3339
  * ```js
3316
3340
  * searchEmbed.on(EmbedEvent.TableVizRendered, (payload) => {
3317
- * console.log(payload);
3318
- * const columnDataLite = payload.data.data.columnDataLite;
3319
- * columnDataLite[0].dataValue[0]="new fob";
3320
- * console.log('>>> new Data', columnDataLite);
3321
- * searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
3341
+ * console.log(payload);
3342
+ * const columnDataLite = payload.data.data.columnDataLite;
3343
+ * columnDataLite[0].dataValue[0]="new fob";
3344
+ * console.log('>>> new Data', columnDataLite);
3345
+ * searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
3322
3346
  * })
3323
3347
  * ```
3324
3348
  * @version SDK: 1.35.12 | ThoughtSpot: 10.7.0.cl