@thoughtspot/visual-embed-sdk 1.20.0 → 1.21.0-alpha.0

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 (185) hide show
  1. package/README.md +1 -1
  2. package/dist/src/auth.d.ts +84 -5
  3. package/dist/src/auth.d.ts.map +1 -1
  4. package/dist/src/config.d.ts +1 -0
  5. package/dist/src/config.d.ts.map +1 -1
  6. package/dist/src/embed/app.d.ts +19 -7
  7. package/dist/src/embed/app.d.ts.map +1 -1
  8. package/dist/src/embed/base.d.ts +39 -19
  9. package/dist/src/embed/base.d.ts.map +1 -1
  10. package/dist/src/embed/liveboard.d.ts +19 -7
  11. package/dist/src/embed/liveboard.d.ts.map +1 -1
  12. package/dist/src/embed/search-bar.d.ts +7 -1
  13. package/dist/src/embed/search-bar.d.ts.map +1 -1
  14. package/dist/src/embed/search.d.ts +11 -7
  15. package/dist/src/embed/search.d.ts.map +1 -1
  16. package/dist/src/embed/ts-embed.d.ts +97 -5
  17. package/dist/src/embed/ts-embed.d.ts.map +1 -1
  18. package/dist/src/errors.d.ts.map +1 -1
  19. package/dist/src/index.d.ts +3 -3
  20. package/dist/src/index.d.ts.map +1 -1
  21. package/dist/src/mixpanel-service.d.ts +8 -0
  22. package/dist/src/mixpanel-service.d.ts.map +1 -1
  23. package/dist/src/react/index.d.ts.map +1 -1
  24. package/dist/src/react/util.d.ts +4 -0
  25. package/dist/src/react/util.d.ts.map +1 -1
  26. package/dist/src/test/test-utils.d.ts +11 -2
  27. package/dist/src/test/test-utils.d.ts.map +1 -1
  28. package/dist/src/types.d.ts +430 -98
  29. package/dist/src/types.d.ts.map +1 -1
  30. package/dist/src/utils/answerService.d.ts +7 -0
  31. package/dist/src/utils/answerService.d.ts.map +1 -1
  32. package/dist/src/utils/authService.d.ts +30 -0
  33. package/dist/src/utils/authService.d.ts.map +1 -1
  34. package/dist/src/utils/processData.d.ts +12 -0
  35. package/dist/src/utils/processData.d.ts.map +1 -1
  36. package/dist/src/utils/processTrigger.d.ts +7 -0
  37. package/dist/src/utils/processTrigger.d.ts.map +1 -1
  38. package/dist/src/utils.d.ts +12 -0
  39. package/dist/src/utils.d.ts.map +1 -1
  40. package/dist/tsembed.es.js +849 -288
  41. package/dist/tsembed.js +822 -287
  42. package/lib/package.json +4 -10
  43. package/lib/src/auth.d.ts +84 -5
  44. package/lib/src/auth.d.ts.map +1 -1
  45. package/lib/src/auth.js +86 -26
  46. package/lib/src/auth.js.map +1 -1
  47. package/lib/src/auth.spec.js +14 -5
  48. package/lib/src/auth.spec.js.map +1 -1
  49. package/lib/src/config.d.ts +1 -0
  50. package/lib/src/config.d.ts.map +1 -1
  51. package/lib/src/config.js +5 -3
  52. package/lib/src/config.js.map +1 -1
  53. package/lib/src/config.spec.js.map +1 -1
  54. package/lib/src/embed/app.d.ts +19 -7
  55. package/lib/src/embed/app.d.ts.map +1 -1
  56. package/lib/src/embed/app.js +26 -16
  57. package/lib/src/embed/app.js.map +1 -1
  58. package/lib/src/embed/app.spec.js +12 -12
  59. package/lib/src/embed/app.spec.js.map +1 -1
  60. package/lib/src/embed/base.d.ts +39 -19
  61. package/lib/src/embed/base.d.ts.map +1 -1
  62. package/lib/src/embed/base.js +49 -15
  63. package/lib/src/embed/base.js.map +1 -1
  64. package/lib/src/embed/base.spec.js +2 -2
  65. package/lib/src/embed/base.spec.js.map +1 -1
  66. package/lib/src/embed/embed.spec.js +1 -1
  67. package/lib/src/embed/embed.spec.js.map +1 -1
  68. package/lib/src/embed/liveboard.d.ts +19 -7
  69. package/lib/src/embed/liveboard.d.ts.map +1 -1
  70. package/lib/src/embed/liveboard.js +50 -38
  71. package/lib/src/embed/liveboard.js.map +1 -1
  72. package/lib/src/embed/liveboard.spec.js +37 -30
  73. package/lib/src/embed/liveboard.spec.js.map +1 -1
  74. package/lib/src/embed/pinboard.spec.js +14 -26
  75. package/lib/src/embed/pinboard.spec.js.map +1 -1
  76. package/lib/src/embed/search-bar.d.ts +7 -1
  77. package/lib/src/embed/search-bar.d.ts.map +1 -1
  78. package/lib/src/embed/search-bar.js +6 -7
  79. package/lib/src/embed/search-bar.js.map +1 -1
  80. package/lib/src/embed/search.d.ts +11 -7
  81. package/lib/src/embed/search.d.ts.map +1 -1
  82. package/lib/src/embed/search.js +19 -15
  83. package/lib/src/embed/search.js.map +1 -1
  84. package/lib/src/embed/search.spec.js +16 -19
  85. package/lib/src/embed/search.spec.js.map +1 -1
  86. package/lib/src/embed/searchEmbed-basic-auth.spec.js +4 -0
  87. package/lib/src/embed/searchEmbed-basic-auth.spec.js.map +1 -1
  88. package/lib/src/embed/ts-embed.d.ts +97 -5
  89. package/lib/src/embed/ts-embed.d.ts.map +1 -1
  90. package/lib/src/embed/ts-embed.js +180 -74
  91. package/lib/src/embed/ts-embed.js.map +1 -1
  92. package/lib/src/embed/ts-embed.spec.js +46 -24
  93. package/lib/src/embed/ts-embed.spec.js.map +1 -1
  94. package/lib/src/errors.d.ts.map +1 -1
  95. package/lib/src/errors.js.map +1 -1
  96. package/lib/src/index.d.ts +3 -3
  97. package/lib/src/index.d.ts.map +1 -1
  98. package/lib/src/index.js +3 -3
  99. package/lib/src/index.js.map +1 -1
  100. package/lib/src/mixpanel-service.d.ts +8 -0
  101. package/lib/src/mixpanel-service.d.ts.map +1 -1
  102. package/lib/src/mixpanel-service.js +13 -1
  103. package/lib/src/mixpanel-service.js.map +1 -1
  104. package/lib/src/mixpanel-service.spec.js.map +1 -1
  105. package/lib/src/react/index.d.ts.map +1 -1
  106. package/lib/src/react/index.js +9 -7
  107. package/lib/src/react/index.js.map +1 -1
  108. package/lib/src/react/index.spec.js +29 -8
  109. package/lib/src/react/index.spec.js.map +1 -1
  110. package/lib/src/react/util.d.ts +4 -0
  111. package/lib/src/react/util.d.ts.map +1 -1
  112. package/lib/src/react/util.js +4 -0
  113. package/lib/src/react/util.js.map +1 -1
  114. package/lib/src/test/test-utils.d.ts +11 -2
  115. package/lib/src/test/test-utils.d.ts.map +1 -1
  116. package/lib/src/test/test-utils.js +36 -25
  117. package/lib/src/test/test-utils.js.map +1 -1
  118. package/lib/src/types.d.ts +430 -98
  119. package/lib/src/types.d.ts.map +1 -1
  120. package/lib/src/types.js +311 -73
  121. package/lib/src/types.js.map +1 -1
  122. package/lib/src/utils/answerService.d.ts +7 -0
  123. package/lib/src/utils/answerService.d.ts.map +1 -1
  124. package/lib/src/utils/answerService.js +7 -0
  125. package/lib/src/utils/answerService.js.map +1 -1
  126. package/lib/src/utils/answerService.spec.js.map +1 -1
  127. package/lib/src/utils/authService.d.ts +30 -0
  128. package/lib/src/utils/authService.d.ts.map +1 -1
  129. package/lib/src/utils/authService.js +39 -2
  130. package/lib/src/utils/authService.js.map +1 -1
  131. package/lib/src/utils/authService.spec.js.map +1 -1
  132. package/lib/src/utils/processData.d.ts +12 -0
  133. package/lib/src/utils/processData.d.ts.map +1 -1
  134. package/lib/src/utils/processData.js +33 -5
  135. package/lib/src/utils/processData.js.map +1 -1
  136. package/lib/src/utils/processData.spec.js.map +1 -1
  137. package/lib/src/utils/processTrigger.d.ts +7 -0
  138. package/lib/src/utils/processTrigger.d.ts.map +1 -1
  139. package/lib/src/utils/processTrigger.js +17 -3
  140. package/lib/src/utils/processTrigger.js.map +1 -1
  141. package/lib/src/utils/processTrigger.spec.js.map +1 -1
  142. package/lib/src/utils.d.ts +12 -0
  143. package/lib/src/utils.d.ts.map +1 -1
  144. package/lib/src/utils.js +24 -19
  145. package/lib/src/utils.js.map +1 -1
  146. package/lib/src/utils.spec.js.map +1 -1
  147. package/lib/src/visual-embed-sdk.d.ts +695 -146
  148. package/package.json +4 -10
  149. package/src/auth.spec.ts +68 -150
  150. package/src/auth.ts +153 -101
  151. package/src/config.spec.ts +2 -4
  152. package/src/config.ts +5 -3
  153. package/src/embed/app.spec.ts +25 -14
  154. package/src/embed/app.ts +49 -37
  155. package/src/embed/base.spec.ts +6 -12
  156. package/src/embed/base.ts +74 -57
  157. package/src/embed/embed.spec.ts +5 -6
  158. package/src/embed/liveboard.spec.ts +56 -37
  159. package/src/embed/liveboard.ts +68 -66
  160. package/src/embed/pinboard.spec.ts +26 -29
  161. package/src/embed/search-bar.tsx +14 -9
  162. package/src/embed/search.spec.ts +31 -21
  163. package/src/embed/search.ts +28 -27
  164. package/src/embed/searchEmbed-basic-auth.spec.ts +22 -28
  165. package/src/embed/ts-embed.spec.ts +99 -144
  166. package/src/embed/ts-embed.ts +214 -159
  167. package/src/errors.ts +3 -6
  168. package/src/index.ts +23 -7
  169. package/src/mixpanel-service.spec.ts +1 -3
  170. package/src/mixpanel-service.ts +13 -1
  171. package/src/react/index.spec.tsx +72 -15
  172. package/src/react/index.tsx +43 -54
  173. package/src/react/util.ts +8 -4
  174. package/src/test/test-utils.ts +43 -39
  175. package/src/types.ts +428 -99
  176. package/src/utils/answerService.spec.ts +3 -5
  177. package/src/utils/answerService.ts +21 -17
  178. package/src/utils/authService.spec.ts +26 -41
  179. package/src/utils/authService.ts +47 -21
  180. package/src/utils/processData.spec.ts +26 -59
  181. package/src/utils/processData.ts +36 -14
  182. package/src/utils/processTrigger.spec.ts +1 -6
  183. package/src/utils/processTrigger.ts +18 -9
  184. package/src/utils.spec.ts +8 -12
  185. package/src/utils.ts +25 -26
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  # ThoughtSpot Visual Embed SDK <br/> [![Coverage Status](https://coveralls.io/repos/github/ts-blink/embed-sdk/badge.svg?branch=main)](https://coveralls.io/github/ts-blink/embed-sdk?branch=main) ![npm (scoped with tag)](https://img.shields.io/npm/v/@thoughtspot/visual-embed-sdk) [![](https://data.jsdelivr.com/v1/package/npm/@thoughtspot/visual-embed-sdk/badge?style=rounded)](https://www.jsdelivr.com/package/npm/@thoughtspot/visual-embed-sdk) ![npm](https://img.shields.io/npm/dm/@thoughtspot/visual-embed-sdk?label=npm%20downloads&style=flat-square) [![Featured on Openbase](https://badges.openbase.com/js/featured/@thoughtspot/visual-embed-sdk.svg?token=IoqZUwE8aX7LYNedeuBLM2w5Wt52hu+Dh0eyKjlpC0E=)](https://openbase.com/js/@thoughtspot/visual-embed-sdk?utm_source=embedded&amp;utm_medium=badge&amp;utm_campaign=rate-badge) ![npm bundle size (scoped)](https://img.shields.io/bundlephobia/minzip/@thoughtspot/visual-embed-sdk?style=flat-square)
8
8
 
