@thoughtspot/visual-embed-sdk 1.21.0-alpha.13 → 1.21.0-alpha.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cjs/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thoughtspot/visual-embed-sdk",
3
- "version": "1.21.0-alpha.13",
3
+ "version": "1.21.0-alpha.14",
4
4
  "description": "ThoughtSpot Embed SDK",
5
5
  "module": "lib/src/index.js",
6
6
  "main": "dist/tsembed.js",
@@ -91,5 +91,5 @@ export declare const SearchBarEmbed: React.ForwardRefExoticComponent<SearchBarEm
91
91
  * @returns {React.MutableRefObject<TsEmbed>} ref
92
92
  */
93
93
  export declare const useEmbedRef: () => React.MutableRefObject<TsEmbed>;
94
- export {};
94
+ export { init, logout, prefetch, getInitConfig, getSessionInfo, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, } from '../index';
95
95
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAqC,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC7F,OAAO,EAA+B,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAChF,OAAO,EAAyB,aAAa,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,EAAqC,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC5F,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAG5C,OAAO,EAAE,U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G;AAEvD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,QAAQ,0EAAyE,CAAC;AAE/F,UAAU,cAAe,SAAQ,UAAU,EAAE,mBAAmB;CAAG;AAEnE;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,cAAc,gFAIT,CAAC;AAEnB,eAAO,MAAM,aAAa,gFAAiB,CAAC;AAE5C,UAAU,mBAAoB,SAAQ,UAAU,EAAE,mBAAmB;CAAG;AAExE;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,cAAc,qFAIT,CAAC;AAEnB;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,WAAW,QAAO,MAAM,gBAAgB,CAAC,OAAO,CAAgC,CAAC;AAE9F,OAAO,EACH,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,aAAa,EACb,cAAc,EACd,eAAe,EACf,UAAU,EACV,SAAS,EACT,gBAAgB,EAEhB,IAAI,EACJ,QAAQ,EACR,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,cAAc,EACd,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,YAAY,EACZ,kBAAkB,GACrB,MAAM,UAAU,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useEmbedRef = exports.SearchBarEmbed = exports.PinboardEmbed = exports.LiveboardEmbed = exports.AppEmbed = exports.SearchEmbed = void 0;
3
+ exports.PrefetchFeatures = exports.Action = exports.DataSourceVisualMode = exports.HostEvent = exports.EmbedEvent = exports.RuntimeFilterOp = exports.AuthType = exports.Page = exports.AuthEvent = exports.AuthStatus = exports.AuthFailureType = exports.getSessionInfo = exports.getInitConfig = exports.prefetch = exports.logout = exports.init = exports.useEmbedRef = exports.SearchBarEmbed = exports.PinboardEmbed = exports.LiveboardEmbed = exports.AppEmbed = exports.SearchEmbed = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const react_1 = tslib_1.__importDefault(require("react"));
6
6
  const use_deep_compare_effect_1 = tslib_1.__importDefault(require("use-deep-compare-effect"));
@@ -118,4 +118,22 @@ exports.SearchBarEmbed = componentFactory(search_bar_1.SearchBarEmbed);
118
118
  */
119
119
  const useEmbedRef = () => react_1.default.useRef(null);
120
120
  exports.useEmbedRef = useEmbedRef;
