@restio/ui 0.2.1 → 0.2.2

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 (517) hide show
  1. package/README.md +51 -7
  2. package/dist/core.cjs +1 -0
  3. package/dist/core.d.ts +961 -0
  4. package/dist/core.js +35 -0
  5. package/dist/data.cjs +1 -0
  6. package/dist/data.d.ts +1464 -0
  7. package/dist/data.js +24 -0
  8. package/dist/experimental.cjs +2 -0
  9. package/dist/experimental.d.ts +659 -0
  10. package/dist/experimental.js +1360 -0
  11. package/dist/framework.cjs +1 -0
  12. package/dist/framework.d.ts +760 -0
  13. package/dist/framework.js +34 -0
  14. package/dist/index.cjs +1 -0
  15. package/dist/index.d.ts +3251 -151
  16. package/dist/index.js +98 -0
  17. package/dist/{restio-ui.es.js → src-Bzrq1hWW.js} +36640 -36783
  18. package/dist/src-kY7g6XFo.cjs +158 -0
  19. package/dist/ui.css +1 -1
  20. package/package.json +48 -26
  21. package/dist/assets/svg/alert.svg +0 -1
  22. package/dist/assets/svg/arrow-down-up.svg +0 -1
  23. package/dist/assets/svg/arrow-down.svg +0 -1
  24. package/dist/assets/svg/arrow-left.svg +0 -1
  25. package/dist/assets/svg/arrow-right.svg +0 -1
  26. package/dist/assets/svg/arrow-up.svg +0 -1
  27. package/dist/assets/svg/arrow_drop_down.svg +0 -1
  28. package/dist/assets/svg/calendar.svg +0 -1
  29. package/dist/assets/svg/chart-area.svg +0 -1
  30. package/dist/assets/svg/chart-bar-stacked.svg +0 -1
  31. package/dist/assets/svg/chart-bar.svg +0 -1
  32. package/dist/assets/svg/chart-candlestick.svg +0 -1
  33. package/dist/assets/svg/chart-gantt.svg +0 -1
  34. package/dist/assets/svg/chart-line.svg +0 -1
  35. package/dist/assets/svg/chart-pie.svg +0 -1
  36. package/dist/assets/svg/chart-sankey.svg +0 -1
  37. package/dist/assets/svg/check.svg +0 -1
  38. package/dist/assets/svg/chevron-down.svg +0 -1
  39. package/dist/assets/svg/chevron-right.svg +0 -1
  40. package/dist/assets/svg/clipboard.svg +0 -1
  41. package/dist/assets/svg/close.svg +0 -1
  42. package/dist/assets/svg/copy.svg +0 -1
  43. package/dist/assets/svg/cursor.svg +0 -1
  44. package/dist/assets/svg/cut.svg +0 -1
  45. package/dist/assets/svg/delete.svg +0 -1
  46. package/dist/assets/svg/discussion.svg +0 -1
  47. package/dist/assets/svg/dock-left-arrow.svg +0 -1
  48. package/dist/assets/svg/dock-right-arrow.svg +0 -1
  49. package/dist/assets/svg/document-outline.svg +0 -1
  50. package/dist/assets/svg/download.svg +0 -1
  51. package/dist/assets/svg/drag.svg +0 -1
  52. package/dist/assets/svg/error.svg +0 -1
  53. package/dist/assets/svg/expand-right.svg +0 -1
  54. package/dist/assets/svg/expand.svg +0 -1
  55. package/dist/assets/svg/eye.svg +0 -1
  56. package/dist/assets/svg/file-plus.svg +0 -1
  57. package/dist/assets/svg/filter.svg +0 -1
  58. package/dist/assets/svg/form.svg +0 -1
  59. package/dist/assets/svg/fullscreen.svg +0 -1
  60. package/dist/assets/svg/gear.svg +0 -1
  61. package/dist/assets/svg/groups.svg +0 -1
  62. package/dist/assets/svg/help.svg +0 -1
  63. package/dist/assets/svg/info.svg +0 -1
  64. package/dist/assets/svg/list.svg +0 -1
  65. package/dist/assets/svg/logo.svg +0 -9
  66. package/dist/assets/svg/menu.svg +0 -1
  67. package/dist/assets/svg/message-bubble-question-mark.svg +0 -1
  68. package/dist/assets/svg/open-center.svg +0 -1
  69. package/dist/assets/svg/open-dialog.svg +0 -29
  70. package/dist/assets/svg/pencil.svg +0 -1
  71. package/dist/assets/svg/pie-chart.svg +0 -1
  72. package/dist/assets/svg/plus.svg +0 -1
  73. package/dist/assets/svg/restio.svg +0 -5
  74. package/dist/assets/svg/search.svg +0 -1
  75. package/dist/assets/svg/send.svg +0 -1
  76. package/dist/assets/svg/shrink-right.svg +0 -1
  77. package/dist/assets/svg/sidebar.svg +0 -1
  78. package/dist/assets/svg/square-half.svg +0 -1
  79. package/dist/assets/svg/table.svg +0 -1
  80. package/dist/assets/svg/terminal.svg +0 -1
  81. package/dist/assets/svg/timer.svg +0 -1
  82. package/dist/assets/svg/transaction.svg +0 -1
  83. package/dist/assets/svg/vertical-expand.svg +0 -1
  84. package/dist/assets/svg/wallet.svg +0 -1
  85. package/dist/assets/svg/warning.svg +0 -1
  86. package/dist/assets/svg/zoom-minus.svg +0 -1
  87. package/dist/assets/svg/zoom-plus.svg +0 -1
  88. package/dist/components/anchored-overlay/anchored-overlay-types.d.ts +0 -22
  89. package/dist/components/anchored-overlay/anchored-overlay.d.ts +0 -4
  90. package/dist/components/anchored-overlay/anchored-overlay.test.d.ts +0 -0
  91. package/dist/components/anchored-overlay/stories/anchored-overlay-example.stories.d.ts +0 -6
  92. package/dist/components/banner/banner-types.d.ts +0 -12
  93. package/dist/components/banner/banner.d.ts +0 -4
  94. package/dist/components/banner/banner.stories.d.ts +0 -11
  95. package/dist/components/button/button-types.d.ts +0 -12
  96. package/dist/components/button/button.d.ts +0 -3
  97. package/dist/components/button/stories/button-example.stories.d.ts +0 -8
  98. package/dist/components/button/stories/button.stories.d.ts +0 -8
  99. package/dist/components/button-dropdown/button-dropdown-types.d.ts +0 -19
  100. package/dist/components/button-dropdown/button-dropdown.d.ts +0 -7
  101. package/dist/components/button-dropdown/button-dropdown.test.d.ts +0 -0
  102. package/dist/components/button-dropdown/stories/button-dropdown.stories.d.ts +0 -10
  103. package/dist/components/button-group/button-group-types.d.ts +0 -15
  104. package/dist/components/button-group/button-group.d.ts +0 -3
  105. package/dist/components/button-group/button-group.stories.d.ts +0 -7
  106. package/dist/components/button-group/button-group.test.d.ts +0 -1
  107. package/dist/components/checkbox/checkbox-types.d.ts +0 -15
  108. package/dist/components/checkbox/checkbox.d.ts +0 -3
  109. package/dist/components/checkbox/checkbox.test.d.ts +0 -0
  110. package/dist/components/checkbox/stories/checkbox-example.stories.d.ts +0 -7
  111. package/dist/components/checkbox/stories/checkbox.stories.d.ts +0 -6
  112. package/dist/components/checkbox-group/checkbox-group-types.d.ts +0 -27
  113. package/dist/components/checkbox-group/checkbox-group.d.ts +0 -7
  114. package/dist/components/checkbox-group/checkbox-group.test.d.ts +0 -0
  115. package/dist/components/checkbox-group/stories/checkbox-group-example.stories.d.ts +0 -6
  116. package/dist/components/checkbox-group/stories/checkbox-group.stories.d.ts +0 -10
  117. package/dist/components/code-block/code-block.d.ts +0 -7
  118. package/dist/components/file-upload/file-upload-types.d.ts +0 -36
  119. package/dist/components/file-upload/file-upload-utils.d.ts +0 -1
  120. package/dist/components/file-upload/file-upload.d.ts +0 -3
  121. package/dist/components/file-upload/file-upload.test.d.ts +0 -1
  122. package/dist/components/file-upload/stories/file-upload.stories.d.ts +0 -8
  123. package/dist/components/input/date/date-calendar.d.ts +0 -3
  124. package/dist/components/input/date/date-input-field.d.ts +0 -8
  125. package/dist/components/input/date/date-picker.d.ts +0 -7
  126. package/dist/components/input/date/date-range-input-field.d.ts +0 -8
  127. package/dist/components/input/date/date-range-picker.d.ts +0 -8
  128. package/dist/components/input/date/date-shortcuts.d.ts +0 -3
  129. package/dist/components/input/date/date-types.d.ts +0 -52
  130. package/dist/components/input/date/date-utils.d.ts +0 -34
  131. package/dist/components/input/date/stories/date.stories.d.ts +0 -5
  132. package/dist/components/input/date/use-digit-input.d.ts +0 -18
  133. package/dist/components/input/input-types.d.ts +0 -27
  134. package/dist/components/input/input.d.ts +0 -3
  135. package/dist/components/input/number/input-number-types.d.ts +0 -7
  136. package/dist/components/input/number/input-number.d.ts +0 -3
  137. package/dist/components/input/number/input-number.stories.d.ts +0 -6
  138. package/dist/components/input/text/input-text-types.d.ts +0 -6
  139. package/dist/components/input/text/input-text.d.ts +0 -3
  140. package/dist/components/input/text/stories/input-text.stories.d.ts +0 -9
  141. package/dist/components/kbd/kbd-types.d.ts +0 -6
  142. package/dist/components/kbd/kbd.d.ts +0 -4
  143. package/dist/components/kbd/kbd.stories.d.ts +0 -9
  144. package/dist/components/kbd-group/kbd-group-types.d.ts +0 -14
  145. package/dist/components/kbd-group/kbd-group.d.ts +0 -4
  146. package/dist/components/kbd-group/kbd-group.stories.d.ts +0 -10
  147. package/dist/components/list/list-types.d.ts +0 -37
  148. package/dist/components/list/list-utils.d.ts +0 -46
  149. package/dist/components/list/list.d.ts +0 -2
  150. package/dist/components/list/list.stories.d.ts +0 -12
  151. package/dist/components/list/list.test.d.ts +0 -0
  152. package/dist/components/menu/anchored-navigation-menu.d.ts +0 -18
  153. package/dist/components/menu/menu-assets.d.ts +0 -2
  154. package/dist/components/menu/menu-types.d.ts +0 -21
  155. package/dist/components/menu/menu.d.ts +0 -8
  156. package/dist/components/menu/stories/anchored-navigation-menu.stories.d.ts +0 -7
  157. package/dist/components/otp/otp-types.d.ts +0 -29
  158. package/dist/components/otp/otp-utils.d.ts +0 -14
  159. package/dist/components/otp/otp.d.ts +0 -3
  160. package/dist/components/otp/otp.stories.d.ts +0 -145
  161. package/dist/components/progress-bar/progress-bar-types.d.ts +0 -25
  162. package/dist/components/progress-bar/progress-bar.d.ts +0 -6
  163. package/dist/components/progress-bar/progress-bar.test.d.ts +0 -1
  164. package/dist/components/progress-bar/stories/progress-bar-example.stories.d.ts +0 -8
  165. package/dist/components/progress-bar/stories/progress-bar.stories.d.ts +0 -10
  166. package/dist/components/radio/radio-types.d.ts +0 -13
  167. package/dist/components/radio/radio.d.ts +0 -7
  168. package/dist/components/radio/radio.test.d.ts +0 -0
  169. package/dist/components/radio/stories/radio-example.stories.d.ts +0 -7
  170. package/dist/components/radio/stories/radio.stories.d.ts +0 -6
  171. package/dist/components/radio-group/radio-group-types.d.ts +0 -29
  172. package/dist/components/radio-group/radio-group.d.ts +0 -7
  173. package/dist/components/radio-group/radio-group.test.d.ts +0 -0
  174. package/dist/components/radio-group/stories/radio-group-example.stories.d.ts +0 -6
  175. package/dist/components/radio-group/stories/radio-group.stories.d.ts +0 -10
  176. package/dist/components/select/select-switch.d.ts +0 -26
  177. package/dist/components/select/select-types.d.ts +0 -35
  178. package/dist/components/select/select.d.ts +0 -4
  179. package/dist/components/select/select.stories.d.ts +0 -20
  180. package/dist/components/select/select.test.d.ts +0 -0
  181. package/dist/components/select/templates/grid-template.d.ts +0 -7
  182. package/dist/components/select/templates/list-template.d.ts +0 -7
  183. package/dist/components/select/templates/preview-dialog-template.d.ts +0 -9
  184. package/dist/components/select/templates/select-template-types.d.ts +0 -12
  185. package/dist/components/selection-grid/selection-grid-types.d.ts +0 -19
  186. package/dist/components/selection-grid/selection-grid.d.ts +0 -7
  187. package/dist/components/selection-grid/stories/selection-grid-example.stories.d.ts +0 -7
  188. package/dist/components/selection-grid/stories/selection-grid.stories.d.ts +0 -10
  189. package/dist/components/tag/tag-types.d.ts +0 -9
  190. package/dist/components/tag/tag.d.ts +0 -3
  191. package/dist/components/tag/tag.stories.d.ts +0 -12
  192. package/dist/components/textarea/textarea-types.d.ts +0 -54
  193. package/dist/components/textarea/textarea.d.ts +0 -3
  194. package/dist/components/textarea/textarea.stories.d.ts +0 -25
  195. package/dist/components/toast-group/toast-group-types.d.ts +0 -5
  196. package/dist/components/toast-group/toast-group.d.ts +0 -4
  197. package/dist/components/toast-group/toast-group.stories.d.ts +0 -6
  198. package/dist/components/typography/typography-types.d.ts +0 -58
  199. package/dist/components/typography/typography.d.ts +0 -3
  200. package/dist/components/typography/typography.stories.d.ts +0 -10
  201. package/dist/custom-components/chat/chat-types.d.ts +0 -18
  202. package/dist/custom-components/chat/chat.d.ts +0 -2
  203. package/dist/custom-components/chat/chat.stories.d.ts +0 -7
  204. package/dist/custom-components/layout/layout-renderers.d.ts +0 -8
  205. package/dist/custom-components/layout/layout-types.d.ts +0 -53
  206. package/dist/custom-components/layout/layout-utils.d.ts +0 -3
  207. package/dist/custom-components/layout/layout-utils.test.d.ts +0 -1
  208. package/dist/custom-components/layout/layout.d.ts +0 -7
  209. package/dist/custom-components/layout/layout.stories.d.ts +0 -7
  210. package/dist/custom-components/layout/layout.test.d.ts +0 -1
  211. package/dist/custom-components/markdown/components/img/zoomable-image.d.ts +0 -4
  212. package/dist/custom-components/markdown/markdown-types.d.ts +0 -28
  213. package/dist/custom-components/markdown/markdown-utils.d.ts +0 -1
  214. package/dist/custom-components/markdown/markdown.d.ts +0 -3
  215. package/dist/custom-components/markdown/markdown.stories.d.ts +0 -6
  216. package/dist/custom-components/mindmap/index.d.ts +0 -2
  217. package/dist/custom-components/mindmap/mind-tree-types.d.ts +0 -93
  218. package/dist/custom-components/mindmap/mind-tree.d.ts +0 -3
  219. package/dist/custom-components/mindmap/reingold-tilford-algorithm.d.ts +0 -64
  220. package/dist/custom-components/mindmap/stories/mind-tree.stories.d.ts +0 -11
  221. package/dist/custom-components/shortcut-tooltip/shortcut-tooltip-types.d.ts +0 -59
  222. package/dist/custom-components/shortcut-tooltip/shortcut-tooltip.d.ts +0 -17
  223. package/dist/custom-components/shortcut-tooltip/stories/shortcut-tooltip.stories.d.ts +0 -10
  224. package/dist/custom-components/timeline/skeleton/timeline-skeleton.d.ts +0 -6
  225. package/dist/custom-components/timeline/timeline-types.d.ts +0 -45
  226. package/dist/custom-components/timeline/timeline.d.ts +0 -19
  227. package/dist/custom-components/timeline/timeline.stories.d.ts +0 -8
  228. package/dist/custom-components/workflow/layout/workflow-edge.d.ts +0 -3
  229. package/dist/custom-components/workflow/layout/workflow-layout-types.d.ts +0 -73
  230. package/dist/custom-components/workflow/layout/workflow-layout.d.ts +0 -37
  231. package/dist/custom-components/workflow/node/workflow-node.d.ts +0 -3
  232. package/dist/custom-components/workflow/panel/workflow-panel-types.d.ts +0 -17
  233. package/dist/custom-components/workflow/panel/workflow-panel.d.ts +0 -3
  234. package/dist/custom-components/workflow/stories/workflow-overlay.stories.d.ts +0 -7
  235. package/dist/custom-components/workflow/stories/workflow-toolbar.stories.d.ts +0 -6
  236. package/dist/custom-components/workflow/stories/workflow.stories.d.ts +0 -7
  237. package/dist/custom-components/workflow/toolbar/workflow-toolbar-types.d.ts +0 -23
  238. package/dist/custom-components/workflow/toolbar/workflow-toolbar.d.ts +0 -3
  239. package/dist/custom-components/workflow/utils/workflow-validation.d.ts +0 -47
  240. package/dist/custom-components/workflow/workflow-types.d.ts +0 -203
  241. package/dist/custom-components/workflow/workflow.d.ts +0 -6
  242. package/dist/data-components/assets/cell-types-asset.d.ts +0 -38
  243. package/dist/data-components/assets/data-components-asset.d.ts +0 -13
  244. package/dist/data-components/assets/finance-asset.d.ts +0 -15
  245. package/dist/data-components/calendar/calendar-types.d.ts +0 -30
  246. package/dist/data-components/calendar/calendar-utils.d.ts +0 -5
  247. package/dist/data-components/calendar/calendar.d.ts +0 -4
  248. package/dist/data-components/calendar/stories/calendar.stories.d.ts +0 -22
  249. package/dist/data-components/card/card-types.d.ts +0 -20
  250. package/dist/data-components/card/card.d.ts +0 -10
  251. package/dist/data-components/card/stories/card.stories.d.ts +0 -13
  252. package/dist/data-components/card-list/card-list-types.d.ts +0 -21
  253. package/dist/data-components/card-list/card-list.d.ts +0 -9
  254. package/dist/data-components/card-list/models/ecommerce.d.ts +0 -12
  255. package/dist/data-components/card-list/stories/card-list.stories.d.ts +0 -29
  256. package/dist/data-components/cell/cell-registry.d.ts +0 -28
  257. package/dist/data-components/cell/cell-types.d.ts +0 -39
  258. package/dist/data-components/cell/cell-utils.d.ts +0 -21
  259. package/dist/data-components/cell/cell.d.ts +0 -2
  260. package/dist/data-components/cell/colors-editor/colors-editor-types.d.ts +0 -15
  261. package/dist/data-components/cell/colors-editor/colors-editor.d.ts +0 -7
  262. package/dist/data-components/cell/stories/cell-all-examples.stories.d.ts +0 -13
  263. package/dist/data-components/cell/test/cell-utils.test.d.ts +0 -1
  264. package/dist/data-components/cell/test/cell.test.d.ts +0 -0
  265. package/dist/data-components/chart/chart-series-edit/chart-series-edit-types.d.ts +0 -22
  266. package/dist/data-components/chart/chart-series-edit/chart-series-edit.d.ts +0 -9
  267. package/dist/data-components/chart/chart-tooltip/chart-tooltip-types.d.ts +0 -13
  268. package/dist/data-components/chart/chart-tooltip/chart-tooltip.d.ts +0 -6
  269. package/dist/data-components/chart/chart-types.d.ts +0 -106
  270. package/dist/data-components/chart/chart-utils.d.ts +0 -27
  271. package/dist/data-components/chart/chart.d.ts +0 -4
  272. package/dist/data-components/chart/chart.stories.d.ts +0 -15
  273. package/dist/data-components/chart/geo/geoChart.d.ts +0 -10
  274. package/dist/data-components/chart/sankey/sankeyChart.d.ts +0 -37
  275. package/dist/data-components/data-component-configurator/data-component-configurator-types.d.ts +0 -35
  276. package/dist/data-components/data-component-configurator/data-component-configurator.d.ts +0 -17
  277. package/dist/data-components/data-component-types.d.ts +0 -10
  278. package/dist/data-components/data-component-utils.d.ts +0 -27
  279. package/dist/data-components/data-structure/data-structure.d.ts +0 -50
  280. package/dist/data-components/data-structure/stories-assets.d.ts +0 -86
  281. package/dist/data-components/filter/filter-engine.d.ts +0 -14
  282. package/dist/data-components/filter/filter-types.d.ts +0 -40
  283. package/dist/data-components/filter/filter-utils.d.ts +0 -43
  284. package/dist/data-components/form/form-types.d.ts +0 -67
  285. package/dist/data-components/form/form.d.ts +0 -3
  286. package/dist/data-components/form/form.test.d.ts +0 -0
  287. package/dist/data-components/form/stories/form-advanced-cells.stories.d.ts +0 -15
  288. package/dist/data-components/form/stories/form-complex.stories.d.ts +0 -7
  289. package/dist/data-components/form/stories/form-dynamic.stories.d.ts +0 -20
  290. package/dist/data-components/form/stories/form-validation-examples.stories.d.ts +0 -7
  291. package/dist/data-components/form/stories/form.stories.d.ts +0 -17
  292. package/dist/data-components/gantt/ai-assistant/gantt-ai-executor.d.ts +0 -8
  293. package/dist/data-components/gantt/ai-assistant/gantt-ai-panel.d.ts +0 -11
  294. package/dist/data-components/gantt/ai-assistant/gantt-ai-schema.d.ts +0 -6
  295. package/dist/data-components/gantt/ai-assistant/gantt-ai-tools.d.ts +0 -2
  296. package/dist/data-components/gantt/arrows/gantt-arrows.d.ts +0 -20
  297. package/dist/data-components/gantt/gantt-context.d.ts +0 -12
  298. package/dist/data-components/gantt/gantt-types.d.ts +0 -101
  299. package/dist/data-components/gantt/gantt-utils.d.ts +0 -60
  300. package/dist/data-components/gantt/gantt.d.ts +0 -3
  301. package/dist/data-components/gantt/hooks/useGanttDrag.d.ts +0 -14
  302. package/dist/data-components/gantt/hooks/useGanttTimeline.d.ts +0 -17
  303. package/dist/data-components/gantt/sidebar/gantt-sidebar-types.d.ts +0 -9
  304. package/dist/data-components/gantt/sidebar/gantt-sidebar.d.ts +0 -2
  305. package/dist/data-components/gantt/stories/gantt-stories-utils.d.ts +0 -12
  306. package/dist/data-components/gantt/stories/gantt.stories.d.ts +0 -20
  307. package/dist/data-components/kpi/kpi-types.d.ts +0 -17
  308. package/dist/data-components/kpi/kpi.d.ts +0 -5
  309. package/dist/data-components/layout/card-layout-presets.d.ts +0 -12
  310. package/dist/data-components/layout/finance/finance-layouts.d.ts +0 -18
  311. package/dist/data-components/layout/finance/kpi-layout-presets.d.ts +0 -35
  312. package/dist/data-components/layout/finance/stories/finance-card-list.stories.d.ts +0 -16
  313. package/dist/data-components/switcher/prop-form/prop-form-adapter.d.ts +0 -9
  314. package/dist/data-components/switcher/prop-form/prop-form-types.d.ts +0 -16
  315. package/dist/data-components/switcher/prop-form/prop-form.d.ts +0 -6
  316. package/dist/data-components/switcher/prop-schema/prop-schema-types.d.ts +0 -58
  317. package/dist/data-components/switcher/prop-schema/prop-schema-utils.d.ts +0 -14
  318. package/dist/data-components/switcher/prop-schema/prop-schema.d.ts +0 -43
  319. package/dist/data-components/switcher/switcher-types.d.ts +0 -59
  320. package/dist/data-components/switcher/switcher.d.ts +0 -12
  321. package/dist/data-components/switcher/switcher.stories.d.ts +0 -7
  322. package/dist/data-components/table-grid/aggregation/aggregation-utils.d.ts +0 -8
  323. package/dist/data-components/table-grid/ai-assistant/ai-assistant-executor.d.ts +0 -8
  324. package/dist/data-components/table-grid/ai-assistant/ai-assistant-mock.d.ts +0 -12
  325. package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel-types.d.ts +0 -13
  326. package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel.d.ts +0 -2
  327. package/dist/data-components/table-grid/ai-assistant/ai-assistant-schema.d.ts +0 -3
  328. package/dist/data-components/table-grid/ai-assistant/ai-assistant-tools.d.ts +0 -5
  329. package/dist/data-components/table-grid/ai-assistant/ai-assistant-types.d.ts +0 -93
  330. package/dist/data-components/table-grid/ai-assistant/ai-assistant-validator.d.ts +0 -4
  331. package/dist/data-components/table-grid/ai-assistant/table-grid-ai.stories.d.ts +0 -9
  332. package/dist/data-components/table-grid/editability/table-grid-editability.stories.d.ts +0 -7
  333. package/dist/data-components/table-grid/external-functionalities/import/csv/autoDetect.d.ts +0 -6
  334. package/dist/data-components/table-grid/external-functionalities/import/csv/createDataStructureFromFile.d.ts +0 -8
  335. package/dist/data-components/table-grid/external-functionalities/import/csv/csvToObj.d.ts +0 -5
  336. package/dist/data-components/table-grid/external-functionalities/import/csv/detectDelimeter.d.ts +0 -5
  337. package/dist/data-components/table-grid/external-functionalities/import/csv/index.d.ts +0 -6
  338. package/dist/data-components/table-grid/external-functionalities/import/csv/inferColumns.d.ts +0 -5
  339. package/dist/data-components/table-grid/external-functionalities/import/csv/parseDelimeted.d.ts +0 -6
  340. package/dist/data-components/table-grid/external-functionalities/import/table-grid-import.stories.d.ts +0 -6
  341. package/dist/data-components/table-grid/footer/table-grid-footer-types.d.ts +0 -4
  342. package/dist/data-components/table-grid/footer/table-grid-footer.d.ts +0 -2
  343. package/dist/data-components/table-grid/formula/evaluator.d.ts +0 -10
  344. package/dist/data-components/table-grid/formula/formula-builder-types.d.ts +0 -7
  345. package/dist/data-components/table-grid/formula/formula-builder.d.ts +0 -2
  346. package/dist/data-components/table-grid/formula/formula.test.d.ts +0 -1
  347. package/dist/data-components/table-grid/formula/index.d.ts +0 -11
  348. package/dist/data-components/table-grid/formula/parser.d.ts +0 -23
  349. package/dist/data-components/table-grid/formula/table-grid-formula.stories.d.ts +0 -9
  350. package/dist/data-components/table-grid/formula/tokenizer.d.ts +0 -15
  351. package/dist/data-components/table-grid/formula/types.d.ts +0 -38
  352. package/dist/data-components/table-grid/grouping/grouping.d.ts +0 -14
  353. package/dist/data-components/table-grid/grouping/table-grid-grouping.stories.d.ts +0 -7
  354. package/dist/data-components/table-grid/header/grouping/group-panel-types.d.ts +0 -6
  355. package/dist/data-components/table-grid/header/grouping/group-panel.d.ts +0 -3
  356. package/dist/data-components/table-grid/header/table-grid-column-menu.d.ts +0 -9
  357. package/dist/data-components/table-grid/header/table-grid-header-types.d.ts +0 -5
  358. package/dist/data-components/table-grid/header/table-grid-header.d.ts +0 -3
  359. package/dist/data-components/table-grid/hooks/use-table.d.ts +0 -2
  360. package/dist/data-components/table-grid/pinning/pinning-utils.d.ts +0 -20
  361. package/dist/data-components/table-grid/pinning/table-grid-pinning.stories.d.ts +0 -17
  362. package/dist/data-components/table-grid/pivot/pivot-config-panel-types.d.ts +0 -16
  363. package/dist/data-components/table-grid/pivot/pivot-config-panel.d.ts +0 -3
  364. package/dist/data-components/table-grid/pivot/pivot-table.d.ts +0 -7
  365. package/dist/data-components/table-grid/pivot/pivot-types.d.ts +0 -52
  366. package/dist/data-components/table-grid/pivot/pivot-utils.d.ts +0 -13
  367. package/dist/data-components/table-grid/pivot/table-grid-pivot.stories.d.ts +0 -15
  368. package/dist/data-components/table-grid/row/table-grid-row-types.d.ts +0 -10
  369. package/dist/data-components/table-grid/row/table-grid-row-utils.d.ts +0 -13
  370. package/dist/data-components/table-grid/row/table-grid-row.d.ts +0 -2
  371. package/dist/data-components/table-grid/selection/selection-types.d.ts +0 -2
  372. package/dist/data-components/table-grid/selection/selection-utils.d.ts +0 -48
  373. package/dist/data-components/table-grid/selection/table-grid-selection.stories.d.ts +0 -9
  374. package/dist/data-components/table-grid/sidebar/table-grid-sidebar-types.d.ts +0 -27
  375. package/dist/data-components/table-grid/sidebar/table-grid-sidebar.d.ts +0 -2
  376. package/dist/data-components/table-grid/sidebar/table-grid-sidebar.stories.d.ts +0 -10
  377. package/dist/data-components/table-grid/sorting/sorting.d.ts +0 -7
  378. package/dist/data-components/table-grid/sorting/table-grid-sorting-groups.stories.d.ts +0 -5
  379. package/dist/data-components/table-grid/sorting/table-grid-sorting.stories.d.ts +0 -6
  380. package/dist/data-components/table-grid/stories/table-grid-columns.stories.d.ts +0 -8
  381. package/dist/data-components/table-grid/stories/table-grid-states.stories.d.ts +0 -8
  382. package/dist/data-components/table-grid/table-context/table-context-types.d.ts +0 -16
  383. package/dist/data-components/table-grid/table-context/table-context.d.ts +0 -2
  384. package/dist/data-components/table-grid/table-grid-context.d.ts +0 -3
  385. package/dist/data-components/table-grid/table-grid-features.stories.d.ts +0 -11
  386. package/dist/data-components/table-grid/table-grid-panels.d.ts +0 -21
  387. package/dist/data-components/table-grid/table-grid-types.d.ts +0 -246
  388. package/dist/data-components/table-grid/table-grid.d.ts +0 -10
  389. package/dist/data-components/table-grid/table-grid.stories.d.ts +0 -14
  390. package/dist/data-components/table-grid/table-utils.d.ts +0 -17
  391. package/dist/data-components/ui-layer/ui-layer-types.d.ts +0 -81
  392. package/dist/data-components/ui-layer/ui-layer-utils.d.ts +0 -12
  393. package/dist/experimental-components/contribution-heatmap/contribution-heatmap-types.d.ts +0 -14
  394. package/dist/experimental-components/contribution-heatmap/contribution-heatmap-utils.d.ts +0 -11
  395. package/dist/experimental-components/contribution-heatmap/contribution-heatmap.d.ts +0 -3
  396. package/dist/experimental-components/contribution-heatmap/contribution-heatmap.stories.d.ts +0 -9
  397. package/dist/experimental-components/dashboard-builder/builder-canvas-hooks.d.ts +0 -46
  398. package/dist/experimental-components/dashboard-builder/builder-canvas.d.ts +0 -33
  399. package/dist/experimental-components/dashboard-builder/dashboard-builder-hooks.d.ts +0 -23
  400. package/dist/experimental-components/dashboard-builder/dashboard-builder-types.d.ts +0 -173
  401. package/dist/experimental-components/dashboard-builder/dashboard-builder-utils.d.ts +0 -37
  402. package/dist/experimental-components/dashboard-builder/dashboard-builder.d.ts +0 -13
  403. package/dist/experimental-components/dashboard-builder/dashboard-builder.stories.d.ts +0 -8
  404. package/dist/experimental-components/dashboard-builder/widget-configurator.d.ts +0 -25
  405. package/dist/experimental-components/dashboard-builder/widget-palette.d.ts +0 -19
  406. package/dist/experimental-components/filter-builder/filter-builder-types.d.ts +0 -11
  407. package/dist/experimental-components/filter-builder/filter-builder.d.ts +0 -11
  408. package/dist/experimental-components/filter-builder/filter-builder.stories.d.ts +0 -15
  409. package/dist/framework-components/appbar/appbar-assets.d.ts +0 -1
  410. package/dist/framework-components/appbar/appbar-types.d.ts +0 -18
  411. package/dist/framework-components/appbar/appbar.d.ts +0 -8
  412. package/dist/framework-components/appbar/appbar.stories.d.ts +0 -6
  413. package/dist/framework-components/blank-slate/blank-slate-types.d.ts +0 -31
  414. package/dist/framework-components/blank-slate/blank-slate.d.ts +0 -10
  415. package/dist/framework-components/blank-slate/blank-slate.stories.d.ts +0 -9
  416. package/dist/framework-components/breadcrumbs/breadcrumbs-types.d.ts +0 -13
  417. package/dist/framework-components/breadcrumbs/breadcrumbs.d.ts +0 -3
  418. package/dist/framework-components/breadcrumbs/breadcrumbs.stories.d.ts +0 -7
  419. package/dist/framework-components/dashboard/dashboard-context.d.ts +0 -11
  420. package/dist/framework-components/dashboard/dashboard-real-world.stories.d.ts +0 -6
  421. package/dist/framework-components/dashboard/dashboard-types.d.ts +0 -47
  422. package/dist/framework-components/dashboard/dashboard-widget-actions.d.ts +0 -0
  423. package/dist/framework-components/dashboard/dashboard-widget-types.d.ts +0 -85
  424. package/dist/framework-components/dashboard/dashboard-widget.d.ts +0 -17
  425. package/dist/framework-components/dashboard/dashboard.d.ts +0 -15
  426. package/dist/framework-components/dashboard/dashboard.stories.d.ts +0 -7
  427. package/dist/framework-components/dashboard/data-engine/aggregation-engine.d.ts +0 -10
  428. package/dist/framework-components/dashboard/data-engine/data-engine-client.d.ts +0 -46
  429. package/dist/framework-components/dashboard/data-engine/data-engine-types.d.ts +0 -118
  430. package/dist/framework-components/dashboard/data-engine/data-engine.d.ts +0 -86
  431. package/dist/framework-components/dashboard/data-engine/data-engine.test.d.ts +0 -1
  432. package/dist/framework-components/dashboard/data-engine/data-engine.worker.d.ts +0 -1
  433. package/dist/framework-components/dashboard/data-engine/field-inference.d.ts +0 -9
  434. package/dist/framework-components/dashboard/data-engine/filter-adapter.d.ts +0 -11
  435. package/dist/framework-components/dashboard/data-engine/index.d.ts +0 -7
  436. package/dist/framework-components/dashboard/data-engine/join-engine.d.ts +0 -16
  437. package/dist/framework-components/drawer/drawer-types.d.ts +0 -6
  438. package/dist/framework-components/drawer/drawer.d.ts +0 -4
  439. package/dist/framework-components/scaffold/scaffold-context.d.ts +0 -3
  440. package/dist/framework-components/scaffold/scaffold-types.d.ts +0 -17
  441. package/dist/framework-components/scaffold/scaffold.d.ts +0 -6
  442. package/dist/framework-components/scaffold/scaffold.stories.d.ts +0 -7
  443. package/dist/framework-components/scaffold/scaffold.test.d.ts +0 -0
  444. package/dist/framework-components/section/section-types.d.ts +0 -15
  445. package/dist/framework-components/section/section.d.ts +0 -8
  446. package/dist/framework-components/section/section.stories.d.ts +0 -6
  447. package/dist/framework-components/sidebar/sidebar-assets.d.ts +0 -1
  448. package/dist/framework-components/sidebar/sidebar-context.d.ts +0 -3
  449. package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo-types.d.ts +0 -5
  450. package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo.d.ts +0 -2
  451. package/dist/framework-components/sidebar/sidebar-types.d.ts +0 -12
  452. package/dist/framework-components/sidebar/sidebar.d.ts +0 -16
  453. package/dist/framework-components/sidebar/sidebar.stories.d.ts +0 -6
  454. package/dist/framework-components/stepper/stepper-types.d.ts +0 -13
  455. package/dist/framework-components/stepper/stepper.d.ts +0 -8
  456. package/dist/framework-components/stepper/stepper.stories.d.ts +0 -7
  457. package/dist/hooks/useDynamicVirtualList.d.ts +0 -75
  458. package/dist/hooks/useEscapeClose.d.ts +0 -2
  459. package/dist/hooks/useFixedVirtualList.d.ts +0 -34
  460. package/dist/hooks/useOverlayAnimation.d.ts +0 -17
  461. package/dist/hooks/useShortcut.d.ts +0 -19
  462. package/dist/hooks/useTour/stories/useTour.stories.d.ts +0 -24
  463. package/dist/hooks/useTour/useTour-context-internal.d.ts +0 -6
  464. package/dist/hooks/useTour/useTour-context.d.ts +0 -9
  465. package/dist/hooks/useTour/useTour-types.d.ts +0 -191
  466. package/dist/hooks/useTour/useTour.d.ts +0 -2
  467. package/dist/providers/ai-assistant/ai-assistant-prompts.d.ts +0 -7
  468. package/dist/providers/ai-assistant/ai-assistant-types.d.ts +0 -77
  469. package/dist/providers/ai-assistant/ai-assistant-validator.d.ts +0 -22
  470. package/dist/providers/ai-assistant/ai-chat-panel-types.d.ts +0 -24
  471. package/dist/providers/ai-assistant/ai-chat-panel.d.ts +0 -2
  472. package/dist/providers/shortcut/shortcut-context.d.ts +0 -6
  473. package/dist/providers/shortcut/shortcut-provider.d.ts +0 -34
  474. package/dist/providers/stories/theme-provider.stories.d.ts +0 -6
  475. package/dist/providers/theme/index.d.ts +0 -3
  476. package/dist/providers/theme/theme-provider-types.d.ts +0 -5
  477. package/dist/providers/theme/themeProvider.d.ts +0 -9
  478. package/dist/restio-ui.cjs.js +0 -201
  479. package/dist/types/global-types.d.ts +0 -51
  480. package/dist/types/storybook-types.d.ts +0 -1
  481. package/dist/utility-components/avatar/avatar-types.d.ts +0 -15
  482. package/dist/utility-components/avatar/avatar.d.ts +0 -4
  483. package/dist/utility-components/avatar/avatar.stories.d.ts +0 -8
  484. package/dist/utility-components/chip/chip-types.d.ts +0 -16
  485. package/dist/utility-components/chip/chip.d.ts +0 -3
  486. package/dist/utility-components/chip/chip.stories.d.ts +0 -10
  487. package/dist/utility-components/helper-text/helper-text-types.d.ts +0 -19
  488. package/dist/utility-components/helper-text/helper-text.d.ts +0 -2
  489. package/dist/utility-components/helper-text/helper-text.stories.d.ts +0 -10
  490. package/dist/utility-components/helper-text/helper-text.test.d.ts +0 -1
  491. package/dist/utility-components/icon/icon-assets.d.ts +0 -1
  492. package/dist/utility-components/icon/icon-types.d.ts +0 -23
  493. package/dist/utility-components/icon/icon.d.ts +0 -3
  494. package/dist/utility-components/icon/stories/icon.stories.d.ts +0 -10
  495. package/dist/utility-components/label/label-types.d.ts +0 -18
  496. package/dist/utility-components/label/label.d.ts +0 -2
  497. package/dist/utility-components/label/label.test.d.ts +0 -1
  498. package/dist/utility-components/overlay-panel/overlay-panel-footer/overlay-panel-footer-types.d.ts +0 -6
  499. package/dist/utility-components/overlay-panel/overlay-panel-footer/overlay-panel-footer.d.ts +0 -4
  500. package/dist/utility-components/overlay-panel/overlay-panel-header/overlay-panel-header-types.d.ts +0 -12
  501. package/dist/utility-components/overlay-panel/overlay-panel-header/overlay-panel-header.d.ts +0 -4
  502. package/dist/utility-components/overlay-panel/overlay-panel-types.d.ts +0 -65
  503. package/dist/utility-components/overlay-panel/overlay-panel.d.ts +0 -3
  504. package/dist/utility-components/overlay-panel/overlay-panel.stories.d.ts +0 -13
  505. package/dist/utility-components/overlay-panel/use-focus-trap.d.ts +0 -7
  506. package/dist/utility-components/skeleton/skeleton-types.d.ts +0 -6
  507. package/dist/utility-components/skeleton/skeleton.d.ts +0 -3
  508. package/dist/utility-components/skeleton/stories/skeleton.stories.d.ts +0 -9
  509. package/dist/utility-components/stack/stack-types.d.ts +0 -10
  510. package/dist/utility-components/stack/stack.d.ts +0 -7
  511. package/dist/utility-components/stack/stack.stories.d.ts +0 -4
  512. package/dist/utility-components/toast/toast-types.d.ts +0 -8
  513. package/dist/utility-components/toast/toast.d.ts +0 -4
  514. package/dist/utility-components/toast/toast.stories.d.ts +0 -8
  515. package/dist/utils/general.d.ts +0 -8
  516. package/dist/utils/shortcut-utils.d.ts +0 -43
  517. package/dist/vitest.setup.d.ts +0 -0
