@sisense/sdk-ui 2.22.0 → 2.24.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 (210) hide show
  1. package/dist/ai.cjs +19 -19
  2. package/dist/ai.js +59 -59
  3. package/dist/analytics-composer/node.cjs +1 -1
  4. package/dist/analytics-composer/node.js +2440 -1253
  5. package/dist/analytics-composer.cjs +47 -47
  6. package/dist/analytics-composer.js +135 -131
  7. package/dist/dimensions-C1R5YRt-.js +204 -0
  8. package/dist/dimensions-C7yXAoZs.cjs +1 -0
  9. package/dist/execute-query-0Y9Fn9Pf.cjs +1 -0
  10. package/dist/execute-query-b9oy2Egy.js +5869 -0
  11. package/dist/{index-NyouhE_A.cjs → index-Ck-0gJC9.cjs} +1 -1
  12. package/dist/{index-kxX21arA.js → index-r66Tjiqj.js} +39 -2
  13. package/dist/index.cjs +633 -616
  14. package/dist/index.js +18198 -17875
  15. package/dist/index.umd.js +1006 -949
  16. package/dist/packages/sdk-ui/src/domains/dashboarding/components/editable-layout/const.d.ts +1 -0
  17. package/dist/packages/sdk-ui/src/domains/dashboarding/components/editable-layout/smart-pointer-sensor.d.ts +17 -0
  18. package/dist/packages/sdk-ui/src/domains/dashboarding/dashboard-model/get-dashboard-model.d.ts +2 -1
  19. package/dist/packages/sdk-ui/src/domains/dashboarding/dashboard-model/use-dashboard-model/dashboard-model-reducer/types.d.ts +24 -2
  20. package/dist/packages/sdk-ui/src/domains/dashboarding/dashboard-model/use-dashboard-model/dashboard-model-reducer/utils.d.ts +2 -1
  21. package/dist/packages/sdk-ui/src/domains/dashboarding/dashboard-model/use-dashboard-model/use-dashboard-persistence.d.ts +2 -1
  22. package/dist/packages/sdk-ui/src/domains/dashboarding/hooks/jtd/jtd-types.d.ts +1 -1
  23. package/dist/packages/sdk-ui/src/domains/dashboarding/hooks/rename-widget/use-widget-renaming.d.ts +34 -0
  24. package/dist/packages/sdk-ui/src/domains/dashboarding/hooks/use-widget-csv-download.d.ts +24 -0
  25. package/dist/packages/sdk-ui/src/domains/dashboarding/types.d.ts +43 -1
  26. package/dist/packages/sdk-ui/src/domains/dashboarding/use-dashboard-theme.d.ts +1 -1
  27. package/dist/packages/sdk-ui/src/domains/data-browser/add-filter-popover/add-filter-data-browser.d.ts +2 -1
  28. package/dist/packages/sdk-ui/src/domains/data-browser/data-schema-browser/data-schema-browser.d.ts +2 -1
  29. package/dist/packages/sdk-ui/src/domains/data-browser/dimensions-browser/types.d.ts +9 -1
  30. package/dist/packages/sdk-ui/src/domains/formulas/fetch-formula.d.ts +1 -1
  31. package/dist/packages/sdk-ui/src/domains/query-execution/core/execute-query.d.ts +1 -1
  32. package/dist/packages/sdk-ui/src/domains/query-execution/hooks/use-execute-query-by-widget-id/use-execute-query-by-widget-id.d.ts +1 -1
  33. package/dist/packages/sdk-ui/src/domains/query-execution/hooks/use-query-cache/use-query-cache.d.ts +2 -1
  34. package/dist/packages/sdk-ui/src/domains/visualizations/components/boxplot-chart/boxplot-utils.d.ts +1 -1
  35. package/dist/packages/sdk-ui/src/domains/visualizations/components/chart/helpers/get-load-data-function.d.ts +1 -1
  36. package/dist/packages/sdk-ui/src/domains/visualizations/components/chart/helpers/use-translated-data-options.d.ts +12 -1
  37. package/dist/packages/sdk-ui/src/domains/visualizations/components/chart/restructured-charts/helpers/data-loading.d.ts +1 -1
  38. package/dist/packages/sdk-ui/src/domains/visualizations/components/chart/restructured-charts/types.d.ts +1 -1
  39. package/dist/packages/sdk-ui/src/domains/widgets/change-events.d.ts +73 -0
  40. package/dist/packages/sdk-ui/src/domains/widgets/components/chart-widget/types.d.ts +12 -2
  41. package/dist/packages/sdk-ui/src/domains/widgets/components/chart-widget/use-chart-widget-csv-download.d.ts +18 -0
  42. package/dist/packages/sdk-ui/src/domains/widgets/components/custom-widget/use-custom-widget-csv-download.d.ts +15 -0
  43. package/dist/packages/sdk-ui/src/domains/widgets/components/pivot-table-widget/types.d.ts +12 -2
  44. package/dist/packages/sdk-ui/src/domains/widgets/components/pivot-table-widget/use-pivot-widget-csv-download.d.ts +18 -0
  45. package/dist/packages/sdk-ui/src/domains/widgets/components/tabber-buttons-widget/types.d.ts +8 -8
  46. package/dist/packages/sdk-ui/src/domains/widgets/components/widget/types.d.ts +21 -1
  47. package/dist/packages/sdk-ui/src/domains/widgets/components/widget-by-id/translate-dashboard-filters.d.ts +3 -1
  48. package/dist/packages/sdk-ui/src/domains/widgets/components/widget-by-id/translate-widget-data-options.d.ts +1 -1
  49. package/dist/packages/sdk-ui/src/domains/widgets/components/widget-by-id/translate-widget-style-options/to-widget-dto-style.d.ts +11 -2
  50. package/dist/packages/sdk-ui/src/domains/widgets/components/widget-by-id/types.d.ts +1 -1
  51. package/dist/packages/sdk-ui/src/domains/widgets/components/widget-by-id/utils.d.ts +3 -2
  52. package/dist/packages/sdk-ui/src/domains/widgets/event-to-delta.d.ts +17 -0
  53. package/dist/packages/sdk-ui/src/domains/widgets/helpers/header-menu-utils.d.ts +14 -4
  54. package/dist/packages/sdk-ui/src/domains/widgets/helpers/index.d.ts +1 -0
  55. package/dist/packages/sdk-ui/src/domains/widgets/hooks/use-csv-query-file-loader.d.ts +16 -0
  56. package/dist/packages/sdk-ui/src/domains/widgets/hooks/use-title-renaming.d.ts +27 -0
  57. package/dist/packages/sdk-ui/src/domains/widgets/hooks/use-widget-header-management.d.ts +28 -0
  58. package/dist/packages/sdk-ui/src/domains/widgets/hooks/use-with-csv-download-menu-item.d.ts +22 -0
  59. package/dist/packages/sdk-ui/src/domains/widgets/shared/widget-container/widget-container.d.ts +3 -1
  60. package/dist/packages/sdk-ui/src/domains/widgets/shared/widget-header/types.d.ts +31 -0
  61. package/dist/packages/sdk-ui/src/domains/widgets/shared/widget-header/widget-header.d.ts +3 -1
  62. package/dist/packages/sdk-ui/src/domains/widgets/shared/widget-header/widget-menu-button.d.ts +1 -1
  63. package/dist/packages/sdk-ui/src/infra/api/rest-api.d.ts +4 -0
  64. package/dist/packages/sdk-ui/src/infra/api/types/dashboard-dto.d.ts +1 -1
  65. package/dist/packages/sdk-ui/src/infra/app/client-application.d.ts +5 -231
  66. package/dist/packages/sdk-ui/src/infra/app/helpers.d.ts +16 -0
  67. package/dist/packages/sdk-ui/src/infra/app/settings/settings.d.ts +1 -1
  68. package/dist/packages/sdk-ui/src/infra/app/settings/types/deployment-props.d.ts +3 -0
  69. package/dist/packages/sdk-ui/src/infra/app/settings/types/features.d.ts +2 -1
  70. package/dist/packages/sdk-ui/src/infra/app/types.d.ts +236 -0
  71. package/dist/packages/sdk-ui/src/infra/contexts/custom-widgets-provider/custom-widgets-provider-adapter.d.ts +2 -1
  72. package/dist/packages/sdk-ui/src/infra/contexts/custom-widgets-provider/use-custom-widgets.d.ts +11 -4
  73. package/dist/packages/sdk-ui/src/infra/contexts/sisense-context/sisense-context.d.ts +1 -1
  74. package/dist/packages/sdk-ui/src/infra/contexts/theme-provider/theme-context.d.ts +2 -1
  75. package/dist/packages/sdk-ui/src/infra/decorators/component-decorators/with-tracking/with-tracking.d.ts +1 -1
  76. package/dist/packages/sdk-ui/src/infra/decorators/hook-decorators/with-tracking.d.ts +1 -1
  77. package/dist/packages/sdk-ui/src/infra/plugins/custom-plugin-context-provider.d.ts +18 -0
  78. package/dist/packages/sdk-ui/src/infra/plugins/plugin-context.d.ts +29 -0
  79. package/dist/packages/sdk-ui/src/infra/{contexts/plugin-provider → plugins}/plugin-provider.d.ts +4 -2
  80. package/dist/packages/sdk-ui/src/infra/{contexts/plugin-provider → plugins}/types.d.ts +12 -4
  81. package/dist/packages/sdk-ui/src/infra/plugins/use-widget-plugin-registry.d.ts +7 -0
  82. package/dist/packages/sdk-ui/src/infra/{contexts/plugin-provider → plugins}/validate-plugins.d.ts +1 -1
  83. package/dist/packages/sdk-ui/src/infra/plugins/widget-plugins/types.d.ts +302 -0
  84. package/dist/packages/sdk-ui/src/infra/plugins/widget-plugins/widget-plugin-registry.d.ts +33 -0
  85. package/dist/packages/sdk-ui/src/infra/translation/resources/__external__/de-de.d.ts +37 -0
  86. package/dist/packages/sdk-ui/src/infra/translation/resources/__external__/en-us.d.ts +37 -0
  87. package/dist/packages/sdk-ui/src/infra/translation/resources/__external__/es-ar.d.ts +37 -0
  88. package/dist/packages/sdk-ui/src/infra/translation/resources/__external__/es-es.d.ts +37 -0
  89. package/dist/packages/sdk-ui/src/infra/translation/resources/__external__/fr-fr.d.ts +37 -0
  90. package/dist/packages/sdk-ui/src/infra/translation/resources/__external__/it-it.d.ts +37 -0
  91. package/dist/packages/sdk-ui/src/infra/translation/resources/__external__/ja-jp.d.ts +37 -0
  92. package/dist/packages/sdk-ui/src/infra/translation/resources/__external__/ko-kr.d.ts +37 -0
  93. package/dist/packages/sdk-ui/src/infra/translation/resources/__external__/nl-nl.d.ts +37 -0
  94. package/dist/packages/sdk-ui/src/infra/translation/resources/__external__/pt-br.d.ts +37 -0
  95. package/dist/packages/sdk-ui/src/infra/translation/resources/__external__/ru-ru.d.ts +37 -0
  96. package/dist/packages/sdk-ui/src/infra/translation/resources/__external__/tr-tr.d.ts +37 -0
  97. package/dist/packages/sdk-ui/src/infra/translation/resources/__external__/zh-cn.d.ts +37 -0
  98. package/dist/packages/sdk-ui/src/infra/translation/resources/en.d.ts +37 -0
  99. package/dist/packages/sdk-ui/src/infra/translation/resources/index.d.ts +74 -0
  100. package/dist/packages/sdk-ui/src/modules/ai/use-get-nlq-result.d.ts +1 -0
  101. package/dist/packages/sdk-ui/src/modules/ai/use-get-query-recommendations.d.ts +1 -0
  102. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/chart/helpers/axis-type-detection.d.ts +17 -0
  103. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/chart/helpers/chart-type-schemas.d.ts +37 -0
  104. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/chart/helpers/index.d.ts +9 -0
  105. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/chart/helpers/translate-data-options.d.ts +9 -0
  106. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/chart/helpers/validate-chart-json.d.ts +19 -0
  107. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/chart/translate-chart-from-json.d.ts +42 -0
  108. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/chart/translate-chart-to-json.d.ts +41 -0
  109. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/constructs/dimensions/translate-dimensions-from-json.d.ts +11 -0
  110. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/constructs/dimensions/translate-dimensions-to-json.d.ts +22 -0
  111. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/{translate-filters-from-json.d.ts → constructs/filters/translate-filters-from-json.d.ts} +2 -2
  112. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/{translate-filters-to-json.d.ts → constructs/filters/translate-filters-to-json.d.ts} +1 -1
  113. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/{translate-measures-from-json.d.ts → constructs/measures/translate-measures-from-json.d.ts} +4 -4
  114. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/constructs/measures/translate-measures-to-json.d.ts +22 -0
  115. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/index.d.ts +8 -3
  116. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/pivot-table/helpers/index.d.ts +7 -0
  117. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/pivot-table/helpers/translate-data-options.d.ts +14 -0
  118. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/pivot-table/helpers/validate-pivot-table-json.d.ts +19 -0
  119. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/pivot-table/translate-pivot-table-from-json.d.ts +12 -0
  120. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/pivot-table/translate-pivot-table-to-json.d.ts +12 -0
  121. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/query/constants.d.ts +8 -0
  122. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/{translate-query-from-json.d.ts → query/translate-query-from-json.d.ts} +3 -3
  123. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/{translate-query-to-jaql.d.ts → query/translate-query-to-jaql.d.ts} +1 -1
  124. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/{translate-query-to-json.d.ts → query/translate-query-to-json.d.ts} +2 -2
  125. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/shared/data-options/adapters.d.ts +19 -0
  126. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/shared/data-options/index.d.ts +9 -0
  127. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/shared/data-options/translate-axis-from-json.d.ts +24 -0
  128. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/shared/data-options/translate-axis-to-json.d.ts +18 -0
  129. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/{process-function → shared/expression}/custom-formula/process-custom-formula.d.ts +1 -1
  130. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/{process-function → shared/expression}/custom-formula/validate-custom-formula.d.ts +25 -0
  131. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/{process-function → shared/expression}/execute-function.d.ts +1 -1
  132. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/{process-function → shared/expression}/factory-function-processors.d.ts +1 -1
  133. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/{process-function → shared/expression}/factory-function-schemas.d.ts +1 -1
  134. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/{process-function → shared/expression}/filter-processors.d.ts +1 -1
  135. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/shared/expression/formula-function-schemas.d.ts +41 -0
  136. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/{process-function → shared/expression}/process-arg.d.ts +1 -1
  137. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/{process-function → shared/expression}/process-node.d.ts +1 -1
  138. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/shared/utils/attribute-helpers.d.ts +50 -0
  139. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/shared/utils/fuzzy-match.d.ts +16 -0
  140. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/shared/utils/parse-compose-code.d.ts +34 -0
  141. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/shared/utils/schema-index.d.ts +52 -0
  142. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/shared/utils/translation-helpers.d.ts +31 -0
  143. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/types.d.ts +115 -4
  144. package/dist/packages/sdk-ui/src/modules/analytics-composer/types.d.ts +6 -6
  145. package/dist/packages/sdk-ui/src/props.d.ts +20 -2
  146. package/dist/packages/sdk-ui/src/public-api/alpha.d.ts +1 -1
  147. package/dist/packages/sdk-ui/src/public-api/beta.d.ts +1 -1
  148. package/dist/packages/sdk-ui/src/public-api/internal.d.ts +10 -6
  149. package/dist/packages/sdk-ui/src/public-api/public.d.ts +2 -2
  150. package/dist/packages/sdk-ui/src/public-api/sisense-internal.d.ts +14 -5
  151. package/dist/packages/sdk-ui/src/shared/components/grouped-items-browser/types.d.ts +7 -1
  152. package/dist/packages/sdk-ui/src/shared/components/inline-text-editor/inline-text-editor.d.ts +26 -0
  153. package/dist/packages/sdk-ui/src/shared/components/inline-text-editor/use-blur-on-pointer-down-outside.d.ts +11 -0
  154. package/dist/packages/sdk-ui/src/shared/components/loading-indicator.d.ts +2 -1
  155. package/dist/packages/sdk-ui/src/shared/components/quota-notification/quota-notification.d.ts +2 -2
  156. package/dist/packages/sdk-ui/src/shared/const.d.ts +5 -0
  157. package/dist/packages/sdk-ui/src/shared/hooks/use-app-settings.d.ts +2 -1
  158. package/dist/packages/sdk-ui/src/shared/hooks/use-quota-notification.d.ts +4 -4
  159. package/dist/packages/sdk-ui/src/shared/hooks/use-should-load.d.ts +1 -1
  160. package/dist/packages/sdk-ui/src/shared/hooks/use-with-change-detection.d.ts +5 -5
  161. package/dist/packages/sdk-ui/src/shared/types/menu-item.d.ts +5 -1
  162. package/dist/packages/sdk-ui/src/shared/utils/menu-item-converters.d.ts +12 -0
  163. package/dist/packages/sdk-ui/src/types.d.ts +3 -3
  164. package/dist/quota-notification-BqRYSJ7r.cjs +713 -0
  165. package/dist/{quota-notification-D6oMJal8.js → quota-notification-CeKnEyQG.js} +18423 -17044
  166. package/dist/translations/de-de.cjs +1 -1
  167. package/dist/translations/de-de.js +40 -3
  168. package/dist/translations/en-us.cjs +1 -1
  169. package/dist/translations/en-us.js +1 -1
  170. package/dist/translations/es-ar.cjs +1 -1
  171. package/dist/translations/es-ar.js +40 -3
  172. package/dist/translations/es-es.cjs +1 -1
  173. package/dist/translations/es-es.js +40 -3
  174. package/dist/translations/fr-fr.cjs +1 -1
  175. package/dist/translations/fr-fr.js +40 -3
  176. package/dist/translations/it-it.cjs +1 -1
  177. package/dist/translations/it-it.js +42 -5
  178. package/dist/translations/ja-jp.cjs +1 -1
  179. package/dist/translations/ja-jp.js +42 -5
  180. package/dist/translations/ko-kr.cjs +1 -1
  181. package/dist/translations/ko-kr.js +42 -5
  182. package/dist/translations/nl-nl.cjs +1 -1
  183. package/dist/translations/nl-nl.js +42 -5
  184. package/dist/translations/pt-br.cjs +1 -1
  185. package/dist/translations/pt-br.js +40 -3
  186. package/dist/translations/ru-ru.cjs +1 -1
  187. package/dist/translations/ru-ru.js +42 -5
  188. package/dist/translations/tr-tr.cjs +1 -1
  189. package/dist/translations/tr-tr.js +40 -3
  190. package/dist/translations/zh-cn.cjs +1 -1
  191. package/dist/translations/zh-cn.js +42 -5
  192. package/dist/{types-CoY6F8Ma.cjs → types-C0QU2tsE.cjs} +1 -1
  193. package/dist/{types-ixSwJkxM.js → types-DJtC8_5_.js} +1 -1
  194. package/dist/{utils-BP-BglHE.js → utils-BCp2ISWh.js} +3745 -3773
  195. package/dist/{utils-C8YMrOdw.cjs → utils-D8O1_kl3.cjs} +33 -33
  196. package/dist/{widget-composer-DI4sHaNe.cjs → widget-composer-BkHZISs7.cjs} +1 -1
  197. package/dist/{widget-composer-CUUFoCb9.js → widget-composer-CDNL9_XF.js} +8 -8
  198. package/package.json +10 -8
  199. package/dist/dimensions-BiLyFpCg.js +0 -202
  200. package/dist/dimensions-X4_igtmO.cjs +0 -1
  201. package/dist/execute-query-BEeqqDl6.js +0 -5795
  202. package/dist/execute-query-DJDE0zRU.cjs +0 -1
  203. package/dist/packages/sdk-ui/src/infra/contexts/plugin-provider/index.d.ts +0 -5
  204. package/dist/packages/sdk-ui/src/infra/contexts/plugin-provider/plugin-context.d.ts +0 -15
  205. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/common.d.ts +0 -84
  206. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/parse-compose-code.d.ts +0 -15
  207. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/translate-dimensions-from-json.d.ts +0 -12
  208. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/translate-dimensions-to-json.d.ts +0 -13
  209. package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/translate-measures-to-json.d.ts +0 -13
  210. package/dist/quota-notification-z3dv2KoH.cjs +0 -672
