@aivex/ui 1.2.0-dev.6 → 1.2.0-dev.61

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 (1141) hide show
  1. package/README.md +195 -1
  2. package/dist/DESIGN.md +241 -0
  3. package/dist/_virtual/_rolldown/runtime.cjs +1 -0
  4. package/dist/comment.cjs +1 -114
  5. package/dist/comment.js +4 -13623
  6. package/dist/components/Accordion/Accordion.cjs +2 -0
  7. package/dist/components/Accordion/Accordion.cjs.map +1 -0
  8. package/dist/components/Accordion/Accordion.d.cts +111 -0
  9. package/dist/components/Accordion/Accordion.d.ts +111 -0
  10. package/dist/components/Accordion/Accordion.js +75 -0
  11. package/dist/components/Accordion/Accordion.js.map +1 -0
  12. package/dist/components/Accordion/index.d.cts +2 -0
  13. package/dist/components/Accordion/index.d.ts +2 -0
  14. package/dist/components/Autocomplete/Autocomplete.cjs +2 -0
  15. package/dist/components/Autocomplete/Autocomplete.cjs.map +1 -0
  16. package/dist/components/Autocomplete/Autocomplete.d.cts +157 -0
  17. package/dist/components/Autocomplete/Autocomplete.d.ts +157 -0
  18. package/dist/components/Autocomplete/Autocomplete.js +192 -0
  19. package/dist/components/Autocomplete/Autocomplete.js.map +1 -0
  20. package/dist/components/Autocomplete/index.d.cts +2 -0
  21. package/dist/components/Autocomplete/index.d.ts +2 -0
  22. package/dist/components/Avatar/Avatar.cjs +2 -0
  23. package/dist/components/Avatar/Avatar.cjs.map +1 -0
  24. package/dist/components/Avatar/Avatar.d.cts +42 -0
  25. package/dist/components/Avatar/Avatar.d.ts +26 -4
  26. package/dist/components/Avatar/Avatar.js +107 -0
  27. package/dist/components/Avatar/Avatar.js.map +1 -0
  28. package/dist/components/Avatar/index.d.cts +2 -0
  29. package/dist/components/Avatar/index.d.ts +2 -2
  30. package/dist/components/Badge/Badge.cjs +2 -0
  31. package/dist/components/Badge/Badge.cjs.map +1 -0
  32. package/dist/components/Badge/Badge.d.cts +93 -0
  33. package/dist/components/Badge/Badge.d.ts +66 -1
  34. package/dist/components/Badge/Badge.js +232 -0
  35. package/dist/components/Badge/Badge.js.map +1 -0
  36. package/dist/components/Badge/index.d.cts +2 -0
  37. package/dist/components/Badge/index.d.ts +2 -2
  38. package/dist/components/BreadCrumb/BreadCrumb.cjs +2 -0
  39. package/dist/components/BreadCrumb/BreadCrumb.cjs.map +1 -0
  40. package/dist/components/BreadCrumb/BreadCrumb.d.cts +57 -0
  41. package/dist/components/BreadCrumb/BreadCrumb.d.ts +34 -2
  42. package/dist/components/BreadCrumb/BreadCrumb.js +98 -0
  43. package/dist/components/BreadCrumb/BreadCrumb.js.map +1 -0
  44. package/dist/components/BreadCrumb/index.d.cts +2 -0
  45. package/dist/components/BreadCrumb/index.d.ts +2 -2
  46. package/dist/components/Button/Button.cjs +2 -0
  47. package/dist/components/Button/Button.cjs.map +1 -0
  48. package/dist/components/Button/Button.d.cts +51 -0
  49. package/dist/components/Button/Button.d.ts +33 -2
  50. package/dist/components/Button/Button.js +127 -0
  51. package/dist/components/Button/Button.js.map +1 -0
  52. package/dist/components/Button/index.d.cts +2 -0
  53. package/dist/components/Button/index.d.ts +2 -2
  54. package/dist/components/Calendar/Calendar.cjs +2 -0
  55. package/dist/components/Calendar/Calendar.cjs.map +1 -0
  56. package/dist/components/Calendar/Calendar.d.cts +81 -0
  57. package/dist/components/Calendar/Calendar.d.ts +81 -0
  58. package/dist/components/Calendar/Calendar.js +150 -0
  59. package/dist/components/Calendar/Calendar.js.map +1 -0
  60. package/dist/components/Calendar/date.cjs +2 -0
  61. package/dist/components/Calendar/date.cjs.map +1 -0
  62. package/dist/components/Calendar/date.d.cts +35 -0
  63. package/dist/components/Calendar/date.d.ts +35 -0
  64. package/dist/components/Calendar/date.js +54 -0
  65. package/dist/components/Calendar/date.js.map +1 -0
  66. package/dist/components/Calendar/index.d.cts +2 -0
  67. package/dist/components/Calendar/index.d.ts +2 -0
  68. package/dist/components/Card/Card.cjs +2 -0
  69. package/dist/components/Card/Card.cjs.map +1 -0
  70. package/dist/components/Card/Card.d.cts +47 -0
  71. package/dist/components/Card/Card.d.ts +38 -6
  72. package/dist/components/Card/Card.js +33 -0
  73. package/dist/components/Card/Card.js.map +1 -0
  74. package/dist/components/Card/index.d.cts +2 -0
  75. package/dist/components/Card/index.d.ts +2 -2
  76. package/dist/components/Checkbox/Checkbox.cjs +2 -0
  77. package/dist/components/Checkbox/Checkbox.cjs.map +1 -0
  78. package/dist/components/Checkbox/Checkbox.d.cts +36 -0
  79. package/dist/components/Checkbox/Checkbox.d.ts +30 -7
  80. package/dist/components/Checkbox/Checkbox.js +49 -0
  81. package/dist/components/Checkbox/Checkbox.js.map +1 -0
  82. package/dist/components/Checkbox/ChipsCheckbox.cjs +2 -0
  83. package/dist/components/Checkbox/ChipsCheckbox.cjs.map +1 -0
  84. package/dist/components/Checkbox/ChipsCheckbox.d.cts +26 -0
  85. package/dist/components/Checkbox/ChipsCheckbox.d.ts +24 -5
  86. package/dist/components/Checkbox/ChipsCheckbox.js +27 -0
  87. package/dist/components/Checkbox/ChipsCheckbox.js.map +1 -0
  88. package/dist/components/Checkbox/index.d.cts +4 -0
  89. package/dist/components/Checkbox/index.d.ts +4 -4
  90. package/dist/components/Coachmark/Coachmark.cjs +2 -0
  91. package/dist/components/Coachmark/Coachmark.cjs.map +1 -0
  92. package/dist/components/Coachmark/Coachmark.d.cts +92 -0
  93. package/dist/components/Coachmark/Coachmark.d.ts +58 -20
  94. package/dist/components/Coachmark/Coachmark.js +110 -0
  95. package/dist/components/Coachmark/Coachmark.js.map +1 -0
  96. package/dist/components/Coachmark/index.d.cts +2 -0
  97. package/dist/components/Coachmark/index.d.ts +2 -2
  98. package/dist/components/Comment/CommentInput.cjs +2 -0
  99. package/dist/components/Comment/CommentInput.cjs.map +1 -0
  100. package/dist/components/Comment/CommentInput.d.cts +75 -0
  101. package/dist/components/Comment/CommentInput.d.ts +51 -6
  102. package/dist/components/Comment/CommentInput.js +76 -0
  103. package/dist/components/Comment/CommentInput.js.map +1 -0
  104. package/dist/components/Comment/CommentPin.cjs +2 -0
  105. package/dist/components/Comment/CommentPin.cjs.map +1 -0
  106. package/dist/components/Comment/CommentPin.d.cts +48 -0
  107. package/dist/components/Comment/CommentPin.d.ts +35 -4
  108. package/dist/components/Comment/CommentPin.js +40 -0
  109. package/dist/components/Comment/CommentPin.js.map +1 -0
  110. package/dist/components/Comment/MentionInput.cjs +2 -0
  111. package/dist/components/Comment/MentionInput.cjs.map +1 -0
  112. package/dist/components/Comment/MentionInput.d.cts +45 -0
  113. package/dist/components/Comment/MentionInput.d.ts +19 -4
  114. package/dist/components/Comment/MentionInput.js +93 -0
  115. package/dist/components/Comment/MentionInput.js.map +1 -0
  116. package/dist/components/Comment/MentionList.cjs +2 -0
  117. package/dist/components/Comment/MentionList.cjs.map +1 -0
  118. package/dist/components/Comment/MentionList.d.cts +19 -0
  119. package/dist/components/Comment/MentionList.d.ts +9 -4
  120. package/dist/components/Comment/MentionList.js +97 -0
  121. package/dist/components/Comment/MentionList.js.map +1 -0
  122. package/dist/components/Comment/index.d.cts +4 -0
  123. package/dist/components/Comment/index.d.ts +4 -4
  124. package/dist/components/Comment/mentionContent.cjs +5 -0
  125. package/dist/components/Comment/mentionContent.cjs.map +1 -0
  126. package/dist/components/Comment/mentionContent.d.cts +5 -0
  127. package/dist/components/Comment/mentionContent.d.ts +5 -0
  128. package/dist/components/Comment/mentionContent.js +40 -0
  129. package/dist/components/Comment/mentionContent.js.map +1 -0
  130. package/dist/components/Comment/types.d.cts +16 -0
  131. package/dist/components/Comment/types.d.ts +6 -2
  132. package/dist/components/Comment/useMentionSuggestion.cjs +2 -0
  133. package/dist/components/Comment/useMentionSuggestion.cjs.map +1 -0
  134. package/dist/components/Comment/useMentionSuggestion.d.cts +19 -0
  135. package/dist/components/Comment/useMentionSuggestion.d.ts +6 -2
  136. package/dist/components/Comment/useMentionSuggestion.js +78 -0
  137. package/dist/components/Comment/useMentionSuggestion.js.map +1 -0
  138. package/dist/components/ContextMenu/ContextMenu.cjs +2 -0
  139. package/dist/components/ContextMenu/ContextMenu.cjs.map +1 -0
  140. package/dist/components/ContextMenu/ContextMenu.d.cts +72 -0
  141. package/dist/components/ContextMenu/ContextMenu.d.ts +72 -0
  142. package/dist/components/ContextMenu/ContextMenu.js +56 -0
  143. package/dist/components/ContextMenu/ContextMenu.js.map +1 -0
  144. package/dist/components/ContextMenu/index.d.cts +2 -0
  145. package/dist/components/ContextMenu/index.d.ts +2 -0
  146. package/dist/components/DataGrid/DataGrid.cjs +2 -0
  147. package/dist/components/DataGrid/DataGrid.cjs.map +1 -0
  148. package/dist/components/DataGrid/DataGrid.d.cts +136 -0
  149. package/dist/components/DataGrid/DataGrid.d.ts +114 -70
  150. package/dist/components/DataGrid/DataGrid.js +188 -0
  151. package/dist/components/DataGrid/DataGrid.js.map +1 -0
  152. package/dist/components/DataGrid/DataGridColumnSettings.cjs +2 -0
  153. package/dist/components/DataGrid/DataGridColumnSettings.cjs.map +1 -0
  154. package/dist/components/DataGrid/DataGridColumnSettings.d.cts +41 -0
  155. package/dist/components/DataGrid/DataGridColumnSettings.d.ts +41 -0
  156. package/dist/components/DataGrid/DataGridColumnSettings.js +199 -0
  157. package/dist/components/DataGrid/DataGridColumnSettings.js.map +1 -0
  158. package/dist/components/DataGrid/DataGridPrimitives.cjs +2 -0
  159. package/dist/components/DataGrid/DataGridPrimitives.cjs.map +1 -0
  160. package/dist/components/DataGrid/DataGridPrimitives.d.cts +165 -0
  161. package/dist/components/DataGrid/DataGridPrimitives.d.ts +165 -0
  162. package/dist/components/DataGrid/DataGridPrimitives.js +141 -0
  163. package/dist/components/DataGrid/DataGridPrimitives.js.map +1 -0
  164. package/dist/components/DataGrid/DataGridRows.cjs +2 -0
  165. package/dist/components/DataGrid/DataGridRows.cjs.map +1 -0
  166. package/dist/components/DataGrid/DataGridRows.d.cts +66 -0
  167. package/dist/components/DataGrid/DataGridRows.d.ts +66 -0
  168. package/dist/components/DataGrid/DataGridRows.js +108 -0
  169. package/dist/components/DataGrid/DataGridRows.js.map +1 -0
  170. package/dist/components/DataGrid/index.d.cts +8 -0
  171. package/dist/components/DataGrid/index.d.ts +6 -2
  172. package/dist/components/DataGrid/index.js +6 -0
  173. package/dist/components/Dialog/Dialog.cjs +2 -0
  174. package/dist/components/Dialog/Dialog.cjs.map +1 -0
  175. package/dist/components/Dialog/Dialog.d.cts +77 -0
  176. package/dist/components/Dialog/Dialog.d.ts +63 -6
  177. package/dist/components/Dialog/Dialog.js +109 -0
  178. package/dist/components/Dialog/Dialog.js.map +1 -0
  179. package/dist/components/Dialog/index.d.cts +2 -0
  180. package/dist/components/Dialog/index.d.ts +2 -2
  181. package/dist/components/Divider/Divider.cjs +2 -0
  182. package/dist/components/Divider/Divider.cjs.map +1 -0
  183. package/dist/components/Divider/Divider.d.cts +30 -0
  184. package/dist/components/Divider/Divider.d.ts +19 -0
  185. package/dist/components/Divider/Divider.js +58 -0
  186. package/dist/components/Divider/Divider.js.map +1 -0
  187. package/dist/components/Divider/index.d.cts +2 -0
  188. package/dist/components/Divider/index.d.ts +2 -2
  189. package/dist/components/DraggableScroll/DraggableScroll.cjs +2 -0
  190. package/dist/components/DraggableScroll/DraggableScroll.cjs.map +1 -0
  191. package/dist/components/DraggableScroll/DraggableScroll.d.cts +47 -0
  192. package/dist/components/DraggableScroll/DraggableScroll.d.ts +38 -2
  193. package/dist/components/DraggableScroll/DraggableScroll.js +45 -0
  194. package/dist/components/DraggableScroll/DraggableScroll.js.map +1 -0
  195. package/dist/components/DraggableScroll/index.d.cts +2 -0
  196. package/dist/components/DraggableScroll/index.d.ts +2 -2
  197. package/dist/components/Drawer/Drawer.cjs +2 -0
  198. package/dist/components/Drawer/Drawer.cjs.map +1 -0
  199. package/dist/components/Drawer/Drawer.d.cts +161 -0
  200. package/dist/components/Drawer/Drawer.d.ts +161 -0
  201. package/dist/components/Drawer/Drawer.js +110 -0
  202. package/dist/components/Drawer/Drawer.js.map +1 -0
  203. package/dist/components/Drawer/index.d.cts +2 -0
  204. package/dist/components/Drawer/index.d.ts +2 -0
  205. package/dist/components/EmptyState/EmptyState.cjs +2 -0
  206. package/dist/components/EmptyState/EmptyState.cjs.map +1 -0
  207. package/dist/components/EmptyState/EmptyState.d.cts +61 -0
  208. package/dist/components/EmptyState/EmptyState.d.ts +61 -0
  209. package/dist/components/EmptyState/EmptyState.js +50 -0
  210. package/dist/components/EmptyState/EmptyState.js.map +1 -0
  211. package/dist/components/EmptyState/index.d.cts +2 -0
  212. package/dist/components/EmptyState/index.d.ts +2 -0
  213. package/dist/components/Field/Field.cjs +2 -0
  214. package/dist/components/Field/Field.cjs.map +1 -0
  215. package/dist/components/Field/Field.d.cts +111 -0
  216. package/dist/components/Field/Field.d.ts +85 -20
  217. package/dist/components/Field/Field.js +78 -0
  218. package/dist/components/Field/Field.js.map +1 -0
  219. package/dist/components/Field/FieldStateContext.cjs +2 -0
  220. package/dist/components/Field/FieldStateContext.cjs.map +1 -0
  221. package/dist/components/Field/FieldStateContext.d.cts +12 -0
  222. package/dist/components/Field/FieldStateContext.d.ts +12 -0
  223. package/dist/components/Field/FieldStateContext.js +14 -0
  224. package/dist/components/Field/FieldStateContext.js.map +1 -0
  225. package/dist/components/Field/index.d.cts +1 -0
  226. package/dist/components/Field/index.d.ts +1 -1
  227. package/dist/components/FilterModal/FilterModal.cjs +2 -0
  228. package/dist/components/FilterModal/FilterModal.cjs.map +1 -0
  229. package/dist/components/FilterModal/FilterModal.d.cts +83 -0
  230. package/dist/components/FilterModal/FilterModal.d.ts +52 -1
  231. package/dist/components/FilterModal/FilterModal.js +120 -0
  232. package/dist/components/FilterModal/FilterModal.js.map +1 -0
  233. package/dist/components/FilterModal/index.d.cts +2 -0
  234. package/dist/components/FilterModal/index.d.ts +2 -2
  235. package/dist/components/HoverCard/HoverCard.cjs +2 -0
  236. package/dist/components/HoverCard/HoverCard.cjs.map +1 -0
  237. package/dist/components/HoverCard/HoverCard.d.cts +61 -0
  238. package/dist/components/HoverCard/HoverCard.d.ts +61 -0
  239. package/dist/components/HoverCard/HoverCard.js +44 -0
  240. package/dist/components/HoverCard/HoverCard.js.map +1 -0
  241. package/dist/components/HoverCard/index.d.cts +2 -0
  242. package/dist/components/HoverCard/index.d.ts +2 -0
  243. package/dist/components/Icon/index.cjs +2 -0
  244. package/dist/components/Icon/index.cjs.map +1 -0
  245. package/dist/components/Icon/index.d.cts +2105 -0
  246. package/dist/components/Icon/index.d.ts +2093 -275
  247. package/dist/components/Icon/index.js +4490 -0
  248. package/dist/components/Icon/index.js.map +1 -0
  249. package/dist/components/Icon/svgA11y.cjs +2 -0
  250. package/dist/components/Icon/svgA11y.cjs.map +1 -0
  251. package/dist/components/Icon/svgA11y.d.cts +10 -0
  252. package/dist/components/Icon/svgA11y.d.ts +10 -0
  253. package/dist/components/Icon/svgA11y.js +9 -0
  254. package/dist/components/Icon/svgA11y.js.map +1 -0
  255. package/dist/components/Icon/uniqueSvgIds.cjs +2 -0
  256. package/dist/components/Icon/uniqueSvgIds.cjs.map +1 -0
  257. package/dist/components/Icon/uniqueSvgIds.d.cts +8 -0
  258. package/dist/components/Icon/uniqueSvgIds.d.ts +8 -0
  259. package/dist/components/Icon/uniqueSvgIds.js +42 -0
  260. package/dist/components/Icon/uniqueSvgIds.js.map +1 -0
  261. package/dist/components/IconButton/IconButton.cjs +2 -0
  262. package/dist/components/IconButton/IconButton.cjs.map +1 -0
  263. package/dist/components/IconButton/IconButton.d.cts +46 -0
  264. package/dist/components/IconButton/IconButton.d.ts +33 -4
  265. package/dist/components/IconButton/IconButton.js +74 -0
  266. package/dist/components/IconButton/IconButton.js.map +1 -0
  267. package/dist/components/IconButton/index.d.cts +2 -0
  268. package/dist/components/IconButton/index.d.ts +2 -2
  269. package/dist/components/Illustration/Illustration.cjs +2 -0
  270. package/dist/components/Illustration/Illustration.cjs.map +1 -0
  271. package/dist/components/Illustration/Illustration.d.cts +37 -0
  272. package/dist/components/Illustration/Illustration.d.ts +37 -0
  273. package/dist/components/Illustration/Illustration.js +40 -0
  274. package/dist/components/Illustration/Illustration.js.map +1 -0
  275. package/dist/components/Illustration/assets/box-dark.webp.cjs +2 -0
  276. package/dist/components/Illustration/assets/box-dark.webp.cjs.map +1 -0
  277. package/dist/components/Illustration/assets/box-dark.webp.js +7 -0
  278. package/dist/components/Illustration/assets/box-dark.webp.js.map +1 -0
  279. package/dist/components/Illustration/assets/box-light.webp.cjs +2 -0
  280. package/dist/components/Illustration/assets/box-light.webp.cjs.map +1 -0
  281. package/dist/components/Illustration/assets/box-light.webp.js +7 -0
  282. package/dist/components/Illustration/assets/box-light.webp.js.map +1 -0
  283. package/dist/components/Illustration/assets/equipment-dark.webp.cjs +2 -0
  284. package/dist/components/Illustration/assets/equipment-dark.webp.cjs.map +1 -0
  285. package/dist/components/Illustration/assets/equipment-dark.webp.js +7 -0
  286. package/dist/components/Illustration/assets/equipment-dark.webp.js.map +1 -0
  287. package/dist/components/Illustration/assets/equipment-light.webp.cjs +2 -0
  288. package/dist/components/Illustration/assets/equipment-light.webp.cjs.map +1 -0
  289. package/dist/components/Illustration/assets/equipment-light.webp.js +7 -0
  290. package/dist/components/Illustration/assets/equipment-light.webp.js.map +1 -0
  291. package/dist/components/Illustration/assets/failed-dark.webp.cjs +2 -0
  292. package/dist/components/Illustration/assets/failed-dark.webp.cjs.map +1 -0
  293. package/dist/components/Illustration/assets/failed-dark.webp.js +7 -0
  294. package/dist/components/Illustration/assets/failed-dark.webp.js.map +1 -0
  295. package/dist/components/Illustration/assets/failed-light.webp.cjs +2 -0
  296. package/dist/components/Illustration/assets/failed-light.webp.cjs.map +1 -0
  297. package/dist/components/Illustration/assets/failed-light.webp.js +7 -0
  298. package/dist/components/Illustration/assets/failed-light.webp.js.map +1 -0
  299. package/dist/components/Illustration/assets/file-dark.webp.cjs +2 -0
  300. package/dist/components/Illustration/assets/file-dark.webp.cjs.map +1 -0
  301. package/dist/components/Illustration/assets/file-dark.webp.js +7 -0
  302. package/dist/components/Illustration/assets/file-dark.webp.js.map +1 -0
  303. package/dist/components/Illustration/assets/file-light.webp.cjs +2 -0
  304. package/dist/components/Illustration/assets/file-light.webp.cjs.map +1 -0
  305. package/dist/components/Illustration/assets/file-light.webp.js +7 -0
  306. package/dist/components/Illustration/assets/file-light.webp.js.map +1 -0
  307. package/dist/components/Illustration/assets/images-dark.webp.cjs +2 -0
  308. package/dist/components/Illustration/assets/images-dark.webp.cjs.map +1 -0
  309. package/dist/components/Illustration/assets/images-dark.webp.js +7 -0
  310. package/dist/components/Illustration/assets/images-dark.webp.js.map +1 -0
  311. package/dist/components/Illustration/assets/images-light.webp.cjs +2 -0
  312. package/dist/components/Illustration/assets/images-light.webp.cjs.map +1 -0
  313. package/dist/components/Illustration/assets/images-light.webp.js +7 -0
  314. package/dist/components/Illustration/assets/images-light.webp.js.map +1 -0
  315. package/dist/components/Illustration/assets/letter-dark.webp.cjs +2 -0
  316. package/dist/components/Illustration/assets/letter-dark.webp.cjs.map +1 -0
  317. package/dist/components/Illustration/assets/letter-dark.webp.js +7 -0
  318. package/dist/components/Illustration/assets/letter-dark.webp.js.map +1 -0
  319. package/dist/components/Illustration/assets/letter-light.webp.cjs +2 -0
  320. package/dist/components/Illustration/assets/letter-light.webp.cjs.map +1 -0
  321. package/dist/components/Illustration/assets/letter-light.webp.js +7 -0
  322. package/dist/components/Illustration/assets/letter-light.webp.js.map +1 -0
  323. package/dist/components/Illustration/assets/message-dark.webp.cjs +2 -0
  324. package/dist/components/Illustration/assets/message-dark.webp.cjs.map +1 -0
  325. package/dist/components/Illustration/assets/message-dark.webp.js +7 -0
  326. package/dist/components/Illustration/assets/message-dark.webp.js.map +1 -0
  327. package/dist/components/Illustration/assets/message-light.webp.cjs +2 -0
  328. package/dist/components/Illustration/assets/message-light.webp.cjs.map +1 -0
  329. package/dist/components/Illustration/assets/message-light.webp.js +7 -0
  330. package/dist/components/Illustration/assets/message-light.webp.js.map +1 -0
  331. package/dist/components/Illustration/assets/network-dark.webp.cjs +2 -0
  332. package/dist/components/Illustration/assets/network-dark.webp.cjs.map +1 -0
  333. package/dist/components/Illustration/assets/network-dark.webp.js +7 -0
  334. package/dist/components/Illustration/assets/network-dark.webp.js.map +1 -0
  335. package/dist/components/Illustration/assets/network-light.webp.cjs +2 -0
  336. package/dist/components/Illustration/assets/network-light.webp.cjs.map +1 -0
  337. package/dist/components/Illustration/assets/network-light.webp.js +7 -0
  338. package/dist/components/Illustration/assets/network-light.webp.js.map +1 -0
  339. package/dist/components/Illustration/assets/no-data-dark.webp.cjs +2 -0
  340. package/dist/components/Illustration/assets/no-data-dark.webp.cjs.map +1 -0
  341. package/dist/components/Illustration/assets/no-data-dark.webp.js +7 -0
  342. package/dist/components/Illustration/assets/no-data-dark.webp.js.map +1 -0
  343. package/dist/components/Illustration/assets/no-data-light.webp.cjs +2 -0
  344. package/dist/components/Illustration/assets/no-data-light.webp.cjs.map +1 -0
  345. package/dist/components/Illustration/assets/no-data-light.webp.js +7 -0
  346. package/dist/components/Illustration/assets/no-data-light.webp.js.map +1 -0
  347. package/dist/components/Illustration/assets/paper-dark.webp.cjs +2 -0
  348. package/dist/components/Illustration/assets/paper-dark.webp.cjs.map +1 -0
  349. package/dist/components/Illustration/assets/paper-dark.webp.js +7 -0
  350. package/dist/components/Illustration/assets/paper-dark.webp.js.map +1 -0
  351. package/dist/components/Illustration/assets/paper-light.webp.cjs +2 -0
  352. package/dist/components/Illustration/assets/paper-light.webp.cjs.map +1 -0
  353. package/dist/components/Illustration/assets/paper-light.webp.js +7 -0
  354. package/dist/components/Illustration/assets/paper-light.webp.js.map +1 -0
  355. package/dist/components/Illustration/assets/success-dark.webp.cjs +2 -0
  356. package/dist/components/Illustration/assets/success-dark.webp.cjs.map +1 -0
  357. package/dist/components/Illustration/assets/success-dark.webp.js +7 -0
  358. package/dist/components/Illustration/assets/success-dark.webp.js.map +1 -0
  359. package/dist/components/Illustration/assets/success-light.webp.cjs +2 -0
  360. package/dist/components/Illustration/assets/success-light.webp.cjs.map +1 -0
  361. package/dist/components/Illustration/assets/success-light.webp.js +7 -0
  362. package/dist/components/Illustration/assets/success-light.webp.js.map +1 -0
  363. package/dist/components/Illustration/assets/warning-dark.webp.cjs +2 -0
  364. package/dist/components/Illustration/assets/warning-dark.webp.cjs.map +1 -0
  365. package/dist/components/Illustration/assets/warning-dark.webp.js +7 -0
  366. package/dist/components/Illustration/assets/warning-dark.webp.js.map +1 -0
  367. package/dist/components/Illustration/assets/warning-light.webp.cjs +2 -0
  368. package/dist/components/Illustration/assets/warning-light.webp.cjs.map +1 -0
  369. package/dist/components/Illustration/assets/warning-light.webp.js +7 -0
  370. package/dist/components/Illustration/assets/warning-light.webp.js.map +1 -0
  371. package/dist/components/Illustration/illustrations.cjs +2 -0
  372. package/dist/components/Illustration/illustrations.cjs.map +1 -0
  373. package/dist/components/Illustration/illustrations.d.cts +81 -0
  374. package/dist/components/Illustration/illustrations.d.ts +81 -0
  375. package/dist/components/Illustration/illustrations.js +104 -0
  376. package/dist/components/Illustration/illustrations.js.map +1 -0
  377. package/dist/components/Illustration/index.d.cts +1 -0
  378. package/dist/components/Illustration/index.d.ts +1 -0
  379. package/dist/components/InputBase/InputBase.cjs +2 -0
  380. package/dist/components/InputBase/InputBase.cjs.map +1 -0
  381. package/dist/components/InputBase/InputBase.d.cts +59 -0
  382. package/dist/components/InputBase/InputBase.d.ts +35 -7
  383. package/dist/components/InputBase/InputBase.js +87 -0
  384. package/dist/components/InputBase/InputBase.js.map +1 -0
  385. package/dist/components/InputBase/index.d.cts +1 -0
  386. package/dist/components/InputBase/index.d.ts +1 -1
  387. package/dist/components/InputBase/useInputState.cjs +2 -0
  388. package/dist/components/InputBase/useInputState.cjs.map +1 -0
  389. package/dist/components/InputBase/useInputState.d.cts +19 -0
  390. package/dist/components/InputBase/useInputState.d.ts +19 -0
  391. package/dist/components/InputBase/useInputState.js +25 -0
  392. package/dist/components/InputBase/useInputState.js.map +1 -0
  393. package/dist/components/InteractionLayer/InteractionLayer.cjs +2 -0
  394. package/dist/components/InteractionLayer/InteractionLayer.cjs.map +1 -0
  395. package/dist/components/InteractionLayer/InteractionLayer.d.cts +43 -0
  396. package/dist/components/InteractionLayer/InteractionLayer.d.ts +34 -0
  397. package/dist/components/InteractionLayer/InteractionLayer.js +17 -0
  398. package/dist/components/InteractionLayer/InteractionLayer.js.map +1 -0
  399. package/dist/components/InteractionLayer/index.d.cts +1 -0
  400. package/dist/components/InteractionLayer/index.d.ts +1 -1
  401. package/dist/components/Logo/index.cjs +2 -0
  402. package/dist/components/Logo/index.cjs.map +1 -0
  403. package/dist/components/Logo/index.d.cts +92 -0
  404. package/dist/components/Logo/index.d.ts +88 -13
  405. package/dist/components/Logo/index.js +1949 -0
  406. package/dist/components/Logo/index.js.map +1 -0
  407. package/dist/components/Menu/Menu.cjs +2 -0
  408. package/dist/components/Menu/Menu.cjs.map +1 -0
  409. package/dist/components/Menu/Menu.d.cts +183 -0
  410. package/dist/components/Menu/Menu.d.ts +126 -27
  411. package/dist/components/Menu/Menu.js +216 -0
  412. package/dist/components/Menu/Menu.js.map +1 -0
  413. package/dist/components/Menu/index.d.cts +2 -0
  414. package/dist/components/Menu/index.d.ts +2 -2
  415. package/dist/components/Messagebox/Messagebox.cjs +2 -0
  416. package/dist/components/Messagebox/Messagebox.cjs.map +1 -0
  417. package/dist/components/Messagebox/Messagebox.d.cts +50 -0
  418. package/dist/components/Messagebox/Messagebox.d.ts +39 -3
  419. package/dist/components/Messagebox/Messagebox.js +84 -0
  420. package/dist/components/Messagebox/Messagebox.js.map +1 -0
  421. package/dist/components/Messagebox/index.d.cts +2 -0
  422. package/dist/components/Messagebox/index.d.ts +2 -2
  423. package/dist/components/Modal/Modal.cjs +2 -0
  424. package/dist/components/Modal/Modal.cjs.map +1 -0
  425. package/dist/components/Modal/Modal.d.cts +161 -0
  426. package/dist/components/Modal/Modal.d.ts +131 -7
  427. package/dist/components/Modal/Modal.js +195 -0
  428. package/dist/components/Modal/Modal.js.map +1 -0
  429. package/dist/components/Modal/ModalBase.cjs +2 -0
  430. package/dist/components/Modal/ModalBase.cjs.map +1 -0
  431. package/dist/components/Modal/ModalBase.d.cts +80 -0
  432. package/dist/components/Modal/ModalBase.d.ts +80 -0
  433. package/dist/components/Modal/ModalBase.js +44 -0
  434. package/dist/components/Modal/ModalBase.js.map +1 -0
  435. package/dist/components/Modal/index.d.cts +4 -0
  436. package/dist/components/Modal/index.d.ts +4 -2
  437. package/dist/components/Nav/Nav.cjs +2 -0
  438. package/dist/components/Nav/Nav.cjs.map +1 -0
  439. package/dist/components/Nav/Nav.d.cts +69 -0
  440. package/dist/components/Nav/Nav.d.ts +46 -0
  441. package/dist/components/Nav/Nav.js +73 -0
  442. package/dist/components/Nav/Nav.js.map +1 -0
  443. package/dist/components/Nav/index.d.cts +2 -0
  444. package/dist/components/Nav/index.d.ts +2 -2
  445. package/dist/components/NumberField/NumberField.cjs +2 -0
  446. package/dist/components/NumberField/NumberField.cjs.map +1 -0
  447. package/dist/components/NumberField/NumberField.d.cts +79 -0
  448. package/dist/components/NumberField/NumberField.d.ts +79 -0
  449. package/dist/components/NumberField/NumberField.js +65 -0
  450. package/dist/components/NumberField/NumberField.js.map +1 -0
  451. package/dist/components/NumberField/index.d.cts +2 -0
  452. package/dist/components/NumberField/index.d.ts +2 -0
  453. package/dist/components/Overlay/Overlay.cjs +2 -0
  454. package/dist/components/Overlay/Overlay.cjs.map +1 -0
  455. package/dist/components/Overlay/Overlay.d.cts +36 -0
  456. package/dist/components/Overlay/Overlay.d.ts +30 -4
  457. package/dist/components/Overlay/Overlay.js +24 -0
  458. package/dist/components/Overlay/Overlay.js.map +1 -0
  459. package/dist/components/Overlay/index.d.cts +2 -0
  460. package/dist/components/Overlay/index.d.ts +2 -2
  461. package/dist/components/Pagination/Pagination.cjs +2 -0
  462. package/dist/components/Pagination/Pagination.cjs.map +1 -0
  463. package/dist/components/Pagination/Pagination.d.cts +68 -0
  464. package/dist/components/Pagination/Pagination.d.ts +45 -2
  465. package/dist/components/Pagination/Pagination.js +127 -0
  466. package/dist/components/Pagination/Pagination.js.map +1 -0
  467. package/dist/components/Pagination/index.d.cts +2 -0
  468. package/dist/components/Pagination/index.d.ts +2 -2
  469. package/dist/components/Panel/Panel.cjs +2 -0
  470. package/dist/components/Panel/Panel.cjs.map +1 -0
  471. package/dist/components/Panel/Panel.d.cts +124 -0
  472. package/dist/components/Panel/Panel.d.ts +119 -8
  473. package/dist/components/Panel/Panel.js +92 -0
  474. package/dist/components/Panel/Panel.js.map +1 -0
  475. package/dist/components/Panel/index.d.cts +2 -0
  476. package/dist/components/Panel/index.d.ts +2 -2
  477. package/dist/components/Popover/Popover.cjs +2 -0
  478. package/dist/components/Popover/Popover.cjs.map +1 -0
  479. package/dist/components/Popover/Popover.d.cts +105 -0
  480. package/dist/components/Popover/Popover.d.ts +72 -14
  481. package/dist/components/Popover/Popover.js +79 -0
  482. package/dist/components/Popover/Popover.js.map +1 -0
  483. package/dist/components/Popover/index.d.cts +2 -0
  484. package/dist/components/Popover/index.d.ts +2 -2
  485. package/dist/components/ProgressBar/ProgressBar.cjs +2 -0
  486. package/dist/components/ProgressBar/ProgressBar.cjs.map +1 -0
  487. package/dist/components/ProgressBar/ProgressBar.d.cts +45 -0
  488. package/dist/components/ProgressBar/ProgressBar.d.ts +32 -0
  489. package/dist/components/ProgressBar/ProgressBar.js +41 -0
  490. package/dist/components/ProgressBar/ProgressBar.js.map +1 -0
  491. package/dist/components/ProgressBar/index.d.cts +2 -0
  492. package/dist/components/ProgressBar/index.d.ts +2 -2
  493. package/dist/components/Radio/Radio.cjs +2 -0
  494. package/dist/components/Radio/Radio.cjs.map +1 -0
  495. package/dist/components/Radio/Radio.d.cts +61 -0
  496. package/dist/components/Radio/Radio.d.ts +56 -6
  497. package/dist/components/Radio/Radio.js +62 -0
  498. package/dist/components/Radio/Radio.js.map +1 -0
  499. package/dist/components/Radio/index.d.cts +2 -0
  500. package/dist/components/Radio/index.d.ts +2 -2
  501. package/dist/components/ScrollArea/ScrollArea.cjs +2 -0
  502. package/dist/components/ScrollArea/ScrollArea.cjs.map +1 -0
  503. package/dist/components/ScrollArea/ScrollArea.d.cts +59 -0
  504. package/dist/components/ScrollArea/ScrollArea.d.ts +51 -6
  505. package/dist/components/ScrollArea/ScrollArea.js +62 -0
  506. package/dist/components/ScrollArea/ScrollArea.js.map +1 -0
  507. package/dist/components/ScrollArea/index.d.cts +2 -0
  508. package/dist/components/ScrollArea/index.d.ts +2 -2
  509. package/dist/components/Segmented/Segmented.cjs +2 -0
  510. package/dist/components/Segmented/Segmented.cjs.map +1 -0
  511. package/dist/components/Segmented/Segmented.d.cts +56 -0
  512. package/dist/components/Segmented/Segmented.d.ts +45 -4
  513. package/dist/components/Segmented/Segmented.js +61 -0
  514. package/dist/components/Segmented/Segmented.js.map +1 -0
  515. package/dist/components/Segmented/index.d.cts +2 -0
  516. package/dist/components/Segmented/index.d.ts +2 -2
  517. package/dist/components/SelectBox/SelectBox.cjs +2 -0
  518. package/dist/components/SelectBox/SelectBox.cjs.map +1 -0
  519. package/dist/components/SelectBox/SelectBox.d.cts +93 -0
  520. package/dist/components/SelectBox/SelectBox.d.ts +62 -5
  521. package/dist/components/SelectBox/SelectBox.js +85 -0
  522. package/dist/components/SelectBox/SelectBox.js.map +1 -0
  523. package/dist/components/SelectBox/index.d.cts +2 -0
  524. package/dist/components/SelectBox/index.d.ts +2 -2
  525. package/dist/components/SelectButton/SelectButton.cjs +2 -0
  526. package/dist/components/SelectButton/SelectButton.cjs.map +1 -0
  527. package/dist/components/SelectButton/SelectButton.d.cts +57 -0
  528. package/dist/components/SelectButton/SelectButton.d.ts +57 -0
  529. package/dist/components/SelectButton/SelectButton.js +43 -0
  530. package/dist/components/SelectButton/SelectButton.js.map +1 -0
  531. package/dist/components/SelectButton/index.d.cts +2 -0
  532. package/dist/components/SelectButton/index.d.ts +2 -0
  533. package/dist/components/ShapeEditor/ShapeEditor.cjs +2 -0
  534. package/dist/components/ShapeEditor/ShapeEditor.cjs.map +1 -0
  535. package/dist/components/ShapeEditor/ShapeEditor.d.cts +40 -0
  536. package/dist/components/ShapeEditor/ShapeEditor.d.ts +38 -7
  537. package/dist/components/ShapeEditor/ShapeEditor.js +564 -0
  538. package/dist/components/ShapeEditor/ShapeEditor.js.map +1 -0
  539. package/dist/components/ShapeEditor/ShapeViewer.cjs +2 -0
  540. package/dist/components/ShapeEditor/ShapeViewer.cjs.map +1 -0
  541. package/dist/components/ShapeEditor/ShapeViewer.d.cts +92 -0
  542. package/dist/components/ShapeEditor/ShapeViewer.d.ts +57 -7
  543. package/dist/components/ShapeEditor/ShapeViewer.js +303 -0
  544. package/dist/components/ShapeEditor/ShapeViewer.js.map +1 -0
  545. package/dist/components/ShapeEditor/_components/AssistantOverlay.cjs +2 -0
  546. package/dist/components/ShapeEditor/_components/AssistantOverlay.cjs.map +1 -0
  547. package/dist/components/ShapeEditor/_components/AssistantOverlay.d.cts +17 -0
  548. package/dist/components/ShapeEditor/_components/AssistantOverlay.d.ts +2 -2
  549. package/dist/components/ShapeEditor/_components/AssistantOverlay.js +64 -0
  550. package/dist/components/ShapeEditor/_components/AssistantOverlay.js.map +1 -0
  551. package/dist/components/ShapeEditor/_components/ContextMenu.cjs +2 -0
  552. package/dist/components/ShapeEditor/_components/ContextMenu.cjs.map +1 -0
  553. package/dist/components/ShapeEditor/_components/ContextMenu.d.cts +13 -0
  554. package/dist/components/ShapeEditor/_components/ContextMenu.d.ts +3 -3
  555. package/dist/components/ShapeEditor/_components/ContextMenu.js +67 -0
  556. package/dist/components/ShapeEditor/_components/ContextMenu.js.map +1 -0
  557. package/dist/components/ShapeEditor/_components/CursorGuide.cjs +2 -0
  558. package/dist/components/ShapeEditor/_components/CursorGuide.cjs.map +1 -0
  559. package/dist/components/ShapeEditor/_components/CursorGuide.d.cts +8 -0
  560. package/dist/components/ShapeEditor/_components/CursorGuide.js +56 -0
  561. package/dist/components/ShapeEditor/_components/CursorGuide.js.map +1 -0
  562. package/dist/components/ShapeEditor/_components/ImageStateOverlay.cjs +2 -0
  563. package/dist/components/ShapeEditor/_components/ImageStateOverlay.cjs.map +1 -0
  564. package/dist/components/ShapeEditor/_components/ImageStateOverlay.d.cts +17 -0
  565. package/dist/components/ShapeEditor/_components/ImageStateOverlay.d.ts +9 -3
  566. package/dist/components/ShapeEditor/_components/ImageStateOverlay.js +101 -0
  567. package/dist/components/ShapeEditor/_components/ImageStateOverlay.js.map +1 -0
  568. package/dist/components/ShapeEditor/_components/Minimap.cjs +2 -0
  569. package/dist/components/ShapeEditor/_components/Minimap.cjs.map +1 -0
  570. package/dist/components/ShapeEditor/_components/Minimap.d.cts +46 -0
  571. package/dist/components/ShapeEditor/_components/Minimap.d.ts +17 -16
  572. package/dist/components/ShapeEditor/_components/Minimap.js +172 -0
  573. package/dist/components/ShapeEditor/_components/Minimap.js.map +1 -0
  574. package/dist/components/ShapeEditor/_components/MinimapShape.cjs +2 -0
  575. package/dist/components/ShapeEditor/_components/MinimapShape.cjs.map +1 -0
  576. package/dist/components/ShapeEditor/_components/MinimapShape.d.cts +6 -0
  577. package/dist/components/ShapeEditor/_components/MinimapShape.d.ts +3 -3
  578. package/dist/components/ShapeEditor/_components/MinimapShape.js +55 -0
  579. package/dist/components/ShapeEditor/_components/MinimapShape.js.map +1 -0
  580. package/dist/components/ShapeEditor/_components/OverlayMarkers.cjs +2 -0
  581. package/dist/components/ShapeEditor/_components/OverlayMarkers.cjs.map +1 -0
  582. package/dist/components/ShapeEditor/_components/OverlayMarkers.d.cts +16 -0
  583. package/dist/components/ShapeEditor/_components/OverlayMarkers.d.ts +16 -0
  584. package/dist/components/ShapeEditor/_components/OverlayMarkers.js +41 -0
  585. package/dist/components/ShapeEditor/_components/OverlayMarkers.js.map +1 -0
  586. package/dist/components/ShapeEditor/_components/RegionOverlay.cjs +2 -0
  587. package/dist/components/ShapeEditor/_components/RegionOverlay.cjs.map +1 -0
  588. package/dist/components/ShapeEditor/_components/RegionOverlay.d.cts +21 -0
  589. package/dist/components/ShapeEditor/_components/RegionOverlay.d.ts +1 -1
  590. package/dist/components/ShapeEditor/_components/RegionOverlay.js +59 -0
  591. package/dist/components/ShapeEditor/_components/RegionOverlay.js.map +1 -0
  592. package/dist/components/ShapeEditor/_components/SelectionInfo.cjs +2 -0
  593. package/dist/components/ShapeEditor/_components/SelectionInfo.cjs.map +1 -0
  594. package/dist/components/ShapeEditor/_components/SelectionInfo.d.cts +20 -0
  595. package/dist/components/ShapeEditor/_components/SelectionInfo.d.ts +10 -3
  596. package/dist/components/ShapeEditor/_components/SelectionInfo.js +115 -0
  597. package/dist/components/ShapeEditor/_components/SelectionInfo.js.map +1 -0
  598. package/dist/components/ShapeEditor/_components/SettingsPanel.cjs +2 -0
  599. package/dist/components/ShapeEditor/_components/SettingsPanel.cjs.map +1 -0
  600. package/dist/components/ShapeEditor/_components/SettingsPanel.d.cts +28 -0
  601. package/dist/components/ShapeEditor/_components/SettingsPanel.d.ts +18 -5
  602. package/dist/components/ShapeEditor/_components/SettingsPanel.js +167 -0
  603. package/dist/components/ShapeEditor/_components/SettingsPanel.js.map +1 -0
  604. package/dist/components/ShapeEditor/_constants.cjs +2 -0
  605. package/dist/components/ShapeEditor/_constants.cjs.map +1 -0
  606. package/dist/components/ShapeEditor/_constants.d.cts +15 -0
  607. package/dist/components/ShapeEditor/_constants.d.ts +7 -25
  608. package/dist/components/ShapeEditor/_constants.js +7 -0
  609. package/dist/components/ShapeEditor/_constants.js.map +1 -0
  610. package/dist/components/ShapeEditor/_model/brush.cjs +2 -0
  611. package/dist/components/ShapeEditor/_model/brush.cjs.map +1 -0
  612. package/dist/components/ShapeEditor/_model/brush.d.cts +3 -0
  613. package/dist/components/ShapeEditor/_model/brush.d.ts +1 -1
  614. package/dist/components/ShapeEditor/_model/brush.js +27 -0
  615. package/dist/components/ShapeEditor/_model/brush.js.map +1 -0
  616. package/dist/components/ShapeEditor/_model/clipboard.cjs +2 -0
  617. package/dist/components/ShapeEditor/_model/clipboard.cjs.map +1 -0
  618. package/dist/components/ShapeEditor/_model/clipboard.d.cts +22 -0
  619. package/dist/components/ShapeEditor/_model/clipboard.d.ts +22 -0
  620. package/dist/components/ShapeEditor/_model/clipboard.js +85 -0
  621. package/dist/components/ShapeEditor/_model/clipboard.js.map +1 -0
  622. package/dist/components/ShapeEditor/_model/cursors.cjs +2 -0
  623. package/dist/components/ShapeEditor/_model/cursors.cjs.map +1 -0
  624. package/dist/components/ShapeEditor/_model/cursors.d.cts +23 -0
  625. package/dist/components/ShapeEditor/_model/cursors.d.ts +7 -2
  626. package/dist/components/ShapeEditor/_model/cursors.js +52 -0
  627. package/dist/components/ShapeEditor/_model/cursors.js.map +1 -0
  628. package/dist/components/ShapeEditor/_model/geometry.cjs +2 -0
  629. package/dist/components/ShapeEditor/_model/geometry.cjs.map +1 -0
  630. package/dist/components/ShapeEditor/_model/geometry.d.cts +182 -0
  631. package/dist/components/ShapeEditor/_model/geometry.d.ts +54 -2
  632. package/dist/components/ShapeEditor/_model/geometry.js +431 -0
  633. package/dist/components/ShapeEditor/_model/geometry.js.map +1 -0
  634. package/dist/components/ShapeEditor/_model/imageDiagnosis.cjs +2 -0
  635. package/dist/components/ShapeEditor/_model/imageDiagnosis.cjs.map +1 -0
  636. package/dist/components/ShapeEditor/_model/imageDiagnosis.d.cts +38 -0
  637. package/dist/components/ShapeEditor/_model/imageDiagnosis.d.ts +38 -0
  638. package/dist/components/ShapeEditor/_model/imageDiagnosis.js +358 -0
  639. package/dist/components/ShapeEditor/_model/imageDiagnosis.js.map +1 -0
  640. package/dist/components/ShapeEditor/_model/imageLoad.cjs +2 -0
  641. package/dist/components/ShapeEditor/_model/imageLoad.cjs.map +1 -0
  642. package/dist/components/ShapeEditor/_model/imageLoad.d.cts +29 -0
  643. package/dist/components/ShapeEditor/_model/imageLoad.d.ts +29 -0
  644. package/dist/components/ShapeEditor/_model/imageLoad.js +88 -0
  645. package/dist/components/ShapeEditor/_model/imageLoad.js.map +1 -0
  646. package/dist/components/ShapeEditor/_model/imageSignature.cjs +2 -0
  647. package/dist/components/ShapeEditor/_model/imageSignature.cjs.map +1 -0
  648. package/dist/components/ShapeEditor/_model/imageSignature.d.cts +18 -0
  649. package/dist/components/ShapeEditor/_model/imageSignature.d.ts +18 -0
  650. package/dist/components/ShapeEditor/_model/imageSignature.js +196 -0
  651. package/dist/components/ShapeEditor/_model/imageSignature.js.map +1 -0
  652. package/dist/components/ShapeEditor/_model/imageTiles.cjs +2 -0
  653. package/dist/components/ShapeEditor/_model/imageTiles.cjs.map +1 -0
  654. package/dist/components/ShapeEditor/_model/imageTiles.d.cts +11 -0
  655. package/dist/components/ShapeEditor/_model/imageTiles.js +28 -0
  656. package/dist/components/ShapeEditor/_model/imageTiles.js.map +1 -0
  657. package/dist/components/ShapeEditor/_model/keymap.cjs +2 -0
  658. package/dist/components/ShapeEditor/_model/keymap.cjs.map +1 -0
  659. package/dist/components/ShapeEditor/_model/keymap.d.cts +17 -0
  660. package/dist/components/ShapeEditor/_model/keymap.d.ts +2 -0
  661. package/dist/components/ShapeEditor/_model/keymap.js +75 -0
  662. package/dist/components/ShapeEditor/_model/keymap.js.map +1 -0
  663. package/dist/components/ShapeEditor/_model/overlays.cjs +2 -0
  664. package/dist/components/ShapeEditor/_model/overlays.cjs.map +1 -0
  665. package/dist/components/ShapeEditor/_model/overlays.d.cts +108 -0
  666. package/dist/components/ShapeEditor/_model/overlays.d.ts +11 -25
  667. package/dist/components/ShapeEditor/_model/overlays.js +186 -0
  668. package/dist/components/ShapeEditor/_model/overlays.js.map +1 -0
  669. package/dist/components/ShapeEditor/_model/pinIcon.cjs +2 -0
  670. package/dist/components/ShapeEditor/_model/pinIcon.cjs.map +1 -0
  671. package/dist/components/ShapeEditor/_model/pinIcon.d.cts +13 -0
  672. package/dist/components/ShapeEditor/_model/pinIcon.js +10 -0
  673. package/dist/components/ShapeEditor/_model/pinIcon.js.map +1 -0
  674. package/dist/components/ShapeEditor/_model/polygonFill.cjs +2 -0
  675. package/dist/components/ShapeEditor/_model/polygonFill.cjs.map +1 -0
  676. package/dist/components/ShapeEditor/_model/polygonFill.d.cts +2 -0
  677. package/dist/components/ShapeEditor/_model/polygonFill.d.ts +2 -0
  678. package/dist/components/ShapeEditor/_model/polygonFill.js +12 -0
  679. package/dist/components/ShapeEditor/_model/polygonFill.js.map +1 -0
  680. package/dist/components/ShapeEditor/_model/props.d.cts +13 -0
  681. package/dist/components/ShapeEditor/_model/props.d.ts +11 -443
  682. package/dist/components/ShapeEditor/_model/scalarMask.cjs +2 -0
  683. package/dist/components/ShapeEditor/_model/scalarMask.cjs.map +1 -0
  684. package/dist/components/ShapeEditor/_model/scalarMask.d.cts +21 -0
  685. package/dist/components/ShapeEditor/_model/scalarMask.d.ts +1 -1
  686. package/dist/components/ShapeEditor/_model/scalarMask.js +188 -0
  687. package/dist/components/ShapeEditor/_model/scalarMask.js.map +1 -0
  688. package/dist/components/ShapeEditor/_model/shapeHitTest.cjs +2 -0
  689. package/dist/components/ShapeEditor/_model/shapeHitTest.cjs.map +1 -0
  690. package/dist/components/ShapeEditor/_model/shapeHitTest.d.cts +14 -0
  691. package/dist/components/ShapeEditor/_model/shapeHitTest.d.ts +14 -0
  692. package/dist/components/ShapeEditor/_model/shapeHitTest.js +38 -0
  693. package/dist/components/ShapeEditor/_model/shapeHitTest.js.map +1 -0
  694. package/dist/components/ShapeEditor/_model/shapeRenderStyle.cjs +2 -0
  695. package/dist/components/ShapeEditor/_model/shapeRenderStyle.cjs.map +1 -0
  696. package/dist/components/ShapeEditor/_model/shapeRenderStyle.d.cts +16 -0
  697. package/dist/components/ShapeEditor/_model/shapeRenderStyle.d.ts +1 -1
  698. package/dist/components/ShapeEditor/_model/shapeRenderStyle.js +19 -0
  699. package/dist/components/ShapeEditor/_model/shapeRenderStyle.js.map +1 -0
  700. package/dist/components/ShapeEditor/_model/strings.cjs +2 -0
  701. package/dist/components/ShapeEditor/_model/strings.cjs.map +1 -0
  702. package/dist/components/ShapeEditor/_model/strings.d.cts +62 -0
  703. package/dist/components/ShapeEditor/_model/strings.d.ts +10 -1
  704. package/dist/components/ShapeEditor/_model/strings.js +130 -0
  705. package/dist/components/ShapeEditor/_model/strings.js.map +1 -0
  706. package/dist/components/ShapeEditor/_model/tools.cjs +2 -0
  707. package/dist/components/ShapeEditor/_model/tools.cjs.map +1 -0
  708. package/dist/components/ShapeEditor/_model/tools.d.cts +29 -0
  709. package/dist/components/ShapeEditor/_model/tools.d.ts +4 -2
  710. package/dist/components/ShapeEditor/_model/tools.js +19 -0
  711. package/dist/components/ShapeEditor/_model/tools.js.map +1 -0
  712. package/dist/components/ShapeEditor/_model/types/assistant.d.cts +37 -0
  713. package/dist/components/ShapeEditor/_model/types/assistant.d.ts +37 -0
  714. package/dist/components/ShapeEditor/_model/types/handle.d.cts +124 -0
  715. package/dist/components/ShapeEditor/_model/types/handle.d.ts +124 -0
  716. package/dist/components/ShapeEditor/_model/types/props.d.cts +432 -0
  717. package/dist/components/ShapeEditor/_model/types/props.d.ts +432 -0
  718. package/dist/components/ShapeEditor/_model/viewSettings.cjs +2 -0
  719. package/dist/components/ShapeEditor/_model/viewSettings.cjs.map +1 -0
  720. package/dist/components/ShapeEditor/_model/viewSettings.d.cts +73 -0
  721. package/dist/components/ShapeEditor/_model/viewSettings.d.ts +60 -2
  722. package/dist/components/ShapeEditor/_model/viewSettings.js +57 -0
  723. package/dist/components/ShapeEditor/_model/viewSettings.js.map +1 -0
  724. package/dist/components/ShapeEditor/_model/viewerPatch.cjs +2 -0
  725. package/dist/components/ShapeEditor/_model/viewerPatch.cjs.map +1 -0
  726. package/dist/components/ShapeEditor/_model/viewerPatch.d.cts +60 -0
  727. package/dist/components/ShapeEditor/_model/viewerPatch.d.ts +60 -0
  728. package/dist/components/ShapeEditor/_model/viewerPatch.js +57 -0
  729. package/dist/components/ShapeEditor/_model/viewerPatch.js.map +1 -0
  730. package/dist/components/ShapeEditor/_model/viewport.cjs +2 -0
  731. package/dist/components/ShapeEditor/_model/viewport.cjs.map +1 -0
  732. package/dist/components/ShapeEditor/_model/viewport.d.cts +36 -0
  733. package/dist/components/ShapeEditor/_model/viewport.d.ts +10 -2
  734. package/dist/components/ShapeEditor/_model/viewport.js +79 -0
  735. package/dist/components/ShapeEditor/_model/viewport.js.map +1 -0
  736. package/dist/components/ShapeEditor/_renderers/PixiRenderer.cjs +2 -0
  737. package/dist/components/ShapeEditor/_renderers/PixiRenderer.cjs.map +1 -0
  738. package/dist/components/ShapeEditor/_renderers/PixiRenderer.d.cts +121 -0
  739. package/dist/components/ShapeEditor/_renderers/PixiRenderer.d.ts +28 -76
  740. package/dist/components/ShapeEditor/_renderers/PixiRenderer.js +305 -0
  741. package/dist/components/ShapeEditor/_renderers/PixiRenderer.js.map +1 -0
  742. package/dist/components/ShapeEditor/_renderers/imageLayer.cjs +2 -0
  743. package/dist/components/ShapeEditor/_renderers/imageLayer.cjs.map +1 -0
  744. package/dist/components/ShapeEditor/_renderers/imageLayer.d.cts +35 -0
  745. package/dist/components/ShapeEditor/_renderers/imageLayer.d.ts +35 -0
  746. package/dist/components/ShapeEditor/_renderers/imageLayer.js +59 -0
  747. package/dist/components/ShapeEditor/_renderers/imageLayer.js.map +1 -0
  748. package/dist/components/ShapeEditor/_renderers/overlayLayer.cjs +2 -0
  749. package/dist/components/ShapeEditor/_renderers/overlayLayer.cjs.map +1 -0
  750. package/dist/components/ShapeEditor/_renderers/overlayLayer.d.cts +36 -0
  751. package/dist/components/ShapeEditor/_renderers/overlayLayer.d.ts +36 -0
  752. package/dist/components/ShapeEditor/_renderers/overlayLayer.js +65 -0
  753. package/dist/components/ShapeEditor/_renderers/overlayLayer.js.map +1 -0
  754. package/dist/components/ShapeEditor/_renderers/previewLayer.cjs +2 -0
  755. package/dist/components/ShapeEditor/_renderers/previewLayer.cjs.map +1 -0
  756. package/dist/components/ShapeEditor/_renderers/previewLayer.d.cts +34 -0
  757. package/dist/components/ShapeEditor/_renderers/previewLayer.d.ts +34 -0
  758. package/dist/components/ShapeEditor/_renderers/previewLayer.js +112 -0
  759. package/dist/components/ShapeEditor/_renderers/previewLayer.js.map +1 -0
  760. package/dist/components/ShapeEditor/_renderers/shapeLayer.cjs +2 -0
  761. package/dist/components/ShapeEditor/_renderers/shapeLayer.cjs.map +1 -0
  762. package/dist/components/ShapeEditor/_renderers/shapeLayer.d.cts +49 -0
  763. package/dist/components/ShapeEditor/_renderers/shapeLayer.d.ts +49 -0
  764. package/dist/components/ShapeEditor/_renderers/shapeLayer.js +94 -0
  765. package/dist/components/ShapeEditor/_renderers/shapeLayer.js.map +1 -0
  766. package/dist/components/ShapeEditor/_renderers/shapePainter.cjs +2 -0
  767. package/dist/components/ShapeEditor/_renderers/shapePainter.cjs.map +1 -0
  768. package/dist/components/ShapeEditor/_renderers/shapePainter.d.cts +27 -0
  769. package/dist/components/ShapeEditor/_renderers/shapePainter.d.ts +27 -0
  770. package/dist/components/ShapeEditor/_renderers/shapePainter.js +166 -0
  771. package/dist/components/ShapeEditor/_renderers/shapePainter.js.map +1 -0
  772. package/dist/components/ShapeEditor/_renderers/transformDriver.cjs +2 -0
  773. package/dist/components/ShapeEditor/_renderers/transformDriver.cjs.map +1 -0
  774. package/dist/components/ShapeEditor/_renderers/transformDriver.d.cts +55 -0
  775. package/dist/components/ShapeEditor/_renderers/transformDriver.d.ts +55 -0
  776. package/dist/components/ShapeEditor/_renderers/transformDriver.js +94 -0
  777. package/dist/components/ShapeEditor/_renderers/transformDriver.js.map +1 -0
  778. package/dist/components/ShapeEditor/_renderers/transformSession.cjs +2 -0
  779. package/dist/components/ShapeEditor/_renderers/transformSession.cjs.map +1 -0
  780. package/dist/components/ShapeEditor/_renderers/transformSession.d.cts +74 -0
  781. package/dist/components/ShapeEditor/_renderers/transformSession.d.ts +11 -5
  782. package/dist/components/ShapeEditor/_renderers/transformSession.js +135 -0
  783. package/dist/components/ShapeEditor/_renderers/transformSession.js.map +1 -0
  784. package/dist/components/ShapeEditor/_renderers/transformerLayer.cjs +2 -0
  785. package/dist/components/ShapeEditor/_renderers/transformerLayer.cjs.map +1 -0
  786. package/dist/components/ShapeEditor/_renderers/transformerLayer.d.cts +69 -0
  787. package/dist/components/ShapeEditor/_renderers/transformerLayer.d.ts +69 -0
  788. package/dist/components/ShapeEditor/_renderers/transformerLayer.js +248 -0
  789. package/dist/components/ShapeEditor/_renderers/transformerLayer.js.map +1 -0
  790. package/dist/components/ShapeEditor/_renderers/types.d.cts +129 -0
  791. package/dist/components/ShapeEditor/_renderers/types.d.ts +50 -27
  792. package/dist/components/ShapeEditor/_state/buildContextMenuItems.cjs +2 -0
  793. package/dist/components/ShapeEditor/_state/buildContextMenuItems.cjs.map +1 -0
  794. package/dist/components/ShapeEditor/_state/buildContextMenuItems.d.cts +26 -0
  795. package/dist/components/ShapeEditor/_state/buildContextMenuItems.d.ts +26 -0
  796. package/dist/components/ShapeEditor/_state/buildContextMenuItems.js +118 -0
  797. package/dist/components/ShapeEditor/_state/buildContextMenuItems.js.map +1 -0
  798. package/dist/components/ShapeEditor/_state/buildHotkeyActions.cjs +2 -0
  799. package/dist/components/ShapeEditor/_state/buildHotkeyActions.cjs.map +1 -0
  800. package/dist/components/ShapeEditor/_state/buildHotkeyActions.d.cts +42 -0
  801. package/dist/components/ShapeEditor/_state/buildHotkeyActions.d.ts +42 -0
  802. package/dist/components/ShapeEditor/_state/buildHotkeyActions.js +86 -0
  803. package/dist/components/ShapeEditor/_state/buildHotkeyActions.js.map +1 -0
  804. package/dist/components/ShapeEditor/_state/createInteractionController.cjs +2 -0
  805. package/dist/components/ShapeEditor/_state/createInteractionController.cjs.map +1 -0
  806. package/dist/components/ShapeEditor/_state/createInteractionController.d.cts +73 -0
  807. package/dist/components/ShapeEditor/_state/createInteractionController.d.ts +30 -11
  808. package/dist/components/ShapeEditor/_state/createInteractionController.js +398 -0
  809. package/dist/components/ShapeEditor/_state/createInteractionController.js.map +1 -0
  810. package/dist/components/ShapeEditor/_state/drawSessionState.cjs +2 -0
  811. package/dist/components/ShapeEditor/_state/drawSessionState.cjs.map +1 -0
  812. package/dist/components/ShapeEditor/_state/drawSessionState.d.cts +6 -0
  813. package/dist/components/ShapeEditor/_state/drawSessionState.d.ts +2 -2
  814. package/dist/components/ShapeEditor/_state/drawSessionState.js +21 -0
  815. package/dist/components/ShapeEditor/_state/drawSessionState.js.map +1 -0
  816. package/dist/components/ShapeEditor/_state/useAssistant.cjs +2 -0
  817. package/dist/components/ShapeEditor/_state/useAssistant.cjs.map +1 -0
  818. package/dist/components/ShapeEditor/_state/useAssistant.d.cts +49 -0
  819. package/dist/components/ShapeEditor/_state/useAssistant.d.ts +4 -3
  820. package/dist/components/ShapeEditor/_state/useAssistant.js +178 -0
  821. package/dist/components/ShapeEditor/_state/useAssistant.js.map +1 -0
  822. package/dist/components/ShapeEditor/_state/useDrawSession.cjs +2 -0
  823. package/dist/components/ShapeEditor/_state/useDrawSession.cjs.map +1 -0
  824. package/dist/components/ShapeEditor/_state/useDrawSession.d.cts +64 -0
  825. package/dist/components/ShapeEditor/_state/useDrawSession.d.ts +9 -6
  826. package/dist/components/ShapeEditor/_state/useDrawSession.js +372 -0
  827. package/dist/components/ShapeEditor/_state/useDrawSession.js.map +1 -0
  828. package/dist/components/ShapeEditor/_state/useEditorDocument.cjs +2 -0
  829. package/dist/components/ShapeEditor/_state/useEditorDocument.cjs.map +1 -0
  830. package/dist/components/ShapeEditor/_state/useEditorDocument.d.cts +30 -0
  831. package/dist/components/ShapeEditor/_state/useEditorDocument.d.ts +8 -1
  832. package/dist/components/ShapeEditor/_state/useEditorDocument.js +173 -0
  833. package/dist/components/ShapeEditor/_state/useEditorDocument.js.map +1 -0
  834. package/dist/components/ShapeEditor/_state/useEditorHandle.cjs +2 -0
  835. package/dist/components/ShapeEditor/_state/useEditorHandle.cjs.map +1 -0
  836. package/dist/components/ShapeEditor/_state/useEditorHandle.d.cts +34 -0
  837. package/dist/components/ShapeEditor/_state/useEditorHandle.d.ts +34 -0
  838. package/dist/components/ShapeEditor/_state/useEditorHandle.js +95 -0
  839. package/dist/components/ShapeEditor/_state/useEditorHandle.js.map +1 -0
  840. package/dist/components/ShapeEditor/_state/useEditorHotkeys.cjs +2 -0
  841. package/dist/components/ShapeEditor/_state/useEditorHotkeys.cjs.map +1 -0
  842. package/dist/components/ShapeEditor/_state/useEditorHotkeys.d.cts +25 -0
  843. package/dist/components/ShapeEditor/_state/useEditorHotkeys.d.ts +5 -5
  844. package/dist/components/ShapeEditor/_state/useEditorHotkeys.js +44 -0
  845. package/dist/components/ShapeEditor/_state/useEditorHotkeys.js.map +1 -0
  846. package/dist/components/ShapeEditor/_state/useEditorView.cjs +2 -0
  847. package/dist/components/ShapeEditor/_state/useEditorView.cjs.map +1 -0
  848. package/dist/components/ShapeEditor/_state/useEditorView.d.cts +15 -0
  849. package/dist/components/ShapeEditor/_state/useEditorView.d.ts +15 -0
  850. package/dist/components/ShapeEditor/_state/useEditorView.js +45 -0
  851. package/dist/components/ShapeEditor/_state/useEditorView.js.map +1 -0
  852. package/dist/components/ShapeEditor/_state/useEngineLifecycle.cjs +2 -0
  853. package/dist/components/ShapeEditor/_state/useEngineLifecycle.cjs.map +1 -0
  854. package/dist/components/ShapeEditor/_state/useEngineLifecycle.d.cts +89 -0
  855. package/dist/components/ShapeEditor/_state/useEngineLifecycle.d.ts +48 -17
  856. package/dist/components/ShapeEditor/_state/useEngineLifecycle.js +126 -0
  857. package/dist/components/ShapeEditor/_state/useEngineLifecycle.js.map +1 -0
  858. package/dist/components/ShapeEditor/_state/useLatestRef.cjs +2 -0
  859. package/dist/components/ShapeEditor/_state/useLatestRef.cjs.map +1 -0
  860. package/dist/components/ShapeEditor/_state/useLatestRef.d.cts +7 -0
  861. package/dist/components/ShapeEditor/_state/useLatestRef.d.ts +7 -0
  862. package/dist/components/ShapeEditor/_state/useLatestRef.js +13 -0
  863. package/dist/components/ShapeEditor/_state/useLatestRef.js.map +1 -0
  864. package/dist/components/ShapeEditor/_state/useMinimapNavigation.cjs +2 -0
  865. package/dist/components/ShapeEditor/_state/useMinimapNavigation.cjs.map +1 -0
  866. package/dist/components/ShapeEditor/_state/useMinimapNavigation.d.cts +27 -0
  867. package/dist/components/ShapeEditor/_state/useMinimapNavigation.d.ts +1 -1
  868. package/dist/components/ShapeEditor/_state/useMinimapNavigation.js +118 -0
  869. package/dist/components/ShapeEditor/_state/useMinimapNavigation.js.map +1 -0
  870. package/dist/components/ShapeEditor/_state/useMinimapSync.cjs +2 -0
  871. package/dist/components/ShapeEditor/_state/useMinimapSync.cjs.map +1 -0
  872. package/dist/components/ShapeEditor/_state/useMinimapSync.d.cts +26 -0
  873. package/dist/components/ShapeEditor/_state/useMinimapSync.d.ts +6 -4
  874. package/dist/components/ShapeEditor/_state/useMinimapSync.js +69 -0
  875. package/dist/components/ShapeEditor/_state/useMinimapSync.js.map +1 -0
  876. package/dist/components/ShapeEditor/_state/useSelectionActions.cjs +2 -0
  877. package/dist/components/ShapeEditor/_state/useSelectionActions.cjs.map +1 -0
  878. package/dist/components/ShapeEditor/_state/useSelectionActions.d.cts +31 -0
  879. package/dist/components/ShapeEditor/_state/useSelectionActions.d.ts +9 -6
  880. package/dist/components/ShapeEditor/_state/useSelectionActions.js +151 -0
  881. package/dist/components/ShapeEditor/_state/useSelectionActions.js.map +1 -0
  882. package/dist/components/ShapeEditor/_state/useSelectionInfoOverlay.cjs +2 -0
  883. package/dist/components/ShapeEditor/_state/useSelectionInfoOverlay.cjs.map +1 -0
  884. package/dist/components/ShapeEditor/_state/useSelectionInfoOverlay.d.cts +32 -0
  885. package/dist/components/ShapeEditor/_state/useSelectionInfoOverlay.d.ts +32 -0
  886. package/dist/components/ShapeEditor/_state/useSelectionInfoOverlay.js +64 -0
  887. package/dist/components/ShapeEditor/_state/useSelectionInfoOverlay.js.map +1 -0
  888. package/dist/components/ShapeEditor/_state/useSelectionModel.cjs +2 -0
  889. package/dist/components/ShapeEditor/_state/useSelectionModel.cjs.map +1 -0
  890. package/dist/components/ShapeEditor/_state/useSelectionModel.d.cts +24 -0
  891. package/dist/components/ShapeEditor/_state/useSelectionModel.d.ts +24 -0
  892. package/dist/components/ShapeEditor/_state/useSelectionModel.js +65 -0
  893. package/dist/components/ShapeEditor/_state/useSelectionModel.js.map +1 -0
  894. package/dist/components/ShapeEditor/_state/useViewportControls.cjs +2 -0
  895. package/dist/components/ShapeEditor/_state/useViewportControls.cjs.map +1 -0
  896. package/dist/components/ShapeEditor/_state/useViewportControls.d.cts +23 -0
  897. package/dist/components/ShapeEditor/_state/useViewportControls.d.ts +3 -3
  898. package/dist/components/ShapeEditor/_state/useViewportControls.js +79 -0
  899. package/dist/components/ShapeEditor/_state/useViewportControls.js.map +1 -0
  900. package/dist/components/ShapeEditor/index.d.cts +13 -0
  901. package/dist/components/ShapeEditor/index.d.ts +13 -8
  902. package/dist/components/Shortcut/Shortcut.cjs +2 -0
  903. package/dist/components/Shortcut/Shortcut.cjs.map +1 -0
  904. package/dist/components/Shortcut/Shortcut.d.cts +24 -0
  905. package/dist/components/Shortcut/Shortcut.d.ts +16 -0
  906. package/dist/components/Shortcut/Shortcut.js +22 -0
  907. package/dist/components/Shortcut/Shortcut.js.map +1 -0
  908. package/dist/components/Shortcut/index.d.cts +2 -0
  909. package/dist/components/Shortcut/index.d.ts +2 -2
  910. package/dist/components/Skeleton/Skeleton.cjs +2 -0
  911. package/dist/components/Skeleton/Skeleton.cjs.map +1 -0
  912. package/dist/components/Skeleton/Skeleton.d.cts +26 -0
  913. package/dist/components/Skeleton/Skeleton.d.ts +21 -2
  914. package/dist/components/Skeleton/Skeleton.js +20 -0
  915. package/dist/components/Skeleton/Skeleton.js.map +1 -0
  916. package/dist/components/Skeleton/index.d.cts +2 -0
  917. package/dist/components/Skeleton/index.d.ts +2 -2
  918. package/dist/components/Slider/Slider.cjs +2 -0
  919. package/dist/components/Slider/Slider.cjs.map +1 -0
  920. package/dist/components/Slider/Slider.d.cts +58 -0
  921. package/dist/components/Slider/Slider.d.ts +52 -5
  922. package/dist/components/Slider/Slider.js +78 -0
  923. package/dist/components/Slider/Slider.js.map +1 -0
  924. package/dist/components/Slider/index.d.cts +2 -0
  925. package/dist/components/Slider/index.d.ts +2 -2
  926. package/dist/components/Spinner/Spinner.cjs +2 -0
  927. package/dist/components/Spinner/Spinner.cjs.map +1 -0
  928. package/dist/components/Spinner/Spinner.d.cts +32 -0
  929. package/dist/components/Spinner/Spinner.d.ts +32 -0
  930. package/dist/components/Spinner/Spinner.js +27 -0
  931. package/dist/components/Spinner/Spinner.js.map +1 -0
  932. package/dist/components/Spinner/index.d.cts +2 -0
  933. package/dist/components/Spinner/index.d.ts +2 -0
  934. package/dist/components/Switch/Switch.cjs +2 -0
  935. package/dist/components/Switch/Switch.cjs.map +1 -0
  936. package/dist/components/Switch/Switch.d.cts +31 -0
  937. package/dist/components/Switch/Switch.d.ts +22 -3
  938. package/dist/components/Switch/Switch.js +48 -0
  939. package/dist/components/Switch/Switch.js.map +1 -0
  940. package/dist/components/Switch/index.d.cts +2 -0
  941. package/dist/components/Switch/index.d.ts +2 -2
  942. package/dist/components/Tab/Tab.cjs +2 -0
  943. package/dist/components/Tab/Tab.cjs.map +1 -0
  944. package/dist/components/Tab/Tab.d.cts +76 -0
  945. package/dist/components/Tab/Tab.d.ts +70 -13
  946. package/dist/components/Tab/Tab.js +43 -0
  947. package/dist/components/Tab/Tab.js.map +1 -0
  948. package/dist/components/Tab/index.d.cts +2 -0
  949. package/dist/components/Tab/index.d.ts +2 -2
  950. package/dist/components/Tag/Tag.cjs +2 -0
  951. package/dist/components/Tag/Tag.cjs.map +1 -0
  952. package/dist/components/Tag/Tag.d.cts +50 -0
  953. package/dist/components/Tag/Tag.d.ts +37 -3
  954. package/dist/components/Tag/Tag.js +60 -0
  955. package/dist/components/Tag/Tag.js.map +1 -0
  956. package/dist/components/Tag/index.d.cts +2 -0
  957. package/dist/components/Tag/index.d.ts +2 -2
  958. package/dist/components/Tagbox/Tagbox.cjs +2 -0
  959. package/dist/components/Tagbox/Tagbox.cjs.map +1 -0
  960. package/dist/components/Tagbox/Tagbox.d.cts +65 -0
  961. package/dist/components/Tagbox/Tagbox.d.ts +48 -8
  962. package/dist/components/Tagbox/Tagbox.js +89 -0
  963. package/dist/components/Tagbox/Tagbox.js.map +1 -0
  964. package/dist/components/Tagbox/index.d.cts +2 -0
  965. package/dist/components/Tagbox/index.d.ts +2 -2
  966. package/dist/components/Textarea/Textarea.cjs +2 -0
  967. package/dist/components/Textarea/Textarea.cjs.map +1 -0
  968. package/dist/components/Textarea/Textarea.d.cts +49 -0
  969. package/dist/components/Textarea/Textarea.d.ts +36 -6
  970. package/dist/components/Textarea/Textarea.js +60 -0
  971. package/dist/components/Textarea/Textarea.js.map +1 -0
  972. package/dist/components/Textarea/index.d.cts +2 -0
  973. package/dist/components/Textarea/index.d.ts +2 -2
  974. package/dist/components/Textbox/Textbox.cjs +2 -0
  975. package/dist/components/Textbox/Textbox.cjs.map +1 -0
  976. package/dist/components/Textbox/Textbox.d.cts +47 -0
  977. package/dist/components/Textbox/Textbox.d.ts +36 -8
  978. package/dist/components/Textbox/Textbox.js +61 -0
  979. package/dist/components/Textbox/Textbox.js.map +1 -0
  980. package/dist/components/Textbox/index.d.cts +2 -0
  981. package/dist/components/Textbox/index.d.ts +2 -2
  982. package/dist/components/Toast/Toast.cjs +2 -0
  983. package/dist/components/Toast/Toast.cjs.map +1 -0
  984. package/dist/components/Toast/Toast.d.cts +100 -0
  985. package/dist/components/Toast/Toast.d.ts +88 -5
  986. package/dist/components/Toast/Toast.js +82 -0
  987. package/dist/components/Toast/Toast.js.map +1 -0
  988. package/dist/components/Toast/index.d.cts +2 -0
  989. package/dist/components/Toast/index.d.ts +2 -2
  990. package/dist/components/ToggleButton/ToggleButton.cjs +2 -0
  991. package/dist/components/ToggleButton/ToggleButton.cjs.map +1 -0
  992. package/dist/components/ToggleButton/ToggleButton.d.cts +41 -0
  993. package/dist/components/ToggleButton/ToggleButton.d.ts +26 -2
  994. package/dist/components/ToggleButton/ToggleButton.js +117 -0
  995. package/dist/components/ToggleButton/ToggleButton.js.map +1 -0
  996. package/dist/components/ToggleButton/index.d.cts +2 -0
  997. package/dist/components/ToggleButton/index.d.ts +2 -2
  998. package/dist/components/Tooltip/Tooltip.cjs +2 -0
  999. package/dist/components/Tooltip/Tooltip.cjs.map +1 -0
  1000. package/dist/components/Tooltip/Tooltip.d.cts +40 -0
  1001. package/dist/components/Tooltip/Tooltip.d.ts +28 -1
  1002. package/dist/components/Tooltip/Tooltip.js +62 -0
  1003. package/dist/components/Tooltip/Tooltip.js.map +1 -0
  1004. package/dist/components/Tooltip/index.d.cts +2 -0
  1005. package/dist/components/Tooltip/index.d.ts +2 -2
  1006. package/dist/components/TruncatedText/TruncatedText.cjs +2 -0
  1007. package/dist/components/TruncatedText/TruncatedText.cjs.map +1 -0
  1008. package/dist/components/TruncatedText/TruncatedText.d.cts +44 -0
  1009. package/dist/components/TruncatedText/TruncatedText.d.ts +44 -0
  1010. package/dist/components/TruncatedText/TruncatedText.js +84 -0
  1011. package/dist/components/TruncatedText/TruncatedText.js.map +1 -0
  1012. package/dist/components/TruncatedText/index.d.cts +2 -0
  1013. package/dist/components/TruncatedText/index.d.ts +2 -0
  1014. package/dist/components/Typography/Typography.cjs +2 -0
  1015. package/dist/components/Typography/Typography.cjs.map +1 -0
  1016. package/dist/components/Typography/Typography.d.cts +33 -0
  1017. package/dist/components/Typography/Typography.d.ts +21 -0
  1018. package/dist/components/Typography/Typography.js +59 -0
  1019. package/dist/components/Typography/Typography.js.map +1 -0
  1020. package/dist/components/Typography/index.d.cts +2 -0
  1021. package/dist/components/Typography/index.d.ts +2 -2
  1022. package/dist/components/UploadArea/UploadArea.cjs +2 -0
  1023. package/dist/components/UploadArea/UploadArea.cjs.map +1 -0
  1024. package/dist/components/UploadArea/UploadArea.d.cts +82 -0
  1025. package/dist/components/UploadArea/UploadArea.d.ts +66 -1
  1026. package/dist/components/UploadArea/UploadArea.js +121 -0
  1027. package/dist/components/UploadArea/UploadArea.js.map +1 -0
  1028. package/dist/components/UploadArea/index.d.cts +2 -0
  1029. package/dist/components/UploadArea/index.d.ts +2 -2
  1030. package/dist/fonts.css +4 -0
  1031. package/dist/illustration.cjs +1 -0
  1032. package/dist/illustration.js +3 -0
  1033. package/dist/index.cjs +1 -15
  1034. package/dist/index.d.cts +58 -0
  1035. package/dist/index.d.ts +58 -49
  1036. package/dist/index.js +65 -8751
  1037. package/dist/llms-full.txt +6663 -0
  1038. package/dist/llms.txt +125 -0
  1039. package/dist/shape-editor.cjs +1 -1
  1040. package/dist/shape-editor.cjs.map +1 -1
  1041. package/dist/shape-editor.js +10 -5732
  1042. package/dist/shape-editor.js.map +1 -1
  1043. package/dist/styles.css +5 -2
  1044. package/dist/tailwind.css +434 -0
  1045. package/dist/tokens/tokens.css +629 -611
  1046. package/dist/utils/PortalEventBoundary.cjs +2 -0
  1047. package/dist/utils/PortalEventBoundary.cjs.map +1 -0
  1048. package/dist/utils/PortalEventBoundary.d.cts +13 -0
  1049. package/dist/utils/PortalEventBoundary.d.ts +13 -0
  1050. package/dist/utils/PortalEventBoundary.js +12 -0
  1051. package/dist/utils/PortalEventBoundary.js.map +1 -0
  1052. package/dist/utils/Primitive.cjs +2 -0
  1053. package/dist/utils/Primitive.cjs.map +1 -0
  1054. package/dist/utils/Primitive.d.cts +9 -0
  1055. package/dist/utils/Primitive.d.ts +9 -0
  1056. package/dist/utils/Primitive.js +15 -0
  1057. package/dist/utils/Primitive.js.map +1 -0
  1058. package/dist/utils/cn.d.cts +12 -0
  1059. package/dist/utils/cn.d.ts +10 -0
  1060. package/dist/utils/dataAttributes.d.cts +7 -0
  1061. package/dist/utils/dataAttributes.d.ts +7 -0
  1062. package/dist/utils/keyboard.cjs +2 -0
  1063. package/dist/utils/keyboard.cjs.map +1 -0
  1064. package/dist/utils/keyboard.d.cts +3 -0
  1065. package/dist/utils/keyboard.d.ts +3 -0
  1066. package/dist/utils/keyboard.js +14 -0
  1067. package/dist/utils/keyboard.js.map +1 -0
  1068. package/dist/utils/popupArrow.cjs +2 -0
  1069. package/dist/utils/popupArrow.cjs.map +1 -0
  1070. package/dist/utils/popupArrow.d.cts +14 -0
  1071. package/dist/utils/popupArrow.d.ts +14 -0
  1072. package/dist/utils/popupArrow.js +26 -0
  1073. package/dist/utils/popupArrow.js.map +1 -0
  1074. package/dist/utils/popupPositioning.cjs +2 -0
  1075. package/dist/utils/popupPositioning.cjs.map +1 -0
  1076. package/dist/utils/popupPositioning.d.cts +11 -0
  1077. package/dist/utils/popupPositioning.d.ts +11 -0
  1078. package/dist/utils/popupPositioning.js +25 -0
  1079. package/dist/utils/popupPositioning.js.map +1 -0
  1080. package/dist/utils/sheet.cjs +2 -0
  1081. package/dist/utils/sheet.cjs.map +1 -0
  1082. package/dist/utils/sheet.d.cts +17 -0
  1083. package/dist/utils/sheet.d.ts +17 -0
  1084. package/dist/utils/sheet.js +7 -0
  1085. package/dist/utils/sheet.js.map +1 -0
  1086. package/dist/utils/useComposedRefs.cjs +2 -0
  1087. package/dist/utils/useComposedRefs.cjs.map +1 -0
  1088. package/dist/utils/useComposedRefs.d.cts +6 -0
  1089. package/dist/utils/useComposedRefs.d.ts +6 -0
  1090. package/dist/utils/useComposedRefs.js +22 -0
  1091. package/dist/utils/useComposedRefs.js.map +1 -0
  1092. package/dist/utils/useControllableState.cjs +2 -0
  1093. package/dist/utils/useControllableState.cjs.map +1 -0
  1094. package/dist/utils/useControllableState.d.cts +17 -0
  1095. package/dist/utils/useControllableState.d.ts +17 -0
  1096. package/dist/utils/useControllableState.js +13 -0
  1097. package/dist/utils/useControllableState.js.map +1 -0
  1098. package/dist/utils/useModalFocus.cjs +2 -0
  1099. package/dist/utils/useModalFocus.cjs.map +1 -0
  1100. package/dist/utils/useModalFocus.d.cts +31 -0
  1101. package/dist/utils/useModalFocus.d.ts +31 -0
  1102. package/dist/utils/useModalFocus.js +28 -0
  1103. package/dist/utils/useModalFocus.js.map +1 -0
  1104. package/dist/utils/useResizableWidth.cjs +2 -0
  1105. package/dist/utils/useResizableWidth.cjs.map +1 -0
  1106. package/dist/utils/useResizableWidth.d.cts +30 -0
  1107. package/dist/utils/useResizableWidth.d.ts +30 -0
  1108. package/dist/utils/useResizableWidth.js +32 -0
  1109. package/dist/utils/useResizableWidth.js.map +1 -0
  1110. package/dist/utils.cjs +2 -0
  1111. package/dist/utils.cjs.map +1 -0
  1112. package/dist/utils.js +59 -0
  1113. package/dist/utils.js.map +1 -0
  1114. package/package.json +68 -28
  1115. package/dist/Button-C_GP2mJ-.cjs +0 -2
  1116. package/dist/Button-C_GP2mJ-.cjs.map +0 -1
  1117. package/dist/Button-CzqDPqUT.js +0 -8600
  1118. package/dist/Button-CzqDPqUT.js.map +0 -1
  1119. package/dist/IconButton-B-MspnYP.cjs +0 -2
  1120. package/dist/IconButton-B-MspnYP.cjs.map +0 -1
  1121. package/dist/IconButton-DTGSfJme.js +0 -560
  1122. package/dist/IconButton-DTGSfJme.js.map +0 -1
  1123. package/dist/Switch-B2irM7Pp.js +0 -2656
  1124. package/dist/Switch-B2irM7Pp.js.map +0 -1
  1125. package/dist/Switch-CMKBdqkX.cjs +0 -42
  1126. package/dist/Switch-CMKBdqkX.cjs.map +0 -1
  1127. package/dist/comment.cjs.map +0 -1
  1128. package/dist/comment.js.map +0 -1
  1129. package/dist/components/Chips/index.d.ts +0 -19
  1130. package/dist/components/DatePicker/Calendar.d.ts +0 -27
  1131. package/dist/components/DatePicker/DatePicker.d.ts +0 -119
  1132. package/dist/components/DatePicker/date.d.ts +0 -24
  1133. package/dist/components/DatePicker/index.d.ts +0 -4
  1134. package/dist/components/ShapeEditor/_model/imageFetch.d.ts +0 -9
  1135. package/dist/components/ShapeEditor/_model/konva.d.ts +0 -4
  1136. package/dist/components/ShapeEditor/_model/overlays.test.d.ts +0 -1
  1137. package/dist/components/ShapeEditor/_renderers/KonvaRenderer.d.ts +0 -124
  1138. package/dist/components/Table/Table.d.ts +0 -61
  1139. package/dist/components/Table/index.d.ts +0 -2
  1140. package/dist/index.cjs.map +0 -1
  1141. package/dist/index.js.map +0 -1
