@sisense/sdk-ui 1.12.0 → 1.14.0

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 (89) hide show
  1. package/dist/ai/ai-context-provider.d.ts +1 -1
  2. package/dist/ai/api/chat-rest-api.d.ts +10 -11
  3. package/dist/ai/api/hooks.d.ts +2 -2
  4. package/dist/ai/api/types.d.ts +2 -16
  5. package/dist/ai/buttons/scroll-to-bottom-button.d.ts +3 -0
  6. package/dist/ai/chat-config.d.ts +12 -3
  7. package/dist/ai/chat-home.d.ts +2 -1
  8. package/dist/ai/chatbot.d.ts +1 -1
  9. package/dist/ai/common/constants.d.ts +1 -0
  10. package/dist/ai/common/tooltip.d.ts +2 -2
  11. package/dist/ai/data-topics/data-topic-list.d.ts +0 -1
  12. package/dist/ai/get-nlg-query-result.d.ts +1 -1
  13. package/dist/ai/icons/scroll-to-bottom-icon.d.ts +1 -0
  14. package/dist/ai/scroll-to-bottom.d.ts +7 -0
  15. package/dist/ai/use-get-nlg-query-result.d.ts +1 -1
  16. package/dist/ai/use-get-query-recommendations.d.ts +1 -1
  17. package/dist/ai.cjs +89 -80
  18. package/dist/ai.js +828 -933
  19. package/dist/api/rest-api.d.ts +7 -7
  20. package/dist/api/types/dashboard-dto.d.ts +2 -0
  21. package/dist/chart/helpers/use-synced-data.d.ts +1 -1
  22. package/dist/chart-options-processor/chart-options-service.d.ts +4 -0
  23. package/dist/chart-options-processor/subtype-to-design-options.d.ts +13 -1
  24. package/dist/chart-options-processor/translations/axis-section.d.ts +1 -0
  25. package/dist/chart-options-processor/translations/sunburst/sunburst-series.d.ts +2 -0
  26. package/dist/chart-options-processor/translations/tooltip-utils.d.ts +2 -0
  27. package/dist/chart-options-processor/translations/translations-to-highcharts.d.ts +2 -0
  28. package/dist/common/components/loading-overlay.d.ts +1 -0
  29. package/dist/common-filters/common-filters-connector.d.ts +9 -0
  30. package/dist/common-filters/selection-utils.d.ts +11 -0
  31. package/dist/common-filters/types.d.ts +18 -0
  32. package/dist/common-filters/use-common-filters.d.ts +13 -0
  33. package/dist/common-filters/utils.d.ts +9 -0
  34. package/dist/common-filters/widget-header-clear-selection-button.d.ts +3 -0
  35. package/dist/dashboard/components/dashboard-container.d.ts +1 -1
  36. package/dist/dashboard/dashboard.d.ts +1 -1
  37. package/dist/dashboard/index.d.ts +3 -0
  38. package/dist/dashboard/types.d.ts +5 -2
  39. package/dist/dashboard/utils.d.ts +0 -3
  40. package/dist/dashboard-widget/translate-dashboard-filters.d.ts +4772 -2
  41. package/dist/dashboard-widget/translate-widget-data-options.d.ts +1 -1
  42. package/dist/dashboard-widget/translate-widget-filters.d.ts +200 -37
  43. package/dist/dashboard-widget/types.d.ts +1 -0
  44. package/dist/dashboard-widget/use-fetch-widget-dto-model.d.ts +2 -12
  45. package/dist/dashboard-widget/utils.d.ts +3 -1
  46. package/dist/decorators/hook-decorators/with-tracking.d.ts +1 -2
  47. package/dist/filters/components/cascading-filter-tile/cascading-filter-tile.d.ts +31 -0
  48. package/dist/filters/components/cascading-filter-tile/cascading-level-filter.d.ts +27 -0
  49. package/dist/filters/components/cascading-filter-tile/index.d.ts +1 -0
  50. package/dist/filters/components/criteria-filter-tile/criteria-filter-operations.d.ts +2 -2
  51. package/dist/filters/components/criteria-filter-tile/criteria-filter-tile.d.ts +7 -0
  52. package/dist/filters/components/custom-filter-tile.d.ts +46 -0
  53. package/dist/filters/components/date-filter/date-range-filter-tile/date-range-filter-tile.d.ts +8 -0
  54. package/dist/filters/components/date-filter/relative-date-filter-tile/relative-date-filter-tile.d.ts +9 -2
  55. package/dist/filters/components/date-filter/relative-date-filter-tile/relative-date-filter.d.ts +2 -2
  56. package/dist/filters/components/filter-tile.d.ts +24 -1
  57. package/dist/filters/components/filters-panel/filters-panel-tile.d.ts +4 -2
  58. package/dist/filters/components/filters-panel/filters-panel.d.ts +4 -2
  59. package/dist/filters/components/icons/background-filter-icon.d.ts +5 -0
  60. package/dist/filters/components/icons/index.d.ts +1 -0
  61. package/dist/filters/components/icons/lock-icon.d.ts +2 -0
  62. package/dist/filters/components/member-filter-tile/member-filter-tile.d.ts +4 -1
  63. package/dist/filters/components/member-filter-tile/member-list.d.ts +1 -1
  64. package/dist/filters/hooks/use-synchronized-filter.d.ts +12 -0
  65. package/dist/filters/index.d.ts +2 -0
  66. package/dist/filters/utils.d.ts +7 -0
  67. package/dist/index.cjs +261 -167
  68. package/dist/index.d.ts +3 -2
  69. package/dist/index.js +23372 -18888
  70. package/dist/models/dashboard/dashboard-model.d.ts +12 -8
  71. package/dist/models/dashboard/get-dashboard-model.d.ts +2 -1
  72. package/dist/models/dashboard/translate-dashboard-utils.d.ts +3 -1
  73. package/dist/models/dashboard/types.d.ts +3 -0
  74. package/dist/models/widget/get-widget-model.d.ts +2 -1
  75. package/dist/models/widget/translate-widget.d.ts +5 -2
  76. package/dist/models/widget/types.d.ts +9 -0
  77. package/dist/models/widget/widget-model.d.ts +31 -1
  78. package/dist/pivot-table/formatters/utils.d.ts +1 -1
  79. package/dist/props.d.ts +12 -12
  80. package/dist/table/hooks/use-table-data.d.ts +1 -1
  81. package/dist/table/table-component.d.ts +4 -4
  82. package/dist/theme-provider/theme-provider.d.ts +2 -0
  83. package/dist/translation/resources/en.d.ts +5 -0
  84. package/dist/translation/resources/index.d.ts +10 -0
  85. package/dist/types.d.ts +204 -186
  86. package/dist/{useQuery-0UWck_2A.js → useQuery-Cxcx_l05.js} +13983 -13662
  87. package/dist/{useQuery-DVHD0kJ-.cjs → useQuery-_biaqvma.cjs} +119 -119
  88. package/dist/utils/color/color-interpolation.d.ts +1 -0
  89. package/package.json +10 -10
