@thoughtspot/visual-embed-sdk 1.40.1-alpha.1 → 1.40.1-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.
- package/cjs/package.json +7 -6
- package/cjs/src/css-variables.d.ts +316 -0
- package/cjs/src/css-variables.d.ts.map +1 -1
- package/cjs/src/embed/app.d.ts +6 -1
- package/cjs/src/embed/app.d.ts.map +1 -1
- package/cjs/src/embed/app.js +27 -1
- package/cjs/src/embed/app.js.map +1 -1
- package/cjs/src/embed/app.spec.js +72 -5
- package/cjs/src/embed/app.spec.js.map +1 -1
- package/cjs/src/embed/conversation.d.ts +63 -2
- package/cjs/src/embed/conversation.d.ts.map +1 -1
- package/cjs/src/embed/conversation.js +9 -1
- package/cjs/src/embed/conversation.js.map +1 -1
- package/cjs/src/embed/conversation.spec.js +102 -0
- package/cjs/src/embed/conversation.spec.js.map +1 -1
- package/cjs/src/embed/liveboard.d.ts +11 -2
- package/cjs/src/embed/liveboard.d.ts.map +1 -1
- package/cjs/src/embed/liveboard.js +24 -17
- package/cjs/src/embed/liveboard.js.map +1 -1
- package/cjs/src/embed/liveboard.spec.js +202 -2
- package/cjs/src/embed/liveboard.spec.js.map +1 -1
- package/cjs/src/embed/ts-embed.d.ts +22 -7
- package/cjs/src/embed/ts-embed.d.ts.map +1 -1
- package/cjs/src/embed/ts-embed.js +74 -56
- package/cjs/src/embed/ts-embed.js.map +1 -1
- package/cjs/src/embed/ts-embed.spec.js +175 -3
- package/cjs/src/embed/ts-embed.spec.js.map +1 -1
- package/cjs/src/types.d.ts +190 -55
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +157 -52
- package/cjs/src/types.js.map +1 -1
- package/cjs/src/utils/liveboardService/liveboardService.d.ts +21 -6
- package/cjs/src/utils/liveboardService/liveboardService.d.ts.map +1 -1
- package/cjs/src/utils/liveboardService/liveboardService.js +21 -6
- package/cjs/src/utils/liveboardService/liveboardService.js.map +1 -1
- package/cjs/src/utils/processData.d.ts.map +1 -1
- package/cjs/src/utils/processData.js +10 -0
- package/cjs/src/utils/processData.js.map +1 -1
- package/cjs/src/utils/processData.spec.js +11 -0
- package/cjs/src/utils/processData.spec.js.map +1 -1
- package/dist/{index-D1pyb7RG.js → es/index-BwesxE_h.js} +0 -2
- package/dist/es/index.js +17539 -0
- package/dist/es/react/index.js +24039 -0
- package/dist/es/react/src/auth.d.ts +171 -0
- package/dist/es/react/src/auth.d.ts.map +1 -0
- package/dist/es/react/src/auth.spec.d.ts +15 -0
- package/dist/es/react/src/auth.spec.d.ts.map +1 -0
- package/dist/es/react/src/authToken.d.ts +17 -0
- package/dist/es/react/src/authToken.d.ts.map +1 -0
- package/dist/es/react/src/authToken.spec.d.ts +2 -0
- package/dist/es/react/src/authToken.spec.d.ts.map +1 -0
- package/dist/es/react/src/config.d.ts +21 -0
- package/dist/es/react/src/config.d.ts.map +1 -0
- package/dist/es/react/src/config.spec.d.ts +5 -0
- package/dist/es/react/src/config.spec.d.ts.map +1 -0
- package/dist/es/react/src/css-variables.d.ts +384 -0
- package/dist/es/react/src/css-variables.d.ts.map +1 -0
- package/dist/es/react/src/embed/app.d.ts +478 -0
- package/dist/es/react/src/embed/app.d.ts.map +1 -0
- package/dist/es/react/src/embed/app.spec.d.ts +2 -0
- package/dist/es/react/src/embed/app.spec.d.ts.map +1 -0
- package/dist/es/react/src/embed/base.d.ts +136 -0
- package/dist/es/react/src/embed/base.d.ts.map +1 -0
- package/dist/es/react/src/embed/base.spec.d.ts +2 -0
- package/dist/es/react/src/embed/base.spec.d.ts.map +1 -0
- package/dist/es/react/src/embed/bodyless-conversation.d.ts +26 -0
- package/dist/es/react/src/embed/bodyless-conversation.d.ts.map +1 -0
- package/dist/es/react/src/embed/bodyless-conversation.spec.d.ts +2 -0
- package/dist/es/react/src/embed/bodyless-conversation.spec.d.ts.map +1 -0
- package/dist/es/react/src/embed/conversation.d.ts +43 -0
- package/dist/es/react/src/embed/conversation.d.ts.map +1 -0
- package/dist/es/react/src/embed/conversation.spec.d.ts +2 -0
- package/dist/es/react/src/embed/conversation.spec.d.ts.map +1 -0
- package/dist/es/react/src/embed/embed.spec.d.ts +2 -0
- package/dist/es/react/src/embed/embed.spec.d.ts.map +1 -0
- package/dist/es/react/src/embed/embedConfig.d.ts +17 -0
- package/dist/es/react/src/embed/embedConfig.d.ts.map +1 -0
- package/dist/es/react/src/embed/events.spec.d.ts +2 -0
- package/dist/es/react/src/embed/events.spec.d.ts.map +1 -0
- package/dist/es/react/src/embed/liveboard.d.ts +379 -0
- package/dist/es/react/src/embed/liveboard.d.ts.map +1 -0
- package/dist/es/react/src/embed/liveboard.spec.d.ts +2 -0
- package/dist/es/react/src/embed/liveboard.spec.d.ts.map +1 -0
- package/dist/es/react/src/embed/pinboard.spec.d.ts +2 -0
- package/dist/es/react/src/embed/pinboard.spec.d.ts.map +1 -0
- package/dist/es/react/src/embed/sage.d.ts +148 -0
- package/dist/es/react/src/embed/sage.d.ts.map +1 -0
- package/dist/es/react/src/embed/sage.spec.d.ts +2 -0
- package/dist/es/react/src/embed/sage.spec.d.ts.map +1 -0
- package/dist/es/react/src/embed/search-bar.d.ts +93 -0
- package/dist/es/react/src/embed/search-bar.d.ts.map +1 -0
- package/dist/es/react/src/embed/search.d.ts +282 -0
- package/dist/es/react/src/embed/search.d.ts.map +1 -0
- package/dist/es/react/src/embed/search.spec.d.ts +2 -0
- package/dist/es/react/src/embed/search.spec.d.ts.map +1 -0
- package/dist/es/react/src/embed/ts-embed-trigger.spec.d.ts +2 -0
- package/dist/es/react/src/embed/ts-embed-trigger.spec.d.ts.map +1 -0
- package/dist/es/react/src/embed/ts-embed.d.ts +374 -0
- package/dist/es/react/src/embed/ts-embed.d.ts.map +1 -0
- package/dist/es/react/src/embed/ts-embed.spec.d.ts +2 -0
- package/dist/es/react/src/embed/ts-embed.spec.d.ts.map +1 -0
- package/dist/es/react/src/errors.d.ts +19 -0
- package/dist/es/react/src/errors.d.ts.map +1 -0
- package/dist/es/react/src/index.d.ts +29 -0
- package/dist/es/react/src/index.d.ts.map +1 -0
- package/dist/es/react/src/mixpanel-service.d.ts +35 -0
- package/dist/es/react/src/mixpanel-service.d.ts.map +1 -0
- package/dist/es/react/src/mixpanel-service.spec.d.ts +2 -0
- package/dist/es/react/src/mixpanel-service.spec.d.ts.map +1 -0
- package/dist/es/react/src/react/all-types-export.d.ts +3 -0
- package/dist/es/react/src/react/all-types-export.d.ts.map +1 -0
- package/dist/es/react/src/react/all-types-export.spec.d.ts +2 -0
- package/dist/es/react/src/react/all-types-export.spec.d.ts.map +1 -0
- package/dist/es/react/src/react/index.d.ts +254 -0
- package/dist/es/react/src/react/index.d.ts.map +1 -0
- package/dist/es/react/src/react/index.spec.d.ts +3 -0
- package/dist/es/react/src/react/index.spec.d.ts.map +1 -0
- package/dist/es/react/src/react/util.d.ts +19 -0
- package/dist/es/react/src/react/util.d.ts.map +1 -0
- package/dist/es/react/src/test/test-utils.d.ts +61 -0
- package/dist/es/react/src/test/test-utils.d.ts.map +1 -0
- package/dist/es/react/src/tokenizedFetch.d.ts +18 -0
- package/dist/es/react/src/tokenizedFetch.d.ts.map +1 -0
- package/dist/es/react/src/types.d.ts +4363 -0
- package/dist/es/react/src/types.d.ts.map +1 -0
- package/dist/es/react/src/utils/authService/authService.d.ts +45 -0
- package/dist/es/react/src/utils/authService/authService.d.ts.map +1 -0
- package/dist/es/react/src/utils/authService/authService.spec.d.ts +2 -0
- package/dist/es/react/src/utils/authService/authService.spec.d.ts.map +1 -0
- package/dist/es/react/src/utils/authService/index.d.ts +3 -0
- package/dist/es/react/src/utils/authService/index.d.ts.map +1 -0
- package/dist/es/react/src/utils/authService/tokenizedAuthService.d.ts +22 -0
- package/dist/es/react/src/utils/authService/tokenizedAuthService.d.ts.map +1 -0
- package/dist/es/react/src/utils/authService/tokenizedAuthService.spec.d.ts +2 -0
- package/dist/es/react/src/utils/authService/tokenizedAuthService.spec.d.ts.map +1 -0
- package/dist/es/react/src/utils/global-styles.d.ts +2 -0
- package/dist/es/react/src/utils/global-styles.d.ts.map +1 -0
- package/dist/es/react/src/utils/global-styles.spec.d.ts +2 -0
- package/dist/es/react/src/utils/global-styles.spec.d.ts.map +1 -0
- package/dist/es/react/src/utils/graphql/answerService/answer-queries.d.ts +10 -0
- package/dist/es/react/src/utils/graphql/answerService/answer-queries.d.ts.map +1 -0
- package/dist/es/react/src/utils/graphql/answerService/answerService.d.ts +180 -0
- package/dist/es/react/src/utils/graphql/answerService/answerService.d.ts.map +1 -0
- package/dist/es/react/src/utils/graphql/answerService/answerService.spec.d.ts +2 -0
- package/dist/es/react/src/utils/graphql/answerService/answerService.spec.d.ts.map +1 -0
- package/dist/es/react/src/utils/graphql/graphql-request.d.ts +15 -0
- package/dist/es/react/src/utils/graphql/graphql-request.d.ts.map +1 -0
- package/dist/es/react/src/utils/graphql/graphql-request.spec.d.ts +2 -0
- package/dist/es/react/src/utils/graphql/graphql-request.spec.d.ts.map +1 -0
- package/dist/es/react/src/utils/graphql/nlsService/conversation-queries.d.ts +3 -0
- package/dist/es/react/src/utils/graphql/nlsService/conversation-queries.d.ts.map +1 -0
- package/dist/es/react/src/utils/graphql/nlsService/conversation-service.d.ts +12 -0
- package/dist/es/react/src/utils/graphql/nlsService/conversation-service.d.ts.map +1 -0
- package/dist/es/react/src/utils/graphql/nlsService/nls-answer-queries.d.ts +2 -0
- package/dist/es/react/src/utils/graphql/nlsService/nls-answer-queries.d.ts.map +1 -0
- package/dist/es/react/src/utils/graphql/nlsService/nls-answer-service.d.ts +17 -0
- package/dist/es/react/src/utils/graphql/nlsService/nls-answer-service.d.ts.map +1 -0
- package/dist/es/react/src/utils/graphql/nlsService/nls-answer-service.spec.d.ts +2 -0
- package/dist/es/react/src/utils/graphql/nlsService/nls-answer-service.spec.d.ts.map +1 -0
- package/dist/es/react/src/utils/graphql/preview-service.d.ts +9 -0
- package/dist/es/react/src/utils/graphql/preview-service.d.ts.map +1 -0
- package/dist/es/react/src/utils/graphql/preview-service.spec.d.ts +2 -0
- package/dist/es/react/src/utils/graphql/preview-service.spec.d.ts.map +1 -0
- package/dist/es/react/src/utils/graphql/sourceService.d.ts +8 -0
- package/dist/es/react/src/utils/graphql/sourceService.d.ts.map +1 -0
- package/dist/es/react/src/utils/graphql/sourceService.spec.d.ts +2 -0
- package/dist/es/react/src/utils/graphql/sourceService.spec.d.ts.map +1 -0
- package/dist/es/react/src/utils/liveboardService/liveboardService.d.ts +16 -0
- package/dist/es/react/src/utils/liveboardService/liveboardService.d.ts.map +1 -0
- package/dist/es/react/src/utils/liveboardService/liveboardService.spec.d.ts +2 -0
- package/dist/es/react/src/utils/liveboardService/liveboardService.spec.d.ts.map +1 -0
- package/dist/es/react/src/utils/logger.d.ts +18 -0
- package/dist/es/react/src/utils/logger.d.ts.map +1 -0
- package/dist/es/react/src/utils/logger.spec.d.ts +25 -0
- package/dist/es/react/src/utils/logger.spec.d.ts.map +1 -0
- package/dist/es/react/src/utils/processData.d.ts +22 -0
- package/dist/es/react/src/utils/processData.d.ts.map +1 -0
- package/dist/es/react/src/utils/processData.spec.d.ts +2 -0
- package/dist/es/react/src/utils/processData.spec.d.ts.map +1 -0
- package/dist/es/react/src/utils/processTrigger.d.ts +16 -0
- package/dist/es/react/src/utils/processTrigger.d.ts.map +1 -0
- package/dist/es/react/src/utils/processTrigger.spec.d.ts +2 -0
- package/dist/es/react/src/utils/processTrigger.spec.d.ts.map +1 -0
- package/dist/es/react/src/utils/reporting.d.ts +16 -0
- package/dist/es/react/src/utils/reporting.d.ts.map +1 -0
- package/dist/es/react/src/utils/reporting.spec.d.ts +2 -0
- package/dist/es/react/src/utils/reporting.spec.d.ts.map +1 -0
- package/dist/es/react/src/utils/sessionInfoService.d.ts +66 -0
- package/dist/es/react/src/utils/sessionInfoService.d.ts.map +1 -0
- package/dist/es/react/src/utils.d.ts +104 -0
- package/dist/es/react/src/utils.d.ts.map +1 -0
- package/dist/es/react/src/utils.spec.d.ts +2 -0
- package/dist/es/react/src/utils.spec.d.ts.map +1 -0
- package/dist/es/src/auth.d.ts +171 -0
- package/dist/es/src/auth.d.ts.map +1 -0
- package/dist/es/src/auth.spec.d.ts +15 -0
- package/dist/es/src/auth.spec.d.ts.map +1 -0
- package/dist/es/src/authToken.d.ts +17 -0
- package/dist/es/src/authToken.d.ts.map +1 -0
- package/dist/es/src/authToken.spec.d.ts +2 -0
- package/dist/es/src/authToken.spec.d.ts.map +1 -0
- package/dist/es/src/config.d.ts +21 -0
- package/dist/es/src/config.d.ts.map +1 -0
- package/dist/es/src/config.spec.d.ts +5 -0
- package/dist/es/src/config.spec.d.ts.map +1 -0
- package/dist/es/src/css-variables.d.ts +384 -0
- package/dist/es/src/css-variables.d.ts.map +1 -0
- package/dist/es/src/embed/app.d.ts +478 -0
- package/dist/es/src/embed/app.d.ts.map +1 -0
- package/dist/es/src/embed/app.spec.d.ts +2 -0
- package/dist/es/src/embed/app.spec.d.ts.map +1 -0
- package/dist/es/src/embed/base.d.ts +136 -0
- package/dist/es/src/embed/base.d.ts.map +1 -0
- package/dist/es/src/embed/base.spec.d.ts +2 -0
- package/dist/es/src/embed/base.spec.d.ts.map +1 -0
- package/dist/es/src/embed/bodyless-conversation.d.ts +26 -0
- package/dist/es/src/embed/bodyless-conversation.d.ts.map +1 -0
- package/dist/es/src/embed/bodyless-conversation.spec.d.ts +2 -0
- package/dist/es/src/embed/bodyless-conversation.spec.d.ts.map +1 -0
- package/dist/es/src/embed/conversation.d.ts +43 -0
- package/dist/es/src/embed/conversation.d.ts.map +1 -0
- package/dist/es/src/embed/conversation.spec.d.ts +2 -0
- package/dist/es/src/embed/conversation.spec.d.ts.map +1 -0
- package/dist/es/src/embed/embed.spec.d.ts +2 -0
- package/dist/es/src/embed/embed.spec.d.ts.map +1 -0
- package/dist/es/src/embed/embedConfig.d.ts +17 -0
- package/dist/es/src/embed/embedConfig.d.ts.map +1 -0
- package/dist/es/src/embed/events.spec.d.ts +2 -0
- package/dist/es/src/embed/events.spec.d.ts.map +1 -0
- package/dist/es/src/embed/liveboard.d.ts +379 -0
- package/dist/es/src/embed/liveboard.d.ts.map +1 -0
- package/dist/es/src/embed/liveboard.spec.d.ts +2 -0
- package/dist/es/src/embed/liveboard.spec.d.ts.map +1 -0
- package/dist/es/src/embed/pinboard.spec.d.ts +2 -0
- package/dist/es/src/embed/pinboard.spec.d.ts.map +1 -0
- package/dist/es/src/embed/sage.d.ts +148 -0
- package/dist/es/src/embed/sage.d.ts.map +1 -0
- package/dist/es/src/embed/sage.spec.d.ts +2 -0
- package/dist/es/src/embed/sage.spec.d.ts.map +1 -0
- package/dist/es/src/embed/search-bar.d.ts +93 -0
- package/dist/es/src/embed/search-bar.d.ts.map +1 -0
- package/dist/es/src/embed/search.d.ts +282 -0
- package/dist/es/src/embed/search.d.ts.map +1 -0
- package/dist/es/src/embed/search.spec.d.ts +2 -0
- package/dist/es/src/embed/search.spec.d.ts.map +1 -0
- package/dist/es/src/embed/ts-embed-trigger.spec.d.ts +2 -0
- package/dist/es/src/embed/ts-embed-trigger.spec.d.ts.map +1 -0
- package/dist/es/src/embed/ts-embed.d.ts +374 -0
- package/dist/es/src/embed/ts-embed.d.ts.map +1 -0
- package/dist/es/src/embed/ts-embed.spec.d.ts +2 -0
- package/dist/es/src/embed/ts-embed.spec.d.ts.map +1 -0
- package/dist/es/src/errors.d.ts +19 -0
- package/dist/es/src/errors.d.ts.map +1 -0
- package/dist/es/src/index.d.ts +29 -0
- package/dist/es/src/index.d.ts.map +1 -0
- package/dist/es/src/mixpanel-service.d.ts +35 -0
- package/dist/es/src/mixpanel-service.d.ts.map +1 -0
- package/dist/es/src/mixpanel-service.spec.d.ts +2 -0
- package/dist/es/src/mixpanel-service.spec.d.ts.map +1 -0
- package/dist/es/src/react/all-types-export.d.ts +3 -0
- package/dist/es/src/react/all-types-export.d.ts.map +1 -0
- package/dist/es/src/react/all-types-export.spec.d.ts +2 -0
- package/dist/es/src/react/all-types-export.spec.d.ts.map +1 -0
- package/dist/es/src/react/index.d.ts +254 -0
- package/dist/es/src/react/index.d.ts.map +1 -0
- package/dist/es/src/react/index.spec.d.ts +3 -0
- package/dist/es/src/react/index.spec.d.ts.map +1 -0
- package/dist/es/src/react/util.d.ts +19 -0
- package/dist/es/src/react/util.d.ts.map +1 -0
- package/dist/es/src/test/test-utils.d.ts +61 -0
- package/dist/es/src/test/test-utils.d.ts.map +1 -0
- package/dist/es/src/tokenizedFetch.d.ts +18 -0
- package/dist/es/src/tokenizedFetch.d.ts.map +1 -0
- package/dist/es/src/types.d.ts +4363 -0
- package/dist/es/src/types.d.ts.map +1 -0
- package/dist/es/src/utils/authService/authService.d.ts +45 -0
- package/dist/es/src/utils/authService/authService.d.ts.map +1 -0
- package/dist/es/src/utils/authService/authService.spec.d.ts +2 -0
- package/dist/es/src/utils/authService/authService.spec.d.ts.map +1 -0
- package/dist/es/src/utils/authService/index.d.ts +3 -0
- package/dist/es/src/utils/authService/index.d.ts.map +1 -0
- package/dist/es/src/utils/authService/tokenizedAuthService.d.ts +22 -0
- package/dist/es/src/utils/authService/tokenizedAuthService.d.ts.map +1 -0
- package/dist/es/src/utils/authService/tokenizedAuthService.spec.d.ts +2 -0
- package/dist/es/src/utils/authService/tokenizedAuthService.spec.d.ts.map +1 -0
- package/dist/es/src/utils/global-styles.d.ts +2 -0
- package/dist/es/src/utils/global-styles.d.ts.map +1 -0
- package/dist/es/src/utils/global-styles.spec.d.ts +2 -0
- package/dist/es/src/utils/global-styles.spec.d.ts.map +1 -0
- package/dist/es/src/utils/graphql/answerService/answer-queries.d.ts +10 -0
- package/dist/es/src/utils/graphql/answerService/answer-queries.d.ts.map +1 -0
- package/dist/es/src/utils/graphql/answerService/answerService.d.ts +180 -0
- package/dist/es/src/utils/graphql/answerService/answerService.d.ts.map +1 -0
- package/dist/es/src/utils/graphql/answerService/answerService.spec.d.ts +2 -0
- package/dist/es/src/utils/graphql/answerService/answerService.spec.d.ts.map +1 -0
- package/dist/es/src/utils/graphql/graphql-request.d.ts +15 -0
- package/dist/es/src/utils/graphql/graphql-request.d.ts.map +1 -0
- package/dist/es/src/utils/graphql/graphql-request.spec.d.ts +2 -0
- package/dist/es/src/utils/graphql/graphql-request.spec.d.ts.map +1 -0
- package/dist/es/src/utils/graphql/nlsService/conversation-queries.d.ts +3 -0
- package/dist/es/src/utils/graphql/nlsService/conversation-queries.d.ts.map +1 -0
- package/dist/es/src/utils/graphql/nlsService/conversation-service.d.ts +12 -0
- package/dist/es/src/utils/graphql/nlsService/conversation-service.d.ts.map +1 -0
- package/dist/es/src/utils/graphql/nlsService/nls-answer-queries.d.ts +2 -0
- package/dist/es/src/utils/graphql/nlsService/nls-answer-queries.d.ts.map +1 -0
- package/dist/es/src/utils/graphql/nlsService/nls-answer-service.d.ts +17 -0
- package/dist/es/src/utils/graphql/nlsService/nls-answer-service.d.ts.map +1 -0
- package/dist/es/src/utils/graphql/nlsService/nls-answer-service.spec.d.ts +2 -0
- package/dist/es/src/utils/graphql/nlsService/nls-answer-service.spec.d.ts.map +1 -0
- package/dist/es/src/utils/graphql/preview-service.d.ts +9 -0
- package/dist/es/src/utils/graphql/preview-service.d.ts.map +1 -0
- package/dist/es/src/utils/graphql/preview-service.spec.d.ts +2 -0
- package/dist/es/src/utils/graphql/preview-service.spec.d.ts.map +1 -0
- package/dist/es/src/utils/graphql/sourceService.d.ts +8 -0
- package/dist/es/src/utils/graphql/sourceService.d.ts.map +1 -0
- package/dist/es/src/utils/graphql/sourceService.spec.d.ts +2 -0
- package/dist/es/src/utils/graphql/sourceService.spec.d.ts.map +1 -0
- package/dist/es/src/utils/liveboardService/liveboardService.d.ts +16 -0
- package/dist/es/src/utils/liveboardService/liveboardService.d.ts.map +1 -0
- package/dist/es/src/utils/liveboardService/liveboardService.spec.d.ts +2 -0
- package/dist/es/src/utils/liveboardService/liveboardService.spec.d.ts.map +1 -0
- package/dist/es/src/utils/logger.d.ts +18 -0
- package/dist/es/src/utils/logger.d.ts.map +1 -0
- package/dist/es/src/utils/logger.spec.d.ts +25 -0
- package/dist/es/src/utils/logger.spec.d.ts.map +1 -0
- package/dist/es/src/utils/processData.d.ts +22 -0
- package/dist/es/src/utils/processData.d.ts.map +1 -0
- package/dist/es/src/utils/processData.spec.d.ts +2 -0
- package/dist/es/src/utils/processData.spec.d.ts.map +1 -0
- package/dist/es/src/utils/processTrigger.d.ts +16 -0
- package/dist/es/src/utils/processTrigger.d.ts.map +1 -0
- package/dist/es/src/utils/processTrigger.spec.d.ts +2 -0
- package/dist/es/src/utils/processTrigger.spec.d.ts.map +1 -0
- package/dist/es/src/utils/reporting.d.ts +16 -0
- package/dist/es/src/utils/reporting.d.ts.map +1 -0
- package/dist/es/src/utils/reporting.spec.d.ts +2 -0
- package/dist/es/src/utils/reporting.spec.d.ts.map +1 -0
- package/dist/es/src/utils/sessionInfoService.d.ts +66 -0
- package/dist/es/src/utils/sessionInfoService.d.ts.map +1 -0
- package/dist/es/src/utils.d.ts +104 -0
- package/dist/es/src/utils.d.ts.map +1 -0
- package/dist/es/src/utils.spec.d.ts +2 -0
- package/dist/es/src/utils.spec.d.ts.map +1 -0
- package/dist/{index-CmEQfuE3.js → index-B0uCTBbm.js} +1 -1
- package/dist/src/css-variables.d.ts +316 -0
- package/dist/src/css-variables.d.ts.map +1 -1
- package/dist/src/embed/app.d.ts +6 -1
- package/dist/src/embed/app.d.ts.map +1 -1
- package/dist/src/embed/bodyless-conversation.d.ts +4 -0
- package/dist/src/embed/bodyless-conversation.d.ts.map +1 -1
- package/dist/src/embed/conversation.d.ts +63 -2
- package/dist/src/embed/conversation.d.ts.map +1 -1
- package/dist/src/embed/liveboard.d.ts +10 -0
- package/dist/src/embed/liveboard.d.ts.map +1 -1
- package/dist/src/embed/ts-embed.d.ts +22 -0
- package/dist/src/embed/ts-embed.d.ts.map +1 -1
- package/dist/src/react/index.d.ts +2 -0
- package/dist/src/react/index.d.ts.map +1 -1
- package/dist/src/types.d.ts +379 -31
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/utils/graphql/nlsService/conversation-service.d.ts.map +1 -1
- package/dist/src/utils/liveboardService/liveboardService.d.ts +21 -6
- package/dist/src/utils/liveboardService/liveboardService.d.ts.map +1 -1
- package/dist/src/utils/processData.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +507 -52
- package/dist/tsembed-react.js +506 -51
- package/dist/tsembed.es.js +528 -58
- package/dist/tsembed.js +527 -57
- package/dist/visual-embed-sdk-react-full.d.ts +813 -39
- package/dist/visual-embed-sdk-react.d.ts +813 -39
- package/dist/visual-embed-sdk.d.ts +811 -39
- package/lib/package.json +7 -6
- package/lib/src/css-variables.d.ts +316 -0
- package/lib/src/css-variables.d.ts.map +1 -1
- package/lib/src/embed/app.d.ts +6 -1
- package/lib/src/embed/app.d.ts.map +1 -1
- package/lib/src/embed/app.js +27 -1
- package/lib/src/embed/app.js.map +1 -1
- package/lib/src/embed/app.spec.js +72 -5
- package/lib/src/embed/app.spec.js.map +1 -1
- package/lib/src/embed/conversation.d.ts +63 -2
- package/lib/src/embed/conversation.d.ts.map +1 -1
- package/lib/src/embed/conversation.js +10 -2
- package/lib/src/embed/conversation.js.map +1 -1
- package/lib/src/embed/conversation.spec.js +104 -2
- package/lib/src/embed/conversation.spec.js.map +1 -1
- package/lib/src/embed/liveboard.d.ts +11 -2
- package/lib/src/embed/liveboard.d.ts.map +1 -1
- package/lib/src/embed/liveboard.js +24 -17
- package/lib/src/embed/liveboard.js.map +1 -1
- package/lib/src/embed/liveboard.spec.js +202 -2
- package/lib/src/embed/liveboard.spec.js.map +1 -1
- package/lib/src/embed/ts-embed.d.ts +22 -7
- package/lib/src/embed/ts-embed.d.ts.map +1 -1
- package/lib/src/embed/ts-embed.js +74 -56
- package/lib/src/embed/ts-embed.js.map +1 -1
- package/lib/src/embed/ts-embed.spec.js +175 -3
- package/lib/src/embed/ts-embed.spec.js.map +1 -1
- package/lib/src/types.d.ts +190 -55
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +157 -52
- package/lib/src/types.js.map +1 -1
- package/lib/src/utils/liveboardService/liveboardService.d.ts +21 -6
- package/lib/src/utils/liveboardService/liveboardService.d.ts.map +1 -1
- package/lib/src/utils/liveboardService/liveboardService.js +21 -6
- package/lib/src/utils/liveboardService/liveboardService.js.map +1 -1
- package/lib/src/utils/processData.d.ts.map +1 -1
- package/lib/src/utils/processData.js +10 -0
- package/lib/src/utils/processData.js.map +1 -1
- package/lib/src/utils/processData.spec.js +11 -0
- package/lib/src/utils/processData.spec.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +812 -40
- package/package.json +8 -6
- package/src/css-variables.ts +396 -1
- package/src/embed/app.spec.ts +102 -5
- package/src/embed/app.ts +29 -0
- package/src/embed/conversation.spec.ts +131 -5
- package/src/embed/conversation.ts +85 -10
- package/src/embed/liveboard.spec.ts +261 -2
- package/src/embed/liveboard.ts +25 -18
- package/src/embed/ts-embed.spec.ts +346 -114
- package/src/embed/ts-embed.ts +80 -65
- package/src/types.ts +190 -55
- package/src/utils/liveboardService/liveboardService.ts +21 -6
- package/src/utils/processData.spec.ts +12 -0
- package/src/utils/processData.ts +10 -0
- package/dist/index-DeFzsyFF.js +0 -7371
- package/dist/index-Dpf0rd6w.js +0 -7371
- package/dist/index-UuEbsISo.js +0 -7447
- package/dist/index-e3Uw3YFO.js +0 -7371
|
@@ -354,6 +354,8 @@ export function useSpotterAgent(config: SpotterAgentEmbedViewConfig): {
|
|
|
354
354
|
query: string;
|
|
355
355
|
message: {
|
|
356
356
|
worksheetId: string;
|
|
357
|
+
convId: any;
|
|
358
|
+
messageId: any;
|
|
357
359
|
sessionId: any;
|
|
358
360
|
genNo: any;
|
|
359
361
|
acSessionId: any;
|
|
@@ -1243,7 +1245,12 @@ export declare enum HomePage {
|
|
|
1243
1245
|
* Modular (v2) introduces the updated Modular Home Experience.
|
|
1244
1246
|
* It serves as the foundational version of the home page.
|
|
1245
1247
|
*/
|
|
1246
|
-
Modular = "v2"
|
|
1248
|
+
Modular = "v2",
|
|
1249
|
+
/**
|
|
1250
|
+
* ModularWithStylingChanges (v3) introduces Modular Home Experience
|
|
1251
|
+
* with styling changes.
|
|
1252
|
+
*/
|
|
1253
|
+
ModularWithStylingChanges = "v3"
|
|
1247
1254
|
}
|
|
1248
1255
|
/**
|
|
1249
1256
|
* Define the version of the list page
|
|
@@ -2119,6 +2126,16 @@ export declare class LiveboardEmbed extends V1Embed {
|
|
|
2119
2126
|
* embedded Liveboard or visualization.
|
|
2120
2127
|
*/
|
|
2121
2128
|
protected getEmbedParams(): string;
|
|
2129
|
+
/**
|
|
2130
|
+
* @hidden
|
|
2131
|
+
* Internal state to track the current liveboard id.
|
|
2132
|
+
* This is used to navigate to the correct liveboard when the prerender is visible.
|
|
2133
|
+
*/
|
|
2134
|
+
currentLiveboardState: {
|
|
2135
|
+
liveboardId: string;
|
|
2136
|
+
vizId: string;
|
|
2137
|
+
activeTabId: string;
|
|
2138
|
+
};
|
|
2122
2139
|
protected beforePrerenderVisible(): void;
|
|
2123
2140
|
protected handleRenderForPrerender(): Promise<TsEmbed>;
|
|
2124
2141
|
/**
|
|
@@ -2176,6 +2193,8 @@ export interface SpotterAgentMessageViewConfig extends SpotterAgentEmbedViewConf
|
|
|
2176
2193
|
genNo: number;
|
|
2177
2194
|
acSessionId: string;
|
|
2178
2195
|
acGenNo: number;
|
|
2196
|
+
convId: string;
|
|
2197
|
+
messageId: string;
|
|
2179
2198
|
}
|
|
2180
2199
|
export declare class ConversationMessage extends TsEmbed {
|
|
2181
2200
|
protected viewConfig: SpotterAgentMessageViewConfig;
|
|
@@ -2223,6 +2242,8 @@ export declare class SpotterAgentEmbed {
|
|
|
2223
2242
|
data?: undefined;
|
|
2224
2243
|
} | {
|
|
2225
2244
|
data: {
|
|
2245
|
+
convId: any;
|
|
2246
|
+
messageId: any;
|
|
2226
2247
|
sessionId: any;
|
|
2227
2248
|
genNo: any;
|
|
2228
2249
|
acSessionId: any;
|
|
@@ -3262,12 +3283,15 @@ export interface HomePageConfig {
|
|
|
3262
3283
|
* Hide list page columns
|
|
3263
3284
|
* For example: hiddenListColumns = [ListPageColumns.Author]
|
|
3264
3285
|
*
|
|
3265
|
-
* **Note**: This option is available only in full app embedding.
|
|
3286
|
+
* **Note**: This option is currently available only in full app embedding and requires importing the ListPageColumns enum.
|
|
3287
|
+
* At present, it can be used with Liveboard and Answer list pages, and starting with version 10.14.0.cl, it will also be supported for the Home page.
|
|
3266
3288
|
*
|
|
3267
3289
|
* Supported embed types: `AppEmbed`
|
|
3268
3290
|
* @version SDK: 1.38.0 | ThoughtSpot: 10.9.0.cl
|
|
3269
3291
|
* @example
|
|
3270
3292
|
* ```js
|
|
3293
|
+
* import { ListPageColumns } from '@thoughtspot/visual-embed-sdk';
|
|
3294
|
+
*
|
|
3271
3295
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
3272
3296
|
* ... //other embed view config
|
|
3273
3297
|
* hiddenListColumns : [ListPageColumns.Favorite,ListPageColumns.Author],
|
|
@@ -3282,11 +3306,14 @@ export interface HomePageConfig {
|
|
|
3282
3306
|
* **Note**: This option does not apply to the classic homepage.
|
|
3283
3307
|
* To access the updated modular homepage, set
|
|
3284
3308
|
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
3309
|
+
* To use it, you need to import `HomepageModule` enum.
|
|
3285
3310
|
*
|
|
3286
3311
|
* Supported embed types: `AppEmbed`
|
|
3287
3312
|
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl, 10.1.0.sw
|
|
3288
3313
|
* @example
|
|
3289
3314
|
* ```js
|
|
3315
|
+
* import { HomepageModule } from '@thoughtspot/visual-embed-sdk';
|
|
3316
|
+
*
|
|
3290
3317
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
3291
3318
|
* ... //other embed view config
|
|
3292
3319
|
* hiddenHomepageModules : [HomepageModule.Favorite,HomepageModule.Learning],
|
|
@@ -3301,11 +3328,14 @@ export interface HomePageConfig {
|
|
|
3301
3328
|
* **Note**: This option does not apply to the classic homepage.
|
|
3302
3329
|
* To access the updated modular homepage, set
|
|
3303
3330
|
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
3331
|
+
* To use it, you need to import `HomepageModule` enum.
|
|
3304
3332
|
*
|
|
3305
3333
|
* Supported embed types: `AppEmbed`
|
|
3306
3334
|
* @version SDK: 1.28.0| ThoughtSpot: 9.12.5.cl, 10.1.0.sw
|
|
3307
3335
|
* @example
|
|
3308
3336
|
* ```js
|
|
3337
|
+
* import { HomepageModule } from '@thoughtspot/visual-embed-sdk';
|
|
3338
|
+
*
|
|
3309
3339
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
3310
3340
|
* ... //other embed view config
|
|
3311
3341
|
* reorderedHomepageModules:[HomepageModule.Favorite,HomepageModule.MyLibrary],
|
|
@@ -3321,6 +3351,8 @@ export interface HomePageConfig {
|
|
|
3321
3351
|
* Supported embed types: `AppEmbed`
|
|
3322
3352
|
* @example
|
|
3323
3353
|
* ```js
|
|
3354
|
+
* import { HomeLeftNavItem } from '@thoughtspot/visual-embed-sdk';
|
|
3355
|
+
*
|
|
3324
3356
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
3325
3357
|
* ... //other embed view config
|
|
3326
3358
|
* hiddenHomeLeftNavItems : [HomeLeftNavItem.Home,HomeLeftNavItem.Answers],
|
|
@@ -3330,6 +3362,7 @@ export interface HomePageConfig {
|
|
|
3330
3362
|
* **Note**: This option does not apply to the classic homepage.
|
|
3331
3363
|
* To access the updated modular homepage, set
|
|
3332
3364
|
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
3365
|
+
* To use it, you need to import `HomeLeftNavItem` enum.
|
|
3333
3366
|
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl, 10.1.0.sw
|
|
3334
3367
|
*/
|
|
3335
3368
|
hiddenHomeLeftNavItems?: HomeLeftNavItem[];
|
|
@@ -3585,6 +3618,8 @@ export interface LiveboardAppEmbedViewConfig {
|
|
|
3585
3618
|
/**
|
|
3586
3619
|
* This flag is used to enable/disable hide irrelevant filters in Liveboard tab
|
|
3587
3620
|
*
|
|
3621
|
+
* **Note**: This feature is supported only if compact header is enabled on your Liveboard. To enable compact header, use the `isLiveboardCompactHeaderEnabled` attribute.
|
|
3622
|
+
*
|
|
3588
3623
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`
|
|
3589
3624
|
* @version SDK: 1.36.0 | ThoughtSpot:10.6.0.cl
|
|
3590
3625
|
* @default false
|
|
@@ -3594,6 +3629,7 @@ export interface LiveboardAppEmbedViewConfig {
|
|
|
3594
3629
|
* const embed = new <EmbedComponent>('#tsEmbed', {
|
|
3595
3630
|
* ... // other embed view config
|
|
3596
3631
|
* hideIrrelevantChipsInLiveboardTabs: true,
|
|
3632
|
+
* isLiveboardCompactHeaderEnabled: true,
|
|
3597
3633
|
* })
|
|
3598
3634
|
* ```
|
|
3599
3635
|
*/
|
|
@@ -3646,6 +3682,21 @@ export interface LiveboardAppEmbedViewConfig {
|
|
|
3646
3682
|
* ```
|
|
3647
3683
|
*/
|
|
3648
3684
|
coverAndFilterOptionInPDF?: boolean;
|
|
3685
|
+
/**
|
|
3686
|
+
* This flag is used to enable or disable the XLSX/CSV download option for Liveboards.
|
|
3687
|
+
*
|
|
3688
|
+
* Supported embed types: `AppEmbed`, `LiveboardEmbed`
|
|
3689
|
+
* @version SDK: 1.41.0 | ThoughtSpot: 10.14.0.cl
|
|
3690
|
+
* @example
|
|
3691
|
+
* ```js
|
|
3692
|
+
* // Replace <EmbedComponent> with embed component name. For example, AppEmbed or LiveboardEmbed
|
|
3693
|
+
* const embed = new <EmbedComponent>('#tsEmbed', {
|
|
3694
|
+
* ... // other embed view config
|
|
3695
|
+
* liveboardXLSXCSVDownload: true,
|
|
3696
|
+
* })
|
|
3697
|
+
* ```
|
|
3698
|
+
*/
|
|
3699
|
+
liveboardXLSXCSVDownload?: boolean;
|
|
3649
3700
|
}
|
|
3650
3701
|
export interface AllEmbedViewConfig extends BaseViewConfig, SearchLiveboardCommonViewConfig, HomePageConfig, LiveboardAppEmbedViewConfig {
|
|
3651
3702
|
}
|
|
@@ -4533,12 +4584,17 @@ export declare enum EmbedEvent {
|
|
|
4533
4584
|
* @hidden
|
|
4534
4585
|
*/
|
|
4535
4586
|
APP_INIT = "appInit",
|
|
4587
|
+
/**
|
|
4588
|
+
* Internal event to clear the cached info
|
|
4589
|
+
* @hidden
|
|
4590
|
+
*/
|
|
4591
|
+
CLEAR_INFO_CACHE = "clearInfoCache",
|
|
4536
4592
|
/**
|
|
4537
4593
|
* Emitted when a user clicks **Show Liveboard details** on a Liveboard
|
|
4538
4594
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
4539
4595
|
* @example
|
|
4540
4596
|
*```js
|
|
4541
|
-
* liveboardEmbed.on(EmbedEvent.
|
|
4597
|
+
* liveboardEmbed.on(EmbedEvent.LiveboardInfo, payload => {
|
|
4542
4598
|
* console.log('Liveboard details', payload);
|
|
4543
4599
|
* })
|
|
4544
4600
|
*```
|
|
@@ -4911,7 +4967,107 @@ export declare enum EmbedEvent {
|
|
|
4911
4967
|
* @version SDK : 1.39.0 | ThoughtSpot : 10.10.0.cl
|
|
4912
4968
|
* @hidden
|
|
4913
4969
|
*/
|
|
4914
|
-
RequestVisibleEmbedCoordinates = "requestVisibleEmbedCoordinates"
|
|
4970
|
+
RequestVisibleEmbedCoordinates = "requestVisibleEmbedCoordinates",
|
|
4971
|
+
/**
|
|
4972
|
+
* Emitted when Spotter response is text data
|
|
4973
|
+
* @example
|
|
4974
|
+
* ```js
|
|
4975
|
+
* spotterEmbed.on(EmbedEvent.SpotterData, (payload) => {
|
|
4976
|
+
* console.log('payload', payload);
|
|
4977
|
+
* })
|
|
4978
|
+
*```
|
|
4979
|
+
* @version SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
|
|
4980
|
+
*/
|
|
4981
|
+
SpotterData = "SpotterData",
|
|
4982
|
+
/**
|
|
4983
|
+
* Emitted when user opens up the worksheet preview modal in Spotter embed.
|
|
4984
|
+
* @example
|
|
4985
|
+
* ```js
|
|
4986
|
+
* spotterEmbed.on(EmbedEvent.PreviewSpotterData, (payload) => {
|
|
4987
|
+
* console.log('payload', payload);
|
|
4988
|
+
* })
|
|
4989
|
+
*```
|
|
4990
|
+
* @version SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
|
|
4991
|
+
*/
|
|
4992
|
+
PreviewSpotterData = "PreviewSpotterData",
|
|
4993
|
+
/**
|
|
4994
|
+
* Emitted when the Spotter query is triggered in Spotter embed.
|
|
4995
|
+
* @example
|
|
4996
|
+
* ```js
|
|
4997
|
+
* spotterEmbed.on(EmbedEvent.SpotterQueryTriggered, (payload) => {
|
|
4998
|
+
* console.log('payload', payload);
|
|
4999
|
+
* })
|
|
5000
|
+
*```
|
|
5001
|
+
* @version SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
|
|
5002
|
+
*/
|
|
5003
|
+
SpotterQueryTriggered = "SpotterQueryTriggered",
|
|
5004
|
+
/**
|
|
5005
|
+
* Emitted when the last Spotter query is edited in Spotter embed.
|
|
5006
|
+
* @example
|
|
5007
|
+
* ```js
|
|
5008
|
+
* spotterEmbed.on(EmbedEvent.LastPromptEdited, (payload) => {
|
|
5009
|
+
* console.log('payload', payload);
|
|
5010
|
+
* })
|
|
5011
|
+
*```
|
|
5012
|
+
* @version SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
|
|
5013
|
+
*/
|
|
5014
|
+
LastPromptEdited = "LastPromptEdited",
|
|
5015
|
+
/**
|
|
5016
|
+
* Emitted when the last Spotter query is deleted in Spotter embed.
|
|
5017
|
+
* @example
|
|
5018
|
+
* ```js
|
|
5019
|
+
* spotterEmbed.on(EmbedEvent.LastPromptDeleted, (payload) => {
|
|
5020
|
+
* console.log('payload', payload);
|
|
5021
|
+
* })
|
|
5022
|
+
*```
|
|
5023
|
+
* @version SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
|
|
5024
|
+
*/
|
|
5025
|
+
LastPromptDeleted = "LastPromptDeleted",
|
|
5026
|
+
/**
|
|
5027
|
+
* Emitted when the coversation is reset in spotter embed.
|
|
5028
|
+
* @example
|
|
5029
|
+
* ```js
|
|
5030
|
+
* spotterEmbed.on(EmbedEvent.ResetSpotterConversation, (payload) => {
|
|
5031
|
+
* console.log('payload', payload);
|
|
5032
|
+
* })
|
|
5033
|
+
*```
|
|
5034
|
+
* @version SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
|
|
5035
|
+
*/
|
|
5036
|
+
ResetSpotterConversation = "ResetSpotterConversation",
|
|
5037
|
+
/**
|
|
5038
|
+
* Emitted when the *Spotter* is initialized.
|
|
5039
|
+
* @example
|
|
5040
|
+
* ```js
|
|
5041
|
+
* spotterEmbed.on(EmbedEvent.SpotterInit, (payload) => {
|
|
5042
|
+
* console.log('payload', payload);
|
|
5043
|
+
* })
|
|
5044
|
+
*```
|
|
5045
|
+
* @version SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl
|
|
5046
|
+
*/
|
|
5047
|
+
SpotterInit = "spotterInit",
|
|
5048
|
+
/**
|
|
5049
|
+
* @hidden
|
|
5050
|
+
* Triggers when the embed listener is ready to receive events.
|
|
5051
|
+
* This is used to trigger events after the embed container is loaded.
|
|
5052
|
+
* @example
|
|
5053
|
+
* ```js
|
|
5054
|
+
* liveboardEmbed.on(EmbedEvent.EmbedListenerReady, () => {
|
|
5055
|
+
* console.log('EmbedListenerReady');
|
|
5056
|
+
* })
|
|
5057
|
+
* ```
|
|
5058
|
+
*/
|
|
5059
|
+
EmbedListenerReady = "EmbedListenerReady",
|
|
5060
|
+
/**
|
|
5061
|
+
* Emitted when the organization is switched.
|
|
5062
|
+
* @example
|
|
5063
|
+
* ```js
|
|
5064
|
+
* appEmbed.on(EmbedEvent.OrgSwitched, (payload) => {
|
|
5065
|
+
* console.log('payload', payload);
|
|
5066
|
+
* })
|
|
5067
|
+
* ```
|
|
5068
|
+
* @version SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl
|
|
5069
|
+
*/
|
|
5070
|
+
OrgSwitched = "orgSwitched"
|
|
4915
5071
|
}
|
|
4916
5072
|
/**
|
|
4917
5073
|
* Event types that can be triggered by the host application
|
|
@@ -4929,7 +5085,7 @@ export declare enum EmbedEvent {
|
|
|
4929
5085
|
* // create the liveboard embed.
|
|
4930
5086
|
*
|
|
4931
5087
|
* liveboardEmbed.trigger(HostEvent.UpdateRuntimeFilters, [
|
|
4932
|
-
* { columnName: 'state, operator: RuntimeFilterOp.EQ, values: [
|
|
5088
|
+
* { columnName: 'state', operator: RuntimeFilterOp.EQ, values: ["california"]}
|
|
4933
5089
|
* ]);
|
|
4934
5090
|
* ```
|
|
4935
5091
|
* @example
|
|
@@ -4999,6 +5155,7 @@ export declare enum HostEvent {
|
|
|
4999
5155
|
* done automatically on the most popular column.
|
|
5000
5156
|
* @param - vizId [TS >= 9.8.0] - Optional. The GUID of the visualization to drill
|
|
5001
5157
|
* in case of a Liveboard.
|
|
5158
|
+
* @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
|
|
5002
5159
|
* @example
|
|
5003
5160
|
* ```js
|
|
5004
5161
|
* searchEmbed.on(EmbedEvent.VizPointDoubleClick, (payload) => {
|
|
@@ -5137,12 +5294,12 @@ export declare enum HostEvent {
|
|
|
5137
5294
|
* Works with Search and Liveboard embed.
|
|
5138
5295
|
* @param - { columnId: string,
|
|
5139
5296
|
* name: string,
|
|
5140
|
-
* type:
|
|
5141
|
-
* dataType:
|
|
5297
|
+
* type: ATTRIBUTE/MEASURE,
|
|
5298
|
+
* dataType: INT64/CHAR/DATE }
|
|
5142
5299
|
* @example
|
|
5143
5300
|
* ```js
|
|
5144
5301
|
* searchEmbed.trigger(HostEvent.OpenFilter,
|
|
5145
|
-
* {column: { columnId: '<column-GUID>', name: 'column name', type: '
|
|
5302
|
+
* {column: { columnId: '<column-GUID>', name: 'column name', type: 'ATTRIBUTE', dataType: 'INT64'}})
|
|
5146
5303
|
* ```
|
|
5147
5304
|
* @example
|
|
5148
5305
|
* ```js
|
|
@@ -5200,6 +5357,7 @@ export declare enum HostEvent {
|
|
|
5200
5357
|
* @param
|
|
5201
5358
|
* `vizId`- GUID of the saved Answer or visualization to pin to a Liveboard.
|
|
5202
5359
|
* Optional when pinning a new chart or table generated from a Search query.
|
|
5360
|
+
* **Required** in Spotter Embed.
|
|
5203
5361
|
* @param
|
|
5204
5362
|
* `liveboardID` - GUID of the Liveboard to pin an Answer. If there is no Liveboard,
|
|
5205
5363
|
* specify the `newLiveboardName` parameter to create a new Liveboard.
|
|
@@ -5247,6 +5405,12 @@ export declare enum HostEvent {
|
|
|
5247
5405
|
* ```js
|
|
5248
5406
|
* appEmbed.trigger(HostEvent.Pin)
|
|
5249
5407
|
* ```
|
|
5408
|
+
* @example
|
|
5409
|
+
* ```js
|
|
5410
|
+
* const pinResponse = await spotterEmbed.trigger(HostEvent.Pin, {
|
|
5411
|
+
* vizId:'730496d6-6903-4601-937e-2c691821af3c'
|
|
5412
|
+
* });
|
|
5413
|
+
* ```
|
|
5250
5414
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
5251
5415
|
*/
|
|
5252
5416
|
Pin = "pin",
|
|
@@ -5311,12 +5475,21 @@ export declare enum HostEvent {
|
|
|
5311
5475
|
* Trigger the **Download PDF** action on an embedded Liveboard,
|
|
5312
5476
|
* visualization or Answer.
|
|
5313
5477
|
*
|
|
5478
|
+
* @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
|
|
5479
|
+
*
|
|
5314
5480
|
* **NOTE**: The **Download** > **PDF** action is available on
|
|
5315
5481
|
* visualizations and Answers if the data is in tabular format.
|
|
5316
5482
|
* @example
|
|
5317
5483
|
* ```js
|
|
5318
5484
|
* liveboardEmbed.trigger(HostEvent.DownloadAsPdf)
|
|
5319
5485
|
* ```
|
|
5486
|
+
* @example
|
|
5487
|
+
* ```js
|
|
5488
|
+
* spotterEmbed.trigger(HostEvent.DownloadAsPdf, {
|
|
5489
|
+
* vizId:'730496d6-6903-4601-937e-2c691821af3c'
|
|
5490
|
+
* });
|
|
5491
|
+
* ```
|
|
5492
|
+
*
|
|
5320
5493
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
5321
5494
|
*/
|
|
5322
5495
|
DownloadAsPdf = "downloadAsPdf",
|
|
@@ -5340,6 +5513,12 @@ export declare enum HostEvent {
|
|
|
5340
5513
|
* ```js
|
|
5341
5514
|
* searchEmbed.trigger(HostEvent.MakeACopy)
|
|
5342
5515
|
* ```
|
|
5516
|
+
* @example
|
|
5517
|
+
* ```js
|
|
5518
|
+
* const pinResponse = await spotterEmbed.trigger(HostEvent.MakeACopy, {
|
|
5519
|
+
* vizId:'730496d6-6903-4601-937e-2c691821af3c'
|
|
5520
|
+
* });
|
|
5521
|
+
* ```
|
|
5343
5522
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
5344
5523
|
*/
|
|
5345
5524
|
MakeACopy = "makeACopy",
|
|
@@ -5412,6 +5591,8 @@ export declare enum HostEvent {
|
|
|
5412
5591
|
* This event is not supported in visualization embed and search embed.
|
|
5413
5592
|
* @param - object - To trigger the action for a specific visualization
|
|
5414
5593
|
* in Liveboard embed, pass in `vizId` as a key.
|
|
5594
|
+
* @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
|
|
5595
|
+
*
|
|
5415
5596
|
* @example
|
|
5416
5597
|
* ```js
|
|
5417
5598
|
* liveboardEmbed.trigger(HostEvent.Edit)
|
|
@@ -5420,6 +5601,18 @@ export declare enum HostEvent {
|
|
|
5420
5601
|
* liveboardEmbed.trigger(HostEvent.Edit, {vizId:
|
|
5421
5602
|
* '730496d6-6903-4601-937e-2c691821af3c'})
|
|
5422
5603
|
* ```
|
|
5604
|
+
* @example
|
|
5605
|
+
* ```js
|
|
5606
|
+
* const pinResponse = await spotterEmbed.trigger(HostEvent.Edit, {
|
|
5607
|
+
* vizId:'730496d6-6903-4601-937e-2c691821af3c'
|
|
5608
|
+
* });
|
|
5609
|
+
* ```
|
|
5610
|
+
* @example
|
|
5611
|
+
* ```js
|
|
5612
|
+
* const editResponse = await spotterEmbed.trigger(HostEvent.Edit, {
|
|
5613
|
+
* vizId:'730496d6-6903-4601-937e-2c691821af3c'
|
|
5614
|
+
* });
|
|
5615
|
+
* ```
|
|
5423
5616
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
5424
5617
|
*/
|
|
5425
5618
|
Edit = "edit",
|
|
@@ -5467,6 +5660,16 @@ export declare enum HostEvent {
|
|
|
5467
5660
|
* );
|
|
5468
5661
|
* })
|
|
5469
5662
|
* ```
|
|
5663
|
+
* @example
|
|
5664
|
+
* ```js
|
|
5665
|
+
* spotterEmbed.trigger(HostEvent.GetTML, {
|
|
5666
|
+
* vizId: '730496d6-6903-4601-937e-2c691821af3c'
|
|
5667
|
+
* }).then((tml) => {
|
|
5668
|
+
* console.log(
|
|
5669
|
+
* tml.answer.search_query // TML representation of the search query
|
|
5670
|
+
* );
|
|
5671
|
+
* })
|
|
5672
|
+
* ```
|
|
5470
5673
|
* @version SDK: 1.18.0 | ThoughtSpot: 8.10.0.cl, 9.0.1.sw
|
|
5471
5674
|
* @important
|
|
5472
5675
|
*/
|
|
@@ -5530,6 +5733,7 @@ export declare enum HostEvent {
|
|
|
5530
5733
|
/**
|
|
5531
5734
|
* Trigger the **Download** action on charts in
|
|
5532
5735
|
* the embedded view.
|
|
5736
|
+
* @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
|
|
5533
5737
|
* @example
|
|
5534
5738
|
* ```js
|
|
5535
5739
|
* liveboardEmbed.trigger(HostEvent.Download, {vizId:
|
|
@@ -5538,6 +5742,11 @@ export declare enum HostEvent {
|
|
|
5538
5742
|
* ```js
|
|
5539
5743
|
* embed.trigger(HostEvent.Download)
|
|
5540
5744
|
* ```
|
|
5745
|
+
* ```js
|
|
5746
|
+
* spotterEmbed.trigger(HostEvent.Download, {
|
|
5747
|
+
* vizId:'730496d6-6903-4601-937e-2c691821af3c'
|
|
5748
|
+
* });
|
|
5749
|
+
* ```
|
|
5541
5750
|
* @deprecated from SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl ,9.4.1.sw
|
|
5542
5751
|
* Use {@link DownloadAsPng}
|
|
5543
5752
|
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
|
|
@@ -5554,13 +5763,19 @@ export declare enum HostEvent {
|
|
|
5554
5763
|
* vizEmbed.trigger(HostEvent.DownloadAsPng)
|
|
5555
5764
|
*
|
|
5556
5765
|
* searchEmbed.trigger(HostEvent.DownloadAsPng)
|
|
5766
|
+
*
|
|
5767
|
+
* spotterEmbed.trigger(HostEvent.DownloadAsPng, {
|
|
5768
|
+
* vizId:"730496d6-6903-4601-937e-2c691821af3c"
|
|
5769
|
+
* })
|
|
5557
5770
|
* ```
|
|
5771
|
+
*
|
|
5558
5772
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.4.1.sw
|
|
5559
5773
|
*/
|
|
5560
5774
|
DownloadAsPng = "downloadAsPng",
|
|
5561
5775
|
/**
|
|
5562
5776
|
* Trigger the **Download** > **CSV** action on tables in
|
|
5563
5777
|
* the embedded view.
|
|
5778
|
+
* @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
|
|
5564
5779
|
* @example
|
|
5565
5780
|
* ```js
|
|
5566
5781
|
* liveboardEmbed.trigger(HostEvent.DownloadAsCsv, {vizId:
|
|
@@ -5572,12 +5787,18 @@ export declare enum HostEvent {
|
|
|
5572
5787
|
* ```js
|
|
5573
5788
|
* searchEmbed.trigger(HostEvent.DownloadAsCsv)
|
|
5574
5789
|
* ```
|
|
5790
|
+
* ```js
|
|
5791
|
+
* spotterEmbed.trigger(HostEvent.DownloadAsCsv, {
|
|
5792
|
+
* vizId:"730496d6-6903-4601-937e-2c691821af3c"
|
|
5793
|
+
* })
|
|
5794
|
+
* ```
|
|
5575
5795
|
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
|
|
5576
5796
|
*/
|
|
5577
5797
|
DownloadAsCsv = "downloadAsCSV",
|
|
5578
5798
|
/**
|
|
5579
5799
|
* Trigger the **Download** > **XLSX** action on tables
|
|
5580
5800
|
* in the embedded view.
|
|
5801
|
+
* @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
|
|
5581
5802
|
* @example
|
|
5582
5803
|
* ```js
|
|
5583
5804
|
* liveboardEmbed.trigger(HostEvent.DownloadAsXlsx, {vizId:
|
|
@@ -5589,6 +5810,11 @@ export declare enum HostEvent {
|
|
|
5589
5810
|
* ```js
|
|
5590
5811
|
* searchEmbed.trigger(HostEvent.DownloadAsXlsx)
|
|
5591
5812
|
* ```
|
|
5813
|
+
* ```js
|
|
5814
|
+
* spotterEmbed.trigger(HostEvent.downloadAsXLSX, {
|
|
5815
|
+
* vizId:"730496d6-6903-4601-937e-2c691821af3c"
|
|
5816
|
+
* })
|
|
5817
|
+
* ```
|
|
5592
5818
|
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
|
|
5593
5819
|
*/
|
|
5594
5820
|
DownloadAsXlsx = "downloadAsXLSX",
|
|
@@ -5608,6 +5834,7 @@ export declare enum HostEvent {
|
|
|
5608
5834
|
/**
|
|
5609
5835
|
* Trigger the **Save** action on a Liveboard or Answer.
|
|
5610
5836
|
* Saves the changes.
|
|
5837
|
+
* @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
|
|
5611
5838
|
* @example
|
|
5612
5839
|
* ```js
|
|
5613
5840
|
* liveboardEmbed.trigger(HostEvent.Save)
|
|
@@ -5615,6 +5842,11 @@ export declare enum HostEvent {
|
|
|
5615
5842
|
* ```js
|
|
5616
5843
|
* searchEmbed.trigger(HostEvent.Save)
|
|
5617
5844
|
* ```
|
|
5845
|
+
* ```js
|
|
5846
|
+
* spotterEmbed.trigger(HostEvent.Save, {
|
|
5847
|
+
* vizId:"730496d6-6903-4601-937e-2c691821af3c"
|
|
5848
|
+
* })
|
|
5849
|
+
* ```
|
|
5618
5850
|
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
|
|
5619
5851
|
*/
|
|
5620
5852
|
Save = "save",
|
|
@@ -5898,7 +6130,7 @@ export declare enum HostEvent {
|
|
|
5898
6130
|
ResetLiveboardPersonalisedView = "ResetLiveboardPersonalisedView",
|
|
5899
6131
|
/**
|
|
5900
6132
|
* Triggers an action to update Parameter values on embedded
|
|
5901
|
-
* Answers and
|
|
6133
|
+
* Answers, Liveboard and Spotter answer in Edit mode.
|
|
5902
6134
|
*
|
|
5903
6135
|
* @example
|
|
5904
6136
|
* ```js
|
|
@@ -5912,11 +6144,19 @@ export declare enum HostEvent {
|
|
|
5912
6144
|
UpdateParameters = "UpdateParameters",
|
|
5913
6145
|
/**
|
|
5914
6146
|
* Triggers GetParameters to fetch the runtime Parameters.
|
|
6147
|
+
* @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
|
|
5915
6148
|
* ```js
|
|
5916
6149
|
* liveboardEmbed.trigger(HostEvent.GetParameters).then((parameter) => {
|
|
5917
6150
|
* console.log('parameters', parameter);
|
|
5918
6151
|
* });
|
|
5919
6152
|
*```
|
|
6153
|
+
*```js
|
|
6154
|
+
* spotterEmbed.trigger(HostEvent.GetParameters, {
|
|
6155
|
+
* vizId: '730496d6-6903-4601-937e-2c691821af3c'
|
|
6156
|
+
* }).then((parameter) => {
|
|
6157
|
+
* console.log('parameters', parameter);
|
|
6158
|
+
* });
|
|
6159
|
+
*```
|
|
5920
6160
|
* @version SDK: 1.29.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
5921
6161
|
*/
|
|
5922
6162
|
GetParameters = "GetParameters",
|
|
@@ -5948,7 +6188,7 @@ export declare enum HostEvent {
|
|
|
5948
6188
|
* @param - optional attributes to set Answer properties.
|
|
5949
6189
|
* `name` - Name string for the Answer.
|
|
5950
6190
|
* `description` - Description text for the Answer.
|
|
5951
|
-
*
|
|
6191
|
+
* @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
|
|
5952
6192
|
* @example
|
|
5953
6193
|
* ```js
|
|
5954
6194
|
* const saveAnswerResponse = await searchEmbed.trigger(HostEvent.SaveAnswer, {
|
|
@@ -5956,6 +6196,14 @@ export declare enum HostEvent {
|
|
|
5956
6196
|
* description: "Total sales by states in MidWest"
|
|
5957
6197
|
* });
|
|
5958
6198
|
* ```
|
|
6199
|
+
* @example
|
|
6200
|
+
* ```js
|
|
6201
|
+
* const saveAnswerResponse = await spotterEmbed.trigger(HostEvent.SaveAnswer, {
|
|
6202
|
+
* vizId: '730496d6-6903-4601-937e-2c691821af3c',
|
|
6203
|
+
* name: "Sales by states",
|
|
6204
|
+
* description: "Total sales by states in MidWest"
|
|
6205
|
+
* });
|
|
6206
|
+
* ```
|
|
5959
6207
|
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
|
|
5960
6208
|
*/
|
|
5961
6209
|
SaveAnswer = "saveAnswer",
|
|
@@ -5984,6 +6232,70 @@ export declare enum HostEvent {
|
|
|
5984
6232
|
* @version SDK: 1.37.0 | ThoughtSpot: 10.8.0.cl
|
|
5985
6233
|
*/
|
|
5986
6234
|
TransformTableVizData = "TransformTableVizData",
|
|
6235
|
+
/**
|
|
6236
|
+
* Triggers a search operation with the search tokens specified in
|
|
6237
|
+
* the search query string in spotter embed.
|
|
6238
|
+
* @param - `query`: Text string in Natural Language format
|
|
6239
|
+
* @param - `executeSearch`: Boolean to execute search and update search query
|
|
6240
|
+
* @example
|
|
6241
|
+
* ```js
|
|
6242
|
+
* spotterEmbed.trigger(HostEvent.SpotterSearch, {
|
|
6243
|
+
* query: 'revenue per year',
|
|
6244
|
+
* executeSearch: true,
|
|
6245
|
+
* })
|
|
6246
|
+
* ```
|
|
6247
|
+
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
6248
|
+
*/
|
|
6249
|
+
SpotterSearch = "SpotterSearch",
|
|
6250
|
+
/**
|
|
6251
|
+
* Edits the last prompt in spotter embed.
|
|
6252
|
+
* @param - `query`: Text string
|
|
6253
|
+
* @example
|
|
6254
|
+
* ```js
|
|
6255
|
+
* spotterEmbed.trigger(HostEvent.EditLastPrompt, "revenue per year");
|
|
6256
|
+
* ```
|
|
6257
|
+
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
6258
|
+
*/
|
|
6259
|
+
EditLastPrompt = "EditLastPrompt",
|
|
6260
|
+
/**
|
|
6261
|
+
* Opens the Worksheet preview modal in Spotter Embed.
|
|
6262
|
+
* @example
|
|
6263
|
+
* ```js
|
|
6264
|
+
* spotterEmbed.trigger(HostEvent.PreviewSpotterData);
|
|
6265
|
+
* ```
|
|
6266
|
+
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
6267
|
+
*/
|
|
6268
|
+
PreviewSpotterData = "PreviewSpotterData",
|
|
6269
|
+
/**
|
|
6270
|
+
* Resets the Spotter Embed Conversation.
|
|
6271
|
+
* @example
|
|
6272
|
+
* ```js
|
|
6273
|
+
* spotterEmbed.trigger(HostEvent.ResetSpotterConversation);
|
|
6274
|
+
* ```
|
|
6275
|
+
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
6276
|
+
*/
|
|
6277
|
+
ResetSpotterConversation = "ResetSpotterConversation",
|
|
6278
|
+
/**
|
|
6279
|
+
* Deletes the last prompt in spotter embed.
|
|
6280
|
+
* @example
|
|
6281
|
+
* ```js
|
|
6282
|
+
* spotterEmbed.trigger(HostEvent.DeleteLastPrompt);
|
|
6283
|
+
* ```
|
|
6284
|
+
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
6285
|
+
*/
|
|
6286
|
+
DeleteLastPrompt = "DeleteLastPrompt",
|
|
6287
|
+
/**
|
|
6288
|
+
* Toggle the visualization to chart or table view.
|
|
6289
|
+
* @param - `vizId ` refers to the answer id in spotter Embed, it is required in spotter Embed.
|
|
6290
|
+
* @example
|
|
6291
|
+
* ```js
|
|
6292
|
+
* spotterEmbed.trigger(HostEvent.AnswerChartSwitcher, {
|
|
6293
|
+
* vizId:'b535c760-8bbe-4e6f-bb26-af56b4129a1e'
|
|
6294
|
+
* });
|
|
6295
|
+
*```
|
|
6296
|
+
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
6297
|
+
*/
|
|
6298
|
+
AnswerChartSwitcher = "answerChartSwitcher",
|
|
5987
6299
|
/**
|
|
5988
6300
|
* @hidden
|
|
5989
6301
|
* Trigger exit from presentation mode when user exits fullscreen.
|
|
@@ -6006,7 +6318,18 @@ export declare enum HostEvent {
|
|
|
6006
6318
|
*
|
|
6007
6319
|
* @hidden
|
|
6008
6320
|
*/
|
|
6009
|
-
VisibleEmbedCoordinates = "visibleEmbedCoordinates"
|
|
6321
|
+
VisibleEmbedCoordinates = "visibleEmbedCoordinates",
|
|
6322
|
+
/**
|
|
6323
|
+
* Trigger the *Ask Spotter* action for visualizations
|
|
6324
|
+
* @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
|
|
6325
|
+
* @example
|
|
6326
|
+
* ```js
|
|
6327
|
+
* spotterEmbed.trigger(HostEvent.AskSpotter,
|
|
6328
|
+
* {vizId:'730496d6-6903-4601-937e-2c691821af3c'})
|
|
6329
|
+
* ```
|
|
6330
|
+
* @version SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl
|
|
6331
|
+
*/
|
|
6332
|
+
AskSpotter = "AskSpotter"
|
|
6010
6333
|
}
|
|
6011
6334
|
/**
|
|
6012
6335
|
* The different visual modes that the data sources panel within
|
|
@@ -6102,6 +6425,7 @@ export declare enum Param {
|
|
|
6102
6425
|
Query = "query",
|
|
6103
6426
|
HideHomepageLeftNav = "hideHomepageLeftNav",
|
|
6104
6427
|
ModularHomeExperienceEnabled = "modularHomeExperience",
|
|
6428
|
+
HomepageVersion = "homepageVersion",
|
|
6105
6429
|
ListPageVersion = "listpageVersion",
|
|
6106
6430
|
PendoTrackingKey = "additionalPendoKey",
|
|
6107
6431
|
LiveboardHeaderSticky = "isLiveboardHeaderSticky",
|
|
@@ -6142,7 +6466,8 @@ export declare enum Param {
|
|
|
6142
6466
|
isSpotterAgentEmbed = "isSpotterAgentEmbed",
|
|
6143
6467
|
IsLiveboardStylingAndGroupingEnabled = "isLiveboardStylingAndGroupingEnabled",
|
|
6144
6468
|
IsLazyLoadingForEmbedEnabled = "isLazyLoadingForEmbedEnabled",
|
|
6145
|
-
RootMarginForLazyLoad = "rootMarginForLazyLoad"
|
|
6469
|
+
RootMarginForLazyLoad = "rootMarginForLazyLoad",
|
|
6470
|
+
LiveboardXLSXCSVDownload = "isLiveboardXLSXCSVDownloadEnabled"
|
|
6146
6471
|
}
|
|
6147
6472
|
/**
|
|
6148
6473
|
* ThoughtSpot application pages include actions and menu commands
|
|
@@ -6294,27 +6619,27 @@ export declare enum Action {
|
|
|
6294
6619
|
*/
|
|
6295
6620
|
ConfigureFilter = "configureFilter",
|
|
6296
6621
|
/**
|
|
6297
|
-
|
|
6298
|
-
|
|
6299
|
-
|
|
6300
|
-
|
|
6301
|
-
|
|
6302
|
-
|
|
6303
|
-
|
|
6304
|
-
|
|
6305
|
-
|
|
6622
|
+
* The **Collapse data sources** icon on the Search page.
|
|
6623
|
+
* Collapses the panel showing data sources.
|
|
6624
|
+
*
|
|
6625
|
+
* @example
|
|
6626
|
+
* ```js
|
|
6627
|
+
* disabledActions: [Action.CollapseDataPanel]
|
|
6628
|
+
* ```
|
|
6629
|
+
* @version: SDK: 1.1.0 | ThoughtSpot Cloud: ts7.may.cl, 8.4.1.sw
|
|
6630
|
+
*/
|
|
6306
6631
|
CollapseDataSources = "collapseDataSources",
|
|
6307
6632
|
/**
|
|
6308
|
-
|
|
6309
|
-
|
|
6310
|
-
|
|
6311
|
-
|
|
6312
|
-
|
|
6313
|
-
|
|
6314
|
-
|
|
6315
|
-
|
|
6316
|
-
|
|
6317
|
-
|
|
6633
|
+
* The **Collapse data panel** icon on the Search page.
|
|
6634
|
+
* Collapses the data panel view.
|
|
6635
|
+
*
|
|
6636
|
+
* @version: SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
6637
|
+
*
|
|
6638
|
+
* @example
|
|
6639
|
+
* ```js
|
|
6640
|
+
* disabledActions: [Action.CollapseDataPanel]
|
|
6641
|
+
* ```
|
|
6642
|
+
*/
|
|
6318
6643
|
CollapseDataPanel = "collapseDataPanel",
|
|
6319
6644
|
/**
|
|
6320
6645
|
* The **Choose sources** button on Search page.
|
|
@@ -7010,6 +7335,17 @@ export declare enum Action {
|
|
|
7010
7335
|
* @version SDK: 1.25.0 | ThoughtSpot Cloud: 9.6.0.cl
|
|
7011
7336
|
*/
|
|
7012
7337
|
EnableContextualChangeAnalysis = "enableContextualChangeAnalysis",
|
|
7338
|
+
/**
|
|
7339
|
+
* Action ID to hide or disable Iterative Change Analysis option
|
|
7340
|
+
* on contextual change analysis Inisght charts context menu
|
|
7341
|
+
*
|
|
7342
|
+
* @example
|
|
7343
|
+
* ```js
|
|
7344
|
+
* disabledActions: [Action.EnableIterativeChangeAnalysis]
|
|
7345
|
+
* ```
|
|
7346
|
+
* @version SDK: 1.41.0 | ThoughtSpot Cloud: 9.12.0.cl
|
|
7347
|
+
*/
|
|
7348
|
+
EnableIterativeChangeAnalysis = "enableIterativeChangeAnalysis",
|
|
7013
7349
|
/**
|
|
7014
7350
|
* Action ID to hide or disable Natural Language Search query.
|
|
7015
7351
|
*
|
|
@@ -7378,7 +7714,40 @@ export declare enum Action {
|
|
|
7378
7714
|
* ```
|
|
7379
7715
|
* @version SDK: 1.39.0 | ThoughtSpot Cloud: 10.10.0.cl
|
|
7380
7716
|
*/
|
|
7381
|
-
InConversationTraining = "InConversationTraining"
|
|
7717
|
+
InConversationTraining = "InConversationTraining",
|
|
7718
|
+
/**
|
|
7719
|
+
* Action ID to hide the warnings banner in
|
|
7720
|
+
* Spotter results. It's an EA feature and
|
|
7721
|
+
* handled by LD.
|
|
7722
|
+
* @example
|
|
7723
|
+
* ```js
|
|
7724
|
+
* hiddenAction: [Action.SpotterWarningsBanner]
|
|
7725
|
+
* ```
|
|
7726
|
+
* @version SDK: 1.41.0 | ThoughtSpot Cloud: 10.13.0.cl
|
|
7727
|
+
*/
|
|
7728
|
+
SpotterWarningsBanner = "SpotterWarningsBanner",
|
|
7729
|
+
/**
|
|
7730
|
+
* Action ID to hide the warnings border on the knowledge
|
|
7731
|
+
* card in Spotter results. It's an EA feature and
|
|
7732
|
+
* handled by LD.
|
|
7733
|
+
* @example
|
|
7734
|
+
* ```js
|
|
7735
|
+
* hiddenAction: [Action.SpotterWarningsOnTokens]
|
|
7736
|
+
* ```
|
|
7737
|
+
* @version SDK: 1.41.0 | ThoughtSpot Cloud: 10.13.0.cl
|
|
7738
|
+
*/
|
|
7739
|
+
SpotterWarningsOnTokens = "SpotterWarningsOnTokens",
|
|
7740
|
+
/**
|
|
7741
|
+
* Action ID to disable the click event handler on knowledge
|
|
7742
|
+
* card in Spotter results. It's an EA feature and
|
|
7743
|
+
* handled by LD.
|
|
7744
|
+
* @example
|
|
7745
|
+
* ```js
|
|
7746
|
+
* hiddenAction: [Action.SpotterTokenQuickEdit]
|
|
7747
|
+
* ```
|
|
7748
|
+
* @version SDK: 1.41.0 | ThoughtSpot Cloud: 10.13.0.cl
|
|
7749
|
+
*/
|
|
7750
|
+
SpotterTokenQuickEdit = "SpotterTokenQuickEdit"
|
|
7382
7751
|
}
|
|
7383
7752
|
export interface AnswerServiceType {
|
|
7384
7753
|
getAnswer?: (offset: number, batchSize: number) => any;
|
|
@@ -7572,7 +7941,8 @@ export interface SearchOptions {
|
|
|
7572
7941
|
*/
|
|
7573
7942
|
export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, 'primaryAction'> {
|
|
7574
7943
|
/**
|
|
7575
|
-
* The ID of the data source object. For example, Model, View, or Table. Spotter uses
|
|
7944
|
+
* The ID of the data source object. For example, Model, View, or Table. Spotter uses
|
|
7945
|
+
* this object to query data and generate Answers.
|
|
7576
7946
|
*/
|
|
7577
7947
|
worksheetId: string;
|
|
7578
7948
|
/**
|
|
@@ -7655,6 +8025,66 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, 'primaryAct
|
|
|
7655
8025
|
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
|
|
7656
8026
|
*/
|
|
7657
8027
|
hideSampleQuestions?: boolean;
|
|
8028
|
+
/**
|
|
8029
|
+
* The list of runtime filters to apply to a search Answer,
|
|
8030
|
+
* visualization, or Liveboard.
|
|
8031
|
+
*
|
|
8032
|
+
* Supported embed types: `SpotterEmbed`
|
|
8033
|
+
* @example
|
|
8034
|
+
* ```js
|
|
8035
|
+
* const embed = new SpotterEmbed('#tsEmbed', {
|
|
8036
|
+
* // other embed view config
|
|
8037
|
+
* runtimeFilters: [
|
|
8038
|
+
* {
|
|
8039
|
+
* columnName: 'color',
|
|
8040
|
+
* operator: RuntimeFilterOp.EQ,
|
|
8041
|
+
* values: ['red'],
|
|
8042
|
+
* },
|
|
8043
|
+
* ],
|
|
8044
|
+
* })
|
|
8045
|
+
* ```
|
|
8046
|
+
* @version SDK: 1.41.0 | ThoughtSpot: 10.13.0.cl
|
|
8047
|
+
*/
|
|
8048
|
+
runtimeFilters?: RuntimeFilter[];
|
|
8049
|
+
/**
|
|
8050
|
+
* Flag to control whether runtime filters should be included in the URL.
|
|
8051
|
+
* If true, filters will be passed via app initialization payload instead.
|
|
8052
|
+
* If false/undefined, filters will be added to URL (default behavior).
|
|
8053
|
+
*
|
|
8054
|
+
* Supported embed types: `SpotterEmbed`
|
|
8055
|
+
* @default false
|
|
8056
|
+
* @version SDK: 1.41.0 | ThoughtSpot: 10.13.0.cl
|
|
8057
|
+
*/
|
|
8058
|
+
excludeRuntimeFiltersfromURL?: boolean;
|
|
8059
|
+
/**
|
|
8060
|
+
* The list of runtime parameters to apply to the conversation.
|
|
8061
|
+
*
|
|
8062
|
+
* Supported embed types: `SpotterEmbed`
|
|
8063
|
+
* @example
|
|
8064
|
+
* ```js
|
|
8065
|
+
* const embed = new SpotterEmbed('#tsEmbed', {
|
|
8066
|
+
* // other embed view config
|
|
8067
|
+
* runtimeParameters: [
|
|
8068
|
+
* {
|
|
8069
|
+
* name: 'Integer Param',
|
|
8070
|
+
* value: 10,
|
|
8071
|
+
* },
|
|
8072
|
+
* ],
|
|
8073
|
+
* })
|
|
8074
|
+
* ```
|
|
8075
|
+
* @version SDK: 1.41.0 | ThoughtSpot: 10.13.0.cl
|
|
8076
|
+
*/
|
|
8077
|
+
runtimeParameters?: RuntimeParameter[];
|
|
8078
|
+
/**
|
|
8079
|
+
* Flag to control whether runtime parameters should be included in the URL.
|
|
8080
|
+
* If true, parameters will be passed via app initialization payload instead.
|
|
8081
|
+
* If false/undefined, parameters will be added to URL (default behavior).
|
|
8082
|
+
*
|
|
8083
|
+
* Supported embed types: `SpotterEmbed`
|
|
8084
|
+
* @default false
|
|
8085
|
+
* @version SDK: 1.41.0 | ThoughtSpot: 10.13.0.cl
|
|
8086
|
+
*/
|
|
8087
|
+
excludeRuntimeParametersfromURL?: boolean;
|
|
7658
8088
|
}
|
|
7659
8089
|
/**
|
|
7660
8090
|
* The configuration for the embedded spotterEmbed options.
|
|
@@ -7897,6 +8327,19 @@ export declare class TsEmbed {
|
|
|
7897
8327
|
* ```
|
|
7898
8328
|
*/
|
|
7899
8329
|
off(messageType: EmbedEvent, callback: MessageCallback): typeof TsEmbed.prototype;
|
|
8330
|
+
/**
|
|
8331
|
+
* @hidden
|
|
8332
|
+
* Internal state to track if the embed container is loaded.
|
|
8333
|
+
* This is used to trigger events after the embed container is loaded.
|
|
8334
|
+
*/
|
|
8335
|
+
isEmbedContainerLoaded: boolean;
|
|
8336
|
+
protected getPreRenderObj<T extends TsEmbed>(): T;
|
|
8337
|
+
/**
|
|
8338
|
+
* Executes a callback after the embed container is loaded.
|
|
8339
|
+
* @param callback The callback to execute
|
|
8340
|
+
*/
|
|
8341
|
+
protected executeAfterEmbedContainerLoaded(callback: () => void): void;
|
|
8342
|
+
protected createEmbedContainerHandler: (source: EmbedEvent.AuthInit | EmbedEvent.EmbedListenerReady) => () => void;
|
|
7900
8343
|
/**
|
|
7901
8344
|
* Triggers an event to the embedded app
|
|
7902
8345
|
* @param {HostEvent} messageType The event type
|
|
@@ -8498,6 +8941,322 @@ export interface CustomCssVariables {
|
|
|
8498
8941
|
* Background color of checkbox.
|
|
8499
8942
|
*/
|
|
8500
8943
|
'--ts-var-checkbox-background-color'?: string;
|
|
8944
|
+
/**
|
|
8945
|
+
* Height of the tiles in the Liveboard.
|
|
8946
|
+
*/
|
|
8947
|
+
'--ts-var-viz-tile-height'?: string;
|
|
8948
|
+
/**
|
|
8949
|
+
* Background color of the layout in the Liveboard.
|
|
8950
|
+
*/
|
|
8951
|
+
'--ts-var-liveboard-layout-background'?: string;
|
|
8952
|
+
/**
|
|
8953
|
+
* Font color of the title of the layout in the Liveboard.
|
|
8954
|
+
*/
|
|
8955
|
+
'--ts-var-liveboard-layout-title-color'?: string;
|
|
8956
|
+
/**
|
|
8957
|
+
* Font size of the title of the layout in the Liveboard.
|
|
8958
|
+
*/
|
|
8959
|
+
'--ts-var-liveboard-layout-title-fontsize'?: string;
|
|
8960
|
+
/**
|
|
8961
|
+
* Background color of the header in the Liveboard.
|
|
8962
|
+
*/
|
|
8963
|
+
'--ts-var-liveboard-header-background'?: string;
|
|
8964
|
+
/**
|
|
8965
|
+
* Font size of the header in the Liveboard.
|
|
8966
|
+
*/
|
|
8967
|
+
'--ts-var-liveboard-header-fontsize'?: string;
|
|
8968
|
+
/**
|
|
8969
|
+
* Font color of the header in the Liveboard.
|
|
8970
|
+
*/
|
|
8971
|
+
'--ts-var-liveboard-header-font-color'?: string;
|
|
8972
|
+
/**
|
|
8973
|
+
* Border color of the tiles in the Liveboard.
|
|
8974
|
+
*/
|
|
8975
|
+
'--ts-var-liveboard-tile-border-color'?: string;
|
|
8976
|
+
/**
|
|
8977
|
+
* Background color of the tiles in the Liveboard.
|
|
8978
|
+
*/
|
|
8979
|
+
'--ts-var-liveboard-tile-background'?: string;
|
|
8980
|
+
/**
|
|
8981
|
+
* Border radius of the tiles in the Liveboard.
|
|
8982
|
+
*/
|
|
8983
|
+
'--ts-var-liveboard-tile-border-radius'?: string;
|
|
8984
|
+
/**
|
|
8985
|
+
* Padding of the tiles in the Liveboard.
|
|
8986
|
+
*/
|
|
8987
|
+
'--ts-var-liveboard-tile-padding'?: string;
|
|
8988
|
+
/**
|
|
8989
|
+
* Background color of the table header in the Liveboard.
|
|
8990
|
+
*/
|
|
8991
|
+
'--ts-var-liveboard-tile-table-header-background'?: string;
|
|
8992
|
+
/**
|
|
8993
|
+
* Padding of the groups in the Liveboard.
|
|
8994
|
+
*/
|
|
8995
|
+
'--ts-var-liveboard-group-padding'?: string;
|
|
8996
|
+
/**
|
|
8997
|
+
* Padding of the title of the groups in the Liveboard.
|
|
8998
|
+
*/
|
|
8999
|
+
'--ts-var-liveboard-group-title-padding'?: string;
|
|
9000
|
+
/**
|
|
9001
|
+
* Font size of the title of the groups in the Liveboard.
|
|
9002
|
+
*/
|
|
9003
|
+
'--ts-var-liveboard-group-title-font-size'?: string;
|
|
9004
|
+
/**
|
|
9005
|
+
* Font weight of the title of the groups in the Liveboard.
|
|
9006
|
+
*/
|
|
9007
|
+
'--ts-var-liveboard-group-title-font-weight'?: string;
|
|
9008
|
+
/**
|
|
9009
|
+
* Font size of the title of the tiles inside the groups in the Liveboard.
|
|
9010
|
+
*/
|
|
9011
|
+
'--ts-var-liveboard-group-tile-title-font-size'?: string;
|
|
9012
|
+
/**
|
|
9013
|
+
* Font weight of the title of the tiles inside the groups in the Liveboard.
|
|
9014
|
+
*/
|
|
9015
|
+
'--ts-var-liveboard-group-tile-title-font-weight'?: string;
|
|
9016
|
+
/**
|
|
9017
|
+
* Font size of the description of the groups in the Liveboard.
|
|
9018
|
+
*/
|
|
9019
|
+
'--ts-var-liveboard-group-description-font-size'?: string;
|
|
9020
|
+
/**
|
|
9021
|
+
* Font weight of the description of the groups in the Liveboard.
|
|
9022
|
+
*/
|
|
9023
|
+
'--ts-var-liveboard-group-description-font-weight'?: string;
|
|
9024
|
+
/**
|
|
9025
|
+
* Border of the tiles in the Liveboard.
|
|
9026
|
+
*/
|
|
9027
|
+
'--ts-var-liveboard-group-tile-border'?: string;
|
|
9028
|
+
/**
|
|
9029
|
+
* Padding of the tiles in the Liveboard.
|
|
9030
|
+
*/
|
|
9031
|
+
'--ts-var-liveboard-group-tile-padding'?: string;
|
|
9032
|
+
/**
|
|
9033
|
+
* Padding of the answer viz in the Liveboard.
|
|
9034
|
+
*/
|
|
9035
|
+
'--ts-var-liveboard-answer-viz-padding'?: string;
|
|
9036
|
+
/**
|
|
9037
|
+
* Background color of the groups in the Liveboard.
|
|
9038
|
+
*/
|
|
9039
|
+
'--ts-var-liveboard-group-background'?: string;
|
|
9040
|
+
/**
|
|
9041
|
+
* Border color of the groups in the Liveboard.
|
|
9042
|
+
*/
|
|
9043
|
+
'--ts-var-liveboard-group-border-color'?: string;
|
|
9044
|
+
/**
|
|
9045
|
+
* Font color of the heading of the note title in the Liveboard.
|
|
9046
|
+
*/
|
|
9047
|
+
'--ts-var-liveboard-notetitle-heading-font-color'?: string;
|
|
9048
|
+
/**
|
|
9049
|
+
* Font color of the body of the note title in the Liveboard.
|
|
9050
|
+
*/
|
|
9051
|
+
'--ts-var-liveboard-notetitle-body-font-color'?: string;
|
|
9052
|
+
/**
|
|
9053
|
+
* Font color of the title of the groups in the Liveboard.
|
|
9054
|
+
*/
|
|
9055
|
+
'--ts-var-liveboard-group-title-font-color'?: string;
|
|
9056
|
+
/**
|
|
9057
|
+
* Font color of the description of the groups in the Liveboard.
|
|
9058
|
+
*/
|
|
9059
|
+
'--ts-var-liveboard-group-description-font-color'?: string;
|
|
9060
|
+
/**
|
|
9061
|
+
* Font color of the title of the tiles inside the groups in the Liveboard.
|
|
9062
|
+
*/
|
|
9063
|
+
'--ts-var-liveboard-group-tile-title-font-color'?: string;
|
|
9064
|
+
/**
|
|
9065
|
+
* Background color of the tiles inside the groups in the Liveboard.
|
|
9066
|
+
*/
|
|
9067
|
+
'--ts-var-liveboard-group-tile-background'?: string;
|
|
9068
|
+
/**
|
|
9069
|
+
* Background color of the chips in the Liveboard.
|
|
9070
|
+
*/
|
|
9071
|
+
'--ts-var-liveboard-chip-background'?: string;
|
|
9072
|
+
/**
|
|
9073
|
+
* Font color of the chips in the Liveboard.
|
|
9074
|
+
*/
|
|
9075
|
+
'--ts-var-liveboard-chip-color'?: string;
|
|
9076
|
+
/**
|
|
9077
|
+
* Background color of the chips in the Liveboard on hover.
|
|
9078
|
+
*/
|
|
9079
|
+
'--ts-var-liveboard-chip--hover-background'?: string;
|
|
9080
|
+
/**
|
|
9081
|
+
* Font color of the chips in the Liveboard on hover.
|
|
9082
|
+
*/
|
|
9083
|
+
'--ts-var-liveboard-chip--hover-color'?: string;
|
|
9084
|
+
/**
|
|
9085
|
+
* Background color of the chips in the Liveboard on active.
|
|
9086
|
+
*/
|
|
9087
|
+
'--ts-var-liveboard-chip--active-background'?: string;
|
|
9088
|
+
/**
|
|
9089
|
+
* Font color of the chips in the Liveboard on active.
|
|
9090
|
+
*/
|
|
9091
|
+
'--ts-var-liveboard-chip--active-color'?: string;
|
|
9092
|
+
/**
|
|
9093
|
+
* Width of the side panel in the Liveboard.
|
|
9094
|
+
*/
|
|
9095
|
+
'--ts-var-side-panel-width'?: string;
|
|
9096
|
+
/**
|
|
9097
|
+
* Background color of the edit bar in the Liveboard.
|
|
9098
|
+
*/
|
|
9099
|
+
'--ts-var-liveboard-edit-bar-background'?: string;
|
|
9100
|
+
/**
|
|
9101
|
+
* Breakpoint for the dual column layout in the Liveboard.
|
|
9102
|
+
*/
|
|
9103
|
+
'--ts-var-liveboard-dual-column-breakpoint'?: string;
|
|
9104
|
+
/**
|
|
9105
|
+
* Breakpoint for the single column layout in the Liveboard.
|
|
9106
|
+
*/
|
|
9107
|
+
'--ts-var-liveboard-single-column-breakpoint'?: string;
|
|
9108
|
+
/**
|
|
9109
|
+
* Background color of the cross filter layout in the Liveboard.
|
|
9110
|
+
*/
|
|
9111
|
+
'--ts-var-liveboard-cross-filter-layout-background'?: string;
|
|
9112
|
+
/**
|
|
9113
|
+
* Border color of the active tab in the Liveboard.
|
|
9114
|
+
*/
|
|
9115
|
+
'--ts-var-liveboard-tab-active-border-color'?: string;
|
|
9116
|
+
/**
|
|
9117
|
+
* Font color of the hover tab in the Liveboard.
|
|
9118
|
+
*/
|
|
9119
|
+
'--ts-var-liveboard-tab-hover-color'?: string;
|
|
9120
|
+
/**
|
|
9121
|
+
* Font size of the title of the tiles in the Liveboard.
|
|
9122
|
+
*/
|
|
9123
|
+
'--ts-var-liveboard-tile-title-fontsize'?: string;
|
|
9124
|
+
/**
|
|
9125
|
+
* Font weight of the title of the tiles in the Liveboard.
|
|
9126
|
+
*/
|
|
9127
|
+
'--ts-var-liveboard-tile-title-fontweight'?: string;
|
|
9128
|
+
/**
|
|
9129
|
+
* Font weight of the description of the tiles in the Liveboard.
|
|
9130
|
+
*/
|
|
9131
|
+
'--ts-var-liveboard-tile-description-font-weight'?: string;
|
|
9132
|
+
/**
|
|
9133
|
+
* Opacity of the description of the tiles in the Liveboard.
|
|
9134
|
+
*/
|
|
9135
|
+
'--ts-var-liveboard-tile-description-opacity'?: string;
|
|
9136
|
+
/**
|
|
9137
|
+
* Background color of the parameter chips in the Liveboard.
|
|
9138
|
+
*/
|
|
9139
|
+
'--ts-var-parameter-chip-background'?: string;
|
|
9140
|
+
/**
|
|
9141
|
+
* Font color of the parameter chips in the Liveboard.
|
|
9142
|
+
*/
|
|
9143
|
+
'--ts-var-parameter-chip-text-color'?: string;
|
|
9144
|
+
/**
|
|
9145
|
+
* Background color of the parameter chips in the Liveboard on hover.
|
|
9146
|
+
*/
|
|
9147
|
+
'--ts-var-parameter-chip-hover-background'?: string;
|
|
9148
|
+
/**
|
|
9149
|
+
* Font color of the parameter chips in the Liveboard on hover.
|
|
9150
|
+
*/
|
|
9151
|
+
'--ts-var-parameter-chip-hover-text-color'?: string;
|
|
9152
|
+
/**
|
|
9153
|
+
* Background color of the parameter chips in the Liveboard on active.
|
|
9154
|
+
*/
|
|
9155
|
+
'--ts-var-parameter-chip-active-background'?: string;
|
|
9156
|
+
/**
|
|
9157
|
+
* Font color of the parameter chips in the Liveboard on active.
|
|
9158
|
+
*/
|
|
9159
|
+
'--ts-var-parameter-chip-active-text-color'?: string;
|
|
9160
|
+
/**
|
|
9161
|
+
* Background color of the action button in the Liveboard header.
|
|
9162
|
+
*/
|
|
9163
|
+
'--ts-var-liveboard-header-action-button-background'?: string;
|
|
9164
|
+
/**
|
|
9165
|
+
* Font color of the action button in the Liveboard header.
|
|
9166
|
+
*/
|
|
9167
|
+
'--ts-var-liveboard-header-action-button-font-color'?: string;
|
|
9168
|
+
/**
|
|
9169
|
+
* Font color of the action button in the Liveboard header on hover.
|
|
9170
|
+
*/
|
|
9171
|
+
'--ts-var-liveboard-header-action-button-hover-color'?: string;
|
|
9172
|
+
/**
|
|
9173
|
+
* Font color of the action button in the Liveboard header on active.
|
|
9174
|
+
*/
|
|
9175
|
+
'--ts-var-liveboard-header-action-button-active-color'?: string;
|
|
9176
|
+
/**
|
|
9177
|
+
* Background color of the badge in the Liveboard header.
|
|
9178
|
+
*/
|
|
9179
|
+
'--ts-var-liveboard-header-badge-background'?: string;
|
|
9180
|
+
/**
|
|
9181
|
+
* Font color of the badge in the Liveboard header.
|
|
9182
|
+
*/
|
|
9183
|
+
'--ts-var-liveboard-header-badge-font-color'?: string;
|
|
9184
|
+
/**
|
|
9185
|
+
* Background color of the modified badge in the Liveboard header.
|
|
9186
|
+
*/
|
|
9187
|
+
'--ts-var-liveboard-header-badge-modified-background'?: string;
|
|
9188
|
+
/**
|
|
9189
|
+
* Font color of the modified badge in the Liveboard header.
|
|
9190
|
+
*/
|
|
9191
|
+
'--ts-var-liveboard-header-badge-modified-font-color'?: string;
|
|
9192
|
+
/**
|
|
9193
|
+
* Font color of the badge in the Liveboard header on hover.
|
|
9194
|
+
*/
|
|
9195
|
+
'--ts-var-liveboard-header-badge-hover-color'?: string;
|
|
9196
|
+
/**
|
|
9197
|
+
* Font color of the badge in the Liveboard header on active.
|
|
9198
|
+
*/
|
|
9199
|
+
'--ts-var-liveboard-header-badge-active-color'?: string;
|
|
9200
|
+
/**
|
|
9201
|
+
* Font color of the hero text in the KPI widget.
|
|
9202
|
+
*/
|
|
9203
|
+
'--ts-var-kpi-hero-color'?: string;
|
|
9204
|
+
/**
|
|
9205
|
+
* Font color of the comparison text in the KPI widget.
|
|
9206
|
+
*/
|
|
9207
|
+
'--ts-var-kpi-comparison-color'?: string;
|
|
9208
|
+
/**
|
|
9209
|
+
* Font color of the analyze text in the KPI widget.
|
|
9210
|
+
*/
|
|
9211
|
+
'--ts-var-kpi-analyze-text-color'?: string;
|
|
9212
|
+
/**
|
|
9213
|
+
* Font color of the legend title in the heatmap chart.
|
|
9214
|
+
*/
|
|
9215
|
+
'--ts-var-chart-heatmap-legend-title-color'?: string;
|
|
9216
|
+
/**
|
|
9217
|
+
* Font color of the legend label in the heatmap chart.
|
|
9218
|
+
*/
|
|
9219
|
+
'--ts-var-chart-heatmap-legend-label-color'?: string;
|
|
9220
|
+
/**
|
|
9221
|
+
* Font color of the legend title in the treemap chart.
|
|
9222
|
+
*/
|
|
9223
|
+
'--ts-var-chart-treemap-legend-title-color'?: string;
|
|
9224
|
+
/**
|
|
9225
|
+
* Font color of the legend label in the treemap chart.
|
|
9226
|
+
*/
|
|
9227
|
+
'--ts-var-chart-treemap-legend-label-color'?: string;
|
|
9228
|
+
/**
|
|
9229
|
+
* Color of the positive change in the KPI.
|
|
9230
|
+
*/
|
|
9231
|
+
'--ts-var-kpi-positive-change-color'?: string;
|
|
9232
|
+
/**
|
|
9233
|
+
* Color of the negative change in the KPI.
|
|
9234
|
+
*/
|
|
9235
|
+
'--ts-var-kpi-negative-change-color'?: string;
|
|
9236
|
+
/**
|
|
9237
|
+
* Background color of the change analysis insights.
|
|
9238
|
+
*/
|
|
9239
|
+
'--ts-var-change-analysis-insights-background'?: string;
|
|
9240
|
+
/**
|
|
9241
|
+
* Background color of the forecasting card in the SpotIQ analyze.
|
|
9242
|
+
*/
|
|
9243
|
+
'--ts-var-spotiq-analyze-forecasting-card-background'?: string;
|
|
9244
|
+
/**
|
|
9245
|
+
* Background color of the outlier card in the SpotIQ analyze.
|
|
9246
|
+
*/
|
|
9247
|
+
'--ts-var-spotiq-analyze-outlier-card-background'?: string;
|
|
9248
|
+
/**
|
|
9249
|
+
* Background color of the trend card in the SpotIQ analyze.
|
|
9250
|
+
*/
|
|
9251
|
+
'--ts-var-spotiq-analyze-trend-card-background'?: string;
|
|
9252
|
+
/**
|
|
9253
|
+
* Background color of the crosscorrelation card in the SpotIQ analyze.
|
|
9254
|
+
*/
|
|
9255
|
+
'--ts-var-spotiq-analyze-crosscorrelation-card-background'?: string;
|
|
9256
|
+
/**
|
|
9257
|
+
* Background color of the summary header in the CCA modal.
|
|
9258
|
+
*/
|
|
9259
|
+
'--ts-var-cca-modal-summary-header-background'?: string;
|
|
8501
9260
|
}
|
|
8502
9261
|
|
|
8503
9262
|
export interface SessionInterface {
|
|
@@ -9069,16 +9828,31 @@ export declare const getAnswerFromQuery: (query: string, worksheetId: string) =>
|
|
|
9069
9828
|
}>;
|
|
9070
9829
|
|
|
9071
9830
|
/**
|
|
9072
|
-
*
|
|
9073
|
-
*
|
|
9074
|
-
*
|
|
9831
|
+
* Creates a new Liveboard in ThoughtSpot using the provided AnswerService instances.
|
|
9832
|
+
*
|
|
9833
|
+
* Each answer will be added as a visualization to the newly created Liveboard.
|
|
9834
|
+
*
|
|
9835
|
+
* @param {AnswerService[]} answers - An array of initialized `AnswerService` instances
|
|
9836
|
+
* representing the answers to be added to the Liveboard.
|
|
9837
|
+
* @param {string} name - The name of the Liveboard to create.
|
|
9075
9838
|
* @returns result Promise
|
|
9076
9839
|
* @version SDK: 1.33.1 | ThoughtSpot: *
|
|
9077
9840
|
* @example
|
|
9078
9841
|
* ```js
|
|
9079
|
-
*
|
|
9080
|
-
*
|
|
9081
|
-
*
|
|
9842
|
+
* import { EmbedEvent, AnswerService } from "@thoughtspot/visual-embed-sdk";
|
|
9843
|
+
*
|
|
9844
|
+
* embed.on(EmbedEvent.Data, async () => {
|
|
9845
|
+
* try {
|
|
9846
|
+
* const answerService = await embed.getAnswerService();
|
|
9847
|
+
* const lb = await createLiveboardWithAnswers(
|
|
9848
|
+
* [answerService],
|
|
9849
|
+
* "My Liveboard"
|
|
9850
|
+
* );
|
|
9851
|
+
* console.log("Liveboard created:", lb);
|
|
9852
|
+
* } catch (err) {
|
|
9853
|
+
* console.error("Failed to create liveboard:", err);
|
|
9854
|
+
* }
|
|
9855
|
+
* });
|
|
9082
9856
|
* ```
|
|
9083
9857
|
*/
|
|
9084
9858
|
export declare const createLiveboardWithAnswers: (answers: AnswerService[], name: string) => Promise<any>;
|