@sisense/sdk-ui 2.9.0 → 2.11.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 (176) hide show
  1. package/dist/ai.cjs +32 -32
  2. package/dist/ai.js +426 -419
  3. package/dist/analytics-composer/node.cjs +3 -1
  4. package/dist/analytics-composer/node.js +521 -385
  5. package/dist/analytics-composer.cjs +1 -1
  6. package/dist/analytics-composer.js +6 -6
  7. package/dist/derive-chart-family-BauaWEEc.cjs +170 -0
  8. package/dist/derive-chart-family-BhAFg8OE.js +29535 -0
  9. package/dist/{dimensions-B2jz151s.js → dimensions-Bk74slQe.js} +1 -1
  10. package/dist/{dimensions-CVJeJ8mi.cjs → dimensions-DCxjxuyH.cjs} +1 -1
  11. package/dist/{execute-query-agpyzZz6.js → execute-query-CxMSGp-J.js} +292 -269
  12. package/dist/execute-query-uQ2s1ZNz.cjs +1 -0
  13. package/dist/index.cjs +25 -26
  14. package/dist/index.js +12805 -11832
  15. package/dist/index.umd.js +384 -374
  16. package/dist/packages/sdk-ui/src/ai/chart/nlq-chart-widget.d.ts +7 -1
  17. package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/common.d.ts +14 -0
  18. package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/translate-dimensions.d.ts +2 -2
  19. package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/translate-filters.d.ts +5 -5
  20. package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/translate-measures.d.ts +3 -3
  21. package/dist/packages/sdk-ui/src/analytics-composer/types.d.ts +12 -0
  22. package/dist/packages/sdk-ui/src/app/client-application.d.ts +2 -2
  23. package/dist/packages/sdk-ui/src/calendar-heatmap-chart.d.ts +26 -0
  24. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/calendar-heatmap-chart-builder.d.ts +8 -0
  25. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/constants.d.ts +118 -0
  26. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/data-options/data-options.d.ts +56 -0
  27. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/data-options/index.d.ts +1 -0
  28. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/data.d.ts +34 -0
  29. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/design-options.d.ts +22 -0
  30. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/highcharts-options-builder.d.ts +8 -0
  31. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/index.d.ts +1 -0
  32. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/axes-options.d.ts +12 -0
  33. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/chart-options.d.ts +9 -0
  34. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/extras-options.d.ts +8 -0
  35. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/index.d.ts +7 -0
  36. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/legend-options.d.ts +8 -0
  37. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/plot-options.d.ts +9 -0
  38. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/series-options/calendar-data-generator.d.ts +42 -0
  39. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/series-options/index.d.ts +1 -0
  40. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/series-options/series-options.d.ts +9 -0
  41. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/tooltip-options.d.ts +9 -0
  42. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-heatmap-charts-grid.d.ts +34 -0
  43. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-heatmap.d.ts +15 -0
  44. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-pagination/calendar-pagination.d.ts +31 -0
  45. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-pagination/helpers.d.ts +3 -0
  46. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-pagination/index.d.ts +1 -0
  47. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/helpers/data-helpers.d.ts +4 -0
  48. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/helpers/sizing-helpers.d.ts +14 -0
  49. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/helpers/view-helpers.d.ts +16 -0
  50. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/hooks/index.d.ts +4 -0
  51. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/hooks/use-calendar-heatmap-chart-options.d.ts +55 -0
  52. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/hooks/use-calendar-heatmap-navigation.d.ts +33 -0
  53. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/index.d.ts +2 -0
  54. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/types.d.ts +13 -0
  55. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/utils/calendar-utils.d.ts +33 -0
  56. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/utils/index.d.ts +2 -0
  57. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/utils/with-calendar-heatmap-data-coloring.d.ts +17 -0
  58. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/helpers/data-options.d.ts +5 -1
  59. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/helpers/highchart-options/legend.d.ts +3 -2
  60. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/funnel-chart/alerts/index.d.ts +5 -0
  61. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/funnel-chart/data/index.d.ts +21 -0
  62. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/funnel-chart/data-options/index.d.ts +32 -0
  63. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/funnel-chart/design-options/index.d.ts +17 -0
  64. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/funnel-chart/funnel-chart-builder.d.ts +2 -0
  65. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/funnel-chart/highchart-options/highcharts-options-builder.d.ts +2 -0
  66. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/funnel-chart/types.d.ts +12 -0
  67. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/helpers/data-options.d.ts +22 -0
  68. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/helpers/data.d.ts +13 -0
  69. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/alerts/index.d.ts +5 -0
  70. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/data/index.d.ts +15 -0
  71. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/data-options/index.d.ts +32 -0
  72. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/design-options/index.d.ts +17 -0
  73. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/highchart-options/highcharts-options-builder.d.ts +2 -0
  74. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/pie-chart-builder.d.ts +2 -0
  75. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/types.d.ts +12 -0
  76. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/sunburst-chart/alerts/index.d.ts +1 -0
  77. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/sunburst-chart/data/index.d.ts +7 -0
  78. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/sunburst-chart/data-options/index.d.ts +11 -0
  79. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/sunburst-chart/design-options/index.d.ts +6 -0
  80. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/sunburst-chart/highchart-options/highcharts-options-builder.d.ts +2 -0
  81. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/sunburst-chart/sunburst-chart-builder.d.ts +2 -0
  82. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/sunburst-chart/types.d.ts +12 -0
  83. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/treemap-chart/alerts/index.d.ts +1 -0
  84. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/treemap-chart/data/index.d.ts +7 -0
  85. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/treemap-chart/data-options/index.d.ts +11 -0
  86. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/treemap-chart/design-options/index.d.ts +6 -0
  87. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/treemap-chart/highchart-options/highcharts-options-builder.d.ts +2 -0
  88. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/treemap-chart/treemap-chart-builder.d.ts +2 -0
  89. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/treemap-chart/types.d.ts +12 -0
  90. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/highcharts-based-chart-renderer/highcharts-based-chart-renderer.d.ts +2 -4
  91. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/highcharts-based-chart-renderer/use-extra-config.d.ts +2 -0
  92. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/types.d.ts +1 -1
  93. package/dist/packages/sdk-ui/src/chart/restructured-charts/types.d.ts +12 -10
  94. package/dist/packages/sdk-ui/src/chart-data/types.d.ts +2 -1
  95. package/dist/packages/sdk-ui/src/chart-data-options/translate-data-options.d.ts +2 -1
  96. package/dist/packages/sdk-ui/src/chart-data-options/types.d.ts +19 -2
  97. package/dist/packages/sdk-ui/src/chart-data-options/utils.d.ts +4 -4
  98. package/dist/packages/sdk-ui/src/chart-data-options/validate-data-options/validate-categorical-data-options.d.ts +14 -0
  99. package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/series-processor.d.ts +23 -1
  100. package/dist/packages/sdk-ui/src/chart-options-processor/{category-chart-options.d.ts → category-chart-options/category-chart-options.d.ts} +9 -5
  101. package/dist/packages/sdk-ui/src/chart-options-processor/category-chart-options/funnel-chart-options.d.ts +15 -0
  102. package/dist/packages/sdk-ui/src/chart-options-processor/category-chart-options/pie-chart-options.d.ts +15 -0
  103. package/dist/packages/sdk-ui/src/chart-options-processor/category-chart-options/sunburst-chart-options.d.ts +17 -0
  104. package/dist/packages/sdk-ui/src/chart-options-processor/category-chart-options/treemap-chart-options.d.ts +17 -0
  105. package/dist/packages/sdk-ui/src/chart-options-processor/chart-options-service.d.ts +29 -3
  106. package/dist/packages/sdk-ui/src/chart-options-processor/scatter-chart-options.d.ts +3 -3
  107. package/dist/packages/sdk-ui/src/chart-options-processor/series-labels.d.ts +19 -0
  108. package/dist/packages/sdk-ui/src/chart-options-processor/style-to-design-options-translator/translate-to-highcharts-options.d.ts +1 -3
  109. package/dist/packages/sdk-ui/src/chart-options-processor/translations/axis-section.d.ts +6 -0
  110. package/dist/packages/sdk-ui/src/chart-options-processor/translations/boxplot/boxplot-plot-options.d.ts +2 -2
  111. package/dist/packages/sdk-ui/src/chart-options-processor/translations/design-options.d.ts +43 -7
  112. package/dist/packages/sdk-ui/src/chart-options-processor/translations/funnel-plot-options.d.ts +2 -2
  113. package/dist/packages/sdk-ui/src/chart-options-processor/translations/funnel-series.d.ts +8 -0
  114. package/dist/packages/sdk-ui/src/chart-options-processor/translations/legend-section.d.ts +28 -14
  115. package/dist/packages/sdk-ui/src/chart-options-processor/translations/pie-plot-options.d.ts +2 -2
  116. package/dist/packages/sdk-ui/src/chart-options-processor/translations/pie-series.d.ts +34 -6
  117. package/dist/packages/sdk-ui/src/chart-options-processor/translations/scatter-series.d.ts +2 -1
  118. package/dist/packages/sdk-ui/src/chart-options-processor/translations/sunburst/sunburst-options.d.ts +78 -0
  119. package/dist/packages/sdk-ui/src/chart-options-processor/translations/tooltip-utils.d.ts +10 -4
  120. package/dist/packages/sdk-ui/src/chart-options-processor/translations/translations-to-highcharts.d.ts +1 -1
  121. package/dist/packages/sdk-ui/src/chart-options-processor/translations/types.d.ts +50 -6
  122. package/dist/packages/sdk-ui/src/chart-options-processor/translations/value-label-section.d.ts +14 -11
  123. package/dist/packages/sdk-ui/src/common/components/modal/modal-context.d.ts +1 -2
  124. package/dist/packages/sdk-ui/src/common/formatters/create-date-formatter.d.ts +10 -0
  125. package/dist/packages/sdk-ui/src/common/hooks/useDateFormatter.d.ts +7 -0
  126. package/dist/packages/sdk-ui/src/common/icons/double-arrow-end-icon.d.ts +6 -0
  127. package/dist/packages/sdk-ui/src/dashboard/components/editable-layout/utils.d.ts +0 -19
  128. package/dist/packages/sdk-ui/src/dashboard/components/jtd-dashboard.d.ts +5 -4
  129. package/dist/packages/sdk-ui/src/dashboard/dashboard-helpers.d.ts +109 -0
  130. package/dist/packages/sdk-ui/src/dashboard/hooks/index.d.ts +7 -0
  131. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/index.d.ts +20 -5
  132. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-config-transformers.d.ts +85 -0
  133. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-filters.d.ts +15 -3
  134. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-formatters.d.ts +80 -0
  135. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-handlers.d.ts +26 -4
  136. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-menu.d.ts +1 -0
  137. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-types.d.ts +260 -5
  138. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-widget-transforms.d.ts +29 -0
  139. package/dist/packages/sdk-ui/src/dashboard/hooks/use-dashboard-header-toolbar.d.ts +7 -0
  140. package/dist/packages/sdk-ui/src/dashboard/hooks/use-edit-mode-toolbar.d.ts +3 -0
  141. package/dist/packages/sdk-ui/src/dashboard/hooks/use-jtd-widget.d.ts +68 -0
  142. package/dist/packages/sdk-ui/src/dashboard/hooks/use-jtd.d.ts +33 -7
  143. package/dist/packages/sdk-ui/src/dashboard/hooks/use-tabber.d.ts +13 -0
  144. package/dist/packages/sdk-ui/src/dashboard/index.d.ts +1 -0
  145. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/utils.d.ts +1 -3
  146. package/dist/packages/sdk-ui/src/index.d.ts +10 -1
  147. package/dist/packages/sdk-ui/src/models/dashboard/translate-dashboard-utils.d.ts +26 -2
  148. package/dist/packages/sdk-ui/src/models/dashboard/types.d.ts +8 -4
  149. package/dist/packages/sdk-ui/src/pivot-table/formatters/header-cell-formatters/header-cell-value-formatter.d.ts +2 -1
  150. package/dist/packages/sdk-ui/src/pivot-table/formatters/types.d.ts +0 -1
  151. package/dist/packages/sdk-ui/src/polar-chart.d.ts +1 -1
  152. package/dist/packages/sdk-ui/src/props.d.ts +66 -7
  153. package/dist/packages/sdk-ui/src/sisense-chart/types.d.ts +2 -2
  154. package/dist/packages/sdk-ui/src/theme-provider/default-theme-settings.d.ts +1 -0
  155. package/dist/packages/sdk-ui/src/translation/resources/en.d.ts +11 -0
  156. package/dist/packages/sdk-ui/src/translation/resources/index.d.ts +22 -0
  157. package/dist/packages/sdk-ui/src/types.d.ts +444 -32
  158. package/dist/packages/sdk-ui/src/utils/combine-handlers.d.ts +19 -0
  159. package/dist/packages/sdk-ui/src/utils/create-level-attribute.d.ts +11 -0
  160. package/dist/packages/sdk-ui/src/utils/utility-types/transformer.d.ts +8 -0
  161. package/dist/packages/sdk-ui/src/widget-by-id/translate-widget-style-options.d.ts +9 -0
  162. package/dist/packages/sdk-ui/src/widget-by-id/types.d.ts +45 -74
  163. package/dist/{types-QUSMO7gF.cjs → types-DhvOgfXa.cjs} +1 -1
  164. package/dist/{types-BYUVZb6u.js → types-Dxieyr4A.js} +1 -1
  165. package/dist/use-common-filters-DJyYvdev.js +91688 -0
  166. package/dist/use-common-filters-Qj9249s0.cjs +845 -0
  167. package/dist/{widget-composer-BG4HonVl.js → widget-composer-azihIMsw.js} +3 -3
  168. package/dist/{widget-composer-CGp5yOny.cjs → widget-composer-omIEhWNL.cjs} +1 -1
  169. package/package.json +13 -18
  170. package/dist/derive-chart-family-BLG1sO1D.js +0 -86946
  171. package/dist/derive-chart-family-QPmz5DJ3.cjs +0 -656
  172. package/dist/execute-query-Cp3se7Yb.cjs +0 -1
  173. package/dist/packages/sdk-ui/src/utils/__development-utils__/highcharts-options-builder-collector.d.ts +0 -61
  174. package/dist/packages/sdk-ui/src/utils/__development-utils__/input-output-collector.d.ts +0 -125
  175. package/dist/use-common-filters-DmdADAhl.cjs +0 -350
  176. package/dist/use-common-filters-wo5IRF5u.js +0 -31972
