laif-ds 0.2.20 → 0.2.22

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 (283) hide show
  1. package/dist/_virtual/index.js +5 -3
  2. package/dist/_virtual/index3.js +2 -5
  3. package/dist/_virtual/index4.js +3 -5
  4. package/dist/_virtual/index6.js +5 -2
  5. package/dist/_virtual/index7.js +2 -2
  6. package/dist/components/ui/app-select.js +92 -109
  7. package/dist/components/ui/app-stepper.js +212 -0
  8. package/dist/components/ui/gantt/constants/DimensionsSettings.js +6 -6
  9. package/dist/components/ui/gantt/constants/DragStepOptions.js +9 -9
  10. package/dist/components/ui/message-input.js +23 -23
  11. package/dist/components/ui/sidebar.js +1 -1
  12. package/dist/components/ui/stepper.js +387 -0
  13. package/dist/index.d.ts +55 -6
  14. package/dist/index.js +30 -28
  15. package/dist/lib/audio-utils.js +2 -2
  16. package/dist/node_modules/@date-fns/tz/date/index.js +2 -7
  17. package/dist/node_modules/@date-fns/tz/date/mini.js +32 -27
  18. package/dist/node_modules/@date-fns/tz/tzName/index.js +12 -0
  19. package/dist/node_modules/@date-fns/tz/tzOffset/index.js +11 -12
  20. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +137 -139
  21. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +238 -235
  22. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +70 -69
  23. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +88 -83
  24. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +70 -69
  25. package/dist/node_modules/@lexical/clipboard/LexicalClipboard.prod.js +13 -13
  26. package/dist/node_modules/@lexical/code/LexicalCode.prod.js +3 -3
  27. package/dist/node_modules/@lexical/dragon/LexicalDragon.prod.js +2 -2
  28. package/dist/node_modules/@lexical/history/LexicalHistory.prod.js +9 -9
  29. package/dist/node_modules/@lexical/html/LexicalHtml.prod.js +6 -6
  30. package/dist/node_modules/@lexical/list/LexicalList.prod.js +48 -48
  31. package/dist/node_modules/@lexical/markdown/LexicalMarkdown.prod.js +29 -29
  32. package/dist/node_modules/@lexical/react/LexicalCheckListPlugin.prod.js +1 -1
  33. package/dist/node_modules/@lexical/react/LexicalClearEditorPlugin.prod.js +2 -2
  34. package/dist/node_modules/@lexical/react/LexicalComposer.prod.js +10 -10
  35. package/dist/node_modules/@lexical/react/LexicalComposerContext.prod.js +2 -2
  36. package/dist/node_modules/@lexical/react/LexicalContentEditable.prod.js +17 -17
  37. package/dist/node_modules/@lexical/react/LexicalErrorBoundary.prod.js +4 -4
  38. package/dist/node_modules/@lexical/react/LexicalHistoryPlugin.prod.js +4 -4
  39. package/dist/node_modules/@lexical/react/LexicalListPlugin.prod.js +5 -5
  40. package/dist/node_modules/@lexical/react/LexicalOnChangePlugin.prod.js +4 -4
  41. package/dist/node_modules/@lexical/react/LexicalRichTextPlugin.prod.js +20 -20
  42. package/dist/node_modules/@lexical/react/useLexicalEditable.prod.js +7 -7
  43. package/dist/node_modules/@lexical/rich-text/LexicalRichText.prod.js +43 -43
  44. package/dist/node_modules/@lexical/table/LexicalTable.prod.js +16 -16
  45. package/dist/node_modules/@lexical/utils/LexicalUtils.prod.js +3 -3
  46. package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +24 -25
  47. package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.js +22 -23
  48. package/dist/node_modules/@radix-ui/react-avatar/dist/index.js +28 -29
  49. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +1 -2
  50. package/dist/node_modules/@radix-ui/react-context-menu/dist/index.js +49 -50
  51. package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +22 -23
  52. package/dist/node_modules/@radix-ui/react-hover-card/dist/index.js +6 -7
  53. package/dist/node_modules/@radix-ui/react-menubar/dist/index.js +31 -32
  54. package/dist/node_modules/@radix-ui/react-navigation-menu/dist/index.js +56 -57
  55. package/dist/node_modules/@radix-ui/react-popover/dist/index.js +6 -7
  56. package/dist/node_modules/@radix-ui/react-popper/dist/index.js +43 -42
  57. package/dist/node_modules/@radix-ui/react-presence/dist/index.js +1 -1
  58. package/dist/node_modules/@radix-ui/react-progress/dist/index.js +20 -21
  59. package/dist/node_modules/@radix-ui/react-radio-group/dist/index.js +12 -13
  60. package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.js +7 -8
  61. package/dist/node_modules/@radix-ui/react-select/dist/index.js +19 -20
  62. package/dist/node_modules/@radix-ui/react-slider/dist/index.js +39 -40
  63. package/dist/node_modules/@radix-ui/react-switch/dist/index.js +12 -13
  64. package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +13 -14
  65. package/dist/node_modules/@radix-ui/react-toggle-group/dist/index.js +20 -21
  66. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js +8 -9
  67. package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +1 -1
  68. package/dist/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js +183 -175
  69. package/dist/node_modules/@shikijs/core/dist/index.js +195 -175
  70. package/dist/node_modules/@shikijs/langs/dist/asciidoc.js +2 -2
  71. package/dist/node_modules/@shikijs/langs/dist/cobol.js +1 -1
  72. package/dist/node_modules/@shikijs/langs/dist/erlang.js +5 -3
  73. package/dist/node_modules/@shikijs/langs/dist/fsharp.js +1 -1
  74. package/dist/node_modules/@shikijs/langs/dist/gdscript.js +1 -1
  75. package/dist/node_modules/@shikijs/langs/dist/go.js +1 -1
  76. package/dist/node_modules/@shikijs/langs/dist/haxe.js +1 -1
  77. package/dist/node_modules/@shikijs/langs/dist/julia.js +1 -1
  78. package/dist/node_modules/@shikijs/langs/dist/latex.js +1 -1
  79. package/dist/node_modules/@shikijs/langs/dist/lean.js +1 -1
  80. package/dist/node_modules/@shikijs/langs/dist/markdown.js +1 -1
  81. package/dist/node_modules/@shikijs/langs/dist/marko.js +5 -5
  82. package/dist/node_modules/@shikijs/langs/dist/mermaid.js +1 -1
  83. package/dist/node_modules/@shikijs/langs/dist/nextflow.js +1 -1
  84. package/dist/node_modules/@shikijs/langs/dist/purescript.js +1 -1
  85. package/dist/node_modules/@shikijs/langs/dist/r.js +1 -1
  86. package/dist/node_modules/@shikijs/langs/dist/sql.js +1 -1
  87. package/dist/node_modules/@shikijs/langs/dist/swift.js +2 -2
  88. package/dist/node_modules/@shikijs/langs/dist/templ.js +1 -1
  89. package/dist/node_modules/@shikijs/langs/dist/tex.js +1 -1
  90. package/dist/node_modules/@shikijs/langs/dist/vue-vine.js +21 -0
  91. package/dist/node_modules/@shikijs/langs/dist/vue.js +1 -1
  92. package/dist/node_modules/@shikijs/langs/dist/zig.js +1 -1
  93. package/dist/node_modules/@shikijs/themes/dist/andromeeda.js +1 -1
  94. package/dist/node_modules/@shikijs/themes/dist/catppuccin-frappe.js +1 -1
  95. package/dist/node_modules/@shikijs/themes/dist/catppuccin-latte.js +1 -1
  96. package/dist/node_modules/@shikijs/themes/dist/catppuccin-macchiato.js +1 -1
  97. package/dist/node_modules/@shikijs/themes/dist/catppuccin-mocha.js +1 -1
  98. package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.js +1 -1
  99. package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.js +1 -1
  100. package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.js +1 -1
  101. package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-hard.js +1 -1
  102. package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-medium.js +1 -1
  103. package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-soft.js +1 -1
  104. package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +215 -208
  105. package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +1 -1
  106. package/dist/node_modules/aria-hidden/dist/es2015/index.js +1 -1
  107. package/dist/node_modules/classnames/index.js +2 -2
  108. package/dist/node_modules/cmdk/dist/index.js +2 -2
  109. package/dist/node_modules/d3-interpolate/src/rgb.js +2 -2
  110. package/dist/node_modules/dayjs/dayjs.min.js +14 -14
  111. package/dist/node_modules/dayjs/locale/it.js +4 -4
  112. package/dist/node_modules/dayjs/plugin/isoWeek.js +4 -4
  113. package/dist/node_modules/dayjs/plugin/localizedFormat.js +10 -10
  114. package/dist/node_modules/decimal.js-light/decimal.js +2 -2
  115. package/dist/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js +2 -2
  116. package/dist/node_modules/es-toolkit/dist/array/flatten.js +2 -2
  117. package/dist/node_modules/es-toolkit/dist/array/uniqBy.js +2 -2
  118. package/dist/node_modules/es-toolkit/dist/compat/_internal/compareValues.js +2 -2
  119. package/dist/node_modules/es-toolkit/dist/compat/_internal/getSymbols.js +2 -2
  120. package/dist/node_modules/es-toolkit/dist/compat/_internal/getTag.js +2 -2
  121. package/dist/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.js +2 -2
  122. package/dist/node_modules/es-toolkit/dist/compat/_internal/isIndex.js +2 -2
  123. package/dist/node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.js +2 -2
  124. package/dist/node_modules/es-toolkit/dist/compat/_internal/isKey.js +2 -2
  125. package/dist/node_modules/es-toolkit/dist/compat/_internal/tags.js +2 -2
  126. package/dist/node_modules/es-toolkit/dist/compat/_internal/toKey.js +2 -2
  127. package/dist/node_modules/es-toolkit/dist/compat/array/orderBy.js +2 -2
  128. package/dist/node_modules/es-toolkit/dist/compat/array/sortBy.js +2 -2
  129. package/dist/node_modules/es-toolkit/dist/compat/array/uniqBy.js +2 -2
  130. package/dist/node_modules/es-toolkit/dist/compat/function/debounce.js +2 -2
  131. package/dist/node_modules/es-toolkit/dist/compat/function/throttle.js +14 -15
  132. package/dist/node_modules/es-toolkit/dist/compat/math/range.js +2 -2
  133. package/dist/node_modules/es-toolkit/dist/compat/object/cloneDeep.js +2 -2
  134. package/dist/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.js +11 -11
  135. package/dist/node_modules/es-toolkit/dist/compat/object/get.js +2 -2
  136. package/dist/node_modules/es-toolkit/dist/compat/object/has.js +2 -2
  137. package/dist/node_modules/es-toolkit/dist/compat/object/property.js +2 -2
  138. package/dist/node_modules/es-toolkit/dist/compat/predicate/isArguments.js +2 -2
  139. package/dist/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.js +2 -2
  140. package/dist/node_modules/es-toolkit/dist/compat/predicate/isArrayLikeObject.js +2 -2
  141. package/dist/node_modules/es-toolkit/dist/compat/predicate/isMatch.js +2 -2
  142. package/dist/node_modules/es-toolkit/dist/compat/predicate/isMatchWith.js +2 -2
  143. package/dist/node_modules/es-toolkit/dist/compat/predicate/isObject.js +2 -2
  144. package/dist/node_modules/es-toolkit/dist/compat/predicate/isObjectLike.js +2 -2
  145. package/dist/node_modules/es-toolkit/dist/compat/predicate/isSymbol.js +2 -2
  146. package/dist/node_modules/es-toolkit/dist/compat/predicate/matches.js +2 -2
  147. package/dist/node_modules/es-toolkit/dist/compat/predicate/matchesProperty.js +2 -2
  148. package/dist/node_modules/es-toolkit/dist/compat/util/eq.js +2 -2
  149. package/dist/node_modules/es-toolkit/dist/compat/util/iteratee.js +2 -2
  150. package/dist/node_modules/es-toolkit/dist/compat/util/toFinite.js +2 -2
  151. package/dist/node_modules/es-toolkit/dist/compat/util/toNumber.js +2 -2
  152. package/dist/node_modules/es-toolkit/dist/compat/util/toPath.js +2 -2
  153. package/dist/node_modules/es-toolkit/dist/function/debounce.js +15 -15
  154. package/dist/node_modules/es-toolkit/dist/function/identity.js +2 -2
  155. package/dist/node_modules/es-toolkit/dist/function/noop.js +2 -10
  156. package/dist/node_modules/es-toolkit/dist/object/cloneDeep.js +2 -2
  157. package/dist/node_modules/es-toolkit/dist/object/cloneDeepWith.js +3 -3
  158. package/dist/node_modules/es-toolkit/dist/predicate/isLength.js +2 -2
  159. package/dist/node_modules/es-toolkit/dist/predicate/isPrimitive.js +2 -2
  160. package/dist/node_modules/es-toolkit/dist/predicate/isTypedArray.js +2 -2
  161. package/dist/node_modules/eventemitter3/index.js +1 -1
  162. package/dist/node_modules/eventemitter3/index2.js +3 -3
  163. package/dist/node_modules/immer/dist/immer.js +213 -216
  164. package/dist/node_modules/lexical/Lexical.prod.js +212 -212
  165. package/dist/node_modules/lodash/_baseCreate.js +2 -2
  166. package/dist/node_modules/lodash/_cloneBuffer.js +2 -2
  167. package/dist/node_modules/lodash/_defineProperty.js +2 -2
  168. package/dist/node_modules/lodash/_isMasked.js +2 -2
  169. package/dist/node_modules/lodash/_nodeUtil.js +4 -4
  170. package/dist/node_modules/lodash/isArguments.js +2 -2
  171. package/dist/node_modules/lodash/isBuffer.js +2 -2
  172. package/dist/node_modules/lodash/lodash.js +16 -16
  173. package/dist/node_modules/prismjs/components/prism-cpp.js +2 -2
  174. package/dist/node_modules/prismjs/components/prism-java.js +2 -2
  175. package/dist/node_modules/prismjs/components/prism-rust.js +2 -2
  176. package/dist/node_modules/prismjs/components/prism-typescript.js +2 -2
  177. package/dist/node_modules/prismjs/prism.js +8 -8
  178. package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +183 -164
  179. package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +14 -14
  180. package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +10 -7
  181. package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +6 -6
  182. package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +30 -30
  183. package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +1 -1
  184. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +5 -5
  185. package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +9 -9
  186. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +1 -1
  187. package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +11 -11
  188. package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +1 -1
  189. package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +12 -12
  190. package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +19 -19
  191. package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +9 -9
  192. package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +10 -10
  193. package/dist/node_modules/react-hook-form/dist/index.esm.js +150 -117
  194. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +48 -48
  195. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +9 -9
  196. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +43 -39
  197. package/dist/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.js +95 -94
  198. package/dist/node_modules/react-window/dist/index.esm.js +2 -2
  199. package/dist/node_modules/recharts/es6/animation/AnimationManager.js +14 -14
  200. package/dist/node_modules/recharts/es6/animation/JavascriptAnimate.js +49 -0
  201. package/dist/node_modules/recharts/es6/animation/createDefaultAnimationManager.js +9 -0
  202. package/dist/node_modules/recharts/es6/animation/useAnimationManager.js +12 -0
  203. package/dist/node_modules/recharts/es6/component/Cursor.js +5 -5
  204. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +55 -58
  205. package/dist/node_modules/recharts/es6/component/Legend.js +32 -27
  206. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +44 -40
  207. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +15 -23
  208. package/dist/node_modules/recharts/es6/context/useTooltipAxis.js +8 -7
  209. package/dist/node_modules/recharts/es6/shape/Curve.js +10 -10
  210. package/dist/node_modules/recharts/es6/shape/Rectangle.js +136 -99
  211. package/dist/node_modules/recharts/es6/shape/Symbols.js +55 -53
  212. package/dist/node_modules/recharts/es6/state/legendSlice.js +5 -4
  213. package/dist/node_modules/recharts/es6/state/selectors/axisSelectors.js +352 -307
  214. package/dist/node_modules/recharts/es6/state/selectors/brushSelectors.js +9 -9
  215. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineDisplayedStackedData.js +26 -0
  216. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.js +117 -0
  217. package/dist/node_modules/recharts/es6/state/selectors/dataSelectors.js +4 -4
  218. package/dist/node_modules/recharts/es6/state/selectors/legendSelectors.js +10 -4
  219. package/dist/node_modules/recharts/es6/state/selectors/polarAxisSelectors.js +33 -32
  220. package/dist/node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js +108 -0
  221. package/dist/node_modules/recharts/es6/state/selectors/selectTooltipAxis.js +13 -0
  222. package/dist/node_modules/recharts/es6/state/selectors/selectTooltipAxisId.js +5 -0
  223. package/dist/node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js +9 -0
  224. package/dist/node_modules/recharts/es6/state/selectors/selectors.js +40 -143
  225. package/dist/node_modules/recharts/es6/state/selectors/tooltipSelectors.js +68 -63
  226. package/dist/node_modules/recharts/es6/state/types/StackedGraphicalItem.js +7 -0
  227. package/dist/node_modules/recharts/es6/util/ChartUtils.js +58 -57
  228. package/dist/node_modules/recharts/es6/util/DataUtils.js +34 -26
  229. package/dist/node_modules/recharts/es6/util/Events.js +1 -1
  230. package/dist/node_modules/recharts/es6/util/ReactUtils.js +20 -15
  231. package/dist/node_modules/recharts/es6/util/excludeEventProps.js +11 -0
  232. package/dist/node_modules/recharts/es6/util/getSliced.js +7 -0
  233. package/dist/node_modules/recharts/es6/util/scale/getNiceTickValues.js +44 -44
  234. package/dist/node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js +7 -0
  235. package/dist/node_modules/recharts/es6/util/svgPropertiesNoEvents.js +328 -0
  236. package/dist/node_modules/recharts/es6/util/types.js +22 -332
  237. package/dist/node_modules/recharts/es6/util/useAnimationId.js +10 -0
  238. package/dist/node_modules/recharts/es6/util/useElementOffset.js +20 -16
  239. package/dist/node_modules/remeda/dist/hasAtLeast-F1Oj_xBB.js +9 -0
  240. package/dist/node_modules/remeda/dist/lazyDataLastImpl-BDhrIOwR.js +8 -0
  241. package/dist/node_modules/remeda/dist/omit-HZOiLuMO.js +19 -0
  242. package/dist/node_modules/remeda/dist/purry-DH9cw9sy.js +11 -0
  243. package/dist/node_modules/shiki/dist/langs.js +225 -220
  244. package/dist/node_modules/shiki/dist/themes.js +60 -60
  245. package/dist/node_modules/sonner/dist/index.js +309 -305
  246. package/dist/node_modules/style-to-object/cjs/index.js +1 -1
  247. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +169 -168
  248. package/dist/node_modules/unified/lib/callable-instance.js +2 -2
  249. package/dist/node_modules/unified/lib/index.js +1 -1
  250. package/dist/node_modules/unist-util-is/lib/index.js +2 -2
  251. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +2 -2
  252. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +2 -2
  253. package/dist/node_modules/vaul/dist/index.js +1 -1
  254. package/dist/node_modules/vfile-message/lib/index.js +1 -1
  255. package/dist/styles.v3.css +1 -1
  256. package/package.json +3 -2
  257. package/dist/_virtual/isEqual.js +0 -8
  258. package/dist/_virtual/isEqual2.js +0 -5
  259. package/dist/_virtual/isEqualWith.js +0 -5
  260. package/dist/_virtual/isPlainObject.js +0 -5
  261. package/dist/_virtual/noop.js +0 -5
  262. package/dist/node_modules/cmdk/node_modules/@radix-ui/react-dialog/dist/index.js +0 -255
  263. package/dist/node_modules/cmdk/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -128
  264. package/dist/node_modules/cmdk/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -137
  265. package/dist/node_modules/cmdk/node_modules/@radix-ui/react-portal/dist/index.js +0 -16
  266. package/dist/node_modules/cmdk/node_modules/@radix-ui/react-primitive/dist/index.js +0 -37
  267. package/dist/node_modules/cmdk/node_modules/@radix-ui/react-slot/dist/index.js +0 -50
  268. package/dist/node_modules/es-toolkit/compat/isEqual.js +0 -9
  269. package/dist/node_modules/es-toolkit/dist/predicate/isEqual.js +0 -18
  270. package/dist/node_modules/es-toolkit/dist/predicate/isEqualWith.js +0 -139
  271. package/dist/node_modules/es-toolkit/dist/predicate/isPlainObject.js +0 -18
  272. package/dist/node_modules/recharts/es6/animation/Animate.js +0 -270
  273. package/dist/node_modules/recharts/es6/state/selectors/selectChartOffset.js +0 -98
  274. package/dist/node_modules/remeda/dist/chunk-AIG3BDKO.js +0 -9
  275. package/dist/node_modules/remeda/dist/chunk-D6FCK2GA.js +0 -8
  276. package/dist/node_modules/remeda/dist/chunk-KI5X74E2.js +0 -19
  277. package/dist/node_modules/remeda/dist/chunk-WIMGWYZL.js +0 -11
  278. package/dist/node_modules/vaul/node_modules/@radix-ui/react-dialog/dist/index.js +0 -258
  279. package/dist/node_modules/vaul/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -128
  280. package/dist/node_modules/vaul/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -137
  281. package/dist/node_modules/vaul/node_modules/@radix-ui/react-portal/dist/index.js +0 -16
  282. package/dist/node_modules/vaul/node_modules/@radix-ui/react-primitive/dist/index.js +0 -37
  283. package/dist/node_modules/vaul/node_modules/@radix-ui/react-slot/dist/index.js +0 -50
