@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;
|
|
@@ -1253,7 +1255,12 @@ export declare enum HomePage {
|
|
|
1253
1255
|
* Modular (v2) introduces the updated Modular Home Experience.
|
|
1254
1256
|
* It serves as the foundational version of the home page.
|
|
1255
1257
|
*/
|
|
1256
|
-
Modular = "v2"
|
|
1258
|
+
Modular = "v2",
|
|
1259
|
+
/**
|
|
1260
|
+
* ModularWithStylingChanges (v3) introduces Modular Home Experience
|
|
1261
|
+
* with styling changes.
|
|
1262
|
+
*/
|
|
1263
|
+
ModularWithStylingChanges = "v3"
|
|
1257
1264
|
}
|
|
1258
1265
|
/**
|
|
1259
1266
|
* Define the version of the list page
|
|
@@ -2129,6 +2136,16 @@ export declare class LiveboardEmbed extends V1Embed {
|
|
|
2129
2136
|
* embedded Liveboard or visualization.
|
|
2130
2137
|
*/
|
|
2131
2138
|
protected getEmbedParams(): string;
|
|
2139
|
+
/**
|
|
2140
|
+
* @hidden
|
|
2141
|
+
* Internal state to track the current liveboard id.
|
|
2142
|
+
* This is used to navigate to the correct liveboard when the prerender is visible.
|
|
2143
|
+
*/
|
|
2144
|
+
currentLiveboardState: {
|
|
2145
|
+
liveboardId: string;
|
|
2146
|
+
vizId: string;
|
|
2147
|
+
activeTabId: string;
|
|
2148
|
+
};
|
|
2132
2149
|
protected beforePrerenderVisible(): void;
|
|
2133
2150
|
protected handleRenderForPrerender(): Promise<TsEmbed>;
|
|
2134
2151
|
/**
|
|
@@ -2186,6 +2203,8 @@ export interface SpotterAgentMessageViewConfig extends SpotterAgentEmbedViewConf
|
|
|
2186
2203
|
genNo: number;
|
|
2187
2204
|
acSessionId: string;
|
|
2188
2205
|
acGenNo: number;
|
|
2206
|
+
convId: string;
|
|
2207
|
+
messageId: string;
|
|
2189
2208
|
}
|
|
2190
2209
|
export declare class ConversationMessage extends TsEmbed {
|
|
2191
2210
|
protected viewConfig: SpotterAgentMessageViewConfig;
|
|
@@ -2233,6 +2252,8 @@ export declare class SpotterAgentEmbed {
|
|
|
2233
2252
|
data?: undefined;
|
|
2234
2253
|
} | {
|
|
2235
2254
|
data: {
|
|
2255
|
+
convId: any;
|
|
2256
|
+
messageId: any;
|
|
2236
2257
|
sessionId: any;
|
|
2237
2258
|
genNo: any;
|
|
2238
2259
|
acSessionId: any;
|
|
@@ -3272,12 +3293,15 @@ export interface HomePageConfig {
|
|
|
3272
3293
|
* Hide list page columns
|
|
3273
3294
|
* For example: hiddenListColumns = [ListPageColumns.Author]
|
|
3274
3295
|
*
|
|
3275
|
-
* **Note**: This option is available only in full app embedding.
|
|
3296
|
+
* **Note**: This option is currently available only in full app embedding and requires importing the ListPageColumns enum.
|
|
3297
|
+
* 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.
|
|
3276
3298
|
*
|
|
3277
3299
|
* Supported embed types: `AppEmbed`
|
|
3278
3300
|
* @version SDK: 1.38.0 | ThoughtSpot: 10.9.0.cl
|
|
3279
3301
|
* @example
|
|
3280
3302
|
* ```js
|
|
3303
|
+
* import { ListPageColumns } from '@thoughtspot/visual-embed-sdk';
|
|
3304
|
+
*
|
|
3281
3305
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
3282
3306
|
* ... //other embed view config
|
|
3283
3307
|
* hiddenListColumns : [ListPageColumns.Favorite,ListPageColumns.Author],
|
|
@@ -3292,11 +3316,14 @@ export interface HomePageConfig {
|
|
|
3292
3316
|
* **Note**: This option does not apply to the classic homepage.
|
|
3293
3317
|
* To access the updated modular homepage, set
|
|
3294
3318
|
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
3319
|
+
* To use it, you need to import `HomepageModule` enum.
|
|
3295
3320
|
*
|
|
3296
3321
|
* Supported embed types: `AppEmbed`
|
|
3297
3322
|
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl, 10.1.0.sw
|
|
3298
3323
|
* @example
|
|
3299
3324
|
* ```js
|
|
3325
|
+
* import { HomepageModule } from '@thoughtspot/visual-embed-sdk';
|
|
3326
|
+
*
|
|
3300
3327
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
3301
3328
|
* ... //other embed view config
|
|
3302
3329
|
* hiddenHomepageModules : [HomepageModule.Favorite,HomepageModule.Learning],
|
|
@@ -3311,11 +3338,14 @@ export interface HomePageConfig {
|
|
|
3311
3338
|
* **Note**: This option does not apply to the classic homepage.
|
|
3312
3339
|
* To access the updated modular homepage, set
|
|
3313
3340
|
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
3341
|
+
* To use it, you need to import `HomepageModule` enum.
|
|
3314
3342
|
*
|
|
3315
3343
|
* Supported embed types: `AppEmbed`
|
|
3316
3344
|
* @version SDK: 1.28.0| ThoughtSpot: 9.12.5.cl, 10.1.0.sw
|
|
3317
3345
|
* @example
|
|
3318
3346
|
* ```js
|
|
3347
|
+
* import { HomepageModule } from '@thoughtspot/visual-embed-sdk';
|
|
3348
|
+
*
|
|
3319
3349
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
3320
3350
|
* ... //other embed view config
|
|
3321
3351
|
* reorderedHomepageModules:[HomepageModule.Favorite,HomepageModule.MyLibrary],
|
|
@@ -3331,6 +3361,8 @@ export interface HomePageConfig {
|
|
|
3331
3361
|
* Supported embed types: `AppEmbed`
|
|
3332
3362
|
* @example
|
|
3333
3363
|
* ```js
|
|
3364
|
+
* import { HomeLeftNavItem } from '@thoughtspot/visual-embed-sdk';
|
|
3365
|
+
*
|
|
3334
3366
|
* const embed = new AppEmbed('#tsEmbed', {
|
|
3335
3367
|
* ... //other embed view config
|
|
3336
3368
|
* hiddenHomeLeftNavItems : [HomeLeftNavItem.Home,HomeLeftNavItem.Answers],
|
|
@@ -3340,6 +3372,7 @@ export interface HomePageConfig {
|
|
|
3340
3372
|
* **Note**: This option does not apply to the classic homepage.
|
|
3341
3373
|
* To access the updated modular homepage, set
|
|
3342
3374
|
* `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
|
|
3375
|
+
* To use it, you need to import `HomeLeftNavItem` enum.
|
|
3343
3376
|
* @version SDK: 1.28.0 | ThoughtSpot: 9.12.5.cl, 10.1.0.sw
|
|
3344
3377
|
*/
|
|
3345
3378
|
hiddenHomeLeftNavItems?: HomeLeftNavItem[];
|
|
@@ -3595,6 +3628,8 @@ export interface LiveboardAppEmbedViewConfig {
|
|
|
3595
3628
|
/**
|
|
3596
3629
|
* This flag is used to enable/disable hide irrelevant filters in Liveboard tab
|
|
3597
3630
|
*
|
|
3631
|
+
* **Note**: This feature is supported only if compact header is enabled on your Liveboard. To enable compact header, use the `isLiveboardCompactHeaderEnabled` attribute.
|
|
3632
|
+
*
|
|
3598
3633
|
* Supported embed types: `AppEmbed`, `LiveboardEmbed`
|
|
3599
3634
|
* @version SDK: 1.36.0 | ThoughtSpot:10.6.0.cl
|
|
3600
3635
|
* @default false
|
|
@@ -3604,6 +3639,7 @@ export interface LiveboardAppEmbedViewConfig {
|
|
|
3604
3639
|
* const embed = new <EmbedComponent>('#tsEmbed', {
|
|
3605
3640
|
* ... // other embed view config
|
|
3606
3641
|
* hideIrrelevantChipsInLiveboardTabs: true,
|
|
3642
|
+
* isLiveboardCompactHeaderEnabled: true,
|
|
3607
3643
|
* })
|
|
3608
3644
|
* ```
|
|
3609
3645
|
*/
|
|
@@ -3656,6 +3692,21 @@ export interface LiveboardAppEmbedViewConfig {
|
|
|
3656
3692
|
* ```
|
|
3657
3693
|
*/
|
|
3658
3694
|
coverAndFilterOptionInPDF?: boolean;
|
|
3695
|
+
/**
|
|
3696
|
+
* This flag is used to enable or disable the XLSX/CSV download option for Liveboards.
|
|
3697
|
+
*
|
|
3698
|
+
* Supported embed types: `AppEmbed`, `LiveboardEmbed`
|
|
3699
|
+
* @version SDK: 1.41.0 | ThoughtSpot: 10.14.0.cl
|
|
3700
|
+
* @example
|
|
3701
|
+
* ```js
|
|
3702
|
+
* // Replace <EmbedComponent> with embed component name. For example, AppEmbed or LiveboardEmbed
|
|
3703
|
+
* const embed = new <EmbedComponent>('#tsEmbed', {
|
|
3704
|
+
* ... // other embed view config
|
|
3705
|
+
* liveboardXLSXCSVDownload: true,
|
|
3706
|
+
* })
|
|
3707
|
+
* ```
|
|
3708
|
+
*/
|
|
3709
|
+
liveboardXLSXCSVDownload?: boolean;
|
|
3659
3710
|
}
|
|
3660
3711
|
export interface AllEmbedViewConfig extends BaseViewConfig, SearchLiveboardCommonViewConfig, HomePageConfig, LiveboardAppEmbedViewConfig {
|
|
3661
3712
|
}
|
|
@@ -4543,12 +4594,17 @@ export declare enum EmbedEvent {
|
|
|
4543
4594
|
* @hidden
|
|
4544
4595
|
*/
|
|
4545
4596
|
APP_INIT = "appInit",
|
|
4597
|
+
/**
|
|
4598
|
+
* Internal event to clear the cached info
|
|
4599
|
+
* @hidden
|
|
4600
|
+
*/
|
|
4601
|
+
CLEAR_INFO_CACHE = "clearInfoCache",
|
|
4546
4602
|
/**
|
|
4547
4603
|
* Emitted when a user clicks **Show Liveboard details** on a Liveboard
|
|
4548
4604
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
4549
4605
|
* @example
|
|
4550
4606
|
*```js
|
|
4551
|
-
* liveboardEmbed.on(EmbedEvent.
|
|
4607
|
+
* liveboardEmbed.on(EmbedEvent.LiveboardInfo, payload => {
|
|
4552
4608
|
* console.log('Liveboard details', payload);
|
|
4553
4609
|
* })
|
|
4554
4610
|
*```
|
|
@@ -4921,7 +4977,107 @@ export declare enum EmbedEvent {
|
|
|
4921
4977
|
* @version SDK : 1.39.0 | ThoughtSpot : 10.10.0.cl
|
|
4922
4978
|
* @hidden
|
|
4923
4979
|
*/
|
|
4924
|
-
RequestVisibleEmbedCoordinates = "requestVisibleEmbedCoordinates"
|
|
4980
|
+
RequestVisibleEmbedCoordinates = "requestVisibleEmbedCoordinates",
|
|
4981
|
+
/**
|
|
4982
|
+
* Emitted when Spotter response is text data
|
|
4983
|
+
* @example
|
|
4984
|
+
* ```js
|
|
4985
|
+
* spotterEmbed.on(EmbedEvent.SpotterData, (payload) => {
|
|
4986
|
+
* console.log('payload', payload);
|
|
4987
|
+
* })
|
|
4988
|
+
*```
|
|
4989
|
+
* @version SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
|
|
4990
|
+
*/
|
|
4991
|
+
SpotterData = "SpotterData",
|
|
4992
|
+
/**
|
|
4993
|
+
* Emitted when user opens up the worksheet preview modal in Spotter embed.
|
|
4994
|
+
* @example
|
|
4995
|
+
* ```js
|
|
4996
|
+
* spotterEmbed.on(EmbedEvent.PreviewSpotterData, (payload) => {
|
|
4997
|
+
* console.log('payload', payload);
|
|
4998
|
+
* })
|
|
4999
|
+
*```
|
|
5000
|
+
* @version SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
|
|
5001
|
+
*/
|
|
5002
|
+
PreviewSpotterData = "PreviewSpotterData",
|
|
5003
|
+
/**
|
|
5004
|
+
* Emitted when the Spotter query is triggered in Spotter embed.
|
|
5005
|
+
* @example
|
|
5006
|
+
* ```js
|
|
5007
|
+
* spotterEmbed.on(EmbedEvent.SpotterQueryTriggered, (payload) => {
|
|
5008
|
+
* console.log('payload', payload);
|
|
5009
|
+
* })
|
|
5010
|
+
*```
|
|
5011
|
+
* @version SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
|
|
5012
|
+
*/
|
|
5013
|
+
SpotterQueryTriggered = "SpotterQueryTriggered",
|
|
5014
|
+
/**
|
|
5015
|
+
* Emitted when the last Spotter query is edited in Spotter embed.
|
|
5016
|
+
* @example
|
|
5017
|
+
* ```js
|
|
5018
|
+
* spotterEmbed.on(EmbedEvent.LastPromptEdited, (payload) => {
|
|
5019
|
+
* console.log('payload', payload);
|
|
5020
|
+
* })
|
|
5021
|
+
*```
|
|
5022
|
+
* @version SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
|
|
5023
|
+
*/
|
|
5024
|
+
LastPromptEdited = "LastPromptEdited",
|
|
5025
|
+
/**
|
|
5026
|
+
* Emitted when the last Spotter query is deleted in Spotter embed.
|
|
5027
|
+
* @example
|
|
5028
|
+
* ```js
|
|
5029
|
+
* spotterEmbed.on(EmbedEvent.LastPromptDeleted, (payload) => {
|
|
5030
|
+
* console.log('payload', payload);
|
|
5031
|
+
* })
|
|
5032
|
+
*```
|
|
5033
|
+
* @version SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
|
|
5034
|
+
*/
|
|
5035
|
+
LastPromptDeleted = "LastPromptDeleted",
|
|
5036
|
+
/**
|
|
5037
|
+
* Emitted when the coversation is reset in spotter embed.
|
|
5038
|
+
* @example
|
|
5039
|
+
* ```js
|
|
5040
|
+
* spotterEmbed.on(EmbedEvent.ResetSpotterConversation, (payload) => {
|
|
5041
|
+
* console.log('payload', payload);
|
|
5042
|
+
* })
|
|
5043
|
+
*```
|
|
5044
|
+
* @version SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
|
|
5045
|
+
*/
|
|
5046
|
+
ResetSpotterConversation = "ResetSpotterConversation",
|
|
5047
|
+
/**
|
|
5048
|
+
* Emitted when the *Spotter* is initialized.
|
|
5049
|
+
* @example
|
|
5050
|
+
* ```js
|
|
5051
|
+
* spotterEmbed.on(EmbedEvent.SpotterInit, (payload) => {
|
|
5052
|
+
* console.log('payload', payload);
|
|
5053
|
+
* })
|
|
5054
|
+
*```
|
|
5055
|
+
* @version SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl
|
|
5056
|
+
*/
|
|
5057
|
+
SpotterInit = "spotterInit",
|
|
5058
|
+
/**
|
|
5059
|
+
* @hidden
|
|
5060
|
+
* Triggers when the embed listener is ready to receive events.
|
|
5061
|
+
* This is used to trigger events after the embed container is loaded.
|
|
5062
|
+
* @example
|
|
5063
|
+
* ```js
|
|
5064
|
+
* liveboardEmbed.on(EmbedEvent.EmbedListenerReady, () => {
|
|
5065
|
+
* console.log('EmbedListenerReady');
|
|
5066
|
+
* })
|
|
5067
|
+
* ```
|
|
5068
|
+
*/
|
|
5069
|
+
EmbedListenerReady = "EmbedListenerReady",
|
|
5070
|
+
/**
|
|
5071
|
+
* Emitted when the organization is switched.
|
|
5072
|
+
* @example
|
|
5073
|
+
* ```js
|
|
5074
|
+
* appEmbed.on(EmbedEvent.OrgSwitched, (payload) => {
|
|
5075
|
+
* console.log('payload', payload);
|
|
5076
|
+
* })
|
|
5077
|
+
* ```
|
|
5078
|
+
* @version SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl
|
|
5079
|
+
*/
|
|
5080
|
+
OrgSwitched = "orgSwitched"
|
|
4925
5081
|
}
|
|
4926
5082
|
/**
|
|
4927
5083
|
* Event types that can be triggered by the host application
|
|
@@ -4939,7 +5095,7 @@ export declare enum EmbedEvent {
|
|
|
4939
5095
|
* // create the liveboard embed.
|
|
4940
5096
|
*
|
|
4941
5097
|
* liveboardEmbed.trigger(HostEvent.UpdateRuntimeFilters, [
|
|
4942
|
-
* { columnName: 'state, operator: RuntimeFilterOp.EQ, values: [
|
|
5098
|
+
* { columnName: 'state', operator: RuntimeFilterOp.EQ, values: ["california"]}
|
|
4943
5099
|
* ]);
|
|
4944
5100
|
* ```
|
|
4945
5101
|
* @example
|
|
@@ -5009,6 +5165,7 @@ export declare enum HostEvent {
|
|
|
5009
5165
|
* done automatically on the most popular column.
|
|
5010
5166
|
* @param - vizId [TS >= 9.8.0] - Optional. The GUID of the visualization to drill
|
|
5011
5167
|
* in case of a Liveboard.
|
|
5168
|
+
* @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
|
|
5012
5169
|
* @example
|
|
5013
5170
|
* ```js
|
|
5014
5171
|
* searchEmbed.on(EmbedEvent.VizPointDoubleClick, (payload) => {
|
|
@@ -5147,12 +5304,12 @@ export declare enum HostEvent {
|
|
|
5147
5304
|
* Works with Search and Liveboard embed.
|
|
5148
5305
|
* @param - { columnId: string,
|
|
5149
5306
|
* name: string,
|
|
5150
|
-
* type:
|
|
5151
|
-
* dataType:
|
|
5307
|
+
* type: ATTRIBUTE/MEASURE,
|
|
5308
|
+
* dataType: INT64/CHAR/DATE }
|
|
5152
5309
|
* @example
|
|
5153
5310
|
* ```js
|
|
5154
5311
|
* searchEmbed.trigger(HostEvent.OpenFilter,
|
|
5155
|
-
* {column: { columnId: '<column-GUID>', name: 'column name', type: '
|
|
5312
|
+
* {column: { columnId: '<column-GUID>', name: 'column name', type: 'ATTRIBUTE', dataType: 'INT64'}})
|
|
5156
5313
|
* ```
|
|
5157
5314
|
* @example
|
|
5158
5315
|
* ```js
|
|
@@ -5210,6 +5367,7 @@ export declare enum HostEvent {
|
|
|
5210
5367
|
* @param
|
|
5211
5368
|
* `vizId`- GUID of the saved Answer or visualization to pin to a Liveboard.
|
|
5212
5369
|
* Optional when pinning a new chart or table generated from a Search query.
|
|
5370
|
+
* **Required** in Spotter Embed.
|
|
5213
5371
|
* @param
|
|
5214
5372
|
* `liveboardID` - GUID of the Liveboard to pin an Answer. If there is no Liveboard,
|
|
5215
5373
|
* specify the `newLiveboardName` parameter to create a new Liveboard.
|
|
@@ -5257,6 +5415,12 @@ export declare enum HostEvent {
|
|
|
5257
5415
|
* ```js
|
|
5258
5416
|
* appEmbed.trigger(HostEvent.Pin)
|
|
5259
5417
|
* ```
|
|
5418
|
+
* @example
|
|
5419
|
+
* ```js
|
|
5420
|
+
* const pinResponse = await spotterEmbed.trigger(HostEvent.Pin, {
|
|
5421
|
+
* vizId:'730496d6-6903-4601-937e-2c691821af3c'
|
|
5422
|
+
* });
|
|
5423
|
+
* ```
|
|
5260
5424
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
5261
5425
|
*/
|
|
5262
5426
|
Pin = "pin",
|
|
@@ -5321,12 +5485,21 @@ export declare enum HostEvent {
|
|
|
5321
5485
|
* Trigger the **Download PDF** action on an embedded Liveboard,
|
|
5322
5486
|
* visualization or Answer.
|
|
5323
5487
|
*
|
|
5488
|
+
* @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
|
|
5489
|
+
*
|
|
5324
5490
|
* **NOTE**: The **Download** > **PDF** action is available on
|
|
5325
5491
|
* visualizations and Answers if the data is in tabular format.
|
|
5326
5492
|
* @example
|
|
5327
5493
|
* ```js
|
|
5328
5494
|
* liveboardEmbed.trigger(HostEvent.DownloadAsPdf)
|
|
5329
5495
|
* ```
|
|
5496
|
+
* @example
|
|
5497
|
+
* ```js
|
|
5498
|
+
* spotterEmbed.trigger(HostEvent.DownloadAsPdf, {
|
|
5499
|
+
* vizId:'730496d6-6903-4601-937e-2c691821af3c'
|
|
5500
|
+
* });
|
|
5501
|
+
* ```
|
|
5502
|
+
*
|
|
5330
5503
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
5331
5504
|
*/
|
|
5332
5505
|
DownloadAsPdf = "downloadAsPdf",
|
|
@@ -5350,6 +5523,12 @@ export declare enum HostEvent {
|
|
|
5350
5523
|
* ```js
|
|
5351
5524
|
* searchEmbed.trigger(HostEvent.MakeACopy)
|
|
5352
5525
|
* ```
|
|
5526
|
+
* @example
|
|
5527
|
+
* ```js
|
|
5528
|
+
* const pinResponse = await spotterEmbed.trigger(HostEvent.MakeACopy, {
|
|
5529
|
+
* vizId:'730496d6-6903-4601-937e-2c691821af3c'
|
|
5530
|
+
* });
|
|
5531
|
+
* ```
|
|
5353
5532
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
5354
5533
|
*/
|
|
5355
5534
|
MakeACopy = "makeACopy",
|
|
@@ -5422,6 +5601,8 @@ export declare enum HostEvent {
|
|
|
5422
5601
|
* This event is not supported in visualization embed and search embed.
|
|
5423
5602
|
* @param - object - To trigger the action for a specific visualization
|
|
5424
5603
|
* in Liveboard embed, pass in `vizId` as a key.
|
|
5604
|
+
* @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
|
|
5605
|
+
*
|
|
5425
5606
|
* @example
|
|
5426
5607
|
* ```js
|
|
5427
5608
|
* liveboardEmbed.trigger(HostEvent.Edit)
|
|
@@ -5430,6 +5611,18 @@ export declare enum HostEvent {
|
|
|
5430
5611
|
* liveboardEmbed.trigger(HostEvent.Edit, {vizId:
|
|
5431
5612
|
* '730496d6-6903-4601-937e-2c691821af3c'})
|
|
5432
5613
|
* ```
|
|
5614
|
+
* @example
|
|
5615
|
+
* ```js
|
|
5616
|
+
* const pinResponse = await spotterEmbed.trigger(HostEvent.Edit, {
|
|
5617
|
+
* vizId:'730496d6-6903-4601-937e-2c691821af3c'
|
|
5618
|
+
* });
|
|
5619
|
+
* ```
|
|
5620
|
+
* @example
|
|
5621
|
+
* ```js
|
|
5622
|
+
* const editResponse = await spotterEmbed.trigger(HostEvent.Edit, {
|
|
5623
|
+
* vizId:'730496d6-6903-4601-937e-2c691821af3c'
|
|
5624
|
+
* });
|
|
5625
|
+
* ```
|
|
5433
5626
|
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
|
|
5434
5627
|
*/
|
|
5435
5628
|
Edit = "edit",
|
|
@@ -5477,6 +5670,16 @@ export declare enum HostEvent {
|
|
|
5477
5670
|
* );
|
|
5478
5671
|
* })
|
|
5479
5672
|
* ```
|
|
5673
|
+
* @example
|
|
5674
|
+
* ```js
|
|
5675
|
+
* spotterEmbed.trigger(HostEvent.GetTML, {
|
|
5676
|
+
* vizId: '730496d6-6903-4601-937e-2c691821af3c'
|
|
5677
|
+
* }).then((tml) => {
|
|
5678
|
+
* console.log(
|
|
5679
|
+
* tml.answer.search_query // TML representation of the search query
|
|
5680
|
+
* );
|
|
5681
|
+
* })
|
|
5682
|
+
* ```
|
|
5480
5683
|
* @version SDK: 1.18.0 | ThoughtSpot: 8.10.0.cl, 9.0.1.sw
|
|
5481
5684
|
* @important
|
|
5482
5685
|
*/
|
|
@@ -5540,6 +5743,7 @@ export declare enum HostEvent {
|
|
|
5540
5743
|
/**
|
|
5541
5744
|
* Trigger the **Download** action on charts in
|
|
5542
5745
|
* the embedded view.
|
|
5746
|
+
* @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
|
|
5543
5747
|
* @example
|
|
5544
5748
|
* ```js
|
|
5545
5749
|
* liveboardEmbed.trigger(HostEvent.Download, {vizId:
|
|
@@ -5548,6 +5752,11 @@ export declare enum HostEvent {
|
|
|
5548
5752
|
* ```js
|
|
5549
5753
|
* embed.trigger(HostEvent.Download)
|
|
5550
5754
|
* ```
|
|
5755
|
+
* ```js
|
|
5756
|
+
* spotterEmbed.trigger(HostEvent.Download, {
|
|
5757
|
+
* vizId:'730496d6-6903-4601-937e-2c691821af3c'
|
|
5758
|
+
* });
|
|
5759
|
+
* ```
|
|
5551
5760
|
* @deprecated from SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl ,9.4.1.sw
|
|
5552
5761
|
* Use {@link DownloadAsPng}
|
|
5553
5762
|
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
|
|
@@ -5564,13 +5773,19 @@ export declare enum HostEvent {
|
|
|
5564
5773
|
* vizEmbed.trigger(HostEvent.DownloadAsPng)
|
|
5565
5774
|
*
|
|
5566
5775
|
* searchEmbed.trigger(HostEvent.DownloadAsPng)
|
|
5776
|
+
*
|
|
5777
|
+
* spotterEmbed.trigger(HostEvent.DownloadAsPng, {
|
|
5778
|
+
* vizId:"730496d6-6903-4601-937e-2c691821af3c"
|
|
5779
|
+
* })
|
|
5567
5780
|
* ```
|
|
5781
|
+
*
|
|
5568
5782
|
* @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.4.1.sw
|
|
5569
5783
|
*/
|
|
5570
5784
|
DownloadAsPng = "downloadAsPng",
|
|
5571
5785
|
/**
|
|
5572
5786
|
* Trigger the **Download** > **CSV** action on tables in
|
|
5573
5787
|
* the embedded view.
|
|
5788
|
+
* @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
|
|
5574
5789
|
* @example
|
|
5575
5790
|
* ```js
|
|
5576
5791
|
* liveboardEmbed.trigger(HostEvent.DownloadAsCsv, {vizId:
|
|
@@ -5582,12 +5797,18 @@ export declare enum HostEvent {
|
|
|
5582
5797
|
* ```js
|
|
5583
5798
|
* searchEmbed.trigger(HostEvent.DownloadAsCsv)
|
|
5584
5799
|
* ```
|
|
5800
|
+
* ```js
|
|
5801
|
+
* spotterEmbed.trigger(HostEvent.DownloadAsCsv, {
|
|
5802
|
+
* vizId:"730496d6-6903-4601-937e-2c691821af3c"
|
|
5803
|
+
* })
|
|
5804
|
+
* ```
|
|
5585
5805
|
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
|
|
5586
5806
|
*/
|
|
5587
5807
|
DownloadAsCsv = "downloadAsCSV",
|
|
5588
5808
|
/**
|
|
5589
5809
|
* Trigger the **Download** > **XLSX** action on tables
|
|
5590
5810
|
* in the embedded view.
|
|
5811
|
+
* @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
|
|
5591
5812
|
* @example
|
|
5592
5813
|
* ```js
|
|
5593
5814
|
* liveboardEmbed.trigger(HostEvent.DownloadAsXlsx, {vizId:
|
|
@@ -5599,6 +5820,11 @@ export declare enum HostEvent {
|
|
|
5599
5820
|
* ```js
|
|
5600
5821
|
* searchEmbed.trigger(HostEvent.DownloadAsXlsx)
|
|
5601
5822
|
* ```
|
|
5823
|
+
* ```js
|
|
5824
|
+
* spotterEmbed.trigger(HostEvent.downloadAsXLSX, {
|
|
5825
|
+
* vizId:"730496d6-6903-4601-937e-2c691821af3c"
|
|
5826
|
+
* })
|
|
5827
|
+
* ```
|
|
5602
5828
|
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
|
|
5603
5829
|
*/
|
|
5604
5830
|
DownloadAsXlsx = "downloadAsXLSX",
|
|
@@ -5618,6 +5844,7 @@ export declare enum HostEvent {
|
|
|
5618
5844
|
/**
|
|
5619
5845
|
* Trigger the **Save** action on a Liveboard or Answer.
|
|
5620
5846
|
* Saves the changes.
|
|
5847
|
+
* @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
|
|
5621
5848
|
* @example
|
|
5622
5849
|
* ```js
|
|
5623
5850
|
* liveboardEmbed.trigger(HostEvent.Save)
|
|
@@ -5625,6 +5852,11 @@ export declare enum HostEvent {
|
|
|
5625
5852
|
* ```js
|
|
5626
5853
|
* searchEmbed.trigger(HostEvent.Save)
|
|
5627
5854
|
* ```
|
|
5855
|
+
* ```js
|
|
5856
|
+
* spotterEmbed.trigger(HostEvent.Save, {
|
|
5857
|
+
* vizId:"730496d6-6903-4601-937e-2c691821af3c"
|
|
5858
|
+
* })
|
|
5859
|
+
* ```
|
|
5628
5860
|
* @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
|
|
5629
5861
|
*/
|
|
5630
5862
|
Save = "save",
|
|
@@ -5908,7 +6140,7 @@ export declare enum HostEvent {
|
|
|
5908
6140
|
ResetLiveboardPersonalisedView = "ResetLiveboardPersonalisedView",
|
|
5909
6141
|
/**
|
|
5910
6142
|
* Triggers an action to update Parameter values on embedded
|
|
5911
|
-
* Answers and
|
|
6143
|
+
* Answers, Liveboard and Spotter answer in Edit mode.
|
|
5912
6144
|
*
|
|
5913
6145
|
* @example
|
|
5914
6146
|
* ```js
|
|
@@ -5922,11 +6154,19 @@ export declare enum HostEvent {
|
|
|
5922
6154
|
UpdateParameters = "UpdateParameters",
|
|
5923
6155
|
/**
|
|
5924
6156
|
* Triggers GetParameters to fetch the runtime Parameters.
|
|
6157
|
+
* @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
|
|
5925
6158
|
* ```js
|
|
5926
6159
|
* liveboardEmbed.trigger(HostEvent.GetParameters).then((parameter) => {
|
|
5927
6160
|
* console.log('parameters', parameter);
|
|
5928
6161
|
* });
|
|
5929
6162
|
*```
|
|
6163
|
+
*```js
|
|
6164
|
+
* spotterEmbed.trigger(HostEvent.GetParameters, {
|
|
6165
|
+
* vizId: '730496d6-6903-4601-937e-2c691821af3c'
|
|
6166
|
+
* }).then((parameter) => {
|
|
6167
|
+
* console.log('parameters', parameter);
|
|
6168
|
+
* });
|
|
6169
|
+
*```
|
|
5930
6170
|
* @version SDK: 1.29.0 | ThoughtSpot: 10.1.0.cl, 10.1.0.sw
|
|
5931
6171
|
*/
|
|
5932
6172
|
GetParameters = "GetParameters",
|
|
@@ -5958,7 +6198,7 @@ export declare enum HostEvent {
|
|
|
5958
6198
|
* @param - optional attributes to set Answer properties.
|
|
5959
6199
|
* `name` - Name string for the Answer.
|
|
5960
6200
|
* `description` - Description text for the Answer.
|
|
5961
|
-
*
|
|
6201
|
+
* @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
|
|
5962
6202
|
* @example
|
|
5963
6203
|
* ```js
|
|
5964
6204
|
* const saveAnswerResponse = await searchEmbed.trigger(HostEvent.SaveAnswer, {
|
|
@@ -5966,6 +6206,14 @@ export declare enum HostEvent {
|
|
|
5966
6206
|
* description: "Total sales by states in MidWest"
|
|
5967
6207
|
* });
|
|
5968
6208
|
* ```
|
|
6209
|
+
* @example
|
|
6210
|
+
* ```js
|
|
6211
|
+
* const saveAnswerResponse = await spotterEmbed.trigger(HostEvent.SaveAnswer, {
|
|
6212
|
+
* vizId: '730496d6-6903-4601-937e-2c691821af3c',
|
|
6213
|
+
* name: "Sales by states",
|
|
6214
|
+
* description: "Total sales by states in MidWest"
|
|
6215
|
+
* });
|
|
6216
|
+
* ```
|
|
5969
6217
|
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
|
|
5970
6218
|
*/
|
|
5971
6219
|
SaveAnswer = "saveAnswer",
|
|
@@ -5994,6 +6242,70 @@ export declare enum HostEvent {
|
|
|
5994
6242
|
* @version SDK: 1.37.0 | ThoughtSpot: 10.8.0.cl
|
|
5995
6243
|
*/
|
|
5996
6244
|
TransformTableVizData = "TransformTableVizData",
|
|
6245
|
+
/**
|
|
6246
|
+
* Triggers a search operation with the search tokens specified in
|
|
6247
|
+
* the search query string in spotter embed.
|
|
6248
|
+
* @param - `query`: Text string in Natural Language format
|
|
6249
|
+
* @param - `executeSearch`: Boolean to execute search and update search query
|
|
6250
|
+
* @example
|
|
6251
|
+
* ```js
|
|
6252
|
+
* spotterEmbed.trigger(HostEvent.SpotterSearch, {
|
|
6253
|
+
* query: 'revenue per year',
|
|
6254
|
+
* executeSearch: true,
|
|
6255
|
+
* })
|
|
6256
|
+
* ```
|
|
6257
|
+
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
6258
|
+
*/
|
|
6259
|
+
SpotterSearch = "SpotterSearch",
|
|
6260
|
+
/**
|
|
6261
|
+
* Edits the last prompt in spotter embed.
|
|
6262
|
+
* @param - `query`: Text string
|
|
6263
|
+
* @example
|
|
6264
|
+
* ```js
|
|
6265
|
+
* spotterEmbed.trigger(HostEvent.EditLastPrompt, "revenue per year");
|
|
6266
|
+
* ```
|
|
6267
|
+
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
6268
|
+
*/
|
|
6269
|
+
EditLastPrompt = "EditLastPrompt",
|
|
6270
|
+
/**
|
|
6271
|
+
* Opens the Worksheet preview modal in Spotter Embed.
|
|
6272
|
+
* @example
|
|
6273
|
+
* ```js
|
|
6274
|
+
* spotterEmbed.trigger(HostEvent.PreviewSpotterData);
|
|
6275
|
+
* ```
|
|
6276
|
+
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
6277
|
+
*/
|
|
6278
|
+
PreviewSpotterData = "PreviewSpotterData",
|
|
6279
|
+
/**
|
|
6280
|
+
* Resets the Spotter Embed Conversation.
|
|
6281
|
+
* @example
|
|
6282
|
+
* ```js
|
|
6283
|
+
* spotterEmbed.trigger(HostEvent.ResetSpotterConversation);
|
|
6284
|
+
* ```
|
|
6285
|
+
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
6286
|
+
*/
|
|
6287
|
+
ResetSpotterConversation = "ResetSpotterConversation",
|
|
6288
|
+
/**
|
|
6289
|
+
* Deletes the last prompt in spotter embed.
|
|
6290
|
+
* @example
|
|
6291
|
+
* ```js
|
|
6292
|
+
* spotterEmbed.trigger(HostEvent.DeleteLastPrompt);
|
|
6293
|
+
* ```
|
|
6294
|
+
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
6295
|
+
*/
|
|
6296
|
+
DeleteLastPrompt = "DeleteLastPrompt",
|
|
6297
|
+
/**
|
|
6298
|
+
* Toggle the visualization to chart or table view.
|
|
6299
|
+
* @param - `vizId ` refers to the answer id in spotter Embed, it is required in spotter Embed.
|
|
6300
|
+
* @example
|
|
6301
|
+
* ```js
|
|
6302
|
+
* spotterEmbed.trigger(HostEvent.AnswerChartSwitcher, {
|
|
6303
|
+
* vizId:'b535c760-8bbe-4e6f-bb26-af56b4129a1e'
|
|
6304
|
+
* });
|
|
6305
|
+
*```
|
|
6306
|
+
* @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
|
|
6307
|
+
*/
|
|
6308
|
+
AnswerChartSwitcher = "answerChartSwitcher",
|
|
5997
6309
|
/**
|
|
5998
6310
|
* @hidden
|
|
5999
6311
|
* Trigger exit from presentation mode when user exits fullscreen.
|
|
@@ -6016,7 +6328,18 @@ export declare enum HostEvent {
|
|
|
6016
6328
|
*
|
|
6017
6329
|
* @hidden
|
|
6018
6330
|
*/
|
|
6019
|
-
VisibleEmbedCoordinates = "visibleEmbedCoordinates"
|
|
6331
|
+
VisibleEmbedCoordinates = "visibleEmbedCoordinates",
|
|
6332
|
+
/**
|
|
6333
|
+
* Trigger the *Ask Spotter* action for visualizations
|
|
6334
|
+
* @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
|
|
6335
|
+
* @example
|
|
6336
|
+
* ```js
|
|
6337
|
+
* spotterEmbed.trigger(HostEvent.AskSpotter,
|
|
6338
|
+
* {vizId:'730496d6-6903-4601-937e-2c691821af3c'})
|
|
6339
|
+
* ```
|
|
6340
|
+
* @version SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl
|
|
6341
|
+
*/
|
|
6342
|
+
AskSpotter = "AskSpotter"
|
|
6020
6343
|
}
|
|
6021
6344
|
/**
|
|
6022
6345
|
* The different visual modes that the data sources panel within
|
|
@@ -6112,6 +6435,7 @@ export declare enum Param {
|
|
|
6112
6435
|
Query = "query",
|
|
6113
6436
|
HideHomepageLeftNav = "hideHomepageLeftNav",
|
|
6114
6437
|
ModularHomeExperienceEnabled = "modularHomeExperience",
|
|
6438
|
+
HomepageVersion = "homepageVersion",
|
|
6115
6439
|
ListPageVersion = "listpageVersion",
|
|
6116
6440
|
PendoTrackingKey = "additionalPendoKey",
|
|
6117
6441
|
LiveboardHeaderSticky = "isLiveboardHeaderSticky",
|
|
@@ -6152,7 +6476,8 @@ export declare enum Param {
|
|
|
6152
6476
|
isSpotterAgentEmbed = "isSpotterAgentEmbed",
|
|
6153
6477
|
IsLiveboardStylingAndGroupingEnabled = "isLiveboardStylingAndGroupingEnabled",
|
|
6154
6478
|
IsLazyLoadingForEmbedEnabled = "isLazyLoadingForEmbedEnabled",
|
|
6155
|
-
RootMarginForLazyLoad = "rootMarginForLazyLoad"
|
|
6479
|
+
RootMarginForLazyLoad = "rootMarginForLazyLoad",
|
|
6480
|
+
LiveboardXLSXCSVDownload = "isLiveboardXLSXCSVDownloadEnabled"
|
|
6156
6481
|
}
|
|
6157
6482
|
/**
|
|
6158
6483
|
* ThoughtSpot application pages include actions and menu commands
|
|
@@ -6304,27 +6629,27 @@ export declare enum Action {
|
|
|
6304
6629
|
*/
|
|
6305
6630
|
ConfigureFilter = "configureFilter",
|
|
6306
6631
|
/**
|
|
6307
|
-
|
|
6308
|
-
|
|
6309
|
-
|
|
6310
|
-
|
|
6311
|
-
|
|
6312
|
-
|
|
6313
|
-
|
|
6314
|
-
|
|
6315
|
-
|
|
6632
|
+
* The **Collapse data sources** icon on the Search page.
|
|
6633
|
+
* Collapses the panel showing data sources.
|
|
6634
|
+
*
|
|
6635
|
+
* @example
|
|
6636
|
+
* ```js
|
|
6637
|
+
* disabledActions: [Action.CollapseDataPanel]
|
|
6638
|
+
* ```
|
|
6639
|
+
* @version: SDK: 1.1.0 | ThoughtSpot Cloud: ts7.may.cl, 8.4.1.sw
|
|
6640
|
+
*/
|
|
6316
6641
|
CollapseDataSources = "collapseDataSources",
|
|
6317
6642
|
/**
|
|
6318
|
-
|
|
6319
|
-
|
|
6320
|
-
|
|
6321
|
-
|
|
6322
|
-
|
|
6323
|
-
|
|
6324
|
-
|
|
6325
|
-
|
|
6326
|
-
|
|
6327
|
-
|
|
6643
|
+
* The **Collapse data panel** icon on the Search page.
|
|
6644
|
+
* Collapses the data panel view.
|
|
6645
|
+
*
|
|
6646
|
+
* @version: SDK: 1.34.0 | ThoughtSpot Cloud: 10.3.0.cl
|
|
6647
|
+
*
|
|
6648
|
+
* @example
|
|
6649
|
+
* ```js
|
|
6650
|
+
* disabledActions: [Action.CollapseDataPanel]
|
|
6651
|
+
* ```
|
|
6652
|
+
*/
|
|
6328
6653
|
CollapseDataPanel = "collapseDataPanel",
|
|
6329
6654
|
/**
|
|
6330
6655
|
* The **Choose sources** button on Search page.
|
|
@@ -7020,6 +7345,17 @@ export declare enum Action {
|
|
|
7020
7345
|
* @version SDK: 1.25.0 | ThoughtSpot Cloud: 9.6.0.cl
|
|
7021
7346
|
*/
|
|
7022
7347
|
EnableContextualChangeAnalysis = "enableContextualChangeAnalysis",
|
|
7348
|
+
/**
|
|
7349
|
+
* Action ID to hide or disable Iterative Change Analysis option
|
|
7350
|
+
* on contextual change analysis Inisght charts context menu
|
|
7351
|
+
*
|
|
7352
|
+
* @example
|
|
7353
|
+
* ```js
|
|
7354
|
+
* disabledActions: [Action.EnableIterativeChangeAnalysis]
|
|
7355
|
+
* ```
|
|
7356
|
+
* @version SDK: 1.41.0 | ThoughtSpot Cloud: 9.12.0.cl
|
|
7357
|
+
*/
|
|
7358
|
+
EnableIterativeChangeAnalysis = "enableIterativeChangeAnalysis",
|
|
7023
7359
|
/**
|
|
7024
7360
|
* Action ID to hide or disable Natural Language Search query.
|
|
7025
7361
|
*
|
|
@@ -7388,7 +7724,40 @@ export declare enum Action {
|
|
|
7388
7724
|
* ```
|
|
7389
7725
|
* @version SDK: 1.39.0 | ThoughtSpot Cloud: 10.10.0.cl
|
|
7390
7726
|
*/
|
|
7391
|
-
InConversationTraining = "InConversationTraining"
|
|
7727
|
+
InConversationTraining = "InConversationTraining",
|
|
7728
|
+
/**
|
|
7729
|
+
* Action ID to hide the warnings banner in
|
|
7730
|
+
* Spotter results. It's an EA feature and
|
|
7731
|
+
* handled by LD.
|
|
7732
|
+
* @example
|
|
7733
|
+
* ```js
|
|
7734
|
+
* hiddenAction: [Action.SpotterWarningsBanner]
|
|
7735
|
+
* ```
|
|
7736
|
+
* @version SDK: 1.41.0 | ThoughtSpot Cloud: 10.13.0.cl
|
|
7737
|
+
*/
|
|
7738
|
+
SpotterWarningsBanner = "SpotterWarningsBanner",
|
|
7739
|
+
/**
|
|
7740
|
+
* Action ID to hide the warnings border on the knowledge
|
|
7741
|
+
* card in Spotter results. It's an EA feature and
|
|
7742
|
+
* handled by LD.
|
|
7743
|
+
* @example
|
|
7744
|
+
* ```js
|
|
7745
|
+
* hiddenAction: [Action.SpotterWarningsOnTokens]
|
|
7746
|
+
* ```
|
|
7747
|
+
* @version SDK: 1.41.0 | ThoughtSpot Cloud: 10.13.0.cl
|
|
7748
|
+
*/
|
|
7749
|
+
SpotterWarningsOnTokens = "SpotterWarningsOnTokens",
|
|
7750
|
+
/**
|
|
7751
|
+
* Action ID to disable the click event handler on knowledge
|
|
7752
|
+
* card in Spotter results. It's an EA feature and
|
|
7753
|
+
* handled by LD.
|
|
7754
|
+
* @example
|
|
7755
|
+
* ```js
|
|
7756
|
+
* hiddenAction: [Action.SpotterTokenQuickEdit]
|
|
7757
|
+
* ```
|
|
7758
|
+
* @version SDK: 1.41.0 | ThoughtSpot Cloud: 10.13.0.cl
|
|
7759
|
+
*/
|
|
7760
|
+
SpotterTokenQuickEdit = "SpotterTokenQuickEdit"
|
|
7392
7761
|
}
|
|
7393
7762
|
export interface AnswerServiceType {
|
|
7394
7763
|
getAnswer?: (offset: number, batchSize: number) => any;
|
|
@@ -7582,7 +7951,8 @@ export interface SearchOptions {
|
|
|
7582
7951
|
*/
|
|
7583
7952
|
export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, 'primaryAction'> {
|
|
7584
7953
|
/**
|
|
7585
|
-
* The ID of the data source object. For example, Model, View, or Table. Spotter uses
|
|
7954
|
+
* The ID of the data source object. For example, Model, View, or Table. Spotter uses
|
|
7955
|
+
* this object to query data and generate Answers.
|
|
7586
7956
|
*/
|
|
7587
7957
|
worksheetId: string;
|
|
7588
7958
|
/**
|
|
@@ -7665,6 +8035,66 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, 'primaryAct
|
|
|
7665
8035
|
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
|
|
7666
8036
|
*/
|
|
7667
8037
|
hideSampleQuestions?: boolean;
|
|
8038
|
+
/**
|
|
8039
|
+
* The list of runtime filters to apply to a search Answer,
|
|
8040
|
+
* visualization, or Liveboard.
|
|
8041
|
+
*
|
|
8042
|
+
* Supported embed types: `SpotterEmbed`
|
|
8043
|
+
* @example
|
|
8044
|
+
* ```js
|
|
8045
|
+
* const embed = new SpotterEmbed('#tsEmbed', {
|
|
8046
|
+
* // other embed view config
|
|
8047
|
+
* runtimeFilters: [
|
|
8048
|
+
* {
|
|
8049
|
+
* columnName: 'color',
|
|
8050
|
+
* operator: RuntimeFilterOp.EQ,
|
|
8051
|
+
* values: ['red'],
|
|
8052
|
+
* },
|
|
8053
|
+
* ],
|
|
8054
|
+
* })
|
|
8055
|
+
* ```
|
|
8056
|
+
* @version SDK: 1.41.0 | ThoughtSpot: 10.13.0.cl
|
|
8057
|
+
*/
|
|
8058
|
+
runtimeFilters?: RuntimeFilter[];
|
|
8059
|
+
/**
|
|
8060
|
+
* Flag to control whether runtime filters should be included in the URL.
|
|
8061
|
+
* If true, filters will be passed via app initialization payload instead.
|
|
8062
|
+
* If false/undefined, filters will be added to URL (default behavior).
|
|
8063
|
+
*
|
|
8064
|
+
* Supported embed types: `SpotterEmbed`
|
|
8065
|
+
* @default false
|
|
8066
|
+
* @version SDK: 1.41.0 | ThoughtSpot: 10.13.0.cl
|
|
8067
|
+
*/
|
|
8068
|
+
excludeRuntimeFiltersfromURL?: boolean;
|
|
8069
|
+
/**
|
|
8070
|
+
* The list of runtime parameters to apply to the conversation.
|
|
8071
|
+
*
|
|
8072
|
+
* Supported embed types: `SpotterEmbed`
|
|
8073
|
+
* @example
|
|
8074
|
+
* ```js
|
|
8075
|
+
* const embed = new SpotterEmbed('#tsEmbed', {
|
|
8076
|
+
* // other embed view config
|
|
8077
|
+
* runtimeParameters: [
|
|
8078
|
+
* {
|
|
8079
|
+
* name: 'Integer Param',
|
|
8080
|
+
* value: 10,
|
|
8081
|
+
* },
|
|
8082
|
+
* ],
|
|
8083
|
+
* })
|
|
8084
|
+
* ```
|
|
8085
|
+
* @version SDK: 1.41.0 | ThoughtSpot: 10.13.0.cl
|
|
8086
|
+
*/
|
|
8087
|
+
runtimeParameters?: RuntimeParameter[];
|
|
8088
|
+
/**
|
|
8089
|
+
* Flag to control whether runtime parameters should be included in the URL.
|
|
8090
|
+
* If true, parameters will be passed via app initialization payload instead.
|
|
8091
|
+
* If false/undefined, parameters will be added to URL (default behavior).
|
|
8092
|
+
*
|
|
8093
|
+
* Supported embed types: `SpotterEmbed`
|
|
8094
|
+
* @default false
|
|
8095
|
+
* @version SDK: 1.41.0 | ThoughtSpot: 10.13.0.cl
|
|
8096
|
+
*/
|
|
8097
|
+
excludeRuntimeParametersfromURL?: boolean;
|
|
7668
8098
|
}
|
|
7669
8099
|
/**
|
|
7670
8100
|
* The configuration for the embedded spotterEmbed options.
|
|
@@ -8352,6 +8782,322 @@ export interface CustomCssVariables {
|
|
|
8352
8782
|
* Background color of checkbox.
|
|
8353
8783
|
*/
|
|
8354
8784
|
'--ts-var-checkbox-background-color'?: string;
|
|
8785
|
+
/**
|
|
8786
|
+
* Height of the tiles in the Liveboard.
|
|
8787
|
+
*/
|
|
8788
|
+
'--ts-var-viz-tile-height'?: string;
|
|
8789
|
+
/**
|
|
8790
|
+
* Background color of the layout in the Liveboard.
|
|
8791
|
+
*/
|
|
8792
|
+
'--ts-var-liveboard-layout-background'?: string;
|
|
8793
|
+
/**
|
|
8794
|
+
* Font color of the title of the layout in the Liveboard.
|
|
8795
|
+
*/
|
|
8796
|
+
'--ts-var-liveboard-layout-title-color'?: string;
|
|
8797
|
+
/**
|
|
8798
|
+
* Font size of the title of the layout in the Liveboard.
|
|
8799
|
+
*/
|
|
8800
|
+
'--ts-var-liveboard-layout-title-fontsize'?: string;
|
|
8801
|
+
/**
|
|
8802
|
+
* Background color of the header in the Liveboard.
|
|
8803
|
+
*/
|
|
8804
|
+
'--ts-var-liveboard-header-background'?: string;
|
|
8805
|
+
/**
|
|
8806
|
+
* Font size of the header in the Liveboard.
|
|
8807
|
+
*/
|
|
8808
|
+
'--ts-var-liveboard-header-fontsize'?: string;
|
|
8809
|
+
/**
|
|
8810
|
+
* Font color of the header in the Liveboard.
|
|
8811
|
+
*/
|
|
8812
|
+
'--ts-var-liveboard-header-font-color'?: string;
|
|
8813
|
+
/**
|
|
8814
|
+
* Border color of the tiles in the Liveboard.
|
|
8815
|
+
*/
|
|
8816
|
+
'--ts-var-liveboard-tile-border-color'?: string;
|
|
8817
|
+
/**
|
|
8818
|
+
* Background color of the tiles in the Liveboard.
|
|
8819
|
+
*/
|
|
8820
|
+
'--ts-var-liveboard-tile-background'?: string;
|
|
8821
|
+
/**
|
|
8822
|
+
* Border radius of the tiles in the Liveboard.
|
|
8823
|
+
*/
|
|
8824
|
+
'--ts-var-liveboard-tile-border-radius'?: string;
|
|
8825
|
+
/**
|
|
8826
|
+
* Padding of the tiles in the Liveboard.
|
|
8827
|
+
*/
|
|
8828
|
+
'--ts-var-liveboard-tile-padding'?: string;
|
|
8829
|
+
/**
|
|
8830
|
+
* Background color of the table header in the Liveboard.
|
|
8831
|
+
*/
|
|
8832
|
+
'--ts-var-liveboard-tile-table-header-background'?: string;
|
|
8833
|
+
/**
|
|
8834
|
+
* Padding of the groups in the Liveboard.
|
|
8835
|
+
*/
|
|
8836
|
+
'--ts-var-liveboard-group-padding'?: string;
|
|
8837
|
+
/**
|
|
8838
|
+
* Padding of the title of the groups in the Liveboard.
|
|
8839
|
+
*/
|
|
8840
|
+
'--ts-var-liveboard-group-title-padding'?: string;
|
|
8841
|
+
/**
|
|
8842
|
+
* Font size of the title of the groups in the Liveboard.
|
|
8843
|
+
*/
|
|
8844
|
+
'--ts-var-liveboard-group-title-font-size'?: string;
|
|
8845
|
+
/**
|
|
8846
|
+
* Font weight of the title of the groups in the Liveboard.
|
|
8847
|
+
*/
|
|
8848
|
+
'--ts-var-liveboard-group-title-font-weight'?: string;
|
|
8849
|
+
/**
|
|
8850
|
+
* Font size of the title of the tiles inside the groups in the Liveboard.
|
|
8851
|
+
*/
|
|
8852
|
+
'--ts-var-liveboard-group-tile-title-font-size'?: string;
|
|
8853
|
+
/**
|
|
8854
|
+
* Font weight of the title of the tiles inside the groups in the Liveboard.
|
|
8855
|
+
*/
|
|
8856
|
+
'--ts-var-liveboard-group-tile-title-font-weight'?: string;
|
|
8857
|
+
/**
|
|
8858
|
+
* Font size of the description of the groups in the Liveboard.
|
|
8859
|
+
*/
|
|
8860
|
+
'--ts-var-liveboard-group-description-font-size'?: string;
|
|
8861
|
+
/**
|
|
8862
|
+
* Font weight of the description of the groups in the Liveboard.
|
|
8863
|
+
*/
|
|
8864
|
+
'--ts-var-liveboard-group-description-font-weight'?: string;
|
|
8865
|
+
/**
|
|
8866
|
+
* Border of the tiles in the Liveboard.
|
|
8867
|
+
*/
|
|
8868
|
+
'--ts-var-liveboard-group-tile-border'?: string;
|
|
8869
|
+
/**
|
|
8870
|
+
* Padding of the tiles in the Liveboard.
|
|
8871
|
+
*/
|
|
8872
|
+
'--ts-var-liveboard-group-tile-padding'?: string;
|
|
8873
|
+
/**
|
|
8874
|
+
* Padding of the answer viz in the Liveboard.
|
|
8875
|
+
*/
|
|
8876
|
+
'--ts-var-liveboard-answer-viz-padding'?: string;
|
|
8877
|
+
/**
|
|
8878
|
+
* Background color of the groups in the Liveboard.
|
|
8879
|
+
*/
|
|
8880
|
+
'--ts-var-liveboard-group-background'?: string;
|
|
8881
|
+
/**
|
|
8882
|
+
* Border color of the groups in the Liveboard.
|
|
8883
|
+
*/
|
|
8884
|
+
'--ts-var-liveboard-group-border-color'?: string;
|
|
8885
|
+
/**
|
|
8886
|
+
* Font color of the heading of the note title in the Liveboard.
|
|
8887
|
+
*/
|
|
8888
|
+
'--ts-var-liveboard-notetitle-heading-font-color'?: string;
|
|
8889
|
+
/**
|
|
8890
|
+
* Font color of the body of the note title in the Liveboard.
|
|
8891
|
+
*/
|
|
8892
|
+
'--ts-var-liveboard-notetitle-body-font-color'?: string;
|
|
8893
|
+
/**
|
|
8894
|
+
* Font color of the title of the groups in the Liveboard.
|
|
8895
|
+
*/
|
|
8896
|
+
'--ts-var-liveboard-group-title-font-color'?: string;
|
|
8897
|
+
/**
|
|
8898
|
+
* Font color of the description of the groups in the Liveboard.
|
|
8899
|
+
*/
|
|
8900
|
+
'--ts-var-liveboard-group-description-font-color'?: string;
|
|
8901
|
+
/**
|
|
8902
|
+
* Font color of the title of the tiles inside the groups in the Liveboard.
|
|
8903
|
+
*/
|
|
8904
|
+
'--ts-var-liveboard-group-tile-title-font-color'?: string;
|
|
8905
|
+
/**
|
|
8906
|
+
* Background color of the tiles inside the groups in the Liveboard.
|
|
8907
|
+
*/
|
|
8908
|
+
'--ts-var-liveboard-group-tile-background'?: string;
|
|
8909
|
+
/**
|
|
8910
|
+
* Background color of the chips in the Liveboard.
|
|
8911
|
+
*/
|
|
8912
|
+
'--ts-var-liveboard-chip-background'?: string;
|
|
8913
|
+
/**
|
|
8914
|
+
* Font color of the chips in the Liveboard.
|
|
8915
|
+
*/
|
|
8916
|
+
'--ts-var-liveboard-chip-color'?: string;
|
|
8917
|
+
/**
|
|
8918
|
+
* Background color of the chips in the Liveboard on hover.
|
|
8919
|
+
*/
|
|
8920
|
+
'--ts-var-liveboard-chip--hover-background'?: string;
|
|
8921
|
+
/**
|
|
8922
|
+
* Font color of the chips in the Liveboard on hover.
|
|
8923
|
+
*/
|
|
8924
|
+
'--ts-var-liveboard-chip--hover-color'?: string;
|
|
8925
|
+
/**
|
|
8926
|
+
* Background color of the chips in the Liveboard on active.
|
|
8927
|
+
*/
|
|
8928
|
+
'--ts-var-liveboard-chip--active-background'?: string;
|
|
8929
|
+
/**
|
|
8930
|
+
* Font color of the chips in the Liveboard on active.
|
|
8931
|
+
*/
|
|
8932
|
+
'--ts-var-liveboard-chip--active-color'?: string;
|
|
8933
|
+
/**
|
|
8934
|
+
* Width of the side panel in the Liveboard.
|
|
8935
|
+
*/
|
|
8936
|
+
'--ts-var-side-panel-width'?: string;
|
|
8937
|
+
/**
|
|
8938
|
+
* Background color of the edit bar in the Liveboard.
|
|
8939
|
+
*/
|
|
8940
|
+
'--ts-var-liveboard-edit-bar-background'?: string;
|
|
8941
|
+
/**
|
|
8942
|
+
* Breakpoint for the dual column layout in the Liveboard.
|
|
8943
|
+
*/
|
|
8944
|
+
'--ts-var-liveboard-dual-column-breakpoint'?: string;
|
|
8945
|
+
/**
|
|
8946
|
+
* Breakpoint for the single column layout in the Liveboard.
|
|
8947
|
+
*/
|
|
8948
|
+
'--ts-var-liveboard-single-column-breakpoint'?: string;
|
|
8949
|
+
/**
|
|
8950
|
+
* Background color of the cross filter layout in the Liveboard.
|
|
8951
|
+
*/
|
|
8952
|
+
'--ts-var-liveboard-cross-filter-layout-background'?: string;
|
|
8953
|
+
/**
|
|
8954
|
+
* Border color of the active tab in the Liveboard.
|
|
8955
|
+
*/
|
|
8956
|
+
'--ts-var-liveboard-tab-active-border-color'?: string;
|
|
8957
|
+
/**
|
|
8958
|
+
* Font color of the hover tab in the Liveboard.
|
|
8959
|
+
*/
|
|
8960
|
+
'--ts-var-liveboard-tab-hover-color'?: string;
|
|
8961
|
+
/**
|
|
8962
|
+
* Font size of the title of the tiles in the Liveboard.
|
|
8963
|
+
*/
|
|
8964
|
+
'--ts-var-liveboard-tile-title-fontsize'?: string;
|
|
8965
|
+
/**
|
|
8966
|
+
* Font weight of the title of the tiles in the Liveboard.
|
|
8967
|
+
*/
|
|
8968
|
+
'--ts-var-liveboard-tile-title-fontweight'?: string;
|
|
8969
|
+
/**
|
|
8970
|
+
* Font weight of the description of the tiles in the Liveboard.
|
|
8971
|
+
*/
|
|
8972
|
+
'--ts-var-liveboard-tile-description-font-weight'?: string;
|
|
8973
|
+
/**
|
|
8974
|
+
* Opacity of the description of the tiles in the Liveboard.
|
|
8975
|
+
*/
|
|
8976
|
+
'--ts-var-liveboard-tile-description-opacity'?: string;
|
|
8977
|
+
/**
|
|
8978
|
+
* Background color of the parameter chips in the Liveboard.
|
|
8979
|
+
*/
|
|
8980
|
+
'--ts-var-parameter-chip-background'?: string;
|
|
8981
|
+
/**
|
|
8982
|
+
* Font color of the parameter chips in the Liveboard.
|
|
8983
|
+
*/
|
|
8984
|
+
'--ts-var-parameter-chip-text-color'?: string;
|
|
8985
|
+
/**
|
|
8986
|
+
* Background color of the parameter chips in the Liveboard on hover.
|
|
8987
|
+
*/
|
|
8988
|
+
'--ts-var-parameter-chip-hover-background'?: string;
|
|
8989
|
+
/**
|
|
8990
|
+
* Font color of the parameter chips in the Liveboard on hover.
|
|
8991
|
+
*/
|
|
8992
|
+
'--ts-var-parameter-chip-hover-text-color'?: string;
|
|
8993
|
+
/**
|
|
8994
|
+
* Background color of the parameter chips in the Liveboard on active.
|
|
8995
|
+
*/
|
|
8996
|
+
'--ts-var-parameter-chip-active-background'?: string;
|
|
8997
|
+
/**
|
|
8998
|
+
* Font color of the parameter chips in the Liveboard on active.
|
|
8999
|
+
*/
|
|
9000
|
+
'--ts-var-parameter-chip-active-text-color'?: string;
|
|
9001
|
+
/**
|
|
9002
|
+
* Background color of the action button in the Liveboard header.
|
|
9003
|
+
*/
|
|
9004
|
+
'--ts-var-liveboard-header-action-button-background'?: string;
|
|
9005
|
+
/**
|
|
9006
|
+
* Font color of the action button in the Liveboard header.
|
|
9007
|
+
*/
|
|
9008
|
+
'--ts-var-liveboard-header-action-button-font-color'?: string;
|
|
9009
|
+
/**
|
|
9010
|
+
* Font color of the action button in the Liveboard header on hover.
|
|
9011
|
+
*/
|
|
9012
|
+
'--ts-var-liveboard-header-action-button-hover-color'?: string;
|
|
9013
|
+
/**
|
|
9014
|
+
* Font color of the action button in the Liveboard header on active.
|
|
9015
|
+
*/
|
|
9016
|
+
'--ts-var-liveboard-header-action-button-active-color'?: string;
|
|
9017
|
+
/**
|
|
9018
|
+
* Background color of the badge in the Liveboard header.
|
|
9019
|
+
*/
|
|
9020
|
+
'--ts-var-liveboard-header-badge-background'?: string;
|
|
9021
|
+
/**
|
|
9022
|
+
* Font color of the badge in the Liveboard header.
|
|
9023
|
+
*/
|
|
9024
|
+
'--ts-var-liveboard-header-badge-font-color'?: string;
|
|
9025
|
+
/**
|
|
9026
|
+
* Background color of the modified badge in the Liveboard header.
|
|
9027
|
+
*/
|
|
9028
|
+
'--ts-var-liveboard-header-badge-modified-background'?: string;
|
|
9029
|
+
/**
|
|
9030
|
+
* Font color of the modified badge in the Liveboard header.
|
|
9031
|
+
*/
|
|
9032
|
+
'--ts-var-liveboard-header-badge-modified-font-color'?: string;
|
|
9033
|
+
/**
|
|
9034
|
+
* Font color of the badge in the Liveboard header on hover.
|
|
9035
|
+
*/
|
|
9036
|
+
'--ts-var-liveboard-header-badge-hover-color'?: string;
|
|
9037
|
+
/**
|
|
9038
|
+
* Font color of the badge in the Liveboard header on active.
|
|
9039
|
+
*/
|
|
9040
|
+
'--ts-var-liveboard-header-badge-active-color'?: string;
|
|
9041
|
+
/**
|
|
9042
|
+
* Font color of the hero text in the KPI widget.
|
|
9043
|
+
*/
|
|
9044
|
+
'--ts-var-kpi-hero-color'?: string;
|
|
9045
|
+
/**
|
|
9046
|
+
* Font color of the comparison text in the KPI widget.
|
|
9047
|
+
*/
|
|
9048
|
+
'--ts-var-kpi-comparison-color'?: string;
|
|
9049
|
+
/**
|
|
9050
|
+
* Font color of the analyze text in the KPI widget.
|
|
9051
|
+
*/
|
|
9052
|
+
'--ts-var-kpi-analyze-text-color'?: string;
|
|
9053
|
+
/**
|
|
9054
|
+
* Font color of the legend title in the heatmap chart.
|
|
9055
|
+
*/
|
|
9056
|
+
'--ts-var-chart-heatmap-legend-title-color'?: string;
|
|
9057
|
+
/**
|
|
9058
|
+
* Font color of the legend label in the heatmap chart.
|
|
9059
|
+
*/
|
|
9060
|
+
'--ts-var-chart-heatmap-legend-label-color'?: string;
|
|
9061
|
+
/**
|
|
9062
|
+
* Font color of the legend title in the treemap chart.
|
|
9063
|
+
*/
|
|
9064
|
+
'--ts-var-chart-treemap-legend-title-color'?: string;
|
|
9065
|
+
/**
|
|
9066
|
+
* Font color of the legend label in the treemap chart.
|
|
9067
|
+
*/
|
|
9068
|
+
'--ts-var-chart-treemap-legend-label-color'?: string;
|
|
9069
|
+
/**
|
|
9070
|
+
* Color of the positive change in the KPI.
|
|
9071
|
+
*/
|
|
9072
|
+
'--ts-var-kpi-positive-change-color'?: string;
|
|
9073
|
+
/**
|
|
9074
|
+
* Color of the negative change in the KPI.
|
|
9075
|
+
*/
|
|
9076
|
+
'--ts-var-kpi-negative-change-color'?: string;
|
|
9077
|
+
/**
|
|
9078
|
+
* Background color of the change analysis insights.
|
|
9079
|
+
*/
|
|
9080
|
+
'--ts-var-change-analysis-insights-background'?: string;
|
|
9081
|
+
/**
|
|
9082
|
+
* Background color of the forecasting card in the SpotIQ analyze.
|
|
9083
|
+
*/
|
|
9084
|
+
'--ts-var-spotiq-analyze-forecasting-card-background'?: string;
|
|
9085
|
+
/**
|
|
9086
|
+
* Background color of the outlier card in the SpotIQ analyze.
|
|
9087
|
+
*/
|
|
9088
|
+
'--ts-var-spotiq-analyze-outlier-card-background'?: string;
|
|
9089
|
+
/**
|
|
9090
|
+
* Background color of the trend card in the SpotIQ analyze.
|
|
9091
|
+
*/
|
|
9092
|
+
'--ts-var-spotiq-analyze-trend-card-background'?: string;
|
|
9093
|
+
/**
|
|
9094
|
+
* Background color of the crosscorrelation card in the SpotIQ analyze.
|
|
9095
|
+
*/
|
|
9096
|
+
'--ts-var-spotiq-analyze-crosscorrelation-card-background'?: string;
|
|
9097
|
+
/**
|
|
9098
|
+
* Background color of the summary header in the CCA modal.
|
|
9099
|
+
*/
|
|
9100
|
+
'--ts-var-cca-modal-summary-header-background'?: string;
|
|
8355
9101
|
}
|
|
8356
9102
|
|
|
8357
9103
|
export interface SessionInterface {
|
|
@@ -8678,16 +9424,31 @@ export declare const getAnswerFromQuery: (query: string, worksheetId: string) =>
|
|
|
8678
9424
|
}>;
|
|
8679
9425
|
|
|
8680
9426
|
/**
|
|
8681
|
-
*
|
|
8682
|
-
*
|
|
8683
|
-
*
|
|
9427
|
+
* Creates a new Liveboard in ThoughtSpot using the provided AnswerService instances.
|
|
9428
|
+
*
|
|
9429
|
+
* Each answer will be added as a visualization to the newly created Liveboard.
|
|
9430
|
+
*
|
|
9431
|
+
* @param {AnswerService[]} answers - An array of initialized `AnswerService` instances
|
|
9432
|
+
* representing the answers to be added to the Liveboard.
|
|
9433
|
+
* @param {string} name - The name of the Liveboard to create.
|
|
8684
9434
|
* @returns result Promise
|
|
8685
9435
|
* @version SDK: 1.33.1 | ThoughtSpot: *
|
|
8686
9436
|
* @example
|
|
8687
9437
|
* ```js
|
|
8688
|
-
*
|
|
8689
|
-
*
|
|
8690
|
-
*
|
|
9438
|
+
* import { EmbedEvent, AnswerService } from "@thoughtspot/visual-embed-sdk";
|
|
9439
|
+
*
|
|
9440
|
+
* embed.on(EmbedEvent.Data, async () => {
|
|
9441
|
+
* try {
|
|
9442
|
+
* const answerService = await embed.getAnswerService();
|
|
9443
|
+
* const lb = await createLiveboardWithAnswers(
|
|
9444
|
+
* [answerService],
|
|
9445
|
+
* "My Liveboard"
|
|
9446
|
+
* );
|
|
9447
|
+
* console.log("Liveboard created:", lb);
|
|
9448
|
+
* } catch (err) {
|
|
9449
|
+
* console.error("Failed to create liveboard:", err);
|
|
9450
|
+
* }
|
|
9451
|
+
* });
|
|
8691
9452
|
* ```
|
|
8692
9453
|
*/
|
|
8693
9454
|
export declare const createLiveboardWithAnswers: (answers: AnswerService[], name: string) => Promise<any>;
|
|
@@ -8966,6 +9727,19 @@ export declare class TsEmbed {
|
|
|
8966
9727
|
* ```
|
|
8967
9728
|
*/
|
|
8968
9729
|
off(messageType: EmbedEvent, callback: MessageCallback): typeof TsEmbed.prototype;
|
|
9730
|
+
/**
|
|
9731
|
+
* @hidden
|
|
9732
|
+
* Internal state to track if the embed container is loaded.
|
|
9733
|
+
* This is used to trigger events after the embed container is loaded.
|
|
9734
|
+
*/
|
|
9735
|
+
isEmbedContainerLoaded: boolean;
|
|
9736
|
+
protected getPreRenderObj<T extends TsEmbed>(): T;
|
|
9737
|
+
/**
|
|
9738
|
+
* Executes a callback after the embed container is loaded.
|
|
9739
|
+
* @param callback The callback to execute
|
|
9740
|
+
*/
|
|
9741
|
+
protected executeAfterEmbedContainerLoaded(callback: () => void): void;
|
|
9742
|
+
protected createEmbedContainerHandler: (source: EmbedEvent.AuthInit | EmbedEvent.EmbedListenerReady) => () => void;
|
|
8969
9743
|
/**
|
|
8970
9744
|
* Triggers an event to the embedded app
|
|
8971
9745
|
* @param {HostEvent} messageType The event type
|