@histoire/vendors 0.17.16 → 1.0.0-alpha.1

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 (231) hide show
  1. package/dist/client/b-floating-vue.d.ts +3 -3
  2. package/dist/client/b-floating-vue.js +2176 -2149
  3. package/dist/client/b-iconify.d.ts +1 -1
  4. package/dist/client/b-iconify.js +751 -825
  5. package/dist/client/b-pinia.d.ts +1 -1
  6. package/dist/client/b-pinia.js +130 -68
  7. package/dist/client/b-scroll.d.ts +2 -2
  8. package/dist/client/b-scroll.js +5 -52
  9. package/dist/client/b-vue-router.d.ts +1 -1
  10. package/dist/client/b-vue-router.js +385 -237
  11. package/dist/client/b-vue-use.d.ts +1 -1
  12. package/dist/client/b-vue-use.js +3898 -2871
  13. package/dist/client/b-vue.d.ts +1 -1
  14. package/dist/client/b-vue.js +1 -1
  15. package/dist/client/index.js +162 -20
  16. package/dist/client/node_modules/@babel/helper-string-parser/package.json +31 -0
  17. package/dist/client/node_modules/@babel/helper-validator-identifier/package.json +31 -0
  18. package/dist/client/node_modules/@babel/parser/package.json +10 -6
  19. package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +47 -31
  20. package/dist/client/node_modules/@babel/types/lib/index-legacy.d.ts +2776 -0
  21. package/dist/client/node_modules/@babel/types/lib/index.d.ts +3275 -0
  22. package/dist/client/node_modules/@babel/types/package.json +39 -0
  23. package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.ts +525 -0
  24. package/dist/client/node_modules/@floating-ui/core/package.json +32 -39
  25. package/dist/client/node_modules/@floating-ui/dom/package.json +23 -24
  26. package/dist/client/node_modules/@floating-ui/dom/src/autoUpdate.d.ts +31 -0
  27. package/dist/client/node_modules/@floating-ui/dom/src/index.d.ts +11 -7
  28. package/dist/client/node_modules/@floating-ui/dom/src/platform.d.ts +1 -1
  29. package/dist/client/node_modules/@floating-ui/dom/src/types.d.ts +121 -20
  30. package/dist/client/node_modules/@floating-ui/dom/src/utils/getBoundingClientRect.d.ts +1 -1
  31. package/dist/client/node_modules/@floating-ui/dom/src/utils/getClippingRect.d.ts +12 -0
  32. package/dist/client/node_modules/@floating-ui/dom/src/utils/getCssDimensions.d.ts +4 -0
  33. package/dist/client/node_modules/@floating-ui/dom/src/utils/getDimensions.d.ts +1 -1
  34. package/dist/client/node_modules/@floating-ui/dom/src/utils/getNearestOverflowAncestor.d.ts +1 -0
  35. package/dist/client/node_modules/@floating-ui/dom/src/utils/getOverflowAncestors.d.ts +3 -0
  36. package/dist/client/node_modules/@floating-ui/dom/src/utils/getScale.d.ts +7 -0
  37. package/dist/client/node_modules/@floating-ui/dom/src/utils/getViewportRect.d.ts +2 -2
  38. package/dist/client/node_modules/@floating-ui/dom/src/utils/getWindowScrollBarX.d.ts +1 -1
  39. package/dist/client/node_modules/@floating-ui/dom/src/utils/is.d.ts +3 -1
  40. package/dist/client/node_modules/@floating-ui/dom/src/utils/unwrapElement.d.ts +2 -0
  41. package/dist/client/node_modules/@floating-ui/dom/src/utils/userAgent.d.ts +1 -0
  42. package/dist/client/node_modules/@floating-ui/dom/src/utils/window.d.ts +1 -2
  43. package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.ts +103 -0
  44. package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.ts +47 -0
  45. package/dist/client/node_modules/@floating-ui/utils/dom/floating-ui.utils.dom.d.ts +47 -0
  46. package/dist/client/node_modules/@floating-ui/utils/dom/package.json +6 -0
  47. package/dist/client/node_modules/@floating-ui/utils/package.json +70 -0
  48. package/dist/client/node_modules/@iconify/types/package.json +23 -0
  49. package/dist/client/node_modules/@iconify/types/provider.d.ts +44 -0
  50. package/dist/client/node_modules/@iconify/types/types.d.ts +272 -0
  51. package/dist/client/node_modules/@iconify/vue/dist/iconify.d.ts +72 -330
  52. package/dist/client/node_modules/@iconify/vue/dist/offline.d.ts +28 -268
  53. package/dist/client/node_modules/@iconify/vue/package.json +64 -60
  54. package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/scopes.d.ts +49 -0
  55. package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/sourcemap-codec.d.ts +2 -0
  56. package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/strings.d.ts +15 -0
  57. package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/vlq.d.ts +6 -0
  58. package/dist/client/node_modules/@jridgewell/sourcemap-codec/package.json +3 -2
  59. package/dist/client/node_modules/@types/web-bluetooth/index.d.ts +33 -14
  60. package/dist/client/node_modules/@types/web-bluetooth/package.json +12 -12
  61. package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +218 -125
  62. package/dist/client/node_modules/@vue/compiler-core/package.json +20 -5
  63. package/dist/client/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +6 -3
  64. package/dist/client/node_modules/@vue/compiler-dom/package.json +17 -3
  65. package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +35 -25
  66. package/dist/client/node_modules/@vue/compiler-sfc/package.json +27 -18
  67. package/dist/client/node_modules/@vue/compiler-ssr/dist/compiler-ssr.d.ts +2 -2
  68. package/dist/client/node_modules/@vue/compiler-ssr/package.json +3 -3
  69. package/dist/client/node_modules/@vue/devtools-api/package.json +1 -1
  70. package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +268 -166
  71. package/dist/client/node_modules/@vue/reactivity/package.json +16 -2
  72. package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +728 -529
  73. package/dist/client/node_modules/@vue/runtime-core/package.json +17 -3
  74. package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +195 -86
  75. package/dist/client/node_modules/@vue/runtime-dom/package.json +22 -4
  76. package/dist/client/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +4 -8
  77. package/dist/client/node_modules/@vue/server-renderer/package.json +18 -4
  78. package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +45 -30
  79. package/dist/client/node_modules/@vue/shared/package.json +15 -1
  80. package/dist/client/node_modules/@vueuse/core/index.d.ts +2040 -633
  81. package/dist/client/node_modules/@vueuse/core/package.json +10 -12
  82. package/dist/client/node_modules/@vueuse/metadata/index.d.ts +7 -5
  83. package/dist/client/node_modules/@vueuse/metadata/package.json +4 -4
  84. package/dist/client/node_modules/@vueuse/shared/index.d.ts +410 -273
  85. package/dist/client/node_modules/@vueuse/shared/package.json +5 -6
  86. package/dist/client/node_modules/compute-scroll-into-view/dist/index.d.ts +75 -0
  87. package/dist/client/node_modules/compute-scroll-into-view/package.json +35 -45
  88. package/dist/client/node_modules/entities/lib/decode.d.ts +211 -0
  89. package/dist/client/node_modules/entities/lib/decode_codepoint.d.ts +19 -0
  90. package/dist/client/node_modules/entities/lib/encode.d.ts +22 -0
  91. package/dist/client/node_modules/entities/lib/escape.d.ts +43 -0
  92. package/dist/client/node_modules/entities/lib/esm/decode.d.ts +211 -0
  93. package/dist/client/node_modules/entities/lib/esm/decode_codepoint.d.ts +19 -0
  94. package/dist/client/node_modules/entities/lib/esm/encode.d.ts +22 -0
  95. package/dist/client/node_modules/entities/lib/esm/escape.d.ts +43 -0
  96. package/dist/client/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +3 -0
  97. package/dist/client/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +3 -0
  98. package/dist/client/node_modules/entities/lib/esm/generated/encode-html.d.ts +8 -0
  99. package/dist/client/node_modules/entities/lib/esm/index.d.ts +96 -0
  100. package/dist/client/node_modules/entities/lib/esm/package.json +1 -0
  101. package/dist/client/node_modules/entities/lib/generated/decode-data-html.d.ts +3 -0
  102. package/dist/client/node_modules/entities/lib/generated/decode-data-xml.d.ts +3 -0
  103. package/dist/client/node_modules/entities/lib/generated/encode-html.d.ts +8 -0
  104. package/dist/client/node_modules/entities/lib/index.d.ts +96 -0
  105. package/dist/client/node_modules/entities/package.json +90 -0
  106. package/dist/client/node_modules/floating-vue/dist/components/Dropdown.d.ts +398 -0
  107. package/dist/client/node_modules/floating-vue/dist/components/Menu.d.ts +398 -0
  108. package/dist/client/node_modules/floating-vue/dist/components/Popper.d.ts +225 -105
  109. package/dist/client/node_modules/floating-vue/dist/components/Popper.vue.d.ts +471 -364
  110. package/dist/client/node_modules/floating-vue/dist/components/PopperContent.vue.d.ts +14 -25
  111. package/dist/client/node_modules/floating-vue/dist/components/PopperWrapper.vue.d.ts +392 -6
  112. package/dist/client/node_modules/floating-vue/dist/components/Tooltip.d.ts +398 -0
  113. package/dist/client/node_modules/floating-vue/dist/components/TooltipDirective.vue.d.ts +49 -10
  114. package/dist/client/node_modules/floating-vue/dist/config.d.ts +1 -1
  115. package/dist/client/node_modules/floating-vue/dist/index.d.ts +2071 -247
  116. package/dist/client/node_modules/floating-vue/dist/util/events.d.ts +2 -0
  117. package/dist/client/node_modules/floating-vue/dist/util/popper.d.ts +1 -1
  118. package/dist/client/node_modules/floating-vue/package.json +42 -33
  119. package/dist/client/node_modules/magic-string/dist/magic-string.cjs.d.ts +250 -229
  120. package/dist/client/node_modules/magic-string/package.json +24 -26
  121. package/dist/client/node_modules/nanoid/package.json +1 -1
  122. package/dist/client/node_modules/picocolors/package.json +2 -2
  123. package/dist/client/node_modules/picocolors/types.d.ts +51 -0
  124. package/dist/client/node_modules/pinia/dist/pinia.d.ts +116 -37
  125. package/dist/client/node_modules/pinia/package.json +7 -11
  126. package/dist/client/node_modules/postcss/lib/at-rule.d.ts +25 -22
  127. package/dist/client/node_modules/postcss/lib/comment.d.ts +10 -9
  128. package/dist/client/node_modules/postcss/lib/container.d.ts +47 -54
  129. package/dist/client/node_modules/postcss/lib/css-syntax-error.d.ts +1 -1
  130. package/dist/client/node_modules/postcss/lib/declaration.d.ts +20 -17
  131. package/dist/client/node_modules/postcss/lib/document.d.ts +4 -4
  132. package/dist/client/node_modules/postcss/lib/input.d.ts +14 -0
  133. package/dist/client/node_modules/postcss/lib/list.d.ts +5 -2
  134. package/dist/client/node_modules/postcss/lib/node.d.ts +19 -14
  135. package/dist/client/node_modules/postcss/lib/postcss.d.ts +25 -8
  136. package/dist/client/node_modules/postcss/lib/processor.d.ts +1 -1
  137. package/dist/client/node_modules/postcss/lib/result.d.ts +0 -1
  138. package/dist/client/node_modules/postcss/lib/root.d.ts +4 -4
  139. package/dist/client/node_modules/postcss/lib/rule.d.ts +27 -18
  140. package/dist/client/node_modules/postcss/package.json +4 -4
  141. package/dist/client/node_modules/scroll-into-view-if-needed/dist/index.d.ts +79 -0
  142. package/dist/client/node_modules/scroll-into-view-if-needed/package.json +28 -67
  143. package/dist/client/node_modules/source-map-js/lib/source-map-consumer.d.ts +1 -0
  144. package/dist/client/node_modules/source-map-js/lib/source-map-generator.d.ts +1 -0
  145. package/dist/client/node_modules/source-map-js/lib/source-node.d.ts +1 -0
  146. package/dist/client/node_modules/source-map-js/package.json +1 -1
  147. package/dist/client/node_modules/source-map-js/source-map.d.ts +88 -99
  148. package/dist/client/node_modules/vue/dist/vue.d.ts +0 -4
  149. package/dist/client/node_modules/vue/jsx-runtime/index.d.ts +2 -1
  150. package/dist/client/node_modules/vue/jsx.d.ts +2 -1
  151. package/dist/client/node_modules/vue/package.json +13 -14
  152. package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/package.json +1 -1
  153. package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +410 -81
  154. package/dist/client/node_modules/vue-router/package.json +66 -37
  155. package/dist/client/node_modules/vue-router/vue-router-auto-routes.d.ts +4 -0
  156. package/dist/client/node_modules/vue-router/vue-router-auto.d.ts +4 -0
  157. package/dist/client/vue.runtime.esm-bundler.js +6458 -4714
  158. package/floating-vue.d.ts +1 -0
  159. package/iconify.d.ts +1 -0
  160. package/package.json +20 -20
  161. package/pinia.d.ts +1 -0
  162. package/rollup.config.mjs +11 -9
  163. package/scroll.d.ts +1 -0
  164. package/src/client/b-floating-vue.ts +2 -0
  165. package/src/client/b-scroll.ts +2 -0
  166. package/tsconfig.json +17 -17
  167. package/vue-router.d.ts +1 -0
  168. package/vue-use.d.ts +1 -0
  169. package/vue.d.ts +1 -0
  170. package/dist/client/index2.js +0 -168
  171. package/dist/client/node_modules/@floating-ui/core/index.d.ts +0 -1
  172. package/dist/client/node_modules/@floating-ui/core/src/_babel.d.ts +0 -1
  173. package/dist/client/node_modules/@floating-ui/core/src/computeCoordsFromPlacement.d.ts +0 -4
  174. package/dist/client/node_modules/@floating-ui/core/src/computePosition.d.ts +0 -2
  175. package/dist/client/node_modules/@floating-ui/core/src/detectOverflow.d.ts +0 -9
  176. package/dist/client/node_modules/@floating-ui/core/src/enums.d.ts +0 -4
  177. package/dist/client/node_modules/@floating-ui/core/src/index.d.ts +0 -11
  178. package/dist/client/node_modules/@floating-ui/core/src/middleware/arrow.d.ts +0 -6
  179. package/dist/client/node_modules/@floating-ui/core/src/middleware/autoPlacement.d.ts +0 -9
  180. package/dist/client/node_modules/@floating-ui/core/src/middleware/flip.d.ts +0 -10
  181. package/dist/client/node_modules/@floating-ui/core/src/middleware/hide.d.ts +0 -2
  182. package/dist/client/node_modules/@floating-ui/core/src/middleware/inline.d.ts +0 -5
  183. package/dist/client/node_modules/@floating-ui/core/src/middleware/offset.d.ts +0 -21
  184. package/dist/client/node_modules/@floating-ui/core/src/middleware/shift.d.ts +0 -32
  185. package/dist/client/node_modules/@floating-ui/core/src/middleware/size.d.ts +0 -6
  186. package/dist/client/node_modules/@floating-ui/core/src/types.d.ts +0 -148
  187. package/dist/client/node_modules/@floating-ui/core/src/utils/expandPaddingObject.d.ts +0 -2
  188. package/dist/client/node_modules/@floating-ui/core/src/utils/getAlignment.d.ts +0 -2
  189. package/dist/client/node_modules/@floating-ui/core/src/utils/getAlignmentSides.d.ts +0 -5
  190. package/dist/client/node_modules/@floating-ui/core/src/utils/getBasePlacement.d.ts +0 -2
  191. package/dist/client/node_modules/@floating-ui/core/src/utils/getCrossAxis.d.ts +0 -2
  192. package/dist/client/node_modules/@floating-ui/core/src/utils/getExpandedPlacements.d.ts +0 -2
  193. package/dist/client/node_modules/@floating-ui/core/src/utils/getLengthFromAxis.d.ts +0 -2
  194. package/dist/client/node_modules/@floating-ui/core/src/utils/getMainAxisFromPlacement.d.ts +0 -2
  195. package/dist/client/node_modules/@floating-ui/core/src/utils/getOppositeAlignmentPlacement.d.ts +0 -2
  196. package/dist/client/node_modules/@floating-ui/core/src/utils/getOppositePlacement.d.ts +0 -1
  197. package/dist/client/node_modules/@floating-ui/core/src/utils/getPaddingObject.d.ts +0 -2
  198. package/dist/client/node_modules/@floating-ui/core/src/utils/math.d.ts +0 -2
  199. package/dist/client/node_modules/@floating-ui/core/src/utils/rectToClientRect.d.ts +0 -2
  200. package/dist/client/node_modules/@floating-ui/core/src/utils/within.d.ts +0 -1
  201. package/dist/client/node_modules/@floating-ui/dom/src/utils/contains.d.ts +0 -1
  202. package/dist/client/node_modules/@floating-ui/dom/src/utils/getClippingClientRect.d.ts +0 -6
  203. package/dist/client/node_modules/@floating-ui/dom/src/utils/getScrollParent.d.ts +0 -1
  204. package/dist/client/node_modules/@floating-ui/dom/src/utils/getScrollParents.d.ts +0 -1
  205. package/dist/client/node_modules/@vue/reactivity-transform/dist/reactivity-transform.d.ts +0 -43
  206. package/dist/client/node_modules/@vue/reactivity-transform/package.json +0 -41
  207. package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/package.json +0 -47
  208. package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/lib/index.d.ts +0 -22
  209. package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/lib/v2/index.d.ts +0 -33
  210. package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/lib/v2.7/index.d.ts +0 -38
  211. package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/lib/v3/index.d.ts +0 -22
  212. package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/package.json +0 -47
  213. package/dist/client/node_modules/compute-scroll-into-view/typings/index.d.ts +0 -19
  214. package/dist/client/node_modules/floating-vue/dist/components/Dropdown.vue.d.ts +0 -25
  215. package/dist/client/node_modules/floating-vue/dist/components/Menu.vue.d.ts +0 -25
  216. package/dist/client/node_modules/floating-vue/dist/components/Tooltip.vue.d.ts +0 -25
  217. package/dist/client/node_modules/floating-vue/src/global-shim.d.ts +0 -1
  218. package/dist/client/node_modules/floating-vue/src/vue-shim.d.ts +0 -5
  219. package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/index.d.ts +0 -22
  220. package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2/index.d.ts +0 -33
  221. package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2.7/index.d.ts +0 -38
  222. package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v3/index.d.ts +0 -22
  223. package/dist/client/node_modules/scroll-into-view-if-needed/typings/index.d.ts +0 -13
  224. package/dist/client/node_modules/scroll-into-view-if-needed/typings/types.d.ts +0 -19
  225. package/dist/client/node_modules/vue/macros-global.d.ts +0 -19
  226. package/dist/client/node_modules/vue/macros.d.ts +0 -112
  227. package/dist/client/node_modules/vue/ref-macros.d.ts +0 -2
  228. /package/dist/client/node_modules/{@vueuse/core/node_modules/vue-demi → vue-demi}/lib/index.d.ts +0 -0
  229. /package/dist/client/node_modules/{@vueuse/core/node_modules/vue-demi → vue-demi}/lib/v2/index.d.ts +0 -0
  230. /package/dist/client/node_modules/{@vueuse/core/node_modules/vue-demi → vue-demi}/lib/v2.7/index.d.ts +0 -0
  231. /package/dist/client/node_modules/{@vueuse/core/node_modules/vue-demi → vue-demi}/lib/v3/index.d.ts +0 -0
