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,59 +1,59 @@
1
1
  "use client";
2
- import { j as s } from "../../../../../_virtual/jsx-runtime.js";
3
- import { useContext as _, useRef as a, useState as o, useCallback as M, useMemo as N, useEffect as u } from "react";
4
- import k from "../../../../../_virtual/index5.js";
5
- import y from "../../../../../_virtual/debounce.js";
6
- import { GanttContext as A } from "../Gantt/GanttContext.js";
7
- import { transformData as B } from "../../utils/transformData.js";
8
- import F from "./Scale/Scale.js";
9
- import O from "./Tree/Tree.js";
10
- import P from "./Bars/Bars.js";
2
+ import { jsx as o, jsxs as M, Fragment as N } from "react/jsx-runtime";
3
+ import { useContext as R, useRef as a, useState as s, useCallback as k, useMemo as y, useEffect as u } from "react";
4
+ import A from "../../../../../_virtual/index6.js";
5
+ import B from "../../../../../_virtual/debounce.js";
6
+ import { GanttContext as F } from "../Gantt/GanttContext.js";
7
+ import { transformData as O } from "../../utils/transformData.js";
8
+ import P from "./Scale/Scale.js";
9
+ import q from "./Tree/Tree.js";
10
+ import v from "./Bars/Bars.js";
11
11
  import { GanttConsts as m } from "../../constants/GanttConsts.js";
