@thoughtspot/visual-embed-sdk 1.35.11 → 1.35.12
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/embed/liveboard.d.ts +5 -4
- package/cjs/src/embed/liveboard.d.ts.map +1 -1
- package/cjs/src/embed/liveboard.js +3 -2
- package/cjs/src/embed/liveboard.js.map +1 -1
- package/cjs/src/embed/liveboard.spec.js +1 -1
- package/cjs/src/embed/liveboard.spec.js.map +1 -1
- package/cjs/src/embed/ts-embed.d.ts.map +1 -1
- package/cjs/src/embed/ts-embed.js +5 -2
- package/cjs/src/embed/ts-embed.js.map +1 -1
- package/cjs/src/embed/ts-embed.spec.d.ts.map +1 -1
- package/cjs/src/embed/ts-embed.spec.js +110 -0
- package/cjs/src/embed/ts-embed.spec.js.map +1 -1
- package/cjs/src/types.d.ts +45 -6
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +45 -2
- package/cjs/src/types.js.map +1 -1
- package/dist/index-D-9WUCUl.js +7370 -0
- package/dist/src/embed/liveboard.d.ts +5 -4
- package/dist/src/embed/liveboard.d.ts.map +1 -1
- package/dist/src/embed/ts-embed.d.ts.map +1 -1
- package/dist/src/embed/ts-embed.spec.d.ts.map +1 -1
- package/dist/src/types.d.ts +45 -6
- package/dist/src/types.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +56 -9
- package/dist/tsembed-react.js +55 -8
- package/dist/tsembed.es.js +56 -9
- package/dist/tsembed.js +55 -8
- package/dist/visual-embed-sdk-react-full.d.ts +49 -9
- package/dist/visual-embed-sdk-react.d.ts +49 -9
- package/dist/visual-embed-sdk.d.ts +49 -9
- package/lib/package.json +1 -1
- package/lib/src/embed/liveboard.d.ts +5 -4
- package/lib/src/embed/liveboard.d.ts.map +1 -1
- package/lib/src/embed/liveboard.js +3 -2
- package/lib/src/embed/liveboard.js.map +1 -1
- package/lib/src/embed/liveboard.spec.js +1 -1
- package/lib/src/embed/liveboard.spec.js.map +1 -1
- package/lib/src/embed/ts-embed.d.ts.map +1 -1
- package/lib/src/embed/ts-embed.js +5 -2
- package/lib/src/embed/ts-embed.js.map +1 -1
- package/lib/src/embed/ts-embed.spec.d.ts.map +1 -1
- package/lib/src/embed/ts-embed.spec.js +111 -1
- package/lib/src/embed/ts-embed.spec.js.map +1 -1
- package/lib/src/types.d.ts +45 -6
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +45 -2
- package/lib/src/types.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +50 -10
- package/package.json +1 -1
- package/src/embed/liveboard.spec.ts +1 -1
- package/src/embed/liveboard.ts +9 -8
- package/src/embed/ts-embed.spec.ts +160 -1
- package/src/embed/ts-embed.ts +4 -4
- package/src/types.ts +47 -3
package/dist/tsembed.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @thoughtspot/visual-embed-sdk version 1.35.
|
|
1
|
+
/* @thoughtspot/visual-embed-sdk version 1.35.12 */
|
|
2
2
|
function _mergeNamespaces(n, m) {
|
|
3
3
|
m.forEach(function (e) {
|
|
4
4
|
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
|
|
@@ -1629,6 +1629,23 @@ var EmbedEvent;
|
|
|
1629
1629
|
* @version SDK : 1.29.0 | ThoughtSpot : 10.3.0.cl
|
|
1630
1630
|
*/
|
|
1631
1631
|
EmbedEvent["ParameterChanged"] = "parameterChanged";
|
|
1632
|
+
/**
|
|
1633
|
+
* Emitted when the table viz renders.
|
|
1634
|
+
* You can use this event as a hook to trigger
|
|
1635
|
+
* other events on the rendered table viz data.
|
|
1636
|
+
* @example
|
|
1637
|
+
* ```js
|
|
1638
|
+
* searchEmbed.on(EmbedEvent.TableVizRendered, (payload) => {
|
|
1639
|
+
* console.log(payload);
|
|
1640
|
+
* const columnDataLite = payload.data.data.columnDataLite;
|
|
1641
|
+
* columnDataLite[0].dataValue[0]="new fob";
|
|
1642
|
+
* console.log('>>> new Data', columnDataLite);
|
|
1643
|
+
* searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
|
|
1644
|
+
* })
|
|
1645
|
+
* ```
|
|
1646
|
+
* @version SDK: 1.35.12 | ThoughtSpot: 10.7.0.cl
|
|
1647
|
+
*/
|
|
1648
|
+
EmbedEvent["TableVizRendered"] = "TableVizRendered";
|
|
1632
1649
|
})(EmbedEvent || (EmbedEvent = {}));
|
|
1633
1650
|
/**
|
|
1634
1651
|
* Event types that can be triggered by the host application
|
|
@@ -2039,7 +2056,7 @@ var HostEvent;
|
|
|
2039
2056
|
* @param - an object with `vizId` as a key
|
|
2040
2057
|
* @example
|
|
2041
2058
|
* ```js
|
|
2042
|
-
* liveboardEmbed.trigger(HostEvent.CreateMonitor {
|
|
2059
|
+
* liveboardEmbed.trigger(HostEvent.CreateMonitor, {
|
|
2043
2060
|
* vizId: '730496d6-6903-4601-937e-2c691821af3c'
|
|
2044
2061
|
* })
|
|
2045
2062
|
* ```
|
|
@@ -2572,6 +2589,25 @@ var HostEvent;
|
|
|
2572
2589
|
* @hidden
|
|
2573
2590
|
*/
|
|
2574
2591
|
HostEvent["UIPassthrough"] = "UiPassthrough";
|
|
2592
|
+
/**
|
|
2593
|
+
* Triggers the table viz rerender with the updated data.
|
|
2594
|
+
* Includes the following properties:
|
|
2595
|
+
* @param - columnDataLite - an array of object containing data
|
|
2596
|
+
* transformed from data picked from TableVizRendered event.
|
|
2597
|
+
* For example, { columnDataLite: []}
|
|
2598
|
+
* @example
|
|
2599
|
+
* ```js
|
|
2600
|
+
* searchEmbed.on(EmbedEvent.TableVizRendered, (payload) => {
|
|
2601
|
+
* console.log(payload);
|
|
2602
|
+
* const columnDataLite = payload.data.data.columnDataLite;
|
|
2603
|
+
* columnDataLite[0].dataValue[0]="new fob";
|
|
2604
|
+
* console.log('>>> new Data', columnDataLite);
|
|
2605
|
+
* searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
|
|
2606
|
+
* })
|
|
2607
|
+
* ```
|
|
2608
|
+
* @version SDK: 1.35.12 | ThoughtSpot: 10.7.0.cl
|
|
2609
|
+
*/
|
|
2610
|
+
HostEvent["TransformTableVizData"] = "TransformTableVizData";
|
|
2575
2611
|
})(HostEvent || (HostEvent = {}));
|
|
2576
2612
|
/**
|
|
2577
2613
|
* The different visual modes that the data sources panel within
|
|
@@ -2638,7 +2674,12 @@ var Param;
|
|
|
2638
2674
|
Param["AuthType"] = "authType";
|
|
2639
2675
|
Param["IconSpriteUrl"] = "iconSprite";
|
|
2640
2676
|
Param["cookieless"] = "cookieless";
|
|
2641
|
-
|
|
2677
|
+
// Deprecated: `isContextMenuEnabledOnLeftClick`
|
|
2678
|
+
// Introduced: `contextMenuEnabledOnWhichClick` with values: 'left',
|
|
2679
|
+
// 'right', or 'both'. This update only affects ThoughtSpot URL parameters
|
|
2680
|
+
// and does not impact existing workflows or use cases. Added support for
|
|
2681
|
+
// 'both' clicks in `contextMenuTrigger` configuration.
|
|
2682
|
+
Param["ContextMenuTrigger"] = "contextMenuEnabledOnWhichClick";
|
|
2642
2683
|
Param["LinkOverride"] = "linkOverride";
|
|
2643
2684
|
Param["blockNonEmbedFullAppAccess"] = "blockNonEmbedFullAppAccess";
|
|
2644
2685
|
Param["ShowInsertToSlide"] = "insertInToSlide";
|
|
@@ -3895,11 +3936,13 @@ var PrefetchFeatures;
|
|
|
3895
3936
|
})(PrefetchFeatures || (PrefetchFeatures = {}));
|
|
3896
3937
|
/**
|
|
3897
3938
|
* Enum for options to change context trigger
|
|
3939
|
+
* BOTH_CLICKS option is introduced in 10.7
|
|
3898
3940
|
*/
|
|
3899
3941
|
var ContextMenuTriggerOptions;
|
|
3900
3942
|
(function (ContextMenuTriggerOptions) {
|
|
3901
3943
|
ContextMenuTriggerOptions["LEFT_CLICK"] = "left-click";
|
|
3902
3944
|
ContextMenuTriggerOptions["RIGHT_CLICK"] = "right-click";
|
|
3945
|
+
ContextMenuTriggerOptions["BOTH_CLICKS"] = "both-clicks";
|
|
3903
3946
|
})(ContextMenuTriggerOptions || (ContextMenuTriggerOptions = {}));
|
|
3904
3947
|
var LogLevel;
|
|
3905
3948
|
(function (LogLevel) {
|
|
@@ -7156,7 +7199,7 @@ class AnswerService {
|
|
|
7156
7199
|
async getTML() {
|
|
7157
7200
|
const { object } = await this.executeQuery(getAnswerTML, {});
|
|
7158
7201
|
const edoc = object[0].edoc;
|
|
7159
|
-
const YAML = await import('./index-
|
|
7202
|
+
const YAML = await import('./index-D-9WUCUl.js');
|
|
7160
7203
|
const parsedDoc = YAML.parse(edoc);
|
|
7161
7204
|
return {
|
|
7162
7205
|
answer: {
|
|
@@ -14842,7 +14885,7 @@ function processEventData(type, e, thoughtSpotHost, containerEl) {
|
|
|
14842
14885
|
return e;
|
|
14843
14886
|
}
|
|
14844
14887
|
|
|
14845
|
-
var name="@thoughtspot/visual-embed-sdk";var version$1="1.35.
|
|
14888
|
+
var name="@thoughtspot/visual-embed-sdk";var version$1="1.35.12";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",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-comment-length":"1.7.3","eslint-plugin-jsdoc":"^46.9.0","fs-extra":"^10.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^5.3.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"31 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
|
|
14846
14889
|
|
|
14847
14890
|
/**
|
|
14848
14891
|
* Reloads the ThoughtSpot iframe.
|
|
@@ -15363,10 +15406,13 @@ class TsEmbed {
|
|
|
15363
15406
|
* menu click
|
|
15364
15407
|
*/
|
|
15365
15408
|
if (contextMenuTrigger === ContextMenuTriggerOptions.LEFT_CLICK) {
|
|
15366
|
-
queryParams[Param.ContextMenuTrigger] =
|
|
15409
|
+
queryParams[Param.ContextMenuTrigger] = 'left';
|
|
15367
15410
|
}
|
|
15368
15411
|
else if (contextMenuTrigger === ContextMenuTriggerOptions.RIGHT_CLICK) {
|
|
15369
|
-
queryParams[Param.ContextMenuTrigger] =
|
|
15412
|
+
queryParams[Param.ContextMenuTrigger] = 'right';
|
|
15413
|
+
}
|
|
15414
|
+
else if (contextMenuTrigger === ContextMenuTriggerOptions.BOTH_CLICKS) {
|
|
15415
|
+
queryParams[Param.ContextMenuTrigger] = 'both';
|
|
15370
15416
|
}
|
|
15371
15417
|
const spriteUrl = (customizations === null || customizations === void 0 ? void 0 : customizations.iconSpriteUrl)
|
|
15372
15418
|
|| ((_c = this.embedConfig.customizations) === null || _c === void 0 ? void 0 : _c.iconSpriteUrl);
|
|
@@ -16638,8 +16684,9 @@ class LiveboardEmbed extends V1Embed {
|
|
|
16638
16684
|
}
|
|
16639
16685
|
/**
|
|
16640
16686
|
* Triggers an event to the embedded app
|
|
16641
|
-
* @param messageType The event type
|
|
16642
|
-
* @param data The payload to send with the message
|
|
16687
|
+
* @param {HostEvent} messageType The event type
|
|
16688
|
+
* @param {any} data The payload to send with the message
|
|
16689
|
+
* @returns A promise that resolves with the response from the embedded app
|
|
16643
16690
|
*/
|
|
16644
16691
|
trigger(messageType, data = {}) {
|
|
16645
16692
|
const dataWithVizId = data;
|
package/dist/tsembed.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @thoughtspot/visual-embed-sdk version 1.35.
|
|
1
|
+
/* @thoughtspot/visual-embed-sdk version 1.35.12 */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
@@ -1635,6 +1635,23 @@
|
|
|
1635
1635
|
* @version SDK : 1.29.0 | ThoughtSpot : 10.3.0.cl
|
|
1636
1636
|
*/
|
|
1637
1637
|
EmbedEvent["ParameterChanged"] = "parameterChanged";
|
|
1638
|
+
/**
|
|
1639
|
+
* Emitted when the table viz renders.
|
|
1640
|
+
* You can use this event as a hook to trigger
|
|
1641
|
+
* other events on the rendered table viz data.
|
|
1642
|
+
* @example
|
|
1643
|
+
* ```js
|
|
1644
|
+
* searchEmbed.on(EmbedEvent.TableVizRendered, (payload) => {
|
|
1645
|
+
* console.log(payload);
|
|
1646
|
+
* const columnDataLite = payload.data.data.columnDataLite;
|
|
1647
|
+
* columnDataLite[0].dataValue[0]="new fob";
|
|
1648
|
+
* console.log('>>> new Data', columnDataLite);
|
|
1649
|
+
* searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
|
|
1650
|
+
* })
|
|
1651
|
+
* ```
|
|
1652
|
+
* @version SDK: 1.35.12 | ThoughtSpot: 10.7.0.cl
|
|
1653
|
+
*/
|
|
1654
|
+
EmbedEvent["TableVizRendered"] = "TableVizRendered";
|
|
1638
1655
|
})(exports.EmbedEvent || (exports.EmbedEvent = {}));
|
|
1639
1656
|
/**
|
|
1640
1657
|
* Event types that can be triggered by the host application
|
|
@@ -2045,7 +2062,7 @@
|
|
|
2045
2062
|
* @param - an object with `vizId` as a key
|
|
2046
2063
|
* @example
|
|
2047
2064
|
* ```js
|
|
2048
|
-
* liveboardEmbed.trigger(HostEvent.CreateMonitor {
|
|
2065
|
+
* liveboardEmbed.trigger(HostEvent.CreateMonitor, {
|
|
2049
2066
|
* vizId: '730496d6-6903-4601-937e-2c691821af3c'
|
|
2050
2067
|
* })
|
|
2051
2068
|
* ```
|
|
@@ -2578,6 +2595,25 @@
|
|
|
2578
2595
|
* @hidden
|
|
2579
2596
|
*/
|
|
2580
2597
|
HostEvent["UIPassthrough"] = "UiPassthrough";
|
|
2598
|
+
/**
|
|
2599
|
+
* Triggers the table viz rerender with the updated data.
|
|
2600
|
+
* Includes the following properties:
|
|
2601
|
+
* @param - columnDataLite - an array of object containing data
|
|
2602
|
+
* transformed from data picked from TableVizRendered event.
|
|
2603
|
+
* For example, { columnDataLite: []}
|
|
2604
|
+
* @example
|
|
2605
|
+
* ```js
|
|
2606
|
+
* searchEmbed.on(EmbedEvent.TableVizRendered, (payload) => {
|
|
2607
|
+
* console.log(payload);
|
|
2608
|
+
* const columnDataLite = payload.data.data.columnDataLite;
|
|
2609
|
+
* columnDataLite[0].dataValue[0]="new fob";
|
|
2610
|
+
* console.log('>>> new Data', columnDataLite);
|
|
2611
|
+
* searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
|
|
2612
|
+
* })
|
|
2613
|
+
* ```
|
|
2614
|
+
* @version SDK: 1.35.12 | ThoughtSpot: 10.7.0.cl
|
|
2615
|
+
*/
|
|
2616
|
+
HostEvent["TransformTableVizData"] = "TransformTableVizData";
|
|
2581
2617
|
})(exports.HostEvent || (exports.HostEvent = {}));
|
|
2582
2618
|
/**
|
|
2583
2619
|
* The different visual modes that the data sources panel within
|
|
@@ -2644,7 +2680,12 @@
|
|
|
2644
2680
|
Param["AuthType"] = "authType";
|
|
2645
2681
|
Param["IconSpriteUrl"] = "iconSprite";
|
|
2646
2682
|
Param["cookieless"] = "cookieless";
|
|
2647
|
-
|
|
2683
|
+
// Deprecated: `isContextMenuEnabledOnLeftClick`
|
|
2684
|
+
// Introduced: `contextMenuEnabledOnWhichClick` with values: 'left',
|
|
2685
|
+
// 'right', or 'both'. This update only affects ThoughtSpot URL parameters
|
|
2686
|
+
// and does not impact existing workflows or use cases. Added support for
|
|
2687
|
+
// 'both' clicks in `contextMenuTrigger` configuration.
|
|
2688
|
+
Param["ContextMenuTrigger"] = "contextMenuEnabledOnWhichClick";
|
|
2648
2689
|
Param["LinkOverride"] = "linkOverride";
|
|
2649
2690
|
Param["blockNonEmbedFullAppAccess"] = "blockNonEmbedFullAppAccess";
|
|
2650
2691
|
Param["ShowInsertToSlide"] = "insertInToSlide";
|
|
@@ -3901,11 +3942,13 @@
|
|
|
3901
3942
|
})(exports.PrefetchFeatures || (exports.PrefetchFeatures = {}));
|
|
3902
3943
|
/**
|
|
3903
3944
|
* Enum for options to change context trigger
|
|
3945
|
+
* BOTH_CLICKS option is introduced in 10.7
|
|
3904
3946
|
*/
|
|
3905
3947
|
exports.ContextMenuTriggerOptions = void 0;
|
|
3906
3948
|
(function (ContextMenuTriggerOptions) {
|
|
3907
3949
|
ContextMenuTriggerOptions["LEFT_CLICK"] = "left-click";
|
|
3908
3950
|
ContextMenuTriggerOptions["RIGHT_CLICK"] = "right-click";
|
|
3951
|
+
ContextMenuTriggerOptions["BOTH_CLICKS"] = "both-clicks";
|
|
3909
3952
|
})(exports.ContextMenuTriggerOptions || (exports.ContextMenuTriggerOptions = {}));
|
|
3910
3953
|
exports.LogLevel = void 0;
|
|
3911
3954
|
(function (LogLevel) {
|
|
@@ -14848,7 +14891,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
14848
14891
|
return e;
|
|
14849
14892
|
}
|
|
14850
14893
|
|
|
14851
|
-
var name="@thoughtspot/visual-embed-sdk";var version$1="1.35.
|
|
14894
|
+
var name="@thoughtspot/visual-embed-sdk";var version$1="1.35.12";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",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-comment-length":"1.7.3","eslint-plugin-jsdoc":"^46.9.0","fs-extra":"^10.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^5.3.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"31 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
|
|
14852
14895
|
|
|
14853
14896
|
/**
|
|
14854
14897
|
* Reloads the ThoughtSpot iframe.
|
|
@@ -15369,10 +15412,13 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
15369
15412
|
* menu click
|
|
15370
15413
|
*/
|
|
15371
15414
|
if (contextMenuTrigger === exports.ContextMenuTriggerOptions.LEFT_CLICK) {
|
|
15372
|
-
queryParams[Param.ContextMenuTrigger] =
|
|
15415
|
+
queryParams[Param.ContextMenuTrigger] = 'left';
|
|
15373
15416
|
}
|
|
15374
15417
|
else if (contextMenuTrigger === exports.ContextMenuTriggerOptions.RIGHT_CLICK) {
|
|
15375
|
-
queryParams[Param.ContextMenuTrigger] =
|
|
15418
|
+
queryParams[Param.ContextMenuTrigger] = 'right';
|
|
15419
|
+
}
|
|
15420
|
+
else if (contextMenuTrigger === exports.ContextMenuTriggerOptions.BOTH_CLICKS) {
|
|
15421
|
+
queryParams[Param.ContextMenuTrigger] = 'both';
|
|
15376
15422
|
}
|
|
15377
15423
|
const spriteUrl = (customizations === null || customizations === void 0 ? void 0 : customizations.iconSpriteUrl)
|
|
15378
15424
|
|| ((_c = this.embedConfig.customizations) === null || _c === void 0 ? void 0 : _c.iconSpriteUrl);
|
|
@@ -16644,8 +16690,9 @@ query GetEurekaVizSnapshots(
|
|
|
16644
16690
|
}
|
|
16645
16691
|
/**
|
|
16646
16692
|
* Triggers an event to the embedded app
|
|
16647
|
-
* @param messageType The event type
|
|
16648
|
-
* @param data The payload to send with the message
|
|
16693
|
+
* @param {HostEvent} messageType The event type
|
|
16694
|
+
* @param {any} data The payload to send with the message
|
|
16695
|
+
* @returns A promise that resolves with the response from the embedded app
|
|
16649
16696
|
*/
|
|
16650
16697
|
trigger(messageType, data = {}) {
|
|
16651
16698
|
const dataWithVizId = data;
|
|
@@ -1698,10 +1698,11 @@ export declare class LiveboardEmbed extends V1Embed {
|
|
|
1698
1698
|
protected handleRenderForPrerender(): void;
|
|
1699
1699
|
/**
|
|
1700
1700
|
* Triggers an event to the embedded app
|
|
1701
|
-
* @param messageType The event type
|
|
1702
|
-
* @param data The payload to send with the message
|
|
1701
|
+
* @param {HostEvent} messageType The event type
|
|
1702
|
+
* @param {any} data The payload to send with the message
|
|
1703
|
+
* @returns A promise that resolves with the response from the embedded app
|
|
1703
1704
|
*/
|
|
1704
|
-
trigger<HostEventT extends HostEvent>(messageType: HostEventT, data?:
|
|
1705
|
+
trigger<HostEventT extends HostEvent, PayloadT>(messageType: HostEventT, data?: TriggerPayload<PayloadT, HostEventT>): Promise<TriggerResponse<PayloadT, HostEventT>>;
|
|
1705
1706
|
/**
|
|
1706
1707
|
* Render an embedded ThoughtSpot Liveboard or visualization
|
|
1707
1708
|
* @param renderOptions An object specifying the Liveboard ID,
|
|
@@ -3304,7 +3305,8 @@ export interface ViewConfig {
|
|
|
3304
3305
|
*/
|
|
3305
3306
|
overrideOrgId?: number;
|
|
3306
3307
|
/**
|
|
3307
|
-
* Flag to
|
|
3308
|
+
* Flag to enhance the visual effects of charts
|
|
3309
|
+
* This feature is a beta release for 10.6
|
|
3308
3310
|
* @default false
|
|
3309
3311
|
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
|
|
3310
3312
|
*/
|
|
@@ -4465,7 +4467,24 @@ export declare enum EmbedEvent {
|
|
|
4465
4467
|
*```
|
|
4466
4468
|
* @version SDK : 1.29.0 | ThoughtSpot : 10.3.0.cl
|
|
4467
4469
|
*/
|
|
4468
|
-
ParameterChanged = "parameterChanged"
|
|
4470
|
+
ParameterChanged = "parameterChanged",
|
|
4471
|
+
/**
|
|
4472
|
+
* Emitted when the table viz renders.
|
|
4473
|
+
* You can use this event as a hook to trigger
|
|
4474
|
+
* other events on the rendered table viz data.
|
|
4475
|
+
* @example
|
|
4476
|
+
* ```js
|
|
4477
|
+
* searchEmbed.on(EmbedEvent.TableVizRendered, (payload) => {
|
|
4478
|
+
* console.log(payload);
|
|
4479
|
+
* const columnDataLite = payload.data.data.columnDataLite;
|
|
4480
|
+
* columnDataLite[0].dataValue[0]="new fob";
|
|
4481
|
+
* console.log('>>> new Data', columnDataLite);
|
|
4482
|
+
* searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
|
|
4483
|
+
* })
|
|
4484
|
+
* ```
|
|
4485
|
+
* @version SDK: 1.35.12 | ThoughtSpot: 10.7.0.cl
|
|
4486
|
+
*/
|
|
4487
|
+
TableVizRendered = "TableVizRendered"
|
|
4469
4488
|
}
|
|
4470
4489
|
/**
|
|
4471
4490
|
* Event types that can be triggered by the host application
|
|
@@ -4874,7 +4893,7 @@ export declare enum HostEvent {
|
|
|
4874
4893
|
* @param - an object with `vizId` as a key
|
|
4875
4894
|
* @example
|
|
4876
4895
|
* ```js
|
|
4877
|
-
* liveboardEmbed.trigger(HostEvent.CreateMonitor {
|
|
4896
|
+
* liveboardEmbed.trigger(HostEvent.CreateMonitor, {
|
|
4878
4897
|
* vizId: '730496d6-6903-4601-937e-2c691821af3c'
|
|
4879
4898
|
* })
|
|
4880
4899
|
* ```
|
|
@@ -5406,7 +5425,26 @@ export declare enum HostEvent {
|
|
|
5406
5425
|
* EmbedApi
|
|
5407
5426
|
* @hidden
|
|
5408
5427
|
*/
|
|
5409
|
-
UIPassthrough = "UiPassthrough"
|
|
5428
|
+
UIPassthrough = "UiPassthrough",
|
|
5429
|
+
/**
|
|
5430
|
+
* Triggers the table viz rerender with the updated data.
|
|
5431
|
+
* Includes the following properties:
|
|
5432
|
+
* @param - columnDataLite - an array of object containing data
|
|
5433
|
+
* transformed from data picked from TableVizRendered event.
|
|
5434
|
+
* For example, { columnDataLite: []}
|
|
5435
|
+
* @example
|
|
5436
|
+
* ```js
|
|
5437
|
+
* searchEmbed.on(EmbedEvent.TableVizRendered, (payload) => {
|
|
5438
|
+
* console.log(payload);
|
|
5439
|
+
* const columnDataLite = payload.data.data.columnDataLite;
|
|
5440
|
+
* columnDataLite[0].dataValue[0]="new fob";
|
|
5441
|
+
* console.log('>>> new Data', columnDataLite);
|
|
5442
|
+
* searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
|
|
5443
|
+
* })
|
|
5444
|
+
* ```
|
|
5445
|
+
* @version SDK: 1.35.12 | ThoughtSpot: 10.7.0.cl
|
|
5446
|
+
*/
|
|
5447
|
+
TransformTableVizData = "TransformTableVizData"
|
|
5410
5448
|
}
|
|
5411
5449
|
/**
|
|
5412
5450
|
* The different visual modes that the data sources panel within
|
|
@@ -5468,7 +5506,7 @@ export declare enum Param {
|
|
|
5468
5506
|
AuthType = "authType",
|
|
5469
5507
|
IconSpriteUrl = "iconSprite",
|
|
5470
5508
|
cookieless = "cookieless",
|
|
5471
|
-
ContextMenuTrigger = "
|
|
5509
|
+
ContextMenuTrigger = "contextMenuEnabledOnWhichClick",
|
|
5472
5510
|
LinkOverride = "linkOverride",
|
|
5473
5511
|
blockNonEmbedFullAppAccess = "blockNonEmbedFullAppAccess",
|
|
5474
5512
|
ShowInsertToSlide = "insertInToSlide",
|
|
@@ -6725,10 +6763,12 @@ export declare enum PrefetchFeatures {
|
|
|
6725
6763
|
}
|
|
6726
6764
|
/**
|
|
6727
6765
|
* Enum for options to change context trigger
|
|
6766
|
+
* BOTH_CLICKS option is introduced in 10.7
|
|
6728
6767
|
*/
|
|
6729
6768
|
export declare enum ContextMenuTriggerOptions {
|
|
6730
6769
|
LEFT_CLICK = "left-click",
|
|
6731
|
-
RIGHT_CLICK = "right-click"
|
|
6770
|
+
RIGHT_CLICK = "right-click",
|
|
6771
|
+
BOTH_CLICKS = "both-clicks"
|
|
6732
6772
|
}
|
|
6733
6773
|
export interface ColumnValue {
|
|
6734
6774
|
column: {
|
|
@@ -1688,10 +1688,11 @@ export declare class LiveboardEmbed extends V1Embed {
|
|
|
1688
1688
|
protected handleRenderForPrerender(): void;
|
|
1689
1689
|
/**
|
|
1690
1690
|
* Triggers an event to the embedded app
|
|
1691
|
-
* @param messageType The event type
|
|
1692
|
-
* @param data The payload to send with the message
|
|
1691
|
+
* @param {HostEvent} messageType The event type
|
|
1692
|
+
* @param {any} data The payload to send with the message
|
|
1693
|
+
* @returns A promise that resolves with the response from the embedded app
|
|
1693
1694
|
*/
|
|
1694
|
-
trigger<HostEventT extends HostEvent>(messageType: HostEventT, data?:
|
|
1695
|
+
trigger<HostEventT extends HostEvent, PayloadT>(messageType: HostEventT, data?: TriggerPayload<PayloadT, HostEventT>): Promise<TriggerResponse<PayloadT, HostEventT>>;
|
|
1695
1696
|
/**
|
|
1696
1697
|
* Render an embedded ThoughtSpot Liveboard or visualization
|
|
1697
1698
|
* @param renderOptions An object specifying the Liveboard ID,
|
|
@@ -2896,7 +2897,8 @@ export interface ViewConfig {
|
|
|
2896
2897
|
*/
|
|
2897
2898
|
overrideOrgId?: number;
|
|
2898
2899
|
/**
|
|
2899
|
-
* Flag to
|
|
2900
|
+
* Flag to enhance the visual effects of charts
|
|
2901
|
+
* This feature is a beta release for 10.6
|
|
2900
2902
|
* @default false
|
|
2901
2903
|
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
|
|
2902
2904
|
*/
|
|
@@ -4057,7 +4059,24 @@ export declare enum EmbedEvent {
|
|
|
4057
4059
|
*```
|
|
4058
4060
|
* @version SDK : 1.29.0 | ThoughtSpot : 10.3.0.cl
|
|
4059
4061
|
*/
|
|
4060
|
-
ParameterChanged = "parameterChanged"
|
|
4062
|
+
ParameterChanged = "parameterChanged",
|
|
4063
|
+
/**
|
|
4064
|
+
* Emitted when the table viz renders.
|
|
4065
|
+
* You can use this event as a hook to trigger
|
|
4066
|
+
* other events on the rendered table viz data.
|
|
4067
|
+
* @example
|
|
4068
|
+
* ```js
|
|
4069
|
+
* searchEmbed.on(EmbedEvent.TableVizRendered, (payload) => {
|
|
4070
|
+
* console.log(payload);
|
|
4071
|
+
* const columnDataLite = payload.data.data.columnDataLite;
|
|
4072
|
+
* columnDataLite[0].dataValue[0]="new fob";
|
|
4073
|
+
* console.log('>>> new Data', columnDataLite);
|
|
4074
|
+
* searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
|
|
4075
|
+
* })
|
|
4076
|
+
* ```
|
|
4077
|
+
* @version SDK: 1.35.12 | ThoughtSpot: 10.7.0.cl
|
|
4078
|
+
*/
|
|
4079
|
+
TableVizRendered = "TableVizRendered"
|
|
4061
4080
|
}
|
|
4062
4081
|
/**
|
|
4063
4082
|
* Event types that can be triggered by the host application
|
|
@@ -4466,7 +4485,7 @@ export declare enum HostEvent {
|
|
|
4466
4485
|
* @param - an object with `vizId` as a key
|
|
4467
4486
|
* @example
|
|
4468
4487
|
* ```js
|
|
4469
|
-
* liveboardEmbed.trigger(HostEvent.CreateMonitor {
|
|
4488
|
+
* liveboardEmbed.trigger(HostEvent.CreateMonitor, {
|
|
4470
4489
|
* vizId: '730496d6-6903-4601-937e-2c691821af3c'
|
|
4471
4490
|
* })
|
|
4472
4491
|
* ```
|
|
@@ -4998,7 +5017,26 @@ export declare enum HostEvent {
|
|
|
4998
5017
|
* EmbedApi
|
|
4999
5018
|
* @hidden
|
|
5000
5019
|
*/
|
|
5001
|
-
UIPassthrough = "UiPassthrough"
|
|
5020
|
+
UIPassthrough = "UiPassthrough",
|
|
5021
|
+
/**
|
|
5022
|
+
* Triggers the table viz rerender with the updated data.
|
|
5023
|
+
* Includes the following properties:
|
|
5024
|
+
* @param - columnDataLite - an array of object containing data
|
|
5025
|
+
* transformed from data picked from TableVizRendered event.
|
|
5026
|
+
* For example, { columnDataLite: []}
|
|
5027
|
+
* @example
|
|
5028
|
+
* ```js
|
|
5029
|
+
* searchEmbed.on(EmbedEvent.TableVizRendered, (payload) => {
|
|
5030
|
+
* console.log(payload);
|
|
5031
|
+
* const columnDataLite = payload.data.data.columnDataLite;
|
|
5032
|
+
* columnDataLite[0].dataValue[0]="new fob";
|
|
5033
|
+
* console.log('>>> new Data', columnDataLite);
|
|
5034
|
+
* searchEmbed.trigger(HostEvent.TransformTableVizData, columnDataLite);
|
|
5035
|
+
* })
|
|
5036
|
+
* ```
|
|
5037
|
+
* @version SDK: 1.35.12 | ThoughtSpot: 10.7.0.cl
|
|
5038
|
+
*/
|
|
5039
|
+
TransformTableVizData = "TransformTableVizData"
|
|
5002
5040
|
}
|
|
5003
5041
|
/**
|
|
5004
5042
|
* The different visual modes that the data sources panel within
|
|
@@ -5060,7 +5098,7 @@ export declare enum Param {
|
|
|
5060
5098
|
AuthType = "authType",
|
|
5061
5099
|
IconSpriteUrl = "iconSprite",
|
|
5062
5100
|
cookieless = "cookieless",
|
|
5063
|
-
ContextMenuTrigger = "
|
|
5101
|
+
ContextMenuTrigger = "contextMenuEnabledOnWhichClick",
|
|
5064
5102
|
LinkOverride = "linkOverride",
|
|
5065
5103
|
blockNonEmbedFullAppAccess = "blockNonEmbedFullAppAccess",
|
|
5066
5104
|
ShowInsertToSlide = "insertInToSlide",
|
|
@@ -6317,10 +6355,12 @@ export declare enum PrefetchFeatures {
|
|
|
6317
6355
|
}
|
|
6318
6356
|
/**
|
|
6319
6357
|
* Enum for options to change context trigger
|
|
6358
|
+
* BOTH_CLICKS option is introduced in 10.7
|
|
6320
6359
|
*/
|
|
6321
6360
|
export declare enum ContextMenuTriggerOptions {
|
|
6322
6361
|
LEFT_CLICK = "left-click",
|
|
6323
|
-
RIGHT_CLICK = "right-click"
|
|
6362
|
+
RIGHT_CLICK = "right-click",
|
|
6363
|
+
BOTH_CLICKS = "both-clicks"
|
|
6324
6364
|
}
|
|
6325
6365
|
export interface ColumnValue {
|
|
6326
6366
|
column: {
|