@@ -137,7 +137,8 @@ type AiStudioFeature = Feature<'aiStudio', {
137
137
  isUsageDisplayEnabled?: boolean;
138
138
  }>;
139
139
  type NewNavigationBetaFeature = Feature<'newNavigationBeta'>;
140
- export type Features = (AlertingFeature | LiveQueryFeature | NlqFeature | PivotFeature | CustomCodeFeature | CustomCodeTransformationFeature | BuildDestinationFeature | VersionHistoryFeature | EmbedCodeFeature | LiveCustomColumnFeature | ExportingEngineV2Feature | ExportingXlsxV2Feature | ExportingCsvFeature | ConnectionManagementFeature | SisenseLightFeature | WizardSqlEditorFeature | MultiTenancyFeature | BloxFeature | FunnelFeature | Cloud360Feature | BreakByToggleFeature | GitIntegrationFeature | InfusionFeature | InfusionWebClientFeature | NotebooksFeature | AdminWebClientFeature | DateTimeFiltersFeature | TextFiltersFeature | NumericFiltersFeature | FilterRelationsEnabledFeature | TimeLevelSupportEnabledFeature | SyncDashboardEventsFeature | UserProfileFeature | ScatterFeature | CustomFontsFeature | PreferWidgetImageServerExportFeature | NewAdminUIFeature | SharedFormulasFeature | SideBarFeature | InfusionTokenEndpointFeature | ExplanationsForIndicatorWidgetsFeature | ExplanationsForCategoricalWidgetsFeature | WidgetDesignStyleFeature | FiscalOnFeature | ReactAnalyticsWidgetEditorFeature | DynamicSQLFeature | NewCustomConnectorFeature | CrossTenantPerspectivesFeature | EnableDatamodelPerspectiveFeature | AlwaysDirectRelationsFeature | ModelStatisticsFeature | ExportingCsvFormattedFeature | FlexibleTooltipsFeature | DimensionalModelingFeature | CloudCDNFeature | OnboardingFeature | AiAssistantFeature | AiStudioFeature | NewNavigationBetaFeature)[];
140
+ type ApiTelemetryFeature = Feature<'apiTelemetry'>;
141
+ export type Features = (AlertingFeature | LiveQueryFeature | NlqFeature | PivotFeature | CustomCodeFeature | CustomCodeTransformationFeature | BuildDestinationFeature | VersionHistoryFeature | EmbedCodeFeature | LiveCustomColumnFeature | ExportingEngineV2Feature | ExportingXlsxV2Feature | ExportingCsvFeature | ConnectionManagementFeature | SisenseLightFeature | WizardSqlEditorFeature | MultiTenancyFeature | BloxFeature | FunnelFeature | Cloud360Feature | BreakByToggleFeature | GitIntegrationFeature | InfusionFeature | InfusionWebClientFeature | NotebooksFeature | AdminWebClientFeature | DateTimeFiltersFeature | TextFiltersFeature | NumericFiltersFeature | FilterRelationsEnabledFeature | TimeLevelSupportEnabledFeature | SyncDashboardEventsFeature | UserProfileFeature | ScatterFeature | CustomFontsFeature | PreferWidgetImageServerExportFeature | NewAdminUIFeature | SharedFormulasFeature | SideBarFeature | InfusionTokenEndpointFeature | ExplanationsForIndicatorWidgetsFeature | ExplanationsForCategoricalWidgetsFeature | WidgetDesignStyleFeature | FiscalOnFeature | ReactAnalyticsWidgetEditorFeature | DynamicSQLFeature | NewCustomConnectorFeature | CrossTenantPerspectivesFeature | EnableDatamodelPerspectiveFeature | AlwaysDirectRelationsFeature | ModelStatisticsFeature | ExportingCsvFormattedFeature | FlexibleTooltipsFeature | DimensionalModelingFeature | CloudCDNFeature | OnboardingFeature | AiAssistantFeature | AiStudioFeature | NewNavigationBetaFeature | ApiTelemetryFeature)[];
141
142
  export type FeatureByKey<K extends string> = Extract<Features[number], {
142
143
  key: K;
143
144
  }>;