12
- import { GanttDimensionsSettings as q } from "../../constants/DimensionsSettings.js";
13
- const w = ({ data: f, className: H, onBarDoubleClick: S, onBarChange: W }) => {
14
- const { settings: n, scaleDates: c, wrapRef: t, setCurrentDate: d, treeTitle: I } = _(A), h = a(null), T = a(null), g = a(null), [D, i] = o([]), [l, b] = o(!0), [p, G] = o(0), [x, L] = o(0), E = M(() => {
12
+ import { GanttDimensionsSettings as z } from "../../constants/DimensionsSettings.js";
13
+ const et = ({ data: f, className: x, onBarDoubleClick: W, onBarChange: I }) => {
14
+ const { settings: n, scaleDates: c, wrapRef: t, setCurrentDate: d, treeTitle: b } = R(F), h = a(null), T = a(null), g = a(null), [D, i] = s([]), [l, G] = s(!0), [p, L] = s(0), [C, _] = s(0), E = k(() => {
15
15
  var r;
16
16
  const e = Math.round(
17
- ((((r = t == null ? void 0 : t.current) == null ? void 0 : r.scrollLeft) || 0) + m.TREE_WIDTH) * q[n.dimension].secondsInPixel
17
+ ((((r = t == null ? void 0 : t.current) == null ? void 0 : r.scrollLeft) || 0) + m.TREE_WIDTH) * z[n.dimension].secondsInPixel
18
18
  );
19
19
  d(c[0] + e);
20
- }, [c, d, n.dimension, t]), R = N(() => y(E, 100), [E]);
20
+ }, [c, d, n.dimension, t]), j = y(() => B(E, 100), [E]);
21
21
  return u(() => {
22
22
  var e, r;
23
- (e = t == null ? void 0 : t.current) != null && e.clientWidth && ((r = t == null ? void 0 : t.current) != null && r.clientHeight) && (G(t.current.clientWidth - m.TREE_WIDTH), L(t.current.clientHeight - m.HEADER_HEIGHT), b(!1));
23
+ (e = t == null ? void 0 : t.current) != null && e.clientWidth && ((r = t == null ? void 0 : t.current) != null && r.clientHeight) && (L(t.current.clientWidth - m.TREE_WIDTH), _(t.current.clientHeight - m.HEADER_HEIGHT), G(!1));
24
24
  }, []), u(() => {
25
25
  !l && t.current && (t.current.scrollLeft = n.initialScrollOffset);
26
26
  }, [l]), u(() => {
27
- i(B(f));
28
- }, [f]), /* @__PURE__ */ s.jsx(
27
+ i(O(f));
28
+ }, [f]), /* @__PURE__ */ o(
29
29
  "div",
30
30
  {
31
- className: k("gantt-chart-wrap", H),
31
+ className: A("gantt-chart-wrap", x),
32
32
  ref: t,
33
33
  onScroll: (e) => {
34
- var r, j, C;
35
- (r = g.current) == null || r.scrollTo(e.currentTarget.scrollTop), (j = T.current) == null || j.scrollTo(e.currentTarget.scrollTop), (C = h.current) == null || C.scrollTo(e.currentTarget.scrollLeft), R();
34
+ var r, H, S;
35
+ (r = g.current) == null || r.scrollTo(e.currentTarget.scrollTop), (H = T.current) == null || H.scrollTo(e.currentTarget.scrollTop), (S = h.current) == null || S.scrollTo(e.currentTarget.scrollLeft), j();
36
36
  },
37
- children: l ? /* @__PURE__ */ s.jsx(
37
+ children: l ? /* @__PURE__ */ o(
38
38
  "div",
39
39
  {
40
40
  style: {
41
41
  width: n.scaleStepItems * n.stepWidth * c.length
42
42
  }
43
43
  }
44
- ) : /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
45
- /* @__PURE__ */ s.jsx(F, { width: p, wrapRef: t, ref: h }),
46
- /* @__PURE__ */ s.jsx(O, { height: x, data: D, setData: i, ref: T, treeTitle: I }),
47
- /* @__PURE__ */ s.jsx(
48
- P,
44
+ ) : /* @__PURE__ */ M(N, { children: [
45
+ /* @__PURE__ */ o(P, { width: p, wrapRef: t, ref: h }),
46
+ /* @__PURE__ */ o(q, { height: C, data: D, setData: i, ref: T, treeTitle: b }),
47
+ /* @__PURE__ */ o(
48
+ v,
49
49
  {
50
50
  ref: g,
51
51
  data: D,
52
52
  setData: i,
53
53
  width: p,
54
- height: x,
55
- onBarDoubleClick: S,
56
- onBarChange: W
54
+ height: C,
55
+ onBarDoubleClick: W,
56
+ onBarChange: I
57
57
  }
58
58
  )
59
59
  ] })
@@ -61,5 +61,5 @@ const w = ({ data: f, className: H, onBarDoubleClick: S, onBarChange: W }) => {
61
61
  );
62
62
  };
63
63
  export {
64
- w as default
64
+ et as default
65
65
  };
@@ -1,87 +1,87 @@
1
1
  "use client";
2
- import { j as a } from "../../../../../../_virtual/jsx-runtime.js";
3
- import { forwardRef as T, useContext as A, useRef as M, useCallback as u, useEffect as C } from "react";
2
+ import { jsx as o, jsxs as A } from "react/jsx-runtime";
3
+ import { forwardRef as C, useContext as O, useRef as M, useCallback as u, useEffect as _ } from "react";
4
4
  import c from "../../../../../../_virtual/dayjs.min.js";
5
- import { VariableSizeList as O } from "../../../../../../node_modules/react-window/dist/index.esm.js";
6
- import { GanttContext as R } from "../../Gantt/GanttContext.js";
7
- import { useForwardRef as _ } from "../../../hooks/useForwardRef.js";
8
- import { getScaleItems as v } from "../../../utils/getScaleItems.js";
5
+ import { VariableSizeList as v } from "../../../../../../node_modules/react-window/dist/index.esm.js";
6
+ import { GanttContext as w } from "../../Gantt/GanttContext.js";
7
+ import { useForwardRef as F } from "../../../hooks/useForwardRef.js";
8
+ import { getScaleItems as G } from "../../../utils/getScaleItems.js";
9
9
  import { GanttDimensions as p } from "../../../enums/GanttDimensions.js";
10
- import { GanttDimensionsSettings as w } from "../../../constants/DimensionsSettings.js";
10
+ import { GanttDimensionsSettings as L } from "../../../constants/DimensionsSettings.js";
11
11
  import { GanttConsts as m } from "../../../constants/GanttConsts.js";
12
- const F = T(({ width: W, wrapRef: f }, y) => {
13
- const { scaleDates: n, setScaleDates: d, setScaleRenderState: h, settings: t } = A(R), e = _(y), l = M(null), j = M(null), E = u(
14
- (s) => {
15
- const i = c.unix(n[s]);
12
+ const R = C(({ width: W, wrapRef: f }, y) => {
13
+ const { scaleDates: s, setScaleDates: d, setScaleRenderState: h, settings: t } = O(w), e = F(y), l = M(null), N = M(null), Y = u(
14
+ (n) => {
15
+ const i = c.unix(s[n]);
16
16
  return t.dimension === p.DAY ? i.daysInMonth() * t.stepWidth : t.scaleStepItems * t.stepWidth;
17
17
  },
18
- [n, t.dimension, t.scaleStepItems, t.stepWidth]
19
- ), N = u(
20
- ({ scrollOffset: s }) => {
21
- var r, o, S, x, I;
22
- const i = w[t.dimension].unitOfTime;
23
- if (s < m.MIN_SCROLL_OFFSET) {
24
- const g = c.unix(n[0]).subtract(1, i);
18
+ [s, t.dimension, t.scaleStepItems, t.stepWidth]
19
+ ), E = u(
20
+ ({ scrollOffset: n }) => {
21
+ var r, a, S, I, g;
22
+ const i = L[t.dimension].unitOfTime;
23
+ if (n < m.MIN_SCROLL_OFFSET) {
24
+ const x = c.unix(s[0]).subtract(1, i);
25
25
  let D = t.scaleStepItems * t.stepWidth;
26
- t.dimension === p.DAY && (D = g.daysInMonth() * t.stepWidth), d([g.unix(), ...n]), (r = f.current) == null || r.scrollTo({ left: s + D }), (o = e == null ? void 0 : e.current) == null || o.resetAfterIndex(0);
26
+ t.dimension === p.DAY && (D = x.daysInMonth() * t.stepWidth), d([x.unix(), ...s]), (r = f.current) == null || r.scrollTo({ left: n + D }), (a = e == null ? void 0 : e.current) == null || a.resetAfterIndex(0);
27
27
  }
28
- (((S = l.current) == null ? void 0 : S.scrollWidth) || 0) - (((x = l.current) == null ? void 0 : x.clientWidth) || 0) - s - m.TREE_WIDTH < m.MIN_SCROLL_OFFSET && (d([
29
- ...n,
30
- c.unix(n[n.length - 1]).add(1, i).unix()
31
- ]), (I = e == null ? void 0 : e.current) == null || I.resetAfterIndex(0));
28
+ (((S = l.current) == null ? void 0 : S.scrollWidth) || 0) - (((I = l.current) == null ? void 0 : I.clientWidth) || 0) - n - m.TREE_WIDTH < m.MIN_SCROLL_OFFSET && (d([
29
+ ...s,
30
+ c.unix(s[s.length - 1]).add(1, i).unix()
31
+ ]), (g = e == null ? void 0 : e.current) == null || g.resetAfterIndex(0));
32
32
  },
33
33
  [
34
34
  e,
35
- n,
35
+ s,
36
36
  d,
37
37
  t.dimension,
38
38
  t.scaleStepItems,
39
39
  t.stepWidth,
40
40
  f
41
41
  ]
42
- ), Y = u(
43
- (s) => {
44
- h(s);
42
+ ), T = u(
43
+ (n) => {
44
+ h(n);
45
45
  },
46
46
  [h]
47
47
  );
48
- return C(() => {
49
- var s;
50
- (s = e == null ? void 0 : e.current) == null || s.resetAfterIndex(0);
51
- }, [e, t.dimension]), /* @__PURE__ */ a.jsx("div", { className: "gantt-scale-wrap", children: /* @__PURE__ */ a.jsx(
52
- O,
48
+ return _(() => {
49
+ var n;
50
+ (n = e == null ? void 0 : e.current) == null || n.resetAfterIndex(0);
51
+ }, [e, t.dimension]), /* @__PURE__ */ o("div", { className: "gantt-scale-wrap", children: /* @__PURE__ */ o(
52
+ v,
53
53
  {
54
54
  className: "gantt-scale-list",
55
55
  layout: "horizontal",
56
56
  width: W,
57
57
  height: m.HEADER_HEIGHT,
58
- itemCount: n.length,
59
- itemSize: E,
60
- itemData: n,
58
+ itemCount: s.length,
59
+ itemSize: Y,
60
+ itemData: s,
61
61
  ref: e,
62
62
  outerRef: l,
63
- innerRef: j,
63
+ innerRef: N,
64
64
  initialScrollOffset: t.initialScrollOffset,
65
- onScroll: N,
66
- onItemsRendered: Y,
67
- children: ({ style: s, index: i, data: r }) => /* @__PURE__ */ a.jsxs("div", { className: "gantt-scale-item", style: s, children: [
68
- /* @__PURE__ */ a.jsx("div", { className: "gantt-scale-title", children: c.unix(r[i]).format(
65
+ onScroll: E,
66
+ onItemsRendered: T,
67
+ children: ({ style: n, index: i, data: r }) => /* @__PURE__ */ A("div", { className: "gantt-scale-item", style: n, children: [
68
+ /* @__PURE__ */ o("div", { className: "gantt-scale-title", children: c.unix(r[i]).format(
69
69
  t.dimension === p.DAY ? "MMMM, YYYY" : "ddd, D MMMM, YY"
70
70
  ) }),
71
- /* @__PURE__ */ a.jsx("div", { className: "gantt-scale-steps", children: v(t.dimension, r[i]).map((o) => /* @__PURE__ */ a.jsx(
71
+ /* @__PURE__ */ o("div", { className: "gantt-scale-steps", children: G(t.dimension, r[i]).map((a) => /* @__PURE__ */ o(
72
72
  "div",
73
73
  {
74
74
  className: "gantt-scale-step",
75
75
  style: { width: t.stepWidth },
76
- children: o
76
+ children: a
77
77
  },
78
- o
78
+ a
79
79
  )) })
80
80
  ] })
81
81
  }
82
82
  ) });
83
83
  });
84
- F.displayName = "Scale";
84
+ R.displayName = "Scale";
85
85
  export {
86
- F as default
86
+ R as default
87
87
  };
@@ -1,61 +1,61 @@
1
1
  "use client";
2
- import { j as r } from "../../../../../../_virtual/jsx-runtime.js";
3
- import { forwardRef as p, useMemo as g, useCallback as f } from "react";
4
- import { VariableSizeList as h } from "../../../../../../node_modules/react-window/dist/index.esm.js";
5
- import { MinusSquareOutlined as x } from "../../../assets/icons/MinusSquareOutlined.js";
6
- import { PlusSquareOutlined as E } from "../../../assets/icons/PlusSquareOutlined.js";
7
- import { GanttConsts as a } from "../../../constants/GanttConsts.js";
8
- const y = p(({ height: d, data: i, setData: l, treeTitle: c = "Attività" }, m) => {
9
- const o = g(() => {
10
- const n = [];
11
- for (const e of i)
12
- e.hasOwnProperty("expanded") && !e.expanded && n.push(e.key);
13
- return i.filter((e) => !e.parentsKeys.some((s) => n.includes(s)));
14
- }, [i]), u = f(
15
- (n) => {
16
- const e = [...i], t = e.find((s) => s.key === n);
2
+ import { jsx as a, jsxs as d } from "react/jsx-runtime";
3
+ import { forwardRef as g, useMemo as f, useCallback as h } from "react";
4
+ import { VariableSizeList as E } from "../../../../../../node_modules/react-window/dist/index.esm.js";
5
+ import { MinusSquareOutlined as y } from "../../../assets/icons/MinusSquareOutlined.js";
6
+ import { PlusSquareOutlined as T } from "../../../assets/icons/PlusSquareOutlined.js";
7
+ import { GanttConsts as i } from "../../../constants/GanttConsts.js";
8
+ const b = g(({ height: c, data: s, setData: l, treeTitle: m = "Attività" }, u) => {
9
+ const o = f(() => {
10
+ const r = [];
11
+ for (const e of s)
12
+ e.hasOwnProperty("expanded") && !e.expanded && r.push(e.key);
13
+ return s.filter((e) => !e.parentsKeys.some((n) => r.includes(n)));
14
+ }, [s]), p = h(
15
+ (r) => {
16
+ const e = [...s], t = e.find((n) => n.key === r);
17
17
  t != null && t.hasOwnProperty("expanded") && (t.expanded = !t.expanded), l(e);
18
18
  },
19
- [i, l]
19
+ [s, l]
20
20
  );
21
- return /* @__PURE__ */ r.jsx(
21
+ return /* @__PURE__ */ a(
22
22
  "div",
23
23
  {
24
24
  className: "gantt-tree-wrap bg-background",
25
25
  style: {
26
- width: a.TREE_WIDTH,
27
- marginTop: -a.HEADER_HEIGHT
26
+ width: i.TREE_WIDTH,
27
+ marginTop: -i.HEADER_HEIGHT
28
28
  },
29
- children: /* @__PURE__ */ r.jsx(
30
- h,
29
+ children: /* @__PURE__ */ a(
30
+ E,
31
31
  {
32
- ref: m,
32
+ ref: u,
33
33
  className: "gantt-tree-list bg-background",
34
34
  layout: "vertical",
35
35
  width: "100%",
36
- height: d,
36
+ height: c,
37
37
  itemCount: o.length,
38
- itemSize: () => a.ROW_HEIGHT,
38
+ itemSize: () => i.ROW_HEIGHT,
39
39
  itemData: o,
40
- innerElementType: ({ children: n, props: e }) => /* @__PURE__ */ r.jsxs("div", { style: { height: o.length * a.ROW_HEIGHT }, ...e, children: [
41
- /* @__PURE__ */ r.jsx("div", { className: "gantt-tree-title bg-background", style: { height: a.HEADER_HEIGHT }, children: c }),
42
- /* @__PURE__ */ r.jsx("div", { className: "gantt-tree-inner-wrap", children: n })
40
+ innerElementType: ({ children: r, props: e }) => /* @__PURE__ */ d("div", { style: { height: o.length * i.ROW_HEIGHT }, ...e, children: [
41
+ /* @__PURE__ */ a("div", { className: "gantt-tree-title bg-background", style: { height: i.HEADER_HEIGHT }, children: m }),
42
+ /* @__PURE__ */ a("div", { className: "gantt-tree-inner-wrap", children: r })
43
43
  ] }),
44
- children: ({ style: n, index: e, data: t }) => {
45
- const s = t[e];
46
- return /* @__PURE__ */ r.jsxs(
44
+ children: ({ style: r, index: e, data: t }) => {
45
+ const n = t[e];
46
+ return /* @__PURE__ */ d(
47
47
  "button",
48
48
  {
49
49
  className: "gantt-tree-list-item bg-background text-foreground",
50
50
  style: {
51
- ...n,
51
+ ...r,
52
52
  backgroundColor: e % 2 === 0 ? "var(--background)" : "var(--muted)",
53
- paddingLeft: a.LEAF_TITLE_PADDING_LEFT + s.level * a.LEAF_CHILDREN_PADDING_LEFT
53
+ paddingLeft: i.LEAF_TITLE_PADDING_LEFT + n.level * i.LEAF_CHILDREN_PADDING_LEFT
54
54
  },
55
- onClick: () => u(s.key),
55
+ onClick: () => p(n.key),
56
56
  children: [
57
- s.hasOwnProperty("expanded") ? s.expanded ? /* @__PURE__ */ r.jsx(x, { className: "gantt-tree-icon" }) : /* @__PURE__ */ r.jsx(E, { className: "gantt-tree-icon" }) : null,
58
- /* @__PURE__ */ r.jsx("div", { children: t[e].title })
57
+ n.hasOwnProperty("expanded") ? n.expanded ? /* @__PURE__ */ a(y, { className: "gantt-tree-icon" }) : /* @__PURE__ */ a(T, { className: "gantt-tree-icon" }) : null,
58
+ /* @__PURE__ */ a("div", { children: t[e].title })
59
59
  ]
60
60
  }
61
61
  );
@@ -65,7 +65,7 @@ const y = p(({ height: d, data: i, setData: l, treeTitle: c = "Attività" }, m)
65
65
  }
66
66
  );
67
67
  });
68
- y.displayName = "Tree";
68
+ b.displayName = "Tree";
69
69
  export {
70
- y as default
70
+ b as default
71
71
  };
@@ -1,83 +1,83 @@
1
1
  "use client";
2
- import { j as n } from "../../../../../_virtual/jsx-runtime.js";
3
- import { useContext as V, useState as x, useMemo as p, useCallback as r } from "react";
4
- import y from "../../../../../_virtual/dayjs.min.js";
5
- import { cn as G } from "../../../../../lib/utils.js";
6
- import { Button as h } from "../../../button.js";
7
- import { Select as j, SelectTrigger as f, SelectValue as g, SelectContent as S, SelectItem as v } from "../../../select.js";
8
- import { GanttContext as P } from "../Gantt/GanttContext.js";
9
- import { useGanttCalculate as R } from "../../hooks/useGanttCalculate.js";
10
- import B from "../../../../../node_modules/lucide-react/dist/esm/icons/chevron-left.js";
11
- import E from "../../../../../node_modules/lucide-react/dist/esm/icons/chevron-right.js";
2
+ import { jsxs as d, jsx as n } from "react/jsx-runtime";
3
+ import { useContext as y, useState as h, useMemo as f, useCallback as r } from "react";
4
+ import G from "../../../../../_virtual/dayjs.min.js";
5
+ import { cn as P } from "../../../../../lib/utils.js";
6
+ import { Button as g } from "../../../button.js";
7
+ import { Select as S, SelectTrigger as x, SelectValue as v, SelectContent as b, SelectItem as C } from "../../../select.js";
8
+ import { GanttContext as B } from "../Gantt/GanttContext.js";
9
+ import { useGanttCalculate as L } from "../../hooks/useGanttCalculate.js";
10
+ import M from "../../../../../node_modules/lucide-react/dist/esm/icons/chevron-left.js";
11
+ import R from "../../../../../node_modules/lucide-react/dist/esm/icons/chevron-right.js";
12
12
  import { GanttDimensionsSettings as o } from "../../constants/DimensionsSettings.js";
13
- import { DragStepOptions as d } from "../../constants/DragStepOptions.js";
14
- const X = ({ className: b }) => {
15
- const { calculate: i } = R(), { settings: a, setSettings: u, currentDate: C } = V(P), [D, c] = x(a.dimension), [s, m] = x(
13
+ import { DragStepOptions as u } from "../../constants/DragStepOptions.js";
14
+ const Y = ({ className: D }) => {
15
+ const { calculate: s } = L(), { settings: a, setSettings: p, currentDate: j } = y(B), [z, c] = h(a.dimension), [t, m] = h(
16
16
  Object.keys(o).findIndex((e) => e === a.dimension)
17
- ), l = p(() => Object.keys(o).map((e, t) => ({
17
+ ), l = f(() => Object.keys(o).map((e, i) => ({
18
18
  label: o[e].label,
19
19
  value: e,
20
- index: t
21
- })), []), z = r(
20
+ index: i
21
+ })), []), N = r(
22
22
  (e) => {
23
- const t = l.findIndex((w) => w.value === e);
24
- c(e), m(t), i(e);
23
+ const i = l.findIndex((V) => V.value === e);
24
+ c(e), m(i), s(e);
25
25
  },
26
- [i, l]
27
- ), N = r(() => {
28
- if (s < l.length - 1) {
29
- const e = Object.keys(o)[s + 1];
30
- c(e), m(s + 1), i(e);
26
+ [s, l]
27
+ ), O = r(() => {
28
+ if (t < l.length - 1) {
29
+ const e = Object.keys(o)[t + 1];
30
+ c(e), m(t + 1), s(e);
31
31
  }
32
- }, [i, l.length, s]), O = r(() => {
33
- if (s > 0) {
34
- const e = Object.keys(o)[s - 1];
35
- c(e), m(s - 1), i(e);
32
+ }, [s, l.length, t]), k = r(() => {
33
+ if (t > 0) {
34
+ const e = Object.keys(o)[t - 1];
35
+ c(e), m(t - 1), s(e);
36
36
  }
37
- }, [i, s]), k = p(() => Object.keys(d).map((e) => ({
38
- label: d[e].label,
37
+ }, [s, t]), I = f(() => Object.keys(u).map((e) => ({
38
+ label: u[e].label,
39
39
  value: e
40
- })), []), I = r(
40
+ })), []), w = r(
41
41
  (e) => {
42
- u(() => {
43
- const t = { ...a };
44
- return t.dragStepSize = e, t.gridSize = d[e].seconds / o[t.dimension].secondsInPixel, t;
42
+ p(() => {
43
+ const i = { ...a };
44
+ return i.dragStepSize = e, i.gridSize = u[e].seconds / o[i.dimension].secondsInPixel, i;
45
45
  });
46
46
  },
47
- [u, a]
47
+ [p, a]
48
48
  );
49
- return /* @__PURE__ */ n.jsxs("div", { className: G("flex items-center gap-2 p-4 border-b", b), children: [
50
- /* @__PURE__ */ n.jsx(
51
- h,
49
+ return /* @__PURE__ */ d("div", { className: P("flex items-center gap-2 p-4 border-b", D), children: [
50
+ /* @__PURE__ */ n(
51
+ g,
52
52
  {
53
53
  variant: "outline",
54
54
  size: "icon",
55
- onClick: O,
56
- disabled: s <= 0,
57
- children: /* @__PURE__ */ n.jsx(B, { className: "h-4 w-4" })
55
+ onClick: k,
56
+ disabled: t <= 0,
57
+ children: /* @__PURE__ */ n(M, { className: "h-4 w-4" })
58
58
  }
59
59
  ),
60
- /* @__PURE__ */ n.jsxs(j, { value: D, onValueChange: z, children: [
61
- /* @__PURE__ */ n.jsx(f, { className: "w-[180px]", children: /* @__PURE__ */ n.jsx(g, { placeholder: "Seleziona dimensione" }) }),
62
- /* @__PURE__ */ n.jsx(S, { className: "z-100", children: l.map((e) => /* @__PURE__ */ n.jsx(v, { value: e.value, children: e.label }, e.value)) })
60
+ /* @__PURE__ */ d(S, { value: z, onValueChange: N, children: [
61
+ /* @__PURE__ */ n(x, { className: "w-[180px]", children: /* @__PURE__ */ n(v, { placeholder: "Seleziona dimensione" }) }),
62
+ /* @__PURE__ */ n(b, { className: "z-100", children: l.map((e) => /* @__PURE__ */ n(C, { value: e.value, children: e.label }, e.value)) })
63
63
  ] }),
64
- /* @__PURE__ */ n.jsx(
65
- h,
64
+ /* @__PURE__ */ n(
65
+ g,
66
66
  {
67
67
  variant: "outline",
68
68
  size: "icon",
69
- onClick: N,
70
- disabled: s >= l.length - 1,
71
- children: /* @__PURE__ */ n.jsx(E, { className: "h-4 w-4" })
69
+ onClick: O,
70
+ disabled: t >= l.length - 1,
71
+ children: /* @__PURE__ */ n(R, { className: "h-4 w-4" })
72
72
  }
73
73
  ),
74
- /* @__PURE__ */ n.jsx("div", { className: "px-4 text-sm font-medium", children: y.unix(C).format("ddd, ll") }),
75
- /* @__PURE__ */ n.jsxs(j, { value: a.dragStepSize, onValueChange: I, children: [
76
- /* @__PURE__ */ n.jsx(f, { className: "w-[180px]", children: /* @__PURE__ */ n.jsx(g, { placeholder: "Seleziona step" }) }),
77
- /* @__PURE__ */ n.jsx(S, { children: k.map((e) => /* @__PURE__ */ n.jsx(v, { value: e.value, children: e.label }, e.value)) })
74
+ /* @__PURE__ */ n("div", { className: "px-4 text-sm font-medium", children: G.unix(j).format("ddd, ll") }),
75
+ /* @__PURE__ */ d(S, { value: a.dragStepSize, onValueChange: w, children: [
76
+ /* @__PURE__ */ n(x, { className: "w-[180px]", children: /* @__PURE__ */ n(v, { placeholder: "Seleziona step" }) }),
77
+ /* @__PURE__ */ n(b, { children: I.map((e) => /* @__PURE__ */ n(C, { value: e.value, children: e.label }, e.value)) })
78
78
  ] })
79
79
  ] });
80
80
  };
81
81
  export {
82
- X as default
82
+ Y as default
83
83
  };
@@ -1,69 +1,69 @@
1
1
  "use client";
2
- import { j as i } from "../../../../../_virtual/jsx-runtime.js";
3
- import { useMemo as a, useRef as T, useState as e } from "react";
2
+ import { jsx as i } from "react/jsx-runtime";
3
+ import { useMemo as a, useRef as z, useState as e } from "react";
4
4
  import p from "../../../../../_virtual/dayjs.min.js";
5
- import z from "../../../../../_virtual/localizedFormat.js";
6
- import { GanttContext as H } from "./GanttContext.js";
7
- import M from "../Chart/Chart.js";
8
- import N from "../Controls/Controls.js";
5
+ import H from "../../../../../_virtual/localizedFormat.js";
6
+ import { GanttContext as M } from "./GanttContext.js";
7
+ import N from "../Chart/Chart.js";
8
+ import P from "../Controls/Controls.js";
9
9
  import { GanttDimensions as c } from "../../enums/GanttDimensions.js";
10
10
  import { GanttUnitOfTimes as m } from "../../enums/GanttUnitOfTimes.js";
11
- import { getScaleDates as P } from "../../utils/getScaleDates.js";
12
- import { getInitialScrollOffset as Y } from "../../utils/getInitialScrollOffset.js";
13
- import { DragStepSizes as A } from "../../enums/DragStepSizes.js";
14
- import { GanttConsts as U } from "../../constants/GanttConsts.js";
11
+ import { getScaleDates as Y } from "../../utils/getScaleDates.js";
12
+ import { getInitialScrollOffset as A } from "../../utils/getInitialScrollOffset.js";
13
+ import { DragStepSizes as U } from "../../enums/DragStepSizes.js";
14
+ import { GanttConsts as _ } from "../../constants/GanttConsts.js";
15
15
  import { GanttDimensionsSettings as s } from "../../constants/DimensionsSettings.js";
16
- import { DragStepOptions as _ } from "../../constants/DragStepOptions.js";
17
- p.extend(z);
16
+ import { DragStepOptions as b } from "../../constants/DragStepOptions.js";
17
+ p.extend(H);
18
18
  const l = ({
19
19
  children: S,
20
20
  draggable: d = !1,
21
21
  defaultDimension: t = c.HOUR,
22
- defaultDragStepSize: n = A.THIRTY_MIN,
22
+ defaultDragStepSize: n = U.THIRTY_MIN,
23
23
  treeTitle: f
24
24
  }) => {
25
25
  const r = a(() => {
26
26
  const o = t === c.DAY ? m.MONTH : m.DAY;
27
- return P(void 0, void 0, o);
28
- }, [t]), x = a(() => Y(t, r), [t, r]), I = T(null), [g, u] = e(p().unix()), [v, O] = e(r), [R, C] = e({
27
+ return Y(void 0, void 0, o);
28
+ }, [t]), x = a(() => A(t, r), [t, r]), I = z(null), [g, v] = e(p().unix()), [u, O] = e(r), [C, G] = e({
29
29
  stepWidth: s[t].stepWidth,
30
30
  secondsInPixel: s[t].secondsInPixel,
31
- scaleStepItems: U.HOURS_IN_DAY,
31
+ scaleStepItems: _.HOURS_IN_DAY,
32
32
  initialScrollOffset: x,
33
33
  dimension: t,
34
34
  draggable: d,
35
35
  dragStepSize: n,
36
36
  gridSize: (() => {
37
- const o = _[n].seconds, j = s[t].secondsInPixel, D = o / j;
38
- return Math.max(D, 1);
37
+ const o = b[n].seconds, D = s[t].secondsInPixel, T = o / D;
38
+ return Math.max(T, 1);
39
39
  })()
40
- }), [G, h] = e({
40
+ }), [R, h] = e({
41
41
  overscanStartIndex: 0,
42
42
  overscanStopIndex: 0,
43
43
  visibleStartIndex: 0,
44
44
  visibleStopIndex: 0
45
45
  });
46
- return /* @__PURE__ */ i.jsx(
47
- H.Provider,
46
+ return /* @__PURE__ */ i(
47
+ M.Provider,
48
48
  {
49
49
  value: {
50
50
  wrapRef: I,
51
- scaleDates: v,
51
+ scaleDates: u,
52
52
  setScaleDates: O,
53
- settings: R,
54
- setSettings: C,
55
- scaleRenderState: G,
53
+ settings: C,
54
+ setSettings: G,
55
+ scaleRenderState: R,
56
56
  setScaleRenderState: h,
57
57
  currentDate: g,
58
- setCurrentDate: u,
58
+ setCurrentDate: v,
59
59
  treeTitle: f
60
60
  },
61
- children: /* @__PURE__ */ i.jsx("div", { className: "gantt-wrap", children: S })
61
+ children: /* @__PURE__ */ i("div", { className: "gantt-wrap", children: S })
62
62
  }
63
63
  );
64
64
  };
65
- l.Chart = M;
66
- l.Controls = N;
65
+ l.Chart = N;
66
+ l.Controls = P;
67
67
  export {
68
68
  l as default
69
69
  };
@@ -1,16 +1,16 @@
1
1
  "use client";
2
- import { j as o } from "../../_virtual/jsx-runtime.js";
2
+ import { jsx as o } from "react/jsx-runtime";
3
3
  import { Root as d, Trigger as n, Portal as i, Content as s } from "../../node_modules/@radix-ui/react-hover-card/dist/index.js";
4
4
  import { cn as m } from "../../lib/utils.js";
5
5
  function p({
6
6
  ...t
7
7
  }) {
8
- return /* @__PURE__ */ o.jsx(d, { "data-slot": "hover-card", ...t });
8
+ return /* @__PURE__ */ o(d, { "data-slot": "hover-card", ...t });
9
9
  }
10
10
  function u({
11
11
  ...t
12
12
  }) {
13
- return /* @__PURE__ */ o.jsx(n, { "data-slot": "hover-card-trigger", ...t });
13
+ return /* @__PURE__ */ o(n, { "data-slot": "hover-card-trigger", ...t });
14
14
  }
15
15
  function g({
16
16
  className: t,
@@ -18,7 +18,7 @@ function g({
18
18
  sideOffset: a = 4,
19
19
  ...r
20
20
  }) {
21
- return /* @__PURE__ */ o.jsx(i, { "data-slot": "hover-card-portal", children: /* @__PURE__ */ o.jsx(
21
+ return /* @__PURE__ */ o(i, { "data-slot": "hover-card-portal", children: /* @__PURE__ */ o(
22
22
  s,
23
23
  {
24
24
  "data-slot": "hover-card-content",