package/dist/types.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import type { Attribute, MembersFilter } from '@sisense/sdk-data';
3
3
  import { DeepRequired } from 'ts-essentials';
4
- import { AreaSubtype, BoxplotSubtype, LineSubtype, PieSubtype, PolarSubtype, StackableSubtype } from './chart-options-processor/subtype-to-design-options';
4
+ import { AreaSubtype, BoxplotSubtype, LineSubtype, PieSubtype, PolarSubtype, StackableSubtype, AreaRangeSubtype } from './chart-options-processor/subtype-to-design-options';
5
5
  import { IndicatorComponents, TableColorOptions } from './chart-options-processor/translations/design-options';
6
6
  import { FunnelDirection, FunnelSize, FunnelType } from './chart-options-processor/translations/funnel-plot-options';
7
7
  import { ScatterMarkerSize } from './chart-options-processor/translations/scatter-plot-options';
@@ -15,7 +15,7 @@ export type { AppConfig } from './app/client-application';
15
15
  export type { DateConfig } from './query/date-formats';
16
16
  export type { CartesianChartDataOptions, CategoricalChartDataOptions, ChartDataOptions, ScatterChartDataOptions, IndicatorChartDataOptions, StyledColumn, StyledMeasureColumn, } from './chart-data-options/types';
17
17
  export type { DataColorCondition, ConditionalDataColorOptions, DataColorOptions, RangeDataColorOptions, UniformDataColorOptions, } from './chart-data/data-coloring/types';
