@restio/ui 0.0.11-SNAPSHOT → 0.1.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 (240) hide show
  1. package/dist/assets/svg/chart-area.svg +9 -0
  2. package/dist/assets/svg/chart-bar-stacked.svg +9 -0
  3. package/dist/assets/svg/chart-bar.svg +6 -0
  4. package/dist/assets/svg/chart-candlestick.svg +17 -0
  5. package/dist/assets/svg/chart-gantt.svg +9 -0
  6. package/dist/assets/svg/chart-line.svg +9 -0
  7. package/dist/assets/svg/chart-pie.svg +9 -0
  8. package/dist/assets/svg/chart-sankey.svg +18 -0
  9. package/dist/assets/svg/form.svg +16 -0
  10. package/dist/assets/svg/list.svg +15 -0
  11. package/dist/assets/svg/pie-chart.svg +1 -0
  12. package/dist/assets/svg/table.svg +18 -0
  13. package/dist/components/anchored-overlay/anchored-overlay-types.d.ts +2 -0
  14. package/dist/components/anchored-overlay/anchored-overlay-types.d.ts.map +1 -1
  15. package/dist/components/anchored-overlay/anchored-overlay.d.ts.map +1 -1
  16. package/dist/components/button-dropdown/button-dropdown-types.d.ts +20 -0
  17. package/dist/components/button-dropdown/button-dropdown-types.d.ts.map +1 -0
  18. package/dist/components/button-dropdown/button-dropdown.d.ts +8 -0
  19. package/dist/components/button-dropdown/button-dropdown.d.ts.map +1 -0
  20. package/dist/components/checkbox-group/checkbox-group-types.d.ts +28 -0
  21. package/dist/components/checkbox-group/checkbox-group-types.d.ts.map +1 -0
  22. package/dist/components/checkbox-group/checkbox-group.d.ts +8 -0
  23. package/dist/components/checkbox-group/checkbox-group.d.ts.map +1 -0
  24. package/dist/components/list/list-types.d.ts +22 -1
  25. package/dist/components/list/list-types.d.ts.map +1 -1
  26. package/dist/components/list/list.d.ts.map +1 -1
  27. package/dist/components/menu/menu.d.ts.map +1 -1
  28. package/dist/components/progress-bar/progress-bar-types.d.ts +20 -0
  29. package/dist/components/progress-bar/progress-bar-types.d.ts.map +1 -0
  30. package/dist/components/progress-bar/progress-bar.d.ts +7 -0
  31. package/dist/components/progress-bar/progress-bar.d.ts.map +1 -0
  32. package/dist/components/radio/radio-types.d.ts +14 -0
  33. package/dist/components/radio/radio-types.d.ts.map +1 -0
  34. package/dist/components/radio/radio.d.ts +8 -0
  35. package/dist/components/radio/radio.d.ts.map +1 -0
  36. package/dist/components/radio-group/radio-group-types.d.ts +30 -0
  37. package/dist/components/radio-group/radio-group-types.d.ts.map +1 -0
  38. package/dist/components/radio-group/radio-group.d.ts +8 -0
  39. package/dist/components/radio-group/radio-group.d.ts.map +1 -0
  40. package/dist/components/select/select-types.d.ts +29 -1
  41. package/dist/components/select/select-types.d.ts.map +1 -1
  42. package/dist/components/select/select.d.ts.map +1 -1
  43. package/dist/components/selection-grid/selection-grid-types.d.ts +20 -0
  44. package/dist/components/selection-grid/selection-grid-types.d.ts.map +1 -0
  45. package/dist/components/selection-grid/selection-grid.d.ts +8 -0
  46. package/dist/components/selection-grid/selection-grid.d.ts.map +1 -0
  47. package/dist/components/typography/typography-types.d.ts +15 -0
  48. package/dist/components/typography/typography-types.d.ts.map +1 -1
  49. package/dist/components/typography/typography.d.ts +1 -1
  50. package/dist/components/typography/typography.d.ts.map +1 -1
  51. package/dist/custom-components/chat/chat.d.ts.map +1 -1
  52. package/dist/custom-components/layout/layout-renderers.d.ts +9 -0
  53. package/dist/custom-components/layout/layout-renderers.d.ts.map +1 -0
  54. package/dist/custom-components/layout/layout-types.d.ts +24 -10
  55. package/dist/custom-components/layout/layout-types.d.ts.map +1 -1
  56. package/dist/custom-components/layout/layout.d.ts +9 -0
  57. package/dist/custom-components/layout/layout.d.ts.map +1 -1
  58. package/dist/custom-components/markdown/markdown-types.d.ts +0 -2
  59. package/dist/custom-components/markdown/markdown-types.d.ts.map +1 -1
  60. package/dist/custom-components/markdown/markdown.d.ts.map +1 -1
  61. package/dist/data-components/assets/cell-types-asset.d.ts +39 -0
  62. package/dist/data-components/assets/cell-types-asset.d.ts.map +1 -0
  63. package/dist/data-components/assets/data-components-asset.d.ts +11 -0
  64. package/dist/data-components/assets/data-components-asset.d.ts.map +1 -1
  65. package/dist/data-components/calendar/calendar-types.d.ts +2 -1
  66. package/dist/data-components/calendar/calendar-types.d.ts.map +1 -1
  67. package/dist/data-components/calendar/calendar.d.ts +1 -1
  68. package/dist/data-components/calendar/calendar.d.ts.map +1 -1
  69. package/dist/data-components/card/card-types.d.ts +21 -0
  70. package/dist/data-components/card/card-types.d.ts.map +1 -0
  71. package/dist/data-components/card/card.d.ts +10 -0
  72. package/dist/data-components/card/card.d.ts.map +1 -0
  73. package/dist/data-components/card-list/card-list-types.d.ts +22 -0
  74. package/dist/data-components/card-list/card-list-types.d.ts.map +1 -0
  75. package/dist/data-components/card-list/card-list.d.ts +13 -0
  76. package/dist/data-components/card-list/card-list.d.ts.map +1 -0
  77. package/dist/data-components/card-list/models/ecommerce.d.ts +13 -0
  78. package/dist/data-components/card-list/models/ecommerce.d.ts.map +1 -0
  79. package/dist/data-components/cell/cell-registry.d.ts +29 -0
  80. package/dist/data-components/cell/cell-registry.d.ts.map +1 -0
  81. package/dist/data-components/cell/cell-types.d.ts +5 -0
  82. package/dist/data-components/cell/cell-types.d.ts.map +1 -1
  83. package/dist/data-components/cell/cell-utils.d.ts +0 -6
  84. package/dist/data-components/cell/cell-utils.d.ts.map +1 -1
  85. package/dist/data-components/cell/cell.d.ts +1 -1
  86. package/dist/data-components/cell/cell.d.ts.map +1 -1
  87. package/dist/data-components/chart/chart-tooltip/chart-tooltip-types.d.ts +14 -0
  88. package/dist/data-components/chart/chart-tooltip/chart-tooltip-types.d.ts.map +1 -0
  89. package/dist/data-components/chart/chart-tooltip/chart-tooltip.d.ts +7 -0
  90. package/dist/data-components/chart/chart-tooltip/chart-tooltip.d.ts.map +1 -0
  91. package/dist/data-components/chart/chart-types.d.ts +29 -2
  92. package/dist/data-components/chart/chart-types.d.ts.map +1 -1
  93. package/dist/data-components/chart/chart-utils.d.ts +28 -0
  94. package/dist/data-components/chart/chart-utils.d.ts.map +1 -0
  95. package/dist/data-components/chart/chart.d.ts +1 -1
  96. package/dist/data-components/chart/chart.d.ts.map +1 -1
  97. package/dist/data-components/chart/geo/geoChart.d.ts +10 -0
  98. package/dist/data-components/chart/geo/geoChart.d.ts.map +1 -0
  99. package/dist/data-components/chart/sankey/sankeyChart.d.ts +2 -0
  100. package/dist/data-components/chart/sankey/sankeyChart.d.ts.map +1 -1
  101. package/dist/data-components/data-component-configurator/data-component-configurator-types.d.ts +36 -0
  102. package/dist/data-components/data-component-configurator/data-component-configurator-types.d.ts.map +1 -0
  103. package/dist/data-components/data-component-configurator/data-component-configurator.d.ts +17 -0
  104. package/dist/data-components/data-component-configurator/data-component-configurator.d.ts.map +1 -0
  105. package/dist/data-components/data-component-types.d.ts +11 -0
  106. package/dist/data-components/data-component-types.d.ts.map +1 -0
  107. package/dist/data-components/data-component-utils.d.ts +4 -0
  108. package/dist/data-components/data-component-utils.d.ts.map +1 -0
  109. package/dist/data-components/data-structure/data-structure-utils.d.ts.map +1 -1
  110. package/dist/data-components/data-structure/data-structure.d.ts +10 -0
  111. package/dist/data-components/data-structure/data-structure.d.ts.map +1 -1
  112. package/dist/data-components/filter/filter-types.d.ts +1 -1
  113. package/dist/data-components/filter/filter-types.d.ts.map +1 -1
  114. package/dist/data-components/form/form-types.d.ts +44 -1
  115. package/dist/data-components/form/form-types.d.ts.map +1 -1
  116. package/dist/data-components/form/form.d.ts +1 -1
  117. package/dist/data-components/form/form.d.ts.map +1 -1
  118. package/dist/data-components/gantt/ai-assistant/gantt-ai-panel.d.ts +3 -3
  119. package/dist/data-components/gantt/ai-assistant/gantt-ai-panel.d.ts.map +1 -1
  120. package/dist/data-components/gantt/gantt-types.d.ts +2 -1
  121. package/dist/data-components/gantt/gantt-types.d.ts.map +1 -1
  122. package/dist/data-components/switcher/prop-form/prop-form-adapter.d.ts +8 -0
  123. package/dist/data-components/switcher/prop-form/prop-form-adapter.d.ts.map +1 -0
  124. package/dist/data-components/switcher/prop-form/prop-form-types.d.ts +17 -0
  125. package/dist/data-components/switcher/prop-form/prop-form-types.d.ts.map +1 -0
  126. package/dist/data-components/switcher/prop-form/prop-form.d.ts +6 -0
  127. package/dist/data-components/switcher/prop-form/prop-form.d.ts.map +1 -0
  128. package/dist/data-components/switcher/prop-schema/prop-schema-types.d.ts +53 -0
  129. package/dist/data-components/switcher/prop-schema/prop-schema-types.d.ts.map +1 -0
  130. package/dist/data-components/switcher/prop-schema/prop-schema-utils.d.ts +15 -0
  131. package/dist/data-components/switcher/prop-schema/prop-schema-utils.d.ts.map +1 -0
  132. package/dist/data-components/switcher/prop-schema/prop-schema.d.ts +38 -0
  133. package/dist/data-components/switcher/prop-schema/prop-schema.d.ts.map +1 -0
  134. package/dist/data-components/switcher/switcher-types.d.ts +58 -0
  135. package/dist/data-components/switcher/switcher-types.d.ts.map +1 -0
  136. package/dist/data-components/switcher/switcher.d.ts +12 -0
  137. package/dist/data-components/switcher/switcher.d.ts.map +1 -0
  138. package/dist/data-components/table-grid/formula/formula-builder.d.ts.map +1 -1
  139. package/dist/data-components/table-grid/row/table-grid-row.d.ts.map +1 -1
  140. package/dist/data-components/table-grid/table-context/table-context-types.d.ts +3 -0
  141. package/dist/data-components/table-grid/table-context/table-context-types.d.ts.map +1 -1
  142. package/dist/data-components/table-grid/table-grid-context.d.ts +1 -1
  143. package/dist/data-components/table-grid/table-grid-context.d.ts.map +1 -1
  144. package/dist/data-components/table-grid/table-grid-panels.d.ts.map +1 -1
  145. package/dist/data-components/table-grid/table-grid-types.d.ts +7 -1
  146. package/dist/data-components/table-grid/table-grid-types.d.ts.map +1 -1
  147. package/dist/data-components/table-grid/table-grid.d.ts +1 -1
  148. package/dist/data-components/table-grid/table-grid.d.ts.map +1 -1
  149. package/dist/data-components/ui-layer/ui-layer-types.d.ts +82 -0
  150. package/dist/data-components/ui-layer/ui-layer-types.d.ts.map +1 -0
  151. package/dist/data-components/ui-layer/ui-layer-utils.d.ts +13 -0
  152. package/dist/data-components/ui-layer/ui-layer-utils.d.ts.map +1 -0
  153. package/dist/experimental-components/dashboard-builder/builder-canvas-hooks.d.ts +47 -0
  154. package/dist/experimental-components/dashboard-builder/builder-canvas-hooks.d.ts.map +1 -0
  155. package/dist/experimental-components/dashboard-builder/builder-canvas.d.ts +33 -0
  156. package/dist/experimental-components/dashboard-builder/builder-canvas.d.ts.map +1 -0
  157. package/dist/experimental-components/dashboard-builder/dashboard-builder-hooks.d.ts +23 -0
  158. package/dist/experimental-components/dashboard-builder/dashboard-builder-hooks.d.ts.map +1 -0
  159. package/dist/experimental-components/dashboard-builder/dashboard-builder-types.d.ts +150 -0
  160. package/dist/experimental-components/dashboard-builder/dashboard-builder-types.d.ts.map +1 -0
  161. package/dist/experimental-components/dashboard-builder/dashboard-builder-utils.d.ts +28 -0
  162. package/dist/experimental-components/dashboard-builder/dashboard-builder-utils.d.ts.map +1 -0
  163. package/dist/experimental-components/dashboard-builder/dashboard-builder.d.ts +14 -0
  164. package/dist/experimental-components/dashboard-builder/dashboard-builder.d.ts.map +1 -0
  165. package/dist/experimental-components/dashboard-builder/widget-configurator.d.ts +24 -0
  166. package/dist/experimental-components/dashboard-builder/widget-configurator.d.ts.map +1 -0
  167. package/dist/experimental-components/dashboard-builder/widget-palette.d.ts +20 -0
  168. package/dist/experimental-components/dashboard-builder/widget-palette.d.ts.map +1 -0
  169. package/dist/framework-components/dashboard/dashboard-context.d.ts +12 -0
  170. package/dist/framework-components/dashboard/dashboard-context.d.ts.map +1 -0
  171. package/dist/framework-components/dashboard/dashboard-types.d.ts +35 -0
  172. package/dist/framework-components/dashboard/dashboard-types.d.ts.map +1 -0
  173. package/dist/framework-components/dashboard/dashboard-widget-actions.d.ts +1 -0
  174. package/dist/framework-components/dashboard/dashboard-widget-actions.d.ts.map +1 -0
  175. package/dist/framework-components/dashboard/dashboard-widget-types.d.ts +67 -0
  176. package/dist/framework-components/dashboard/dashboard-widget-types.d.ts.map +1 -0
  177. package/dist/framework-components/dashboard/dashboard-widget.d.ts +17 -0
  178. package/dist/framework-components/dashboard/dashboard-widget.d.ts.map +1 -0
  179. package/dist/framework-components/dashboard/dashboard.d.ts +11 -0
  180. package/dist/framework-components/dashboard/dashboard.d.ts.map +1 -0
  181. package/dist/framework-components/dashboard/data-engine/aggregation-engine.d.ts +11 -0
  182. package/dist/framework-components/dashboard/data-engine/aggregation-engine.d.ts.map +1 -0
  183. package/dist/framework-components/dashboard/data-engine/data-engine-client.d.ts +47 -0
  184. package/dist/framework-components/dashboard/data-engine/data-engine-client.d.ts.map +1 -0
  185. package/dist/framework-components/dashboard/data-engine/data-engine-types.d.ts +119 -0
  186. package/dist/framework-components/dashboard/data-engine/data-engine-types.d.ts.map +1 -0
  187. package/dist/framework-components/dashboard/data-engine/data-engine.d.ts +87 -0
  188. package/dist/framework-components/dashboard/data-engine/data-engine.d.ts.map +1 -0
  189. package/dist/framework-components/dashboard/data-engine/data-engine.test.d.ts +2 -0
  190. package/dist/framework-components/dashboard/data-engine/data-engine.test.d.ts.map +1 -0
  191. package/dist/framework-components/dashboard/data-engine/data-engine.worker.d.ts +2 -0
  192. package/dist/framework-components/dashboard/data-engine/data-engine.worker.d.ts.map +1 -0
  193. package/dist/framework-components/dashboard/data-engine/field-inference.d.ts +10 -0
  194. package/dist/framework-components/dashboard/data-engine/field-inference.d.ts.map +1 -0
  195. package/dist/framework-components/dashboard/data-engine/filter-adapter.d.ts +12 -0
  196. package/dist/framework-components/dashboard/data-engine/filter-adapter.d.ts.map +1 -0
  197. package/dist/framework-components/dashboard/data-engine/index.d.ts +8 -0
  198. package/dist/framework-components/dashboard/data-engine/index.d.ts.map +1 -0
  199. package/dist/framework-components/dashboard/data-engine/join-engine.d.ts +17 -0
  200. package/dist/framework-components/dashboard/data-engine/join-engine.d.ts.map +1 -0
  201. package/dist/framework-components/section/section-types.d.ts +14 -0
  202. package/dist/framework-components/section/section-types.d.ts.map +1 -0
  203. package/dist/framework-components/section/section.d.ts +9 -0
  204. package/dist/framework-components/section/section.d.ts.map +1 -0
  205. package/dist/index.d.ts +40 -13
  206. package/dist/index.d.ts.map +1 -1
  207. package/dist/restio-ui.cjs.js +76 -30
  208. package/dist/restio-ui.es.js +28469 -27492
  209. package/dist/types/global-types.d.ts +16 -0
  210. package/dist/types/global-types.d.ts.map +1 -1
  211. package/dist/ui.css +1 -1
  212. package/dist/utility-components/icon/icon-assets.d.ts.map +1 -1
  213. package/dist/utility-components/overlay-panel/overlay-panel.d.ts.map +1 -1
  214. package/package.json +1 -4
  215. package/dist/components/graph/graph-types.d.ts +0 -23
  216. package/dist/components/graph/graph-types.d.ts.map +0 -1
  217. package/dist/components/graph/graph.d.ts +0 -5
  218. package/dist/components/graph/graph.d.ts.map +0 -1
  219. package/dist/custom-components/layout-builder/layout-builder-constants.d.ts +0 -22
  220. package/dist/custom-components/layout-builder/layout-builder-constants.d.ts.map +0 -1
  221. package/dist/custom-components/layout-builder/layout-builder-schema.d.ts +0 -967
  222. package/dist/custom-components/layout-builder/layout-builder-schema.d.ts.map +0 -1
  223. package/dist/custom-components/layout-builder/layout-builder-templates.d.ts +0 -13
  224. package/dist/custom-components/layout-builder/layout-builder-templates.d.ts.map +0 -1
  225. package/dist/custom-components/layout-builder/layout-builder-types.d.ts +0 -73
  226. package/dist/custom-components/layout-builder/layout-builder-types.d.ts.map +0 -1
  227. package/dist/custom-components/layout-builder/layout-builder-utils.d.ts +0 -70
  228. package/dist/custom-components/layout-builder/layout-builder-utils.d.ts.map +0 -1
  229. package/dist/custom-components/layout-builder/layout-builder-validation.d.ts +0 -29
  230. package/dist/custom-components/layout-builder/layout-builder-validation.d.ts.map +0 -1
  231. package/dist/custom-components/layout-builder/layout-builder.d.ts +0 -4
  232. package/dist/custom-components/layout-builder/layout-builder.d.ts.map +0 -1
  233. package/dist/custom-components/layout-builder/layout-json-editor-types.d.ts +0 -60
  234. package/dist/custom-components/layout-builder/layout-json-editor-types.d.ts.map +0 -1
  235. package/dist/custom-components/layout-builder/layout-json-editor.d.ts +0 -13
  236. package/dist/custom-components/layout-builder/layout-json-editor.d.ts.map +0 -1
  237. package/dist/custom-components/layout-builder/stories/hooks/useHistory.d.ts +0 -49
  238. package/dist/custom-components/layout-builder/stories/hooks/useHistory.d.ts.map +0 -1
  239. package/dist/data-components/cell/cell-switch.d.ts +0 -17
  240. package/dist/data-components/cell/cell-switch.d.ts.map +0 -1
