@thoughtspot/visual-embed-sdk 1.6.3 → 1.7.0-alpha.3

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.
Files changed (58) hide show
  1. package/README.md +1 -1
  2. package/dist/src/embed/app.d.ts +1 -1
  3. package/dist/src/embed/liveboard.d.ts +1 -1
  4. package/dist/src/embed/pinboard.d.ts +85 -0
  5. package/dist/src/embed/search.d.ts +3 -6
  6. package/dist/src/embed/ts-embed.d.ts +1 -1
  7. package/dist/src/index.d.ts +1 -1
  8. package/dist/src/test/test-utils.d.ts +1 -0
  9. package/dist/src/types.d.ts +4 -3
  10. package/dist/src/utils.d.ts +1 -1
  11. package/dist/tsembed.es.js +22 -11
  12. package/dist/tsembed.js +22 -11
  13. package/lib/package.json +1 -2
  14. package/lib/src/config.js +1 -1
  15. package/lib/src/embed/app.d.ts +1 -1
  16. package/lib/src/embed/app.js +1 -1
  17. package/lib/src/embed/base.js +1 -1
  18. package/lib/src/embed/liveboard.d.ts +1 -1
  19. package/lib/src/embed/liveboard.js +1 -1
  20. package/lib/src/embed/pinboard.d.ts +85 -0
  21. package/lib/src/embed/pinboard.js +107 -0
  22. package/lib/src/embed/pinboard.js.map +1 -0
  23. package/lib/src/embed/search.d.ts +3 -6
  24. package/lib/src/embed/search.js +13 -3
  25. package/lib/src/embed/search.js.map +1 -1
  26. package/lib/src/embed/search.spec.js +33 -20
  27. package/lib/src/embed/search.spec.js.map +1 -1
  28. package/lib/src/embed/ts-embed.d.ts +1 -1
  29. package/lib/src/embed/ts-embed.js +1 -1
  30. package/lib/src/index.d.ts +1 -1
  31. package/lib/src/index.js +1 -1
  32. package/lib/src/react/index.spec.js +1 -1
  33. package/lib/src/react/index.spec.js.map +1 -1
  34. package/lib/src/test/test-utils.d.ts +1 -0
  35. package/lib/src/test/test-utils.js +3 -0
  36. package/lib/src/test/test-utils.js.map +1 -1
  37. package/lib/src/types.d.ts +4 -3
  38. package/lib/src/types.js +4 -3
  39. package/lib/src/types.js.map +1 -1
  40. package/lib/src/utils/fetchAnswers.d.ts +3 -0
  41. package/lib/src/utils/fetchAnswers.js +49 -0
  42. package/lib/src/utils/fetchAnswers.js.map +1 -0
  43. package/lib/src/utils.d.ts +1 -1
  44. package/lib/src/utils.js +1 -1
  45. package/lib/src/visual-embed-sdk.d.ts +10 -12
  46. package/package.json +1 -2
  47. package/src/config.ts +1 -1
  48. package/src/embed/app.ts +1 -1
  49. package/src/embed/base.ts +1 -1
  50. package/src/embed/liveboard.ts +1 -1
  51. package/src/embed/search.spec.ts +39 -19
  52. package/src/embed/search.ts +14 -7
  53. package/src/embed/ts-embed.ts +1 -1
  54. package/src/index.ts +1 -1
  55. package/src/react/index.spec.tsx +1 -1
  56. package/src/test/test-utils.ts +4 -0
  57. package/src/types.ts +4 -3
  58. package/src/utils.ts +1 -1
