@sisense/sdk-ui 2.10.0 → 2.12.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 (345) hide show
  1. package/dist/ai.cjs +19 -19
  2. package/dist/ai.js +828 -819
  3. package/dist/analytics-composer/node.cjs +1 -3
  4. package/dist/analytics-composer/node.js +2269 -653
  5. package/dist/analytics-composer.cjs +1 -1
  6. package/dist/analytics-composer.js +6 -6
  7. package/dist/{derive-chart-family-BllGhqsW.js → derive-chart-family-YIDiS_iY.js} +15508 -15392
  8. package/dist/derive-chart-family-mugR7Ty1.cjs +170 -0
  9. package/dist/{dimensions-BYqdB-Q8.cjs → dimensions-CyzZ0dbM.cjs} +1 -1
  10. package/dist/{dimensions-D-Z9sitz.js → dimensions-DmRfLrT-.js} +1 -1
  11. package/dist/{execute-query-CGLL9vXX.js → execute-query-BCEeyd9s.js} +858 -829
  12. package/dist/execute-query-Xt9drS3G.cjs +1 -0
  13. package/dist/index.cjs +29 -25
  14. package/dist/index.js +26100 -25487
  15. package/dist/index.umd.js +472 -469
  16. package/dist/packages/sdk-ui/src/ai/api/chat-rest-api.d.ts +1 -1
  17. package/dist/packages/sdk-ui/src/ai/api/hooks.d.ts +1 -1
  18. package/dist/packages/sdk-ui/src/ai/chart/nlq-chart-widget.d.ts +8 -2
  19. package/dist/packages/sdk-ui/src/ai/chat-config.d.ts +1 -1
  20. package/dist/packages/sdk-ui/src/ai/chat-frame.d.ts +1 -1
  21. package/dist/packages/sdk-ui/src/ai/custom-ai-context-provider.d.ts +1 -1
  22. package/dist/packages/sdk-ui/src/ai/messages/text-message.d.ts +1 -1
  23. package/dist/packages/sdk-ui/src/ai/use-chat-session.d.ts +1 -1
  24. package/dist/packages/sdk-ui/src/ai/use-final-nlq-response.d.ts +1 -1
  25. package/dist/packages/sdk-ui/src/ai/use-get-nlq-result.d.ts +1 -1
  26. package/dist/packages/sdk-ui/src/ai/use-get-query-recommendations.d.ts +1 -1
  27. package/dist/packages/sdk-ui/src/ai/use-last-nlq-response-from-history.d.ts +1 -1
  28. package/dist/packages/sdk-ui/src/ai/use-last-nlq-response.d.ts +1 -1
  29. package/dist/packages/sdk-ui/src/analytics-composer/code/default-options/data-options.d.ts +4 -0
  30. package/dist/packages/sdk-ui/src/analytics-composer/code/default-options/style-options.d.ts +89 -0
  31. package/dist/packages/sdk-ui/src/analytics-composer/code/stringify-props.d.ts +5 -1
  32. package/dist/packages/sdk-ui/src/analytics-composer/common/utils.d.ts +2 -2
  33. package/dist/packages/sdk-ui/src/analytics-composer/execute-query/execute-query-composer.d.ts +1 -1
  34. package/dist/packages/sdk-ui/src/analytics-composer/execute-query/to-execute-query-code.d.ts +1 -1
  35. package/dist/packages/sdk-ui/src/analytics-composer/index-node.d.ts +1 -1
  36. package/dist/packages/sdk-ui/src/analytics-composer/index.d.ts +1 -1
  37. package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/common.d.ts +49 -0
  38. package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/index.d.ts +2 -0
  39. package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/process-function/custom-formula/process-custom-formula.d.ts +14 -0
  40. package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/process-function/custom-formula/validate-custom-formula.d.ts +54 -0
  41. package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/process-function/execute-function.d.ts +5 -0
  42. package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/process-function/factory-function-processors.d.ts +39 -0
  43. package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/process-function/factory-function-schemas.d.ts +20 -0
  44. package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/process-function/filter-processors.d.ts +37 -0
  45. package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/process-function/process-arg.d.ts +8 -0
  46. package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/process-function/process-node.d.ts +9 -0
  47. package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/translate-dimensions.d.ts +10 -0
  48. package/dist/packages/sdk-ui/src/analytics-composer/{new-nlq-translator → nlq-v3-translator}/translate-filters.d.ts +19 -7
  49. package/dist/packages/sdk-ui/src/analytics-composer/{new-nlq-translator → nlq-v3-translator}/translate-measures.d.ts +13 -7
  50. package/dist/packages/sdk-ui/src/analytics-composer/{new-nlq-translator → nlq-v3-translator}/translate-query.d.ts +7 -9
  51. package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/types.d.ts +46 -0
  52. package/dist/packages/sdk-ui/src/analytics-composer/query/query-translator.d.ts +2 -2
  53. package/dist/packages/sdk-ui/src/analytics-composer/types.d.ts +71 -10
  54. package/dist/packages/sdk-ui/src/analytics-composer/widget/chart-options/get-widget-options.d.ts +1 -1
  55. package/dist/packages/sdk-ui/src/analytics-composer/widget/to-widget-code.d.ts +3 -3
  56. package/dist/packages/sdk-ui/src/analytics-composer/widget/to-widget-props.d.ts +1 -1
  57. package/dist/packages/sdk-ui/src/api/rest-api.d.ts +9 -4
  58. package/dist/packages/sdk-ui/src/api/types/dashboard-dto.d.ts +2 -1
  59. package/dist/packages/sdk-ui/src/app/client-application.d.ts +6 -6
  60. package/dist/packages/sdk-ui/src/boxplot-utils.d.ts +2 -2
  61. package/dist/packages/sdk-ui/src/calendar-heatmap-chart.d.ts +17 -3
  62. package/dist/packages/sdk-ui/src/chart/helpers/get-load-data-function.d.ts +2 -2
  63. package/dist/packages/sdk-ui/src/chart/helpers/use-chart-renderer-props.d.ts +1 -1
  64. package/dist/packages/sdk-ui/src/chart/helpers/use-synced-data.d.ts +2 -2
  65. package/dist/packages/sdk-ui/src/chart/restructured-charts/areamap-chart/renderer/areamap.d.ts +1 -1
  66. package/dist/packages/sdk-ui/src/chart/restructured-charts/helpers/data-loading.d.ts +2 -2
  67. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/constants.d.ts +69 -36
  68. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/data-options/data-options.d.ts +3 -1
  69. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/data.d.ts +2 -1
  70. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/design-options.d.ts +1 -1
  71. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/extras-options.d.ts +1 -2
  72. 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 +15 -8
  73. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/tooltip-options.d.ts +1 -1
  74. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-heatmap-charts-grid.d.ts +11 -3
  75. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-heatmap.d.ts +3 -5
  76. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-pagination/calendar-pagination.d.ts +7 -10
  77. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-pagination/helpers.d.ts +2 -2
  78. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/helpers/data-helpers.d.ts +0 -2
  79. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/helpers/sizing-helpers.d.ts +6 -17
  80. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/helpers/view-helpers.d.ts +23 -4
  81. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/hooks/index.d.ts +1 -2
  82. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/hooks/use-calendar-heatmap-chart-options.d.ts +8 -8
  83. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/hooks/use-calendar-heatmap-pagination.d.ts +23 -0
  84. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/utils/calendar-utils.d.ts +33 -0
  85. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/utils/index.d.ts +2 -0
  86. 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
  87. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/helpers/data-options.d.ts +1 -1
  88. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/helpers/highchart-options/axis.d.ts +2 -2
  89. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/helpers/highchart-options/tooltip.d.ts +1 -1
  90. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/helpers/highchart-options/y-axis.d.ts +1 -1
  91. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/funnel-chart/alerts/index.d.ts +5 -0
  92. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/funnel-chart/data/index.d.ts +21 -0
  93. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/funnel-chart/data-options/index.d.ts +32 -0
  94. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/funnel-chart/design-options/index.d.ts +17 -0
  95. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/funnel-chart/funnel-chart-builder.d.ts +2 -0
  96. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/funnel-chart/highchart-options/highcharts-options-builder.d.ts +2 -0
  97. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/funnel-chart/types.d.ts +12 -0
  98. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/helpers/data-options.d.ts +2 -2
  99. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/helpers/data.d.ts +2 -2
  100. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/design-options/index.d.ts +1 -1
  101. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/types.d.ts +2 -2
  102. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/sunburst-chart/alerts/index.d.ts +1 -0
  103. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/sunburst-chart/data/index.d.ts +7 -0
  104. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/sunburst-chart/data-options/index.d.ts +11 -0
  105. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/sunburst-chart/design-options/index.d.ts +6 -0
  106. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/sunburst-chart/highchart-options/highcharts-options-builder.d.ts +2 -0
  107. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/sunburst-chart/sunburst-chart-builder.d.ts +2 -0
  108. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/sunburst-chart/types.d.ts +12 -0
  109. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/treemap-chart/alerts/index.d.ts +1 -0
  110. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/treemap-chart/data/index.d.ts +7 -0
  111. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/treemap-chart/data-options/index.d.ts +11 -0
  112. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/treemap-chart/design-options/index.d.ts +6 -0
  113. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/treemap-chart/highchart-options/highcharts-options-builder.d.ts +2 -0
  114. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/treemap-chart/treemap-chart-builder.d.ts +2 -0
  115. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/treemap-chart/types.d.ts +12 -0
  116. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/highcharts-based-chart-renderer/build-highchart-options.d.ts +4 -4
  117. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/highcharts-based-chart-renderer/highcharts-based-chart-renderer.d.ts +4 -4
  118. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/types.d.ts +3 -3
  119. package/dist/packages/sdk-ui/src/chart/restructured-charts/types.d.ts +13 -12
  120. package/dist/packages/sdk-ui/src/chart/restructured-charts/utils.d.ts +1 -1
  121. package/dist/packages/sdk-ui/src/chart/types.d.ts +1 -1
  122. package/dist/packages/sdk-ui/src/chart-data/advanced-analytics-data.d.ts +1 -1
  123. package/dist/packages/sdk-ui/src/chart-data/boxplot-data.d.ts +1 -1
  124. package/dist/packages/sdk-ui/src/chart-data/cartesian-data.d.ts +2 -2
  125. package/dist/packages/sdk-ui/src/chart-data/indicator-data.d.ts +1 -1
  126. package/dist/packages/sdk-ui/src/chart-data/range-data.d.ts +1 -1
  127. package/dist/packages/sdk-ui/src/chart-data/scatter-data.d.ts +1 -1
  128. package/dist/packages/sdk-ui/src/chart-data/table-data.d.ts +1 -1
  129. package/dist/packages/sdk-ui/src/chart-data/types.d.ts +3 -3
  130. package/dist/packages/sdk-ui/src/chart-data-options/translate-boxplot-data-options.d.ts +1 -1
  131. package/dist/packages/sdk-ui/src/chart-data-options/translate-data-options.d.ts +1 -1
  132. package/dist/packages/sdk-ui/src/chart-data-options/types.d.ts +5 -5
  133. package/dist/packages/sdk-ui/src/chart-data-options/utils.d.ts +1 -1
  134. package/dist/packages/sdk-ui/src/chart-data-options/validate-data-options/validate-data-options.d.ts +2 -2
  135. package/dist/packages/sdk-ui/src/chart-data-processor/row-comparator.d.ts +1 -1
  136. package/dist/packages/sdk-ui/src/chart-options-processor/advanced-chart-options.d.ts +1 -1
  137. package/dist/packages/sdk-ui/src/chart-options-processor/apply-event-handlers.d.ts +2 -2
  138. package/dist/packages/sdk-ui/src/chart-options-processor/boxplot-chart-options.d.ts +2 -2
  139. package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/cartesian-chart-options.d.ts +4 -4
  140. package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/axis/axis-builders.d.ts +8 -8
  141. package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/axis/axis-settings.d.ts +1 -1
  142. package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/axis/axis-transformers.d.ts +5 -6
  143. package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/chart-spacing-calculator.d.ts +2 -2
  144. package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/series-processor.d.ts +21 -2
  145. package/dist/packages/sdk-ui/src/chart-options-processor/category-chart-options/category-chart-options.d.ts +4 -4
  146. package/dist/packages/sdk-ui/src/chart-options-processor/category-chart-options/funnel-chart-options.d.ts +3 -3
  147. package/dist/packages/sdk-ui/src/chart-options-processor/category-chart-options/pie-chart-options.d.ts +3 -3
  148. package/dist/packages/sdk-ui/src/chart-options-processor/category-chart-options/sunburst-chart-options.d.ts +4 -4
  149. package/dist/packages/sdk-ui/src/chart-options-processor/category-chart-options/treemap-chart-options.d.ts +4 -4
  150. package/dist/packages/sdk-ui/src/chart-options-processor/chart-options-service.d.ts +11 -11
  151. package/dist/packages/sdk-ui/src/chart-options-processor/data-points.d.ts +2 -2
  152. package/dist/packages/sdk-ui/src/chart-options-processor/defaults/cartesian.d.ts +3 -3
  153. package/dist/packages/sdk-ui/src/chart-options-processor/range-chart-options.d.ts +3 -3
  154. package/dist/packages/sdk-ui/src/chart-options-processor/scatter-chart-options.d.ts +3 -3
  155. package/dist/packages/sdk-ui/src/chart-options-processor/series-labels.d.ts +19 -0
  156. package/dist/packages/sdk-ui/src/chart-options-processor/stack-labels.d.ts +25 -0
  157. package/dist/packages/sdk-ui/src/chart-options-processor/style-to-design-options-translator/translate-style-to-design-options.d.ts +2 -2
  158. package/dist/packages/sdk-ui/src/chart-options-processor/style-to-design-options-translator/translate-to-highcharts-options.d.ts +3 -3
  159. package/dist/packages/sdk-ui/src/chart-options-processor/subtype-to-design-options.d.ts +2 -2
  160. package/dist/packages/sdk-ui/src/chart-options-processor/tooltip.d.ts +1 -1
  161. package/dist/packages/sdk-ui/src/chart-options-processor/translations/axis-section.d.ts +17 -7
  162. package/dist/packages/sdk-ui/src/chart-options-processor/translations/base-design-options.d.ts +1 -1
  163. package/dist/packages/sdk-ui/src/chart-options-processor/translations/boxplot/boxplot-axis.d.ts +1 -1
  164. package/dist/packages/sdk-ui/src/chart-options-processor/translations/boxplot/boxplot-plot-options.d.ts +2 -2
  165. package/dist/packages/sdk-ui/src/chart-options-processor/translations/boxplot/boxplot-series.d.ts +1 -1
  166. package/dist/packages/sdk-ui/src/chart-options-processor/translations/design-options.d.ts +36 -9
  167. package/dist/packages/sdk-ui/src/chart-options-processor/translations/funnel-plot-options.d.ts +4 -4
  168. package/dist/packages/sdk-ui/src/chart-options-processor/translations/funnel-series.d.ts +11 -3
  169. package/dist/packages/sdk-ui/src/chart-options-processor/translations/pie-plot-options.d.ts +4 -4
  170. package/dist/packages/sdk-ui/src/chart-options-processor/translations/pie-series.d.ts +3 -3
  171. package/dist/packages/sdk-ui/src/chart-options-processor/translations/range/tooltip-range.d.ts +1 -1
  172. package/dist/packages/sdk-ui/src/chart-options-processor/translations/scatter-plot-options.d.ts +1 -1
  173. package/dist/packages/sdk-ui/src/chart-options-processor/translations/scatter-series.d.ts +5 -4
  174. package/dist/packages/sdk-ui/src/chart-options-processor/translations/scatter-tooltip.d.ts +1 -1
  175. package/dist/packages/sdk-ui/src/chart-options-processor/translations/sunburst/sunburst-levels.d.ts +2 -2
  176. package/dist/packages/sdk-ui/src/chart-options-processor/translations/sunburst/sunburst-options.d.ts +81 -3
  177. package/dist/packages/sdk-ui/src/chart-options-processor/translations/sunburst/sunburst-series.d.ts +1 -1
  178. package/dist/packages/sdk-ui/src/chart-options-processor/translations/tooltip-utils.d.ts +7 -6
  179. package/dist/packages/sdk-ui/src/chart-options-processor/translations/tooltip.d.ts +1 -1
  180. package/dist/packages/sdk-ui/src/chart-options-processor/translations/translations-to-highcharts.d.ts +7 -7
  181. package/dist/packages/sdk-ui/src/chart-options-processor/translations/treemap/treemap-labels.d.ts +2 -2
  182. package/dist/packages/sdk-ui/src/chart-options-processor/translations/treemap/treemap-options.d.ts +3 -3
  183. package/dist/packages/sdk-ui/src/chart-options-processor/translations/treemap/treemap-series.d.ts +2 -2
  184. package/dist/packages/sdk-ui/src/chart-options-processor/translations/treemap/treemap-tooltip.d.ts +1 -1
  185. package/dist/packages/sdk-ui/src/chart-options-processor/translations/types.d.ts +3 -3
  186. package/dist/packages/sdk-ui/src/chart-options-processor/translations/value-label-section.d.ts +16 -7
  187. package/dist/packages/sdk-ui/src/charts/indicator/chart/indicator.d.ts +4 -4
  188. package/dist/packages/sdk-ui/src/charts/indicator/indicator-legacy-chart-data-options.d.ts +1 -1
  189. package/dist/packages/sdk-ui/src/charts/indicator/indicator-legacy-chart-options/default-options.d.ts +1 -1
  190. package/dist/packages/sdk-ui/src/charts/indicator/indicator-legacy-chart-options/indicator-legacy-chart-options.d.ts +1 -1
  191. package/dist/packages/sdk-ui/src/charts/indicator/indicator-legacy-chart-options/override-with-value-color.d.ts +1 -1
  192. package/dist/packages/sdk-ui/src/charts/indicator/indicator-render-options.d.ts +1 -1
  193. package/dist/packages/sdk-ui/src/charts/map-charts/scattermap/hooks/use-tooltip-handler.d.ts +2 -2
  194. package/dist/packages/sdk-ui/src/charts/map-charts/scattermap/scattermap.d.ts +4 -4
  195. package/dist/packages/sdk-ui/src/charts/map-charts/scattermap/utils/location.d.ts +2 -2
  196. package/dist/packages/sdk-ui/src/charts/map-charts/scattermap/utils/map.d.ts +1 -1
  197. package/dist/packages/sdk-ui/src/charts/map-charts/scattermap/utils/tooltip.d.ts +1 -1
  198. package/dist/packages/sdk-ui/src/charts/table/types.d.ts +1 -1
  199. package/dist/packages/sdk-ui/src/common/components/grouped-items-browser/group-header.d.ts +1 -1
  200. package/dist/packages/sdk-ui/src/common/components/grouped-items-browser/group.d.ts +1 -1
  201. package/dist/packages/sdk-ui/src/common/components/menu/context-menu/menu.d.ts +1 -1
  202. package/dist/packages/sdk-ui/src/common/components/menu/types.d.ts +1 -1
  203. package/dist/packages/sdk-ui/src/common/components/modal/modal-context.d.ts +1 -2
  204. package/dist/packages/sdk-ui/src/common/hooks/decorators/with-lazy-loading/helpers/hooks/use-load-data-from-internal-hook.d.ts +1 -1
  205. package/dist/packages/sdk-ui/src/common/hooks/decorators/with-lazy-loading/with-lazy-loading.d.ts +1 -1
  206. package/dist/packages/sdk-ui/src/common/hooks/fusion-endpoints/use-get-data-source-fields.d.ts +1 -1
  207. package/dist/packages/sdk-ui/src/common/hooks/use-tracking.d.ts +1 -1
  208. package/dist/packages/sdk-ui/src/common/icons/arrow-collapse-icon.d.ts +5 -0
  209. package/dist/packages/sdk-ui/src/common/icons/double-arrow-end-icon.d.ts +1 -1
  210. package/dist/packages/sdk-ui/src/common-filters/common-filters-connector.d.ts +6 -4
  211. package/dist/packages/sdk-ui/src/common-filters/selection-utils.d.ts +2 -1
  212. package/dist/packages/sdk-ui/src/common-filters/use-common-filters.d.ts +3 -3
  213. package/dist/packages/sdk-ui/src/common-filters/utils.d.ts +1 -1
  214. package/dist/packages/sdk-ui/src/custom-widgets-provider/custom-widgets-provider-adapter.d.ts +1 -1
  215. package/dist/packages/sdk-ui/src/custom-widgets-provider/use-execute-custom-widget-query.d.ts +2 -2
  216. package/dist/packages/sdk-ui/src/dashboard/components/editable-layout/components/draggable-line.d.ts +5 -1
  217. package/dist/packages/sdk-ui/src/dashboard/components/editable-layout/components/draggable-widget-wrapper.d.ts +1 -1
  218. package/dist/packages/sdk-ui/src/dashboard/components/editable-layout/components/resizable-columns.d.ts +5 -1
  219. package/dist/packages/sdk-ui/src/dashboard/components/editable-layout/helpers.d.ts +2 -2
  220. package/dist/packages/sdk-ui/src/dashboard/components/editable-layout/utils.d.ts +1 -1
  221. package/dist/packages/sdk-ui/src/dashboard/components/horizontal-collapse.d.ts +2 -1
  222. package/dist/packages/sdk-ui/src/dashboard/components/jtd-dashboard.d.ts +5 -4
  223. package/dist/packages/sdk-ui/src/dashboard/components/toolbar/filter-toggle.d.ts +16 -0
  224. package/dist/packages/sdk-ui/src/dashboard/dashboard-helpers.d.ts +110 -1
  225. package/dist/packages/sdk-ui/src/dashboard/dashboard.d.ts +1 -1
  226. package/dist/packages/sdk-ui/src/dashboard/hooks/index.d.ts +7 -0
  227. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/index.d.ts +20 -5
  228. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-config-transformers.d.ts +85 -0
  229. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-filters.d.ts +3 -2
  230. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-formatters.d.ts +64 -2
  231. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-handlers.d.ts +6 -7
  232. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-menu.d.ts +2 -1
  233. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-types.d.ts +262 -7
  234. package/dist/packages/sdk-ui/src/dashboard/hooks/use-dashboard-header-toolbar.d.ts +9 -1
  235. package/dist/packages/sdk-ui/src/dashboard/hooks/use-edit-mode-toolbar.d.ts +3 -0
  236. package/dist/packages/sdk-ui/src/dashboard/hooks/use-jtd-widget.d.ts +68 -0
  237. package/dist/packages/sdk-ui/src/dashboard/hooks/use-jtd.d.ts +35 -8
  238. package/dist/packages/sdk-ui/src/dashboard/hooks/use-tabber.d.ts +15 -2
  239. package/dist/packages/sdk-ui/src/dashboard/index.d.ts +2 -1
  240. package/dist/packages/sdk-ui/src/dashboard/types.d.ts +13 -5
  241. package/dist/packages/sdk-ui/src/dashboard/use-composed-dashboard.d.ts +54 -11
  242. package/dist/packages/sdk-ui/src/decorators/component-decorators/with-tracking/error-tracker.d.ts +2 -2
  243. package/dist/packages/sdk-ui/src/filters/components/common/basic-input.d.ts +1 -1
  244. package/dist/packages/sdk-ui/src/filters/components/common/date-range-field-button.d.ts +1 -1
  245. package/dist/packages/sdk-ui/src/filters/components/criteria-filter-tile/criteria-filter-display.d.ts +1 -1
  246. package/dist/packages/sdk-ui/src/filters/components/criteria-filter-tile/criteria-filter-menu.d.ts +1 -1
  247. package/dist/packages/sdk-ui/src/filters/components/criteria-filter-tile/criteria-filter-operations.d.ts +1 -1
  248. package/dist/packages/sdk-ui/src/filters/components/criteria-filter-tile/criteria-filter-tile.d.ts +1 -1
  249. package/dist/packages/sdk-ui/src/filters/components/date-filter/date-range-filter-tile/date-range-filter-tile.d.ts +1 -1
  250. package/dist/packages/sdk-ui/src/filters/components/date-filter/relative-date-filter-tile/relative-date-filter-display.d.ts +1 -1
  251. package/dist/packages/sdk-ui/src/filters/components/date-filter/relative-date-filter-tile/relative-date-filter.d.ts +1 -1
  252. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/base.d.ts +1 -1
  253. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/calendar-select/utils.d.ts +1 -1
  254. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/multi-select-item.d.ts +1 -1
  255. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/searchable-multi-select.d.ts +1 -1
  256. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/searchable-single-select.d.ts +1 -1
  257. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/single-select-item.d.ts +1 -1
  258. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/numeric-condition-section/utils.d.ts +1 -1
  259. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/utils.d.ts +1 -3
  260. package/dist/packages/sdk-ui/src/filters/components/filter-tile-container.d.ts +1 -1
  261. package/dist/packages/sdk-ui/src/filters/components/filters-panel/filter-relations-tile/filter-relations-tile.d.ts +1 -1
  262. package/dist/packages/sdk-ui/src/filters/components/filters-panel/filter-relations-tile/filter-relations-tooltip.d.ts +1 -1
  263. package/dist/packages/sdk-ui/src/filters/components/filters-panel/filter-relations-tile/tooltip-utils.d.ts +2 -2
  264. package/dist/packages/sdk-ui/src/filters/components/filters-panel/hooks/use-existing-filter-editing.d.ts +1 -1
  265. package/dist/packages/sdk-ui/src/filters/components/filters-panel/hooks/use-new-filter-adding.d.ts +1 -1
  266. package/dist/packages/sdk-ui/src/filters/components/icons/arrow-icon.d.ts +1 -1
  267. package/dist/packages/sdk-ui/src/filters/components/icons/double-arrow-icon.d.ts +1 -1
  268. package/dist/packages/sdk-ui/src/filters/components/member-filter-tile/member-filter-tile.d.ts +1 -1
  269. package/dist/packages/sdk-ui/src/filters/components/unsupported-filter-tile.d.ts +1 -1
  270. package/dist/packages/sdk-ui/src/filters/hooks/use-get-filter-members.d.ts +15 -2
  271. package/dist/packages/sdk-ui/src/formulas/fetch-formula.d.ts +1 -1
  272. package/dist/packages/sdk-ui/src/formulas/use-get-shared-formula.d.ts +2 -2
  273. package/dist/packages/sdk-ui/src/index.d.ts +9 -1
  274. package/dist/packages/sdk-ui/src/indicator-canvas.d.ts +2 -2
  275. package/dist/packages/sdk-ui/src/models/dashboard/dashboard-model-translator.d.ts +3 -3
  276. package/dist/packages/sdk-ui/src/models/dashboard/dashboard-model.d.ts +9 -3
  277. package/dist/packages/sdk-ui/src/models/dashboard/get-dashboard-model.d.ts +9 -1
  278. package/dist/packages/sdk-ui/src/models/dashboard/translate-dashboard-utils.d.ts +27 -4
  279. package/dist/packages/sdk-ui/src/models/dashboard/types.d.ts +13 -4
  280. package/dist/packages/sdk-ui/src/models/dashboard/use-dashboard-model/use-dasboard-model-utils.d.ts +2 -2
  281. package/dist/packages/sdk-ui/src/models/dashboard/use-dashboard-model/use-dashboard-model-reducer.d.ts +1 -1
  282. package/dist/packages/sdk-ui/src/models/dashboard/use-dashboard-model/use-dashboard-persistence.d.ts +1 -1
  283. package/dist/packages/sdk-ui/src/models/dashboard/use-get-dashboard-model.d.ts +1 -1
  284. package/dist/packages/sdk-ui/src/models/dashboard/use-get-dashboard-models.d.ts +1 -1
  285. package/dist/packages/sdk-ui/src/models/hierarchy/get-hierarchy-models.d.ts +1 -1
  286. package/dist/packages/sdk-ui/src/models/hierarchy/use-get-hierarchy-models.d.ts +1 -1
  287. package/dist/packages/sdk-ui/src/models/widget/get-widget-model.d.ts +2 -2
  288. package/dist/packages/sdk-ui/src/models/widget/widget-model-translator.d.ts +4 -4
  289. package/dist/packages/sdk-ui/src/models/widget/widget-model.d.ts +1 -1
  290. package/dist/packages/sdk-ui/src/no-results-overlay/images/index.d.ts +1 -1
  291. package/dist/packages/sdk-ui/src/pivot-table/formatters/data-cell-formatters/data-cell-color-formatter.d.ts +1 -1
  292. package/dist/packages/sdk-ui/src/pivot-table/formatters/formatter-utils.d.ts +1 -1
  293. package/dist/packages/sdk-ui/src/pivot-table/formatters/header-cell-formatters/header-cell-value-formatter.d.ts +1 -1
  294. package/dist/packages/sdk-ui/src/pivot-table/formatters/utils.d.ts +1 -1
  295. package/dist/packages/sdk-ui/src/pivot-table/hooks/use-apply-pivot-table-cell-events/use-apply-pivot-table-cell-events.d.ts +1 -1
  296. package/dist/packages/sdk-ui/src/pivot-table/hooks/use-get-pivot-table-query.d.ts +2 -2
  297. package/dist/packages/sdk-ui/src/pivot-table/hooks/use-render-pivot.d.ts +2 -2
  298. package/dist/packages/sdk-ui/src/pivot-table/sorting-utils.d.ts +1 -1
  299. package/dist/packages/sdk-ui/src/props.d.ts +9 -15
  300. package/dist/packages/sdk-ui/src/query/execute-query.d.ts +2 -2
  301. package/dist/packages/sdk-ui/src/query/query-result-date-formatting.d.ts +1 -1
  302. package/dist/packages/sdk-ui/src/query-execution/query-params-comparator.d.ts +1 -1
  303. package/dist/packages/sdk-ui/src/query-execution/use-execute-query-by-widget-id.d.ts +2 -2
  304. package/dist/packages/sdk-ui/src/sisense-chart/sisense-chart.d.ts +1 -1
  305. package/dist/packages/sdk-ui/src/sisense-context/custom-sisense-context-provider.d.ts +2 -2
  306. package/dist/packages/sdk-ui/src/sisense-context/sisense-context-provider.d.ts +1 -1
  307. package/dist/packages/sdk-ui/src/sisense-context/sisense-context.d.ts +1 -1
  308. package/dist/packages/sdk-ui/src/sisense-context/sisense-query-client-provider.d.ts +1 -1
  309. package/dist/packages/sdk-ui/src/table/translations/design-options.d.ts +1 -1
  310. package/dist/packages/sdk-ui/src/themes/legacy-design-settings.d.ts +1 -1
  311. package/dist/packages/sdk-ui/src/themes/theme-loader.d.ts +1 -1
  312. package/dist/packages/sdk-ui/src/translation/resources/en.d.ts +2 -0
  313. package/dist/packages/sdk-ui/src/translation/resources/index.d.ts +4 -0
  314. package/dist/packages/sdk-ui/src/types.d.ts +325 -41
  315. package/dist/packages/sdk-ui/src/utils/create-level-attribute.d.ts +11 -0
  316. package/dist/packages/sdk-ui/src/widget-by-id/translate-dashboard-filters.d.ts +2 -2
  317. package/dist/packages/sdk-ui/src/widget-by-id/translate-panel-color-format.d.ts +1 -1
  318. package/dist/packages/sdk-ui/src/widget-by-id/translate-widget-data-options.d.ts +2 -2
  319. package/dist/packages/sdk-ui/src/widget-by-id/translate-widget-drilldown-options.d.ts +1 -1
  320. package/dist/packages/sdk-ui/src/widget-by-id/translate-widget-style-options.d.ts +11 -2
  321. package/dist/packages/sdk-ui/src/widget-by-id/types.d.ts +51 -74
  322. package/dist/packages/sdk-ui/src/widget-by-id/utils.d.ts +4 -4
  323. package/dist/packages/sdk-ui/src/widgets/common/drilldown-breadcrumbs/use-buttons.d.ts +1 -1
  324. package/dist/packages/sdk-ui/src/widgets/common/drilldown-utils.d.ts +1 -1
  325. package/dist/packages/sdk-ui/src/widgets/common/use-drilldown-core.d.ts +1 -1
  326. package/dist/packages/sdk-ui/src/widgets/hooks/use-drilldown.d.ts +3 -3
  327. package/dist/packages/sdk-ui/src/widgets/hooks/use-with-drilldown.d.ts +1 -1
  328. package/dist/{types-Ds0KtTJF.cjs → types-CevYjGN4.cjs} +1 -1
  329. package/dist/{types-BRtWk8uC.js → types-DVAfvbpR.js} +1 -1
  330. package/dist/use-common-filters-BXdnB4GI.cjs +845 -0
  331. package/dist/{use-common-filters-D8tEa9zb.js → use-common-filters-DIF4c8WP.js} +69183 -68594
  332. package/dist/widget-composer-BB5Jrgae.js +1430 -0
  333. package/dist/widget-composer-C0lZpwN6.cjs +428 -0
  334. package/package.json +13 -18
  335. package/dist/derive-chart-family-B1on_xkS.cjs +0 -170
  336. package/dist/execute-query-CABqVn7C.cjs +0 -1
  337. package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/common.d.ts +0 -40
  338. package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/index.d.ts +0 -2
  339. package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/translate-dimensions.d.ts +0 -3
  340. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/hooks/use-calendar-heatmap-navigation.d.ts +0 -33
  341. package/dist/packages/sdk-ui/src/index-typedoc.d.ts +0 -31
  342. package/dist/use-common-filters-hw1WKPCY.cjs +0 -844
  343. package/dist/widget-composer-B7zeAa_D.cjs +0 -428
  344. package/dist/widget-composer-DL0xPtlC.js +0 -949
  345. /package/dist/packages/sdk-ui/src/analytics-composer/{new-nlq-translator → nlq-v3-translator}/translate-query-to-jaql.d.ts +0 -0
