@thoughtspot/visual-embed-sdk 1.33.2-alpha.1 → 1.33.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 +2 -2
- package/cjs/src/auth.js.map +1 -1
- package/cjs/src/auth.spec.js +6 -6
- package/cjs/src/auth.spec.js.map +1 -1
- package/cjs/src/css-variables.d.ts +2 -2
- package/cjs/src/embed/liveboard.d.ts +0 -3
- package/cjs/src/embed/liveboard.d.ts.map +1 -1
- package/cjs/src/embed/liveboard.js +0 -1
- package/cjs/src/embed/liveboard.js.map +1 -1
- package/cjs/src/tokenizedFetch.d.ts +0 -1
- package/cjs/src/tokenizedFetch.d.ts.map +1 -1
- package/cjs/src/tokenizedFetch.js +0 -1
- package/cjs/src/tokenizedFetch.js.map +1 -1
- package/cjs/src/types.d.ts +7 -4
- package/cjs/src/types.d.ts.map +1 -1
- package/cjs/src/types.js +7 -4
- package/cjs/src/types.js.map +1 -1
- package/cjs/src/utils/processData.d.ts.map +1 -1
- package/cjs/src/utils/processData.js +0 -1
- package/cjs/src/utils/processData.js.map +1 -1
- package/cjs/src/utils/sessionInfoService.d.ts +0 -4
- package/cjs/src/utils/sessionInfoService.d.ts.map +1 -1
- package/cjs/src/utils/sessionInfoService.js +0 -4
- package/cjs/src/utils/sessionInfoService.js.map +1 -1
- package/cjs/src/utils.d.ts.map +1 -1
- package/cjs/src/utils.js +2 -2
- package/cjs/src/utils.js.map +1 -1
- package/dist/{es/index-BwesxE_h.js → index-Ck3m4Sis.js} +1 -0
- package/dist/src/css-variables.d.ts +2 -2
- package/dist/src/embed/liveboard.d.ts +0 -3
- package/dist/src/embed/liveboard.d.ts.map +1 -1
- package/dist/src/tokenizedFetch.d.ts +0 -1
- package/dist/src/tokenizedFetch.d.ts.map +1 -1
- package/dist/src/types.d.ts +7 -4
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/utils/processData.d.ts.map +1 -1
- package/dist/src/utils/sessionInfoService.d.ts +0 -4
- package/dist/src/utils/sessionInfoService.d.ts.map +1 -1
- package/dist/src/utils.d.ts.map +1 -1
- package/dist/{es/react/index.js → tsembed-react.es.js} +20 -7423
- package/dist/tsembed-react.js +11 -12
- package/dist/{es/index.js → tsembed.es.js} +12 -13
- package/dist/tsembed.js +11 -12
- package/dist/visual-embed-sdk-react-full.d.ts +9 -14
- package/dist/visual-embed-sdk-react.d.ts +9 -14
- package/dist/visual-embed-sdk.d.ts +9 -14
- package/lib/package.json +2 -2
- package/lib/src/auth.js.map +1 -1
- package/lib/src/auth.spec.js +6 -6
- package/lib/src/auth.spec.js.map +1 -1
- package/lib/src/css-variables.d.ts +2 -2
- package/lib/src/embed/liveboard.d.ts +0 -3
- package/lib/src/embed/liveboard.d.ts.map +1 -1
- package/lib/src/embed/liveboard.js +0 -1
- package/lib/src/embed/liveboard.js.map +1 -1
- package/lib/src/tokenizedFetch.d.ts +0 -1
- package/lib/src/tokenizedFetch.d.ts.map +1 -1
- package/lib/src/tokenizedFetch.js +0 -1
- package/lib/src/tokenizedFetch.js.map +1 -1
- package/lib/src/types.d.ts +7 -4
- package/lib/src/types.d.ts.map +1 -1
- package/lib/src/types.js +7 -4
- package/lib/src/types.js.map +1 -1
- package/lib/src/utils/processData.d.ts.map +1 -1
- package/lib/src/utils/processData.js +0 -1
- package/lib/src/utils/processData.js.map +1 -1
- package/lib/src/utils/sessionInfoService.d.ts +0 -4
- package/lib/src/utils/sessionInfoService.d.ts.map +1 -1
- package/lib/src/utils/sessionInfoService.js +0 -4
- package/lib/src/utils/sessionInfoService.js.map +1 -1
- package/lib/src/utils.d.ts.map +1 -1
- package/lib/src/utils.js +2 -2
- package/lib/src/utils.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +9 -14
- package/package.json +2 -2
- package/src/auth.spec.ts +6 -6
- package/src/auth.ts +3 -3
- package/src/css-variables.ts +2 -2
- package/src/embed/liveboard.ts +0 -3
- package/src/tokenizedFetch.ts +0 -1
- package/src/types.ts +7 -4
- package/src/utils/processData.ts +0 -1
- package/src/utils/sessionInfoService.ts +0 -4
- package/src/utils.ts +4 -4
- package/dist/es/react/src/auth.d.ts +0 -171
- package/dist/es/react/src/auth.d.ts.map +0 -1
- package/dist/es/react/src/auth.spec.d.ts +0 -15
- package/dist/es/react/src/auth.spec.d.ts.map +0 -1
- package/dist/es/react/src/authToken.d.ts +0 -17
- package/dist/es/react/src/authToken.d.ts.map +0 -1
- package/dist/es/react/src/authToken.spec.d.ts +0 -2
- package/dist/es/react/src/authToken.spec.d.ts.map +0 -1
- package/dist/es/react/src/config.d.ts +0 -21
- package/dist/es/react/src/config.d.ts.map +0 -1
- package/dist/es/react/src/config.spec.d.ts +0 -5
- package/dist/es/react/src/config.spec.d.ts.map +0 -1
- package/dist/es/react/src/css-variables.d.ts +0 -384
- package/dist/es/react/src/css-variables.d.ts.map +0 -1
- package/dist/es/react/src/embed/app.d.ts +0 -478
- package/dist/es/react/src/embed/app.d.ts.map +0 -1
- package/dist/es/react/src/embed/app.spec.d.ts +0 -2
- package/dist/es/react/src/embed/app.spec.d.ts.map +0 -1
- package/dist/es/react/src/embed/base.d.ts +0 -136
- package/dist/es/react/src/embed/base.d.ts.map +0 -1
- package/dist/es/react/src/embed/base.spec.d.ts +0 -2
- package/dist/es/react/src/embed/base.spec.d.ts.map +0 -1
- package/dist/es/react/src/embed/bodyless-conversation.d.ts +0 -26
- package/dist/es/react/src/embed/bodyless-conversation.d.ts.map +0 -1
- package/dist/es/react/src/embed/bodyless-conversation.spec.d.ts +0 -2
- package/dist/es/react/src/embed/bodyless-conversation.spec.d.ts.map +0 -1
- package/dist/es/react/src/embed/conversation.d.ts +0 -43
- package/dist/es/react/src/embed/conversation.d.ts.map +0 -1
- package/dist/es/react/src/embed/conversation.spec.d.ts +0 -2
- package/dist/es/react/src/embed/conversation.spec.d.ts.map +0 -1
- package/dist/es/react/src/embed/embed.spec.d.ts +0 -2
- package/dist/es/react/src/embed/embed.spec.d.ts.map +0 -1
- package/dist/es/react/src/embed/embedConfig.d.ts +0 -17
- package/dist/es/react/src/embed/embedConfig.d.ts.map +0 -1
- package/dist/es/react/src/embed/events.spec.d.ts +0 -2
- package/dist/es/react/src/embed/events.spec.d.ts.map +0 -1
- package/dist/es/react/src/embed/liveboard.d.ts +0 -379
- package/dist/es/react/src/embed/liveboard.d.ts.map +0 -1
- package/dist/es/react/src/embed/liveboard.spec.d.ts +0 -2
- package/dist/es/react/src/embed/liveboard.spec.d.ts.map +0 -1
- package/dist/es/react/src/embed/pinboard.spec.d.ts +0 -2
- package/dist/es/react/src/embed/pinboard.spec.d.ts.map +0 -1
- package/dist/es/react/src/embed/sage.d.ts +0 -148
- package/dist/es/react/src/embed/sage.d.ts.map +0 -1
- package/dist/es/react/src/embed/sage.spec.d.ts +0 -2
- package/dist/es/react/src/embed/sage.spec.d.ts.map +0 -1
- package/dist/es/react/src/embed/search-bar.d.ts +0 -93
- package/dist/es/react/src/embed/search-bar.d.ts.map +0 -1
- package/dist/es/react/src/embed/search.d.ts +0 -282
- package/dist/es/react/src/embed/search.d.ts.map +0 -1
- package/dist/es/react/src/embed/search.spec.d.ts +0 -2
- package/dist/es/react/src/embed/search.spec.d.ts.map +0 -1
- package/dist/es/react/src/embed/ts-embed-trigger.spec.d.ts +0 -2
- package/dist/es/react/src/embed/ts-embed-trigger.spec.d.ts.map +0 -1
- package/dist/es/react/src/embed/ts-embed.d.ts +0 -374
- package/dist/es/react/src/embed/ts-embed.d.ts.map +0 -1
- package/dist/es/react/src/embed/ts-embed.spec.d.ts +0 -2
- package/dist/es/react/src/embed/ts-embed.spec.d.ts.map +0 -1
- package/dist/es/react/src/errors.d.ts +0 -19
- package/dist/es/react/src/errors.d.ts.map +0 -1
- package/dist/es/react/src/index.d.ts +0 -29
- package/dist/es/react/src/index.d.ts.map +0 -1
- package/dist/es/react/src/mixpanel-service.d.ts +0 -35
- package/dist/es/react/src/mixpanel-service.d.ts.map +0 -1
- package/dist/es/react/src/mixpanel-service.spec.d.ts +0 -2
- package/dist/es/react/src/mixpanel-service.spec.d.ts.map +0 -1
- package/dist/es/react/src/react/all-types-export.d.ts +0 -3
- package/dist/es/react/src/react/all-types-export.d.ts.map +0 -1
- package/dist/es/react/src/react/all-types-export.spec.d.ts +0 -2
- package/dist/es/react/src/react/all-types-export.spec.d.ts.map +0 -1
- package/dist/es/react/src/react/index.d.ts +0 -254
- package/dist/es/react/src/react/index.d.ts.map +0 -1
- package/dist/es/react/src/react/index.spec.d.ts +0 -3
- package/dist/es/react/src/react/index.spec.d.ts.map +0 -1
- package/dist/es/react/src/react/util.d.ts +0 -19
- package/dist/es/react/src/react/util.d.ts.map +0 -1
- package/dist/es/react/src/test/test-utils.d.ts +0 -61
- package/dist/es/react/src/test/test-utils.d.ts.map +0 -1
- package/dist/es/react/src/tokenizedFetch.d.ts +0 -18
- package/dist/es/react/src/tokenizedFetch.d.ts.map +0 -1
- package/dist/es/react/src/types.d.ts +0 -4363
- package/dist/es/react/src/types.d.ts.map +0 -1
- package/dist/es/react/src/utils/authService/authService.d.ts +0 -45
- package/dist/es/react/src/utils/authService/authService.d.ts.map +0 -1
- package/dist/es/react/src/utils/authService/authService.spec.d.ts +0 -2
- package/dist/es/react/src/utils/authService/authService.spec.d.ts.map +0 -1
- package/dist/es/react/src/utils/authService/index.d.ts +0 -3
- package/dist/es/react/src/utils/authService/index.d.ts.map +0 -1
- package/dist/es/react/src/utils/authService/tokenizedAuthService.d.ts +0 -22
- package/dist/es/react/src/utils/authService/tokenizedAuthService.d.ts.map +0 -1
- package/dist/es/react/src/utils/authService/tokenizedAuthService.spec.d.ts +0 -2
- package/dist/es/react/src/utils/authService/tokenizedAuthService.spec.d.ts.map +0 -1
- package/dist/es/react/src/utils/global-styles.d.ts +0 -2
- package/dist/es/react/src/utils/global-styles.d.ts.map +0 -1
- package/dist/es/react/src/utils/global-styles.spec.d.ts +0 -2
- package/dist/es/react/src/utils/global-styles.spec.d.ts.map +0 -1
- package/dist/es/react/src/utils/graphql/answerService/answer-queries.d.ts +0 -10
- package/dist/es/react/src/utils/graphql/answerService/answer-queries.d.ts.map +0 -1
- package/dist/es/react/src/utils/graphql/answerService/answerService.d.ts +0 -180
- package/dist/es/react/src/utils/graphql/answerService/answerService.d.ts.map +0 -1
- package/dist/es/react/src/utils/graphql/answerService/answerService.spec.d.ts +0 -2
- package/dist/es/react/src/utils/graphql/answerService/answerService.spec.d.ts.map +0 -1
- package/dist/es/react/src/utils/graphql/graphql-request.d.ts +0 -15
- package/dist/es/react/src/utils/graphql/graphql-request.d.ts.map +0 -1
- package/dist/es/react/src/utils/graphql/graphql-request.spec.d.ts +0 -2
- package/dist/es/react/src/utils/graphql/graphql-request.spec.d.ts.map +0 -1
- package/dist/es/react/src/utils/graphql/nlsService/conversation-queries.d.ts +0 -3
- package/dist/es/react/src/utils/graphql/nlsService/conversation-queries.d.ts.map +0 -1
- package/dist/es/react/src/utils/graphql/nlsService/conversation-service.d.ts +0 -12
- package/dist/es/react/src/utils/graphql/nlsService/conversation-service.d.ts.map +0 -1
- package/dist/es/react/src/utils/graphql/nlsService/nls-answer-queries.d.ts +0 -2
- package/dist/es/react/src/utils/graphql/nlsService/nls-answer-queries.d.ts.map +0 -1
- package/dist/es/react/src/utils/graphql/nlsService/nls-answer-service.d.ts +0 -17
- package/dist/es/react/src/utils/graphql/nlsService/nls-answer-service.d.ts.map +0 -1
- package/dist/es/react/src/utils/graphql/nlsService/nls-answer-service.spec.d.ts +0 -2
- package/dist/es/react/src/utils/graphql/nlsService/nls-answer-service.spec.d.ts.map +0 -1
- package/dist/es/react/src/utils/graphql/preview-service.d.ts +0 -9
- package/dist/es/react/src/utils/graphql/preview-service.d.ts.map +0 -1
- package/dist/es/react/src/utils/graphql/preview-service.spec.d.ts +0 -2
- package/dist/es/react/src/utils/graphql/preview-service.spec.d.ts.map +0 -1
- package/dist/es/react/src/utils/graphql/sourceService.d.ts +0 -8
- package/dist/es/react/src/utils/graphql/sourceService.d.ts.map +0 -1
- package/dist/es/react/src/utils/graphql/sourceService.spec.d.ts +0 -2
- package/dist/es/react/src/utils/graphql/sourceService.spec.d.ts.map +0 -1
- package/dist/es/react/src/utils/liveboardService/liveboardService.d.ts +0 -16
- package/dist/es/react/src/utils/liveboardService/liveboardService.d.ts.map +0 -1
- package/dist/es/react/src/utils/liveboardService/liveboardService.spec.d.ts +0 -2
- package/dist/es/react/src/utils/liveboardService/liveboardService.spec.d.ts.map +0 -1
- package/dist/es/react/src/utils/logger.d.ts +0 -18
- package/dist/es/react/src/utils/logger.d.ts.map +0 -1
- package/dist/es/react/src/utils/logger.spec.d.ts +0 -25
- package/dist/es/react/src/utils/logger.spec.d.ts.map +0 -1
- package/dist/es/react/src/utils/processData.d.ts +0 -22
- package/dist/es/react/src/utils/processData.d.ts.map +0 -1
- package/dist/es/react/src/utils/processData.spec.d.ts +0 -2
- package/dist/es/react/src/utils/processData.spec.d.ts.map +0 -1
- package/dist/es/react/src/utils/processTrigger.d.ts +0 -16
- package/dist/es/react/src/utils/processTrigger.d.ts.map +0 -1
- package/dist/es/react/src/utils/processTrigger.spec.d.ts +0 -2
- package/dist/es/react/src/utils/processTrigger.spec.d.ts.map +0 -1
- package/dist/es/react/src/utils/reporting.d.ts +0 -16
- package/dist/es/react/src/utils/reporting.d.ts.map +0 -1
- package/dist/es/react/src/utils/reporting.spec.d.ts +0 -2
- package/dist/es/react/src/utils/reporting.spec.d.ts.map +0 -1
- package/dist/es/react/src/utils/sessionInfoService.d.ts +0 -66
- package/dist/es/react/src/utils/sessionInfoService.d.ts.map +0 -1
- package/dist/es/react/src/utils.d.ts +0 -104
- package/dist/es/react/src/utils.d.ts.map +0 -1
- package/dist/es/react/src/utils.spec.d.ts +0 -2
- package/dist/es/react/src/utils.spec.d.ts.map +0 -1
- package/dist/es/src/auth.d.ts +0 -171
- package/dist/es/src/auth.d.ts.map +0 -1
- package/dist/es/src/auth.spec.d.ts +0 -15
- package/dist/es/src/auth.spec.d.ts.map +0 -1
- package/dist/es/src/authToken.d.ts +0 -17
- package/dist/es/src/authToken.d.ts.map +0 -1
- package/dist/es/src/authToken.spec.d.ts +0 -2
- package/dist/es/src/authToken.spec.d.ts.map +0 -1
- package/dist/es/src/config.d.ts +0 -21
- package/dist/es/src/config.d.ts.map +0 -1
- package/dist/es/src/config.spec.d.ts +0 -5
- package/dist/es/src/config.spec.d.ts.map +0 -1
- package/dist/es/src/css-variables.d.ts +0 -384
- package/dist/es/src/css-variables.d.ts.map +0 -1
- package/dist/es/src/embed/app.d.ts +0 -478
- package/dist/es/src/embed/app.d.ts.map +0 -1
- package/dist/es/src/embed/app.spec.d.ts +0 -2
- package/dist/es/src/embed/app.spec.d.ts.map +0 -1
- package/dist/es/src/embed/base.d.ts +0 -136
- package/dist/es/src/embed/base.d.ts.map +0 -1
- package/dist/es/src/embed/base.spec.d.ts +0 -2
- package/dist/es/src/embed/base.spec.d.ts.map +0 -1
- package/dist/es/src/embed/bodyless-conversation.d.ts +0 -26
- package/dist/es/src/embed/bodyless-conversation.d.ts.map +0 -1
- package/dist/es/src/embed/bodyless-conversation.spec.d.ts +0 -2
- package/dist/es/src/embed/bodyless-conversation.spec.d.ts.map +0 -1
- package/dist/es/src/embed/conversation.d.ts +0 -43
- package/dist/es/src/embed/conversation.d.ts.map +0 -1
- package/dist/es/src/embed/conversation.spec.d.ts +0 -2
- package/dist/es/src/embed/conversation.spec.d.ts.map +0 -1
- package/dist/es/src/embed/embed.spec.d.ts +0 -2
- package/dist/es/src/embed/embed.spec.d.ts.map +0 -1
- package/dist/es/src/embed/embedConfig.d.ts +0 -17
- package/dist/es/src/embed/embedConfig.d.ts.map +0 -1
- package/dist/es/src/embed/events.spec.d.ts +0 -2
- package/dist/es/src/embed/events.spec.d.ts.map +0 -1
- package/dist/es/src/embed/liveboard.d.ts +0 -379
- package/dist/es/src/embed/liveboard.d.ts.map +0 -1
- package/dist/es/src/embed/liveboard.spec.d.ts +0 -2
- package/dist/es/src/embed/liveboard.spec.d.ts.map +0 -1
- package/dist/es/src/embed/pinboard.spec.d.ts +0 -2
- package/dist/es/src/embed/pinboard.spec.d.ts.map +0 -1
- package/dist/es/src/embed/sage.d.ts +0 -148
- package/dist/es/src/embed/sage.d.ts.map +0 -1
- package/dist/es/src/embed/sage.spec.d.ts +0 -2
- package/dist/es/src/embed/sage.spec.d.ts.map +0 -1
- package/dist/es/src/embed/search-bar.d.ts +0 -93
- package/dist/es/src/embed/search-bar.d.ts.map +0 -1
- package/dist/es/src/embed/search.d.ts +0 -282
- package/dist/es/src/embed/search.d.ts.map +0 -1
- package/dist/es/src/embed/search.spec.d.ts +0 -2
- package/dist/es/src/embed/search.spec.d.ts.map +0 -1
- package/dist/es/src/embed/ts-embed-trigger.spec.d.ts +0 -2
- package/dist/es/src/embed/ts-embed-trigger.spec.d.ts.map +0 -1
- package/dist/es/src/embed/ts-embed.d.ts +0 -374
- package/dist/es/src/embed/ts-embed.d.ts.map +0 -1
- package/dist/es/src/embed/ts-embed.spec.d.ts +0 -2
- package/dist/es/src/embed/ts-embed.spec.d.ts.map +0 -1
- package/dist/es/src/errors.d.ts +0 -19
- package/dist/es/src/errors.d.ts.map +0 -1
- package/dist/es/src/index.d.ts +0 -29
- package/dist/es/src/index.d.ts.map +0 -1
- package/dist/es/src/mixpanel-service.d.ts +0 -35
- package/dist/es/src/mixpanel-service.d.ts.map +0 -1
- package/dist/es/src/mixpanel-service.spec.d.ts +0 -2
- package/dist/es/src/mixpanel-service.spec.d.ts.map +0 -1
- package/dist/es/src/react/all-types-export.d.ts +0 -3
- package/dist/es/src/react/all-types-export.d.ts.map +0 -1
- package/dist/es/src/react/all-types-export.spec.d.ts +0 -2
- package/dist/es/src/react/all-types-export.spec.d.ts.map +0 -1
- package/dist/es/src/react/index.d.ts +0 -254
- package/dist/es/src/react/index.d.ts.map +0 -1
- package/dist/es/src/react/index.spec.d.ts +0 -3
- package/dist/es/src/react/index.spec.d.ts.map +0 -1
- package/dist/es/src/react/util.d.ts +0 -19
- package/dist/es/src/react/util.d.ts.map +0 -1
- package/dist/es/src/test/test-utils.d.ts +0 -61
- package/dist/es/src/test/test-utils.d.ts.map +0 -1
- package/dist/es/src/tokenizedFetch.d.ts +0 -18
- package/dist/es/src/tokenizedFetch.d.ts.map +0 -1
- package/dist/es/src/types.d.ts +0 -4363
- package/dist/es/src/types.d.ts.map +0 -1
- package/dist/es/src/utils/authService/authService.d.ts +0 -45
- package/dist/es/src/utils/authService/authService.d.ts.map +0 -1
- package/dist/es/src/utils/authService/authService.spec.d.ts +0 -2
- package/dist/es/src/utils/authService/authService.spec.d.ts.map +0 -1
- package/dist/es/src/utils/authService/index.d.ts +0 -3
- package/dist/es/src/utils/authService/index.d.ts.map +0 -1
- package/dist/es/src/utils/authService/tokenizedAuthService.d.ts +0 -22
- package/dist/es/src/utils/authService/tokenizedAuthService.d.ts.map +0 -1
- package/dist/es/src/utils/authService/tokenizedAuthService.spec.d.ts +0 -2
- package/dist/es/src/utils/authService/tokenizedAuthService.spec.d.ts.map +0 -1
- package/dist/es/src/utils/global-styles.d.ts +0 -2
- package/dist/es/src/utils/global-styles.d.ts.map +0 -1
- package/dist/es/src/utils/global-styles.spec.d.ts +0 -2
- package/dist/es/src/utils/global-styles.spec.d.ts.map +0 -1
- package/dist/es/src/utils/graphql/answerService/answer-queries.d.ts +0 -10
- package/dist/es/src/utils/graphql/answerService/answer-queries.d.ts.map +0 -1
- package/dist/es/src/utils/graphql/answerService/answerService.d.ts +0 -180
- package/dist/es/src/utils/graphql/answerService/answerService.d.ts.map +0 -1
- package/dist/es/src/utils/graphql/answerService/answerService.spec.d.ts +0 -2
- package/dist/es/src/utils/graphql/answerService/answerService.spec.d.ts.map +0 -1
- package/dist/es/src/utils/graphql/graphql-request.d.ts +0 -15
- package/dist/es/src/utils/graphql/graphql-request.d.ts.map +0 -1
- package/dist/es/src/utils/graphql/graphql-request.spec.d.ts +0 -2
- package/dist/es/src/utils/graphql/graphql-request.spec.d.ts.map +0 -1
- package/dist/es/src/utils/graphql/nlsService/conversation-queries.d.ts +0 -3
- package/dist/es/src/utils/graphql/nlsService/conversation-queries.d.ts.map +0 -1
- package/dist/es/src/utils/graphql/nlsService/conversation-service.d.ts +0 -12
- package/dist/es/src/utils/graphql/nlsService/conversation-service.d.ts.map +0 -1
- package/dist/es/src/utils/graphql/nlsService/nls-answer-queries.d.ts +0 -2
- package/dist/es/src/utils/graphql/nlsService/nls-answer-queries.d.ts.map +0 -1
- package/dist/es/src/utils/graphql/nlsService/nls-answer-service.d.ts +0 -17
- package/dist/es/src/utils/graphql/nlsService/nls-answer-service.d.ts.map +0 -1
- package/dist/es/src/utils/graphql/nlsService/nls-answer-service.spec.d.ts +0 -2
- package/dist/es/src/utils/graphql/nlsService/nls-answer-service.spec.d.ts.map +0 -1
- package/dist/es/src/utils/graphql/preview-service.d.ts +0 -9
- package/dist/es/src/utils/graphql/preview-service.d.ts.map +0 -1
- package/dist/es/src/utils/graphql/preview-service.spec.d.ts +0 -2
- package/dist/es/src/utils/graphql/preview-service.spec.d.ts.map +0 -1
- package/dist/es/src/utils/graphql/sourceService.d.ts +0 -8
- package/dist/es/src/utils/graphql/sourceService.d.ts.map +0 -1
- package/dist/es/src/utils/graphql/sourceService.spec.d.ts +0 -2
- package/dist/es/src/utils/graphql/sourceService.spec.d.ts.map +0 -1
- package/dist/es/src/utils/liveboardService/liveboardService.d.ts +0 -16
- package/dist/es/src/utils/liveboardService/liveboardService.d.ts.map +0 -1
- package/dist/es/src/utils/liveboardService/liveboardService.spec.d.ts +0 -2
- package/dist/es/src/utils/liveboardService/liveboardService.spec.d.ts.map +0 -1
- package/dist/es/src/utils/logger.d.ts +0 -18
- package/dist/es/src/utils/logger.d.ts.map +0 -1
- package/dist/es/src/utils/logger.spec.d.ts +0 -25
- package/dist/es/src/utils/logger.spec.d.ts.map +0 -1
- package/dist/es/src/utils/processData.d.ts +0 -22
- package/dist/es/src/utils/processData.d.ts.map +0 -1
- package/dist/es/src/utils/processData.spec.d.ts +0 -2
- package/dist/es/src/utils/processData.spec.d.ts.map +0 -1
- package/dist/es/src/utils/processTrigger.d.ts +0 -16
- package/dist/es/src/utils/processTrigger.d.ts.map +0 -1
- package/dist/es/src/utils/processTrigger.spec.d.ts +0 -2
- package/dist/es/src/utils/processTrigger.spec.d.ts.map +0 -1
- package/dist/es/src/utils/reporting.d.ts +0 -16
- package/dist/es/src/utils/reporting.d.ts.map +0 -1
- package/dist/es/src/utils/reporting.spec.d.ts +0 -2
- package/dist/es/src/utils/reporting.spec.d.ts.map +0 -1
- package/dist/es/src/utils/sessionInfoService.d.ts +0 -66
- package/dist/es/src/utils/sessionInfoService.d.ts.map +0 -1
- package/dist/es/src/utils.d.ts +0 -104
- package/dist/es/src/utils.d.ts.map +0 -1
- package/dist/es/src/utils.spec.d.ts +0 -2
- package/dist/es/src/utils.spec.d.ts.map +0 -1
package/dist/tsembed-react.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* @thoughtspot/visual-embed-sdk version 1.33.3 */
|
|
1
2
|
(function (global, factory) {
|
|
2
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) :
|
|
3
4
|
typeof define === 'function' && define.amd ? define(['exports', 'react'], factory) :
|
|
@@ -318,8 +319,8 @@
|
|
|
318
319
|
const marker = `tsSSOMarker=${encStringToAppend}`;
|
|
319
320
|
let splitAdder = '';
|
|
320
321
|
if (url.indexOf('#') >= 0) {
|
|
321
|
-
// If second half of hash contains a '?' already add a '&' instead of
|
|
322
|
-
// to query params.
|
|
322
|
+
// If second half of hash contains a '?' already add a '&' instead of
|
|
323
|
+
// '?' which appends to query params.
|
|
323
324
|
splitAdder = url.split('#')[1].indexOf('?') >= 0 ? '&' : '?';
|
|
324
325
|
}
|
|
325
326
|
else {
|
|
@@ -2486,8 +2487,11 @@
|
|
|
2486
2487
|
* see link:https://developers.thoughtspot.com/docs/runtime-filters#rtOperator[Developer Documentation].
|
|
2487
2488
|
*
|
|
2488
2489
|
* `values` - An array of one or several values. The value definition on the
|
|
2489
|
-
* data type you choose to filter on. For a complete list of supported data types,
|
|
2490
|
-
*
|
|
2490
|
+
* data type you choose to filter on. For a complete list of supported data types, see
|
|
2491
|
+
* link:https://developers.thoughtspot.com/docs/runtime-filters#_supported_data_types[Supported data types]
|
|
2492
|
+
* `type` - To update filters for date time, specify the date format type.
|
|
2493
|
+
* For more information and examples, see link:https://developers.thoughtspot.com/docs/embed-liveboard#_date_filters[Date filters].
|
|
2494
|
+
*
|
|
2491
2495
|
* @example
|
|
2492
2496
|
* ```js
|
|
2493
2497
|
*
|
|
@@ -2617,7 +2621,7 @@
|
|
|
2617
2621
|
*/
|
|
2618
2622
|
HostEvent["AskSage"] = "AskSage";
|
|
2619
2623
|
/**
|
|
2620
|
-
* Trigger
|
|
2624
|
+
* Trigger cross filter update action on a Liveboard
|
|
2621
2625
|
* @example
|
|
2622
2626
|
* ```js
|
|
2623
2627
|
* liveboardEmbed.trigger(HostEvent.UpdateCrossFilter, {
|
|
@@ -2632,7 +2636,7 @@
|
|
|
2632
2636
|
*/
|
|
2633
2637
|
HostEvent["UpdateCrossFilter"] = "UpdateCrossFilter";
|
|
2634
2638
|
/**
|
|
2635
|
-
* Trigger
|
|
2639
|
+
* Trigger reset action for a personalized Liveboard view.
|
|
2636
2640
|
* @example
|
|
2637
2641
|
* ```js
|
|
2638
2642
|
* liveboardEmbed.trigger(HostEvent.ResetLiveboardPersonalisedView);
|
|
@@ -6397,7 +6401,6 @@
|
|
|
6397
6401
|
* Fetch wrapper that adds the authentication token to the request.
|
|
6398
6402
|
* Use this to call the ThoughtSpot APIs when using the visual embed sdk.
|
|
6399
6403
|
* The interface for this method is the same as Web `Fetch`.
|
|
6400
|
-
*
|
|
6401
6404
|
* @param input
|
|
6402
6405
|
* @param init
|
|
6403
6406
|
* @example
|
|
@@ -13781,7 +13784,6 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
13781
13784
|
* Returns the session info object and caches it for future use.
|
|
13782
13785
|
* Once fetched the session info object is cached and returned from the cache on
|
|
13783
13786
|
* subsequent calls.
|
|
13784
|
-
*
|
|
13785
13787
|
* @example ```js
|
|
13786
13788
|
* const sessionInfo = await getSessionInfo();
|
|
13787
13789
|
* console.log(sessionInfo);
|
|
@@ -13800,7 +13802,6 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
13800
13802
|
}
|
|
13801
13803
|
/**
|
|
13802
13804
|
* Processes the session info response and returns the session info object.
|
|
13803
|
-
*
|
|
13804
13805
|
* @param sessionInfoResp {any} Response from the session info API.
|
|
13805
13806
|
* @returns {SessionInfo} The session info object.
|
|
13806
13807
|
* @example ```js
|
|
@@ -14260,7 +14261,6 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
14260
14261
|
}
|
|
14261
14262
|
/**
|
|
14262
14263
|
* Responds to AuthInit sent from host signifying successful authentication in host.
|
|
14263
|
-
*
|
|
14264
14264
|
* @param e
|
|
14265
14265
|
* @returns {any}
|
|
14266
14266
|
*/
|
|
@@ -14401,7 +14401,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
14401
14401
|
});
|
|
14402
14402
|
}
|
|
14403
14403
|
|
|
14404
|
-
var name="@thoughtspot/visual-embed-sdk";var version$1="1.33.
|
|
14404
|
+
var name="@thoughtspot/visual-embed-sdk";var version$1="1.33.3";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports$1={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck","test-sdk":"jest -c jest.config.sdk.js --runInBand",test:"npm run test-sdk",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest",dev:"vite -c vite.local.config.ts"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4","eslint-plugin-comment-length":"^0.9.2","eslint-plugin-jsdoc":"^46.9.0",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","fs-extra":"^10.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^5.3.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"30 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
|
|
14405
14405
|
|
|
14406
14406
|
/**
|
|
14407
14407
|
* Copyright (c) 2022
|
|
@@ -16313,7 +16313,6 @@ query GetEurekaVizSnapshots(
|
|
|
16313
16313
|
/**
|
|
16314
16314
|
* Returns the full url of the liveboard/viz which can be used to open
|
|
16315
16315
|
* this liveboard inside the full Thoughtspot application in a new tab.
|
|
16316
|
-
*
|
|
16317
16316
|
* @returns url string
|
|
16318
16317
|
*/
|
|
16319
16318
|
getLiveboardUrl() {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* @thoughtspot/visual-embed-sdk version 1.33.3 */
|
|
1
2
|
function _mergeNamespaces(n, m) {
|
|
2
3
|
m.forEach(function (e) {
|
|
3
4
|
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
|
|
@@ -181,8 +182,8 @@ const appendToUrlHash = (url, stringToAppend) => {
|
|
|
181
182
|
const marker = `tsSSOMarker=${encStringToAppend}`;
|
|
182
183
|
let splitAdder = '';
|
|
183
184
|
if (url.indexOf('#') >= 0) {
|
|
184
|
-
// If second half of hash contains a '?' already add a '&' instead of
|
|
185
|
-
// to query params.
|
|
185
|
+
// If second half of hash contains a '?' already add a '&' instead of
|
|
186
|
+
// '?' which appends to query params.
|
|
186
187
|
splitAdder = url.split('#')[1].indexOf('?') >= 0 ? '&' : '?';
|
|
187
188
|
}
|
|
188
189
|
else {
|
|
@@ -2349,8 +2350,11 @@ var HostEvent;
|
|
|
2349
2350
|
* see link:https://developers.thoughtspot.com/docs/runtime-filters#rtOperator[Developer Documentation].
|
|
2350
2351
|
*
|
|
2351
2352
|
* `values` - An array of one or several values. The value definition on the
|
|
2352
|
-
* data type you choose to filter on. For a complete list of supported data types,
|
|
2353
|
-
*
|
|
2353
|
+
* data type you choose to filter on. For a complete list of supported data types, see
|
|
2354
|
+
* link:https://developers.thoughtspot.com/docs/runtime-filters#_supported_data_types[Supported data types]
|
|
2355
|
+
* `type` - To update filters for date time, specify the date format type.
|
|
2356
|
+
* For more information and examples, see link:https://developers.thoughtspot.com/docs/embed-liveboard#_date_filters[Date filters].
|
|
2357
|
+
*
|
|
2354
2358
|
* @example
|
|
2355
2359
|
* ```js
|
|
2356
2360
|
*
|
|
@@ -2480,7 +2484,7 @@ var HostEvent;
|
|
|
2480
2484
|
*/
|
|
2481
2485
|
HostEvent["AskSage"] = "AskSage";
|
|
2482
2486
|
/**
|
|
2483
|
-
* Trigger
|
|
2487
|
+
* Trigger cross filter update action on a Liveboard
|
|
2484
2488
|
* @example
|
|
2485
2489
|
* ```js
|
|
2486
2490
|
* liveboardEmbed.trigger(HostEvent.UpdateCrossFilter, {
|
|
@@ -2495,7 +2499,7 @@ var HostEvent;
|
|
|
2495
2499
|
*/
|
|
2496
2500
|
HostEvent["UpdateCrossFilter"] = "UpdateCrossFilter";
|
|
2497
2501
|
/**
|
|
2498
|
-
* Trigger
|
|
2502
|
+
* Trigger reset action for a personalized Liveboard view.
|
|
2499
2503
|
* @example
|
|
2500
2504
|
* ```js
|
|
2501
2505
|
* liveboardEmbed.trigger(HostEvent.ResetLiveboardPersonalisedView);
|
|
@@ -6274,7 +6278,6 @@ const setEmbedConfig = (newConfig) => {
|
|
|
6274
6278
|
* Fetch wrapper that adds the authentication token to the request.
|
|
6275
6279
|
* Use this to call the ThoughtSpot APIs when using the visual embed sdk.
|
|
6276
6280
|
* The interface for this method is the same as Web `Fetch`.
|
|
6277
|
-
*
|
|
6278
6281
|
* @param input
|
|
6279
6282
|
* @param init
|
|
6280
6283
|
* @example
|
|
@@ -6876,7 +6879,7 @@ class AnswerService {
|
|
|
6876
6879
|
async getTML() {
|
|
6877
6880
|
const { object } = await this.executeQuery(getAnswerTML, {});
|
|
6878
6881
|
const edoc = object[0].edoc;
|
|
6879
|
-
const YAML = await import('./index-
|
|
6882
|
+
const YAML = await import('./index-Ck3m4Sis.js');
|
|
6880
6883
|
const parsedDoc = YAML.parse(edoc);
|
|
6881
6884
|
return {
|
|
6882
6885
|
answer: {
|
|
@@ -13716,7 +13719,6 @@ let sessionInfo = null;
|
|
|
13716
13719
|
* Returns the session info object and caches it for future use.
|
|
13717
13720
|
* Once fetched the session info object is cached and returned from the cache on
|
|
13718
13721
|
* subsequent calls.
|
|
13719
|
-
*
|
|
13720
13722
|
* @example ```js
|
|
13721
13723
|
* const sessionInfo = await getSessionInfo();
|
|
13722
13724
|
* console.log(sessionInfo);
|
|
@@ -13735,7 +13737,6 @@ async function getSessionInfo() {
|
|
|
13735
13737
|
}
|
|
13736
13738
|
/**
|
|
13737
13739
|
* Processes the session info response and returns the session info object.
|
|
13738
|
-
*
|
|
13739
13740
|
* @param sessionInfoResp {any} Response from the session info API.
|
|
13740
13741
|
* @returns {SessionInfo} The session info object.
|
|
13741
13742
|
* @example ```js
|
|
@@ -14473,7 +14474,6 @@ function processCustomAction(e, thoughtSpotHost) {
|
|
|
14473
14474
|
}
|
|
14474
14475
|
/**
|
|
14475
14476
|
* Responds to AuthInit sent from host signifying successful authentication in host.
|
|
14476
|
-
*
|
|
14477
14477
|
* @param e
|
|
14478
14478
|
* @returns {any}
|
|
14479
14479
|
*/
|
|
@@ -14614,7 +14614,7 @@ function processTrigger(iFrame, messageType, thoughtSpotHost, data) {
|
|
|
14614
14614
|
});
|
|
14615
14615
|
}
|
|
14616
14616
|
|
|
14617
|
-
var name="@thoughtspot/visual-embed-sdk";var version$1="1.33.
|
|
14617
|
+
var name="@thoughtspot/visual-embed-sdk";var version$1="1.33.3";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck","test-sdk":"jest -c jest.config.sdk.js --runInBand",test:"npm run test-sdk",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest",dev:"vite -c vite.local.config.ts"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4","eslint-plugin-comment-length":"^0.9.2","eslint-plugin-jsdoc":"^46.9.0",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","fs-extra":"^10.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^5.3.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"30 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
|
|
14618
14618
|
|
|
14619
14619
|
/**
|
|
14620
14620
|
* Copyright (c) 2022
|
|
@@ -16229,7 +16229,6 @@ class LiveboardEmbed extends V1Embed {
|
|
|
16229
16229
|
/**
|
|
16230
16230
|
* Returns the full url of the liveboard/viz which can be used to open
|
|
16231
16231
|
* this liveboard inside the full Thoughtspot application in a new tab.
|
|
16232
|
-
*
|
|
16233
16232
|
* @returns url string
|
|
16234
16233
|
*/
|
|
16235
16234
|
getLiveboardUrl() {
|
package/dist/tsembed.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* @thoughtspot/visual-embed-sdk version 1.33.3 */
|
|
1
2
|
(function (global, factory) {
|
|
2
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
3
4
|
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
@@ -187,8 +188,8 @@
|
|
|
187
188
|
const marker = `tsSSOMarker=${encStringToAppend}`;
|
|
188
189
|
let splitAdder = '';
|
|
189
190
|
if (url.indexOf('#') >= 0) {
|
|
190
|
-
// If second half of hash contains a '?' already add a '&' instead of
|
|
191
|
-
// to query params.
|
|
191
|
+
// If second half of hash contains a '?' already add a '&' instead of
|
|
192
|
+
// '?' which appends to query params.
|
|
192
193
|
splitAdder = url.split('#')[1].indexOf('?') >= 0 ? '&' : '?';
|
|
193
194
|
}
|
|
194
195
|
else {
|
|
@@ -2355,8 +2356,11 @@
|
|
|
2355
2356
|
* see link:https://developers.thoughtspot.com/docs/runtime-filters#rtOperator[Developer Documentation].
|
|
2356
2357
|
*
|
|
2357
2358
|
* `values` - An array of one or several values. The value definition on the
|
|
2358
|
-
* data type you choose to filter on. For a complete list of supported data types,
|
|
2359
|
-
*
|
|
2359
|
+
* data type you choose to filter on. For a complete list of supported data types, see
|
|
2360
|
+
* link:https://developers.thoughtspot.com/docs/runtime-filters#_supported_data_types[Supported data types]
|
|
2361
|
+
* `type` - To update filters for date time, specify the date format type.
|
|
2362
|
+
* For more information and examples, see link:https://developers.thoughtspot.com/docs/embed-liveboard#_date_filters[Date filters].
|
|
2363
|
+
*
|
|
2360
2364
|
* @example
|
|
2361
2365
|
* ```js
|
|
2362
2366
|
*
|
|
@@ -2486,7 +2490,7 @@
|
|
|
2486
2490
|
*/
|
|
2487
2491
|
HostEvent["AskSage"] = "AskSage";
|
|
2488
2492
|
/**
|
|
2489
|
-
* Trigger
|
|
2493
|
+
* Trigger cross filter update action on a Liveboard
|
|
2490
2494
|
* @example
|
|
2491
2495
|
* ```js
|
|
2492
2496
|
* liveboardEmbed.trigger(HostEvent.UpdateCrossFilter, {
|
|
@@ -2501,7 +2505,7 @@
|
|
|
2501
2505
|
*/
|
|
2502
2506
|
HostEvent["UpdateCrossFilter"] = "UpdateCrossFilter";
|
|
2503
2507
|
/**
|
|
2504
|
-
* Trigger
|
|
2508
|
+
* Trigger reset action for a personalized Liveboard view.
|
|
2505
2509
|
* @example
|
|
2506
2510
|
* ```js
|
|
2507
2511
|
* liveboardEmbed.trigger(HostEvent.ResetLiveboardPersonalisedView);
|
|
@@ -6280,7 +6284,6 @@
|
|
|
6280
6284
|
* Fetch wrapper that adds the authentication token to the request.
|
|
6281
6285
|
* Use this to call the ThoughtSpot APIs when using the visual embed sdk.
|
|
6282
6286
|
* The interface for this method is the same as Web `Fetch`.
|
|
6283
|
-
*
|
|
6284
6287
|
* @param input
|
|
6285
6288
|
* @param init
|
|
6286
6289
|
* @example
|
|
@@ -13722,7 +13725,6 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
13722
13725
|
* Returns the session info object and caches it for future use.
|
|
13723
13726
|
* Once fetched the session info object is cached and returned from the cache on
|
|
13724
13727
|
* subsequent calls.
|
|
13725
|
-
*
|
|
13726
13728
|
* @example ```js
|
|
13727
13729
|
* const sessionInfo = await getSessionInfo();
|
|
13728
13730
|
* console.log(sessionInfo);
|
|
@@ -13741,7 +13743,6 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
13741
13743
|
}
|
|
13742
13744
|
/**
|
|
13743
13745
|
* Processes the session info response and returns the session info object.
|
|
13744
|
-
*
|
|
13745
13746
|
* @param sessionInfoResp {any} Response from the session info API.
|
|
13746
13747
|
* @returns {SessionInfo} The session info object.
|
|
13747
13748
|
* @example ```js
|
|
@@ -14479,7 +14480,6 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
14479
14480
|
}
|
|
14480
14481
|
/**
|
|
14481
14482
|
* Responds to AuthInit sent from host signifying successful authentication in host.
|
|
14482
|
-
*
|
|
14483
14483
|
* @param e
|
|
14484
14484
|
* @returns {any}
|
|
14485
14485
|
*/
|
|
@@ -14620,7 +14620,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
14620
14620
|
});
|
|
14621
14621
|
}
|
|
14622
14622
|
|
|
14623
|
-
var name="@thoughtspot/visual-embed-sdk";var version$1="1.33.
|
|
14623
|
+
var name="@thoughtspot/visual-embed-sdk";var version$1="1.33.3";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports$1={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck","test-sdk":"jest -c jest.config.sdk.js --runInBand",test:"npm run test-sdk",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest",dev:"vite -c vite.local.config.ts"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4","eslint-plugin-comment-length":"^0.9.2","eslint-plugin-jsdoc":"^46.9.0",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","fs-extra":"^10.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^5.3.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"30 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
|
|
14624
14624
|
|
|
14625
14625
|
/**
|
|
14626
14626
|
* Copyright (c) 2022
|
|
@@ -16235,7 +16235,6 @@ query GetEurekaVizSnapshots(
|
|
|
16235
16235
|
/**
|
|
16236
16236
|
* Returns the full url of the liveboard/viz which can be used to open
|
|
16237
16237
|
* this liveboard inside the full Thoughtspot application in a new tab.
|
|
16238
|
-
*
|
|
16239
16238
|
* @returns url string
|
|
16240
16239
|
*/
|
|
16241
16240
|
getLiveboardUrl() {
|
|
@@ -1478,7 +1478,6 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
|
|
|
1478
1478
|
*
|
|
1479
1479
|
* Since, this will show preview images, be careful that it may show
|
|
1480
1480
|
* undesired data to the user when using row level security.
|
|
1481
|
-
*
|
|
1482
1481
|
* @example
|
|
1483
1482
|
* ```js
|
|
1484
1483
|
* const embed = new LiveboardEmbed('#embed-container', {
|
|
@@ -1488,7 +1487,6 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
|
|
|
1488
1487
|
* });
|
|
1489
1488
|
* embed.render();
|
|
1490
1489
|
* ```
|
|
1491
|
-
*
|
|
1492
1490
|
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl
|
|
1493
1491
|
*/
|
|
1494
1492
|
showPreviewLoader?: boolean;
|
|
@@ -1576,7 +1574,6 @@ export declare class LiveboardEmbed extends V1Embed {
|
|
|
1576
1574
|
/**
|
|
1577
1575
|
* Returns the full url of the liveboard/viz which can be used to open
|
|
1578
1576
|
* this liveboard inside the full Thoughtspot application in a new tab.
|
|
1579
|
-
*
|
|
1580
1577
|
* @returns url string
|
|
1581
1578
|
*/
|
|
1582
1579
|
getLiveboardUrl(): string;
|
|
@@ -1987,7 +1984,6 @@ export type SessionInfo = {
|
|
|
1987
1984
|
* Returns the session info object and caches it for future use.
|
|
1988
1985
|
* Once fetched the session info object is cached and returned from the cache on
|
|
1989
1986
|
* subsequent calls.
|
|
1990
|
-
*
|
|
1991
1987
|
* @example ```js
|
|
1992
1988
|
* const sessionInfo = await getSessionInfo();
|
|
1993
1989
|
* console.log(sessionInfo);
|
|
@@ -1999,7 +1995,6 @@ export declare function getSessionInfo(): Promise<SessionInfo>;
|
|
|
1999
1995
|
/**
|
|
2000
1996
|
* Returns the cached session info object. If the client is not authenticated the
|
|
2001
1997
|
* function will return null.
|
|
2002
|
-
*
|
|
2003
1998
|
* @example ```js
|
|
2004
1999
|
* const sessionInfo = getCachedSessionInfo();
|
|
2005
2000
|
* if (sessionInfo) {
|
|
@@ -2014,7 +2009,6 @@ export declare function getSessionInfo(): Promise<SessionInfo>;
|
|
|
2014
2009
|
export declare function getCachedSessionInfo(): SessionInfo | null;
|
|
2015
2010
|
/**
|
|
2016
2011
|
* Processes the session info response and returns the session info object.
|
|
2017
|
-
*
|
|
2018
2012
|
* @param sessionInfoResp {any} Response from the session info API.
|
|
2019
2013
|
* @returns {SessionInfo} The session info object.
|
|
2020
2014
|
* @example ```js
|
|
@@ -2027,7 +2021,6 @@ export declare function getCachedSessionInfo(): SessionInfo | null;
|
|
|
2027
2021
|
export declare const getSessionDetails: (sessionInfoResp: any) => SessionInfo;
|
|
2028
2022
|
/**
|
|
2029
2023
|
* Resets the cached session info object and forces a new fetch on the next call.
|
|
2030
|
-
*
|
|
2031
2024
|
* @example ```js
|
|
2032
2025
|
* resetCachedSessionInfo();
|
|
2033
2026
|
* const sessionInfo = await getSessionInfo();
|
|
@@ -4948,8 +4941,11 @@ export declare enum HostEvent {
|
|
|
4948
4941
|
* see link:https://developers.thoughtspot.com/docs/runtime-filters#rtOperator[Developer Documentation].
|
|
4949
4942
|
*
|
|
4950
4943
|
* `values` - An array of one or several values. The value definition on the
|
|
4951
|
-
* data type you choose to filter on. For a complete list of supported data types,
|
|
4952
|
-
*
|
|
4944
|
+
* data type you choose to filter on. For a complete list of supported data types, see
|
|
4945
|
+
* link:https://developers.thoughtspot.com/docs/runtime-filters#_supported_data_types[Supported data types]
|
|
4946
|
+
* `type` - To update filters for date time, specify the date format type.
|
|
4947
|
+
* For more information and examples, see link:https://developers.thoughtspot.com/docs/embed-liveboard#_date_filters[Date filters].
|
|
4948
|
+
*
|
|
4953
4949
|
* @example
|
|
4954
4950
|
* ```js
|
|
4955
4951
|
*
|
|
@@ -5079,7 +5075,7 @@ export declare enum HostEvent {
|
|
|
5079
5075
|
*/
|
|
5080
5076
|
AskSage = "AskSage",
|
|
5081
5077
|
/**
|
|
5082
|
-
* Trigger
|
|
5078
|
+
* Trigger cross filter update action on a Liveboard
|
|
5083
5079
|
* @example
|
|
5084
5080
|
* ```js
|
|
5085
5081
|
* liveboardEmbed.trigger(HostEvent.UpdateCrossFilter, {
|
|
@@ -5094,7 +5090,7 @@ export declare enum HostEvent {
|
|
|
5094
5090
|
*/
|
|
5095
5091
|
UpdateCrossFilter = "UpdateCrossFilter",
|
|
5096
5092
|
/**
|
|
5097
|
-
* Trigger
|
|
5093
|
+
* Trigger reset action for a personalized Liveboard view.
|
|
5098
5094
|
* @example
|
|
5099
5095
|
* ```js
|
|
5100
5096
|
* liveboardEmbed.trigger(HostEvent.ResetLiveboardPersonalisedView);
|
|
@@ -6423,8 +6419,8 @@ export interface CustomCssVariables {
|
|
|
6423
6419
|
/**
|
|
6424
6420
|
* Font color of the text on toggle buttons such as
|
|
6425
6421
|
* **All**, **Answers**, and **Liveboards** on the Home page (Classic experience),
|
|
6426
|
-
* the text color of the chart and table tiles on Home page (New modular Homepage
|
|
6427
|
-
* and title text on the AI-generated charts and tables.
|
|
6422
|
+
* the text color of the chart and table tiles on Home page (New modular Homepage
|
|
6423
|
+
* experience), and title text on the AI-generated charts and tables.
|
|
6428
6424
|
* The default color code is #2770EF.
|
|
6429
6425
|
*
|
|
6430
6426
|
*/
|
|
@@ -7011,7 +7007,6 @@ export declare function testResetMixpanel(): void;
|
|
|
7011
7007
|
* Fetch wrapper that adds the authentication token to the request.
|
|
7012
7008
|
* Use this to call the ThoughtSpot APIs when using the visual embed sdk.
|
|
7013
7009
|
* The interface for this method is the same as Web `Fetch`.
|
|
7014
|
-
*
|
|
7015
7010
|
* @param input
|
|
7016
7011
|
* @param init
|
|
7017
7012
|
* @example
|
|
@@ -1468,7 +1468,6 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
|
|
|
1468
1468
|
*
|
|
1469
1469
|
* Since, this will show preview images, be careful that it may show
|
|
1470
1470
|
* undesired data to the user when using row level security.
|
|
1471
|
-
*
|
|
1472
1471
|
* @example
|
|
1473
1472
|
* ```js
|
|
1474
1473
|
* const embed = new LiveboardEmbed('#embed-container', {
|
|
@@ -1478,7 +1477,6 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
|
|
|
1478
1477
|
* });
|
|
1479
1478
|
* embed.render();
|
|
1480
1479
|
* ```
|
|
1481
|
-
*
|
|
1482
1480
|
* @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl
|
|
1483
1481
|
*/
|
|
1484
1482
|
showPreviewLoader?: boolean;
|
|
@@ -1566,7 +1564,6 @@ export declare class LiveboardEmbed extends V1Embed {
|
|
|
1566
1564
|
/**
|
|
1567
1565
|
* Returns the full url of the liveboard/viz which can be used to open
|
|
1568
1566
|
* this liveboard inside the full Thoughtspot application in a new tab.
|
|
1569
|
-
*
|
|
1570
1567
|
* @returns url string
|
|
1571
1568
|
*/
|
|
1572
1569
|
getLiveboardUrl(): string;
|
|
@@ -4556,8 +4553,11 @@ export declare enum HostEvent {
|
|
|
4556
4553
|
* see link:https://developers.thoughtspot.com/docs/runtime-filters#rtOperator[Developer Documentation].
|
|
4557
4554
|
*
|
|
4558
4555
|
* `values` - An array of one or several values. The value definition on the
|
|
4559
|
-
* data type you choose to filter on. For a complete list of supported data types,
|
|
4560
|
-
*
|
|
4556
|
+
* data type you choose to filter on. For a complete list of supported data types, see
|
|
4557
|
+
* link:https://developers.thoughtspot.com/docs/runtime-filters#_supported_data_types[Supported data types]
|
|
4558
|
+
* `type` - To update filters for date time, specify the date format type.
|
|
4559
|
+
* For more information and examples, see link:https://developers.thoughtspot.com/docs/embed-liveboard#_date_filters[Date filters].
|
|
4560
|
+
*
|
|
4561
4561
|
* @example
|
|
4562
4562
|
* ```js
|
|
4563
4563
|
*
|
|
@@ -4687,7 +4687,7 @@ export declare enum HostEvent {
|
|
|
4687
4687
|
*/
|
|
4688
4688
|
AskSage = "AskSage",
|
|
4689
4689
|
/**
|
|
4690
|
-
* Trigger
|
|
4690
|
+
* Trigger cross filter update action on a Liveboard
|
|
4691
4691
|
* @example
|
|
4692
4692
|
* ```js
|
|
4693
4693
|
* liveboardEmbed.trigger(HostEvent.UpdateCrossFilter, {
|
|
@@ -4702,7 +4702,7 @@ export declare enum HostEvent {
|
|
|
4702
4702
|
*/
|
|
4703
4703
|
UpdateCrossFilter = "UpdateCrossFilter",
|
|
4704
4704
|
/**
|
|
4705
|
-
* Trigger
|
|
4705
|
+
* Trigger reset action for a personalized Liveboard view.
|
|
4706
4706
|
* @example
|
|
4707
4707
|
* ```js
|
|
4708
4708
|
* liveboardEmbed.trigger(HostEvent.ResetLiveboardPersonalisedView);
|
|
@@ -6638,7 +6638,6 @@ export type SessionInfo = {
|
|
|
6638
6638
|
* Returns the session info object and caches it for future use.
|
|
6639
6639
|
* Once fetched the session info object is cached and returned from the cache on
|
|
6640
6640
|
* subsequent calls.
|
|
6641
|
-
*
|
|
6642
6641
|
* @example ```js
|
|
6643
6642
|
* const sessionInfo = await getSessionInfo();
|
|
6644
6643
|
* console.log(sessionInfo);
|
|
@@ -6650,7 +6649,6 @@ export declare function getSessionInfo(): Promise<SessionInfo>;
|
|
|
6650
6649
|
/**
|
|
6651
6650
|
* Returns the cached session info object. If the client is not authenticated the
|
|
6652
6651
|
* function will return null.
|
|
6653
|
-
*
|
|
6654
6652
|
* @example ```js
|
|
6655
6653
|
* const sessionInfo = getCachedSessionInfo();
|
|
6656
6654
|
* if (sessionInfo) {
|
|
@@ -6665,7 +6663,6 @@ export declare function getSessionInfo(): Promise<SessionInfo>;
|
|
|
6665
6663
|
export declare function getCachedSessionInfo(): SessionInfo | null;
|
|
6666
6664
|
/**
|
|
6667
6665
|
* Processes the session info response and returns the session info object.
|
|
6668
|
-
*
|
|
6669
6666
|
* @param sessionInfoResp {any} Response from the session info API.
|
|
6670
6667
|
* @returns {SessionInfo} The session info object.
|
|
6671
6668
|
* @example ```js
|
|
@@ -6678,7 +6675,6 @@ export declare function getCachedSessionInfo(): SessionInfo | null;
|
|
|
6678
6675
|
export declare const getSessionDetails: (sessionInfoResp: any) => SessionInfo;
|
|
6679
6676
|
/**
|
|
6680
6677
|
* Resets the cached session info object and forces a new fetch on the next call.
|
|
6681
|
-
*
|
|
6682
6678
|
* @example ```js
|
|
6683
6679
|
* resetCachedSessionInfo();
|
|
6684
6680
|
* const sessionInfo = await getSessionInfo();
|
|
@@ -6713,8 +6709,8 @@ export interface CustomCssVariables {
|
|
|
6713
6709
|
/**
|
|
6714
6710
|
* Font color of the text on toggle buttons such as
|
|
6715
6711
|
* **All**, **Answers**, and **Liveboards** on the Home page (Classic experience),
|
|
6716
|
-
* the text color of the chart and table tiles on Home page (New modular Homepage
|
|
6717
|
-
* and title text on the AI-generated charts and tables.
|
|
6712
|
+
* the text color of the chart and table tiles on Home page (New modular Homepage
|
|
6713
|
+
* experience), and title text on the AI-generated charts and tables.
|
|
6718
6714
|
* The default color code is #2770EF.
|
|
6719
6715
|
*
|
|
6720
6716
|
*/
|
|
@@ -7301,7 +7297,6 @@ export declare function testResetMixpanel(): void;
|
|
|
7301
7297
|
* Fetch wrapper that adds the authentication token to the request.
|
|
7302
7298
|
* Use this to call the ThoughtSpot APIs when using the visual embed sdk.
|
|
7303
7299
|
* The interface for this method is the same as Web `Fetch`.
|
|
7304
|
-
*
|
|
7305
7300
|
* @param input
|
|
7306
7301
|
* @param init
|
|
7307
7302
|
* @example
|