@@ -0,0 +1,4 @@
1
+ import { MonthInfo } from './view-helpers.js';
2
+ import { CalendarHeatmapChartData } from '../../data.js';
3
+ export declare function filterChartDataForMonth(chartData: CalendarHeatmapChartData, targetYear: number, targetMonth: number): CalendarHeatmapChartData;
4
+ export declare function filterChartDataForMonths(chartData: CalendarHeatmapChartData, months: MonthInfo[]): CalendarHeatmapChartData;
@@ -0,0 +1,14 @@
1
+ import { CalendarHeatmapViewType } from '../../../../../../types.js';
2
+ import { ContainerSize } from '../../../../../../dynamic-size-container/dynamic-size-container';
3
+ export interface CalendarSize extends ContainerSize {
4
+ cellSize: number;
5
+ }
6
+ export declare function getViewGridInfo(viewType: CalendarHeatmapViewType, size: ContainerSize): {
7
+ cols: number;
8
+ rows: number;
9
+ };
10
+ /**
11
+ * Calculate optimal calendar size based on available container space
12
+ * Ensures calendar cells are perfectly square (width = height)
13
+ */
14
+ export declare function calculateCalendarSize(containerSize: ContainerSize, viewType: CalendarHeatmapViewType): CalendarSize;
@@ -0,0 +1,16 @@
1
+ import { CalendarHeatmapChartData } from '../../data';
2
+ import { CalendarHeatmapViewType } from '../../../../../../types';
3
+ import { CalendarSize } from './sizing-helpers';
4
+ export interface MonthInfo {
5
+ year: number;
6
+ month: number;
7
+ monthName: string;
8
+ }
9
+ export declare function shouldUseShortMonthNames(calendarSize: CalendarSize): boolean;
10
+ export declare function getAvailableMonths(chartData: CalendarHeatmapChartData, dateFormatter: (date: Date, format: string) => string, useShortMonthNames?: boolean): MonthInfo[];
11
+ export declare function getMonthsPerView(viewType: CalendarHeatmapViewType): number;
12
+ export declare function getGridLayout(viewType: CalendarHeatmapViewType): {
13
+ columns: string;
14
+ rows: string;
15
+ };
16
+ export declare function getDisplayMonths(availableMonths: MonthInfo[], currentViewIndex: number, viewType: CalendarHeatmapViewType): MonthInfo[];
@@ -0,0 +1,4 @@
1
+ export { useCalendarHeatmapNavigation } from './use-calendar-heatmap-navigation.js';
2
+ export { useCalendarHeatmapChartOptions } from './use-calendar-heatmap-chart-options.js';
3
+ export type { CalendarHeatmapNavigationResult } from './use-calendar-heatmap-navigation.js';
4
+ export type { UseCalendarHeatmapChartOptionsParams } from './use-calendar-heatmap-chart-options.js';
@@ -0,0 +1,55 @@
1
+ import { CalendarHeatmapChartDataOptionsInternal } from '../../../../../../chart-data-options/types';
2
+ import { CalendarHeatmapChartDesignOptions } from '../../../../../../chart-options-processor/translations/design-options';
3
+ import { BeforeRenderHandler } from '../../../../../../props';
4
+ import { MonthInfo } from '../helpers/view-helpers.js';
5
+ import { CalendarSize } from '../helpers/sizing-helpers.js';
6
+ import { CalendarHeatmapViewType } from '../../../../../../types.js';
7
+ import { HighchartsOptionsInternal } from '../../../../../../chart-options-processor/chart-options-service';
8
+ import { CalendarHeatmapChartData } from '../../data.js';
9
+ import { CalendarHeatmapChartEventProps } from '../../../../../../props.jsx';
10
+ export interface UseCalendarHeatmapChartOptionsParams {
11
+ chartData: CalendarHeatmapChartData;
12
+ dataOptions: CalendarHeatmapChartDataOptionsInternal;
13
+ designOptions: CalendarHeatmapChartDesignOptions;
14
+ availableMonths: MonthInfo[];
15
+ currentViewIndex: number;
16
+ viewType: CalendarHeatmapViewType;
17
+ chartSize: CalendarSize;
18
+ eventHandlers: Pick<CalendarHeatmapChartEventProps, 'onDataPointClick' | 'onDataPointContextMenu' | 'onDataPointsSelected'>;
19
+ onBeforeRender?: BeforeRenderHandler;
20
+ }
21
+ /**
22
+ * Custom hook for generating Highcharts options for calendar heatmap charts.
23
+ *
24
+ * Transforms chart data, design options, and event handlers into Highcharts configuration
25
+ * objects for each month in the current view. Each month gets its own chart instance
26
+ * with filtered data and appropriate sizing.
27
+ *
28
+ * @param params - Configuration object containing all required parameters
29
+ * @param params.chartData - The complete calendar heatmap chart data
30
+ * @param params.dataOptions - Internal data options configuration
31
+ * @param params.designOptions - Design and styling options for the chart
32
+ * @param params.availableMonths - Array of all available months
33
+ * @param params.currentViewIndex - Current view index
34
+ * @param params.viewType - View type that determines how many months to display
35
+ * @param params.chartSizes - Array of size configurations for each chart
36
+ * @param params.eventHandlers - Event handlers for data point interactions
37
+ * @param params.onBeforeRender - Optional callback executed before chart rendering
38
+ * @returns Array of Highcharts options objects, one for each month in the current view
39
+ *
40
+ * @example
41
+ * ```typescript
42
+ * const chartOptionsPerMonth = useCalendarHeatmapChartOptions({
43
+ * chartData,
44
+ * dataOptions,
45
+ * designOptions,
46
+ * availableMonths,
47
+ * currentViewIndex,
48
+ * viewType,
49
+ * chartSize,
50
+ * eventHandlers: { onDataPointClick: handleClick },
51
+ * onBeforeRender
52
+ * });
53
+ * ```
54
+ */
55
+ export declare function useCalendarHeatmapChartOptions({ chartData, dataOptions, designOptions, availableMonths, currentViewIndex, viewType, chartSize, eventHandlers, onBeforeRender, }: UseCalendarHeatmapChartOptionsParams): HighchartsOptionsInternal[];
@@ -0,0 +1,33 @@
1
+ import { MonthInfo } from '../helpers/view-helpers.js';
2
+ import { CalendarHeatmapViewType } from '../../../../../../types.js';
3
+ export interface CalendarHeatmapNavigationResult {
4
+ currentViewIndex: number;
5
+ setCurrentViewIndex: (index: number) => void;
6
+ goToFirstView: () => void;
7
+ goToPreviousView: () => void;
8
+ goToNextView: () => void;
9
+ goToLastView: () => void;
10
+ goToPreviousGroup: () => void;
11
+ goToNextGroup: () => void;
12
+ }
13
+ /**
14
+ * Custom hook for managing calendar navigation state and actions.
15
+ *
16
+ * Provides navigation functionality for calendar views including:
17
+ * - Basic view navigation (first, previous, next, last) - moves by 1 month
18
+ * - Group-level navigation - jumps by viewType amount (1, 3, 6, or 12 months)
19
+ * - Current view index management
20
+ *
21
+ * @param availableMonths - Array of all available months
22
+ * @param viewType - The current view type that determines jump size
23
+ * @returns Navigation state and action functions
24
+ *
25
+ * @example
26
+ * ```typescript
27
+ * const { currentViewIndex, goToNextView, goToPreviousGroup } = useCalendarNavigation(
28
+ * availableMonths,
29
+ * viewType
30
+ * );
31
+ * ```
32
+ */
33
+ export declare function useCalendarHeatmapNavigation(availableMonths: MonthInfo[], viewType: CalendarHeatmapViewType): CalendarHeatmapNavigationResult;
@@ -0,0 +1,2 @@
1
+ export { CalendarHeatmap, isCalendarHeatmapProps } from './calendar-heatmap.js';
2
+ export type { CalendarHeatmapProps } from './calendar-heatmap.js';
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Enum representing different view types for calendar heatmap charts
3
+ */
4
+ export declare enum ViewType {
5
+ /** Single month view showing one month at a time */
6
+ MONTH = "month",
7
+ /** Quarter view showing 3 months at a time */
8
+ QUARTER = "quarter",
9
+ /** Half-year view showing 6 months at a time */
10
+ HALF_YEAR = "half-year",
11
+ /** Year view showing 12 months at a time */
12
+ YEAR = "year"
13
+ }
@@ -0,0 +1,33 @@
1
+ import type { DateFormatter } from '../../../../../common/formatters/create-date-formatter.js';
2
+ /**
3
+ * Day of the week
4
+ */
5
+ export type CalendarDayOfWeek = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
6
+ /**
7
+ * Internal enum for start of week values
8
+ * @internal
9
+ */
10
+ export declare enum CalendarDayOfWeekEnum {
11
+ SUNDAY = "sunday",
12
+ MONDAY = "monday",
13
+ TUESDAY = "tuesday",
14
+ WEDNESDAY = "wednesday",
15
+ THURSDAY = "thursday",
16
+ FRIDAY = "friday",
17
+ SATURDAY = "saturday"
18
+ }
19
+ /**
20
+ * Get day of week index from day of week string
21
+ */
22
+ export declare function getDayOfWeekIndex(dayOfWeek: CalendarDayOfWeek): number;
23
+ /**
24
+ * Get day of week string from day of week index
25
+ */
26
+ export declare function getDayOfWeek(index: number): CalendarDayOfWeek;
27
+ /**
28
+ * Get localized weekday labels based on week start preference
29
+ * @param startOfWeek - Week start preference
30
+ * @param dateFormatter - Date formatter function for consistent formatting
31
+ * @returns Array of localized weekday abbreviations
32
+ */
33
+ export declare function getWeekdayLabels(startOfWeek: CalendarDayOfWeek, dateFormatter: DateFormatter): readonly string[];
@@ -0,0 +1,2 @@
1
+ export { CalendarDayOfWeekEnum, type CalendarDayOfWeek, getDayOfWeek, getDayOfWeekIndex, getWeekdayLabels, } from './calendar-utils.js';
2
+ export { withCalendarHeatmapDataColoring } from './with-calendar-heatmap-data-coloring.js';
@@ -0,0 +1,17 @@
1
+ import { CompleteThemeSettings, DataColorOptions, RangeDataColorOptions } from '../../../../../types';
2
+ import { CalendarHeatmapChartData } from '../data.js';
3
+ /**
4
+ * Returns the default color options for calendar heatmap chart
5
+ *
6
+ * @param themeSettings - Theme settings
7
+ * @returns Default color options
8
+ */
9
+ export declare function getCalendarHeatmapDefaultColorOptions(themeSettings: CompleteThemeSettings): RangeDataColorOptions;
10
+ /**
11
+ * Creates a decorator function that applies data-driven coloring to calendar heatmap data values.
12
+ * Uses a decorator pattern where the function accepts color options and returns a data transformer.
13
+ *
14
+ * @param colorOptions - Data color options configuration
15
+ * @returns A decorator function that colors calendar heatmap data values
16
+ */
17
+ export declare function withCalendarHeatmapDataColoring(colorOptions?: DataColorOptions): (data: CalendarHeatmapChartData) => CalendarHeatmapChartData;
@@ -1,6 +1,6 @@
1
1
  import { CartesianChartDataOptionsInternal, ChartDataOptions, ChartDataOptionsInternal } from '../../../../../chart-data-options/types';
