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
@@ -1,15 +1,15 @@
1
1
  "use client";
2
2
  import { createSelector as i } from "../../../../reselect/dist/reselect.js";
3
- import { selectChartOffset as m } from "./selectChartOffset.js";
4
- import { selectMargin as h } from "./containerSelectors.js";
3
+ import { selectChartOffsetInternal as l } from "./selectChartOffsetInternal.js";
4
+ import { selectMargin as m } from "./containerSelectors.js";
5
5
  import { isNumber as r } from "../../util/DataUtils.js";
6
- var l = (o) => o.brush, w = i([l, m, h], (o, e, t) => ({
7
- height: o.height,
8
- x: r(o.x) ? o.x : e.left,
9
- y: r(o.y) ? o.y : e.top + e.height + e.brushBottom - (t?.bottom || 0),
10
- width: r(o.width) ? o.width : e.width
6
+ var h = (e) => e.brush, v = i([h, l, m], (e, o, t) => ({
7
+ height: e.height,
8
+ x: r(e.x) ? e.x : o.left,
9
+ y: r(e.y) ? e.y : o.top + o.height + o.brushBottom - (t?.bottom || 0),
10
+ width: r(e.width) ? e.width : o.width
11
11
  }));
12
12
  export {
13
- w as selectBrushDimensions,
14
- l as selectBrushSettings
13
+ v as selectBrushDimensions,
14
+ h as selectBrushSettings
15
15
  };
@@ -0,0 +1,26 @@
1
+ "use client";
2
+ import { getStackSeriesIdentifier as g } from "../../../util/stacks/getStackSeriesIdentifier.js";
3
+ import { getValueByDataKey as u } from "../../../util/ChartUtils.js";
4
+ function K(c, s, v) {
5
+ var {
6
+ chartData: d = []
7
+ } = s, {
8
+ allowDuplicatedCategory: f,
9
+ dataKey: o
10
+ } = v, a = /* @__PURE__ */ new Map();
11
+ return c.forEach((t) => {
12
+ var r, l = (r = t.data) !== null && r !== void 0 ? r : d;
13
+ if (!(l == null || l.length === 0)) {
14
+ var y = g(t);
15
+ l.forEach((n, p) => {
16
+ var i = o == null || f ? p : String(u(n, o, null)), D = u(n, t.dataKey, 0), e;
17
+ a.has(i) ? e = a.get(i) : e = {}, Object.assign(e, {
18
+ [y]: D
19
+ }), a.set(i, e);
20
+ });
21
+ }
22
+ }), Array.from(a.values());
23
+ }
24
+ export {
25
+ K as combineDisplayedStackedData
26
+ };
@@ -0,0 +1,117 @@
1
+ "use client";
2
+ import { findEntryInArray as T } from "../../../util/DataUtils.js";
3
+ import { getTooltipEntry as m, getValueByDataKey as p } from "../../../util/ChartUtils.js";
4
+ import { getSliced as _ } from "../../../util/getSliced.js";
5
+ function O(r, e) {
6
+ var t = Object.keys(r);
7
+ if (Object.getOwnPropertySymbols) {
8
+ var n = Object.getOwnPropertySymbols(r);
9
+ e && (n = n.filter(function(l) {
10
+ return Object.getOwnPropertyDescriptor(r, l).enumerable;
11
+ })), t.push.apply(t, n);
12
+ }
13
+ return t;
14
+ }
15
+ function g(r) {
16
+ for (var e = 1; e < arguments.length; e++) {
17
+ var t = arguments[e] != null ? arguments[e] : {};
18
+ e % 2 ? O(Object(t), !0).forEach(function(n) {
19
+ I(r, n, t[n]);
20
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(t)) : O(Object(t)).forEach(function(n) {
21
+ Object.defineProperty(r, n, Object.getOwnPropertyDescriptor(t, n));
22
+ });
23
+ }
24
+ return r;
25
+ }
26
+ function I(r, e, t) {
27
+ return (e = N(e)) in r ? Object.defineProperty(r, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : r[e] = t, r;
28
+ }
29
+ function N(r) {
30
+ var e = k(r, "string");
31
+ return typeof e == "symbol" ? e : e + "";
32
+ }
33
+ function k(r, e) {
34
+ if (typeof r != "object" || !r) return r;
35
+ var t = r[Symbol.toPrimitive];
36
+ if (t !== void 0) {
37
+ var n = t.call(r, e);
38
+ if (typeof n != "object") return n;
39
+ throw new TypeError("@@toPrimitive must return a primitive value.");
40
+ }
41
+ return (e === "string" ? String : Number)(r);
42
+ }
43
+ function x(r, e) {
44
+ return r ?? e;
45
+ }
46
+ var z = (r, e, t, n, l, s, j) => {
47
+ if (!(e == null || s == null)) {
48
+ var {
49
+ chartData: P,
50
+ computedData: w,
51
+ dataStartIndex: E,
52
+ dataEndIndex: S
53
+ } = t, h = [];
54
+ return r.reduce((y, K) => {
55
+ var f, {
56
+ dataDefinedOnItem: A,
57
+ settings: a
58
+ } = K, c = x(A, P), u = Array.isArray(c) ? _(c, E, S) : c, v = (f = a?.dataKey) !== null && f !== void 0 ? f : n, b = a?.nameKey, i;
59
+ if (n && Array.isArray(u) && /*
60
+ * findEntryInArray won't work for Scatter because Scatter provides an array of arrays
61
+ * as tooltip payloads and findEntryInArray is not prepared to handle that.
62
+ * Sad but also ScatterChart only allows 'item' tooltipEventType
63
+ * and also this is only a problem if there are multiple Scatters and each has its own data array
64
+ * so let's fix that some other time.
65
+ */
66
+ !Array.isArray(u[0]) && /*
67
+ * If the tooltipEventType is 'axis', we should search for the dataKey in the sliced data
68
+ * because thanks to allowDuplicatedCategory=false, the order of elements in the array
69
+ * no longer matches the order of elements in the original data
70
+ * and so we need to search by the active dataKey + label rather than by index.
71
+ *
72
+ * The same happens if multiple graphical items are present in the chart
73
+ * and each of them has its own data array. Those arrays get concatenated
74
+ * and again the tooltip index no longer matches the original data.
75
+ *
76
+ * On the other hand the tooltipEventType 'item' should always search by index
77
+ * because we get the index from interacting over the individual elements
78
+ * which is always accurate, irrespective of the allowDuplicatedCategory setting.
79
+ */
80
+ j === "axis" ? i = T(u, n, l) : i = s(u, e, w, b), Array.isArray(i))
81
+ i.forEach((o) => {
82
+ var D = g(g({}, a), {}, {
83
+ name: o.name,
84
+ unit: o.unit,
85
+ // color and fill are erased to keep 100% the identical behaviour to recharts 2.x - but there's nothing stopping us from returning them here. It's technically a breaking change.
86
+ color: void 0,
87
+ // color and fill are erased to keep 100% the identical behaviour to recharts 2.x - but there's nothing stopping us from returning them here. It's technically a breaking change.
88
+ fill: void 0
89
+ });
90
+ y.push(m({
91
+ tooltipEntrySettings: D,
92
+ dataKey: o.dataKey,
93
+ payload: o.payload,
94
+ // @ts-expect-error getValueByDataKey does not validate the output type
95
+ value: p(o.payload, o.dataKey),
96
+ name: o.name
97
+ }));
98
+ });
99
+ else {
100
+ var d;
101
+ y.push(m({
102
+ tooltipEntrySettings: a,
103
+ dataKey: v,
104
+ payload: i,
105
+ // @ts-expect-error getValueByDataKey does not validate the output type
106
+ value: p(i, v),
107
+ // @ts-expect-error getValueByDataKey does not validate the output type
108
+ name: (d = p(i, b)) !== null && d !== void 0 ? d : a?.name
109
+ }));
110
+ }
111
+ return y;
112
+ }, h);
113
+ }
114
+ };
115
+ export {
116
+ z as combineTooltipPayload
117
+ };
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { createSelector as n } from "../../../../reselect/dist/reselect.js";
3
- var r = (a) => a.chartData, c = n([r], (a) => {
3
+ var e = (a) => a.chartData, c = n([e], (a) => {
4
4
  var t = a.chartData != null ? a.chartData.length - 1 : 0;
5
5
  return {
6
6
  chartData: a.chartData,
@@ -8,9 +8,9 @@ var r = (a) => a.chartData, c = n([r], (a) => {
8
8
  dataEndIndex: t,
9
9
  dataStartIndex: 0
10
10
  };
11
- }), D = (a, t, h, e) => e ? c(a) : r(a);
11
+ }), d = (a, t, h, r) => r ? c(a) : e(a);
12
12
  export {
13
13
  c as selectChartDataAndAlwaysIgnoreIndexes,
14
- r as selectChartDataWithIndexes,
15
- D as selectChartDataWithIndexesIfNotInPanorama
14
+ e as selectChartDataWithIndexes,
15
+ d as selectChartDataWithIndexesIfNotInPanorama
16
16
  };
@@ -1,8 +1,14 @@
1
1
  "use client";
2
2
  import { createSelector as l } from "../../../../reselect/dist/reselect.js";
3
- var r = (e) => e.legend.settings, d = (e) => e.legend.size, t = (e) => e.legend.payload, n = l([t], (e) => e.flat(1));
3
+ import n from "../../../../../_virtual/sortBy.js";
4
+ var o = (e) => e.legend.settings, i = (e) => e.legend.size, d = (e) => e.legend.payload, c = l([d, o], (e, a) => {
5
+ var {
6
+ itemSorter: r
7
+ } = a, t = e.flat(1);
8
+ return r ? n(t, r) : t;
9
+ });
4
10
  export {
5
- n as selectLegendPayload,
6
- r as selectLegendSettings,
7
- d as selectLegendSize
11
+ c as selectLegendPayload,
12
+ o as selectLegendSettings,
13
+ i as selectLegendSize
8
14
  };
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import { createSelector as n } from "../../../../reselect/dist/reselect.js";
3
3
  import { selectChartWidth as f, selectChartHeight as m } from "./containerSelectors.js";
4
- import { selectChartOffset as k } from "./selectChartOffset.js";
4
+ import { selectChartOffsetInternal as k } from "./selectChartOffsetInternal.js";
5
5
  import { getMaxRadius as D } from "../../util/PolarUtils.js";
6
6
  import { getPercentValue as t } from "../../util/DataUtils.js";
7
- import { defaultPolarAngleAxisProps as a } from "../../polar/defaultPolarAngleAxisProps.js";
8
- import { defaultPolarRadiusAxisProps as i } from "../../polar/defaultPolarRadiusAxisProps.js";
7
+ import { defaultPolarAngleAxisProps as i } from "../../polar/defaultPolarAngleAxisProps.js";
8
+ import { defaultPolarRadiusAxisProps as a } from "../../polar/defaultPolarRadiusAxisProps.js";
9
9
  import { combineAxisRangeWithReverse as A } from "./combiners/combineAxisRangeWithReverse.js";
10
10
  import { selectChartLayout as C } from "../../context/chartLayoutContext.js";
11
11
  var R = {
@@ -15,71 +15,71 @@ var R = {
15
15
  // defaultPolarAngleAxisProps.allowDuplicatedCategory has it set to true but the actual axis rendering ignores the prop because reasons,
16
16
  dataKey: void 0,
17
17
  domain: void 0,
18
- id: a.angleAxisId,
18
+ id: i.angleAxisId,
19
19
  includeHidden: !1,
20
20
  name: void 0,
21
- reversed: a.reversed,
22
- scale: a.scale,
23
- tick: a.tick,
21
+ reversed: i.reversed,
22
+ scale: i.scale,
23
+ tick: i.tick,
24
24
  tickCount: void 0,
25
25
  ticks: void 0,
26
- type: a.type,
26
+ type: i.type,
27
27
  unit: void 0
28
28
  }, O = {
29
- allowDataOverflow: i.allowDataOverflow,
29
+ allowDataOverflow: a.allowDataOverflow,
30
30
  allowDecimals: !1,
31
- allowDuplicatedCategory: i.allowDuplicatedCategory,
31
+ allowDuplicatedCategory: a.allowDuplicatedCategory,
32
32
  dataKey: void 0,
33
33
  domain: void 0,
34
- id: i.radiusAxisId,
34
+ id: a.radiusAxisId,
35
35
  includeHidden: !1,
36
36
  name: void 0,
37
37
  reversed: !1,
38
- scale: i.scale,
39
- tick: i.tick,
40
- tickCount: i.tickCount,
38
+ scale: a.scale,
39
+ tick: a.tick,
40
+ tickCount: a.tickCount,
41
41
  ticks: void 0,
42
- type: i.type,
42
+ type: a.type,
43
43
  unit: void 0
44
44
  }, P = {
45
45
  allowDataOverflow: !1,
46
46
  allowDecimals: !1,
47
- allowDuplicatedCategory: a.allowDuplicatedCategory,
47
+ allowDuplicatedCategory: i.allowDuplicatedCategory,
48
48
  dataKey: void 0,
49
49
  domain: void 0,
50
- id: a.angleAxisId,
50
+ id: i.angleAxisId,
51
51
  includeHidden: !1,
52
52
  name: void 0,
53
53
  reversed: !1,
54
- scale: a.scale,
55
- tick: a.tick,
54
+ scale: i.scale,
55
+ tick: i.tick,
56
56
  tickCount: void 0,
57
57
  ticks: void 0,
58
58
  type: "number",
59
59
  unit: void 0
60
60
  }, H = {
61
- allowDataOverflow: i.allowDataOverflow,
61
+ allowDataOverflow: a.allowDataOverflow,
62
62
  allowDecimals: !1,
63
- allowDuplicatedCategory: i.allowDuplicatedCategory,
63
+ allowDuplicatedCategory: a.allowDuplicatedCategory,
64
64
  dataKey: void 0,
65
65
  domain: void 0,
66
- id: i.radiusAxisId,
66
+ id: a.radiusAxisId,
67
67
  includeHidden: !1,
68
68
  name: void 0,
69
69
  reversed: !1,
70
- scale: i.scale,
71
- tick: i.tick,
72
- tickCount: i.tickCount,
70
+ scale: a.scale,
71
+ tick: a.tick,
72
+ tickCount: a.tickCount,
73
73
  ticks: void 0,
74
74
  type: "category",
75
75
  unit: void 0
76
- }, K = (e, l) => e.polarAxis.angleAxis[l] != null ? e.polarAxis.angleAxis[l] : e.layout.layoutType === "radial" ? P : R, b = (e, l) => e.polarAxis.radiusAxis[l] != null ? e.polarAxis.radiusAxis[l] : e.layout.layoutType === "radial" ? H : O, d = (e) => e.polarOptions, u = n([f, m, k], D), p = n([d, u], (e, l) => {
76
+ }, I = (e, l) => e.polarAxis.angleAxis[l] != null ? e.polarAxis.angleAxis[l] : e.layout.layoutType === "radial" ? P : R, K = (e, l) => e.polarAxis.radiusAxis[l] != null ? e.polarAxis.radiusAxis[l] : e.layout.layoutType === "radial" ? H : O, d = (e) => e.polarOptions, u = n([f, m, k], D), p = n([d, u], (e, l) => {
77
77
  if (e != null)
78
78
  return t(e.innerRadius, l, 0);
79
79
  }), g = n([d, u], (e, l) => {
80
80
  if (e != null)
81
81
  return t(e.outerRadius, l, l * 0.8);
82
- }), I = (e) => {
82
+ }), b = (e) => {
83
83
  if (e == null)
84
84
  return [0, 0];
85
85
  var {
@@ -87,13 +87,13 @@ var R = {
87
87
  endAngle: r
88
88
  } = e;
89
89
  return [l, r];
90
- }, W = n([d], I);
91
- n([K, W], A);
90
+ }, W = n([d], b);
91
+ n([I, W], A);
92
92
  var h = n([u, p, g], (e, l, r) => {
93
93
  if (!(e == null || l == null || r == null))
94
94
  return [l, r];
95
95
  });
96
- n([b, h], A);
96
+ n([K, h], A);
97
97
  n([C, d, p, g, f, m], (e, l, r, s, c, o) => {
98
98
  if (!(e !== "centric" && e !== "radial" || l == null || r == null || s == null)) {
99
99
  var {
@@ -110,6 +110,7 @@ n([C, d, p, g, f, m], (e, l, r, s, c, o) => {
110
110
  startAngle: y,
111
111
  endAngle: w,
112
112
  clockWise: !1
113
+ // this property look useful, why not use it?
113
114
  };
114
115
  }
115
116
  });
@@ -118,11 +119,11 @@ export {
118
119
  P as implicitRadialBarAngleAxis,
119
120
  H as implicitRadialBarRadiusAxis,
120
121
  O as implicitRadiusAxis,
121
- K as selectAngleAxis,
122
+ I as selectAngleAxis,
122
123
  W as selectAngleAxisRange,
123
124
  u as selectMaxRadius,
124
125
  g as selectOuterRadius,
125
126
  d as selectPolarOptions,
126
- b as selectRadiusAxis,
127
+ K as selectRadiusAxis,
127
128
  h as selectRadiusAxisRange
128
129
  };
@@ -0,0 +1,108 @@
1
+ "use client";
2
+ import { createSelector as c } from "../../../../reselect/dist/reselect.js";
3
+ import { selectLegendSettings as A, selectLegendSize as P } from "./legendSelectors.js";
4
+ import { appendOffsetOfLegend as S } from "../../util/ChartUtils.js";
5
+ import { selectChartWidth as s, selectChartHeight as a, selectMargin as _ } from "./containerSelectors.js";
6
+ import { selectAllYAxes as h, selectAllXAxes as p } from "./selectAllAxes.js";
7
+ import { DEFAULT_Y_AXIS_WIDTH as m } from "../../util/Constants.js";
8
+ function u(e, o) {
9
+ var r = Object.keys(e);
10
+ if (Object.getOwnPropertySymbols) {
11
+ var t = Object.getOwnPropertySymbols(e);
12
+ o && (t = t.filter(function(n) {
13
+ return Object.getOwnPropertyDescriptor(e, n).enumerable;
14
+ })), r.push.apply(r, t);
15
+ }
16
+ return r;
17
+ }
18
+ function f(e) {
19
+ for (var o = 1; o < arguments.length; o++) {
20
+ var r = arguments[o] != null ? arguments[o] : {};
21
+ o % 2 ? u(Object(r), !0).forEach(function(t) {
22
+ D(e, t, r[t]);
23
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : u(Object(r)).forEach(function(t) {
24
+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
25
+ });
26
+ }
27
+ return e;
28
+ }
29
+ function D(e, o, r) {
30
+ return (o = H(o)) in e ? Object.defineProperty(e, o, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[o] = r, e;
31
+ }
32
+ function H(e) {
33
+ var o = L(e, "string");
34
+ return typeof o == "symbol" ? o : o + "";
35
+ }
36
+ function L(e, o) {
37
+ if (typeof e != "object" || !e) return e;
38
+ var r = e[Symbol.toPrimitive];
39
+ if (r !== void 0) {
40
+ var t = r.call(e, o);
41
+ if (typeof t != "object") return t;
42
+ throw new TypeError("@@toPrimitive must return a primitive value.");
43
+ }
44
+ return (o === "string" ? String : Number)(e);
45
+ }
46
+ var B = (e) => e.brush.height;
47
+ function C(e) {
48
+ var o = h(e);
49
+ return o.reduce((r, t) => {
50
+ if (t.orientation === "left" && !t.mirror && !t.hide) {
51
+ var n = typeof t.width == "number" ? t.width : m;
52
+ return r + n;
53
+ }
54
+ return r;
55
+ }, 0);
56
+ }
57
+ function E(e) {
58
+ var o = h(e);
59
+ return o.reduce((r, t) => {
60
+ if (t.orientation === "right" && !t.mirror && !t.hide) {
61
+ var n = typeof t.width == "number" ? t.width : m;
62
+ return r + n;
63
+ }
64
+ return r;
65
+ }, 0);
66
+ }
67
+ function T(e) {
68
+ var o = p(e);
69
+ return o.reduce((r, t) => t.orientation === "top" && !t.mirror && !t.hide ? r + t.height : r, 0);
70
+ }
71
+ function I(e) {
72
+ var o = p(e);
73
+ return o.reduce((r, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? r + t.height : r, 0);
74
+ }
75
+ var M = c([s, a, _, B, C, E, T, I, A, P], (e, o, r, t, n, l, b, g, v, d) => {
76
+ var O = {
77
+ left: (r.left || 0) + n,
78
+ right: (r.right || 0) + l
79
+ }, w = {
80
+ top: (r.top || 0) + b,
81
+ bottom: (r.bottom || 0) + g
82
+ }, i = f(f({}, w), O), x = i.bottom;
83
+ i.bottom += t, i = S(i, v, d);
84
+ var j = e - i.left - i.right, y = o - i.top - i.bottom;
85
+ return f(f({
86
+ brushBottom: x
87
+ }, i), {}, {
88
+ // never return negative values for height and width
89
+ width: Math.max(j, 0),
90
+ height: Math.max(y, 0)
91
+ });
92
+ }), z = c(M, (e) => ({
93
+ x: e.left,
94
+ y: e.top,
95
+ width: e.width,
96
+ height: e.height
97
+ }));
98
+ c(s, a, (e, o) => ({
99
+ x: 0,
100
+ y: 0,
101
+ width: e,
102
+ height: o
103
+ }));
104
+ export {
105
+ B as selectBrushHeight,
106
+ M as selectChartOffsetInternal,
107
+ z as selectChartViewBox
108
+ };
@@ -0,0 +1,13 @@
1
+ "use client";
2
+ import { createSelector as i } from "../../../../reselect/dist/reselect.js";
3
+ import { selectAxisSettings as r } from "./axisSelectors.js";
4
+ import { selectTooltipAxisType as l } from "./selectTooltipAxisType.js";
5
+ import { selectTooltipAxisId as p } from "./selectTooltipAxisId.js";
6
+ var s = (e) => {
7
+ var o = l(e), t = p(e);
8
+ return r(e, o, t);
9
+ }, x = i([s], (e) => e?.dataKey);
10
+ export {
11
+ s as selectTooltipAxis,
12
+ x as selectTooltipAxisDataKey
13
+ };
@@ -0,0 +1,5 @@
1
+ "use client";
2
+ var e = (t) => t.tooltip.settings.axisId;
3
+ export {
4
+ e as selectTooltipAxisId
5
+ };
@@ -0,0 +1,9 @@
1
+ "use client";
2
+ import { selectChartLayout as e } from "../../context/chartLayoutContext.js";
3
+ var a = (t) => {
4
+ var r = e(t);
5
+ return r === "horizontal" ? "xAxis" : r === "vertical" ? "yAxis" : r === "centric" ? "angleAxis" : "radiusAxis";
6
+ };
7
+ export {
8
+ a as selectTooltipAxisType
9
+ };