@histoire/vendors 0.8.3 → 0.9.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 (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} +13 -18
  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 +46 -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 +375 -0
  139. package/dist/client/node_modules/floating-vue/dist/components/Popper.vue.d.ts +367 -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 +415 -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 +14 -5
  227. package/pinia.d.ts +3 -0
  228. package/rollup.config.mjs +117 -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,22 @@
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
+ }
@@ -0,0 +1,31 @@
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
+ }
@@ -0,0 +1,52 @@
1
+ import Vue from 'vue'
2
+ import type { PluginFunction, PluginObject, VueConstructor, VNode, VNodeDirective } 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
+ /**
10
+ * @deprecated To avoid bringing in all the tree-shakable modules, this API has been deprecated. Use `Vue2` or named exports instead.
11
+ * Refer to https://github.com/vueuse/vue-demi/issues/41
12
+ */
13
+ declare const V: typeof Vue
14
+
15
+ // accept no generic because Vue 3 doesn't accept any
16
+ // https://github.com/vuejs/vue-next/pull/2758/
17
+ export declare type Plugin = PluginObject<any> | PluginFunction<any>
18
+ export type { VNode } from 'vue'
19
+ export * from 'vue'
20
+ export { V as Vue, Vue2, isVue2, isVue3, version, install }
21
+
22
+ // #region createApp polyfill
23
+ export type DirectiveModifiers = Record<string, boolean>
24
+ export interface DirectiveBinding<V> extends Readonly<VNodeDirective> {
25
+ readonly modifiers: DirectiveModifiers
26
+ readonly value: V
27
+ readonly oldValue: V | null
28
+ }
29
+ export type DirectiveHook<T = any, Prev = VNode | null, V = any> = (el: T, binding: DirectiveBinding<V>, vnode: VNode, prevVNode: Prev) => void
30
+ export interface ObjectDirective<T = any, V = any> {
31
+ bind?: DirectiveHook<T, any, V>
32
+ inserted?: DirectiveHook<T, any, V>
33
+ update?: DirectiveHook<T, any, V>
34
+ componentUpdated?: DirectiveHook<T, any, V>
35
+ unbind?: DirectiveHook<T, any, V>
36
+ }
37
+ export type FunctionDirective<T = any, V = any> = DirectiveHook<T, any, V>
38
+ export type Directive<T = any, V = any> = ObjectDirective<T, V> | FunctionDirective<T, V>
39
+ export interface InjectionKey<T> extends Symbol {}
40
+ export interface App<T = any> {
41
+ config: VueConstructor['config']
42
+ use: VueConstructor['use']
43
+ mixin: VueConstructor['mixin']
44
+ component: VueConstructor['component']
45
+ directive(name: string): Directive | undefined
46
+ directive(name: string, directive: Directive): this
47
+ provide<T>(key: InjectionKey<T> | symbol | string, value: T): this
48
+ mount: Vue['$mount']
49
+ unmount: Vue['$destroy']
50
+ }
51
+ export declare function createApp(rootComponent: any, rootProps?: any): App
52
+ // #endregion
@@ -0,0 +1,22 @@
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
+ }
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "vue-demi",
3
+ "version": "0.13.6",
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
+ "require": "./lib/index.cjs",
19
+ "import": "./lib/index.mjs",
20
+ "browser": "./lib/index.mjs",
21
+ "types": "./lib/index.d.ts"
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 ./scripts/postinstall.js",
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
+ }
@@ -0,0 +1,101 @@
1
+ {
2
+ "name": "pinia",
3
+ "version": "2.0.17",
4
+ "description": "Intuitive, type safe and flexible Store for Vue",
5
+ "main": "index.js",
6
+ "module": "dist/pinia.mjs",
7
+ "unpkg": "dist/pinia.iife.js",
8
+ "jsdelivr": "dist/pinia.iife.js",
9
+ "types": "dist/pinia.d.ts",
10
+ "exports": {
11
+ ".": {
12
+ "browser": "./dist/pinia.esm-browser.js",
13
+ "node": {
14
+ "import": {
15
+ "production": "./dist/pinia.prod.cjs",
16
+ "development": "./dist/pinia.mjs",
17
+ "default": "./dist/pinia.mjs"
18
+ },
19
+ "require": {
20
+ "production": "./dist/pinia.prod.cjs",
21
+ "development": "./dist/pinia.cjs",
22
+ "default": "./index.js"
23
+ }
24
+ },
25
+ "import": "./dist/pinia.mjs",
26
+ "require": "./index.js",
27
+ "types": "./dist/pinia.d.ts"
28
+ },
29
+ "./package.json": "./package.json",
30
+ "./dist/*": "./dist/*"
31
+ },
32
+ "sideEffects": false,
33
+ "author": {
34
+ "name": "Eduardo San Martin Morote",
35
+ "email": "posva13@gmail.com"
36
+ },
37
+ "funding": "https://github.com/sponsors/posva",
38
+ "files": [
39
+ "dist/*.js",
40
+ "dist/*.mjs",
41
+ "dist/*.cjs",
42
+ "dist/pinia.d.ts",
43
+ "index.js",
44
+ "index.cjs",
45
+ "LICENSE",
46
+ "README.md"
47
+ ],
48
+ "keywords": [
49
+ "vue",
50
+ "vuex",
51
+ "store",
52
+ "pinia",
53
+ "piña",
54
+ "pigna",
55
+ "composition",
56
+ "api",
57
+ "setup",
58
+ "typed",
59
+ "typescript",
60
+ "ts",
61
+ "type",
62
+ "safe"
63
+ ],
64
+ "license": "MIT",
65
+ "devDependencies": {
66
+ "@microsoft/api-extractor": "7.28.6",
67
+ "@vue/test-utils": "^2.0.2"
68
+ },
69
+ "dependencies": {
70
+ "@vue/devtools-api": "^6.2.1",
71
+ "vue-demi": "*"
72
+ },
73
+ "peerDependencies": {
74
+ "@vue/composition-api": "^1.4.0",
75
+ "typescript": ">=4.4.4",
76
+ "vue": "^2.6.14 || ^3.2.0"
77
+ },
78
+ "peerDependenciesMeta": {
79
+ "typescript": {
80
+ "optional": true
81
+ },
82
+ "@vue/composition-api": {
83
+ "optional": true
84
+ }
85
+ },
86
+ "repository": {
87
+ "type": "git",
88
+ "url": "git+https://github.com/vuejs/pinia.git"
89
+ },
90
+ "bugs": {
91
+ "url": "https://github.com/vuejs/pinia/issues"
92
+ },
93
+ "homepage": "https://github.com/vuejs/pinia#readme",
94
+ "scripts": {
95
+ "build": "rimraf dist && rollup -c ../../rollup.config.js --environment TARGET:pinia",
96
+ "build:dts": "api-extractor run --local --verbose && tail -n +3 ./src/globalExtensions.ts >> dist/pinia.d.ts",
97
+ "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s --commit-path . -l pinia -r 1",
98
+ "test:dts": "tsc -p ./test-dts/tsconfig.json",
99
+ "test": "yarn run build && yarn run build:dts && yarn test:dts"
100
+ }
101
+ }
@@ -0,0 +1,106 @@
1
+ import Container, { ContainerProps } from './container.js'
2
+
3
+ interface AtRuleRaws extends Record<string, unknown> {
4
+ /**
5
+ * The space symbols before the node. It also stores `*`
6
+ * and `_` symbols before the declaration (IE hack).
7
+ */
8
+ before?: string
9
+
10
+ /**
11
+ * The space symbols after the last child of the node to the end of the node.
12
+ */
13
+ after?: string
14
+
15
+ /**
16
+ * The space between the at-rule name and its parameters.
17
+ */
18
+ afterName?: string
19
+
20
+ /**
21
+ * The symbols between the last parameter and `{` for rules.
22
+ */
23
+ between?: string
24
+
25
+ /**
26
+ * Contains `true` if the last child has an (optional) semicolon.
27
+ */
28
+ semicolon?: boolean
29
+
30
+ /**
31
+ * The rule’s selector with comments.
32
+ */
33
+ params?: {
34
+ value: string
35
+ raw: string
36
+ }
37
+ }
38
+
39
+ export interface AtRuleProps extends ContainerProps {
40
+ /** Name of the at-rule. */
41
+ name: string
42
+ /** Parameters following the name of the at-rule. */
43
+ params?: string | number
44
+ /** Information used to generate byte-to-byte equal node string as it was in the origin input. */
45
+ raws?: AtRuleRaws
46
+ }
47
+
48
+ /**
49
+ * Represents an at-rule.
50
+ *
51
+ * ```js
52
+ * Once (root, { AtRule }) {
53
+ * let media = new AtRule({ name: 'media', params: 'print' })
54
+ * media.append(…)
55
+ * root.append(media)
56
+ * }
57
+ * ```
58
+ *
59
+ * If it’s followed in the CSS by a {} block, this node will have
60
+ * a nodes property representing its children.
61
+ *
62
+ * ```js
63
+ * const root = postcss.parse('@charset "UTF-8"; @media print {}')
64
+ *
65
+ * const charset = root.first
66
+ * charset.type //=> 'atrule'
67
+ * charset.nodes //=> undefined
68
+ *
69
+ * const media = root.last
70
+ * media.nodes //=> []
71
+ * ```
72
+ */
73
+ export default class AtRule extends Container {
74
+ type: 'atrule'
75
+ parent: Container | undefined
76
+ raws: AtRuleRaws
77
+
78
+ /**
79
+ * The at-rule’s name immediately follows the `@`.
80
+ *
81
+ * ```js
82
+ * const root = postcss.parse('@media print {}')
83
+ * media.name //=> 'media'
84
+ * const media = root.first
85
+ * ```
86
+ */
87
+ name: string
88
+
89
+ /**
90
+ * The at-rule’s parameters, the values that follow the at-rule’s name
91
+ * but precede any {} block.
92
+ *
93
+ * ```js
94
+ * const root = postcss.parse('@media print, screen {}')
95
+ * const media = root.first
96
+ * media.params //=> 'print, screen'
97
+ * ```
98
+ */
99
+ params: string
100
+
101
+ constructor(defaults?: AtRuleProps)
102
+ assign(overrides: object | AtRuleProps): this
103
+ clone(overrides?: Partial<AtRuleProps>): this
104
+ cloneBefore(overrides?: Partial<AtRuleProps>): this
105
+ cloneAfter(overrides?: Partial<AtRuleProps>): this
106
+ }
@@ -0,0 +1,56 @@
1
+ import Container from './container.js'
2
+ import Node, { NodeProps } from './node.js'
3
+
4
+ interface CommentRaws extends Record<string, unknown> {
5
+ /**
6
+ * The space symbols before the node.
7
+ */
8
+ before?: string
9
+
10
+ /**
11
+ * The space symbols between `/*` and the comment’s text.
12
+ */
13
+ left?: string
14
+
15
+ /**
16
+ * The space symbols between the comment’s text.
17
+ */
18
+ right?: string
19
+ }
20
+
21
+ export interface CommentProps extends NodeProps {
22
+ /** Content of the comment. */
23
+ text: string
24
+ /** Information used to generate byte-to-byte equal node string as it was in the origin input. */
25
+ raws?: CommentRaws
26
+ }
27
+
28
+ /**
29
+ * Represents a comment between declarations or statements (rule and at-rules).
30
+ *
31
+ * ```js
32
+ * Once (root, { Comment }) {
33
+ * let note = new Comment({ text: 'Note: …' })
34
+ * root.append(note)
35
+ * }
36
+ * ```
37
+ *
38
+ * Comments inside selectors, at-rule parameters, or declaration values
39
+ * will be stored in the `raws` properties explained above.
40
+ */
41
+ export default class Comment extends Node {
42
+ type: 'comment'
43
+ parent: Container | undefined
44
+ raws: CommentRaws
45
+
46
+ /**
47
+ * The comment's text.
48
+ */
49
+ text: string
50
+
51
+ constructor(defaults?: CommentProps)
52
+ assign(overrides: object | CommentProps): this
53
+ clone(overrides?: Partial<CommentProps>): this
54
+ cloneBefore(overrides?: Partial<CommentProps>): this
55
+ cloneAfter(overrides?: Partial<CommentProps>): this
56
+ }