@@ -2,39 +2,39 @@
2
2
  import { DragStepSizes as e } from "../enums/DragStepSizes.js";
3
3
  const l = {
4
4
  [e.FIVE_MIN]: {
5
- seconds: 5 * 60,
5
+ seconds: 300,
6
6
  label: "5 min"
7
7
  },
8
8
  [e.TEN_MIN]: {
9
- seconds: 10 * 60,
9
+ seconds: 600,
10
10
  label: "10 min"
11
11
  },
12
12
  [e.FIFTEEN_MIN]: {
13
- seconds: 15 * 60,
13
+ seconds: 900,
14
14
  label: "15 min"
15
15
  },
16
16
  [e.TWENTY_MIN]: {
17
- seconds: 20 * 60,
17
+ seconds: 1200,
18
18
  label: "20 min"
19
19
  },
20
20
  [e.THIRTY_MIN]: {
21
- seconds: 30 * 60,
21
+ seconds: 1800,
22
22
  label: "30 min"
23
23
  },
24
24
  [e.ONE_HOUR]: {
25
- seconds: 60 * 60,
25
+ seconds: 3600,
26
26
  label: "1 hour"
27
27
  },
28
28
  [e.EIGHT_HOURS]: {
29
- seconds: 8 * 60 * 60,
29
+ seconds: 480 * 60,
30
30
  label: "8 hours"
31
31
  },
32
32
  [e.TWELVE_HOURS]: {
33
- seconds: 12 * 60 * 60,
33
+ seconds: 720 * 60,
34
34
  label: "12 hours"
35
35
  },
36
36
  [e.ONE_DAY]: {
37
- seconds: 24 * 60 * 60,
37
+ seconds: 1440 * 60,
38
38
  label: "1 day"
39
39
  }
40
40
  };