121
+ var index_1 = require("../index");
122
+ Object.defineProperty(exports, "init", { enumerable: true, get: function () { return index_1.init; } });
123
+ Object.defineProperty(exports, "logout", { enumerable: true, get: function () { return index_1.logout; } });
124
+ Object.defineProperty(exports, "prefetch", { enumerable: true, get: function () { return index_1.prefetch; } });
125
+ Object.defineProperty(exports, "getInitConfig", { enumerable: true, get: function () { return index_1.getInitConfig; } });
126
+ Object.defineProperty(exports, "getSessionInfo", { enumerable: true, get: function () { return index_1.getSessionInfo; } });
127
+ Object.defineProperty(exports, "AuthFailureType", { enumerable: true, get: function () { return index_1.AuthFailureType; } });
128
+ Object.defineProperty(exports, "AuthStatus", { enumerable: true, get: function () { return index_1.AuthStatus; } });
129
+ Object.defineProperty(exports, "AuthEvent", { enumerable: true, get: function () { return index_1.AuthEvent; } });
130
+ // types
131
+ Object.defineProperty(exports, "Page", { enumerable: true, get: function () { return index_1.Page; } });
132
+ Object.defineProperty(exports, "AuthType", { enumerable: true, get: function () { return index_1.AuthType; } });
133
+ Object.defineProperty(exports, "RuntimeFilterOp", { enumerable: true, get: function () { return index_1.RuntimeFilterOp; } });
134
+ Object.defineProperty(exports, "EmbedEvent", { enumerable: true, get: function () { return index_1.EmbedEvent; } });
135
+ Object.defineProperty(exports, "HostEvent", { enumerable: true, get: function () { return index_1.HostEvent; } });
136
+ Object.defineProperty(exports, "DataSourceVisualMode", { enumerable: true, get: function () { return index_1.DataSourceVisualMode; } });
137
+ Object.defineProperty(exports, "Action", { enumerable: true, get: function () { return index_1.Action; } });
138
+ Object.defineProperty(exports, "PrefetchFeatures", { enumerable: true, get: function () { return index_1.PrefetchFeatures; } });
121
139
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/react/index.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,8FAA2D;AAC3D,oCAAqC;AACrC,oDAA6F;AAC7F,4CAAgF;AAChF,sCAAoE;AACpE,kDAA4F;AAI5F,iCAA8D;AAE9D,MAAM,gBAAgB,GAAG,CACrB,gBAAmB,EACrB,EAAE,CAAC,eAAK,CAAC,UAAU,CACjB,CAAC,KAAQ,EAAE,YAA6C,EAAE,EAAE;IACxD,MAAM,GAAG,GAAG,eAAK,CAAC,MAAM,CAAiB,IAAI,CAAC,CAAC;IAC/C,MAAM,EAAE,SAAS,EAAE,GAAG,UAAU,EAAE,GAAG,KAAK,CAAC;IAC3C,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,IAAA,+BAAwB,EAGpD,UAAU,CAAC,CAAC;IAClB,IAAA,iCAAoB,EAAC,GAAG,EAAE;QACtB,MAAM,OAAO,GAAG,IAAI,gBAAgB,CAC5B,GAAI,CAAC,OAAO,EACZ,IAAA,iBAAS,EACL;YACI,eAAe,EAAE,UAAU,CAAC,eAAe;YAC3C,WAAW,EAAE;gBACT,KAAK,EAAE,UAAU,CAAC,eAAe;oBAC7B,CAAC,CAAC,SAAS,IAAI,EAAE;oBACjB,CAAC,CAAC,EAAE;aACX;SACJ,EACD,UAAU,CACb,CACR,CAAC;QACF,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,CAAC,SAAS,EAAE,EAAE;YACzC,OAAO,CAAC,EAAE,CACF,SAAuB,EACvB,SAAS,CAAC,SAAuB,CAAC,CACzC,CAAC;QACN,CAAC,CAAC,CAAC;QACH,OAAO,CAAC,MAAM,EAAE,CAAC;QACjB,IAAI,YAAY,EAAE;Y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,SAAS,EACrB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,SAAS,GAClB,CACb,CAAC;AACN,CAAC,CACJ,CAAC;AAIF;;;;;;;;;;;;GAYG;AACU,QAAA,WAAW,GAAG,gBAAgB,CACvC,oBAAY,CACf,CAAC;AAIF;;;;;;;;;;;;;GAaG;AACU,QAAA,QAAQ,GAAG,gBAAgB,CAA4C,cAAS,CAAC,CAAC;AAI/F;;;;;;;;;;;;;;GAcG;AACU,QAAA,cAAc,GAAG,gBAAgB,CAI5C,0BAAe,CAAC,CAAC;AAEN,QAAA,aAAa,GAAG,sBAAc,CAAC;AAI5C;;;;;;;;;;;;GAYG;AACU,QAAA,cAAc,GAAG,gBAAgB,CAI5C,2BAAe,CAAC,CAAC;AAEnB;;;;;;;;;;;;;;;;GAgBG;AACI,MAAM,WAAW,GAAG,GAAoC,EAAE,CAAC,eAAK,CAAC,MAAM,CAAU,IAAI,CAAC,CAAC;AAAjF,QAAA,WAAW,eAAsE;AAE9F,kCAiCkB;AAhCd,6FAAA,IAAI,OAAA;AACJ,+FAAA,MAAM,OAAA;AACN,iGAAA,QAAQ,OAAA;AACR,sGAAA,aAAa,OAAA;AACb,uGAAA,cAAc,OAAA;AACd,wGAAA,eAAe,OAAA;AACf,mGAAA,UAAU,OAAA;AACV,kGAAA,SAAS,OAAA;AAET,QAAQ;AACR,6FAAA,IAAI,OAAA;AACJ,iGAAA,QAAQ,OAAA;AAER,wGAAA,eAAe,OAAA;AACf,mGAAA,UAAU,OAAA;AACV,kGAAA,SAAS,OAAA;AACT,6GAAA,oBAAoB,OAAA;AACpB,+FAAA,MAAM,OAAA;AAMN,yGAAA,gBAAgB,OAAA"}
@@ -91,5 +91,5 @@ export declare const SearchBarEmbed: React.ForwardRefExoticComponent<SearchBarEm
91
91
  * @returns {React.MutableRefObject<TsEmbed>} ref