@@ -1,30 +1,24 @@
1
+ import { CSSProperties, ReactNode } from 'react';
1
2
  import type { Attribute, CalculatedMeasureColumn, Column, Measure, MeasureColumn, MembersFilter } from '@sisense/sdk-data';
2
3
  import { DeepRequired } from 'ts-essentials';
3
- import { AreaSubtype, BoxplotSubtype, LineSubtype, PieSubtype, PolarSubtype, StackableSubtype, AreaRangeSubtype } from './chart-options-processor/subtype-to-design-options';
4
+ import { Coordinates } from './charts/map-charts/scattermap/types';
5
+ import { TabCornerRadius, TabInterval, TabSize } from './widgets/tabber-widget';
6
+ import { Hierarchy, HierarchyId, StyledColumn, StyledMeasureColumn } from '.';
7
+ import { HighchartsOptionsInternal } from './chart-options-processor/chart-options-service';
8
+ import { AreaRangeSubtype, AreaSubtype, BoxplotSubtype, LineSubtype, PieSubtype, PolarSubtype, StackableSubtype } from './chart-options-processor/subtype-to-design-options';
4
9
  import { IndicatorComponents, TableColorOptions } from './chart-options-processor/translations/design-options';
5
10
  import { FunnelDirection, FunnelSize, FunnelType } from './chart-options-processor/translations/funnel-plot-options';
