@histoire/vendors 0.8.4 → 0.9.0

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 (254) hide show
  1. package/dist/client/b-floating-vue.d.ts +3 -0
  2. package/dist/client/{floating-vue.js → b-floating-vue.js} +1 -1
  3. package/dist/client/b-iconify.d.ts +1 -0
  4. package/dist/client/{iconify.js → b-iconify.js} +0 -0
  5. package/dist/client/b-pinia.d.ts +1 -0
  6. package/dist/client/{pinia.js → b-pinia.js} +41 -8
  7. package/dist/client/b-scroll.d.ts +2 -0
  8. package/dist/client/{scroll.js → b-scroll.js} +1 -1
  9. package/dist/client/b-vue-router.d.ts +1 -0
  10. package/dist/client/{vue-router.js → b-vue-router.js} +279 -158
  11. package/dist/client/b-vue-use.d.ts +1 -0
  12. package/dist/client/{vue-use.js → b-vue-use.js} +1070 -603
  13. package/dist/client/b-vue.d.ts +1 -0
  14. package/dist/client/{vue.js → b-vue.js} +1 -1
  15. package/dist/client/node_modules/@babel/parser/package.json +45 -0
  16. package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +214 -0
  17. package/dist/client/node_modules/@floating-ui/core/index.d.ts +1 -0
  18. package/dist/client/node_modules/@floating-ui/core/package.json +70 -0
  19. package/dist/client/node_modules/@floating-ui/core/src/_babel.d.ts +1 -0
  20. package/dist/client/node_modules/@floating-ui/core/src/computeCoordsFromPlacement.d.ts +4 -0
  21. package/dist/client/node_modules/@floating-ui/core/src/computePosition.d.ts +2 -0
  22. package/dist/client/node_modules/@floating-ui/core/src/detectOverflow.d.ts +9 -0
  23. package/dist/client/node_modules/@floating-ui/core/src/enums.d.ts +4 -0
  24. package/dist/client/node_modules/@floating-ui/core/src/index.d.ts +11 -0
  25. package/dist/client/node_modules/@floating-ui/core/src/middleware/arrow.d.ts +6 -0
  26. package/dist/client/node_modules/@floating-ui/core/src/middleware/autoPlacement.d.ts +9 -0
  27. package/dist/client/node_modules/@floating-ui/core/src/middleware/flip.d.ts +10 -0
  28. package/dist/client/node_modules/@floating-ui/core/src/middleware/hide.d.ts +2 -0
  29. package/dist/client/node_modules/@floating-ui/core/src/middleware/inline.d.ts +5 -0
  30. package/dist/client/node_modules/@floating-ui/core/src/middleware/offset.d.ts +21 -0
  31. package/dist/client/node_modules/@floating-ui/core/src/middleware/shift.d.ts +32 -0
  32. package/dist/client/node_modules/@floating-ui/core/src/middleware/size.d.ts +6 -0
  33. package/dist/client/node_modules/@floating-ui/core/src/types.d.ts +148 -0
  34. package/dist/client/node_modules/@floating-ui/core/src/utils/expandPaddingObject.d.ts +2 -0
  35. package/dist/client/node_modules/@floating-ui/core/src/utils/getAlignment.d.ts +2 -0
  36. package/dist/client/node_modules/@floating-ui/core/src/utils/getAlignmentSides.d.ts +5 -0
  37. package/dist/client/node_modules/@floating-ui/core/src/utils/getBasePlacement.d.ts +2 -0
  38. package/dist/client/node_modules/@floating-ui/core/src/utils/getCrossAxis.d.ts +2 -0
  39. package/dist/client/node_modules/@floating-ui/core/src/utils/getExpandedPlacements.d.ts +2 -0
  40. package/dist/client/node_modules/@floating-ui/core/src/utils/getLengthFromAxis.d.ts +2 -0
  41. package/dist/client/node_modules/@floating-ui/core/src/utils/getMainAxisFromPlacement.d.ts +2 -0
  42. package/dist/client/node_modules/@floating-ui/core/src/utils/getOppositeAlignmentPlacement.d.ts +2 -0
  43. package/dist/client/node_modules/@floating-ui/core/src/utils/getOppositePlacement.d.ts +1 -0
  44. package/dist/client/node_modules/@floating-ui/core/src/utils/getPaddingObject.d.ts +2 -0
  45. package/dist/client/node_modules/@floating-ui/core/src/utils/math.d.ts +2 -0
  46. package/dist/client/node_modules/@floating-ui/core/src/utils/rectToClientRect.d.ts +2 -0
  47. package/dist/client/node_modules/@floating-ui/core/src/utils/within.d.ts +1 -0
  48. package/dist/client/node_modules/@floating-ui/dom/index.d.ts +1 -0
  49. package/dist/client/node_modules/@floating-ui/dom/package.json +75 -0
  50. package/dist/client/node_modules/@floating-ui/dom/src/index.d.ts +7 -0
  51. package/dist/client/node_modules/@floating-ui/dom/src/platform.d.ts +2 -0
  52. package/dist/client/node_modules/@floating-ui/dom/src/types.d.ts +27 -0
  53. package/dist/client/node_modules/@floating-ui/dom/src/utils/contains.d.ts +1 -0
  54. package/dist/client/node_modules/@floating-ui/dom/src/utils/convertOffsetParentRelativeRectToViewportRelativeRect.d.ts +6 -0
  55. package/dist/client/node_modules/@floating-ui/dom/src/utils/getBoundingClientRect.d.ts +2 -0
  56. package/dist/client/node_modules/@floating-ui/dom/src/utils/getClippingClientRect.d.ts +6 -0
  57. package/dist/client/node_modules/@floating-ui/dom/src/utils/getComputedStyle.d.ts +1 -0
  58. package/dist/client/node_modules/@floating-ui/dom/src/utils/getDimensions.d.ts +2 -0
  59. package/dist/client/node_modules/@floating-ui/dom/src/utils/getDocumentElement.d.ts +1 -0
  60. package/dist/client/node_modules/@floating-ui/dom/src/utils/getDocumentRect.d.ts +2 -0
  61. package/dist/client/node_modules/@floating-ui/dom/src/utils/getNodeName.d.ts +1 -0
  62. package/dist/client/node_modules/@floating-ui/dom/src/utils/getNodeScroll.d.ts +2 -0
  63. package/dist/client/node_modules/@floating-ui/dom/src/utils/getOffsetParent.d.ts +1 -0
  64. package/dist/client/node_modules/@floating-ui/dom/src/utils/getParentNode.d.ts +1 -0
  65. package/dist/client/node_modules/@floating-ui/dom/src/utils/getRectRelativeToOffsetParent.d.ts +2 -0
  66. package/dist/client/node_modules/@floating-ui/dom/src/utils/getScrollParent.d.ts +1 -0
  67. package/dist/client/node_modules/@floating-ui/dom/src/utils/getScrollParents.d.ts +1 -0
  68. package/dist/client/node_modules/@floating-ui/dom/src/utils/getViewportRect.d.ts +2 -0
  69. package/dist/client/node_modules/@floating-ui/dom/src/utils/getWindowScrollBarX.d.ts +1 -0
  70. package/dist/client/node_modules/@floating-ui/dom/src/utils/is.d.ts +15 -0
  71. package/dist/client/node_modules/@floating-ui/dom/src/utils/math.d.ts +3 -0
  72. package/dist/client/node_modules/@floating-ui/dom/src/utils/window.d.ts +2 -0
  73. package/dist/client/node_modules/@iconify/vue/dist/iconify.d.ts +680 -0
  74. package/dist/client/node_modules/@iconify/vue/dist/offline.d.ts +347 -0
  75. package/dist/client/node_modules/@iconify/vue/offline/package.json +14 -0
  76. package/dist/client/node_modules/@iconify/vue/package.json +61 -0
  77. package/dist/client/node_modules/@types/web-bluetooth/index.d.ts +176 -0
  78. package/dist/client/node_modules/@types/web-bluetooth/package.json +40 -0
  79. package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +1198 -0
  80. package/dist/client/node_modules/@vue/compiler-core/package.json +43 -0
  81. package/dist/client/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +66 -0
  82. package/dist/client/node_modules/@vue/compiler-dom/package.json +43 -0
  83. package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +321 -0
  84. package/dist/client/node_modules/@vue/compiler-sfc/package.json +59 -0
  85. package/dist/client/node_modules/@vue/compiler-ssr/dist/compiler-ssr.d.ts +6 -0
  86. package/dist/client/node_modules/@vue/compiler-ssr/package.json +34 -0
  87. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/api.d.ts +108 -0
  88. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/app.d.ts +1 -0
  89. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/component.d.ts +77 -0
  90. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/context.d.ts +5 -0
  91. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/hooks.d.ts +179 -0
  92. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/index.d.ts +6 -0
  93. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/util.d.ts +4 -0
  94. package/dist/client/node_modules/@vue/devtools-api/lib/esm/const.d.ts +2 -0
  95. package/dist/client/node_modules/@vue/devtools-api/lib/esm/env.d.ts +15 -0
  96. package/dist/client/node_modules/@vue/devtools-api/lib/esm/index.d.ts +18 -0
  97. package/dist/client/node_modules/@vue/devtools-api/lib/esm/plugin.d.ts +47 -0
  98. package/dist/client/node_modules/@vue/devtools-api/lib/esm/proxy.d.ts +20 -0
  99. package/dist/client/node_modules/@vue/devtools-api/lib/esm/time.d.ts +2 -0
  100. package/dist/client/node_modules/@vue/devtools-api/package.json +37 -0
  101. package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +347 -0
  102. package/dist/client/node_modules/@vue/reactivity/package.json +41 -0
  103. package/dist/client/node_modules/@vue/reactivity-transform/dist/reactivity-transform.d.ts +33 -0
  104. package/dist/client/node_modules/@vue/reactivity-transform/package.json +41 -0
  105. package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +2018 -0
  106. package/dist/client/node_modules/@vue/runtime-core/package.json +38 -0
  107. package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +1522 -0
  108. package/dist/client/node_modules/@vue/runtime-dom/package.json +42 -0
  109. package/dist/client/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +100 -0
  110. package/dist/client/node_modules/@vue/server-renderer/package.json +41 -0
  111. package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +356 -0
  112. package/dist/client/node_modules/@vue/shared/package.json +33 -0
  113. package/dist/client/node_modules/@vueuse/core/index.d.ts +4305 -0
  114. package/dist/client/node_modules/@vueuse/core/metadata.d.ts +1 -0
  115. package/dist/client/node_modules/@vueuse/core/node_modules/@vueuse/shared/index.d.ts +874 -0
  116. package/dist/client/node_modules/@vueuse/core/node_modules/@vueuse/shared/package.json +50 -0
  117. package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/lib/index.d.ts +22 -0
  118. package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/lib/v2/index.d.ts +31 -0
  119. package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/lib/v2.7/index.d.ts +52 -0
  120. package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/lib/v3/index.d.ts +22 -0
  121. package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/package.json +47 -0
  122. package/dist/client/node_modules/@vueuse/core/package.json +59 -0
  123. package/dist/client/node_modules/@vueuse/metadata/index.d.ts +75 -0
  124. package/dist/client/node_modules/@vueuse/metadata/package.json +39 -0
  125. package/dist/client/node_modules/compute-scroll-into-view/package.json +90 -0
  126. package/dist/client/node_modules/compute-scroll-into-view/typings/index.d.ts +19 -0
  127. package/dist/client/node_modules/csstype/index.d.ts +38372 -0
  128. package/dist/client/node_modules/csstype/package.json +57 -0
  129. package/dist/client/node_modules/estree-walker/dist/esm/package.json +1 -0
  130. package/dist/client/node_modules/estree-walker/package.json +37 -0
  131. package/dist/client/node_modules/estree-walker/src/package.json +1 -0
  132. package/dist/client/node_modules/estree-walker/types/async.d.ts +53 -0
  133. package/dist/client/node_modules/estree-walker/types/index.d.ts +56 -0
  134. package/dist/client/node_modules/estree-walker/types/sync.d.ts +53 -0
  135. package/dist/client/node_modules/estree-walker/types/walker.d.ts +37 -0
  136. package/dist/client/node_modules/floating-vue/dist/components/Dropdown.vue.d.ts +25 -0
  137. package/dist/client/node_modules/floating-vue/dist/components/Menu.vue.d.ts +25 -0
  138. package/dist/client/node_modules/floating-vue/dist/components/Popper.d.ts +374 -0
  139. package/dist/client/node_modules/floating-vue/dist/components/Popper.vue.d.ts +366 -0
  140. package/dist/client/node_modules/floating-vue/dist/components/PopperContent.vue.d.ts +48 -0
  141. package/dist/client/node_modules/floating-vue/dist/components/PopperMethods.d.ts +9 -0
  142. package/dist/client/node_modules/floating-vue/dist/components/PopperWrapper.vue.d.ts +28 -0
  143. package/dist/client/node_modules/floating-vue/dist/components/ThemeClass.d.ts +6 -0
  144. package/dist/client/node_modules/floating-vue/dist/components/Tooltip.vue.d.ts +25 -0
  145. package/dist/client/node_modules/floating-vue/dist/components/TooltipDirective.vue.d.ts +28 -0
  146. package/dist/client/node_modules/floating-vue/dist/config.d.ts +11 -0
  147. package/dist/client/node_modules/floating-vue/dist/directives/v-close-popper.d.ts +13 -0
  148. package/dist/client/node_modules/floating-vue/dist/directives/v-tooltip.d.ts +27 -0
  149. package/dist/client/node_modules/floating-vue/dist/directives/v-tooltip.spec.d.ts +1 -0
  150. package/dist/client/node_modules/floating-vue/dist/index.d.ts +414 -0
  151. package/dist/client/node_modules/floating-vue/dist/util/assign-deep.d.ts +1 -0
  152. package/dist/client/node_modules/floating-vue/dist/util/env.d.ts +2 -0
  153. package/dist/client/node_modules/floating-vue/dist/util/events.d.ts +12 -0
  154. package/dist/client/node_modules/floating-vue/dist/util/frame.d.ts +1 -0
  155. package/dist/client/node_modules/floating-vue/dist/util/lang.d.ts +1 -0
  156. package/dist/client/node_modules/floating-vue/dist/util/popper.d.ts +3 -0
  157. package/dist/client/node_modules/floating-vue/package.json +71 -0
  158. package/dist/client/node_modules/floating-vue/src/global-shim.d.ts +1 -0
  159. package/dist/client/node_modules/floating-vue/src/vue-shim.d.ts +5 -0
  160. package/dist/client/node_modules/magic-string/index.d.ts +221 -0
  161. package/dist/client/node_modules/magic-string/package.json +52 -0
  162. package/dist/client/node_modules/nanoid/async/index.d.ts +56 -0
  163. package/dist/client/node_modules/nanoid/async/package.json +12 -0
  164. package/dist/client/node_modules/nanoid/index.d.ts +91 -0
  165. package/dist/client/node_modules/nanoid/non-secure/index.d.ts +33 -0
  166. package/dist/client/node_modules/nanoid/non-secure/package.json +6 -0
  167. package/dist/client/node_modules/nanoid/package.json +60 -0
  168. package/dist/client/node_modules/nanoid/url-alphabet/package.json +6 -0
  169. package/dist/client/node_modules/picocolors/package.json +25 -0
  170. package/dist/client/node_modules/picocolors/picocolors.d.ts +5 -0
  171. package/dist/client/node_modules/pinia/dist/pinia.d.ts +963 -0
  172. package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/index.d.ts +22 -0
  173. package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2/index.d.ts +31 -0
  174. package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2.7/index.d.ts +52 -0
  175. package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v3/index.d.ts +22 -0
  176. package/dist/client/node_modules/pinia/node_modules/vue-demi/package.json +47 -0
  177. package/dist/client/node_modules/pinia/package.json +101 -0
  178. package/dist/client/node_modules/postcss/lib/at-rule.d.ts +106 -0
  179. package/dist/client/node_modules/postcss/lib/comment.d.ts +56 -0
  180. package/dist/client/node_modules/postcss/lib/container.d.ts +442 -0
  181. package/dist/client/node_modules/postcss/lib/css-syntax-error.d.ts +239 -0
  182. package/dist/client/node_modules/postcss/lib/declaration.d.ts +124 -0
  183. package/dist/client/node_modules/postcss/lib/document.d.ts +57 -0
  184. package/dist/client/node_modules/postcss/lib/fromJSON.d.ts +5 -0
  185. package/dist/client/node_modules/postcss/lib/input.d.ts +150 -0
  186. package/dist/client/node_modules/postcss/lib/lazy-result.d.ts +176 -0
  187. package/dist/client/node_modules/postcss/lib/list.d.ts +51 -0
  188. package/dist/client/node_modules/postcss/lib/no-work-result.d.ts +37 -0
  189. package/dist/client/node_modules/postcss/lib/node.d.ts +478 -0
  190. package/dist/client/node_modules/postcss/lib/parse.d.ts +5 -0
  191. package/dist/client/node_modules/postcss/lib/postcss.d.ts +473 -0
  192. package/dist/client/node_modules/postcss/lib/previous-map.d.ts +72 -0
  193. package/dist/client/node_modules/postcss/lib/processor.d.ts +102 -0
  194. package/dist/client/node_modules/postcss/lib/result.d.ts +196 -0
  195. package/dist/client/node_modules/postcss/lib/root.d.ts +73 -0
  196. package/dist/client/node_modules/postcss/lib/rule.d.ts +104 -0
  197. package/dist/client/node_modules/postcss/lib/stringifier.d.ts +37 -0
  198. package/dist/client/node_modules/postcss/lib/stringify.d.ts +5 -0
  199. package/dist/client/node_modules/postcss/lib/warning.d.ts +138 -0
  200. package/dist/client/node_modules/postcss/package.json +85 -0
  201. package/dist/client/node_modules/scroll-into-view-if-needed/package.json +144 -0
  202. package/dist/client/node_modules/scroll-into-view-if-needed/typings/index.d.ts +13 -0
  203. package/dist/client/node_modules/scroll-into-view-if-needed/typings/types.d.ts +19 -0
  204. package/dist/client/node_modules/source-map/package.json +73 -0
  205. package/dist/client/node_modules/source-map/source-map.d.ts +98 -0
  206. package/dist/client/node_modules/source-map-js/package.json +71 -0
  207. package/dist/client/node_modules/source-map-js/source-map.d.ts +115 -0
  208. package/dist/client/node_modules/sourcemap-codec/dist/types/sourcemap-codec.d.ts +5 -0
  209. package/dist/client/node_modules/sourcemap-codec/package.json +53 -0
  210. package/dist/client/node_modules/vue/compiler-sfc/index.d.ts +1 -0
  211. package/dist/client/node_modules/vue/compiler-sfc/package.json +5 -0
  212. package/dist/client/node_modules/vue/dist/vue.d.ts +9 -0
  213. package/dist/client/node_modules/vue/macros-global.d.ts +19 -0
  214. package/dist/client/node_modules/vue/macros.d.ts +110 -0
  215. package/dist/client/node_modules/vue/package.json +75 -0
  216. package/dist/client/node_modules/vue/ref-macros.d.ts +2 -0
  217. package/dist/client/node_modules/vue/server-renderer/index.d.ts +1 -0
  218. package/dist/client/node_modules/vue/server-renderer/package.json +5 -0
  219. package/dist/client/node_modules/vue-resize/package.json +77 -0
  220. package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +1491 -0
  221. package/dist/client/node_modules/vue-router/package.json +114 -0
  222. package/dist/client/vue.runtime.esm-bundler.js +24 -19
  223. package/entries.js +7 -7
  224. package/floating-vue.d.ts +3 -0
  225. package/iconify.d.ts +3 -0
  226. package/package.json +13 -4
  227. package/pinia.d.ts +3 -0
  228. package/rollup.config.mjs +116 -0
  229. package/scroll.d.ts +3 -0
  230. package/src/client/b-floating-vue.ts +3 -0
  231. package/src/client/b-iconify.ts +1 -0
  232. package/src/client/b-pinia.ts +1 -0
  233. package/src/client/b-scroll.ts +2 -0
  234. package/src/client/b-vue-router.ts +1 -0
  235. package/src/client/b-vue-use.ts +1 -0
  236. package/src/client/b-vue.ts +1 -0
  237. package/vue-router.d.ts +3 -0
  238. package/vue-use.d.ts +3 -0
  239. package/vue.d.ts +3 -0
  240. package/dist/client/floating-vue.d.ts +0 -2
  241. package/dist/client/iconify.d.ts +0 -1
  242. package/dist/client/pinia.d.ts +0 -1
  243. package/dist/client/scroll.d.ts +0 -1
  244. package/dist/client/vue-router.d.ts +0 -1
  245. package/dist/client/vue-use.d.ts +0 -1
  246. package/dist/client/vue.d.ts +0 -1
  247. package/rollup.config.js +0 -37
  248. package/src/client/floating-vue.ts +0 -2
  249. package/src/client/iconify.ts +0 -1
  250. package/src/client/pinia.ts +0 -1
  251. package/src/client/scroll.ts +0 -1
  252. package/src/client/vue-router.ts +0 -1
  253. package/src/client/vue-use.ts +0 -1
  254. package/src/client/vue.ts +0 -1
