@thoughtspot/visual-embed-sdk 1.29.1 → 1.29.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 +1 -1
- package/cjs/src/types.d.ts +48 -20
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +46 -19
- package/cjs/src/types.js.map +1 -1
- package/cjs/src/utils/graphql/answerService/answer-queries.d.ts +1 -0
- package/cjs/src/utils/graphql/answerService/answer-queries.d.ts.map +1 -1
- package/cjs/src/utils/graphql/answerService/answer-queries.js +19 -1
- package/cjs/src/utils/graphql/answerService/answer-queries.js.map +1 -1
- package/dist/src/types.d.ts +48 -20
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/utils/graphql/answerService/answer-queries.d.ts +1 -0
- package/dist/src/utils/graphql/answerService/answer-queries.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +50 -20
- package/dist/tsembed-react.js +50 -20
- package/dist/tsembed.es.js +50 -20
- package/dist/tsembed.js +50 -20
- package/dist/visual-embed-sdk-react-full.d.ts +48 -20
- package/dist/visual-embed-sdk-react.d.ts +48 -20
- package/dist/visual-embed-sdk.d.ts +48 -20
- package/lib/package.json +1 -1
- package/lib/src/types.d.ts +48 -20
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +46 -19
- package/lib/src/types.js.map +1 -1
- package/lib/src/utils/graphql/answerService/answer-queries.d.ts +1 -0
- package/lib/src/utils/graphql/answerService/answer-queries.d.ts.map +1 -1
- package/lib/src/utils/graphql/answerService/answer-queries.js +18 -0
- package/lib/src/utils/graphql/answerService/answer-queries.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +48 -20
- package/package.json +1 -1
- package/src/types.ts +48 -20
- package/src/utils/graphql/answerService/answer-queries.ts +19 -0
package/dist/tsembed-react.js
CHANGED
|
@@ -1264,7 +1264,9 @@
|
|
|
1264
1264
|
*/
|
|
1265
1265
|
EmbedEvent["CopyToClipboard"] = "context-menu-item-copy-to-clipboard";
|
|
1266
1266
|
/**
|
|
1267
|
-
* Emitted when a user clicks the **Update TML** action
|
|
1267
|
+
* Emitted when a user clicks the **Update TML** action on
|
|
1268
|
+
* embedded Liveboard.
|
|
1269
|
+
*
|
|
1268
1270
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
1269
1271
|
* @example
|
|
1270
1272
|
*```js
|
|
@@ -1275,6 +1277,8 @@
|
|
|
1275
1277
|
EmbedEvent["UpdateTML"] = "updateTSL";
|
|
1276
1278
|
/**
|
|
1277
1279
|
* Emitted when a user clicks the **Edit TML** action
|
|
1280
|
+
* on an embedded Liveboard.
|
|
1281
|
+
*
|
|
1278
1282
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
1279
1283
|
* @example
|
|
1280
1284
|
*```js
|
|
@@ -1730,8 +1734,8 @@
|
|
|
1730
1734
|
* _String_. The name of the column to filter on.
|
|
1731
1735
|
*
|
|
1732
1736
|
* `operator`
|
|
1733
|
-
*
|
|
1734
|
-
*
|
|
1737
|
+
* Runtime filter operator to apply. For information,
|
|
1738
|
+
* see link:https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator[Developer Documentation].
|
|
1735
1739
|
*
|
|
1736
1740
|
* `values`
|
|
1737
1741
|
* List of operands. Some operators such as EQ, LE allow a single value, whereas
|
|
@@ -1859,16 +1863,22 @@
|
|
|
1859
1863
|
*/
|
|
1860
1864
|
HostEvent["SchedulesList"] = "schedule-list";
|
|
1861
1865
|
/**
|
|
1862
|
-
* Trigger the **Export TML** action on an embedded Liveboard
|
|
1866
|
+
* Trigger the **Export TML** action on an embedded Liveboard or
|
|
1867
|
+
* Answer.
|
|
1868
|
+
*
|
|
1863
1869
|
* @example
|
|
1864
1870
|
* ```js
|
|
1865
1871
|
* liveboardEmbed.trigger(HostEvent.ExportTML)
|
|
1866
1872
|
* ```
|
|
1873
|
+
*
|
|
1867
1874
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
1868
1875
|
*/
|
|
1869
1876
|
HostEvent["ExportTML"] = "exportTSL";
|
|
1870
1877
|
/**
|
|
1871
|
-
* Trigger the **Edit TML** action on an embedded Liveboard
|
|
1878
|
+
* Trigger the **Edit TML** action on an embedded Liveboard or
|
|
1879
|
+
* saved Answers in the full application embedding.
|
|
1880
|
+
*
|
|
1881
|
+
*
|
|
1872
1882
|
* @example
|
|
1873
1883
|
* ```js
|
|
1874
1884
|
* liveboardEmbed.trigger(HostEvent.EditTML)
|
|
@@ -1886,7 +1896,12 @@
|
|
|
1886
1896
|
*/
|
|
1887
1897
|
HostEvent["UpdateTML"] = "updateTSL";
|
|
1888
1898
|
/**
|
|
1889
|
-
* Trigger the **Download PDF** action on an embedded Liveboard
|
|
1899
|
+
* Trigger the **Download PDF** action on an embedded Liveboard,
|
|
1900
|
+
* visualization or Answer.
|
|
1901
|
+
*
|
|
1902
|
+
* **NOTE**: The **Download** > **PDF** action is available on
|
|
1903
|
+
* visualizations and Answers if the data is in tabular format.
|
|
1904
|
+
*
|
|
1890
1905
|
* @example
|
|
1891
1906
|
* ```js
|
|
1892
1907
|
* liveboardEmbed.trigger(HostEvent.DownloadAsPdf)
|
|
@@ -1954,22 +1969,23 @@
|
|
|
1954
1969
|
*/
|
|
1955
1970
|
HostEvent["ManageMonitor"] = "manageMonitor";
|
|
1956
1971
|
/**
|
|
1957
|
-
* Trigger the **Edit** action on a Liveboard or visualization
|
|
1972
|
+
* Trigger the **Edit** action on a Liveboard or a visualization
|
|
1973
|
+
* on a Liveboard.
|
|
1974
|
+
*
|
|
1975
|
+
* This event is not supported in visualization embed and search embed.
|
|
1976
|
+
*
|
|
1958
1977
|
* @param - object - To trigger the action for a specific visualization
|
|
1959
1978
|
* in Liveboard embed, pass in `vizId` as a key.
|
|
1960
|
-
*
|
|
1961
|
-
* a visualization.
|
|
1979
|
+
*
|
|
1962
1980
|
* @example
|
|
1963
1981
|
* ```js
|
|
1964
1982
|
* liveboardEmbed.trigger(HostEvent.Edit)
|
|
1965
1983
|
* ```
|
|
1984
|
+
* @example
|
|
1966
1985
|
* ```js
|
|
1967
1986
|
* liveboardEmbed.trigger(HostEvent.Edit, {vizId:
|
|
1968
1987
|
* '730496d6-6903-4601-937e-2c691821af3c'})
|
|
1969
1988
|
* ```
|
|
1970
|
-
* ```js
|
|
1971
|
-
* vizEmbed.trigger((HostEvent.Edit)
|
|
1972
|
-
* ```
|
|
1973
1989
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
1974
1990
|
*/
|
|
1975
1991
|
HostEvent["Edit"] = "edit";
|
|
@@ -2226,7 +2242,9 @@
|
|
|
2226
2242
|
*/
|
|
2227
2243
|
HostEvent["ResetSearch"] = "resetSearch";
|
|
2228
2244
|
/**
|
|
2229
|
-
* Get details of
|
|
2245
|
+
* Get details of filters applied on the Liveboard.
|
|
2246
|
+
* Returns arrays containing Liveboard filter and runtime filter elements.
|
|
2247
|
+
*
|
|
2230
2248
|
* @example
|
|
2231
2249
|
* ```js
|
|
2232
2250
|
* const data = await liveboardEmbed.trigger(HostEvent.GetFilters);
|
|
@@ -2248,11 +2266,12 @@
|
|
|
2248
2266
|
*
|
|
2249
2267
|
* `oper` - Filter operator, for example, EQ, IN, CONTAINS.
|
|
2250
2268
|
* For information about the supported filter operators,
|
|
2251
|
-
* see
|
|
2269
|
+
* see link:https://developers.thoughtspot.com/docs/runtime-filters#rtOperator[Developer Documentation].
|
|
2252
2270
|
*
|
|
2253
2271
|
* `values` - An array of one or several values. The value definition on the
|
|
2254
2272
|
* data type you choose to filter on. For a complete list of supported data types,
|
|
2255
|
-
* see
|
|
2273
|
+
* see link:https://developers.thoughtspot.com/docs/runtime-filters#_supported_data_types[Developer Documentation].
|
|
2274
|
+
*
|
|
2256
2275
|
* @example
|
|
2257
2276
|
* ```js
|
|
2258
2277
|
*
|
|
@@ -2547,7 +2566,9 @@
|
|
|
2547
2566
|
Action["SaveUntitled"] = "saveUntitled";
|
|
2548
2567
|
/**
|
|
2549
2568
|
* The **Save as View** action on the Answer
|
|
2550
|
-
* page. Saves an Answer as a View object
|
|
2569
|
+
* page. Saves an Answer as a View object in the full
|
|
2570
|
+
* application embedding mode.
|
|
2571
|
+
*
|
|
2551
2572
|
* @example
|
|
2552
2573
|
* ```js
|
|
2553
2574
|
* disabledActions: [Action.SaveAsView]
|
|
@@ -2751,8 +2772,12 @@
|
|
|
2751
2772
|
Action["DownloadAsPng"] = "downloadAsPng";
|
|
2752
2773
|
/**
|
|
2753
2774
|
*
|
|
2754
|
-
*The **Download PDF** action that downloads a Liveboard,
|
|
2755
|
-
*visualization, or Answer as a PDF file.
|
|
2775
|
+
* The **Download PDF** action that downloads a Liveboard,
|
|
2776
|
+
* visualization, or Answer as a PDF file.
|
|
2777
|
+
*
|
|
2778
|
+
*
|
|
2779
|
+
* **NOTE**: The **Download** > **PDF** action is available on
|
|
2780
|
+
* visualizations and Answers if the data is in tabular format.
|
|
2756
2781
|
*
|
|
2757
2782
|
***NOTE**: The **Download** > **PDF** action is available on
|
|
2758
2783
|
*visualizations and Answers if the data is in tabular format.
|
|
@@ -3001,7 +3026,9 @@
|
|
|
3001
3026
|
*/
|
|
3002
3027
|
Action["QueryDetailsButtons"] = "queryDetailsButtons";
|
|
3003
3028
|
/**
|
|
3004
|
-
* The **Delete** action for Answers
|
|
3029
|
+
* The **Delete** action for Answers in the full application
|
|
3030
|
+
* embedding mode.
|
|
3031
|
+
*
|
|
3005
3032
|
* @example
|
|
3006
3033
|
* ```js
|
|
3007
3034
|
* disabledActions: [Action.AnswerDelete]
|
|
@@ -5705,7 +5732,7 @@
|
|
|
5705
5732
|
|
|
5706
5733
|
var isEqual_1 = isEqual;
|
|
5707
5734
|
|
|
5708
|
-
var name="@thoughtspot/visual-embed-sdk";var version="1.29.
|
|
5735
|
+
var name="@thoughtspot/visual-embed-sdk";var version="1.29.2";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports$1={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs",start:"gatsby develop","build:gatsby":"npm run clean:gatsby && gatsby build --prefix-paths","build:gatsby:noprefix":"npm run clean:gatsby && gatsby build","serve:gatsby":"gatsby serve","clean:gatsby":"gatsby clean","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw","docs-cmd":"node scripts/gatsby-commands.js",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme","test-sdk":"jest -c jest.config.sdk.js --runInBand","test-docs":"jest -c jest.config.docs.js",test:"npm run test-sdk && npm run test-docs",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4","eslint-plugin-comment-length":"^0.9.2","eslint-plugin-jsdoc":"^46.9.0",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"^2.45.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","fs-extra":"^10.0.0",gatsby:"3.13.1","gatsby-plugin-algolia":"^0.22.2","gatsby-plugin-catch-links":"^3.1.0","gatsby-plugin-env-variables":"^2.1.0","gatsby-plugin-intl":"^0.3.3","gatsby-plugin-manifest":"^3.2.0","gatsby-plugin-output":"^0.1.3","gatsby-plugin-sass":"6.7.0","gatsby-plugin-sitemap":"^4.10.0","gatsby-source-filesystem":"3.1.0","gatsby-transformer-asciidoc":"2.1.0","gatsby-transformer-rehype":"2.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"2.30.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","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:"45 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
|
|
5709
5736
|
|
|
5710
5737
|
const logFunctions = {
|
|
5711
5738
|
[exports.LogLevel.SILENT]: () => undefined,
|
|
@@ -12663,6 +12690,9 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
12663
12690
|
${bachSessionId}
|
|
12664
12691
|
answer {
|
|
12665
12692
|
id
|
|
12693
|
+
name
|
|
12694
|
+
description
|
|
12695
|
+
displayMode
|
|
12666
12696
|
sources {
|
|
12667
12697
|
header {
|
|
12668
12698
|
guid
|
package/dist/tsembed.es.js
CHANGED
|
@@ -874,7 +874,9 @@ var EmbedEvent;
|
|
|
874
874
|
*/
|
|
875
875
|
EmbedEvent["CopyToClipboard"] = "context-menu-item-copy-to-clipboard";
|
|
876
876
|
/**
|
|
877
|
-
* Emitted when a user clicks the **Update TML** action
|
|
877
|
+
* Emitted when a user clicks the **Update TML** action on
|
|
878
|
+
* embedded Liveboard.
|
|
879
|
+
*
|
|
878
880
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
879
881
|
* @example
|
|
880
882
|
*```js
|
|
@@ -885,6 +887,8 @@ var EmbedEvent;
|
|
|
885
887
|
EmbedEvent["UpdateTML"] = "updateTSL";
|
|
886
888
|
/**
|
|
887
889
|
* Emitted when a user clicks the **Edit TML** action
|
|
890
|
+
* on an embedded Liveboard.
|
|
891
|
+
*
|
|
888
892
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
889
893
|
* @example
|
|
890
894
|
*```js
|
|
@@ -1363,8 +1367,8 @@ var HostEvent;
|
|
|
1363
1367
|
* _String_. The name of the column to filter on.
|
|
1364
1368
|
*
|
|
1365
1369
|
* `operator`
|
|
1366
|
-
*
|
|
1367
|
-
*
|
|
1370
|
+
* Runtime filter operator to apply. For information,
|
|
1371
|
+
* see link:https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator[Developer Documentation].
|
|
1368
1372
|
*
|
|
1369
1373
|
* `values`
|
|
1370
1374
|
* List of operands. Some operators such as EQ, LE allow a single value, whereas
|
|
@@ -1492,16 +1496,22 @@ var HostEvent;
|
|
|
1492
1496
|
*/
|
|
1493
1497
|
HostEvent["SchedulesList"] = "schedule-list";
|
|
1494
1498
|
/**
|
|
1495
|
-
* Trigger the **Export TML** action on an embedded Liveboard
|
|
1499
|
+
* Trigger the **Export TML** action on an embedded Liveboard or
|
|
1500
|
+
* Answer.
|
|
1501
|
+
*
|
|
1496
1502
|
* @example
|
|
1497
1503
|
* ```js
|
|
1498
1504
|
* liveboardEmbed.trigger(HostEvent.ExportTML)
|
|
1499
1505
|
* ```
|
|
1506
|
+
*
|
|
1500
1507
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
1501
1508
|
*/
|
|
1502
1509
|
HostEvent["ExportTML"] = "exportTSL";
|
|
1503
1510
|
/**
|
|
1504
|
-
* Trigger the **Edit TML** action on an embedded Liveboard
|
|
1511
|
+
* Trigger the **Edit TML** action on an embedded Liveboard or
|
|
1512
|
+
* saved Answers in the full application embedding.
|
|
1513
|
+
*
|
|
1514
|
+
*
|
|
1505
1515
|
* @example
|
|
1506
1516
|
* ```js
|
|
1507
1517
|
* liveboardEmbed.trigger(HostEvent.EditTML)
|
|
@@ -1519,7 +1529,12 @@ var HostEvent;
|
|
|
1519
1529
|
*/
|
|
1520
1530
|
HostEvent["UpdateTML"] = "updateTSL";
|
|
1521
1531
|
/**
|
|
1522
|
-
* Trigger the **Download PDF** action on an embedded Liveboard
|
|
1532
|
+
* Trigger the **Download PDF** action on an embedded Liveboard,
|
|
1533
|
+
* visualization or Answer.
|
|
1534
|
+
*
|
|
1535
|
+
* **NOTE**: The **Download** > **PDF** action is available on
|
|
1536
|
+
* visualizations and Answers if the data is in tabular format.
|
|
1537
|
+
*
|
|
1523
1538
|
* @example
|
|
1524
1539
|
* ```js
|
|
1525
1540
|
* liveboardEmbed.trigger(HostEvent.DownloadAsPdf)
|
|
@@ -1587,22 +1602,23 @@ var HostEvent;
|
|
|
1587
1602
|
*/
|
|
1588
1603
|
HostEvent["ManageMonitor"] = "manageMonitor";
|
|
1589
1604
|
/**
|
|
1590
|
-
* Trigger the **Edit** action on a Liveboard or visualization
|
|
1605
|
+
* Trigger the **Edit** action on a Liveboard or a visualization
|
|
1606
|
+
* on a Liveboard.
|
|
1607
|
+
*
|
|
1608
|
+
* This event is not supported in visualization embed and search embed.
|
|
1609
|
+
*
|
|
1591
1610
|
* @param - object - To trigger the action for a specific visualization
|
|
1592
1611
|
* in Liveboard embed, pass in `vizId` as a key.
|
|
1593
|
-
*
|
|
1594
|
-
* a visualization.
|
|
1612
|
+
*
|
|
1595
1613
|
* @example
|
|
1596
1614
|
* ```js
|
|
1597
1615
|
* liveboardEmbed.trigger(HostEvent.Edit)
|
|
1598
1616
|
* ```
|
|
1617
|
+
* @example
|
|
1599
1618
|
* ```js
|
|
1600
1619
|
* liveboardEmbed.trigger(HostEvent.Edit, {vizId:
|
|
1601
1620
|
* '730496d6-6903-4601-937e-2c691821af3c'})
|
|
1602
1621
|
* ```
|
|
1603
|
-
* ```js
|
|
1604
|
-
* vizEmbed.trigger((HostEvent.Edit)
|
|
1605
|
-
* ```
|
|
1606
1622
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
1607
1623
|
*/
|
|
1608
1624
|
HostEvent["Edit"] = "edit";
|
|
@@ -1859,7 +1875,9 @@ var HostEvent;
|
|
|
1859
1875
|
*/
|
|
1860
1876
|
HostEvent["ResetSearch"] = "resetSearch";
|
|
1861
1877
|
/**
|
|
1862
|
-
* Get details of
|
|
1878
|
+
* Get details of filters applied on the Liveboard.
|
|
1879
|
+
* Returns arrays containing Liveboard filter and runtime filter elements.
|
|
1880
|
+
*
|
|
1863
1881
|
* @example
|
|
1864
1882
|
* ```js
|
|
1865
1883
|
* const data = await liveboardEmbed.trigger(HostEvent.GetFilters);
|
|
@@ -1881,11 +1899,12 @@ var HostEvent;
|
|
|
1881
1899
|
*
|
|
1882
1900
|
* `oper` - Filter operator, for example, EQ, IN, CONTAINS.
|
|
1883
1901
|
* For information about the supported filter operators,
|
|
1884
|
-
* see
|
|
1902
|
+
* see link:https://developers.thoughtspot.com/docs/runtime-filters#rtOperator[Developer Documentation].
|
|
1885
1903
|
*
|
|
1886
1904
|
* `values` - An array of one or several values. The value definition on the
|
|
1887
1905
|
* data type you choose to filter on. For a complete list of supported data types,
|
|
1888
|
-
* see
|
|
1906
|
+
* see link:https://developers.thoughtspot.com/docs/runtime-filters#_supported_data_types[Developer Documentation].
|
|
1907
|
+
*
|
|
1889
1908
|
* @example
|
|
1890
1909
|
* ```js
|
|
1891
1910
|
*
|
|
@@ -2208,7 +2227,9 @@ var Action;
|
|
|
2208
2227
|
Action["SaveUntitled"] = "saveUntitled";
|
|
2209
2228
|
/**
|
|
2210
2229
|
* The **Save as View** action on the Answer
|
|
2211
|
-
* page. Saves an Answer as a View object
|
|
2230
|
+
* page. Saves an Answer as a View object in the full
|
|
2231
|
+
* application embedding mode.
|
|
2232
|
+
*
|
|
2212
2233
|
* @example
|
|
2213
2234
|
* ```js
|
|
2214
2235
|
* disabledActions: [Action.SaveAsView]
|
|
@@ -2412,8 +2433,12 @@ var Action;
|
|
|
2412
2433
|
Action["DownloadAsPng"] = "downloadAsPng";
|
|
2413
2434
|
/**
|
|
2414
2435
|
*
|
|
2415
|
-
*The **Download PDF** action that downloads a Liveboard,
|
|
2416
|
-
*visualization, or Answer as a PDF file.
|
|
2436
|
+
* The **Download PDF** action that downloads a Liveboard,
|
|
2437
|
+
* visualization, or Answer as a PDF file.
|
|
2438
|
+
*
|
|
2439
|
+
*
|
|
2440
|
+
* **NOTE**: The **Download** > **PDF** action is available on
|
|
2441
|
+
* visualizations and Answers if the data is in tabular format.
|
|
2417
2442
|
*
|
|
2418
2443
|
***NOTE**: The **Download** > **PDF** action is available on
|
|
2419
2444
|
*visualizations and Answers if the data is in tabular format.
|
|
@@ -2662,7 +2687,9 @@ var Action;
|
|
|
2662
2687
|
*/
|
|
2663
2688
|
Action["QueryDetailsButtons"] = "queryDetailsButtons";
|
|
2664
2689
|
/**
|
|
2665
|
-
* The **Delete** action for Answers
|
|
2690
|
+
* The **Delete** action for Answers in the full application
|
|
2691
|
+
* embedding mode.
|
|
2692
|
+
*
|
|
2666
2693
|
* @example
|
|
2667
2694
|
* ```js
|
|
2668
2695
|
* disabledActions: [Action.AnswerDelete]
|
|
@@ -5749,7 +5776,7 @@ function isEqual(value, other) {
|
|
|
5749
5776
|
|
|
5750
5777
|
var isEqual_1 = isEqual;
|
|
5751
5778
|
|
|
5752
|
-
var name="@thoughtspot/visual-embed-sdk";var version="1.29.
|
|
5779
|
+
var name="@thoughtspot/visual-embed-sdk";var version="1.29.2";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs",start:"gatsby develop","build:gatsby":"npm run clean:gatsby && gatsby build --prefix-paths","build:gatsby:noprefix":"npm run clean:gatsby && gatsby build","serve:gatsby":"gatsby serve","clean:gatsby":"gatsby clean","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw","docs-cmd":"node scripts/gatsby-commands.js",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme","test-sdk":"jest -c jest.config.sdk.js --runInBand","test-docs":"jest -c jest.config.docs.js",test:"npm run test-sdk && npm run test-docs",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4","eslint-plugin-comment-length":"^0.9.2","eslint-plugin-jsdoc":"^46.9.0",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"^2.45.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","fs-extra":"^10.0.0",gatsby:"3.13.1","gatsby-plugin-algolia":"^0.22.2","gatsby-plugin-catch-links":"^3.1.0","gatsby-plugin-env-variables":"^2.1.0","gatsby-plugin-intl":"^0.3.3","gatsby-plugin-manifest":"^3.2.0","gatsby-plugin-output":"^0.1.3","gatsby-plugin-sass":"6.7.0","gatsby-plugin-sitemap":"^4.10.0","gatsby-source-filesystem":"3.1.0","gatsby-transformer-asciidoc":"2.1.0","gatsby-transformer-rehype":"2.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"2.30.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","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:"45 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
|
|
5753
5780
|
|
|
5754
5781
|
const EndPoints = {
|
|
5755
5782
|
AUTH_VERIFICATION: '/callosum/v1/session/info',
|
|
@@ -12699,6 +12726,9 @@ const getAnswer = `
|
|
|
12699
12726
|
${bachSessionId}
|
|
12700
12727
|
answer {
|
|
12701
12728
|
id
|
|
12729
|
+
name
|
|
12730
|
+
description
|
|
12731
|
+
displayMode
|
|
12702
12732
|
sources {
|
|
12703
12733
|
header {
|
|
12704
12734
|
guid
|
package/dist/tsembed.js
CHANGED
|
@@ -829,7 +829,9 @@
|
|
|
829
829
|
*/
|
|
830
830
|
EmbedEvent["CopyToClipboard"] = "context-menu-item-copy-to-clipboard";
|
|
831
831
|
/**
|
|
832
|
-
* Emitted when a user clicks the **Update TML** action
|
|
832
|
+
* Emitted when a user clicks the **Update TML** action on
|
|
833
|
+
* embedded Liveboard.
|
|
834
|
+
*
|
|
833
835
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
834
836
|
* @example
|
|
835
837
|
*```js
|
|
@@ -840,6 +842,8 @@
|
|
|
840
842
|
EmbedEvent["UpdateTML"] = "updateTSL";
|
|
841
843
|
/**
|
|
842
844
|
* Emitted when a user clicks the **Edit TML** action
|
|
845
|
+
* on an embedded Liveboard.
|
|
846
|
+
*
|
|
843
847
|
* @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
|
|
844
848
|
* @example
|
|
845
849
|
*```js
|
|
@@ -1295,8 +1299,8 @@
|
|
|
1295
1299
|
* _String_. The name of the column to filter on.
|
|
1296
1300
|
*
|
|
1297
1301
|
* `operator`
|
|
1298
|
-
*
|
|
1299
|
-
*
|
|
1302
|
+
* Runtime filter operator to apply. For information,
|
|
1303
|
+
* see link:https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator[Developer Documentation].
|
|
1300
1304
|
*
|
|
1301
1305
|
* `values`
|
|
1302
1306
|
* List of operands. Some operators such as EQ, LE allow a single value, whereas
|
|
@@ -1424,16 +1428,22 @@
|
|
|
1424
1428
|
*/
|
|
1425
1429
|
HostEvent["SchedulesList"] = "schedule-list";
|
|
1426
1430
|
/**
|
|
1427
|
-
* Trigger the **Export TML** action on an embedded Liveboard
|
|
1431
|
+
* Trigger the **Export TML** action on an embedded Liveboard or
|
|
1432
|
+
* Answer.
|
|
1433
|
+
*
|
|
1428
1434
|
* @example
|
|
1429
1435
|
* ```js
|
|
1430
1436
|
* liveboardEmbed.trigger(HostEvent.ExportTML)
|
|
1431
1437
|
* ```
|
|
1438
|
+
*
|
|
1432
1439
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
1433
1440
|
*/
|
|
1434
1441
|
HostEvent["ExportTML"] = "exportTSL";
|
|
1435
1442
|
/**
|
|
1436
|
-
* Trigger the **Edit TML** action on an embedded Liveboard
|
|
1443
|
+
* Trigger the **Edit TML** action on an embedded Liveboard or
|
|
1444
|
+
* saved Answers in the full application embedding.
|
|
1445
|
+
*
|
|
1446
|
+
*
|
|
1437
1447
|
* @example
|
|
1438
1448
|
* ```js
|
|
1439
1449
|
* liveboardEmbed.trigger(HostEvent.EditTML)
|
|
@@ -1451,7 +1461,12 @@
|
|
|
1451
1461
|
*/
|
|
1452
1462
|
HostEvent["UpdateTML"] = "updateTSL";
|
|
1453
1463
|
/**
|
|
1454
|
-
* Trigger the **Download PDF** action on an embedded Liveboard
|
|
1464
|
+
* Trigger the **Download PDF** action on an embedded Liveboard,
|
|
1465
|
+
* visualization or Answer.
|
|
1466
|
+
*
|
|
1467
|
+
* **NOTE**: The **Download** > **PDF** action is available on
|
|
1468
|
+
* visualizations and Answers if the data is in tabular format.
|
|
1469
|
+
*
|
|
1455
1470
|
* @example
|
|
1456
1471
|
* ```js
|
|
1457
1472
|
* liveboardEmbed.trigger(HostEvent.DownloadAsPdf)
|
|
@@ -1519,22 +1534,23 @@
|
|
|
1519
1534
|
*/
|
|
1520
1535
|
HostEvent["ManageMonitor"] = "manageMonitor";
|
|
1521
1536
|
/**
|
|
1522
|
-
* Trigger the **Edit** action on a Liveboard or visualization
|
|
1537
|
+
* Trigger the **Edit** action on a Liveboard or a visualization
|
|
1538
|
+
* on a Liveboard.
|
|
1539
|
+
*
|
|
1540
|
+
* This event is not supported in visualization embed and search embed.
|
|
1541
|
+
*
|
|
1523
1542
|
* @param - object - To trigger the action for a specific visualization
|
|
1524
1543
|
* in Liveboard embed, pass in `vizId` as a key.
|
|
1525
|
-
*
|
|
1526
|
-
* a visualization.
|
|
1544
|
+
*
|
|
1527
1545
|
* @example
|
|
1528
1546
|
* ```js
|
|
1529
1547
|
* liveboardEmbed.trigger(HostEvent.Edit)
|
|
1530
1548
|
* ```
|
|
1549
|
+
* @example
|
|
1531
1550
|
* ```js
|
|
1532
1551
|
* liveboardEmbed.trigger(HostEvent.Edit, {vizId:
|
|
1533
1552
|
* '730496d6-6903-4601-937e-2c691821af3c'})
|
|
1534
1553
|
* ```
|
|
1535
|
-
* ```js
|
|
1536
|
-
* vizEmbed.trigger((HostEvent.Edit)
|
|
1537
|
-
* ```
|
|
1538
1554
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
1539
1555
|
*/
|
|
1540
1556
|
HostEvent["Edit"] = "edit";
|
|
@@ -1791,7 +1807,9 @@
|
|
|
1791
1807
|
*/
|
|
1792
1808
|
HostEvent["ResetSearch"] = "resetSearch";
|
|
1793
1809
|
/**
|
|
1794
|
-
* Get details of
|
|
1810
|
+
* Get details of filters applied on the Liveboard.
|
|
1811
|
+
* Returns arrays containing Liveboard filter and runtime filter elements.
|
|
1812
|
+
*
|
|
1795
1813
|
* @example
|
|
1796
1814
|
* ```js
|
|
1797
1815
|
* const data = await liveboardEmbed.trigger(HostEvent.GetFilters);
|
|
@@ -1813,11 +1831,12 @@
|
|
|
1813
1831
|
*
|
|
1814
1832
|
* `oper` - Filter operator, for example, EQ, IN, CONTAINS.
|
|
1815
1833
|
* For information about the supported filter operators,
|
|
1816
|
-
* see
|
|
1834
|
+
* see link:https://developers.thoughtspot.com/docs/runtime-filters#rtOperator[Developer Documentation].
|
|
1817
1835
|
*
|
|
1818
1836
|
* `values` - An array of one or several values. The value definition on the
|
|
1819
1837
|
* data type you choose to filter on. For a complete list of supported data types,
|
|
1820
|
-
* see
|
|
1838
|
+
* see link:https://developers.thoughtspot.com/docs/runtime-filters#_supported_data_types[Developer Documentation].
|
|
1839
|
+
*
|
|
1821
1840
|
* @example
|
|
1822
1841
|
* ```js
|
|
1823
1842
|
*
|
|
@@ -2106,7 +2125,9 @@
|
|
|
2106
2125
|
Action["SaveUntitled"] = "saveUntitled";
|
|
2107
2126
|
/**
|
|
2108
2127
|
* The **Save as View** action on the Answer
|
|
2109
|
-
* page. Saves an Answer as a View object
|
|
2128
|
+
* page. Saves an Answer as a View object in the full
|
|
2129
|
+
* application embedding mode.
|
|
2130
|
+
*
|
|
2110
2131
|
* @example
|
|
2111
2132
|
* ```js
|
|
2112
2133
|
* disabledActions: [Action.SaveAsView]
|
|
@@ -2310,8 +2331,12 @@
|
|
|
2310
2331
|
Action["DownloadAsPng"] = "downloadAsPng";
|
|
2311
2332
|
/**
|
|
2312
2333
|
*
|
|
2313
|
-
*The **Download PDF** action that downloads a Liveboard,
|
|
2314
|
-
*visualization, or Answer as a PDF file.
|
|
2334
|
+
* The **Download PDF** action that downloads a Liveboard,
|
|
2335
|
+
* visualization, or Answer as a PDF file.
|
|
2336
|
+
*
|
|
2337
|
+
*
|
|
2338
|
+
* **NOTE**: The **Download** > **PDF** action is available on
|
|
2339
|
+
* visualizations and Answers if the data is in tabular format.
|
|
2315
2340
|
*
|
|
2316
2341
|
***NOTE**: The **Download** > **PDF** action is available on
|
|
2317
2342
|
*visualizations and Answers if the data is in tabular format.
|
|
@@ -2560,7 +2585,9 @@
|
|
|
2560
2585
|
*/
|
|
2561
2586
|
Action["QueryDetailsButtons"] = "queryDetailsButtons";
|
|
2562
2587
|
/**
|
|
2563
|
-
* The **Delete** action for Answers
|
|
2588
|
+
* The **Delete** action for Answers in the full application
|
|
2589
|
+
* embedding mode.
|
|
2590
|
+
*
|
|
2564
2591
|
* @example
|
|
2565
2592
|
* ```js
|
|
2566
2593
|
* disabledActions: [Action.AnswerDelete]
|
|
@@ -5641,7 +5668,7 @@
|
|
|
5641
5668
|
|
|
5642
5669
|
var isEqual_1 = isEqual;
|
|
5643
5670
|
|
|
5644
|
-
var name="@thoughtspot/visual-embed-sdk";var version="1.29.
|
|
5671
|
+
var name="@thoughtspot/visual-embed-sdk";var version="1.29.2";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports$1={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs",start:"gatsby develop","build:gatsby":"npm run clean:gatsby && gatsby build --prefix-paths","build:gatsby:noprefix":"npm run clean:gatsby && gatsby build","serve:gatsby":"gatsby serve","clean:gatsby":"gatsby clean","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw","docs-cmd":"node scripts/gatsby-commands.js",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme","test-sdk":"jest -c jest.config.sdk.js --runInBand","test-docs":"jest -c jest.config.docs.js",test:"npm run test-sdk && npm run test-docs",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4","eslint-plugin-comment-length":"^0.9.2","eslint-plugin-jsdoc":"^46.9.0",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"^2.45.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","fs-extra":"^10.0.0",gatsby:"3.13.1","gatsby-plugin-algolia":"^0.22.2","gatsby-plugin-catch-links":"^3.1.0","gatsby-plugin-env-variables":"^2.1.0","gatsby-plugin-intl":"^0.3.3","gatsby-plugin-manifest":"^3.2.0","gatsby-plugin-output":"^0.1.3","gatsby-plugin-sass":"6.7.0","gatsby-plugin-sitemap":"^4.10.0","gatsby-source-filesystem":"3.1.0","gatsby-transformer-asciidoc":"2.1.0","gatsby-transformer-rehype":"2.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"2.30.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","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:"45 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
|
|
5645
5672
|
|
|
5646
5673
|
const EndPoints = {
|
|
5647
5674
|
AUTH_VERIFICATION: '/callosum/v1/session/info',
|
|
@@ -12575,6 +12602,9 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
|
|
|
12575
12602
|
${bachSessionId}
|
|
12576
12603
|
answer {
|
|
12577
12604
|
id
|
|
12605
|
+
name
|
|
12606
|
+
description
|
|
12607
|
+
displayMode
|
|
12578
12608
|
sources {
|
|
12579
12609
|
header {
|
|
12580
12610
|
guid
|