6
- import { ScatterMarkerSize } from './chart-options-processor/translations/scatter-plot-options';
7
- import { CartesianChartType, ScatterChartType, CategoricalChartType, IndicatorChartType, TableType, AreamapChartType, BoxplotChartType, ScattermapChartType, CalendarHeatmapChartType, RangeChartType, TableChartType, TextStyle } from './chart-options-processor/translations/types';
8
- import { DataPointsEventHandler } from './props';
9
11
  import { LegendPosition } from './chart-options-processor/translations/legend-section';
10
- import { Coordinates } from './charts/map-charts/scattermap/types';
11
- import { StyledColumn, StyledMeasureColumn, Hierarchy, HierarchyId } from '.';
12
- import { HighchartsOptionsInternal } from './chart-options-processor/chart-options-service';
13
- import { CSSProperties, ReactNode } from 'react';
12
+ import { ScatterMarkerSize } from './chart-options-processor/translations/scatter-plot-options';
13
+ import { AreamapChartType, BoxplotChartType, CalendarHeatmapChartType, CartesianChartType, CategoricalChartType, IndicatorChartType, RangeChartType, ScatterChartType, ScattermapChartType, TableChartType, TableType, TextStyle } from './chart-options-processor/translations/types';
14
14
  import { GeoDataElement, RawGeoDataElement } from './chart/restructured-charts/areamap-chart/types';
