laif-ds 0.1.9 → 0.1.11

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 (392) hide show
  1. package/dist/_virtual/index2.js +5 -2
  2. package/dist/_virtual/index3.js +5 -5
  3. package/dist/_virtual/index4.js +2 -5
  4. package/dist/_virtual/index5.js +2 -5
  5. package/dist/_virtual/index6.js +5 -2
  6. package/dist/components/ui/accordion.js +20 -20
  7. package/dist/components/ui/alert-dialog.js +41 -41
  8. package/dist/components/ui/alert.js +10 -10
  9. package/dist/components/ui/aspect-ratio.js +4 -4
  10. package/dist/components/ui/async-select.js +112 -112
  11. package/dist/components/ui/audio-visualizer.js +26 -26
  12. package/dist/components/ui/avatar.js +17 -17
  13. package/dist/components/ui/badge.js +9 -10
  14. package/dist/components/ui/breadcrumb.js +24 -25
  15. package/dist/components/ui/button.js +17 -17
  16. package/dist/components/ui/calendar.js +8 -8
  17. package/dist/components/ui/card.js +15 -15
  18. package/dist/components/ui/carousel.js +66 -66
  19. package/dist/components/ui/chart.js +80 -80
  20. package/dist/components/ui/chat-message.js +104 -104
  21. package/dist/components/ui/chat.js +109 -109
  22. package/dist/components/ui/checkbox.js +5 -5
  23. package/dist/components/ui/collapsible.js +10 -10
  24. package/dist/components/ui/command.js +52 -52
  25. package/dist/components/ui/context-menu.js +61 -61
  26. package/dist/components/ui/copy-button.js +19 -19
  27. package/dist/components/ui/data-table.js +73 -73
  28. package/dist/components/ui/date-picker.js +18 -18
  29. package/dist/components/ui/dialog.js +49 -49
  30. package/dist/components/ui/drawer.js +43 -43
  31. package/dist/components/ui/file-preview.js +49 -49
  32. package/dist/components/ui/form.js +33 -33
  33. package/dist/components/ui/gantt/assets/icons/MinusSquareOutlined.js +5 -5
  34. package/dist/components/ui/gantt/assets/icons/PlusSquareOutlined.js +6 -6
  35. package/dist/components/ui/gantt/components/Chart/Bars/Bars.js +28 -28
  36. package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/BarItem/BarItem.js +80 -80
  37. package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/BarsItems/BarItems.js +13 -13
  38. package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/BarsRow.js +10 -10
  39. package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/RepeteadBars/RepeteadBars.js +25 -25
  40. package/dist/components/ui/gantt/components/Chart/Chart.js +30 -30
  41. package/dist/components/ui/gantt/components/Chart/Scale/Scale.js +45 -45
  42. package/dist/components/ui/gantt/components/Chart/Tree/Tree.js +37 -37
  43. package/dist/components/ui/gantt/components/Controls/Controls.js +53 -53
  44. package/dist/components/ui/gantt/components/Gantt/Gantt.js +29 -29
  45. package/dist/components/ui/hover-card.js +4 -4
  46. package/dist/components/ui/icon.js +9 -9
  47. package/dist/components/ui/input-otp.js +14 -14
  48. package/dist/components/ui/input-selector.js +38 -38
  49. package/dist/components/ui/input.js +32 -32
  50. package/dist/components/ui/interrupt-prompt.js +9 -10
  51. package/dist/components/ui/label.js +4 -4
  52. package/dist/components/ui/markdown-renderer.js +60 -63
  53. package/dist/components/ui/menubar.js +89 -89
  54. package/dist/components/ui/message-input.js +149 -150
  55. package/dist/components/ui/message-list.js +15 -15
  56. package/dist/components/ui/multiple-selector.js +159 -159
  57. package/dist/components/ui/navigation-menu.js +44 -44
  58. package/dist/components/ui/pagination.js +39 -39
  59. package/dist/components/ui/popover.js +13 -13
  60. package/dist/components/ui/progress.js +14 -14
  61. package/dist/components/ui/prompt-suggestions.js +10 -10
  62. package/dist/components/ui/radio-group.js +15 -15
  63. package/dist/components/ui/resizable.js +13 -13
  64. package/dist/components/ui/scroll-area.js +25 -25
  65. package/dist/components/ui/select.js +80 -80
  66. package/dist/components/ui/separator.js +4 -4
  67. package/dist/components/ui/sheet.js +48 -48
  68. package/dist/components/ui/sidebar.js +178 -182
  69. package/dist/components/ui/skeleton.js +4 -4
  70. package/dist/components/ui/switch.js +5 -5
  71. package/dist/components/ui/table.js +14 -14
  72. package/dist/components/ui/tabs.js +10 -10
  73. package/dist/components/ui/textarea.js +2 -2
  74. package/dist/components/ui/toaster.js +2 -2
  75. package/dist/components/ui/toggle-group.js +6 -6
  76. package/dist/components/ui/toggle.js +2 -2
  77. package/dist/components/ui/tooltip.js +19 -19
  78. package/dist/components/ui/typing-indicator.js +7 -7
  79. package/dist/components/ui/typo.js +10 -10
  80. package/dist/dist/components/ui/checkbox.js +6 -6
  81. package/dist/dist/components/ui/scroll-area.js +30 -30
  82. package/dist/dist/components/ui/table.js +15 -15
  83. package/dist/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +60 -60
  84. package/dist/dist/node_modules/@radix-ui/react-context/dist/index.js +19 -19
  85. package/dist/dist/node_modules/@radix-ui/react-direction/dist/index.js +3 -2
  86. package/dist/dist/node_modules/@radix-ui/react-primitive/dist/index.js +2 -2
  87. package/dist/dist/node_modules/@radix-ui/react-scroll-area/dist/index.js +116 -116
  88. package/dist/dist/node_modules/@radix-ui/react-slot/dist/index.js +10 -10
  89. package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +77 -77
  90. package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.js +65 -65
  91. package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +6 -6
  92. package/dist/node_modules/@radix-ui/react-aspect-ratio/dist/index.js +12 -12
  93. package/dist/node_modules/@radix-ui/react-avatar/dist/index.js +21 -21
  94. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +58 -58
  95. package/dist/node_modules/@radix-ui/react-collapsible/dist/index.js +49 -49
  96. package/dist/node_modules/@radix-ui/react-collection/dist/index.js +16 -16
  97. package/dist/node_modules/@radix-ui/react-context/dist/index.js +36 -36
  98. package/dist/node_modules/@radix-ui/react-context-menu/dist/index.js +113 -113
  99. package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +100 -100
  100. package/dist/node_modules/@radix-ui/react-direction/dist/index.js +1 -1
  101. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +18 -18
  102. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +9 -9
  103. package/dist/node_modules/@radix-ui/react-hover-card/dist/index.js +50 -50
  104. package/dist/node_modules/@radix-ui/react-label/dist/index.js +4 -4
  105. package/dist/node_modules/@radix-ui/react-menu/dist/index.js +223 -223
  106. package/dist/node_modules/@radix-ui/react-menubar/dist/index.js +95 -95
  107. package/dist/node_modules/@radix-ui/react-navigation-menu/dist/index.js +260 -260
  108. package/dist/node_modules/@radix-ui/react-popover/dist/index.js +92 -92
  109. package/dist/node_modules/@radix-ui/react-popper/dist/index.js +35 -35
  110. package/dist/node_modules/@radix-ui/react-portal/dist/index.js +8 -8
  111. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +7 -7
  112. package/dist/node_modules/@radix-ui/react-progress/dist/index.js +22 -22
  113. package/dist/node_modules/@radix-ui/react-radio-group/dist/index.js +105 -105
  114. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +29 -29
  115. package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.js +157 -157
  116. package/dist/node_modules/@radix-ui/react-select/dist/index.js +345 -345
  117. package/dist/node_modules/@radix-ui/react-separator/dist/index.js +6 -6
  118. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +19 -19
  119. package/dist/node_modules/@radix-ui/react-switch/dist/index.js +46 -46
  120. package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +48 -48
  121. package/dist/node_modules/@radix-ui/react-toggle/dist/index.js +10 -10
  122. package/dist/node_modules/@radix-ui/react-toggle-group/dist/index.js +67 -71
  123. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js +77 -77
  124. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +4 -4
  125. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +1 -1
  126. package/dist/node_modules/react-day-picker/dist/index.esm.js +483 -483
  127. package/dist/node_modules/react-is/index.js +1 -1
  128. package/dist/node_modules/react-markdown/lib/index.js +39 -39
  129. package/dist/node_modules/style-to-object/cjs/index.js +1 -1
  130. package/dist/node_modules/unified/lib/index.js +1 -1
  131. package/package.json +3 -2
  132. package/dist/_virtual/jsx-runtime.js +0 -6
  133. package/dist/_virtual/jsx-runtime2.js +0 -5
  134. package/dist/_virtual/react-jsx-runtime.development.js +0 -5
  135. package/dist/_virtual/react-jsx-runtime.production.js +0 -5
  136. package/dist/dist/_virtual/jsx-runtime.js +0 -6
  137. package/dist/dist/_virtual/jsx-runtime2.js +0 -5
  138. package/dist/dist/_virtual/react-jsx-runtime.development.js +0 -5
  139. package/dist/dist/_virtual/react-jsx-runtime.production.js +0 -5
  140. package/dist/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -248
  141. package/dist/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -36
  142. package/dist/dist/node_modules/react/jsx-runtime.js +0 -11
  143. package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +0 -11
  144. package/dist/node_modules/framer-motion/dist/es/animation/animators/AcceleratedAnimation.js +0 -206
  145. package/dist/node_modules/framer-motion/dist/es/animation/animators/BaseAnimation.js +0 -83
  146. package/dist/node_modules/framer-motion/dist/es/animation/animators/MainThreadAnimation.js +0 -148
  147. package/dist/node_modules/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.js +0 -18
  148. package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/accelerated-values.js +0 -13
  149. package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/can-animate.js +0 -24
  150. package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/index.js +0 -19
  151. package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +0 -9
  152. package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.js +0 -7
  153. package/dist/node_modules/framer-motion/dist/es/animation/generators/inertia.js +0 -38
  154. package/dist/node_modules/framer-motion/dist/es/animation/generators/keyframes.js +0 -31
  155. package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/defaults.js +0 -33
  156. package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/find.js +0 -53
  157. package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/index.js +0 -93
  158. package/dist/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.js +0 -10
  159. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js +0 -48
  160. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js +0 -47
  161. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +0 -34
  162. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js +0 -23
  163. package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js +0 -7
  164. package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js +0 -8
  165. package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js +0 -23
  166. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animatable.js +0 -8
  167. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js +0 -7
  168. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js +0 -5
  169. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-none.js +0 -8
  170. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js +0 -7
  171. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -52
  172. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -42
  173. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -47
  174. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -17
  175. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -13
  176. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -6
  177. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -6
  178. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -10
  179. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -14
  180. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -6
  181. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -16
  182. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -6
  183. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -6
  184. package/dist/node_modules/framer-motion/dist/es/easing/anticipate.js +0 -6
  185. package/dist/node_modules/framer-motion/dist/es/easing/back.js +0 -10
  186. package/dist/node_modules/framer-motion/dist/es/easing/circ.js +0 -9
  187. package/dist/node_modules/framer-motion/dist/es/easing/cubic-bezier.js +0 -20
  188. package/dist/node_modules/framer-motion/dist/es/easing/ease.js +0 -8
  189. package/dist/node_modules/framer-motion/dist/es/easing/modifiers/mirror.js +0 -5
  190. package/dist/node_modules/framer-motion/dist/es/easing/modifiers/reverse.js +0 -5
  191. package/dist/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.js +0 -5
  192. package/dist/node_modules/framer-motion/dist/es/easing/utils/map.js +0 -33
  193. package/dist/node_modules/framer-motion/dist/es/events/add-dom-event.js +0 -7
  194. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -9
  195. package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -16
  196. package/dist/node_modules/framer-motion/dist/es/frameloop/batcher.js +0 -40
  197. package/dist/node_modules/framer-motion/dist/es/frameloop/frame.js +0 -11
  198. package/dist/node_modules/framer-motion/dist/es/frameloop/microtask.js +0 -6
  199. package/dist/node_modules/framer-motion/dist/es/frameloop/render-step.js +0 -42
  200. package/dist/node_modules/framer-motion/dist/es/frameloop/sync-time.js +0 -16
  201. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -257
  202. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -20
  203. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -69
  204. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -29
  205. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -23
  206. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -86
  207. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -45
  208. package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -23
  209. package/dist/node_modules/framer-motion/dist/es/motion/features/Feature.js +0 -11
  210. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -26
  211. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -35
  212. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -14
  213. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -28
  214. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -18
  215. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -22
  216. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -75
  217. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -12
  218. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -12
  219. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -45
  220. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -22
  221. package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -60
  222. package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +0 -9
  223. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -5
  224. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -19
  225. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -65
  226. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -54
  227. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -39
  228. package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js +0 -34
  229. package/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.js +0 -26
  230. package/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.js +0 -15
  231. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js +0 -53
  232. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js +0 -37
  233. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js +0 -26
  234. package/dist/node_modules/framer-motion/dist/es/projection/geometry/models.js +0 -19
  235. package/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.js +0 -35
  236. package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +0 -14
  237. package/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +0 -26
  238. package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js +0 -615
  239. package/dist/node_modules/framer-motion/dist/es/projection/node/state.js +0 -16
  240. package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js +0 -59
  241. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js +0 -22
  242. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js +0 -17
  243. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +0 -9
  244. package/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js +0 -14
  245. package/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.js +0 -7
  246. package/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.js +0 -21
  247. package/dist/node_modules/framer-motion/dist/es/projection/utils/measure.js +0 -14
  248. package/dist/node_modules/framer-motion/dist/es/render/VisualElement.js +0 -227
  249. package/dist/node_modules/framer-motion/dist/es/render/components/create-factory.js +0 -21
  250. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -18
  251. package/dist/node_modules/framer-motion/dist/es/render/components/motion/create.js +0 -16
  252. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -7
  253. package/dist/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.js +0 -67
  254. package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js +0 -28
  255. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -11
  256. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -19
  257. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +0 -5
  258. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js +0 -32
  259. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -21
  260. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.js +0 -6
  261. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -25
  262. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.js +0 -7
  263. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js +0 -41
  264. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.js +0 -11
  265. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.js +0 -25
  266. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.js +0 -10
  267. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/find.js +0 -9
  268. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.js +0 -5
  269. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number-browser.js +0 -42
  270. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number.js +0 -19
  271. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/test.js +0 -5
  272. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/transform.js +0 -32
  273. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.js +0 -8
  274. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js +0 -9
  275. package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +0 -39
  276. package/dist/node_modules/framer-motion/dist/es/render/html/config-motion.js +0 -13
  277. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -28
  278. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +0 -30
  279. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +0 -32
  280. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -10
  281. package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-position.js +0 -14
  282. package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js +0 -24
  283. package/dist/node_modules/framer-motion/dist/es/render/html/utils/make-none-animatable.js +0 -17
  284. package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.js +0 -9
  285. package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +0 -13
  286. package/dist/node_modules/framer-motion/dist/es/render/store.js +0 -5
  287. package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +0 -41
  288. package/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.js +0 -55
  289. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -31
  290. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -23
  291. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +0 -27
  292. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +0 -29
  293. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -9
  294. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +0 -5
  295. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js +0 -19
  296. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.js +0 -12
  297. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +0 -16
  298. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.js +0 -12
  299. package/dist/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.js +0 -77
  300. package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js +0 -125
  301. package/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js +0 -5
  302. package/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.js +0 -20
  303. package/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.js +0 -21
  304. package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js +0 -14
  305. package/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js +0 -7
  306. package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js +0 -27
  307. package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +0 -9
  308. package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js +0 -21
  309. package/dist/node_modules/framer-motion/dist/es/render/utils/setters.js +0 -19
  310. package/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.js +0 -14
  311. package/dist/node_modules/framer-motion/dist/es/utils/GlobalConfig.js +0 -7
  312. package/dist/node_modules/framer-motion/dist/es/utils/array.js +0 -12
  313. package/dist/node_modules/framer-motion/dist/es/utils/clamp.js +0 -5
  314. package/dist/node_modules/framer-motion/dist/es/utils/delay.js +0 -14
  315. package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -10
  316. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -5
  317. package/dist/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.js +0 -23
  318. package/dist/node_modules/framer-motion/dist/es/utils/interpolate.js +0 -42
  319. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -5
  320. package/dist/node_modules/framer-motion/dist/es/utils/is-numerical-string.js +0 -5
  321. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -7
  322. package/dist/node_modules/framer-motion/dist/es/utils/is-zero-value-string.js +0 -5
  323. package/dist/node_modules/framer-motion/dist/es/utils/mix/color.js +0 -30
  324. package/dist/node_modules/framer-motion/dist/es/utils/mix/complex.js +0 -53
  325. package/dist/node_modules/framer-motion/dist/es/utils/mix/immediate.js +0 -7
  326. package/dist/node_modules/framer-motion/dist/es/utils/mix/index.js +0 -9
  327. package/dist/node_modules/framer-motion/dist/es/utils/mix/number.js +0 -5
  328. package/dist/node_modules/framer-motion/dist/es/utils/mix/visibility.js +0 -9
  329. package/dist/node_modules/framer-motion/dist/es/utils/offsets/default.js +0 -9
  330. package/dist/node_modules/framer-motion/dist/es/utils/offsets/fill.js +0 -14
  331. package/dist/node_modules/framer-motion/dist/es/utils/offsets/time.js +0 -7
  332. package/dist/node_modules/framer-motion/dist/es/utils/pipe.js +0 -5
  333. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +0 -14
  334. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js +0 -6
  335. package/dist/node_modules/framer-motion/dist/es/utils/resolve-value.js +0 -7
  336. package/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.js +0 -15
  337. package/dist/node_modules/framer-motion/dist/es/utils/subscription-manager.js +0 -30
  338. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -9
  339. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -7
  340. package/dist/node_modules/framer-motion/dist/es/utils/velocity-per-second.js +0 -7
  341. package/dist/node_modules/framer-motion/dist/es/utils/warn-once.js +0 -8
  342. package/dist/node_modules/framer-motion/dist/es/value/index.js +0 -208
  343. package/dist/node_modules/framer-motion/dist/es/value/types/color/hex.js +0 -20
  344. package/dist/node_modules/framer-motion/dist/es/value/types/color/hsla.js +0 -13
  345. package/dist/node_modules/framer-motion/dist/es/value/types/color/index.js +0 -12
  346. package/dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js +0 -17
  347. package/dist/node_modules/framer-motion/dist/es/value/types/color/utils.js +0 -19
  348. package/dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js +0 -25
  349. package/dist/node_modules/framer-motion/dist/es/value/types/complex/index.js +0 -50
  350. package/dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js +0 -18
  351. package/dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js +0 -18
  352. package/dist/node_modules/framer-motion/dist/es/value/types/utils/color-regex.js +0 -5
  353. package/dist/node_modules/framer-motion/dist/es/value/types/utils/float-regex.js +0 -5
  354. package/dist/node_modules/framer-motion/dist/es/value/types/utils/is-nullish.js +0 -7
  355. package/dist/node_modules/framer-motion/dist/es/value/types/utils/sanitize.js +0 -5
  356. package/dist/node_modules/framer-motion/dist/es/value/types/utils/single-color-regex.js +0 -5
  357. package/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js +0 -10
  358. package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js +0 -8
  359. package/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.js +0 -5
  360. package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +0 -10
  361. package/dist/node_modules/motion-dom/dist/es/animation/controls/BaseGroup.js +0 -75
  362. package/dist/node_modules/motion-dom/dist/es/animation/controls/Group.js +0 -10
  363. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -14
  364. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -7
  365. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -7
  366. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/attach-timeline.js +0 -7
  367. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/easing.js +0 -28
  368. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -13
  369. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -12
  370. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -12
  371. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -25
  372. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -33
  373. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -14
  374. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -28
  375. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -5
  376. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -5
  377. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -5
  378. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -13
  379. package/dist/node_modules/motion-dom/dist/es/utils/is-bezier-definition.js +0 -5
  380. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -15
  381. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -7
  382. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -13
  383. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -14
  384. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -7
  385. package/dist/node_modules/motion-utils/dist/es/errors.js +0 -13
  386. package/dist/node_modules/motion-utils/dist/es/memo.js +0 -9
  387. package/dist/node_modules/motion-utils/dist/es/noop.js +0 -5
  388. package/dist/node_modules/motion-utils/dist/es/progress.js +0 -8
  389. package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -6
  390. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -248
  391. package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -36
  392. package/dist/node_modules/react/jsx-runtime.js +0 -11