package/README.md CHANGED
@@ -163,4 +163,4 @@ const MyComponent = ({ dataSources }) => {
163
163
  <br/>
164
164
  <br/>
165
165
 
166
- Visual-Embed-SDK, © ThoughtSpot, Inc. 2021
166
+ Visual-Embed-SDK, © ThoughtSpot, Inc. 2022
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2021
2
+ * Copyright (c) 2022
3
3
  *
4
4
  * Full application embedding
5
5
  * https://developers.thoughtspot.com/docs/?pageid=full-embed
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2021
2
+ * Copyright (c) 2022
3
3
  *
4
4
  * Embed a ThoughtSpot Liveboard or visualization
5
5
  * https://developers.thoughtspot.com/docs/?pageid=embed-pinboard
@@ -0,0 +1,85 @@
1
+ /**
2
+ * Copyright (c) 2021
3
+ *
4
+ * Embed a ThoughtSpot pinboard or visualization
5
+ * https://developers.thoughtspot.com/docs/?pageid=embed-pinboard
6
+ * https://developers.thoughtspot.com/docs/?pageid=embed-a-viz
7
+ *
8
+ * @summary Pinboard & visualization embed
9
+ * @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
10
+ */
11
+ import { DOMSelector } from '../types';
12
+ import { V1Embed, ViewConfig } from './ts-embed';
13
+ /**
14
+ * The configuration for the embedded pinboard or visualization page view.
15
+ * @Category Pinboards and Charts
16
+ */
17
+ export interface PinboardViewConfig extends ViewConfig {
18
+ /**
19
+ * If set to true, the embedded object container dynamically resizes
20
+ * according to the height of the pinboard.
21
+ */
22
+ fullHeight?: boolean;
23
+ /**
24
+ * This is the minimum height(in pixels) for a full height pinboard.
25
+ * Setting this height helps resolves issues with empty pinboards and
26
+ * other screens navigable from a pinboard.
27
+ * @default 500
28
+ * * _since 1.5.0_
29
+ */
30
+ defaultHeight?: number;
31
+ /**
32
+ * If set to true, the context menu in visualizations will be enabled.
33
+ */
34
+ enableVizTransformations?: boolean;
35
+ /**
36
+ * The pinboard to display in the embedded view.
37
+ */
38
+ pinboardId: string;
39
+ /**
40
+ * The visualization within the pinboard to display.
41
+ */
42
+ vizId?: string;
43
+ /**
44
+ * If set to true, all filter chips from a
45
+ * pinboard page will be read-only (no X buttons)
46
+ */
47
+ preventPinboardFilterRemoval?: boolean;
48
+ }
49
+ /**
50
+ * Embed a ThoughtSpot pinboard or visualization
51
+ * @Category Pinboards and Charts
52
+ */
53
+ export declare class PinboardEmbed extends V1Embed {
54
+ protected viewConfig: PinboardViewConfig;
55
+ private defaultHeight;
56
+ constructor(domSelector: DOMSelector, viewConfig: PinboardViewConfig);
57
+ /**
58
+ * Construct a map of params to be passed on to the
59
+ * embedded pinboard or visualization.
60
+ */
61
+ private getEmbedParams;
62
+ /**
63
+ * Construct the URL of the embedded ThoughtSpot pinboard or visualization
64
+ * to be loaded within the iframe.
65
+ * @param pinboardId The GUID of the pinboard.
66
+ * @param vizId The optional GUID of a visualization within the pinboard.
67
+ * @param runtimeFilters A list of runtime filters to be applied to
68
+ * the pinboard or visualization on load.
69
+ */
70
+ private getIFrameSrc;
71
+ /**
72
+ * Set the iframe height as per the computed height received
73
+ * from the ThoughtSpot app.
74
+ * @param data The event payload
75
+ */
76
+ private updateIFrameHeight;
77
+ private embedIframeCenter;
78
+ private handleRouteChangeFullHeightPinboard;
79
+ /**
80
+ * Render an embedded ThoughtSpot pinboard or visualization
81
+ * @param renderOptions An object specifying the pinboard ID,
82
+ * visualization ID and the runtime filters.
83
+ */
84
+ render(): PinboardEmbed;
85
+ }
@@ -1,12 +1,12 @@
1
1
  /**
2
- * Copyright (c) 2021
2
+ * Copyright (c) 2022
3
3
  *
4
4
  * Embed ThoughtSpot search or a saved answer
5
5
  *
6
6
  * @summary Search embed
7
7
  * @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
8
8
  */
9
- import { DOMSelector } from '../types';
9
+ import { DOMSelector, Action } from '../types';
10
10
  import { ViewConfig, TsEmbed } from './ts-embed';
11
11
  /**
12
12
  * Configuration for search options
@@ -44,10 +44,6 @@ export interface SearchViewConfig extends ViewConfig {
44
44
  * using raw answer data.
45
45
  */
46
46
  hideResults?: boolean;
47
- /**
48
- * If set to true, expands all the data sources panel.
49
- */
50
- expandAllDataSource?: boolean;
51
47
  /**
52
48
  * If set to true, the Search Assist feature is enabled.
53
49
  */
@@ -75,6 +71,7 @@ export interface SearchViewConfig extends ViewConfig {
75
71
  */
76
72
  answerId?: string;
77
73
  }
74
+ export declare const HiddenActionItemByDefaultForSearchEmbed: Action[];
78
75
  /**
79
76
  * Embed ThoughtSpot search
80
77
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2021
2
+ * Copyright (c) 2022
3
3
  *
4
4
  * Base classes
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2020
2
+ * Copyright (c) 2022
3
3
  *
4
4
  * ThoughtSpot Visual Embed SDK for embedding ThoughtSpot analytics
5
5
  * in other web applications.
@@ -24,4 +24,5 @@ export declare const executeAfterWait: (fn: (...args: any[]) => void, waitTime?:
24
24
  * Time (in milliseconds) to wait for async events to be triggered
25
25
  */
26
26
  export declare const EVENT_WAIT_TIME = 1000;
27
+ export declare function fixedEncodeURI(str: string): string;
27
28
  export {};
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2020
2
+ * Copyright (c) 2022
3
3
  *
4
4
  * TypeScript type definitions for ThoughtSpot Visual Embed SDK
5
5
  *
@@ -395,7 +395,6 @@ export declare enum DataSourceVisualMode {
395
395
  export declare enum Param {
396
396
  DataSources = "dataSources",
397
397
  DataSourceMode = "dataSourceMode",
398
- ExpandAllDataSource = "expandAllDataSource",
399
398
  DisableActions = "disableAction",
400
399
  DisableActionReason = "disableHint",
401
400
  ForceTable = "forceTable",
@@ -413,6 +412,7 @@ export declare enum Param {
413
412
  executeSearch = "executeSearch",
414
413
  fullHeight = "isFullHeightPinboard",
415
414
  livedBoardEmbed = "isLiveboardEmbed",
415
+ searchEmbed = "isSearchEmbed",
416
416
  Version = "sdkVersion",
417
417
  ViewPortHeight = "viewPortHeight",
418
418
  ViewPortWidth = "viewPortWidth",
@@ -432,7 +432,7 @@ export declare enum Action {
432
432
  EditACopy = "editACopy",
433
433
  CopyLink = "embedDocument",
434
434
  ResetLayout = "resetLayout",
435
- Schedule = "schedule",
435
+ Schedule = "subscription",
436
436
  SchedulesList = "schedule-list",
437
437
  Share = "share",
438
438
  AddFilter = "addFilter",
@@ -481,6 +481,7 @@ export declare enum Action {
481
481
  DrillInclude = "context-menu-item-include",
482
482
  DrillExclude = "context-menu-item-exclude",
483
483
  CopyToClipboard = "context-menu-item-copy-to-clipboard",
484
+ CopyAndEdit = "context-menu-item-copy-and-edit",
484
485
  DrillEdit = "context-menu-item-edit",
485
486
  EditMeasure = "context-menu-item-edit-measure",
486
487
  Separator = "context-menu-item-separator",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2020
2
+ * Copyright (c) 2022
3
3
  *
4
4
  * Common utility functions for ThoughtSpot Visual Embed SDK
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2020
2
+ * Copyright (c) 2022
3
3
  *
4
4
  * Common utility functions for ThoughtSpot Visual Embed SDK
5
5
  *
@@ -111,7 +111,7 @@ const getOffsetTop = (element) => {
111
111
  };
112
112
 
113
113
  /**
114
- * Copyright (c) 2020
114
+ * Copyright (c) 2022
115
115
  *
116
116
  * TypeScript type definitions for ThoughtSpot Visual Embed SDK
117
117
  *
@@ -399,7 +399,6 @@ var Param;
399
399
  (function (Param) {
400
400
  Param["DataSources"] = "dataSources";
401
401
  Param["DataSourceMode"] = "dataSourceMode";
402
- Param["ExpandAllDataSource"] = "expandAllDataSource";
403
402
  Param["DisableActions"] = "disableAction";
404
403
  Param["DisableActionReason"] = "disableHint";
405
404
  Param["ForceTable"] = "forceTable";
@@ -417,6 +416,7 @@ var Param;
417
416
  Param["executeSearch"] = "executeSearch";
418
417
  Param["fullHeight"] = "isFullHeightPinboard";
419
418
  Param["livedBoardEmbed"] = "isLiveboardEmbed";
419
+ Param["searchEmbed"] = "isSearchEmbed";
420
420
  Param["Version"] = "sdkVersion";
421
421
  Param["ViewPortHeight"] = "viewPortHeight";
422
422
  Param["ViewPortWidth"] = "viewPortWidth";
@@ -438,7 +438,7 @@ var Action;
438
438
  Action["EditACopy"] = "editACopy";
439
439
  Action["CopyLink"] = "embedDocument";
440
440
  Action["ResetLayout"] = "resetLayout";
441
- Action["Schedule"] = "schedule";
441
+ Action["Schedule"] = "subscription";
442
442
  Action["SchedulesList"] = "schedule-list";
443
443
  Action["Share"] = "share";
444
444
  Action["AddFilter"] = "addFilter";
@@ -487,6 +487,7 @@ var Action;
487
487
  Action["DrillInclude"] = "context-menu-item-include";
488
488
  Action["DrillExclude"] = "context-menu-item-exclude";
489
489
  Action["CopyToClipboard"] = "context-menu-item-copy-to-clipboard";
490
+ Action["CopyAndEdit"] = "context-menu-item-copy-and-edit";
490
491
  Action["DrillEdit"] = "context-menu-item-edit";
491
492
  Action["EditMeasure"] = "context-menu-item-edit-measure";
492
493
  Action["Separator"] = "context-menu-item-separator";
@@ -507,7 +508,7 @@ const ERROR_MESSAGE = {
507
508
  };
508
509
 
509
510
  /**
510
- * Copyright (c) 2020
511
+ * Copyright (c) 2022
511
512
  *
512
513
  * Utilities related to reading configuration objects
513
514
  *
@@ -8862,10 +8863,10 @@ function processTrigger(iFrame, messageType, thoughtSpotHost, data) {
8862
8863
  }
8863
8864
  }
8864
8865
 
8865
- var name="@thoughtspot/visual-embed-sdk";var version="1.6.3";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/**"];var exports={".":"./lib/src/index.js","./react":"./lib/src/react/index.js"};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false",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":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts",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","test-docs":"jest -c jest.config.docs.js",test:"npm run test-sdk && npm run test-docs && npx istanbul-merge --out ./coverage/coverage.json ./coverage/docs/coverage-final.json ./coverage/sdk/coverage-final.json && npx istanbul report --include ./coverage/coverage.json --dir ./coverage lcov",posttest:"cat ./coverage/lcov.info | coveralls",prepublishOnly:"npm run test; npm run tsc; npm run bundle-dts; npm run build","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","mixpanel-browser":"^2.41.0"};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","@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",classnames:"^2.3.1","command-line-args":"^5.1.1",coveralls:"^3.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.1.0","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":"4.1.0","gatsby-plugin-sitemap":"^4.10.0","gatsby-source-filesystem":"3.1.0","gatsby-transformer-asciidoc":"2.1.0","gatsby-transformer-rehype":"2.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-puppeteer":"^4.4.0",jsdom:"^17.0.0","node-sass":"^4.0.0",prettier:"2.1.2",puppeteer:"^7.0.1",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"2.30.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-neo-theme":"^1.1.0","typedoc-plugin-toc-group":"0.0.5",typescript:"^4.1.0","url-search-params-polyfill":"^8.1.0",util:"^0.12.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version,description:description,module:module,main:main,types:types,files:files,exports:exports,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};
8866
+ var name="@thoughtspot/visual-embed-sdk";var version="1.7.0-alpha.3";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/**"];var exports={".":"./lib/src/index.js","./react":"./lib/src/react/index.js"};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false",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":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts",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","test-docs":"jest -c jest.config.docs.js",test:"npm run test-sdk && npm run test-docs && npx istanbul-merge --out ./coverage/coverage.json ./coverage/docs/coverage-final.json ./coverage/sdk/coverage-final.json && npx istanbul report --include ./coverage/coverage.json --dir ./coverage lcov",posttest:"cat ./coverage/lcov.info | coveralls",prepublishOnly:"npm run test; npm run tsc; npm run bundle-dts; npm run build","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","mixpanel-browser":"^2.41.0"};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","@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","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.1.0","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":"4.1.0","gatsby-plugin-sitemap":"^4.10.0","gatsby-source-filesystem":"3.1.0","gatsby-transformer-asciidoc":"2.1.0","gatsby-transformer-rehype":"2.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-puppeteer":"^4.4.0",jsdom:"^17.0.0","node-sass":"^4.0.0",prettier:"2.1.2",puppeteer:"^7.0.1",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"2.30.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-neo-theme":"^1.1.0","typedoc-plugin-toc-group":"0.0.5",typescript:"^4.1.0","url-search-params-polyfill":"^8.1.0",util:"^0.12.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version,description:description,module:module,main:main,types:types,files:files,exports:exports,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};
8866
8867
 
8867
8868
  /**
8868
- * Copyright (c) 2021
8869
+ * Copyright (c) 2022
8869
8870
  *
8870
8871
  * Base classes
8871
8872
  *
@@ -9296,7 +9297,7 @@ class V1Embed extends TsEmbed {
9296
9297
  }
9297
9298
 
9298
9299
  /**
9299
- * Copyright (c) 2021
9300
+ * Copyright (c) 2022
9300
9301
  *
9301
9302
  * Full application embedding
9302
9303
  * https://developers.thoughtspot.com/docs/?pageid=full-embed
@@ -9443,7 +9444,7 @@ class AppEmbed extends V1Embed {
9443
9444
  }
9444
9445
 
9445
9446
  /**
9446
- * Copyright (c) 2021
9447
+ * Copyright (c) 2022
9447
9448
  *
9448
9449
  * Embed a ThoughtSpot Liveboard or visualization
9449
9450
  * https://developers.thoughtspot.com/docs/?pageid=embed-pinboard
@@ -9554,13 +9555,17 @@ class PinboardEmbed extends LiveboardEmbed {
9554
9555
  }
9555
9556
 
9556
9557
  /**
9557
- * Copyright (c) 2021
9558
+ * Copyright (c) 2022
9558
9559
  *
9559
9560
  * Embed ThoughtSpot search or a saved answer
9560
9561
  *
9561
9562
  * @summary Search embed
9562
9563
  * @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
9563
9564
  */
9565
+ const HiddenActionItemByDefaultForSearchEmbed = [
9566
+ Action.EditACopy,
9567
+ Action.SaveAsView,
9568
+ ];
9564
9569
  /**
9565
9570
  * Embed ThoughtSpot search
9566
9571
  *
@@ -9592,9 +9597,14 @@ class SearchEmbed extends TsEmbed {
9592
9597
  * @param dataSources A list of data source GUIDs
9593
9598
  */
9594
9599
  getIFrameSrc(answerId, dataSources) {
9595
- const { hideResults, expandAllDataSource, enableSearchAssist, forceTable, searchOptions, } = this.viewConfig;
9600
+ var _a;
9601
+ const { hideResults, enableSearchAssist, forceTable, searchOptions, } = this.viewConfig;
9596
9602
  const answerPath = answerId ? `saved-answer/${answerId}` : 'answer';
9597
9603
  const queryParams = this.getBaseQueryParams();
9604
+ queryParams[Param.HideActions] = [
9605
+ ...((_a = queryParams[Param.HideActions]) !== null && _a !== void 0 ? _a : []),
9606
+ ...HiddenActionItemByDefaultForSearchEmbed,
9607
+ ];
9598
9608
  if (dataSources && dataSources.length) {
9599
9609
  queryParams[Param.DataSources] = JSON.stringify(dataSources);
9600
9610
  }
@@ -9615,6 +9625,7 @@ class SearchEmbed extends TsEmbed {
9615
9625
  }
9616
9626
  queryParams[Param.DataSourceMode] = this.getDataSourceMode();
9617
9627
  queryParams[Param.UseLastSelectedDataSource] = false;
9628
+ queryParams[Param.searchEmbed] = true;
9618
9629
  let query = '';
9619
9630
  const queryParamsString = getQueryParamString(queryParams, true);
9620
9631
  if (queryParamsString) {
package/dist/tsembed.js CHANGED
@@ -5,7 +5,7 @@
5
5
  }(this, (function (exports) { 'use strict';
6
6
 
7
7
  /**
8
- * Copyright (c) 2020
8
+ * Copyright (c) 2022
9
9
  *
10
10
  * Common utility functions for ThoughtSpot Visual Embed SDK
11
11
  *
@@ -117,7 +117,7 @@
117
117
  };
118
118
 
119
119
  /**
120
- * Copyright (c) 2020
120
+ * Copyright (c) 2022
121
121
  *
122
122
  * TypeScript type definitions for ThoughtSpot Visual Embed SDK
123
123
  *
@@ -377,7 +377,6 @@
377
377
  (function (Param) {
378
378
  Param["DataSources"] = "dataSources";
379
379
  Param["DataSourceMode"] = "dataSourceMode";
380
- Param["ExpandAllDataSource"] = "expandAllDataSource";
381
380
  Param["DisableActions"] = "disableAction";
382
381
  Param["DisableActionReason"] = "disableHint";
383
382
  Param["ForceTable"] = "forceTable";
@@ -395,6 +394,7 @@
395
394
  Param["executeSearch"] = "executeSearch";
396
395
  Param["fullHeight"] = "isFullHeightPinboard";
397
396
  Param["livedBoardEmbed"] = "isLiveboardEmbed";
397
+ Param["searchEmbed"] = "isSearchEmbed";
398
398
  Param["Version"] = "sdkVersion";
399
399
  Param["ViewPortHeight"] = "viewPortHeight";
400
400
  Param["ViewPortWidth"] = "viewPortWidth";
@@ -410,7 +410,7 @@
410
410
  Action["EditACopy"] = "editACopy";
411
411
  Action["CopyLink"] = "embedDocument";
412
412
  Action["ResetLayout"] = "resetLayout";
413
- Action["Schedule"] = "schedule";
413
+ Action["Schedule"] = "subscription";
414
414
  Action["SchedulesList"] = "schedule-list";
415
415
  Action["Share"] = "share";
416
416
  Action["AddFilter"] = "addFilter";
@@ -459,6 +459,7 @@
459
459
  Action["DrillInclude"] = "context-menu-item-include";
460
460
  Action["DrillExclude"] = "context-menu-item-exclude";
461
461
  Action["CopyToClipboard"] = "context-menu-item-copy-to-clipboard";
462
+ Action["CopyAndEdit"] = "context-menu-item-copy-and-edit";
462
463
  Action["DrillEdit"] = "context-menu-item-edit";
463
464
  Action["EditMeasure"] = "context-menu-item-edit-measure";
464
465
  Action["Separator"] = "context-menu-item-separator";
@@ -479,7 +480,7 @@
479
480
  };
480
481
 
481
482
  /**
482
- * Copyright (c) 2020
483
+ * Copyright (c) 2022
483
484
  *
484
485
  * Utilities related to reading configuration objects
485
486
  *
@@ -8834,10 +8835,10 @@
8834
8835
  }
8835
8836
  }
8836
8837
 
8837
- var name="@thoughtspot/visual-embed-sdk";var version="1.6.3";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/**"];var exports$1={".":"./lib/src/index.js","./react":"./lib/src/react/index.js"};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false",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":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts",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","test-docs":"jest -c jest.config.docs.js",test:"npm run test-sdk && npm run test-docs && npx istanbul-merge --out ./coverage/coverage.json ./coverage/docs/coverage-final.json ./coverage/sdk/coverage-final.json && npx istanbul report --include ./coverage/coverage.json --dir ./coverage lcov",posttest:"cat ./coverage/lcov.info | coveralls",prepublishOnly:"npm run test; npm run tsc; npm run bundle-dts; npm run build","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","mixpanel-browser":"^2.41.0"};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","@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",classnames:"^2.3.1","command-line-args":"^5.1.1",coveralls:"^3.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.1.0","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":"4.1.0","gatsby-plugin-sitemap":"^4.10.0","gatsby-source-filesystem":"3.1.0","gatsby-transformer-asciidoc":"2.1.0","gatsby-transformer-rehype":"2.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-puppeteer":"^4.4.0",jsdom:"^17.0.0","node-sass":"^4.0.0",prettier:"2.1.2",puppeteer:"^7.0.1",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"2.30.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-neo-theme":"^1.1.0","typedoc-plugin-toc-group":"0.0.5",typescript:"^4.1.0","url-search-params-polyfill":"^8.1.0",util:"^0.12.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version,description:description,module:module,main:main,types:types,files:files,exports:exports$1,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};
8838
+ var name="@thoughtspot/visual-embed-sdk";var version="1.7.0-alpha.3";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/**"];var exports$1={".":"./lib/src/index.js","./react":"./lib/src/react/index.js"};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false",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":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts",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","test-docs":"jest -c jest.config.docs.js",test:"npm run test-sdk && npm run test-docs && npx istanbul-merge --out ./coverage/coverage.json ./coverage/docs/coverage-final.json ./coverage/sdk/coverage-final.json && npx istanbul report --include ./coverage/coverage.json --dir ./coverage lcov",posttest:"cat ./coverage/lcov.info | coveralls",prepublishOnly:"npm run test; npm run tsc; npm run bundle-dts; npm run build","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","mixpanel-browser":"^2.41.0"};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","@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","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.1.0","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":"4.1.0","gatsby-plugin-sitemap":"^4.10.0","gatsby-source-filesystem":"3.1.0","gatsby-transformer-asciidoc":"2.1.0","gatsby-transformer-rehype":"2.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-puppeteer":"^4.4.0",jsdom:"^17.0.0","node-sass":"^4.0.0",prettier:"2.1.2",puppeteer:"^7.0.1",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"2.30.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-neo-theme":"^1.1.0","typedoc-plugin-toc-group":"0.0.5",typescript:"^4.1.0","url-search-params-polyfill":"^8.1.0",util:"^0.12.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version,description:description,module:module,main:main,types:types,files:files,exports:exports$1,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};
8838
8839
 
8839
8840
  /**
8840
- * Copyright (c) 2021
8841
+ * Copyright (c) 2022
8841
8842
  *
8842
8843
  * Base classes
8843
8844
  *
@@ -9268,7 +9269,7 @@
9268
9269
  }
9269
9270
 
9270
9271
  /**
9271
- * Copyright (c) 2021
9272
+ * Copyright (c) 2022
9272
9273
  *
9273
9274
  * Full application embedding
9274
9275
  * https://developers.thoughtspot.com/docs/?pageid=full-embed
@@ -9410,7 +9411,7 @@
9410
9411
  }
9411
9412
 
9412
9413
  /**
9413
- * Copyright (c) 2021
9414
+ * Copyright (c) 2022
9414
9415
  *
9415
9416
  * Embed a ThoughtSpot Liveboard or visualization
9416
9417
  * https://developers.thoughtspot.com/docs/?pageid=embed-pinboard
@@ -9521,13 +9522,17 @@
9521
9522
  }
9522
9523
 
9523
9524
  /**
9524
- * Copyright (c) 2021
9525
+ * Copyright (c) 2022
9525
9526
  *
9526
9527
  * Embed ThoughtSpot search or a saved answer
9527
9528
  *
9528
9529
  * @summary Search embed
9529
9530
  * @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
9530
9531
  */
9532
+ const HiddenActionItemByDefaultForSearchEmbed = [
9533
+ exports.Action.EditACopy,
9534
+ exports.Action.SaveAsView,
9535
+ ];
9531
9536
  /**
9532
9537
  * Embed ThoughtSpot search
9533
9538
  *
@@ -9559,9 +9564,14 @@
9559
9564
  * @param dataSources A list of data source GUIDs
9560
9565
  */
9561
9566
  getIFrameSrc(answerId, dataSources) {
9562
- const { hideResults, expandAllDataSource, enableSearchAssist, forceTable, searchOptions, } = this.viewConfig;
9567
+ var _a;
9568
+ const { hideResults, enableSearchAssist, forceTable, searchOptions, } = this.viewConfig;
9563
9569
  const answerPath = answerId ? `saved-answer/${answerId}` : 'answer';
9564
9570
  const queryParams = this.getBaseQueryParams();
9571
+ queryParams[Param.HideActions] = [
9572
+ ...((_a = queryParams[Param.HideActions]) !== null && _a !== void 0 ? _a : []),
9573
+ ...HiddenActionItemByDefaultForSearchEmbed,
9574
+ ];
9565
9575
  if (dataSources && dataSources.length) {
9566
9576
  queryParams[Param.DataSources] = JSON.stringify(dataSources);
9567
9577
  }
@@ -9582,6 +9592,7 @@
9582
9592
  }
9583
9593
  queryParams[Param.DataSourceMode] = this.getDataSourceMode();
9584
9594
  queryParams[Param.UseLastSelectedDataSource] = false;
9595
+ queryParams[Param.searchEmbed] = true;
9585
9596
  let query = '';
9586
9597
  const queryParamsString = getQueryParamString(queryParams, true);
9587
9598
  if (queryParamsString) {
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thoughtspot/visual-embed-sdk",
3
- "version": "1.6.3",
3
+ "version": "1.7.0-alpha.3",
4
4
  "description": "ThoughtSpot Embed SDK",
5
5
  "module": "lib/src/index.js",
6
6
  "main": "dist/tsembed.js",
@@ -65,7 +65,6 @@
65
65
  "asciidoctor": "^2.2.1",
66
66
  "babel-jest": "^26.6.3",
67
67
  "babel-preset-gatsby": "^1.10.0",
68
- "classnames": "^2.3.1",
69
68
  "command-line-args": "^5.1.1",
70
69
  "coveralls": "^3.1.0",
71
70
  "dts-bundle": "0.7.3",
package/lib/src/config.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ERROR_MESSAGE } from './errors';
2
2
  /**
3
- * Copyright (c) 2020
3
+ * Copyright (c) 2022
4
4
  *
5
5
  * Utilities related to reading configuration objects
6
6
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2021
2
+ * Copyright (c) 2022
3
3
  *
4
4
  * Full application embedding
5
5
  * https://developers.thoughtspot.com/docs/?pageid=full-embed
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2021
2
+ * Copyright (c) 2022
3
3
  *
4
4
  * Full application embedding
5
5
  * https://developers.thoughtspot.com/docs/?pageid=full-embed
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable import/no-mutable-exports */
2
2
  /**
3
- * Copyright (c) 2021
3
+ * Copyright (c) 2022
4
4
  *
5
5
  * Base classes
6
6
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2021
2
+ * Copyright (c) 2022
3
3
  *
4
4
  * Embed a ThoughtSpot Liveboard or visualization
5
5
  * https://developers.thoughtspot.com/docs/?pageid=embed-pinboard
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2021
2
+ * Copyright (c) 2022
3
3
  *
4
4
  * Embed a ThoughtSpot Liveboard or visualization
5
5
  * https://developers.thoughtspot.com/docs/?pageid=embed-pinboard