15
- import { TabCornerRadius, TabInterval, TabSize } from './widgets/tabber-widget';
15
+ import { CalendarDayOfWeek } from './chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/utils';
16
+ import { DataPointsEventHandler } from './props';
16
17
  import { SoftUnion } from './utils/utility-types';
17
18
  export type { SortDirection, PivotRowsSort } from '@sisense/sdk-data';
18
19
  export type { AppConfig } from './app/client-application';
19
20
  export type { DateConfig } from './query/date-formats';
20
- /**
21
- * @internal
22
- * Enum for size measurement units
23
- */
24
- export declare enum SizeMeasurement {
25
- PERCENT = "%",
26
- PIXEL = "px"
27
- }
21
+ export type { CalendarDayOfWeek } from './chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/utils';
28
22
  export type { CartesianChartDataOptions, CategoricalChartDataOptions, ChartDataOptions, ScatterChartDataOptions, IndicatorChartDataOptions, CalendarHeatmapChartDataOptions, StyledColumn, StyledMeasureColumn, } from './chart-data-options/types';
29
23
  export type { DataColorCondition, ConditionalDataColorOptions, DataColorOptions, RangeDataColorOptions, UniformDataColorOptions, } from './chart-data/data-coloring/types';
30
24
  export type { CartesianChartType, CategoricalChartType, ScatterChartType, IndicatorChartType, BoxplotChartType, ScattermapChartType, AreamapChartType, CalendarHeatmapChartType, TableType, TableChartType, AreaSubtype, AreaRangeSubtype, LineSubtype, PieSubtype, PolarSubtype, StackableSubtype, BoxplotSubtype, IndicatorComponents, ScatterMarkerSize, LegendPosition, GeoDataElement, RawGeoDataElement, Coordinates, RangeChartType, TableColorOptions, TextStyle, };
