@thoughtspot/visual-embed-sdk 1.29.0-alpha.3 → 1.29.0-alpha.authRefactor
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 +1 -2
- package/cjs/src/embed/liveboard.js +1 -1
- package/cjs/src/embed/liveboard.js.map +1 -1
- package/cjs/src/embed/sage.d.ts +1 -1
- package/cjs/src/embed/ts-embed.d.ts.map +1 -1
- package/cjs/src/embed/ts-embed.js +0 -9
- package/cjs/src/embed/ts-embed.js.map +1 -1
- package/cjs/src/embed/ts-embed.spec.js +0 -18
- package/cjs/src/embed/ts-embed.spec.js.map +1 -1
- package/cjs/src/types.d.ts +1 -22
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +0 -3
- package/cjs/src/types.js.map +1 -1
- package/cjs/src/utils/sessionInfoService.d.ts +66 -0
- package/cjs/src/utils/sessionInfoService.d.ts.map +1 -0
- package/cjs/src/utils/sessionInfoService.js +92 -0
- package/cjs/src/utils/sessionInfoService.js.map +1 -0
- package/dist/src/embed/sage.d.ts +1 -1
- package/dist/src/embed/ts-embed.d.ts.map +1 -1
- package/dist/src/types.d.ts +1 -22
- package/dist/src/types.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +2 -14
- package/dist/tsembed-react.js +2 -14
- package/dist/tsembed.es.js +2 -14
- package/dist/tsembed.js +2 -14
- package/dist/visual-embed-sdk-react-full.d.ts +2 -23
- package/dist/visual-embed-sdk-react.d.ts +2 -23
- package/dist/visual-embed-sdk.d.ts +2 -23
- package/lib/package.json +1 -2
- package/lib/src/embed/liveboard.js +1 -1
- package/lib/src/embed/liveboard.js.map +1 -1
- package/lib/src/embed/sage.d.ts +1 -1
- package/lib/src/embed/ts-embed.d.ts.map +1 -1
- package/lib/src/embed/ts-embed.js +0 -9
- package/lib/src/embed/ts-embed.js.map +1 -1
- package/lib/src/embed/ts-embed.spec.js +0 -18
- package/lib/src/embed/ts-embed.spec.js.map +1 -1
- package/lib/src/types.d.ts +1 -22
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +0 -3
- package/lib/src/types.js.map +1 -1
- package/lib/src/utils/sessionInfoService.d.ts +66 -0
- package/lib/src/utils/sessionInfoService.d.ts.map +1 -0
- package/lib/src/utils/sessionInfoService.js +85 -0
- package/lib/src/utils/sessionInfoService.js.map +1 -0
- package/lib/src/visual-embed-sdk.d.ts +2 -23
- package/package.json +1 -3
- package/src/auth.spec.ts +66 -72
- package/src/auth.ts +43 -59
- package/src/authToken.ts +10 -4
- package/src/embed/app.spec.ts +4 -2
- package/src/embed/base.spec.ts +1 -0
- package/src/embed/base.ts +3 -0
- package/src/embed/embed.spec.ts +2 -0
- package/src/embed/events.spec.ts +2 -0
- package/src/embed/liveboard.spec.ts +2 -0
- package/src/embed/pinboard.spec.ts +2 -0
- package/src/embed/sage.spec.ts +3 -0
- package/src/embed/sage.ts +1 -1
- package/src/embed/search.spec.ts +1 -0
- package/src/embed/ts-embed-trigger.spec.ts +3 -0
- package/src/embed/ts-embed.spec.ts +8 -22
- package/src/embed/ts-embed.ts +1 -9
- package/src/index.ts +2 -1
- package/src/mixpanel-service.spec.ts +4 -3
- package/src/mixpanel-service.ts +3 -1
- package/src/react/index.spec.tsx +7 -0
- package/src/react/index.tsx +1 -0
- package/src/types.ts +0 -21
- package/src/utils/authService/authService.spec.ts +9 -4
- package/src/utils/authService/authService.ts +1 -0
- package/src/utils/authService/tokenizedAuthService.ts +38 -8
- package/src/utils/processData.spec.ts +3 -2
- package/src/utils/processData.ts +1 -3
- package/src/utils/sessionInfoService.ts +101 -0
package/dist/tsembed-react.js
CHANGED
|
@@ -2526,9 +2526,6 @@
|
|
|
2526
2526
|
Param["OverrideNativeConsole"] = "overrideConsoleLogs";
|
|
2527
2527
|
Param["enableAskSage"] = "enableAskSage";
|
|
2528
2528
|
Param["CollapseSearchBarInitially"] = "collapseSearchBarInitially";
|
|
2529
|
-
Param["DateFormatLocale"] = "dateFormatLocale";
|
|
2530
|
-
Param["NumberFormatLocale"] = "numberFormatLocale";
|
|
2531
|
-
Param["CurrencyFormat"] = "currencyFormat";
|
|
2532
2529
|
})(Param || (Param = {}));
|
|
2533
2530
|
(function (Action) {
|
|
2534
2531
|
/**
|
|
@@ -13641,7 +13638,7 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
13641
13638
|
});
|
|
13642
13639
|
}
|
|
13643
13640
|
|
|
13644
|
-
var name="@thoughtspot/visual-embed-sdk";var version="1.29.0-alpha.
|
|
13641
|
+
var name="@thoughtspot/visual-embed-sdk";var version="1.29.0-alpha.fullH-2";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports$1={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs",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-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","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","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"};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":"^46.9.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",tslib:"^2.5.3","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","@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/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","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","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-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:"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,"size-limit":[{path:"dist/tsembed.js",limit:"45 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};
|
|
13645
13642
|
|
|
13646
13643
|
/**
|
|
13647
13644
|
* Copyright (c) 2022
|
|
@@ -13941,15 +13938,6 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
13941
13938
|
if (this.embedConfig.pendoTrackingKey) {
|
|
13942
13939
|
queryParams[Param.PendoTrackingKey] = this.embedConfig.pendoTrackingKey;
|
|
13943
13940
|
}
|
|
13944
|
-
if (this.embedConfig.numberFormatLocale) {
|
|
13945
|
-
queryParams[Param.NumberFormatLocale] = this.embedConfig.numberFormatLocale;
|
|
13946
|
-
}
|
|
13947
|
-
if (this.embedConfig.dateFormatLocale) {
|
|
13948
|
-
queryParams[Param.DateFormatLocale] = this.embedConfig.dateFormatLocale;
|
|
13949
|
-
}
|
|
13950
|
-
if (this.embedConfig.currencyFormat) {
|
|
13951
|
-
queryParams[Param.CurrencyFormat] = this.embedConfig.currencyFormat;
|
|
13952
|
-
}
|
|
13953
13941
|
const { disabledActions, disabledActionReason, hiddenActions, visibleActions, hiddenTabs, visibleTabs, showAlerts, additionalFlags, locale, customizations, contextMenuTrigger, linkOverride, insertInToSlide, } = this.viewConfig;
|
|
13954
13942
|
if (Array.isArray(visibleActions) && Array.isArray(hiddenActions)) {
|
|
13955
13943
|
this.handleError('You cannot have both hidden actions and visible actions');
|
|
@@ -15224,7 +15212,7 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
15224
15212
|
* @param data The event payload
|
|
15225
15213
|
*/
|
|
15226
15214
|
this.updateIFrameHeight = (data) => {
|
|
15227
|
-
this.setIFrameHeight(Math.max(data.data, this.defaultHeight));
|
|
15215
|
+
this.setIFrameHeight(Math.max(data.data + 8, this.defaultHeight));
|
|
15228
15216
|
};
|
|
15229
15217
|
this.embedIframeCenter = (data, responder) => {
|
|
15230
15218
|
const obj = this.getIframeCenter();
|
package/dist/tsembed.es.js
CHANGED
|
@@ -2208,9 +2208,6 @@ var Param;
|
|
|
2208
2208
|
Param["OverrideNativeConsole"] = "overrideConsoleLogs";
|
|
2209
2209
|
Param["enableAskSage"] = "enableAskSage";
|
|
2210
2210
|
Param["CollapseSearchBarInitially"] = "collapseSearchBarInitially";
|
|
2211
|
-
Param["DateFormatLocale"] = "dateFormatLocale";
|
|
2212
|
-
Param["NumberFormatLocale"] = "numberFormatLocale";
|
|
2213
|
-
Param["CurrencyFormat"] = "currencyFormat";
|
|
2214
2211
|
})(Param || (Param = {}));
|
|
2215
2212
|
/**
|
|
2216
2213
|
* ThoughtSpot application pages include actions and menu commands
|
|
@@ -14138,7 +14135,7 @@ function processTrigger(iFrame, messageType, thoughtSpotHost, data) {
|
|
|
14138
14135
|
});
|
|
14139
14136
|
}
|
|
14140
14137
|
|
|
14141
|
-
var name="@thoughtspot/visual-embed-sdk";var version="1.29.0-alpha.
|
|
14138
|
+
var name="@thoughtspot/visual-embed-sdk";var version="1.29.0-alpha.fullH-2";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","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"}};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",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-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","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","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"};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":"^46.9.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",tslib:"^2.5.3","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","@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/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","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","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-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:"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,"size-limit":[{path:"dist/tsembed.js",limit:"45 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};
|
|
14142
14139
|
|
|
14143
14140
|
/**
|
|
14144
14141
|
* Copyright (c) 2022
|
|
@@ -14438,15 +14435,6 @@ class TsEmbed {
|
|
|
14438
14435
|
if (this.embedConfig.pendoTrackingKey) {
|
|
14439
14436
|
queryParams[Param.PendoTrackingKey] = this.embedConfig.pendoTrackingKey;
|
|
14440
14437
|
}
|
|
14441
|
-
if (this.embedConfig.numberFormatLocale) {
|
|
14442
|
-
queryParams[Param.NumberFormatLocale] = this.embedConfig.numberFormatLocale;
|
|
14443
|
-
}
|
|
14444
|
-
if (this.embedConfig.dateFormatLocale) {
|
|
14445
|
-
queryParams[Param.DateFormatLocale] = this.embedConfig.dateFormatLocale;
|
|
14446
|
-
}
|
|
14447
|
-
if (this.embedConfig.currencyFormat) {
|
|
14448
|
-
queryParams[Param.CurrencyFormat] = this.embedConfig.currencyFormat;
|
|
14449
|
-
}
|
|
14450
14438
|
const { disabledActions, disabledActionReason, hiddenActions, visibleActions, hiddenTabs, visibleTabs, showAlerts, additionalFlags, locale, customizations, contextMenuTrigger, linkOverride, insertInToSlide, } = this.viewConfig;
|
|
14451
14439
|
if (Array.isArray(visibleActions) && Array.isArray(hiddenActions)) {
|
|
14452
14440
|
this.handleError('You cannot have both hidden actions and visible actions');
|
|
@@ -15445,7 +15433,7 @@ class LiveboardEmbed extends V1Embed {
|
|
|
15445
15433
|
* @param data The event payload
|
|
15446
15434
|
*/
|
|
15447
15435
|
this.updateIFrameHeight = (data) => {
|
|
15448
|
-
this.setIFrameHeight(Math.max(data.data, this.defaultHeight));
|
|
15436
|
+
this.setIFrameHeight(Math.max(data.data + 8, this.defaultHeight));
|
|
15449
15437
|
};
|
|
15450
15438
|
this.embedIframeCenter = (data, responder) => {
|
|
15451
15439
|
const obj = this.getIframeCenter();
|
package/dist/tsembed.js
CHANGED
|
@@ -2130,9 +2130,6 @@
|
|
|
2130
2130
|
Param["OverrideNativeConsole"] = "overrideConsoleLogs";
|
|
2131
2131
|
Param["enableAskSage"] = "enableAskSage";
|
|
2132
2132
|
Param["CollapseSearchBarInitially"] = "collapseSearchBarInitially";
|
|
2133
|
-
Param["DateFormatLocale"] = "dateFormatLocale";
|
|
2134
|
-
Param["NumberFormatLocale"] = "numberFormatLocale";
|
|
2135
|
-
Param["CurrencyFormat"] = "currencyFormat";
|
|
2136
2133
|
})(Param || (Param = {}));
|
|
2137
2134
|
(function (Action) {
|
|
2138
2135
|
/**
|
|
@@ -14006,7 +14003,7 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
14006
14003
|
});
|
|
14007
14004
|
}
|
|
14008
14005
|
|
|
14009
|
-
var name="@thoughtspot/visual-embed-sdk";var version="1.29.0-alpha.
|
|
14006
|
+
var name="@thoughtspot/visual-embed-sdk";var version="1.29.0-alpha.fullH-2";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports$1={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs",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-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","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","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"};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":"^46.9.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",tslib:"^2.5.3","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","@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/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","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","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-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:"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,"size-limit":[{path:"dist/tsembed.js",limit:"45 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};
|
|
14010
14007
|
|
|
14011
14008
|
/**
|
|
14012
14009
|
* Copyright (c) 2022
|
|
@@ -14306,15 +14303,6 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
14306
14303
|
if (this.embedConfig.pendoTrackingKey) {
|
|
14307
14304
|
queryParams[Param.PendoTrackingKey] = this.embedConfig.pendoTrackingKey;
|
|
14308
14305
|
}
|
|
14309
|
-
if (this.embedConfig.numberFormatLocale) {
|
|
14310
|
-
queryParams[Param.NumberFormatLocale] = this.embedConfig.numberFormatLocale;
|
|
14311
|
-
}
|
|
14312
|
-
if (this.embedConfig.dateFormatLocale) {
|
|
14313
|
-
queryParams[Param.DateFormatLocale] = this.embedConfig.dateFormatLocale;
|
|
14314
|
-
}
|
|
14315
|
-
if (this.embedConfig.currencyFormat) {
|
|
14316
|
-
queryParams[Param.CurrencyFormat] = this.embedConfig.currencyFormat;
|
|
14317
|
-
}
|
|
14318
14306
|
const { disabledActions, disabledActionReason, hiddenActions, visibleActions, hiddenTabs, visibleTabs, showAlerts, additionalFlags, locale, customizations, contextMenuTrigger, linkOverride, insertInToSlide, } = this.viewConfig;
|
|
14319
14307
|
if (Array.isArray(visibleActions) && Array.isArray(hiddenActions)) {
|
|
14320
14308
|
this.handleError('You cannot have both hidden actions and visible actions');
|
|
@@ -15308,7 +15296,7 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
15308
15296
|
* @param data The event payload
|
|
15309
15297
|
*/
|
|
15310
15298
|
this.updateIFrameHeight = (data) => {
|
|
15311
|
-
this.setIFrameHeight(Math.max(data.data, this.defaultHeight));
|
|
15299
|
+
this.setIFrameHeight(Math.max(data.data + 8, this.defaultHeight));
|
|
15312
15300
|
};
|
|
15313
15301
|
this.embedIframeCenter = (data, responder) => {
|
|
15314
15302
|
const obj = this.getIframeCenter();
|
|
@@ -374,7 +374,7 @@ export interface SageViewConfig extends Omit<ViewConfig, 'hiddenHomepageModules'
|
|
|
374
374
|
showObjectResults?: boolean;
|
|
375
375
|
/**
|
|
376
376
|
* flag used by the TS product tour page to show the blue search bar
|
|
377
|
-
* even after the search is completed. This is different from
|
|
377
|
+
* even after the search is completed. This is different from TSE Sage Embed
|
|
378
378
|
* experience where it mimics closer to the non-embed case.
|
|
379
379
|
* The Sample questions container is collapsed when this value is set after
|
|
380
380
|
* does a search.
|
|
@@ -2343,24 +2343,6 @@ export interface EmbedConfig {
|
|
|
2343
2343
|
* @version SDK: 1.27.9
|
|
2344
2344
|
*/
|
|
2345
2345
|
disableSDKTracking?: boolean;
|
|
2346
|
-
/**
|
|
2347
|
-
* Overrides default/user preffered locale for date formatting
|
|
2348
|
-
*
|
|
2349
|
-
* @version SDK: 1.28.4 | Thoughtspot: 10.0.0.cl, 9.5.0.sw
|
|
2350
|
-
*/
|
|
2351
|
-
dateFormatLocale?: string;
|
|
2352
|
-
/**
|
|
2353
|
-
* Overrides default/user preffered locale for number formatting
|
|
2354
|
-
*
|
|
2355
|
-
* @version SDK: 1.28.4 | Thoughtspot: 10.0.0.cl, 9.5.0.sw
|
|
2356
|
-
*/
|
|
2357
|
-
numberFormatLocale?: string;
|
|
2358
|
-
/**
|
|
2359
|
-
* Format to be used for currency when currency format is set to infer from browser
|
|
2360
|
-
*
|
|
2361
|
-
* @version SDK: 1.28.4 | Thoughtspot: 10.0.0.cl, 9.5.0.sw
|
|
2362
|
-
*/
|
|
2363
|
-
currencyFormat?: string;
|
|
2364
2346
|
}
|
|
2365
2347
|
export interface LayoutConfig {
|
|
2366
2348
|
}
|
|
@@ -4824,10 +4806,7 @@ export declare enum Param {
|
|
|
4824
4806
|
ClientLogLevel = "clientLogLevel",
|
|
4825
4807
|
OverrideNativeConsole = "overrideConsoleLogs",
|
|
4826
4808
|
enableAskSage = "enableAskSage",
|
|
4827
|
-
CollapseSearchBarInitially = "collapseSearchBarInitially"
|
|
4828
|
-
DateFormatLocale = "dateFormatLocale",
|
|
4829
|
-
NumberFormatLocale = "numberFormatLocale",
|
|
4830
|
-
CurrencyFormat = "currencyFormat"
|
|
4809
|
+
CollapseSearchBarInitially = "collapseSearchBarInitially"
|
|
4831
4810
|
}
|
|
4832
4811
|
/**
|
|
4833
4812
|
* ThoughtSpot application pages include actions and menu commands
|
|
@@ -363,7 +363,7 @@ export interface SageViewConfig extends Omit<ViewConfig, 'hiddenHomepageModules'
|
|
|
363
363
|
showObjectResults?: boolean;
|
|
364
364
|
/**
|
|
365
365
|
* flag used by the TS product tour page to show the blue search bar
|
|
366
|
-
* even after the search is completed. This is different from
|
|
366
|
+
* even after the search is completed. This is different from TSE Sage Embed
|
|
367
367
|
* experience where it mimics closer to the non-embed case.
|
|
368
368
|
* The Sample questions container is collapsed when this value is set after
|
|
369
369
|
* does a search.
|
|
@@ -2018,24 +2018,6 @@ export interface EmbedConfig {
|
|
|
2018
2018
|
* @version SDK: 1.27.9
|
|
2019
2019
|
*/
|
|
2020
2020
|
disableSDKTracking?: boolean;
|
|
2021
|
-
/**
|
|
2022
|
-
* Overrides default/user preffered locale for date formatting
|
|
2023
|
-
*
|
|
2024
|
-
* @version SDK: 1.28.4 | Thoughtspot: 10.0.0.cl, 9.5.0.sw
|
|
2025
|
-
*/
|
|
2026
|
-
dateFormatLocale?: string;
|
|
2027
|
-
/**
|
|
2028
|
-
* Overrides default/user preffered locale for number formatting
|
|
2029
|
-
*
|
|
2030
|
-
* @version SDK: 1.28.4 | Thoughtspot: 10.0.0.cl, 9.5.0.sw
|
|
2031
|
-
*/
|
|
2032
|
-
numberFormatLocale?: string;
|
|
2033
|
-
/**
|
|
2034
|
-
* Format to be used for currency when currency format is set to infer from browser
|
|
2035
|
-
*
|
|
2036
|
-
* @version SDK: 1.28.4 | Thoughtspot: 10.0.0.cl, 9.5.0.sw
|
|
2037
|
-
*/
|
|
2038
|
-
currencyFormat?: string;
|
|
2039
2021
|
}
|
|
2040
2022
|
export interface LayoutConfig {
|
|
2041
2023
|
}
|
|
@@ -4499,10 +4481,7 @@ export declare enum Param {
|
|
|
4499
4481
|
ClientLogLevel = "clientLogLevel",
|
|
4500
4482
|
OverrideNativeConsole = "overrideConsoleLogs",
|
|
4501
4483
|
enableAskSage = "enableAskSage",
|
|
4502
|
-
CollapseSearchBarInitially = "collapseSearchBarInitially"
|
|
4503
|
-
DateFormatLocale = "dateFormatLocale",
|
|
4504
|
-
NumberFormatLocale = "numberFormatLocale",
|
|
4505
|
-
CurrencyFormat = "currencyFormat"
|
|
4484
|
+
CollapseSearchBarInitially = "collapseSearchBarInitially"
|
|
4506
4485
|
}
|
|
4507
4486
|
/**
|
|
4508
4487
|
* ThoughtSpot application pages include actions and menu commands
|
|
@@ -1942,24 +1942,6 @@ export interface EmbedConfig {
|
|
|
1942
1942
|
* @version SDK: 1.27.9
|
|
1943
1943
|
*/
|
|
1944
1944
|
disableSDKTracking?: boolean;
|
|
1945
|
-
/**
|
|
1946
|
-
* Overrides default/user preffered locale for date formatting
|
|
1947
|
-
*
|
|
1948
|
-
* @version SDK: 1.28.4 | Thoughtspot: 10.0.0.cl, 9.5.0.sw
|
|
1949
|
-
*/
|
|
1950
|
-
dateFormatLocale?: string;
|
|
1951
|
-
/**
|
|
1952
|
-
* Overrides default/user preffered locale for number formatting
|
|
1953
|
-
*
|
|
1954
|
-
* @version SDK: 1.28.4 | Thoughtspot: 10.0.0.cl, 9.5.0.sw
|
|
1955
|
-
*/
|
|
1956
|
-
numberFormatLocale?: string;
|
|
1957
|
-
/**
|
|
1958
|
-
* Format to be used for currency when currency format is set to infer from browser
|
|
1959
|
-
*
|
|
1960
|
-
* @version SDK: 1.28.4 | Thoughtspot: 10.0.0.cl, 9.5.0.sw
|
|
1961
|
-
*/
|
|
1962
|
-
currencyFormat?: string;
|
|
1963
1945
|
}
|
|
1964
1946
|
export interface LayoutConfig {
|
|
1965
1947
|
}
|
|
@@ -4423,10 +4405,7 @@ export enum Param {
|
|
|
4423
4405
|
ClientLogLevel = "clientLogLevel",
|
|
4424
4406
|
OverrideNativeConsole = "overrideConsoleLogs",
|
|
4425
4407
|
enableAskSage = "enableAskSage",
|
|
4426
|
-
CollapseSearchBarInitially = "collapseSearchBarInitially"
|
|
4427
|
-
DateFormatLocale = "dateFormatLocale",
|
|
4428
|
-
NumberFormatLocale = "numberFormatLocale",
|
|
4429
|
-
CurrencyFormat = "currencyFormat"
|
|
4408
|
+
CollapseSearchBarInitially = "collapseSearchBarInitially"
|
|
4430
4409
|
}
|
|
4431
4410
|
/**
|
|
4432
4411
|
* ThoughtSpot application pages include actions and menu commands
|
|
@@ -5946,7 +5925,7 @@ export interface SageViewConfig extends Omit<ViewConfig, 'hiddenHomepageModules'
|
|
|
5946
5925
|
showObjectResults?: boolean;
|
|
5947
5926
|
/**
|
|
5948
5927
|
* flag used by the TS product tour page to show the blue search bar
|
|
5949
|
-
* even after the search is completed. This is different from
|
|
5928
|
+
* even after the search is completed. This is different from TSE Sage Embed
|
|
5950
5929
|
* experience where it mimics closer to the non-embed case.
|
|
5951
5930
|
* The Sample questions container is collapsed when this value is set after
|
|
5952
5931
|
* does a search.
|
package/lib/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thoughtspot/visual-embed-sdk",
|
|
3
|
-
"version": "1.29.0-alpha.
|
|
3
|
+
"version": "1.29.0-alpha.fullH-2",
|
|
4
4
|
"description": "ThoughtSpot Embed SDK",
|
|
5
5
|
"module": "lib/src/index.js",
|
|
6
6
|
"main": "dist/tsembed.js",
|
|
@@ -175,7 +175,6 @@
|
|
|
175
175
|
"keywords": [
|
|
176
176
|
"thoughtspot",
|
|
177
177
|
"everywhere",
|
|
178
|
-
"embedded",
|
|
179
178
|
"embed",
|
|
180
179
|
"sdk",
|
|
181
180
|
"analytics"
|
|
@@ -41,7 +41,7 @@ export class LiveboardEmbed extends V1Embed {
|
|
|
41
41
|
* @param data The event payload
|
|
42
42
|
*/
|
|
43
43
|
this.updateIFrameHeight = (data) => {
|
|
44
|
-
this.setIFrameHeight(Math.max(data.data, this.defaultHeight));
|
|
44
|
+
this.setIFrameHeight(Math.max(data.data + 8, this.defaultHeight));
|
|
45
45
|
};
|
|
46
46
|
this.embedIframeCenter = (data, responder) => {
|
|
47
47
|
const obj = this.getIframeCenter();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"liveboard.js","sourceRoot":"","sources":["../../../src/embed/liveboard.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EACH,UAAU,EAEV,KAAK,EAGL,SAAS,GAEZ,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AA0PrC;;;;;;;;;;;;;;;GAeG;AACH,MAAM,OAAO,cAAe,SAAQ,OAAO;IAKvC,kDAAkD;IAClD,YAAY,WAAwB,EAAE,UAA+B;QACjE,UAAU,CAAC,kBAAkB,GAAG,gBAAgB,CAAC;QACjD,KAAK,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;QAL3B,kBAAa,GAAG,GAAG,CAAC;QAoH5B;;;;;WAKG;QACK,uBAAkB,GAAG,CAAC,IAAoB,EAAE,EAAE;YAClD,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"liveboard.js","sourceRoot":"","sources":["../../../src/embed/liveboard.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EACH,UAAU,EAEV,KAAK,EAGL,SAAS,GAEZ,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,mBAAmB,EAAE,WAAW,EAAE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CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;SACvD;aAAM,IAAI,IAAI,CAAC,UAAU,CAAC,WAAW,EAAE;YACpC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;SACxB;aAAM;YACH,IAAI,CAAC,MAAM,EAAE,CAAC;SACjB;IACL,CAAC;CACJ;AAED;;GAEG;AACH,MAAM,OAAO,aAAc,SAAQ,cAAc;CAAG"}
|
package/lib/src/embed/sage.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export interface SageViewConfig extends Omit<ViewConfig, 'hiddenHomepageModules'
|
|
|
44
44
|
showObjectResults?: boolean;
|
|
45
45
|
/**
|
|
46
46
|
* flag used by the TS product tour page to show the blue search bar
|
|
47
|
-
* even after the search is completed. This is different from
|
|
47
|
+
* even after the search is completed. This is different from TSE Sage Embed
|
|
48
48
|
* experience where it mimics closer to the non-embed case.
|
|
49
49
|
* The Sample questions container is collapsed when this value is set after
|
|
50
50
|
* does a search.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ts-embed.d.ts","sourceRoot":"","sources":["../../../src/embed/ts-embed.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAwB7E,OAAO,EAEH,WAAW,EACX,SAAS,EACT,UAAU,EACV,eAAe,EAGf,WAAW,EACX,cAAc,EAGd,UAAU,EAIb,MAAM,UAAU,CAAC;AAalB;;GAEG;AACH,eAAO,MAAM,wBAAwB,QAAQ,CAAC;AAY9C;;;;GAIG;AACH,qBAAa,OAAO;IAChB;;;;;OAKG;IACH,SAAS,CAAC,aAAa,EAAE,IAAI,CAAC;IAE9B;;OAEG;IACH,SAAS,CAAC,EAAE,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,SAAS,CAAC,YAAY,SAAe;IAErC,SAAS,CAAC,gBAAgB,UAAS;IAEnC;;;OA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AG,OAAO;IAWzD;;;;;;OAMG;IACI,2BAA2B,IAAI,MAAM;IAuB5C;;;;OAIG;IACI,OAAO,IAAI,IAAI;IASf,yBAAyB,IAAI,iBAAiB;IAIrD;;;;;;;OAOG;IACU,gBAAgB,IAAI,OAAO,CAAC,GAAG,CAAC;IAM7C,SAAS,CAAC,sBAAsB,IAAI,IAAI;IAIxC,OAAO,CAAC,2BAA2B,CAyBjC;IAEF;;;;;OAKG;IACI,aAAa,IAAI,IAAI;IAwC5B;;;;;;;;OAQG;IACI,kBAAkB,IAAI,IAAI;IAejC;;;OAGG;IACI,aAAa,IAAI,IAAI;IAqB5B;;;;;;;OAOG;IACI,eAAe;;;;IAOtB;;;;;;OAMG;IACU,gBAAgB,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;CAIxE;AAED;;;;;;GAMG;AACH,qBAAa,OAAQ,SAAQ,OAAO;IAChC,SAAS,CAAC,UAAU,EAAE,UAAU,CAAC;gBAErB,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU;IAK5D;;;;OAIG;IACH,SAAS,CAAC,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;IAIxD,SAAS,CAAC,gBAAgB,IAAI,MAAM;IAkBpC;;;;;;;;;;;;;;;;OAgBG;IACI,EAAE,CACL,WAAW,EAAE,UAAU,EACvB,QAAQ,EAAE,eAAe,EACzB,OAAO,GAAE,cAAiC,GAC3C,OAAO,OAAO,CAAC,SAAS;CAI9B"}
|
|
@@ -310,15 +310,6 @@ export class TsEmbed {
|
|
|
310
310
|
if (this.embedConfig.pendoTrackingKey) {
|
|
311
311
|
queryParams[Param.PendoTrackingKey] = this.embedConfig.pendoTrackingKey;
|
|
312
312
|
}
|
|
313
|
-
if (this.embedConfig.numberFormatLocale) {
|
|
314
|
-
queryParams[Param.NumberFormatLocale] = this.embedConfig.numberFormatLocale;
|
|
315
|
-
}
|
|
316
|
-
if (this.embedConfig.dateFormatLocale) {
|
|
317
|
-
queryParams[Param.DateFormatLocale] = this.embedConfig.dateFormatLocale;
|
|
318
|
-
}
|
|
319
|
-
if (this.embedConfig.currencyFormat) {
|
|
320
|
-
queryParams[Param.CurrencyFormat] = this.embedConfig.currencyFormat;
|
|
321
|
-
}
|
|
322
313
|
const { disabledActions, disabledActionReason, hiddenActions, visibleActions, hiddenTabs, visibleTabs, showAlerts, additionalFlags, locale, customizations, contextMenuTrigger, linkOverride, insertInToSlide, } = this.viewConfig;
|
|
323
314
|
if (Array.isArray(visibleActions) && Array.isArray(hiddenActions)) {
|
|
324
315
|
this.handleError('You cannot have both hidden actions and visible actions');
|