@sisense/sdk-ui 1.13.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 (47) hide show
  1. package/dist/ai/ai-context-provider.d.ts +1 -1
  2. package/dist/ai/api/chat-rest-api.d.ts +8 -8
  3. package/dist/ai/chat-config.d.ts +4 -3
  4. package/dist/ai/chat-home.d.ts +2 -1
  5. package/dist/ai/chatbot.d.ts +1 -1
  6. package/dist/ai/get-nlg-query-result.d.ts +1 -1
  7. package/dist/ai/use-get-nlg-query-result.d.ts +1 -1
  8. package/dist/ai/use-get-query-recommendations.d.ts +1 -1
  9. package/dist/ai.cjs +67 -75
  10. package/dist/ai.js +593 -614
  11. package/dist/api/rest-api.d.ts +7 -7
  12. package/dist/api/types/dashboard-dto.d.ts +2 -0
  13. package/dist/chart-options-processor/translations/axis-section.d.ts +1 -0
  14. package/dist/chart-options-processor/translations/sunburst/sunburst-series.d.ts +2 -0
  15. package/dist/chart-options-processor/translations/translations-to-highcharts.d.ts +2 -0
  16. package/dist/common-filters/types.d.ts +4 -0
  17. package/dist/common-filters/utils.d.ts +1 -1
  18. package/dist/dashboard/index.d.ts +3 -0
  19. package/dist/dashboard-widget/use-fetch-widget-dto-model.d.ts +2 -12
  20. package/dist/decorators/hook-decorators/with-tracking.d.ts +1 -2
  21. package/dist/filters/components/cascading-filter-tile/cascading-filter-tile.d.ts +7 -1
  22. package/dist/filters/components/cascading-filter-tile/cascading-level-filter.d.ts +8 -2
  23. package/dist/filters/components/criteria-filter-tile/criteria-filter-tile.d.ts +1 -0
  24. package/dist/filters/components/custom-filter-tile.d.ts +3 -0
  25. package/dist/filters/components/date-filter/date-range-filter-tile/date-range-filter-tile.d.ts +2 -0
  26. package/dist/filters/components/date-filter/relative-date-filter-tile/relative-date-filter-tile.d.ts +1 -0
  27. package/dist/filters/components/filter-tile.d.ts +3 -0
  28. package/dist/filters/components/icons/background-filter-icon.d.ts +5 -0
  29. package/dist/filters/components/icons/index.d.ts +1 -0
  30. package/dist/filters/components/icons/lock-icon.d.ts +2 -0
  31. package/dist/index.cjs +174 -126
  32. package/dist/index.d.ts +2 -2
  33. package/dist/index.js +11866 -11666
  34. package/dist/pivot-table/formatters/utils.d.ts +1 -1
  35. package/dist/props.d.ts +12 -12
  36. package/dist/query/query-result-date-formatting.d.ts +0 -1
  37. package/dist/table/hooks/use-table-data.d.ts +1 -1
  38. package/dist/table/table-component.d.ts +4 -4
  39. package/dist/theme-provider/theme-provider.d.ts +2 -0
  40. package/dist/translation/resources/en.d.ts +1 -0
  41. package/dist/translation/resources/index.d.ts +2 -0
  42. package/dist/types.d.ts +195 -183
  43. package/dist/{useQuery-D5W0RM1R.js → useQuery-Cxcx_l05.js} +15251 -15187
  44. package/dist/useQuery-_biaqvma.cjs +603 -0
  45. package/dist/utils/color/color-interpolation.d.ts +1 -0
  46. package/package.json +7 -7
  47. package/dist/useQuery-C8plkncQ.cjs +0 -603
@@ -2,4 +2,4 @@ import { type Column } from '@sisense/sdk-data';
2
2
  import { type PivotTableDataOptions, type StyledColumn, type AnyColumn } from '../../chart-data-options/types';