@@ -106,11 +100,23 @@ export type X2Title = {
106
100
  enabled: boolean;
107
101
  text?: string;
108
102
  };
103
+ export type SeriesLabelsTextStyle = Omit<TextStyle, 'pointerEvents' | 'textOverflow' | 'color'> & {
104
+ /**
105
+ * Color of the labels text
106
+ * The default color setting is "contrast", which applies the maximum contrast between the background and the text
107
+ *
108
+ * @default 'contrast'
109
+ */
110
+ color?: 'contrast' | string;
111
+ };
109
112
  /** Options that define series labels - titles/names identifying data series in a chart. */
110
113
  export type SeriesLabels = {
111
114
  /** Boolean flag that defines if series labels should be shown on the chart */
112
115
  enabled: boolean;
113
- /** Rotation of series labels (in degrees) */
116
+ /**
117
+ * Rotation of series labels (in degrees)
118
+ * Note that due to a more complex structure, backgrounds, borders and padding will be lost on a rotated data label
119
+ * */
114
120
  rotation?: number;
115
121
  /**
116
122
  * Boolean flag that defines if value should be shown in series labels
@@ -122,15 +128,148 @@ export type SeriesLabels = {
122
128
  * (only applicable for subtypes that support percentage, like "stacked100")
123
129
  */
124
130
  showPercentage?: boolean;
131
+ /**
132
+ * Text to be shown before the series labels
133
+ */
134
+ prefix?: string;
135
+ /**
136
+ * Text to be shown after the series labels
137
+ */
138
+ suffix?: string;
139
+ /**
140
+ * If `true`, series labels appear inside bars/columns instead of at the datapoints. Not applicable for some chart types e.g. line, area
141
+ */
142
+ alignInside?: boolean;
143
+ /**
144
+ * The horizontal alignment of the data label compared to the point
145
+ */
146
+ align?: 'left' | 'center' | 'right';
147
+ /**
148
+ * The vertical alignment of the data label
149
+ */
150
+ verticalAlign?: 'top' | 'middle' | 'bottom';
151
+ /**
152
+ * Styling for labels text
153
+ */
154
+ textStyle?: SeriesLabelsTextStyle;
155
+ /**
156
+ * Background color of the labels. `auto` uses the same color as the data point
157
+ */
158
+ backgroundColor?: 'auto' | string;
159
+ /**
160
+ * Color of the labels border
161
+ */
162
+ borderColor?: string;
163
+ /**
164
+ * Border radius in pixels applied to the labels border, if visible
165
+ *
166
+ * @default 0
167
+ */
168
+ borderRadius?: number;
169
+ /**
170
+ * Border width of the series labels, in pixels
171
+ */
172
+ borderWidth?: number;
173
+ /**
174
+ * Padding of the series labels, in pixels
175
+ */
176
+ padding?: number;
177
+ /**
178
+ * Horizontal offset of the labels in pixels, relative to its horizontal alignment specified via `align`
179
+ *
180
+ * @default 0
181
+ */
182
+ xOffset?: number;
183
+ /**
184
+ * Vertical offset of the labels in pixels, relative to its vertical alignment specified via `verticalAlign`
185
+ *
186
+ * @default 0
187
+ */
188
+ yOffset?: number;
189
+ /**
190
+ * The animation delay time in milliseconds. Set to 0 to render the data labels immediately
191
+ *
192
+ * @internal
193
+ */
194
+ delay?: number;
125
195
  };