@@ -1,26 +1,26 @@
1
1
  "use client";
2
- import { j as t } from "../../_virtual/jsx-runtime.js";
3
- import * as j from "react";
2
+ import { jsx as s, jsxs as f, Fragment as T } from "react/jsx-runtime";
3
+ import * as b from "react";
4
4
  import { cn as u } from "../../lib/utils.js";
5
- import { Tooltip as L } from "../../node_modules/recharts/es6/component/Tooltip.js";
6
- import { Legend as T } from "../../node_modules/recharts/es6/component/Legend.js";
7
- import { ResponsiveContainer as E } from "../../node_modules/recharts/es6/component/ResponsiveContainer.js";
8
- const I = { light: "", dark: ".dark" }, w = j.createContext(null);
9
- function C() {
10
- const c = j.useContext(w);
5
+ import { Tooltip as I } from "../../node_modules/recharts/es6/component/Tooltip.js";
6
+ import { Legend as P } from "../../node_modules/recharts/es6/component/Legend.js";
7
+ import { ResponsiveContainer as S } from "../../node_modules/recharts/es6/component/ResponsiveContainer.js";
8
+ const E = { light: "", dark: ".dark" }, N = b.createContext(null);
9
+ function j() {
10
+ const c = b.useContext(N);
11
11
  if (!c)
12
12
  throw new Error("useChart must be used within a <ChartContainer />");
13
13
  return c;
14
14
  }
15
- function O({
15
+ function z({
16
16
  id: c,
17
17
  className: r,
18
- children: s,
19
- config: n,
18
+ children: n,
19
+ config: t,
20
20
  ...a
21
21
  }) {
22
- const h = j.useId(), o = `chart-${c || h.replace(/:/g, "")}`;
23
- return /* @__PURE__ */ t.jsx(w.Provider, { value: { config: n }, children: /* @__PURE__ */ t.jsxs(
22
+ const h = b.useId(), o = `chart-${c || h.replace(/:/g, "")}`;
23
+ return /* @__PURE__ */ s(N.Provider, { value: { config: t }, children: /* @__PURE__ */ f(
24
24
  "div",
25
25
  {
26
26
  "data-slot": "chart",
@@ -31,26 +31,26 @@ function O({
31
31
  ),
32
32
  ...a,
33
33
  children: [
34
- /* @__PURE__ */ t.jsx(P, { id: o, config: n }),
35
- /* @__PURE__ */ t.jsx(E, { children: s })
34
+ /* @__PURE__ */ s(K, { id: o, config: t }),
35
+ /* @__PURE__ */ s(S, { children: n })
36
36
  ]
37
37
  }
38
38
  ) });
39
39
  }
40
- const P = ({ id: c, config: r }) => {
41
- const s = Object.entries(r).filter(
42
- ([, n]) => n.theme || n.color
40
+ const K = ({ id: c, config: r }) => {
41
+ const n = Object.entries(r).filter(
42
+ ([, t]) => t.theme || t.color
43
43
  );
44
- return s.length ? /* @__PURE__ */ t.jsx(
44
+ return n.length ? /* @__PURE__ */ s(
45
45
  "style",
46
46
  {
47
47
  dangerouslySetInnerHTML: {
48
- __html: Object.entries(I).map(
49
- ([n, a]) => `
48
+ __html: Object.entries(E).map(
49
+ ([t, a]) => `
50
50
  ${a} [data-chart=${c}] {
51
- ${s.map(([h, o]) => {
51
+ ${n.map(([h, o]) => {
52
52
  var l;
53
- const i = ((l = o.theme) == null ? void 0 : l[n]) || o.color;
53
+ const i = ((l = o.theme) == null ? void 0 : l[t]) || o.color;
54
54
  return i ? ` --color-${h}: ${i};` : null;
55
55
  }).join(`
56
56
  `)}
@@ -61,90 +61,90 @@ ${s.map(([h, o]) => {
61
61
  }
62
62
  }
63
63
  ) : null;
64
- }, q = L;
65
- function z({
64
+ }, A = I;
65
+ function B({
66
66
  active: c,
67
67
  payload: r,
68
- className: s,
69
- indicator: n = "dot",
68
+ className: n,
69
+ indicator: t = "dot",
70
70
  hideLabel: a = !1,
71
71
  hideIndicator: h = !1,
72
72
  label: o,
73
73
  labelFormatter: i,
74
74
  labelClassName: l,
75
- formatter: _,
76
- color: N,
77
- nameKey: $,
78
- labelKey: m
75
+ formatter: w,
76
+ color: $,
77
+ nameKey: L,
78
+ labelKey: p
79
79
  }) {
80
- const { config: g } = C(), k = j.useMemo(() => {
81
- var x;
80
+ const { config: m } = j(), C = b.useMemo(() => {
81
+ var v;
82
82
  if (a || !(r != null && r.length))
83
83
  return null;
84
- const [e] = r, b = `${m || (e == null ? void 0 : e.dataKey) || (e == null ? void 0 : e.name) || "value"}`, f = p(g, e, b), d = !m && typeof o == "string" ? ((x = g[o]) == null ? void 0 : x.label) || o : f == null ? void 0 : f.label;
85
- return i ? /* @__PURE__ */ t.jsx("div", { className: u("font-medium", l), children: i(d, r) }) : d ? /* @__PURE__ */ t.jsx("div", { className: u("font-medium", l), children: d }) : null;
84
+ const [e] = r, _ = `${p || (e == null ? void 0 : e.dataKey) || (e == null ? void 0 : e.name) || "value"}`, g = k(m, e, _), d = !p && typeof o == "string" ? ((v = m[o]) == null ? void 0 : v.label) || o : g == null ? void 0 : g.label;
85
+ return i ? /* @__PURE__ */ s("div", { className: u("font-medium", l), children: i(d, r) }) : d ? /* @__PURE__ */ s("div", { className: u("font-medium", l), children: d }) : null;
86
86
  }, [
87
87
  o,
88
88
  i,
89
89
  r,
90
90
  a,
91
91
  l,
92
- g,
93
- m
92
+ m,
93
+ p
94
94
  ]);
95
95
  if (!c || !(r != null && r.length))
96
96
  return null;
97
- const v = r.length === 1 && n !== "dot";
98
- return /* @__PURE__ */ t.jsxs(
97
+ const x = r.length === 1 && t !== "dot";
98
+ return /* @__PURE__ */ f(
99
99
  "div",
100
100
  {
101
101
  className: u(
102
102
  "border-border/50 bg-background grid min-w-[8rem] items-start gap-1.5 rounded-lg border px-2.5 py-1.5 text-xs shadow-xl",
103
- s
103
+ n
104
104
  ),
105
105
  children: [
106
- v ? null : k,
107
- /* @__PURE__ */ t.jsx("div", { className: "grid gap-1.5", children: r.map((e, b) => {
108
- const f = `${$ || e.name || e.dataKey || "value"}`, d = p(g, e, f), x = N || e.payload.fill || e.color;
109
- return /* @__PURE__ */ t.jsx(
106
+ x ? null : C,
107
+ /* @__PURE__ */ s("div", { className: "grid gap-1.5", children: r.map((e, _) => {
108
+ const g = `${L || e.name || e.dataKey || "value"}`, d = k(m, e, g), v = $ || e.payload.fill || e.color;
109
+ return /* @__PURE__ */ s(
110
110
  "div",
111
111
  {
112
112
  className: u(
113
113
  "[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5",
114
- n === "dot" && "items-center"
114
+ t === "dot" && "items-center"
115
115
  ),
116
- children: _ && (e == null ? void 0 : e.value) !== void 0 && e.name ? _(e.value, e.name, e, b, e.payload) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
117
- d != null && d.icon ? /* @__PURE__ */ t.jsx(d.icon, {}) : !h && /* @__PURE__ */ t.jsx(
116
+ children: w && (e == null ? void 0 : e.value) !== void 0 && e.name ? w(e.value, e.name, e, _, e.payload) : /* @__PURE__ */ f(T, { children: [
117
+ d != null && d.icon ? /* @__PURE__ */ s(d.icon, {}) : !h && /* @__PURE__ */ s(
118
118
  "div",
119
119
  {
120
120
  className: u(
121
121
  "shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)",
122
122
  {
123
- "h-2.5 w-2.5": n === "dot",
124
- "w-1": n === "line",
125
- "w-0 border-[1.5px] border-dashed bg-transparent": n === "dashed",
126
- "my-0.5": v && n === "dashed"
123
+ "h-2.5 w-2.5": t === "dot",
124
+ "w-1": t === "line",
125
+ "w-0 border-[1.5px] border-dashed bg-transparent": t === "dashed",
126
+ "my-0.5": x && t === "dashed"
127
127
  }
128
128
  ),
129
129
  style: {
130
- "--color-bg": x,
131
- "--color-border": x
130
+ "--color-bg": v,
131
+ "--color-border": v
132
132
  }
133
133
  }
134
134
  ),
135
- /* @__PURE__ */ t.jsxs(
135
+ /* @__PURE__ */ f(
136
136
  "div",
137
137
  {
138
138
  className: u(
139
139
  "flex flex-1 justify-between leading-none",
140
- v ? "items-end" : "items-center"
140
+ x ? "items-end" : "items-center"
141
141
  ),
142
142
  children: [
143
- /* @__PURE__ */ t.jsxs("div", { className: "grid gap-1.5", children: [
144
- v ? k : null,
145
- /* @__PURE__ */ t.jsx("span", { className: "text-muted-foreground", children: (d == null ? void 0 : d.label) || e.name })
143
+ /* @__PURE__ */ f("div", { className: "grid gap-1.5", children: [
144
+ x ? C : null,
145
+ /* @__PURE__ */ s("span", { className: "text-muted-foreground", children: (d == null ? void 0 : d.label) || e.name })
146
146
  ] }),
147
- e.value && /* @__PURE__ */ t.jsx("span", { className: "text-foreground font-mono font-medium tabular-nums", children: e.value.toLocaleString() })
147
+ e.value && /* @__PURE__ */ s("span", { className: "text-foreground font-mono font-medium tabular-nums", children: e.value.toLocaleString() })
148
148
  ]
149
149
  }
150
150
  )
@@ -157,33 +157,33 @@ function z({
157
157
  }
158
158
  );
159
159
  }
160
- const A = T;
161
- function B({
160
+ const D = P;
161
+ function F({
162
162
  className: c,
163
163
  hideIcon: r = !1,
164
- payload: s,
165
- verticalAlign: n = "bottom",
164
+ payload: n,
165
+ verticalAlign: t = "bottom",
166
166
  nameKey: a
167
167
  }) {
168
- const { config: h } = C();
169
- return s != null && s.length ? /* @__PURE__ */ t.jsx(
168
+ const { config: h } = j();
169
+ return n != null && n.length ? /* @__PURE__ */ s(
170
170
  "div",
171
171
  {
172
172
  className: u(
173
173
  "flex items-center justify-center gap-4",
174
- n === "top" ? "pb-3" : "pt-3",
174
+ t === "top" ? "pb-3" : "pt-3",
175
175
  c
176
176
  ),
177
- children: s.map((o) => {
178
- const i = `${a || o.dataKey || "value"}`, l = p(h, o, i);
179
- return /* @__PURE__ */ t.jsxs(
177
+ children: n.map((o) => {
178
+ const i = `${a || o.dataKey || "value"}`, l = k(h, o, i);
179
+ return /* @__PURE__ */ f(
180
180
  "div",
181
181
  {
182
182
  className: u(
183
183
  "[&>svg]:text-muted-foreground flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3"
184
184
  ),
185
185
  children: [
186
- l != null && l.icon && !r ? /* @__PURE__ */ t.jsx(l.icon, {}) : /* @__PURE__ */ t.jsx(
186
+ l != null && l.icon && !r ? /* @__PURE__ */ s(l.icon, {}) : /* @__PURE__ */ s(
187
187
  "div",
188
188
  {
189
189
  className: "h-2 w-2 shrink-0 rounded-[2px]",
@@ -201,18 +201,18 @@ function B({
201
201
  }
202
202
  ) : null;
203
203
  }
204
- function p(c, r, s) {
204
+ function k(c, r, n) {
205
205
  if (typeof r != "object" || r === null)
206
206
  return;
207
- const n = "payload" in r && typeof r.payload == "object" && r.payload !== null ? r.payload : void 0;
208
- let a = s;
209
- return s in r && typeof r[s] == "string" ? a = r[s] : n && s in n && typeof n[s] == "string" && (a = n[s]), a in c ? c[a] : c[s];
207
+ const t = "payload" in r && typeof r.payload == "object" && r.payload !== null ? r.payload : void 0;
208
+ let a = n;
209
+ return n in r && typeof r[n] == "string" ? a = r[n] : t && n in t && typeof t[n] == "string" && (a = t[n]), a in c ? c[a] : c[n];
210
210
  }
211
211
  export {
212
- O as ChartContainer,
213
- A as ChartLegend,
214
- B as ChartLegendContent,
215
- P as ChartStyle,
216
- q as ChartTooltip,
217
- z as ChartTooltipContent
212
+ z as ChartContainer,
213
+ D as ChartLegend,
214
+ F as ChartLegendContent,
215
+ K as ChartStyle,
216
+ A as ChartTooltip,
217
+ B as ChartTooltipContent
218
218
  };
@@ -1,18 +1,18 @@
1
1
  "use client";
2
- import { j as e } from "../../_virtual/jsx-runtime.js";
3
- import { useMemo as N, Suspense as p, useState as v } from "react";
4
- import { cva as y } from "../../node_modules/class-variance-authority/dist/index.js";
5
- import { cn as i } from "../../lib/utils.js";
6
- import { Collapsible as w, CollapsibleTrigger as C, CollapsibleContent as k } from "./collapsible.js";
7
- import { FilePreview as U } from "./file-preview.js";
8
- import { MarkdownRenderer as g } from "./markdown-renderer.js";
9
- import S from "../../node_modules/lucide-react/dist/esm/icons/chevron-right.js";
10
- import { motion as T } from "../../node_modules/framer-motion/dist/es/render/components/motion/proxy.js";
11
- import O from "../../node_modules/lucide-react/dist/esm/icons/ban.js";
2
+ import { jsxs as l, jsx as e } from "react/jsx-runtime";
3
+ import { useMemo as y, Suspense as h, useState as w } from "react";
4
+ import { cva as C } from "../../node_modules/class-variance-authority/dist/index.js";
5
+ import { motion as k } from "framer-motion";
6
+ import { cn as n } from "../../lib/utils.js";
7
+ import { Collapsible as U, CollapsibleTrigger as S, CollapsibleContent as T } from "./collapsible.js";
8
+ import { FilePreview as O } from "./file-preview.js";
9
+ import { MarkdownRenderer as x } from "./markdown-renderer.js";
10
+ import B from "../../node_modules/lucide-react/dist/esm/icons/chevron-right.js";
11
+ import M from "../../node_modules/lucide-react/dist/esm/icons/ban.js";
12
12
  import R from "../../node_modules/lucide-react/dist/esm/icons/code-xml.js";
13
- import B from "../../node_modules/lucide-react/dist/esm/icons/terminal.js";
14
- import M from "../../node_modules/lucide-react/dist/esm/icons/loader-circle.js";
15
- const h = y(
13
+ import $ from "../../node_modules/lucide-react/dist/esm/icons/terminal.js";
14
+ import j from "../../node_modules/lucide-react/dist/esm/icons/loader-circle.js";
15
+ const b = C(
16
16
  "group/message relative break-words rounded-lg p-3 text-sm sm:max-w-[70%]",
17
17
  {
18
18
  variants: {
@@ -50,199 +50,199 @@ const h = y(
50
50
  }
51
51
  ]
52
52
  }
53
- ), Y = ({
54
- role: t,
55
- content: r,
56
- createdAt: s,
57
- showTimeStamp: d = !1,
58
- animation: o = "scale",
59
- actions: m,
60
- experimental_attachments: c,
61
- toolInvocations: u,
62
- parts: x
53
+ ), Z = ({
54
+ role: a,
55
+ content: t,
56
+ createdAt: r,
57
+ showTimeStamp: m = !1,
58
+ animation: d = "scale",
59
+ actions: c,
60
+ experimental_attachments: u,
61
+ toolInvocations: f,
62
+ parts: p
63
63
  }) => {
64
- const j = N(() => c == null ? void 0 : c.map((l) => {
65
- const n = $(l.url);
66
- return new File([n], l.name ?? "Unknown");
67
- }), [c]), a = t === "user", f = s == null ? void 0 : s.toLocaleTimeString("en-US", {
64
+ const N = y(() => u == null ? void 0 : u.map((i) => {
65
+ const o = F(i.url);
66
+ return new File([o], i.name ?? "Unknown");
67
+ }), [u]), s = a === "user", g = r == null ? void 0 : r.toLocaleTimeString("en-US", {
68
68
  hour: "2-digit",
69
69
  minute: "2-digit"
70
70
  });
71
- return a ? /* @__PURE__ */ e.jsxs(
71
+ return s ? /* @__PURE__ */ l(
72
72
  "div",
73
73
  {
74
- className: i("flex flex-col", a ? "items-end" : "items-start"),
74
+ className: n("flex flex-col", s ? "items-end" : "items-start"),
75
75
  children: [
76
- j ? /* @__PURE__ */ e.jsx("div", { className: "mb-1 flex flex-wrap gap-2", children: j.map((l, n) => /* @__PURE__ */ e.jsx(U, { file: l }, n)) }) : null,
77
- /* @__PURE__ */ e.jsx("div", { className: i(h({ isUser: a, animation: o })), children: /* @__PURE__ */ e.jsx(p, { fallback: /* @__PURE__ */ e.jsx("div", { className: "text-muted-foreground", children: "Caricamento..." }), children: /* @__PURE__ */ e.jsx(g, { children: r }) }) }),
78
- d && s ? /* @__PURE__ */ e.jsx(
76
+ N ? /* @__PURE__ */ e("div", { className: "mb-1 flex flex-wrap gap-2", children: N.map((i, o) => /* @__PURE__ */ e(O, { file: i }, o)) }) : null,
77
+ /* @__PURE__ */ e("div", { className: n(b({ isUser: s, animation: d })), children: /* @__PURE__ */ e(h, { fallback: /* @__PURE__ */ e("div", { className: "text-muted-foreground", children: "Caricamento..." }), children: /* @__PURE__ */ e(x, { children: t }) }) }),
78
+ m && r ? /* @__PURE__ */ e(
79
79
  "time",
80
80
  {
81
- dateTime: s.toISOString(),
82
- className: i(
81
+ dateTime: r.toISOString(),
82
+ className: n(
83
83
  "mt-1 block px-1 text-xs opacity-50",
84
- o !== "none" && "duration-500 animate-in fade-in-0"
84
+ d !== "none" && "duration-500 animate-in fade-in-0"
85
85
  ),
86
- children: f
86
+ children: g
87
87
  }
88
88
  ) : null
89
89
  ]
90
90
  }
91
- ) : x && x.length > 0 ? x.map((l, n) => l.type === "text" ? /* @__PURE__ */ e.jsxs(
91
+ ) : p && p.length > 0 ? p.map((i, o) => i.type === "text" ? /* @__PURE__ */ l(
92
92
  "div",
93
93
  {
94
- className: i(
94
+ className: n(
95
95
  "flex flex-col",
96
- a ? "items-end" : "items-start"
96
+ s ? "items-end" : "items-start"
97
97
  ),
98
98
  children: [
99
- /* @__PURE__ */ e.jsxs("div", { className: i(h({ isUser: a, animation: o })), children: [
100
- /* @__PURE__ */ e.jsx(p, { fallback: /* @__PURE__ */ e.jsx("div", { className: "text-muted-foreground", children: "Caricamento..." }), children: /* @__PURE__ */ e.jsx(g, { children: l.text }) }),
101
- m ? /* @__PURE__ */ e.jsx("div", { className: "absolute -bottom-4 right-2 flex space-x-1 rounded-lg border bg-background p-1 text-foreground opacity-0 transition-opacity group-hover/message:opacity-100", children: m }) : null
99
+ /* @__PURE__ */ l("div", { className: n(b({ isUser: s, animation: d })), children: [
100
+ /* @__PURE__ */ e(h, { fallback: /* @__PURE__ */ e("div", { className: "text-muted-foreground", children: "Caricamento..." }), children: /* @__PURE__ */ e(x, { children: i.text }) }),
101
+ c ? /* @__PURE__ */ e("div", { className: "absolute -bottom-4 right-2 flex space-x-1 rounded-lg border bg-background p-1 text-foreground opacity-0 transition-opacity group-hover/message:opacity-100", children: c }) : null
102
102
  ] }),
103
- d && s ? /* @__PURE__ */ e.jsx(
103
+ m && r ? /* @__PURE__ */ e(
104
104
  "time",
105
105
  {
106
- dateTime: s.toISOString(),
107
- className: i(
106
+ dateTime: r.toISOString(),
107
+ className: n(
108
108
  "mt-1 block px-1 text-xs opacity-50",
109
- o !== "none" && "duration-500 animate-in fade-in-0"
109
+ d !== "none" && "duration-500 animate-in fade-in-0"
110
110
  ),
111
- children: f
111
+ children: g
112
112
  }
113
113
  ) : null
114
114
  ]
115
115
  },
116
- `text-${n}`
117
- ) : l.type === "reasoning" ? /* @__PURE__ */ e.jsx(F, { part: l }, `reasoning-${n}`) : l.type === "tool-invocation" ? /* @__PURE__ */ e.jsx(
118
- b,
116
+ `text-${o}`
117
+ ) : i.type === "reasoning" ? /* @__PURE__ */ e(L, { part: i }, `reasoning-${o}`) : i.type === "tool-invocation" ? /* @__PURE__ */ e(
118
+ v,
119
119
  {
120
- toolInvocations: [l.toolInvocation]
120
+ toolInvocations: [i.toolInvocation]
121
121
  },
122
- `tool-${n}`
123
- ) : null) : u && u.length > 0 ? /* @__PURE__ */ e.jsx(b, { toolInvocations: u }) : /* @__PURE__ */ e.jsxs("div", { className: i("flex flex-col", a ? "items-end" : "items-start"), children: [
124
- /* @__PURE__ */ e.jsxs("div", { className: i(h({ isUser: a, animation: o })), children: [
125
- /* @__PURE__ */ e.jsx(p, { fallback: /* @__PURE__ */ e.jsx("div", { className: "text-muted-foreground", children: "Caricamento..." }), children: /* @__PURE__ */ e.jsx(g, { children: r }) }),
126
- m ? /* @__PURE__ */ e.jsx("div", { className: "absolute -bottom-4 right-2 flex space-x-1 rounded-lg border bg-background p-1 text-foreground opacity-0 transition-opacity group-hover/message:opacity-100", children: m }) : null
122
+ `tool-${o}`
123
+ ) : null) : f && f.length > 0 ? /* @__PURE__ */ e(v, { toolInvocations: f }) : /* @__PURE__ */ l("div", { className: n("flex flex-col", s ? "items-end" : "items-start"), children: [
124
+ /* @__PURE__ */ l("div", { className: n(b({ isUser: s, animation: d })), children: [
125
+ /* @__PURE__ */ e(h, { fallback: /* @__PURE__ */ e("div", { className: "text-muted-foreground", children: "Caricamento..." }), children: /* @__PURE__ */ e(x, { children: t }) }),
126
+ c ? /* @__PURE__ */ e("div", { className: "absolute -bottom-4 right-2 flex space-x-1 rounded-lg border bg-background p-1 text-foreground opacity-0 transition-opacity group-hover/message:opacity-100", children: c }) : null
127
127
  ] }),
128
- d && s ? /* @__PURE__ */ e.jsx(
128
+ m && r ? /* @__PURE__ */ e(
129
129
  "time",
130
130
  {
131
- dateTime: s.toISOString(),
132
- className: i(
131
+ dateTime: r.toISOString(),
132
+ className: n(
133
133
  "mt-1 block px-1 text-xs opacity-50",
134
- o !== "none" && "duration-500 animate-in fade-in-0"
134
+ d !== "none" && "duration-500 animate-in fade-in-0"
135
135
  ),
136
- children: f
136
+ children: g
137
137
  }
138
138
  ) : null
139
139
  ] });
140
140
  };
141
- function $(t) {
142
- const r = t.split(",")[1], s = Buffer.from(r, "base64");
143
- return new Uint8Array(s);
141
+ function F(a) {
142
+ const t = a.split(",")[1], r = Buffer.from(t, "base64");
143
+ return new Uint8Array(r);
144
144
  }
145
- const F = ({ part: t }) => {
146
- const [r, s] = v(!1);
147
- return /* @__PURE__ */ e.jsx("div", { className: "mb-2 flex flex-col items-start sm:max-w-[70%]", children: /* @__PURE__ */ e.jsxs(
148
- w,
145
+ const L = ({ part: a }) => {
146
+ const [t, r] = w(!1);
147
+ return /* @__PURE__ */ e("div", { className: "mb-2 flex flex-col items-start sm:max-w-[70%]", children: /* @__PURE__ */ l(
148
+ U,
149
149
  {
150
- open: r,
151
- onOpenChange: s,
150
+ open: t,
151
+ onOpenChange: r,
152
152
  className: "group w-full overflow-hidden rounded-lg border bg-muted/50",
153
153
  children: [
154
- /* @__PURE__ */ e.jsx("div", { className: "flex items-center p-2", children: /* @__PURE__ */ e.jsx(C, { asChild: !0, children: /* @__PURE__ */ e.jsxs("button", { className: "flex items-center gap-2 text-sm text-muted-foreground hover:text-foreground", children: [
155
- /* @__PURE__ */ e.jsx(S, { className: "h-4 w-4 transition-transform group-data-[state=open]:rotate-90" }),
156
- /* @__PURE__ */ e.jsx("span", { children: "Thinking" })
154
+ /* @__PURE__ */ e("div", { className: "flex items-center p-2", children: /* @__PURE__ */ e(S, { asChild: !0, children: /* @__PURE__ */ l("button", { className: "flex items-center gap-2 text-sm text-muted-foreground hover:text-foreground", children: [
155
+ /* @__PURE__ */ e(B, { className: "h-4 w-4 transition-transform group-data-[state=open]:rotate-90" }),
156
+ /* @__PURE__ */ e("span", { children: "Thinking" })
157
157
  ] }) }) }),
158
- /* @__PURE__ */ e.jsx(k, { forceMount: !0, children: /* @__PURE__ */ e.jsx(
159
- T.div,
158
+ /* @__PURE__ */ e(T, { forceMount: !0, children: /* @__PURE__ */ e(
159
+ k.div,
160
160
  {
161
161
  initial: !1,
162
- animate: r ? "open" : "closed",
162
+ animate: t ? "open" : "closed",
163
163
  variants: {
164
164
  open: { height: "auto", opacity: 1 },
165
165
  closed: { height: 0, opacity: 0 }
166
166
  },
167
167
  transition: { duration: 0.3, ease: [0.04, 0.62, 0.23, 0.98] },
168
168
  className: "border-t",
169
- children: /* @__PURE__ */ e.jsx("div", { className: "p-2", children: /* @__PURE__ */ e.jsx("div", { className: "whitespace-pre-wrap text-xs", children: t.reasoning }) })
169
+ children: /* @__PURE__ */ e("div", { className: "p-2", children: /* @__PURE__ */ e("div", { className: "whitespace-pre-wrap text-xs", children: a.reasoning }) })
170
170
  }
171
171
  ) })
172
172
  ]
173
173
  }
174
174
  ) });
175
175
  };
176
- function b({
177
- toolInvocations: t
176
+ function v({
177
+ toolInvocations: a
178
178
  }) {
179
- return t != null && t.length ? /* @__PURE__ */ e.jsx("div", { className: "flex flex-col items-start gap-2", children: t.map((r, s) => {
180
- if (r.state === "result" && r.result.__cancelled === !0)
181
- return /* @__PURE__ */ e.jsxs(
179
+ return a != null && a.length ? /* @__PURE__ */ e("div", { className: "flex flex-col items-start gap-2", children: a.map((t, r) => {
180
+ if (t.state === "result" && t.result.__cancelled === !0)
181
+ return /* @__PURE__ */ l(
182
182
  "div",
183
183
  {
184
184
  className: "flex items-center gap-2 rounded-lg border bg-muted/50 px-3 py-2 text-sm text-muted-foreground",
185
185
  children: [
186
- /* @__PURE__ */ e.jsx(O, { className: "h-4 w-4" }),
187
- /* @__PURE__ */ e.jsxs("span", { children: [
186
+ /* @__PURE__ */ e(M, { className: "h-4 w-4" }),
187
+ /* @__PURE__ */ l("span", { children: [
188
188
  "Cancelled",
189
189
  " ",
190
- /* @__PURE__ */ e.jsxs("span", { className: "font-mono", children: [
190
+ /* @__PURE__ */ l("span", { className: "font-mono", children: [
191
191
  "`",
192
- r.toolName,
192
+ t.toolName,
193
193
  "`"
194
194
  ] })
195
195
  ] })
196
196
  ]
197
197
  },
198
- s
198
+ r
199
199
  );
200
- switch (r.state) {
200
+ switch (t.state) {
201
201
  case "partial-call":
202
202
  case "call":
203
- return /* @__PURE__ */ e.jsxs(
203
+ return /* @__PURE__ */ l(
204
204
  "div",
205
205
  {
206
206
  className: "flex items-center gap-2 rounded-lg border bg-muted/50 px-3 py-2 text-sm text-muted-foreground",
207
207
  children: [
208
- /* @__PURE__ */ e.jsx(B, { className: "h-4 w-4" }),
209
- /* @__PURE__ */ e.jsxs("span", { children: [
208
+ /* @__PURE__ */ e($, { className: "h-4 w-4" }),
209
+ /* @__PURE__ */ l("span", { children: [
210
210
  "Calling",
211
211
  " ",
212
- /* @__PURE__ */ e.jsxs("span", { className: "font-mono", children: [
212
+ /* @__PURE__ */ l("span", { className: "font-mono", children: [
213
213
  "`",
214
- r.toolName,
214
+ t.toolName,
215
215
  "`"
216
216
  ] }),
217
217
  "..."
218
218
  ] }),
219
- /* @__PURE__ */ e.jsx(M, { className: "h-3 w-3 animate-spin" })
219
+ /* @__PURE__ */ e(j, { className: "h-3 w-3 animate-spin" })
220
220
  ]
221
221
  },
222
- s
222
+ r
223
223
  );
224
224
  case "result":
225
- return /* @__PURE__ */ e.jsxs(
225
+ return /* @__PURE__ */ l(
226
226
  "div",
227
227
  {
228
228
  className: "flex flex-col gap-1.5 rounded-lg border bg-muted/50 px-3 py-2 text-sm",
229
229
  children: [
230
- /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 text-muted-foreground", children: [
231
- /* @__PURE__ */ e.jsx(R, { className: "h-4 w-4" }),
232
- /* @__PURE__ */ e.jsxs("span", { children: [
230
+ /* @__PURE__ */ l("div", { className: "flex items-center gap-2 text-muted-foreground", children: [
231
+ /* @__PURE__ */ e(R, { className: "h-4 w-4" }),
232
+ /* @__PURE__ */ l("span", { children: [
233
233
  "Result from",
234
234
  " ",
235
- /* @__PURE__ */ e.jsxs("span", { className: "font-mono", children: [
235
+ /* @__PURE__ */ l("span", { className: "font-mono", children: [
236
236
  "`",
237
- r.toolName,
237
+ t.toolName,
238
238
  "`"
239
239
  ] })
240
240
  ] })
241
241
  ] }),
242
- /* @__PURE__ */ e.jsx("pre", { className: "overflow-x-auto whitespace-pre-wrap text-foreground", children: JSON.stringify(r.result, null, 2) })
242
+ /* @__PURE__ */ e("pre", { className: "overflow-x-auto whitespace-pre-wrap text-foreground", children: JSON.stringify(t.result, null, 2) })
243
243
  ]
244
244
  },
245
- s
245
+ r
246
246
  );
247
247
  default:
248
248
  return null;
@@ -250,5 +250,5 @@ function b({
250
250
  }) }) : null;
251
251
  }
252
252
  export {
253
- Y as ChatMessage
253
+ Z as ChatMessage
254
254
  };