@@ -1,148 +0,0 @@
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';
@@ -1,2 +0,0 @@
1
- import { SideObject } from '../types';
2
- export declare function expandPaddingObject(padding: Partial<SideObject>): SideObject;
@@ -1,2 +0,0 @@
1
- import type { Alignment } from '../types';
2
- export declare function getAlignment<T extends string>(placement: T): Alignment;
@@ -1,5 +0,0 @@
1
- import type { ElementRects, Placement, BasePlacement } from '../types';
2
- export declare function getAlignmentSides(placement: Placement, rects: ElementRects): {
3
- main: BasePlacement;
4
- cross: BasePlacement;
5
- };
@@ -1,2 +0,0 @@
1
- import { BasePlacement, Placement } from '../types';
2
- export declare function getBasePlacement(placement: Placement): BasePlacement;
@@ -1,2 +0,0 @@
1
- import { Axis } from '../types';
2
- export declare function getCrossAxis(axis: Axis): Axis;
@@ -1,2 +0,0 @@
1
- import type { Placement } from '../types';
2
- export declare function getExpandedPlacements(placement: Placement): Array<Placement>;
@@ -1,2 +0,0 @@
1
- import { Axis, Length } from '../types';
2
- export declare function getLengthFromAxis(axis: Axis): Length;
@@ -1,2 +0,0 @@
1
- import { Axis, Placement } from '../types';
2
- export declare function getMainAxisFromPlacement(placement: Placement): Axis;
@@ -1,2 +0,0 @@
1
- import type { Placement } from '../types';
2
- export declare function getOppositeAlignmentPlacement(placement: Placement): Placement;
@@ -1 +0,0 @@
1
- export declare function getOppositePlacement<T extends string>(placement: T): T;
@@ -1,2 +0,0 @@
1
- import { Padding, SideObject } from '../types';
2
- export declare function getSideObjectFromPadding(padding: Padding): SideObject;
@@ -1,2 +0,0 @@
1
- export declare const min: (...values: number[]) => number;
2
- export declare const max: (...values: number[]) => number;
@@ -1,2 +0,0 @@
1
- import { Rect, ClientRectObject } from '../types';
2
- export declare function rectToClientRect(rect: Rect): ClientRectObject;
@@ -1 +0,0 @@
1
- export declare function within(min: number, value: number, max: number): number;
@@ -1 +0,0 @@
1
- export declare function contains(parent: Element, child: Element): boolean;
@@ -1,6 +0,0 @@
1
- import { ClientRectObject, Boundary, RootBoundary } from '@floating-ui/core';
2
- export declare function getClippingClientRect({ element, boundary, rootBoundary, }: {
3
- element: Element;
4
- boundary: Boundary;
5
- rootBoundary: RootBoundary;
6
- }): ClientRectObject;
@@ -1 +0,0 @@
1
- export declare function getScrollParent(node: Node): HTMLElement;
@@ -1 +0,0 @@
1
- export declare function getScrollParents(node: Node, list?: Array<Element | Window>): Array<Element | Window | VisualViewport>;
@@ -1,43 +0,0 @@
1
- import { ImportSpecifier, ImportDefaultSpecifier, ImportNamespaceSpecifier, Program } from '@babel/types';
2
- import MagicString, { SourceMap } from 'magic-string';
3
- import { ParserPlugin } from '@babel/parser';
4
-
5
- /**
6
- * @deprecated will be removed in 3.4
7
- */
8
- export declare function shouldTransform(src: string): boolean;
9
- export interface RefTransformOptions {
10
- filename?: string;
11
- sourceMap?: boolean;
12
- parserPlugins?: ParserPlugin[];
13
- importHelpersFrom?: string;
14
- }
15
- export interface RefTransformResults {
16
- code: string;
17
- map: SourceMap | null;
18
- rootRefs: string[];
19
- importedHelpers: string[];
20
- }
21
- export interface ImportBinding {
22
- local: string;
23
- imported: string;
24
- source: string;
25
- specifier: ImportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier;
26
- }
27
- /**
28
- * @deprecated will be removed in 3.4
29
- */
30
- export declare function transform(src: string, { filename, sourceMap, parserPlugins, importHelpersFrom }?: RefTransformOptions): RefTransformResults;
31
- /**
32
- * @deprecated will be removed in 3.4
33
- */
34
- export declare function transformAST(ast: Program, s: MagicString, offset?: number, knownRefs?: string[], knownProps?: Record<string, // public prop key
35
- {
36
- local: string;
37
- default?: any;
38
- isConst?: boolean;
39
- }>): {
40
- rootRefs: string[];
41
- importedHelpers: string[];
42
- };
43
-
@@ -1,41 +0,0 @@
1
- {
2
- "name": "@vue/reactivity-transform",
3
- "version": "3.3.8",
4
- "description": "@vue/reactivity-transform",
5
- "main": "dist/reactivity-transform.cjs.js",
6
- "files": [
7
- "dist"
8
- ],
9
- "buildOptions": {
10
- "formats": [
11
- "cjs"
12
- ],
13
- "prod": false
14
- },
15
- "types": "dist/reactivity-transform.d.ts",
16
- "repository": {
17
- "type": "git",
18
- "url": "git+https://github.com/vuejs/core.git",
19
- "directory": "packages/reactivity-transform"
20
- },
21
- "keywords": [
22
- "vue"
23
- ],
24
- "author": "Evan You",
25
- "license": "MIT",
26
- "bugs": {
27
- "url": "https://github.com/vuejs/core/issues"
28
- },
29
- "homepage": "https://github.com/vuejs/core/tree/dev/packages/reactivity-transform#readme",
30
- "dependencies": {
31
- "@babel/parser": "^7.23.0",
32
- "@vue/compiler-core": "3.3.8",
33
- "@vue/shared": "3.3.8",
34
- "estree-walker": "^2.0.2",
35
- "magic-string": "^0.30.5"
36
- },
37
- "devDependencies": {
38
- "@babel/core": "^7.23.2",
39
- "@babel/types": "^7.23.0"
40
- }
41
- }
@@ -1,47 +0,0 @@
1
- {
2
- "name": "vue-demi",
3
- "version": "0.14.7",
4
- "engines": {
5
- "node": ">=12"
6
- },
7
- "repository": "https://github.com/antfu/vue-demi.git",
8
- "funding": "https://github.com/sponsors/antfu",
9
- "license": "MIT",
10
- "author": "Anthony Fu <anthonyfu117@hotmail.com>",
11
- "main": "lib/index.cjs",
12
- "jsdelivr": "lib/index.iife.js",
13
- "unpkg": "lib/index.iife.js",
14
- "module": "lib/index.mjs",
15
- "types": "lib/index.d.ts",
16
- "exports": {
17
- ".": {
18
- "types": "./lib/index.d.ts",
19
- "require": "./lib/index.cjs",
20
- "import": "./lib/index.mjs",
21
- "browser": "./lib/index.mjs"
22
- },
23
- "./*": "./*"
24
- },
25
- "bin": {
26
- "vue-demi-fix": "bin/vue-demi-fix.js",
27
- "vue-demi-switch": "bin/vue-demi-switch.js"
28
- },
29
- "files": [
30
- "lib",
31
- "bin",
32
- "scripts"
33
- ],
34
- "scripts": {
35
- "postinstall": "node -e \"try{require('./scripts/postinstall.js')}catch(e){}\"",
36
- "release": "npx bumpp --tag --commit --push && npm publish"
37
- },
38
- "peerDependencies": {
39
- "@vue/composition-api": "^1.0.0-rc.1",
40
- "vue": "^3.0.0-0 || ^2.6.0"
41
- },
42
- "peerDependenciesMeta": {
43
- "@vue/composition-api": {
44
- "optional": true
45
- }
46
- }
47
- }
@@ -1,22 +0,0 @@
1
- import * as Vue from 'vue'
2
- declare const isVue2: boolean
3
- declare const isVue3: boolean
4
- declare const Vue2: any
5
- declare const install: (vue?: any) => void
6
- /**
7
- * @deprecated To avoid bringing in all the tree-shakable modules, this API has been deprecated. Use `Vue2` or named exports instead.
8
- * Refer to https://github.com/vueuse/vue-demi/issues/41
9
- */
10
- declare const V: typeof Vue
11
-
12
- export function set<T>(target: any, key: any, val: T): T
13
- export function del(target: any, key: any): void
14
-
15
- export * from 'vue'
16
- export {
17
- V as Vue,
18
- Vue2,
19
- isVue2,
20
- isVue3,
21
- install,
22
- }
@@ -1,33 +0,0 @@
1
- import Vue from 'vue'
2
- import type { PluginFunction, PluginObject } from 'vue'
3
- declare const isVue2: boolean
4
- declare const isVue3: boolean
5
- declare const Vue2: typeof Vue | undefined
6
- declare const version: string
7
- declare const install: (vue?: typeof Vue) => void
8
- /**
9
- * @deprecated To avoid bringing in all the tree-shakable modules, this API has been deprecated. Use `Vue2` or named exports instead.
10
- * Refer to https://github.com/vueuse/vue-demi/issues/41
11
- */
12
- declare const V: typeof Vue
13
-
14
- /**
15
- * DebuggerEvent is a Vue 3 development only feature. This type cannot exist in Vue 2.
16
- */
17
- export declare type DebuggerEvent = never
18
-
19
- // accept no generic because Vue 3 doesn't accept any
20
- // https://github.com/vuejs/vue-next/pull/2758/
21
- export declare type Plugin = PluginObject<any> | PluginFunction<any>
22
- export type { VNode } from 'vue'
23
- export * from '@vue/composition-api'
24
- export {
25
- V as Vue,
26
- Vue2,
27
- isVue2,
28
- isVue3,
29
- version,
30
- install,
31
- }
32
-
33
- export declare function hasInjectionContext(): boolean
@@ -1,38 +0,0 @@
1
- import Vue from 'vue'
2
- import type { PluginFunction, PluginObject, VueConstructor, Directive, InjectionKey, Component } from 'vue'
3
-
4
- declare const isVue2: boolean
5
- declare const isVue3: boolean
6
- declare const Vue2: typeof Vue | undefined
7
- declare const version: string
8
- declare const install: (vue?: typeof Vue) => void
9
- export declare function warn(msg: string, vm?: Component | null): void
10
- /**
11
- * @deprecated To avoid bringing in all the tree-shakable modules, this API has been deprecated. Use `Vue2` or named exports instead.
12
- * Refer to https://github.com/vueuse/vue-demi/issues/41
13
- */
14
- declare const V: typeof Vue
15
-
16
- // accept no generic because Vue 3 doesn't accept any
17
- // https://github.com/vuejs/vue-next/pull/2758/
18
- export declare type Plugin = PluginObject<any> | PluginFunction<any>
19
- export type { VNode } from 'vue'
20
- export * from 'vue'
21
- export { V as Vue, Vue2, isVue2, isVue3, version, install }
22
-
23
- // #region createApp polyfill
24
- export interface App<T = any> {
25
- config: VueConstructor['config']
26
- use: VueConstructor['use']
27
- mixin: VueConstructor['mixin']
28
- component: VueConstructor['component']
29
- directive(name: string): Directive | undefined
30
- directive(name: string, directive: Directive): this
31
- provide<T>(key: InjectionKey<T> | string, value: T): this
32
- mount: Vue['$mount']
33
- unmount: Vue['$destroy']
34
- }
35
- export declare function createApp(rootComponent: any, rootProps?: any): App
36
- // #endregion
37
-
38
- export declare function hasInjectionContext(): boolean
@@ -1,22 +0,0 @@
1
- import * as Vue from 'vue'
2
- declare const isVue2: boolean
3
- declare const isVue3: boolean
4
- declare const Vue2: any
5
- declare const install: (vue?: any) => void
6
- /**
7
- * @deprecated To avoid bringing in all the tree-shakable modules, this API has been deprecated. Use `Vue2` or named exports instead.
8
- * Refer to https://github.com/vueuse/vue-demi/issues/41
9
- */
10
- declare const V: typeof Vue
11
-
12
- export function set<T>(target: any, key: any, val: T): T
13
- export function del(target: any, key: any): void
14
-
15
- export * from 'vue'
16
- export {
17
- V as Vue,
18
- Vue2,
19
- isVue2,
20
- isVue3,
21
- install,
22
- }
@@ -1,47 +0,0 @@
1
- {
2
- "name": "vue-demi",
3
- "version": "0.14.7",
4
- "engines": {
5
- "node": ">=12"
6
- },
7
- "repository": "https://github.com/antfu/vue-demi.git",
8
- "funding": "https://github.com/sponsors/antfu",
9
- "license": "MIT",
10
- "author": "Anthony Fu <anthonyfu117@hotmail.com>",
11
- "main": "lib/index.cjs",
12
- "jsdelivr": "lib/index.iife.js",
13
- "unpkg": "lib/index.iife.js",
14
- "module": "lib/index.mjs",
15
- "types": "lib/index.d.ts",
16
- "exports": {
17
- ".": {
18
- "types": "./lib/index.d.ts",
19
- "require": "./lib/index.cjs",
20
- "import": "./lib/index.mjs",
21
- "browser": "./lib/index.mjs"
22
- },
23
- "./*": "./*"
24
- },
25
- "bin": {
26
- "vue-demi-fix": "bin/vue-demi-fix.js",
27
- "vue-demi-switch": "bin/vue-demi-switch.js"
28
- },
29
- "files": [
30
- "lib",
31
- "bin",
32
- "scripts"
33
- ],
34
- "scripts": {
35
- "postinstall": "node -e \"try{require('./scripts/postinstall.js')}catch(e){}\"",
36
- "release": "npx bumpp --tag --commit --push && npm publish"
37
- },
38
- "peerDependencies": {
39
- "@vue/composition-api": "^1.0.0-rc.1",
40
- "vue": "^3.0.0-0 || ^2.6.0"
41
- },
42
- "peerDependenciesMeta": {
43
- "@vue/composition-api": {
44
- "optional": true
45
- }
46
- }
47
- }
@@ -1,19 +0,0 @@
1
- type ScrollLogicalPosition = 'start' | 'center' | 'end' | 'nearest';
2
- type ScrollMode = 'always' | 'if-needed';
3
- type SkipOverflowHiddenElements = boolean;
4
- interface Options {
5
- block?: ScrollLogicalPosition;
6
- inline?: ScrollLogicalPosition;
7
- scrollMode?: ScrollMode;
8
- boundary?: CustomScrollBoundary;
9
- skipOverflowHiddenElements?: SkipOverflowHiddenElements;
10
- }
11
- type CustomScrollBoundaryCallback = (parent: Element) => boolean;
12
- type CustomScrollBoundary = Element | CustomScrollBoundaryCallback | null;
13
- interface CustomScrollAction {
14
- el: Element;
15
- top: number;
16
- left: number;
17
- }
18
- declare const _default: (target: Element, options: Options) => CustomScrollAction[];
19
- export default _default;
@@ -1,25 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<Readonly<{
2
- theme?: unknown;
3
- } & {} & {
4
- theme?: string;
5
- }>, unknown, unknown, {
6
- finalTheme(): string;
7
- }, {
8
- getTargetNodes(): unknown[];
9
- }, {
10
- computed: {
11
- themeClass(): string[];
12
- };
13
- } | {
14
- methods: {
15
- show(...args: any[]): any;
16
- hide(...args: any[]): any;
17
- dispose(...args: any[]): any;
18
- onResize(...args: any[]): any;
19
- };
20
- }, import("vue").ComponentOptionsMixin, Record<string, any>, any, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<Readonly<{
21
- theme?: unknown;
22
- } & {} & {
23
- theme?: string;
24
- }>>, {}>;
25
- export default _default;
@@ -1,25 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<Readonly<{
2
- theme?: unknown;
3
- } & {} & {
4
- theme?: string;
5
- }>, unknown, unknown, {
6
- finalTheme(): string;
7
- }, {
8
- getTargetNodes(): unknown[];
9
- }, {
10
- computed: {
11
- themeClass(): string[];
12
- };
13
- } | {
14
- methods: {
15
- show(...args: any[]): any;
16
- hide(...args: any[]): any;
17
- dispose(...args: any[]): any;
18
- onResize(...args: any[]): any;
19
- };
20
- }, import("vue").ComponentOptionsMixin, Record<string, any>, any, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<Readonly<{
21
- theme?: unknown;
22
- } & {} & {
23
- theme?: string;
24
- }>>, {}>;
25
- export default _default;
@@ -1,25 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<Readonly<{
2
- theme?: unknown;
3
- } & {} & {
4
- theme?: string;
5
- }>, unknown, unknown, {
6
- finalTheme(): string;
7
- }, {
8
- getTargetNodes(): unknown[];
9
- }, {
10
- computed: {
11
- themeClass(): string[];
12
- };
13
- } | {
14
- methods: {
15
- show(...args: any[]): any;
16
- hide(...args: any[]): any;
17
- dispose(...args: any[]): any;
18
- onResize(...args: any[]): any;
19
- };
20
- }, import("vue").ComponentOptionsMixin, Record<string, any>, any, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<Readonly<{
21
- theme?: unknown;
22
- } & {} & {
23
- theme?: string;
24
- }>>, {}>;
25
- export default _default;
@@ -1 +0,0 @@
1
- declare const VERSION: string
@@ -1,5 +0,0 @@
1
- /* eslint-disable */
2
- declare module '*.vue' {
3
- const component: any
4
- export default component
5
- }
@@ -1,22 +0,0 @@
1
- import * as Vue from 'vue'
2
- declare const isVue2: boolean
3
- declare const isVue3: boolean
4
- declare const Vue2: any
5
- declare const install: (vue?: any) => void
6
- /**
7
- * @deprecated To avoid bringing in all the tree-shakable modules, this API has been deprecated. Use `Vue2` or named exports instead.
8
- * Refer to https://github.com/vueuse/vue-demi/issues/41
9
- */
10
- declare const V: typeof Vue
11
-
12
- export function set<T>(target: any, key: any, val: T): T
13
- export function del(target: any, key: any): void
14
-
15
- export * from 'vue'
16
- export {
17
- V as Vue,
18
- Vue2,
19
- isVue2,
20
- isVue3,
21
- install,
22
- }