@thoughtspot/visual-embed-sdk 1.32.1 → 1.32.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/package.json +4 -22
- package/cjs/src/css-variables.d.ts +28 -0
- package/cjs/src/css-variables.d.ts.map +1 -1
- package/cjs/src/embed/app.d.ts +15 -14
- package/cjs/src/embed/app.d.ts.map +1 -1
- package/cjs/src/embed/app.js +18 -3
- package/cjs/src/embed/app.js.map +1 -1
- package/cjs/src/embed/app.spec.js +32 -0
- package/cjs/src/embed/app.spec.js.map +1 -1
- package/cjs/src/embed/liveboard.d.ts.map +1 -1
- package/cjs/src/embed/liveboard.js +2 -1
- package/cjs/src/embed/liveboard.js.map +1 -1
- package/cjs/src/embed/liveboard.spec.js +10 -0
- package/cjs/src/embed/liveboard.spec.js.map +1 -1
- package/cjs/src/embed/search.d.ts +0 -13
- package/cjs/src/embed/search.d.ts.map +1 -1
- package/cjs/src/embed/search.js +1 -1
- package/cjs/src/embed/search.js.map +1 -1
- package/cjs/src/embed/search.spec.js +9 -9
- package/cjs/src/embed/search.spec.js.map +1 -1
- package/cjs/src/mixpanel-service.d.ts +4 -0
- package/cjs/src/mixpanel-service.d.ts.map +1 -1
- package/cjs/src/mixpanel-service.js +4 -0
- package/cjs/src/mixpanel-service.js.map +1 -1
- package/cjs/src/react/index.spec.js +1 -1
- package/cjs/src/react/index.spec.js.map +1 -1
- package/cjs/src/types.d.ts +25 -14
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +11 -13
- package/cjs/src/types.js.map +1 -1
- package/dist/src/css-variables.d.ts +28 -0
- package/dist/src/css-variables.d.ts.map +1 -1
- package/dist/src/embed/app.d.ts +15 -14
- package/dist/src/embed/app.d.ts.map +1 -1
- package/dist/src/embed/liveboard.d.ts.map +1 -1
- package/dist/src/embed/search.d.ts +0 -13
- package/dist/src/embed/search.d.ts.map +1 -1
- package/dist/src/mixpanel-service.d.ts +4 -0
- package/dist/src/mixpanel-service.d.ts.map +1 -1
- package/dist/src/types.d.ts +25 -14
- package/dist/src/types.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +36 -18
- package/dist/tsembed-react.js +36 -18
- package/dist/tsembed.es.js +36 -18
- package/dist/tsembed.js +36 -18
- package/dist/visual-embed-sdk-react-full.d.ts +72 -41
- package/dist/visual-embed-sdk-react.d.ts +72 -41
- package/dist/visual-embed-sdk.d.ts +72 -41
- package/lib/package.json +4 -22
- package/lib/src/css-variables.d.ts +28 -0
- package/lib/src/css-variables.d.ts.map +1 -1
- package/lib/src/embed/app.d.ts +15 -14
- package/lib/src/embed/app.d.ts.map +1 -1
- package/lib/src/embed/app.js +17 -2
- package/lib/src/embed/app.js.map +1 -1
- package/lib/src/embed/app.spec.js +33 -1
- package/lib/src/embed/app.spec.js.map +1 -1
- package/lib/src/embed/liveboard.d.ts.map +1 -1
- package/lib/src/embed/liveboard.js +2 -1
- package/lib/src/embed/liveboard.js.map +1 -1
- package/lib/src/embed/liveboard.spec.js +10 -0
- package/lib/src/embed/liveboard.spec.js.map +1 -1
- package/lib/src/embed/search.d.ts +0 -13
- package/lib/src/embed/search.d.ts.map +1 -1
- package/lib/src/embed/search.js +1 -1
- package/lib/src/embed/search.js.map +1 -1
- package/lib/src/embed/search.spec.js +9 -9
- package/lib/src/embed/search.spec.js.map +1 -1
- package/lib/src/mixpanel-service.d.ts +4 -0
- package/lib/src/mixpanel-service.d.ts.map +1 -1
- package/lib/src/mixpanel-service.js +4 -0
- package/lib/src/mixpanel-service.js.map +1 -1
- package/lib/src/react/index.spec.js +1 -1
- package/lib/src/react/index.spec.js.map +1 -1
- package/lib/src/types.d.ts +25 -14
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +11 -13
- package/lib/src/types.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +72 -41
- package/package.json +4 -22
- package/src/css-variables.ts +28 -0
- package/src/embed/app.spec.ts +48 -0
- package/src/embed/app.ts +22 -14
- package/src/embed/liveboard.spec.ts +14 -0
- package/src/embed/liveboard.ts +2 -0
- package/src/embed/search.spec.ts +9 -9
- package/src/embed/search.ts +1 -14
- package/src/mixpanel-service.ts +4 -0
- package/src/react/index.spec.tsx +1 -1
- package/src/types.ts +35 -23
package/dist/tsembed-react.es.js
CHANGED
|
@@ -1298,7 +1298,6 @@ var EmbedEvent;
|
|
|
1298
1298
|
/**
|
|
1299
1299
|
* Emitted when a user clicks the **Update TML** action on
|
|
1300
1300
|
* embedded Liveboard.
|
|
1301
|
-
*
|
|
1302
1301
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
1303
1302
|
* @example
|
|
1304
1303
|
*```js
|
|
@@ -1310,7 +1309,6 @@ var EmbedEvent;
|
|
|
1310
1309
|
/**
|
|
1311
1310
|
* Emitted when a user clicks the **Edit TML** action
|
|
1312
1311
|
* on an embedded Liveboard.
|
|
1313
|
-
*
|
|
1314
1312
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
1315
1313
|
* @example
|
|
1316
1314
|
*```js
|
|
@@ -1920,20 +1918,16 @@ var HostEvent;
|
|
|
1920
1918
|
/**
|
|
1921
1919
|
* Trigger the **Export TML** action on an embedded Liveboard or
|
|
1922
1920
|
* Answer.
|
|
1923
|
-
*
|
|
1924
1921
|
* @example
|
|
1925
1922
|
* ```js
|
|
1926
1923
|
* liveboardEmbed.trigger(HostEvent.ExportTML)
|
|
1927
1924
|
* ```
|
|
1928
|
-
*
|
|
1929
1925
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
1930
1926
|
*/
|
|
1931
1927
|
HostEvent["ExportTML"] = "exportTSL";
|
|
1932
1928
|
/**
|
|
1933
1929
|
* Trigger the **Edit TML** action on an embedded Liveboard or
|
|
1934
1930
|
* saved Answers in the full application embedding.
|
|
1935
|
-
*
|
|
1936
|
-
*
|
|
1937
1931
|
* @example
|
|
1938
1932
|
* ```js
|
|
1939
1933
|
* liveboardEmbed.trigger(HostEvent.EditTML)
|
|
@@ -2060,7 +2054,6 @@ var HostEvent;
|
|
|
2060
2054
|
* This event is not supported in visualization embed and search embed.
|
|
2061
2055
|
* @param - object - To trigger the action for a specific visualization
|
|
2062
2056
|
* in Liveboard embed, pass in `vizId` as a key.
|
|
2063
|
-
*
|
|
2064
2057
|
* @example
|
|
2065
2058
|
* ```js
|
|
2066
2059
|
* liveboardEmbed.trigger(HostEvent.Edit)
|
|
@@ -2327,7 +2320,6 @@ var HostEvent;
|
|
|
2327
2320
|
/**
|
|
2328
2321
|
* Get details of filters applied on the Liveboard.
|
|
2329
2322
|
* Returns arrays containing Liveboard filter and runtime filter elements.
|
|
2330
|
-
*
|
|
2331
2323
|
* @example
|
|
2332
2324
|
* ```js
|
|
2333
2325
|
* const data = await liveboardEmbed.trigger(HostEvent.GetFilters);
|
|
@@ -2630,6 +2622,7 @@ var Param;
|
|
|
2630
2622
|
Param["IsOnBeforeGetVizDataInterceptEnabled"] = "isOnBeforeGetVizDataInterceptEnabled";
|
|
2631
2623
|
Param["FocusSearchBarOnRender"] = "focusSearchBarOnRender";
|
|
2632
2624
|
Param["DisableRedirectionLinksInNewTab"] = "disableRedirectionLinksInNewTab";
|
|
2625
|
+
Param["HomePageSearchBarMode"] = "homePageSearchBarMode";
|
|
2633
2626
|
})(Param || (Param = {}));
|
|
2634
2627
|
/**
|
|
2635
2628
|
* ThoughtSpot application pages include actions and menu commands
|
|
@@ -2681,7 +2674,6 @@ var Action;
|
|
|
2681
2674
|
* The **Save as View** action on the Answer
|
|
2682
2675
|
* page. Saves an Answer as a View object in the full
|
|
2683
2676
|
* application embedding mode.
|
|
2684
|
-
*
|
|
2685
2677
|
* @example
|
|
2686
2678
|
* ```js
|
|
2687
2679
|
* disabledActions: [Action.SaveAsView]
|
|
@@ -3139,7 +3131,6 @@ var Action;
|
|
|
3139
3131
|
/**
|
|
3140
3132
|
* The **Delete** action for Answers in the full application
|
|
3141
3133
|
* embedding mode.
|
|
3142
|
-
*
|
|
3143
3134
|
* @example
|
|
3144
3135
|
* ```js
|
|
3145
3136
|
* disabledActions: [Action.AnswerDelete]
|
|
@@ -3411,9 +3402,6 @@ var Action;
|
|
|
3411
3402
|
*/
|
|
3412
3403
|
Action["RenameModalTitleDescription"] = "renameModalTitleDescription";
|
|
3413
3404
|
/**
|
|
3414
|
-
*
|
|
3415
|
-
* The **Request Verification** action on the Liveboard.
|
|
3416
|
-
* Triggers a Liveboard verification request.
|
|
3417
3405
|
*
|
|
3418
3406
|
* @example
|
|
3419
3407
|
* ```js
|
|
@@ -3649,6 +3637,16 @@ var Action;
|
|
|
3649
3637
|
* @version SDK: 1.34.0 | Thoughtspot: 10.3.0.cl
|
|
3650
3638
|
*/
|
|
3651
3639
|
Action["UnsubscribeScheduleHomepage"] = "unsubscribeScheduleHomepage";
|
|
3640
|
+
/**
|
|
3641
|
+
* The **Manage Tags** action on Homepage Favourite Module.
|
|
3642
|
+
*
|
|
3643
|
+
* @example
|
|
3644
|
+
* ```js
|
|
3645
|
+
* disabledActions: [Action.ManageTags]
|
|
3646
|
+
* ```
|
|
3647
|
+
* @version SDK : 1.34.0 | Thoughtspot: 10.3.0.cl
|
|
3648
|
+
*/
|
|
3649
|
+
Action["ManageTags"] = "manageTags";
|
|
3652
3650
|
/**
|
|
3653
3651
|
* Action ID for delete schedule action on schedule on homepage
|
|
3654
3652
|
* @example
|
|
@@ -12882,6 +12880,10 @@ var mixpanel$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.assign(/*#__PURE
|
|
|
12882
12880
|
// Needed to avoid error in CJS builds on some bundlers.
|
|
12883
12881
|
const mixpanelLib = mixpanel_cjs || mixpanel$1;
|
|
12884
12882
|
let mixpanelInstance;
|
|
12883
|
+
/**
|
|
12884
|
+
* Enum of mixpanel events
|
|
12885
|
+
* @hidden
|
|
12886
|
+
*/
|
|
12885
12887
|
const MIXPANEL_EVENT = {
|
|
12886
12888
|
VISUAL_SDK_RENDER_START: 'visual-sdk-render-start',
|
|
12887
12889
|
VISUAL_SDK_CALLED_INIT: 'visual-sdk-called-init',
|
|
@@ -13967,7 +13969,7 @@ function processTrigger(iFrame, messageType, thoughtSpotHost, data) {
|
|
|
13967
13969
|
});
|
|
13968
13970
|
}
|
|
13969
13971
|
|
|
13970
|
-
var name="@thoughtspot/visual-embed-sdk";var version="1.32.
|
|
13972
|
+
var name="@thoughtspot/visual-embed-sdk";var version="1.32.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","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","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/lodash":"^4.17.0","@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","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",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,description:description,module:module,main:main,types:types,files:files,exports:exports,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.js",limit:"48 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};
|
|
13971
13973
|
|
|
13972
13974
|
/**
|
|
13973
13975
|
* Copyright (c) 2022
|
|
@@ -15194,7 +15196,7 @@ class SearchEmbed extends TsEmbed {
|
|
|
15194
15196
|
}
|
|
15195
15197
|
getEmbedParams() {
|
|
15196
15198
|
var _a;
|
|
15197
|
-
const { hideResults, enableSearchAssist, forceTable, searchOptions, runtimeFilters, dataSource, dataSources, excludeRuntimeFiltersfromURL, hideSearchBar, dataPanelV2 =
|
|
15199
|
+
const { hideResults, enableSearchAssist, forceTable, searchOptions, runtimeFilters, dataSource, dataSources, excludeRuntimeFiltersfromURL, hideSearchBar, dataPanelV2 = true, useLastSelectedSources = false, runtimeParameters, collapseSearchBarInitially = false, enableCustomColumnGroups = false, isOnBeforeGetVizDataInterceptEnabled = false,
|
|
15198
15200
|
/* eslint-disable-next-line max-len */
|
|
15199
15201
|
dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState.EXPAND_ALL, focusSearchBarOnRender = true, excludeRuntimeParametersfromURL, collapseSearchBar = true, } = this.viewConfig;
|
|
15200
15202
|
const queryParams = this.getBaseQueryParams();
|
|
@@ -15341,6 +15343,10 @@ var Page;
|
|
|
15341
15343
|
* SpotIQ listing page
|
|
15342
15344
|
*/
|
|
15343
15345
|
Page["SpotIQ"] = "insights";
|
|
15346
|
+
/**
|
|
15347
|
+
* Monitor Alerts Page
|
|
15348
|
+
*/
|
|
15349
|
+
Page["Monitor"] = "monitor";
|
|
15344
15350
|
})(Page || (Page = {}));
|
|
15345
15351
|
/**
|
|
15346
15352
|
* Define the initial state os column custom group accordions
|
|
@@ -15361,6 +15367,12 @@ var DataPanelCustomColumnGroupsAccordionState$1;
|
|
|
15361
15367
|
*/
|
|
15362
15368
|
DataPanelCustomColumnGroupsAccordionState["EXPAND_FIRST"] = "EXPAND_FIRST";
|
|
15363
15369
|
})(DataPanelCustomColumnGroupsAccordionState$1 || (DataPanelCustomColumnGroupsAccordionState$1 = {}));
|
|
15370
|
+
var HomePageSearchBarMode;
|
|
15371
|
+
(function (HomePageSearchBarMode) {
|
|
15372
|
+
HomePageSearchBarMode["OBJECT_SEARCH"] = "objectSearch";
|
|
15373
|
+
HomePageSearchBarMode["AI_ANSWER"] = "aiAnswer";
|
|
15374
|
+
HomePageSearchBarMode["NONE"] = "none";
|
|
15375
|
+
})(HomePageSearchBarMode || (HomePageSearchBarMode = {}));
|
|
15364
15376
|
/**
|
|
15365
15377
|
* Embeds full ThoughtSpot experience in a host application.
|
|
15366
15378
|
* @group Embed components
|
|
@@ -15401,9 +15413,9 @@ class AppEmbed extends V1Embed {
|
|
|
15401
15413
|
* embedded Liveboard or visualization.
|
|
15402
15414
|
*/
|
|
15403
15415
|
getEmbedParams() {
|
|
15404
|
-
const { tag, hideObjects, liveboardV2, showPrimaryNavbar, disableProfileAndHelp, hideApplicationSwitcher, hideOrgSwitcher, enableSearchAssist, fullHeight, dataPanelV2 =
|
|
15416
|
+
const { tag, hideObjects, liveboardV2, showPrimaryNavbar, disableProfileAndHelp, hideApplicationSwitcher, hideOrgSwitcher, enableSearchAssist, fullHeight, dataPanelV2 = true, hideLiveboardHeader = false, showLiveboardTitle = true, showLiveboardDescription = true, hideHomepageLeftNav = false, modularHomeExperience = false, isLiveboardHeaderSticky = true, enableAskSage, collapseSearchBarInitially = false, enable2ColumnLayout, enableCustomColumnGroups = false, isOnBeforeGetVizDataInterceptEnabled = false,
|
|
15405
15417
|
/* eslint-disable-next-line max-len */
|
|
15406
|
-
dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState$1.EXPAND_ALL, collapseSearchBar = true, } = this.viewConfig;
|
|
15418
|
+
dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState$1.EXPAND_ALL, collapseSearchBar = true, homePageSearchBarMode, } = this.viewConfig;
|
|
15407
15419
|
let params = {};
|
|
15408
15420
|
params[Param.EmbedApp] = true;
|
|
15409
15421
|
params[Param.PrimaryNavHidden] = !showPrimaryNavbar;
|
|
@@ -15441,6 +15453,9 @@ class AppEmbed extends V1Embed {
|
|
|
15441
15453
|
/* eslint-disable-next-line max-len */
|
|
15442
15454
|
params[Param.IsOnBeforeGetVizDataInterceptEnabled] = isOnBeforeGetVizDataInterceptEnabled;
|
|
15443
15455
|
}
|
|
15456
|
+
if (homePageSearchBarMode) {
|
|
15457
|
+
params[Param.HomePageSearchBarMode] = homePageSearchBarMode;
|
|
15458
|
+
}
|
|
15444
15459
|
params[Param.DataPanelV2Enabled] = dataPanelV2;
|
|
15445
15460
|
params[Param.HideHomepageLeftNav] = hideHomepageLeftNav;
|
|
15446
15461
|
params[Param.ModularHomeExperienceEnabled] = modularHomeExperience;
|
|
@@ -15491,6 +15506,8 @@ class AppEmbed extends V1Embed {
|
|
|
15491
15506
|
return 'data/tables';
|
|
15492
15507
|
case Page.SpotIQ:
|
|
15493
15508
|
return modularHomeExperience ? 'home/spotiq-analysis' : 'insights/results';
|
|
15509
|
+
case Page.Monitor:
|
|
15510
|
+
return modularHomeExperience ? 'home/monitor-alerts' : 'insights/monitor-alerts';
|
|
15494
15511
|
case Page.Home:
|
|
15495
15512
|
default:
|
|
15496
15513
|
return 'home';
|
|
@@ -15682,7 +15699,7 @@ class LiveboardEmbed extends V1Embed {
|
|
|
15682
15699
|
let params = {};
|
|
15683
15700
|
params[Param.EmbedApp] = true;
|
|
15684
15701
|
params = this.getBaseQueryParams(params);
|
|
15685
|
-
const { enableVizTransformations, fullHeight, defaultHeight, visibleVizs, liveboardV2, vizId, hideTabPanel, activeTabId, hideLiveboardHeader, showLiveboardDescription, showLiveboardTitle, isLiveboardHeaderSticky = true, enableAskSage, enable2ColumnLayout, } = this.viewConfig;
|
|
15702
|
+
const { enableVizTransformations, fullHeight, defaultHeight, visibleVizs, liveboardV2, vizId, hideTabPanel, activeTabId, hideLiveboardHeader, showLiveboardDescription, showLiveboardTitle, isLiveboardHeaderSticky = true, enableAskSage, enable2ColumnLayout, dataPanelV2 = true, } = this.viewConfig;
|
|
15686
15703
|
const preventLiveboardFilterRemoval = this.viewConfig.preventLiveboardFilterRemoval
|
|
15687
15704
|
|| this.viewConfig.preventPinboardFilterRemoval;
|
|
15688
15705
|
if (fullHeight === true) {
|
|
@@ -15726,6 +15743,7 @@ class LiveboardEmbed extends V1Embed {
|
|
|
15726
15743
|
params[Param.enableAskSage] = enableAskSage;
|
|
15727
15744
|
}
|
|
15728
15745
|
params[Param.LiveboardHeaderSticky] = isLiveboardHeaderSticky;
|
|
15746
|
+
params[Param.DataPanelV2Enabled] = dataPanelV2;
|
|
15729
15747
|
const queryParams = getQueryParamString(params, true);
|
|
15730
15748
|
return queryParams;
|
|
15731
15749
|
}
|
package/dist/tsembed-react.js
CHANGED
|
@@ -1262,7 +1262,6 @@
|
|
|
1262
1262
|
/**
|
|
1263
1263
|
* Emitted when a user clicks the **Update TML** action on
|
|
1264
1264
|
* embedded Liveboard.
|
|
1265
|
-
*
|
|
1266
1265
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
1267
1266
|
* @example
|
|
1268
1267
|
*```js
|
|
@@ -1274,7 +1273,6 @@
|
|
|
1274
1273
|
/**
|
|
1275
1274
|
* Emitted when a user clicks the **Edit TML** action
|
|
1276
1275
|
* on an embedded Liveboard.
|
|
1277
|
-
*
|
|
1278
1276
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
1279
1277
|
* @example
|
|
1280
1278
|
*```js
|
|
@@ -1861,20 +1859,16 @@
|
|
|
1861
1859
|
/**
|
|
1862
1860
|
* Trigger the **Export TML** action on an embedded Liveboard or
|
|
1863
1861
|
* Answer.
|
|
1864
|
-
*
|
|
1865
1862
|
* @example
|
|
1866
1863
|
* ```js
|
|
1867
1864
|
* liveboardEmbed.trigger(HostEvent.ExportTML)
|
|
1868
1865
|
* ```
|
|
1869
|
-
*
|
|
1870
1866
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
1871
1867
|
*/
|
|
1872
1868
|
HostEvent["ExportTML"] = "exportTSL";
|
|
1873
1869
|
/**
|
|
1874
1870
|
* Trigger the **Edit TML** action on an embedded Liveboard or
|
|
1875
1871
|
* saved Answers in the full application embedding.
|
|
1876
|
-
*
|
|
1877
|
-
*
|
|
1878
1872
|
* @example
|
|
1879
1873
|
* ```js
|
|
1880
1874
|
* liveboardEmbed.trigger(HostEvent.EditTML)
|
|
@@ -2001,7 +1995,6 @@
|
|
|
2001
1995
|
* This event is not supported in visualization embed and search embed.
|
|
2002
1996
|
* @param - object - To trigger the action for a specific visualization
|
|
2003
1997
|
* in Liveboard embed, pass in `vizId` as a key.
|
|
2004
|
-
*
|
|
2005
1998
|
* @example
|
|
2006
1999
|
* ```js
|
|
2007
2000
|
* liveboardEmbed.trigger(HostEvent.Edit)
|
|
@@ -2268,7 +2261,6 @@
|
|
|
2268
2261
|
/**
|
|
2269
2262
|
* Get details of filters applied on the Liveboard.
|
|
2270
2263
|
* Returns arrays containing Liveboard filter and runtime filter elements.
|
|
2271
|
-
*
|
|
2272
2264
|
* @example
|
|
2273
2265
|
* ```js
|
|
2274
2266
|
* const data = await liveboardEmbed.trigger(HostEvent.GetFilters);
|
|
@@ -2571,6 +2563,7 @@
|
|
|
2571
2563
|
Param["IsOnBeforeGetVizDataInterceptEnabled"] = "isOnBeforeGetVizDataInterceptEnabled";
|
|
2572
2564
|
Param["FocusSearchBarOnRender"] = "focusSearchBarOnRender";
|
|
2573
2565
|
Param["DisableRedirectionLinksInNewTab"] = "disableRedirectionLinksInNewTab";
|
|
2566
|
+
Param["HomePageSearchBarMode"] = "homePageSearchBarMode";
|
|
2574
2567
|
})(Param || (Param = {}));
|
|
2575
2568
|
(function (Action) {
|
|
2576
2569
|
/**
|
|
@@ -2594,7 +2587,6 @@
|
|
|
2594
2587
|
* The **Save as View** action on the Answer
|
|
2595
2588
|
* page. Saves an Answer as a View object in the full
|
|
2596
2589
|
* application embedding mode.
|
|
2597
|
-
*
|
|
2598
2590
|
* @example
|
|
2599
2591
|
* ```js
|
|
2600
2592
|
* disabledActions: [Action.SaveAsView]
|
|
@@ -3052,7 +3044,6 @@
|
|
|
3052
3044
|
/**
|
|
3053
3045
|
* The **Delete** action for Answers in the full application
|
|
3054
3046
|
* embedding mode.
|
|
3055
|
-
*
|
|
3056
3047
|
* @example
|
|
3057
3048
|
* ```js
|
|
3058
3049
|
* disabledActions: [Action.AnswerDelete]
|
|
@@ -3324,9 +3315,6 @@
|
|
|
3324
3315
|
*/
|
|
3325
3316
|
Action["RenameModalTitleDescription"] = "renameModalTitleDescription";
|
|
3326
3317
|
/**
|
|
3327
|
-
*
|
|
3328
|
-
* The **Request Verification** action on the Liveboard.
|
|
3329
|
-
* Triggers a Liveboard verification request.
|
|
3330
3318
|
*
|
|
3331
3319
|
* @example
|
|
3332
3320
|
* ```js
|
|
@@ -3562,6 +3550,16 @@
|
|
|
3562
3550
|
* @version SDK: 1.34.0 | Thoughtspot: 10.3.0.cl
|
|
3563
3551
|
*/
|
|
3564
3552
|
Action["UnsubscribeScheduleHomepage"] = "unsubscribeScheduleHomepage";
|
|
3553
|
+
/**
|
|
3554
|
+
* The **Manage Tags** action on Homepage Favourite Module.
|
|
3555
|
+
*
|
|
3556
|
+
* @example
|
|
3557
|
+
* ```js
|
|
3558
|
+
* disabledActions: [Action.ManageTags]
|
|
3559
|
+
* ```
|
|
3560
|
+
* @version SDK : 1.34.0 | Thoughtspot: 10.3.0.cl
|
|
3561
|
+
*/
|
|
3562
|
+
Action["ManageTags"] = "manageTags";
|
|
3565
3563
|
/**
|
|
3566
3564
|
* Action ID for delete schedule action on schedule on homepage
|
|
3567
3565
|
* @example
|
|
@@ -12794,6 +12792,10 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
12794
12792
|
// Needed to avoid error in CJS builds on some bundlers.
|
|
12795
12793
|
const mixpanelLib = mixpanel_cjs || mixpanel$1;
|
|
12796
12794
|
let mixpanelInstance;
|
|
12795
|
+
/**
|
|
12796
|
+
* Enum of mixpanel events
|
|
12797
|
+
* @hidden
|
|
12798
|
+
*/
|
|
12797
12799
|
const MIXPANEL_EVENT = {
|
|
12798
12800
|
VISUAL_SDK_RENDER_START: 'visual-sdk-render-start',
|
|
12799
12801
|
VISUAL_SDK_CALLED_INIT: 'visual-sdk-called-init',
|
|
@@ -13879,7 +13881,7 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
13879
13881
|
});
|
|
13880
13882
|
}
|
|
13881
13883
|
|
|
13882
|
-
var name="@thoughtspot/visual-embed-sdk";var version="1.32.
|
|
13884
|
+
var name="@thoughtspot/visual-embed-sdk";var version="1.32.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","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","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/lodash":"^4.17.0","@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","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",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,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.js",limit:"48 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};
|
|
13883
13885
|
|
|
13884
13886
|
/**
|
|
13885
13887
|
* Copyright (c) 2022
|
|
@@ -15106,7 +15108,7 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
15106
15108
|
}
|
|
15107
15109
|
getEmbedParams() {
|
|
15108
15110
|
var _a;
|
|
15109
|
-
const { hideResults, enableSearchAssist, forceTable, searchOptions, runtimeFilters, dataSource, dataSources, excludeRuntimeFiltersfromURL, hideSearchBar, dataPanelV2 =
|
|
15111
|
+
const { hideResults, enableSearchAssist, forceTable, searchOptions, runtimeFilters, dataSource, dataSources, excludeRuntimeFiltersfromURL, hideSearchBar, dataPanelV2 = true, useLastSelectedSources = false, runtimeParameters, collapseSearchBarInitially = false, enableCustomColumnGroups = false, isOnBeforeGetVizDataInterceptEnabled = false,
|
|
15110
15112
|
/* eslint-disable-next-line max-len */
|
|
15111
15113
|
dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState.EXPAND_ALL, focusSearchBarOnRender = true, excludeRuntimeParametersfromURL, collapseSearchBar = true, } = this.viewConfig;
|
|
15112
15114
|
const queryParams = this.getBaseQueryParams();
|
|
@@ -15248,6 +15250,10 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
15248
15250
|
* SpotIQ listing page
|
|
15249
15251
|
*/
|
|
15250
15252
|
Page["SpotIQ"] = "insights";
|
|
15253
|
+
/**
|
|
15254
|
+
* Monitor Alerts Page
|
|
15255
|
+
*/
|
|
15256
|
+
Page["Monitor"] = "monitor";
|
|
15251
15257
|
})(exports.Page || (exports.Page = {}));
|
|
15252
15258
|
/**
|
|
15253
15259
|
* Define the initial state os column custom group accordions
|
|
@@ -15268,6 +15274,12 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
15268
15274
|
*/
|
|
15269
15275
|
DataPanelCustomColumnGroupsAccordionState["EXPAND_FIRST"] = "EXPAND_FIRST";
|
|
15270
15276
|
})(DataPanelCustomColumnGroupsAccordionState$1 || (DataPanelCustomColumnGroupsAccordionState$1 = {}));
|
|
15277
|
+
var HomePageSearchBarMode;
|
|
15278
|
+
(function (HomePageSearchBarMode) {
|
|
15279
|
+
HomePageSearchBarMode["OBJECT_SEARCH"] = "objectSearch";
|
|
15280
|
+
HomePageSearchBarMode["AI_ANSWER"] = "aiAnswer";
|
|
15281
|
+
HomePageSearchBarMode["NONE"] = "none";
|
|
15282
|
+
})(HomePageSearchBarMode || (HomePageSearchBarMode = {}));
|
|
15271
15283
|
/**
|
|
15272
15284
|
* Embeds full ThoughtSpot experience in a host application.
|
|
15273
15285
|
* @group Embed components
|
|
@@ -15308,9 +15320,9 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
15308
15320
|
* embedded Liveboard or visualization.
|
|
15309
15321
|
*/
|
|
15310
15322
|
getEmbedParams() {
|
|
15311
|
-
const { tag, hideObjects, liveboardV2, showPrimaryNavbar, disableProfileAndHelp, hideApplicationSwitcher, hideOrgSwitcher, enableSearchAssist, fullHeight, dataPanelV2 =
|
|
15323
|
+
const { tag, hideObjects, liveboardV2, showPrimaryNavbar, disableProfileAndHelp, hideApplicationSwitcher, hideOrgSwitcher, enableSearchAssist, fullHeight, dataPanelV2 = true, hideLiveboardHeader = false, showLiveboardTitle = true, showLiveboardDescription = true, hideHomepageLeftNav = false, modularHomeExperience = false, isLiveboardHeaderSticky = true, enableAskSage, collapseSearchBarInitially = false, enable2ColumnLayout, enableCustomColumnGroups = false, isOnBeforeGetVizDataInterceptEnabled = false,
|
|
15312
15324
|
/* eslint-disable-next-line max-len */
|
|
15313
|
-
dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState$1.EXPAND_ALL, collapseSearchBar = true, } = this.viewConfig;
|
|
15325
|
+
dataPanelCustomGroupsAccordionInitialState = DataPanelCustomColumnGroupsAccordionState$1.EXPAND_ALL, collapseSearchBar = true, homePageSearchBarMode, } = this.viewConfig;
|
|
15314
15326
|
let params = {};
|
|
15315
15327
|
params[Param.EmbedApp] = true;
|
|
15316
15328
|
params[Param.PrimaryNavHidden] = !showPrimaryNavbar;
|
|
@@ -15348,6 +15360,9 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
15348
15360
|
/* eslint-disable-next-line max-len */
|
|
15349
15361
|
params[Param.IsOnBeforeGetVizDataInterceptEnabled] = isOnBeforeGetVizDataInterceptEnabled;
|
|
15350
15362
|
}
|
|
15363
|
+
if (homePageSearchBarMode) {
|
|
15364
|
+
params[Param.HomePageSearchBarMode] = homePageSearchBarMode;
|
|
15365
|
+
}
|
|
15351
15366
|
params[Param.DataPanelV2Enabled] = dataPanelV2;
|
|
15352
15367
|
params[Param.HideHomepageLeftNav] = hideHomepageLeftNav;
|
|
15353
15368
|
params[Param.ModularHomeExperienceEnabled] = modularHomeExperience;
|
|
@@ -15398,6 +15413,8 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
15398
15413
|
return 'data/tables';
|
|
15399
15414
|
case exports.Page.SpotIQ:
|
|
15400
15415
|
return modularHomeExperience ? 'home/spotiq-analysis' : 'insights/results';
|
|
15416
|
+
case exports.Page.Monitor:
|
|
15417
|
+
return modularHomeExperience ? 'home/monitor-alerts' : 'insights/monitor-alerts';
|
|
15401
15418
|
case exports.Page.Home:
|
|
15402
15419
|
default:
|
|
15403
15420
|
return 'home';
|
|
@@ -15589,7 +15606,7 @@ query GetEurekaVizSnapshots(
|
|
|
15589
15606
|
let params = {};
|
|
15590
15607
|
params[Param.EmbedApp] = true;
|
|
15591
15608
|
params = this.getBaseQueryParams(params);
|
|
15592
|
-
const { enableVizTransformations, fullHeight, defaultHeight, visibleVizs, liveboardV2, vizId, hideTabPanel, activeTabId, hideLiveboardHeader, showLiveboardDescription, showLiveboardTitle, isLiveboardHeaderSticky = true, enableAskSage, enable2ColumnLayout, } = this.viewConfig;
|
|
15609
|
+
const { enableVizTransformations, fullHeight, defaultHeight, visibleVizs, liveboardV2, vizId, hideTabPanel, activeTabId, hideLiveboardHeader, showLiveboardDescription, showLiveboardTitle, isLiveboardHeaderSticky = true, enableAskSage, enable2ColumnLayout, dataPanelV2 = true, } = this.viewConfig;
|
|
15593
15610
|
const preventLiveboardFilterRemoval = this.viewConfig.preventLiveboardFilterRemoval
|
|
15594
15611
|
|| this.viewConfig.preventPinboardFilterRemoval;
|
|
15595
15612
|
if (fullHeight === true) {
|
|
@@ -15633,6 +15650,7 @@ query GetEurekaVizSnapshots(
|
|
|
15633
15650
|
params[Param.enableAskSage] = enableAskSage;
|
|
15634
15651
|
}
|
|
15635
15652
|
params[Param.LiveboardHeaderSticky] = isLiveboardHeaderSticky;
|
|
15653
|
+
params[Param.DataPanelV2Enabled] = dataPanelV2;
|
|
15636
15654
|
const queryParams = getQueryParamString(params, true);
|
|
15637
15655
|
return queryParams;
|
|
15638
15656
|
}
|