18
- export type { CartesianChartType, CategoricalChartType, ScatterChartType, IndicatorChartType, BoxplotChartType, ScattermapChartType, AreamapChartType, TableType, TableChartType, AreaSubtype, LineSubtype, PieSubtype, PolarSubtype, StackableSubtype, BoxplotSubtype, IndicatorComponents, ScatterMarkerSize, LegendPosition, GeoDataElement, RawGeoDataElement, Coordinates, RangeChartType, TableColorOptions, };
18
+ export type { CartesianChartType, CategoricalChartType, ScatterChartType, IndicatorChartType, BoxplotChartType, ScattermapChartType, AreamapChartType, TableType, TableChartType, AreaSubtype, AreaRangeSubtype, LineSubtype, PieSubtype, PolarSubtype, StackableSubtype, BoxplotSubtype, IndicatorComponents, ScatterMarkerSize, LegendPosition, GeoDataElement, RawGeoDataElement, Coordinates, RangeChartType, TableColorOptions, };
19
19
  export type { MonthOfYear, DayOfWeek, DateLevel } from './query/date-formats/apply-date-format';
20
20
  /**
21
21
  * @internal
@@ -215,7 +215,10 @@ export interface LineStyleOptions extends BaseStyleOptions, BaseAxisStyleOptions
215
215
  }
216
216
  /** Configuration options that define functional style of the various elements of AreaRangeChart */
217
217
  export interface AreaRangeStyleOptions extends BaseStyleOptions, BaseAxisStyleOptions {
218
+ /** Configuration that defines line width */
218
219
  lineWidth?: LineWidth;
220
+ /** Subtype of AreaRangeChart */
221
+ subtype?: AreaRangeSubtype;
219
222
  }
220
223
  /** Configuration options that define functional style of the various elements of AreaChart */
