@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,7 +1,7 @@
1
1
  import { FunctionComponent } from 'react';
2
- import { FilterOptionType, CriteriaFilterValueType } from './criteria-filter-operations';
3
2
  import { Measure } from '@sisense/sdk-data';
4
3
  import { FilterVariant } from '../common/filter-utils';
4
+ import { CriteriaFilterValueType, FilterOptionType } from './criteria-filter-operations';
5
5
  /**
6
6
  * Props for {@link CriteriaFilterMenu}
7
7
  *
@@ -1,5 +1,5 @@
1
- import { Filter, Measure } from '@sisense/sdk-data';
2
1
  import { TFunction } from '@sisense/sdk-common';
2
+ import { Filter, Measure } from '@sisense/sdk-data';
3
3
  /**
4
4
  * Collection of filter options for the {@link CriteriaFilterMenu},
5
5
  * to be provided to subcomponents as the `filterType` prop.
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { FilterTileDesignOptions } from '../filter-tile-container.js';
3
2
  import { Filter, Measure } from '@sisense/sdk-data';
4
3
  import { FilterVariant } from '../common/filter-utils.js';
4
+ import { FilterTileDesignOptions } from '../filter-tile-container.js';
5
5
  /**
6
6
  * Props of the {@link CriteriaFilterTile} component.
7
7
  */
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { LevelAttribute, DataSource, Filter } from '@sisense/sdk-data';
2
+ import { DataSource, Filter, LevelAttribute } from '@sisense/sdk-data';
3
3
  import { FilterTileDesignOptions } from '../../filter-tile-container';
4
4
  /**
5
5
  * Props of the {@link DateRangeFilterTile} component.
@@ -1,5 +1,5 @@
1
- import { RelativeDateFilter } from '@sisense/sdk-data';
2
1
  import { FunctionComponent } from 'react';
2
+ import { RelativeDateFilter } from '@sisense/sdk-data';
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,6 +1,6 @@
1
+ import { FunctionComponent } from 'react';
1
2
  import { RelativeDateFilter as RelativeDateFilterType } from '@sisense/sdk-data';
2
3
  import { FilterVariant } from '../../common/index.js';
3
- import { FunctionComponent } from 'react';
4
4
  /**
5
5
  * @internal
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { Focusable } from './types';
3
2
  import { Themable } from '../../../../../theme-provider/types';
3
+ import { Focusable } from './types';
4
4
  export declare const SelectField: import("@emotion/styled").StyledComponent<{
5
5
  theme?: import("@emotion/react").Theme | undefined;
6
6
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
@@ -1,5 +1,5 @@
1
+ import { SelectorMode } from '../../../../../../filters/components/date-filter/date-filter/calendar-date-selector';
1
2
  import { DatetimeFormatter } from '../../../hooks/use-datetime-formatter';
2
3
  import { CalendarSelectTypes } from './types';
3
- import { SelectorMode } from '../../../../../../filters/components/date-filter/date-filter/calendar-date-selector';
4
4
  export declare function getCalendarSelectedItemsDisplayValue(values: Date[], formatter: DatetimeFormatter): string | undefined;
5
5
  export declare function getCalendarDateSelectorMode(type: CalendarSelectTypes): SelectorMode;
@@ -1,5 +1,5 @@
1
- import { SelectItem } from './types';
2
1
  import { CSSProperties } from 'react';
2
+ import { SelectItem } from './types';
3
3
  type MultiSelectItemProps<Value> = SelectItem<Value> & {
4
4
  selected: boolean;
5
5
  onSelect?: (value: Value) => void;
@@ -1,5 +1,5 @@
1
- import { SelectItem } from './types';
2
1
  import { ScrollWrapperOnScrollEvent } from '../../../../../filters/components/filter-editor-popover/common/scroll-wrapper';
2
+ import { SelectItem } from './types';
3
3
  type SearchableMultiSelectProps<Value> = {
4
4
  values?: Value[];
5
5
  items: SelectItem<Value>[];
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { SelectItem } from './types';
3
2
  import { ScrollWrapperOnScrollEvent } from '../../../../../filters/components/filter-editor-popover/common/scroll-wrapper';
4
3
  import { Themable } from '../../../../../theme-provider/types';
4
+ import { SelectItem } from './types';
5
5
  type SearchableSingleSelectProps<Value> = {
6
6
  value?: Value;
7
7
  items: SelectItem<Value>[];
@@ -1,5 +1,5 @@
1
- import { SelectItem } from './types';
2
1
  import { CSSProperties } from 'react';
2
+ import { SelectItem } from './types';
3
3
  type SingleSelectItemProps<Value> = SelectItem<Value> & {
4
4
  selected: boolean;
5
5
  onSelect?: (value: Value) => void;
@@ -1,6 +1,6 @@
1
1
  import { TFunction } from '@sisense/sdk-common';
2
2
  import { Filter } from '@sisense/sdk-data';
3
- import { NumericConditionType, NumericConditionFilterData } from './types.js';
3
+ import { NumericConditionFilterData, NumericConditionType } from './types.js';
4
4
  export declare function validateInputValue(value: string, t: TFunction): string | undefined;
5
5
  export declare function getNumericFilterCondition(filter: Filter, initialCondition: NumericConditionType): NumericConditionType;
6
6
  export declare function getNumericFilterValue(filter: Filter): string;
@@ -1,5 +1,4 @@
1
- import { TFunction } from '@sisense/sdk-common';
2
- import { Filter, MembersFilter, DimensionalLevelAttribute, RelativeDateFilter } from '@sisense/sdk-data';
1
+ import { Filter, MembersFilter, RelativeDateFilter } from '@sisense/sdk-data';
3
2
  export declare function isSupportedByFilterEditor(filter: Filter): boolean;
4
3
  export declare function isIncludeAllFilter(filter: Filter): filter is MembersFilter;
5
4
  export declare function isIncludeMembersFilter(filter: Filter): filter is MembersFilter;
@@ -8,7 +7,6 @@ export declare function isConditionalFilter(filter: Filter): boolean;
8
7
  export declare function isNumericBetweenFilter(filter: Filter): boolean;
9
8
  export declare function isRelativeDateFilterWithAnchor(filter: Filter): filter is RelativeDateFilter;
10
9
  export declare function isRelativeDateFilterWithoutAnchor(filter: Filter): filter is RelativeDateFilter;
11
- export declare function createLevelAttribute(baseLevelAttribute: DimensionalLevelAttribute, granularity: string, t: TFunction): DimensionalLevelAttribute;
12
10
  /**
13
11
  * Formats a given Date object into a string in the format "YYYY-MM-DDT00:00:00".
14
12
  *
@@ -1,6 +1,6 @@
1
1
  import type { FunctionComponent, ReactNode } from 'react';
2
- import { FilterVariant } from './common/filter-utils';
3
2
  import { DeepRequired } from 'ts-essentials';
3
+ import { FilterVariant } from './common/filter-utils';
4
4
  declare const BaseContainer: import("@emotion/styled").StyledComponent<{
5
5
  theme?: import("@emotion/react").Theme | undefined;
6
6
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
@@ -1,5 +1,5 @@
1
- import { FilterRelationsRules } from '../../../../utils/filter-relations';
2
1
  import { Filter } from '@sisense/sdk-data';
2
+ import { FilterRelationsRules } from '../../../../utils/filter-relations';
3
3
  /**
4
4
  * Filter relations tile component.
5
5
  */
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { FilterRelationsRules } from '../../../../utils/filter-relations';
3
2
  import { Filter } from '@sisense/sdk-data';