@@ -0,0 +1,165 @@
1
+ import type { useRender } from "@base-ui/react/use-render";
2
+ import type { RowData } from "@tanstack/react-table";
3
+ import { type HTMLAttributes, type ReactNode, type Ref } from "react";
4
+ import { type ScrollAreaProps } from "../ScrollArea/index.js";
5
+ /** 셀 가로 정렬 — start(왼쪽)·center·end(오른쪽, 숫자 컬럼). */
6
+ export type DataGridAlign = "start" | "center" | "end";
7
+ /**
8
+ * 그리드 밀도 (Figma Table Variants : Type).
9
+ * - basic: 헤더 48px(배경·테두리 박스) + 행 48px + 행 구분선
10
+ * - compact: 헤더 32px(박스 없음) + 행 36px, 구분선·바깥 인셋 없음 — 대시보드 카드 등 좁은 영역용
11
+ */
12
+ export type DataGridVariant = "basic" | "compact";
13
+ /** 고정 값 또는 행별로 값을 계산하는 (row, index) => 값 함수. */
14
+ export type DataGridValue<TData, TValue> = TValue | ((row: TData, index: number) => TValue);
15
+ declare module "@tanstack/react-table" {
16
+ interface ColumnMeta<TData extends RowData, TValue> {
17
+ /** 헤더·셀 공통 가로 정렬. headerAlign·cellAlign이 있으면 그쪽이 우선한다. */
18
+ align?: DataGridAlign;
19
+ /** 헤더 셀 가로 정렬 */
20
+ headerAlign?: DataGridAlign;
21
+ /** 본문 셀 가로 정렬 */
22
+ cellAlign?: DataGridAlign;
23
+ /** 헤더·셀·스켈레톤 셀 공통 클래스 — 컬럼 폭(예: "w-[160px]", "min-w-[280px] flex-1")을 여기서 정한다. */
24
+ className?: string;
25
+ /** 헤더 셀에만 덧붙일 클래스 */
26
+ headerClassName?: string;
27
+ /** 본문 셀에만 덧붙일 클래스 — 문자열 또는 (row, index) => 문자열 */
28
+ cellClassName?: DataGridValue<TData, string | undefined>;
29
+ /** false면 정렬 가능한 컬럼이어도 헤더에 정렬 버튼을 그리지 않는다(헤더를 직접 그릴 때). */
30
+ headerSortTrigger?: boolean;
31
+ /** 컬럼 설정 목록에 표시할 라벨 (header 가 문자열이 아닌 컬럼용) */
32
+ settingsLabel?: string;
33
+ /**
34
+ * 로딩 스켈레톤 행에서 이 컬럼 셀에 렌더할 콘텐츠.
35
+ * 미지정 시 기본 스켈레톤 바, null이면 비워둠.
36
+ */
37
+ skeleton?: ReactNode;
38
+ }
39
+ }
40
+ export declare function resolveDataGridValue<TData, TValue>(value: DataGridValue<TData, TValue> | undefined, row: TData, index: number): TValue | undefined;
41
+ export interface DataGridRootProps extends HTMLAttributes<HTMLDivElement> {
42
+ /** 하위 헤더·행·셀에 전달되는 밀도. 기본 basic */
43
+ variant?: DataGridVariant;
44
+ ref?: Ref<HTMLDivElement>;
45
+ }
46
+ /**
47
+ * 프리미티브 그리드의 루트 — 밀도(variant)를 하위에 전달하고 부모 높이를 채운다.
48
+ *
49
+ * 일반 데이터 목록은 DataGrid를 쓰고, 프리미티브는 DataGrid로 표현할 수 없는 예외 레이아웃에만 조립한다.
50
+ * 프리미티브는 React Table 상태·키보드 이동·정렬 UI를 제공하지 않는다.
51
+ *
52
+ * @example
53
+ * ```tsx
54
+ * import {
55
+ * DataGridBody, DataGridCell, DataGridHeader, DataGridHeaderCell,
56
+ * DataGridRoot, DataGridRow, DataGridViewport,
57
+ * } from "@aivex/ui";
58
+ *
59
+ * <DataGridRoot className="h-[240px]">
60
+ * <DataGridViewport>
61
+ * <div role="table" className="flex min-w-full flex-col">
62
+ * <DataGridHeader>
63
+ * <DataGridHeaderCell className="flex-1">Name</DataGridHeaderCell>
64
+ * </DataGridHeader>
65
+ * <DataGridBody>
66
+ * <DataGridRow>
67
+ * <DataGridCell className="flex-1">Inspection image 001.png</DataGridCell>
68
+ * </DataGridRow>
69
+ * </DataGridBody>
70
+ * </div>
71
+ * </DataGridViewport>
72
+ * </DataGridRoot>
73
+ * ```
74
+ */
75
+ declare function DataGridRoot({ className, children, variant, ref, ...props }: DataGridRootProps): import("react/jsx-runtime").JSX.Element;
76
+ export interface DataGridViewportProps extends ScrollAreaProps {
77
+ /** 세로 스크롤바에 덧붙일 클래스 — 고정 헤더 아래에서 시작시킬 때 */
78
+ verticalScrollbarClassName?: string;
79
+ ref?: Ref<HTMLDivElement>;
80
+ }
81
+ /** 가로·세로 스크롤 영역(ScrollArea). DataGridRoot 안에서 헤더·본문을 감싼다. */
82
+ declare function DataGridViewport({ className, children, ref, scrollbars, type, verticalScrollbarClassName, ...props }: DataGridViewportProps): import("react/jsx-runtime").JSX.Element;
83
+ export interface DataGridHeaderProps extends HTMLAttributes<HTMLDivElement> {
84
+ /**
85
+ * 스크롤 시 상단 고정
86
+ * @default true
87
+ */
88
+ sticky?: boolean;
89
+ ref?: Ref<HTMLDivElement>;
90
+ }
91
+ /** 헤더 행(role="row") — DataGridHeaderCell을 담는다. */
92
+ declare function DataGridHeader({ className, children, sticky, ref, ...props }: DataGridHeaderProps): import("react/jsx-runtime").JSX.Element;
93
+ export interface DataGridBodyProps extends HTMLAttributes<HTMLDivElement> {
94
+ ref?: Ref<HTMLDivElement>;
95
+ }
96
+ /** 본문 행 묶음(role="rowgroup") — DataGridRow를 담는다. */
97
+ declare function DataGridBody({ className, children, ref, ...props }: DataGridBodyProps): import("react/jsx-runtime").JSX.Element;
98
+ export interface DataGridRowProps extends HTMLAttributes<HTMLDivElement> {
99
+ /**
100
+ * div 대신 그릴 요소(예: `<a href="…" />`) 또는 `(props) => 요소` 함수. 행 속성·스타일이 그 요소에 합쳐진다.
101
+ */
102
+ render?: useRender.RenderProp;
103
+ /** 선택(강조) 배경 */
104
+ selected?: boolean;
105
+ /** 비활성 — 흐리게 표시하고 클릭·키 입력을 막는다. */
106
+ disabled?: boolean;
107
+ /** 호버 배경·포인터 커서·포커스 링 표시(클릭 가능한 행) */
108
+ interactive?: boolean;
109
+ ref?: Ref<HTMLDivElement>;
110
+ }
111
+ /** 본문 행(role="row") — DataGridCell을 가로로 담는다. */
112
+ declare function DataGridRow({ className, children, render, selected, disabled, interactive, ref, onClick, onDoubleClick, onKeyDown, tabIndex, role, "aria-disabled": ariaDisabled, ...props }: DataGridRowProps): import("react/jsx-runtime").JSX.Element;
113
+ export interface DataGridCellProps extends HTMLAttributes<HTMLDivElement> {
114
+ /**
115
+ * 가로 정렬
116
+ * @default "start"
117
+ */
118
+ align?: DataGridAlign;
119
+ /**
120
+ * div 대신 그릴 요소(예: `<a href="…" />`) 또는 `(props) => 요소` 함수. 셀 속성·스타일이 그 요소에 합쳐진다.
121
+ */
122
+ render?: useRender.RenderProp;
123
+ ref?: Ref<HTMLDivElement>;
124
+ }
125
+ /** 본문 셀(role="cell") — 넘친 내용은 셀 경계에서 잘린다. 폭은 className으로 준다. */
126
+ declare function DataGridCell({ className, children, align, render, ref, role, ...props }: DataGridCellProps): import("react/jsx-runtime").JSX.Element;
127
+ export interface DataGridHeaderCellProps extends HTMLAttributes<HTMLDivElement> {
128
+ /**
129
+ * 가로 정렬
130
+ * @default "start"
131
+ */
132
+ align?: DataGridAlign;
133
+ /**
134
+ * div 대신 그릴 요소(예: `<a href="…" />`) 또는 `(props) => 요소` 함수. 헤더 셀 속성·스타일이 그 요소에 합쳐진다.
135
+ */
136
+ render?: useRender.RenderProp;
137
+ ref?: Ref<HTMLDivElement>;
138
+ }
139
+ /** 헤더 셀(role="columnheader") — 한 줄 표시, 글자가 잘리면 호버 툴팁으로 전체를 보여 준다. */
140
+ declare function DataGridHeaderCell({ className, children, align, render, ref, role, ...props }: DataGridHeaderCellProps): import("react/jsx-runtime").JSX.Element;
141
+ export interface DataGridEmptyProps extends HTMLAttributes<HTMLDivElement> {
142
+ /** 빈 상태 안내 내용 */
143
+ children?: ReactNode;
144
+ ref?: Ref<HTMLDivElement>;
145
+ }
146
+ /** 행이 없을 때 본문 가운데에 보여 주는 빈 상태 영역. */
147
+ declare function DataGridEmpty({ className, children, ref, ...props }: DataGridEmptyProps): import("react/jsx-runtime").JSX.Element;
148
+ export interface DataGridLoadingProps extends HTMLAttributes<HTMLDivElement> {
149
+ /**
150
+ * 스켈레톤 행 수
151
+ * @default 5
152
+ */
153
+ rowCount?: number;
154
+ ref?: Ref<HTMLDivElement>;
155
+ }
156
+ /** 전체 폭 스켈레톤 행 묶음 — 프리미티브 그리드의 로딩 표시. */
157
+ declare function DataGridLoading({ className, rowCount, ref, ...props }: DataGridLoadingProps): import("react/jsx-runtime").JSX.Element;
158
+ export interface DataGridInfiniteTriggerProps extends HTMLAttributes<HTMLDivElement> {
159
+ /** true일 때만 children(추가 로딩 표시)을 보여 준다. */
160
+ loading?: boolean;
161
+ ref?: Ref<HTMLDivElement>;
162
+ }
163
+ /** 본문 끝의 무한 스크롤 감시 요소 — ref에 IntersectionObserver를 붙인다. */
164
+ declare function DataGridInfiniteTrigger({ className, children, loading, ref, ...props }: DataGridInfiniteTriggerProps): import("react/jsx-runtime").JSX.Element;
165
+ export { DataGridBody, DataGridCell, DataGridEmpty, DataGridHeader, DataGridHeaderCell, DataGridInfiniteTrigger, DataGridLoading, DataGridRoot, DataGridRow, DataGridViewport, };
@@ -0,0 +1,141 @@
1
+ "use client";
2
+ import { cn as e } from "../../utils.js";
3
+ import { Skeleton as t } from "../Skeleton/Skeleton.js";
4
+ import { TruncatedText as n } from "../TruncatedText/TruncatedText.js";
5
+ import { ScrollArea as r } from "../ScrollArea/ScrollArea.js";
6
+ import { Primitive as i } from "../../utils/Primitive.js";
7
+ import { createContext as a, useContext as o } from "react";
8
+ import { jsx as s } from "react/jsx-runtime";
9
+ //#region src/components/DataGrid/DataGridPrimitives.tsx
10
+ var c = {
11
+ start: "aivex:justify-start aivex:text-left",
12
+ center: "aivex:justify-center aivex:text-center",
13
+ end: "aivex:justify-end aivex:text-right"
14
+ }, l = a("basic");
15
+ function u() {
16
+ return o(l);
17
+ }
18
+ function d(e, t, n) {
19
+ return typeof e == "function" ? e(t, n) : e;
20
+ }
21
+ function f({ className: t, children: n, variant: r = "basic", ref: i, ...a }) {
22
+ return /* @__PURE__ */ s(l.Provider, {
23
+ value: r,
24
+ children: /* @__PURE__ */ s("div", {
25
+ ref: i,
26
+ "data-variant": r,
27
+ className: e("aivex:flex aivex:h-full aivex:min-h-0 aivex:w-full aivex:min-w-0 aivex:flex-col aivex:text-body-md-regular aivex:text-text-primary", t),
28
+ ...a,
29
+ children: n
30
+ })
31
+ });
32
+ }
33
+ function p({ className: t, children: n, ref: i, scrollbars: a = "both", type: o = "always", verticalScrollbarClassName: c, ...l }) {
34
+ return /* @__PURE__ */ s(r, {
35
+ ref: i,
36
+ scrollbars: a,
37
+ type: o,
38
+ verticalScrollbarClassName: c,
39
+ className: e("aivex:min-h-0 aivex:w-full aivex:min-w-0 aivex:flex-1", t),
40
+ ...l,
41
+ children: n
42
+ });
43
+ }
44
+ function m({ className: t, children: n, sticky: r = !0, ref: i, ...a }) {
45
+ return /* @__PURE__ */ s("div", {
46
+ ref: i,
47
+ role: "row",
48
+ "data-datagrid-header": "",
49
+ className: e("aivex:flex aivex:shrink-0 aivex:items-center", u() === "compact" ? "aivex:h-8 aivex:bg-bg-primary" : "aivex:h-12 aivex:rounded-md aivex:border aivex:border-border-subtle aivex:bg-bg-secondary", r && "aivex:sticky aivex:top-0 aivex:z-10", t),
50
+ ...a,
51
+ children: n
52
+ });
53
+ }
54
+ function h({ className: t, children: n, ref: r, ...i }) {
55
+ return /* @__PURE__ */ s("div", {
56
+ ref: r,
57
+ role: "rowgroup",
58
+ className: e("aivex:flex aivex:min-h-0 aivex:flex-1 aivex:flex-col", t),
59
+ ...i,
60
+ children: n
61
+ });
62
+ }
63
+ function g({ className: t, children: n, render: r, selected: a, disabled: o, interactive: c, ref: l, onClick: d, onDoubleClick: f, onKeyDown: p, tabIndex: m, role: h = "row", "aria-disabled": g, ..._ }) {
64
+ return /* @__PURE__ */ s(i, {
65
+ defaultTagName: "div",
66
+ render: r,
67
+ ref: l,
68
+ role: h,
69
+ className: e("aivex:flex aivex:w-full aivex:shrink-0 aivex:text-text-primary aivex:transition-colors", u() === "compact" ? "aivex:min-h-9" : "aivex:min-h-12 aivex:border-b aivex:border-border-subtle aivex:last:border-b-0", c && !a && !o && "aivex:hover:bg-bg-secondary", c && !o && "aivex:cursor-pointer aivex:focus-visible:outline-none aivex:focus-visible:ring-2 aivex:focus-visible:ring-border-brand", a && "aivex:bg-bg-brand-subtle aivex:hover:[background-image:linear-gradient(color-mix(in_srgb,var(--aivex-bg-inverse-strong)_4%,transparent),color-mix(in_srgb,var(--aivex-bg-inverse-strong)_4%,transparent))] aivex:active:[background-image:linear-gradient(color-mix(in_srgb,var(--aivex-bg-inverse-strong)_8%,transparent),color-mix(in_srgb,var(--aivex-bg-inverse-strong)_8%,transparent))]", o && "aivex:cursor-not-allowed aivex:opacity-disable", t),
70
+ "aria-disabled": o || g || void 0,
71
+ "data-disabled": o ? "" : void 0,
72
+ "data-selected": a ? "" : void 0,
73
+ tabIndex: o ? -1 : m,
74
+ onClick: o ? void 0 : d,
75
+ onDoubleClick: o ? void 0 : f,
76
+ onKeyDown: o ? void 0 : p,
77
+ ..._,
78
+ children: n
79
+ });
80
+ }
81
+ var _ = "aivex:[overflow:clip] aivex:[overflow-clip-margin:4px]";
82
+ function v(e) {
83
+ let t = (e) => typeof e == "string" || typeof e == "number";
84
+ return (Array.isArray(e) ? e.every(t) : t(e)) ? /* @__PURE__ */ s(n, { children: e }) : e;
85
+ }
86
+ function y({ className: t, children: n, align: r = "start", render: a, ref: o, role: l = "cell", ...d }) {
87
+ return /* @__PURE__ */ s(i, {
88
+ defaultTagName: "div",
89
+ render: a,
90
+ "data-aivex-grid-cell": "",
91
+ ref: o,
92
+ role: l,
93
+ className: e("aivex:flex aivex:self-stretch aivex:items-center aivex:gap-xs aivex:text-body-md-regular aivex:text-text-primary", _, u() === "compact" ? "aivex:min-h-9 aivex:px-md aivex:py-xs" : "aivex:min-h-12 aivex:px-md aivex:py-md aivex:first:pl-xl aivex:last:pr-xl", c[r], t),
94
+ ...d,
95
+ children: n
96
+ });
97
+ }
98
+ function b({ className: t, children: n, align: r = "start", render: a, ref: o, role: l = "columnheader", ...d }) {
99
+ return /* @__PURE__ */ s(i, {
100
+ defaultTagName: "div",
101
+ render: a,
102
+ "data-aivex-grid-cell": "",
103
+ ref: o,
104
+ role: l,
105
+ className: e("aivex:flex aivex:items-center aivex:gap-xs aivex:whitespace-nowrap", _, u() === "compact" ? "aivex:h-full aivex:px-md aivex:py-xs" : "aivex:px-md aivex:first:pl-xl aivex:last:pr-xl", "aivex:text-body-sm-medium aivex:text-text-secondary", c[r], t),
106
+ ...d,
107
+ children: v(n)
108
+ });
109
+ }
110
+ function x({ className: t, children: n, ref: r, ...i }) {
111
+ return /* @__PURE__ */ s("div", {
112
+ ref: r,
113
+ className: e("aivex:flex aivex:min-h-32 aivex:w-full aivex:flex-1 aivex:items-center aivex:justify-center aivex:p-xl aivex:text-body-md-regular aivex:text-text-tertiary", t),
114
+ ...i,
115
+ children: n
116
+ });
117
+ }
118
+ function S({ className: n, rowCount: r = 5, ref: i, ...a }) {
119
+ return /* @__PURE__ */ s("div", {
120
+ ref: i,
121
+ className: e("aivex:flex aivex:flex-col", n),
122
+ ...a,
123
+ children: Array.from({ length: r }).map((e, n) => /* @__PURE__ */ s(g, { children: /* @__PURE__ */ s(y, {
124
+ className: "aivex:w-full",
125
+ children: /* @__PURE__ */ s(t, { className: "aivex:h-5 aivex:w-full" })
126
+ }) }, n))
127
+ });
128
+ }
129
+ function C({ className: t, children: n, loading: r, ref: i, ...a }) {
130
+ return /* @__PURE__ */ s("div", {
131
+ ref: i,
132
+ role: "presentation",
133
+ className: e("aivex:flex aivex:w-full aivex:items-center aivex:justify-center aivex:text-text-tertiary", r ? "aivex:min-h-16" : "aivex:min-h-px", t),
134
+ ...a,
135
+ children: r ? n : null
136
+ });
137
+ }
138
+ //#endregion
139
+ export { h as DataGridBody, y as DataGridCell, x as DataGridEmpty, m as DataGridHeader, b as DataGridHeaderCell, C as DataGridInfiniteTrigger, S as DataGridLoading, f as DataGridRoot, g as DataGridRow, p as DataGridViewport, d as resolveDataGridValue };
140
+
141
+ //# sourceMappingURL=DataGridPrimitives.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataGridPrimitives.js","names":[],"sources":["../../../src/components/DataGrid/DataGridPrimitives.tsx"],"sourcesContent":["import type { useRender } from \"@base-ui/react/use-render\";\nimport type { RowData } from \"@tanstack/react-table\";\nimport { createContext, type HTMLAttributes, type ReactNode, type Ref, useContext } from \"react\";\nimport { ScrollArea, type ScrollAreaProps } from \"@/components/ScrollArea\";\nimport { Skeleton } from \"@/components/Skeleton\";\nimport { TruncatedText } from \"@/components/TruncatedText\";\nimport { cn } from \"@/utils/cn\";\nimport { Primitive } from \"@/utils/Primitive\";\n\n/** 셀 가로 정렬 — start(왼쪽)·center·end(오른쪽, 숫자 컬럼). */\nexport type DataGridAlign = \"start\" | \"center\" | \"end\";\n/**\n * 그리드 밀도 (Figma Table Variants : Type).\n * - basic: 헤더 48px(배경·테두리 박스) + 행 48px + 행 구분선\n * - compact: 헤더 32px(박스 없음) + 행 36px, 구분선·바깥 인셋 없음 — 대시보드 카드 등 좁은 영역용\n */\nexport type DataGridVariant = \"basic\" | \"compact\";\n/** 고정 값 또는 행별로 값을 계산하는 (row, index) => 값 함수. */\nexport type DataGridValue<TData, TValue> = TValue | ((row: TData, index: number) => TValue);\n\nconst alignClass: Record<DataGridAlign, string> = {\n start: \"aivex:justify-start aivex:text-left\",\n center: \"aivex:justify-center aivex:text-center\",\n end: \"aivex:justify-end aivex:text-right\",\n};\n\ndeclare module \"@tanstack/react-table\" {\n interface ColumnMeta<TData extends RowData, TValue> {\n /** 헤더·셀 공통 가로 정렬. headerAlign·cellAlign이 있으면 그쪽이 우선한다. */\n align?: DataGridAlign;\n /** 헤더 셀 가로 정렬 */\n headerAlign?: DataGridAlign;\n /** 본문 셀 가로 정렬 */\n cellAlign?: DataGridAlign;\n /** 헤더·셀·스켈레톤 셀 공통 클래스 — 컬럼 폭(예: \"w-[160px]\", \"min-w-[280px] flex-1\")을 여기서 정한다. */\n className?: string;\n /** 헤더 셀에만 덧붙일 클래스 */\n headerClassName?: string;\n /** 본문 셀에만 덧붙일 클래스 — 문자열 또는 (row, index) => 문자열 */\n cellClassName?: DataGridValue<TData, string | undefined>;\n /** false면 정렬 가능한 컬럼이어도 헤더에 정렬 버튼을 그리지 않는다(헤더를 직접 그릴 때). */\n headerSortTrigger?: boolean;\n /** 컬럼 설정 목록에 표시할 라벨 (header 가 문자열이 아닌 컬럼용) */\n settingsLabel?: string;\n /**\n * 로딩 스켈레톤 행에서 이 컬럼 셀에 렌더할 콘텐츠.\n * 미지정 시 기본 스켈레톤 바, null이면 비워둠.\n */\n skeleton?: ReactNode;\n }\n}\n\nconst DataGridVariantContext = createContext<DataGridVariant>(\"basic\");\n\nfunction useDataGridVariant() {\n return useContext(DataGridVariantContext);\n}\n\nexport function resolveDataGridValue<TData, TValue>(\n value: DataGridValue<TData, TValue> | undefined,\n row: TData,\n index: number,\n) {\n if (typeof value === \"function\") {\n return (value as (row: TData, index: number) => TValue)(row, index);\n }\n\n return value;\n}\n\nexport interface DataGridRootProps extends HTMLAttributes<HTMLDivElement> {\n /** 하위 헤더·행·셀에 전달되는 밀도. 기본 basic */\n variant?: DataGridVariant;\n ref?: Ref<HTMLDivElement>;\n}\n\n/**\n * 프리미티브 그리드의 루트 — 밀도(variant)를 하위에 전달하고 부모 높이를 채운다.\n *\n * 일반 데이터 목록은 DataGrid를 쓰고, 프리미티브는 DataGrid로 표현할 수 없는 예외 레이아웃에만 조립한다.\n * 프리미티브는 React Table 상태·키보드 이동·정렬 UI를 제공하지 않는다.\n *\n * @example\n * ```tsx\n * import {\n * DataGridBody, DataGridCell, DataGridHeader, DataGridHeaderCell,\n * DataGridRoot, DataGridRow, DataGridViewport,\n * } from \"@aivex/ui\";\n *\n * <DataGridRoot className=\"h-[240px]\">\n * <DataGridViewport>\n * <div role=\"table\" className=\"flex min-w-full flex-col\">\n * <DataGridHeader>\n * <DataGridHeaderCell className=\"flex-1\">Name</DataGridHeaderCell>\n * </DataGridHeader>\n * <DataGridBody>\n * <DataGridRow>\n * <DataGridCell className=\"flex-1\">Inspection image 001.png</DataGridCell>\n * </DataGridRow>\n * </DataGridBody>\n * </div>\n * </DataGridViewport>\n * </DataGridRoot>\n * ```\n */\nfunction DataGridRoot({\n className,\n children,\n variant = \"basic\",\n ref,\n ...props\n}: DataGridRootProps) {\n return (\n <DataGridVariantContext.Provider value={variant}>\n <div\n ref={ref}\n data-variant={variant}\n className={cn(\n \"aivex:flex aivex:h-full aivex:min-h-0 aivex:w-full aivex:min-w-0 aivex:flex-col aivex:text-body-md-regular aivex:text-text-primary\",\n className,\n )}\n {...props}\n >\n {children}\n </div>\n </DataGridVariantContext.Provider>\n );\n}\n\nexport interface DataGridViewportProps extends ScrollAreaProps {\n /** 세로 스크롤바에 덧붙일 클래스 — 고정 헤더 아래에서 시작시킬 때 */\n verticalScrollbarClassName?: string;\n ref?: Ref<HTMLDivElement>;\n}\n\n/** 가로·세로 스크롤 영역(ScrollArea). DataGridRoot 안에서 헤더·본문을 감싼다. */\nfunction DataGridViewport({\n className,\n children,\n ref,\n scrollbars = \"both\",\n type = \"always\",\n verticalScrollbarClassName,\n ...props\n}: DataGridViewportProps) {\n return (\n <ScrollArea\n ref={ref}\n scrollbars={scrollbars}\n type={type}\n verticalScrollbarClassName={verticalScrollbarClassName}\n className={cn(\"aivex:min-h-0 aivex:w-full aivex:min-w-0 aivex:flex-1\", className)}\n {...props}\n >\n {children}\n </ScrollArea>\n );\n}\n\nexport interface DataGridHeaderProps extends HTMLAttributes<HTMLDivElement> {\n /**\n * 스크롤 시 상단 고정\n * @default true\n */\n sticky?: boolean;\n ref?: Ref<HTMLDivElement>;\n}\n\n/** 헤더 행(role=\"row\") — DataGridHeaderCell을 담는다. */\nfunction DataGridHeader({\n className,\n children,\n sticky = true,\n ref,\n ...props\n}: DataGridHeaderProps) {\n const variant = useDataGridVariant();\n\n return (\n // biome-ignore lint/a11y/useFocusableInteractive: 헤더 행은 구조 표현용 role=\"row\"로 포커스 대상이 아니다\n // biome-ignore lint/a11y/useSemanticElements: 플렉스 폭·가상화를 위해 div 기반으로 구성 — 시맨틱 table 요소 대신 ARIA role 사용\n <div\n ref={ref}\n role=\"row\"\n // DataGridColumnSettings가 호버 감지·위치 계산에 사용하는 마커\n data-datagrid-header=\"\"\n className={cn(\n // 가로 패딩은 헤더 셀에서 처리 (여백 중복 방지)\n \"aivex:flex aivex:shrink-0 aivex:items-center\",\n variant === \"compact\"\n ? \"aivex:h-8 aivex:bg-bg-primary\"\n : \"aivex:h-12 aivex:rounded-md aivex:border aivex:border-border-subtle aivex:bg-bg-secondary\",\n sticky && \"aivex:sticky aivex:top-0 aivex:z-10\",\n className,\n )}\n {...props}\n >\n {children}\n </div>\n );\n}\n\nexport interface DataGridBodyProps extends HTMLAttributes<HTMLDivElement> {\n ref?: Ref<HTMLDivElement>;\n}\n\n/** 본문 행 묶음(role=\"rowgroup\") — DataGridRow를 담는다. */\nfunction DataGridBody({ className, children, ref, ...props }: DataGridBodyProps) {\n return (\n // biome-ignore lint/a11y/useSemanticElements: 플렉스 폭·가상화를 위해 div 기반으로 구성 — 시맨틱 요소 대신 ARIA role 사용\n <div\n ref={ref}\n role=\"rowgroup\"\n className={cn(\"aivex:flex aivex:min-h-0 aivex:flex-1 aivex:flex-col\", className)}\n {...props}\n >\n {children}\n </div>\n );\n}\n\nexport interface DataGridRowProps extends HTMLAttributes<HTMLDivElement> {\n /**\n * div 대신 그릴 요소(예: `<a href=\"…\" />`) 또는 `(props) => 요소` 함수. 행 속성·스타일이 그 요소에 합쳐진다.\n */\n render?: useRender.RenderProp;\n /** 선택(강조) 배경 */\n selected?: boolean;\n /** 비활성 — 흐리게 표시하고 클릭·키 입력을 막는다. */\n disabled?: boolean;\n /** 호버 배경·포인터 커서·포커스 링 표시(클릭 가능한 행) */\n interactive?: boolean;\n ref?: Ref<HTMLDivElement>;\n}\n\n/** 본문 행(role=\"row\") — DataGridCell을 가로로 담는다. */\nfunction DataGridRow({\n className,\n children,\n render,\n selected,\n disabled,\n interactive,\n ref,\n onClick,\n onDoubleClick,\n onKeyDown,\n tabIndex,\n role = \"row\",\n \"aria-disabled\": ariaDisabled,\n ...props\n}: DataGridRowProps) {\n const variant = useDataGridVariant();\n\n return (\n <Primitive\n defaultTagName=\"div\"\n render={render}\n ref={ref}\n role={role}\n className={cn(\n \"aivex:flex aivex:w-full aivex:shrink-0 aivex:text-text-primary aivex:transition-colors\",\n // 행 구분선 (border-subtle) — 셀이 아닌 행에 적용. compact는 구분선 없음\n variant === \"compact\"\n ? \"aivex:min-h-9\"\n : \"aivex:min-h-12 aivex:border-b aivex:border-border-subtle aivex:last:border-b-0\",\n // hover 배경은 클릭 가능한 행에만 — 선택 행은 아래 선택 스타일의 hover를 쓴다\n interactive && !selected && !disabled && \"aivex:hover:bg-bg-secondary\",\n interactive &&\n !disabled &&\n \"aivex:cursor-pointer aivex:focus-visible:outline-none aivex:focus-visible:ring-2 aivex:focus-visible:ring-border-brand\",\n // 선택 상태 hover/pressed는 Interaction 레이어 스펙(inverse-strong 4%/8%)을 오버레이로 적용\n selected &&\n \"aivex:bg-bg-brand-subtle aivex:hover:[background-image:linear-gradient(color-mix(in_srgb,var(--aivex-bg-inverse-strong)_4%,transparent),color-mix(in_srgb,var(--aivex-bg-inverse-strong)_4%,transparent))] aivex:active:[background-image:linear-gradient(color-mix(in_srgb,var(--aivex-bg-inverse-strong)_8%,transparent),color-mix(in_srgb,var(--aivex-bg-inverse-strong)_8%,transparent))]\",\n disabled && \"aivex:cursor-not-allowed aivex:opacity-disable\",\n className,\n )}\n aria-disabled={disabled || ariaDisabled || undefined}\n data-disabled={disabled ? \"\" : undefined}\n data-selected={selected ? \"\" : undefined}\n tabIndex={disabled ? -1 : tabIndex}\n onClick={disabled ? undefined : onClick}\n onDoubleClick={disabled ? undefined : onDoubleClick}\n onKeyDown={disabled ? undefined : onKeyDown}\n {...props}\n >\n {children}\n </Primitive>\n );\n}\n\n/**\n * 셀 내용은 셀 밖으로 넘치지 않는다 — 넘친 부분은 셀 경계에서 잘린다(셀\n * className의 overflow: clip). 좁은 컬럼이나 번역으로 길어진 문구가 옆 셀에\n * 겹쳐 보이는 것을 막는다. 자르는 경계는 4px 바깥(overflow-clip-margin —\n * 두 축이 모두 clip이어야 적용된다)이라 체크박스 호버 원·포커스 링처럼 살짝\n * 걸치는 장식은 옆 셀 안쪽 여백(8px)까지 남는다.\n */\nconst CELL_CLIP = \"aivex:[overflow:clip] aivex:[overflow-clip-margin:4px]\";\n\n/**\n * 헤더는 한 줄(nowrap)이라 글자만 있는 헤더는 말줄임(…)으로 끝내고, 잘렸을\n * 때는 호버하면 전체 문구를 툴팁으로 보여 준다. 보간된\n * 텍스트(`{label} (mm)` 같은 문자열·숫자 배열)도 글자로 본다. 본문 셀은 기존처럼\n * 줄바꿈되므로 감싸지 않는다.\n */\nfunction truncatableHeader(children: ReactNode) {\n const isText = (node: ReactNode) => typeof node === \"string\" || typeof node === \"number\";\n if (!(Array.isArray(children) ? children.every(isText) : isText(children))) {\n return children;\n }\n return <TruncatedText>{children}</TruncatedText>;\n}\n\nexport interface DataGridCellProps extends HTMLAttributes<HTMLDivElement> {\n /**\n * 가로 정렬\n * @default \"start\"\n */\n align?: DataGridAlign;\n /**\n * div 대신 그릴 요소(예: `<a href=\"…\" />`) 또는 `(props) => 요소` 함수. 셀 속성·스타일이 그 요소에 합쳐진다.\n */\n render?: useRender.RenderProp;\n ref?: Ref<HTMLDivElement>;\n}\n\n/** 본문 셀(role=\"cell\") — 넘친 내용은 셀 경계에서 잘린다. 폭은 className으로 준다. */\nfunction DataGridCell({\n className,\n children,\n align = \"start\",\n render,\n ref,\n role = \"cell\",\n ...props\n}: DataGridCellProps) {\n const variant = useDataGridVariant();\n\n return (\n <Primitive\n defaultTagName=\"div\"\n render={render}\n data-aivex-grid-cell=\"\"\n ref={ref}\n role={role}\n className={cn(\n // 행 구분선은 DataGridRow에서 처리\n \"aivex:flex aivex:self-stretch aivex:items-center aivex:gap-xs aivex:text-body-md-regular aivex:text-text-primary\",\n CELL_CLIP,\n // basic: 첫/마지막 셀에 추가 가로 패딩 → 헤더 박스 안쪽 여백과 컬럼 정렬 일치\n // compact: 가로 8px, 바깥 인셋 없음. 세로 4px — 22px 줄높이 + 8px×2면 36px을 넘는다\n variant === \"compact\"\n ? \"aivex:min-h-9 aivex:px-md aivex:py-xs\"\n : \"aivex:min-h-12 aivex:px-md aivex:py-md aivex:first:pl-xl aivex:last:pr-xl\",\n alignClass[align],\n className,\n )}\n {...props}\n >\n {children}\n </Primitive>\n );\n}\n\nexport interface DataGridHeaderCellProps extends HTMLAttributes<HTMLDivElement> {\n /**\n * 가로 정렬\n * @default \"start\"\n */\n align?: DataGridAlign;\n /**\n * div 대신 그릴 요소(예: `<a href=\"…\" />`) 또는 `(props) => 요소` 함수. 헤더 셀 속성·스타일이 그 요소에 합쳐진다.\n */\n render?: useRender.RenderProp;\n ref?: Ref<HTMLDivElement>;\n}\n\n/** 헤더 셀(role=\"columnheader\") — 한 줄 표시, 글자가 잘리면 호버 툴팁으로 전체를 보여 준다. */\nfunction DataGridHeaderCell({\n className,\n children,\n align = \"start\",\n render,\n ref,\n role = \"columnheader\",\n ...props\n}: DataGridHeaderCellProps) {\n const variant = useDataGridVariant();\n\n // 가로 패딩은 DataGridCell과 동일하게 맞춰 컬럼 정렬 유지\n return (\n <Primitive\n defaultTagName=\"div\"\n render={render}\n data-aivex-grid-cell=\"\"\n ref={ref}\n role={role}\n className={cn(\n \"aivex:flex aivex:items-center aivex:gap-xs aivex:whitespace-nowrap\",\n CELL_CLIP,\n variant === \"compact\"\n ? \"aivex:h-full aivex:px-md aivex:py-xs\"\n : \"aivex:px-md aivex:first:pl-xl aivex:last:pr-xl\",\n \"aivex:text-body-sm-medium aivex:text-text-secondary\",\n alignClass[align],\n className,\n )}\n {...props}\n >\n {truncatableHeader(children)}\n </Primitive>\n );\n}\n\nexport interface DataGridEmptyProps extends HTMLAttributes<HTMLDivElement> {\n /** 빈 상태 안내 내용 */\n children?: ReactNode;\n ref?: Ref<HTMLDivElement>;\n}\n\n/** 행이 없을 때 본문 가운데에 보여 주는 빈 상태 영역. */\nfunction DataGridEmpty({ className, children, ref, ...props }: DataGridEmptyProps) {\n return (\n <div\n ref={ref}\n className={cn(\n \"aivex:flex aivex:min-h-32 aivex:w-full aivex:flex-1 aivex:items-center aivex:justify-center aivex:p-xl aivex:text-body-md-regular aivex:text-text-tertiary\",\n className,\n )}\n {...props}\n >\n {children}\n </div>\n );\n}\n\nexport interface DataGridLoadingProps extends HTMLAttributes<HTMLDivElement> {\n /**\n * 스켈레톤 행 수\n * @default 5\n */\n rowCount?: number;\n ref?: Ref<HTMLDivElement>;\n}\n\n/** 전체 폭 스켈레톤 행 묶음 — 프리미티브 그리드의 로딩 표시. */\nfunction DataGridLoading({ className, rowCount = 5, ref, ...props }: DataGridLoadingProps) {\n return (\n <div ref={ref} className={cn(\"aivex:flex aivex:flex-col\", className)} {...props}>\n {Array.from({ length: rowCount }).map((_, index) => (\n <DataGridRow key={index}>\n <DataGridCell className=\"aivex:w-full\">\n <Skeleton className=\"aivex:h-5 aivex:w-full\" />\n </DataGridCell>\n </DataGridRow>\n ))}\n </div>\n );\n}\n\nexport interface DataGridInfiniteTriggerProps extends HTMLAttributes<HTMLDivElement> {\n /** true일 때만 children(추가 로딩 표시)을 보여 준다. */\n loading?: boolean;\n ref?: Ref<HTMLDivElement>;\n}\n\n/** 본문 끝의 무한 스크롤 감시 요소 — ref에 IntersectionObserver를 붙인다. */\nfunction DataGridInfiniteTrigger({\n className,\n children,\n loading,\n ref,\n ...props\n}: DataGridInfiniteTriggerProps) {\n return (\n <div\n ref={ref}\n // rowgroup 안의 비-행 요소 — a11y 트리에서 행으로 오인되지 않도록 표현용으로 표시\n role=\"presentation\"\n className={cn(\n \"aivex:flex aivex:w-full aivex:items-center aivex:justify-center aivex:text-text-tertiary\",\n loading ? \"aivex:min-h-16\" : \"aivex:min-h-px\",\n className,\n )}\n {...props}\n >\n {loading ? children : null}\n </div>\n );\n}\n\nexport {\n DataGridBody,\n DataGridCell,\n DataGridEmpty,\n DataGridHeader,\n DataGridHeaderCell,\n DataGridInfiniteTrigger,\n DataGridLoading,\n DataGridRoot,\n DataGridRow,\n DataGridViewport,\n};\n"],"mappings":";;;;;;;;;AAoBA,IAAM,IAA4C;CAChD,OAAO;CACP,QAAQ;CACR,KAAK;CACN,EA4BK,IAAyB,EAA+B,QAAQ;AAEtE,SAAS,IAAqB;AAC5B,QAAO,EAAW,EAAuB;;AAG3C,SAAgB,EACd,GACA,GACA,GACA;AAKA,QAJI,OAAO,KAAU,aACX,EAAgD,GAAK,EAAM,GAG9D;;AAsCT,SAAS,EAAa,EACpB,cACA,aACA,aAAU,SACV,QACA,GAAG,KACiB;AACpB,QACE,kBAAC,EAAuB,UAAxB;EAAiC,OAAO;YACtC,kBAAC,OAAD;GACO;GACL,gBAAc;GACd,WAAW,EACT,sIACA,EACD;GACD,GAAI;GAEH;GACG,CAAA;EAC0B,CAAA;;AAWtC,SAAS,EAAiB,EACxB,cACA,aACA,QACA,gBAAa,QACb,UAAO,UACP,+BACA,GAAG,KACqB;AACxB,QACE,kBAAC,GAAD;EACO;EACO;EACN;EACsB;EAC5B,WAAW,EAAG,yDAAyD,EAAU;EACjF,GAAI;EAEH;EACU,CAAA;;AAcjB,SAAS,EAAe,EACtB,cACA,aACA,YAAS,IACT,QACA,GAAG,KACmB;AAGtB,QAGE,kBAAC,OAAD;EACO;EACL,MAAK;EAEL,wBAAqB;EACrB,WAAW,EAET,gDAZU,GAAoB,KAalB,YACR,kCACA,6FACJ,KAAU,uCACV,EACD;EACD,GAAI;EAEH;EACG,CAAA;;AASV,SAAS,EAAa,EAAE,cAAW,aAAU,QAAK,GAAG,KAA4B;AAC/E,QAEE,kBAAC,OAAD;EACO;EACL,MAAK;EACL,WAAW,EAAG,wDAAwD,EAAU;EAChF,GAAI;EAEH;EACG,CAAA;;AAmBV,SAAS,EAAY,EACnB,cACA,aACA,WACA,aACA,aACA,gBACA,QACA,YACA,kBACA,cACA,aACA,UAAO,OACP,iBAAiB,GACjB,GAAG,KACgB;AAGnB,QACE,kBAAC,GAAD;EACE,gBAAe;EACP;EACH;EACC;EACN,WAAW,EACT,0FATU,GAAoB,KAWlB,YACR,kBACA,kFAEJ,KAAe,CAAC,KAAY,CAAC,KAAY,+BACzC,KACE,CAAC,KACD,0HAEF,KACE,iYACF,KAAY,kDACZ,EACD;EACD,iBAAe,KAAY,KAAgB,KAAA;EAC3C,iBAAe,IAAW,KAAK,KAAA;EAC/B,iBAAe,IAAW,KAAK,KAAA;EAC/B,UAAU,IAAW,KAAK;EAC1B,SAAS,IAAW,KAAA,IAAY;EAChC,eAAe,IAAW,KAAA,IAAY;EACtC,WAAW,IAAW,KAAA,IAAY;EAClC,GAAI;EAEH;EACS,CAAA;;AAWhB,IAAM,IAAY;AAQlB,SAAS,EAAkB,GAAqB;CAC9C,IAAM,KAAU,MAAoB,OAAO,KAAS,YAAY,OAAO,KAAS;AAIhF,SAHM,MAAM,QAAQ,EAAS,GAAG,EAAS,MAAM,EAAO,GAAG,EAAO,EAAS,IAGlE,kBAAC,GAAD,EAAgB,aAAyB,CAAA,GAFvC;;AAmBX,SAAS,EAAa,EACpB,cACA,aACA,WAAQ,SACR,WACA,QACA,UAAO,QACP,GAAG,KACiB;AAGpB,QACE,kBAAC,GAAD;EACE,gBAAe;EACP;EACR,wBAAqB;EAChB;EACC;EACN,WAAW,EAET,oHACA,GAZU,GAAoB,KAelB,YACR,0CACA,6EACJ,EAAW,IACX,EACD;EACD,GAAI;EAEH;EACS,CAAA;;AAkBhB,SAAS,EAAmB,EAC1B,cACA,aACA,WAAQ,SACR,WACA,QACA,UAAO,gBACP,GAAG,KACuB;AAI1B,QACE,kBAAC,GAAD;EACE,gBAAe;EACP;EACR,wBAAqB;EAChB;EACC;EACN,WAAW,EACT,sEACA,GAZU,GAAoB,KAalB,YACR,yCACA,kDACJ,uDACA,EAAW,IACX,EACD;EACD,GAAI;YAEH,EAAkB,EAAS;EAClB,CAAA;;AAWhB,SAAS,EAAc,EAAE,cAAW,aAAU,QAAK,GAAG,KAA6B;AACjF,QACE,kBAAC,OAAD;EACO;EACL,WAAW,EACT,8JACA,EACD;EACD,GAAI;EAEH;EACG,CAAA;;AAcV,SAAS,EAAgB,EAAE,cAAW,cAAW,GAAG,QAAK,GAAG,KAA+B;AACzF,QACE,kBAAC,OAAD;EAAU;EAAK,WAAW,EAAG,6BAA6B,EAAU;EAAE,GAAI;YACvE,MAAM,KAAK,EAAE,QAAQ,GAAU,CAAC,CAAC,KAAK,GAAG,MACxC,kBAAC,GAAD,EAAA,UACE,kBAAC,GAAD;GAAc,WAAU;aACtB,kBAAC,GAAD,EAAU,WAAU,0BAA2B,CAAA;GAClC,CAAA,EACH,EAJI,EAIJ,CACd;EACE,CAAA;;AAWV,SAAS,EAAwB,EAC/B,cACA,aACA,YACA,QACA,GAAG,KAC4B;AAC/B,QACE,kBAAC,OAAD;EACO;EAEL,MAAK;EACL,WAAW,EACT,4FACA,IAAU,mBAAmB,kBAC7B,EACD;EACD,GAAI;YAEH,IAAU,IAAW;EAClB,CAAA"}
@@ -0,0 +1,2 @@
1
+ "use client";require(`../../_virtual/_rolldown/runtime.cjs`);const e=require(`../../utils.cjs`),t=require(`./DataGridPrimitives.cjs`);let n=require(`react`),r=require(`react/jsx-runtime`),i=require(`@tanstack/react-table`),a=require(`@tanstack/react-virtual`);function o({row:a,virtualIndex:o,virtualStart:s,measureRef:c,interactive:l,selected:u,disabled:d,className:f,onRowClick:p,expandedContent:m,expandable:h,focusable:g,rowSelected:_,rowExpanded:v,cellRole:y,tabStop:b,onNavigate:x,onFocusRow:S}){let{original:C,id:w}=a,T=a.index,E=(0,n.useId)(),D=!!v,O=!!p&&!d,k=s!==void 0,A=(0,r.jsx)(t.DataGridRow,{ref:k?void 0:c,"data-datagrid-row-id":w,"data-row-selected":_?``:void 0,"data-row-expanded":v?``:void 0,interactive:l,selected:u,disabled:d,className:f,"aria-expanded":h?D:void 0,"aria-controls":m==null?void 0:E,tabIndex:g?b===!1?-1:0:void 0,onClick:p?e=>p(C,T,e):void 0,onKeyDown:g?e=>{if(e.target===e.currentTarget){if(x&&(e.key===`ArrowDown`||e.key===`ArrowUp`)){e.preventDefault(),x(w,e.key===`ArrowDown`?1:-1);return}if(h&&(e.key===`ArrowRight`||e.key===`ArrowLeft`)){let t=e.key===`ArrowRight`;if(t===D)return;e.preventDefault(),a.toggleExpanded(t);return}O&&(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),e.currentTarget.click())}}:void 0,onFocus:g&&S?()=>S(w):void 0,children:a.getVisibleCells().map(n=>{let{meta:a}=n.column.columnDef;return(0,r.jsx)(t.DataGridCell,{role:y,align:a?.cellAlign??a?.align,className:e.cn(a?.className,t.resolveDataGridValue(a?.cellClassName,C,T)),children:(0,i.flexRender)(n.column.columnDef.cell,n.getContext())},n.id)})}),j=m!=null&&(0,r.jsx)(`div`,{role:`row`,className:`aivex:w-full`,children:(0,r.jsx)(`div`,{role:y??`cell`,id:E,className:`aivex:w-full`,children:m})});return k?(0,r.jsxs)(`div`,{ref:c,"data-index":o,role:`presentation`,className:`aivex:flex aivex:w-full aivex:flex-col`,style:{position:`absolute`,top:0,left:0,width:`100%`,transform:`translateY(${s}px)`},children:[A,j]}):(0,r.jsxs)(r.Fragment,{children:[A,j]})}var s=(0,n.memo)(o);function c({rows:e,viewportRef:t,estimateRowHeight:i,overscan:o,activeRowId:s,focusableRowIds:c,pendingFocusRowId:l,focusRowElement:u,onFocusSettled:d,scrollToRowRef:f,renderRow:p}){let[m,h]=(0,n.useState)(null);(0,n.useEffect)(()=>{h(t.current)},[t]);let g=(0,a.useVirtualizer)({count:e.length,getScrollElement:()=>m,estimateSize:()=>i??48,overscan:o??6});f.current=e=>g.scrollToIndex(e,{align:`auto`}),(0,n.useEffect)(()=>()=>{f.current=null},[f]);let _=g.getVirtualItems(),v=_.map(t=>e[t.index]?.id),y=s!=null&&v.includes(s)?s:v.find(e=>e!=null&&c.has(e)),b=l!=null&&v.includes(l);return(0,n.useEffect)(()=>{!b||l==null||u(l)&&d()},[u,d,b,l]),(0,r.jsx)(`div`,{className:`aivex:relative aivex:w-full aivex:shrink-0`,style:{height:g.getTotalSize()},children:_.map(t=>{let n=e[t.index];return p(n,t,g.measureElement,n?.id===y)})})}exports.DataGridDataRow=s,exports.DataGridVirtualizedRows=c;
2
+ //# sourceMappingURL=DataGridRows.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataGridRows.cjs","names":[],"sources":["../../../src/components/DataGrid/DataGridRows.tsx"],"sourcesContent":["import { flexRender, type Row } from \"@tanstack/react-table\";\nimport { useVirtualizer, type VirtualItem } from \"@tanstack/react-virtual\";\nimport type { KeyboardEvent, MouseEvent, ReactNode, Ref, RefObject } from \"react\";\nimport { memo, useEffect, useId, useState } from \"react\";\nimport { cn } from \"@/utils/cn\";\nimport { DataGridCell, DataGridRow, resolveDataGridValue } from \"./DataGridPrimitives\";\n\nexport interface DataGridDataRowProps<TData> {\n row: Row<TData>;\n virtualIndex?: number;\n virtualStart?: number;\n measureRef?: Ref<HTMLDivElement>;\n interactive?: boolean;\n selected?: boolean;\n disabled?: boolean;\n className?: string;\n onRowClick?: (row: TData, index: number, event: MouseEvent<HTMLDivElement>) => void;\n /** row.getIsExpanded() 시 행 아래에 렌더할 커스텀 상세 패널 */\n expandedContent?: ReactNode;\n /** 펼칠 수 있는 행인지 — aria-expanded 노출 여부를 정한다 */\n expandable?: boolean;\n /** 비활성/펼침 가능 여부를 반영해 부모에서 계산한 포커스 가능 상태 */\n focusable?: boolean;\n /**\n * 이 행의 React Table 상태(선택/펼침). 셀은 row.getIsSelected() 같은 메서드로\n * 상태를 직접 읽는데, 그 값이 바뀌어도 row 객체 자체는 그대로라 memo가 렌더를\n * 건너뛴다 — 상태를 프롭으로 올려야 체크박스 같은 셀이 다시 그려진다.\n */\n rowSelected?: boolean;\n rowExpanded?: boolean;\n /**\n * 셀 렌더러가 담긴 컬럼 정의 — 렌더에는 쓰지 않고 memo 비교에만 쓴다.\n * 셀이 외부 상태를 클로저로 읽는 경우(검토 상태 등) 소비자는 컬럼을 그 상태\n * 의존 useMemo로 만든다. 그 identity 변화가 \"셀 출력이 바뀔 수 있다\"는\n * 신호인데, row 객체는 그대로라 이 프롭 없이는 memo가 렌더를 건너뛴다.\n */\n columns?: unknown;\n /**\n * 보이는 컬럼 id를 순서대로 이은 키 — 렌더에는 쓰지 않고 memo 비교에만 쓴다.\n * 컬럼 표시/숨김·순서가 바뀌면 row.getVisibleCells() 결과가 달라지지만 row\n * 객체는 그대로라, 이 프롭 없이는 헤더만 바뀌고 본문 셀은 이전 그대로 남는다.\n */\n visibleColumnKey?: string;\n /** 셀의 ARIA 롤 — 펼침을 쓰는 그리드(treegrid)에서는 gridcell이어야 한다 */\n cellRole?: \"cell\" | \"gridcell\";\n /** 로빙 tabindex의 탭 스톱 여부 — 그리드 전체에서 한 행만 true (미지정 시 탭 스톱) */\n tabStop?: boolean;\n /** 위/아래 화살표로 행 사이 포커스를 옮길 때 호출 */\n onNavigate?: (rowId: string, delta: -1 | 1) => void;\n /** 행(또는 그 안의 요소)이 포커스를 받아 탭 스톱을 옮겨야 할 때 호출 */\n onFocusRow?: (rowId: string) => void;\n}\n\nfunction DataGridDataRowBase<TData>({\n row,\n virtualIndex,\n virtualStart,\n measureRef,\n interactive,\n selected,\n disabled,\n className,\n onRowClick,\n expandedContent,\n expandable,\n focusable,\n rowSelected,\n rowExpanded,\n cellRole,\n tabStop,\n onNavigate,\n onFocusRow,\n}: DataGridDataRowProps<TData>) {\n const { original, id: rowId } = row;\n const index = row.index;\n const panelId = useId();\n const expanded = Boolean(rowExpanded);\n // 클릭 콜백이 있으면 Enter/Space로 행을 활성화할 수 있다\n const activatable = Boolean(onRowClick) && !disabled;\n // 가상화 중에만 행+패널을 감싸는 래퍼를 둔다 — 이 래퍼가 절대배치·측정의 기준이 된다.\n // 펼침 여부로 래퍼를 넣고 빼면 행 엘리먼트가 리마운트되어 포커스가 날아가므로,\n // 비가상 경로에서는 패널을 행의 형제로 붙인다.\n const wrapped = virtualStart !== undefined;\n\n const handleKeyDown = (event: KeyboardEvent<HTMLDivElement>) => {\n // 셀 안의 입력·버튼에서 올라온 키는 가로채지 않는다 — 텍스트 입력의 스페이스,\n // 체크박스의 스페이스, 셀렉트의 화살표가 그대로 살아 있어야 한다\n if (event.target !== event.currentTarget) return;\n\n if (onNavigate && (event.key === \"ArrowDown\" || event.key === \"ArrowUp\")) {\n event.preventDefault();\n onNavigate(rowId, event.key === \"ArrowDown\" ? 1 : -1);\n return;\n }\n // treegrid 관례 — 오른쪽 화살표로 펼치고 왼쪽 화살표로 접는다\n if (expandable && (event.key === \"ArrowRight\" || event.key === \"ArrowLeft\")) {\n const shouldExpand = event.key === \"ArrowRight\";\n if (shouldExpand === expanded) return;\n event.preventDefault();\n row.toggleExpanded(shouldExpand);\n return;\n }\n if (activatable && (event.key === \"Enter\" || event.key === \" \")) {\n event.preventDefault();\n // click()을 통해 기존 onRowClick의 MouseEvent API를 유지하면서 키보드도 같은 경로로 활성화한다.\n event.currentTarget.click();\n }\n };\n\n const rowEl = (\n <DataGridRow\n // 래퍼가 없을 때만 행 자체가 측정 대상 (비가상·비펼침 경로)\n ref={wrapped ? undefined : measureRef}\n // 화살표 이동 후 대상 행에 포커스를 넣을 때 DataGrid가 찾는 마커\n data-datagrid-row-id={rowId}\n // React Table 선택/펼침 상태 — CSS에서 잡을 수 있게 열어 두고, 동시에\n // 이 값이 프롭으로 들어와야 상태가 바뀔 때 memo가 행을 다시 그린다.\n data-row-selected={rowSelected ? \"\" : undefined}\n data-row-expanded={rowExpanded ? \"\" : undefined}\n interactive={interactive}\n selected={selected}\n disabled={disabled}\n className={className}\n // 펼칠 수 있는 행만 상태를 알린다 — 펼침을 쓰지 않는 그리드에는 붙지 않는다\n aria-expanded={expandable ? expanded : undefined}\n aria-controls={expandedContent != null ? panelId : undefined}\n // 로빙 tabindex — 그리드 전체가 탭 한 번으로 진입되고, 이후는 화살표로 이동한다\n tabIndex={focusable ? (tabStop === false ? -1 : 0) : undefined}\n onClick={onRowClick ? (event) => onRowClick(original, index, event) : undefined}\n onKeyDown={focusable ? handleKeyDown : undefined}\n onFocus={focusable && onFocusRow ? () => onFocusRow(rowId) : undefined}\n >\n {row.getVisibleCells().map((cell) => {\n const { meta } = cell.column.columnDef;\n\n return (\n <DataGridCell\n key={cell.id}\n role={cellRole}\n align={meta?.cellAlign ?? meta?.align}\n className={cn(\n meta?.className,\n resolveDataGridValue(meta?.cellClassName, original, index),\n )}\n >\n {flexRender(cell.column.columnDef.cell, cell.getContext())}\n </DataGridCell>\n );\n })}\n </DataGridRow>\n );\n\n const panelEl = expandedContent != null && (\n // 패널도 rowgroup의 자식이라 행/셀로 노출한다 — HTML table의 colspan 상세 행에 해당\n // biome-ignore lint/a11y/useSemanticElements: 플렉스 폭·가상화를 위해 div 기반으로 구성 — 시맨틱 table 요소 대신 ARIA role 사용\n // biome-ignore lint/a11y/useFocusableInteractive: 상세 패널 행은 구조 표현용이고 포커스는 안쪽 콘텐츠가 받는다\n <div role=\"row\" className=\"aivex:w-full\">\n {/* 상세 패널은 행 전체를 차지하는 단일 셀 */}\n <div role={cellRole ?? \"cell\"} id={panelId} className=\"aivex:w-full\">\n {expandedContent}\n </div>\n </div>\n );\n\n // 비가상 경로는 래퍼 없이 행과 패널을 형제로 둔다 — DOM 구조가 펼침 여부와 무관하게 고정된다\n if (!wrapped) {\n return (\n <>\n {rowEl}\n {panelEl}\n </>\n );\n }\n\n return (\n // 가상화에서는 이 래퍼가 절대배치·측정 대상 — 펼침 패널 높이까지 함께 실측된다.\n // role=\"presentation\"으로 rowgroup과 row 사이에 낀 래퍼를 접근성 트리에서 지운다.\n <div\n ref={measureRef}\n data-index={virtualIndex}\n role=\"presentation\"\n className=\"aivex:flex aivex:w-full aivex:flex-col\"\n style={{\n position: \"absolute\",\n top: 0,\n left: 0,\n width: \"100%\",\n transform: `translateY(${virtualStart}px)`,\n }}\n >\n {rowEl}\n {panelEl}\n </div>\n );\n}\n\n// 스크롤 리렌더에서 프롭이 동일한 행을 건너뛰기 위한 memo — 창에 새로 들어온 행만 렌더된다\nexport const DataGridDataRow = memo(DataGridDataRowBase) as typeof DataGridDataRowBase;\n\nexport interface DataGridVirtualizedRowsProps<TData> {\n rows: Row<TData>[];\n viewportRef: RefObject<HTMLDivElement | null>;\n estimateRowHeight?: number;\n overscan?: number;\n /** 로빙 tabindex의 현재 포커스 행 id */\n activeRowId?: string | null;\n focusableRowIds: Set<string>;\n pendingFocusRowId?: string | null;\n focusRowElement: (rowId: string) => boolean;\n onFocusSettled: () => void;\n scrollToRowRef: RefObject<((index: number) => void) | null>;\n renderRow: (\n row: Row<TData>,\n virtualItem: VirtualItem,\n measureRef: Ref<HTMLDivElement>,\n tabStop: boolean,\n ) => ReactNode;\n}\n\n// 가상화기를 바디 전용 컴포넌트로 격리해 스크롤 리렌더를 행 창 계산에만 한정한다\nexport function DataGridVirtualizedRows<TData>({\n rows,\n viewportRef,\n estimateRowHeight,\n overscan,\n activeRowId,\n focusableRowIds,\n pendingFocusRowId,\n focusRowElement,\n onFocusSettled,\n scrollToRowRef,\n renderRow,\n}: DataGridVirtualizedRowsProps<TData>) {\n // 뷰포트는 조상 노드라 마운트 시점엔 ref가 null — 커밋 후 상태로 승격해야 구독이 시작된다\n const [scrollElement, setScrollElement] = useState<HTMLDivElement | null>(null);\n useEffect(() => {\n setScrollElement(viewportRef.current);\n }, [viewportRef]);\n\n const rowVirtualizer = useVirtualizer({\n count: rows.length,\n getScrollElement: () => scrollElement,\n estimateSize: () => estimateRowHeight ?? 48,\n overscan: overscan ?? 6,\n });\n scrollToRowRef.current = (index) => rowVirtualizer.scrollToIndex(index, { align: \"auto\" });\n useEffect(\n () => () => {\n scrollToRowRef.current = null;\n },\n [scrollToRowRef],\n );\n\n const virtualItems = rowVirtualizer.getVirtualItems();\n // 탭 스톱은 마운트된 행 중에서 고른다 — 포커스 행이 창 밖으로 밀려나도\n // 창의 첫 행이 탭 스톱을 이어받아 그리드가 탭으로 도달 가능한 상태를 유지한다\n const windowRowIds = virtualItems.map((virtualItem) => rows[virtualItem.index]?.id);\n const tabStopId =\n activeRowId != null && windowRowIds.includes(activeRowId)\n ? activeRowId\n : windowRowIds.find((rowId) => rowId != null && focusableRowIds.has(rowId));\n const pendingFocusMounted = pendingFocusRowId != null && windowRowIds.includes(pendingFocusRowId);\n\n useEffect(() => {\n if (!pendingFocusMounted || pendingFocusRowId == null) return;\n if (focusRowElement(pendingFocusRowId)) onFocusSettled();\n }, [focusRowElement, onFocusSettled, pendingFocusMounted, pendingFocusRowId]);\n\n return (\n <div\n className=\"aivex:relative aivex:w-full aivex:shrink-0\"\n style={{ height: rowVirtualizer.getTotalSize() }}\n >\n {virtualItems.map((virtualItem) => {\n const row = rows[virtualItem.index];\n\n return renderRow(row, virtualItem, rowVirtualizer.measureElement, row?.id === tabStopId);\n })}\n </div>\n );\n}\n"],"mappings":"oQAqDA,SAAS,EAA2B,CAClC,MACA,eACA,eACA,aACA,cACA,WACA,WACA,YACA,aACA,kBACA,aACA,YACA,cACA,cACA,WACA,UACA,aACA,cAC8B,CAC9B,GAAM,CAAE,WAAU,GAAI,GAAU,EAC1B,EAAQ,EAAI,MACZ,GAAA,EAAA,EAAA,QAAiB,CACjB,EAAW,EAAQ,EAEnB,EAAc,EAAQ,GAAe,CAAC,EAItC,EAAU,IAAiB,IAAA,GA2B3B,GACJ,EAAA,EAAA,KAAC,EAAA,YAAD,CAEE,IAAK,EAAU,IAAA,GAAY,EAE3B,uBAAsB,EAGtB,oBAAmB,EAAc,GAAK,IAAA,GACtC,oBAAmB,EAAc,GAAK,IAAA,GACzB,cACH,WACA,WACC,YAEX,gBAAe,EAAa,EAAW,IAAA,GACvC,gBAAe,GAAmB,KAAiB,IAAA,GAAV,EAEzC,SAAU,EAAa,IAAY,GAAQ,GAAK,EAAK,IAAA,GACrD,QAAS,EAAc,GAAU,EAAW,EAAU,EAAO,EAAM,CAAG,IAAA,GACtE,UAAW,EA7CQ,GAAyC,CAG1D,KAAM,SAAW,EAAM,cAE3B,IAAI,IAAe,EAAM,MAAQ,aAAe,EAAM,MAAQ,WAAY,CACxE,EAAM,gBAAgB,CACtB,EAAW,EAAO,EAAM,MAAQ,YAAc,EAAI,GAAG,CACrD,OAGF,GAAI,IAAe,EAAM,MAAQ,cAAgB,EAAM,MAAQ,aAAc,CAC3E,IAAM,EAAe,EAAM,MAAQ,aACnC,GAAI,IAAiB,EAAU,OAC/B,EAAM,gBAAgB,CACtB,EAAI,eAAe,EAAa,CAChC,OAEE,IAAgB,EAAM,MAAQ,SAAW,EAAM,MAAQ,OACzD,EAAM,gBAAgB,CAEtB,EAAM,cAAc,OAAO,IAwBY,IAAA,GACvC,QAAS,GAAa,MAAmB,EAAW,EAAM,CAAG,IAAA,YAE5D,EAAI,iBAAiB,CAAC,IAAK,GAAS,CACnC,GAAM,CAAE,QAAS,EAAK,OAAO,UAE7B,OACE,EAAA,EAAA,KAAC,EAAA,aAAD,CAEE,KAAM,EACN,MAAO,GAAM,WAAa,GAAM,MAChC,UAAW,EAAA,GACT,GAAM,UACN,EAAA,qBAAqB,GAAM,cAAe,EAAU,EAAM,CAC3D,2BAEW,EAAK,OAAO,UAAU,KAAM,EAAK,YAAY,CAAC,CAC7C,CATR,EAAK,GASG,EAEjB,CACU,CAAA,CAGV,EAAU,GAAmB,OAIjC,EAAA,EAAA,KAAC,MAAD,CAAK,KAAK,MAAM,UAAU,yBAExB,EAAA,EAAA,KAAC,MAAD,CAAK,KAAM,GAAY,OAAQ,GAAI,EAAS,UAAU,wBACnD,EACG,CAAA,CACF,CAAA,CAaR,OATK,GAYH,EAAA,EAAA,MAAC,MAAD,CACE,IAAK,EACL,aAAY,EACZ,KAAK,eACL,UAAU,yCACV,MAAO,CACL,SAAU,WACV,IAAK,EACL,KAAM,EACN,MAAO,OACP,UAAW,cAAc,EAAa,KACvC,UAXH,CAaG,EACA,EACG,IAzBJ,EAAA,EAAA,MAAA,EAAA,SAAA,CAAA,SAAA,CACG,EACA,EACA,CAAA,CAAA,CA2BT,IAAa,GAAA,EAAA,EAAA,MAAuB,EAAoB,CAuBxD,SAAgB,EAA+B,CAC7C,OACA,cACA,oBACA,WACA,cACA,kBACA,oBACA,kBACA,iBACA,iBACA,aACsC,CAEtC,GAAM,CAAC,EAAe,IAAA,EAAA,EAAA,UAAoD,KAAK,EAC/E,EAAA,EAAA,eAAgB,CACd,EAAiB,EAAY,QAAQ,EACpC,CAAC,EAAY,CAAC,CAEjB,IAAM,GAAA,EAAA,EAAA,gBAAgC,CACpC,MAAO,EAAK,OACZ,qBAAwB,EACxB,iBAAoB,GAAqB,GACzC,SAAU,GAAY,EACvB,CAAC,CACF,EAAe,QAAW,GAAU,EAAe,cAAc,EAAO,CAAE,MAAO,OAAQ,CAAC,EAC1F,EAAA,EAAA,mBACc,CACV,EAAe,QAAU,MAE3B,CAAC,EAAe,CACjB,CAED,IAAM,EAAe,EAAe,iBAAiB,CAG/C,EAAe,EAAa,IAAK,GAAgB,EAAK,EAAY,QAAQ,GAAG,CAC7E,EACJ,GAAe,MAAQ,EAAa,SAAS,EAAY,CACrD,EACA,EAAa,KAAM,GAAU,GAAS,MAAQ,EAAgB,IAAI,EAAM,CAAC,CACzE,EAAsB,GAAqB,MAAQ,EAAa,SAAS,EAAkB,CAOjG,OALA,EAAA,EAAA,eAAgB,CACV,CAAC,GAAuB,GAAqB,MAC7C,EAAgB,EAAkB,EAAE,GAAgB,EACvD,CAAC,EAAiB,EAAgB,EAAqB,EAAkB,CAAC,EAG3E,EAAA,EAAA,KAAC,MAAD,CACE,UAAU,6CACV,MAAO,CAAE,OAAQ,EAAe,cAAc,CAAE,UAE/C,EAAa,IAAK,GAAgB,CACjC,IAAM,EAAM,EAAK,EAAY,OAE7B,OAAO,EAAU,EAAK,EAAa,EAAe,eAAgB,GAAK,KAAO,EAAU,EACxF,CACE,CAAA"}
@@ -0,0 +1,66 @@
1
+ import { type Row } from "@tanstack/react-table";
2
+ import { type VirtualItem } from "@tanstack/react-virtual";
3
+ import type { MouseEvent, ReactNode, Ref, RefObject } from "react";
4
+ export interface DataGridDataRowProps<TData> {
5
+ row: Row<TData>;
6
+ virtualIndex?: number;
7
+ virtualStart?: number;
8
+ measureRef?: Ref<HTMLDivElement>;
9
+ interactive?: boolean;
10
+ selected?: boolean;
11
+ disabled?: boolean;
12
+ className?: string;
13
+ onRowClick?: (row: TData, index: number, event: MouseEvent<HTMLDivElement>) => void;
14
+ /** row.getIsExpanded() 시 행 아래에 렌더할 커스텀 상세 패널 */
15
+ expandedContent?: ReactNode;
16
+ /** 펼칠 수 있는 행인지 — aria-expanded 노출 여부를 정한다 */
17
+ expandable?: boolean;
18
+ /** 비활성/펼침 가능 여부를 반영해 부모에서 계산한 포커스 가능 상태 */
19
+ focusable?: boolean;
20
+ /**
21
+ * 이 행의 React Table 상태(선택/펼침). 셀은 row.getIsSelected() 같은 메서드로
22
+ * 상태를 직접 읽는데, 그 값이 바뀌어도 row 객체 자체는 그대로라 memo가 렌더를
23
+ * 건너뛴다 — 상태를 프롭으로 올려야 체크박스 같은 셀이 다시 그려진다.
24
+ */
25
+ rowSelected?: boolean;
26
+ rowExpanded?: boolean;
27
+ /**
28
+ * 셀 렌더러가 담긴 컬럼 정의 — 렌더에는 쓰지 않고 memo 비교에만 쓴다.
29
+ * 셀이 외부 상태를 클로저로 읽는 경우(검토 상태 등) 소비자는 컬럼을 그 상태
30
+ * 의존 useMemo로 만든다. 그 identity 변화가 "셀 출력이 바뀔 수 있다"는
31
+ * 신호인데, row 객체는 그대로라 이 프롭 없이는 memo가 렌더를 건너뛴다.
32
+ */
33
+ columns?: unknown;
34
+ /**
35
+ * 보이는 컬럼 id를 순서대로 이은 키 — 렌더에는 쓰지 않고 memo 비교에만 쓴다.
36
+ * 컬럼 표시/숨김·순서가 바뀌면 row.getVisibleCells() 결과가 달라지지만 row
37
+ * 객체는 그대로라, 이 프롭 없이는 헤더만 바뀌고 본문 셀은 이전 그대로 남는다.
38
+ */
39
+ visibleColumnKey?: string;
40
+ /** 셀의 ARIA 롤 — 펼침을 쓰는 그리드(treegrid)에서는 gridcell이어야 한다 */
41
+ cellRole?: "cell" | "gridcell";
42
+ /** 로빙 tabindex의 탭 스톱 여부 — 그리드 전체에서 한 행만 true (미지정 시 탭 스톱) */
43
+ tabStop?: boolean;
44
+ /** 위/아래 화살표로 행 사이 포커스를 옮길 때 호출 */
45
+ onNavigate?: (rowId: string, delta: -1 | 1) => void;
46
+ /** 행(또는 그 안의 요소)이 포커스를 받아 탭 스톱을 옮겨야 할 때 호출 */
47
+ onFocusRow?: (rowId: string) => void;
48
+ }
49
+ declare function DataGridDataRowBase<TData>({ row, virtualIndex, virtualStart, measureRef, interactive, selected, disabled, className, onRowClick, expandedContent, expandable, focusable, rowSelected, rowExpanded, cellRole, tabStop, onNavigate, onFocusRow, }: DataGridDataRowProps<TData>): import("react/jsx-runtime").JSX.Element;
50
+ export declare const DataGridDataRow: typeof DataGridDataRowBase;
51
+ export interface DataGridVirtualizedRowsProps<TData> {
52
+ rows: Row<TData>[];
53
+ viewportRef: RefObject<HTMLDivElement | null>;
54
+ estimateRowHeight?: number;
55
+ overscan?: number;
56
+ /** 로빙 tabindex의 현재 포커스 행 id */
57
+ activeRowId?: string | null;
58
+ focusableRowIds: Set<string>;
59
+ pendingFocusRowId?: string | null;
60
+ focusRowElement: (rowId: string) => boolean;
61
+ onFocusSettled: () => void;
62
+ scrollToRowRef: RefObject<((index: number) => void) | null>;
63
+ renderRow: (row: Row<TData>, virtualItem: VirtualItem, measureRef: Ref<HTMLDivElement>, tabStop: boolean) => ReactNode;
64
+ }
65
+ export declare function DataGridVirtualizedRows<TData>({ rows, viewportRef, estimateRowHeight, overscan, activeRowId, focusableRowIds, pendingFocusRowId, focusRowElement, onFocusSettled, scrollToRowRef, renderRow, }: DataGridVirtualizedRowsProps<TData>): import("react/jsx-runtime").JSX.Element;
66
+ export {};
@@ -0,0 +1,66 @@
1
+ import { type Row } from "@tanstack/react-table";
2
+ import { type VirtualItem } from "@tanstack/react-virtual";
3
+ import type { MouseEvent, ReactNode, Ref, RefObject } from "react";
4
+ export interface DataGridDataRowProps<TData> {
5
+ row: Row<TData>;
6
+ virtualIndex?: number;
7
+ virtualStart?: number;
8
+ measureRef?: Ref<HTMLDivElement>;
9
+ interactive?: boolean;
10
+ selected?: boolean;
11
+ disabled?: boolean;
12
+ className?: string;
13
+ onRowClick?: (row: TData, index: number, event: MouseEvent<HTMLDivElement>) => void;
14
+ /** row.getIsExpanded() 시 행 아래에 렌더할 커스텀 상세 패널 */
15
+ expandedContent?: ReactNode;
16
+ /** 펼칠 수 있는 행인지 — aria-expanded 노출 여부를 정한다 */
17
+ expandable?: boolean;
18
+ /** 비활성/펼침 가능 여부를 반영해 부모에서 계산한 포커스 가능 상태 */
19
+ focusable?: boolean;
20
+ /**
21
+ * 이 행의 React Table 상태(선택/펼침). 셀은 row.getIsSelected() 같은 메서드로
22
+ * 상태를 직접 읽는데, 그 값이 바뀌어도 row 객체 자체는 그대로라 memo가 렌더를
23
+ * 건너뛴다 — 상태를 프롭으로 올려야 체크박스 같은 셀이 다시 그려진다.
24
+ */
25
+ rowSelected?: boolean;
26
+ rowExpanded?: boolean;
27
+ /**
28
+ * 셀 렌더러가 담긴 컬럼 정의 — 렌더에는 쓰지 않고 memo 비교에만 쓴다.
29
+ * 셀이 외부 상태를 클로저로 읽는 경우(검토 상태 등) 소비자는 컬럼을 그 상태
30
+ * 의존 useMemo로 만든다. 그 identity 변화가 "셀 출력이 바뀔 수 있다"는
31
+ * 신호인데, row 객체는 그대로라 이 프롭 없이는 memo가 렌더를 건너뛴다.
32
+ */
33
+ columns?: unknown;
34
+ /**
35
+ * 보이는 컬럼 id를 순서대로 이은 키 — 렌더에는 쓰지 않고 memo 비교에만 쓴다.
36
+ * 컬럼 표시/숨김·순서가 바뀌면 row.getVisibleCells() 결과가 달라지지만 row
37
+ * 객체는 그대로라, 이 프롭 없이는 헤더만 바뀌고 본문 셀은 이전 그대로 남는다.
38
+ */
39
+ visibleColumnKey?: string;
40
+ /** 셀의 ARIA 롤 — 펼침을 쓰는 그리드(treegrid)에서는 gridcell이어야 한다 */
41
+ cellRole?: "cell" | "gridcell";
42
+ /** 로빙 tabindex의 탭 스톱 여부 — 그리드 전체에서 한 행만 true (미지정 시 탭 스톱) */
43
+ tabStop?: boolean;
44
+ /** 위/아래 화살표로 행 사이 포커스를 옮길 때 호출 */
45
+ onNavigate?: (rowId: string, delta: -1 | 1) => void;
46
+ /** 행(또는 그 안의 요소)이 포커스를 받아 탭 스톱을 옮겨야 할 때 호출 */
47
+ onFocusRow?: (rowId: string) => void;
48
+ }
49
+ declare function DataGridDataRowBase<TData>({ row, virtualIndex, virtualStart, measureRef, interactive, selected, disabled, className, onRowClick, expandedContent, expandable, focusable, rowSelected, rowExpanded, cellRole, tabStop, onNavigate, onFocusRow, }: DataGridDataRowProps<TData>): import("react/jsx-runtime").JSX.Element;
50
+ export declare const DataGridDataRow: typeof DataGridDataRowBase;
51
+ export interface DataGridVirtualizedRowsProps<TData> {
52
+ rows: Row<TData>[];
53
+ viewportRef: RefObject<HTMLDivElement | null>;
54
+ estimateRowHeight?: number;
55
+ overscan?: number;
56
+ /** 로빙 tabindex의 현재 포커스 행 id */
57
+ activeRowId?: string | null;
58
+ focusableRowIds: Set<string>;
59
+ pendingFocusRowId?: string | null;
60
+ focusRowElement: (rowId: string) => boolean;
61
+ onFocusSettled: () => void;
62
+ scrollToRowRef: RefObject<((index: number) => void) | null>;
63
+ renderRow: (row: Row<TData>, virtualItem: VirtualItem, measureRef: Ref<HTMLDivElement>, tabStop: boolean) => ReactNode;
64
+ }
65
+ export declare function DataGridVirtualizedRows<TData>({ rows, viewportRef, estimateRowHeight, overscan, activeRowId, focusableRowIds, pendingFocusRowId, focusRowElement, onFocusSettled, scrollToRowRef, renderRow, }: DataGridVirtualizedRowsProps<TData>): import("react/jsx-runtime").JSX.Element;
66
+ export {};
@@ -0,0 +1,108 @@
1
+ "use client";
2
+ import { cn as e } from "../../utils.js";
3
+ import { DataGridCell as t, DataGridRow as n, resolveDataGridValue as r } from "./DataGridPrimitives.js";
4
+ import { memo as i, useEffect as a, useId as o, useState as s } from "react";
5
+ import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
6
+ import { flexRender as d } from "@tanstack/react-table";
7
+ import { useVirtualizer as f } from "@tanstack/react-virtual";
8
+ //#region src/components/DataGrid/DataGridRows.tsx
9
+ function p({ row: i, virtualIndex: a, virtualStart: s, measureRef: f, interactive: p, selected: m, disabled: h, className: g, onRowClick: _, expandedContent: v, expandable: y, focusable: b, rowSelected: x, rowExpanded: S, cellRole: C, tabStop: w, onNavigate: T, onFocusRow: E }) {
10
+ let { original: D, id: O } = i, k = i.index, A = o(), j = !!S, M = !!_ && !h, N = s !== void 0, P = /* @__PURE__ */ l(n, {
11
+ ref: N ? void 0 : f,
12
+ "data-datagrid-row-id": O,
13
+ "data-row-selected": x ? "" : void 0,
14
+ "data-row-expanded": S ? "" : void 0,
15
+ interactive: p,
16
+ selected: m,
17
+ disabled: h,
18
+ className: g,
19
+ "aria-expanded": y ? j : void 0,
20
+ "aria-controls": v == null ? void 0 : A,
21
+ tabIndex: b ? w === !1 ? -1 : 0 : void 0,
22
+ onClick: _ ? (e) => _(D, k, e) : void 0,
23
+ onKeyDown: b ? (e) => {
24
+ if (e.target === e.currentTarget) {
25
+ if (T && (e.key === "ArrowDown" || e.key === "ArrowUp")) {
26
+ e.preventDefault(), T(O, e.key === "ArrowDown" ? 1 : -1);
27
+ return;
28
+ }
29
+ if (y && (e.key === "ArrowRight" || e.key === "ArrowLeft")) {
30
+ let t = e.key === "ArrowRight";
31
+ if (t === j) return;
32
+ e.preventDefault(), i.toggleExpanded(t);
33
+ return;
34
+ }
35
+ M && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), e.currentTarget.click());
36
+ }
37
+ } : void 0,
38
+ onFocus: b && E ? () => E(O) : void 0,
39
+ children: i.getVisibleCells().map((n) => {
40
+ let { meta: i } = n.column.columnDef;
41
+ return /* @__PURE__ */ l(t, {
42
+ role: C,
43
+ align: i?.cellAlign ?? i?.align,
44
+ className: e(i?.className, r(i?.cellClassName, D, k)),
45
+ children: d(n.column.columnDef.cell, n.getContext())
46
+ }, n.id);
47
+ })
48
+ }), F = v != null && /* @__PURE__ */ l("div", {
49
+ role: "row",
50
+ className: "aivex:w-full",
51
+ children: /* @__PURE__ */ l("div", {
52
+ role: C ?? "cell",
53
+ id: A,
54
+ className: "aivex:w-full",
55
+ children: v
56
+ })
57
+ });
58
+ return N ? /* @__PURE__ */ u("div", {
59
+ ref: f,
60
+ "data-index": a,
61
+ role: "presentation",
62
+ className: "aivex:flex aivex:w-full aivex:flex-col",
63
+ style: {
64
+ position: "absolute",
65
+ top: 0,
66
+ left: 0,
67
+ width: "100%",
68
+ transform: `translateY(${s}px)`
69
+ },
70
+ children: [P, F]
71
+ }) : /* @__PURE__ */ u(c, { children: [P, F] });
72
+ }
73
+ var m = i(p);
74
+ function h({ rows: e, viewportRef: t, estimateRowHeight: n, overscan: r, activeRowId: i, focusableRowIds: o, pendingFocusRowId: c, focusRowElement: u, onFocusSettled: d, scrollToRowRef: p, renderRow: m }) {
75
+ let [h, g] = s(null);
76
+ a(() => {
77
+ g(t.current);
78
+ }, [t]);
79
+ let _ = f({
80
+ count: e.length,
81
+ getScrollElement: () => h,
82
+ estimateSize: () => n ?? 48,
83
+ overscan: r ?? 6
84
+ });
85
+ p.current = (e) => _.scrollToIndex(e, { align: "auto" }), a(() => () => {
86
+ p.current = null;
87
+ }, [p]);
88
+ let v = _.getVirtualItems(), y = v.map((t) => e[t.index]?.id), b = i != null && y.includes(i) ? i : y.find((e) => e != null && o.has(e)), x = c != null && y.includes(c);
89
+ return a(() => {
90
+ !x || c == null || u(c) && d();
91
+ }, [
92
+ u,
93
+ d,
94
+ x,
95
+ c
96
+ ]), /* @__PURE__ */ l("div", {
97
+ className: "aivex:relative aivex:w-full aivex:shrink-0",
98
+ style: { height: _.getTotalSize() },
99
+ children: v.map((t) => {
100
+ let n = e[t.index];
101
+ return m(n, t, _.measureElement, n?.id === b);
102
+ })
103
+ });
104
+ }
105
+ //#endregion
106
+ export { m as DataGridDataRow, h as DataGridVirtualizedRows };
107
+
108
+ //# sourceMappingURL=DataGridRows.js.map