@sisense/sdk-ui 2.8.0 → 2.10.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 (184) hide show
  1. package/dist/ai.cjs +32 -32
  2. package/dist/ai.js +126 -125
  3. package/dist/analytics-composer/node.cjs +3 -0
  4. package/dist/analytics-composer/node.d.ts +1 -0
  5. package/dist/analytics-composer/node.js +1033 -0
  6. package/dist/analytics-composer.cjs +118 -118
  7. package/dist/analytics-composer.js +2211 -2906
  8. package/dist/derive-chart-family-B1on_xkS.cjs +170 -0
  9. package/dist/derive-chart-family-BllGhqsW.js +29469 -0
  10. package/dist/dimensions-BYqdB-Q8.cjs +1 -0
  11. package/dist/{dimensions-b8xRITJn.js → dimensions-D-Z9sitz.js} +3 -3
  12. package/dist/execute-query-CABqVn7C.cjs +1 -0
  13. package/dist/execute-query-CGLL9vXX.js +6428 -0
  14. package/dist/index.cjs +25 -26
  15. package/dist/index.js +9320 -8693
  16. package/dist/index.umd.js +389 -440
  17. package/dist/packages/sdk-ui/src/analytics-composer/index-node.d.ts +9 -0
  18. package/dist/packages/sdk-ui/src/analytics-composer/index.d.ts +1 -0
  19. package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/common.d.ts +40 -0
  20. package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/index.d.ts +2 -0
  21. package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/translate-dimensions.d.ts +3 -0
  22. package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/translate-filters.d.ts +44 -0
  23. package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/translate-measures.d.ts +30 -0
  24. package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/translate-query-to-jaql.d.ts +18 -0
  25. package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/translate-query.d.ts +224 -0
  26. package/dist/packages/sdk-ui/src/analytics-composer/types.d.ts +40 -1
  27. package/dist/packages/sdk-ui/src/calendar-heatmap-chart.d.ts +12 -0
  28. package/dist/packages/sdk-ui/src/chart/helpers/get-load-data-function.d.ts +3 -1
  29. package/dist/packages/sdk-ui/src/chart/helpers/use-chart-data-preparation.d.ts +3 -1
  30. package/dist/packages/sdk-ui/src/chart/helpers/use-translated-data-options.d.ts +1 -1
  31. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/calendar-heatmap-chart-builder.d.ts +8 -0
  32. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/constants.d.ts +87 -0
  33. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/data-options/data-options.d.ts +54 -0
  34. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/data-options/index.d.ts +1 -0
  35. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/data.d.ts +33 -0
  36. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/design-options.d.ts +22 -0
  37. 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
  38. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/index.d.ts +1 -0
  39. 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
  40. 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
  41. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/extras-options.d.ts +9 -0
  42. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/index.d.ts +7 -0
  43. 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
  44. 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
  45. 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 +35 -0
  46. 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
  47. 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
  48. 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
  49. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-heatmap-charts-grid.d.ts +26 -0
  50. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-heatmap.d.ts +17 -0
  51. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-pagination/calendar-pagination.d.ts +30 -0
  52. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-pagination/helpers.d.ts +3 -0
  53. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-pagination/index.d.ts +1 -0
  54. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/helpers/data-helpers.d.ts +4 -0
  55. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/helpers/sizing-helpers.d.ts +25 -0
  56. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/helpers/view-helpers.d.ts +14 -0
  57. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/hooks/index.d.ts +4 -0
  58. 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
  59. 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
  60. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/index.d.ts +2 -0
  61. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/types.d.ts +13 -0
  62. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/helpers/data-options.d.ts +5 -1
  63. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/helpers/highchart-options/axis.d.ts +5 -0
  64. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/helpers/highchart-options/legend.d.ts +3 -2
  65. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/helpers/highchart-options/y-axis.d.ts +28 -0
  66. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/line-chart/helpers/design-options.d.ts +12 -0
  67. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/line-chart/highchart-options/axes.d.ts +6 -0
  68. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/line-chart/highcharts-options-builder.d.ts +2 -0
  69. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/line-chart/line-chart-builder.d.ts +2 -0
  70. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/polar-chart/data/index.d.ts +10 -0
  71. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/polar-chart/data-options/index.d.ts +12 -0
  72. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/polar-chart/design-options/index.d.ts +18 -0
  73. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/polar-chart/highchart-options/axes.d.ts +6 -0
  74. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/polar-chart/highchart-options/highcharts-options-builder.d.ts +2 -0
  75. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/polar-chart/polar-chart-builder.d.ts +2 -0
  76. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/stackable/area-chart/area-chart-builder.d.ts +2 -0
  77. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/stackable/area-chart/helpers/design-options.d.ts +12 -0
  78. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/stackable/area-chart/highchart-options/axes.d.ts +6 -0
  79. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/stackable/area-chart/highchart-options/highcharts-options-builder.d.ts +2 -0
  80. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/stackable/area-chart/highchart-options/labels-spacing.d.ts +8 -0
  81. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/stackable/bar-chart/highchart-options/axes.d.ts +6 -0
  82. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/stackable/bar-chart/highchart-options/labels-spacing.d.ts +9 -0
  83. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/stackable/column-chart/highchart-options/axes.d.ts +6 -0
  84. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/stackable/column-chart/highchart-options/labels-spacing.d.ts +9 -0
  85. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/stackable/helpers/highchart-options/stacking.d.ts +21 -0
  86. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/stackable/types.d.ts +1 -0
  87. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/types.d.ts +1 -1
  88. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/helpers/data-options.d.ts +22 -0
  89. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/helpers/data.d.ts +13 -0
  90. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/alerts/index.d.ts +5 -0
  91. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/data/index.d.ts +15 -0
  92. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/data-options/index.d.ts +32 -0
  93. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/design-options/index.d.ts +17 -0
  94. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/highchart-options/highcharts-options-builder.d.ts +2 -0
  95. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/pie-chart-builder.d.ts +2 -0
  96. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/types.d.ts +12 -0
  97. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/highcharts-based-chart-renderer/build-highchart-options.d.ts +9 -4
  98. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/highcharts-based-chart-renderer/highcharts-based-chart-renderer.d.ts +2 -4
  99. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/highcharts-based-chart-renderer/use-extra-config.d.ts +2 -0
  100. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/highcharts-based-chart-renderer/utils.d.ts +2 -1
  101. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/types.d.ts +1 -1
  102. package/dist/packages/sdk-ui/src/chart/restructured-charts/types.d.ts +10 -9
  103. package/dist/packages/sdk-ui/src/chart/restructured-charts/utils.d.ts +5 -0
  104. package/dist/packages/sdk-ui/src/chart-data/data-coloring/types.d.ts +6 -0
  105. package/dist/packages/sdk-ui/src/chart-data/types.d.ts +2 -1
  106. package/dist/packages/sdk-ui/src/chart-data-options/translate-data-options.d.ts +2 -1
  107. package/dist/packages/sdk-ui/src/chart-data-options/types.d.ts +19 -2
  108. package/dist/packages/sdk-ui/src/chart-data-options/utils.d.ts +4 -4
  109. package/dist/packages/sdk-ui/src/chart-data-options/validate-data-options/validate-categorical-data-options.d.ts +14 -0
  110. package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/axis/axis-builders.d.ts +155 -0
  111. package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/axis/axis-settings.d.ts +39 -0
  112. package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/axis/axis-transformers.d.ts +45 -0
  113. package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/axis/axis-utils.d.ts +1 -0
  114. package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/axis/date-utils.d.ts +27 -0
  115. package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/axis/index.d.ts +3 -0
  116. package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/chart-configuration.d.ts +33 -3
  117. package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/series-processor.d.ts +4 -1
  118. package/dist/packages/sdk-ui/src/chart-options-processor/{category-chart-options.d.ts → category-chart-options/category-chart-options.d.ts} +9 -5
  119. package/dist/packages/sdk-ui/src/chart-options-processor/category-chart-options/funnel-chart-options.d.ts +15 -0
  120. package/dist/packages/sdk-ui/src/chart-options-processor/category-chart-options/pie-chart-options.d.ts +15 -0
  121. package/dist/packages/sdk-ui/src/chart-options-processor/category-chart-options/sunburst-chart-options.d.ts +17 -0
  122. package/dist/packages/sdk-ui/src/chart-options-processor/category-chart-options/treemap-chart-options.d.ts +17 -0
  123. package/dist/packages/sdk-ui/src/chart-options-processor/chart-options-service.d.ts +26 -10
  124. package/dist/packages/sdk-ui/src/chart-options-processor/defaults/cartesian.d.ts +4 -3
  125. package/dist/packages/sdk-ui/src/chart-options-processor/scatter-chart-options.d.ts +3 -3
  126. package/dist/packages/sdk-ui/src/chart-options-processor/style-to-design-options-translator/translate-to-highcharts-options.d.ts +1 -3
  127. package/dist/packages/sdk-ui/src/chart-options-processor/translations/axis-section.d.ts +11 -12
  128. package/dist/packages/sdk-ui/src/chart-options-processor/translations/design-options.d.ts +19 -5
  129. package/dist/packages/sdk-ui/src/chart-options-processor/translations/legend-section.d.ts +28 -14
  130. package/dist/packages/sdk-ui/src/chart-options-processor/translations/pie-series.d.ts +34 -6
  131. package/dist/packages/sdk-ui/src/chart-options-processor/translations/tooltip-utils.d.ts +5 -0
  132. package/dist/packages/sdk-ui/src/chart-options-processor/translations/translations-to-highcharts.d.ts +1 -1
  133. package/dist/packages/sdk-ui/src/chart-options-processor/translations/types.d.ts +61 -4
  134. package/dist/packages/sdk-ui/src/chart-options-processor/translations/value-label-section.d.ts +2 -2
  135. package/dist/packages/sdk-ui/src/common/formatters/create-date-formatter.d.ts +10 -0
  136. package/dist/packages/sdk-ui/src/common/hooks/useDateFormatter.d.ts +7 -0
  137. package/dist/packages/sdk-ui/src/common/icons/double-arrow-end-icon.d.ts +6 -0
  138. package/dist/packages/sdk-ui/src/const.d.ts +2 -0
  139. package/dist/packages/sdk-ui/src/dashboard/components/editable-layout/utils.d.ts +0 -19
  140. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/index.d.ts +1 -1
  141. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-filters.d.ts +12 -1
  142. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-formatters.d.ts +18 -0
  143. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-handlers.d.ts +23 -0
  144. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-widget-transforms.d.ts +29 -0
  145. package/dist/packages/sdk-ui/src/index.d.ts +1 -0
  146. package/dist/packages/sdk-ui/src/models/dashboard/translate-dashboard-utils.d.ts +1 -0
  147. package/dist/packages/sdk-ui/src/pivot-table/formatters/data-cell-formatters/index.d.ts +1 -0
  148. package/dist/packages/sdk-ui/src/pivot-table/formatters/formatter-utils.d.ts +23 -0
  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 +45 -3
  151. package/dist/packages/sdk-ui/src/pivot-table/formatters/utils.d.ts +1 -0
  152. package/dist/packages/sdk-ui/src/pivot-table/hooks/use-apply-pivot-table-formatting.d.ts +4 -1
  153. package/dist/packages/sdk-ui/src/polar-chart.d.ts +1 -1
  154. package/dist/packages/sdk-ui/src/props.d.ts +161 -7
  155. package/dist/packages/sdk-ui/src/query/date-formats/apply-date-format.d.ts +7 -6
  156. package/dist/packages/sdk-ui/src/query/date-formats/index.d.ts +1 -1
  157. package/dist/packages/sdk-ui/src/query/execute-query.d.ts +3 -1
  158. package/dist/packages/sdk-ui/src/query-execution/index.d.ts +1 -1
  159. package/dist/packages/sdk-ui/src/query-execution/types.d.ts +9 -2
  160. package/dist/packages/sdk-ui/src/sisense-chart/types.d.ts +2 -2
  161. package/dist/packages/sdk-ui/src/theme-provider/default-theme-settings.d.ts +1 -0
  162. package/dist/packages/sdk-ui/src/translation/resources/en.d.ts +11 -0
  163. package/dist/packages/sdk-ui/src/translation/resources/index.d.ts +22 -0
  164. package/dist/packages/sdk-ui/src/types.d.ts +254 -16
  165. package/dist/packages/sdk-ui/src/utils/combine-handlers.d.ts +19 -0
  166. package/dist/packages/sdk-ui/src/utils/utility-types/transformer.d.ts +8 -0
  167. package/dist/packages/sdk-ui/src/widget-by-id/translate-dashboard-filters.d.ts +1 -1
  168. package/dist/packages/sdk-ui/src/widget-by-id/translate-panel-color-format.d.ts +9 -0
  169. package/dist/packages/sdk-ui/src/widget-by-id/translate-statistical-models.d.ts +10 -0
  170. package/dist/packages/sdk-ui/src/widget-by-id/translate-widget-data-options.d.ts +0 -14
  171. package/dist/packages/sdk-ui/src/widget-by-id/types.d.ts +10 -10
  172. package/dist/types-BRtWk8uC.js +80 -0
  173. package/dist/types-Ds0KtTJF.cjs +1 -0
  174. package/dist/use-common-filters-D8tEa9zb.js +91245 -0
  175. package/dist/use-common-filters-hw1WKPCY.cjs +844 -0
  176. package/dist/{widget-composer-BPlNiX_P.cjs → widget-composer-B7zeAa_D.cjs} +9 -9
  177. package/dist/{widget-composer-SGEFYrXY.js → widget-composer-DL0xPtlC.js} +143 -217
  178. package/package.json +20 -10
  179. package/dist/derive-chart-family-6PZA-xZh.js +0 -92092
  180. package/dist/derive-chart-family-DQUVKMcV.cjs +0 -656
  181. package/dist/dimensions-x8nnAUew.cjs +0 -1
  182. package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/axis-configuration.d.ts +0 -41
  183. package/dist/use-common-filters-BHBy4uv6.js +0 -32218
  184. package/dist/use-common-filters-Cg217teN.cjs +0 -350