@@ -0,0 +1,236 @@
1
+ import { DataSource } from '@sisense/sdk-data';
2
+ import { PivotQueryClient } from '@sisense/sdk-pivot-query-client';
3
+ import { QueryClient } from '@sisense/sdk-query-client';
4
+ import { HttpClient } from '@sisense/sdk-rest-client';
5
+ import { TrackingEventDetails } from '@sisense/sdk-tracking';
6
+ import { DateConfig, LoadingIndicatorConfig, TranslationConfig } from '../../types';
7
+ import { AppSettings } from './settings/settings';
8
+ /**
9
+ * Application configuration
10
+ */
11
+ export type AppConfig = {
12
+ /**
13
+ * A [date-fns Locale](https://date-fns.org/v2.30.0/docs/Locale)
14
+ */
15
+ locale?: Locale;
16
+ /**
17
+ * Translation Configuration
18
+ */
19
+ translationConfig?: TranslationConfig;
20
+ /**
21
+ * Date Configurations
22
+ */
23
+ dateConfig?: DateConfig;
24
+ /**
25
+ * Loading Indicator Configurations
26
+ */
27
+ loadingIndicatorConfig?: LoadingIndicatorConfig;
28
+ /**
29
+ * Query Cache Configurations.
30
+ *
31
+ * See [Client query caching guide](/guides/sdk/guides/client-query-caching.html) for more details.
32
+ *
33
+ * @beta
34
+ */
35
+ queryCacheConfig?: {
36
+ /**
37
+ * Whether to enable client-side query caching.
38
+ *
39
+ * If not specified, the default value is `false`
40
+ */
41
+ enabled?: boolean;
42
+ };
43
+ /**
44
+ * Query limit (max rows count that will be fetched in query)
45
+ *
46
+ * @default 20000
47
+ */
48
+ queryLimit?: number;
49
+ /**
50
+ * Accessibility configuration. Set the `accessibilityConfig.enabled` property to `true` to enable accessibility features for charts built with Highcharts.
51
+ *
52
+ * Once the accessibility configuration in enabled, you can use the default descriptions or choose to create custom configurations for the descriptions of a chart, its axes, its series, and values description formatting. To create custom configurations, use the `highchartsOptions` object that is passed to the {@link BeforeRenderHandler} of the chart's `onBeforeRender` callback. Modify the object using the accessibility options as described in the [Accessibility module documentation](https://www.highcharts.com/docs/accessibility/accessibility-module).
53
+ *
54
+ * Note that enabling accessibility also causes markers to appear in charts even if they are disabled using the chart's `styleOptions`.
55
+ *
56
+ * This feature is in alpha.
57
+ */
58
+ accessibilityConfig?: {
59
+ /**
60
+ * Whether to enable accessibility features
61
+ *
62
+ * If not specified, the default value is `false`
63
+ */
64
+ enabled?: boolean;
65
+ };
66
+ /**
67
+ * Configuration of the tabber widgets feature
68
+ *
69
+ * Only tabber widgets that are configured using the Fusion UI as documented [here](https://docs.sisense.com/main/SisenseLinux/tabber.htm#Creating) are supported.
70
+ */
71
+ tabberConfig?: {
72
+ /**
73
+ * Whether to enable tabber widget support
74
+ *
75
+ * If not specified, the default value is `true`
76
+ *
77
+ * @deprecated Tabber widgets are now supported by default and this property is no longer needed.
78
+ */
79
+ enabled?: boolean;
80
+ };
81
+ /**
82
+ * Configuration of the component that is rendered in case of an error
83
+ */
84
+ errorBoundaryConfig?: {
85
+ /**
86
+ * Whether to show error text without hovering over the error icon
87
+ *
88
+ * If not specified, the default value is `false`
89
+ */
90
+ alwaysShowErrorText?: boolean;
91
+ };
92
+ /**
93
+ * API Telemetry headers to attach to every request made by the SDK.
94
+ * Attached only when the API Telemetry feature flag is enabled.
95
+ *
96
+ * Support only headers with the prefix 'x-sisense-'.
97
+ *
98
+ * @example
99
+ * ```tsx
100
+ * appConfig={{
101
+ * apiTelemetryHeaders: {
102
+ * 'x-sisense-embed': 'iframe',
103
+ * },
104
+ * }}
105
+ * ```
106
+ * @sisenseInternal
107
+ */
108
+ apiTelemetryHeaders?: Record<string, string>;
109
+ /**
110
+ * Tracking configuration
111
+ */
112
+ trackingConfig?: {
113
+ /**
114
+ * Whether to enable or disable tracking in development or test environment.
115
+ *
116
+ * If not specified, the default value is `true`
117
+ *
118
+ * In production, tracking is always enabled.
119
+ *
120
+ * @internal
121
+ */
122
+ enabled?: boolean;
123
+ /**
124
+ * Callback to be invoked when tracking event occurs
125
+ */
126
+ onTrackingEvent?: (payload: TrackingEventDetails) => void;
127
+ };
128
+ /**
129
+ * Configuration of the Jump To Dashboard feature
130
+ *
131
+ * This feature is currently in Beta.
132
+ *
133
+ * **Note:** Only widgets that are configured using the Fusion UI as documented
134
+ * [here](https://docs.sisense.com/main/SisenseLinux/jump-to-dashboard.htm?tocpath=Add-ons%7C_____2#ConfiguringJTDPerWidget)
135
+ * are supported in Compose SDK.
136
+ *
137
+ * Widgets that are configured using an older version of Jump To Dashboard, or via scripts, are not supported.
138
+ *
139
+ * Known limitations:
140
+ * - Jump To Dashboard is not currently supported for Pivot widgets.
141
+ * - Target dashboards are always opened in a popup window, options to open in new tab and new window are not supported.
142
+ * - Show 'Header' and 'Dashboards panel' options are not supported (only relevant to Fusion).
143
+ * - 'Reset filters after JTD' is not supported, since changes are never saved to the target dashboard using Compose SDK.
144
+ *
145
+ * The following Jump To Dashboard configuration is supported:
146
+ * - Target dashboard set by Id, with configurable display title
147
+ * - 'Popup window' display type ('Allow Resize' not supported)
148
+ * - Display filter panel on the target dashboard (true/false)
149
+ * - Navigation setting (Click / Right click)
150
+ * - Note: 'Keep changes made by user' is not supported, since changes are never saved to the target dashboard using Compose SDK.
151
+ * - Apply filters to the target dashboard (select)
152
+ * - Merge target dashboard filters (true/false)
153
+ *
154
+ */
155
+ jumpToDashboardConfig?: {
156
+ /**
157
+ * Whether to enable or disable the Jump To Dashboard feature
158
+ *
159
+ * If not specified, the default value is `true`
160
+ */
161
+ enabled?: boolean;
162
+ };
163
+ /**
164
+ * Global configuration for some specific aspects of data visualizations.
165
+ */
166
+ chartConfig?: {
167
+ /** `Table` and `PivotTable` configuration */
168
+ tabular?: {
169
+ /** Configuration for HTML content in `Table` and `PivotTable` */
170
+ htmlContent?: {
171
+ /**
172
+ * If true, the contents of table and pivot table cells are rendered as HTML instead of text.
173
+ *
174
+ * **Note**: The {@link StyledColumn.isHtml} property of columns in `dataOptions` are of higher precedence, and will therefore override this setting.
175
+ * @default true
176
+ * */
177
+ enabled?: boolean;
178
+ /**
179
+ * Enables sanitization of HTML content before rendering to prevent XSS attacks.
180
+ * @default true
181
+ * */
182
+ sanitizeContents?: boolean;
183
+ };
184
+ /**
185
+ * Boolean flag whether to always show the results per page select
186
+ *
187
+ * If `true`, the results per page select will be shown even if there is only one page of results.
188
+ * Currently only supported for `PivotTable`.
189
+ *
190
+ * @default false
191
+ */
192
+ alwaysShowResultsPerPage?: boolean;
193
+ };
194
+ };
195
+ };
196
+ /**
197
+ * Stands for a Sisense Client Application which connects to a Sisense Environment
198
+ *
199
+ * @internal
200
+ */
201
+ export interface ClientApplication {
202
+ /**
203
+ * Gets the underlying HTTP Client
204
+ */
205
+ readonly httpClient: HttpClient;
206
+ /**
207
+ * Gets the underlying Pivot Query Client
208
+ */
209
+ readonly pivotQueryClient: PivotQueryClient;
210
+ /**
211
+ * Gets the underlying Query Client
212
+ */
213
+ readonly queryClient: QueryClient;
214
+ /**
215
+ * Gets the default data source being used as default for child components with no explicitly defined data source
216
+ */
217
+ readonly defaultDataSource?: DataSource;
218
+ /**
219
+ * Gets the application settings
220
+ */
221
+ settings: AppSettings;
222
+ /**
223
+ * Gets the module to control query cache
224
+ */
225
+ queryCache: {
226
+ /**
227
+ * Clears the query cache
228
+ */
229
+ clear: () => void;
230
+ };
231
+ }
232
+ export type SystemSettings = {
233
+ tracking?: {
234
+ apiTelemetry?: boolean;
235
+ };
236
+ };
@@ -10,7 +10,8 @@ export type CustomWidgetsContextAdapter<T = CustomWidgetComponentProps> = {
10
10
  /**
11
11
  * Custom Widget Provider Adapter component that allows passing external custom widgets context.
12
12
  *
13
- * Note: it is designed to serve as a bridge for passing pre-initialized custom widget data between an external wrapper and child React components.
13
+ * Bridges pre-initialized custom widget data from an external wrapper to child React components.
14
+ * Syncs the widget registry with customWidgetsMap on updates and cleans up on unmount.
14
15
  *
15
16
  * @internal
16
17
  */
@@ -1,4 +1,4 @@
1
- import { CustomWidgetComponent } from './types';
1
+ import { CustomWidgetComponent, CustomWidgetComponentProps } from './types';
2
2
  /**
3
3
  * Hook that provides API for configuring custom widgets.
4
4
  *
@@ -18,8 +18,15 @@ import { CustomWidgetComponent } from './types';
18
18
  *
19
19
  * @group Dashboards
20
20
  */
21
- export declare const useCustomWidgets: () => {
22
- registerCustomWidget: <T = any>(customWidgetType: string, customWidget: CustomWidgetComponent<T>) => void;
21
+ export declare const useCustomWidgets: () => UseCustomWidgetsResult;
22
+ /**
23
+ * Result of the `useCustomWidgets` hook.
24
+ */
25
+ export type UseCustomWidgetsResult = {
26
+ /** Registers a custom widget. */
27
+ registerCustomWidget: <T = CustomWidgetComponentProps>(customWidgetType: string, customWidget: CustomWidgetComponent<T>) => void;
28
+ /** Checks if a custom widget is registered. */
23
29
  hasCustomWidget: (customWidgetType: string) => boolean;
24
- getCustomWidget: (customWidgetType: string) => CustomWidgetComponent<any> | undefined;
30
+ /** Gets a custom widget. */
31
+ getCustomWidget: (customWidgetType: string) => CustomWidgetComponent | undefined;
25
32
  };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { TrackingEventDetails } from '@sisense/sdk-tracking';
3
3
  import { SisenseContextProviderProps } from '../../..';
4
- import { ClientApplication } from '../../app/client-application';
4
+ import { type ClientApplication } from '../../app/types';
5
5
  export type SisenseContextPayload = {
6
6
  isInitialized: boolean;
7
7
  app?: ClientApplication;
@@ -8,7 +8,8 @@ export declare const ThemeContext: import("react").Context<{
8
8
  * Hook to get the current theme settings.
9
9
  *
10
10
  * @returns The current theme settings
11
- * @internal
11
+ *
12
+ * @sisenseInternal
12
13
  */
13
14
  export declare const useThemeContext: () => {
14
15
  themeSettings: CompleteThemeSettings;
@@ -16,6 +16,6 @@ export type TrackingDecoratorConfig = {
16
16
  /**
17
17
  * Adds tracking to the component
18
18
  *
19
- * @internal
19
+ * @sisenseInternal
20
20
  */
21
21
  export declare const withTracking: ComponentDecorator<TrackingDecoratorConfig>;
@@ -1,4 +1,4 @@
1
- import { ClientApplication } from '../../app/client-application';
1
+ import { ClientApplication } from '../../app/types';
2
2
  export type HookDecorator<DecoratorConfig> = (decoratorConfig: DecoratorConfig) => <HookArgs extends any[], HookResult>(hook: (...args: HookArgs) => HookResult) => (...args: HookArgs) => HookResult;
3
3
  /**
4
4
  * Tracks the hook event and sends it to the server.
@@ -0,0 +1,18 @@
1
+ import { type PropsWithChildren } from 'react';
2
+ import { CustomContextProviderProps } from '../../types';
3
+ import type { Plugin } from './types.js';
4
+ /** @internal */
5
+ export type CustomPluginContextProviderContext = {
6
+ plugins: Plugin[];
7
+ };
8
+ /** @internal */
9
+ export type CustomPluginContextProviderProps = CustomContextProviderProps<CustomPluginContextProviderContext>;
10
+ /**
11
+ * Custom Plugin Context Provider component that allows passing external plugin context.
12
+ *
13
+ * Specifically designed to serve as a bridge for passing plugin context between an
14
+ * external framework wrapper and child React components.
15
+ *
16
+ * @internal
17
+ */
18
+ export declare const CustomPluginContextProvider: React.FC<PropsWithChildren<CustomPluginContextProviderProps>>;
@@ -0,0 +1,29 @@
1
+ /// <reference types="react" />
2
+ import { WidgetPlugin } from './widget-plugins/types.js';
3
+ import type { WidgetPluginRegistry } from './widget-plugins/widget-plugin-registry.js';
4
+ /**
5
+ * Context for accessing registered plugins
6
+ *
7
+ * @internal
8
+ */
9
+ export interface PluginContextValue {
10
+ /**
11
+ * Validated widget plugin declarations (metadata)
12
+ */
13
+ widgetPlugins: readonly WidgetPlugin[];
14
+ /**
15
+ * Central widget component registry (used for lookup and legacy bridge)
16
+ */
17
+ widgetRegistry: WidgetPluginRegistry;
18
+ }
19
+ /**
20
+ * Error message when a plugin hook/component is used outside PluginProvider.
21
+ * @internal
22
+ */
23
+ export declare const PLUGIN_CONTEXT_MISSING_MESSAGE = "PluginContext is missing. Ensure PluginProvider (or a compatible provider) is an ancestor.";
24
+ /**
25
+ * React context for plugin management.
26
+ * Default is null to avoid a shared WidgetPluginRegistry at module load (cross-test/consumer pollution).
27
+ * PluginProvider supplies a real value; consumers must check for null and throw if missing.
28
+ */
29
+ export declare const PluginContext: import("react").Context<PluginContextValue | null>;
@@ -1,9 +1,9 @@
1
1
  import { type ReactNode } from 'react';
2
- import { Plugin } from './types';
2
+ import { Plugin } from './types.js';
3
3
  /**
4
4
  * Props for PluginProvider component
5
5
  *
6
- * @internal
6
+ * @sisenseInternal
7
7
  */
8
8
  export interface PluginProviderProps {
9
9
  /**
@@ -17,5 +17,7 @@ export interface PluginProviderProps {
17
17
  }
18
18
  /**
19
19
  * Plugin Provider component that validates and provides access to plugins
20
+ *
21
+ * @sisenseInternal
20
22
  */
21
23
  export declare const PluginProvider: React.FC<PluginProviderProps>;
@@ -1,9 +1,10 @@
1
+ import type { WidgetPlugin } from './widget-plugins/types.js';
1
2
  /**
2
- * Plugin with metadata information
3
+ * Base plugin information
3
4
  *
4
- * @internal
5
+ * @sisenseInternal
5
6
  */
6
- export interface Plugin {
7
+ export interface BasePluginInfo {
7
8
  /**
8
9
  * Unique name identifier for the plugin
9
10
  */
@@ -32,7 +33,7 @@ export interface Plugin {
32
33
  /**
33
34
  * Result of plugin validation
34
35
  *
35
- * @internal
36
+ * @sisenseInternal
36
37
  */
37
38
  export interface PluginValidationResult {
38
39
  /**
@@ -48,3 +49,10 @@ export interface PluginValidationResult {
48
49
  */
49
50
  reason?: string;
50
51
  }
52
+ /**
53
+ * Plugin declaration.
54
+ * Currently only widget plugins are supported.
55
+ *
56
+ * @sisenseInternal
57
+ */
58
+ export type Plugin = WidgetPlugin;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Hook for accessing the widget plugin registry.
3
+ * Used internally by the CustomWidget renderer to look up components.
4
+ *
5
+ * @internal
6
+ */
7
+ export declare const useWidgetPluginRegistry: () => import("./widget-plugins/widget-plugin-registry.js").WidgetPluginRegistry;
@@ -1,4 +1,4 @@
1
- import { Plugin } from './types';
1
+ import { Plugin } from './types.js';
2
2
  /**
3
3
  * Validates and returns only valid plugins.
4
4
  *