2
2
  import { CartesianChartDataOptions } from '../../../../../types';
3
- import { Attribute, Measure } from '@sisense/sdk-data';
3
+ import { Attribute, CalculatedMeasureColumn, Column, Measure, MeasureColumn } from '@sisense/sdk-data';
4
4
  /**
5
5
  * Translates the data options for cartesian charts to internal format.
6
6
  */
@@ -21,6 +21,10 @@ export declare function isCartesianChartDataOptions(dataOptions: ChartDataOption
21
21
  * Checks if the internal data options are correct for cartesian charts.
22
22
  */
23
23
  export declare function isCartesianChartDataOptionsInternal(dataOptions: ChartDataOptionsInternal): dataOptions is CartesianChartDataOptionsInternal;
24
+ /**
25
+ * Checks if the column is an attribute column.
26
+ */
27
+ export declare function isAttributeColumn(column: MeasureColumn | CalculatedMeasureColumn | Column): column is Column;
24
28
  /**
25
29
  * Checks if the chart should have Y2 axis.
26
30
  */
@@ -1,2 +1,3 @@
1
- import { LegendPosition, LegendSettings } from '../../../../../../chart-options-processor/translations/legend-section';
2
- export declare const getBasicCartesianLegend: (position: LegendPosition) => LegendSettings;
1
+ import { LegendSettings } from '../../../../../../chart-options-processor/translations/legend-section';
2
+ import type { LegendOptions } from '../../../../../../types';
3
+ export declare const getBasicCartesianLegend: (legend?: LegendOptions) => LegendSettings;
@@ -0,0 +1,5 @@
1
+ import { BuildContext } from '../../../types';
2
+ /**
3
+ * Funnel-specific alerts function that extracts alerts from the funnel series formatting.
4
+ */
5
+ export declare const getFunnelChartAlerts: (ctx: BuildContext<'funnel'>) => string[];
@@ -0,0 +1,21 @@
1
+ import { DataTable } from '../../../../../../chart-data-processor/table-processor';
2
+ import { FunnelChartData, FunnelChartDataOptionsInternal } from '../types';
3
+ import { SupportedChartType, TypedLoadDataFunction } from '../../../../../../chart/restructured-charts/types';
4
+ /**
5
+ * Maximum number of data points allowed for funnel charts.
6
+ * This limit ensures optimal performance and user experience.
7
+ */
8
+ export declare const FUNNEL_CHART_DATA_LIMIT = 50;
9
+ /**
10
+ * Data translators for funnel charts.
11
+ */
12
+ export declare const dataTranslators: {
13
+ /**
14
+ * Loads data for funnel charts with funnel-specific data limiting for optimal performance.
15
+ */
16
+ loadData: TypedLoadDataFunction<SupportedChartType>;
17
+ /**
18
+ * Transforms data table to funnel chart data.
19
+ */
20
+ getChartData: (dataOptions: FunnelChartDataOptionsInternal, dataTable: DataTable) => FunnelChartData;
21
+ };
@@ -0,0 +1,32 @@
1
+ import { Attribute, Measure } from '@sisense/sdk-data';
2
+ import { ChartDataOptions, ChartDataOptionsInternal } from '../../../../../../chart-data-options/types';
3
+ import { FunnelChartDataOptions, FunnelChartDataOptionsInternal } from '../types';
4
+ /**
5
+ * Data options translators for funnel charts.
6
+ */
7
+ export declare const dataOptionsTranslators: {
8
+ /**
9
+ * Translates funnel chart data options to internal format.
10
+ */
11
+ translateDataOptionsToInternal: (dataOptions: FunnelChartDataOptions) => FunnelChartDataOptionsInternal;
12
+ /**
13
+ * Gets attributes from funnel chart data options.
14
+ */
15
+ getAttributes: (internalDataOptions: FunnelChartDataOptionsInternal) => Attribute[];
16
+ /**
17
+ * Gets measures from funnel chart data options.
18
+ */
19
+ getMeasures: (internalDataOptions: FunnelChartDataOptionsInternal) => Measure[];
20
+ /**
21
+ * Validates and cleans funnel chart data options.
22
+ */
23
+ validateAndCleanDataOptions: (dataOptions: FunnelChartDataOptions) => FunnelChartDataOptions;
24
+ /**
25
+ * Type guard to check if data options are funnel chart data options.
26
+ */
27
+ isCorrectDataOptions: (dataOptions: ChartDataOptions) => dataOptions is import('../../../../../../chart-data-options/types').CategoricalChartDataOptions;
28
+ /**
29
+ * Type guard to check if internal data options are funnel chart data options.
30
+ */
31
+ isCorrectDataOptionsInternal: (dataOptions: ChartDataOptionsInternal) => dataOptions is import('../../../../../../chart-data-options/types').CategoricalChartDataOptionsInternal;
32
+ };
@@ -0,0 +1,17 @@
1
+ import { ChartStyleOptions } from '../../../../../../types';
2
+ import { FunnelChartStyleOptions, FunnelChartDesignOptions } from '../types';
3
+ /**
4
+ * Translates style options to design options for funnel charts.
5
+ */
6
+ export declare function translateStyleOptionsToDesignOptions(styleOptions: FunnelChartStyleOptions): FunnelChartDesignOptions;
7
+ /**
8
+ * Checks if the style options are correct for funnel charts.
9
+ */
10
+ export declare function isCorrectStyleOptions(styleOptions: ChartStyleOptions): styleOptions is FunnelChartStyleOptions;
11
+ /**
12
+ * Design options translators for funnel charts.
13
+ */
14
+ export declare const designOptionsTranslators: {
15
+ translateStyleOptionsToDesignOptions: typeof translateStyleOptionsToDesignOptions;
16
+ isCorrectStyleOptions: typeof isCorrectStyleOptions;
17
+ };
@@ -0,0 +1,2 @@
1
+ import { ChartBuilder } from '../../../types';
2
+ export declare const funnelChartBuilder: ChartBuilder<'funnel'>;
@@ -0,0 +1,2 @@
1
+ import { HighchartsOptionsBuilder } from '../../../types';
2
+ export declare const funnelHighchartsOptionsBuilder: HighchartsOptionsBuilder<'funnel'>;
@@ -0,0 +1,12 @@
1
+ import { CategoricalChartData } from '../../../../../chart-data/types';
2
+ import { CategoricalChartDataOptions, CategoricalChartDataOptionsInternal } from '../../../../../chart-data-options/types';
3
+ import { FunnelStyleOptions } from '../../../../../types';
4
+ import { FunnelChartDesignOptions as FunnelDesignOptions } from '../../../../../chart-options-processor/translations/design-options';
5
+ /**
6
+ * Funnel chart specific type aliases for better readability.
7
+ */
8
+ export type FunnelChartData = CategoricalChartData;
9
+ export type FunnelChartDataOptions = CategoricalChartDataOptions;
10
+ export type FunnelChartDataOptionsInternal = CategoricalChartDataOptionsInternal;
11
+ export type FunnelChartStyleOptions = FunnelStyleOptions;
12
+ export type FunnelChartDesignOptions = FunnelDesignOptions;
@@ -0,0 +1,22 @@
1
+ import { Attribute, Measure } from '@sisense/sdk-data';
2
+ import { ChartDataOptions, CategoricalChartDataOptions, CategoricalChartDataOptionsInternal, ChartDataOptionsInternal } from '../../../../../chart-data-options/types';
3
+ /**
4
+ * Translates categorical chart data options to internal format.
5
+ */
6
+ export declare function translateCategoricalDataOptionsToInternal(dataOptions: CategoricalChartDataOptions): CategoricalChartDataOptionsInternal;
7
+ /**
8
+ * Gets attributes from categorical chart data options.
9
+ */
10
+ export declare function getCategoricalAttributes(internalDataOptions: CategoricalChartDataOptionsInternal): Attribute[];
11
+ /**
12
+ * Gets measures from categorical chart data options.
13
+ */
14
+ export declare function getCategoricalMeasures(internalDataOptions: CategoricalChartDataOptionsInternal): Measure[];
15
+ /**
16
+ * Type guard to check if data options are categorical chart data options.
17
+ */
18
+ export declare function isCategoricalChartDataOptions(dataOptions: ChartDataOptions): dataOptions is CategoricalChartDataOptions;
19
+ /**
20
+ * Type guard to check if internal data options are categorical chart data options.
21
+ */
22
+ export declare function isCategoricalChartDataOptionsInternal(dataOptions: ChartDataOptionsInternal): dataOptions is CategoricalChartDataOptionsInternal;
@@ -0,0 +1,13 @@
1
+ import { DataTable } from '../../../../../chart-data-processor/table-processor';
2
+ import { loadDataBySingleQuery } from '../../../helpers/data-loading';
3
+ import { CategoricalChartDataOptionsInternal } from '../../../../../chart-data-options/types';
4
+ import { CategoricalChartData } from '../../../../../chart-data/types';
5
+ /**
6
+ * Default data loading function for categorical charts.
7
+ * Uses single query execution which is appropriate for most categorical charts.
8
+ */
9
+ export declare const loadCategoricalData: typeof loadDataBySingleQuery;
10
+ /**
11
+ * Transforms data table to categorical chart data.
12
+ */
13
+ export declare function getCategoricalChartDataFromTable(dataOptions: CategoricalChartDataOptionsInternal, dataTable: DataTable): CategoricalChartData;
@@ -0,0 +1,5 @@
1
+ import { BuildContext } from '../../../types';
2
+ /**
3
+ * Pie-specific alerts function that uses the specialized pie alerts logic.
4
+ */
5
+ export declare const getPieChartAlerts: (ctx: BuildContext<'pie'>) => string[];
@@ -0,0 +1,15 @@
1
+ import { DataTable } from '../../../../../../chart-data-processor/table-processor';
2
+ import { PieChartData, PieChartDataOptionsInternal } from '../types';
3
+ /**
4
+ * Data translators for pie charts.
5
+ */
6
+ export declare const dataTranslators: {
7
+ /**
8
+ * Loads data for pie charts using the default categorical data loading approach.
9
+ */
10
+ loadData: typeof import("../../../../helpers/data-loading").loadDataBySingleQuery;
11
+ /**
12
+ * Transforms data table to pie chart data.
13
+ */
14
+ getChartData: (dataOptions: PieChartDataOptionsInternal, dataTable: DataTable) => PieChartData;
15
+ };
@@ -0,0 +1,32 @@
1
+ import { Attribute, Measure } from '@sisense/sdk-data';
2
+ import { ChartDataOptions, ChartDataOptionsInternal } from '../../../../../../chart-data-options/types';
3
+ import { PieChartDataOptions, PieChartDataOptionsInternal } from '../types';
4
+ /**
5
+ * Data options translators for pie charts.
6
+ */
7
+ export declare const dataOptionsTranslators: {
8
+ /**
9
+ * Translates pie chart data options to internal format.
10
+ */
11
+ translateDataOptionsToInternal: (dataOptions: PieChartDataOptions) => PieChartDataOptionsInternal;
12
+ /**
13
+ * Gets attributes from pie chart data options.
14
+ */
15
+ getAttributes: (internalDataOptions: PieChartDataOptionsInternal) => Attribute[];
16
+ /**
17
+ * Gets measures from pie chart data options.
18
+ */
19
+ getMeasures: (internalDataOptions: PieChartDataOptionsInternal) => Measure[];
20
+ /**
21
+ * Validates and cleans pie chart data options.
22
+ */
23
+ validateAndCleanDataOptions: (dataOptions: PieChartDataOptions) => PieChartDataOptions;
24
+ /**
25
+ * Type guard to check if data options are pie chart data options.
26
+ */
27
+ isCorrectDataOptions: (dataOptions: ChartDataOptions) => dataOptions is import('../../../../../../chart-data-options/types').CategoricalChartDataOptions;
28
+ /**
29
+ * Type guard to check if internal data options are pie chart data options.
30
+ */
31
+ isCorrectDataOptionsInternal: (dataOptions: ChartDataOptionsInternal) => dataOptions is import('../../../../../../chart-data-options/types').CategoricalChartDataOptionsInternal;
32
+ };
@@ -0,0 +1,17 @@
1
+ import { ChartStyleOptions } from '../../../../../../types';
2
+ import { PieChartStyleOptions, PieChartDesignOptions } from '../types';
3
+ /**
4
+ * Translates style options to design options for pie charts.
5
+ */
6
+ export declare function translateStyleOptionsToDesignOptions(styleOptions: PieChartStyleOptions): PieChartDesignOptions;
7
+ /**
8
+ * Checks if the style options are correct for pie charts.
9
+ */
10
+ export declare function isCorrectStyleOptions(styleOptions: ChartStyleOptions): styleOptions is PieChartStyleOptions;
11
+ /**
12
+ * Design options translators for pie charts.
13
+ */
14
+ export declare const designOptionsTranslators: {
15
+ translateStyleOptionsToDesignOptions: typeof translateStyleOptionsToDesignOptions;
16
+ isCorrectStyleOptions: typeof isCorrectStyleOptions;
17
+ };
@@ -0,0 +1,2 @@
1
+ import { HighchartsOptionsBuilder } from '../../../types';
2
+ export declare const pieHighchartsOptionsBuilder: HighchartsOptionsBuilder<'pie'>;
@@ -0,0 +1,2 @@
1
+ import { ChartBuilder } from '../../../types';
2
+ export declare const pieChartBuilder: ChartBuilder<'pie'>;
@@ -0,0 +1,12 @@
1
+ import { CategoricalChartData } from '../../../../../chart-data/types';
2
+ import { CategoricalChartDataOptions, CategoricalChartDataOptionsInternal } from '../../../../../chart-data-options/types';
3
+ import { PieStyleOptions } from '../../../../../types';
4
+ import { PieChartDesignOptions as PieDesignOptions } from '../../../../../chart-options-processor/translations/design-options';
5
+ /**
6
+ * Pie chart specific type aliases for better readability.
7
+ */
8
+ export type PieChartData = CategoricalChartData;
9
+ export type PieChartDataOptions = CategoricalChartDataOptions;
10
+ export type PieChartDataOptionsInternal = CategoricalChartDataOptionsInternal;
11
+ export type PieChartStyleOptions = PieStyleOptions;
12
+ export type PieChartDesignOptions = PieDesignOptions;
@@ -0,0 +1,7 @@
1
+ import { loadDataBySingleQuery } from '../../../../helpers/data-loading';
2
+ import type { SunburstChartData, SunburstChartDataOptionsInternal } from '../types';
3
+ import { DataTable } from '../../../../../../chart-data-processor/table-processor';
4
+ export declare const dataTranslators: {
5
+ loadData: typeof loadDataBySingleQuery;
6
+ getChartData: (dataOptions: SunburstChartDataOptionsInternal, dataTable: DataTable) => SunburstChartData;
7
+ };
@@ -0,0 +1,11 @@
1
+ import { type ChartDataOptions } from '../../../../../../types';
2
+ import { getCategoricalAttributes, getCategoricalMeasures } from '../../helpers/data-options';
3
+ import type { SunburstChartDataOptions, SunburstChartDataOptionsInternal } from '../types';
4
+ import { ChartDataOptionsInternal } from '../../../../../../chart-data-options/types';
5
+ export declare const dataOptionsTranslators: {
6
+ translateDataOptionsToInternal: (dataOptions: SunburstChartDataOptions) => SunburstChartDataOptionsInternal;
7
+ getAttributes: typeof getCategoricalAttributes;
8
+ getMeasures: typeof getCategoricalMeasures;
9
+ isCorrectDataOptions: (dataOptions: ChartDataOptions) => dataOptions is import('../../../../../../types').CategoricalChartDataOptions;
10
+ isCorrectDataOptionsInternal: (dataOptions: ChartDataOptionsInternal) => dataOptions is import('../../../../../../chart-data-options/types').CategoricalChartDataOptionsInternal;
11
+ };
@@ -0,0 +1,6 @@
1
+ import { type ChartStyleOptions } from '../../../../../../types';
2
+ import type { SunburstChartStyleOptions, SunburstChartDesignOptions } from '../types';
3
+ export declare const designOptionsTranslators: {
4
+ translateStyleOptionsToDesignOptions: (styleOptions: SunburstChartStyleOptions) => SunburstChartDesignOptions;
5
+ isCorrectStyleOptions: (styleOptions: ChartStyleOptions) => styleOptions is import('../../../../../../types').SunburstStyleOptions;
6
+ };
@@ -0,0 +1,2 @@
1
+ import { HighchartsOptionsBuilder } from '../../../types';
2
+ export declare const sunburstHighchartsOptionsBuilder: HighchartsOptionsBuilder<'sunburst'>;
@@ -0,0 +1,2 @@
1
+ import { ChartBuilder } from '../../../types';
2
+ export declare const sunburstChartBuilder: ChartBuilder<'sunburst'>;
@@ -0,0 +1,12 @@
1
+ import { CategoricalChartData } from '../../../../../chart-data/types';
2
+ import { CategoricalChartDataOptions, CategoricalChartDataOptionsInternal } from '../../../../../chart-data-options/types';
3
+ import { SunburstStyleOptions } from '../../../../../types';
4
+ import { SunburstChartDesignOptions as SunburstDesignOptions } from '../../../../../chart-options-processor/translations/design-options';
5
+ /**
6
+ * Sunburst chart specific type aliases for better readability.
7
+ */
8
+ export type SunburstChartData = CategoricalChartData;
9
+ export type SunburstChartDataOptions = CategoricalChartDataOptions;
10
+ export type SunburstChartDataOptionsInternal = CategoricalChartDataOptionsInternal;
11
+ export type SunburstChartStyleOptions = SunburstStyleOptions;
12
+ export type SunburstChartDesignOptions = SunburstDesignOptions;
@@ -0,0 +1,7 @@
1
+ import { loadDataBySingleQuery } from '../../../../helpers/data-loading';
2
+ import type { TreemapChartData, TreemapChartDataOptionsInternal } from '../types';
3
+ import { DataTable } from '../../../../../../chart-data-processor/table-processor';
4
+ export declare const dataTranslators: {
5
+ loadData: typeof loadDataBySingleQuery;
6
+ getChartData: (dataOptions: TreemapChartDataOptionsInternal, dataTable: DataTable) => TreemapChartData;
7
+ };
@@ -0,0 +1,11 @@
1
+ import { type ChartDataOptions } from '../../../../../../types';
2
+ import { getCategoricalAttributes, getCategoricalMeasures } from '../../helpers/data-options';
3
+ import type { TreemapChartDataOptions, TreemapChartDataOptionsInternal } from '../types';
4
+ import { ChartDataOptionsInternal } from '../../../../../../chart-data-options/types';
5
+ export declare const dataOptionsTranslators: {
6
+ translateDataOptionsToInternal: (dataOptions: TreemapChartDataOptions) => TreemapChartDataOptionsInternal;
7
+ getAttributes: typeof getCategoricalAttributes;
8
+ getMeasures: typeof getCategoricalMeasures;
9
+ isCorrectDataOptions: (dataOptions: ChartDataOptions) => dataOptions is import('../../../../../../types').CategoricalChartDataOptions;
10
+ isCorrectDataOptionsInternal: (dataOptions: ChartDataOptionsInternal) => dataOptions is import('../../../../../../chart-data-options/types').CategoricalChartDataOptionsInternal;
11
+ };
@@ -0,0 +1,6 @@
1
+ import { type ChartStyleOptions } from '../../../../../../types';
2
+ import type { TreemapChartStyleOptions, TreemapChartDesignOptions } from '../types';
3
+ export declare const designOptionsTranslators: {
4
+ translateStyleOptionsToDesignOptions: (styleOptions: TreemapChartStyleOptions) => TreemapChartDesignOptions;
5
+ isCorrectStyleOptions: (styleOptions: ChartStyleOptions) => styleOptions is import('../../../../../../types').TreemapStyleOptions;
6
+ };
@@ -0,0 +1,2 @@
1
+ import { HighchartsOptionsBuilder } from '../../../types';
2
+ export declare const treemapHighchartsOptionsBuilder: HighchartsOptionsBuilder<'treemap'>;
@@ -0,0 +1,2 @@
1
+ import { ChartBuilder } from '../../../types';
2
+ export declare const treemapChartBuilder: ChartBuilder<'treemap'>;
@@ -0,0 +1,12 @@
1
+ import { CategoricalChartData } from '../../../../../chart-data/types';
2
+ import { CategoricalChartDataOptions, CategoricalChartDataOptionsInternal } from '../../../../../chart-data-options/types';
3
+ import { TreemapStyleOptions } from '../../../../../types';
4
+ import { TreemapChartDesignOptions as TreemapDesignOptions } from '../../../../../chart-options-processor/translations/design-options';
5
+ /**
6
+ * Treemap chart specific type aliases for better readability.
7
+ */
8
+ export type TreemapChartData = CategoricalChartData;
9
+ export type TreemapChartDataOptions = CategoricalChartDataOptions;
10
+ export type TreemapChartDataOptionsInternal = CategoricalChartDataOptionsInternal;
11
+ export type TreemapChartStyleOptions = TreemapStyleOptions;
12
+ export type TreemapChartDesignOptions = TreemapDesignOptions;