221
224
  export interface AreaStyleOptions extends BaseStyleOptions, BaseAxisStyleOptions {
@@ -619,211 +622,223 @@ export type NumberFormatConfig = {
619
622
  export type CompleteNumberFormatConfig = Required<NumberFormatConfig>;
620
623
  /** Identifier of a theme as defined in the Sisense instance. */
621
624
  export type ThemeOid = string;
622
- /** Theme settings defining the look and feel of components. */
623
- export interface ThemeSettings {
624
- /** Chart theme settings */
625
- chart?: {
626
- /** Text color */
627
- textColor?: string;
628
- /** Secondary text color - e.g., for the indicator chart's secondary value title */
629
- secondaryTextColor?: string;
630
- /** Background color */
631
- backgroundColor?: string;
632
- /** Toolbar Background color, can be used as a secondary background color */
633
- panelBackgroundColor?: string;
625
+ /**
626
+ * Chart theme settings
627
+ */
628
+ export interface ChartThemeSettings {
629
+ /** Text color */
630
+ textColor?: string;
631
+ /** Secondary text color - e.g., for the indicator chart's secondary value title */
632
+ secondaryTextColor?: string;
633
+ /** Background color */
634
+ backgroundColor?: string;
635
+ /** Toolbar Background color, can be used as a secondary background color */
636
+ panelBackgroundColor?: string;
637
+ }
638
+ /**
639
+ * Theme settings specific to the AI Chatbot component
640
+ */
641
+ export interface AiChatThemeSettings {
642
+ /** Background color of the chatbot */
643
+ backgroundColor?: string;
644
+ /** Text color of the chatbot */
645
+ primaryTextColor?: string;
646
+ /** Secondary text color of the chatbot */
647
+ secondaryTextColor?: string;
648
+ /** Primary font size for text in the chatbot */
649
+ primaryFontSize?: [fontSize: string, lineHeight: string];
650
+ /** Border of the chatbot */
651
+ border?: false | string;
652
+ /** Border radius of the chatbot */
653
+ borderRadius?: false | string;
654
+ /** Settings for the main chat body */
655
+ body?: {
656
+ /** Left padding of the chat body */
657
+ paddingLeft?: string;
658
+ /** Right padding of the chat body */
659
+ paddingRight?: string;
660
+ /** Top padding of the chat body */
661
+ paddingTop?: string;
662
+ /** Bottom padding of the chat body */
663
+ paddingBottom?: string;
664
+ /** Gap size between each message in the chat body */
665
+ gapBetweenMessages?: string;
634
666
  };
635
- /** Collection of colors used to color various elements */
636
- palette?: ColorPaletteTheme;
637
- /** Text theme settings */
638
- typography?: {
639
- /** Font family name to style component text */
640
- fontFamily?: string;
641
- /** Primary text color */
642
- primaryTextColor?: string;
643
- /** Secondary text color */
644
- secondaryTextColor?: string;
667
+ /** Settings for the chat footer */
668
+ footer?: {
669
+ /** Left padding of the chat footer */
670
+ paddingLeft?: string;
671
+ /** Right padding of the chat footer */
672
+ paddingRight?: string;
673
+ /** Top padding of the chat footer */
674
+ paddingTop?: string;
675
+ /** Bottom padding of the chat footer */
676
+ paddingBottom?: string;
645
677
  };
646
- /** General theme settings */
647
- general?: {
648
- /** Main color used for various elements like primary buttons, switches, etc. */
649
- brandColor?: string;
650
- /** Background color used for elements like tiles, etc. */
678
+ /** Settings for user chat messages */
679
+ userMessages?: {
680
+ /** Background color of user chat messages */
651
681
  backgroundColor?: string;
652
- /** Text color for primary buttons */
653
- primaryButtonTextColor?: string;
654
- /** Hover color for primary buttons */
655
- primaryButtonHoverColor?: string;
656
682
  };
657
- /**
658
- * Theme settings specific to the AI Chatbot component
659
- */
660
- aiChat?: {
661
- /** Background color of the chatbot */
683
+ /** Settings for system chat messages */
684
+ systemMessages?: {
685
+ /** Background color of system chat messages */
662
686
  backgroundColor?: string;
663
- /** Text color of the chatbot */
664
- primaryTextColor?: string;
665
- /** Secondary text color of the chatbot */
666
- secondaryTextColor?: string;
667
- /** Primary font size for text in the chatbot */
668
- primaryFontSize?: [fontSize: string, lineHeight: string];
669
- /** Border of the chatbot */
670
- border?: false | string;
671
- /** Border radius of the chatbot */
672
- borderRadius?: false | string;
673
- /** Settings for the main chat body */
674
- body?: {
675
- /** Left padding of the chat body */
676
- paddingLeft?: string;
677
- /** Right padding of the chat body */
678
- paddingRight?: string;
679
- /** Top padding of the chat body */
680
- paddingTop?: string;
681
- /** Bottom padding of the chat body */
682
- paddingBottom?: string;
683
- /** Gap size between each message in the chat body */
684
- gapBetweenMessages?: string;
685
- };
686
- /** Settings for the chat footer */
687
- footer?: {
688
- /** Left padding of the chat footer */
689
- paddingLeft?: string;
690
- /** Right padding of the chat footer */
691
- paddingRight?: string;
692
- /** Top padding of the chat footer */
693
- paddingTop?: string;
694
- /** Bottom padding of the chat footer */
695
- paddingBottom?: string;
696
- };
697
- /** Settings for user chat messages */
698
- userMessages?: {
699
- /** Background color of user chat messages */
700
- backgroundColor?: string;
701
- };
702
- /** Settings for system chat messages */
703
- systemMessages?: {
704
- /** Background color of system chat messages */
705
- backgroundColor?: string;
706
- };
707
- /** Settings for the chatbot input */
708
- input?: {
709
- /** Background color of the input */
710
- backgroundColor?: string;
711
- /** Settings to be applied on input focus */
712
- focus?: {
713
- /** Outline color of the input */
714
- outlineColor?: string;
715
- };
716
- };
717
- /** Settings for the chatbot header */
718
- header?: {
719
- /** Background color of the chatbot header */
720
- backgroundColor?: string;
721
- /** Text color of the chatbot header */
722
- textColor?: string;
723
- };
724
- /** Settings for chatbot dropup */
725
- dropup?: {
726
- /** Background color of the dropup */
727
- backgroundColor?: string;
728
- /** Box shadow of the dropup */
729
- boxShadow?: string;
730
- /** Border radius of the dropup */
731
- borderRadius?: string;
732
- /** Settings for the section headers of the dropup */
733
- headers?: {
734
- /** Text color of headers */
735
- textColor?: string;
736
- /** Settings to be applied on hover of the headers */
737
- hover?: {
738
- /** Background color of headers on hover */
739
- backgroundColor?: string;
740
- };
741
- };
742
- /** Settings for the dropup items */
743
- items?: {
744
- /** Text color of the dropup items */
745
- textColor?: string;
746
- /** Settings to be applied on hover of dropup items */
747
- hover?: {
748
- /** Background color of dropup items on hover */
749
- backgroundColor?: string;
750
- };
751
- };
687
+ };
688
+ /** Settings for the chatbot input */
689
+ input?: {
690
+ /** Background color of the input */
691
+ backgroundColor?: string;
692
+ /** Settings to be applied on input focus */
693
+ focus?: {
694
+ /** Outline color of the input */
695
+ outlineColor?: string;
752
696
  };
753
- /** Settings for the chatbot suggestions */
754
- suggestions?: {
755
- /** Text color of the chatbot suggestions */
697
+ };
698
+ /** Settings for the chatbot header */
699
+ header?: {
700
+ /** Background color of the chatbot header */
701
+ backgroundColor?: string;
702
+ /** Text color of the chatbot header */
703
+ textColor?: string;
704
+ };
705
+ /** Settings for chatbot dropup */
706
+ dropup?: {
707
+ /** Background color of the dropup */
708
+ backgroundColor?: string;
709
+ /** Box shadow of the dropup */
710
+ boxShadow?: string;
711
+ /** Border radius of the dropup */
712
+ borderRadius?: string;
713
+ /** Settings for the section headers of the dropup */
714
+ headers?: {
715
+ /** Text color of headers */
756
716
  textColor?: string;
757
- /** Background color of the chatbot suggestions */
758
- backgroundColor?: string;
759
- /** Border of the chatbot suggestions */
760
- border?: string;
761
- /** 2-color gradient to be applied on the border */
762
- borderGradient?: [string, string] | null;
763
- /** Border radius of the chatbot suggestions */
764
- borderRadius?: string;
765
- /** Setting to be applied on hover */
717
+ /** Settings to be applied on hover of the headers */
766
718
  hover?: {
767
- /** Text color of the chatbot suggestions on hover */
768
- textColor?: string;
769
- /** Background color of the chatbot suggestions on hover */
719
+ /** Background color of headers on hover */
770
720
  backgroundColor?: string;
771
721
  };
772
- /** 2-color gradient to be applied on suggestions loading animation */
773
- loadingGradient?: [string, string];
774
- /** Gap size between each suggestion item */
775
- gap?: string;
776
722
  };
777
- /** Settings for the chatbot clickable messages */
778
- clickableMessages?: {
779
- /** Text color of the chatbot clickable messages */
723
+ /** Settings for the dropup items */
724
+ items?: {
725
+ /** Text color of the dropup items */
780
726
  textColor?: string;
781
- /** Background color of the chatbot clickable messages */
782
- backgroundColor?: string;
783
- /** Border of the chatbot clickable messages */
784
- border?: false | string;
785
- /** 2-color gradient to be applied on the border */
786
- borderGradient?: [string, string] | null;
787
- /** Setting to be applied on hover */
727
+ /** Settings to be applied on hover of dropup items */
788
728
  hover?: {
789
- /** Text color of the chatbot clickable messages on hover */
790
- textColor?: string;
791
- /** Background color of the chatbot clickable messages on hover */
729
+ /** Background color of dropup items on hover */
792
730
  backgroundColor?: string;
793
731
  };
794
732
  };
795
- /** Settings for the data topics screen */
796
- dataTopics?: {
797
- /** Background color of the data topics screen */
733
+ };
734
+ /** Settings for the chatbot suggestions */
735
+ suggestions?: {
736
+ /** Text color of the chatbot suggestions */
737
+ textColor?: string;
738
+ /** Background color of the chatbot suggestions */
739
+ backgroundColor?: string;
740
+ /** Border of the chatbot suggestions */
741
+ border?: string;
742
+ /** 2-color gradient to be applied on the border */
743
+ borderGradient?: [string, string] | null;
744
+ /** Border radius of the chatbot suggestions */
745
+ borderRadius?: string;
746
+ /** Setting to be applied on hover */
747
+ hover?: {
748
+ /** Text color of the chatbot suggestions on hover */
749
+ textColor?: string;
750
+ /** Background color of the chatbot suggestions on hover */
798
751
  backgroundColor?: string;
799
- /** Settings for the individual data topic items */
800
- items?: {
801
- /** Text color of the data topic items */
802
- textColor?: string;
803
- /** Background color of the data topic items */
804
- backgroundColor?: string;
805
- };
806
752
  };
807
- /** Settings for the chatbot icons */
808
- icons?: {
809
- /** Color of the chatbot icons */
810
- color?: string;
811
- /** Settings for feedback icons */
812
- feedbackIcons?: {
813
- /** Background color of the feedback icons on hover */
814
- hoverColor?: string;
815
- };
816
- };
817
- /** Settings for the chatbot tooltips */
818
- tooltips?: {
819
- /** Background color of the tooltips */
753
+ /** 2-color gradient to be applied on suggestions loading animation */
754
+ loadingGradient?: [string, string];
755
+ /** Gap size between each suggestion item */
756
+ gap?: string;
757
+ };
758
+ /** Settings for the chatbot clickable messages */
759
+ clickableMessages?: {
760
+ /** Text color of the chatbot clickable messages */
761
+ textColor?: string;
762
+ /** Background color of the chatbot clickable messages */
763
+ backgroundColor?: string;
764
+ /** Border of the chatbot clickable messages */
765
+ border?: false | string;
766
+ /** 2-color gradient to be applied on the border */
767
+ borderGradient?: [string, string] | null;
768
+ /** Setting to be applied on hover */
769
+ hover?: {
770
+ /** Text color of the chatbot clickable messages on hover */
771
+ textColor?: string;
772
+ /** Background color of the chatbot clickable messages on hover */
820
773
  backgroundColor?: string;
821
- /** Text color of the tooltips */
774
+ };
775
+ };
776
+ /** Settings for the data topics screen */
777
+ dataTopics?: {
778
+ /** Background color of the data topics screen */
779
+ backgroundColor?: string;
780
+ /** Settings for the individual data topic items */
781
+ items?: {
782
+ /** Text color of the data topic items */
822
783
  textColor?: string;
823
- /** Box shadow of the tooltips */
824
- boxShadow?: string;
784
+ /** Background color of the data topic items */
785
+ backgroundColor?: string;
786
+ };
787
+ };
788
+ /** Settings for the chatbot icons */
789
+ icons?: {
790
+ /** Color of the chatbot icons */
791
+ color?: string;
792
+ /** Settings for feedback icons */
793
+ feedbackIcons?: {
794
+ /** Background color of the feedback icons on hover */
795
+ hoverColor?: string;
825
796
  };
826
797
  };
798
+ /** Settings for the chatbot tooltips */
799
+ tooltips?: {
800
+ /** Background color of the tooltips */
801
+ backgroundColor?: string;
802
+ /** Text color of the tooltips */
803
+ textColor?: string;
804
+ /** Box shadow of the tooltips */
805
+ boxShadow?: string;
806
+ };
807
+ }
808
+ /** Text theme settings */
809
+ export interface TypographyThemeSettings {
810
+ /** Font family name to style component text */
811
+ fontFamily?: string;
812
+ /** Primary text color */
813
+ primaryTextColor?: string;
814
+ /** Secondary text color */
815
+ secondaryTextColor?: string;
816
+ }
817
+ /** General theme settings */
818
+ export interface GeneralThemeSettings {
819
+ /** Main color used for various elements like primary buttons, switches, etc. */
820
+ brandColor?: string;
821
+ /** Background color used for elements like tiles, etc. */
822
+ backgroundColor?: string;
823
+ /** Text color for primary buttons */
824
+ primaryButtonTextColor?: string;
825
+ /** Hover color for primary buttons */
826
+ primaryButtonHoverColor?: string;
827
+ }
828
+ /** Theme settings defining the look and feel of components. */
829
+ export interface ThemeSettings {
830
+ /** Chart theme settings */
831
+ chart?: ChartThemeSettings;
832
+ /** Collection of colors used to color various elements */
833
+ palette?: ColorPaletteTheme;
834
+ /** Text theme settings */
835
+ typography?: TypographyThemeSettings;
836
+ /** General theme settings */
837
+ general?: GeneralThemeSettings;
838
+ /**
839
+ * Theme settings specific to the AI Chatbot component
840
+ */
841
+ aiChat?: AiChatThemeSettings;
827
842
  }
828
843
  /**
829
844
  * Complete set of theme settings defining the look and feel of components.
@@ -872,9 +887,11 @@ export interface WidgetStyleOptions {
872
887
  *
873
888
  * @internal
874
889
  */
875
- renderToolbar?: (onRefresh: () => void) => JSX.Element | null;
890
+ renderToolbar?: RenderToolbarHandler;
876
891
  };
877
892
  }
893
+ /** @internal */
894
+ export type RenderToolbarHandler = (onRefresh: () => void, defaultToolbar: JSX.Element) => JSX.Element | null;
878
895
  /** Style settings defining the look and feel of DashboardWidget */
879
896
  export interface DashboardWidgetStyleOptions extends WidgetStyleOptions {
880
897
  /**
@@ -1052,6 +1069,7 @@ export type Series = {
1052
1069
  export type HighchartsPoint = {
1053
1070
  category: string;
1054
1071
  name?: string;
1072
+ state?: string;
1055
1073
  options: {
1056
1074
  name: string;
1057
1075
  custom: {