@thoughtspot/visual-embed-sdk 1.47.2 → 1.47.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.
Files changed (144) hide show
  1. package/cjs/package.json +1 -1
  2. package/cjs/src/embed/app.d.ts +6 -1
  3. package/cjs/src/embed/app.d.ts.map +1 -1
  4. package/cjs/src/embed/app.js +4 -1
  5. package/cjs/src/embed/app.js.map +1 -1
  6. package/cjs/src/embed/app.spec.js +112 -0
  7. package/cjs/src/embed/app.spec.js.map +1 -1
  8. package/cjs/src/embed/conversation.d.ts +2 -1
  9. package/cjs/src/embed/conversation.d.ts.map +1 -1
  10. package/cjs/src/embed/conversation.js.map +1 -1
  11. package/cjs/src/embed/liveboard.d.ts.map +1 -1
  12. package/cjs/src/embed/liveboard.js +4 -1
  13. package/cjs/src/embed/liveboard.js.map +1 -1
  14. package/cjs/src/embed/liveboard.spec.js +22 -0
  15. package/cjs/src/embed/liveboard.spec.js.map +1 -1
  16. package/cjs/src/embed/search.d.ts +24 -1
  17. package/cjs/src/embed/search.d.ts.map +1 -1
  18. package/cjs/src/embed/search.js +15 -2
  19. package/cjs/src/embed/search.js.map +1 -1
  20. package/cjs/src/embed/search.spec.js +99 -0
  21. package/cjs/src/embed/search.spec.js.map +1 -1
  22. package/cjs/src/embed/spotter-utils.d.ts +3 -0
  23. package/cjs/src/embed/spotter-utils.d.ts.map +1 -1
  24. package/cjs/src/embed/spotter-utils.js +11 -3
  25. package/cjs/src/embed/spotter-utils.js.map +1 -1
  26. package/cjs/src/embed/spotter-utils.spec.js +51 -0
  27. package/cjs/src/embed/spotter-utils.spec.js.map +1 -1
  28. package/cjs/src/embed/ts-embed.d.ts +1 -0
  29. package/cjs/src/embed/ts-embed.d.ts.map +1 -1
  30. package/cjs/src/embed/ts-embed.js +15 -3
  31. package/cjs/src/embed/ts-embed.js.map +1 -1
  32. package/cjs/src/embed/ts-embed.spec.js +139 -0
  33. package/cjs/src/embed/ts-embed.spec.js.map +1 -1
  34. package/cjs/src/index.d.ts +2 -2
  35. package/cjs/src/index.d.ts.map +1 -1
  36. package/cjs/src/index.js +8 -1
  37. package/cjs/src/index.js.map +1 -1
  38. package/cjs/src/mixpanel-service.d.ts.map +1 -1
  39. package/cjs/src/mixpanel-service.js +2 -0
  40. package/cjs/src/mixpanel-service.js.map +1 -1
  41. package/cjs/src/mixpanel-service.spec.js +2 -0
  42. package/cjs/src/mixpanel-service.spec.js.map +1 -1
  43. package/cjs/src/test/test-utils.d.ts +1 -0
  44. package/cjs/src/test/test-utils.d.ts.map +1 -1
  45. package/cjs/src/test/test-utils.js +26 -1
  46. package/cjs/src/test/test-utils.js.map +1 -1
  47. package/cjs/src/types.d.ts +424 -0
  48. package/cjs/src/types.d.ts.map +1 -1
  49. package/cjs/src/types.js +121 -1
  50. package/cjs/src/types.js.map +1 -1
  51. package/dist/{index-CFZ7RDZ9.js → index-DZq20cR6.js} +1 -1
  52. package/dist/src/embed/app.d.ts +6 -1
  53. package/dist/src/embed/app.d.ts.map +1 -1
  54. package/dist/src/embed/conversation.d.ts +2 -1
  55. package/dist/src/embed/conversation.d.ts.map +1 -1
  56. package/dist/src/embed/liveboard.d.ts.map +1 -1
  57. package/dist/src/embed/search.d.ts +24 -1
  58. package/dist/src/embed/search.d.ts.map +1 -1
  59. package/dist/src/embed/spotter-utils.d.ts +3 -0
  60. package/dist/src/embed/spotter-utils.d.ts.map +1 -1
  61. package/dist/src/embed/ts-embed.d.ts +1 -0
  62. package/dist/src/embed/ts-embed.d.ts.map +1 -1
  63. package/dist/src/index.d.ts +2 -2
  64. package/dist/src/index.d.ts.map +1 -1
  65. package/dist/src/mixpanel-service.d.ts.map +1 -1
  66. package/dist/src/test/test-utils.d.ts +1 -0
  67. package/dist/src/test/test-utils.d.ts.map +1 -1
  68. package/dist/src/types.d.ts +424 -0
  69. package/dist/src/types.d.ts.map +1 -1
  70. package/dist/tsembed-react.es.js +173 -13
  71. package/dist/tsembed-react.js +172 -12
  72. package/dist/tsembed.es.js +174 -14
  73. package/dist/tsembed.js +172 -12
  74. package/dist/visual-embed-sdk-react-full.d.ts +425 -0
  75. package/dist/visual-embed-sdk-react.d.ts +425 -0
  76. package/dist/visual-embed-sdk.d.ts +453 -0
  77. package/lib/package.json +1 -1
  78. package/lib/src/embed/app.d.ts +6 -1
  79. package/lib/src/embed/app.d.ts.map +1 -1
  80. package/lib/src/embed/app.js +4 -1
  81. package/lib/src/embed/app.js.map +1 -1
  82. package/lib/src/embed/app.spec.js +113 -1
  83. package/lib/src/embed/app.spec.js.map +1 -1
  84. package/lib/src/embed/conversation.d.ts +2 -1
  85. package/lib/src/embed/conversation.d.ts.map +1 -1
  86. package/lib/src/embed/conversation.js.map +1 -1
  87. package/lib/src/embed/liveboard.d.ts.map +1 -1
  88. package/lib/src/embed/liveboard.js +4 -1
  89. package/lib/src/embed/liveboard.js.map +1 -1
  90. package/lib/src/embed/liveboard.spec.js +22 -0
  91. package/lib/src/embed/liveboard.spec.js.map +1 -1
  92. package/lib/src/embed/search.d.ts +24 -1
  93. package/lib/src/embed/search.d.ts.map +1 -1
  94. package/lib/src/embed/search.js +15 -2
  95. package/lib/src/embed/search.js.map +1 -1
  96. package/lib/src/embed/search.spec.js +100 -1
  97. package/lib/src/embed/search.spec.js.map +1 -1
  98. package/lib/src/embed/spotter-utils.d.ts +3 -0
  99. package/lib/src/embed/spotter-utils.d.ts.map +1 -1
  100. package/lib/src/embed/spotter-utils.js +11 -3
  101. package/lib/src/embed/spotter-utils.js.map +1 -1
  102. package/lib/src/embed/spotter-utils.spec.js +51 -0
  103. package/lib/src/embed/spotter-utils.spec.js.map +1 -1
  104. package/lib/src/embed/ts-embed.d.ts +1 -0
  105. package/lib/src/embed/ts-embed.d.ts.map +1 -1
  106. package/lib/src/embed/ts-embed.js +14 -2
  107. package/lib/src/embed/ts-embed.js.map +1 -1
  108. package/lib/src/embed/ts-embed.spec.js +139 -0
  109. package/lib/src/embed/ts-embed.spec.js.map +1 -1
  110. package/lib/src/index.d.ts +2 -2
  111. package/lib/src/index.d.ts.map +1 -1
  112. package/lib/src/index.js +2 -2
  113. package/lib/src/index.js.map +1 -1
  114. package/lib/src/mixpanel-service.d.ts.map +1 -1
  115. package/lib/src/mixpanel-service.js +2 -0
  116. package/lib/src/mixpanel-service.js.map +1 -1
  117. package/lib/src/mixpanel-service.spec.js +2 -0
  118. package/lib/src/mixpanel-service.spec.js.map +1 -1
  119. package/lib/src/test/test-utils.d.ts +1 -0
  120. package/lib/src/test/test-utils.d.ts.map +1 -1
  121. package/lib/src/test/test-utils.js +25 -1
  122. package/lib/src/test/test-utils.js.map +1 -1
  123. package/lib/src/types.d.ts +424 -0
  124. package/lib/src/types.d.ts.map +1 -1
  125. package/lib/src/types.js +120 -0
  126. package/lib/src/types.js.map +1 -1
  127. package/lib/src/visual-embed-sdk.d.ts +453 -0
  128. package/package.json +1 -1
  129. package/src/embed/app.spec.ts +141 -0
  130. package/src/embed/app.ts +11 -0
  131. package/src/embed/conversation.ts +2 -1
  132. package/src/embed/liveboard.spec.ts +32 -0
  133. package/src/embed/liveboard.ts +5 -0
  134. package/src/embed/search.spec.ts +118 -0
  135. package/src/embed/search.ts +43 -1
  136. package/src/embed/spotter-utils.spec.ts +52 -0
  137. package/src/embed/spotter-utils.ts +19 -3
  138. package/src/embed/ts-embed.spec.ts +185 -0
  139. package/src/embed/ts-embed.ts +14 -3
  140. package/src/index.ts +16 -0
  141. package/src/mixpanel-service.spec.ts +2 -0
  142. package/src/mixpanel-service.ts +2 -0
  143. package/src/test/test-utils.ts +33 -1
  144. package/src/types.ts +454 -0