126
196
  /**
127
- * @internal
197
+ * Text styling options for total labels.
198
+ *
199
+ * Extends the base TextStyle with additional alignment options specific to total labels.
200
+ */
201
+ export type TotalLabelsTextStyle = Omit<TextStyle, 'pointerEvents' | 'textOverflow'> & {
202
+ /**
203
+ * Horizontal alignment of the total label text
204
+ */
205
+ align?: 'left' | 'center' | 'right';
206
+ };
207
+ /**
208
+ * Configuration options for total labels in stacked charts.
209
+ *
210
+ * Total labels display the sum of all series values at each data point in stacked charts.
211
+ * This configuration allows you to customize the appearance and positioning of these labels.
128
212
  */
129
213
  export type TotalLabels = {
130
- /** Boolean flag that defines if total labels should be shown on the chart */
214
+ /**
215
+ * Boolean flag that defines if total labels should be shown on the chart
216
+ * Total labels are only supported for stacked chart subtypes (Column, Bar, Area)
217
+ * */
131
218
  enabled: boolean;
132
- /** Rotation of total labels (in degrees) */
219
+ /**
220
+ * Rotation of total labels (in degrees)
221
+ * */
133
222
  rotation?: number;
223
+ /**
224
+ * The horizontal alignment of the total label compared to the point
225
+ */
226
+ align?: 'left' | 'center' | 'right';
227
+ /**
228
+ * The vertical alignment of the total label compared to the point
229
+ */
230
+ verticalAlign?: 'top' | 'middle' | 'bottom';
231
+ /**
232
+ * The animation delay time in milliseconds. Set to 0 to render the data labels immediately
233
+ */
234
+ delay?: number;
235
+ /**
236
+ * Background color of the labels. `auto` uses the same color as the data point
237
+ */
238
+ backgroundColor?: 'auto' | string;
239
+ /**
240
+ * Color of the labels border
241
+ */
242
+ borderColor?: string;
243
+ /**
244
+ * Border radius in pixels applied to the labels border, if visible
245
+ *
246
+ * @default 0
247
+ */
248
+ borderRadius?: number;
249
+ /**
250
+ * Border width of the series labels, in pixels
251
+ */
252
+ borderWidth?: number;
253
+ /**
254
+ * Styling for labels text
255
+ */
256
+ textStyle?: TotalLabelsTextStyle;
257
+ /**
258
+ * Horizontal offset of the total label in pixels, relative to its horizontal alignment specified via `align`
259
+ */
260
+ xOffset?: number;
261
+ /**
262
+ * Vertical offset of the total label in pixels, relative to its vertical alignment specified via `verticalAlign`
263
+ */
264
+ yOffset?: number;
265
+ /**
266
+ * Text to be shown before the total label
267
+ */
268
+ prefix?: string;
269
+ /**
270
+ * Text to be shown after the total label
271
+ */
272
+ suffix?: string;
134
273
  };
135
274
  /**
136
275
  * Configuration for the legend title
@@ -239,8 +378,6 @@ export type LegendOptions = {
239
378
  borderRadius?: number;
240
379
  /**
241
380
  * Whether to show shadow on the legend
242
- *
243
- * @internal
244
381
  */
245
382
  shadow?: boolean;
246
383
  /** If `true`, the order of legend items is reversed.
@@ -283,6 +420,8 @@ export type LegendOptions = {
283
420
  };
284
421
  /**
285
422
  * Alias for LegendOptions for backward compatibility
423
+ *
424
+ * @deprecated Please use {@link LegendOptions} instead
286
425
  */
287
426
  export type Legend = LegendOptions;
288
427
  /** Configuration that defines behavior of data labels on chart */
@@ -386,16 +525,8 @@ export interface BaseStyleOptions extends ReservedStyleOptions {
386
525
  legend?: LegendOptions;
387
526
  /**
388
527
  * Configuration for series labels - titles/names identifying data series in a chart
389
- *
390
- * @internal
391
528
  */
392
529
  seriesLabels?: SeriesLabels;
393
- /**
394
- * Configuration for total labels
395
- *
396
- * @internal
397
- */
398
- totalLabels?: TotalLabels;
399
530
  /** Data limit for series or categories that will be plotted */
400
531
  dataLimits?: DataLimits;
401
532
  /**
@@ -487,14 +618,49 @@ export interface AreaStyleOptions extends BaseStyleOptions, BaseAxisStyleOptions
487
618
  line?: LineOptions;
488
619
  /** Subtype of AreaChart*/
489
620
  subtype?: AreaSubtype;
621
+ /**
622
+ * Configuration for total labels
623
+ * Only supported for stacked chart subtypes
624
+ */
625
+ totalLabels?: TotalLabels;
490
626
  }