@@ -2,7 +2,7 @@
2
2
  import { jsxs as o, jsx as e } from "react/jsx-runtime";
3
3
  import { useState as y, useEffect as S, useRef as J } from "react";
4
4
  import { AnimatePresence as v, motion as w } from "framer-motion";
5
- import { a as T } from "../../node_modules/remeda/dist/chunk-KI5X74E2.js";
5
+ import { omit as T } from "../../node_modules/remeda/dist/omit-HZOiLuMO.js";
6
6
  import { cn as C } from "../../lib/utils.js";
7
7
  import { useAudioRecording as Q } from "../../hooks/use-audio-recording.js";
8
8
  import { useAutosizeTextArea as X } from "../../hooks/use-autosize-textarea.js";
@@ -18,7 +18,7 @@ import te from "../../node_modules/lucide-react/dist/esm/icons/info.js";
18
18
  import re from "../../node_modules/lucide-react/dist/esm/icons/loader-circle.js";
19
19
  function ie({
20
20
  placeholder: i = "Ask AI...",
21
- className: n,
21
+ className: a,
22
22
  onKeyDown: d,
23
23
  submitOnEnter: l = !0,
24
24
  stop: s,
@@ -45,7 +45,7 @@ function ie({
45
45
  u || f(!1);
46
46
  }, [u]);
47
47
  const h = (t) => {
48
- r.allowAttachments && r.setFiles((a) => a === null ? t : t === null ? a : [...a, ...t]);
48
+ r.allowAttachments && r.setFiles((n) => n === null ? t : t === null ? n : [...n, ...t]);
49
49
  }, q = (t) => {
50
50
  r.allowAttachments === !0 && (t.preventDefault(), x(!0));
51
51
  }, E = (t) => {
@@ -53,11 +53,11 @@ function ie({
53
53
  }, H = (t) => {
54
54
  if (x(!1), r.allowAttachments !== !0) return;
55
55
  t.preventDefault();
56
- const a = t.dataTransfer;
57
- a.files.length && h(Array.from(a.files));
56
+ const n = t.dataTransfer;
57
+ n.files.length && h(Array.from(n.files));
58
58
  }, K = (t) => {
59
- const a = t.clipboardData?.items;
60
- if (!a) return;
59
+ const n = t.clipboardData?.items;
60
+ if (!n) return;
61
61
  const c = t.clipboardData.getData("text");
62
62
  if (c && c.length > 500 && r.allowAttachments) {
63
63
  t.preventDefault();
@@ -68,7 +68,7 @@ function ie({
68
68
  h([W]);
69
69
  return;
70
70
  }
71
- const b = Array.from(a).map((m) => m.getAsFile()).filter((m) => m !== null);
71
+ const b = Array.from(n).map((m) => m.getAsFile()).filter((m) => m !== null);
72
72
  r.allowAttachments && b.length > 0 && h(b);
73
73
  }, U = (t) => {
74
74
  if (l && t.key === "Enter" && !t.shiftKey) {
@@ -129,7 +129,7 @@ function ie({
129
129
  className: C(
130
130
  "border-d-input bg-d-input ring-offset-d-background placeholder:text-d-muted-foreground focus-visible:border-d-primary z-10 w-full grow resize-none rounded-xl border p-3 pr-24 text-sm transition-[border] focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",
131
131
  z && "pb-16",
132
- n
132
+ a
133
133
  ),
134
134
  ...r.allowAttachments ? T(r, ["allowAttachments", "files", "setFiles"]) : T(r, ["allowAttachments"])
135
135
  }
@@ -139,9 +139,9 @@ function ie({
139
139
  {
140
140
  file: t,
141
141
  onRemove: () => {
142
- r.setFiles((a) => {
143
- if (!a) return null;
144
- const c = Array.from(a).filter(
142
+ r.setFiles((n) => {
143
+ if (!n) return null;
144
+ const c = Array.from(n).filter(
145
145
  (b) => b !== t
146
146
  );
147
147
  return c.length === 0 ? null : c;
@@ -161,7 +161,7 @@ function ie({
161
161
  className: "h-8 w-8",
162
162
  "aria-label": "Attach a file",
163
163
  onClick: async () => {
164
- const t = await ne();
164
+ const t = await ae();
165
165
  h(t);
166
166
  },
167
167
  children: /* @__PURE__ */ e(P, { className: "h-4 w-4" })
@@ -201,7 +201,7 @@ function ie({
201
201
  }
202
202
  )
203
203
  ] }),
204
- r.allowAttachments && /* @__PURE__ */ e(ae, { isDragging: R }),
204
+ r.allowAttachments && /* @__PURE__ */ e(ne, { isDragging: R }),
205
205
  /* @__PURE__ */ e(
206
206
  se,
207
207
  {
@@ -217,7 +217,7 @@ function ie({
217
217
  );
218
218
  }
219
219
  ie.displayName = "MessageInput";
220
- function ae({ isDragging: i }) {
220
+ function ne({ isDragging: i }) {
221
221
  return /* @__PURE__ */ e(v, { children: i && /* @__PURE__ */ o(
222
222
  w.div,
223
223
  {
@@ -234,18 +234,18 @@ function ae({ isDragging: i }) {
234
234
  }
235
235
  ) });
236
236
  }
237
- function ne() {
237
+ function ae() {
238
238
  if (typeof document > "u")
239
239
  return Promise.resolve(null);
240
240
  const i = document.createElement("input");
241
- return i.type = "file", i.multiple = !0, i.accept = "*/*", i.click(), new Promise((n) => {
241
+ return i.type = "file", i.multiple = !0, i.accept = "*/*", i.click(), new Promise((a) => {
242
242
  i.onchange = (d) => {
243
243
  const l = d.currentTarget.files;
244
244
  if (l) {
245
- n(Array.from(l));
245
+ a(Array.from(l));
246
246
  return;
247
247
  }
248
- n(null);
248
+ a(null);
249
249
  };
250
250
  });
251
251
  }
@@ -281,7 +281,7 @@ function le() {
281
281
  }
282
282
  );
283
283
  }
284
- function oe({ isVisible: i, onStopRecording: n }) {
284
+ function oe({ isVisible: i, onStopRecording: a }) {
285
285
  return /* @__PURE__ */ e(v, { children: i && /* @__PURE__ */ e(
286
286
  w.div,
287
287
  {
@@ -296,7 +296,7 @@ function oe({ isVisible: i, onStopRecording: n }) {
296
296
  },
297
297
  exit: { top: 0, filter: "blur(5px)" },
298
298
  className: "bg-d-background border-d-border text-d-secondary-foreground absolute left-1/2 flex -translate-x-1/2 cursor-pointer overflow-hidden rounded-full border py-1 text-center text-sm whitespace-nowrap",
299
- onClick: n,
299
+ onClick: a,
300
300
  children: /* @__PURE__ */ o("span", { className: "mx-2.5 flex items-center", children: [
301
301
  /* @__PURE__ */ e(te, { className: "mr-2 h-3 w-3" }),
302
302
  "Click to finish recording"
@@ -306,7 +306,7 @@ function oe({ isVisible: i, onStopRecording: n }) {
306
306
  }
307
307
  function se({
308
308
  isRecording: i,
309
- isTranscribing: n,
309
+ isTranscribing: a,
310
310
  audioStream: d,
311
311
  textAreaHeight: l,
312
312
  onStopRecording: s
@@ -325,7 +325,7 @@ function se({
325
325
  }
326
326
  )
327
327
  }
328
- ) : n ? /* @__PURE__ */ e(
328
+ ) : a ? /* @__PURE__ */ e(
329
329
  "div",
330
330
  {
331
331
  className: "absolute inset-[1px] z-50 overflow-hidden rounded-xl",
@@ -12,7 +12,7 @@ import { Tooltip as G, TooltipTrigger as H, TooltipContent as K, TooltipProvider
12
12
  import { useIsMobile as j } from "../../hooks/use-mobile.js";
13
13
  import { cn as i } from "../../lib/utils.js";
14
14
  import P from "../../node_modules/lucide-react/dist/esm/icons/panel-left.js";
15
- const $ = "sidebar_state", V = 60 * 60 * 24 * 7, W = "16rem", q = "18rem", F = "3rem", U = "b", M = d.createContext(null);
15
+ const $ = "sidebar_state", V = 3600 * 24 * 7, W = "16rem", q = "18rem", F = "3rem", U = "b", M = d.createContext(null);
16
16
  function N() {
17
17
  const a = d.useContext(M);
18
18
  if (!a)
@@ -0,0 +1,387 @@
1
+ "use client";
2
+ import { jsx as c } from "react/jsx-runtime";
3
+ import { cn as d } from "../../lib/utils.js";
4
+ import { cva as g } from "../../node_modules/class-variance-authority/dist/index.js";
5
+ import * as p from "react";
6
+ import { createContext as T, useContext as P } from "react";
7
+ const E = T(
8
+ void 0
9
+ ), L = T(
10
+ void 0
11
+ ), R = g("w-full max-w-6xl", {
12
+ variants: {
13
+ orientation: {
14
+ horizontal: "flex flex-row items-center",
15
+ vertical: "flex flex-col items-start"
16
+ }
17
+ },
18
+ defaultVariants: {
19
+ orientation: "horizontal"
20
+ }
21
+ }), O = g("group/step relative", {
22
+ variants: {
23
+ orientation: {
24
+ horizontal: "flex flex-row items-center justify-center not-last:flex-1",
25
+ vertical: "flex flex-col items-start justify-start"
26
+ }
27
+ },
28
+ defaultVariants: {
29
+ orientation: "horizontal"
30
+ }
31
+ }), F = g(
32
+ "focus-visible:ring-ring/50 focus-visible:border-d-ring inline-flex cursor-pointer items-center gap-3 rounded-full outline-none focus-visible:z-10 focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-60",
33
+ {
34
+ variants: {
35
+ size: {
36
+ sm: "gap-2",
37
+ default: "gap-3",
38
+ lg: "gap-4"
39
+ }
40
+ },
41
+ defaultVariants: {
42
+ size: "default"
43
+ }
44
+ }
45
+ ), K = g(
46
+ "border-secondary bg-secondary text-bodyPrimary data-[state=active]:bg-d-primary data-[state=completed]:bg-d-primary data-[state=active]:text-bodyPrimary data-[state=completed]:text-onAccent relative flex shrink-0 items-center justify-center overflow-hidden rounded-full",
47
+ {
48
+ variants: {
49
+ size: {
50
+ sm: "size-5 text-xs",
51
+ default: "size-6 text-xs",
52
+ lg: "size-8 text-sm"
53
+ }
54
+ },
55
+ defaultVariants: {
56
+ size: "default"
57
+ }
58
+ }
59
+ ), $ = g("bg-secondary m-0.5 rounded-full", {
60
+ variants: {
61
+ orientation: {
62
+ horizontal: "h-0.5 flex-1",
63
+ vertical: "h-12 w-0.5"
64
+ }
65
+ },
66
+ defaultVariants: {
67
+ orientation: "horizontal"
68
+ }
69
+ }), H = g("text-sm leading-none font-medium", {
70
+ variants: {
71
+ size: {
72
+ sm: "text-xs",
73
+ default: "text-sm",
74
+ lg: "text-base"
75
+ }
76
+ },
77
+ defaultVariants: {
78
+ size: "default"
79
+ }
80
+ }), U = g("inline-flex", {
81
+ variants: {
82
+ orientation: {
83
+ horizontal: "w-full flex-row",
84
+ vertical: "flex-col"
85
+ }
86
+ },
87
+ defaultVariants: {
88
+ orientation: "horizontal"
89
+ }
90
+ });
91
+ function x() {
92
+ const t = P(E);
93
+ if (!t) throw new Error("useStepper must be used within a Stepper");
94
+ return t;
95
+ }
96
+ function I() {
97
+ const t = P(L);
98
+ if (!t) throw new Error("useStepItem must be used within a StepperItem");
99
+ return t;
100
+ }
101
+ function M({
102
+ defaultValue: t = 1,
103
+ value: a,
104
+ onValueChange: n,
105
+ orientation: e = "horizontal",
106
+ className: i,
107
+ children: r,
108
+ indicators: S = {},
109
+ ...y
110
+ }) {
111
+ const [f, b] = p.useState(t), [o, h] = p.useState(
112
+ []
113
+ ), z = p.useCallback(
114
+ (s) => {
115
+ h((l) => s && !l.includes(s) ? [...l, s] : !s && l.includes(s) ? l.filter((w) => w !== s) : l);
116
+ },
117
+ []
118
+ ), N = p.useCallback(
119
+ (s) => {
120
+ a === void 0 && b(s), n?.(s);
121
+ },
122
+ [a, n]
123
+ ), V = a ?? f, m = (s) => {
124
+ o[s] && o[s].focus();
125
+ }, A = (s) => m((s + 1) % o.length), v = (s) => m((s - 1 + o.length) % o.length), C = () => m(0), k = () => m(o.length - 1), D = p.useMemo(
126
+ () => ({
127
+ activeStep: V,
128
+ setActiveStep: N,
129
+ stepsCount: p.Children.toArray(r).filter(
130
+ (s) => p.isValidElement(s) && s.type.displayName === "StepperItem"
131
+ ).length,
132
+ orientation: e,
133
+ registerTrigger: z,
134
+ focusNext: A,
135
+ focusPrev: v,
136
+ focusFirst: C,
137
+ focusLast: k,
138
+ triggerNodes: o,
139
+ indicators: S
140
+ }),
141
+ [
142
+ V,
143
+ N,
144
+ r,
145
+ e,
146
+ z,
147
+ o
148
+ ]
149
+ );
150
+ return /* @__PURE__ */ c(E.Provider, { value: D, children: /* @__PURE__ */ c(
151
+ "div",
152
+ {
153
+ role: "tablist",
154
+ "aria-orientation": e,
155
+ "data-slot": "stepper",
156
+ className: d(R({ orientation: e }), i),
157
+ "data-orientation": e,
158
+ ...y,
159
+ children: r
160
+ }
161
+ ) });
162
+ }
163
+ function Q({
164
+ step: t,
165
+ completed: a = !1,
166
+ disabled: n = !1,
167
+ loading: e = !1,
168
+ orientation: i,
169
+ className: r,
170
+ children: S,
171
+ ...y
172
+ }) {
173
+ const { activeStep: f, orientation: b } = x(), o = a || t < f ? "completed" : f === t ? "active" : "inactive", h = e && t === f;
174
+ return /* @__PURE__ */ c(
175
+ L.Provider,
176
+ {
177
+ value: { step: t, state: o, isDisabled: n, isLoading: h },
178
+ children: /* @__PURE__ */ c(
179
+ "div",
180
+ {
181
+ "data-slot": "stepper-item",
182
+ className: d(
183
+ O({
184
+ orientation: i || b
185
+ }),
186
+ r
187
+ ),
188
+ "data-state": o,
189
+ ...h ? { "data-loading": !0 } : {},
190
+ ...y,
191
+ children: S
192
+ }
193
+ )
194
+ }
195
+ );
196
+ }
197
+ function W({
198
+ asChild: t = !1,
199
+ size: a,
200
+ className: n,
201
+ children: e,
202
+ tabIndex: i,
203
+ ...r
204
+ }) {
205
+ const { state: S, isLoading: y } = I(), f = x(), {
206
+ setActiveStep: b,
207
+ activeStep: o,
208
+ registerTrigger: h,
209
+ triggerNodes: z,
210
+ focusNext: N,
211
+ focusPrev: V,
212
+ focusFirst: m,
213
+ focusLast: A
214
+ } = f, { step: v, isDisabled: C } = I(), k = o === v, D = `stepper-tab-${v}`, s = `stepper-panel-${v}`, l = p.useRef(null);
215
+ p.useEffect(() => {
216
+ l.current && h(l.current);
217
+ }, [l.current]);
218
+ const w = p.useMemo(
219
+ () => z.findIndex((u) => u === l.current),
220
+ [z, l.current]
221
+ ), j = (u) => {
222
+ switch (u.key) {
223
+ case "ArrowRight":
224
+ case "ArrowDown":
225
+ u.preventDefault(), w !== -1 && N && N(w);
226
+ break;
227
+ case "ArrowLeft":
228
+ case "ArrowUp":
229
+ u.preventDefault(), w !== -1 && V && V(w);
230
+ break;
231
+ case "Home":
232
+ u.preventDefault(), m && m();
233
+ break;
234
+ case "End":
235
+ u.preventDefault(), A && A();
236
+ break;
237
+ case "Enter":
238
+ case " ":
239
+ u.preventDefault(), b(v);
240
+ break;
241
+ }
242
+ };
243
+ return t ? /* @__PURE__ */ c(
244
+ "span",
245
+ {
246
+ "data-slot": "stepper-trigger",
247
+ "data-state": S,
248
+ className: n,
249
+ children: e
250
+ }
251
+ ) : /* @__PURE__ */ c(
252
+ "button",
253
+ {
254
+ ref: l,
255
+ role: "tab",
256
+ id: D,
257
+ "aria-selected": k,
258
+ "aria-controls": s,
259
+ tabIndex: typeof i == "number" ? i : k ? 0 : -1,
260
+ "data-slot": "stepper-trigger",
261
+ "data-state": S,
262
+ "data-loading": y,
263
+ className: d(F({ size: a }), n),
264
+ onClick: () => b(v),
265
+ onKeyDown: j,
266
+ disabled: C,
267
+ ...r,
268
+ children: e
269
+ }
270
+ );
271
+ }
272
+ function X({
273
+ children: t,
274
+ size: a,
275
+ className: n
276
+ }) {
277
+ const { state: e, isLoading: i } = I(), { indicators: r } = x();
278
+ return /* @__PURE__ */ c(
279
+ "div",
280
+ {
281
+ "data-slot": "stepper-indicator",
282
+ "data-state": e,
283
+ className: d(K({ size: a }), n),
284
+ children: /* @__PURE__ */ c("div", { className: "absolute", children: r && (i && r.loading || e === "completed" && r.completed || e === "active" && r.active || e === "inactive" && r.inactive) ? i && r.loading || e === "completed" && r.completed || e === "active" && r.active || e === "inactive" && r.inactive : t })
285
+ }
286
+ );
287
+ }
288
+ function Y({
289
+ orientation: t,
290
+ className: a
291
+ }) {
292
+ const { state: n } = I(), { orientation: e } = x();
293
+ return /* @__PURE__ */ c(
294
+ "div",
295
+ {
296
+ "data-slot": "stepper-separator",
297
+ "data-state": n,
298
+ className: d(
299
+ $({
300
+ orientation: t || e
301
+ }),
302
+ a
303
+ )
304
+ }
305
+ );
306
+ }
307
+ function Z({
308
+ children: t,
309
+ size: a,
310
+ className: n
311
+ }) {
312
+ const { state: e } = I();
313
+ return /* @__PURE__ */ c(
314
+ "h3",
315
+ {
316
+ "data-slot": "stepper-title",
317
+ "data-state": e,
318
+ className: d(H({ size: a }), n),
319
+ children: t
320
+ }
321
+ );
322
+ }
323
+ function _({
324
+ children: t,
325
+ orientation: a,
326
+ className: n
327
+ }) {
328
+ const { activeStep: e, orientation: i } = x();
329
+ return /* @__PURE__ */ c(
330
+ "nav",
331
+ {
332
+ "data-slot": "stepper-nav",
333
+ "data-state": e,
334
+ "data-orientation": a || i,
335
+ className: d(
336
+ U({
337
+ orientation: a || i
338
+ }),
339
+ n
340
+ ),
341
+ children: t
342
+ }
343
+ );
344
+ }
345
+ function tt({ children: t, className: a }) {
346
+ const { activeStep: n } = x();
347
+ return /* @__PURE__ */ c(
348
+ "div",
349
+ {
350
+ "data-slot": "stepper-panel",
351
+ "data-state": n,
352
+ className: d("w-full", a),
353
+ children: t
354
+ }
355
+ );
356
+ }
357
+ function et({
358
+ value: t,
359
+ forceMount: a,
360
+ children: n,
361
+ className: e
362
+ }) {
363
+ const { activeStep: i } = x(), r = t === i;
364
+ return !a && !r ? null : /* @__PURE__ */ c(
365
+ "div",
366
+ {
367
+ "data-slot": "stepper-content",
368
+ "data-state": i,
369
+ className: d("w-full", e, !r && a && "hidden"),
370
+ hidden: !r && a,
371
+ children: n
372
+ }
373
+ );
374
+ }
375
+ export {
376
+ M as Stepper,
377
+ et as StepperContent,
378
+ X as StepperIndicator,
379
+ Q as StepperItem,
380
+ _ as StepperNav,
381
+ tt as StepperPanel,
382
+ Y as StepperSeparator,
383
+ Z as StepperTitle,
384
+ W as StepperTrigger,
385
+ I as useStepItem,
386
+ x as useStepper
387
+ };