@@ -0,0 +1,33 @@
1
+ import { DataTable } from '../../../../chart-data-processor/table-processor';
2
+ import { CalendarHeatmapChartDataOptionsInternal } from '../../../../chart-data-options/types';
3
+ import { ChartData } from '../../../../chart-data/types';
4
+ export type CalendarHeatmapDataValue = {
5
+ date: Date;
6
+ value?: number;
7
+ blur?: boolean;
8
+ };
9
+ export type CalendarHeatmapChartData = {
10
+ type: 'calendar-heatmap';
11
+ values: CalendarHeatmapDataValue[];
12
+ };
13
+ /**
14
+ * Converts a data table to calendar heatmap chart data format
15
+ *
16
+ * Transforms raw data table rows into the specific format required for calendar heatmap visualization,
17
+ * extracting date and value pairs from the configured columns.
18
+ *
19
+ * @param chartDataOptions - Internal data options specifying which columns to use
20
+ * @param dataTable - Raw data table containing the source data
21
+ * @returns Formatted calendar heatmap chart data
22
+
23
+ */
24
+ export declare function getCalendarHeatmapChartData(chartDataOptions: CalendarHeatmapChartDataOptionsInternal, dataTable: DataTable): CalendarHeatmapChartData;
25
+ /**
26
+ * Type guard to check if chart data is calendar heatmap chart data
27
+ *
28
+ * Validates that the provided chart data is specifically formatted for calendar heatmap charts.
29
+ *
30
+ * @param chartData - Chart data to validate
31
+ * @returns True if the chart data is calendar heatmap chart data
32
+ */
33
+ export declare function isCalendarHeatmapChartData(chartData: ChartData): chartData is CalendarHeatmapChartData;
@@ -0,0 +1,22 @@
1
+ import { CalendarHeatmapStyleOptions, ChartStyleOptions } from '../../../../types';
2
+ import { DesignOptions } from '../../../../chart-options-processor/translations/types';
3
+ /**
4
+ * Translates calendar heatmap style options to design options
5
+ *
6
+ * Converts user-provided style options to the internal design options format
7
+ * used by the chart engine, applying default values where necessary.
8
+ *
9
+ * @param styleOptions - User-provided calendar heatmap style options
10
+ * @returns Translated design options for internal use
11
+ */
12
+ export declare function translateCalendarHeatmapStyleOptionsToDesignOptions(styleOptions: CalendarHeatmapStyleOptions): DesignOptions<'calendar-heatmap'>;
13
+ /**
14
+ * Type guard to check if style options are valid for calendar heatmap charts
15
+ *
16
+ * Validates that the provided style options are properly structured for calendar heatmap charts.
17
+ * Since all style options are optional, this primarily checks for basic object structure.
18
+ *
19
+ * @param styleOptions - Style options to validate
20
+ * @returns True if the style options are valid for calendar heatmap charts
21
+ */
22
+ export declare function isCalendarHeatmapStyleOptions(styleOptions: ChartStyleOptions): styleOptions is CalendarHeatmapStyleOptions;
@@ -0,0 +1,8 @@
1
+ import { HighchartsOptionsBuilder } from '../../types.js';
2
+ /**
3
+ * Main Highcharts options builder for calendar heatmap charts
4
+ *
5
+ * Combines all individual configuration builders to create complete
6
+ * Highcharts options for calendar heatmap visualization.
7
+ */
8
+ export declare const calendarHeatmapHighchartsOptionsBuilder: HighchartsOptionsBuilder<'calendar-heatmap'>;
@@ -0,0 +1 @@
1
+ export { calendarHeatmapHighchartsOptionsBuilder } from './highcharts-options-builder.js';
@@ -0,0 +1,12 @@
1
+ import { HighchartsOptionsInternal } from '../../../../../../chart-options-processor/chart-options-service.js';
2
+ import { BuildContext } from '../../../types.js';
3
+ /**
4
+ * Prepares the Highcharts's axes options for calendar heatmap
5
+ *
6
+ * @param ctx - The highcharts options builder context
7
+ * @returns Axes configuration object with xAxis and yAxis
8
+ */
9
+ export declare function getAxesOptions(ctx: BuildContext<'calendar-heatmap'>): {
10
+ xAxis: HighchartsOptionsInternal['xAxis'];
11
+ yAxis: HighchartsOptionsInternal['yAxis'];
12
+ };
@@ -0,0 +1,9 @@
1
+ import { HighchartsOptionsInternal } from '../../../../../../chart-options-processor/chart-options-service.js';
2
+ import { BuildContext } from '../../../types.js';
3
+ /**
4
+ * Prepares the Highcharts's chart options for calendar heatmap
5
+ *
6
+ * @param ctx - The highcharts options builder context
7
+ * @returns Highchart's chart options object
8
+ */
9
+ export declare function getChartOptions(ctx: BuildContext<'calendar-heatmap'>): HighchartsOptionsInternal['chart'];
@@ -0,0 +1,9 @@
1
+ import { BuildContext } from '../../../types.js';
2
+ import { HighchartsOptionsInternal } from '../../../../../../chart-options-processor/chart-options-service.js';
3
+ /**
4
+ * Prepares the Highcharts's extras options (title, colorAxis, accessibility) for calendar heatmap
5
+ *
6
+ * @param ctx - The highcharts options builder context
7
+ * @returns Extras options object
8
+ */
9
+ export declare function getExtrasOptions(ctx: BuildContext<'calendar-heatmap'>): Partial<HighchartsOptionsInternal>;
@@ -0,0 +1,7 @@
1
+ export { getAxesOptions } from './axes-options.js';
2
+ export { getChartOptions } from './chart-options.js';
3
+ export { getExtrasOptions } from './extras-options.js';
4
+ export { getLegendOptions } from './legend-options.js';
5
+ export { getPlotOptions } from './plot-options.js';
6
+ export { getSeriesOptions } from './series-options';
7
+ export { getTooltipOptions } from './tooltip-options.js';
@@ -0,0 +1,8 @@
1
+ import { HighchartsOptionsInternal } from '../../../../../../chart-options-processor/chart-options-service';
2
+ /**
3
+ * Prepares the Highcharts's legend options for calendar heatmap
4
+ *
5
+ * @param ctx - The highcharts options builder context
6
+ * @returns Legend options object
7
+ */
8
+ export declare function getLegendOptions(): HighchartsOptionsInternal['legend'];
@@ -0,0 +1,9 @@
1
+ import { HighchartsOptionsInternal } from '../../../../../../chart-options-processor/chart-options-service';
2
+ import { BuildContext } from '../../../types';
3
+ /**
4
+ * Prepares the Highcharts's plot options for calendar heatmap
5
+ *
6
+ * @param ctx - The highcharts options builder context
7
+ * @returns Plot options object
8
+ */
9
+ export declare function getPlotOptions(ctx: BuildContext<'calendar-heatmap'>): HighchartsOptionsInternal['plotOptions'];
@@ -0,0 +1,35 @@
1
+ import { CalendarHeatmapChartData } from '../../../data.js';
2
+ import { DateFormatter } from '../../../../../../../common/formatters/create-date-formatter.js';
3
+ /**
4
+ * Represents a calendar chart data point for Highcharts
5
+ */
6
+ export interface CalendarChartDataPoint {
7
+ /** X coordinate (day of week, 0-6) */
8
+ x: number;
9
+ /** Y coordinate (week row, 0-5) */
10
+ y: number;
11
+ /** Data value or null for empty cells */
12
+ value: number | null;
13
+ /** Date timestamp or null for empty cells */
14
+ date: number | null;
15
+ /** Date string for tooltip display */
16
+ dateString?: string;
17
+ /** Custom color override */
18
+ color?: string;
19
+ /** Custom properties for the data point */
20
+ custom: {
21
+ /** Day of the month (1-31) */
22
+ monthDay?: number;
23
+ /** Whether this cell has data */
24
+ hasData?: boolean;
25
+ /** Whether this is an empty calendar cell */
26
+ empty?: boolean;
27
+ };
28
+ }
29
+ /**
30
+ * Generates calendar chart data for an entire month with provided data values
31
+ *
32
+ * @param dataPoints - Array of data points with dates and values
33
+ * @returns Array of calendar chart data points formatted for Highcharts
34
+ */
35
+ export declare function generateCalendarChartData(data: CalendarHeatmapChartData, dateFormatter: DateFormatter): CalendarChartDataPoint[];
@@ -0,0 +1,9 @@
1
+ import { HighchartsOptionsInternal } from '../../../../../../../chart-options-processor/chart-options-service.js';
2
+ import { BuildContext } from '../../../../types.js';
3
+ /**
4
+ * Prepares the Highcharts's series options for calendar heatmap
5
+ *
6
+ * @param ctx - The highcharts options builder context
7
+ * @returns Array of series options
8
+ */
9
+ export declare function getSeriesOptions(ctx: BuildContext<'calendar-heatmap'>): HighchartsOptionsInternal['series'];
@@ -0,0 +1,9 @@
1
+ import { BuildContext } from '../../../types.js';
2
+ import { HighchartsOptionsInternal } from '../../../../../../chart-options-processor/chart-options-service.js';
3
+ /**
4
+ * Prepares the Highcharts's tooltip options for calendar heatmap
5
+ *
6
+ * @param ctx - The highcharts options builder context
7
+ * @returns Tooltip options object
8
+ */
9
+ export declare function getTooltipOptions(ctx: BuildContext<'calendar-heatmap'>): HighchartsOptionsInternal['tooltip'];
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ import { HighchartsOptionsInternal } from '../../../../../chart-options-processor/chart-options-service';
3
+ import { MonthInfo } from './helpers/view-helpers.js';
4
+ import { CalendarHeatmapViewType } from '../../../../../types';
5
+ export declare const ChartsContainer: import("@emotion/styled").StyledComponent<{
6
+ theme?: import("@emotion/react").Theme | undefined;
7
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
8
+ } & {
9
+ viewType: CalendarHeatmapViewType;
10
+ }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
11
+ export declare const ChartWrapper: import("@emotion/styled").StyledComponent<{
12
+ theme?: import("@emotion/react").Theme | undefined;
13
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
14
+ }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
15
+ export declare const ChartTitle: import("@emotion/styled").StyledComponent<{
16
+ theme?: import("@emotion/react").Theme | undefined;
17
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
18
+ }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
19
+ interface CalendarHeatmapChartsGridProps {
20
+ monthCharts: (HighchartsOptionsInternal | null)[];
21
+ availableMonths: MonthInfo[];
22
+ currentViewIndex: number;
23
+ viewType: CalendarHeatmapViewType;
24
+ }
25
+ export declare const CalendarHeatmapChartsGrid: React.FC<CalendarHeatmapChartsGridProps>;
26
+ export {};
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { HighchartsBasedChartRendererProps } from '../../highcharts-based-chart-renderer/highcharts-based-chart-renderer.js';
3
+ import { ChartRendererProps } from '../../../../../chart/types.js';
4
+ export declare const ChartRootContainer: import("@emotion/styled").StyledComponent<{
5
+ theme?: import("@emotion/react").Theme | undefined;
6
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
7
+ } & {
8
+ containerWidth?: number | undefined;
9
+ containerHeight?: number | undefined;
10
+ }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
11
+ export declare const ChartsWrapper: import("@emotion/styled").StyledComponent<{
12
+ theme?: import("@emotion/react").Theme | undefined;
13
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
14
+ }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
15
+ export type CalendarHeatmapProps = HighchartsBasedChartRendererProps<'calendar-heatmap'>;
16
+ export declare function CalendarHeatmap({ chartData, dataOptions, designOptions, onDataPointClick, onDataPointContextMenu, onDataPointsSelected, onBeforeRender, size, }: CalendarHeatmapProps): import("react/jsx-runtime").JSX.Element;
17
+ export declare const isCalendarHeatmapProps: (props: ChartRendererProps) => props is CalendarHeatmapProps;
@@ -0,0 +1,30 @@
1
+ import React from 'react';
2
+ import { MonthInfo } from '../helpers/view-helpers.js';
3
+ import { CalendarHeatmapViewType } from '../../../../../../types.js';
4
+ export declare const PaginationContainer: import("@emotion/styled").StyledComponent<{
5
+ theme?: import("@emotion/react").Theme | undefined;
6
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
7
+ }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
+ export declare const NavigationButton: import("@emotion/styled").StyledComponent<{
9
+ theme?: import("@emotion/react").Theme | undefined;
10
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
11
+ } & {
12
+ disabled: boolean;
13
+ }, React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
14
+ export declare const ViewDisplay: import("@emotion/styled").StyledComponent<{
15
+ theme?: import("@emotion/react").Theme | undefined;
16
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
17
+ }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
18
+ interface CalendarPaginationProps {
19
+ currentViewIndex: number;
20
+ availableMonths: MonthInfo[];
21
+ viewType: CalendarHeatmapViewType;
22
+ onGoToFirst: () => void;
23
+ onGoToPrevious: () => void;
24
+ onGoToNext: () => void;
25
+ onGoToLast: () => void;
26
+ onGoToPreviousGroup?: () => void;
27
+ onGoToNextGroup?: () => void;
28
+ }
29
+ export declare const CalendarPagination: React.FC<CalendarPaginationProps>;
30
+ export {};
@@ -0,0 +1,3 @@
1
+ import { MonthInfo } from '../helpers/view-helpers.js';
2
+ import { CalendarHeatmapViewType } from '../../../../../../types.js';
3
+ export declare function formatViewTitle(availableMonths: MonthInfo[], currentViewIndex: number, viewType: CalendarHeatmapViewType): string;
@@ -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,25 @@
1
+ import { CalendarHeatmapViewType } from '../../../../../../types.js';
2
+ export interface CalendarSize {
3
+ width: number;
4
+ height: number;
5
+ cellSize: number;
6
+ chartMargins: {
7
+ top: number;
8
+ right: number;
9
+ bottom: number;
10
+ left: number;
11
+ };
12
+ }
13
+ export interface ContainerSize {
14
+ width: number;
15
+ height: number;
16
+ }
17
+ /**
18
+ * Calculate optimal calendar size based on available container space
19
+ * Ensures calendar cells are perfectly square (width = height)
20
+ */
21
+ export declare function calculateCalendarSize(containerSize: ContainerSize, viewType: CalendarHeatmapViewType): CalendarSize;
22
+ /**
23
+ * Get optimal gap size based on container size and view type
24
+ */
25
+ export declare function calculateOptimalGap(containerSize: ContainerSize, viewType: CalendarHeatmapViewType): number;
@@ -0,0 +1,14 @@
1
+ import { CalendarHeatmapChartData } from '../../data';
2
+ import { CalendarHeatmapViewType } from '../../../../../../types';
3
+ export interface MonthInfo {
4
+ year: number;
5
+ month: number;
6
+ monthName: string;
7
+ }
8
+ export declare function getAvailableMonths(chartData: CalendarHeatmapChartData, dateFormatter: (date: Date, format: string) => string): MonthInfo[];
9
+ export declare function getMonthsPerView(viewType: CalendarHeatmapViewType): number;
10
+ export declare function getGridLayout(viewType: CalendarHeatmapViewType): {
11
+ columns: string;
12
+ rows: string;
13
+ };
14
+ 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
+ }
@@ -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
  */
