@thoughtspot/visual-embed-sdk 1.33.12 → 1.35.1
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 +15 -3
- package/cjs/src/embed/app.d.ts +1 -1
- package/cjs/src/embed/base.native.d.ts +1 -0
- package/cjs/src/embed/base.native.d.ts.map +1 -0
- package/cjs/src/embed/base.native.js +1 -0
- package/cjs/src/embed/base.native.js.map +1 -0
- package/cjs/src/embed/hello.d.ts +2 -0
- package/cjs/src/embed/hello.d.ts.map +1 -0
- package/cjs/src/embed/hello.js +6 -0
- package/cjs/src/embed/hello.js.map +1 -0
- package/cjs/src/embed/liveboard.d.ts +1 -1
- package/cjs/src/embed/searchEmbed-basic-auth.spec.d.ts +2 -0
- package/cjs/src/embed/searchEmbed-basic-auth.spec.d.ts.map +1 -0
- package/cjs/src/embed/searchEmbed-basic-auth.spec.js +104 -0
- package/cjs/src/embed/searchEmbed-basic-auth.spec.js.map +1 -0
- package/cjs/src/native/LiveboardEmbed.d.ts +13 -0
- package/cjs/src/native/LiveboardEmbed.d.ts.map +1 -0
- package/cjs/src/native/LiveboardEmbed.js +146 -0
- package/cjs/src/native/LiveboardEmbed.js.map +1 -0
- package/cjs/src/native/commonUtils.d.ts +20 -0
- package/cjs/src/native/commonUtils.d.ts.map +1 -0
- package/cjs/src/native/commonUtils.js +175 -0
- package/cjs/src/native/commonUtils.js.map +1 -0
- package/cjs/src/native/commonUtils.spec.d.ts +2 -0
- package/cjs/src/native/commonUtils.spec.d.ts.map +1 -0
- package/cjs/src/native/commonUtils.spec.js +127 -0
- package/cjs/src/native/commonUtils.spec.js.map +1 -0
- package/cjs/src/native/embedConfig.d.ts +10 -0
- package/cjs/src/native/embedConfig.d.ts.map +1 -0
- package/cjs/src/native/embedConfig.js +12 -0
- package/cjs/src/native/embedConfig.js.map +1 -0
- package/cjs/src/native/index.d.ts +2 -0
- package/cjs/src/native/index.d.ts.map +1 -0
- package/cjs/src/native/index.js +7 -0
- package/cjs/src/native/index.js.map +1 -0
- package/cjs/src/native/types.d.ts +10 -0
- package/cjs/src/native/types.d.ts.map +1 -0
- package/cjs/src/native/types.js +3 -0
- package/cjs/src/native/types.js.map +1 -0
- package/cjs/src/parsers/filtersToRuntimeFilters.d.ts +6 -0
- package/cjs/src/parsers/filtersToRuntimeFilters.d.ts.map +1 -0
- package/cjs/src/parsers/filtersToRuntimeFilters.js +60 -0
- package/cjs/src/parsers/filtersToRuntimeFilters.js.map +1 -0
- package/cjs/src/parsers/filtersToRuntimeFilters.spec.d.ts +2 -0
- package/cjs/src/parsers/filtersToRuntimeFilters.spec.d.ts.map +1 -0
- package/cjs/src/parsers/filtersToRuntimeFilters.spec.js +205 -0
- package/cjs/src/parsers/filtersToRuntimeFilters.spec.js.map +1 -0
- package/cjs/src/parsers/index.d.ts +2 -0
- package/cjs/src/parsers/index.d.ts.map +1 -0
- package/cjs/src/parsers/index.js +6 -0
- package/cjs/src/parsers/index.js.map +1 -0
- package/cjs/src/parsers/index.spec.d.ts +2 -0
- package/cjs/src/parsers/index.spec.d.ts.map +1 -0
- package/cjs/src/parsers/index.spec.js +9 -0
- package/cjs/src/parsers/index.spec.js.map +1 -0
- package/cjs/src/react-native/Liveboard.d.ts +1 -0
- package/cjs/src/react-native/Liveboard.d.ts.map +1 -0
- package/cjs/src/react-native/Liveboard.js +1 -0
- package/cjs/src/react-native/Liveboard.js.map +1 -0
- package/cjs/src/types.d.ts +4 -4
- package/cjs/src/types.js +4 -4
- package/cjs/src/utils/processData.spec.js +33 -0
- package/cjs/src/utils/processData.spec.js.map +1 -1
- package/cjs/src/utils.d.ts +15 -0
- package/cjs/src/utils.d.ts.map +1 -1
- package/cjs/src/utils.js +24 -3
- package/cjs/src/utils.js.map +1 -1
- package/cjs/src/utils.spec.js +132 -0
- package/cjs/src/utils.spec.js.map +1 -1
- package/dist/{index-DgCGXqKb.js → index-BXczdQc7.js} +1 -1
- package/dist/index-Bh8kjZh8.js +7370 -0
- package/dist/src/embed/app.d.ts +1 -1
- package/dist/src/embed/hello.d.ts +2 -0
- package/dist/src/embed/hello.d.ts.map +1 -0
- package/dist/src/embed/liveboard.d.ts +1 -1
- package/dist/src/embed/searchEmbed-basic-auth.spec.d.ts +2 -0
- package/dist/src/embed/searchEmbed-basic-auth.spec.d.ts.map +1 -0
- package/dist/src/native/LiveboardEmbed.d.ts +13 -0
- package/dist/src/native/LiveboardEmbed.d.ts.map +1 -0
- package/dist/src/native/commonUtils.d.ts +20 -0
- package/dist/src/native/commonUtils.d.ts.map +1 -0
- package/dist/src/native/commonUtils.spec.d.ts +2 -0
- package/dist/src/native/commonUtils.spec.d.ts.map +1 -0
- package/dist/src/native/embedConfig.d.ts +10 -0
- package/dist/src/native/embedConfig.d.ts.map +1 -0
- package/dist/src/native/index.d.ts +2 -0
- package/dist/src/native/index.d.ts.map +1 -0
- package/dist/src/native/types.d.ts +10 -0
- package/dist/src/native/types.d.ts.map +1 -0
- package/dist/src/parsers/filtersToRuntimeFilters.d.ts +6 -0
- package/dist/src/parsers/filtersToRuntimeFilters.d.ts.map +1 -0
- package/dist/src/parsers/filtersToRuntimeFilters.spec.d.ts +2 -0
- package/dist/src/parsers/filtersToRuntimeFilters.spec.d.ts.map +1 -0
- package/dist/src/parsers/index.d.ts +2 -0
- package/dist/src/parsers/index.d.ts.map +1 -0
- package/dist/src/parsers/index.spec.d.ts +2 -0
- package/dist/src/parsers/index.spec.d.ts.map +1 -0
- package/dist/src/types.d.ts +4 -4
- package/dist/src/utils.d.ts +15 -0
- package/dist/src/utils.d.ts.map +1 -1
- package/dist/tsembed-parsers.es.js +3831 -0
- package/dist/tsembed-parsers.js +3840 -0
- package/dist/tsembed-react.es.js +7 -7
- package/dist/tsembed-react.js +6 -6
- package/dist/tsembed.es.js +7 -7
- package/dist/tsembed.js +6 -6
- package/dist/visual-embed-sdk-react-full.d.ts +6 -6
- package/dist/visual-embed-sdk-react.d.ts +6 -6
- package/dist/visual-embed-sdk.d.ts +6 -6
- package/lib/package.json +15 -3
- package/lib/src/embed/app.d.ts +1 -1
- package/lib/src/embed/base.native.d.ts +1 -0
- package/lib/src/embed/base.native.d.ts.map +1 -0
- package/lib/src/embed/base.native.js +1 -0
- package/lib/src/embed/base.native.js.map +1 -0
- package/lib/src/embed/hello.d.ts +2 -0
- package/lib/src/embed/hello.d.ts.map +1 -0
- package/lib/src/embed/hello.js +2 -0
- package/lib/src/embed/hello.js.map +1 -0
- package/lib/src/embed/liveboard.d.ts +1 -1
- package/lib/src/embed/searchEmbed-basic-auth.spec.d.ts +2 -0
- package/lib/src/embed/searchEmbed-basic-auth.spec.d.ts.map +1 -0
- package/lib/src/embed/searchEmbed-basic-auth.spec.js +101 -0
- package/lib/src/embed/searchEmbed-basic-auth.spec.js.map +1 -0
- package/lib/src/native/LiveboardEmbed.d.ts +13 -0
- package/lib/src/native/LiveboardEmbed.d.ts.map +1 -0
- package/lib/src/native/LiveboardEmbed.js +141 -0
- package/lib/src/native/LiveboardEmbed.js.map +1 -0
- package/lib/src/native/commonUtils.d.ts +20 -0
- package/lib/src/native/commonUtils.d.ts.map +1 -0
- package/lib/src/native/commonUtils.js +169 -0
- package/lib/src/native/commonUtils.js.map +1 -0
- package/lib/src/native/commonUtils.spec.d.ts +2 -0
- package/lib/src/native/commonUtils.spec.d.ts.map +1 -0
- package/lib/src/native/commonUtils.spec.js +124 -0
- package/lib/src/native/commonUtils.spec.js.map +1 -0
- package/lib/src/native/embedConfig.d.ts +10 -0
- package/lib/src/native/embedConfig.d.ts.map +1 -0
- package/lib/src/native/embedConfig.js +7 -0
- package/lib/src/native/embedConfig.js.map +1 -0
- package/lib/src/native/index.d.ts +2 -0
- package/lib/src/native/index.d.ts.map +1 -0
- package/lib/src/native/index.js +2 -0
- package/lib/src/native/index.js.map +1 -0
- package/lib/src/native/types.d.ts +10 -0
- package/lib/src/native/types.d.ts.map +1 -0
- package/lib/src/native/types.js +2 -0
- package/lib/src/native/types.js.map +1 -0
- package/lib/src/parsers/filtersToRuntimeFilters.d.ts +6 -0
- package/lib/src/parsers/filtersToRuntimeFilters.d.ts.map +1 -0
- package/lib/src/parsers/filtersToRuntimeFilters.js +55 -0
- package/lib/src/parsers/filtersToRuntimeFilters.js.map +1 -0
- package/lib/src/parsers/filtersToRuntimeFilters.spec.d.ts +2 -0
- package/lib/src/parsers/filtersToRuntimeFilters.spec.d.ts.map +1 -0
- package/lib/src/parsers/filtersToRuntimeFilters.spec.js +203 -0
- package/lib/src/parsers/filtersToRuntimeFilters.spec.js.map +1 -0
- package/lib/src/parsers/index.d.ts +2 -0
- package/lib/src/parsers/index.d.ts.map +1 -0
- package/lib/src/parsers/index.js +2 -0
- package/lib/src/parsers/index.js.map +1 -0
- package/lib/src/parsers/index.spec.d.ts +2 -0
- package/lib/src/parsers/index.spec.d.ts.map +1 -0
- package/lib/src/parsers/index.spec.js +7 -0
- package/lib/src/parsers/index.spec.js.map +1 -0
- package/lib/src/react-native/Liveboard.d.ts +1 -0
- package/lib/src/react-native/Liveboard.d.ts.map +1 -0
- package/lib/src/react-native/Liveboard.js +1 -0
- package/lib/src/react-native/Liveboard.js.map +1 -0
- package/lib/src/types.d.ts +4 -4
- package/lib/src/types.js +4 -4
- package/lib/src/utils/processData.spec.js +33 -0
- package/lib/src/utils/processData.spec.js.map +1 -1
- package/lib/src/utils.d.ts +15 -0
- package/lib/src/utils.d.ts.map +1 -1
- package/lib/src/utils.js +20 -2
- package/lib/src/utils.js.map +1 -1
- package/lib/src/utils.spec.js +133 -1
- package/lib/src/utils.spec.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +6 -6
- package/package.json +15 -3
- package/src/embed/app.ts +1 -1
- package/src/embed/liveboard.ts +1 -1
- package/src/native/commonUtils.spec.tsx +161 -0
- package/src/native/commonUtils.ts +183 -0
- package/src/native/index.ts +1 -0
- package/src/native/types.ts +10 -0
- package/src/types.ts +4 -4
- package/src/utils/processData.spec.ts +42 -0
- package/src/utils.spec.ts +147 -1
- package/src/utils.ts +25 -2
package/dist/tsembed-react.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @thoughtspot/visual-embed-sdk version 1.
|
|
1
|
+
/* @thoughtspot/visual-embed-sdk version 1.35.1 */
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default from 'react';
|
|
4
4
|
|
|
@@ -1597,12 +1597,12 @@ var EmbedEvent;
|
|
|
1597
1597
|
*/
|
|
1598
1598
|
EmbedEvent["FilterChanged"] = "filterChanged";
|
|
1599
1599
|
/**
|
|
1600
|
-
* Emitted when a user clicks the **Go** button on the
|
|
1600
|
+
* Emitted when a user clicks the **Go** button on the sage embed
|
|
1601
1601
|
* @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
|
|
1602
1602
|
*/
|
|
1603
1603
|
EmbedEvent["SageEmbedQuery"] = "sageEmbedQuery";
|
|
1604
1604
|
/**
|
|
1605
|
-
* Emitted when a user selects a data source
|
|
1605
|
+
* Emitted when a user selects a data source on the sage embed
|
|
1606
1606
|
* @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
|
|
1607
1607
|
*/
|
|
1608
1608
|
EmbedEvent["SageWorksheetUpdated"] = "sageWorksheetUpdated";
|
|
@@ -3827,7 +3827,7 @@ var Action;
|
|
|
3827
3827
|
* ```js
|
|
3828
3828
|
* const disabledActions = [Action.DisableChipReorder]
|
|
3829
3829
|
* ```
|
|
3830
|
-
* @version SDK: 1.
|
|
3830
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
3831
3831
|
*/
|
|
3832
3832
|
Action["DisableChipReorder"] = "disableChipReorder";
|
|
3833
3833
|
/**
|
|
@@ -3836,7 +3836,7 @@ var Action;
|
|
|
3836
3836
|
* ```js
|
|
3837
3837
|
* hiddenAction: [Action.ChangeFilterVisibilityInTab]
|
|
3838
3838
|
* ```
|
|
3839
|
-
* @version SDK: 1.
|
|
3839
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
3840
3840
|
*/
|
|
3841
3841
|
Action["ChangeFilterVisibilityInTab"] = "changeFilterVisibilityInTab";
|
|
3842
3842
|
/**
|
|
@@ -7150,7 +7150,7 @@ class AnswerService {
|
|
|
7150
7150
|
async getTML() {
|
|
7151
7151
|
const { object } = await this.executeQuery(getAnswerTML, {});
|
|
7152
7152
|
const edoc = object[0].edoc;
|
|
7153
|
-
const YAML = await import('./index-
|
|
7153
|
+
const YAML = await import('./index-Bh8kjZh8.js');
|
|
7154
7154
|
const parsedDoc = YAML.parse(edoc);
|
|
7155
7155
|
return {
|
|
7156
7156
|
answer: {
|
|
@@ -14551,7 +14551,7 @@ function processTrigger(iFrame, messageType, thoughtSpotHost, data) {
|
|
|
14551
14551
|
});
|
|
14552
14552
|
}
|
|
14553
14553
|
|
|
14554
|
-
var name="@thoughtspot/visual-embed-sdk";var version$1="1.
|
|
14554
|
+
var name="@thoughtspot/visual-embed-sdk";var version$1="1.35.1";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:"./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"},"./native":{"import":"./lib/src/native/index.js",require:"./cjs/src/native/index.js",types:"./lib/src/native/index.d.ts"},"./lib/src/native":{"import":"./lib/src/native/index.js",require:"./cjs/src/native/index.js",types:"./lib/src/native/index.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",dompurify:"^2.3.4",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"2.47.0","react-native":"^0.76.3","react-native-webview":"^13.12.4","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-comment-length":"1.7.3","eslint-plugin-import":"^2.22.1","eslint-plugin-jsdoc":"^46.9.0","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","fs-extra":"^10.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"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,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};
|
|
14555
14555
|
|
|
14556
14556
|
/**
|
|
14557
14557
|
* Copyright (c) 2022
|
package/dist/tsembed-react.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @thoughtspot/visual-embed-sdk version 1.
|
|
1
|
+
/* @thoughtspot/visual-embed-sdk version 1.35.1 */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', 'react'], factory) :
|
|
@@ -1619,12 +1619,12 @@
|
|
|
1619
1619
|
*/
|
|
1620
1620
|
EmbedEvent["FilterChanged"] = "filterChanged";
|
|
1621
1621
|
/**
|
|
1622
|
-
* Emitted when a user clicks the **Go** button on the
|
|
1622
|
+
* Emitted when a user clicks the **Go** button on the sage embed
|
|
1623
1623
|
* @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
|
|
1624
1624
|
*/
|
|
1625
1625
|
EmbedEvent["SageEmbedQuery"] = "sageEmbedQuery";
|
|
1626
1626
|
/**
|
|
1627
|
-
* Emitted when a user selects a data source
|
|
1627
|
+
* Emitted when a user selects a data source on the sage embed
|
|
1628
1628
|
* @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
|
|
1629
1629
|
*/
|
|
1630
1630
|
EmbedEvent["SageWorksheetUpdated"] = "sageWorksheetUpdated";
|
|
@@ -3849,7 +3849,7 @@
|
|
|
3849
3849
|
* ```js
|
|
3850
3850
|
* const disabledActions = [Action.DisableChipReorder]
|
|
3851
3851
|
* ```
|
|
3852
|
-
* @version SDK: 1.
|
|
3852
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
3853
3853
|
*/
|
|
3854
3854
|
Action["DisableChipReorder"] = "disableChipReorder";
|
|
3855
3855
|
/**
|
|
@@ -3858,7 +3858,7 @@
|
|
|
3858
3858
|
* ```js
|
|
3859
3859
|
* hiddenAction: [Action.ChangeFilterVisibilityInTab]
|
|
3860
3860
|
* ```
|
|
3861
|
-
* @version SDK: 1.
|
|
3861
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
3862
3862
|
*/
|
|
3863
3863
|
Action["ChangeFilterVisibilityInTab"] = "changeFilterVisibilityInTab";
|
|
3864
3864
|
/**
|
|
@@ -14573,7 +14573,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
14573
14573
|
});
|
|
14574
14574
|
}
|
|
14575
14575
|
|
|
14576
|
-
var name="@thoughtspot/visual-embed-sdk";var version$1="1.
|
|
14576
|
+
var name="@thoughtspot/visual-embed-sdk";var version$1="1.35.1";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"},"./native":{"import":"./lib/src/native/index.js",require:"./cjs/src/native/index.js",types:"./lib/src/native/index.d.ts"},"./lib/src/native":{"import":"./lib/src/native/index.js",require:"./cjs/src/native/index.js",types:"./lib/src/native/index.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",dompurify:"^2.3.4",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"2.47.0","react-native":"^0.76.3","react-native-webview":"^13.12.4","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-comment-length":"1.7.3","eslint-plugin-import":"^2.22.1","eslint-plugin-jsdoc":"^46.9.0","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","fs-extra":"^10.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"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};
|
|
14577
14577
|
|
|
14578
14578
|
/**
|
|
14579
14579
|
* Copyright (c) 2022
|
package/dist/tsembed.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @thoughtspot/visual-embed-sdk version 1.
|
|
1
|
+
/* @thoughtspot/visual-embed-sdk version 1.35.1 */
|
|
2
2
|
function _mergeNamespaces(n, m) {
|
|
3
3
|
m.forEach(function (e) {
|
|
4
4
|
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
|
|
@@ -1482,12 +1482,12 @@ var EmbedEvent;
|
|
|
1482
1482
|
*/
|
|
1483
1483
|
EmbedEvent["FilterChanged"] = "filterChanged";
|
|
1484
1484
|
/**
|
|
1485
|
-
* Emitted when a user clicks the **Go** button on the
|
|
1485
|
+
* Emitted when a user clicks the **Go** button on the sage embed
|
|
1486
1486
|
* @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
|
|
1487
1487
|
*/
|
|
1488
1488
|
EmbedEvent["SageEmbedQuery"] = "sageEmbedQuery";
|
|
1489
1489
|
/**
|
|
1490
|
-
* Emitted when a user selects a data source
|
|
1490
|
+
* Emitted when a user selects a data source on the sage embed
|
|
1491
1491
|
* @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
|
|
1492
1492
|
*/
|
|
1493
1493
|
EmbedEvent["SageWorksheetUpdated"] = "sageWorksheetUpdated";
|
|
@@ -3712,7 +3712,7 @@ var Action;
|
|
|
3712
3712
|
* ```js
|
|
3713
3713
|
* const disabledActions = [Action.DisableChipReorder]
|
|
3714
3714
|
* ```
|
|
3715
|
-
* @version SDK: 1.
|
|
3715
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
3716
3716
|
*/
|
|
3717
3717
|
Action["DisableChipReorder"] = "disableChipReorder";
|
|
3718
3718
|
/**
|
|
@@ -3721,7 +3721,7 @@ var Action;
|
|
|
3721
3721
|
* ```js
|
|
3722
3722
|
* hiddenAction: [Action.ChangeFilterVisibilityInTab]
|
|
3723
3723
|
* ```
|
|
3724
|
-
* @version SDK: 1.
|
|
3724
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
3725
3725
|
*/
|
|
3726
3726
|
Action["ChangeFilterVisibilityInTab"] = "changeFilterVisibilityInTab";
|
|
3727
3727
|
/**
|
|
@@ -7049,7 +7049,7 @@ class AnswerService {
|
|
|
7049
7049
|
async getTML() {
|
|
7050
7050
|
const { object } = await this.executeQuery(getAnswerTML, {});
|
|
7051
7051
|
const edoc = object[0].edoc;
|
|
7052
|
-
const YAML = await import('./index-
|
|
7052
|
+
const YAML = await import('./index-Bh8kjZh8.js');
|
|
7053
7053
|
const parsedDoc = YAML.parse(edoc);
|
|
7054
7054
|
return {
|
|
7055
7055
|
answer: {
|
|
@@ -14793,7 +14793,7 @@ function processTrigger(iFrame, messageType, thoughtSpotHost, data) {
|
|
|
14793
14793
|
});
|
|
14794
14794
|
}
|
|
14795
14795
|
|
|
14796
|
-
var name="@thoughtspot/visual-embed-sdk";var version$1="1.
|
|
14796
|
+
var name="@thoughtspot/visual-embed-sdk";var version$1="1.35.1";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:"./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"},"./native":{"import":"./lib/src/native/index.js",require:"./cjs/src/native/index.js",types:"./lib/src/native/index.d.ts"},"./lib/src/native":{"import":"./lib/src/native/index.js",require:"./cjs/src/native/index.js",types:"./lib/src/native/index.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",dompurify:"^2.3.4",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"2.47.0","react-native":"^0.76.3","react-native-webview":"^13.12.4","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-comment-length":"1.7.3","eslint-plugin-import":"^2.22.1","eslint-plugin-jsdoc":"^46.9.0","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","fs-extra":"^10.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"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,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};
|
|
14797
14797
|
|
|
14798
14798
|
/**
|
|
14799
14799
|
* Copyright (c) 2022
|
package/dist/tsembed.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @thoughtspot/visual-embed-sdk version 1.
|
|
1
|
+
/* @thoughtspot/visual-embed-sdk version 1.35.1 */
|
|
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) :
|
|
@@ -1488,12 +1488,12 @@
|
|
|
1488
1488
|
*/
|
|
1489
1489
|
EmbedEvent["FilterChanged"] = "filterChanged";
|
|
1490
1490
|
/**
|
|
1491
|
-
* Emitted when a user clicks the **Go** button on the
|
|
1491
|
+
* Emitted when a user clicks the **Go** button on the sage embed
|
|
1492
1492
|
* @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
|
|
1493
1493
|
*/
|
|
1494
1494
|
EmbedEvent["SageEmbedQuery"] = "sageEmbedQuery";
|
|
1495
1495
|
/**
|
|
1496
|
-
* Emitted when a user selects a data source
|
|
1496
|
+
* Emitted when a user selects a data source on the sage embed
|
|
1497
1497
|
* @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
|
|
1498
1498
|
*/
|
|
1499
1499
|
EmbedEvent["SageWorksheetUpdated"] = "sageWorksheetUpdated";
|
|
@@ -3718,7 +3718,7 @@
|
|
|
3718
3718
|
* ```js
|
|
3719
3719
|
* const disabledActions = [Action.DisableChipReorder]
|
|
3720
3720
|
* ```
|
|
3721
|
-
* @version SDK: 1.
|
|
3721
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
3722
3722
|
*/
|
|
3723
3723
|
Action["DisableChipReorder"] = "disableChipReorder";
|
|
3724
3724
|
/**
|
|
@@ -3727,7 +3727,7 @@
|
|
|
3727
3727
|
* ```js
|
|
3728
3728
|
* hiddenAction: [Action.ChangeFilterVisibilityInTab]
|
|
3729
3729
|
* ```
|
|
3730
|
-
* @version SDK: 1.
|
|
3730
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
3731
3731
|
*/
|
|
3732
3732
|
Action["ChangeFilterVisibilityInTab"] = "changeFilterVisibilityInTab";
|
|
3733
3733
|
/**
|
|
@@ -14799,7 +14799,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
14799
14799
|
});
|
|
14800
14800
|
}
|
|
14801
14801
|
|
|
14802
|
-
var name="@thoughtspot/visual-embed-sdk";var version$1="1.
|
|
14802
|
+
var name="@thoughtspot/visual-embed-sdk";var version$1="1.35.1";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"},"./native":{"import":"./lib/src/native/index.js",require:"./cjs/src/native/index.js",types:"./lib/src/native/index.d.ts"},"./lib/src/native":{"import":"./lib/src/native/index.js",require:"./cjs/src/native/index.js",types:"./lib/src/native/index.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",dompurify:"^2.3.4",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"2.47.0","react-native":"^0.76.3","react-native-webview":"^13.12.4","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-comment-length":"1.7.3","eslint-plugin-import":"^2.22.1","eslint-plugin-jsdoc":"^46.9.0","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","fs-extra":"^10.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"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};
|
|
14803
14803
|
|
|
14804
14804
|
/**
|
|
14805
14805
|
* Copyright (c) 2022
|
|
@@ -1173,7 +1173,7 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
1173
1173
|
* This flag is used to enable/disable hide irrelevant filters in liveboard tab
|
|
1174
1174
|
* @type {boolean}
|
|
1175
1175
|
* @default false
|
|
1176
|
-
* @version SDK: 1.
|
|
1176
|
+
* @version SDK: 1.36.0 | ThoughtSpot:10.6.0.cl
|
|
1177
1177
|
* @example
|
|
1178
1178
|
* ```js
|
|
1179
1179
|
* const embed = new AppEmbed('#embed-container', {
|
|
@@ -1564,7 +1564,7 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
|
|
|
1564
1564
|
* This flag is used to enable/disable hide irrelevant filters in liveboard tab
|
|
1565
1565
|
* @type {boolean}
|
|
1566
1566
|
* @default false
|
|
1567
|
-
* @version SDK: 1.
|
|
1567
|
+
* @version SDK: 1.36.0 | ThoughtSpot:10.6.0.cl
|
|
1568
1568
|
* @example
|
|
1569
1569
|
* ```js
|
|
1570
1570
|
* const embed = new LiveboardEmbed('#embed-container', {
|
|
@@ -4240,12 +4240,12 @@ export declare enum EmbedEvent {
|
|
|
4240
4240
|
*/
|
|
4241
4241
|
FilterChanged = "filterChanged",
|
|
4242
4242
|
/**
|
|
4243
|
-
* Emitted when a user clicks the **Go** button on the
|
|
4243
|
+
* Emitted when a user clicks the **Go** button on the sage embed
|
|
4244
4244
|
* @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
|
|
4245
4245
|
*/
|
|
4246
4246
|
SageEmbedQuery = "sageEmbedQuery",
|
|
4247
4247
|
/**
|
|
4248
|
-
* Emitted when a user selects a data source
|
|
4248
|
+
* Emitted when a user selects a data source on the sage embed
|
|
4249
4249
|
* @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
|
|
4250
4250
|
*/
|
|
4251
4251
|
SageWorksheetUpdated = "sageWorksheetUpdated",
|
|
@@ -6461,7 +6461,7 @@ export declare enum Action {
|
|
|
6461
6461
|
* ```js
|
|
6462
6462
|
* const disabledActions = [Action.DisableChipReorder]
|
|
6463
6463
|
* ```
|
|
6464
|
-
* @version SDK: 1.
|
|
6464
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
6465
6465
|
*/
|
|
6466
6466
|
DisableChipReorder = "disableChipReorder",
|
|
6467
6467
|
/**
|
|
@@ -6470,7 +6470,7 @@ export declare enum Action {
|
|
|
6470
6470
|
* ```js
|
|
6471
6471
|
* hiddenAction: [Action.ChangeFilterVisibilityInTab]
|
|
6472
6472
|
* ```
|
|
6473
|
-
* @version SDK: 1.
|
|
6473
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
6474
6474
|
*/
|
|
6475
6475
|
ChangeFilterVisibilityInTab = "changeFilterVisibilityInTab",
|
|
6476
6476
|
/**
|
|
@@ -1163,7 +1163,7 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
1163
1163
|
* This flag is used to enable/disable hide irrelevant filters in liveboard tab
|
|
1164
1164
|
* @type {boolean}
|
|
1165
1165
|
* @default false
|
|
1166
|
-
* @version SDK: 1.
|
|
1166
|
+
* @version SDK: 1.36.0 | ThoughtSpot:10.6.0.cl
|
|
1167
1167
|
* @example
|
|
1168
1168
|
* ```js
|
|
1169
1169
|
* const embed = new AppEmbed('#embed-container', {
|
|
@@ -1554,7 +1554,7 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
|
|
|
1554
1554
|
* This flag is used to enable/disable hide irrelevant filters in liveboard tab
|
|
1555
1555
|
* @type {boolean}
|
|
1556
1556
|
* @default false
|
|
1557
|
-
* @version SDK: 1.
|
|
1557
|
+
* @version SDK: 1.36.0 | ThoughtSpot:10.6.0.cl
|
|
1558
1558
|
* @example
|
|
1559
1559
|
* ```js
|
|
1560
1560
|
* const embed = new LiveboardEmbed('#embed-container', {
|
|
@@ -3832,12 +3832,12 @@ export declare enum EmbedEvent {
|
|
|
3832
3832
|
*/
|
|
3833
3833
|
FilterChanged = "filterChanged",
|
|
3834
3834
|
/**
|
|
3835
|
-
* Emitted when a user clicks the **Go** button on the
|
|
3835
|
+
* Emitted when a user clicks the **Go** button on the sage embed
|
|
3836
3836
|
* @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
|
|
3837
3837
|
*/
|
|
3838
3838
|
SageEmbedQuery = "sageEmbedQuery",
|
|
3839
3839
|
/**
|
|
3840
|
-
* Emitted when a user selects a data source
|
|
3840
|
+
* Emitted when a user selects a data source on the sage embed
|
|
3841
3841
|
* @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
|
|
3842
3842
|
*/
|
|
3843
3843
|
SageWorksheetUpdated = "sageWorksheetUpdated",
|
|
@@ -6053,7 +6053,7 @@ export declare enum Action {
|
|
|
6053
6053
|
* ```js
|
|
6054
6054
|
* const disabledActions = [Action.DisableChipReorder]
|
|
6055
6055
|
* ```
|
|
6056
|
-
* @version SDK: 1.
|
|
6056
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
6057
6057
|
*/
|
|
6058
6058
|
DisableChipReorder = "disableChipReorder",
|
|
6059
6059
|
/**
|
|
@@ -6062,7 +6062,7 @@ export declare enum Action {
|
|
|
6062
6062
|
* ```js
|
|
6063
6063
|
* hiddenAction: [Action.ChangeFilterVisibilityInTab]
|
|
6064
6064
|
* ```
|
|
6065
|
-
* @version SDK: 1.
|
|
6065
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
6066
6066
|
*/
|
|
6067
6067
|
ChangeFilterVisibilityInTab = "changeFilterVisibilityInTab",
|
|
6068
6068
|
/**
|
|
@@ -421,7 +421,7 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
421
421
|
* This flag is used to enable/disable hide irrelevant filters in liveboard tab
|
|
422
422
|
* @type {boolean}
|
|
423
423
|
* @default false
|
|
424
|
-
* @version SDK: 1.
|
|
424
|
+
* @version SDK: 1.36.0 | ThoughtSpot:10.6.0.cl
|
|
425
425
|
* @example
|
|
426
426
|
* ```js
|
|
427
427
|
* const embed = new AppEmbed('#embed-container', {
|
|
@@ -949,7 +949,7 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
|
|
|
949
949
|
* This flag is used to enable/disable hide irrelevant filters in liveboard tab
|
|
950
950
|
* @type {boolean}
|
|
951
951
|
* @default false
|
|
952
|
-
* @version SDK: 1.
|
|
952
|
+
* @version SDK: 1.36.0 | ThoughtSpot:10.6.0.cl
|
|
953
953
|
* @example
|
|
954
954
|
* ```js
|
|
955
955
|
* const embed = new LiveboardEmbed('#embed-container', {
|
|
@@ -3829,12 +3829,12 @@ export enum EmbedEvent {
|
|
|
3829
3829
|
*/
|
|
3830
3830
|
FilterChanged = "filterChanged",
|
|
3831
3831
|
/**
|
|
3832
|
-
* Emitted when a user clicks the **Go** button on the
|
|
3832
|
+
* Emitted when a user clicks the **Go** button on the sage embed
|
|
3833
3833
|
* @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
|
|
3834
3834
|
*/
|
|
3835
3835
|
SageEmbedQuery = "sageEmbedQuery",
|
|
3836
3836
|
/**
|
|
3837
|
-
* Emitted when a user selects a data source
|
|
3837
|
+
* Emitted when a user selects a data source on the sage embed
|
|
3838
3838
|
* @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
|
|
3839
3839
|
*/
|
|
3840
3840
|
SageWorksheetUpdated = "sageWorksheetUpdated",
|
|
@@ -6050,7 +6050,7 @@ export enum Action {
|
|
|
6050
6050
|
* ```js
|
|
6051
6051
|
* const disabledActions = [Action.DisableChipReorder]
|
|
6052
6052
|
* ```
|
|
6053
|
-
* @version SDK: 1.
|
|
6053
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
6054
6054
|
*/
|
|
6055
6055
|
DisableChipReorder = "disableChipReorder",
|
|
6056
6056
|
/**
|
|
@@ -6059,7 +6059,7 @@ export enum Action {
|
|
|
6059
6059
|
* ```js
|
|
6060
6060
|
* hiddenAction: [Action.ChangeFilterVisibilityInTab]
|
|
6061
6061
|
* ```
|
|
6062
|
-
* @version SDK: 1.
|
|
6062
|
+
* @version SDK: 1.36.0 | Thoughtspot: 10.6.0.cl
|
|
6063
6063
|
*/
|
|
6064
6064
|
ChangeFilterVisibilityInTab = "changeFilterVisibilityInTab",
|
|
6065
6065
|
/**
|
package/lib/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thoughtspot/visual-embed-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.35.1",
|
|
4
4
|
"description": "ThoughtSpot Embed SDK",
|
|
5
5
|
"module": "lib/src/index.js",
|
|
6
6
|
"main": "dist/tsembed.js",
|
|
@@ -26,6 +26,16 @@
|
|
|
26
26
|
"import": "./lib/src/react/all-types-export.js",
|
|
27
27
|
"require": "./cjs/src/react/all-types-export.js",
|
|
28
28
|
"types": "./lib/src/react/all-types-export.d.ts"
|
|
29
|
+
},
|
|
30
|
+
"./native": {
|
|
31
|
+
"import": "./lib/src/native/index.js",
|
|
32
|
+
"require": "./cjs/src/native/index.js",
|
|
33
|
+
"types": "./lib/src/native/index.d.ts"
|
|
34
|
+
},
|
|
35
|
+
"./lib/src/native": {
|
|
36
|
+
"import": "./lib/src/native/index.js",
|
|
37
|
+
"require": "./cjs/src/native/index.js",
|
|
38
|
+
"types": "./lib/src/native/index.d.ts"
|
|
29
39
|
}
|
|
30
40
|
},
|
|
31
41
|
"typesVersions": {
|
|
@@ -76,6 +86,8 @@
|
|
|
76
86
|
"html-react-parser": "^1.4.12",
|
|
77
87
|
"lodash": "^4.17.21",
|
|
78
88
|
"mixpanel-browser": "2.47.0",
|
|
89
|
+
"react-native": "^0.76.3",
|
|
90
|
+
"react-native-webview": "^13.12.4",
|
|
79
91
|
"ts-deepmerge": "^6.0.2",
|
|
80
92
|
"tslib": "^2.5.3",
|
|
81
93
|
"use-deep-compare-effect": "^1.8.1",
|
|
@@ -112,11 +124,11 @@
|
|
|
112
124
|
"eslint-config-airbnb-base": "^14.2.0",
|
|
113
125
|
"eslint-config-prettier": "^6.15.0",
|
|
114
126
|
"eslint-import-resolver-typescript": "^2.3.0",
|
|
127
|
+
"eslint-plugin-comment-length": "1.7.3",
|
|
115
128
|
"eslint-plugin-import": "^2.22.1",
|
|
129
|
+
"eslint-plugin-jsdoc": "^46.9.0",
|
|
116
130
|
"eslint-plugin-prettier": "^3.1.4",
|
|
117
131
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
118
|
-
"eslint-plugin-comment-length": "1.7.3",
|
|
119
|
-
"eslint-plugin-jsdoc": "^46.9.0",
|
|
120
132
|
"fs-extra": "^10.0.0",
|
|
121
133
|
"gh-pages": "^3.1.0",
|
|
122
134
|
"highlight.js": "^10.6.0",
|
package/lib/src/embed/app.d.ts
CHANGED
|
@@ -407,7 +407,7 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
|
|
|
407
407
|
* This flag is used to enable/disable hide irrelevant filters in liveboard tab
|
|
408
408
|
* @type {boolean}
|
|
409
409
|
* @default false
|
|
410
|
-
* @version SDK: 1.
|
|
410
|
+
* @version SDK: 1.36.0 | ThoughtSpot:10.6.0.cl
|
|
411
411
|
* @example
|
|
412
412
|
* ```js
|
|
413
413
|
* const embed = new AppEmbed('#embed-container', {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=base.native.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.native.d.ts","sourceRoot":"","sources":["../../../src/embed/base.native.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=base.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.native.js","sourceRoot":"","sources":["../../../src/embed/base.native.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hello.d.ts","sourceRoot":"","sources":["../../../src/embed/hello.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,QAAO,MAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hello.js","sourceRoot":"","sources":["../../../src/embed/hello.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG,GAAW,EAAE,CAAC,MAAM,CAAC"}
|
|
@@ -309,7 +309,7 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
|
|
|
309
309
|
* This flag is used to enable/disable hide irrelevant filters in liveboard tab
|
|
310
310
|
* @type {boolean}
|
|
311
311
|
* @default false
|
|
312
|
-
* @version SDK: 1.
|
|
312
|
+
* @version SDK: 1.36.0 | ThoughtSpot:10.6.0.cl
|
|
313
313
|
* @example
|
|
314
314
|
* ```js
|
|
315
315
|
* const embed = new LiveboardEmbed('#embed-container', {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"searchEmbed-basic-auth.spec.d.ts","sourceRoot":"","sources":["../../../src/embed/searchEmbed-basic-auth.spec.ts"],"names":[],"mappings":""}
|