@@ -0,0 +1,760 @@
1
+ import * as React$1 from 'react';
2
+ import React__default, { ReactNode, Ref } from 'react';
3
+
4
+ interface AppBarProps {
5
+ children: React__default.ReactNode;
6
+ className?: string;
7
+ }
8
+ interface AppBarTitleProps {
9
+ children: React__default.ReactNode;
10
+ className?: string;
11
+ }
12
+ interface AppBarActionsProps {
13
+ children: React__default.ReactNode;
14
+ className?: string;
15
+ }
16
+ interface AppBarMenuButtonProps {
17
+ onClick?: () => void;
18
+ className?: string;
19
+ 'aria-label'?: string;
20
+ }
21
+
22
+ declare const AppBar: React__default.FC<AppBarProps> & {
23
+ Title: React__default.FC<AppBarTitleProps>;
24
+ Actions: React__default.FC<AppBarActionsProps>;
25
+ MenuButton: React__default.FC<AppBarMenuButtonProps>;
26
+ };
27
+
28
+ interface BreadcrumbItem {
29
+ label: string;
30
+ value?: string;
31
+ onClick?: () => void;
32
+ }
33
+ interface BreadcrumbsProps extends React.HTMLAttributes<HTMLDivElement> {
34
+ items: BreadcrumbItem[];
35
+ /**
36
+ * Number of items before collapsing into menu
37
+ * Default is 3. If items count exceeds this, middle items collapse
38
+ */
39
+ collapsThreshold?: number;
40
+ }
41
+
42
+ declare const Breadcrumbs: React__default.FC<BreadcrumbsProps>;
43
+
44
+ /** OverlayPanelPosition defines the possible positions for the OverlayPanel. */
45
+ type OverlayPanelPosition = "center" | "left" | "right" | "top" | "bottom";
46
+
47
+ interface DrawerProps {
48
+ children: ReactNode;
49
+ side?: Extract<OverlayPanelPosition, "left" | "right">;
50
+ }
51
+
52
+ declare const Drawer: React__default.FC<DrawerProps>;
53
+
54
+ type SidebarLogoProps = {
55
+ logo: string;
56
+ /** Called when the logo button is clicked (e.g. to navigate home). */
57
+ onClick?: () => void;
58
+ };
59
+
60
+ /** Interface for an option in a component */
61
+ interface Option {
62
+ value: string;
63
+ /** Human-readable label shown in the UI; falls back to `value` when omitted. */
64
+ label?: string;
65
+ id?: string;
66
+ leadingVisual?: string;
67
+ imageSrc?: string;
68
+ imageAlt?: string;
69
+ description?: string;
70
+ disabled?: boolean;
71
+ children?: Option[];
72
+ onClick?: (option: Option) => void;
73
+ }
74
+ /** Sizing values */
75
+ type Size = "extraSmall" | "small" | "default" | "large" | "extraLarge";
76
+ /** State for component */
77
+ type State = "base" | "success" | "warning" | "danger" | "info" | "idle";
78
+ declare const CellType: {
79
+ readonly SELECT: "SELECT";
80
+ readonly MULTI_SELECT: "MULTI_SELECT";
81
+ readonly BUTTON_GROUP: "BUTTON_GROUP";
82
+ readonly TEXT: "TEXT";
83
+ readonly TEXTAREA: "TEXTAREA";
84
+ readonly NUMBER: "NUMBER";
85
+ readonly DATE: "DATE";
86
+ readonly DATE_RANGE: "DATE_RANGE";
87
+ readonly IMAGE: "IMAGE";
88
+ readonly TABLE_GRID: "TABLE_GRID";
89
+ readonly CHART: "CHART";
90
+ readonly CHART_SERIES: "CHART_SERIES";
91
+ readonly PROGRESS: "PROGRESS";
92
+ readonly CHECKBOX_GROUP: "CHECKBOX_GROUP";
93
+ readonly CHECKBOX: "CHECKBOX";
94
+ readonly RADIO_GROUP: "RADIO_GROUP";
95
+ readonly COLORS: "COLORS";
96
+ readonly SPARKLINE: "SPARKLINE";
97
+ readonly BUTTON_DROPDOWN: "BUTTON_DROPDOWN";
98
+ readonly BUTTON: "BUTTON";
99
+ readonly TAG: "TAG";
100
+ };
101
+ type CellType = typeof CellType[keyof typeof CellType];
102
+ /** Responsive layout breakpoint */
103
+ type Breakpoint = 'mobile' | 'tablet' | 'desktop';
104
+
105
+ interface MenuItem {
106
+ id?: string;
107
+ label?: string;
108
+ leadingVisual?: string;
109
+ disabled?: boolean;
110
+ children?: MenuItem[];
111
+ onClick?: (item: MenuItem) => void;
112
+ type?: "item" | "separator";
113
+ shortcut?: string[];
114
+ content?: React__default.ReactNode;
115
+ }
116
+
117
+ type SidebarProps = {
118
+ children: ReactNode;
119
+ };
120
+ type SectionProps$1 = {
121
+ title?: string;
122
+ children: ReactNode;
123
+ };
124
+ type UserProps = {
125
+ avatar: ReactNode;
126
+ name: string;
127
+ };
128
+
129
+ declare const Sidebar: {
130
+ ({ children }: SidebarProps): React$1.JSX.Element;
131
+ displayName: string;
132
+ Logo: ({ logo, onClick }: SidebarLogoProps) => React$1.JSX.Element;
133
+ Item: ({ leadingVisual, label, shortcut, disabled, onClick }: MenuItem) => React$1.JSX.Element | null;
134
+ Section: ({ title, children }: SectionProps$1) => React$1.JSX.Element;
135
+ User: ({ avatar, name }: UserProps) => React$1.JSX.Element;
136
+ };
137
+
138
+ type StepperStepState = "idle" | "active" | "done";
139
+ interface StepperItem {
140
+ /** Unique identifier for the step. */
141
+ value: string;
142
+ /** Display label shown next to the marker. */
143
+ label: string;
144
+ }
145
+ interface StepperProps extends React.HTMLAttributes<HTMLElement> {
146
+ /** Ordered list of steps to render. */
147
+ items: StepperItem[];
148
+ /** The value of the current step. Steps before this are marked as done. */
149
+ current: string;
150
+ }
151
+
152
+ /**
153
+ * Horizontal stepper rendering ordered steps with idle/active/done states, each as a
154
+ * `Tag`. Steps before `current` are marked done automatically.
155
+ */
156
+ declare const Stepper: React__default.FC<StepperProps>;
157
+
158
+ interface ScaffoldProps {
159
+ children: React__default.ReactNode;
160
+ defaultSidebarOpen?: boolean;
161
+ className?: string;
162
+ }
163
+ interface ScaffoldContentProps {
164
+ children: React__default.ReactNode;
165
+ className?: string;
166
+ }
167
+ interface ScaffoldContextValue {
168
+ isSidebarOpen: boolean;
169
+ toggleSidebar: () => void;
170
+ setSidebarOpen: (open: boolean) => void;
171
+ isMobile: boolean;
172
+ }
173
+
174
+ declare const Scaffold: React__default.FC<ScaffoldProps> & {
175
+ Content: React__default.FC<ScaffoldContentProps>;
176
+ };
177
+
178
+ declare const useScaffold: () => ScaffoldContextValue;
179
+
180
+ interface SectionProps {
181
+ /** The title displayed at the top of the section */
182
+ title: string;
183
+ /** Optional subtitle displayed below the title */
184
+ subtitle?: string;
185
+ /** Optional icon name (bundled SVG) shown before the title in the header */
186
+ icon?: string;
187
+ /** Optional actions rendered on the right side of the header */
188
+ headerActions?: React__default.ReactNode;
189
+ /** The content rendered inside the section body */
190
+ children: React__default.ReactNode;
191
+ /** Additional CSS class names */
192
+ className?: string;
193
+ }
194
+
195
+ /**
196
+ * Section is a layout container that groups content with a title and optional subtitle.
197
+ * It features a box-shadow to visually separate zones within a page.
198
+ */
199
+ declare const Section: React__default.FC<SectionProps>;
200
+
201
+ interface BlankSlateProps {
202
+ children: React__default.ReactNode;
203
+ className?: string;
204
+ }
205
+ interface BlankSlateGraphicProps {
206
+ src: string;
207
+ alt?: string;
208
+ }
209
+ interface BlankSlateHeadingProps {
210
+ children: React__default.ReactNode;
211
+ }
212
+ interface BlankSlateDescriptionProps {
213
+ children: React__default.ReactNode;
214
+ }
215
+ interface BlankSlateActionsProps {
216
+ children: React__default.ReactNode;
217
+ }
218
+ interface BlankSlateAction {
219
+ label: string;
220
+ variant?: "primary" | "base";
221
+ onClick: () => void;
222
+ leadingVisual?: string;
223
+ }
224
+ interface BlankSlatePreset {
225
+ graphic: string;
226
+ heading: string;
227
+ description: string;
228
+ primaryAction: BlankSlateAction;
229
+ secondaryAction?: BlankSlateAction;
230
+ }
231
+
232
+ declare const BlankSlate: React__default.FC<BlankSlateProps> & {
233
+ Graphic: React__default.FC<BlankSlateGraphicProps>;
234
+ Heading: React__default.FC<BlankSlateHeadingProps>;
235
+ Description: React__default.FC<BlankSlateDescriptionProps>;
236
+ Actions: React__default.FC<BlankSlateActionsProps>;
237
+ Preset: React__default.FC<BlankSlatePreset>;
238
+ };
239
+
240
+ interface DateRange {
241
+ from: Date | undefined;
242
+ to: Date | undefined;
243
+ }
244
+
245
+ type FilterColumnType = "string" | "number" | "date" | "boolean";
246
+ type StringOperator = "equals" | "not_equals" | "contains" | "starts_with" | "ends_with" | "in" | "not_in" | "is_null" | "is_not_null";
247
+ type NumberOperator = "equals" | "not_equals" | "greater" | "greater_equals" | "less" | "less_equals" | "in" | "not_in" | "is_null" | "is_not_null";
248
+ type DateOperator = "equals" | "not_equals" | "after" | "after_or_on" | "before" | "before_or_on" | "between" | "is_null" | "is_not_null";
249
+ type BooleanOperator = "is_true" | "is_false" | "is_null" | "is_not_null";
250
+ type FilterOperator = StringOperator | NumberOperator | DateOperator | BooleanOperator;
251
+ type FilterValue = string | string[] | number | number[] | Date | boolean | DateRange | null;
252
+ interface FilterFieldProp {
253
+ /** Matches ColumnDef id or accessorKey (stringified) */
254
+ id: string;
255
+ /** Human-readable label (from ColumnDef.header) */
256
+ label: string;
257
+ /** Column data type used to pick operators and value input */
258
+ type: FilterColumnType;
259
+ /** Available values for `in` / `not_in` operators (from CellType.SELECT / MULTI_SELECT columns) */
260
+ availableOptions?: Option[];
261
+ }
262
+ /**
263
+ * Per-field read-only flags for a condition. Each flag locks a single
264
+ */
265
+ interface ConditionReadOnly {
266
+ /** Locks the field selector (first dropdown). */
267
+ field?: boolean;
268
+ /** Locks the operator selector (second dropdown). */
269
+ operator?: boolean;
270
+ /** Locks the value input. */
271
+ value?: boolean;
272
+ /** Hides the delete button. */
273
+ delete?: boolean;
274
+ }
275
+ interface FilterCondition {
276
+ type: "condition";
277
+ field: FilterFieldProp;
278
+ operator: FilterOperator;
279
+ value: FilterValue;
280
+ /** Optional per-field read-only flags (stored on the condition, not global). */
281
+ readOnly?: ConditionReadOnly;
282
+ }
283
+ interface FilterGroup {
284
+ type: "group";
285
+ logic: "and" | "or";
286
+ filters: FilterNode[];
287
+ }
288
+ /** Recursive union — use `node.type` to discriminate */
289
+ type FilterNode = FilterCondition | FilterGroup;
290
+ interface OperatorOption {
291
+ value: FilterOperator;
292
+ label: string;
293
+ }
294
+
295
+ interface BaseTypographyProps {
296
+ /**
297
+ * Prefer children when rendering rich/nested content
298
+ */
299
+ children?: React__default.ReactNode;
300
+ variant: TypographyVariant;
301
+ /**
302
+ * Flag to indicate if the component is disabled.
303
+ * @optional
304
+ */
305
+ disabled?: boolean;
306
+ /**
307
+ * Optional color string i can pass to the text
308
+ * @optional
309
+ */
310
+ color?: string;
311
+ /**
312
+ * Font weight applied to the text.
313
+ * @optional
314
+ */
315
+ fontWeight?: string | number;
316
+ /**
317
+ * Font style applied to the text.
318
+ * @optional
319
+ */
320
+ fontStyle?: string;
321
+ /**
322
+ * Text decoration applied to the text.
323
+ * @optional
324
+ */
325
+ textDecoration?: string;
326
+ }
327
+ type TypographyVariant = "display" | "heading" | "body" | "label" | "code" | "subtitle" | "title" | "caption" | "article-h1" | "article-h2" | "article-h3" | "article-h4" | "article-body" | "article-code" | "article-quote" | "article-caption" | "article-list";
328
+
329
+ interface IconProps {
330
+ /**
331
+ * Icon name for SVG file or URL for image
332
+ */
333
+ src: string;
334
+ /**
335
+ * Manage disabled state
336
+ */
337
+ disabled?: boolean;
338
+ /**
339
+ * Manage disabled state
340
+ */
341
+ state?: State;
342
+ /**
343
+ * Width of the icon
344
+ */
345
+ width?: string;
346
+ /**
347
+ * Height of the icon
348
+ */
349
+ height?: string;
350
+ }
351
+
352
+ interface ProgressBarProps {
353
+ /** Current progress value */
354
+ value: number;
355
+ /** Minimum value of the range. Defaults to 0. */
356
+ min?: number;
357
+ /** Maximum value of the range. Defaults to 100. */
358
+ max?: number;
359
+ /** Visual variant for color theming */
360
+ variant?: State;
361
+ /** Whether the progress bar is in an indeterminate loading state */
362
+ indeterminate?: boolean;
363
+ /** Whether to show the header with percentage (left) and value (right) above the bar */
364
+ showLabel?: boolean;
365
+ /** Custom label text (overrides the percentage on the left) */
366
+ label?: string;
367
+ /** Custom formatter for the value shown on the right */
368
+ formatValue?: (value: number) => string;
369
+ /** Height of the progress bar */
370
+ height?: number;
371
+ /** Whether the component is disabled */
372
+ disabled?: boolean;
373
+ /** Additional CSS class name */
374
+ className?: string;
375
+ }
376
+
377
+ /**
378
+ * Maps each CellType to the component props accepted by `uiVariant`, so TypeScript
379
+ * only allows props the underlying component understands.
380
+ */
381
+ type CellUIVariantMap = {
382
+ [K in CellType]: K extends "IMAGE" ? Partial<Omit<IconProps, "src">> : K extends "TAG" ? Partial<{
383
+ state: State;
384
+ size: Size;
385
+ }> : K extends "PROGRESS" ? Partial<Pick<ProgressBarProps, "variant" | "showLabel" | "height">> : Partial<Omit<BaseTypographyProps, "children" | "variant">>;
386
+ };
387
+ /**
388
+ * Given a tuple of `DataStructureColumn`, produces a union of
389
+ * `{ columnId: string; cellType: CellType }` entries.
390
+ */
391
+ type ColumnTypeMap<TData, TColumns extends readonly DataStructureColumn<TData>[]> = {
392
+ [K in keyof TColumns]: TColumns[K] extends DataStructureColumn<TData> ? {
393
+ columnId: TColumns[K]["id"] extends string ? TColumns[K]["id"] : string;
394
+ cellType: TColumns[K]["cellType"] extends CellType ? TColumns[K]["cellType"] : CellType;
395
+ } : never;
396
+ }[number];
397
+ /**
398
+ * Looks up the `cellType` for a given `columnId` from a columns array.
399
+ * Falls back to `CellType` if not found.
400
+ */
401
+ type LookupCellType<TData, TColumns extends readonly DataStructureColumn<TData>[], TId extends string> = Extract<ColumnTypeMap<TData, TColumns>, {
402
+ columnId: TId;
403
+ }> extends {
404
+ cellType: infer R;
405
+ } ? R extends CellType ? R : CellType : CellType;
406
+ /** Comparison operators for AST-like UI rules */
407
+ type UIRuleOperator = "==" | "!=" | ">" | ">=" | "<" | "<=" | "includes" | "startsWith" | "endsWith" | "isEmpty" | "isNotEmpty";
408
+ /**
409
+ * A declarative styling rule evaluated against a row, compiled once into a fast
410
+ * evaluator. Omitting `field` and `op` makes it a static rule that always matches.
411
+ *
412
+ * @example conditional
413
+ * { field: "price", op: ">", value: 100, uiVariant: { color: "var(--rst-color-success)", fontWeight: "bold" } }
414
+ *
415
+ * @example static (always applies)
416
+ * { uiVariant: { color: "red" } }
417
+ */
418
+ interface DataStructureUIRule<TData, K extends CellType = CellType> {
419
+ /** Which field to evaluate — omit for a static rule that always matches */
420
+ field?: keyof TData;
421
+ /** Comparison operator — omit for a static rule that always matches */
422
+ op?: UIRuleOperator;
423
+ /** Comparison value (not needed for isEmpty / isNotEmpty) */
424
+ value?: unknown;
425
+ /**
426
+ * Component-specific props forwarded to the underlying renderer.
427
+ * TypeScript enforces the correct props based on the column's `cellType`.
428
+ */
429
+ uiVariant?: CellUIVariantMap[K];
430
+ }
431
+ /**
432
+ * Per-column UI configuration.
433
+ * Matches a schema column via `columnId` (same as `DataStructureColumn.id` or `accessorKey`).
434
+ */
435
+ interface DataStructureUIColumn<TData, TColumns extends readonly DataStructureColumn<TData>[] = DataStructureColumn<TData>[], TId extends string = string> {
436
+ /** Matches `DataStructureColumn.id` or `accessorKey` */
437
+ columnId: TId;
438
+ /** Ordered rules — first match wins. Rules without `field`/`op` always match. */
439
+ rules?: DataStructureUIRule<TData, LookupCellType<TData, TColumns, TId>>[];
440
+ }
441
+ /**
442
+ * Top-level UI configuration passed to any data-component.
443
+ * `TColumns` is inferred from the `columns` prop — `cellType` is looked up automatically.
444
+ */
445
+ interface DataStructureUIConfig<TData, TColumns extends readonly DataStructureColumn<TData>[] = DataStructureColumn<TData>[]> {
446
+ columns?: DataStructureUIColumn<TData, TColumns, string>[];
447
+ /** Container-level styling applied to the component root (e.g. Card state). */
448
+ container?: DataStructureUIContainer;
449
+ }
450
+ /** Container-level UI configuration.*/
451
+ interface DataStructureUIContainer {
452
+ /** Component-specific props forwarded to the container root renderer. */
453
+ uiVariant?: Record<string, unknown>;
454
+ }
455
+
456
+ interface DataStructureColumn<TData, TValue = TData[keyof TData]> {
457
+ /** Unique identifier for the column */
458
+ id?: string;
459
+ /** Display header text */
460
+ header?: string;
461
+ /** Simple accessor key for primitive values */
462
+ accessorKey?: keyof TData;
463
+ /** Optional: options for select inputs */
464
+ options?: Option[];
465
+ /** Formula string using column IDs as references */
466
+ formula?: string;
467
+ /** Enable editing for this column */
468
+ enableEditing?: boolean;
469
+ /** Optional: mark field as required */
470
+ required?: boolean;
471
+ /** Disable editing for this column */
472
+ disabled?: boolean;
473
+ /** Function accessor for complex values */
474
+ accessorFn?: (row: TData) => TValue;
475
+ /** Visual representation type for cells with options or specific data types */
476
+ cellType?: CellType;
477
+ /** Helper text shown below the field (e.g. "Opzionale", "Usa +/− per il segno"). */
478
+ helperText?: string;
479
+ /**
480
+ * Column-level config for the component named by `cellType` (e.g. ChartProps for
481
+ * CHART). `data` and `columns` are excluded — they come from the cell value and schema.
482
+ */
483
+ columnConfig?: Record<string, unknown>;
484
+ /**
485
+ * Called when an interactive cell (e.g. BUTTON) fires an action; the first argument
486
+ * is the action id (for BUTTON, `option.value`).
487
+ */
488
+ onCellClick?: (actionId: string, rowData: TData, column: DataStructureColumn<TData, TValue>) => void;
489
+ }
490
+
491
+ /**
492
+ * Derives `FilterFieldProp[]` from column definitions, skipping columns without a
493
+ * resolvable ID or header and populating options from SELECT / BUTTON_GROUP columns.
494
+ */
495
+ declare function fieldOptionsFromColumns<TData>(columns: DataStructureColumn<TData>[]): FilterFieldProp[];
496
+ /** Returns the available operator options for a given column type. */
497
+ declare function getOperatorsForType(type: FilterColumnType): OperatorOption[];
498
+ /** Returns the default (first) operator for a given column type. */
499
+ declare function getDefaultOperator(type: FilterColumnType): OperatorOption;
500
+ /** Creates an empty root `FilterGroup` with AND logic and no conditions. */
501
+ declare function emptyFilterGroup(): FilterGroup;
502
+ /** Creates a blank `FilterCondition` for the given field. */
503
+ declare function emptyCondition(field: FilterFieldProp): FilterCondition;
504
+ /** Returns `true` when the filter tree contains at least one non-empty condition. */
505
+ declare function isFilterActive(filter: FilterGroup | null): boolean;
506
+ /** Replaces the node at `path` indices within a `FilterGroup` tree. */
507
+ declare function updateNodeAtPath(root: FilterGroup, path: number[], updater: (node: FilterNode) => FilterNode): FilterGroup;
508
+ /** Removes the node at `path` from a `FilterGroup` tree. */
509
+ declare function removeNodeAtPath(root: FilterGroup, path: number[]): FilterGroup;
510
+ /** Appends a node at the end of the group identified by `path`. */
511
+ declare function addNodeAtPath(root: FilterGroup, path: number[], node: FilterNode): FilterGroup;
512
+ /**
513
+ * Strips conditions whose `field.id` is not present in `columns`.
514
+ * Groups with no surviving children are pruned.
515
+ */
516
+ declare function stripByFields<TData>(filter: FilterGroup | null, columns: DataStructureColumn<TData>[]): FilterGroup | null;
517
+ /**
518
+ * Merges a global filter tree with a per-section filter tree.
519
+ */
520
+ declare function mergeFilters<TData>(global: FilterGroup | null, section: FilterGroup | null, columns: DataStructureColumn<TData>[]): FilterGroup | null;
521
+ /**
522
+ * Counts top-level filter nodes inside a `FilterGroup`.
523
+ * Empty groups do not count.
524
+ */
525
+ declare function countTopLevelFilters(filter: FilterGroup | null): number;
526
+ /**
527
+ * Counts ACTIVE conditions per `field.id` across the whole tree. Fields with zero active conditions are omitted. */
528
+ declare function countActiveConditionsByField(filter: FilterGroup | null): Map<string, number>;
529
+ /** Removes every condition with the given `field.id`, pruning groups left empty by the removal. Immutable — returns a new tree. */
530
+ declare function removeFieldFilters(root: FilterGroup, fieldId: string): FilterGroup;
531
+ /**
532
+ * Counts active top-level filters across a map of per-data-source filter groups.
533
+ */
534
+ declare function countTopLevelFiltersMap(filters: Record<string, FilterGroup | null> | null): number;
535
+
536
+ /**
537
+ * Filters `data` with a `FilterGroup` AST, returning the same array reference when
538
+ * the filter is null or empty. Values resolve via `accessorFn` or `accessorKey`.
539
+ *
540
+ * @example
541
+ * const visible = applyFilter(data, filterGroup, columns);
542
+ */
543
+ declare function applyFilter<TData>(data: TData[], filter: FilterGroup | null, columns: DataStructureColumn<TData>[]): TData[];
544
+
545
+ interface FilterBuilderProps {
546
+ readonly filters: FilterGroup;
547
+ readonly onChange: (filters: FilterGroup) => void;
548
+ readonly fieldOptions: FilterFieldProp[];
549
+ readonly ref?: Ref<HTMLDivElement>;
550
+ readonly onClose?: () => void;
551
+ readonly isReadOnly?: boolean;
552
+ }
553
+ declare const FilterBuilder: React.FC<FilterBuilderProps>;
554
+
555
+ interface FilterConditionEditorProps {
556
+ readonly condition: FilterCondition;
557
+ readonly onChange: (condition: FilterCondition) => void;
558
+ readonly fieldOptions: FilterFieldProp[];
559
+ readonly onDelete?: () => void;
560
+ /** Enables the guided step-by-step flow (field → operator → value). */
561
+ readonly guided?: boolean;
562
+ /** Called when the guided flow completes (value chosen / valueless operator). */
563
+ readonly onGuidedComplete?: () => void;
564
+ }
565
+ /**
566
+ * Shared row-level filter editor (field → operator → value), used by both `FilterBuilder`
567
+ * and `FilterField`. Each piece can be locked, and `guided` walks the user through the steps.
568
+ */
569
+ declare const FilterConditionEditor: React.FC<FilterConditionEditorProps>;
570
+
571
+ interface FilterFieldProps {
572
+ /** Current filter group (AND at top level; single conditions only). */
573
+ readonly filters: FilterGroup;
574
+ /** Called whenever a condition is added, edited, or removed. */
575
+ readonly onChange: (filters: FilterGroup) => void;
576
+ /** Available fields derived from columns (via `fieldOptionsFromColumns`). */
577
+ readonly fields: FilterFieldProp[];
578
+ /** Disables all editing controls when `true`. */
579
+ readonly readOnly?: boolean;
580
+ /** Maximum number of conditions rendered inline.*/
581
+ readonly maxVisible?: number;
582
+ }
583
+
584
+ declare const FilterField: React.FC<FilterFieldProps>;
585
+
586
+ /** Horizontal alignment: main axis for flex, inside the cell for grid */
587
+ type alignX = 'start' | 'center' | 'end' | 'space-between' | 'space-around';
588
+ /** Vertical alignment: cross axis for flex, inside the cell for grid */
589
+ type alignY = 'start' | 'center' | 'end' | 'stretch';
590
+ /** Leaf node: renders content through `renderBlock(fieldId)` */
591
+ type BlockNode = {
592
+ type: 'block';
593
+ /** Identifier passed to `renderBlock` to resolve this block's content */
594
+ fieldId: string;
595
+ };
596
+ /** A child placed on a grid cell, with its position, span and content alignment */
597
+ type GridChild = {
598
+ node: LayoutNode;
599
+ /** Column to start at (1-based) */
600
+ col: number;
601
+ /** Row to start at (1-based) */
602
+ row: number;
603
+ /** Number of columns to span */
604
+ w: number;
605
+ /** Number of rows to span */
606
+ h: number;
607
+ /** Alignment of the content inside the cell */
608
+ alignX?: alignX;
609
+ /** Alignment of the content inside the cell */
610
+ alignY?: alignY;
611
+ };
612
+ /** Grid container: positions children on a column/row matrix */
613
+ type GridContainer = {
614
+ type: 'grid';
615
+ /** Number of equal-width columns */
616
+ columns: number;
617
+ /** Number of rows; omit to size rows automatically */
618
+ rows?: number;
619
+ /** Space between children, in units of 0.25rem (`8` = 2rem) */
620
+ gap?: number;
621
+ children: GridChild[];
622
+ };
623
+ /** Flex container: lays children out along one axis */
624
+ type FlexContainer = {
625
+ type: 'flex';
626
+ /** Main axis; defaults to `row` */
627
+ direction?: 'row' | 'column';
628
+ /** Space between children, in units of 0.25rem (`8` = 2rem) */
629
+ gap?: number;
630
+ /** Alignment along the main axis */
631
+ alignX?: alignX;
632
+ /** Alignment along the cross axis */
633
+ alignY?: alignY;
634
+ children: LayoutNode[];
635
+ };
636
+ /** Any node in a layout tree */
637
+ type LayoutNode = BlockNode | GridContainer | FlexContainer;
638
+ /** One layout tree per breakpoint; every breakpoint is required, with no fallback between them */
639
+ type ResponsiveLayout = {
640
+ [K in Breakpoint]: LayoutNode;
641
+ };
642
+
643
+ /**
644
+ * Props for the Dashboard orchestrator, which feeds global filters (keyed by data
645
+ * source id) to every child DashboardWidget and lays them out with the Layout system.
646
+ */
647
+ interface DashboardProps {
648
+ /**
649
+ * Global filter trees keyed by data source id. Each widget merges the entry matching
650
+ * its own data source with its per-section filters.
651
+ */
652
+ filters: Record<string, FilterGroup | null> | null;
653
+ /** Called when a data-source filter tree changes (key + new tree) */
654
+ onFilterChange: (dataSourceId: string, filters: FilterGroup | null) => void;
655
+ /** Responsive layout configuration (mobile / tablet / desktop breakpoints) */
656
+ layout: ResponsiveLayout;
657
+ /**
658
+ * FilterBuilder fields keyed by data source id, each shown as its own tab in the global
659
+ * filter overlay. Required when `enableFilter` is true.
660
+ */
661
+ fieldOptions?: Record<string, FilterFieldProp[]>;
662
+ /** Show a filter button that opens the FilterBuilder overlay */
663
+ enableFilter?: boolean;
664
+ /** DashboardWidget children */
665
+ children: ReactNode;
666
+ /** Additional CSS class name */
667
+ className?: string;
668
+ }
669
+ /**
670
+ * Value provided by DashboardContext to all child DashboardWidgets.
671
+ */
672
+ interface DashboardContextValue {
673
+ /** The global filter trees keyed by data source id */
674
+ filters: Record<string, FilterGroup | null> | null;
675
+ /** Update a single data-source filter tree */
676
+ onFilterChange: (dataSourceId: string, filters: FilterGroup | null) => void;
677
+ }
678
+
679
+ /**
680
+ * Top-level orchestrator for a page of data widgets: shares global filters with every
681
+ * child DashboardWidget (keyed by data source id) and arranges them with the Layout system.
682
+ */
683
+ declare const Dashboard: React__default.FC<DashboardProps>;
684
+
685
+ /**
686
+ * Reads the DashboardContext, returning the current filters and `onFilterChange`,
687
+ * or null outside a Dashboard.
688
+ */
689
+ declare function useDashboard(): DashboardContextValue | null;
690
+
691
+ /**
692
+ * Filtered data payload passed to the DashboardWidget render prop.
693
+ */
694
+ interface DashboardWidgetRenderPayload<TData> {
695
+ /** Data filtered by the global dashboard filters */
696
+ data: TData[];
697
+ }
698
+ /**
699
+ * Props for DashboardWidget. Passthrough mode takes only `data` and uses it as-is;
700
+ * legacy mode takes `data` + `columns` and applies global filters client-side.
701
+ */
702
+ interface DashboardWidgetProps<TData> {
703
+ /** Unique identifier for this widget (used as Layout block key) */
704
+ id: string;
705
+ /** Widget title displayed in the Section header */
706
+ title: string;
707
+ /**
708
+ * Data source id that picks this widget's entry from the dashboard's per-source
709
+ * filter map. Required to receive global filters.
710
+ */
711
+ dataSourceId?: string;
712
+ /** Optional subtitle displayed below the title */
713
+ subtitle?: string;
714
+ /** Optional icon name (bundled SVG) shown before the title in the Section header */
715
+ icon?: string;
716
+ /**
717
+ * Data for this widget: alone it is used as-is (passthrough); with `columns`,
718
+ * global filters are applied client-side.
719
+ */
720
+ data?: TData[];
721
+ /**
722
+ * Column definitions. When provided, global dashboard filters are
723
+ * applied client-side via `applyFilter()`. Omit for passthrough mode.
724
+ */
725
+ columns?: DataStructureColumn<TData>[];
726
+ /** Optional UI config for conditional styling */
727
+ uiConfig?: DataStructureUIConfig<TData>;
728
+ /** Render prop receiving filtered data */
729
+ children: (payload: DashboardWidgetRenderPayload<TData>) => ReactNode;
730
+ /** Show the export data action button */
731
+ enableExport?: boolean;
732
+ /** Show the screenshot action button */
733
+ enableScreenshot?: boolean;
734
+ /** Show the visual expand (fullscreen) action button */
735
+ enableExpand?: boolean;
736
+ /** Show a per-section filter button in the widget header. */
737
+ enableFilter?: boolean;
738
+ /** Filter fields available for this widget's data source (required when `enableFilter` is true) */
739
+ fieldOptions?: FilterFieldProp[];
740
+ /** Per-section filter tree. Overriding the global filter applies on top of it. */
741
+ filters?: FilterGroup | null;
742
+ /** Called when the per-section filter tree changes */
743
+ onFilterChange?: (filters: FilterGroup | null) => void;
744
+ /** Drop the global dashboard filters for this widget entirely (e.g. snapshot data) */
745
+ ignoreGlobalFilters?: boolean;
746
+ /** Additional CSS class name */
747
+ className?: string;
748
+ }
749
+
750
+ /**
751
+ * Self-contained widget that takes its own data (raw, pre-filtered, or engine-backed),
752
+ * renders a Section with an action toolbar, and passes the data to the render prop.
753
+ */
754
+ declare const DashboardWidget: {
755
+ <TData extends object>({ title, subtitle, icon, data, columns, children, enableExport, enableScreenshot, enableExpand, enableFilter, fieldOptions, filters, onFilterChange, ignoreGlobalFilters, dataSourceId, className, }: DashboardWidgetProps<TData>): React__default.JSX.Element;
756
+ displayName: string;
757
+ };
758
+
759
+ export { AppBar, BlankSlate, Breadcrumbs, Dashboard, DashboardWidget, Drawer, FilterBuilder, FilterConditionEditor, FilterField, Scaffold, Section, Sidebar, Stepper, addNodeAtPath, applyFilter, countActiveConditionsByField, countTopLevelFilters, countTopLevelFiltersMap, emptyCondition, emptyFilterGroup, fieldOptionsFromColumns, getDefaultOperator, getOperatorsForType, isFilterActive, mergeFilters, removeFieldFilters, removeNodeAtPath, stripByFields, updateNodeAtPath, useDashboard, useScaffold };
760
+ export type { AppBarActionsProps, AppBarMenuButtonProps, AppBarProps, AppBarTitleProps, BlankSlateAction, BlankSlateActionsProps, BlankSlateDescriptionProps, BlankSlateGraphicProps, BlankSlateHeadingProps, BlankSlatePreset, BlankSlateProps, BooleanOperator, BreadcrumbItem, BreadcrumbsProps, ConditionReadOnly, DashboardProps, DashboardWidgetProps, DashboardWidgetRenderPayload, DateOperator, DrawerProps, FilterBuilderProps, FilterColumnType, FilterCondition, FilterConditionEditorProps, FilterFieldProp, FilterFieldProps, FilterGroup, FilterNode, FilterOperator, FilterValue, NumberOperator, OperatorOption, ScaffoldContextValue, ScaffoldProps, SectionProps, SidebarProps, SectionProps$1 as SidebarSectionProps, StepperItem, StepperProps, StepperStepState, StringOperator, UserProps };