3
+ import { FilterRelationsRules } from '../../../../utils/filter-relations';
4
4
  export declare function FilterRelationsTooltip({ relations, filters, children, }: {
5
5
  relations: FilterRelationsRules;
6
6
  filters: Filter[];
@@ -1,6 +1,6 @@
1
- import { FilterRelationsDescription } from '../../../../utils/filter-relations';
2
- import { TFunction } from '@sisense/sdk-common';
3
1
  import { ReactNode } from 'react';
2
+ import { TFunction } from '@sisense/sdk-common';
3
+ import { FilterRelationsDescription } from '../../../../utils/filter-relations';
4
4
  export declare function generateTooltipLines(filterRelationsDescription: FilterRelationsDescription, t: TFunction): ReactNode[];
5
5
  /**
6
6
  * Recursively removes unnecessary "outermost" parentheses from the filter relations description.
@@ -1,4 +1,4 @@
1
- import { Filter, DataSource } from '@sisense/sdk-data';
1
+ import { DataSource, Filter } from '@sisense/sdk-data';
2
2
  import type { UseExistingFilterEditingConfig } from '../types';
3
3
  type UseExistingFilterEditingParams = {
4
4
  onFilterChanged: (filter: Filter) => void;
@@ -1,6 +1,6 @@
1
1
  import { DataSource, Filter } from '@sisense/sdk-data';
2
- import { UseNewFilterCreationConfig } from '../types';
3
2
  import { AttributiveElement } from '../../../../data-browser/dimensions-browser/types';
3
+ import { UseNewFilterCreationConfig } from '../types';
4
4
  type UseNewFilterCreationParams = {
5
5
  defaultDataSource?: DataSource;
6
6
  dataSources: DataSource[];
@@ -1,5 +1,5 @@
1
- import { Themable } from '../../../theme-provider/types';
2
1
  import type { SVGProps } from 'react';
2
+ import { Themable } from '../../../theme-provider/types';
3
3
  export declare const ArrowIcon: (props: Pick<SVGProps<SVGElement>, 'className' | 'width' | 'height' | 'fill' | 'onClick'> & {
4
4
  direction: 'left' | 'right';
5
5
  disabled?: boolean;
@@ -1,5 +1,5 @@
1
- import { Themable } from '../../../theme-provider/types';
2
1
  import type { SVGProps } from 'react';
2
+ import { Themable } from '../../../theme-provider/types';
3
3
  export declare const DoubleArrowIcon: (props: Pick<SVGProps<SVGElement>, 'className' | 'width' | 'height' | 'fill' | 'onClick'> & {
4
4
  direction: 'left' | 'right';
5
5
  disabled?: boolean;
@@ -1,5 +1,5 @@
1
- import { Attribute, DataSource, Filter } from '@sisense/sdk-data';
2
1
  import { FunctionComponent } from 'react';
2
+ import { Attribute, DataSource, Filter } from '@sisense/sdk-data';
3
3
  import { FilterTileDesignOptions } from '../filter-tile-container';
4
4
  /**
5
5
  * Props of the {@link MemberFilterTile} component.
@@ -1,5 +1,5 @@
1
- import { FilterTileDesignOptions } from '../../filters/components/filter-tile-container';
2
1
  import { Filter } from '@sisense/sdk-data';
2
+ import { FilterTileDesignOptions } from '../../filters/components/filter-tile-container';
3
3
  export type UnsupportedFilterTileProps = {
4
4
  filter: Filter;
5
5
  design?: FilterTileDesignOptions;
@@ -1,6 +1,6 @@
1
1
  import { DataSource, Filter } from '@sisense/sdk-data';
2
- import { Member, SelectedMember } from '../components/member-filter-tile';
3
2
  import { HookEnableParam } from '../../common/hooks/types';
3
+ import { Member, SelectedMember } from '../components/member-filter-tile';
4
4
  /**
5
5
  * Params for {@link useGetFilterMembers}
6
6
  */
@@ -19,6 +19,19 @@ export interface GetFilterMembersParams extends HookEnableParam {
19
19
  * @internal
20
20
  */
21
21
  count?: number;
22
+ /**
23
+ * Whether to allow original filter members to be included in the result even if they are not present in the loaded data
24
+ *
25
+ * When enabled, filter members that are not found in the queried results will still be included
26
+ * in the `selectedMembers` and `allMembers` arrays.
27
+ *
28
+ * Example case: there's no value for a specific date, but user still have to be able to select it in the filter
29
+ *
30
+ * If not specified, the default value is `false`
31
+ *
32
+ * @internal
33
+ */
34
+ allowMissingMembers?: boolean;
22
35
  }
23
36
  /**
24
37
  * Result data of retrieving filter members.
@@ -107,7 +120,7 @@ export type GetFilterMembersResult = FilterMembersState & {
107
120
  * @param params - Parameters of the query
108
121
  * @internal
109
122
  */
110
- export declare const useGetFilterMembersInternal: ({ filter, defaultDataSource, parentFilters, count, enabled, }: GetFilterMembersParams) => GetFilterMembersResult;
123
+ export declare const useGetFilterMembersInternal: ({ filter, defaultDataSource, parentFilters, count, enabled, allowMissingMembers, }: GetFilterMembersParams) => GetFilterMembersResult;
111
124
  /**
112
125
  * Hook that fetches members of the provided filter
113
126
  *
@@ -1,5 +1,5 @@
1
- import { ClientApplication } from '../app/client-application.js';
2
1
  import { DataSource, DimensionalCalculatedMeasure } from '@sisense/sdk-data';
2
+ import { ClientApplication } from '../app/client-application.js';
3
3
  /**
4
4
  * Fetch a formula by oid from the default Sisense instance
5
5
  *
@@ -1,7 +1,7 @@
1
1
  import { CalculatedMeasure } from '@sisense/sdk-data';
2
- import { UseGetSharedFormulaParams } from '../props.js';
3
- import { HookEnableParam } from '../common/hooks/types.js';
4
2
  import { DataState } from '../common/hooks/data-load-state-reducer.js';
3
+ import { HookEnableParam } from '../common/hooks/types.js';
4
+ import { UseGetSharedFormulaParams } from '../props.js';
5
5
  /**
6
6
  * Parameters for {@link useGetSharedFormula} hook.
7
7
  */
@@ -46,7 +46,7 @@ export { useCustomWidgets } from './custom-widgets-provider';
46
46
  export { extractDimensionsAndMeasures, useExecuteCustomWidgetQuery, useExecuteCustomWidgetQueryInternal, type ExecuteCustomWidgetQueryParams, type CustomWidgetQueryState, } from './custom-widgets-provider';
47
47
  export { getThemeSettingsByOid } from './themes/theme-loader';
48
48
  export { getDefaultThemeSettings } from './theme-provider/default-theme-settings';
49
- export { useGetDashboardModel, useGetDashboardModels, useDashboardModel, useDashboardPersistence, getDashboardModel, getDashboardModels, useGetWidgetModel, getWidgetModel, translateToDashboardResponse, translateToDashboardsResponse, useGetHierarchyModels, getHierarchyModels, translateFiltersAndRelationsToDto, type DashboardModel, type GetDashboardModelParams, type GetDashboardModelsParams, type DashboardModelState, type DashboardModelLoadingState, type DashboardModelSuccessState, type DashboardModelErrorState, type DashboardModelsState, type DashboardModelsLoadingState, type DashboardModelsSuccessState, type DashboardModelsErrorState, type WidgetModel, type WidgetDataOptions, type WidgetModelState, type WidgetModelLoadingState, type WidgetModelErrorState, type WidgetModelSuccessState, type GetWidgetModelParams, type GetDashboardModelOptions, type GetDashboardModelsOptions, type WidgetsPanelColumnLayout, type WidgetsPanelLayout, type WidgetsPanelColumn, type WidgetsPanelRow, type WidgetsPanelCell, type WidgetId, type WidgetsOptions, type CommonFiltersOptions, type CommonFiltersApplyMode, type FiltersIgnoringRules, type HierarchyModel, type Hierarchy, type HierarchyId, type GetHierarchyModelsParams, type HierarchyModelsState, type HierarchyModelsLoadingState, type HierarchyModelsErrorState, type HierarchyModelsSuccessState, UseDashboardModelActionType, } from './models';
49
+ export { useGetDashboardModel, useGetDashboardModels, useDashboardModel, useDashboardPersistence, getDashboardModel, getDashboardModels, useGetWidgetModel, getWidgetModel, translateToDashboardResponse, translateToDashboardsResponse, useGetHierarchyModels, getHierarchyModels, translateFiltersAndRelationsToDto, type DashboardModel, type GetDashboardModelParams, type GetDashboardModelsParams, type DashboardModelState, type DashboardModelLoadingState, type DashboardModelSuccessState, type DashboardModelErrorState, type DashboardModelsState, type DashboardModelsLoadingState, type DashboardModelsSuccessState, type DashboardModelsErrorState, type WidgetModel, type WidgetDataOptions, type WidgetModelState, type WidgetModelLoadingState, type WidgetModelErrorState, type WidgetModelSuccessState, type GetWidgetModelParams, type GetDashboardModelOptions, type GetDashboardModelsOptions, type WidgetsPanelColumnLayout, type WidgetsPanelLayout, type WidgetsPanelColumn, type WidgetsPanelRow, type WidgetsPanelCell, type WidgetId, type DashboardId, type WidgetsOptions, type CommonFiltersOptions, type CommonFiltersApplyMode, type FiltersIgnoringRules, type HierarchyModel, type Hierarchy, type HierarchyId, type GetHierarchyModelsParams, type HierarchyModelsState, type HierarchyModelsLoadingState, type HierarchyModelsErrorState, type HierarchyModelsSuccessState, UseDashboardModelActionType, } from './models';
50
50
  /**
51
51
  * Utility functions to translate a Fusion widget model from and to other widget data structures
52
52
  *
@@ -70,6 +70,13 @@ export * as dashboardModelTranslator from './models/dashboard/dashboard-model-tr
70
70
  * @shortDescription Utility functions to manipulate dashboard elements
71
71
  */
72
72
  export * as dashboardHelpers from './dashboard/dashboard-helpers';
73
+ /**
74
+ * Jump To Dashboard (JTD) configuration types
75
+ *
76
+ * @group Dashboards
77
+ * @shortDescription Configuration types for Jump To Dashboard functionality
78
+ */
79
+ export type { JumpToDashboardConfig } from './dashboard/hooks/jtd';
73
80
  export type { AutoZoomNavigatorScrollerLocation } from './widget-by-id/types';
74
81
  export { boxWhiskerProcessResult } from './boxplot-utils';
75
82
  export { queryStateReducer } from './query-execution/query-state-reducer';
@@ -90,6 +97,7 @@ export { LoadingIndicator } from './common/components/loading-indicator';
90
97
  export { LoadingOverlay } from './common/components/loading-overlay';
91
98
  export { useFetch, type RequestConfig, type UseQueryResult } from './common/hooks/use-fetch';
92
99
  export { useGetDataSourceFields } from './common/hooks/fusion-endpoints/use-get-data-source-fields';
100
+ export { useJtdWidget } from './dashboard/hooks/use-jtd-widget';
93
101
  export type { EmptyObject } from './utils/utility-types';
94
102
  export { translateColumnToAttribute } from './chart-data-options/utils';
95
103
  export { isSameAttribute } from './utils/filters';
@@ -1,9 +1,9 @@
1
- import { IndicatorChartDataOptionsInternal } from './chart-data-options/types';
2
1
  import { type FunctionComponent } from 'react';
2
+ import { IndicatorChartDataOptionsInternal } from './chart-data-options/types';
3
3
  import { IndicatorChartData } from './chart-data/types';
4
4
  import { IndicatorChartDesignOptions } from './chart-options-processor/translations/design-options';
5
- import { createIndicatorLegacyChartOptions } from './charts/indicator/indicator-legacy-chart-options';
6
5
  import { ChartRendererProps } from './chart/types';
6
+ import { createIndicatorLegacyChartOptions } from './charts/indicator/indicator-legacy-chart-options';
7
7
  import { IndicatorRenderOptions } from './charts/indicator/indicator-render-options';
8
8
  import { IndicatorDataPointEventHandler } from './props';
9
9
  export type IndicatorLegacyChartOptions = ReturnType<typeof createIndicatorLegacyChartOptions>;
@@ -1,8 +1,8 @@
1
- import { DashboardProps } from '../../dashboard';
2
- import { DashboardModel } from './dashboard-model.js';
3
1
  import { DashboardDto } from '../../api/types/dashboard-dto.js';
4
- import { CompleteThemeSettings } from '../../types.js';
5
2
  import { AppSettings } from '../../app/settings/settings.js';
3
+ import { DashboardProps } from '../../dashboard';
4
+ import { CompleteThemeSettings } from '../../types.js';
5
+ import { DashboardModel } from './dashboard-model.js';
6
6
  /**
7
7
  * Translates {@link DashboardModel} to {@link DashboardProps}.
8
8
  *
@@ -1,8 +1,8 @@
1
- import { DataSource, Filter, FilterRelations } from '@sisense/sdk-data';
1
+ import { AnyObject, DataSource, Filter, FilterRelations } from '@sisense/sdk-data';
2
+ import { DashboardSettings } from '../../api/types/dashboard-dto';
3
+ import { DashboardLayoutOptions } from '../../dashboard';
2
4
  import { DashboardStyleOptions, TabbersOptions, WidgetModel } from '../../models';
3
5
  import { type WidgetsOptions } from './types';
4
- import { DashboardLayoutOptions } from '../../dashboard';
5
- import { DashboardSettings } from '../../api/types/dashboard-dto';
6
6
  /**
7
7
  * Model of Sisense Fusion dashboard defined in the abstractions of Compose SDK.
8
8
  *
@@ -62,4 +62,10 @@ export interface DashboardModel {
62
62
  * @internal
63
63
  */
64
64
  settings?: DashboardSettings;
65
+ /**
66
+ * Dashboard user authorization.
67
+ *
68
+ * @internal
69
+ */
70
+ userAuth?: AnyObject;
65
71
  }
@@ -1,7 +1,7 @@
1
1
  import { HttpClient } from '@sisense/sdk-rest-client';
2
+ import { AppSettings } from '../../app/settings/settings';
2
3
  import { DashboardModel } from '../../models/dashboard';
3
4
  import { CompleteThemeSettings } from '../../types';
4
- import { AppSettings } from '../../app/settings/settings';
5
5
  export interface GetDashboardModelOptions {
6
6
  /**
7
7
  * Boolean flag whether to include widgets in the dashboard model
@@ -22,6 +22,14 @@ export interface GetDashboardModelOptions {
22
22
  * @internal
23
23
  */
24
24
  sharedMode?: boolean;
25
+ /**
26
+ * Whether to use the legacy API version for the dashboard model
27
+ * For example, when 'expand' query parameter is needed to retrieve userAuth
28
+ *
29
+ * @default false
30
+ * @internal
31
+ */
32
+ useLegacyApiVersion?: boolean;
25
33
  }
26
34
  /**
27
35
  * Retrieves a dashboard model by its OID.
@@ -1,11 +1,23 @@
1
- import { type LayoutDto, type FilterDto, type CascadingFilterDto, DashboardDto } from '../../api/types/dashboard-dto';
2
- import type { WidgetsPanelColumnLayout, WidgetsOptions, TabbersOptions } from './types';
3
- import { Filter, FilterRelations, FilterRelationsModel, FilterRelationsModelNode } from '@sisense/sdk-data';
4
- import { WidgetDto } from '../../widget-by-id/types';
1
+ import { Dimension, Filter, FilterRelations, FilterRelationsModel, FilterRelationsModelNode, Measure } from '@sisense/sdk-data';
5
2
  import { RestApi } from '../../api/rest-api';
3
+ import { JtdTarget, TriggerMethod } from '../../dashboard/hooks/jtd/jtd-types';
4
+ import { Panel, WidgetDto } from '../../widget-by-id/types';
5
+ import { type CascadingFilterDto, DashboardDto, type FilterDto, type LayoutDto } from '../../api/types/dashboard-dto';
6
+ import type { TabbersOptions, WidgetsOptions, WidgetsPanelColumnLayout } from './types';
6
7
  export declare const translateLayout: (layout: LayoutDto) => WidgetsPanelColumnLayout;
7
8
  export declare function extractDashboardFilters(dashboardFilters: Array<FilterDto | CascadingFilterDto>, filterRelationsModel?: FilterRelationsModel | FilterRelationsModelNode): Filter[] | FilterRelations;
9
+ export declare const getJtdNavigateType: (widget: WidgetDto) => TriggerMethod;
8
10
  export declare const convertDimensionsToDimIndexes: (widget: WidgetDto, dimensionIds: string[]) => string[];
11
+ /**
12
+ * Extract pivot targets configuration from widget DTO and build Map-based targets
13
+ * @param widget - Widget DTO with drillToDashboardConfig
14
+ * @returns Map of dimensions/measures to their targets or undefined if no targets found
15
+ * @internal
16
+ */
17
+ export declare function extractPivotTargetsConfigFromWidgetDto(widget: WidgetDto): Map<Dimension | {
18
+ dimension: Dimension;
19
+ location: 'row' | 'column' | 'value';
20
+ } | Measure, JtdTarget[]> | undefined;
9
21
  export declare function translateWidgetsOptions(widgets?: WidgetDto[]): WidgetsOptions;
10
22
  export declare function translateTabbersOptions(widgets?: WidgetDto[]): TabbersOptions;
11
23
  /**
@@ -17,3 +29,14 @@ export declare function translateTabbersOptions(widgets?: WidgetDto[]): TabbersO
17
29
  * @internal
18
30
  */
19
31
  export declare function withSharedFormulas(dashboard: DashboardDto, api: RestApi): Promise<DashboardDto>;
32
+ /**
33
+ * Find dimension or measure by instanceId in widget panels and convert to proper type
34
+ * @param panels - Widget metadata panels to search
35
+ * @param pivotDimension - Instance ID to find, this is not a PivotDimId, it is the instanceId of the dimension or measure
36
+ * @returns Dimension/Measure object with optional location info or undefined if not found
37
+ * @internal
38
+ */
39
+ export declare function findDimensionByInstanceId(panels: Panel[], pivotDimension: string): Dimension | Measure | {
40
+ dimension: Dimension;
41
+ location: 'row' | 'column' | 'value';
42
+ } | undefined;
@@ -1,11 +1,16 @@
1
1
  import { CommonFiltersOptions } from '../../common-filters/types';
2
+ import type { JumpToDashboardConfig, JumpToDashboardConfigForPivot } from '../../dashboard/hooks/jtd/jtd-types';
2
3
  import { ColorPaletteTheme, TabberConfig } from '../../types';
3
- import { JtdConfig } from '../../widget-by-id/types';
4
4
  export type { CommonFiltersOptions, CommonFiltersApplyMode, FiltersIgnoringRules, } from '../../common-filters/types';
5
5
  /**
6
6
  * Part of Dashboard layout, which describes how widgets are arranged in a cell
7
7
  */
8
8
  export interface WidgetsPanelCell {
9
+ /**
10
+ * Flag that indicates if the cell is hidden
11
+ * @internal
12
+ */
13
+ hidden?: boolean;
9
14
  widthPercentage: number;
10
15
  /**
11
16
  * @privateRemarks
@@ -59,6 +64,11 @@ export type WidgetsPanelLayout = WidgetsPanelColumnLayout;
59
64
  * Widget ID
60
65
  */
61
66
  export type WidgetId = string;
67
+ /**
68
+ * Dashboard ID
69
+ * @internal
70
+ */
71
+ export type DashboardId = string;
62
72
  /**
63
73
  * Options for widgets in a dashboard
64
74
  *
@@ -67,10 +77,9 @@ export type WidgetId = string;
67
77
  export type WidgetsOptions = Record<WidgetId, {
68
78
  filtersOptions?: CommonFiltersOptions;
69
79
  /**
70
- * Jump to dashboard config for widgets
71
- @internal
80
+ * Jump To Dashboard config for widgets.
72
81
  */
73
- jtdConfig?: JtdConfig;
82
+ jtdConfig?: JumpToDashboardConfig | JumpToDashboardConfigForPivot;
74
83
  }>;
75
84
  /**
76
85
  * Options for TabberWidets in a dashboard
@@ -1,6 +1,6 @@
1
- import { UseDashboardModelAction } from '../../../models';
2
- import { DashboardChangeAction } from '../../../dashboard/dashboard';
3
1
  import { Authenticator } from '@sisense/sdk-rest-client';
2
+ import { DashboardChangeAction } from '../../../dashboard/dashboard';
3
+ import { UseDashboardModelAction } from '../../../models';
4
4
  /**
5
5
  * Convert a dashboard change action to a use dashboard model action.
6
6
  *
@@ -1,6 +1,6 @@
1
- import { DashboardModel, WidgetModel, WidgetsPanelLayout } from '../../../models';
2
1
  import { Filter, FilterRelations } from '@sisense/sdk-data';
3
2
  import { RestApi } from '../../../api/rest-api';
3
+ import { DashboardModel, WidgetModel, WidgetsPanelLayout } from '../../../models';
4
4
  export type UseDashboardModelState = DashboardModel | null;
5
5
  /**
6
6
  * Internal action types for the dashboard model state used in {@link useDashboardModel}.
@@ -1,5 +1,5 @@
1
- import { UseDashboardModelAction } from './use-dashboard-model-reducer';
2
1
  import { DashboardModel } from '../../../models';
2
+ import { UseDashboardModelAction } from './use-dashboard-model-reducer';
3
3
  export interface UseDashboardPersistenceParams {
4
4
  /**
5
5
  * The dashboard model to manage persistence for
@@ -1,7 +1,7 @@
1
1
  import { DataState } from '../../common/hooks/data-load-state-reducer';
2
+ import { HookEnableParam } from '../../common/hooks/types';
2
3
  import { DashboardModel } from './dashboard-model';
3
4
  import { GetDashboardModelOptions } from './get-dashboard-model';
4
- import { HookEnableParam } from '../../common/hooks/types';
5
5
  /**
6
6
  * Parameters for {@link useGetDashboardModel} hook.
7
7
  */
@@ -1,7 +1,7 @@
1
+ import { DashboardModel } from '../../models';
1
2
  import { DataState } from '../../common/hooks/data-load-state-reducer.js';
2
3
  import { HookEnableParam } from '../../common/hooks/types.js';
3
4
  import { GetDashboardModelsOptions } from './get-dashboard-models.js';
4
- import { DashboardModel } from '../../models';
5
5
  /**
6
6
  * Parameters for {@link useGetDashboardModels} hook.
7
7
  */
@@ -1,6 +1,6 @@
1
+ import { DataSource } from '@sisense/sdk-data';
1
2
  import { HttpClient } from '@sisense/sdk-rest-client';
2
3
  import { HierarchyModel } from '../../models';
3
- import { DataSource } from '@sisense/sdk-data';
4
4
  import { GetHierarchiesOptions } from './types.js';
5
5
  /**
6
6
  * Options for retrieving hierarchy models.
@@ -1,5 +1,5 @@
1
- import { HookEnableParam } from '../../common/hooks/types.js';
2
1
  import { HierarchyModel } from '../../models/hierarchy/hierarchy-model';
2
+ import { HookEnableParam } from '../../common/hooks/types.js';
3
3
  import { GetHierarchyModelsOptions } from './get-hierarchy-models.js';
4
4
  /**
5
5
  * Parameters for {@link useGetHierarchyModels} hook.
@@ -1,7 +1,7 @@
1
1
  import { HttpClient } from '@sisense/sdk-rest-client';
2
- import { WidgetModel } from './widget-model';
3
- import { CompleteThemeSettings } from '../../types';
4
2
  import { AppSettings } from '../../app/settings/settings';
3
+ import { CompleteThemeSettings } from '../../types';
4
+ import { WidgetModel } from './widget-model';
5
5
  /**
6
6
  * Retrieves a widget model by its OID.
7
7
  *
@@ -1,10 +1,10 @@
1
- import { ExecutePivotQueryParams, ExecuteQueryParams } from '../../query-execution';
2
- import { WidgetModel } from './widget-model.js';
3
- import { ChartProps, ChartWidgetProps, WidgetProps, PivotTableProps, PivotTableWidgetProps, CustomWidgetProps, TableProps, TableWidgetProps, TextWidgetProps, CommonWidgetProps } from '../../props';
4
1
  import { JaqlDataSourceForDto } from '@sisense/sdk-data';
2
+ import { AppSettings } from '../../app/settings/settings.js';
3
+ import { ChartProps, ChartWidgetProps, CommonWidgetProps, CustomWidgetProps, PivotTableProps, PivotTableWidgetProps, TableProps, TableWidgetProps, TextWidgetProps, WidgetProps } from '../../props';
4
+ import { ExecutePivotQueryParams, ExecuteQueryParams } from '../../query-execution';
5
5
  import { CompleteThemeSettings } from '../../types.js';
6
6
  import { WidgetDto } from '../../widget-by-id/types.js';
7
- import { AppSettings } from '../../app/settings/settings.js';
7
+ import { WidgetModel } from './widget-model.js';
8
8
  /**
9
9
  * Translates a {@link WidgetModel} to the parameters for executing a query for the widget.
10
10
  *
@@ -1,8 +1,8 @@
1
1
  import { DataSource, Filter } from '@sisense/sdk-data';
2
+ import { EmptyObject } from '@sisense/sdk-query-client/src/helpers/utility-types';
2
3
  import { ChartDataOptions, PivotTableDataOptions } from '../../chart-data-options/types';
3
4
  import type { WidgetType } from '../../props';
4
5
  import { ChartType, DrilldownOptions, WidgetStyleOptions } from '../../types';
5
- import { EmptyObject } from '@sisense/sdk-query-client/src/helpers/utility-types';
6
6
  /**
7
7
  * Widget data options.
8
8
  */
@@ -1,2 +1,2 @@
1
1
  import { ChartType, TableType } from '../../types';
2
- export declare function getNoResultOverlayImage(type: ChartType | TableType): any;
2
+ export declare function getNoResultOverlayImage(type: ChartType | TableType): string;
@@ -1,4 +1,4 @@
1
- import type { PivotTableDataOptions } from '../../../chart-data-options/types';
2
1
  import { JaqlPanel, PivotDataNode, PivotTreeNode } from '@sisense/sdk-pivot-client';
2
+ import type { PivotTableDataOptions } from '../../../chart-data-options/types';
3
3
  import { CompleteThemeSettings } from '../../../types';
4
4
  export declare function createDataCellColorFormatter(dataOptions: PivotTableDataOptions, themeSettings: CompleteThemeSettings): (cell: PivotDataNode, rowItem: PivotTreeNode, columnItem: PivotTreeNode, jaqlPanelItem: JaqlPanel | undefined) => void;
@@ -1,6 +1,6 @@
1
- import type { CustomDataCellFormatter, CustomHeaderCellFormatter, CellFormattingResult } from './types.js';
2
1
  import type { JaqlPanel, PivotDataNode, PivotTreeNode } from '@sisense/sdk-pivot-client';
3
2
  import type { PivotTableDataOptionsInternal } from '../../chart-data-options/types';
3
+ import type { CellFormattingResult, CustomDataCellFormatter, CustomHeaderCellFormatter } from './types.js';
4
4
  /**
5
5
  * Applies a formatting result to a data cell, mutating the cell object
6
6
  * @param cell - The cell to apply formatting to
@@ -1,6 +1,6 @@
1
1
  import type { PivotTableDataOptions } from '../../../chart-data-options/types.js';
2
- import type { HeaderCellFormatter } from '../types.js';
3
2
  import { DateFormatter } from '../../../common/formatters/create-date-formatter.js';
3
+ import type { HeaderCellFormatter } from '../types.js';
4
4
  export declare const createHeaderCellValueFormatter: (dataOptions: PivotTableDataOptions, dateFormatter: DateFormatter) => HeaderCellFormatter;
5
5
  /**
6
6
  * Formats the date time string or Date object.
@@ -1,5 +1,5 @@
1
1
  import { type Column } from '@sisense/sdk-data';
2
- import { type PivotTableDataOptions, type StyledColumn, type AnyColumn } from '../../chart-data-options/types';
2
+ import { type AnyColumn, type PivotTableDataOptions, type StyledColumn } from '../../chart-data-options/types';
3
3
  export declare const getPivotDataOptionByJaqlIndex: (dataOptions: PivotTableDataOptions, dataOptionIndex?: number) => AnyColumn | undefined;
4
4
  export declare const getPivotDataOptionIdByJaqlIndex: (dataOptions: PivotTableDataOptions, dataOptionIndex?: number) => string | undefined;
5
5
  export declare const getNumberFormatConfig: (dataOption?: AnyColumn) => Required<import("../..").NumberFormatConfig>;