9
9
 
10
- SDK to embed ThoughtSpot into your web apps. You need to have a ThoughtSpot account to use the SDK, [click here](https://www.thoughtspot.com/trial?tsref=trialtse) to start a trial.
10
+ SDK to embed ThoughtSpot into your web apps. You need a ThoughtSpot account to use the SDK, [click here](https://www.thoughtspot.com/trial?tsref=trialtse) to start a trial.
11
11
 
12
12
  * [Installation](#installation)
13
13
  * [Live Playground](#live-playground)
@@ -12,12 +12,23 @@ export declare const EndPoints: {
12
12
  BASIC_LOGIN: string;
13
13
  LOGOUT: string;
14
14
  };
15
+ /**
16
+ * Enum for auth failure types. This is the parameter passed to the listner
17
+ * of {@link AuthStatus.FAILURE}.
18
+ *
19
+ * @group Authentication / Init
20
+ */
15
21
  export declare enum AuthFailureType {
16
22
  SDK = "SDK",
17
23
  NO_COOKIE_ACCESS = "NO_COOKIE_ACCESS",
18
24
  EXPIRY = "EXPIRY",
19
25
  OTHER = "OTHER"
20
26
  }
27
+ /**
28
+ * Enum for auth status emitted by the emitter returned from {@link init}.
29
+ *
30
+ * @group Authentication / Init
31
+ */
21
32
  export declare enum AuthStatus {
22
33
  /**
23
34
  * Emits when the SDK fails to authenticate
@@ -39,40 +50,106 @@ export declare enum AuthStatus {
39
50
  * Emitted when inPopup: true in the SAMLRedirect flow.
40
51
  * And, we are waiting for popup to be triggered either programatically
41
52
  * or by the trigger button.
53
+ *
42
54
  * @version SDK: 1.19.0
43
55
  */
44
56
  WAITING_FOR_POPUP = "WAITING_FOR_POPUP"
45
57
  }
58
+ /**
59
+ * Event emitter returned from {@link init}.
60
+ *
61
+ * @group Authentication / Init
62
+ */
63
+ export interface AuthEventEmitter {
64
+ /**
65
+ * Register a listener on Auth failure.
66
+ *
67
+ * @param event
68
+ * @param listener
69
+ */
70
+ on(event: AuthStatus.FAILURE, listener: (failureType: AuthFailureType) => void): this;
71
+ /**
72
+ * Register a listener on Auth SDK success.
73
+ *
74
+ * @param event
75
+ * @param listener
76
+ */
77
+ on(event: AuthStatus.SDK_SUCCESS | AuthStatus.LOGOUT | AuthStatus.WAITING_FOR_POPUP, listener: () => void): this;
78
+ on(event: AuthStatus.SUCCESS, listener: (sessionInfo: any) => void): this;
79
+ once(event: AuthStatus.FAILURE, listener: (failureType: AuthFailureType) => void): this;
80
+ once(event: AuthStatus.SDK_SUCCESS | AuthStatus.LOGOUT | AuthStatus.WAITING_FOR_POPUP, listener: () => void): this;
81
+ once(event: AuthStatus.SUCCESS, listener: (sessionInfo: any) => void): this;
82
+ /**
83
+ * Trigger an event on the emitter returned from init.
84
+ *
85
+ * @param {@link AuthEvent}
86
+ */
87
+ emit(event: AuthEvent): void;
88
+ }
89
+ /**
90
+ * Events which can be triggered on the emitter returned from {@link init}.
91
+ *
92
+ * @group Authentication / Init
93
+ */
46
94
  export declare enum AuthEvent {
47
95
  /**
48
- * Manually trigger the SSO popup.
96
+ * Manually trigger the SSO popup. This is useful with
97
+ * authStatus: SAMLRedirect/OIDCRedicre and inPopup: true
49
98
  */
50
99
  TRIGGER_SSO_POPUP = "TRIGGER_SSO_POPUP"
51
100
  }
52
- export declare function getAuthEE(): EventEmitter;
53
- export declare function setAuthEE(eventEmitter: EventEmitter): void;
101
+ /**
102
+ *
103
+ */
104
+ export declare function getAuthEE(): EventEmitter<AuthStatus | AuthEvent>;
105
+ /**
106
+ *
107
+ * @param eventEmitter
108
+ */
109
+ export declare function setAuthEE(eventEmitter: EventEmitter<AuthStatus | AuthEvent>): void;
110
+ /**
111
+ *
112
+ */
54
113
  export declare function notifyAuthSDKSuccess(): void;
114
+ /**
115
+ *
116
+ */
55
117
  export declare function notifyAuthSuccess(): void;
118
+ /**
119
+ *
120
+ * @param failureType
121
+ */
56
122
  export declare function notifyAuthFailure(failureType: AuthFailureType): void;
123
+ /**
124
+ *
125
+ */
57
126
  export declare function notifyLogout(): void;
58
127
  /**
59
128
  * Return releaseVersion if available
60
129
  */
61
130
  export declare function getReleaseVersion(): string;
62
131
  /**
63
- * Return a promise that resolves with the session info when authentication is
64
- * successful. And info is available.
132
+ * Return a promise that resolves with the session information when
133
+ * authentication is successful. And info is available.
134
+ *
135
+ * @group Global methods
65
136
  */
66
137
  export declare function getSessionInfo(): Promise<any>;
138
+ /**
139
+ *
140
+ * @param sessionDetails
141
+ */
67
142
  export declare function initSession(sessionDetails: any): void;
68
143
  export declare const getAuthenticaionToken: (embedConfig: EmbedConfig) => Promise<any>;
69
144
  /**
70
145
  * Perform token based authentication
146
+ *
71
147
  * @param embedConfig The embed configuration
72
148
  */
73
149
  export declare const doTokenAuth: (embedConfig: EmbedConfig) => Promise<boolean>;
74
150
  /**
75
151
  * Validate embedConfig parameters required for cookielessTokenAuth
152
+ *
76
153
  * @param embedConfig The embed configuration
77
154
  */
78
155
  export declare const doCookielessTokenAuth: (embedConfig: EmbedConfig) => Promise<boolean>;
@@ -82,6 +159,7 @@ export declare const doCookielessTokenAuth: (embedConfig: EmbedConfig) => Promis
82
159
  *
83
160
  * Warning: This feature is primarily intended for developer testing. It is
84
161
  * strongly advised not to use this authentication method in production.
162
+ *
85
163
  * @param embedConfig The embed configuration
86
164
  */
87
165
  export declare const doBasicAuth: (embedConfig: EmbedConfig) => Promise<boolean>;
@@ -90,6 +168,7 @@ export declare const doOIDCAuth: (embedConfig: EmbedConfig) => Promise<boolean>;
90
168
  export declare const logout: (embedConfig: EmbedConfig) => Promise<boolean>;
91
169
  /**
92
170
  * Perform authentication on the ThoughtSpot cluster
171
+ *
93
172
  * @param embedConfig The embed configuration
94
173
  */
95
174
  export declare const authenticate: (embedConfig: EmbedConfig) => Promise<boolean>;
@@ -1 +1 @@
1
- {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["auth.ts"],"names":[],"mappings":"AAAA,OAA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;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,IAAI,CAM3C;AAED;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,IAAI,CAMxC;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,eAAe,GAAG,IAAI,CAMpE;AAED;;GAEG;AACH,wBAAgB,YAAY,IAAI,IAAI,CAMnC;AAoBD;;GAEG;AACH,wBAAgB,iBAAiB,WAEhC;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,IAAI,OAAO,CAAC,GAAG,CAAC,CAE7C;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,cAAc,EAAE,GAAG,QAI9C;AAqCD,eAAO,MAAM,qBAAqB,gBAAuB,WAAW,KAAG,QAAQ,GAAG,CAWjF,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,WAAW,gBAAuB,WAAW,KAAG,QAAQ,OAAO,CAyB3E,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,gBAAuB,WAAW,KAAG,QAAQ,OAAO,CAMrF,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW,gBAAuB,WAAW,KAAG,QAAQ,OAAO,CAa3E,CAAC;AA6EF,eAAO,MAAM,UAAU,gBAAuB,WAAW,qBAiBxD,CAAC;AAEF,eAAO,MAAM,UAAU,gBAAuB,WAAW,qBAiBxD,CAAC;AAEF,eAAO,MAAM,MAAM,gBAAuB,WAAW,KAAG,QAAQ,OAAO,CAKtE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,YAAY,gBAAuB,WAAW,KAAG,QAAQ,OAAO,CAoB5E,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,QAAO,OAAyB,CAAC"}
@@ -2,6 +2,7 @@ import { EmbedConfig } from './types';
2
2
  /**
3
3
  * Parse and construct the ThoughtSpot hostname or IP address
4
4
  * from the embed configuration object.
5
+ *
5
6
  * @param config
6
7
  */
7
8
  export declare const getThoughtSpotHost: (config: EmbedConfig) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAqBtC;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,WAAY,WAAW,KAAG,MAiBxD,CAAC;AAEF,eAAO,MAAM,aAAa,WAAY,WAAW,KAAG,MAenD,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,cAAc,OAAO,CAAC;AAEnC;;GAEG;AACH,eAAO,MAAM,mBAAmB,SAAS,CAAC;AAC1C,eAAO,MAAM,oBAAoB,SAAS,CAAC"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAqBtC;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,WAAY,WAAW,KAAG,MAiBxD,CAAC;AAEF,eAAO,MAAM,aAAa,WAAY,WAAW,KAAG,MAgBnD,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,cAAc,OAAO,CAAC;AAEnC;;GAEG;AACH,eAAO,MAAM,mBAAmB,SAAS,CAAC;AAC1C,eAAO,MAAM,oBAAoB,SAAS,CAAC"}
@@ -45,7 +45,8 @@ export declare enum Page {
45
45
  }
46
46
  /**
47
47
  * The view configuration for full app embedding.
48
- * @Category App Embed
48
+ *
49
+ * @group Embed components
49
50
  */
50
51
  export interface AppViewConfig extends ViewConfig {
51
52
  /**
@@ -70,8 +71,9 @@ export interface AppViewConfig extends ViewConfig {
70
71
  */
71
72
  pageId?: Page;
72
73
  /**
73
- * This puts a filter tag on the application. All metadata lists in the application, such as
74
- * Liveboards and answers, would be filtered by this tag.
74
+ * This puts a filter tag on the application. All metadata lists in the
75
+ * application, such as Liveboards and answers, would be filtered by this
76
+ * tag.
75
77
  */
76
78
  tag?: string;
77
79
  /**
@@ -81,19 +83,22 @@ export interface AppViewConfig extends ViewConfig {
81
83
  /**
82
84
  * Render liveboards using the new v2 rendering mode
83
85
  * This is a transient flag which is primarily meant for internal use
86
+ *
84
87
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1-sw
85
88
  * @hidden
86
89
  */
87
90
  liveboardV2?: boolean;
88
91
  /**
89
92
  * If set to true, the Search Assist feature is enabled.
93
+ *
90
94
  * @version SDK: 1.13.0 | ThoughtSpot: 8.5.0.cl, 8.8.1-sw
91
95
  */
92
96
  enableSearchAssist?: boolean;
93
97
  }
94
98
  /**
95
99
  * Embeds full ThoughtSpot experience in a host application.
96
- * @Category App Embed
100
+ *
101
+ * @group Embed components
97
102
  */
98
103
  export declare class AppEmbed extends V1Embed {
99
104
  protected viewConfig: AppViewConfig;
@@ -102,35 +107,42 @@ export declare class AppEmbed extends V1Embed {
102
107
  * Constructs a map of parameters to be passed on to the
103
108
  * embedded Liveboard or visualization.
104
109
  */
105
- private getEmbedParams;
110
+ protected getEmbedParams(): string;
106
111
  /**
107
112
  * Constructs the URL of the ThoughtSpot app page to be rendered.
113
+ *
108
114
  * @param pageId The ID of the page to be embedded.
109
115
  */
110
116
  private getIFrameSrc;
111
117
  /**
112
118
  * Gets the ThoughtSpot route of the page for a particular page ID.
119
+ *
113
120
  * @param pageId The identifier for a page in the ThoughtSpot app.
114
121
  */
115
122
  private getPageRoute;
116
123
  /**
117
124
  * Formats the path provided by the user.
125
+ *
118
126
  * @param path The URL path.
119
127
  * @returns The URL path that the embedded app understands.
120
128
  */
121
129
  private formatPath;
122
130
  /**
123
131
  * Navigate to particular page for app embed. eg:answers/pinboards/home
124
- * This is used for embedding answers, pinboards, visualizations and full application only.
132
+ * This is used for embedding answers, pinboards, visualizations and full application
133
+ * only.
134
+ *
125
135
  * @param path string | number The string, set to iframe src and navigate to new page
126
136
  * eg: appEmbed.navigateToPage('pinboards')
127
- * When used with `noReload` this can also be a number like 1/-1 to go forward/back.
137
+ * When used with `noReload` (default: true) this can also be a number
138
+ * like 1/-1 to go forward/back.
128
139
  * @param noReload boolean Trigger the navigation without reloading the page
129
140
  * @version SDK: 1.12.0 | ThoughtSpot: 8.4.0.cl, 8.4.1-sw
130
141
  */
131
142
  navigateToPage(path: string | number, noReload?: boolean): void;
132
143
  /**
133
144
  * Renders the embedded application pages in the ThoughtSpot app.
145
+ *
134
146
  * @param renderOptions An object containing the page ID
135
147
  * to be embedded.
136
148
  */
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.ts","sourceRoot":"","sources":["app.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,EAGH,WAAW,EAEX,UAAU,EACb,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC;;GAEG;AAEH,oBAAY,IAAI;IACZ;;OAEG;IACH,IAAI,SAAS;IACb;;OAEG;IACH,MAAM,WAAW;IACjB;;OAEG;IACH,OAAO,YAAY;IACnB;;OAEG;IACH,UAAU,eAAe;IACzB;;OAEG;IACH,SAAS,cAAc;IACvB;;OAEG;IACH,IAAI,SAAS;IACb;;OAEG;IACH,MAAM,WAAW;CACpB;AAED;;;GAGG;AACH,MAAM,WAAW,aAAc,SAAQ,UAAU;IAC7C;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,MAAM,CAAC,EAAE,IAAI,CAAC;IACd;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED;;;GAGG;AACH,qBAAa,QAAS,SAAQ,OAAO;IACjC,SAAS,CA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AAC;IACtB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED;;;;GAIG;AACH,qBAAa,QAAS,SAAQ,OAAO;IACjC,SAAS,CAAC,UAAU,EAAE,aAAa,CAAC;gBAGxB,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa;IAI/D;;;OAGG;IACH,SAAS,CAAC,cAAc;IAoCxB;;;;OAIG;IACH,OAAO,CAAC,YAAY;IAWpB;;;;OAIG;IACH,OAAO,CAAC,YAAY;IAoBpB;;;;;OAKG;IACH,OAAO,CAAC,UAAU;IAalB;;;;;;;;;;;OAWG;IACI,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,QAAQ,UAAQ,GAAG,IAAI;IAsBpE;;;;;OAKG;IACI,MAAM,IAAI,QAAQ;CAO5B"}
@@ -1,15 +1,13 @@
1
+ import { EmbedConfig, PrefetchFeatures } from '../types';
2
+ import { notifyAuthFailure, notifyAuthSDKSuccess, notifyAuthSuccess, notifyLogout, AuthEventEmitter } from '../auth';
3
+ export declare let authPromise: Promise<boolean>;
1
4
  /**
2
- * Copyright (c) 2022
5
+ * Gets the configuration embed was initialized with.
3
6
  *
4
- * Base classes
5
- *
6
- * @summary Base classes
7
- * @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
7
+ * @returns {@link EmbedConfig} The configuration embed was initialized with.
8
+ * @version SDK: 1.19.0 | ThoughtSpot: *
9
+ * @group Global methods
8
10
  */
9
- import EventEmitter from 'eventemitter3';
10
- import { EmbedConfig, PrefetchFeatures } from '../types';
11
- import { notifyAuthFailure, notifyAuthSDKSuccess, notifyAuthSuccess, notifyLogout } from '../auth';
12
- export declare let authPromise: Promise<boolean>;
13
11
  export declare const getEmbedConfig: () => EmbedConfig;
14
12
  export declare const getAuthPromise: () => Promise<boolean>;
15
13
  export { notifyAuthFailure, notifyAuthSDKSuccess, notifyAuthSuccess, notifyLogout, };
@@ -18,40 +16,62 @@ export { notifyAuthFailure, notifyAuthSDKSuccess, notifyAuthSuccess, notifyLogou
18
16
  */
19
17
  export declare const handleAuth: () => Promise<boolean>;
20
18
  /**
21
- * Prefetches static resources from the specified URL. Web browsers can then cache the prefetched resources and serve them from the user's local disk to provide faster access to your app.
19
+ * Prefetches static resources from the specified URL. Web browsers can then cache the
20
+ * prefetched resources and serve them from the user's local disk to provide faster access
21
+ * to your app.
22
+ *
22
23
  * @param url The URL provided for prefetch
23
24
  * @param prefetchFeatures Specify features which needs to be prefetched.
24
25
  * @version SDK: 1.4.0 | ThoughtSpot: ts7.sep.cl, 7.2.1
26
+ * @group Global methods
25
27
  */
26
28
  export declare const prefetch: (url?: string, prefetchFeatures?: PrefetchFeatures[]) => void;
27
29
  /**
28
30
  * Initializes the Visual Embed SDK globally and perform
29
31
  * authentication if applicable.
32
+ *
30
33
  * @param embedConfig The configuration object containing ThoughtSpot host,
31
34
  * authentication mechanism and so on.
32
- * example: authStatus = init(config);
33
- * authStatus.on(AuthStatus.FAILURE, (reason) => { // do something here });
34
- * @returns event emitter which emits events on authentication success, failure and logout. See {@link AuthStatus}
35
+ * @example
36
+ * ```js
37
+ * const authStatus = init({
38
+ * thoughtSpotHost: 'https://my.thoughtspot.cloud',
39
+ * authType: AuthType.None,
40
+ * });
41
+ * authStatus.on(AuthStatus.FAILURE, (reason) => { // do something here });
42
+ * ```
43
+ * @returns {@link AuthEventEmitter} event emitter which emits events on authentication success,
44
+ * failure and logout. See {@link AuthStatus}
35
45
  * @version SDK: 1.0.0 | ThoughtSpot ts7.april.cl, 7.2.1
46
+ * @group Authentication / Init
47
+ */
48
+ export declare const init: (embedConfig: EmbedConfig) => AuthEventEmitter;
49
+ /**
50
+ *
36
51
  */
37
- export declare const init: (embedConfig: EmbedConfig) => EventEmitter;
38
52
  export declare function disableAutoLogin(): void;
39
53
  /**
40
- * Logs out from ThoughtSpot. This also sets the autoLogin flag to false, to prevent
41
- * the SDK from automatically logging in again.
54
+ * Logs out from ThoughtSpot. This also sets the autoLogin flag to false, to
55
+ * prevent the SDK from automatically logging in again.
42
56
  *
43
- * You can call the `init` method again to re login, if autoLogin is set to true in this
44
- * second call it will be honored.
57
+ * You can call the `init` method again to re login, if autoLogin is set to
58
+ * true in this second call it will be honored.
45
59
  *
46
60
  * @param doNotDisableAutoLogin This flag when passed will not disable autoLogin
47
61
  * @returns Promise which resolves when logout completes.
48
62
  * @version SDK: 1.10.1 | ThoughtSpot: 8.2.0.cl, 8.4.1-sw
63
+ * @group Global methods
49
64
  */
50
65
  export declare const logout: (doNotDisableAutoLogin?: boolean) => Promise<boolean>;
51
66
  /**
52
- * Renders functions in a queue, resolves to next function only after the callback next is called
67
+ * Renders functions in a queue, resolves to next function only after the callback next
68
+ * is called
69
+ *
53
70
  * @param fn The function being registered
54
71
  */
55
72
  export declare const renderInQueue: (fn: (next?: (val?: any) => void) => Promise<any>) => Promise<any>;
73
+ /**
74
+ *
75
+ */
56
76
  export declare function reset(): void;
57
77
  //# sourceMappingURL=base.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["base.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AACH,OAAO,YAAY,MAAM,eAAe,CAAC;AAGzC,OAAO,EAAY,WAAW,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACnE,OAAO,EAKH,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EACjB,YAAY,EAEf,MAAM,SAAS,CAAC;AAUjB,eAAO,IAAI,WAAW,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;AAEzC,eAAO,MAAM,cAAc,QAAO,WAAqB,CAAC;AAExD,eAAO,MAAM,cAAc,QAAO,QAAQ,OAAO,CAAgB,CAAC;AAElE,OAAO,EACH,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EACjB,YAAY,GACf,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,QAAO,QAAQ,OAAO,CAe5C,CAAC;AASF;;;;;GAKG;AACH,eAAO,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;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,MAAM,uCAAoC,QAAQ,OAAO,CAQrE,CAAC;AAIF;;;;;GAKG;AACH,eAAO,MAAM,aAAa,sBAAuB,GAAG,KAAK,IAAI,KAAK,QAAQ,GAAG,CAAC,KAAG,QAAQ,GAAG,CAQ3F,CAAC;AAGF;;GAEG;AACH,wBAAgB,KAAK,IAAI,IAAI,CAI5B"}
@@ -12,12 +12,14 @@ import { DOMSelector, HostEvent, ViewConfig } from '../types';
12
12
  import { V1Embed } from './ts-embed';
13
13
  /**
14
14
  * The configuration for the embedded Liveboard or visualization page view.
15
- * @Category Liveboards and Charts
15
+ *
16
+ * @group Embed components
16
17
  */
17
18
  export interface LiveboardViewConfig extends ViewConfig {
18
19
  /**
19
20
  * If set to true, the embedded object container dynamically resizes
20
21
  * according to the height of the Liveboard.
22
+ *
21
23
  * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 7.2.1
22
24
  */
23
25
  fullHeight?: boolean;
@@ -25,6 +27,7 @@ export interface LiveboardViewConfig extends ViewConfig {
25
27
  * This is the minimum height(in pixels) for a full height Liveboard.
26
28
  * Setting this height helps resolves issues with empty Liveboards and
27
29
  * other screens navigable from a Liveboard.
30
+ *
28
31
  * @version SDK: 1.5.0 | ThoughtSpot: ts7.oct.cl, 7.2.1
29
32
  * @default 500
30
33
  */
@@ -36,11 +39,13 @@ export interface LiveboardViewConfig extends ViewConfig {
36
39
  /**
37
40
  * The Liveboard to display in the embedded view.
38
41
  * Use either of liveboardId or pinboardId to reference the Liveboard to embed.
42
+ *
39
43
  * @version SDK: 1.3.0 | ThoughtSpot ts7.aug.cl, 7.2.1
40
44
  */
41
45
  liveboardId?: string;
42
46
  /**
43
47
  * To support backward compatibility
48
+ *
44
49
  * @hidden
45
50
  */
46
51
  pinboardId?: string;
@@ -51,6 +56,7 @@ export interface LiveboardViewConfig extends ViewConfig {
51
56
  /**
52
57
  * If set to true, all filter chips from a
53
58
  * Liveboard page will be read-only (no X buttons)
59
+ *
54
60
  * @version SDK: 1.3.0 | ThoughtSpot ts7.aug.cl, 7.2.1
55
61
  */
56
62
  preventLiveboardFilterRemoval?: boolean;
@@ -58,28 +64,33 @@ export interface LiveboardViewConfig extends ViewConfig {
58
64
  * Array of viz ids which should be visible when the liveboard
59
65
  * first renders. This can be changed by triggering the "SetVisibleVizs"
60
66
  * event.
67
+ *
61
68
  * @version SDK: 1.9.1 | ThoughtSpot: 8.1.0.cl, 8.4.1-sw
62
69
  */
63
70
  visibleVizs?: string[];
64
71
  /**
65
72
  * To support backward compatibilty
73
+ *
66
74
  * @hidden
67
75
  */
68
76
  preventPinboardFilterRemoval?: boolean;
69
77
  /**
70
78
  * Render embedded Liveboards and visualizations in the new Liveboard experience mode
79
+ *
71
80
  * @version SDK: 1.14.0 | ThoughtSpot: 8.6.0.cl, 8.8.1-sw
72
81
  */
73
82
  liveboardV2?: boolean;
74
83
  /**
75
84
  * Tab Id of the Liveboard that is supposed to be active
85
+ *
76
86
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
77
87
  */
78
88
  activeTabId?: string;
79
89
  }
80
90
  /**
81
91
  * Embed a ThoughtSpot Liveboard or visualization
82
- * @Category Liveboards and Charts
92
+ *
93
+ * @group Embed components
83
94
  */
84
95
  export declare class LiveboardEmbed extends V1Embed {
85
96
  protected viewConfig: LiveboardViewConfig;
@@ -89,19 +100,17 @@ export declare class LiveboardEmbed extends V1Embed {
89
100
  * Construct a map of params to be passed on to the
90
101
  * embedded Liveboard or visualization.
91
102
  */
92
- private getEmbedParams;
103
+ protected getEmbedParams(): string;
104
+ private getIframeSuffixSrc;
93
105
  /**
94
106
  * Construct the URL of the embedded ThoughtSpot Liveboard or visualization
95
107
  * to be loaded within the iframe.
96
- * @param liveboardId The GUID of the Liveboard.
97
- * @param vizId The optional GUID of a visualization within the Liveboard.
98
- * @param runtimeFilters A list of runtime filters to be applied to
99
- * the Liveboard or visualization on load.
100
108
  */
101
109
  private getIFrameSrc;
102
110
  /**
103
111
  * Set the iframe height as per the computed height received
104
112
  * from the ThoughtSpot app.
113
+ *
105
114
  * @param data The event payload
106
115
  */
107
116
  private updateIFrameHeight;
@@ -109,16 +118,19 @@ export declare class LiveboardEmbed extends V1Embed {
109
118
  private setIframeHeightForNonEmbedLiveboard;
110
119
  /**
111
120
  * Triggers an event to the embedded app
121
+ *
112
122
  * @param messageType The event type
113
123
  * @param data The payload to send with the message
114
124
  */
115
125
  trigger(messageType: HostEvent, data?: any): Promise<any>;
116
126
  /**
117
127
  * Render an embedded ThoughtSpot Liveboard or visualization
128
+ *
118
129
  * @param renderOptions An object specifying the Liveboard ID,
119
130
  * visualization ID and the runtime filters.
120
131
  */
121
132
  render(): LiveboardEmbed;
133
+ navigateToLiveboard(liveboardId: string, vizId?: string, activeTabId?: string): void;
122
134
  }
123
135
  /**
124
136
  * @hidden
@@ -1 +1 @@
1
- {"version":3,"file":"liveboard.d.ts","sourceRoot":"","sources":["liveboard.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,EAKH,WAAW,EACX,SAAS,EACT,UAAU,EACb,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC;;;GAGG;AACH,MAAM,WAAW,mBAAoB,SAAQ,UAAU;IACnD;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,6BAA6B,CAAC,EAAE,OAAO,CAAC;IACxC;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,EAAE,CAA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,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,6BAA6B,CAAC,EAAE,OAAO,CAAC;IACxC;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB;;;;OAIG;IACH,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;GAIG;AACH,qBAAa,cAAe,SAAQ,OAAO;IACvC,SAAS,CAAC,UAAU,EAAE,mBAAmB,CAAC;IAE1C,OAAO,CAAC,aAAa,CAAO;gBAGhB,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,mBAAmB;IASrE;;;OAGG;IACH,SAAS,CAAC,cAAc;IA4CxB,OAAO,CAAC,kBAAkB;IAa1B;;;OAGG;IACH,OAAO,CAAC,YAAY;IAcpB;;;;;OAKG;IACH,OAAO,CAAC,kBAAkB,CAExB;IAEF,OAAO,CAAC,iBAAiB,CAGvB;IAEF,OAAO,CAAC,mCAAmC,CAIzC;IAEF;;;;;OAKG;IACI,OAAO,CAAC,WAAW,EAAE,SAAS,EAAE,IAAI,GAAE,GAAQ,GAAG,OAAO,CAAC,GAAG,CAAC;IAQpE;;;;;OAKG;IACI,MAAM,IAAI,cAAc;IASxB,mBAAmB,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM;CAWvF;AAED;;GAEG;AACH,qBAAa,aAAc,SAAQ,cAAc;CAAI"}
@@ -1,15 +1,20 @@
1
1
  import { ViewConfig } from '../types';
2
2
  import { TsEmbed } from './ts-embed';
3
3
  import { SearchOptions } from './search';
4
+ /**
5
+ * @group Embed components
6
+ */
4
7
  export interface SearchBarViewConfig extends Omit<ViewConfig, 'runtimeFilters' | 'showAlerts'> {
5
8
  /**
6
9
  * The array of data source GUIDs to set on load.
7
10
  * Only a single dataSource supported currently.
11
+ *
8
12
  * @deprecated Use dataSource instead
9
13
  */
10
14
  dataSources?: string[];
11
15
  /**
12
16
  * The array of data source GUIDs to set on load.
17
+ *
13
18
  * @version: SDK: 1.19.0
14
19
  */
15
20
  dataSource?: string;
@@ -21,8 +26,8 @@ export interface SearchBarViewConfig extends Omit<ViewConfig, 'runtimeFilters' |
21
26
  /**
22
27
  * Embed ThoughtSpot search bar
23
28
  *
24
- * @Category Search Embed
25
29
  * @version: SDK: 1.18.0 | ThoughtSpot: 8.10.0.cl, 9.0.1-sw
30
+ * @group Embed components
26
31
  */
27
32
  export declare class SearchBarEmbed extends TsEmbed {
28
33
  /**
@@ -33,6 +38,7 @@ export declare class SearchBarEmbed extends TsEmbed {
33
38
  /**
34
39
  * Construct the URL of the embedded ThoughtSpot search to be
35
40
  * loaded in the iframe
41
+ *
36
42
  * @param dataSources A list of data source GUIDs
37
43
  */
38
44
  private getIFrameSrc;
@@ -1 +1 @@
1
- {"version":3,"file":"search-bar.d.ts","sourceRoot":"","sources":["search-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA8B,UAAU,EAAE,MAAM,UAAU,CAAC;AAElE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,WAAW,mBACb,SAAQ,IAAI,CAAC,UAAU,EAAE,gBAAgB,GAAG,YAAY,CAAC;IACzD;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;CACjC;AAED;;;;;GAKG;AACH,qBAAa,cAAe,SAAQ,OAAO;IACvC;;OAEG;IACH,SAAS,CAAC,UAAU,EAAE,mBAAmB,CAAC;gBAE9B,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,mBAAmB;IAKhE;;;;OAIG;IACH,OAAO,CAAC,YAAY;IAqCpB;;OAEG;IACI,MAAM,IAAI,cAAc;CAOlC"}
1
+ {"version":3,"file":"search-bar.d.ts","sourceRoot":"","sources":["search-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,EACyB,UAAU,EACzC,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,UAAU,EAAE,gBAAgB,GAAG,YAAY,CAAC;IAC1F;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;CACjC;AAED;;;;;GAKG;AACH,qBAAa,cAAe,SAAQ,OAAO;IACvC;;OAEG;IACH,SAAS,CAAC,UAAU,EAAE,mBAAmB,CAAC;gBAE9B,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,mBAAmB;IAKhE;;;;;OAKG;IACH,OAAO,CAAC,YAAY;IAmCpB;;OAEG;IACI,MAAM,IAAI,cAAc;CAOlC"}
@@ -19,14 +19,15 @@ export interface SearchOptions {
19
19
  /**
20
20
  * Boolean to determine if the search should be executed or not.
21
21
  * if it is executed, put the focus on the results.
22
- * if it’s not executed, put the focus in the search bar - at the end of the tokens
22
+ * if it’s not executed, put the focus in the search bar - at the end of
23
+ * the tokens
23
24
  */
24
25
  executeSearch?: boolean;
25
26
  }
26
27
  /**
27
28
  * The configuration attributes for the embedded search view.
28
29
  *
29
- * @Category Search Embed
30
+ * @group Embed components
30
31
  */
31
32
  export interface SearchViewConfig extends ViewConfig {
32
33
  /**
@@ -44,12 +45,9 @@ export interface SearchViewConfig extends ViewConfig {
44
45
  * using raw answer data.
45
46
  */
46
47
  hideResults?: boolean;
47
- /**
48
- * If set to true, expands all the data sources panel.
49
- */
50
- expandAllDataSource?: boolean;
51
48
  /**
52
49
  * If set to true, the Search Assist feature is enabled.
50
+ *
53
51
  * @version SDK: 1.13.0 | ThoughtSpot: 8.5.0.cl, 8.8.1-sw
54
52
  */
55
53
  enableSearchAssist?: boolean;
@@ -61,16 +59,19 @@ export interface SearchViewConfig extends ViewConfig {
61
59
  /**
62
60
  * The array of data source GUIDs to set on load.
63
61
  * Only a single dataSource supported currently.
62
+ *
64
63
  * @deprecated Use dataSource instead
65
64
  */
66
65
  dataSources?: string[];
67
66
  /**
68
67
  * The array of data source GUIDs to set on load.
68
+ *
69
69
  * @version: SDK: 1.19.0
70
70
  */
71
71
  dataSource?: string;
72
72
  /**
73
73
  * The initial search query to load the answer with.
74
+ *
74
75
  * @deprecated Use {@link searchOptions} instead
75
76
  */
76
77
  searchQuery?: string;
@@ -85,6 +86,7 @@ export interface SearchViewConfig extends ViewConfig {
85
86
  /**
86
87
  * If set to true, search page will render without the Search Bar
87
88
  * The chart/table should still be visible.
89
+ *
88
90
  * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
89
91
  */
90
92
  hideSearchBar?: boolean;
@@ -93,7 +95,7 @@ export declare const HiddenActionItemByDefaultForSearchEmbed: Action[];
93
95
  /**
94
96
  * Embed ThoughtSpot search
95
97
  *
96
- * @Category Search Embed
98
+ * @group Embed components
97
99
  */
98
100
  export declare class SearchEmbed extends TsEmbed {
99
101
  /**
@@ -106,9 +108,11 @@ export declare class SearchEmbed extends TsEmbed {
106
108
  * ThoughtSpot search will be initialized with.
107
109
  */
108
110
  private getDataSourceMode;
111
+ protected getEmbedParams(): string;
109
112
  /**
110
113
  * Construct the URL of the embedded ThoughtSpot search to be
111
114
  * loaded in the iframe
115
+ *
112
116
  * @param answerId The GUID of a saved answer
113
117
  * @param dataSources A list of data source GUIDs
114
118
  */
@@ -1 +1 @@
1
- {"version":3,"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