@elaraai/east-ui-components 0.0.1-beta.16 → 0.0.1-beta.17

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 (189) hide show
  1. package/dist/index.cjs +3694 -1347
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.js +3694 -1347
  4. package/dist/index.js.map +1 -1
  5. package/package.json +3 -3
  6. package/dist/buttons/button/index.d.ts +0 -25
  7. package/dist/buttons/button/index.d.ts.map +0 -1
  8. package/dist/buttons/icon-button/index.d.ts +0 -22
  9. package/dist/buttons/icon-button/index.d.ts.map +0 -1
  10. package/dist/buttons/index.d.ts +0 -10
  11. package/dist/buttons/index.d.ts.map +0 -1
  12. package/dist/charts/area/index.d.ts +0 -16
  13. package/dist/charts/area/index.d.ts.map +0 -1
  14. package/dist/charts/bar/index.d.ts +0 -16
  15. package/dist/charts/bar/index.d.ts.map +0 -1
  16. package/dist/charts/bar-list/index.d.ts +0 -16
  17. package/dist/charts/bar-list/index.d.ts.map +0 -1
  18. package/dist/charts/bar-segment/index.d.ts +0 -16
  19. package/dist/charts/bar-segment/index.d.ts.map +0 -1
  20. package/dist/charts/index.d.ts +0 -17
  21. package/dist/charts/index.d.ts.map +0 -1
  22. package/dist/charts/line/index.d.ts +0 -19
  23. package/dist/charts/line/index.d.ts.map +0 -1
  24. package/dist/charts/pie/index.d.ts +0 -16
  25. package/dist/charts/pie/index.d.ts.map +0 -1
  26. package/dist/charts/radar/index.d.ts +0 -16
  27. package/dist/charts/radar/index.d.ts.map +0 -1
  28. package/dist/charts/scatter/index.d.ts +0 -16
  29. package/dist/charts/scatter/index.d.ts.map +0 -1
  30. package/dist/charts/sparkline/index.d.ts +0 -35
  31. package/dist/charts/sparkline/index.d.ts.map +0 -1
  32. package/dist/charts/utils.d.ts +0 -177
  33. package/dist/charts/utils.d.ts.map +0 -1
  34. package/dist/collections/data-list/index.d.ts +0 -24
  35. package/dist/collections/data-list/index.d.ts.map +0 -1
  36. package/dist/collections/gantt/EventAxis.d.ts +0 -14
  37. package/dist/collections/gantt/EventAxis.d.ts.map +0 -1
  38. package/dist/collections/gantt/GanttEventRow.d.ts +0 -34
  39. package/dist/collections/gantt/GanttEventRow.d.ts.map +0 -1
  40. package/dist/collections/gantt/GanttMilestone.d.ts +0 -25
  41. package/dist/collections/gantt/GanttMilestone.d.ts.map +0 -1
  42. package/dist/collections/gantt/GanttTask.d.ts +0 -39
  43. package/dist/collections/gantt/GanttTask.d.ts.map +0 -1
  44. package/dist/collections/gantt/index.d.ts +0 -68
  45. package/dist/collections/gantt/index.d.ts.map +0 -1
  46. package/dist/collections/index.d.ts +0 -9
  47. package/dist/collections/index.d.ts.map +0 -1
  48. package/dist/collections/planner/PlannerAxis.d.ts +0 -16
  49. package/dist/collections/planner/PlannerAxis.d.ts.map +0 -1
  50. package/dist/collections/planner/PlannerEvent.d.ts +0 -28
  51. package/dist/collections/planner/PlannerEvent.d.ts.map +0 -1
  52. package/dist/collections/planner/PlannerEventRow.d.ts +0 -33
  53. package/dist/collections/planner/PlannerEventRow.d.ts.map +0 -1
  54. package/dist/collections/planner/PlannerSlotCell.d.ts +0 -15
  55. package/dist/collections/planner/PlannerSlotCell.d.ts.map +0 -1
  56. package/dist/collections/planner/index.d.ts +0 -69
  57. package/dist/collections/planner/index.d.ts.map +0 -1
  58. package/dist/collections/table/index.d.ts +0 -62
  59. package/dist/collections/table/index.d.ts.map +0 -1
  60. package/dist/collections/tree-view/index.d.ts +0 -31
  61. package/dist/collections/tree-view/index.d.ts.map +0 -1
  62. package/dist/component.d.ts +0 -15
  63. package/dist/component.d.ts.map +0 -1
  64. package/dist/container/card/index.d.ts +0 -22
  65. package/dist/container/card/index.d.ts.map +0 -1
  66. package/dist/container/index.d.ts +0 -6
  67. package/dist/container/index.d.ts.map +0 -1
  68. package/dist/disclosure/accordion/index.d.ts +0 -36
  69. package/dist/disclosure/accordion/index.d.ts.map +0 -1
  70. package/dist/disclosure/carousel/index.d.ts +0 -22
  71. package/dist/disclosure/carousel/index.d.ts.map +0 -1
  72. package/dist/disclosure/index.d.ts +0 -8
  73. package/dist/disclosure/index.d.ts.map +0 -1
  74. package/dist/disclosure/tabs/index.d.ts +0 -45
  75. package/dist/disclosure/tabs/index.d.ts.map +0 -1
  76. package/dist/display/avatar/index.d.ts +0 -22
  77. package/dist/display/avatar/index.d.ts.map +0 -1
  78. package/dist/display/badge/index.d.ts +0 -22
  79. package/dist/display/badge/index.d.ts.map +0 -1
  80. package/dist/display/icon/index.d.ts +0 -22
  81. package/dist/display/icon/index.d.ts.map +0 -1
  82. package/dist/display/index.d.ts +0 -10
  83. package/dist/display/index.d.ts.map +0 -1
  84. package/dist/display/stat/index.d.ts +0 -16
  85. package/dist/display/stat/index.d.ts.map +0 -1
  86. package/dist/display/tag/index.d.ts +0 -22
  87. package/dist/display/tag/index.d.ts.map +0 -1
  88. package/dist/feedback/alert/index.d.ts +0 -22
  89. package/dist/feedback/alert/index.d.ts.map +0 -1
  90. package/dist/feedback/index.d.ts +0 -7
  91. package/dist/feedback/index.d.ts.map +0 -1
  92. package/dist/feedback/progress/index.d.ts +0 -22
  93. package/dist/feedback/progress/index.d.ts.map +0 -1
  94. package/dist/forms/checkbox/index.d.ts +0 -22
  95. package/dist/forms/checkbox/index.d.ts.map +0 -1
  96. package/dist/forms/field/index.d.ts +0 -22
  97. package/dist/forms/field/index.d.ts.map +0 -1
  98. package/dist/forms/file-upload/index.d.ts +0 -22
  99. package/dist/forms/file-upload/index.d.ts.map +0 -1
  100. package/dist/forms/index.d.ts +0 -14
  101. package/dist/forms/index.d.ts.map +0 -1
  102. package/dist/forms/input/date/CompoundDateField.d.ts +0 -32
  103. package/dist/forms/input/date/CompoundDateField.d.ts.map +0 -1
  104. package/dist/forms/input/date/DateField.d.ts +0 -13
  105. package/dist/forms/input/date/DateField.d.ts.map +0 -1
  106. package/dist/forms/input/date/TimeField.d.ts +0 -32
  107. package/dist/forms/input/date/TimeField.d.ts.map +0 -1
  108. package/dist/forms/input/date/index.d.ts +0 -8
  109. package/dist/forms/input/date/index.d.ts.map +0 -1
  110. package/dist/forms/input/index.d.ts +0 -70
  111. package/dist/forms/input/index.d.ts.map +0 -1
  112. package/dist/forms/select/index.d.ts +0 -31
  113. package/dist/forms/select/index.d.ts.map +0 -1
  114. package/dist/forms/slider/index.d.ts +0 -22
  115. package/dist/forms/slider/index.d.ts.map +0 -1
  116. package/dist/forms/switch/index.d.ts +0 -22
  117. package/dist/forms/switch/index.d.ts.map +0 -1
  118. package/dist/forms/tags-input/index.d.ts +0 -22
  119. package/dist/forms/tags-input/index.d.ts.map +0 -1
  120. package/dist/forms/textarea/index.d.ts +0 -22
  121. package/dist/forms/textarea/index.d.ts.map +0 -1
  122. package/dist/index.d.ts +0 -23
  123. package/dist/index.d.ts.map +0 -1
  124. package/dist/layout/box/index.d.ts +0 -25
  125. package/dist/layout/box/index.d.ts.map +0 -1
  126. package/dist/layout/flex/index.d.ts +0 -25
  127. package/dist/layout/flex/index.d.ts.map +0 -1
  128. package/dist/layout/grid/index.d.ts +0 -25
  129. package/dist/layout/grid/index.d.ts.map +0 -1
  130. package/dist/layout/index.d.ts +0 -14
  131. package/dist/layout/index.d.ts.map +0 -1
  132. package/dist/layout/separator/index.d.ts +0 -25
  133. package/dist/layout/separator/index.d.ts.map +0 -1
  134. package/dist/layout/splitter/index.d.ts +0 -33
  135. package/dist/layout/splitter/index.d.ts.map +0 -1
  136. package/dist/layout/stack/index.d.ts +0 -25
  137. package/dist/layout/stack/index.d.ts.map +0 -1
  138. package/dist/overlays/action-bar/index.d.ts +0 -18
  139. package/dist/overlays/action-bar/index.d.ts.map +0 -1
  140. package/dist/overlays/dialog/index.d.ts +0 -42
  141. package/dist/overlays/dialog/index.d.ts.map +0 -1
  142. package/dist/overlays/drawer/index.d.ts +0 -42
  143. package/dist/overlays/drawer/index.d.ts.map +0 -1
  144. package/dist/overlays/hover-card/index.d.ts +0 -16
  145. package/dist/overlays/hover-card/index.d.ts.map +0 -1
  146. package/dist/overlays/index.d.ts +0 -14
  147. package/dist/overlays/index.d.ts.map +0 -1
  148. package/dist/overlays/menu/index.d.ts +0 -18
  149. package/dist/overlays/menu/index.d.ts.map +0 -1
  150. package/dist/overlays/overlay-manager.d.ts +0 -69
  151. package/dist/overlays/overlay-manager.d.ts.map +0 -1
  152. package/dist/overlays/popover/index.d.ts +0 -16
  153. package/dist/overlays/popover/index.d.ts.map +0 -1
  154. package/dist/overlays/toggle-tip/index.d.ts +0 -17
  155. package/dist/overlays/toggle-tip/index.d.ts.map +0 -1
  156. package/dist/overlays/tooltip/index.d.ts +0 -16
  157. package/dist/overlays/tooltip/index.d.ts.map +0 -1
  158. package/dist/platform/hooks.d.ts +0 -241
  159. package/dist/platform/hooks.d.ts.map +0 -1
  160. package/dist/platform/index.d.ts +0 -17
  161. package/dist/platform/index.d.ts.map +0 -1
  162. package/dist/platform/store.d.ts +0 -65
  163. package/dist/platform/store.d.ts.map +0 -1
  164. package/dist/reactive/index.d.ts +0 -42
  165. package/dist/reactive/index.d.ts.map +0 -1
  166. package/dist/typography/code/index.d.ts +0 -22
  167. package/dist/typography/code/index.d.ts.map +0 -1
  168. package/dist/typography/code-block/index.d.ts +0 -35
  169. package/dist/typography/code-block/index.d.ts.map +0 -1
  170. package/dist/typography/heading/index.d.ts +0 -22
  171. package/dist/typography/heading/index.d.ts.map +0 -1
  172. package/dist/typography/highlight/index.d.ts +0 -27
  173. package/dist/typography/highlight/index.d.ts.map +0 -1
  174. package/dist/typography/index.d.ts +0 -13
  175. package/dist/typography/index.d.ts.map +0 -1
  176. package/dist/typography/link/index.d.ts +0 -22
  177. package/dist/typography/link/index.d.ts.map +0 -1
  178. package/dist/typography/list/index.d.ts +0 -22
  179. package/dist/typography/list/index.d.ts.map +0 -1
  180. package/dist/typography/mark/index.d.ts +0 -22
  181. package/dist/typography/mark/index.d.ts.map +0 -1
  182. package/dist/typography/text/index.d.ts +0 -25
  183. package/dist/typography/text/index.d.ts.map +0 -1
  184. package/dist/utils/RowSortManager.d.ts +0 -68
  185. package/dist/utils/RowSortManager.d.ts.map +0 -1
  186. package/dist/utils/RowStateManager.d.ts +0 -42
  187. package/dist/utils/RowStateManager.d.ts.map +0 -1
  188. package/dist/utils.d.ts +0 -7
  189. package/dist/utils.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elaraai/east-ui-components",