@@ -2906,6 +2906,22 @@ export interface LiveboardAppEmbedViewConfig {
2906
2906
  * ```
2907
2907
  */
2908
2908
  isLiveboardMasterpiecesEnabled?: boolean;
2909
+ /**
2910
+ * Enable or disable Muze chart phase 1 GA
2911
+ *
2912
+ * Supported embed types: `AppEmbed`, `LiveboardEmbed`
2913
+ * @version SDK: 1.49.0 | ThoughtSpot Cloud: 26.6.0.cl
2914
+ * @default false
2915
+ * @example
2916
+ * ```js
2917
+ * // Replace <EmbedComponent> with embed component name. For example, AppEmbed or LiveboardEmbed
2918
+ * const embed = new <EmbedComponent>('#tsEmbed', {
2919
+ * ... // other embed view config
2920
+ * newChartsLibrary: true,
2921
+ * })
2922
+ * ```
2923
+ */
2924
+ newChartsLibrary?: boolean;
2909
2925
  }
2910
2926
  export interface AllEmbedViewConfig extends BaseViewConfig, SearchLiveboardCommonViewConfig, HomePageConfig, LiveboardAppEmbedViewConfig {
2911
2927
  }
@@ -8699,6 +8715,385 @@ export interface ContextObject {
8699
8715
  objectIds: ObjectIds;
8700
8716
  };
8701
8717
  }
8718
+ export interface FontProperties {
8719
+ color?: string;
8720
+ bold?: boolean;
8721
+ italic?: boolean;
8722
+ strikeThrough?: boolean;
8723
+ underline?: boolean;
8724
+ }
8725
+ export interface SolidBackgroundAttrs {
8726
+ color?: string;
8727
+ }
8728
+ export interface GradientBackgroundAttrs {
8729
+ backgroundFormatMidpoint?: number;
8730
+ colors?: string[];
8731
+ backgroundFormatRange?: number[];
8732
+ isAutoScaled?: boolean;
8733
+ }
8734
+ declare enum DataLabelFilterOperator {
8735
+ /** Greater than */
8736
+ GreaterThan = "GREATER_THAN",
8737
+ /** Less than */
8738
+ LessThan = "LESS_THAN",
8739
+ /** Greater than or equal to */
8740
+ GreaterThanOrEqualTo = "GREATER_THAN_OR_EQUAL_TO",
8741
+ /** Less than or equal to */
8742
+ LessThanOrEqualTo = "LESS_THAN_OR_EQUAL_TO",
8743
+ /** Equal to */
8744
+ EqualTo = "EQUAL_TO",
8745
+ /** Not equal to */
8746
+ NotEqualTo = "NOT_EQUAL_TO"
8747
+ }
8748
+ declare enum ConditionalFormattingOperator {
8749
+ /** Is equal to */
8750
+ Is = "IS",
8751
+ /** Is not equal to */
8752
+ IsNot = "IS_NOT",
8753
+ /** Contains */
8754
+ Contains = "CONTAINS",
8755
+ /** Does not contain */
8756
+ DoesNotContain = "DOES_NOT_CONTAIN",
8757
+ /** Starts with */
8758
+ StartsWith = "STARTS_WITH",
8759
+ /** Ends with */
8760
+ EndsWith = "ENDS_WITH",
8761
+ /** Greater than */
8762
+ GreaterThan = "GREATER_THAN",
8763
+ /** Less than */
8764
+ LessThan = "LESS_THAN",
8765
+ /** Greater than or equal to */
8766
+ GreaterThanEqualTo = "GREATER_THAN_EQUAL_TO",
8767
+ /** Less than or equal to */
8768
+ LessThanEqualTo = "LESS_THAN_EQUAL_TO",
8769
+ /** Equal to */
8770
+ EqualTo = "EQUAL_TO",
8771
+ /** Not equal to */
8772
+ NotEqualTo = "NOT_EQUAL_TO",
8773
+ /** Is between */
8774
+ IsBetween = "IS_BETWEEN",
8775
+ /** Is null */
8776
+ IsNull = "IS_NULL",
8777
+ /** Is not null */
8778
+ IsNotNull = "IS_NOT_NULL"
8779
+ }
8780
+ declare enum BackgroundFormatType {
8781
+ /** Solid color background */
8782
+ Solid = "SOLID",
8783
+ /** Gradient background */
8784
+ Gradient = "GRADIENT"
8785
+ }
8786
+ declare enum ConditionalFormattingComparisonType {
8787
+ /** Value-based comparison */
8788
+ ValueBased = "VALUE_BASED",
8789
+ /** Column-based comparison */
8790
+ ColumnBased = "COLUMN_BASED",
8791
+ /** Parameter-based comparison */
8792
+ ParameterBased = "PARAMETER_BASED"
8793
+ }
8794
+ /**
8795
+ * A single conditional formatting rule row
8796
+ * @group Visual Overrides
8797
+ */
8798
+ export interface ConditionalFormattingRow {
8799
+ /** Comparison operator */
8800
+ operator: ConditionalFormattingOperator | string;
8801
+ /** Value to compare against */
8802
+ value?: string;
8803
+ /** Range values for range-based comparisons */
8804
+ rangeValues?: {
8805
+ min: number;
8806
+ max: number;
8807
+ };
8808
+ /** Plot the formatting as a band/area */
8809
+ plotAsBand?: boolean;
8810
+ /** Highlight this row if the condition is met */
8811
+ isHighlightRow?: boolean;
8812
+ /** Type of comparison: value-based, column-based, or parameter-based */
8813
+ comparisonType?: ConditionalFormattingComparisonType | string;
8814
+ /** Column ID to apply the formatting to (left-hand side) */
8815
+ lhsColumnId?: string;
8816
+ /** Column name to compare against (right-hand side) */
8817
+ columnToCompare?: string;
8818
+ /** Parameter ID to compare against */
8819
+ comparisonParameterId?: string;
8820
+ /** Font properties to apply (color, bold, italic, etc.) */
8821
+ fontProperties?: FontProperties;
8822
+ /** Background format type: solid color or gradient */
8823
+ backgroundFormatType?: BackgroundFormatType | string;
8824
+ /** Solid background color attributes */
8825
+ solidBackgroundAttrs?: SolidBackgroundAttrs;
8826
+ /** Gradient background attributes */
8827
+ gradientBackgroundAttrs?: GradientBackgroundAttrs;
8828
+ }
8829
+ /**
8830
+ * Conditional formatting configuration
8831
+ * @group Visual Overrides
8832
+ */
8833
+ export interface ConditionalFormatting {
8834
+ /** Array of conditional formatting rules */
8835
+ rows?: ConditionalFormattingRow[];
8836
+ }
8837
+ /**
8838
+ * Color palette for charts
8839
+ * @group Visual Overrides
8840
+ */
8841
+ export interface ColorPalette {
8842
+ /** Array of color values (hex codes or color names) */
8843
+ colors?: string[];
8844
+ }
8845
+ declare enum LegendPosition {
8846
+ /** Position legend at the top */
8847
+ Top = "top",
8848
+ /** Position legend at the bottom */
8849
+ Bottom = "bottom",
8850
+ /** Position legend on the left */
8851
+ Left = "left",
8852
+ /** Position legend on the right */
8853
+ Right = "right"
8854
+ }
8855
+ declare enum TableTheme {
8856
+ /** Outline theme */
8857
+ Outline = "OUTLINE",
8858
+ /** Row theme */
8859
+ Row = "ROW",
8860
+ /** Zebra theme */
8861
+ Zebra = "ZEBRA"
8862
+ }
8863
+ declare enum TableContentDensity {
8864
+ /** Regular density */
8865
+ Regular = "REGULAR",
8866
+ /** Compact density */
8867
+ Compact = "COMPACT"
8868
+ }
8869
+ /**
8870
+ * Chart legend configuration
8871
+ * @group Visual Overrides
8872
+ */
8873
+ export interface ChartLegend {
8874
+ /** Show or hide the legend */
8875
+ show?: boolean;
8876
+ /** Position of the legend */
8877
+ position?: LegendPosition | string;
8878
+ /** Color palette to use for legend colors */
8879
+ colorPalette?: ColorPalette;
8880
+ }
8881
+ /**
8882
+ * Filter for data labels
8883
+ * @group Visual Overrides
8884
+ */
8885
+ export interface DataLabelFilter {
8886
+ /** Filter threshold value */
8887
+ value?: number;
8888
+ /** Filter operator */
8889
+ operator?: DataLabelFilterOperator | string;
8890
+ }
8891
+ /**
8892
+ * Data label configuration for a specific column
8893
+ * @group Visual Overrides
8894
+ */
8895
+ export interface ColumnDataLabel {
8896
+ /** Column name to apply data label overrides to */
8897
+ name: string;
8898
+ /** Show or hide data labels for this column */
8899
+ visible?: boolean;
8900
+ /** Filter to apply to data labels */
8901
+ filter?: DataLabelFilter | null;
8902
+ }
8903
+ /**
8904
+ * Chart data label configuration
8905
+ * @group Visual Overrides
8906
+ */
8907
+ export interface ChartDataLabel {
8908
+ /** Show labels for all data points */
8909
+ allLabels?: boolean;
8910
+ /** Show labels for stacked values */
8911
+ stackLabels?: boolean;
8912
+ /** Per-column data label configurations */
8913
+ columnDataLabel?: ColumnDataLabel[];
8914
+ }
8915
+ /**
8916
+ * Chart summaries and totals configuration
8917
+ * @group Visual Overrides
8918
+ */
8919
+ export interface ChartSummaries {
8920
+ /** Show row totals */
8921
+ showRowTotals?: boolean;
8922
+ /** Show column totals */
8923
+ showColumnTotals?: boolean;
8924
+ /** Show row grand totals */
8925
+ showRowGrandTotals?: boolean;
8926
+ /** Show column grand totals */
8927
+ showColumnGrandTotals?: boolean;
8928
+ }
8929
+ /**
8930
+ * Gridline configuration
8931
+ * @group Visual Overrides
8932
+ */
8933
+ export interface GridLine {
8934
+ /** Show vertical gridlines */
8935
+ x?: boolean;
8936
+ /** Show horizontal gridlines */
8937
+ y?: boolean;
8938
+ }
8939
+ /**
8940
+ * Chart display configuration
8941
+ * @group Visual Overrides
8942
+ */
8943
+ export interface ChartDisplay {
8944
+ /** Summary and totals configuration */
8945
+ summaries?: ChartSummaries;
8946
+ /** Show regression line on chart */
8947
+ regressionLine?: boolean;
8948
+ /** Gridline visibility configuration */
8949
+ gridLine?: GridLine;
8950
+ }
8951
+ /**
8952
+ * Y-axis range configuration
8953
+ * @group Visual Overrides
8954
+ */
8955
+ export interface YAxisRange {
8956
+ /** Minimum value for Y-axis */
8957
+ min?: number;
8958
+ /** Maximum value for Y-axis */
8959
+ max?: number;
8960
+ }
8961
+ /**
8962
+ * Chart axis configuration
8963
+ * @group Visual Overrides
8964
+ */
8965
+ export interface ChartAxis {
8966
+ /** Column names to link to this axis */
8967
+ linkedColumns?: string[];
8968
+ /** Show the axis name */
8969
+ showName?: boolean;
8970
+ /** Show the axis label values */
8971
+ showLabelValue?: boolean;
8972
+ /** Y-axis range configuration */
8973
+ yAxisRange?: YAxisRange;
8974
+ }
8975
+ /**
8976
+ * Chart column override configuration
8977
+ * @group Visual Overrides
8978
+ */
8979
+ export interface ChartColumn {
8980
+ /** Column name to apply overrides to */
8981
+ name: string;
8982
+ /** Color for the column (hex code) */
8983
+ color?: string;
8984
+ /** Conditional formatting rules to apply to the column */
8985
+ conditionalFormatting?: ConditionalFormatting;
8986
+ }
8987
+ /**
8988
+ * Chart visualization overrides
8989
+ * @group Visual Overrides
8990
+ */
8991
+ export interface ChartOverrides {
8992
+ /** Legend configuration */
8993
+ legend?: ChartLegend;
8994
+ /** Data label configuration */
8995
+ dataLabel?: ChartDataLabel;
8996
+ /** Display properties (summaries, regression line, gridlines) */
8997
+ display?: ChartDisplay;
8998
+ /** Per-axis configurations */
8999
+ axis?: ChartAxis[];
9000
+ /** Per-column configurations */
9001
+ columns?: ChartColumn[];
9002
+ /** Update mask paths for partial updates */
9003
+ updateMaskPaths?: string[];
9004
+ }
9005
+ /**
9006
+ * Table column override configuration
9007
+ * @group Visual Overrides
9008
+ */
9009
+ export interface TableColumn {
9010
+ /**
9011
+ * Name of the column to apply overrides to
9012
+ */
9013
+ name: string;
9014
+ /**
9015
+ * Enable or disable text wrapping for the column
9016
+ */
9017
+ wrapText?: boolean;
9018
+ /**
9019
+ * Show or hide the column
9020
+ */
9021
+ show?: boolean;
9022
+ /**
9023
+ * Conditional formatting rules to apply to the column
9024
+ */
9025
+ conditionalFormatting?: ConditionalFormatting;
9026
+ }
9027
+ /**
9028
+ * Table display configuration
9029
+ * @group Visual Overrides
9030
+ */
9031
+ export interface TableDisplay {
9032
+ /** Table theme */
9033
+ tableTheme?: TableTheme | string;
9034
+ /** Table content density */
9035
+ tableContentDensity?: TableContentDensity | string;
9036
+ }
9037
+ /**
9038
+ * Column summary visibility configuration
9039
+ * @group Visual Overrides
9040
+ */
9041
+ export interface ColumnSummaryVisibility {
9042
+ /** Column ID to control summary visibility for */
9043
+ columnId: string;
9044
+ /** Show or hide summary for this column */
9045
+ visible: boolean;
9046
+ }
9047
+ /**
9048
+ * Display summary configuration
9049
+ * @group Visual Overrides
9050
+ */
9051
+ export interface DisplaySummaryConfig {
9052
+ /** Show all column summaries by default */
9053
+ showAllSummaries?: boolean;
9054
+ /** Per-column summary visibility overrides */
9055
+ columnVisibility?: ColumnSummaryVisibility[];
9056
+ }
9057
+ /**
9058
+ * Table visualization overrides
9059
+ * @group Visual Overrides
9060
+ */
9061
+ export interface TableOverrides {
9062
+ /** Per-column configurations (properties, conditional formatting) */
9063
+ columns?: TableColumn[];
9064
+ /** Table display properties (theme, density) */
9065
+ display?: TableDisplay;
9066
+ /** Summary/headline column visibility configuration */
9067
+ displaySummaryConfig?: DisplaySummaryConfig;
9068
+ /** Update mask paths for partial updates */
9069
+ updateMaskPaths?: string[];
9070
+ }
9071
+ /**
9072
+ * Visualization overrides to customize chart and table rendering
9073
+ * within embedded ThoughtSpot components.
9074
+ *
9075
+ * @group Visual Overrides
9076
+ * @example
9077
+ * ```js
9078
+ * const embed = new AppEmbed('#tsEmbed', {
9079
+ * visualOverrides: {
9080
+ * chart: {
9081
+ * legend: { show: true, position: 'bottom' },
9082
+ * columns: [{ name: 'Revenue', color: '#1f77b4' }],
9083
+ * },
9084
+ * table: {
9085
+ * display: { tableTheme: 'ZEBRA', tableContentDensity: 'COMPACT' },
9086
+ * },
9087
+ * },
9088
+ * });
9089
+ * ```
9090
+ */
9091
+ export interface VisualizationOverrides {
9092
+ /** Chart visualization overrides */
9093
+ chart?: ChartOverrides;
9094
+ /** Table visualization overrides */
9095
+ table?: TableOverrides;
9096
+ }
8702
9097
  declare enum AuthFailureType {
8703
9098
  /**
8704
9099
  * Authentication failed in the SDK authentication flow.
@@ -9317,6 +9712,7 @@ declare class TsEmbed {
9317
9712
  * @returns
9318
9713
  */
9319
9714
  protected createEmbedEventResponder: (eventPort: MessagePort | void, eventType: EmbedEvent) => (payload: any) => void;
9715
+ private shouldSkipEvent;
9320
9716
  /**
9321
9717
  * Executes all registered event handlers for a particular event type
9322
9718
  * @param eventType The event type
@@ -9891,9 +10287,32 @@ export interface SearchViewConfig extends SearchLiveboardCommonViewConfig, Omit<
9891
10287
  * ```
9892
10288
  */
9893
10289
  focusSearchBarOnRender?: boolean;
10290
+ /**
10291
+ * Enable or disable Muze chart phase 1 GA
10292
+ *
10293
+ * Supported embed types: `SearchEmbed`
10294
+ * @version SDK: 1.49.0 | ThoughtSpot Cloud: 26.6.0.cl
10295
+ * @default false
10296
+ * @example
10297
+ * ```js
10298
+ * const embed = new SearchEmbed('#tsEmbed', {
10299
+ * ... // other embed view config
10300
+ * newChartsLibrary: true,
10301
+ * })
10302
+ * ```
10303
+ */
10304
+ newChartsLibrary?: boolean;
10305
+ /**
10306
+ * Visual overrides to customize the chart or table properties.
10307
+ * @version SDK: 1.49.0 | ThoughtSpot: 26.6.0.cl
10308
+ */
10309
+ visualOverrides?: VisualizationOverrides;
9894
10310
  }
