@thoughtspot/visual-embed-sdk 1.24.0-alpha.3 → 1.24.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/package.json +1 -1
- package/cjs/src/css-variables.d.ts +38 -0
- package/cjs/src/css-variables.d.ts.map +1 -1
- package/cjs/src/embed/app.d.ts +11 -0
- package/cjs/src/embed/app.d.ts.map +1 -1
- package/cjs/src/embed/app.js +2 -1
- package/cjs/src/embed/app.js.map +1 -1
- package/cjs/src/embed/app.spec.js +10 -0
- package/cjs/src/embed/app.spec.js.map +1 -1
- package/cjs/src/embed/base.d.ts +4 -1
- package/cjs/src/embed/base.d.ts.map +1 -1
- package/cjs/src/embed/base.js +4 -1
- package/cjs/src/embed/base.js.map +1 -1
- package/cjs/src/embed/search-bar.d.ts +6 -0
- package/cjs/src/embed/search-bar.d.ts.map +1 -1
- package/cjs/src/embed/search-bar.js +5 -2
- package/cjs/src/embed/search-bar.js.map +1 -1
- package/cjs/src/embed/search.d.ts +6 -1
- package/cjs/src/embed/search.d.ts.map +1 -1
- package/cjs/src/embed/search.js +5 -2
- package/cjs/src/embed/search.js.map +1 -1
- package/cjs/src/embed/search.spec.js +34 -0
- package/cjs/src/embed/search.spec.js.map +1 -1
- package/cjs/src/embed/ts-embed.d.ts.map +1 -1
- package/cjs/src/embed/ts-embed.js +4 -0
- package/cjs/src/embed/ts-embed.js.map +1 -1
- package/cjs/src/embed/ts-embed.spec.js +81 -1
- package/cjs/src/embed/ts-embed.spec.js.map +1 -1
- package/cjs/src/types.d.ts +82 -3
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +70 -2
- package/cjs/src/types.js.map +1 -1
- package/dist/src/css-variables.d.ts +38 -0
- package/dist/src/css-variables.d.ts.map +1 -1
- package/dist/src/embed/app.d.ts +11 -0
- package/dist/src/embed/app.d.ts.map +1 -1
- package/dist/src/embed/base.d.ts +4 -1
- package/dist/src/embed/base.d.ts.map +1 -1
- package/dist/src/embed/search-bar.d.ts +6 -0
- package/dist/src/embed/search-bar.d.ts.map +1 -1
- package/dist/src/embed/search.d.ts +6 -1
- package/dist/src/embed/search.d.ts.map +1 -1
- package/dist/src/embed/ts-embed.d.ts.map +1 -1
- package/dist/src/types.d.ts +82 -3
- package/dist/src/types.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +86 -7
- package/dist/tsembed-react.js +86 -7
- package/dist/tsembed.es.js +90 -8
- package/dist/tsembed.js +90 -8
- package/dist/visual-embed-sdk-react-full.d.ts +147 -5
- package/dist/visual-embed-sdk-react.d.ts +147 -5
- package/dist/visual-embed-sdk.d.ts +147 -5
- package/lib/package.json +1 -1
- package/lib/src/css-variables.d.ts +38 -0
- package/lib/src/css-variables.d.ts.map +1 -1
- package/lib/src/embed/app.d.ts +11 -0
- package/lib/src/embed/app.d.ts.map +1 -1
- package/lib/src/embed/app.js +2 -1
- package/lib/src/embed/app.js.map +1 -1
- package/lib/src/embed/app.spec.js +10 -0
- package/lib/src/embed/app.spec.js.map +1 -1
- package/lib/src/embed/base.d.ts +4 -1
- package/lib/src/embed/base.d.ts.map +1 -1
- package/lib/src/embed/base.js +4 -1
- package/lib/src/embed/base.js.map +1 -1
- package/lib/src/embed/search-bar.d.ts +6 -0
- package/lib/src/embed/search-bar.d.ts.map +1 -1
- package/lib/src/embed/search-bar.js +6 -3
- package/lib/src/embed/search-bar.js.map +1 -1
- package/lib/src/embed/search.d.ts +6 -1
- package/lib/src/embed/search.d.ts.map +1 -1
- package/lib/src/embed/search.js +5 -2
- package/lib/src/embed/search.js.map +1 -1
- package/lib/src/embed/search.spec.js +34 -0
- package/lib/src/embed/search.spec.js.map +1 -1
- package/lib/src/embed/ts-embed.d.ts.map +1 -1
- package/lib/src/embed/ts-embed.js +4 -0
- package/lib/src/embed/ts-embed.js.map +1 -1
- package/lib/src/embed/ts-embed.spec.js +82 -2
- package/lib/src/embed/ts-embed.spec.js.map +1 -1
- package/lib/src/types.d.ts +82 -3
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +69 -1
- package/lib/src/types.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +147 -5
- package/package.json +1 -1
- package/src/css-variables.ts +47 -0
- package/src/embed/app.spec.ts +15 -0
- package/src/embed/app.ts +13 -0
- package/src/embed/base.ts +4 -1
- package/src/embed/search-bar.tsx +19 -6
- package/src/embed/search.spec.ts +43 -0
- package/src/embed/search.ts +13 -2
- package/src/embed/ts-embed.spec.ts +92 -2
- package/src/embed/ts-embed.ts +3 -0
- package/src/types.ts +82 -1
- package/lib/src/.index.d.ts.swp +0 -0
package/dist/tsembed.es.js
CHANGED
|
@@ -354,6 +354,17 @@ var AuthType;
|
|
|
354
354
|
*/
|
|
355
355
|
AuthType["Basic"] = "Basic";
|
|
356
356
|
})(AuthType || (AuthType = {}));
|
|
357
|
+
var HomeLeftNavItem;
|
|
358
|
+
(function (HomeLeftNavItem) {
|
|
359
|
+
HomeLeftNavItem["Home"] = "insights-home";
|
|
360
|
+
HomeLeftNavItem["Liveboards"] = "liveboards";
|
|
361
|
+
HomeLeftNavItem["Answers"] = "answers";
|
|
362
|
+
HomeLeftNavItem["MonitorSubscription"] = "monitor-alerts";
|
|
363
|
+
HomeLeftNavItem["SpotIQAnalysis"] = "spotiq-analysis";
|
|
364
|
+
HomeLeftNavItem["Tutorials"] = "tutorials";
|
|
365
|
+
HomeLeftNavItem["Documentation"] = "documentation";
|
|
366
|
+
HomeLeftNavItem["Community"] = "community";
|
|
367
|
+
})(HomeLeftNavItem || (HomeLeftNavItem = {}));
|
|
357
368
|
/**
|
|
358
369
|
* A map of the supported runtime filter operations
|
|
359
370
|
*/
|
|
@@ -417,6 +428,37 @@ var RuntimeFilterOp;
|
|
|
417
428
|
*/
|
|
418
429
|
RuntimeFilterOp["IN"] = "IN";
|
|
419
430
|
})(RuntimeFilterOp || (RuntimeFilterOp = {}));
|
|
431
|
+
/**
|
|
432
|
+
* Home page module that can be hide
|
|
433
|
+
*/
|
|
434
|
+
// eslint-disable-next-line no-shadow
|
|
435
|
+
var HomepageModule;
|
|
436
|
+
(function (HomepageModule) {
|
|
437
|
+
/**
|
|
438
|
+
* Search bar
|
|
439
|
+
*/
|
|
440
|
+
HomepageModule["Search"] = "search";
|
|
441
|
+
/**
|
|
442
|
+
* kPI watchlist module
|
|
443
|
+
*/
|
|
444
|
+
HomepageModule["Watchlist"] = "watchlist";
|
|
445
|
+
/**
|
|
446
|
+
* favorite objects
|
|
447
|
+
*/
|
|
448
|
+
HomepageModule["Favorite"] = "favorite";
|
|
449
|
+
/**
|
|
450
|
+
* List of answers and liveboards
|
|
451
|
+
*/
|
|
452
|
+
HomepageModule["MyLibrary"] = "mylibrary";
|
|
453
|
+
/**
|
|
454
|
+
* Trending list
|
|
455
|
+
*/
|
|
456
|
+
HomepageModule["Trending"] = "trending";
|
|
457
|
+
/**
|
|
458
|
+
* Learning videos
|
|
459
|
+
*/
|
|
460
|
+
HomepageModule["Learning"] = "learning";
|
|
461
|
+
})(HomepageModule || (HomepageModule = {}));
|
|
420
462
|
/**
|
|
421
463
|
* Event types emitted by the embedded ThoughtSpot application.
|
|
422
464
|
*
|
|
@@ -860,6 +902,12 @@ var EmbedEvent;
|
|
|
860
902
|
* @version SDK : 1.27.0 | Thoughtspot: 9.7.0.cl
|
|
861
903
|
*/
|
|
862
904
|
EmbedEvent["SageWorksheetUpdated"] = "sageWorksheetUpdated";
|
|
905
|
+
/**
|
|
906
|
+
* Emitten when a user updates a connection in Data tab
|
|
907
|
+
*
|
|
908
|
+
* @version SDK : 1.27.0 | Thoughtspot: 9.8.0.cl
|
|
909
|
+
*/
|
|
910
|
+
EmbedEvent["UpdateConnection"] = "updateConnection";
|
|
863
911
|
})(EmbedEvent || (EmbedEvent = {}));
|
|
864
912
|
/**
|
|
865
913
|
* Event types that can be triggered by the host application
|
|
@@ -1670,6 +1718,7 @@ var Param;
|
|
|
1670
1718
|
Param["HideSampleQuestions"] = "hideSampleQuestions";
|
|
1671
1719
|
Param["WorksheetId"] = "worksheet";
|
|
1672
1720
|
Param["Query"] = "query";
|
|
1721
|
+
Param["HideHomepageLeftNav"] = "hideHomepageLeftNav";
|
|
1673
1722
|
Param["ModularHomeExperienceEnabled"] = "modularHomeExperience";
|
|
1674
1723
|
})(Param || (Param = {}));
|
|
1675
1724
|
/**
|
|
@@ -2175,7 +2224,7 @@ var Action;
|
|
|
2175
2224
|
* disabledActions: [Action.QueryDetailsButtons]
|
|
2176
2225
|
* ```
|
|
2177
2226
|
*/
|
|
2178
|
-
Action["QueryDetailsButtons"] = "
|
|
2227
|
+
Action["QueryDetailsButtons"] = "queryDetailsButtons";
|
|
2179
2228
|
/**
|
|
2180
2229
|
* The **Delete** action for Answers.
|
|
2181
2230
|
*
|
|
@@ -2480,6 +2529,25 @@ var Action;
|
|
|
2480
2529
|
* @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
|
|
2481
2530
|
*/
|
|
2482
2531
|
Action["ModifySageAnswer"] = "modifySageAnswer";
|
|
2532
|
+
/**
|
|
2533
|
+
* The **Move to Tab** menu action on visualizations in liveboard edit mode.
|
|
2534
|
+
* Allows moving a visualization to a different tab.
|
|
2535
|
+
*
|
|
2536
|
+
* @example
|
|
2537
|
+
* ```js
|
|
2538
|
+
* disabledActions: [Action.MoveToTab]
|
|
2539
|
+
* ```
|
|
2540
|
+
*/
|
|
2541
|
+
Action["MoveToTab"] = "onContainerMove";
|
|
2542
|
+
/**
|
|
2543
|
+
* The **Manage Alertsb** menu action on KPI visualizations.
|
|
2544
|
+
*
|
|
2545
|
+
* @example
|
|
2546
|
+
* ```js
|
|
2547
|
+
* disabledActions: [Action.ManageMonitor]
|
|
2548
|
+
* ```
|
|
2549
|
+
*/
|
|
2550
|
+
Action["ManageMonitor"] = "ManageMonitor";
|
|
2483
2551
|
})(Action || (Action = {}));
|
|
2484
2552
|
// eslint-disable-next-line no-shadow
|
|
2485
2553
|
var OperationType;
|
|
@@ -10804,6 +10872,7 @@ const renderInQueue = (fn) => {
|
|
|
10804
10872
|
};
|
|
10805
10873
|
/**
|
|
10806
10874
|
* Imports TML representation of the metadata objects into ThoughtSpot.
|
|
10875
|
+
*
|
|
10807
10876
|
* @param data
|
|
10808
10877
|
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
|
|
10809
10878
|
*/
|
|
@@ -10848,7 +10917,9 @@ const executeTML = async (data) => {
|
|
|
10848
10917
|
});
|
|
10849
10918
|
};
|
|
10850
10919
|
/**
|
|
10851
|
-
* Exports TML representation of the metadata objects from ThoughtSpot in JSON or YAML
|
|
10920
|
+
* Exports TML representation of the metadata objects from ThoughtSpot in JSON or YAML
|
|
10921
|
+
* format.
|
|
10922
|
+
*
|
|
10852
10923
|
* @param data
|
|
10853
10924
|
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
|
|
10854
10925
|
*/
|
|
@@ -11110,7 +11181,7 @@ function processTrigger(iFrame, messageType, thoughtSpotHost, data) {
|
|
|
11110
11181
|
});
|
|
11111
11182
|
}
|
|
11112
11183
|
|
|
11113
|
-
var name="@thoughtspot/visual-embed-sdk";var version="1.24.0-alpha.
|
|
11184
|
+
var name="@thoughtspot/visual-embed-sdk";var version="1.24.0-alpha.5";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports={".":{"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":"^40.1.0",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"^2.45.0","ts-deepmerge":"^6.0.2",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-puppeteer":"^4.4.0",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",puppeteer:"^7.0.1",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"2.30.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version,description:description,module:module,main:main,types:types,files:files,exports:exports,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.js",limit:"40 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};
|
|
11114
11185
|
|
|
11115
11186
|
/**
|
|
11116
11187
|
* Copyright (c) 2022
|
|
@@ -11158,6 +11229,7 @@ class TsEmbed {
|
|
|
11158
11229
|
* @param responder
|
|
11159
11230
|
*/
|
|
11160
11231
|
this.appInitCb = async (_, responder) => {
|
|
11232
|
+
var _a, _b;
|
|
11161
11233
|
let authToken = '';
|
|
11162
11234
|
if (this.embedConfig.authType === AuthType.TrustedAuthTokenCookieless) {
|
|
11163
11235
|
authToken = await getAuthenticaionToken(this.embedConfig);
|
|
@@ -11169,7 +11241,10 @@ class TsEmbed {
|
|
|
11169
11241
|
customisations: getCustomisations(this.embedConfig, this.viewConfig),
|
|
11170
11242
|
authToken,
|
|
11171
11243
|
runtimeFilterParams: getRuntimeFilters(this.viewConfig.runtimeFilters),
|
|
11244
|
+
hiddenHomepageModules: this.viewConfig.hiddenHomepageModules || [],
|
|
11172
11245
|
hostConfig: this.embedConfig.hostConfig,
|
|
11246
|
+
hiddenHomeLeftNavItems: ((_a = this.viewConfig) === null || _a === void 0 ? void 0 : _a.hiddenHomeLeftNavItems)
|
|
11247
|
+
? (_b = this.viewConfig) === null || _b === void 0 ? void 0 : _b.hiddenHomeLeftNavItems : [],
|
|
11173
11248
|
},
|
|
11174
11249
|
});
|
|
11175
11250
|
};
|
|
@@ -11944,7 +12019,7 @@ class AppEmbed extends V1Embed {
|
|
|
11944
12019
|
* embedded Liveboard or visualization.
|
|
11945
12020
|
*/
|
|
11946
12021
|
getEmbedParams() {
|
|
11947
|
-
const { tag, hideObjects, liveboardV2, showPrimaryNavbar, disableProfileAndHelp, hideApplicationSwitcher, hideOrgSwitcher, enableSearchAssist, fullHeight, dataPanelV2 = false, modularHomeExperience = false, } = this.viewConfig;
|
|
12022
|
+
const { tag, hideObjects, liveboardV2, showPrimaryNavbar, disableProfileAndHelp, hideApplicationSwitcher, hideOrgSwitcher, enableSearchAssist, fullHeight, dataPanelV2 = false, hideHomepageLeftNav = false, modularHomeExperience = false, } = this.viewConfig;
|
|
11948
12023
|
let params = {};
|
|
11949
12024
|
params[Param.EmbedApp] = true;
|
|
11950
12025
|
params[Param.PrimaryNavHidden] = !showPrimaryNavbar;
|
|
@@ -11968,6 +12043,7 @@ class AppEmbed extends V1Embed {
|
|
|
11968
12043
|
params[Param.EnableSearchAssist] = enableSearchAssist;
|
|
11969
12044
|
}
|
|
11970
12045
|
params[Param.DataPanelV2Enabled] = dataPanelV2;
|
|
12046
|
+
params[Param.HideHomepageLeftNav] = hideHomepageLeftNav;
|
|
11971
12047
|
params[Param.ModularHomeExperienceEnabled] = modularHomeExperience;
|
|
11972
12048
|
const queryParams = getQueryParamString(params, true);
|
|
11973
12049
|
return queryParams;
|
|
@@ -12284,7 +12360,7 @@ class SearchEmbed extends TsEmbed {
|
|
|
12284
12360
|
}
|
|
12285
12361
|
getEmbedParams() {
|
|
12286
12362
|
var _a;
|
|
12287
|
-
const { hideResults, enableSearchAssist, forceTable, searchOptions, runtimeFilters, dataSource, dataSources, excludeRuntimeFiltersfromURL, dataPanelV2 = false, } = this.viewConfig;
|
|
12363
|
+
const { hideResults, enableSearchAssist, forceTable, searchOptions, runtimeFilters, dataSource, dataSources, excludeRuntimeFiltersfromURL, dataPanelV2 = false, useLastSelectedSources = false, } = this.viewConfig;
|
|
12288
12364
|
const queryParams = this.getBaseQueryParams();
|
|
12289
12365
|
queryParams[Param.HideActions] = [
|
|
12290
12366
|
...((_a = queryParams[Param.HideActions]) !== null && _a !== void 0 ? _a : []),
|
|
@@ -12313,7 +12389,10 @@ class SearchEmbed extends TsEmbed {
|
|
|
12313
12389
|
}
|
|
12314
12390
|
queryParams[Param.DataPanelV2Enabled] = dataPanelV2;
|
|
12315
12391
|
queryParams[Param.DataSourceMode] = this.getDataSourceMode();
|
|
12316
|
-
queryParams[Param.UseLastSelectedDataSource] =
|
|
12392
|
+
queryParams[Param.UseLastSelectedDataSource] = useLastSelectedSources;
|
|
12393
|
+
if (dataSource || dataSources) {
|
|
12394
|
+
queryParams[Param.UseLastSelectedDataSource] = false;
|
|
12395
|
+
}
|
|
12317
12396
|
queryParams[Param.searchEmbed] = true;
|
|
12318
12397
|
let query = '';
|
|
12319
12398
|
const queryParamsString = getQueryParamString(queryParams, true);
|
|
@@ -12374,7 +12453,7 @@ class SearchBarEmbed extends TsEmbed {
|
|
|
12374
12453
|
*/
|
|
12375
12454
|
getIFrameSrc() {
|
|
12376
12455
|
var _a;
|
|
12377
|
-
const { searchOptions, dataSource, dataSources } = this.viewConfig;
|
|
12456
|
+
const { searchOptions, dataSource, dataSources, useLastSelectedSources = false, } = this.viewConfig;
|
|
12378
12457
|
const path = 'search-bar-embed';
|
|
12379
12458
|
const queryParams = this.getBaseQueryParams();
|
|
12380
12459
|
queryParams[Param.HideActions] = [...((_a = queryParams[Param.HideActions]) !== null && _a !== void 0 ? _a : [])];
|
|
@@ -12390,7 +12469,10 @@ class SearchBarEmbed extends TsEmbed {
|
|
|
12390
12469
|
queryParams[Param.executeSearch] = true;
|
|
12391
12470
|
}
|
|
12392
12471
|
}
|
|
12393
|
-
queryParams[Param.UseLastSelectedDataSource] =
|
|
12472
|
+
queryParams[Param.UseLastSelectedDataSource] = useLastSelectedSources;
|
|
12473
|
+
if (dataSource || dataSources) {
|
|
12474
|
+
queryParams[Param.UseLastSelectedDataSource] = false;
|
|
12475
|
+
}
|
|
12394
12476
|
queryParams[Param.searchEmbed] = true;
|
|
12395
12477
|
let query = '';
|
|
12396
12478
|
const queryParamsString = getQueryParamString(queryParams, true);
|
package/dist/tsembed.js
CHANGED
|
@@ -352,6 +352,17 @@
|
|
|
352
352
|
*/
|
|
353
353
|
AuthType["Basic"] = "Basic";
|
|
354
354
|
})(exports.AuthType || (exports.AuthType = {}));
|
|
355
|
+
var HomeLeftNavItem;
|
|
356
|
+
(function (HomeLeftNavItem) {
|
|
357
|
+
HomeLeftNavItem["Home"] = "insights-home";
|
|
358
|
+
HomeLeftNavItem["Liveboards"] = "liveboards";
|
|
359
|
+
HomeLeftNavItem["Answers"] = "answers";
|
|
360
|
+
HomeLeftNavItem["MonitorSubscription"] = "monitor-alerts";
|
|
361
|
+
HomeLeftNavItem["SpotIQAnalysis"] = "spotiq-analysis";
|
|
362
|
+
HomeLeftNavItem["Tutorials"] = "tutorials";
|
|
363
|
+
HomeLeftNavItem["Documentation"] = "documentation";
|
|
364
|
+
HomeLeftNavItem["Community"] = "community";
|
|
365
|
+
})(HomeLeftNavItem || (HomeLeftNavItem = {}));
|
|
355
366
|
(function (RuntimeFilterOp) {
|
|
356
367
|
/**
|
|
357
368
|
* Equals
|
|
@@ -410,6 +421,37 @@
|
|
|
410
421
|
*/
|
|
411
422
|
RuntimeFilterOp["IN"] = "IN";
|
|
412
423
|
})(exports.RuntimeFilterOp || (exports.RuntimeFilterOp = {}));
|
|
424
|
+
/**
|
|
425
|
+
* Home page module that can be hide
|
|
426
|
+
*/
|
|
427
|
+
// eslint-disable-next-line no-shadow
|
|
428
|
+
var HomepageModule;
|
|
429
|
+
(function (HomepageModule) {
|
|
430
|
+
/**
|
|
431
|
+
* Search bar
|
|
432
|
+
*/
|
|
433
|
+
HomepageModule["Search"] = "search";
|
|
434
|
+
/**
|
|
435
|
+
* kPI watchlist module
|
|
436
|
+
*/
|
|
437
|
+
HomepageModule["Watchlist"] = "watchlist";
|
|
438
|
+
/**
|
|
439
|
+
* favorite objects
|
|
440
|
+
*/
|
|
441
|
+
HomepageModule["Favorite"] = "favorite";
|
|
442
|
+
/**
|
|
443
|
+
* List of answers and liveboards
|
|
444
|
+
*/
|
|
445
|
+
HomepageModule["MyLibrary"] = "mylibrary";
|
|
446
|
+
/**
|
|
447
|
+
* Trending list
|
|
448
|
+
*/
|
|
449
|
+
HomepageModule["Trending"] = "trending";
|
|
450
|
+
/**
|
|
451
|
+
* Learning videos
|
|
452
|
+
*/
|
|
453
|
+
HomepageModule["Learning"] = "learning";
|
|
454
|
+
})(HomepageModule || (HomepageModule = {}));
|
|
413
455
|
(function (EmbedEvent) {
|
|
414
456
|
/**
|
|
415
457
|
* Rendering has initialized.
|
|
@@ -831,6 +873,12 @@
|
|
|
831
873
|
* @version SDK : 1.27.0 | Thoughtspot: 9.7.0.cl
|
|
832
874
|
*/
|
|
833
875
|
EmbedEvent["SageWorksheetUpdated"] = "sageWorksheetUpdated";
|
|
876
|
+
/**
|
|
877
|
+
* Emitten when a user updates a connection in Data tab
|
|
878
|
+
*
|
|
879
|
+
* @version SDK : 1.27.0 | Thoughtspot: 9.8.0.cl
|
|
880
|
+
*/
|
|
881
|
+
EmbedEvent["UpdateConnection"] = "updateConnection";
|
|
834
882
|
})(exports.EmbedEvent || (exports.EmbedEvent = {}));
|
|
835
883
|
(function (HostEvent) {
|
|
836
884
|
/**
|
|
@@ -1611,6 +1659,7 @@
|
|
|
1611
1659
|
Param["HideSampleQuestions"] = "hideSampleQuestions";
|
|
1612
1660
|
Param["WorksheetId"] = "worksheet";
|
|
1613
1661
|
Param["Query"] = "query";
|
|
1662
|
+
Param["HideHomepageLeftNav"] = "hideHomepageLeftNav";
|
|
1614
1663
|
Param["ModularHomeExperienceEnabled"] = "modularHomeExperience";
|
|
1615
1664
|
})(Param || (Param = {}));
|
|
1616
1665
|
(function (Action) {
|
|
@@ -2087,7 +2136,7 @@
|
|
|
2087
2136
|
* disabledActions: [Action.QueryDetailsButtons]
|
|
2088
2137
|
* ```
|
|
2089
2138
|
*/
|
|
2090
|
-
Action["QueryDetailsButtons"] = "
|
|
2139
|
+
Action["QueryDetailsButtons"] = "queryDetailsButtons";
|
|
2091
2140
|
/**
|
|
2092
2141
|
* The **Delete** action for Answers.
|
|
2093
2142
|
*
|
|
@@ -2392,6 +2441,25 @@
|
|
|
2392
2441
|
* @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
|
|
2393
2442
|
*/
|
|
2394
2443
|
Action["ModifySageAnswer"] = "modifySageAnswer";
|
|
2444
|
+
/**
|
|
2445
|
+
* The **Move to Tab** menu action on visualizations in liveboard edit mode.
|
|
2446
|
+
* Allows moving a visualization to a different tab.
|
|
2447
|
+
*
|
|
2448
|
+
* @example
|
|
2449
|
+
* ```js
|
|
2450
|
+
* disabledActions: [Action.MoveToTab]
|
|
2451
|
+
* ```
|
|
2452
|
+
*/
|
|
2453
|
+
Action["MoveToTab"] = "onContainerMove";
|
|
2454
|
+
/**
|
|
2455
|
+
* The **Manage Alertsb** menu action on KPI visualizations.
|
|
2456
|
+
*
|
|
2457
|
+
* @example
|
|
2458
|
+
* ```js
|
|
2459
|
+
* disabledActions: [Action.ManageMonitor]
|
|
2460
|
+
* ```
|
|
2461
|
+
*/
|
|
2462
|
+
Action["ManageMonitor"] = "ManageMonitor";
|
|
2395
2463
|
})(exports.Action || (exports.Action = {}));
|
|
2396
2464
|
// eslint-disable-next-line no-shadow
|
|
2397
2465
|
var OperationType;
|
|
@@ -10692,6 +10760,7 @@
|
|
|
10692
10760
|
};
|
|
10693
10761
|
/**
|
|
10694
10762
|
* Imports TML representation of the metadata objects into ThoughtSpot.
|
|
10763
|
+
*
|
|
10695
10764
|
* @param data
|
|
10696
10765
|
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
|
|
10697
10766
|
*/
|
|
@@ -10736,7 +10805,9 @@
|
|
|
10736
10805
|
});
|
|
10737
10806
|
};
|
|
10738
10807
|
/**
|
|
10739
|
-
* Exports TML representation of the metadata objects from ThoughtSpot in JSON or YAML
|
|
10808
|
+
* Exports TML representation of the metadata objects from ThoughtSpot in JSON or YAML
|
|
10809
|
+
* format.
|
|
10810
|
+
*
|
|
10740
10811
|
* @param data
|
|
10741
10812
|
* @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
|
|
10742
10813
|
*/
|
|
@@ -10998,7 +11069,7 @@
|
|
|
10998
11069
|
});
|
|
10999
11070
|
}
|
|
11000
11071
|
|
|
11001
|
-
var name="@thoughtspot/visual-embed-sdk";var version="1.24.0-alpha.
|
|
11072
|
+
var name="@thoughtspot/visual-embed-sdk";var version="1.24.0-alpha.5";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports$1={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs",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":"^40.1.0",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"^2.45.0","ts-deepmerge":"^6.0.2",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-puppeteer":"^4.4.0",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",puppeteer:"^7.0.1",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"2.30.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.js",limit:"40 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};
|
|
11002
11073
|
|
|
11003
11074
|
/**
|
|
11004
11075
|
* Copyright (c) 2022
|
|
@@ -11046,6 +11117,7 @@
|
|
|
11046
11117
|
* @param responder
|
|
11047
11118
|
*/
|
|
11048
11119
|
this.appInitCb = async (_, responder) => {
|
|
11120
|
+
var _a, _b;
|
|
11049
11121
|
let authToken = '';
|
|
11050
11122
|
if (this.embedConfig.authType === exports.AuthType.TrustedAuthTokenCookieless) {
|
|
11051
11123
|
authToken = await getAuthenticaionToken(this.embedConfig);
|
|
@@ -11057,7 +11129,10 @@
|
|
|
11057
11129
|
customisations: getCustomisations(this.embedConfig, this.viewConfig),
|
|
11058
11130
|
authToken,
|
|
11059
11131
|
runtimeFilterParams: getRuntimeFilters(this.viewConfig.runtimeFilters),
|
|
11132
|
+
hiddenHomepageModules: this.viewConfig.hiddenHomepageModules || [],
|
|
11060
11133
|
hostConfig: this.embedConfig.hostConfig,
|
|
11134
|
+
hiddenHomeLeftNavItems: ((_a = this.viewConfig) === null || _a === void 0 ? void 0 : _a.hiddenHomeLeftNavItems)
|
|
11135
|
+
? (_b = this.viewConfig) === null || _b === void 0 ? void 0 : _b.hiddenHomeLeftNavItems : [],
|
|
11061
11136
|
},
|
|
11062
11137
|
});
|
|
11063
11138
|
};
|
|
@@ -11827,7 +11902,7 @@
|
|
|
11827
11902
|
* embedded Liveboard or visualization.
|
|
11828
11903
|
*/
|
|
11829
11904
|
getEmbedParams() {
|
|
11830
|
-
const { tag, hideObjects, liveboardV2, showPrimaryNavbar, disableProfileAndHelp, hideApplicationSwitcher, hideOrgSwitcher, enableSearchAssist, fullHeight, dataPanelV2 = false, modularHomeExperience = false, } = this.viewConfig;
|
|
11905
|
+
const { tag, hideObjects, liveboardV2, showPrimaryNavbar, disableProfileAndHelp, hideApplicationSwitcher, hideOrgSwitcher, enableSearchAssist, fullHeight, dataPanelV2 = false, hideHomepageLeftNav = false, modularHomeExperience = false, } = this.viewConfig;
|
|
11831
11906
|
let params = {};
|
|
11832
11907
|
params[Param.EmbedApp] = true;
|
|
11833
11908
|
params[Param.PrimaryNavHidden] = !showPrimaryNavbar;
|
|
@@ -11851,6 +11926,7 @@
|
|
|
11851
11926
|
params[Param.EnableSearchAssist] = enableSearchAssist;
|
|
11852
11927
|
}
|
|
11853
11928
|
params[Param.DataPanelV2Enabled] = dataPanelV2;
|
|
11929
|
+
params[Param.HideHomepageLeftNav] = hideHomepageLeftNav;
|
|
11854
11930
|
params[Param.ModularHomeExperienceEnabled] = modularHomeExperience;
|
|
11855
11931
|
const queryParams = getQueryParamString(params, true);
|
|
11856
11932
|
return queryParams;
|
|
@@ -12167,7 +12243,7 @@
|
|
|
12167
12243
|
}
|
|
12168
12244
|
getEmbedParams() {
|
|
12169
12245
|
var _a;
|
|
12170
|
-
const { hideResults, enableSearchAssist, forceTable, searchOptions, runtimeFilters, dataSource, dataSources, excludeRuntimeFiltersfromURL, dataPanelV2 = false, } = this.viewConfig;
|
|
12246
|
+
const { hideResults, enableSearchAssist, forceTable, searchOptions, runtimeFilters, dataSource, dataSources, excludeRuntimeFiltersfromURL, dataPanelV2 = false, useLastSelectedSources = false, } = this.viewConfig;
|
|
12171
12247
|
const queryParams = this.getBaseQueryParams();
|
|
12172
12248
|
queryParams[Param.HideActions] = [
|
|
12173
12249
|
...((_a = queryParams[Param.HideActions]) !== null && _a !== void 0 ? _a : []),
|
|
@@ -12196,7 +12272,10 @@
|
|
|
12196
12272
|
}
|
|
12197
12273
|
queryParams[Param.DataPanelV2Enabled] = dataPanelV2;
|
|
12198
12274
|
queryParams[Param.DataSourceMode] = this.getDataSourceMode();
|
|
12199
|
-
queryParams[Param.UseLastSelectedDataSource] =
|
|
12275
|
+
queryParams[Param.UseLastSelectedDataSource] = useLastSelectedSources;
|
|
12276
|
+
if (dataSource || dataSources) {
|
|
12277
|
+
queryParams[Param.UseLastSelectedDataSource] = false;
|
|
12278
|
+
}
|
|
12200
12279
|
queryParams[Param.searchEmbed] = true;
|
|
12201
12280
|
let query = '';
|
|
12202
12281
|
const queryParamsString = getQueryParamString(queryParams, true);
|
|
@@ -12257,7 +12336,7 @@
|
|
|
12257
12336
|
*/
|
|
12258
12337
|
getIFrameSrc() {
|
|
12259
12338
|
var _a;
|
|
12260
|
-
const { searchOptions, dataSource, dataSources } = this.viewConfig;
|
|
12339
|
+
const { searchOptions, dataSource, dataSources, useLastSelectedSources = false, } = this.viewConfig;
|
|
12261
12340
|
const path = 'search-bar-embed';
|
|
12262
12341
|
const queryParams = this.getBaseQueryParams();
|
|
12263
12342
|
queryParams[Param.HideActions] = [...((_a = queryParams[Param.HideActions]) !== null && _a !== void 0 ? _a : [])];
|
|
@@ -12273,7 +12352,10 @@
|
|
|
12273
12352
|
queryParams[Param.executeSearch] = true;
|
|
12274
12353
|
}
|
|
12275
12354
|
}
|
|
12276
|
-
queryParams[Param.UseLastSelectedDataSource] =
|
|
12355
|
+
queryParams[Param.UseLastSelectedDataSource] = useLastSelectedSources;
|
|
12356
|
+
if (dataSource || dataSources) {
|
|
12357
|
+
queryParams[Param.UseLastSelectedDataSource] = false;
|
|
12358
|
+
}
|
|
12277
12359
|
queryParams[Param.searchEmbed] = true;
|
|
12278
12360
|
let query = '';
|
|
12279
12361
|
const queryParamsString = getQueryParamString(queryParams, true);
|