@@ -0,0 +1 @@
1
+ export * from './node_modules/vue';
@@ -1 +1 @@
1
- export { ai as BaseTransition, aj as Comment, bd as EffectScope, F as Fragment, ak as KeepAlive, be as ReactiveEffect, al as Static, am as Suspense, an as Teleport, ao as Text, a0 as Transition, a1 as TransitionGroup, a2 as VueElement, ap as callWithAsyncErrorHandling, aq as callWithErrorHandling, bo as camelize, bp as capitalize, ar as cloneVNode, as as compatUtils, $ as compile, K as computed, v as createApp, e as createBlock, l as createCommentVNode, c as createElementBlock, f as createElementVNode, at as createHydrationRenderer, au as createPropsRestProxy, av as createRenderer, a3 as createSSRApp, aw as createSlots, ax as createStaticVNode, ay as createTextVNode, s as createVNode, T as customRef, az as defineAsyncComponent, d as defineComponent, a4 as defineCustomElement, aA as defineEmits, aB as defineExpose, aC as defineProps, a5 as defineSSRCustomElement, aD as devtools, bf as effect, E as effectScope, y as getCurrentInstance, U as getCurrentScope, aE as getTransitionRawChildren, g as guardReactiveProps, x as h, aF as handleError, a6 as hydrate, aG as initCustomFormatter, a7 as initDirectivesForSSR, z as inject, aH as isMemoSame, bg as isProxy, H as isReactive, bh as isReadonly, G as isRef, aI as isRuntimeOnly, bi as isShallow, aJ as isVNode, C as markRaw, aK as mergeDefaults, m as mergeProps, a as nextTick, i as normalizeClass, n as normalizeProps, j as normalizeStyle, O as onActivated, W as onBeforeMount, X as onBeforeUnmount, _ as onBeforeUpdate, N as onDeactivated, aL as onErrorCaptured, Y as onMounted, aM as onRenderTracked, aN as onRenderTriggered, V as onScopeDispose, aO as onServerPrefetch, I as onUnmounted, Z as onUpdated, o as openBlock, b as popScopeId, Q as provide, bj as proxyRefs, p as pushScopeId, aP as queuePostFlushCb, L as reactive, S as readonly, u as ref, aQ as registerRuntimeCompiler, a8 as render, aR as renderList, r as renderSlot, h as resolveComponent, aS as resolveDirective, aT as resolveDynamicComponent, aU as resolveFilter, aV as resolveTransitionHooks, aW as setBlockTracking, aX as setDevtoolsHook, aY as setTransitionHooks, bk as shallowReactive, bl as shallowReadonly, R as shallowRef, aZ as ssrContextKey, a_ as ssrUtils, bm as stop, t as toDisplayString, bq as toHandlerKey, a$ as toHandlers, D as toRaw, M as toRef, J as toRefs, b0 as transformVNodeArgs, bn as triggerRef, B as unref, b1 as useAttrs, a9 as useCssModule, aa as useCssVars, b2 as useSSRContext, b3 as useSlots, b4 as useTransitionState, ab as vModelCheckbox, ac as vModelDynamic, ad as vModelRadio, ae as vModelSelect, af as vModelText, ag as vShow, b5 as version, b6 as warn, A as watch, P as watchEffect, b7 as watchPostEffect, b8 as watchSyncEffect, b9 as withAsyncContext, q as withCtx, ba as withDefaults, bb as withDirectives, k as withKeys, bc as withMemo, ah as withModifiers, w as withScopeId } from './vue.runtime.esm-bundler.js';
1
+ export { ai as BaseTransition, aj as Comment, bd as EffectScope, F as Fragment, ak as KeepAlive, be as ReactiveEffect, al as Static, am as Suspense, an as Teleport, ao as Text, a0 as Transition, a1 as TransitionGroup, a2 as VueElement, ap as callWithAsyncErrorHandling, aq as callWithErrorHandling, bo as camelize, bp as capitalize, ar as cloneVNode, as as compatUtils, $ as compile, K as computed, v as createApp, e as createBlock, l as createCommentVNode, c as createElementBlock, f as createElementVNode, at as createHydrationRenderer, au as createPropsRestProxy, av as createRenderer, a3 as createSSRApp, aw as createSlots, ax as createStaticVNode, ay as createTextVNode, s as createVNode, T as customRef, az as defineAsyncComponent, d as defineComponent, a4 as defineCustomElement, aA as defineEmits, aB as defineExpose, aC as defineProps, a5 as defineSSRCustomElement, aD as devtools, bf as effect, E as effectScope, y as getCurrentInstance, U as getCurrentScope, aE as getTransitionRawChildren, g as guardReactiveProps, x as h, aF as handleError, a6 as hydrate, aG as initCustomFormatter, a7 as initDirectivesForSSR, z as inject, aH as isMemoSame, bg as isProxy, H as isReactive, bh as isReadonly, G as isRef, aI as isRuntimeOnly, bi as isShallow, aJ as isVNode, D as markRaw, aK as mergeDefaults, m as mergeProps, a as nextTick, i as normalizeClass, n as normalizeProps, j as normalizeStyle, O as onActivated, W as onBeforeMount, X as onBeforeUnmount, _ as onBeforeUpdate, N as onDeactivated, aL as onErrorCaptured, Y as onMounted, aM as onRenderTracked, aN as onRenderTriggered, V as onScopeDispose, aO as onServerPrefetch, I as onUnmounted, Z as onUpdated, o as openBlock, b as popScopeId, Q as provide, bj as proxyRefs, p as pushScopeId, aP as queuePostFlushCb, L as reactive, S as readonly, u as ref, aQ as registerRuntimeCompiler, a8 as render, aR as renderList, r as renderSlot, h as resolveComponent, aS as resolveDirective, aT as resolveDynamicComponent, aU as resolveFilter, aV as resolveTransitionHooks, aW as setBlockTracking, aX as setDevtoolsHook, aY as setTransitionHooks, bk as shallowReactive, bl as shallowReadonly, R as shallowRef, aZ as ssrContextKey, a_ as ssrUtils, bm as stop, t as toDisplayString, bq as toHandlerKey, a$ as toHandlers, A as toRaw, M as toRef, J as toRefs, b0 as transformVNodeArgs, bn as triggerRef, C as unref, b1 as useAttrs, a9 as useCssModule, aa as useCssVars, b2 as useSSRContext, b3 as useSlots, b4 as useTransitionState, ab as vModelCheckbox, ac as vModelDynamic, ad as vModelRadio, ae as vModelSelect, af as vModelText, ag as vShow, b5 as version, b6 as warn, B as watch, P as watchEffect, b7 as watchPostEffect, b8 as watchSyncEffect, b9 as withAsyncContext, q as withCtx, ba as withDefaults, bb as withDirectives, k as withKeys, bc as withMemo, ah as withModifiers, w as withScopeId } from './vue.runtime.esm-bundler.js';
@@ -0,0 +1,45 @@
1
+ {
2
+ "name": "@babel/parser",
3
+ "version": "7.18.9",
4
+ "description": "A JavaScript parser",
5
+ "author": "The Babel Team (https://babel.dev/team)",
6
+ "homepage": "https://babel.dev/docs/en/next/babel-parser",
7
+ "bugs": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A+parser+%28babylon%29%22+is%3Aopen",
8
+ "license": "MIT",
9
+ "publishConfig": {
10
+ "access": "public"
11
+ },
12
+ "keywords": [
13
+ "babel",
14
+ "javascript",
15
+ "parser",
16
+ "tc39",
17
+ "ecmascript",
18
+ "@babel/parser"
19
+ ],
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "https://github.com/babel/babel.git",
23
+ "directory": "packages/babel-parser"
24
+ },
25
+ "main": "./lib/index.js",
26
+ "types": "./typings/babel-parser.d.ts",
27
+ "files": [
28
+ "bin",
29
+ "lib",
30
+ "typings",
31
+ "index.cjs"
32
+ ],
33
+ "engines": {
34
+ "node": ">=6.0.0"
35
+ },
36
+ "devDependencies": {
37
+ "@babel/code-frame": "^7.18.6",
38
+ "@babel/helper-check-duplicate-nodes": "^7.18.6",
39
+ "@babel/helper-fixtures": "^7.18.6",
40
+ "@babel/helper-validator-identifier": "^7.18.6",
41
+ "charcodes": "^0.2.0"
42
+ },
43
+ "bin": "./bin/babel-parser.js",
44
+ "type": "commonjs"
45
+ }
@@ -0,0 +1,214 @@
1
+ // Type definitions for @babel/parser
2
+ // Project: https://github.com/babel/babel/tree/main/packages/babel-parser
3
+ // Definitions by: Troy Gerwien <https://github.com/yortus>
4
+ // Marvin Hagemeister <https://github.com/marvinhagemeister>
5
+ // Avi Vahl <https://github.com/AviVahl>
6
+ // TypeScript Version: 2.9
7
+
8
+ /**
9
+ * Parse the provided code as an entire ECMAScript program.
10
+ */
11
+ export function parse(
12
+ input: string,
13
+ options?: ParserOptions
14
+ ): ParseResult<import("@babel/types").File>;
15
+
16
+ /**
17
+ * Parse the provided code as a single expression.
18
+ */
19
+ export function parseExpression(
20
+ input: string,
21
+ options?: ParserOptions
22
+ ): ParseResult<import("@babel/types").Expression>;
23
+
24
+ export interface ParserOptions {
25
+ /**
26
+ * By default, import and export declarations can only appear at a program's top level.
27
+ * Setting this option to true allows them anywhere where a statement is allowed.
28
+ */
29
+ allowImportExportEverywhere?: boolean;
30
+
31
+ /**
32
+ * By default, await use is not allowed outside of an async function.
33
+ * Set this to true to accept such code.
34
+ */
35
+ allowAwaitOutsideFunction?: boolean;
36
+
37
+ /**
38
+ * By default, a return statement at the top level raises an error.
39
+ * Set this to true to accept such code.
40
+ */
41
+ allowReturnOutsideFunction?: boolean;
42
+
43
+ allowSuperOutsideMethod?: boolean;
44
+
45
+ /**
46
+ * By default, exported identifiers must refer to a declared variable.
47
+ * Set this to true to allow export statements to reference undeclared variables.
48
+ */
49
+ allowUndeclaredExports?: boolean;
50
+
51
+ /**
52
+ * By default, Babel attaches comments to adjacent AST nodes.
53
+ * When this option is set to false, comments are not attached.
54
+ * It can provide up to 30% performance improvement when the input code has many comments.
55
+ * @babel/eslint-parser will set it for you.
56
+ * It is not recommended to use attachComment: false with Babel transform,
57
+ * as doing so removes all the comments in output code, and renders annotations such as
58
+ * /* istanbul ignore next *\/ nonfunctional.
59
+ */
60
+ attachComment?: boolean;
61
+
62
+ /**
63
+ * By default, Babel always throws an error when it finds some invalid code.
64
+ * When this option is set to true, it will store the parsing error and
65
+ * try to continue parsing the invalid input file.
66
+ */
67
+ errorRecovery?: boolean;
68
+
69
+ /**
70
+ * Indicate the mode the code should be parsed in.
71
+ * Can be one of "script", "module", or "unambiguous". Defaults to "script".
72
+ * "unambiguous" will make @babel/parser attempt to guess, based on the presence
73
+ * of ES6 import or export statements.
74
+ * Files with ES6 imports and exports are considered "module" and are otherwise "script".
75
+ */
76
+ sourceType?: "script" | "module" | "unambiguous";
77
+
78
+ /**
79
+ * Correlate output AST nodes with their source filename.
80
+ * Useful when generating code and source maps from the ASTs of multiple input files.
81
+ */
82
+ sourceFilename?: string;
83
+
84
+ /**
85
+ * By default, the first line of code parsed is treated as line 1.
86
+ * You can provide a line number to alternatively start with.
87
+ * Useful for integration with other source tools.
88
+ */
89
+ startLine?: number;
90
+
91
+ /**
92
+ * By default, the parsed code is treated as if it starts from line 1, column 0.
93
+ * You can provide a column number to alternatively start with.
94
+ * Useful for integration with other source tools.
95
+ */
96
+ startColumn?: number;
97
+
98
+ /**
99
+ * Array containing the plugins that you want to enable.
100
+ */
101
+ plugins?: ParserPlugin[];
102
+
103
+ /**
104
+ * Should the parser work in strict mode.
105
+ * Defaults to true if sourceType === 'module'. Otherwise, false.
106
+ */
107
+ strictMode?: boolean;
108
+
109
+ /**
110
+ * Adds a ranges property to each node: [node.start, node.end]
111
+ */
112
+ ranges?: boolean;
113
+
114
+ /**
115
+ * Adds all parsed tokens to a tokens property on the File node.
116
+ */
117
+ tokens?: boolean;
118
+
119
+ /**
120
+ * By default, the parser adds information about parentheses by setting
121
+ * `extra.parenthesized` to `true` as needed.
122
+ * When this option is `true` the parser creates `ParenthesizedExpression`
123
+ * AST nodes instead of using the `extra` property.
124
+ */
125
+ createParenthesizedExpressions?: boolean;
126
+ }
127
+
128
+ export type ParserPlugin =
129
+ | "asyncDoExpressions"
130
+ | "asyncGenerators"
131
+ | "bigInt"
132
+ | "classPrivateMethods"
133
+ | "classPrivateProperties"
134
+ | "classProperties"
135
+ | "classStaticBlock" // Enabled by default
136
+ | "decimal"
137
+ | "decorators"
138
+ | "decorators-legacy"
139
+ | "decoratorAutoAccessors"
140
+ | "destructuringPrivate"
141
+ | "doExpressions"
142
+ | "dynamicImport"
143
+ | "estree"
144
+ | "exportDefaultFrom"
145
+ | "exportNamespaceFrom" // deprecated
146
+ | "flow"
147
+ | "flowComments"
148
+ | "functionBind"
149
+ | "functionSent"
150
+ | "importMeta"
151
+ | "jsx"
152
+ | "logicalAssignment"
153
+ | "importAssertions"
154
+ | "moduleBlocks"
155
+ | "moduleStringNames"
156
+ | "nullishCoalescingOperator"
157
+ | "numericSeparator"
158
+ | "objectRestSpread"
159
+ | "optionalCatchBinding"
160
+ | "optionalChaining"
161
+ | "partialApplication"
162
+ | "pipelineOperator"
163
+ | "placeholders"
164
+ | "privateIn" // Enabled by default
165
+ | "regexpUnicodeSets"
166
+ | "throwExpressions"
167
+ | "topLevelAwait"
168
+ | "typescript"
169
+ | "v8intrinsic"
170
+ | ParserPluginWithOptions;
171
+
172
+ export type ParserPluginWithOptions =
173
+ | ["decorators", DecoratorsPluginOptions]
174
+ | ["pipelineOperator", PipelineOperatorPluginOptions]
175
+ | ["recordAndTuple", RecordAndTuplePluginOptions]
176
+ | ["flow", FlowPluginOptions]
177
+ | ["typescript", TypeScriptPluginOptions];
178
+
179
+ export interface DecoratorsPluginOptions {
180
+ decoratorsBeforeExport?: boolean;
181
+ }
182
+
183
+ export interface PipelineOperatorPluginOptions {
184
+ proposal: "minimal" | "fsharp" | "hack" | "smart";
185
+ topicToken?: "%" | "#" | "@@" | "^^" | "^";
186
+ }
187
+
188
+ export interface RecordAndTuplePluginOptions {
189
+ syntaxType: "bar" | "hash";
190
+ }
191
+
192
+ export interface FlowPluginOptions {
193
+ all?: boolean;
194
+ enums?: boolean;
195
+ }
196
+
197
+ export interface TypeScriptPluginOptions {
198
+ dts?: boolean;
199
+ disallowAmbiguousJSXLike?: boolean;
200
+ }
201
+
202
+ export const tokTypes: {
203
+ // todo(flow->ts) real token type
204
+ [name: string]: any;
205
+ };
206
+
207
+ export interface ParseError {
208
+ code: string;
209
+ reasonCode: string;
210
+ }
211
+
212
+ type ParseResult<Result> = Result & {
213
+ errors: ParseError[];
214
+ };
@@ -0,0 +1 @@
1
+ export * from './src/types';
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "@floating-ui/core",
3
+ "version": "0.3.1",
4
+ "@rollingversions": {
5
+ "baseVersion": [
6
+ 0,
7
+ 0,
8
+ 0
9
+ ]
10
+ },
11
+ "description": "Positioning library for floating elements: tooltips, popovers, dropdowns, and more",
12
+ "publishConfig": {
13
+ "access": "public"
14
+ },
15
+ "main": "dist/floating-ui.core.cjs",
16
+ "module": "dist/floating-ui.core.esm.js",
17
+ "unpkg": "dist/floating-ui.core.min.js",
18
+ "type": "module",
19
+ "exports": {
20
+ ".": {
21
+ "import": "./dist/floating-ui.core.esm.js",
22
+ "require": "./dist/floating-ui.core.cjs"
23
+ },
24
+ "./package.json": "./package.json"
25
+ },
26
+ "sideEffects": false,
27
+ "files": [
28
+ "dist/",
29
+ "index.d.ts",
30
+ "src/**/*.d.ts"
31
+ ],
32
+ "browserslist": "> 0.5%, not dead, not IE 11",
33
+ "scripts": {
34
+ "test": "jest test",
35
+ "dev": "rollup -c -w",
36
+ "build": "NODE_ENV=build rollup -c"
37
+ },
38
+ "author": "atomiks",
39
+ "license": "MIT",
40
+ "bugs": "https://github.com/floating-ui/floating-ui",
41
+ "repository": {
42
+ "type": "git",
43
+ "url": "https://github.com/floating-ui/floating-ui.git",
44
+ "directory": "packages/core"
45
+ },
46
+ "homepage": "https://floating-ui.com",
47
+ "keywords": [
48
+ "tooltip",
49
+ "popover",
50
+ "dropdown",
51
+ "menu",
52
+ "popup",
53
+ "positioning"
54
+ ],
55
+ "devDependencies": {
56
+ "@atomico/rollup-plugin-sizes": "^1.1.4",
57
+ "@babel/preset-env": "^7.16.4",
58
+ "@babel/preset-typescript": "^7.16.0",
59
+ "@rollup/plugin-babel": "^5.3.0",
60
+ "@rollup/plugin-node-resolve": "^13.0.6",
61
+ "@rollup/plugin-replace": "^3.0.0",
62
+ "@types/jest": "^27.0.3",
63
+ "babel-plugin-annotate-pure-calls": "^0.4.0",
64
+ "jest": "^27.3.1",
65
+ "rollup": "^2.60.1",
66
+ "rollup-plugin-terser": "^7.0.2",
67
+ "ts-jest": "^27.0.7",
68
+ "typescript": "^4.5.2"
69
+ }
70
+ }
@@ -0,0 +1 @@
1
+ declare const __DEV__: boolean;
@@ -0,0 +1,4 @@
1
+ import type { Placement, ElementRects, Coords } from './types';
2
+ export declare function computeCoordsFromPlacement({ reference, floating, placement, }: ElementRects & {
3
+ placement: Placement;
4
+ }): Coords;
@@ -0,0 +1,2 @@
1
+ import type { ComputePosition } from './types';
2
+ export declare const computePosition: ComputePosition;
@@ -0,0 +1,9 @@
1
+ import type { SideObject, Padding, Boundary, RootBoundary, ElementContext, MiddlewareArguments } from './types';
2
+ export declare type Options = {
3
+ boundary: Boundary;
4
+ rootBoundary: RootBoundary;
5
+ elementContext: ElementContext;
6
+ altBoundary: boolean;
7
+ padding: Padding;
8
+ };
9
+ export declare function detectOverflow(middlewareArguments: MiddlewareArguments, options?: Partial<Options>): Promise<SideObject>;
@@ -0,0 +1,4 @@
1
+ import { Placement } from '..';
2
+ import { BasePlacement } from './types';
3
+ export declare const basePlacements: BasePlacement[];
4
+ export declare const allPlacements: Placement[];
@@ -0,0 +1,11 @@
1
+ export { computePosition } from './computePosition';
2
+ export { detectOverflow } from './detectOverflow';
3
+ export { arrow } from './middleware/arrow';
4
+ export { autoPlacement } from './middleware/autoPlacement';
5
+ export { flip } from './middleware/flip';
6
+ export { hide } from './middleware/hide';
7
+ export { offset } from './middleware/offset';
8
+ export { shift, limitShift } from './middleware/shift';
9
+ export { size } from './middleware/size';
10
+ export { inline } from './middleware/inline';
11
+ export { rectToClientRect } from './utils/rectToClientRect';
@@ -0,0 +1,6 @@
1
+ import type { Middleware, Padding } from '../types';
2
+ export declare type Options = {
3
+ element: any;
4
+ padding?: Padding;
5
+ };
6
+ export declare const arrow: (options: Options) => Middleware;
@@ -0,0 +1,9 @@
1
+ import type { Middleware, Placement, Alignment } from '../types';
2
+ import { Options as DetectOverflowOptions } from '../detectOverflow';
3
+ export declare function getPlacementList(alignment: Alignment | null, autoAlignment: boolean, allowedPlacements: Array<Placement>): Placement[];
4
+ export declare type Options = {
5
+ alignment: Alignment | null;
6
+ allowedPlacements: Array<Placement>;
7
+ autoAlignment: boolean;
8
+ };
9
+ export declare const autoPlacement: (options?: Partial<Options & DetectOverflowOptions>) => Middleware;
@@ -0,0 +1,10 @@
1
+ import type { Placement, Middleware } from '../types';
2
+ import { Options as DetectOverflowOptions } from '../detectOverflow';
3
+ export declare type Options = {
4
+ mainAxis: boolean;
5
+ crossAxis: boolean;
6
+ fallbackPlacements: Array<Placement>;
7
+ fallbackStrategy: 'bestFit' | 'initialPlacement';
8
+ flipAlignment: boolean;
9
+ };
10
+ export declare const flip: (options?: Partial<Options & DetectOverflowOptions>) => Middleware;
@@ -0,0 +1,2 @@
1
+ import type { Middleware } from '../types';
2
+ export declare const hide: () => Middleware;
@@ -0,0 +1,5 @@
1
+ import type { Coords, Middleware, Padding } from '../types';
2
+ export declare type Options = Coords & {
3
+ padding: Padding;
4
+ };
5
+ export declare const inline: (options?: Partial<Options>) => Middleware;
@@ -0,0 +1,21 @@
1
+ import type { Placement, Rect, Coords, Middleware } from '../types';
2
+ declare type OffsetValue = number | {
3
+ mainAxis?: number;
4
+ crossAxis?: number;
5
+ };
6
+ declare type OffsetFunction = (args: {
7
+ floating: Rect;
8
+ reference: Rect;
9
+ placement: Placement;
10
+ }) => OffsetValue;
11
+ export declare type Options = OffsetValue | OffsetFunction;
12
+ export declare function convertValueToCoords({ placement, rects, value, }: {
13
+ placement: Placement;
14
+ rects: {
15
+ floating: Rect;
16
+ reference: Rect;
17
+ };
18
+ value: Options;
19
+ }): Coords;
20
+ export declare const offset: (value?: Options) => Middleware;
21
+ export {};
@@ -0,0 +1,32 @@
1
+ import type { Middleware, Rect, Placement, MiddlewareArguments, Coords } from '../types';
2
+ import { Options as DetectOverflowOptions } from '../detectOverflow';
3
+ export declare type Options = {
4
+ mainAxis: boolean;
5
+ crossAxis: boolean;
6
+ limiter: {
7
+ fn: (middlewareArguments: MiddlewareArguments) => Coords;
8
+ options?: any;
9
+ };
10
+ };
11
+ export declare const shift: (options?: Partial<Options & DetectOverflowOptions>) => Middleware;
12
+ declare type LimitShiftOffset = ((args: {
13
+ placement: Placement;
14
+ floating: Rect;
15
+ reference: Rect;
16
+ }) => number | {
17
+ mainAxis?: number;
18
+ crossAxis?: number;
19
+ }) | number | {
20
+ mainAxis?: number;
21
+ crossAxis?: number;
22
+ };
23
+ export declare type LimitShiftOptions = {
24
+ offset: LimitShiftOffset;
25
+ mainAxis: boolean;
26
+ crossAxis: boolean;
27
+ };
28
+ export declare const limitShift: (options?: Partial<LimitShiftOptions>) => {
29
+ options: Partial<LimitShiftOffset>;
30
+ fn: (middlewareArguments: MiddlewareArguments) => Coords;
31
+ };
32
+ export {};
@@ -0,0 +1,6 @@
1
+ import type { Dimensions, ElementRects, Middleware } from '../types';
2
+ import { Options as DetectOverflowOptions } from '../detectOverflow';
3
+ export declare type Options = {
4
+ apply(args: Dimensions & ElementRects): void;
5
+ };
6
+ export declare const size: (options?: Partial<Options & DetectOverflowOptions>) => Middleware;
@@ -0,0 +1,148 @@
1
+ export declare type Alignment = 'start' | 'end';
2
+ export declare type BasePlacement = 'top' | 'right' | 'bottom' | 'left';
3
+ export declare type AlignedPlacement = `${BasePlacement}-${Alignment}`;
4
+ export declare type Placement = BasePlacement | AlignedPlacement;
5
+ export declare type Strategy = 'absolute' | 'fixed';
6
+ export declare type Axis = 'x' | 'y';
7
+ export declare type Length = 'width' | 'height';
8
+ declare type Promisable<T> = T | Promise<T>;
9
+ export declare type Platform = {
10
+ getElementRects: (args: {
11
+ reference: ReferenceElement;
12
+ floating: FloatingElement;
13
+ strategy: Strategy;
14
+ }) => Promisable<ElementRects>;
15
+ convertOffsetParentRelativeRectToViewportRelativeRect: (args: {
16
+ rect: Rect;
17
+ offsetParent: any;
18
+ strategy: Strategy;
19
+ }) => Promisable<Rect>;
20
+ getOffsetParent: (args: {
21
+ element: any;
22
+ }) => Promisable<any>;
23
+ isElement: (value: unknown) => Promisable<boolean>;
24
+ getDocumentElement: (args: {
25
+ element: any;
26
+ }) => Promisable<any>;
27
+ getClippingClientRect: (args: {
28
+ element: any;
29
+ boundary: Boundary;
30
+ rootBoundary: RootBoundary;
31
+ }) => Promisable<ClientRectObject>;
32
+ getDimensions: (args: {
33
+ element: any;
34
+ }) => Promisable<Dimensions>;
35
+ getClientRects?: (args: {
36
+ element: any;
37
+ }) => Promisable<Array<ClientRectObject>>;
38
+ };
39
+ export declare type Coords = {
40
+ [key in Axis]: number;
41
+ };
42
+ export declare type SideObject = {
43
+ [key in BasePlacement]: number;
44
+ };
45
+ export declare type MiddlewareData = {
46
+ arrow?: Partial<Coords> & {
47
+ centerOffset: number;
48
+ };
49
+ autoPlacement?: {
50
+ index?: number;
51
+ skip?: boolean;
52
+ overflows: Array<{
53
+ placement: Placement;
54
+ overflows: Array<number>;
55
+ }>;
56
+ };
57
+ flip?: {
58
+ index?: number;
59
+ skip?: boolean;
60
+ overflows: Array<{
61
+ placement: Placement;
62
+ overflows: Array<number>;
63
+ }>;
64
+ };
65
+ hide?: {
66
+ referenceHidden: boolean;
67
+ escaped: boolean;
68
+ referenceHiddenOffsets: SideObject;
69
+ escapedOffsets: SideObject;
70
+ };
71
+ inline?: {
72
+ skip?: boolean;
73
+ };
74
+ size?: {
75
+ skip?: boolean;
76
+ };
77
+ offset?: Coords;
78
+ [key: string]: any;
79
+ };
80
+ export declare type ComputePositionConfig = {
81
+ platform: Platform;
82
+ placement?: Placement;
83
+ strategy?: Strategy;
84
+ middleware?: Array<Middleware>;
85
+ };
86
+ export declare type ComputePositionReturn = Coords & {
87
+ placement: Placement;
88
+ strategy: Strategy;
89
+ middlewareData: MiddlewareData;
90
+ };
91
+ export declare type ComputePosition = (reference: unknown, floating: unknown, config: ComputePositionConfig) => Promise<ComputePositionReturn>;
92
+ export declare type MiddlewareReturn = Partial<Coords & {
93
+ data: {
94
+ [key: string]: any;
95
+ };
96
+ reset: true | {
97
+ placement?: Placement;
98
+ rects?: true | ElementRects;
99
+ };
100
+ }>;
101
+ export declare type Middleware = {
102
+ name: string;
103
+ options?: any;
104
+ fn: (middlewareArguments: MiddlewareArguments) => Promisable<MiddlewareReturn>;
105
+ };
106
+ export declare type Dimensions = {
107
+ [key in Length]: number;
108
+ };
109
+ export declare type Rect = Coords & Dimensions;
110
+ export declare type ElementRects = {
111
+ reference: Rect;
112
+ floating: Rect;
113
+ };
114
+ export declare type VirtualElement = {
115
+ getBoundingClientRect(): ClientRectObject;
116
+ contextElement?: any;
117
+ };
118
+ export declare type ReferenceElement = any;
119
+ export declare type FloatingElement = any;
120
+ export declare type Elements = {
121
+ reference: ReferenceElement;
122
+ floating: FloatingElement;
123
+ };
124
+ export declare type MiddlewareArguments = Coords & {
125
+ initialPlacement: Placement;
126
+ placement: Placement;
127
+ strategy: Strategy;
128
+ middlewareData: MiddlewareData;
129
+ elements: Elements;
130
+ rects: ElementRects;
131
+ platform: Platform;
132
+ };
133
+ export declare type ClientRectObject = Rect & SideObject;
134
+ export declare type Padding = number | SideObject;
135
+ export declare type Boundary = any;
136
+ export declare type RootBoundary = 'viewport' | 'document';
137
+ export declare type ElementContext = 'reference' | 'floating';
138
+ export { computePosition } from './computePosition';
139
+ export { rectToClientRect } from './utils/rectToClientRect';
140
+ export { detectOverflow } from './detectOverflow';
141
+ export { arrow } from './middleware/arrow';
142
+ export { autoPlacement } from './middleware/autoPlacement';
143
+ export { flip } from './middleware/flip';
144
+ export { hide } from './middleware/hide';
145
+ export { offset } from './middleware/offset';
146
+ export { shift, limitShift } from './middleware/shift';
147
+ export { size } from './middleware/size';
148
+ export { inline } from './middleware/inline';
@@ -0,0 +1,2 @@
1
+ import { SideObject } from '../types';
2
+ export declare function expandPaddingObject(padding: Partial<SideObject>): SideObject;
@@ -0,0 +1,2 @@
1
+ import type { Alignment } from '../types';
2
+ export declare function getAlignment<T extends string>(placement: T): Alignment;
@@ -0,0 +1,5 @@
1
+ import type { ElementRects, Placement, BasePlacement } from '../types';
2
+ export declare function getAlignmentSides(placement: Placement, rects: ElementRects): {
3
+ main: BasePlacement;
4
+ cross: BasePlacement;
5
+ };
@@ -0,0 +1,2 @@
1
+ import { BasePlacement, Placement } from '../types';
2
+ export declare function getBasePlacement(placement: Placement): BasePlacement;
@@ -0,0 +1,2 @@
1
+ import { Axis } from '../types';
2
+ export declare function getCrossAxis(axis: Axis): Axis;