3
3
  export declare const getPivotDataOptionByJaqlIndex: (dataOptions: PivotTableDataOptions, dataOptionIndex?: number) => AnyColumn | undefined;
4
4
  export declare const getNumberFormatConfig: (dataOption?: AnyColumn) => Required<import("../..").NumberFormatConfig>;
5
- export declare const getDateFormatConfig: (dataOption: Column | StyledColumn) => string;
5
+ export declare const getDateFormatConfig: (dataOption: Column | StyledColumn) => string | undefined;
package/dist/props.d.ts CHANGED
@@ -388,21 +388,21 @@ export interface BaseChartProps {
388
388
  */
389
389
  dataSet?: DataSource | Data;
390
390
  /**
391
- * Filters to apply to a chart’s data using one of the following options.
391
+ * Filters to limit (or slice) a chart’s data using one of the following options.
392
392
  *
393
- * (1) Array of filters returned from filter factory functions, such as
393
+ * (1) Array of {@link Filter} or {@link FilterRelations} returned from filter factory functions, such as
394
394
  * {@link @sisense/sdk-data!filterFactory.greaterThan | `greaterThan()`} and {@link @sisense/sdk-data!filterFactory.members | `members()`}.
395
395
  *
396
396
  * Use this option for filters that do not require a UI to set them
397
- * or for filters where you will supply your own UI using non-Sisense components.
397
+ * or for filters where you will supply your own UI components or use pre-built UI components. This is the most common option.
398
398
  *
399
399
  * To learn more about using filter factory functions to create filters, see the [Compose SDK Charts Guide](/guides/sdk/guides/charts/guide-compose-sdk-charts.html#filter-functions).
400
400
  *
401
- * (2) Array of filters controlled by Sisense filter components.
401
+ * (2) Array of {@link Filter} controlled by filter UI components – for example {@link MemberFilterTile}.
402
402
  *
403
- * Use this option for filters that you want your users to set using Sisense UI components.
403
+ * Use this option for filters that you want your users to set using pre-built UI components.
404
404
  *
405
- * To learn more about using filter components to create filters, see the [Compose SDK Charts Guide](/guides/sdk/guides/charts/guide-compose-sdk-charts.html#filter-components).
405
+ * To learn more about using filter UI components to create filters, see the [Compose SDK Charts Guide](/guides/sdk/guides/charts/guide-compose-sdk-charts.html#filter-components).
406
406
  *
407
407
  * @category Data
408
408
  */
@@ -410,21 +410,21 @@ export interface BaseChartProps {
410
410
  /**
411
411
  * Highlights based on filter criteria to apply to a chart using one of the following options.
412
412
  *
413
- * Note that the filter dimensions used in highlights must match those defined in the
414
- * {@link dataOptions} of the chart.
413
+ * NOTE that the filter dimensions used in highlights must match those defined in the
414
+ * {@link dataOptions} of the chart. Otherwise, the filters will be applied as regular slice filters.
415
415
  *
416
- * (1) Array of filters returned from filter factory functions, such as
416
+ * (1) Array of {@link Filter} returned from filter factory functions, such as
417
417
  * {@link @sisense/sdk-data!filterFactory.greaterThan | `greaterThan()`} and {@link @sisense/sdk-data!filterFactory.members | `members()`}.
418
418
  *
419
419
  * Use this option for highlights that do not require a UI to set them
420
- * or for highlights where you will supply your own UI using non-Sisense components.
420
+ * or for highlights where you will supply your own UI components or use pre-built UI components. This is the most common option.
421
421
  *
422
422
  * To learn more about using filter factory functions to create highlights, see the
423
423
  * [Compose SDK Charts Guide](/guides/sdk/guides/charts/guide-compose-sdk-charts.html#filter-functions-for-highlighting).
424
424
  *
425
- * (2) Array of filters controlled by Sisense filter components.
425
+ * (2) Array of {@link Filter} controlled by filter UI components – for example {@link MemberFilterTile}.
426
426
  *
427
- * Use this option for highlights that you want your users to set using Sisense UI components.
427
+ * Use this option for highlights that you want your users to set using pre-built UI components.
428
428
  *
429
429
  * To learn more about using filter components to create highlights, see the
430
430
  * [Compose SDK Charts Guide](/guides/sdk/guides/charts/guide-compose-sdk-charts.html#filter-components-for-highlighting).
@@ -1,5 +1,4 @@
1
1
  import { Data } from '@sisense/sdk-data';
2
2
  import type { DateConfig } from './date-formats';
3
3
  import type { QueryResultData } from '@sisense/sdk-data';
4
- export declare function parseISOWithDefaultUTCOffset(dateString: string): Date;
5
4
  export declare function applyDateFormats(data: QueryResultData | Data, chartDataOptions: any, locale?: Locale, dateConfig?: DateConfig): QueryResultData | Data;
@@ -12,5 +12,5 @@ export declare const getTableAttributesAndMeasures: (dataOptions: TableDataOptio
12
12
  attributes: Attribute[];
13
13
  measures: Measure[];
14
14
  };
15
- export declare const useTableData: ({ dataSet, dataOptions, filters, filterRelations, count, offset, }: UseDataProps) => Data | null;
15
+ export declare const useTableData: ({ dataSet, dataOptions: originalDataOptions, filters, filterRelations, count, offset, }: UseDataProps) => [Data | null, TableDataOptionsInternal | null];
16
16
  export {};
@@ -1,8 +1,8 @@
1
1
  import { TableProps } from '../props';
2
+ export declare const DEFAULT_TABLE_ROWS_PER_PAGE = 25;
3
+ /** How many pages of data will be loaded in one query */
4
+ export declare const PAGES_BATCH_SIZE = 10;
2
5
  /**
3
6
  * Component that renders a table with aggregation and pagination.
4
7
  */
5
- export declare const TableComponent: ({ dataSet, dataOptions, styleOptions, filters, refreshCounter, }: TableProps) => import("react/jsx-runtime").JSX.Element | null;
6
- export declare const DEFAULT_TABLE_ROWS_PER_PAGE: 25;
7
- /** How many pages of data will be loaded in one query */
8
- export declare const PAGES_BATCH_SIZE = 10;
8
+ export declare const TableComponent: ({ dataSet, dataOptions, styleOptions, filters, }: TableProps) => import("react/jsx-runtime").JSX.Element | null;
@@ -3,6 +3,8 @@ import { ThemeProviderProps } from '../props';
3
3
  /**
4
4
  * Theme provider, which allows you to adjust the look and feel of child components.
5
5
  *
6
+ * Components not wrapped in a theme provider use the current theme from the connected Fusion instance by default.
7
+ *
6
8
  * @example
7
9
  * Example of a theme provider, which changes the colors and font of the nested indicator chart:
8
10
  * ```tsx
@@ -36,6 +36,7 @@ export declare const translation: {
36
36
  unknownFilterInFilterRelations: string;
37
37
  filterRelationsNotSupported: string;
38
38
  invalidFilterType: string;
39
+ secondsDateTimeLevelSupportedOnlyForLive: string;
39
40
  };
40
41
  errorBoxText: string;
41
42
  chartNoData: string;
@@ -40,6 +40,7 @@ export declare const resources: {
40
40
  unknownFilterInFilterRelations: string;
41
41
  filterRelationsNotSupported: string;
42
42
  invalidFilterType: string;
43
+ secondsDateTimeLevelSupportedOnlyForLive: string;
43
44
  };
44
45
  errorBoxText: string;
45
46
  chartNoData: string;
@@ -143,6 +144,7 @@ export declare const resources: {
143
144
  unknownFilterInFilterRelations: string;
144
145
  filterRelationsNotSupported: string;
145
146
  invalidFilterType: string;
147
+ secondsDateTimeLevelSupportedOnlyForLive: string;
146
148
  };
147
149
  errorBoxText: string;
148
150
  chartNoData: string;
package/dist/types.d.ts CHANGED
@@ -622,211 +622,223 @@ export type NumberFormatConfig = {
622
622
  export type CompleteNumberFormatConfig = Required<NumberFormatConfig>;
623
623
  /** Identifier of a theme as defined in the Sisense instance. */
624
624
  export type ThemeOid = string;
625
- /** Theme settings defining the look and feel of components. */
626
- export interface ThemeSettings {
627
- /** Chart theme settings */
628
- chart?: {
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;
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;
637
666
  };
638
- /** Collection of colors used to color various elements */
639
- palette?: ColorPaletteTheme;
640
- /** Text theme settings */
641
- typography?: {
642
- /** Font family name to style component text */
643
- fontFamily?: string;
644
- /** Primary text color */
645
- primaryTextColor?: string;
646
- /** Secondary text color */
647
- 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;
648
677
  };
649
- /** General theme settings */
650
- general?: {
651
- /** Main color used for various elements like primary buttons, switches, etc. */
652
- brandColor?: string;
653
- /** Background color used for elements like tiles, etc. */
678
+ /** Settings for user chat messages */
679
+ userMessages?: {
680
+ /** Background color of user chat messages */
654
681
  backgroundColor?: string;
655
- /** Text color for primary buttons */
656
- primaryButtonTextColor?: string;
657
- /** Hover color for primary buttons */
658
- primaryButtonHoverColor?: string;
659
682
  };
660
- /**
661
- * Theme settings specific to the AI Chatbot component
662
- */
663
- aiChat?: {
664
- /** Background color of the chatbot */
683
+ /** Settings for system chat messages */
684
+ systemMessages?: {
685
+ /** Background color of system chat messages */
665
686
  backgroundColor?: string;
666
- /** Text color of the chatbot */
667
- primaryTextColor?: string;
668
- /** Secondary text color of the chatbot */
669
- secondaryTextColor?: string;
670
- /** Primary font size for text in the chatbot */
671
- primaryFontSize?: [fontSize: string, lineHeight: string];
672
- /** Border of the chatbot */
673
- border?: false | string;
674
- /** Border radius of the chatbot */
675
- borderRadius?: false | string;
676
- /** Settings for the main chat body */
677
- body?: {
678
- /** Left padding of the chat body */
679
- paddingLeft?: string;
680
- /** Right padding of the chat body */
681
- paddingRight?: string;
682
- /** Top padding of the chat body */
683
- paddingTop?: string;
684
- /** Bottom padding of the chat body */
685
- paddingBottom?: string;
686
- /** Gap size between each message in the chat body */
687
- gapBetweenMessages?: string;
688
- };
689
- /** Settings for the chat footer */
690
- footer?: {
691
- /** Left padding of the chat footer */
692
- paddingLeft?: string;
693
- /** Right padding of the chat footer */
694
- paddingRight?: string;
695
- /** Top padding of the chat footer */
696
- paddingTop?: string;
697
- /** Bottom padding of the chat footer */
698
- paddingBottom?: string;
699
- };
700
- /** Settings for user chat messages */
701
- userMessages?: {
702
- /** Background color of user chat messages */
703
- backgroundColor?: string;
704
- };
705
- /** Settings for system chat messages */
706
- systemMessages?: {
707
- /** Background color of system chat messages */
708
- backgroundColor?: string;
709
- };
710
- /** Settings for the chatbot input */
711
- input?: {
712
- /** Background color of the input */
713
- backgroundColor?: string;
714
- /** Settings to be applied on input focus */
715
- focus?: {
716
- /** Outline color of the input */
717
- outlineColor?: string;
718
- };
719
- };
720
- /** Settings for the chatbot header */
721
- header?: {
722
- /** Background color of the chatbot header */
723
- backgroundColor?: string;
724
- /** Text color of the chatbot header */
725
- textColor?: string;
726
- };
727
- /** Settings for chatbot dropup */
728
- dropup?: {
729
- /** Background color of the dropup */
730
- backgroundColor?: string;
731
- /** Box shadow of the dropup */
732
- boxShadow?: string;
733
- /** Border radius of the dropup */
734
- borderRadius?: string;
735
- /** Settings for the section headers of the dropup */
736
- headers?: {
737
- /** Text color of headers */
738
- textColor?: string;
739
- /** Settings to be applied on hover of the headers */
740
- hover?: {
741
- /** Background color of headers on hover */
742
- backgroundColor?: string;
743
- };
744
- };
745
- /** Settings for the dropup items */
746
- items?: {
747
- /** Text color of the dropup items */
748
- textColor?: string;
749
- /** Settings to be applied on hover of dropup items */
750
- hover?: {
751
- /** Background color of dropup items on hover */
752
- backgroundColor?: string;
753
- };
754
- };
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;
755
696
  };
756
- /** Settings for the chatbot suggestions */
757
- suggestions?: {
758
- /** 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 */
759
716
  textColor?: string;
760
- /** Background color of the chatbot suggestions */
761
- backgroundColor?: string;
762
- /** Border of the chatbot suggestions */
763
- border?: string;
764
- /** 2-color gradient to be applied on the border */
765
- borderGradient?: [string, string] | null;
766
- /** Border radius of the chatbot suggestions */
767
- borderRadius?: string;
768
- /** Setting to be applied on hover */
717
+ /** Settings to be applied on hover of the headers */
769
718
  hover?: {
770
- /** Text color of the chatbot suggestions on hover */
771
- textColor?: string;
772
- /** Background color of the chatbot suggestions on hover */
719
+ /** Background color of headers on hover */
773
720
  backgroundColor?: string;
774
721
  };
775
- /** 2-color gradient to be applied on suggestions loading animation */
776
- loadingGradient?: [string, string];
777
- /** Gap size between each suggestion item */
778
- gap?: string;
779
722
  };
780
- /** Settings for the chatbot clickable messages */
781
- clickableMessages?: {
782
- /** Text color of the chatbot clickable messages */
723
+ /** Settings for the dropup items */
724
+ items?: {
725
+ /** Text color of the dropup items */
783
726
  textColor?: string;
784
- /** Background color of the chatbot clickable messages */
785
- backgroundColor?: string;
786
- /** Border of the chatbot clickable messages */
787
- border?: false | string;
788
- /** 2-color gradient to be applied on the border */
789
- borderGradient?: [string, string] | null;
790
- /** Setting to be applied on hover */
727
+ /** Settings to be applied on hover of dropup items */
791
728
  hover?: {
792
- /** Text color of the chatbot clickable messages on hover */
793
- textColor?: string;
794
- /** Background color of the chatbot clickable messages on hover */
729
+ /** Background color of dropup items on hover */
795
730
  backgroundColor?: string;
796
731
  };
797
732
  };
798
- /** Settings for the data topics screen */
799
- dataTopics?: {
800
- /** 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 */
801
751
  backgroundColor?: string;
802
- /** Settings for the individual data topic items */
803
- items?: {
804
- /** Text color of the data topic items */
805
- textColor?: string;
806
- /** Background color of the data topic items */
807
- backgroundColor?: string;
808
- };
809
752
  };
810
- /** Settings for the chatbot icons */
811
- icons?: {
812
- /** Color of the chatbot icons */
813
- color?: string;
814
- /** Settings for feedback icons */
815
- feedbackIcons?: {
816
- /** Background color of the feedback icons on hover */
817
- hoverColor?: string;
818
- };
819
- };
820
- /** Settings for the chatbot tooltips */
821
- tooltips?: {
822
- /** 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 */
823
773
  backgroundColor?: string;
824
- /** 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 */
825
783
  textColor?: string;
826
- /** Box shadow of the tooltips */
827
- 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;
828
796
  };
829
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;
830
842
  }
831
843
  /**
832
844
  * Complete set of theme settings defining the look and feel of components.