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,13 +1,13 @@
1
1
  "use client";
2
- import { evaluate as T, getSideAxis as B, getSide as W, clamp as X, getOppositePlacement as ee, getExpandedPlacements as te, getOppositeAxisPlacements as ne, getAlignmentSides as ie, getAlignment as I, min as $, max as Y, getPaddingObject as K, rectToClientRect as _, getOppositeAxis as N, getAlignmentAxis as Q, sides as se, getAxisLength as U } from "../../utils/dist/floating-ui.utils.js";
3
- function q(t, e, d) {
2
+ import { evaluate as L, getSideAxis as T, getSide as j, clamp as X, getOppositePlacement as ee, getExpandedPlacements as te, getOppositeAxisPlacements as ne, getAlignmentSides as ie, getAlignment as z, min as $, max as W, getPaddingObject as J, rectToClientRect as _, getOppositeAxis as K, getAlignmentAxis as N, sides as se, getAxisLength as Q } from "../../utils/dist/floating-ui.utils.js";
3
+ function I(t, e, d) {
4
4
  let {
5
5
  reference: a,
6
6
  floating: r
7
7
  } = t;
8
- const n = B(e), o = Q(e), m = U(o), g = W(e), h = n === "y", c = a.x + a.width / 2 - r.width / 2, s = a.y + a.height / 2 - r.height / 2, f = a[m] / 2 - r[m] / 2;
8
+ const n = T(e), o = N(e), m = Q(o), u = j(e), h = n === "y", c = a.x + a.width / 2 - r.width / 2, s = a.y + a.height / 2 - r.height / 2, f = a[m] / 2 - r[m] / 2;
9
9
  let i;
10
- switch (g) {
10
+ switch (u) {
11
11
  case "top":
12
12
  i = {
13
13
  x: c,
@@ -38,7 +38,7 @@ function q(t, e, d) {
38
38
  y: a.y
39
39
  };
40
40
  }
41
- switch (I(e)) {
41
+ switch (z(e)) {
42
42
  case "start":
43
43
  i[o] -= f * (d && h ? -1 : 1);
44
44
  break;
@@ -54,7 +54,7 @@ const ce = async (t, e, d) => {
54
54
  strategy: r = "absolute",
55
55
  middleware: n = [],
56
56
  platform: o
57
- } = d, m = n.filter(Boolean), g = await (o.isRTL == null ? void 0 : o.isRTL(e));
57
+ } = d, m = n.filter(Boolean), u = await (o.isRTL == null ? void 0 : o.isRTL(e));
58
58
  let h = await o.getElementRects({
59
59
  reference: t,
60
60
  floating: e,
@@ -62,17 +62,17 @@ const ce = async (t, e, d) => {
62
62
  }), {
63
63
  x: c,
64
64
  y: s
65
- } = q(h, a, g), f = a, i = {}, l = 0;
66
- for (let u = 0; u < m.length; u++) {
65
+ } = I(h, a, u), f = a, i = {}, l = 0;
66
+ for (let g = 0; g < m.length; g++) {
67
67
  const {
68
68
  name: x,
69
- fn: A
70
- } = m[u], {
71
- x: v,
69
+ fn: y
70
+ } = m[g], {
71
+ x: A,
72
72
  y: p,
73
- data: y,
73
+ data: v,
74
74
  reset: w
75
- } = await A({
75
+ } = await y({
76
76
  x: c,
77
77
  y: s,
78
78
  initialPlacement: a,
@@ -86,11 +86,11 @@ const ce = async (t, e, d) => {
86
86
  floating: e
87
87
  }
88
88
  });
89
- c = v ?? c, s = p ?? s, i = {
89
+ c = A ?? c, s = p ?? s, i = {
90
90
  ...i,
91
91
  [x]: {
92
92
  ...i[x],
93
- ...y
93
+ ...v
94
94
  }
95
95
  }, w && l <= 50 && (l++, typeof w == "object" && (w.placement && (f = w.placement), w.rects && (h = w.rects === !0 ? await o.getElementRects({
96
96
  reference: t,
@@ -99,7 +99,7 @@ const ce = async (t, e, d) => {
99
99
  }) : w.rects), {
100
100
  x: c,
101
101
  y: s
102
- } = q(h, f, g)), u = -1);
102
+ } = I(h, f, u)), g = -1);
103
103
  }
104
104
  return {
105
105
  x: c,
@@ -109,7 +109,7 @@ const ce = async (t, e, d) => {
109
109
  middlewareData: i
110
110
  };
111
111
  };
112
- async function z(t, e) {
112
+ async function Y(t, e) {
113
113
  var d;
114
114
  e === void 0 && (e = {});
115
115
  const {
@@ -118,24 +118,24 @@ async function z(t, e) {
118
118
  platform: n,
119
119
  rects: o,
120
120
  elements: m,
121
- strategy: g
121
+ strategy: u
122
122
  } = t, {
123
123
  boundary: h = "clippingAncestors",
124
124
  rootBoundary: c = "viewport",
125
125
  elementContext: s = "floating",
126
126
  altBoundary: f = !1,
127
127
  padding: i = 0
128
- } = T(e, t), l = K(i), x = m[f ? s === "floating" ? "reference" : "floating" : s], A = _(await n.getClippingRect({
128
+ } = L(e, t), l = J(i), x = m[f ? s === "floating" ? "reference" : "floating" : s], y = _(await n.getClippingRect({
129
129
  element: (d = await (n.isElement == null ? void 0 : n.isElement(x))) == null || d ? x : x.contextElement || await (n.getDocumentElement == null ? void 0 : n.getDocumentElement(m.floating)),
130
130
  boundary: h,
131
131
  rootBoundary: c,
132
- strategy: g
133
- })), v = s === "floating" ? {
132
+ strategy: u
133
+ })), A = s === "floating" ? {
134
134
  x: a,
135
135
  y: r,
136
136
  width: o.floating.width,
137
137
  height: o.floating.height
138
- } : o.reference, p = await (n.getOffsetParent == null ? void 0 : n.getOffsetParent(m.floating)), y = await (n.isElement == null ? void 0 : n.isElement(p)) ? await (n.getScale == null ? void 0 : n.getScale(p)) || {
138
+ } : o.reference, p = await (n.getOffsetParent == null ? void 0 : n.getOffsetParent(m.floating)), v = await (n.isElement == null ? void 0 : n.isElement(p)) ? await (n.getScale == null ? void 0 : n.getScale(p)) || {
139
139
  x: 1,
140
140
  y: 1
141
141
  } : {
@@ -143,15 +143,15 @@ async function z(t, e) {
143
143
  y: 1
144
144
  }, w = _(n.convertOffsetParentRelativeRectToViewportRelativeRect ? await n.convertOffsetParentRelativeRectToViewportRelativeRect({
145
145
  elements: m,
146
- rect: v,
146
+ rect: A,
147
147
  offsetParent: p,
148
- strategy: g
149
- }) : v);
148
+ strategy: u
149
+ }) : A);
150
150
  return {
151
- top: (A.top - w.top + l.top) / y.y,
152
- bottom: (w.bottom - A.bottom + l.bottom) / y.y,
153
- left: (A.left - w.left + l.left) / y.x,
154
- right: (w.right - A.right + l.right) / y.x
151
+ top: (y.top - w.top + l.top) / v.y,
152
+ bottom: (w.bottom - y.bottom + l.bottom) / v.y,
153
+ left: (y.left - w.left + l.left) / v.x,
154
+ right: (w.right - y.right + l.right) / v.x
155
155
  };
156
156
  }
157
157
  const le = (t) => ({
@@ -165,30 +165,30 @@ const le = (t) => ({
165
165
  rects: n,
166
166
  platform: o,
167
167
  elements: m,
168
- middlewareData: g
168
+ middlewareData: u
169
169
  } = e, {
170
170
  element: h,
171
171
  padding: c = 0
172
- } = T(t, e) || {};
172
+ } = L(t, e) || {};
173
173
  if (h == null)
174
174
  return {};
175
- const s = K(c), f = {
175
+ const s = J(c), f = {
176
176
  x: d,
177
177
  y: a
178
- }, i = Q(r), l = U(i), u = await o.getDimensions(h), x = i === "y", A = x ? "top" : "left", v = x ? "bottom" : "right", p = x ? "clientHeight" : "clientWidth", y = n.reference[l] + n.reference[i] - f[i] - n.floating[l], w = f[i] - n.reference[i], O = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(h));
179
- let P = O ? O[p] : 0;
180
- (!P || !await (o.isElement == null ? void 0 : o.isElement(O))) && (P = m.floating[p] || n.floating[l]);
181
- const M = y / 2 - w / 2, R = P / 2 - u[l] / 2 - 1, b = $(s[A], R), L = $(s[v], R), S = b, H = P - u[l] - L, k = P / 2 - u[l] / 2 + M, C = X(S, k, H), j = !g.arrow && I(r) != null && k !== C && n.reference[l] / 2 - (k < S ? b : L) - u[l] / 2 < 0, E = j ? k < S ? k - S : k - H : 0;
178
+ }, i = N(r), l = Q(i), g = await o.getDimensions(h), x = i === "y", y = x ? "top" : "left", A = x ? "bottom" : "right", p = x ? "clientHeight" : "clientWidth", v = n.reference[l] + n.reference[i] - f[i] - n.floating[l], w = f[i] - n.reference[i], P = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(h));
179
+ let C = P ? P[p] : 0;
180
+ (!C || !await (o.isElement == null ? void 0 : o.isElement(P))) && (C = m.floating[p] || n.floating[l]);
181
+ const M = v / 2 - w / 2, k = C / 2 - g[l] / 2 - 1, O = $(s[y], k), H = $(s[A], k), D = O, F = C - g[l] - H, b = C / 2 - g[l] / 2 + M, B = X(D, b, F), E = !u.arrow && z(r) != null && b !== B && n.reference[l] / 2 - (b < D ? O : H) - g[l] / 2 < 0, S = E ? b < D ? b - D : b - F : 0;
182
182
  return {
183
- [i]: f[i] + E,
183
+ [i]: f[i] + S,
184
184
  data: {
185
- [i]: C,
186
- centerOffset: k - C - E,
187
- ...j && {
188
- alignmentOffset: E
185
+ [i]: B,
186
+ centerOffset: b - B - S,
187
+ ...E && {
188
+ alignmentOffset: S
189
189
  }
190
190
  },
191
- reset: j
191
+ reset: E
192
192
  };
193
193
  }
194
194
  }), re = function(t) {
@@ -202,7 +202,7 @@ const le = (t) => ({
202
202
  middlewareData: n,
203
203
  rects: o,
204
204
  initialPlacement: m,
205
- platform: g,
205
+ platform: u,
206
206
  elements: h
207
207
  } = e, {
208
208
  mainAxis: c = !0,
@@ -210,54 +210,52 @@ const le = (t) => ({
210
210
  fallbackPlacements: f,
211
211
  fallbackStrategy: i = "bestFit",
212
212
  fallbackAxisSideDirection: l = "none",
213
- flipAlignment: u = !0,
213
+ flipAlignment: g = !0,
214
214
  ...x
215
- } = T(t, e);
215
+ } = L(t, e);
216
216
  if ((d = n.arrow) != null && d.alignmentOffset)
217
217
  return {};
218
- const A = W(r), v = B(m), p = W(m) === m, y = await (g.isRTL == null ? void 0 : g.isRTL(h.floating)), w = f || (p || !u ? [ee(m)] : te(m)), O = l !== "none";
219
- !f && O && w.push(...ne(m, u, l, y));
220
- const P = [m, ...w], M = await z(e, x), R = [];
221
- let b = ((a = n.flip) == null ? void 0 : a.overflows) || [];
222
- if (c && R.push(M[A]), s) {
223
- const C = ie(r, o, y);
224
- R.push(M[C[0]], M[C[1]]);
218
+ const y = j(r), A = T(m), p = j(m) === m, v = await (u.isRTL == null ? void 0 : u.isRTL(h.floating)), w = f || (p || !g ? [ee(m)] : te(m)), P = l !== "none";
219
+ !f && P && w.push(...ne(m, g, l, v));
220
+ const C = [m, ...w], M = await Y(e, x), k = [];
221
+ let O = ((a = n.flip) == null ? void 0 : a.overflows) || [];
222
+ if (c && k.push(M[y]), s) {
223
+ const b = ie(r, o, v);
224
+ k.push(M[b[0]], M[b[1]]);
225
225
  }
226
- if (b = [...b, {
226
+ if (O = [...O, {
227
227
  placement: r,
228
- overflows: R
229
- }], !R.every((C) => C <= 0)) {
230
- var L, S;
231
- const C = (((L = n.flip) == null ? void 0 : L.index) || 0) + 1, j = P[C];
232
- if (j) {
233
- var H;
234
- const F = s === "alignment" ? v !== B(j) : !1, D = ((H = b[0]) == null ? void 0 : H.overflows[0]) > 0;
235
- if (!F || D)
236
- return {
237
- data: {
238
- index: C,
239
- overflows: b
240
- },
241
- reset: {
242
- placement: j
243
- }
244
- };
245
- }
246
- let E = (S = b.filter((F) => F.overflows[0] <= 0).sort((F, D) => F.overflows[1] - D.overflows[1])[0]) == null ? void 0 : S.placement;
228
+ overflows: k
229
+ }], !k.every((b) => b <= 0)) {
230
+ var H, D;
231
+ const b = (((H = n.flip) == null ? void 0 : H.index) || 0) + 1, B = C[b];
232
+ if (B && (!(s === "alignment" ? A !== T(B) : !1) || // We leave the current main axis only if every placement on that axis
233
+ // overflows the main axis.
234
+ O.every((R) => T(R.placement) === A ? R.overflows[0] > 0 : !0)))
235
+ return {
236
+ data: {
237
+ index: b,
238
+ overflows: O
239
+ },
240
+ reset: {
241
+ placement: B
242
+ }
243
+ };
244
+ let E = (D = O.filter((S) => S.overflows[0] <= 0).sort((S, R) => S.overflows[1] - R.overflows[1])[0]) == null ? void 0 : D.placement;
247
245
  if (!E)
248
246
  switch (i) {
249
247
  case "bestFit": {
250
- var k;
251
- const F = (k = b.filter((D) => {
252
- if (O) {
253
- const V = B(D.placement);
254
- return V === v || // Create a bias to the `y` side axis due to horizontal
248
+ var F;
249
+ const S = (F = O.filter((R) => {
250
+ if (P) {
251
+ const V = T(R.placement);
252
+ return V === A || // Create a bias to the `y` side axis due to horizontal
255
253
  // reading directions favoring greater width.
256
254
  V === "y";
257
255
  }
258
256
  return !0;
259
- }).map((D) => [D.placement, D.overflows.filter((V) => V > 0).reduce((V, Z) => V + Z, 0)]).sort((D, V) => D[1] - V[1])[0]) == null ? void 0 : k[0];
260
- F && (E = F);
257
+ }).map((R) => [R.placement, R.overflows.filter((V) => V > 0).reduce((V, Z) => V + Z, 0)]).sort((R, V) => R[1] - V[1])[0]) == null ? void 0 : F[0];
258
+ S && (E = S);
261
259
  break;
262
260
  }
263
261
  case "initialPlacement":
@@ -275,7 +273,7 @@ const le = (t) => ({
275
273
  }
276
274
  };
277
275
  };
278
- function G(t, e) {
276
+ function q(t, e) {
279
277
  return {
280
278
  top: t.top - e.height,
281
279
  right: t.right - e.width,
@@ -283,7 +281,7 @@ function G(t, e) {
283
281
  left: t.left - e.width
284
282
  };
285
283
  }
286
- function J(t) {
284
+ function G(t) {
287
285
  return se.some((e) => t[e] >= 0);
288
286
  }
289
287
  const fe = function(t) {
@@ -296,29 +294,29 @@ const fe = function(t) {
296
294
  } = e, {
297
295
  strategy: a = "referenceHidden",
298
296
  ...r
299
- } = T(t, e);
297
+ } = L(t, e);
300
298
  switch (a) {
301
299
  case "referenceHidden": {
302
- const n = await z(e, {
300
+ const n = await Y(e, {
303
301
  ...r,
304
302
  elementContext: "reference"
305
- }), o = G(n, d.reference);
303
+ }), o = q(n, d.reference);
306
304
  return {
307
305
  data: {
308
306
  referenceHiddenOffsets: o,
309
- referenceHidden: J(o)
307
+ referenceHidden: G(o)
310
308
  }
311
309
  };
312
310
  }
313
311
  case "escaped": {
314
- const n = await z(e, {
312
+ const n = await Y(e, {
315
313
  ...r,
316
314
  altBoundary: !0
317
- }), o = G(n, d.floating);
315
+ }), o = q(n, d.floating);
318
316
  return {
319
317
  data: {
320
318
  escapedOffsets: o,
321
- escaped: J(o)
319
+ escaped: G(o)
322
320
  }
323
321
  };
324
322
  }
@@ -327,13 +325,13 @@ const fe = function(t) {
327
325
  }
328
326
  }
329
327
  };
330
- };
328
+ }, U = /* @__PURE__ */ new Set(["left", "top"]);
331
329
  async function oe(t, e) {
332
330
  const {
333
331
  placement: d,
334
332
  platform: a,
335
333
  elements: r
336
- } = t, n = await (a.isRTL == null ? void 0 : a.isRTL(r.floating)), o = W(d), m = I(d), g = B(d) === "y", h = ["left", "top"].includes(o) ? -1 : 1, c = n && g ? -1 : 1, s = T(e, t);
334
+ } = t, n = await (a.isRTL == null ? void 0 : a.isRTL(r.floating)), o = j(d), m = z(d), u = T(d) === "y", h = U.has(o) ? -1 : 1, c = n && u ? -1 : 1, s = L(e, t);
337
335
  let {
338
336
  mainAxis: f,
339
337
  crossAxis: i,
@@ -347,7 +345,7 @@ async function oe(t, e) {
347
345
  crossAxis: s.crossAxis || 0,
348
346
  alignmentAxis: s.alignmentAxis
349
347
  };
350
- return m && typeof l == "number" && (i = m === "end" ? l * -1 : l), g ? {
348
+ return m && typeof l == "number" && (i = m === "end" ? l * -1 : l), u ? {
351
349
  x: i * c,
352
350
  y: f * h
353
351
  } : {
@@ -366,12 +364,12 @@ const me = function(t) {
366
364
  y: n,
367
365
  placement: o,
368
366
  middlewareData: m
369
- } = e, g = await oe(e, t);
367
+ } = e, u = await oe(e, t);
370
368
  return o === ((d = m.offset) == null ? void 0 : d.placement) && (a = m.arrow) != null && a.alignmentOffset ? {} : {
371
- x: r + g.x,
372
- y: n + g.y,
369
+ x: r + u.x,
370
+ y: n + u.y,
373
371
  data: {
374
- ...g,
372
+ ...u,
375
373
  placement: o
376
374
  }
377
375
  };
@@ -392,39 +390,39 @@ const me = function(t) {
392
390
  limiter: m = {
393
391
  fn: (x) => {
394
392
  let {
395
- x: A,
396
- y: v
393
+ x: y,
394
+ y: A
397
395
  } = x;
398
396
  return {
399
- x: A,
400
- y: v
397
+ x: y,
398
+ y: A
401
399
  };
402
400
  }
403
401
  },
404
- ...g
405
- } = T(t, e), h = {
402
+ ...u
403
+ } = L(t, e), h = {
406
404
  x: d,
407
405
  y: a
408
- }, c = await z(e, g), s = B(W(r)), f = N(s);
406
+ }, c = await Y(e, u), s = T(j(r)), f = K(s);
409
407
  let i = h[f], l = h[s];
410
408
  if (n) {
411
- const x = f === "y" ? "top" : "left", A = f === "y" ? "bottom" : "right", v = i + c[x], p = i - c[A];
412
- i = X(v, i, p);
409
+ const x = f === "y" ? "top" : "left", y = f === "y" ? "bottom" : "right", A = i + c[x], p = i - c[y];
410
+ i = X(A, i, p);
413
411
  }
414
412
  if (o) {
415
- const x = s === "y" ? "top" : "left", A = s === "y" ? "bottom" : "right", v = l + c[x], p = l - c[A];
416
- l = X(v, l, p);
413
+ const x = s === "y" ? "top" : "left", y = s === "y" ? "bottom" : "right", A = l + c[x], p = l - c[y];
414
+ l = X(A, l, p);
417
415
  }
418
- const u = m.fn({
416
+ const g = m.fn({
419
417
  ...e,
420
418
  [f]: i,
421
419
  [s]: l
422
420
  });
423
421
  return {
424
- ...u,
422
+ ...g,
425
423
  data: {
426
- x: u.x - d,
427
- y: u.y - a,
424
+ x: g.x - d,
425
+ y: g.y - a,
428
426
  enabled: {
429
427
  [f]: n,
430
428
  [s]: o
@@ -445,29 +443,29 @@ const me = function(t) {
445
443
  middlewareData: o
446
444
  } = e, {
447
445
  offset: m = 0,
448
- mainAxis: g = !0,
446
+ mainAxis: u = !0,
449
447
  crossAxis: h = !0
450
- } = T(t, e), c = {
448
+ } = L(t, e), c = {
451
449
  x: d,
452
450
  y: a
453
- }, s = B(r), f = N(s);
451
+ }, s = T(r), f = K(s);
454
452
  let i = c[f], l = c[s];
455
- const u = T(m, e), x = typeof u == "number" ? {
456
- mainAxis: u,
453
+ const g = L(m, e), x = typeof g == "number" ? {
454
+ mainAxis: g,
457
455
  crossAxis: 0
458
456
  } : {
459
457
  mainAxis: 0,
460
458
  crossAxis: 0,
461
- ...u
459
+ ...g
462
460
  };
463
- if (g) {
464
- const p = f === "y" ? "height" : "width", y = n.reference[f] - n.floating[p] + x.mainAxis, w = n.reference[f] + n.reference[p] - x.mainAxis;
465
- i < y ? i = y : i > w && (i = w);
461
+ if (u) {
462
+ const p = f === "y" ? "height" : "width", v = n.reference[f] - n.floating[p] + x.mainAxis, w = n.reference[f] + n.reference[p] - x.mainAxis;
463
+ i < v ? i = v : i > w && (i = w);
466
464
  }
467
465
  if (h) {
468
- var A, v;
469
- const p = f === "y" ? "width" : "height", y = ["top", "left"].includes(W(r)), w = n.reference[s] - n.floating[p] + (y && ((A = o.offset) == null ? void 0 : A[s]) || 0) + (y ? 0 : x.crossAxis), O = n.reference[s] + n.reference[p] + (y ? 0 : ((v = o.offset) == null ? void 0 : v[s]) || 0) - (y ? x.crossAxis : 0);
470
- l < w ? l = w : l > O && (l = O);
466
+ var y, A;
467
+ const p = f === "y" ? "width" : "height", v = U.has(j(r)), w = n.reference[s] - n.floating[p] + (v && ((y = o.offset) == null ? void 0 : y[s]) || 0) + (v ? 0 : x.crossAxis), P = n.reference[s] + n.reference[p] + (v ? 0 : ((A = o.offset) == null ? void 0 : A[s]) || 0) - (v ? x.crossAxis : 0);
468
+ l < w ? l = w : l > P && (l = P);
471
469
  }
472
470
  return {
473
471
  [f]: i,
@@ -475,7 +473,7 @@ const me = function(t) {
475
473
  };
476
474
  }
477
475
  };
478
- }, ue = function(t) {
476
+ }, ge = function(t) {
479
477
  return t === void 0 && (t = {}), {
480
478
  name: "size",
481
479
  options: t,
@@ -487,28 +485,28 @@ const me = function(t) {
487
485
  platform: o,
488
486
  elements: m
489
487
  } = e, {
490
- apply: g = () => {
488
+ apply: u = () => {
491
489
  },
492
490
  ...h
493
- } = T(t, e), c = await z(e, h), s = W(r), f = I(r), i = B(r) === "y", {
491
+ } = L(t, e), c = await Y(e, h), s = j(r), f = z(r), i = T(r) === "y", {
494
492
  width: l,
495
- height: u
493
+ height: g
496
494
  } = n.floating;
497
- let x, A;
498
- s === "top" || s === "bottom" ? (x = s, A = f === (await (o.isRTL == null ? void 0 : o.isRTL(m.floating)) ? "start" : "end") ? "left" : "right") : (A = s, x = f === "end" ? "top" : "bottom");
499
- const v = u - c.top - c.bottom, p = l - c.left - c.right, y = $(u - c[x], v), w = $(l - c[A], p), O = !e.middlewareData.shift;
500
- let P = y, M = w;
501
- if ((d = e.middlewareData.shift) != null && d.enabled.x && (M = p), (a = e.middlewareData.shift) != null && a.enabled.y && (P = v), O && !f) {
502
- const b = Y(c.left, 0), L = Y(c.right, 0), S = Y(c.top, 0), H = Y(c.bottom, 0);
503
- i ? M = l - 2 * (b !== 0 || L !== 0 ? b + L : Y(c.left, c.right)) : P = u - 2 * (S !== 0 || H !== 0 ? S + H : Y(c.top, c.bottom));
495
+ let x, y;
496
+ s === "top" || s === "bottom" ? (x = s, y = f === (await (o.isRTL == null ? void 0 : o.isRTL(m.floating)) ? "start" : "end") ? "left" : "right") : (y = s, x = f === "end" ? "top" : "bottom");
497
+ const A = g - c.top - c.bottom, p = l - c.left - c.right, v = $(g - c[x], A), w = $(l - c[y], p), P = !e.middlewareData.shift;
498
+ let C = v, M = w;
499
+ if ((d = e.middlewareData.shift) != null && d.enabled.x && (M = p), (a = e.middlewareData.shift) != null && a.enabled.y && (C = A), P && !f) {
500
+ const O = W(c.left, 0), H = W(c.right, 0), D = W(c.top, 0), F = W(c.bottom, 0);
501
+ i ? M = l - 2 * (O !== 0 || H !== 0 ? O + H : W(c.left, c.right)) : C = g - 2 * (D !== 0 || F !== 0 ? D + F : W(c.top, c.bottom));
504
502
  }
505
- await g({
503
+ await u({
506
504
  ...e,
507
505
  availableWidth: M,
508
- availableHeight: P
506
+ availableHeight: C
509
507
  });
510
- const R = await o.getDimensions(m.floating);
511
- return l !== R.width || u !== R.height ? {
508
+ const k = await o.getDimensions(m.floating);
509
+ return l !== k.width || g !== k.height ? {
512
510
  reset: {
513
511
  rects: !0
514
512
  }
@@ -519,12 +517,12 @@ const me = function(t) {
519
517
  export {
520
518
  le as arrow,
521
519
  ce as computePosition,
522
- z as detectOverflow,
520
+ Y as detectOverflow,
523
521
  re as flip,
524
522
  fe as hide,
525
523
  xe as limitShift,
526
524
  me as offset,
527
525
  _ as rectToClientRect,
528
526
  de as shift,
529
- ue as size
527
+ ge as size
530
528
  };