3
- "version": "0.0.1-beta.16",
3
+ "version": "0.0.1-beta.17",
4
4
  "description": "React components for rendering East UI types with Chakra UI",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -21,7 +21,7 @@
21
21
  ],
22
22
  "sideEffects": false,
23
23
  "scripts": {
24
- "build": "vite build && tsc --emitDeclarationOnly",
24
+ "build": "vite build",
25
25
  "lint": "eslint .",
26
26
  "lint:fix": "eslint . --fix",
27
27
  "test": "vitest run",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "peerDependencies": {
32
32
  "@elaraai/east": "^0.0.1-beta.25",
33
- "@elaraai/east-ui": "^0.0.1-beta.16",
33
+ "@elaraai/east-ui": "^0.0.1-beta.17",
34
34
  "react": "^19.0.0",
35
35
  "react-dom": "^19.0.0"
36
36
  },
@@ -1,25 +0,0 @@
1
- /**
2
- * Copyright (c) 2025 Elara AI Pty Ltd
3
- * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
- */
5
- import { type ButtonProps } from "@chakra-ui/react";
6
- import { type ValueTypeOf } from "@elaraai/east";
7
- import { Button } from "@elaraai/east-ui";
8
- /** East Button value type */
9
- export type ButtonValue = ValueTypeOf<typeof Button.Types.Button>;
10
- /**
11
- * Converts an East UI Button value to Chakra UI Button props (excluding callbacks).
12
- * Pure function - easy to test independently.
13
- *
14
- * @param value - The East Button value
15
- * @returns Chakra Button props
16
- */
17
- export declare function toChakraButton(value: ButtonValue): Omit<ButtonProps, "onClick">;
18
- export interface EastChakraButtonProps {
19
- value: ButtonValue;
20
- }
21
- /**
22
- * Renders an East UI Button value using Chakra UI Button component.
23
- */
24
- export declare const EastChakraButton: import("react").NamedExoticComponent<EastChakraButtonProps>;
25
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/buttons/button/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAA0B,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAM1C,6BAA6B;AAC7B,MAAM,MAAM,WAAW,GAAG,WAAW,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;AAElE;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,CAU/E;AAED,MAAM,WAAW,qBAAqB;IAClC,KAAK,EAAE,WAAW,CAAC;CACtB;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,6DAkB0B,CAAC"}
@@ -1,22 +0,0 @@
1
- /**
2
- * Copyright (c) 2025 Elara AI Pty Ltd
3
- * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
- */
5
- import { type IconButtonProps } from "@chakra-ui/react";
6
- import { type ValueTypeOf } from "@elaraai/east";
7
- import { IconButton } from "@elaraai/east-ui";
8
- /** East IconButton value type */
9
- export type IconButtonValue = ValueTypeOf<typeof IconButton.Types.IconButton>;
10
- /**
11
- * Converts an East UI IconButton value to Chakra UI IconButton props (excluding callbacks).
12
- * Pure function - easy to test independently.
13
- */
14
- export declare function toChakraIconButton(value: IconButtonValue): Omit<IconButtonProps, "children" | "aria-label" | "onClick">;
15
- export interface EastChakraIconButtonProps {
16
- value: IconButtonValue;
17
- }
18
- /**
19
- * Renders an East UI IconButton value using Chakra UI IconButton component.
20
- */
21
- export declare const EastChakraIconButton: import("react").NamedExoticComponent<EastChakraIconButtonProps>;
22
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/buttons/icon-button/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAkC,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAMxF,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAU9C,iCAAiC;AACjC,MAAM,MAAM,eAAe,GAAG,WAAW,CAAC,OAAO,UAAU,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;AAE9E;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,eAAe,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,GAAG,YAAY,GAAG,SAAS,CAAC,CAUvH;AAED,MAAM,WAAW,yBAAyB;IACtC,KAAK,EAAE,eAAe,CAAC;CAC1B;AAED;;GAEG;AACH,eAAO,MAAM,oBAAoB,iEAkB0B,CAAC"}
@@ -1,10 +0,0 @@
1
- /**
2
- * Copyright (c) 2025 Elara AI Pty Ltd
3
- * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
- */
5
- /**
6
- * Button components for interactive actions.
7
- */
8
- export { toChakraButton, EastChakraButton, type ButtonValue, type EastChakraButtonProps, } from "./button/index.js";
9
- export { toChakraIconButton, EastChakraIconButton, type IconButtonValue, type EastChakraIconButtonProps, } from "./icon-button/index.js";
10
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/buttons/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,OAAO,EACH,cAAc,EACd,gBAAgB,EAChB,KAAK,WAAW,EAChB,KAAK,qBAAqB,GAC7B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACH,kBAAkB,EAClB,oBAAoB,EACpB,KAAK,eAAe,EACpB,KAAK,yBAAyB,GACjC,MAAM,wBAAwB,CAAC"}
@@ -1,16 +0,0 @@
1
- /**
2
- * Copyright (c) 2025 Elara AI Pty Ltd
3
- * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
- */
5
- import { type ValueTypeOf } from "@elaraai/east";
6
- import { Chart as EastChart } from "@elaraai/east-ui";
7
- /** East AreaChart value type */
8
- export type AreaChartValue = ValueTypeOf<typeof EastChart.Types.AreaChart>;
9
- export interface EastChakraAreaChartProps {
10
- value: AreaChartValue;
11
- }
12
- /**
13
- * Renders an East UI AreaChart value using Chakra UI Charts.
14
- */
15
- export declare const EastChakraAreaChart: import("react").NamedExoticComponent<EastChakraAreaChartProps>;
16
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/charts/area/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAsBtD,gCAAgC;AAChC,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,SAAS,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AAE3E,MAAM,WAAW,wBAAwB;IACrC,KAAK,EAAE,cAAc,CAAC;CACzB;AAED;;GAEG;AACH,eAAO,MAAM,mBAAmB,gEA8J0B,CAAC"}
@@ -1,16 +0,0 @@
1
- /**
2
- * Copyright (c) 2025 Elara AI Pty Ltd
3
- * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
- */
5
- import { type ValueTypeOf } from "@elaraai/east";
6
- import { Chart as EastChart } from "@elaraai/east-ui";
7
- /** East BarChart value type */
8
- export type BarChartValue = ValueTypeOf<typeof EastChart.Types.BarChart>;
9
- export interface EastChakraBarChartProps {
10
- value: BarChartValue;
11
- }
12
- /**
13
- * Renders an East UI BarChart value using Chakra UI Charts.
14
- */
15
- export declare const EastChakraBarChart: import("react").NamedExoticComponent<EastChakraBarChartProps>;
16
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/charts/bar/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAsBtD,+BAA+B;AAC/B,MAAM,MAAM,aAAa,GAAG,WAAW,CAAC,OAAO,SAAS,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;AAEzE,MAAM,WAAW,uBAAuB;IACpC,KAAK,EAAE,aAAa,CAAC;CACxB;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,+DAwK0B,CAAC"}
@@ -1,16 +0,0 @@
1
- /**
2
- * Copyright (c) 2025 Elara AI Pty Ltd
3
- * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
- */
5
- import { type ValueTypeOf } from "@elaraai/east";
6
- import { Chart as EastChart } from "@elaraai/east-ui";
7
- /** East BarList value type */
8
- export type BarListValue = ValueTypeOf<typeof EastChart.Types.BarList>;
9
- export interface EastChakraBarListProps {
10
- value: BarListValue;
11
- }
12
- /**
13
- * Renders an East UI BarList value using Chakra UI BarList.
14
- */
15
- export declare const EastChakraBarList: import("react").NamedExoticComponent<EastChakraBarListProps>;
16
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/charts/bar-list/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAmB,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAMtD,8BAA8B;AAC9B,MAAM,MAAM,YAAY,GAAG,WAAW,CAAC,OAAO,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;AAEvE,MAAM,WAAW,sBAAsB;IACnC,KAAK,EAAE,YAAY,CAAC;CACvB;AAmED;;GAEG;AACH,eAAO,MAAM,iBAAiB,8DAgD0B,CAAC"}
@@ -1,16 +0,0 @@
1
- /**
2
- * Copyright (c) 2025 Elara AI Pty Ltd
3
- * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
- */
5
- import { type ValueTypeOf } from "@elaraai/east";
6
- import { Chart as EastChart } from "@elaraai/east-ui";
7
- /** East BarSegment value type */
8
- export type BarSegmentValue = ValueTypeOf<typeof EastChart.Types.BarSegment>;
9
- export interface EastChakraBarSegmentProps {
10
- value: BarSegmentValue;
11
- }
12
- /**
13
- * Renders an East UI BarSegment value using Chakra UI BarSegment.
14
- */
15
- export declare const EastChakraBarSegment: import("react").NamedExoticComponent<EastChakraBarSegmentProps>;
16
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/charts/bar-segment/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAMtD,iCAAiC;AACjC,MAAM,MAAM,eAAe,GAAG,WAAW,CAAC,OAAO,SAAS,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;AAE7E,MAAM,WAAW,yBAAyB;IACtC,KAAK,EAAE,eAAe,CAAC;CAC1B;AAED;;GAEG;AACH,eAAO,MAAM,oBAAoB,iEAqC0B,CAAC"}
@@ -1,17 +0,0 @@
1
- /**
2
- * Copyright (c) 2025 Elara AI Pty Ltd
3
- * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
- */
5
- /**
6
- * Chart components for data visualization.
7
- */
8
- export { EastChakraSparkline, type EastChakraSparklineProps } from "./sparkline/index.js";
9
- export { EastChakraAreaChart, type EastChakraAreaChartProps } from "./area/index.js";
10
- export { EastChakraBarChart, type EastChakraBarChartProps } from "./bar/index.js";
11
- export { EastChakraLineChart, type EastChakraLineChartProps } from "./line/index.js";
12
- export { EastChakraScatterChart, type EastChakraScatterChartProps } from "./scatter/index.js";
13
- export { EastChakraPieChart, type EastChakraPieChartProps } from "./pie/index.js";
14
- export { EastChakraRadarChart, type EastChakraRadarChartProps } from "./radar/index.js";
15
- export { EastChakraBarList, type EastChakraBarListProps } from "./bar-list/index.js";
16
- export { EastChakraBarSegment, type EastChakraBarSegmentProps } from "./bar-segment/index.js";
17
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/charts/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,OAAO,EAAE,mBAAmB,EAAE,KAAK,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAC1F,OAAO,EAAE,mBAAmB,EAAE,KAAK,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAClF,OAAO,EAAE,mBAAmB,EAAE,KAAK,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AACrF,OAAO,EAAE,sBAAsB,EAAE,KAAK,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAC9F,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAClF,OAAO,EAAE,oBAAoB,EAAE,KAAK,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AACxF,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AACrF,OAAO,EAAE,oBAAoB,EAAE,KAAK,yBAAyB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -1,19 +0,0 @@
1
- /**
2
- * Copyright (c) 2025 Elara AI Pty Ltd
3
- * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
- */
5
- import { type ValueTypeOf } from "@elaraai/east";
6
- import { Chart as EastChart } from "@elaraai/east-ui";
7
- import type { LineChartSeriesType } from "@elaraai/east-ui/internal";
8
- /** East LineChart value type */
9
- export type LineChartValue = ValueTypeOf<typeof EastChart.Types.LineChart>;
10
- /** East LineChartSeries value type */
11
- export type LineChartSeriesValue = ValueTypeOf<LineChartSeriesType>;
12
- export interface EastChakraLineChartProps {
13
- value: LineChartValue;
14
- }
15
- /**
16
- * Renders an East UI LineChart value using Chakra UI Charts.
17
- */
18
- export declare const EastChakraLineChart: import("react").NamedExoticComponent<EastChakraLineChartProps>;
19
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/charts/line/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAsBrE,gCAAgC;AAChC,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,SAAS,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AAE3E,sCAAsC;AACtC,MAAM,MAAM,oBAAoB,GAAG,WAAW,CAAC,mBAAmB,CAAC,CAAC;AAoCpE,MAAM,WAAW,wBAAwB;IACrC,KAAK,EAAE,cAAc,CAAC;CACzB;AAED;;GAEG;AACH,eAAO,MAAM,mBAAmB,gEAqK0B,CAAC"}
@@ -1,16 +0,0 @@
1
- /**
2
- * Copyright (c) 2025 Elara AI Pty Ltd
3
- * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
- */
5
- import { type ValueTypeOf } from "@elaraai/east";
6
- import { Chart as EastChart } from "@elaraai/east-ui";
7
- /** East PieChart value type */
8
- export type PieChartValue = ValueTypeOf<typeof EastChart.Types.PieChart>;
9
- export interface EastChakraPieChartProps {
10
- value: PieChartValue;
11
- }
12
- /**
13
- * Renders an East UI PieChart value using Chakra UI Charts.
14
- */
15
- export declare const EastChakraPieChart: import("react").NamedExoticComponent<EastChakraPieChartProps>;
16
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/charts/pie/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAatD,+BAA+B;AAC/B,MAAM,MAAM,aAAa,GAAG,WAAW,CAAC,OAAO,SAAS,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;AAEzE,MAAM,WAAW,uBAAuB;IACpC,KAAK,EAAE,aAAa,CAAC;CACxB;AAgBD;;GAEG;AACH,eAAO,MAAM,kBAAkB,+DA4F0B,CAAC"}
@@ -1,16 +0,0 @@
1
- /**
2
- * Copyright (c) 2025 Elara AI Pty Ltd
3
- * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
- */
5
- import { type ValueTypeOf } from "@elaraai/east";
6
- import { Chart as EastChart } from "@elaraai/east-ui";
7
- /** East RadarChart value type */
8
- export type RadarChartValue = ValueTypeOf<typeof EastChart.Types.RadarChart>;
9
- export interface EastChakraRadarChartProps {
10
- value: RadarChartValue;
11
- }
12
- /**
13
- * Renders an East UI RadarChart value using Chakra UI Charts.
14
- */
15
- export declare const EastChakraRadarChart: import("react").NamedExoticComponent<EastChakraRadarChartProps>;
16
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/charts/radar/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAetD,iCAAiC;AACjC,MAAM,MAAM,eAAe,GAAG,WAAW,CAAC,OAAO,SAAS,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;AAE7E,MAAM,WAAW,yBAAyB;IACtC,KAAK,EAAE,eAAe,CAAC;CAC1B;AAED;;GAEG;AACH,eAAO,MAAM,oBAAoB,iEA+F0B,CAAC"}
@@ -1,16 +0,0 @@
1
- /**
2
- * Copyright (c) 2025 Elara AI Pty Ltd
3
- * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
- */
5
- import { type ValueTypeOf } from "@elaraai/east";
6
- import { Chart as EastChart } from "@elaraai/east-ui";
7
- /** East ScatterChart value type */
8
- export type ScatterChartValue = ValueTypeOf<typeof EastChart.Types.ScatterChart>;
9
- export interface EastChakraScatterChartProps {
10
- value: ScatterChartValue;
11
- }
12
- /**
13
- * Renders an East UI ScatterChart value using Chakra UI Charts.
14
- */
15
- export declare const EastChakraScatterChart: import("react").NamedExoticComponent<EastChakraScatterChartProps>;
16
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/charts/scatter/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAsBtD,mCAAmC;AACnC,MAAM,MAAM,iBAAiB,GAAG,WAAW,CAAC,OAAO,SAAS,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;AAEjF,MAAM,WAAW,2BAA2B;IACxC,KAAK,EAAE,iBAAiB,CAAC;CAC5B;AAED;;GAEG;AACH,eAAO,MAAM,sBAAsB,mEA0J0B,CAAC"}
@@ -1,35 +0,0 @@
1
- /**
2
- * Copyright (c) 2025 Elara AI Pty Ltd
3
- * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
- */
5
- import { type ValueTypeOf } from "@elaraai/east";
6
- import { Sparkline } from "@elaraai/east-ui";
7
- /** East Sparkline value type */
8
- export type SparklineValue = ValueTypeOf<typeof Sparkline.Types.Sparkline>;
9
- /**
10
- * Sparkline style props for rendering.
11
- */
12
- export interface SparklineStyleProps {
13
- data: number[];
14
- chartType: "line" | "area";
15
- color: string;
16
- width: string;
17
- height: string;
18
- }
19
- /**
20
- * Converts an East UI Sparkline value to Sparkline style props.
21
- * Pure function - easy to test independently.
22
- *
23
- * @param value - The East Sparkline value
24
- * @returns Sparkline style props
25
- */
26
- export declare function toChakraSparkline(value: SparklineValue): SparklineStyleProps;
27
- export interface EastChakraSparklineProps {
28
- value: SparklineValue;
29
- }
30
- /**
31
- * Renders an East UI Sparkline value using simple inline SVG.
32
- * Lightweight implementation suitable for table cells and dense layouts.
33
- */
34
- export declare const EastChakraSparkline: import("react").NamedExoticComponent<EastChakraSparklineProps>;
35
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/charts/sparkline/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAM7C,gCAAgC;AAChC,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,SAAS,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AAE3E;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAClB;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,cAAc,GAAG,mBAAmB,CAQ5E;AAED,MAAM,WAAW,wBAAwB;IACrC,KAAK,EAAE,cAAc,CAAC;CACzB;AAuDD;;;GAGG;AACH,eAAO,MAAM,mBAAmB,gEAkD0B,CAAC"}
@@ -1,177 +0,0 @@
1
- /**
2
- * Copyright (c) 2025 Elara AI Pty Ltd
3
- * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
- */
5
- import { type ValueTypeOf, type LiteralValueType } from "@elaraai/east";
6
- import type { ChartAxisType, ChartSeriesType, ChartGridType, ChartLegendType, ChartTooltipType, ChartMarginType, TickFormatType } from "@elaraai/east-ui/internal";
7
- import type { UseChartProps, UseChartReturn } from "@chakra-ui/charts";
8
- import type { CartesianGridProps, XAxisProps, YAxisProps, TooltipProps as RechartsTooltipProps, LegendProps as RechartsLegendProps } from "recharts";
9
- /** East ChartSeries value type */
10
- export type ChartSeriesValue = ValueTypeOf<ChartSeriesType>;
11
- /** East ChartAxis value type */
12
- export type ChartAxisValue = ValueTypeOf<ChartAxisType>;
13
- /** East ChartGrid value type */
14
- export type ChartGridValue = ValueTypeOf<ChartGridType>;
15
- /** East ChartLegend value type */
16
- export type ChartLegendValue = ValueTypeOf<ChartLegendType>;
17
- /** East ChartTooltip value type */
18
- export type ChartTooltipValue = ValueTypeOf<ChartTooltipType>;
19
- /** East ChartMargin value type */
20
- export type ChartMarginValue = ValueTypeOf<ChartMarginType>;
21
- /** East TickFormat value type */
22
- export type TickFormatValue = ValueTypeOf<TickFormatType>;
23
- /** Recharts margin type */
24
- export interface RechartsMargin {
25
- top?: number;
26
- right?: number;
27
- bottom?: number;
28
- left?: number;
29
- }
30
- /**
31
- * Series item type derived from Chakra's UseChartProps.
32
- * This is the type expected by useChart's series parameter.
33
- */
34
- export type ChartSeriesItem = NonNullable<UseChartProps<Record<string, unknown>>["series"]>[number];
35
- /**
36
- * Converts an East ChartSeries value to props for Chakra useChart series.
37
- * Pure function - easy to test independently.
38
- *
39
- * @param value - The East ChartSeries value
40
- * @returns ChartSeriesItem props for Chakra useChart
41
- */
42
- export declare function toChartSeries(value: ChartSeriesValue): ChartSeriesItem;
43
- /**
44
- * Converts an East ChartAxis value to XAxis component props.
45
- * Pure function - easy to test independently.
46
- *
47
- * @param value - The East ChartAxis value
48
- * @param chart - The Chakra chart instance (for key() function)
49
- * @returns Partial XAxisProps
50
- */
51
- export declare function toRechartsXAxis(value: ChartAxisValue, chart: UseChartReturn<Record<string, unknown>>): Partial<XAxisProps>;
52
- /**
53
- * Converts an East ChartAxis value to YAxis component props.
54
- * Pure function - easy to test independently.
55
- *
56
- * @param value - The East ChartAxis value
57
- * @param chart - The Chakra chart instance (for key() function)
58
- * @returns Partial YAxisProps
59
- */
60
- export declare function toRechartsYAxis(value: ChartAxisValue, chart: UseChartReturn<Record<string, unknown>>): Partial<YAxisProps>;
61
- /**
62
- * Extracts the tick format value from an East ChartAxis value.
63
- *
64
- * @param value - The East ChartAxis value
65
- * @returns The TickFormat value or undefined
66
- */
67
- export declare function getAxisTickFormat(value: ChartAxisValue): TickFormatValue | undefined;
68
- /**
69
- * Converts an East ChartGrid value to CartesianGrid component props.
70
- * Pure function - easy to test independently.
71
- *
72
- * @param value - The East ChartGrid value
73
- * @param chart - The Chakra chart instance (for color() function)
74
- * @returns Partial CartesianGridProps
75
- */
76
- export declare function toRechartsCartesianGrid(value: ChartGridValue, chart: UseChartReturn<Record<string, unknown>>): Partial<CartesianGridProps>;
77
- /**
78
- * Checks if grid should be shown from an East ChartGrid value.
79
- *
80
- * @param value - The East ChartGrid value
81
- * @returns Whether the grid should be shown
82
- */
83
- export declare function shouldShowGrid(value: ChartGridValue): boolean;
84
- /**
85
- * Converts an East ChartLegend value to Legend component props.
86
- * Pure function - easy to test independently.
87
- *
88
- * @param value - The East ChartLegend value
89
- * @returns Partial RechartsLegendProps
90
- */
91
- export declare function toRechartsLegend(value: ChartLegendValue): Partial<RechartsLegendProps>;
92
- /**
93
- * Checks if legend should be shown from an East ChartLegend value.
94
- *
95
- * @param value - The East ChartLegend value
96
- * @returns Whether the legend should be shown
97
- */
98
- export declare function shouldShowLegend(value: ChartLegendValue): boolean;
99
- /**
100
- * Converts an East ChartTooltip value to Tooltip component props.
101
- * Pure function - easy to test independently.
102
- *
103
- * @param value - The East ChartTooltip value
104
- * @returns Partial RechartsTooltipProps
105
- */
106
- export declare function toRechartsTooltip<TValue extends number | string | Array<number | string>, TName extends string>(value: ChartTooltipValue): Partial<RechartsTooltipProps<TValue, TName>>;
107
- /**
108
- * Checks if tooltip should be shown from an East ChartTooltip value.
109
- *
110
- * @param value - The East ChartTooltip value
111
- * @returns Whether the tooltip should be shown
112
- */
113
- export declare function shouldShowTooltip(value: ChartTooltipValue): boolean;
114
- /**
115
- * Converts an East ChartMargin value to Recharts Margin.
116
- * Pure function - easy to test independently.
117
- *
118
- * @param value - The East ChartMargin value
119
- * @returns Margin props for Recharts
120
- */
121
- export declare function toRechartsMargin(value: ChartMarginValue): RechartsMargin;
122
- /**
123
- * Creates a tick formatter function based on TickFormat value and Chakra chart.
124
- *
125
- * @param value - The East TickFormat value
126
- * @param chart - The Chakra chart instance
127
- * @returns A tick formatter function or undefined
128
- */
129
- export declare function createTickFormatter(value: TickFormatValue | undefined, chart: UseChartReturn<Record<string, unknown>>): ((value: number) => string) | undefined;
130
- /**
131
- * Converts an East LiteralValue to a plain JavaScript value.
132
- *
133
- * @param value - The East LiteralValue
134
- * @returns The plain JavaScript value
135
- */
136
- export declare function convertLiteralValue(value: ValueTypeOf<typeof LiteralValueType>): unknown;
137
- /**
138
- * Converts an East Dict data point (Map) to a plain object.
139
- *
140
- * @param dataPoint - The East Dict data point
141
- * @returns A plain JavaScript object
142
- */
143
- export declare function convertDataPoint(dataPoint: Map<string, ValueTypeOf<typeof LiteralValueType>>): Record<string, unknown>;
144
- /**
145
- * Converts an array of East Dict data points to plain objects.
146
- *
147
- * @param data - Array of East Dict data points
148
- * @returns Array of plain JavaScript objects
149
- */
150
- export declare function convertChartData(data: Map<string, ValueTypeOf<typeof LiteralValueType>>[]): Record<string, unknown>[];
151
- /**
152
- * Converts multi-series data (record of arrays) to a merged array format for Recharts.
153
- *
154
- * @remarks
155
- * This function takes data in the format:
156
- * ```
157
- * {
158
- * revenue: [{ month: "Jan", value: 100 }, { month: "Feb", value: 200 }],
159
- * profit: [{ month: "Jan", value: 50 }, { month: "Mar", value: 75 }]
160
- * }
161
- * ```
162
- * And converts it to the merged format Recharts expects:
163
- * ```
164
- * [
165
- * { month: "Jan", revenue: 100, profit: 50 },
166
- * { month: "Feb", revenue: 200, profit: null },
167
- * { month: "Mar", revenue: null, profit: 75 }
168
- * ]
169
- * ```
170
- *
171
- * @param dataSeries - Map of series name to array of data points
172
- * @param xAxisKey - The key used for the x-axis (to merge on)
173
- * @param valueKey - The key containing the y-value in each data point
174
- * @returns Array of merged data points
175
- */
176
- export declare function convertMultiSeriesData(dataSeries: Map<string, Map<string, ValueTypeOf<typeof LiteralValueType>>[]>, xAxisKey: string, valueKey: string): Record<string, unknown>[];
177
- //# sourceMappingURL=utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/charts/utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAS,KAAK,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAC/E,OAAO,KAAK,EACR,aAAa,EACb,eAAe,EACf,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,cAAc,EACjB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,KAAK,EACR,kBAAkB,EAClB,UAAU,EACV,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,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAC/C,CAAC,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC,GAAG,SAAS,CAoEzC;AAMD;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAC/B,KAAK,EAAE,WAAW,CAAC,OAAO,gBAAgB,CAAC,GAC5C,OAAO,CAUT;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC5B,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,OAAO,gBAAgB,CAAC,CAAC,GAC7D,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAMzB;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC5B,IAAI,EAAE,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,OAAO,gBAAgB,CAAC,CAAC,EAAE,GAC1D,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAE3B;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,sBAAsB,CAClC,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,OAAO,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAC5E,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,GACjB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAgC3B"}
@@ -1,24 +0,0 @@
1
- /**
2
- * Copyright (c) 2025 Elara AI Pty Ltd
3
- * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
- */
5
- import { type DataListRootProps } from "@chakra-ui/react";
6
- import { type ValueTypeOf } from "@elaraai/east";
7
- import { DataList } from "@elaraai/east-ui";
8
- /** East DataList Root value type */
9
- export type DataListRootValue = ValueTypeOf<typeof DataList.Types.Root>;
10
- /** East DataList Item value type */
11
- export type DataListItemValue = ValueTypeOf<typeof DataList.Types.Item>;
12
- /**
13
- * Converts an East UI DataList Root value to Chakra UI DataListRoot props.
14
- * Pure function - easy to test independently.
15
- */
16
- export declare function toChakraDataListRoot(value: DataListRootValue): DataListRootProps;
17
- export interface EastChakraDataListProps {
18
- value: DataListRootValue;
19
- }
20
- /**
21
- * Renders an East UI DataList value using Chakra UI DataList components.
22
- */
23
- export declare const EastChakraDataList: import("react").NamedExoticComponent<EastChakraDataListProps>;
24
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/collections/data-list/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAEH,KAAK,iBAAiB,EACzB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAM5C,oCAAoC;AACpC,MAAM,MAAM,iBAAiB,GAAG,WAAW,CAAC,OAAO,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAExE,oCAAoC;AACpC,MAAM,MAAM,iBAAiB,GAAG,WAAW,CAAC,OAAO,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAExE;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,iBAAiB,GAAG,iBAAiB,CAMhF;AAED,MAAM,WAAW,uBAAuB;IACpC,KAAK,EAAE,iBAAiB,CAAC;CAC5B;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,+DAa8B,CAAC"}
@@ -1,14 +0,0 @@
1
- /**
2
- * Copyright (c) 2025 Elara AI Pty Ltd
3
- * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
- */
5
- export interface EventAxisProps {
6
- startDate: Date;
7
- endDate: Date;
8
- width: number;
9
- height: number;
10
- }
11
- export declare const generateDateTicks: (startDate: Date, endDate: Date, maxTicks?: number) => Date[];
12
- export declare const getDatePosition: (date: Date, startDate: Date, endDate: Date, width: number) => number;
13
- export declare const EventAxis: ({ startDate, endDate, width, height, }: EventAxisProps) => import("react/jsx-runtime").JSX.Element;
14
- //# sourceMappingURL=EventAxis.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EventAxis.d.ts","sourceRoot":"","sources":["../../../src/collections/gantt/EventAxis.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,MAAM,WAAW,cAAc;IAC3B,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAClB;AASD,eAAO,MAAM,iBAAiB,GAAI,WAAW,IAAI,EAAE,SAAS,IAAI,EAAE,WAAU,MAAU,KAAG,IAAI,EAa5F,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,MAAM,IAAI,EAAE,WAAW,IAAI,EAAE,SAAS,IAAI,EAAE,OAAO,MAAM,KAAG,MAK3F,CAAC;AAKF,eAAO,MAAM,SAAS,GAAI,wCAKvB,cAAc,4CA8ChB,CAAC"}
@@ -1,34 +0,0 @@
1
- /**
2
- * Copyright (c) 2025 Elara AI Pty Ltd
3
- * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
- */
5
- import type { ValueTypeOf } from "@elaraai/east";
6
- import type { Gantt } from "@elaraai/east-ui";
7
- import { type TimeStep } from "./GanttTask";
8
- export type GanttEventValue = ValueTypeOf<typeof Gantt.Types.Event>;
9
- export type GanttRowValue = ValueTypeOf<typeof Gantt.Types.Row>;
10
- export interface GanttEventRowProps {
11
- events: GanttEventValue[];
12
- rowIndex: number;
13
- y: number;
14
- width: number;
15
- height: number;
16
- startDate: Date;
17
- endDate: Date;
18
- onEventClick?: ((event: GanttEventValue, rowIndex: number, eventIndex: number) => void) | undefined;
19
- onEventDoubleClick?: ((event: GanttEventValue, rowIndex: number, eventIndex: number) => void) | undefined;
20
- /** Callback when a task is dragged */
21
- onTaskDrag?: ((rowIndex: number, eventIndex: number, previousStart: Date, previousEnd: Date, newStart: Date, newEnd: Date) => void) | undefined;
22
- /** Callback when a task duration is changed (dragging the end) */
23
- onTaskDurationChange?: ((rowIndex: number, eventIndex: number, previousEnd: Date, newEnd: Date) => void) | undefined;
24
- /** Callback when task progress is changed (dragging the progress handle) */
25
- onTaskProgressChange?: ((rowIndex: number, eventIndex: number, previousProgress: number, newProgress: number) => void) | undefined;
26
- /** Callback when a milestone is dragged */
27
- onMilestoneDrag?: ((rowIndex: number, eventIndex: number, previousDate: Date, newDate: Date) => void) | undefined;
28
- /** Optional step size for drag snapping */
29
- dragStep?: TimeStep | undefined;
30
- /** Optional step size for duration change snapping */
31
- durationStep?: TimeStep | undefined;
32
- }
33
- export declare const GanttEventRow: ({ events, rowIndex, y, width, height, startDate, endDate, onEventClick, onEventDoubleClick, onTaskDrag, onTaskDurationChange, onTaskProgressChange, onMilestoneDrag, dragStep, durationStep, }: GanttEventRowProps) => import("react/jsx-runtime").JSX.Element;
34
- //# sourceMappingURL=GanttEventRow.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GanttEventRow.d.ts","sourceRoot":"","sources":["../../../src/collections/gantt/GanttEventRow.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvD,MAAM,MAAM,eAAe,GAAG,WAAW,CAAC,OAAO,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;AACpE,MAAM,MAAM,aAAa,GAAG,WAAW,CAAC,OAAO,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AAEhE,MAAM,WAAW,kBAAkB;IAC/B,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,KAA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