491
627
  /** Configuration options that define functional style of the various elements of stackable charts, like Column or Bar */
492
628
  export interface StackableStyleOptions extends BaseStyleOptions, BaseAxisStyleOptions {
493
629
  /** Subtype of stackable chart */
494
630
  subtype?: StackableSubtype;
631
+ /**
632
+ * Configuration for total labels
633
+ * Only supported for stacked chart subtypes
634
+ */
635
+ totalLabels?: TotalLabels;
636
+ /**
637
+ * Configuration for series styling
638
+ */
639
+ series?: {
640
+ /**
641
+ * Padding between each column or bar, in x axis units.
642
+ *
643
+ * @default 0.01
644
+ */
645
+ padding?: number;
646
+ /**
647
+ * Padding between each value groups, in x axis units.
648
+ *
649
+ * @default 0.1
650
+ */
651
+ groupPadding?: number;
652
+ /**
653
+ * The corner radius of the border surrounding each column or bar.
654
+ * A number signifies pixels.
655
+ * A percentage string, like for example 50%, signifies a relative size.
656
+ *
657
+ * @default 0
658
+ */
659
+ borderRadius?: number | string;
660
+ };
495
661
  }
496
662
  /** Configuration options that define functional style of the various elements of Pie chart */
497
- export interface PieStyleOptions extends BaseStyleOptions {
663
+ export interface PieStyleOptions extends Omit<BaseStyleOptions, 'seriesLabels'> {
498
664
  /**
499
665
  * Configuration that defines the ability of the Pie chart to collapse (convolve) and
500
666
  * hide part of the data under the single category "Others".
@@ -506,7 +672,7 @@ export interface PieStyleOptions extends BaseStyleOptions {
506
672
  subtype?: PieSubtype;
507
673
  }
508
674
  /** Configuration options that define functional style of the various elements of FunnelChart */
509
- export interface FunnelStyleOptions extends BaseStyleOptions {
675
+ export interface FunnelStyleOptions extends Omit<BaseStyleOptions, 'seriesLabels'> {
510
676
  /** Visual size of the lowest slice (degree of funnel narrowing from highest to lowest slices)*/
511
677
  funnelSize?: FunnelSize;
512
678
  /** Visual type of the lowest slice of FunnelChart */
@@ -705,13 +871,13 @@ export interface GaugeIndicatorStyleOptions extends BaseIndicatorStyleOptions {
705
871
  tickerBarHeight?: number;
706
872
  }
707
873
  /** Configuration options that define functional style of the various elements of ScatterChart */
708
- export interface ScatterStyleOptions extends BaseStyleOptions, BaseAxisStyleOptions {
874
+ export interface ScatterStyleOptions extends Omit<BaseStyleOptions, 'seriesLabels'>, BaseAxisStyleOptions {
709
875
  /** Subtype of ScatterChart*/
710
876
  subtype?: never;
711
877
  markerSize?: ScatterMarkerSize;
712
878
  }
713
879
  /** Configuration options that define functional style of the various elements of TreemapChart */
714
- export interface TreemapStyleOptions extends BaseStyleOptions {
880
+ export interface TreemapStyleOptions extends Omit<BaseStyleOptions, 'seriesLabels'> {
715
881
  /** Labels options object */
716
882
  labels?: {
717
883
  /** Array with single label options objects (order of items relative to dataOptions.category) */
@@ -727,7 +893,7 @@ export interface TreemapStyleOptions extends BaseStyleOptions {
727
893
  };
728
894
  }
729
895
  /** Configuration options that define functional style of the various elements of the SunburstChart component */
730
- export interface SunburstStyleOptions extends BaseStyleOptions {
896
+ export interface SunburstStyleOptions extends Omit<BaseStyleOptions, 'seriesLabels'> {
731
897
  /** Labels options object */
732
898
  labels?: {
733
899
  /** Array with single label options objects (order of items relative to dataOptions.category) */
@@ -780,15 +946,132 @@ export interface ScattermapStyleOptions extends Pick<BaseStyleOptions, 'width' |
780
946
  markers?: ScattermapMarkers;
781
947
  }
782
948
  /**
783
- * Configuration options that define functional style of the various elements of CalendarHeatmapChart
784
- *
785
- * @alpha
949
+ * Configuration for day numbers (1-31) labels in calendar-heatmap cells
950
+ */
951
+ export type CalendarHeatmapCellLabels = {
952
+ /**
953
+ * Boolean flag that defines if calendar day numbers should be shown in cells
954
+ *
955
+ * @default true
956
+ */
957
+ enabled?: boolean;
958
+ /** Style configuration for calendar day numbers in cells */
959
+ textStyle?: Omit<TextStyle, 'color'> & {
960
+ /**
961
+ * Color of the labels text
962
+ *
963
+ * The "contrast" color applies the maximum contrast between the background and the text
964
+ */
965
+ color?: string | 'contrast';
966
+ };
967
+ /**
968
+ * Style configuration for calendar day numbers in cells
969
+ *
970
+ * @deprecated Please use `textStyle` instead
971
+ */
972
+ style?: Omit<TextStyle, 'color'> & {
973
+ /**
974
+ * Color of the labels text
975
+ *
976
+ * The "contrast" color applies the maximum contrast between the background and the text
977
+ */
978
+ color?: string | 'contrast';
979
+ };
980
+ };
981
+ /**
982
+ * Configuration options that define functional style of the various elements of calendar-heatmap chart
786
983
  */
787
984
  export interface CalendarHeatmapStyleOptions extends Pick<BaseStyleOptions, 'width' | 'height'> {
788
985
  /**
789
986
  * {@inheritDoc CalendarHeatmapViewType}
790
987
  */
791
988
  viewType?: CalendarHeatmapViewType;
989
+ /**
990
+ * Determines which day of the week to start the calendar with
991
+ * @default 'sunday'
992
+ */
993
+ startOfWeek?: CalendarDayOfWeek;
994
+ /**
995
+ * Configuration for day numbers (1-31) in calendar cells
996
+ */
997
+ cellLabels?: CalendarHeatmapCellLabels;
998
+ /**
999
+ * Configuration for weekday names in the header
1000
+ */
1001
+ dayLabels?: {
1002
+ /**
1003
+ * Boolean flag that defines if calendar weekday names should be shown
1004
+ *
1005
+ * @default true
1006
+ */
1007
+ enabled?: boolean;
1008
+ /** Style configuration for calendar weekday names */
1009
+ textStyle?: TextStyle;
1010
+ /**
1011
+ * Style configuration for calendar weekday names
1012
+ *
1013
+ * @deprecated Please use `textStyle` instead
1014
+ */
1015
+ style?: TextStyle;
1016
+ };
1017
+ /**
1018
+ * Configuration for month names in multi-month view types
1019
+ */
1020
+ monthLabels?: {
1021
+ /**
1022
+ * Boolean flag that defines if month names should be shown
1023
+ *
1024
+ * @default true
1025
+ */
1026
+ enabled?: boolean;
1027
+ /** Style configuration for month names */
1028
+ textStyle?: TextStyle;
1029
+ /**
1030
+ * Style configuration for month names
1031
+ * @deprecated Please use `textStyle` instead
1032
+ */
1033
+ style?: TextStyle;
1034
+ };
1035
+ /**
1036
+ * Configuration for weekend days
1037
+ */
1038
+ weekends?: {
1039
+ /**
1040
+ * Boolean flag that enables/disables weekend highlighting
1041
+ *
1042
+ * @default false
1043
+ */
1044
+ enabled?: boolean;
1045
+ /** Weekend days - defaults to ['saturday', 'sunday'] */
1046
+ days?: CalendarDayOfWeek[];
1047
+ /**
1048
+ * Calendar cell color for weekend days
1049
+ *
1050
+ * @default '#e6e6e6'
1051
+ */
1052
+ cellColor?: string;
1053
+ /**
1054
+ * Whether to hide values in tooltip for weekend days
1055
+ *
1056
+ * @default false
1057
+ */
1058
+ hideValues?: boolean;
1059
+ };
1060
+ /**
1061
+ * Configuration for pagination controls in multi-month view types
1062
+ */
1063
+ pagination?: {
1064
+ /**
1065
+ * Boolean flag that defines if pagination controls should be shown
1066
+ *
1067
+ * @default true
1068
+ */
1069
+ enabled?: boolean;
1070
+ /** Style configuration for pagination controls text */
1071
+ textStyle?: TextStyle;
1072
+ /** Start month to display when the chart is first rendered */
1073
+ startMonth?: Date;
1074
+ };
792
1075
  }
793
1076
  /**
794
1077
  * View type determines how many months to display: 'month' (1), 'quarter' (3), 'half-year' (6), 'year' (12)
@@ -1714,8 +1997,6 @@ export type IndicatorDataPoint = {
1714
1997
  };
1715
1998
  /**
1716
1999
  * Data point in a CalendarHeatmap chart.
1717
- *
1718
- * @alpha
1719
2000
  */
1720
2001
  export type CalendarHeatmapDataPoint = {
1721
2002
  /**
@@ -1857,6 +2138,9 @@ export type HighchartsPoint = {
1857
2138
  level?: number;
1858
2139
  levelsCount?: number;
1859
2140
  };
2141
+ date?: number;
2142
+ dateString?: string;
2143
+ value?: number;
1860
2144
  q1?: number;
1861
2145
  median?: number;
1862
2146
  q3?: number;
@@ -0,0 +1,11 @@
1
+ import { TFunction } from '@sisense/sdk-common';
2
+ import { DimensionalLevelAttribute } from '@sisense/sdk-data';
3
+ /**
4
+ * Creates a level attribute from a base level attribute and a granularity
5
+ *
6
+ * @param baseLevelAttribute - The base level attribute
7
+ * @param granularity - The granularity
8
+ * @param t - The translation function
9
+ * @returns The level attribute
10
+ */
11
+ export declare function createLevelAttribute(baseLevelAttribute: DimensionalLevelAttribute, granularity: string, t?: TFunction): DimensionalLevelAttribute;
@@ -1,6 +1,6 @@
1
- import { DashboardDto, FilterDto, CascadingFilterDto } from '../api/types/dashboard-dto.js';
2
- import { FiltersIgnoringRules, WidgetDto } from './types.js';
3
1
  import { IncludeAllFilterJaql } from '@sisense/sdk-data';
2
+ import { CascadingFilterDto, DashboardDto, FilterDto } from '../api/types/dashboard-dto.js';
3
+ import { FiltersIgnoringRules, WidgetDto } from './types.js';
4
4
  /**
5
5
  * Extracts and merges dashboard and widget filters. This consolidates all
6
6
  * filters applicable for a widget.
@@ -1,5 +1,5 @@
1
1
  import { DataColorOptions } from '../chart-data/data-coloring/index.js';
2
- import { ValueToColorMap, MultiColumnValueToColorMap, Color } from '../types.js';
2
+ import { Color, MultiColumnValueToColorMap, ValueToColorMap } from '../types.js';
3
3
  import { PanelColorFormat, PanelItem, PanelMembersFormat } from './types.js';
4
4
  export declare const createValueColorOptions: (format?: PanelColorFormat, customPaletteColors?: Color[]) => DataColorOptions | undefined;
5
5
  export declare const createValueToColorMap: (membersFormat: PanelMembersFormat) => ValueToColorMap;
@@ -1,7 +1,7 @@
1
1
  import { JaqlDataSource } from '@sisense/sdk-data';
2
- import { StyledMeasureColumn, StyledColumn, Color } from '../types.js';
3
- import { Panel, PanelItem, FusionWidgetType, WidgetStyle, BoxplotWidgetStyle } from './types.js';
4
2
  import { WidgetDataOptions } from '../models/index.js';
3
+ import { Color, StyledColumn, StyledMeasureColumn } from '../types.js';
4
+ import { BoxplotWidgetStyle, FusionWidgetType, Panel, PanelItem, WidgetStyle } from './types.js';
5
5
  export declare function createDataColumn(item: PanelItem, customPaletteColors?: Color[]): StyledColumn | StyledMeasureColumn;
6
6
  /** @internal */
7
7
  export declare function createPanelItem(column: StyledColumn | StyledMeasureColumn): PanelItem;
@@ -1,3 +1,3 @@
1
- import { Panel, PanelItem, FusionWidgetType } from './types.js';
2
1
  import { DrilldownOptions } from '../types.js';
2
+ import { FusionWidgetType, Panel, PanelItem } from './types.js';
3
3
  export declare const extractDrilldownOptions: (widgetType: FusionWidgetType, panels: Panel[], drillHistory?: PanelItem[], enableDrillToAnywhere?: boolean) => DrilldownOptions;
@@ -1,8 +1,17 @@
1
- import { ChartStyleOptions, TableStyleOptions, NumericBarIndicatorStyleOptions, NumericSimpleIndicatorStyleOptions, GaugeIndicatorStyleOptions, PivotTableStyleOptions, SpaceSizes, RadiusSizes, ShadowsTypes, AlignmentTypes, WidgetStyleOptions, TextWidgetStyleOptions } from '../types';
2
- import { WidgetSubtype, FusionWidgetType, TableWidgetStyle, IndicatorWidgetStyle, PivotWidgetStyle, WidgetDesign, WidgetDto } from './types';
1
+ import { AlignmentTypes, ChartStyleOptions, GaugeIndicatorStyleOptions, NumericBarIndicatorStyleOptions, NumericSimpleIndicatorStyleOptions, PivotTableStyleOptions, RadiusSizes, ShadowsTypes, SpaceSizes, TableStyleOptions, TextWidgetStyleOptions, WidgetStyleOptions } from '../types';
2
+ import { FusionWidgetType, IndicatorWidgetStyle, PivotWidgetStyle, TableWidgetStyle, WidgetDesign, WidgetDto, WidgetSubtype } from './types';
3
+ /**
4
+ * Helper function to extract table chart style options from WidgetDto
5
+ */
3
6
  export declare function extractTableChartStyleOptions(widgetStyle: TableWidgetStyle): TableStyleOptions;
4
7
  export declare const getIndicatorTypeSpecificOptions: (widgetSubtype: WidgetSubtype, widgetStyle: IndicatorWidgetStyle) => NumericSimpleIndicatorStyleOptions | NumericBarIndicatorStyleOptions | GaugeIndicatorStyleOptions;
8
+ /**
9
+ * Helper function to extract pivot table chart style options from WidgetDto
10
+ */
5
11
  export declare function extractPivotTableStyleOptions(widgetStyle: PivotWidgetStyle): PivotTableStyleOptions;
12
+ /**
13
+ * Helper function to extract style options from WidgetDto
14
+ */
6
15
  export declare function extractStyleOptions<WType extends FusionWidgetType>(widgetType: WType, widget: WidgetDto): ChartStyleOptions | TableStyleOptions | TextWidgetStyleOptions;
7
16
  export declare const getFlattenWidgetDesign: (widgetDesign: WidgetDesign) => {
8
17
  backgroundColor: string;