9895
10311
  export interface SearchAppInitData extends DefaultAppInitData {
9896
10312
  searchOptions?: SearchOptions;
10313
+ embedParams?: {
10314
+ visualOverridesParams?: VisualizationOverrides | null;
10315
+ };
9897
10316
  }
9898
10317
  declare class SearchEmbed extends TsEmbed {
9899
10318
  /**
@@ -10391,6 +10810,7 @@ export interface ConversationViewConfig extends SpotterEmbedViewConfig {
10391
10810
  export interface SpotterAppInitData extends DefaultAppInitData {
10392
10811
  embedParams?: {
10393
10812
  spotterSidebarConfig?: SpotterSidebarViewConfig;
10813
+ visualOverridesParams?: VisualizationOverrides | null;
10394
10814
  };
10395
10815
  }
10396
10816
  declare class SpotterEmbed extends TsEmbed {
@@ -11160,6 +11580,11 @@ export interface AppViewConfig extends AllEmbedViewConfig {
11160
11580
  * ```
11161
11581
  */
11162
11582
  enableLiveboardDataCache?: boolean;
11583
+ /**
11584
+ * Visual overrides to customize the chart or table properties.
11585
+ * @version SDK: 1.49.0 | ThoughtSpot: 26.6.0.cl
11586
+ */
11587
+ visualOverrides?: VisualizationOverrides;
11163
11588
  }
11164
11589
  /**
11165
11590
  * APP_INIT data shape for AppEmbed.