92
92
  */
93
93
  export declare const useEmbedRef: () => React.MutableRefObject<TsEmbed>;
94
- export {};
94
+ export { init, logout, prefetch, getInitConfig, getSessionInfo, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, } from '../index';
95
95
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAqC,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC7F,OAAO,EAA+B,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAChF,OAAO,EAAyB,aAAa,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,EAAqC,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC5F,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAG5C,OAAO,EAAE,UAAU,EAA4B,MAAM,QAAQ,CAAC;AA2D9D,UAAU,WAAY,SAAQ,UAAU,EAAE,gBAAgB;CAAG;AAE7D;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,WAAW,6EAEvB,CAAC;AAEF,UAAU,QAAS,SAAQ,UAAU,EAAE,aAAa;CAAG;AAEvD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,QAAQ,0EAAyE,CAAC;AAE/F,UAAU,cAAe,SAAQ,UAAU,EAAE,mBAAmB;CAAG;AAEnE;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,cAAc,gFAIT,CAAC;AAEnB,eAAO,MAAM,aAAa,gFAAiB,CAAC;AAE5C,UAAU,mBAAoB,SAAQ,UAAU,EAAE,mBAAmB;CAAG;AAExE;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,cAAc,qFAIT,CAAC;AA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,gBAAgB,EAEhB,IAAI,EACJ,QAAQ,EACR,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,cAAc,EACd,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,YAAY,EACZ,kBAAkB,GACrB,MAAM,UAAU,CAAC"}
@@ -27327,7 +27327,7 @@ function processTrigger(iFrame, messageType, thoughtSpotHost, data) {
27327
27327
  });
27328
27328
  }
27329
27329
 
