@thoughtspot/visual-embed-sdk 1.22.0-alpha.2 → 1.22.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/package.json +1 -1
- package/cjs/src/index.d.ts +2 -1
- package/cjs/src/index.d.ts.map +1 -1
- package/cjs/src/index.js.map +1 -1
- package/cjs/src/react/all-types-export.d.ts +1 -1
- package/cjs/src/react/all-types-export.d.ts.map +1 -1
- package/cjs/src/react/all-types-export.js.map +1 -1
- package/dist/src/index.d.ts +2 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/react/all-types-export.d.ts +1 -1
- package/dist/src/react/all-types-export.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +1 -1
- package/dist/tsembed-react.js +1 -1
- package/dist/tsembed.es.js +1 -1
- package/dist/tsembed.js +1 -1
- package/dist/visual-embed-sdk-react-full.d.ts +1 -1
- package/dist/visual-embed-sdk-react.d.ts +1 -1
- package/dist/visual-embed-sdk.d.ts +228 -228
- package/lib/package.json +1 -1
- package/lib/src/index.d.ts +2 -1
- package/lib/src/index.d.ts.map +1 -1
- package/lib/src/index.js.map +1 -1
- package/lib/src/react/all-types-export.d.ts +1 -1
- package/lib/src/react/all-types-export.d.ts.map +1 -1
- package/lib/src/react/all-types-export.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +2 -0
- package/src/react/all-types-export.ts +1 -0
package/cjs/package.json
CHANGED
package/cjs/src/index.d.ts
CHANGED
|
@@ -14,5 +14,6 @@ import { SearchEmbed, SearchViewConfig } from './embed/search';
|
|
|
14
14
|
import { SearchBarEmbed, SearchBarViewConfig } from './embed/search-bar';
|
|
15
15
|
import { AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, getSessionInfo } from './auth';
|
|
16
16
|
import { AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, EmbedConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, ContextMenuTriggerOptions } from './types';
|
|
17
|
-
|
|
17
|
+
import { CustomCssVariables } from './css-variables';
|
|
18
|
+
export { init, logout, prefetch, executeTML, exportTML, getEmbedConfig as getInitConfig, getSessionInfo, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, AppEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, ContextMenuTriggerOptions, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, };
|
|
18
19
|
//# sourceMappingURL=index.d.ts.map
|
package/cjs/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,EACH,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,SAAS,EAChE,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EACH,eAAe,EAAE,UAAU,EAAE,SAAS,EAAE,gBAAgB,EAAE,cAAc,EAC3E,MAAM,QAAQ,CAAC;AAChB,OAAO,EACH,QAAQ,EACR,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,WAAW,EACX,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,cAAc,EACd,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,YAAY,EACZ,kBAAkB,EAClB,yBAAyB,EAC5B,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,EACH,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,SAAS,EAChE,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EACH,eAAe,EAAE,UAAU,EAAE,SAAS,EAAE,gBAAgB,EAAE,cAAc,EAC3E,MAAM,QAAQ,CAAC;AAChB,OAAO,EACH,QAAQ,EACR,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,WAAW,EACX,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,cAAc,EACd,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,YAAY,EACZ,kBAAkB,EAClB,yBAAyB,EAC5B,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAErD,OAAO,EACH,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,UAAU,EACV,SAAS,EACT,cAAc,IAAI,aAAa,EAC/B,cAAc,EACd,WAAW,EACX,cAAc,EACd,aAAa,EACb,cAAc,EACd,QAAQ,EACR,eAAe,EACf,UAAU,EACV,SAAS,EACT,gBAAgB,EAEhB,IAAI,EACJ,QAAQ,EACR,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,yBAAyB,EACzB,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,cAAc,EACd,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,YAAY,EACZ,kBAAkB,EAClB,kBAAkB,GACrB,CAAC"}
|
package/cjs/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;GAQG;AACH,qCAA4D;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;GAQG;AACH,qCAA4D;AA4CxD,yFA5CK,cAAQ,OA4CL;AAMR,qFAlDe,UAAI,OAkDf;AAjDR,uCAEsB;AA8BlB,qFA/BA,WAAI,OA+BA;AAEJ,yFAjCM,eAAQ,OAiCN;AADR,uFAhCgB,aAAM,OAgChB;AAIY,8FApCM,qBAAc,OAoCP;AAF/B,2FAlCwC,iBAAU,OAkCxC;AACV,0FAnCoD,gBAAS,OAmCpD;AAjCb,iDAAuF;AAsCnF,8FAtCK,yBAAa,OAsCL;AACb,+FAvCyC,0BAAc,OAuCzC;AAtClB,2CAA+D;AAmC3D,4FAnCK,oBAAW,OAmCL;AAlCf,mDAAyE;AAmCrE,+FAnCK,2BAAc,OAmCL;AAlClB,iCAEgB;AAoCZ,gGArCA,sBAAe,OAqCA;AACf,2FAtCiB,iBAAU,OAsCjB;AACV,0FAvC6B,gBAAS,OAuC7B;AART,+FA/B0D,qBAAc,OA+B1D;AA7BlB,mCAmBiB;AAsBb,yFAxCA,gBAAQ,OAwCA;AAER,gGAxCA,uBAAe,OAwCA;AACf,2FAxCA,kBAAU,OAwCA;AACV,0FAxCA,iBAAS,OAwCA;AACT,qGAxCA,4BAAoB,OAwCA;AACpB,uFAxCA,cAAM,OAwCA;AAON,iGA7CA,wBAAgB,OA6CA;AANhB,0GA9BA,iCAAyB,OA8BA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { SearchEmbed, LiveboardEmbed, SearchBarEmbed, AppEmbed, useEmbedRef, } from './index';
|
|
2
|
-
export { init, logout, prefetch, getInitConfig, getSessionInfo, PinboardEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, } from '../index';
|
|
2
|
+
export { init, logout, prefetch, getInitConfig, getSessionInfo, PinboardEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, } from '../index';
|
|
3
3
|
//# sourceMappingURL=all-types-export.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"all-types-export.d.ts","sourceRoot":"","sources":["../../../src/react/all-types-export.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,WAAW,EACX,cAAc,EACd,cAAc,EACd,QAAQ,EACR,WAAW,GACd,MAAM,SAAS,CAAC;AAEjB,OAAO,EACH,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,aAAa,EACb,cAAc,EACd,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,gBAAgB,EAEhB,IAAI,EACJ,QAAQ,EACR,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,cAAc,EACd,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,YAAY,EACZ,kBAAkB,GACrB,MAAM,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"all-types-export.d.ts","sourceRoot":"","sources":["../../../src/react/all-types-export.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,WAAW,EACX,cAAc,EACd,cAAc,EACd,QAAQ,EACR,WAAW,GACd,MAAM,SAAS,CAAC;AAEjB,OAAO,EACH,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,aAAa,EACb,cAAc,EACd,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,gBAAgB,EAEhB,IAAI,EACJ,QAAQ,EACR,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,cAAc,EACd,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,YAAY,EACZ,kBAAkB,EAClB,kBAAkB,GACrB,MAAM,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"all-types-export.js","sourceRoot":"","sources":["../../../src/react/all-types-export.ts"],"names":[],"mappings":";;;AAAA,iCAMiB;AALb,oGAAA,WAAW,OAAA;AACX,uGAAA,cAAc,OAAA;AACd,uGAAA,cAAc,OAAA;AACd,iGAAA,QAAQ,OAAA;AACR,oGAAA,WAAW,OAAA;AAGf,
|
|
1
|
+
{"version":3,"file":"all-types-export.js","sourceRoot":"","sources":["../../../src/react/all-types-export.ts"],"names":[],"mappings":";;;AAAA,iCAMiB;AALb,oGAAA,WAAW,OAAA;AACX,uGAAA,cAAc,OAAA;AACd,uGAAA,cAAc,OAAA;AACd,iGAAA,QAAQ,OAAA;AACR,oGAAA,WAAW,OAAA;AAGf,kCAmCkB;AAlCd,6FAAA,IAAI,OAAA;AACJ,+FAAA,MAAM,OAAA;AACN,iGAAA,QAAQ,OAAA;AACR,sGAAA,aAAa,OAAA;AACb,uGAAA,cAAc,OAAA;AACd,sGAAA,aAAa,OAAA;AACb,wGAAA,eAAe,OAAA;AACf,mGAAA,UAAU,OAAA;AACV,kGAAA,SAAS,OAAA;AAET,QAAQ;AACR,6FAAA,IAAI,OAAA;AACJ,iGAAA,QAAQ,OAAA;AAER,wGAAA,eAAe,OAAA;AACf,mGAAA,UAAU,OAAA;AACV,kGAAA,SAAS,OAAA;AACT,6GAAA,oBAAoB,OAAA;AACpB,+FAAA,MAAM,OAAA;AAMN,yGAAA,gBAAgB,OAAA"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -14,5 +14,6 @@ import { SearchEmbed, SearchViewConfig } from './embed/search';
|
|
|
14
14
|
import { SearchBarEmbed, SearchBarViewConfig } from './embed/search-bar';
|
|
15
15
|
import { AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, getSessionInfo } from './auth';
|
|
16
16
|
import { AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, EmbedConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, ContextMenuTriggerOptions } from './types';
|
|
17
|
-
|
|
17
|
+
import { CustomCssVariables } from './css-variables';
|
|
18
|
+
export { init, logout, prefetch, executeTML, exportTML, getEmbedConfig as getInitConfig, getSessionInfo, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, AppEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, ContextMenuTriggerOptions, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, };
|
|
18
19
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,EACH,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,SAAS,EAChE,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EACH,eAAe,EAAE,UAAU,EAAE,SAAS,EAAE,gBAAgB,EAAE,cAAc,EAC3E,MAAM,QAAQ,CAAC;AAChB,OAAO,EACH,QAAQ,EACR,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,WAAW,EACX,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,cAAc,EACd,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,YAAY,EACZ,kBAAkB,EAClB,yBAAyB,EAC5B,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,EACH,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,SAAS,EAChE,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EACH,eAAe,EAAE,UAAU,EAAE,SAAS,EAAE,gBAAgB,EAAE,cAAc,EAC3E,MAAM,QAAQ,CAAC;AAChB,OAAO,EACH,QAAQ,EACR,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,WAAW,EACX,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,cAAc,EACd,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,YAAY,EACZ,kBAAkB,EAClB,yBAAyB,EAC5B,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAErD,OAAO,EACH,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,UAAU,EACV,SAAS,EACT,cAAc,IAAI,aAAa,EAC/B,cAAc,EACd,WAAW,EACX,cAAc,EACd,aAAa,EACb,cAAc,EACd,QAAQ,EACR,eAAe,EACf,UAAU,EACV,SAAS,EACT,gBAAgB,EAEhB,IAAI,EACJ,QAAQ,EACR,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,yBAAyB,EACzB,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,cAAc,EACd,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,YAAY,EACZ,kBAAkB,EAClB,kBAAkB,GACrB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { SearchEmbed, LiveboardEmbed, SearchBarEmbed, AppEmbed, useEmbedRef, } from './index';
|
|
2
|
-
export { init, logout, prefetch, getInitConfig, getSessionInfo, PinboardEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, } from '../index';
|
|
2
|
+
export { init, logout, prefetch, getInitConfig, getSessionInfo, PinboardEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, } from '../index';
|
|
3
3
|
//# sourceMappingURL=all-types-export.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"all-types-export.d.ts","sourceRoot":"","sources":["all-types-export.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,WAAW,EACX,cAAc,EACd,cAAc,EACd,QAAQ,EACR,WAAW,GACd,MAAM,SAAS,CAAC;AAEjB,OAAO,EACH,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,aAAa,EACb,cAAc,EACd,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,gBAAgB,EAEhB,IAAI,EACJ,QAAQ,EACR,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,cAAc,EACd,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,YAAY,EACZ,kBAAkB,GACrB,MAAM,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"all-types-export.d.ts","sourceRoot":"","sources":["all-types-export.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,WAAW,EACX,cAAc,EACd,cAAc,EACd,QAAQ,EACR,WAAW,GACd,MAAM,SAAS,CAAC;AAEjB,OAAO,EACH,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,aAAa,EACb,cAAc,EACd,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,gBAAgB,EAEhB,IAAI,EACJ,QAAQ,EACR,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,cAAc,EACd,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,YAAY,EACZ,kBAAkB,EAClB,kBAAkB,GACrB,MAAM,UAAU,CAAC"}
|
package/dist/tsembed-react.es.js
CHANGED
|
@@ -26670,7 +26670,7 @@ function processTrigger(iFrame, messageType, thoughtSpotHost, data) {
|
|
|
26670
26670
|
});
|
|
26671
26671
|
}
|
|
26672
26672
|
|
|
26673
|
-
var name="@thoughtspot/visual-embed-sdk";var version="1.22.0-alpha.
|
|
26673
|
+
var name="@thoughtspot/visual-embed-sdk";var version="1.22.0-alpha.3";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","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",start:"gatsby develop","build:gatsby":"npm run clean:gatsby && gatsby build --prefix-paths","build:gatsby:noprefix":"npm run clean:gatsby && gatsby build","serve:gatsby":"gatsby serve","clean:gatsby":"gatsby clean","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts":"dts-bundle --name ../../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","docs-cmd":"node scripts/gatsby-commands.js",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme","test-sdk":"jest -c jest.config.sdk.js --runInBand","test-docs":"jest -c jest.config.docs.js",test:"npm run test-sdk && npm run test-docs",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 && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4","eslint-plugin-comment-length":"^0.9.2","eslint-plugin-jsdoc":"^40.1.0",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"^2.45.0","ts-deepmerge":"^6.0.2","use-deep-compare-effect":"^1.8.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","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0","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",gatsby:"3.13.1","gatsby-plugin-algolia":"^0.22.2","gatsby-plugin-catch-links":"^3.1.0","gatsby-plugin-env-variables":"^2.1.0","gatsby-plugin-intl":"^0.3.3","gatsby-plugin-manifest":"^3.2.0","gatsby-plugin-output":"^0.1.3","gatsby-plugin-sass":"6.7.0","gatsby-plugin-sitemap":"^4.10.0","gatsby-source-filesystem":"3.1.0","gatsby-transformer-asciidoc":"2.1.0","gatsby-transformer-rehype":"2.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-puppeteer":"^4.4.0",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",puppeteer:"^7.0.1",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"2.30.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version,description:description,module:module,main:main,types:types,files:files,exports:exports,typesVersions:typesVersions,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};
|
|
26674
26674
|
|
|
26675
26675
|
/**
|
|
26676
26676
|
* Copyright (c) 2022
|
package/dist/tsembed-react.js
CHANGED
|
@@ -26608,7 +26608,7 @@
|
|
|
26608
26608
|
});
|
|
26609
26609
|
}
|
|
26610
26610
|
|
|
26611
|
-
var name="@thoughtspot/visual-embed-sdk";var version="1.22.0-alpha.
|
|
26611
|
+
var name="@thoughtspot/visual-embed-sdk";var version="1.22.0-alpha.3";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","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",start:"gatsby develop","build:gatsby":"npm run clean:gatsby && gatsby build --prefix-paths","build:gatsby:noprefix":"npm run clean:gatsby && gatsby build","serve:gatsby":"gatsby serve","clean:gatsby":"gatsby clean","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts":"dts-bundle --name ../../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","docs-cmd":"node scripts/gatsby-commands.js",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme","test-sdk":"jest -c jest.config.sdk.js --runInBand","test-docs":"jest -c jest.config.docs.js",test:"npm run test-sdk && npm run test-docs",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 && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4","eslint-plugin-comment-length":"^0.9.2","eslint-plugin-jsdoc":"^40.1.0",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"^2.45.0","ts-deepmerge":"^6.0.2","use-deep-compare-effect":"^1.8.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","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0","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",gatsby:"3.13.1","gatsby-plugin-algolia":"^0.22.2","gatsby-plugin-catch-links":"^3.1.0","gatsby-plugin-env-variables":"^2.1.0","gatsby-plugin-intl":"^0.3.3","gatsby-plugin-manifest":"^3.2.0","gatsby-plugin-output":"^0.1.3","gatsby-plugin-sass":"6.7.0","gatsby-plugin-sitemap":"^4.10.0","gatsby-source-filesystem":"3.1.0","gatsby-transformer-asciidoc":"2.1.0","gatsby-transformer-rehype":"2.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-puppeteer":"^4.4.0",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",puppeteer:"^7.0.1",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"2.30.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,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};
|
|
26612
26612
|
|
|
26613
26613
|
/**
|
|
26614
26614
|
* Copyright (c) 2022
|
package/dist/tsembed.es.js
CHANGED
|
@@ -27517,7 +27517,7 @@ function processTrigger(iFrame, messageType, thoughtSpotHost, data) {
|
|
|
27517
27517
|
});
|
|
27518
27518
|
}
|
|
27519
27519
|
|
|
27520
|
-
var name="@thoughtspot/visual-embed-sdk";var version="1.22.0-alpha.
|
|
27520
|
+
var name="@thoughtspot/visual-embed-sdk";var version="1.22.0-alpha.3";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","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",start:"gatsby develop","build:gatsby":"npm run clean:gatsby && gatsby build --prefix-paths","build:gatsby:noprefix":"npm run clean:gatsby && gatsby build","serve:gatsby":"gatsby serve","clean:gatsby":"gatsby clean","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts":"dts-bundle --name ../../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","docs-cmd":"node scripts/gatsby-commands.js",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme","test-sdk":"jest -c jest.config.sdk.js --runInBand","test-docs":"jest -c jest.config.docs.js",test:"npm run test-sdk && npm run test-docs",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 && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4","eslint-plugin-comment-length":"^0.9.2","eslint-plugin-jsdoc":"^40.1.0",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"^2.45.0","ts-deepmerge":"^6.0.2","use-deep-compare-effect":"^1.8.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","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0","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",gatsby:"3.13.1","gatsby-plugin-algolia":"^0.22.2","gatsby-plugin-catch-links":"^3.1.0","gatsby-plugin-env-variables":"^2.1.0","gatsby-plugin-intl":"^0.3.3","gatsby-plugin-manifest":"^3.2.0","gatsby-plugin-output":"^0.1.3","gatsby-plugin-sass":"6.7.0","gatsby-plugin-sitemap":"^4.10.0","gatsby-source-filesystem":"3.1.0","gatsby-transformer-asciidoc":"2.1.0","gatsby-transformer-rehype":"2.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-puppeteer":"^4.4.0",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",puppeteer:"^7.0.1",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"2.30.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version,description:description,module:module,main:main,types:types,files:files,exports:exports,typesVersions:typesVersions,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};
|
|
27521
27521
|
|
|
27522
27522
|
/**
|
|
27523
27523
|
* Copyright (c) 2022
|
package/dist/tsembed.js
CHANGED
|
@@ -27415,7 +27415,7 @@
|
|
|
27415
27415
|
});
|
|
27416
27416
|
}
|
|
27417
27417
|
|
|
27418
|
-
var name="@thoughtspot/visual-embed-sdk";var version="1.22.0-alpha.
|
|
27418
|
+
var name="@thoughtspot/visual-embed-sdk";var version="1.22.0-alpha.3";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","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",start:"gatsby develop","build:gatsby":"npm run clean:gatsby && gatsby build --prefix-paths","build:gatsby:noprefix":"npm run clean:gatsby && gatsby build","serve:gatsby":"gatsby serve","clean:gatsby":"gatsby clean","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts":"dts-bundle --name ../../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","docs-cmd":"node scripts/gatsby-commands.js",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme","test-sdk":"jest -c jest.config.sdk.js --runInBand","test-docs":"jest -c jest.config.docs.js",test:"npm run test-sdk && npm run test-docs",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 && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4","eslint-plugin-comment-length":"^0.9.2","eslint-plugin-jsdoc":"^40.1.0",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"^2.45.0","ts-deepmerge":"^6.0.2","use-deep-compare-effect":"^1.8.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","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0","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",gatsby:"3.13.1","gatsby-plugin-algolia":"^0.22.2","gatsby-plugin-catch-links":"^3.1.0","gatsby-plugin-env-variables":"^2.1.0","gatsby-plugin-intl":"^0.3.3","gatsby-plugin-manifest":"^3.2.0","gatsby-plugin-output":"^0.1.3","gatsby-plugin-sass":"6.7.0","gatsby-plugin-sitemap":"^4.10.0","gatsby-source-filesystem":"3.1.0","gatsby-transformer-asciidoc":"2.1.0","gatsby-transformer-rehype":"2.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-puppeteer":"^4.4.0",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",puppeteer:"^7.0.1",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"2.30.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,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};
|
|
27419
27419
|
|
|
27420
27420
|
/**
|
|
27421
27421
|
* Copyright (c) 2022
|
|
@@ -102,7 +102,7 @@ export const useEmbedRef: () => React.MutableRefObject<TsEmbed>;
|
|
|
102
102
|
* @summary ThoughtSpot Visual Embed SDK
|
|
103
103
|
* @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
|
|
104
104
|
*/
|
|
105
|
-
export { init, logout, prefetch, executeTML, exportTML, getEmbedConfig as getInitConfig, getSessionInfo, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, AppEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, ContextMenuTriggerOptions, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, };
|
|
105
|
+
export { init, logout, prefetch, executeTML, exportTML, getEmbedConfig as getInitConfig, getSessionInfo, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, AppEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, ContextMenuTriggerOptions, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, };
|
|
106
106
|
|
|
107
107
|
/**
|
|
108
108
|
* @group Embed components
|
|
@@ -783,7 +783,7 @@ export function getViewPropsAndListeners<T extends EmbedProps, U extends ViewCon
|
|
|
783
783
|
* @summary ThoughtSpot Visual Embed SDK
|
|
784
784
|
* @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
|
|
785
785
|
*/
|
|
786
|
-
export { init, logout, prefetch, executeTML, exportTML, getEmbedConfig as getInitConfig, getSessionInfo, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, AppEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, ContextMenuTriggerOptions, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, };
|
|
786
|
+
export { init, logout, prefetch, executeTML, exportTML, getEmbedConfig as getInitConfig, getSessionInfo, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, AppEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, ContextMenuTriggerOptions, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, };
|
|
787
787
|
|
|
788
788
|
/**
|
|
789
789
|
* Copyright (c) 2023
|
|
@@ -13,7 +13,7 @@ import EventEmitter from 'eventemitter3';
|
|
|
13
13
|
* @summary ThoughtSpot Visual Embed SDK
|
|
14
14
|
* @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
|
|
15
15
|
*/
|
|
16
|
-
export { init, logout, prefetch, executeTML, exportTML, getEmbedConfig as getInitConfig, getSessionInfo, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, AppEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, ContextMenuTriggerOptions, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, };
|
|
16
|
+
export { init, logout, prefetch, executeTML, exportTML, getEmbedConfig as getInitConfig, getSessionInfo, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, AppEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, ContextMenuTriggerOptions, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, };
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Copyright (c) 2022
|
|
@@ -2821,233 +2821,6 @@ export enum ContextMenuTriggerOptions {
|
|
|
2821
2821
|
RIGHT_CLICK = "right-click"
|
|
2822
2822
|
}
|
|
2823
2823
|
|
|
2824
|
-
/**
|
|
2825
|
-
* Copyright (c) 2022
|
|
2826
|
-
*
|
|
2827
|
-
* Base classes
|
|
2828
|
-
*
|
|
2829
|
-
* @summary Base classes
|
|
2830
|
-
* @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
|
|
2831
|
-
*/
|
|
2832
|
-
/**
|
|
2833
|
-
* Global prefix for all Thoughtspot postHash Params.
|
|
2834
|
-
*/
|
|
2835
|
-
export const THOUGHTSPOT_PARAM_PREFIX = "ts-";
|
|
2836
|
-
/**
|
|
2837
|
-
* Base class for embedding v2 experience
|
|
2838
|
-
* Note: the v2 version of ThoughtSpot Blink is built on the new stack:
|
|
2839
|
-
* React+GraphQL
|
|
2840
|
-
*/
|
|
2841
|
-
export class TsEmbed {
|
|
2842
|
-
protected isAppInitialized: boolean;
|
|
2843
|
-
/**
|
|
2844
|
-
* A reference to the iframe within which the ThoughtSpot app
|
|
2845
|
-
* will be rendered.
|
|
2846
|
-
*/
|
|
2847
|
-
protected iFrame: HTMLIFrameElement;
|
|
2848
|
-
protected viewConfig: ViewConfig;
|
|
2849
|
-
protected embedConfig: EmbedConfig;
|
|
2850
|
-
/**
|
|
2851
|
-
* The ThoughtSpot hostname or IP address
|
|
2852
|
-
*/
|
|
2853
|
-
protected thoughtSpotHost: string;
|
|
2854
|
-
protected thoughtSpotV2Base: string;
|
|
2855
|
-
constructor(domSelector: DOMSelector, viewConfig?: ViewConfig);
|
|
2856
|
-
/**
|
|
2857
|
-
* Handles errors within the SDK
|
|
2858
|
-
*
|
|
2859
|
-
* @param error The error message or object
|
|
2860
|
-
*/
|
|
2861
|
-
protected handleError(error: string | Record<string, unknown>): void;
|
|
2862
|
-
/**
|
|
2863
|
-
* Constructs the base URL string to load the ThoughtSpot app.
|
|
2864
|
-
*
|
|
2865
|
-
* @param query
|
|
2866
|
-
*/
|
|
2867
|
-
protected getEmbedBasePath(query: string): string;
|
|
2868
|
-
/**
|
|
2869
|
-
* Common query params set for all the embed modes.
|
|
2870
|
-
*
|
|
2871
|
-
* @param queryParams
|
|
2872
|
-
* @returns queryParams
|
|
2873
|
-
*/
|
|
2874
|
-
protected getBaseQueryParams(queryParams?: {}): {};
|
|
2875
|
-
/**
|
|
2876
|
-
* Constructs the base URL string to load v1 of the ThoughtSpot app.
|
|
2877
|
-
* This is used for embedding Liveboards, visualizations, and full application.
|
|
2878
|
-
*
|
|
2879
|
-
* @param queryString The query string to append to the URL.
|
|
2880
|
-
* @param isAppEmbed A Boolean parameter to specify if you are embedding
|
|
2881
|
-
* the full application.
|
|
2882
|
-
*/
|
|
2883
|
-
protected getV1EmbedBasePath(queryString: string): string;
|
|
2884
|
-
protected getEmbedParams(): string;
|
|
2885
|
-
protected getRootIframeSrc(): string;
|
|
2886
|
-
protected createIframeEl(frameSrc: string): HTMLIFrameElement;
|
|
2887
|
-
/**
|
|
2888
|
-
* Renders the embedded ThoughtSpot app in an iframe and sets up
|
|
2889
|
-
* event listeners.
|
|
2890
|
-
*
|
|
2891
|
-
* @param url
|
|
2892
|
-
* @param frameOptions
|
|
2893
|
-
*/
|
|
2894
|
-
protected renderIFrame(url: string): Promise<any>;
|
|
2895
|
-
protected insertIntoDOM(child: string | Node): void;
|
|
2896
|
-
/**
|
|
2897
|
-
* Sets the height of the iframe
|
|
2898
|
-
*
|
|
2899
|
-
* @param height The height in pixels
|
|
2900
|
-
*/
|
|
2901
|
-
protected setIFrameHeight(height: number | string): void;
|
|
2902
|
-
/**
|
|
2903
|
-
* Executes all registered event handlers for a particular event type
|
|
2904
|
-
*
|
|
2905
|
-
* @param eventType The event type
|
|
2906
|
-
* @param data The payload invoked with the event handler
|
|
2907
|
-
* @param eventPort The event Port for a specific MessageChannel
|
|
2908
|
-
*/
|
|
2909
|
-
protected executeCallbacks(eventType: EmbedEvent, data: any, eventPort?: MessagePort | void): void;
|
|
2910
|
-
/**
|
|
2911
|
-
* Returns the ThoughtSpot hostname or IP address.
|
|
2912
|
-
*/
|
|
2913
|
-
protected getThoughtSpotHost(): string;
|
|
2914
|
-
/**
|
|
2915
|
-
* Gets the v1 event type (if applicable) for the EmbedEvent type
|
|
2916
|
-
*
|
|
2917
|
-
* @param eventType The v2 event type
|
|
2918
|
-
* @returns The corresponding v1 event type if one exists
|
|
2919
|
-
* or else the v2 event type itself
|
|
2920
|
-
*/
|
|
2921
|
-
protected getCompatibleEventType(eventType: EmbedEvent): EmbedEvent;
|
|
2922
|
-
/**
|
|
2923
|
-
* Calculates the iframe center for the current visible viewPort
|
|
2924
|
-
* of iframe using Scroll position of Host App, offsetTop for iframe
|
|
2925
|
-
* in Host app. ViewPort height of the tab.
|
|
2926
|
-
*
|
|
2927
|
-
* @returns iframe Center in visible viewport,
|
|
2928
|
-
* Iframe height,
|
|
2929
|
-
* View port height.
|
|
2930
|
-
*/
|
|
2931
|
-
protected getIframeCenter(): {
|
|
2932
|
-
iframeCenter: number;
|
|
2933
|
-
iframeScrolled: number;
|
|
2934
|
-
iframeHeight: number;
|
|
2935
|
-
viewPortHeight: number;
|
|
2936
|
-
iframeVisibleViewPort: number;
|
|
2937
|
-
};
|
|
2938
|
-
/**
|
|
2939
|
-
* Registers an event listener to trigger an alert when the ThoughtSpot app
|
|
2940
|
-
* sends an event of a particular message type to the host application.
|
|
2941
|
-
*
|
|
2942
|
-
* @param messageType The message type
|
|
2943
|
-
* @param callback A callback as a function
|
|
2944
|
-
* @param options The message options
|
|
2945
|
-
* @example
|
|
2946
|
-
* ```js
|
|
2947
|
-
* tsEmbed.on(EmbedEvent.Error, (data) => {
|
|
2948
|
-
* console.error(data);
|
|
2949
|
-
* });
|
|
2950
|
-
* ```
|
|
2951
|
-
* @example
|
|
2952
|
-
* ```js
|
|
2953
|
-
* tsEmbed.on(EmbedEvent.Save, (data) => {
|
|
2954
|
-
* console.log("Answer save clicked", data);
|
|
2955
|
-
* }, {
|
|
2956
|
-
* start: true // This will trigger the callback on start of save
|
|
2957
|
-
* });
|
|
2958
|
-
* ```
|
|
2959
|
-
*/
|
|
2960
|
-
on(messageType: EmbedEvent, callback: MessageCallback, options?: MessageOptions): typeof TsEmbed.prototype;
|
|
2961
|
-
/**
|
|
2962
|
-
* Removes an event listener for a particular event type.
|
|
2963
|
-
*
|
|
2964
|
-
* @param messageType The message type
|
|
2965
|
-
* @param callback The callback to remove
|
|
2966
|
-
* @example
|
|
2967
|
-
* ```js
|
|
2968
|
-
* const errorHandler = (data) => { console.error(data); };
|
|
2969
|
-
* tsEmbed.on(EmbedEvent.Error, errorHandler);
|
|
2970
|
-
* tsEmbed.off(EmbedEvent.Error, errorHandler);
|
|
2971
|
-
* ```
|
|
2972
|
-
*/
|
|
2973
|
-
off(messageType: EmbedEvent, callback: MessageCallback): typeof TsEmbed.prototype;
|
|
2974
|
-
/**
|
|
2975
|
-
* Triggers an event to the embedded app
|
|
2976
|
-
*
|
|
2977
|
-
* @param messageType The event type
|
|
2978
|
-
* @param data The payload to send with the message
|
|
2979
|
-
*/
|
|
2980
|
-
trigger(messageType: HostEvent, data?: any): Promise<any>;
|
|
2981
|
-
/**
|
|
2982
|
-
* Marks the ThoughtSpot object to have been rendered
|
|
2983
|
-
* Needs to be overridden by subclasses to do the actual
|
|
2984
|
-
* rendering of the iframe.
|
|
2985
|
-
*
|
|
2986
|
-
* @param args
|
|
2987
|
-
*/
|
|
2988
|
-
render(): TsEmbed;
|
|
2989
|
-
/**
|
|
2990
|
-
* Get the Post Url Params for THOUGHTSPOT from the current
|
|
2991
|
-
* host app URL.
|
|
2992
|
-
* THOUGHTSPOT URL params starts with a prefix "ts-"
|
|
2993
|
-
*
|
|
2994
|
-
* @version SDK: 1.14.0 | ThoughtSpot: 8.4.0.cl, 8.4.1-sw
|
|
2995
|
-
*/
|
|
2996
|
-
getThoughtSpotPostUrlParams(): string;
|
|
2997
|
-
/**
|
|
2998
|
-
* Destroys the ThoughtSpot embed, and remove any nodes from the DOM.
|
|
2999
|
-
*
|
|
3000
|
-
* @version SDK: 1.19.1 | ThoughtSpot: *
|
|
3001
|
-
*/
|
|
3002
|
-
destroy(): void;
|
|
3003
|
-
getUnderlyingFrameElement(): HTMLIFrameElement;
|
|
3004
|
-
/**
|
|
3005
|
-
* Prerenders a generic instance of the TS component.
|
|
3006
|
-
* This means without the path but with the flags already applied.
|
|
3007
|
-
* This is useful for prerendering the component in the background.
|
|
3008
|
-
*
|
|
3009
|
-
* @version SDK: 1.22.0
|
|
3010
|
-
* @returns
|
|
3011
|
-
*/
|
|
3012
|
-
prerenderGeneric(): Promise<any>;
|
|
3013
|
-
}
|
|
3014
|
-
/**
|
|
3015
|
-
* Base class for embedding v1 experience
|
|
3016
|
-
* Note: The v1 version of ThoughtSpot Blink works on the AngularJS stack
|
|
3017
|
-
* which is currently under migration to v2
|
|
3018
|
-
*
|
|
3019
|
-
* @inheritdoc
|
|
3020
|
-
*/
|
|
3021
|
-
export class V1Embed extends TsEmbed {
|
|
3022
|
-
protected viewConfig: ViewConfig;
|
|
3023
|
-
constructor(domSelector: DOMSelector, viewConfig: ViewConfig);
|
|
3024
|
-
/**
|
|
3025
|
-
* Render the app in an iframe and set up event handlers
|
|
3026
|
-
*
|
|
3027
|
-
* @param iframeSrc
|
|
3028
|
-
*/
|
|
3029
|
-
protected renderV1Embed(iframeSrc: string): any;
|
|
3030
|
-
protected getRootIframeSrc(): string;
|
|
3031
|
-
/**
|
|
3032
|
-
* @inheritdoc
|
|
3033
|
-
* @example
|
|
3034
|
-
* ```js
|
|
3035
|
-
* tsEmbed.on(EmbedEvent.Error, (data) => {
|
|
3036
|
-
* console.error(data);
|
|
3037
|
-
* });
|
|
3038
|
-
* ```
|
|
3039
|
-
* @example
|
|
3040
|
-
* ```js
|
|
3041
|
-
* tsEmbed.on(EmbedEvent.Save, (data) => {
|
|
3042
|
-
* console.log("Answer save clicked", data);
|
|
3043
|
-
* }, {
|
|
3044
|
-
* start: true // This will trigger the callback on start of save
|
|
3045
|
-
* });
|
|
3046
|
-
* ```
|
|
3047
|
-
*/
|
|
3048
|
-
on(messageType: EmbedEvent, callback: MessageCallback, options?: MessageOptions): typeof TsEmbed.prototype;
|
|
3049
|
-
}
|
|
3050
|
-
|
|
3051
2824
|
/**
|
|
3052
2825
|
* The list of customization css variables. These
|
|
3053
2826
|
* are the only allowed variables possible.
|
|
@@ -3351,3 +3124,230 @@ export interface CustomCssVariables {
|
|
|
3351
3124
|
'--ts-var-dialog-footer-background'?: string;
|
|
3352
3125
|
}
|
|
3353
3126
|
|
|
3127
|
+
/**
|
|
3128
|
+
* Copyright (c) 2022
|
|
3129
|
+
*
|
|
3130
|
+
* Base classes
|
|
3131
|
+
*
|
|
3132
|
+
* @summary Base classes
|
|
3133
|
+
* @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
|
|
3134
|
+
*/
|
|
3135
|
+
/**
|
|
3136
|
+
* Global prefix for all Thoughtspot postHash Params.
|
|
3137
|
+
*/
|
|
3138
|
+
export const THOUGHTSPOT_PARAM_PREFIX = "ts-";
|
|
3139
|
+
/**
|
|
3140
|
+
* Base class for embedding v2 experience
|
|
3141
|
+
* Note: the v2 version of ThoughtSpot Blink is built on the new stack:
|
|
3142
|
+
* React+GraphQL
|
|
3143
|
+
*/
|
|
3144
|
+
export class TsEmbed {
|
|
3145
|
+
protected isAppInitialized: boolean;
|
|
3146
|
+
/**
|
|
3147
|
+
* A reference to the iframe within which the ThoughtSpot app
|
|
3148
|
+
* will be rendered.
|
|
3149
|
+
*/
|
|
3150
|
+
protected iFrame: HTMLIFrameElement;
|
|
3151
|
+
protected viewConfig: ViewConfig;
|
|
3152
|
+
protected embedConfig: EmbedConfig;
|
|
3153
|
+
/**
|
|
3154
|
+
* The ThoughtSpot hostname or IP address
|
|
3155
|
+
*/
|
|
3156
|
+
protected thoughtSpotHost: string;
|
|
3157
|
+
protected thoughtSpotV2Base: string;
|
|
3158
|
+
constructor(domSelector: DOMSelector, viewConfig?: ViewConfig);
|
|
3159
|
+
/**
|
|
3160
|
+
* Handles errors within the SDK
|
|
3161
|
+
*
|
|
3162
|
+
* @param error The error message or object
|
|
3163
|
+
*/
|
|
3164
|
+
protected handleError(error: string | Record<string, unknown>): void;
|
|
3165
|
+
/**
|
|
3166
|
+
* Constructs the base URL string to load the ThoughtSpot app.
|
|
3167
|
+
*
|
|
3168
|
+
* @param query
|
|
3169
|
+
*/
|
|
3170
|
+
protected getEmbedBasePath(query: string): string;
|
|
3171
|
+
/**
|
|
3172
|
+
* Common query params set for all the embed modes.
|
|
3173
|
+
*
|
|
3174
|
+
* @param queryParams
|
|
3175
|
+
* @returns queryParams
|
|
3176
|
+
*/
|
|
3177
|
+
protected getBaseQueryParams(queryParams?: {}): {};
|
|
3178
|
+
/**
|
|
3179
|
+
* Constructs the base URL string to load v1 of the ThoughtSpot app.
|
|
3180
|
+
* This is used for embedding Liveboards, visualizations, and full application.
|
|
3181
|
+
*
|
|
3182
|
+
* @param queryString The query string to append to the URL.
|
|
3183
|
+
* @param isAppEmbed A Boolean parameter to specify if you are embedding
|
|
3184
|
+
* the full application.
|
|
3185
|
+
*/
|
|
3186
|
+
protected getV1EmbedBasePath(queryString: string): string;
|
|
3187
|
+
protected getEmbedParams(): string;
|
|
3188
|
+
protected getRootIframeSrc(): string;
|
|
3189
|
+
protected createIframeEl(frameSrc: string): HTMLIFrameElement;
|
|
3190
|
+
/**
|
|
3191
|
+
* Renders the embedded ThoughtSpot app in an iframe and sets up
|
|
3192
|
+
* event listeners.
|
|
3193
|
+
*
|
|
3194
|
+
* @param url
|
|
3195
|
+
* @param frameOptions
|
|
3196
|
+
*/
|
|
3197
|
+
protected renderIFrame(url: string): Promise<any>;
|
|
3198
|
+
protected insertIntoDOM(child: string | Node): void;
|
|
3199
|
+
/**
|
|
3200
|
+
* Sets the height of the iframe
|
|
3201
|
+
*
|
|
3202
|
+
* @param height The height in pixels
|
|
3203
|
+
*/
|
|
3204
|
+
protected setIFrameHeight(height: number | string): void;
|
|
3205
|
+
/**
|
|
3206
|
+
* Executes all registered event handlers for a particular event type
|
|
3207
|
+
*
|
|
3208
|
+
* @param eventType The event type
|
|
3209
|
+
* @param data The payload invoked with the event handler
|
|
3210
|
+
* @param eventPort The event Port for a specific MessageChannel
|
|
3211
|
+
*/
|
|
3212
|
+
protected executeCallbacks(eventType: EmbedEvent, data: any, eventPort?: MessagePort | void): void;
|
|
3213
|
+
/**
|
|
3214
|
+
* Returns the ThoughtSpot hostname or IP address.
|
|
3215
|
+
*/
|
|
3216
|
+
protected getThoughtSpotHost(): string;
|
|
3217
|
+
/**
|
|
3218
|
+
* Gets the v1 event type (if applicable) for the EmbedEvent type
|
|
3219
|
+
*
|
|
3220
|
+
* @param eventType The v2 event type
|
|
3221
|
+
* @returns The corresponding v1 event type if one exists
|
|
3222
|
+
* or else the v2 event type itself
|
|
3223
|
+
*/
|
|
3224
|
+
protected getCompatibleEventType(eventType: EmbedEvent): EmbedEvent;
|
|
3225
|
+
/**
|
|
3226
|
+
* Calculates the iframe center for the current visible viewPort
|
|
3227
|
+
* of iframe using Scroll position of Host App, offsetTop for iframe
|
|
3228
|
+
* in Host app. ViewPort height of the tab.
|
|
3229
|
+
*
|
|
3230
|
+
* @returns iframe Center in visible viewport,
|
|
3231
|
+
* Iframe height,
|
|
3232
|
+
* View port height.
|
|
3233
|
+
*/
|
|
3234
|
+
protected getIframeCenter(): {
|
|
3235
|
+
iframeCenter: number;
|
|
3236
|
+
iframeScrolled: number;
|
|
3237
|
+
iframeHeight: number;
|
|
3238
|
+
viewPortHeight: number;
|
|
3239
|
+
iframeVisibleViewPort: number;
|
|
3240
|
+
};
|
|
3241
|
+
/**
|
|
3242
|
+
* Registers an event listener to trigger an alert when the ThoughtSpot app
|
|
3243
|
+
* sends an event of a particular message type to the host application.
|
|
3244
|
+
*
|
|
3245
|
+
* @param messageType The message type
|
|
3246
|
+
* @param callback A callback as a function
|
|
3247
|
+
* @param options The message options
|
|
3248
|
+
* @example
|
|
3249
|
+
* ```js
|
|
3250
|
+
* tsEmbed.on(EmbedEvent.Error, (data) => {
|
|
3251
|
+
* console.error(data);
|
|
3252
|
+
* });
|
|
3253
|
+
* ```
|
|
3254
|
+
* @example
|
|
3255
|
+
* ```js
|
|
3256
|
+
* tsEmbed.on(EmbedEvent.Save, (data) => {
|
|
3257
|
+
* console.log("Answer save clicked", data);
|
|
3258
|
+
* }, {
|
|
3259
|
+
* start: true // This will trigger the callback on start of save
|
|
3260
|
+
* });
|
|
3261
|
+
* ```
|
|
3262
|
+
*/
|
|
3263
|
+
on(messageType: EmbedEvent, callback: MessageCallback, options?: MessageOptions): typeof TsEmbed.prototype;
|
|
3264
|
+
/**
|
|
3265
|
+
* Removes an event listener for a particular event type.
|
|
3266
|
+
*
|
|
3267
|
+
* @param messageType The message type
|
|
3268
|
+
* @param callback The callback to remove
|
|
3269
|
+
* @example
|
|
3270
|
+
* ```js
|
|
3271
|
+
* const errorHandler = (data) => { console.error(data); };
|
|
3272
|
+
* tsEmbed.on(EmbedEvent.Error, errorHandler);
|
|
3273
|
+
* tsEmbed.off(EmbedEvent.Error, errorHandler);
|
|
3274
|
+
* ```
|
|
3275
|
+
*/
|
|
3276
|
+
off(messageType: EmbedEvent, callback: MessageCallback): typeof TsEmbed.prototype;
|
|
3277
|
+
/**
|
|
3278
|
+
* Triggers an event to the embedded app
|
|
3279
|
+
*
|
|
3280
|
+
* @param messageType The event type
|
|
3281
|
+
* @param data The payload to send with the message
|
|
3282
|
+
*/
|
|
3283
|
+
trigger(messageType: HostEvent, data?: any): Promise<any>;
|
|
3284
|
+
/**
|
|
3285
|
+
* Marks the ThoughtSpot object to have been rendered
|
|
3286
|
+
* Needs to be overridden by subclasses to do the actual
|
|
3287
|
+
* rendering of the iframe.
|
|
3288
|
+
*
|
|
3289
|
+
* @param args
|
|
3290
|
+
*/
|
|
3291
|
+
render(): TsEmbed;
|
|
3292
|
+
/**
|
|
3293
|
+
* Get the Post Url Params for THOUGHTSPOT from the current
|
|
3294
|
+
* host app URL.
|
|
3295
|
+
* THOUGHTSPOT URL params starts with a prefix "ts-"
|
|
3296
|
+
*
|
|
3297
|
+
* @version SDK: 1.14.0 | ThoughtSpot: 8.4.0.cl, 8.4.1-sw
|
|
3298
|
+
*/
|
|
3299
|
+
getThoughtSpotPostUrlParams(): string;
|
|
3300
|
+
/**
|
|
3301
|
+
* Destroys the ThoughtSpot embed, and remove any nodes from the DOM.
|
|
3302
|
+
*
|
|
3303
|
+
* @version SDK: 1.19.1 | ThoughtSpot: *
|
|
3304
|
+
*/
|
|
3305
|
+
destroy(): void;
|
|
3306
|
+
getUnderlyingFrameElement(): HTMLIFrameElement;
|
|
3307
|
+
/**
|
|
3308
|
+
* Prerenders a generic instance of the TS component.
|
|
3309
|
+
* This means without the path but with the flags already applied.
|
|
3310
|
+
* This is useful for prerendering the component in the background.
|
|
3311
|
+
*
|
|
3312
|
+
* @version SDK: 1.22.0
|
|
3313
|
+
* @returns
|
|
3314
|
+
*/
|
|
3315
|
+
prerenderGeneric(): Promise<any>;
|
|
3316
|
+
}
|
|
3317
|
+
/**
|
|
3318
|
+
* Base class for embedding v1 experience
|
|
3319
|
+
* Note: The v1 version of ThoughtSpot Blink works on the AngularJS stack
|
|
3320
|
+
* which is currently under migration to v2
|
|
3321
|
+
*
|
|
3322
|
+
* @inheritdoc
|
|
3323
|
+
*/
|
|
3324
|
+
export class V1Embed extends TsEmbed {
|
|
3325
|
+
protected viewConfig: ViewConfig;
|
|
3326
|
+
constructor(domSelector: DOMSelector, viewConfig: ViewConfig);
|
|
3327
|
+
/**
|
|
3328
|
+
* Render the app in an iframe and set up event handlers
|
|
3329
|
+
*
|
|
3330
|
+
* @param iframeSrc
|
|
3331
|
+
*/
|
|
3332
|
+
protected renderV1Embed(iframeSrc: string): any;
|
|
3333
|
+
protected getRootIframeSrc(): string;
|
|
3334
|
+
/**
|
|
3335
|
+
* @inheritdoc
|
|
3336
|
+
* @example
|
|
3337
|
+
* ```js
|
|
3338
|
+
* tsEmbed.on(EmbedEvent.Error, (data) => {
|
|
3339
|
+
* console.error(data);
|
|
3340
|
+
* });
|
|
3341
|
+
* ```
|
|
3342
|
+
* @example
|
|
3343
|
+
* ```js
|
|
3344
|
+
* tsEmbed.on(EmbedEvent.Save, (data) => {
|
|
3345
|
+
* console.log("Answer save clicked", data);
|
|
3346
|
+
* }, {
|
|
3347
|
+
* start: true // This will trigger the callback on start of save
|
|
3348
|
+
* });
|
|
3349
|
+
* ```
|
|
3350
|
+
*/
|
|
3351
|
+
on(messageType: EmbedEvent, callback: MessageCallback, options?: MessageOptions): typeof TsEmbed.prototype;
|
|
3352
|
+
}
|
|
3353
|
+
|
package/lib/package.json
CHANGED
package/lib/src/index.d.ts
CHANGED
|
@@ -14,5 +14,6 @@ import { SearchEmbed, SearchViewConfig } from './embed/search';
|
|
|
14
14
|
import { SearchBarEmbed, SearchBarViewConfig } from './embed/search-bar';
|
|
15
15
|
import { AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, getSessionInfo } from './auth';
|
|
16
16
|
import { AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, EmbedConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, ContextMenuTriggerOptions } from './types';
|
|
17
|
-
|
|
17
|
+
import { CustomCssVariables } from './css-variables';
|
|
18
|
+
export { init, logout, prefetch, executeTML, exportTML, getEmbedConfig as getInitConfig, getSessionInfo, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, AppEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, ContextMenuTriggerOptions, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, };
|
|
18
19
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,EACH,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,SAAS,EAChE,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EACH,eAAe,EAAE,UAAU,EAAE,SAAS,EAAE,gBAAgB,EAAE,cAAc,EAC3E,MAAM,QAAQ,CAAC;AAChB,OAAO,EACH,QAAQ,EACR,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,WAAW,EACX,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,cAAc,EACd,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,YAAY,EACZ,kBAAkB,EAClB,yBAAyB,EAC5B,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,EACH,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,SAAS,EAChE,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EACH,eAAe,EAAE,UAAU,EAAE,SAAS,EAAE,gBAAgB,EAAE,cAAc,EAC3E,MAAM,QAAQ,CAAC;AAChB,OAAO,EACH,QAAQ,EACR,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,WAAW,EACX,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,cAAc,EACd,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,YAAY,EACZ,kBAAkB,EAClB,yBAAyB,EAC5B,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAErD,OAAO,EACH,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,UAAU,EACV,SAAS,EACT,cAAc,IAAI,aAAa,EAC/B,cAAc,EACd,WAAW,EACX,cAAc,EACd,aAAa,EACb,cAAc,EACd,QAAQ,EACR,eAAe,EACf,UAAU,EACV,SAAS,EACT,gBAAgB,EAEhB,IAAI,EACJ,QAAQ,EACR,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,yBAAyB,EACzB,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,cAAc,EACd,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,YAAY,EACZ,kBAAkB,EAClB,kBAAkB,GACrB,CAAC"}
|
package/lib/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAiB,MAAM,aAAa,CAAC;AAC5D,OAAO,EACH,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,SAAS,GAChE,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,aAAa,EAAuB,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACvF,OAAO,EAAE,WAAW,EAAoB,MAAM,gBAAgB,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAuB,MAAM,oBAAoB,CAAC;AACzE,OAAO,EACH,eAAe,EAAE,UAAU,EAAE,SAAS,EAAoB,cAAc,GAC3E,MAAM,QAAQ,CAAC;AAChB,OAAO,EACH,QAAQ,EAER,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,MAAM,EAEN,gBAAgB,EAShB,yBAAyB,GAC5B,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAiB,MAAM,aAAa,CAAC;AAC5D,OAAO,EACH,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,SAAS,GAChE,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,aAAa,EAAuB,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACvF,OAAO,EAAE,WAAW,EAAoB,MAAM,gBAAgB,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAuB,MAAM,oBAAoB,CAAC;AACzE,OAAO,EACH,eAAe,EAAE,UAAU,EAAE,SAAS,EAAoB,cAAc,GAC3E,MAAM,QAAQ,CAAC;AAChB,OAAO,EACH,QAAQ,EAER,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,MAAM,EAEN,gBAAgB,EAShB,yBAAyB,GAC5B,MAAM,SAAS,CAAC;AAGjB,OAAO,EACH,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,UAAU,EACV,SAAS,EACT,cAAc,IAAI,aAAa,EAC/B,cAAc,EACd,WAAW,EACX,cAAc,EACd,aAAa,EACb,cAAc,EACd,QAAQ,EACR,eAAe,EACf,UAAU,EACV,SAAS;AAET,QAAQ;AACR,IAAI,EACJ,QAAQ,EAER,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,yBAAyB,EAMzB,gBAAgB,GAUnB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { SearchEmbed, LiveboardEmbed, SearchBarEmbed, AppEmbed, useEmbedRef, } from './index';
|
|
2
|
-
export { init, logout, prefetch, getInitConfig, getSessionInfo, PinboardEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, } from '../index';
|
|
2
|
+
export { init, logout, prefetch, getInitConfig, getSessionInfo, PinboardEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, } from '../index';
|
|
3
3
|
//# sourceMappingURL=all-types-export.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"all-types-export.d.ts","sourceRoot":"","sources":["../../../src/react/all-types-export.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,WAAW,EACX,cAAc,EACd,cAAc,EACd,QAAQ,EACR,WAAW,GACd,MAAM,SAAS,CAAC;AAEjB,OAAO,EACH,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,aAAa,EACb,cAAc,EACd,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,gBAAgB,EAEhB,IAAI,EACJ,QAAQ,EACR,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,cAAc,EACd,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,YAAY,EACZ,kBAAkB,GACrB,MAAM,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"all-types-export.d.ts","sourceRoot":"","sources":["../../../src/react/all-types-export.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,WAAW,EACX,cAAc,EACd,cAAc,EACd,QAAQ,EACR,WAAW,GACd,MAAM,SAAS,CAAC;AAEjB,OAAO,EACH,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,aAAa,EACb,cAAc,EACd,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,gBAAgB,EAEhB,IAAI,EACJ,QAAQ,EACR,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,cAAc,EACd,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,YAAY,EACZ,kBAAkB,EAClB,kBAAkB,GACrB,MAAM,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"all-types-export.js","sourceRoot":"","sources":["../../../src/react/all-types-export.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,WAAW,EACX,cAAc,EACd,cAAc,EACd,QAAQ,EACR,WAAW,GACd,MAAM,SAAS,CAAC;AAEjB,OAAO,EACH,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,aAAa,EACb,cAAc,EACd,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS;AAET,QAAQ;AACR,IAAI,EACJ,QAAQ,EAER,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,MAAM,EAMN,gBAAgB,
|
|
1
|
+
{"version":3,"file":"all-types-export.js","sourceRoot":"","sources":["../../../src/react/all-types-export.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,WAAW,EACX,cAAc,EACd,cAAc,EACd,QAAQ,EACR,WAAW,GACd,MAAM,SAAS,CAAC;AAEjB,OAAO,EACH,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,aAAa,EACb,cAAc,EACd,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS;AAET,QAAQ;AACR,IAAI,EACJ,QAAQ,EAER,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,MAAM,EAMN,gBAAgB,GAUnB,MAAM,UAAU,CAAC"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -37,6 +37,7 @@ import {
|
|
|
37
37
|
customCssInterface,
|
|
38
38
|
ContextMenuTriggerOptions,
|
|
39
39
|
} from './types';
|
|
40
|
+
import { CustomCssVariables } from './css-variables';
|
|
40
41
|
|
|
41
42
|
export {
|
|
42
43
|
init,
|
|
@@ -79,4 +80,5 @@ export {
|
|
|
79
80
|
CustomisationsInterface,
|
|
80
81
|
CustomStyles,
|
|
81
82
|
customCssInterface,
|
|
83
|
+
CustomCssVariables,
|
|
82
84
|
};
|