@@ -0,0 +1,5 @@
1
+ import { BuildContext } from '../../../types';
2
+ import { CartesianChartTypes } from '../../types';
3
+ import { AxisSettings } from '../../../../../../chart-options-processor/translations/axis-section';
4
+ import { XAxisOrientation } from '../../../../../../chart-options-processor/cartesian/utils/axis/axis-builders';
5
+ export declare const getCartesianXAxis: (ctx: BuildContext<CartesianChartTypes>, orientation: XAxisOrientation) => AxisSettings[];
@@ -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,28 @@
1
+ import { BuildContext } from '../../../types';
2
+ import { CartesianChartTypes } from '../../types';
3
+ import { AxisSettings } from '../../../../../../chart-options-processor/translations/axis-section';
4
+ /**
5
+ * Creates basic Y-axis settings for cartesian charts with data-driven min/max calculation.
6
+ * This function provides the foundation Y-axis configuration that can be enhanced
7
+ * by chart-specific transformers later using functional programming patterns.
8
+ *
9
+ * The function always calculates min/max values from chart data, ensuring proper
10
+ * scaling for all chart types. User-provided min/max values are handled separately
11
+ * in the final axis settings, following the legacy behavior pattern.
12
+ *
13
+ * @param ctx - Build context containing chart data, options, and configuration
14
+ * @param chartType - The specific chart type for min/max calculations
15
+ * @returns Basic Y-axis settings array that can be enhanced by chart-specific transformers
16
+ *
17
+ * @example
18
+ * ```typescript
19
+ * // Basic usage
20
+ * const basicYAxis = getBasicYAxisSettings(ctx, 'line');
21
+ *
22
+ * // Enhanced with chart-specific transformers
23
+ * const enhancedYAxis = flow(
24
+ * withStacking(ctx, 'bar'),
25
+ * )(basicYAxis);
26
+ * ```
27
+ */
28
+ export declare const getBasicYAxisSettings: (ctx: BuildContext<CartesianChartTypes>, chartType: CartesianChartTypes) => AxisSettings[];
@@ -0,0 +1,12 @@
1
+ import { CartesianChartDataOptionsInternal } from '../../../../../../chart-data-options/types';
2
+ import { LineChartDesignOptions } from '../../../../../../chart-options-processor/translations/design-options';
3
+ import { ChartStyleOptions, LineStyleOptions } from '../../../../../../types';
4
+ /**
5
+ * Translates LineStyleOptions to LineChartDesignOptions using functional composition
6
+ */
7
+ export declare function translateLineStyleOptionsToDesignOptions(styleOptions: LineStyleOptions, dataOptionsInternal: CartesianChartDataOptionsInternal): LineChartDesignOptions;
8
+ /**
9
+ * Type guard to check if chart style options are valid for line charts
10
+ * Uses functional approach without mutations
11
+ */
12
+ export declare function isLineStyleOptions(styleOptions: ChartStyleOptions): styleOptions is LineStyleOptions;
@@ -0,0 +1,6 @@
1
+ import { AxisSettings } from '../../../../../../chart-options-processor/translations/axis-section';
2
+ import { BuildContext } from '../../../types';
3
+ export declare const getAxes: (ctx: BuildContext<'line'>) => {
4
+ xAxis: AxisSettings[];
5
+ yAxis: AxisSettings[];
6
+ };
@@ -0,0 +1,2 @@
1
+ import { HighchartsOptionsBuilder } from '../../types';
2
+ export declare const lineHighchartsOptionsBuilder: HighchartsOptionsBuilder<'line'>;
@@ -0,0 +1,2 @@
1
+ import { ChartBuilder } from '../../../types.js';
2
+ export declare const lineChartBuilder: ChartBuilder<'line'>;
@@ -0,0 +1,10 @@
1
+ import { loadDataBySingleQuery } from '../../../../helpers/data-loading';
2
+ import { getCartesianChartData } from '../../helpers/data';
3
+ /**
4
+ * Data translators for polar charts.
5
+ * Polar charts use the same data loading and processing as cartesian charts.
6
+ */
7
+ export declare const dataTranslators: {
8
+ loadData: typeof loadDataBySingleQuery;
9
+ getChartData: typeof getCartesianChartData;
10
+ };
@@ -0,0 +1,12 @@
1
+ import { getCartesianAttributes, getCartesianMeasures, isCartesianChartDataOptions, isCartesianChartDataOptionsInternal } from '../../helpers/data-options';
2
+ /**
3
+ * Data options translators for polar charts.
4
+ * Polar charts use the same data structure as cartesian charts.
5
+ */
6
+ export declare const dataOptionsTranslators: {
7
+ translateDataOptionsToInternal: (dataOptions: import("../../../../../..").CartesianChartDataOptions) => import("../../../../../..").CartesianChartDataOptionsInternal;
8
+ getAttributes: typeof getCartesianAttributes;
9
+ getMeasures: typeof getCartesianMeasures;
10
+ isCorrectDataOptions: typeof isCartesianChartDataOptions;
11
+ isCorrectDataOptionsInternal: typeof isCartesianChartDataOptionsInternal;
12
+ };
@@ -0,0 +1,18 @@
1
+ import { CartesianChartDataOptionsInternal } from '../../../../../../chart-data-options/types';
2
+ import { PolarChartDesignOptions } from '../../../../../../chart-options-processor/translations/design-options';
3
+ import { ChartStyleOptions, PolarStyleOptions } from '../../../../../../types';
4
+ /**
5
+ * Translates style options to design options for polar charts.
6
+ */
7
+ export declare function translateStyleOptionsToDesignOptions(styleOptions: PolarStyleOptions, dataOptionsInternal: CartesianChartDataOptionsInternal): PolarChartDesignOptions;
8
+ /**
9
+ * Checks if the style options are correct for polar charts.
10
+ */
11
+ export declare function isCorrectStyleOptions(styleOptions: ChartStyleOptions): styleOptions is PolarStyleOptions;
12
+ /**
13
+ * Design options translators for polar charts.
14
+ */
15
+ export declare const designOptionsTranslators: {
16
+ translateStyleOptionsToDesignOptions: typeof translateStyleOptionsToDesignOptions;
17
+ isCorrectStyleOptions: typeof isCorrectStyleOptions;
18
+ };
@@ -0,0 +1,6 @@
1
+ import { AxisSettings } from '../../../../../../chart-options-processor/translations/axis-section';
2
+ import { BuildContext } from '../../../types';
3
+ export declare function getAxes(ctx: BuildContext<'polar'>): {
4
+ xAxis: AxisSettings[];
5
+ yAxis: AxisSettings[];
6
+ };
@@ -0,0 +1,2 @@
1
+ import { HighchartsOptionsBuilder } from '../../../types';
2
+ export declare const polarHighchartsOptionsBuilder: HighchartsOptionsBuilder<'polar'>;
@@ -0,0 +1,2 @@
1
+ import { ChartBuilder } from '../../../types';
2
+ export declare const polarChartBuilder: ChartBuilder<'polar'>;
@@ -0,0 +1,2 @@
1
+ import { ChartBuilder } from '../../../../types.js';
2
+ export declare const areaChartBuilder: ChartBuilder<'area'>;