27330
- var name="@thoughtspot/visual-embed-sdk";var version="1.21.0-alpha.13";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={".":{"import":"./lib/src/index.js",require:"./dist/tsembed.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/index.js",require:"./cjs/src/react.index.js",types:"./lib/src/react/index.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/index.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs",start:"gatsby develop","build:gatsby":"npm run clean:gatsby && gatsby build --prefix-paths","build:gatsby:noprefix":"npm run clean:gatsby && gatsby build","serve:gatsby":"gatsby serve","clean:gatsby":"gatsby clean","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts":"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",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 bundle-dts-react; 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",dompurify:"^2.3.4","eslint-plugin-comment-length":"^0.9.2","eslint-plugin-jsdoc":"^40.1.0",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"^2.45.0","ts-deepmerge":"^6.0.2","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":"6.7.0","gatsby-plugin-sitemap":"^4.10.0","gatsby-source-filesystem":"3.1.0","gatsby-transformer-asciidoc":"2.1.0","gatsby-transformer-rehype":"2.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-puppeteer":"^4.4.0",jsdom:"^17.0.0","node-sass":"^8.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-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","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,typesVersions:typesVersions,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};
27330
+ var name="@thoughtspot/visual-embed-sdk";var version="1.21.0-alpha.14";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={".":{"import":"./lib/src/index.js",require:"./dist/tsembed.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/index.js",require:"./cjs/src/react.index.js",types:"./lib/src/react/index.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/index.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs",start:"gatsby develop","build:gatsby":"npm run clean:gatsby && gatsby build --prefix-paths","build:gatsby:noprefix":"npm run clean:gatsby && gatsby build","serve:gatsby":"gatsby serve","clean:gatsby":"gatsby clean","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts":"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",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 bundle-dts-react; 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",dompurify:"^2.3.4","eslint-plugin-comment-length":"^0.9.2","eslint-plugin-jsdoc":"^40.1.0",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"^2.45.0","ts-deepmerge":"^6.0.2","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":"6.7.0","gatsby-plugin-sitemap":"^4.10.0","gatsby-source-filesystem":"3.1.0","gatsby-transformer-asciidoc":"2.1.0","gatsby-transformer-rehype":"2.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-puppeteer":"^4.4.0",jsdom:"^17.0.0","node-sass":"^8.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-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","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,typesVersions:typesVersions,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};
27331
27331
 
27332
27332
  /**
27333
27333
  * Copyright (c) 2022
package/dist/tsembed.js CHANGED
@@ -27229,7 +27229,7 @@
27229
27229
  });
27230
27230
  }
27231
27231
 
27232
- var name="@thoughtspot/visual-embed-sdk";var version="1.21.0-alpha.13";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:"./dist/tsembed.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/index.js",require:"./cjs/src/react.index.js",types:"./lib/src/react/index.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/index.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs",start:"gatsby develop","build:gatsby":"npm run clean:gatsby && gatsby build --prefix-paths","build:gatsby:noprefix":"npm run clean:gatsby && gatsby build","serve:gatsby":"gatsby serve","clean:gatsby":"gatsby clean","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts":"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",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 bundle-dts-react; 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",dompurify:"^2.3.4","eslint-plugin-comment-length":"^0.9.2","eslint-plugin-jsdoc":"^40.1.0",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"^2.45.0","ts-deepmerge":"^6.0.2","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":"6.7.0","gatsby-plugin-sitemap":"^4.10.0","gatsby-source-filesystem":"3.1.0","gatsby-transformer-asciidoc":"2.1.0","gatsby-transformer-rehype":"2.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-puppeteer":"^4.4.0",jsdom:"^17.0.0","node-sass":"^8.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-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,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};
27232
+ var name="@thoughtspot/visual-embed-sdk";var version="1.21.0-alpha.14";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:"./dist/tsembed.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/index.js",require:"./cjs/src/react.index.js",types:"./lib/src/react/index.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/index.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs",start:"gatsby develop","build:gatsby":"npm run clean:gatsby && gatsby build --prefix-paths","build:gatsby:noprefix":"npm run clean:gatsby && gatsby build","serve:gatsby":"gatsby serve","clean:gatsby":"gatsby clean","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts":"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",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 bundle-dts-react; 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",dompurify:"^2.3.4","eslint-plugin-comment-length":"^0.9.2","eslint-plugin-jsdoc":"^40.1.0",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"^2.45.0","ts-deepmerge":"^6.0.2","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":"6.7.0","gatsby-plugin-sitemap":"^4.10.0","gatsby-source-filesystem":"3.1.0","gatsby-transformer-asciidoc":"2.1.0","gatsby-transformer-rehype":"2.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-puppeteer":"^4.4.0",jsdom:"^17.0.0","node-sass":"^8.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-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,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};
27233
27233
 
27234
27234
  /**
27235
27235
  * Copyright (c) 2022
@@ -1,8 +1,10 @@
1
1
  // Generated by dts-bundle v0.7.3
2
2
  // Dependencies for this module:
3
3
  // ../../../react
4
+ // ../../../eventemitter3
4
5
 
5
6
  import React from 'react';
7
+ import EventEmitter from 'eventemitter3';
6
8
 
7
9
  interface SearchProps extends EmbedProps, SearchViewConfig {
8
10
  }
@@ -90,7 +92,6 @@ export const SearchBarEmbed: React.ForwardRefExoticComponent<SearchBarEmbedProps
90
92
  * @returns {React.MutableRefObject<TsEmbed>} ref
91
93
  */
92
94
  export const useEmbedRef: () => React.MutableRefObject<TsEmbed>;
93
- export {};
94
95
 
95
96
  /**
96
97
  * @group Embed components
@@ -763,6 +764,17 @@ export interface ViewConfigAndListeners<T extends ViewConfig> {
763
764
  */
764
765
  export function getViewPropsAndListeners<T extends EmbedProps, U extends ViewConfig>(props: T): ViewConfigAndListeners<U>;
765
766
 
767
+ /**
768
+ * Copyright (c) 2023
769
+ *
770
+ * ThoughtSpot Visual Embed SDK for embedding ThoughtSpot analytics
771
+ * in other web applications.
772
+ *
773
+ * @summary ThoughtSpot Visual Embed SDK
774
+ * @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
775
+ */
776
+ export { init, logout, prefetch, getEmbedConfig as getInitConfig, getSessionInfo, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, AppEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, };
777
+
766
778
  /**
767
779
  * The authentication mechanism for allowing access to the
768
780
  * the embedded app
@@ -2695,3 +2707,261 @@ export declare enum ContextMenuTriggerOptions {
2695
2707
  RIGHT_CLICK = "right-click"
2696
2708
  }
2697
2709
 
2710
+ export declare let authPromise: Promise<boolean>;
2711
+ /**
2712
+ * Gets the configuration embed was initialized with.
2713
+ *
2714
+ * @returns {@link EmbedConfig} The configuration embed was initialized with.
2715
+ * @version SDK: 1.19.0 | ThoughtSpot: *
2716
+ * @group Global methods
2717
+ */
2718
+ export declare const getEmbedConfig: () => EmbedConfig;
2719
+ export declare const getAuthPromise: () => Promise<boolean>;
2720
+ export { notifyAuthFailure, notifyAuthSDKSuccess, notifyAuthSuccess, notifyLogout, };
2721
+ /**
2722
+ * Perform authentication on the ThoughtSpot app as applicable.
2723
+ */
2724
+ export declare const handleAuth: () => Promise<boolean>;
2725
+ /**
2726
+ * Prefetches static resources from the specified URL. Web browsers can then cache the
2727
+ * prefetched resources and serve them from the user's local disk to provide faster access
2728
+ * to your app.
2729
+ *
2730
+ * @param url The URL provided for prefetch
2731
+ * @param prefetchFeatures Specify features which needs to be prefetched.
2732
+ * @version SDK: 1.4.0 | ThoughtSpot: ts7.sep.cl, 7.2.1
2733
+ * @group Global methods
2734
+ */
2735
+ export declare const prefetch: (url?: string, prefetchFeatures?: PrefetchFeatures[]) => void;
2736
+ /**
2737
+ * Initializes the Visual Embed SDK globally and perform
2738
+ * authentication if applicable. This function needs to be called before any ThoughtSpot
2739
+ * component like liveboard etc can be embedded. But need not wait for AuthEvent.SUCCESS
2740
+ * to actually embed. That is handled internally.
2741
+ *
2742
+ * @param embedConfig The configuration object containing ThoughtSpot host,
2743
+ * authentication mechanism and so on.
2744
+ * @example
2745
+ * ```js
2746
+ * const authStatus = init({
2747
+ * thoughtSpotHost: 'https://my.thoughtspot.cloud',
2748
+ * authType: AuthType.None,
2749
+ * });
2750
+ * authStatus.on(AuthStatus.FAILURE, (reason) => { // do something here });
2751
+ * ```
2752
+ * @returns {@link AuthEventEmitter} event emitter which emits events on authentication success,
2753
+ * failure and logout. See {@link AuthStatus}
2754
+ * @version SDK: 1.0.0 | ThoughtSpot ts7.april.cl, 7.2.1
2755
+ * @group Authentication / Init
2756
+ */
2757
+ export declare const init: (embedConfig: EmbedConfig) => AuthEventEmitter;
2758
+ /**
2759
+ *
2760
+ */
2761
+ export declare function disableAutoLogin(): void;
2762
+ /**
2763
+ * Logs out from ThoughtSpot. This also sets the autoLogin flag to false, to
2764
+ * prevent the SDK from automatically logging in again.
2765
+ *
2766
+ * You can call the `init` method again to re login, if autoLogin is set to
2767
+ * true in this second call it will be honored.
2768
+ *
2769
+ * @param doNotDisableAutoLogin This flag when passed will not disable autoLogin
2770
+ * @returns Promise which resolves when logout completes.
2771
+ * @version SDK: 1.10.1 | ThoughtSpot: 8.2.0.cl, 8.4.1-sw
2772
+ * @group Global methods
2773
+ */
2774
+ export declare const logout: (doNotDisableAutoLogin?: boolean) => Promise<boolean>;
2775
+ /**
2776
+ * Renders functions in a queue, resolves to next function only after the callback next
2777
+ * is called
2778
+ *
2779
+ * @param fn The function being registered
2780
+ */
2781
+ export declare const renderInQueue: (fn: (next?: (val?: any) => void) => Promise<any>) => Promise<any>;
2782
+ /**
2783
+ *
2784
+ */
2785
+ export declare function reset(): void;
2786
+
2787
+ export declare let loggedInStatus: boolean;
2788
+ export declare let samlAuthWindow: Window;
2789
+ export declare let samlCompletionPromise: Promise<void>;
2790
+ export declare const SSO_REDIRECTION_MARKER_GUID = "5e16222e-ef02-43e9-9fbd-24226bf3ce5b";
2791
+ export declare const EndPoints: {
2792
+ AUTH_VERIFICATION: string;
2793
+ SAML_LOGIN_TEMPLATE: (targetUrl: string) => string;
2794
+ OIDC_LOGIN_TEMPLATE: (targetUrl: string) => string;
2795
+ TOKEN_LOGIN: string;
2796
+ BASIC_LOGIN: string;
2797
+ LOGOUT: string;
2798
+ };
2799
+ interface sessionInfoInterface {
2800
+ userGUID: any;
2801
+ isPublicUser: any;
2802
+ mixpanelToken: any;
2803
+ [key: string]: any;
2804
+ }
2805
+ /**
2806
+ * Enum for auth failure types. This is the parameter passed to the listner
2807
+ * of {@link AuthStatus.FAILURE}.
2808
+ *
2809
+ * @group Authentication / Init
2810
+ */
2811
+ export declare enum AuthFailureType {
2812
+ SDK = "SDK",
2813
+ NO_COOKIE_ACCESS = "NO_COOKIE_ACCESS",
2814
+ EXPIRY = "EXPIRY",
2815
+ OTHER = "OTHER"
2816
+ }
2817
+ /**
2818
+ * Enum for auth status emitted by the emitter returned from {@link init}.
2819
+ *
2820
+ * @group Authentication / Init
2821
+ */
2822
+ export declare enum AuthStatus {
2823
+ /**
2824
+ * Emits when the SDK fails to authenticate
2825
+ */
2826
+ FAILURE = "FAILURE",
2827
+ /**
2828
+ * Emits when the SDK authenticates successfully
2829
+ */
2830
+ SDK_SUCCESS = "SDK_SUCCESS",
2831
+ /**
2832
+ * Emits when the app sends an authentication success message
2833
+ */
2834
+ SUCCESS = "SUCCESS",
2835
+ /**
2836
+ * Emits when a user logs out
2837
+ */
2838
+ LOGOUT = "LOGOUT",
2839
+ /**
2840
+ * Emitted when inPopup: true in the SAMLRedirect flow.
2841
+ * And, we are waiting for popup to be triggered either programatically
2842
+ * or by the trigger button.
2843
+ *
2844
+ * @version SDK: 1.19.0
2845
+ */
2846
+ WAITING_FOR_POPUP = "WAITING_FOR_POPUP"
2847
+ }
2848
+ /**
2849
+ * Event emitter returned from {@link init}.
2850
+ *
2851
+ * @group Authentication / Init
2852
+ */
2853
+ export interface AuthEventEmitter {
2854
+ /**
2855
+ * Register a listener on Auth failure.
2856
+ *
2857
+ * @param event
2858
+ * @param listener
2859
+ */
2860
+ on(event: AuthStatus.FAILURE, listener: (failureType: AuthFailureType) => void): this;
2861
+ /**
2862
+ * Register a listener on Auth SDK success.
2863
+ *
2864
+ * @param event
2865
+ * @param listener
2866
+ */
2867
+ on(event: AuthStatus.SDK_SUCCESS | AuthStatus.LOGOUT | AuthStatus.WAITING_FOR_POPUP, listener: () => void): this;
2868
+ on(event: AuthStatus.SUCCESS, listener: (sessionInfo: any) => void): this;
2869
+ once(event: AuthStatus.FAILURE, listener: (failureType: AuthFailureType) => void): this;
2870
+ once(event: AuthStatus.SDK_SUCCESS | AuthStatus.LOGOUT | AuthStatus.WAITING_FOR_POPUP, listener: () => void): this;
2871
+ once(event: AuthStatus.SUCCESS, listener: (sessionInfo: any) => void): this;
2872
+ /**
2873
+ * Trigger an event on the emitter returned from init.
2874
+ *
2875
+ * @param {@link AuthEvent}
2876
+ */
2877
+ emit(event: AuthEvent): void;
2878
+ }
2879
+ /**
2880
+ * Events which can be triggered on the emitter returned from {@link init}.
2881
+ *
2882
+ * @group Authentication / Init
2883
+ */
2884
+ export declare enum AuthEvent {
2885
+ /**
2886
+ * Manually trigger the SSO popup. This is useful with
2887
+ * authStatus: SAMLRedirect/OIDCRedicre and inPopup: true
2888
+ */
2889
+ TRIGGER_SSO_POPUP = "TRIGGER_SSO_POPUP"
2890
+ }
2891
+ /**
2892
+ *
2893
+ */
2894
+ export declare function getAuthEE(): EventEmitter<AuthStatus | AuthEvent>;
2895
+ /**
2896
+ *
2897
+ * @param eventEmitter
2898
+ */
2899
+ export declare function setAuthEE(eventEmitter: EventEmitter<AuthStatus | AuthEvent>): void;
2900
+ /**
2901
+ *
2902
+ */
2903
+ export declare function notifyAuthSDKSuccess(): void;
2904
+ /**
2905
+ *
2906
+ */
2907
+ export declare function notifyAuthSuccess(): void;
2908
+ /**
2909
+ *
2910
+ * @param failureType
2911
+ */
2912
+ export declare function notifyAuthFailure(failureType: AuthFailureType): void;
2913
+ /**
2914
+ *
2915
+ */
2916
+ export declare function notifyLogout(): void;
2917
+ export declare const initSession: (sessionDetails: sessionInfoInterface) => void;
2918
+ export declare const getSessionDetails: (sessionInfoResp: any) => sessionInfoInterface;
2919
+ /**
2920
+ * Return releaseVersion if available
2921
+ */
2922
+ export declare function getReleaseVersion(): string;
2923
+ /**
2924
+ * Return a promise that resolves with the session information when
2925
+ * authentication is successful. And info is available.
2926
+ *
2927
+ * @group Global methods
2928
+ */
2929
+ export declare function getSessionInfo(): Promise<sessionInfoInterface>;
2930
+ export declare const getAuthenticaionToken: (embedConfig: EmbedConfig) => Promise<any>;
2931
+ /**
2932
+ * Perform token based authentication
2933
+ *
2934
+ * @param embedConfig The embed configuration
2935
+ */
2936
+ export declare const doTokenAuth: (embedConfig: EmbedConfig) => Promise<boolean>;
2937
+ /**
2938
+ * Validate embedConfig parameters required for cookielessTokenAuth
2939
+ *
2940
+ * @param embedConfig The embed configuration
2941
+ */
2942
+ export declare const doCookielessTokenAuth: (embedConfig: EmbedConfig) => Promise<boolean>;
2943
+ /**
2944
+ * Perform basic authentication to the ThoughtSpot cluster using the cluster
2945
+ * credentials.
2946
+ *
2947
+ * Warning: This feature is primarily intended for developer testing. It is
2948
+ * strongly advised not to use this authentication method in production.
2949
+ *
2950
+ * @param embedConfig The embed configuration
2951
+ */
2952
+ export declare const doBasicAuth: (embedConfig: EmbedConfig) => Promise<boolean>;
2953
+ export declare const doSamlAuth: (embedConfig: EmbedConfig) => Promise<boolean>;
2954
+ export declare const doOIDCAuth: (embedConfig: EmbedConfig) => Promise<boolean>;
2955
+ export declare const logout: (embedConfig: EmbedConfig) => Promise<boolean>;
2956
+ /**
2957
+ * Perform authentication on the ThoughtSpot cluster
2958
+ *
2959
+ * @param embedConfig The embed configuration
2960
+ */
2961
+ export declare const authenticate: (embedConfig: EmbedConfig) => Promise<boolean>;
2962
+ /**
2963
+ * Check if we are authenticated to the ThoughtSpot cluster
2964
+ */
2965
+ export declare const isAuthenticated: () => boolean;
2966
+ export {};
2967
+
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thoughtspot/visual-embed-sdk",
3
- "version": "1.21.0-alpha.13",
3
+ "version": "1.21.0-alpha.14",
4
4
  "description": "ThoughtSpot Embed SDK",
5
5
  "module": "lib/src/index.js",
6
6
  "main": "dist/tsembed.js",
@@ -91,5 +91,5 @@ export declare const SearchBarEmbed: React.ForwardRefExoticComponent<SearchBarEm
91
91
  * @returns {React.MutableRefObject<TsEmbed>} ref
92
92
  */
93
93
  export declare const useEmbedRef: () => React.MutableRefObject<TsEmbed>;
94
- export {};
94
+ export { init, logout, prefetch, getInitConfig, getSessionInfo, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, } from '../index';
95
95
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAqC,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC7F,OAAO,EAA+B,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAChF,OAAO,EAAyB,aAAa,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,EAAqC,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC5F,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAG5C,OAAO,EAAE,UAAU,EAA4B,MAAM,QAAQ,CAAC;AA2D9D,UAAU,WAAY,SAAQ,UAAU,EAAE,gBAAgB;CAAG;AAE7D;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,WAAW,6EAEvB,CAAC;AAEF,UAAU,QAAS,SAAQ,UAAU,EAAE,aAAa;CAAG;AAEvD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,QAAQ,0EAAyE,CAAC;AAE/F,UAAU,cAAe,SAAQ,UAAU,EAAE,mBAAmB;CAAG;AAEnE;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,cAAc,gFAIT,CAAC;AAEnB,eAAO,MAAM,aAAa,gFAAiB,CAAC;AAE5C,UAAU,mBAAoB,SAAQ,UAAU,EAAE,mBAAmB;CAAG;AAExE;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,cAAc,qFAIT,CAAC;AAEnB;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,WAAW,QAAO,MAAM,gBAAgB,CAAC,OAAO,CAAgC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MA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AChB,WAAW,EACX,WAAW,EACX,cAAc,EACd,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,YAAY,EACZ,kBAAkB,GACrB,MAAM,UAAU,CAAC"}
@@ -113,4 +113,7 @@ export const SearchBarEmbed = componentFactory(_SearchBarEmbed);
113
113
  * @returns {React.MutableRefObject<TsEmbed>} ref
114
114
  */
115
115
  export const useEmbedRef = () => React.useRef(null);
116
+ export { init, logout, prefetch, getInitConfig, getSessionInfo, AuthFailureType, AuthStatus, AuthEvent,
117
+ // types
118
+ Page, AuthType, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, PrefetchFeatures, } from '../index';
116
119
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/react/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,cAAc,IAAI,eAAe,EAAuB,MAAM,qBAAqB,CAAC;AAC7F,OAAO,EAAE,WAAW,IAAI,YAAY,EAAoB,MAAM,iBAAiB,CAAC;AAChF,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAiB,MAAM,cAAc,CAAC;AACpE,OAAO,EAAE,cAAc,IAAI,eAAe,EAAuB,MAAM,oBAAoB,CAAC;AAI5F,OAAO,EAAc,wBAAwB,EAAE,MAAM,QAAQ,CAAC;AAE9D,MAAM,gBAAgB,GAAG,CACrB,gBAAmB,EACrB,EAAE,CAAC,KAAK,CAAC,UAAU,CACjB,CAAC,KAAQ,EAAE,YAA6C,EAAE,EAAE;IACxD,MAAM,GAAG,GAAG,KAAK,CAAC,MAAM,CAAiB,IAAI,CAAC,CAAC;IAC/C,MAAM,EAAE,SAAS,EAAE,GAAG,UAAU,EAAE,GAAG,KAAK,CAAC;IAC3C,MAAM,EAAE,UAAU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;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,gBAAgB,CAI5C,eAAe,CAAC,CAAC;AAEnB,MAAM,CAAC,MAAM,aAAa,GAAG,cAAc,CAAC;AAI5C;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,gBAAgB,CAI5C,eAAe,CAAC,CAAC;AAEnB;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,GAAoC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAU,IAAI,CAAC,CAAC;AAE9F,OAAO,EACH,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,aAAa,EACb,cAAc,EACd,eAAe,EACf,UAAU,EACV,SAAS;AAET,QAAQ;AACR,IAAI,EACJ,QAAQ,EAER,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,MAAM,EAMN,gBAAgB,GASnB,MAAM,UAAU,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thoughtspot/visual-embed-sdk",
3
- "version": "1.21.0-alpha.13",
3
+ "version": "1.21.0-alpha.14",
4
4
  "description": "ThoughtSpot Embed SDK",
5
5
  "module": "lib/src/index.js",
6
6
  "main": "dist/tsembed.js",
@@ -168,3 +168,38 @@ export const SearchBarEmbed = componentFactory<
168
168
  * @returns {React.MutableRefObject<TsEmbed>} ref
169
169
  */
170
170
  export const useEmbedRef = (): React.MutableRefObject<TsEmbed> => React.useRef<TsEmbed>(null);
171
+
172
+ export {
173
+ init,
174
+ logout,
175
+ prefetch,
176
+ getInitConfig,
177
+ getSessionInfo,
178
+ AuthFailureType,
179
+ AuthStatus,
180
+ AuthEvent,
181
+ AuthEventEmitter,
182
+ // types
183
+ Page,
184
+ AuthType,
185
+ RuntimeFilter,
186
+ RuntimeFilterOp,
187
+ EmbedEvent,
188
+ HostEvent,
189
+ DataSourceVisualMode,
190
+ Action,
191
+ EmbedConfig,
192
+ SearchViewConfig,
193
+ SearchBarViewConfig,
194
+ LiveboardViewConfig,
195
+ AppViewConfig,
196
+ PrefetchFeatures,
197
+ FrameParams,
198
+ DOMSelector,
199
+ MessageOptions,
200
+ MessageCallback,
201
+ MessagePayload,
202
+ CustomisationsInterface,
203
+ CustomStyles,
204
+ customCssInterface,
205
+ } from '../index';