@thoughtspot/visual-embed-sdk 1.17.1 → 1.17.2
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/src/embed/search-bar.d.ts +1 -1
- package/dist/src/types.d.ts +5 -5
- package/dist/tsembed.es.js +7 -7
- package/dist/tsembed.js +7 -7
- package/lib/package.json +1 -1
- package/lib/src/embed/search-bar.d.ts +1 -1
- package/lib/src/embed/search-bar.js +1 -1
- package/lib/src/types.d.ts +5 -5
- package/lib/src/types.js +5 -5
- package/lib/src/visual-embed-sdk.d.ts +6 -6
- package/package.json +1 -1
- package/src/embed/search-bar.tsx +1 -1
- package/src/types.ts +6 -6
|
@@ -18,7 +18,7 @@ export interface SearchBarViewConfig extends ViewConfig {
|
|
|
18
18
|
* Embed ThoughtSpot search bar
|
|
19
19
|
*
|
|
20
20
|
* @Category Search Embed
|
|
21
|
-
* @version: SDK: 1.17.0 | ThoughtSpot
|
|
21
|
+
* @version: SDK: 1.17.0 | ThoughtSpot 8.10.0.cl, 9.0.1-sw
|
|
22
22
|
*/
|
|
23
23
|
export declare class SearchBarEmbed extends TsEmbed {
|
|
24
24
|
/**
|
package/dist/src/types.d.ts
CHANGED
|
@@ -714,8 +714,8 @@ export declare enum HostEvent {
|
|
|
714
714
|
* @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
|
|
715
715
|
* @example
|
|
716
716
|
* liveboardEmbed.trigger(HostEvent.UpdateRuntimeFilters, [
|
|
717
|
-
* {columnName: "state",operator:
|
|
718
|
-
* {columnName: "item type",operator:
|
|
717
|
+
* {columnName: "state",operator: RuntimeFilterOp.EQ,values: ["michigan"]},
|
|
718
|
+
* {columnName: "item type",operator: RuntimeFilterOp.EQ,values: ["Jackets"]}
|
|
719
719
|
* ])
|
|
720
720
|
* @version SDK: 1.9.0 | ThoughtSpot: 8.1.0.cl, 8.4.1-sw
|
|
721
721
|
*/
|
|
@@ -850,7 +850,7 @@ export declare enum HostEvent {
|
|
|
850
850
|
/**
|
|
851
851
|
* Get TML for the current search.
|
|
852
852
|
* @example searchEmbed.trigger(HostEvent.GetTML)
|
|
853
|
-
* @version SDK: 1.18.0 | ThoughtSpot: 8.10.0.cl
|
|
853
|
+
* @version SDK: 1.18.0 | ThoughtSpot: 8.10.0.cl, 9.0.1-sw
|
|
854
854
|
*/
|
|
855
855
|
GetTML = "getTML",
|
|
856
856
|
/**
|
|
@@ -858,7 +858,7 @@ export declare enum HostEvent {
|
|
|
858
858
|
* @example
|
|
859
859
|
* liveboardEmbed.trigger(HostEvent.Share)
|
|
860
860
|
* searchEmbed.trigger(HostEvent.Share)
|
|
861
|
-
* @version SDK: 1.
|
|
861
|
+
* @version SDK: 1.19.0 | Thoughtspot: 9.0.0.cl, 9.0.1-sw
|
|
862
862
|
*/
|
|
863
863
|
Share = "share",
|
|
864
864
|
/**
|
|
@@ -866,7 +866,7 @@ export declare enum HostEvent {
|
|
|
866
866
|
* @example
|
|
867
867
|
* liveboardEmbed.trigger(HostEvent.Save)
|
|
868
868
|
* searchEmbed.trigger(HostEvent.Save)
|
|
869
|
-
* @version SDK: 1.
|
|
869
|
+
* @version SDK: 1.19.0 | Thoughtspot: 9.0.0.cl, 9.0.1-sw
|
|
870
870
|
*/
|
|
871
871
|
Save = "save"
|
|
872
872
|
}
|
package/dist/tsembed.es.js
CHANGED
|
@@ -656,8 +656,8 @@ var HostEvent;
|
|
|
656
656
|
* @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
|
|
657
657
|
* @example
|
|
658
658
|
* liveboardEmbed.trigger(HostEvent.UpdateRuntimeFilters, [
|
|
659
|
-
* {columnName: "state",operator:
|
|
660
|
-
* {columnName: "item type",operator:
|
|
659
|
+
* {columnName: "state",operator: RuntimeFilterOp.EQ,values: ["michigan"]},
|
|
660
|
+
* {columnName: "item type",operator: RuntimeFilterOp.EQ,values: ["Jackets"]}
|
|
661
661
|
* ])
|
|
662
662
|
* @version SDK: 1.9.0 | ThoughtSpot: 8.1.0.cl, 8.4.1-sw
|
|
663
663
|
*/
|
|
@@ -792,7 +792,7 @@ var HostEvent;
|
|
|
792
792
|
/**
|
|
793
793
|
* Get TML for the current search.
|
|
794
794
|
* @example searchEmbed.trigger(HostEvent.GetTML)
|
|
795
|
-
* @version SDK: 1.18.0 | ThoughtSpot: 8.10.0.cl
|
|
795
|
+
* @version SDK: 1.18.0 | ThoughtSpot: 8.10.0.cl, 9.0.1-sw
|
|
796
796
|
*/
|
|
797
797
|
HostEvent["GetTML"] = "getTML";
|
|
798
798
|
/**
|
|
@@ -800,7 +800,7 @@ var HostEvent;
|
|
|
800
800
|
* @example
|
|
801
801
|
* liveboardEmbed.trigger(HostEvent.Share)
|
|
802
802
|
* searchEmbed.trigger(HostEvent.Share)
|
|
803
|
-
* @version SDK: 1.
|
|
803
|
+
* @version SDK: 1.19.0 | Thoughtspot: 9.0.0.cl, 9.0.1-sw
|
|
804
804
|
*/
|
|
805
805
|
HostEvent["Share"] = "share";
|
|
806
806
|
/**
|
|
@@ -808,7 +808,7 @@ var HostEvent;
|
|
|
808
808
|
* @example
|
|
809
809
|
* liveboardEmbed.trigger(HostEvent.Save)
|
|
810
810
|
* searchEmbed.trigger(HostEvent.Save)
|
|
811
|
-
* @version SDK: 1.
|
|
811
|
+
* @version SDK: 1.19.0 | Thoughtspot: 9.0.0.cl, 9.0.1-sw
|
|
812
812
|
*/
|
|
813
813
|
HostEvent["Save"] = "save";
|
|
814
814
|
})(HostEvent || (HostEvent = {}));
|
|
@@ -9276,7 +9276,7 @@ function processTrigger(iFrame, messageType, thoughtSpotHost, data) {
|
|
|
9276
9276
|
});
|
|
9277
9277
|
}
|
|
9278
9278
|
|
|
9279
|
-
var name="@thoughtspot/visual-embed-sdk";var version="1.17.
|
|
9279
|
+
var name="@thoughtspot/visual-embed-sdk";var version="1.17.2";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/**"];var exports={".":"./lib/src/index.js","./react":"./lib/src/react/index.js"};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false",start:"gatsby develop","build:gatsby":"npm run clean:gatsby && gatsby build --prefix-paths","build:gatsby:noprefix":"npm run clean:gatsby && gatsby build","serve:gatsby":"gatsby serve","clean:gatsby":"gatsby clean","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts",build:"rollup -c",watch:"rollup -cw","docs-cmd":"node scripts/gatsby-commands.js",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme","test-sdk":"jest -c jest.config.sdk.js --runInBand","test-docs":"jest -c jest.config.docs.js",test:"npm run test-sdk && npm run test-docs",posttest:"cat ./coverage/sdk/lcov.info | coveralls",prepublishOnly:"npm run test; npm run tsc; npm run bundle-dts; npm run build","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"^2.45.0","use-deep-compare-effect":"^1.8.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0","dts-bundle":"0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","fs-extra":"^10.0.0",gatsby:"3.13.1","gatsby-plugin-algolia":"^0.22.2","gatsby-plugin-catch-links":"^3.1.0","gatsby-plugin-env-variables":"^2.1.0","gatsby-plugin-intl":"^0.3.3","gatsby-plugin-manifest":"^3.2.0","gatsby-plugin-output":"^0.1.3","gatsby-plugin-sass":"4.1.0","gatsby-plugin-sitemap":"^4.10.0","gatsby-source-filesystem":"3.1.0","gatsby-transformer-asciidoc":"2.1.0","gatsby-transformer-rehype":"2.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-puppeteer":"^4.4.0",jsdom:"^17.0.0","node-sass":"^4.0.0",prettier:"2.1.2",puppeteer:"^7.0.1",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"2.30.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-neo-theme":"^1.1.0","typedoc-plugin-toc-group":"0.0.5",typescript:"^4.1.0","url-search-params-polyfill":"^8.1.0",util:"^0.12.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version,description:description,module:module,main:main,types:types,files:files,exports:exports,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};
|
|
9280
9280
|
|
|
9281
9281
|
/**
|
|
9282
9282
|
* Copyright (c) 2022
|
|
@@ -10193,7 +10193,7 @@ class SearchEmbed extends TsEmbed {
|
|
|
10193
10193
|
* Embed ThoughtSpot search bar
|
|
10194
10194
|
*
|
|
10195
10195
|
* @Category Search Embed
|
|
10196
|
-
* @version: SDK: 1.17.0 | ThoughtSpot
|
|
10196
|
+
* @version: SDK: 1.17.0 | ThoughtSpot 8.10.0.cl, 9.0.1-sw
|
|
10197
10197
|
*/
|
|
10198
10198
|
class SearchBarEmbed extends TsEmbed {
|
|
10199
10199
|
constructor(domSelector, viewConfig) {
|
package/dist/tsembed.js
CHANGED
|
@@ -637,8 +637,8 @@
|
|
|
637
637
|
* @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
|
|
638
638
|
* @example
|
|
639
639
|
* liveboardEmbed.trigger(HostEvent.UpdateRuntimeFilters, [
|
|
640
|
-
* {columnName: "state",operator:
|
|
641
|
-
* {columnName: "item type",operator:
|
|
640
|
+
* {columnName: "state",operator: RuntimeFilterOp.EQ,values: ["michigan"]},
|
|
641
|
+
* {columnName: "item type",operator: RuntimeFilterOp.EQ,values: ["Jackets"]}
|
|
642
642
|
* ])
|
|
643
643
|
* @version SDK: 1.9.0 | ThoughtSpot: 8.1.0.cl, 8.4.1-sw
|
|
644
644
|
*/
|
|
@@ -773,7 +773,7 @@
|
|
|
773
773
|
/**
|
|
774
774
|
* Get TML for the current search.
|
|
775
775
|
* @example searchEmbed.trigger(HostEvent.GetTML)
|
|
776
|
-
* @version SDK: 1.18.0 | ThoughtSpot: 8.10.0.cl
|
|
776
|
+
* @version SDK: 1.18.0 | ThoughtSpot: 8.10.0.cl, 9.0.1-sw
|
|
777
777
|
*/
|
|
778
778
|
HostEvent["GetTML"] = "getTML";
|
|
779
779
|
/**
|
|
@@ -781,7 +781,7 @@
|
|
|
781
781
|
* @example
|
|
782
782
|
* liveboardEmbed.trigger(HostEvent.Share)
|
|
783
783
|
* searchEmbed.trigger(HostEvent.Share)
|
|
784
|
-
* @version SDK: 1.
|
|
784
|
+
* @version SDK: 1.19.0 | Thoughtspot: 9.0.0.cl, 9.0.1-sw
|
|
785
785
|
*/
|
|
786
786
|
HostEvent["Share"] = "share";
|
|
787
787
|
/**
|
|
@@ -789,7 +789,7 @@
|
|
|
789
789
|
* @example
|
|
790
790
|
* liveboardEmbed.trigger(HostEvent.Save)
|
|
791
791
|
* searchEmbed.trigger(HostEvent.Save)
|
|
792
|
-
* @version SDK: 1.
|
|
792
|
+
* @version SDK: 1.19.0 | Thoughtspot: 9.0.0.cl, 9.0.1-sw
|
|
793
793
|
*/
|
|
794
794
|
HostEvent["Save"] = "save";
|
|
795
795
|
})(exports.HostEvent || (exports.HostEvent = {}));
|
|
@@ -9242,7 +9242,7 @@
|
|
|
9242
9242
|
});
|
|
9243
9243
|
}
|
|
9244
9244
|
|
|
9245
|
-
var name="@thoughtspot/visual-embed-sdk";var version="1.17.
|
|
9245
|
+
var name="@thoughtspot/visual-embed-sdk";var version="1.17.2";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/**"];var exports$1={".":"./lib/src/index.js","./react":"./lib/src/react/index.js"};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false",start:"gatsby develop","build:gatsby":"npm run clean:gatsby && gatsby build --prefix-paths","build:gatsby:noprefix":"npm run clean:gatsby && gatsby build","serve:gatsby":"gatsby serve","clean:gatsby":"gatsby clean","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts",build:"rollup -c",watch:"rollup -cw","docs-cmd":"node scripts/gatsby-commands.js",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme","test-sdk":"jest -c jest.config.sdk.js --runInBand","test-docs":"jest -c jest.config.docs.js",test:"npm run test-sdk && npm run test-docs",posttest:"cat ./coverage/sdk/lcov.info | coveralls",prepublishOnly:"npm run test; npm run tsc; npm run bundle-dts; npm run build","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"^2.45.0","use-deep-compare-effect":"^1.8.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0","dts-bundle":"0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","fs-extra":"^10.0.0",gatsby:"3.13.1","gatsby-plugin-algolia":"^0.22.2","gatsby-plugin-catch-links":"^3.1.0","gatsby-plugin-env-variables":"^2.1.0","gatsby-plugin-intl":"^0.3.3","gatsby-plugin-manifest":"^3.2.0","gatsby-plugin-output":"^0.1.3","gatsby-plugin-sass":"4.1.0","gatsby-plugin-sitemap":"^4.10.0","gatsby-source-filesystem":"3.1.0","gatsby-transformer-asciidoc":"2.1.0","gatsby-transformer-rehype":"2.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-puppeteer":"^4.4.0",jsdom:"^17.0.0","node-sass":"^4.0.0",prettier:"2.1.2",puppeteer:"^7.0.1",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"2.30.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-neo-theme":"^1.1.0","typedoc-plugin-toc-group":"0.0.5",typescript:"^4.1.0","url-search-params-polyfill":"^8.1.0",util:"^0.12.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version,description:description,module:module,main:main,types:types,files:files,exports:exports$1,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};
|
|
9246
9246
|
|
|
9247
9247
|
/**
|
|
9248
9248
|
* Copyright (c) 2022
|
|
@@ -10154,7 +10154,7 @@
|
|
|
10154
10154
|
* Embed ThoughtSpot search bar
|
|
10155
10155
|
*
|
|
10156
10156
|
* @Category Search Embed
|
|
10157
|
-
* @version: SDK: 1.17.0 | ThoughtSpot
|
|
10157
|
+
* @version: SDK: 1.17.0 | ThoughtSpot 8.10.0.cl, 9.0.1-sw
|
|
10158
10158
|
*/
|
|
10159
10159
|
class SearchBarEmbed extends TsEmbed {
|
|
10160
10160
|
constructor(domSelector, viewConfig) {
|
package/lib/package.json
CHANGED
|
@@ -18,7 +18,7 @@ export interface SearchBarViewConfig extends ViewConfig {
|
|
|
18
18
|
* Embed ThoughtSpot search bar
|
|
19
19
|
*
|
|
20
20
|
* @Category Search Embed
|
|
21
|
-
* @version: SDK: 1.17.0 | ThoughtSpot
|
|
21
|
+
* @version: SDK: 1.17.0 | ThoughtSpot 8.10.0.cl, 9.0.1-sw
|
|
22
22
|
*/
|
|
23
23
|
export declare class SearchBarEmbed extends TsEmbed {
|
|
24
24
|
/**
|
|
@@ -5,7 +5,7 @@ import { TsEmbed } from './ts-embed';
|
|
|
5
5
|
* Embed ThoughtSpot search bar
|
|
6
6
|
*
|
|
7
7
|
* @Category Search Embed
|
|
8
|
-
* @version: SDK: 1.17.0 | ThoughtSpot
|
|
8
|
+
* @version: SDK: 1.17.0 | ThoughtSpot 8.10.0.cl, 9.0.1-sw
|
|
9
9
|
*/
|
|
10
10
|
export class SearchBarEmbed extends TsEmbed {
|
|
11
11
|
constructor(domSelector, viewConfig) {
|
package/lib/src/types.d.ts
CHANGED
|
@@ -714,8 +714,8 @@ export declare enum HostEvent {
|
|
|
714
714
|
* @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
|
|
715
715
|
* @example
|
|
716
716
|
* liveboardEmbed.trigger(HostEvent.UpdateRuntimeFilters, [
|
|
717
|
-
* {columnName: "state",operator:
|
|
718
|
-
* {columnName: "item type",operator:
|
|
717
|
+
* {columnName: "state",operator: RuntimeFilterOp.EQ,values: ["michigan"]},
|
|
718
|
+
* {columnName: "item type",operator: RuntimeFilterOp.EQ,values: ["Jackets"]}
|
|
719
719
|
* ])
|
|
720
720
|
* @version SDK: 1.9.0 | ThoughtSpot: 8.1.0.cl, 8.4.1-sw
|
|
721
721
|
*/
|
|
@@ -850,7 +850,7 @@ export declare enum HostEvent {
|
|
|
850
850
|
/**
|
|
851
851
|
* Get TML for the current search.
|
|
852
852
|
* @example searchEmbed.trigger(HostEvent.GetTML)
|
|
853
|
-
* @version SDK: 1.18.0 | ThoughtSpot: 8.10.0.cl
|
|
853
|
+
* @version SDK: 1.18.0 | ThoughtSpot: 8.10.0.cl, 9.0.1-sw
|
|
854
854
|
*/
|
|
855
855
|
GetTML = "getTML",
|
|
856
856
|
/**
|
|
@@ -858,7 +858,7 @@ export declare enum HostEvent {
|
|
|
858
858
|
* @example
|
|
859
859
|
* liveboardEmbed.trigger(HostEvent.Share)
|
|
860
860
|
* searchEmbed.trigger(HostEvent.Share)
|
|
861
|
-
* @version SDK: 1.
|
|
861
|
+
* @version SDK: 1.19.0 | Thoughtspot: 9.0.0.cl, 9.0.1-sw
|
|
862
862
|
*/
|
|
863
863
|
Share = "share",
|
|
864
864
|
/**
|
|
@@ -866,7 +866,7 @@ export declare enum HostEvent {
|
|
|
866
866
|
* @example
|
|
867
867
|
* liveboardEmbed.trigger(HostEvent.Save)
|
|
868
868
|
* searchEmbed.trigger(HostEvent.Save)
|
|
869
|
-
* @version SDK: 1.
|
|
869
|
+
* @version SDK: 1.19.0 | Thoughtspot: 9.0.0.cl, 9.0.1-sw
|
|
870
870
|
*/
|
|
871
871
|
Save = "save"
|
|
872
872
|
}
|
package/lib/src/types.js
CHANGED
|
@@ -501,8 +501,8 @@ export var HostEvent;
|
|
|
501
501
|
* @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
|
|
502
502
|
* @example
|
|
503
503
|
* liveboardEmbed.trigger(HostEvent.UpdateRuntimeFilters, [
|
|
504
|
-
* {columnName: "state",operator:
|
|
505
|
-
* {columnName: "item type",operator:
|
|
504
|
+
* {columnName: "state",operator: RuntimeFilterOp.EQ,values: ["michigan"]},
|
|
505
|
+
* {columnName: "item type",operator: RuntimeFilterOp.EQ,values: ["Jackets"]}
|
|
506
506
|
* ])
|
|
507
507
|
* @version SDK: 1.9.0 | ThoughtSpot: 8.1.0.cl, 8.4.1-sw
|
|
508
508
|
*/
|
|
@@ -637,7 +637,7 @@ export var HostEvent;
|
|
|
637
637
|
/**
|
|
638
638
|
* Get TML for the current search.
|
|
639
639
|
* @example searchEmbed.trigger(HostEvent.GetTML)
|
|
640
|
-
* @version SDK: 1.18.0 | ThoughtSpot: 8.10.0.cl
|
|
640
|
+
* @version SDK: 1.18.0 | ThoughtSpot: 8.10.0.cl, 9.0.1-sw
|
|
641
641
|
*/
|
|
642
642
|
HostEvent["GetTML"] = "getTML";
|
|
643
643
|
/**
|
|
@@ -645,7 +645,7 @@ export var HostEvent;
|
|
|
645
645
|
* @example
|
|
646
646
|
* liveboardEmbed.trigger(HostEvent.Share)
|
|
647
647
|
* searchEmbed.trigger(HostEvent.Share)
|
|
648
|
-
* @version SDK: 1.
|
|
648
|
+
* @version SDK: 1.19.0 | Thoughtspot: 9.0.0.cl, 9.0.1-sw
|
|
649
649
|
*/
|
|
650
650
|
HostEvent["Share"] = "share";
|
|
651
651
|
/**
|
|
@@ -653,7 +653,7 @@ export var HostEvent;
|
|
|
653
653
|
* @example
|
|
654
654
|
* liveboardEmbed.trigger(HostEvent.Save)
|
|
655
655
|
* searchEmbed.trigger(HostEvent.Save)
|
|
656
|
-
* @version SDK: 1.
|
|
656
|
+
* @version SDK: 1.19.0 | Thoughtspot: 9.0.0.cl, 9.0.1-sw
|
|
657
657
|
*/
|
|
658
658
|
HostEvent["Save"] = "save";
|
|
659
659
|
})(HostEvent || (HostEvent = {}));
|
|
@@ -430,7 +430,7 @@ declare module '@thoughtspot/visual-embed-sdk/embed/search-bar' {
|
|
|
430
430
|
* Embed ThoughtSpot search bar
|
|
431
431
|
*
|
|
432
432
|
* @Category Search Embed
|
|
433
|
-
* @version: SDK: 1.17.0 | ThoughtSpot
|
|
433
|
+
* @version: SDK: 1.17.0 | ThoughtSpot 8.10.0.cl, 9.0.1-sw
|
|
434
434
|
*/
|
|
435
435
|
export class SearchBarEmbed extends TsEmbed {
|
|
436
436
|
/**
|
|
@@ -1229,8 +1229,8 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
1229
1229
|
* @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
|
|
1230
1230
|
* @example
|
|
1231
1231
|
* liveboardEmbed.trigger(HostEvent.UpdateRuntimeFilters, [
|
|
1232
|
-
* {columnName: "state",operator:
|
|
1233
|
-
* {columnName: "item type",operator:
|
|
1232
|
+
* {columnName: "state",operator: RuntimeFilterOp.EQ,values: ["michigan"]},
|
|
1233
|
+
* {columnName: "item type",operator: RuntimeFilterOp.EQ,values: ["Jackets"]}
|
|
1234
1234
|
* ])
|
|
1235
1235
|
* @version SDK: 1.9.0 | ThoughtSpot: 8.1.0.cl, 8.4.1-sw
|
|
1236
1236
|
*/
|
|
@@ -1365,7 +1365,7 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
1365
1365
|
/**
|
|
1366
1366
|
* Get TML for the current search.
|
|
1367
1367
|
* @example searchEmbed.trigger(HostEvent.GetTML)
|
|
1368
|
-
* @version SDK: 1.18.0 | ThoughtSpot: 8.10.0.cl
|
|
1368
|
+
* @version SDK: 1.18.0 | ThoughtSpot: 8.10.0.cl, 9.0.1-sw
|
|
1369
1369
|
*/
|
|
1370
1370
|
GetTML = "getTML",
|
|
1371
1371
|
/**
|
|
@@ -1373,7 +1373,7 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
1373
1373
|
* @example
|
|
1374
1374
|
* liveboardEmbed.trigger(HostEvent.Share)
|
|
1375
1375
|
* searchEmbed.trigger(HostEvent.Share)
|
|
1376
|
-
* @version SDK: 1.
|
|
1376
|
+
* @version SDK: 1.19.0 | Thoughtspot: 9.0.0.cl, 9.0.1-sw
|
|
1377
1377
|
*/
|
|
1378
1378
|
Share = "share",
|
|
1379
1379
|
/**
|
|
@@ -1381,7 +1381,7 @@ declare module '@thoughtspot/visual-embed-sdk/types' {
|
|
|
1381
1381
|
* @example
|
|
1382
1382
|
* liveboardEmbed.trigger(HostEvent.Save)
|
|
1383
1383
|
* searchEmbed.trigger(HostEvent.Save)
|
|
1384
|
-
* @version SDK: 1.
|
|
1384
|
+
* @version SDK: 1.19.0 | Thoughtspot: 9.0.0.cl, 9.0.1-sw
|
|
1385
1385
|
*/
|
|
1386
1386
|
Save = "save"
|
|
1387
1387
|
}
|
package/package.json
CHANGED
package/src/embed/search-bar.tsx
CHANGED
|
@@ -22,7 +22,7 @@ export interface SearchBarViewConfig extends ViewConfig {
|
|
|
22
22
|
* Embed ThoughtSpot search bar
|
|
23
23
|
*
|
|
24
24
|
* @Category Search Embed
|
|
25
|
-
* @version: SDK: 1.17.0 | ThoughtSpot
|
|
25
|
+
* @version: SDK: 1.17.0 | ThoughtSpot 8.10.0.cl, 9.0.1-sw
|
|
26
26
|
*/
|
|
27
27
|
export class SearchBarEmbed extends TsEmbed {
|
|
28
28
|
/**
|
package/src/types.ts
CHANGED
|
@@ -286,7 +286,7 @@ export type MessageOptions = {
|
|
|
286
286
|
export type MessageCallback = (
|
|
287
287
|
/* payload: Message payload contain type, data and status */
|
|
288
288
|
payload: MessagePayload,
|
|
289
|
-
/* responder:
|
|
289
|
+
/* responder: Message callback function triggered when embed event initiated */
|
|
290
290
|
responder?: (data: any) => void,
|
|
291
291
|
) => void;
|
|
292
292
|
/**
|
|
@@ -754,8 +754,8 @@ export enum HostEvent {
|
|
|
754
754
|
* @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
|
|
755
755
|
* @example
|
|
756
756
|
* liveboardEmbed.trigger(HostEvent.UpdateRuntimeFilters, [
|
|
757
|
-
* {columnName: "state",operator:
|
|
758
|
-
* {columnName: "item type",operator:
|
|
757
|
+
* {columnName: "state",operator: RuntimeFilterOp.EQ,values: ["michigan"]},
|
|
758
|
+
* {columnName: "item type",operator: RuntimeFilterOp.EQ,values: ["Jackets"]}
|
|
759
759
|
* ])
|
|
760
760
|
* @version SDK: 1.9.0 | ThoughtSpot: 8.1.0.cl, 8.4.1-sw
|
|
761
761
|
*/
|
|
@@ -890,7 +890,7 @@ export enum HostEvent {
|
|
|
890
890
|
/**
|
|
891
891
|
* Get TML for the current search.
|
|
892
892
|
* @example searchEmbed.trigger(HostEvent.GetTML)
|
|
893
|
-
* @version SDK: 1.18.0 | ThoughtSpot: 8.10.0.cl
|
|
893
|
+
* @version SDK: 1.18.0 | ThoughtSpot: 8.10.0.cl, 9.0.1-sw
|
|
894
894
|
*/
|
|
895
895
|
GetTML = 'getTML',
|
|
896
896
|
/**
|
|
@@ -898,7 +898,7 @@ export enum HostEvent {
|
|
|
898
898
|
* @example
|
|
899
899
|
* liveboardEmbed.trigger(HostEvent.Share)
|
|
900
900
|
* searchEmbed.trigger(HostEvent.Share)
|
|
901
|
-
* @version SDK: 1.
|
|
901
|
+
* @version SDK: 1.19.0 | Thoughtspot: 9.0.0.cl, 9.0.1-sw
|
|
902
902
|
*/
|
|
903
903
|
Share = 'share',
|
|
904
904
|
/**
|
|
@@ -906,7 +906,7 @@ export enum HostEvent {
|
|
|
906
906
|
* @example
|
|
907
907
|
* liveboardEmbed.trigger(HostEvent.Save)
|
|
908
908
|
* searchEmbed.trigger(HostEvent.Save)
|
|
909
|
-
* @version SDK: 1.
|
|
909
|
+
* @version SDK: 1.19.0 | Thoughtspot: 9.0.0.cl, 9.0.1-sw
|
|
910
910
|
*/
|
|
911
911
|
Save = 'save',
|
|
912
912
|
}
|