@@ -0,0 +1,36 @@
1
+ import { PropFieldDescriptor, PropFieldScope } from '../switcher/prop-schema/prop-schema-types';
2
+ import { DataComponentId } from '../switcher/switcher-types';
3
+ import { DataStructureColumn } from '../data-structure/data-structure';
4
+ /**
5
+ * Props for the shared DataComponentConfigurator.
6
+ *
7
+ * This component is used in two contexts:
8
+ * 1. **Switcher** — shows the component selector + prop form (scope: "switcher")
9
+ * 2. **Dashboard widget configurator** — shows only the prop form (scope: "dashboard")
10
+ */
11
+ export interface DataComponentConfiguratorProps {
12
+ /** Schema for the active component's configurable fields. */
13
+ schema: PropFieldDescriptor[];
14
+ /** Current values for all fields. */
15
+ values: Record<string, unknown>;
16
+ /** Called when a field value changes. */
17
+ onChange: (name: string, value: unknown) => void;
18
+ /** Available columns (for "column" / "columns" type fields). */
19
+ columns?: DataStructureColumn<Record<string, unknown>>[];
20
+ /**
21
+ * Scope filter — only fields matching this scope are rendered.
22
+ * @default "all"
23
+ */
24
+ scope?: PropFieldScope;
25
+ /** When provided, shows the component selector panel. */
26
+ componentId?: DataComponentId;
27
+ /** Called when the active component changes. */
28
+ onComponentChange?: (componentId: DataComponentId) => void;
29
+ /** Metadata list for the component selector. */
30
+ componentMetaList?: {
31
+ id: DataComponentId;
32
+ label: string;
33
+ icon: string;
34
+ }[];
35
+ }
36
+ //# sourceMappingURL=data-component-configurator-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-component-configurator-types.d.ts","sourceRoot":"","sources":["../../../src/data-components/data-component-configurator/data-component-configurator-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAC;AACrG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAE5E;;;;;;GAMG;AACH,MAAM,WAAW,8BAA8B;IAC7C,6DAA6D;IAC7D,MAAM,EAAE,mBAAmB,EAAE,CAAC;IAC9B,qCAAqC;IACrC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,yCAAyC;IACzC,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACjD,gEAAgE;IAChE,OAAO,CAAC,EAAE,mBAAmB,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAAE,CAAC;IACzD;;;OAGG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC;IAGvB,yDAAyD;IACzD,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,gDAAgD;IAChD,iBAAiB,CAAC,EAAE,CAAC,WAAW,EAAE,eAAe,KAAK,IAAI,CAAC;IAC3D,gDAAgD;IAChD,iBAAiB,CAAC,EAAE;QAAE,EAAE,EAAE,eAAe,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAC5E"}
@@ -0,0 +1,17 @@
1
+ import { DataComponentConfiguratorProps } from './data-component-configurator-types';
2
+ /**
3
+ * Shared configurator for data-components.
4
+ *
5
+ * Renders:
6
+ * - An optional **component selector** (when `componentMetaList` is provided)
7
+ * - A **dynamic prop form** filtered by the given scope
8
+ *
9
+ * Used by:
10
+ * - **Switcher** — full configurator with component selector + all props
11
+ * - **Dashboard widget configurator** — prop form only (scope: "dashboard")
12
+ */
13
+ export declare const DataComponentConfigurator: {
14
+ ({ schema, values, onChange, columns, scope, componentId, onComponentChange, componentMetaList, }: DataComponentConfiguratorProps): import("react/jsx-runtime").JSX.Element;
15
+ displayName: string;
16
+ };
17
+ //# sourceMappingURL=data-component-configurator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-component-configurator.d.ts","sourceRoot":"","sources":["../../../src/data-components/data-component-configurator/data-component-configurator.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAS1F;;;;;;;;;;GAUG;AACH,eAAO,MAAM,yBAAyB;uGASnC,8BAA8B;;CA2GhC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { WidgetComponentType } from '../experimental-components/dashboard-builder/dashboard-builder-types';
2
+ /**
3
+ * Available widget types shown in the palette.
4
+ */
5
+ export declare const DATA_COMPONENTS: {
6
+ type: WidgetComponentType;
7
+ label: string;
8
+ icon: string;
9
+ description: string;
10
+ }[];
11
+ //# sourceMappingURL=data-component-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-component-types.d.ts","sourceRoot":"","sources":["../../src/data-components/data-component-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sEAAsE,CAAC;AAE3G;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE;IAAE,IAAI,EAAE,mBAAmB,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,EAO5G,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { DataStructureColumn } from './data-structure/data-structure';
2
+ /** Resolve the stable ID for a schema column (same logic as getColId in table-utils) */
3
+ export declare function resolveColumnId<TData>(col: DataStructureColumn<TData>, index: number): string;
4
+ //# sourceMappingURL=data-component-utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-component-utils.d.ts","sourceRoot":"","sources":["../../src/data-components/data-component-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAEtE,wFAAwF;AACxF,wBAAgB,eAAe,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAE7F"}
@@ -1 +1 @@
1
- {"version":3,"file":"data-structure-utils.d.ts","sourceRoot":"","sources":["../../../src/data-components/data-structure/data-structure-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAIvD;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAC7C,MAAM,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,EACvB,OAAO,CAAC,EAAE;IACR,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;CAC3C,GACA,mBAAmB,CAAC,KAAK,CAAC,EAAE,CAU9B;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAChC,MAAM,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,EACvB,WAAW,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,EAAE,EAC1C,OAAO,CAAC,EAAE;IACR,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;CAC3C,GACA,mBAAmB,CAAC,KAAK,CAAC,EAAE,CAgB9B"}
1
+ {"version":3,"file":"data-structure-utils.d.ts","sourceRoot":"","sources":["../../../src/data-components/data-structure/data-structure-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEvD;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAC7C,MAAM,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,EACvB,OAAO,CAAC,EAAE;IACR,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;CAC3C,GACA,mBAAmB,CAAC,KAAK,CAAC,EAAE,CAU9B;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAChC,MAAM,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,EACvB,WAAW,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,EAAE,EAC1C,OAAO,CAAC,EAAE;IACR,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;CAC3C,GACA,mBAAmB,CAAC,KAAK,CAAC,EAAE,CAgB9B"}
@@ -1,4 +1,5 @@
1
1
  import { Option, CellType } from '../../types/global-types';
2
+ import { DataStructureUIConfig } from '../ui-layer/ui-layer-types';
2
3
  export interface DataStructureComponent<TData> {
3
4
  /** Array of data to display in the chart */
4
5
  data: TData[];
@@ -6,6 +7,8 @@ export interface DataStructureComponent<TData> {
6
7
  columns?: DataStructureColumn<TData>[];
7
8
  /** Function to get subrows for a given row */
8
9
  getSubRows?: (originalRow: TData, index: number) => TData[] | undefined;
10
+ /** UI configuration for conditional styling and presentation */
11
+ uiConfig?: DataStructureUIConfig<TData>;
9
12
  }
10
13
  export interface DataStructureColumn<TData, TValue = TData[keyof TData]> {
11
14
  /** Unique identifier for the column */
@@ -28,5 +31,12 @@ export interface DataStructureColumn<TData, TValue = TData[keyof TData]> {
28
31
  accessorFn?: (row: TData) => TValue;
29
32
  /** Visual representation type for cells with options or specific data types */
30
33
  cellType?: CellType;
34
+ /**
35
+ * Generic column-level configuration for the target component.
36
+ * Mirrors the uiConfig pattern: carries the props of the component
37
+ * referenced by `cellType` (e.g. ChartProps for CHART, TableGridProps for TABLE_GRID).
38
+ * `data` and `columns` are excluded — they come from the cell value and schema.
39
+ */
40
+ columnConfig?: Record<string, unknown>;
31
41
  }
32
42
  //# sourceMappingURL=data-structure.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"data-structure.d.ts","sourceRoot":"","sources":["../../../src/data-components/data-structure/data-structure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ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KAAK;IAC3C,4CAA4C;IAC5C,IAAI,EAAE,KAAK,EAAE,CAAC;IAEd,iDAAiD;IACjD,OAAO,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,EAAE,CAAC;IAEvC,8CAA8C;IAC9C,UAAU,CAAC,EAAE,CAAC,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,KAAK,KAAK,EAAE,GAAG,SAAS,CAAC;IAExE,gEAAgE;IAChE,QAAQ,CAAC,EAAE,qBAAqB,CAAC,KAAK,CAAC,CAAC;CACzC;AAED,MAAM,WAAW,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,KAAK,CAAC;IACrE,uCAAuC;IACvC,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,0BAA0B;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,+CAA+C;IAC/C,WAAW,CAAC,EAAE,MAAM,KAAK,CAAC;IAE1B,0CAA0C;IAC1C,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAEnB,oDAAoD;IACpD,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,qCAAqC;IACrC,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB,uCAAuC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,sCAAsC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,2CAA2C;IAC3C,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,KAAK,KAAK,MAAM,CAAC;IAEpC,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAEpB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACxC"}
@@ -13,7 +13,7 @@ export interface FilterField {
13
13
  label: string;
14
14
  /** Column data type used to pick operators and value input */
15
15
  type: FilterColumnType;
16
- /** Available values for `in` / `not_in` operators (from CellType.SELECT columns) */
16
+ /** Available values for `in` / `not_in` operators (from CellType.SELECT / MULTI_SELECT columns) */
17
17
  availableOptions?: Option[];
18
18
  }
19
19
  export interface FilterCondition {
@@ -1 +1 @@
1
- {"version":3,"file":"filter-types.d.ts","sourceRoot":"","sources":["../../../src/data-components/filter/filter-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAMlD,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAC;AAMxE,MAAM,MAAM,cAAc,GACtB,QAAQ,GACR,YAAY,GACZ,UAAU,GACV,aAAa,GACb,WAAW,GACX,IAAI,GACJ,QAAQ,GACR,SAAS,GACT,aAAa,CAAC;AAElB,MAAM,MAAM,cAAc,GACtB,QAAQ,GACR,YAAY,GACZ,SAAS,GACT,gBAAgB,GAChB,MAAM,GACN,aAAa,GACb,IAAI,GACJ,QAAQ,GACR,SAAS,GACT,aAAa,CAAC;AAElB,MAAM,MAAM,YAAY,GACpB,QAAQ,GACR,YAAY,GACZ,OAAO,GACP,aAAa,GACb,QAAQ,GACR,cAAc,GACd,SAAS,GACT,aAAa,CAAC;AAElB,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,aAAa,CAAC;AAEjF,MAAM,MAAM,cAAc,GAAG,cAAc,GAAG,cAAc,GAAG,YAAY,GAAG,eAAe,CAAC;AAM9F,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,IAAI,GAAG,OAAO,GAAG,IAAI,CAAC;AAMxF,MAAM,WAAW,WAAW;IAC1B,wDAAwD;IACxD,EAAE,EAAE,MAAM,CAAC;IACX,mDAAmD;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,8DAA8D;IAC9D,IAAI,EAAE,gBAAgB,CAAC;IACvB,oFAAoF;IACpF,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC7B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S1C,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,cAAc,EAK7C,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,gBAAgB,EAAE,cAAc,EAAE,CAKxE,CAAC"}
@@ -1,6 +1,32 @@
1
1
  import { DataStructureComponent, DataStructureColumn } from '../data-structure/data-structure';
2
2
  import { ResponsiveLayout } from '../../custom-components/layout/layout-types';
3
- export interface FormProps<TData> extends DataStructureComponent<TData> {
3
+ /**
4
+ * Delta operation for a single column when the form state changes.
5
+ * The server returns only the columns that need to be added, updated, or removed.
6
+ */
7
+ export interface FormColumnDelta<TData> {
8
+ /** What to do with this column */
9
+ action: "add" | "update" | "remove";
10
+ /** The column definition */
11
+ column: FormColumn<TData>;
12
+ }
13
+ /**
14
+ * Server response to a field change.
15
+ * Only the changed pieces are returned — the form merges them with existing state.
16
+ *
17
+ * - `data`: partial data to merge (e.g. reset dependent fields to null)
18
+ * - `columns`: delta operations on columns (add new dependent fields, update options, remove fields)
19
+ * - `layout`: optional new layout. If omitted, the form recalculates from current columns.
20
+ */
21
+ export interface FormChangeResponse<TData> {
22
+ /** Partial data delta — merged with current formData */
23
+ data?: Partial<TData>;
24
+ /** Column delta operations — applied to current columns */
25
+ columns?: FormColumnDelta<TData>[];
26
+ /** Optional new layout. If omitted, layout is recalculated from updated columns. */
27
+ layout?: ResponsiveLayout;
28
+ }
29
+ export interface FormSpecificProps<TData> {
4
30
  /** Override columns with form-specific options */
5
31
  columns?: FormColumn<TData>[];
6
32
  /** label alignment */
@@ -11,7 +37,24 @@ export interface FormProps<TData> extends DataStructureComponent<TData> {
11
37
  onSubmit?: (data: TData) => void;
12
38
  /** Callback when cancel is clicked */
13
39
  onCancel?: () => void;
40
+ /**
41
+ * Server-driven callback invoked on every field change.
42
+ *
43
+ * The server receives the current form state and the changed field,
44
+ * and returns a **partial delta** — only the pieces that changed.
45
+ * The form merges the delta into its state and re-renders only
46
+ * the affected fields.
47
+ *
48
+ * Fields not yet resolved (loading) show a skeleton placeholder.
49
+ *
50
+ * @param formData - Current complete form data
51
+ * @param changedField - The accessorKey of the field that changed
52
+ * @param newValue - The new value of the changed field
53
+ * @returns A partial delta with data, column operations, and optional layout
54
+ */
55
+ onFormChange?: (formData: TData, changedField: keyof TData, newValue: TData[keyof TData]) => Promise<FormChangeResponse<TData>>;
14
56
  }
57
+ export type FormProps<TData> = DataStructureComponent<TData> & FormSpecificProps<TData>;
15
58
  export interface FormColumn<TData> extends DataStructureColumn<TData> {
16
59
  /** Optional: custom message when required validation fails */
17
60
  requiredMessage?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"form-types.d.ts","sourceRoot":"","sources":["../../../src/data-components/form/form-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAC/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAE/E,MAAM,WAAW,SAAS,CAAC,KAAK,CAAE,SAAQ,sBAAsB,CAAC,KAAK,CAAC;IACrE,kDAAkD;IAClD,OAAO,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC;IAC9B,sBAAsB;IACtB,UAAU,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAC5B,oCAAoC;IACpC,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,sCAAsC;IACtC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,sCAAsC;IACtC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,MAAM,WAAW,UAAU,CAAC,KAAK,CAAE,SAAQ,mBAAmB,CAAC,KAAK,CAAC;IACnE,8DAA8D;IAC9D,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,OAAO,EAAE,KAAK,K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,EAAE,KAAK,EACf,YAAY,EAAE,MAAM,KAAK,EACzB,QAAQ,EAAE,KAAK,CAAC,MAAM,KAAK,CAAC,KACzB,OAAO,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC,CAAC;CACzC;AAED,MAAM,MAAM,SAAS,CAAC,KAAK,IAAI,sBAAsB,CAAC,KAAK,CAAC,GAAG,iBAAiB,CAAC,KAAK,CAAC,CAAC;AAExF,MAAM,WAAW,UAAU,CAAC,KAAK,CAAE,SAAQ,mBAAmB,CAAC,KAAK,CAAC;IACnE,8DAA8D;IAC9D,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,OAAO,EAAE,KAAK,KAAK,MAAM,GAAG,SAAS,CAAC;CAC9E;AAED,MAAM,MAAM,UAAU,CAAC,KAAK,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import { FormProps } from './form-types';
2
- export declare function Form<TData>({ data, columns, layout, onSubmit, onCancel }: FormProps<TData>): import("react/jsx-runtime").JSX.Element;
2
+ export declare function Form<TData>({ data, columns, layout, onSubmit, onCancel, onFormChange, uiConfig }: FormProps<TData>): import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=form.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../src/data-components/form/form.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAA0B,MAAM,cAAc,CAAC;AAQjE,wBAAgB,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,SAAS,CAAC,KAAK,CAAC,2CA+J1F"}
1
+ {"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../src/data-components/form/form.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAA+D,MAAM,cAAc,CAAC;AAqDtG,wBAAgB,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,EAAE,SAAS,CAAC,KAAK,CAAC,2CA2MlH"}
@@ -1,8 +1,8 @@
1
1
  import { AIProvider, AIQuickAction } from '../../../providers/ai-assistant/ai-assistant-types';
2
2
  export interface GanttAIPanelProps {
3
- aiProvider: AIProvider;
4
- requiresConfirmation?: boolean;
5
- quickActions?: AIQuickAction[];
3
+ readonly aiProvider: AIProvider;
4
+ readonly requiresConfirmation?: boolean;
5
+ readonly quickActions?: AIQuickAction[];
6
6
  }
7
7
  /**
8
8
  * AI chat panel for the Gantt component. Exposes tools to change the timeline
@@ -1 +1 @@
1
- {"version":3,"file":"gantt-ai-panel.d.ts","sourceRoot":"","sources":["../../../../src/data-components/gantt/ai-assistant/gantt-ai-panel.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,aAAa,EAAkB,MAAM,oDAAoD,CAAC;AAQ/G,MAAM,WAAW,iBAAiB;IAChC,UAAU,EAAE,UAAU,CAAC;IACvB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,YAAY,CAAC,EAAE,aAAa,EAAE,CAAC;CAChC;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,EAAE,UAAU,EAAE,oBAAoB,EAAE,YAAY,EAAE,EAAE,iBAAiB,2CA4BxG"}
1
+ {"version":3,"file":"gantt-ai-panel.d.ts","sourceRoot":"","sources":["../../../../src/data-components/gantt/ai-assistant/gantt-ai-panel.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,aAAa,EAAkB,MAAM,oDAAoD,CAAC;AAQ/G,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;IAEhC,QAAQ,CAAC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IACxC,QAAQ,CAAC,YAAY,CAAC,EAAE,aAAa,EAAE,CAAC;CACzC;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,EAAE,UAAU,EAAE,oBAAoB,EAAE,YAAY,EAAE,EAAE,iBAAiB,2CA4BxG"}
@@ -21,7 +21,7 @@ export interface GanttDependency {
21
21
  id: string;
22
22
  type?: GanttRelationType;
23
23
  }
24
- export interface GanttProps<TData> extends DataStructureComponent<TData> {
24
+ export interface GanttSpecificProps<TData> {
25
25
  /** Column id or accessorKey for the start date (must resolve to Date, ISO string, or timestamp) */
26
26
  startColumnId: string | keyof TData;
27
27
  /** Column id or accessorKey for the end date (must resolve to Date, ISO string, or timestamp) */
@@ -62,6 +62,7 @@ export interface GanttProps<TData> extends DataStructureComponent<TData> {
62
62
  */
63
63
  onEventChange?: (row: TData, newStart: Date, newEnd: Date) => void;
64
64
  }
65
+ export type GanttProps<TData> = DataStructureComponent<TData> & GanttSpecificProps<TData>;
65
66
  export interface GanttLayoutProps<TData> {
66
67
  startColumnId: string | keyof TData;
67
68
  endColumnId: string | keyof TData;
@@ -1 +1 @@
1
- {"version":3,"file":"gantt-types.d.ts","sourceRoot":"","sources":["../../../src/data-components/gantt/gantt-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC/F,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAE5F,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,KAAK,CAAC;AAE1D;;;;;;GAMG;AACH,MAAM,MAAM,iBAAiB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE1D;;;;;;;GAOG;AACH,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;I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;CACpE;AAED,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,cAAc,GAAG,YAAY,CAAC;AAEnE,MAAM,WAAW,cAAc,CAAC,KAAK;IACnC,GAAG,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,KAAK,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAChD,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;IACd,IAAI,EAAE,SAAS,CAAC;CACjB;AAID,eAAO,MAAM,UAAU,KAAK,CAAC;AAC7B,eAAO,MAAM,gBAAgB,SAAS,CAAC;AACvC,eAAO,MAAM,cAAc,IAAI,CAAC;AAChC,eAAO,MAAM,UAAU,KAAK,CAAC;AAC7B,eAAO,MAAM,SAAS,KAAK,CAAC;AAC5B,eAAO,MAAM,WAAW,MAAM,CAAC;AAC/B,eAAO,MAAM,iBAAiB,QAA2B,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { PropFieldDescriptor } from '../prop-schema/prop-schema-types';
2
+ import { DataStructureColumn } from '../../data-structure/data-structure';
3
+ /**
4
+ * Converts a PropFieldDescriptor[] into a DataStructureColumn[] for the Cell
5
+ * component. All prop-schema types are supported — no special cases remain.
6
+ */
7
+ export declare function propSchemaToFormColumns(schema: PropFieldDescriptor[], availableColumns?: DataStructureColumn<Record<string, unknown>>[]): DataStructureColumn<Record<string, unknown>>[];
8
+ //# sourceMappingURL=prop-form-adapter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prop-form-adapter.d.ts","sourceRoot":"","sources":["../../../../src/data-components/switcher/prop-form/prop-form-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAuD1E;;;GAGG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,mBAAmB,EAAE,EAC7B,gBAAgB,CAAC,EAAE,mBAAmB,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAAE,GAChE,mBAAmB,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAAE,CAEhD"}
@@ -0,0 +1,17 @@
1
+ import { PropFieldDescriptor } from '../prop-schema/prop-schema-types';
2
+ import { DataStructureColumn } from '../../data-structure/data-structure';
3
+ /**
4
+ * Props for the PropForm component.
5
+ * Renders a dynamic form based on a schema of PropFieldDescriptors.
6
+ */
7
+ export interface PropFormProps {
8
+ /** Schema describing which fields to render and how. */
9
+ schema: PropFieldDescriptor[];
10
+ /** Current values for all fields. */
11
+ values: Record<string, unknown>;
12
+ /** Called when a field value changes. */
13
+ onChange: (name: string, value: unknown) => void;
14
+ /** Available columns (for "column" / "columns" type fields). */
15
+ columns?: DataStructureColumn<Record<string, unknown>>[];
16
+ }
17
+ //# sourceMappingURL=prop-form-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prop-form-types.d.ts","sourceRoot":"","sources":["../../../../src/data-components/switcher/prop-form/prop-form-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAE1E;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,wDAAwD;IACxD,MAAM,EAAE,mBAAmB,EAAE,CAAC;IAC9B,qCAAqC;IACrC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,yCAAyC;IACzC,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACjD,gEAAgE;IAChE,OAAO,CAAC,EAAE,mBAAmB,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAAE,CAAC;CAC1D"}
@@ -0,0 +1,6 @@
1
+ import { PropFormProps } from './prop-form-types';
2
+ /**
3
+ * Dynamic form that renders controls based on a PropFieldDescriptor schema.
4
+ */
5
+ export declare const PropForm: ({ schema, values, onChange, columns }: PropFormProps) => import("react/jsx-runtime").JSX.Element;
6
+ //# sourceMappingURL=prop-form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prop-form.d.ts","sourceRoot":"","sources":["../../../../src/data-components/switcher/prop-form/prop-form.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAKlD;;GAEG;AACH,eAAO,MAAM,QAAQ,GAAI,uCAAuC,aAAa,4CAkD5E,CAAC"}
@@ -0,0 +1,53 @@
1
+ /**
2
+ * Where a prop field is configurable.
3
+ * - `"all"`: visible in both Switcher and Dashboard configurator
4
+ * - `"switcher"`: visible only in the Switcher panel
5
+ * - `"dashboard"`: visible only in the Dashboard configurator
6
+ * - `"none"`: not configurable via UI (callbacks, complex objects, etc.)
7
+ */
8
+ export type PropFieldScope = "all" | "switcher" | "dashboard" | "none";
9
+ /**
10
+ * Describes a single configurable prop field for the dynamic PropForm.
11
+ */
12
+ export interface PropFieldDescriptor {
13
+ /** Prop name (matches the key in the SpecificProps interface). */
14
+ name: string;
15
+ /** Control type to render. */
16
+ type: "boolean" | "string" | "number" | "select" | "column" | "columns" | "color[]";
17
+ /** Human-readable label. */
18
+ label: string;
19
+ /** Default value when the prop is not set. */
20
+ defaultValue: unknown;
21
+ /**
22
+ * Where this field is configurable.
23
+ * @default "all"
24
+ */
25
+ scope?: PropFieldScope;
26
+ /** Options for "select" type controls. */
27
+ options?: {
28
+ label: string;
29
+ value: string;
30
+ }[];
31
+ /**
32
+ * Optional condition: if provided, the field is only visible when this
33
+ * function returns true given the current form values.
34
+ */
35
+ condition?: (formValues: Record<string, unknown>) => boolean;
36
+ }
37
+ /**
38
+ * Registry mapping each DataComponentId to its array of PropFieldDescriptors.
39
+ */
40
+ export type PropSchemaRegistry = Record<string, PropFieldDescriptor[]>;
41
+ /**
42
+ * Helper to create a type-safe prop schema for a component.
43
+ * Ensures the field names match the component's specific props interface.
44
+ *
45
+ * @example
46
+ * ```ts
47
+ * const tableGridSchema = definePropSchema<TableGridSpecificProps>([
48
+ * { name: "enableSorting", type: "boolean", label: "Enable Sorting", defaultValue: false },
49
+ * ]);
50
+ * ```
51
+ */
52
+ export declare function definePropSchema<_TProps>(fields: PropFieldDescriptor[]): PropFieldDescriptor[];
53
+ //# sourceMappingURL=prop-schema-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prop-schema-types.d.ts","sourceRoot":"","sources":["../../../../src/data-components/switcher/prop-schema/prop-schema-types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,UAAU,GAAG,WAAW,GAAG,MAAM,CAAC;AAEvE;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,kEAAkE;IAClE,IAAI,EAAE,MAAM,CAAC;IACb,8BAA8B;IAC9B,IAAI,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;IACpF,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,8CAA8C;IAC9C,YAAY,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,0CAA0C;IAC1C,OAAO,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC7C;;;OAGG;IACH,SAAS,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC;CAC9D;AAED;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,mBAAmB,EAAE,CAAC,CAAC;AAEvE;;;;;;;;;;GAUG;AAEH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,mBAAmB,EAAE,GAAG,mBAAmB,EAAE,CAE9F"}
@@ -0,0 +1,15 @@
1
+ import { PropFieldDescriptor, PropFieldScope } from './prop-schema-types';
2
+ /**
3
+ * Filters a schema array to only include fields visible in the given scope.
4
+ */
5
+ export declare function filterSchemaByScope(schema: PropFieldDescriptor[], scope: PropFieldScope): PropFieldDescriptor[];
6
+ /**
7
+ * Builds a default values record from a schema array.
8
+ */
9
+ export declare function buildDefaultPropsFromSchema(schema: PropFieldDescriptor[]): Record<string, unknown>;
10
+ /**
11
+ * Merges partial prop values with schema defaults.
12
+ * Useful when restoring a saved configuration that may be incomplete.
13
+ */
14
+ export declare function mergeWithSchemaDefaults(schema: PropFieldDescriptor[], values: Record<string, unknown>): Record<string, unknown>;
15
+ //# sourceMappingURL=prop-schema-utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prop-schema-utils.d.ts","sourceRoot":"","sources":["../../../../src/data-components/switcher/prop-schema/prop-schema-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1E;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,mBAAmB,EAAE,EAC7B,KAAK,EAAE,cAAc,GACpB,mBAAmB,EAAE,CAOvB;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CACzC,MAAM,EAAE,mBAAmB,EAAE,GAC5B,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAMzB;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,mBAAmB,EAAE,EAC7B,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC9B,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAGzB"}
@@ -0,0 +1,38 @@
1
+ import { PropSchemaRegistry } from './prop-schema-types';
2
+ /**
3
+ * Registry of prop field descriptors for each data-component.
4
+ * Each entry describes the configurable props that appear in the PropForm panel.
5
+ *
6
+ * Fields of type "column" / "columns" are populated dynamically at render time
7
+ * from the `columns` prop passed to the configurator.
8
+ */
9
+ export declare const propSchemaRegistry: PropSchemaRegistry;
10
+ /**
11
+ * Human-readable metadata for the component selector.
12
+ */
13
+ export declare const dataComponentMetaList: ({
14
+ id: "table-grid";
15
+ label: string;
16
+ icon: string;
17
+ } | {
18
+ id: "chart";
19
+ label: string;
20
+ icon: string;
21
+ } | {
22
+ id: "calendar";
23
+ label: string;
24
+ icon: string;
25
+ } | {
26
+ id: "gantt";
27
+ label: string;
28
+ icon: string;
29
+ } | {
30
+ id: "form";
31
+ label: string;
32
+ icon: string;
33
+ } | {
34
+ id: "card-list";
35
+ label: string;
36
+ icon: string;
37
+ })[];
38
+ //# sourceMappingURL=prop-schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prop-schema.d.ts","sourceRoot":"","sources":["../../../../src/data-components/switcher/prop-schema/prop-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAoB,MAAM,qBAAqB,CAAC;AAqH3E;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,EAAE,kBAOhC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;IAOjC,CAAC"}
@@ -0,0 +1,58 @@
1
+ import { DataStructureComponent } from '../data-structure/data-structure';
2
+ import { TableGridSpecificProps } from '../table-grid/table-grid-types';
3
+ import { ChartSpecificProps } from '../chart/chart-types';
4
+ import { CalendarSpecificProps } from '../calendar/calendar-types';
5
+ import { GanttSpecificProps } from '../gantt/gantt-types';
6
+ import { FormSpecificProps } from '../form/form-types';
7
+ import { CardListSpecificProps } from '../card-list/card-list-types';
8
+ /**
9
+ * Identifiers for all data-components that the switcher can render.
10
+ */
11
+ export type DataComponentId = "table-grid" | "chart" | "calendar" | "gantt" | "form" | "card-list";
12
+ /**
13
+ * Maps each component id to its specific props interface (without DataStructureComponent).
14
+ * Used by the switcher to type the dynamic `componentProps` state.
15
+ */
16
+ export type ComponentSpecificPropsMap<TData> = {
17
+ "table-grid": TableGridSpecificProps<TData>;
18
+ "chart": ChartSpecificProps<TData>;
19
+ "calendar": CalendarSpecificProps<TData>;
20
+ "gantt": GanttSpecificProps<TData>;
21
+ "form": FormSpecificProps<TData>;
22
+ "card-list": CardListSpecificProps<TData>;
23
+ };
24
+ /**
25
+ * Human-readable metadata for each data-component shown in the selector.
26
+ */
27
+ export interface DataComponentMeta {
28
+ id: DataComponentId;
29
+ label: string;
30
+ description: string;
31
+ }
32
+ /**
33
+ * Props for the Switcher component.
34
+ * Accepts the shared DataStructureComponent props plus an optional initial component.
35
+ *
36
+ * Two modes:
37
+ * - **Uncontrolled**: provide `initialComponent` / `initialComponentProps`. Switcher manages its own state.
38
+ * - **Controlled**: provide `activeComponent` / `componentProps`. The parent manages state,
39
+ * and the Switcher reflects changes immediately. Use this when an external configurator
40
+ * (e.g. DashboardBuilder) drives the configuration.
41
+ */
42
+ export interface SwitcherProps<TData> extends DataStructureComponent<TData> {
43
+ /** Initial active component. Defaults to "table-grid". (Uncontrolled mode) */
44
+ initialComponent?: DataComponentId;
45
+ /** Initial specific props for the active component. (Uncontrolled mode) */
46
+ initialComponentProps?: Partial<ComponentSpecificPropsMap<TData>[DataComponentId]>;
47
+ /** Active component. When provided, Switcher runs in controlled mode. */
48
+ activeComponent?: DataComponentId;
49
+ /** Current component props. When provided, Switcher runs in controlled mode. */
50
+ componentProps?: Record<string, unknown>;
51
+ /** Whether to show the "Configure" button and overlay. Default: true. */
52
+ showConfigurator?: boolean;
53
+ /** Called when the active component changes. */
54
+ onComponentChange?: (componentId: DataComponentId) => void;
55
+ /** Called when the specific props change. */
56
+ onComponentPropsChange?: (props: Partial<ComponentSpecificPropsMap<TData>[DataComponentId]>) => void;
57
+ }
58
+ //# sourceMappingURL=switcher-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switcher-types.d.ts","sourceRoot":"","sources":["../../../src/data-components/switcher/switcher-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,YAAY,GAAG,OAAO,GAAG,UAAU,GAAG,OAAO,GAAG,MAAM,GAAG,WAAW,CAAC;AAEnG;;;GAGG;AACH,MAAM,MAAM,yBAAyB,CAAC,KAAK,IAAI;IAC7C,YAAY,EAAE,sBAAsB,CAAC,KAAK,CAAC,CAAC;IAC5C,OAAO,EAAE,kBAAkB,CAAC,KAAK,CAAC,CAAC;IACnC,UAAU,EAAE,qBAAqB,CAAC,KAAK,CAAC,CAAC;IACzC,OAAO,EAAE,kBAAkB,CAAC,KAAK,CAAC,CAAC;IACnC,MAAM,EAAE,iBAAiB,CAAC,KAAK,CAAC,CAAC;IACjC,WAAW,EAAE,qBAAqB,CAAC,KAAK,CAAC,CAAC;CAC3C,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,eAAe,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,aAAa,CAAC,KAAK,CAAE,SAAQ,sBAAsB,CAAC,KAAK,CAAC;IACzE,8EAA8E;IAC9E,gBAAgB,CAAC,EAAE,eAAe,CAAC;IACnC,2EAA2E;IAC3E,qBAAqB,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,KAAK,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC;IAEnF,yEAAyE;IACzE,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,gFAAgF;IAChF,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAEzC,yEAAyE;IACzE,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B,gDAAgD;IAChD,iBAAiB,CAAC,EAAE,CAAC,WAAW,EAAE,eAAe,KAAK,IAAI,CAAC;IAC3D,6CAA6C;IAC7C,sBAAsB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,yBAAyB,CAAC,KAAK,CAAC,CAAC,eAAe,CAAC,CAAC,KAAK,IAAI,CAAC;CACtG"}
@@ -0,0 +1,12 @@
1
+ import { SwitcherProps } from './switcher-types';
2
+ /**
3
+ * Switcher — wraps a data-component
4
+ * Shared props (data, columns, uiConfig, getSubRows) are passed to every component.
5
+ * Specific props are managed per-component via the config overlay.
6
+ *
7
+ * Two modes:
8
+ * - **Uncontrolled**: provide `initialComponent` / `initialComponentProps`
9
+ * - **Controlled**: provide `activeComponent` / `componentProps` (external configurator drives state)
10
+ */
11
+ export declare const Switcher: <TData extends object>({ data, columns, getSubRows, uiConfig, initialComponent, initialComponentProps, activeComponent: controlledComponent, componentProps: controlledProps, showConfigurator, onComponentChange, onComponentPropsChange, }: SwitcherProps<TData>) => import("react/jsx-runtime").JSX.Element;
12
+ //# sourceMappingURL=switcher.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switcher.d.ts","sourceRoot":"","sources":["../../../src/data-components/switcher/switcher.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAA8C,MAAM,kBAAkB,CAAC;AA2B7F;;;;;;;;GAQG;AACH,eAAO,MAAM,QAAQ,GAAI,KAAK,SAAS,MAAM,EAAE,uNAY5C,aAAa,CAAC,KAAK,CAAC,4CAuFtB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"formula-builder.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/formula/formula-builder.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,wBAAgB,cAAc,CAAC,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,eAAe,EAAE,SAAS,EAAE,EAAE,mBAAmB,CAAC,KAAK,CAAC,2CAyEjH"}
1
+ {"version":3,"file":"formula-builder.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/formula/formula-builder.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,wBAAgB,cAAc,CAAC,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,eAAe,EAAE,SAAS,EAAE,EAAE,mBAAmB,CAAC,KAAK,CAAC,2CA8EjH"}
@@ -1 +1 @@
1
- {"version":3,"file":"table-grid-row.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/row/table-grid-row.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAM3D,wBAAgB,YAAY,CAAC,KAAK,EAAE,EAClC,GAAG,EACH,UAAU,EACV,eAAuB,EACvB,eAAe,EAAE,YAAY,EAC7B,aAAa,EACb,UAAU,GACX,EAAE,iBAAiB,CAAC,KAAK,CAAC,2CA+H1B"}
1
+ {"version":3,"file":"table-grid-row.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/row/table-grid-row.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAM3D,wBAAgB,YAAY,CAAC,KAAK,EAAE,EAClC,GAAG,EACH,UAAU,EACV,eAAuB,EACvB,eAAe,EAAE,YAAY,EAC7B,aAAa,EACb,UAAU,GACX,EAAE,iBAAiB,CAAC,KAAK,CAAC,2CAiI1B"}
@@ -1,5 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { ColumnDef, TableOptions } from '../table-grid-types';
3
+ import { DataStructureUIConfig } from '../../ui-layer/ui-layer-types';
3
4
  export interface TableProviderProps<TData> {
4
5
  readonly children: ReactNode;
5
6
  readonly initialData: TData[];
@@ -10,5 +11,7 @@ export interface TableProviderProps<TData> {
10
11
  readonly options?: TableOptions;
11
12
  /** Callback for adding a dynamically-created formula column */
12
13
  readonly addFormulaColumn?: (col: ColumnDef<TData>) => void;
14
+ /** UI configuration for conditional styling and presentation */
15
+ readonly uiConfig?: DataStructureUIConfig<TData>;
13
16
  }
14
17
  //# sourceMappingURL=table-context-types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"table-context-types.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/table-context/table-context-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAE9D,MAAM,WAAW,kBAAkB,CAAC,KAAK;IACvC,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;IAC7B,QAAQ,CAAC,WAAW,EAAE,KAAK,EAAE,CAAC;IAC9B,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;IACrC,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,KAAK,KAAK,EAAE,GAAG,SAAS,CAAC;IACjF,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,IAAI,CAAC;IAChD,QAAQ,CAAC,iBAAiB,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,KAAK,IAAI,CAAC;IACpF,QAAQ,CAAC,OAAO,CAAC,EAAE,YAAY,CAAC;IAChC,+DAA+D;IAC/D,QAAQ,CAAC,gBAAgB,CAAC,EAAE,CAAC,GAAG,EAAE,SAAS,CAAC,KAAK,CAAC,KAAK,IAAI,CAAC;CAC7D"}
1
+ {"version":3,"file":"table-context-types.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/table-context/table-context-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,MAAM,WAAW,kBAAkB,CAAC,KAAK;IACvC,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;IAC7B,QAAQ,CAAC,WAAW,EAAE,KAAK,EAAE,CAAC;IAC9B,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;IACrC,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,KAAK,KAAK,EAAE,GAAG,SAAS,CAAC;IACjF,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,IAAI,CAAC;IAChD,QAAQ,CAAC,iBAAiB,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,KAAK,IAAI,CAAC;IACpF,QAAQ,CAAC,OAAO,CAAC,EAAE,YAAY,CAAC;IAChC,+DAA+D;IAC/D,QAAQ,CAAC,gBAAgB,CAAC,EAAE,CAAC,GAAG,EAAE,SAAS,CAAC,KAAK,CAAC,KAAK,IAAI,CAAC;IAC5D,gEAAgE;IAChE,QAAQ,CAAC,QAAQ,CAAC,EAAE,qBAAqB,CAAC,KAAK,CAAC,CAAC;CAClD"}
@@ -1,4 +1,4 @@
1
1
  import { default as React } from 'react';
2
2
  import { TableProviderProps } from './table-context/table-context-types';
3
- export declare function TableProvider<TData>({ children, initialData, columns, getSubRows, onDataChange, onSelectionChange, options, addFormulaColumn, }: TableProviderProps<TData>): React.ReactElement;
3
+ export declare function TableProvider<TData>({ children, initialData, columns, getSubRows, onDataChange, onSelectionChange, options, addFormulaColumn, uiConfig, }: TableProviderProps<TData>): React.ReactElement;
4
4
  //# sourceMappingURL=table-grid-context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"table-grid-context.d.ts","sourceRoot":"","sources":["../../../src/data-components/table-grid/table-grid-context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAGjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAezE,wBAAgB,aAAa,CAAC,KAAK,EAAE,EACnC,QAAQ,EACR,WAAW,EACX,OAAO,EACP,UAAU,EACV,YAAY,EACZ,iBAAiB,EACjB,OAAY,EACZ,gBAAgB,GACjB,EAAE,kBAAkB,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,YAAY,CA6VhD"}
1
+ {"version":3,"file":"table-grid-context.d.ts","sourceRoot":"","sources":["../../../src/data-components/table-grid/table-grid-context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAGjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAgBzE,wBAAgB,aAAa,CAAC,KAAK,EAAE,EACnC,QAAQ,EACR,WAAW,EACX,OAAO,EACP,UAAU,EACV,YAAY,EACZ,iBAAiB,EACjB,OAAY,EACZ,gBAAgB,EAChB,QAAQ,GACT,EAAE,kBAAkB,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,YAAY,CAoWhD"}
@@ -1 +1 @@
1
- {"version":3,"file":"table-grid-panels.d.ts","sourceRoot":"","sources":["../../../src/data-components/table-grid/table-grid-panels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