@histoire/vendors 0.8.4 → 0.9.2
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.
- package/dist/client/b-floating-vue.d.ts +3 -0
- package/dist/client/{floating-vue.js → b-floating-vue.js} +13 -18
- package/dist/client/b-iconify.d.ts +1 -0
- package/dist/client/{iconify.js → b-iconify.js} +0 -0
- package/dist/client/b-pinia.d.ts +1 -0
- package/dist/client/{pinia.js → b-pinia.js} +41 -8
- package/dist/client/b-scroll.d.ts +2 -0
- package/dist/client/{scroll.js → b-scroll.js} +1 -1
- package/dist/client/b-vue-router.d.ts +1 -0
- package/dist/client/{vue-router.js → b-vue-router.js} +279 -158
- package/dist/client/b-vue-use.d.ts +1 -0
- package/dist/client/{vue-use.js → b-vue-use.js} +1070 -603
- package/dist/client/b-vue.d.ts +1 -0
- package/dist/client/{vue.js → b-vue.js} +1 -1
- package/dist/client/node_modules/@babel/parser/package.json +46 -0
- package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +214 -0
- package/dist/client/node_modules/@floating-ui/core/index.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/core/package.json +70 -0
- package/dist/client/node_modules/@floating-ui/core/src/_babel.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/core/src/computeCoordsFromPlacement.d.ts +4 -0
- package/dist/client/node_modules/@floating-ui/core/src/computePosition.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/detectOverflow.d.ts +9 -0
- package/dist/client/node_modules/@floating-ui/core/src/enums.d.ts +4 -0
- package/dist/client/node_modules/@floating-ui/core/src/index.d.ts +11 -0
- package/dist/client/node_modules/@floating-ui/core/src/middleware/arrow.d.ts +6 -0
- package/dist/client/node_modules/@floating-ui/core/src/middleware/autoPlacement.d.ts +9 -0
- package/dist/client/node_modules/@floating-ui/core/src/middleware/flip.d.ts +10 -0
- package/dist/client/node_modules/@floating-ui/core/src/middleware/hide.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/middleware/inline.d.ts +5 -0
- package/dist/client/node_modules/@floating-ui/core/src/middleware/offset.d.ts +21 -0
- package/dist/client/node_modules/@floating-ui/core/src/middleware/shift.d.ts +32 -0
- package/dist/client/node_modules/@floating-ui/core/src/middleware/size.d.ts +6 -0
- package/dist/client/node_modules/@floating-ui/core/src/types.d.ts +148 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/expandPaddingObject.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getAlignment.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getAlignmentSides.d.ts +5 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getBasePlacement.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getCrossAxis.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getExpandedPlacements.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getLengthFromAxis.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getMainAxisFromPlacement.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getOppositeAlignmentPlacement.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getOppositePlacement.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getPaddingObject.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/math.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/rectToClientRect.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/within.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/index.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/package.json +75 -0
- package/dist/client/node_modules/@floating-ui/dom/src/index.d.ts +7 -0
- package/dist/client/node_modules/@floating-ui/dom/src/platform.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/types.d.ts +27 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/contains.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/convertOffsetParentRelativeRectToViewportRelativeRect.d.ts +6 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getBoundingClientRect.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getClippingClientRect.d.ts +6 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getComputedStyle.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDimensions.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDocumentElement.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDocumentRect.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getNodeName.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getNodeScroll.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getOffsetParent.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getParentNode.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getRectRelativeToOffsetParent.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getScrollParent.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getScrollParents.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getViewportRect.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getWindowScrollBarX.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/is.d.ts +15 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/math.d.ts +3 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/window.d.ts +2 -0
- package/dist/client/node_modules/@iconify/vue/dist/iconify.d.ts +680 -0
- package/dist/client/node_modules/@iconify/vue/dist/offline.d.ts +347 -0
- package/dist/client/node_modules/@iconify/vue/offline/package.json +14 -0
- package/dist/client/node_modules/@iconify/vue/package.json +61 -0
- package/dist/client/node_modules/@types/web-bluetooth/index.d.ts +176 -0
- package/dist/client/node_modules/@types/web-bluetooth/package.json +40 -0
- package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +1198 -0
- package/dist/client/node_modules/@vue/compiler-core/package.json +43 -0
- package/dist/client/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +66 -0
- package/dist/client/node_modules/@vue/compiler-dom/package.json +43 -0
- package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +321 -0
- package/dist/client/node_modules/@vue/compiler-sfc/package.json +59 -0
- package/dist/client/node_modules/@vue/compiler-ssr/dist/compiler-ssr.d.ts +6 -0
- package/dist/client/node_modules/@vue/compiler-ssr/package.json +34 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/api.d.ts +108 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/app.d.ts +1 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/component.d.ts +77 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/context.d.ts +5 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/hooks.d.ts +179 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/index.d.ts +6 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/util.d.ts +4 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/const.d.ts +2 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/env.d.ts +15 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/index.d.ts +18 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/plugin.d.ts +47 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/proxy.d.ts +20 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/time.d.ts +2 -0
- package/dist/client/node_modules/@vue/devtools-api/package.json +37 -0
- package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +347 -0
- package/dist/client/node_modules/@vue/reactivity/package.json +41 -0
- package/dist/client/node_modules/@vue/reactivity-transform/dist/reactivity-transform.d.ts +33 -0
- package/dist/client/node_modules/@vue/reactivity-transform/package.json +41 -0
- package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +2018 -0
- package/dist/client/node_modules/@vue/runtime-core/package.json +38 -0
- package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +1522 -0
- package/dist/client/node_modules/@vue/runtime-dom/package.json +42 -0
- package/dist/client/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +100 -0
- package/dist/client/node_modules/@vue/server-renderer/package.json +41 -0
- package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +356 -0
- package/dist/client/node_modules/@vue/shared/package.json +33 -0
- package/dist/client/node_modules/@vueuse/core/index.d.ts +4305 -0
- package/dist/client/node_modules/@vueuse/core/metadata.d.ts +1 -0
- package/dist/client/node_modules/@vueuse/core/node_modules/@vueuse/shared/index.d.ts +874 -0
- package/dist/client/node_modules/@vueuse/core/node_modules/@vueuse/shared/package.json +50 -0
- package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/lib/index.d.ts +22 -0
- package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/lib/v2/index.d.ts +31 -0
- package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/lib/v2.7/index.d.ts +52 -0
- package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/lib/v3/index.d.ts +22 -0
- package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/package.json +47 -0
- package/dist/client/node_modules/@vueuse/core/package.json +59 -0
- package/dist/client/node_modules/@vueuse/metadata/index.d.ts +75 -0
- package/dist/client/node_modules/@vueuse/metadata/package.json +39 -0
- package/dist/client/node_modules/compute-scroll-into-view/package.json +90 -0
- package/dist/client/node_modules/compute-scroll-into-view/typings/index.d.ts +19 -0
- package/dist/client/node_modules/csstype/index.d.ts +38372 -0
- package/dist/client/node_modules/csstype/package.json +57 -0
- package/dist/client/node_modules/estree-walker/dist/esm/package.json +1 -0
- package/dist/client/node_modules/estree-walker/package.json +37 -0
- package/dist/client/node_modules/estree-walker/src/package.json +1 -0
- package/dist/client/node_modules/estree-walker/types/async.d.ts +53 -0
- package/dist/client/node_modules/estree-walker/types/index.d.ts +56 -0
- package/dist/client/node_modules/estree-walker/types/sync.d.ts +53 -0
- package/dist/client/node_modules/estree-walker/types/walker.d.ts +37 -0
- package/dist/client/node_modules/floating-vue/dist/components/Dropdown.vue.d.ts +25 -0
- package/dist/client/node_modules/floating-vue/dist/components/Menu.vue.d.ts +25 -0
- package/dist/client/node_modules/floating-vue/dist/components/Popper.d.ts +375 -0
- package/dist/client/node_modules/floating-vue/dist/components/Popper.vue.d.ts +367 -0
- package/dist/client/node_modules/floating-vue/dist/components/PopperContent.vue.d.ts +48 -0
- package/dist/client/node_modules/floating-vue/dist/components/PopperMethods.d.ts +9 -0
- package/dist/client/node_modules/floating-vue/dist/components/PopperWrapper.vue.d.ts +28 -0
- package/dist/client/node_modules/floating-vue/dist/components/ThemeClass.d.ts +6 -0
- package/dist/client/node_modules/floating-vue/dist/components/Tooltip.vue.d.ts +25 -0
- package/dist/client/node_modules/floating-vue/dist/components/TooltipDirective.vue.d.ts +28 -0
- package/dist/client/node_modules/floating-vue/dist/config.d.ts +11 -0
- package/dist/client/node_modules/floating-vue/dist/directives/v-close-popper.d.ts +13 -0
- package/dist/client/node_modules/floating-vue/dist/directives/v-tooltip.d.ts +27 -0
- package/dist/client/node_modules/floating-vue/dist/directives/v-tooltip.spec.d.ts +1 -0
- package/dist/client/node_modules/floating-vue/dist/index.d.ts +415 -0
- package/dist/client/node_modules/floating-vue/dist/util/assign-deep.d.ts +1 -0
- package/dist/client/node_modules/floating-vue/dist/util/env.d.ts +2 -0
- package/dist/client/node_modules/floating-vue/dist/util/events.d.ts +12 -0
- package/dist/client/node_modules/floating-vue/dist/util/frame.d.ts +1 -0
- package/dist/client/node_modules/floating-vue/dist/util/lang.d.ts +1 -0
- package/dist/client/node_modules/floating-vue/dist/util/popper.d.ts +3 -0
- package/dist/client/node_modules/floating-vue/package.json +71 -0
- package/dist/client/node_modules/floating-vue/src/global-shim.d.ts +1 -0
- package/dist/client/node_modules/floating-vue/src/vue-shim.d.ts +5 -0
- package/dist/client/node_modules/magic-string/index.d.ts +221 -0
- package/dist/client/node_modules/magic-string/package.json +52 -0
- package/dist/client/node_modules/nanoid/async/index.d.ts +56 -0
- package/dist/client/node_modules/nanoid/async/package.json +12 -0
- package/dist/client/node_modules/nanoid/index.d.ts +91 -0
- package/dist/client/node_modules/nanoid/non-secure/index.d.ts +33 -0
- package/dist/client/node_modules/nanoid/non-secure/package.json +6 -0
- package/dist/client/node_modules/nanoid/package.json +60 -0
- package/dist/client/node_modules/nanoid/url-alphabet/package.json +6 -0
- package/dist/client/node_modules/picocolors/package.json +25 -0
- package/dist/client/node_modules/picocolors/picocolors.d.ts +5 -0
- package/dist/client/node_modules/pinia/dist/pinia.d.ts +963 -0
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/index.d.ts +22 -0
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2/index.d.ts +31 -0
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2.7/index.d.ts +52 -0
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v3/index.d.ts +22 -0
- package/dist/client/node_modules/pinia/node_modules/vue-demi/package.json +47 -0
- package/dist/client/node_modules/pinia/package.json +101 -0
- package/dist/client/node_modules/postcss/lib/at-rule.d.ts +106 -0
- package/dist/client/node_modules/postcss/lib/comment.d.ts +56 -0
- package/dist/client/node_modules/postcss/lib/container.d.ts +442 -0
- package/dist/client/node_modules/postcss/lib/css-syntax-error.d.ts +239 -0
- package/dist/client/node_modules/postcss/lib/declaration.d.ts +124 -0
- package/dist/client/node_modules/postcss/lib/document.d.ts +57 -0
- package/dist/client/node_modules/postcss/lib/fromJSON.d.ts +5 -0
- package/dist/client/node_modules/postcss/lib/input.d.ts +150 -0
- package/dist/client/node_modules/postcss/lib/lazy-result.d.ts +176 -0
- package/dist/client/node_modules/postcss/lib/list.d.ts +51 -0
- package/dist/client/node_modules/postcss/lib/no-work-result.d.ts +37 -0
- package/dist/client/node_modules/postcss/lib/node.d.ts +478 -0
- package/dist/client/node_modules/postcss/lib/parse.d.ts +5 -0
- package/dist/client/node_modules/postcss/lib/postcss.d.ts +473 -0
- package/dist/client/node_modules/postcss/lib/previous-map.d.ts +72 -0
- package/dist/client/node_modules/postcss/lib/processor.d.ts +102 -0
- package/dist/client/node_modules/postcss/lib/result.d.ts +196 -0
- package/dist/client/node_modules/postcss/lib/root.d.ts +73 -0
- package/dist/client/node_modules/postcss/lib/rule.d.ts +104 -0
- package/dist/client/node_modules/postcss/lib/stringifier.d.ts +37 -0
- package/dist/client/node_modules/postcss/lib/stringify.d.ts +5 -0
- package/dist/client/node_modules/postcss/lib/warning.d.ts +138 -0
- package/dist/client/node_modules/postcss/package.json +85 -0
- package/dist/client/node_modules/scroll-into-view-if-needed/package.json +144 -0
- package/dist/client/node_modules/scroll-into-view-if-needed/typings/index.d.ts +13 -0
- package/dist/client/node_modules/scroll-into-view-if-needed/typings/types.d.ts +19 -0
- package/dist/client/node_modules/source-map/package.json +73 -0
- package/dist/client/node_modules/source-map/source-map.d.ts +98 -0
- package/dist/client/node_modules/source-map-js/package.json +71 -0
- package/dist/client/node_modules/source-map-js/source-map.d.ts +115 -0
- package/dist/client/node_modules/sourcemap-codec/dist/types/sourcemap-codec.d.ts +5 -0
- package/dist/client/node_modules/sourcemap-codec/package.json +53 -0
- package/dist/client/node_modules/vue/compiler-sfc/index.d.ts +1 -0
- package/dist/client/node_modules/vue/compiler-sfc/package.json +5 -0
- package/dist/client/node_modules/vue/dist/vue.d.ts +9 -0
- package/dist/client/node_modules/vue/macros-global.d.ts +19 -0
- package/dist/client/node_modules/vue/macros.d.ts +110 -0
- package/dist/client/node_modules/vue/package.json +75 -0
- package/dist/client/node_modules/vue/ref-macros.d.ts +2 -0
- package/dist/client/node_modules/vue/server-renderer/index.d.ts +1 -0
- package/dist/client/node_modules/vue/server-renderer/package.json +5 -0
- package/dist/client/node_modules/vue-resize/package.json +77 -0
- package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +1491 -0
- package/dist/client/node_modules/vue-router/package.json +114 -0
- package/dist/client/vue.runtime.esm-bundler.js +24 -19
- package/entries.js +7 -7
- package/floating-vue.d.ts +3 -0
- package/iconify.d.ts +3 -0
- package/package.json +14 -5
- package/pinia.d.ts +3 -0
- package/rollup.config.mjs +117 -0
- package/scroll.d.ts +3 -0
- package/src/client/b-floating-vue.ts +3 -0
- package/src/client/b-iconify.ts +1 -0
- package/src/client/b-pinia.ts +1 -0
- package/src/client/b-scroll.ts +2 -0
- package/src/client/b-vue-router.ts +1 -0
- package/src/client/b-vue-use.ts +1 -0
- package/src/client/b-vue.ts +1 -0
- package/vue-router.d.ts +3 -0
- package/vue-use.d.ts +3 -0
- package/vue.d.ts +3 -0
- package/dist/client/floating-vue.d.ts +0 -2
- package/dist/client/iconify.d.ts +0 -1
- package/dist/client/pinia.d.ts +0 -1
- package/dist/client/scroll.d.ts +0 -1
- package/dist/client/vue-router.d.ts +0 -1
- package/dist/client/vue-use.d.ts +0 -1
- package/dist/client/vue.d.ts +0 -1
- package/rollup.config.js +0 -37
- package/src/client/floating-vue.ts +0 -2
- package/src/client/iconify.ts +0 -1
- package/src/client/pinia.ts +0 -1
- package/src/client/scroll.ts +0 -1
- package/src/client/vue-router.ts +0 -1
- package/src/client/vue-use.ts +0 -1
- package/src/client/vue.ts +0 -1
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vueuse/shared",
|
|
3
|
+
"version": "8.9.4",
|
|
4
|
+
"author": "Anthony Fu <https://github.com/antfu>",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"funding": "https://github.com/sponsors/antfu",
|
|
7
|
+
"homepage": "https://github.com/vueuse/vueuse/tree/main/packages/shared#readme",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/vueuse/vueuse.git",
|
|
11
|
+
"directory": "packages/shared"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/vueuse/vueuse/issues"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"vue",
|
|
18
|
+
"vue-use",
|
|
19
|
+
"utils"
|
|
20
|
+
],
|
|
21
|
+
"sideEffects": false,
|
|
22
|
+
"exports": {
|
|
23
|
+
".": {
|
|
24
|
+
"types": "./index.d.ts",
|
|
25
|
+
"require": "./index.cjs",
|
|
26
|
+
"import": "./index.mjs"
|
|
27
|
+
},
|
|
28
|
+
"./*": "./*"
|
|
29
|
+
},
|
|
30
|
+
"main": "./index.cjs",
|
|
31
|
+
"module": "./index.mjs",
|
|
32
|
+
"unpkg": "./index.iife.min.js",
|
|
33
|
+
"jsdelivr": "./index.iife.min.js",
|
|
34
|
+
"types": "./index.d.ts",
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"@vue/composition-api": "^1.1.0",
|
|
37
|
+
"vue": "^2.6.0 || ^3.2.0"
|
|
38
|
+
},
|
|
39
|
+
"peerDependenciesMeta": {
|
|
40
|
+
"vue": {
|
|
41
|
+
"optional": true
|
|
42
|
+
},
|
|
43
|
+
"@vue/composition-api": {
|
|
44
|
+
"optional": true
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"vue-demi": "*"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -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,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vueuse/core",
|
|
3
|
+
"version": "8.9.4",
|
|
4
|
+
"description": "Collection of essential Vue Composition Utilities",
|
|
5
|
+
"author": "Anthony Fu <https://github.com/antfu>",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"funding": "https://github.com/sponsors/antfu",
|
|
8
|
+
"homepage": "https://github.com/vueuse/vueuse#readme",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/vueuse/vueuse.git",
|
|
12
|
+
"directory": "packages/core"
|
|
13
|
+
},
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/vueuse/vueuse/issues"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"vue",
|
|
19
|
+
"vue-use",
|
|
20
|
+
"utils"
|
|
21
|
+
],
|
|
22
|
+
"sideEffects": false,
|
|
23
|
+
"exports": {
|
|
24
|
+
".": {
|
|
25
|
+
"types": "./index.d.ts",
|
|
26
|
+
"require": "./index.cjs",
|
|
27
|
+
"import": "./index.mjs"
|
|
28
|
+
},
|
|
29
|
+
"./*": "./*",
|
|
30
|
+
"./metadata": {
|
|
31
|
+
"types": "./metadata.d.ts",
|
|
32
|
+
"require": "./metadata.cjs",
|
|
33
|
+
"import": "./metadata.mjs"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"main": "./index.cjs",
|
|
37
|
+
"module": "./index.mjs",
|
|
38
|
+
"unpkg": "./index.iife.min.js",
|
|
39
|
+
"jsdelivr": "./index.iife.min.js",
|
|
40
|
+
"types": "./index.d.ts",
|
|
41
|
+
"peerDependencies": {
|
|
42
|
+
"@vue/composition-api": "^1.1.0",
|
|
43
|
+
"vue": "^2.6.0 || ^3.2.0"
|
|
44
|
+
},
|
|
45
|
+
"peerDependenciesMeta": {
|
|
46
|
+
"vue": {
|
|
47
|
+
"optional": true
|
|
48
|
+
},
|
|
49
|
+
"@vue/composition-api": {
|
|
50
|
+
"optional": true
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"@types/web-bluetooth": "^0.0.14",
|
|
55
|
+
"@vueuse/metadata": "8.9.4",
|
|
56
|
+
"@vueuse/shared": "8.9.4",
|
|
57
|
+
"vue-demi": "*"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
interface PackageManifest {
|
|
2
|
+
name: string;
|
|
3
|
+
display: string;
|
|
4
|
+
addon?: boolean;
|
|
5
|
+
author?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
external?: string[];
|
|
8
|
+
globals?: Record<string, string>;
|
|
9
|
+
manualImport?: boolean;
|
|
10
|
+
deprecated?: boolean;
|
|
11
|
+
submodules?: boolean;
|
|
12
|
+
build?: boolean;
|
|
13
|
+
iife?: boolean;
|
|
14
|
+
cjs?: boolean;
|
|
15
|
+
mjs?: boolean;
|
|
16
|
+
dts?: boolean;
|
|
17
|
+
target?: string;
|
|
18
|
+
utils?: boolean;
|
|
19
|
+
copy?: string[];
|
|
20
|
+
}
|
|
21
|
+
interface VueUseFunction {
|
|
22
|
+
name: string;
|
|
23
|
+
package: string;
|
|
24
|
+
lastUpdated?: number;
|
|
25
|
+
category?: string;
|
|
26
|
+
description?: string;
|
|
27
|
+
docs?: string;
|
|
28
|
+
deprecated?: boolean;
|
|
29
|
+
internal?: boolean;
|
|
30
|
+
component?: boolean;
|
|
31
|
+
directive?: boolean;
|
|
32
|
+
external?: string;
|
|
33
|
+
alias?: string[];
|
|
34
|
+
related?: string[];
|
|
35
|
+
}
|
|
36
|
+
interface VueUsePackage extends PackageManifest {
|
|
37
|
+
dir: string;
|
|
38
|
+
docs?: string;
|
|
39
|
+
}
|
|
40
|
+
interface PackageIndexes {
|
|
41
|
+
packages: Record<string, VueUsePackage>;
|
|
42
|
+
categories: string[];
|
|
43
|
+
functions: VueUseFunction[];
|
|
44
|
+
}
|
|
45
|
+
interface CommitInfo {
|
|
46
|
+
functions: string[];
|
|
47
|
+
version?: string;
|
|
48
|
+
hash: string;
|
|
49
|
+
date: string;
|
|
50
|
+
message: string;
|
|
51
|
+
refs?: string;
|
|
52
|
+
body?: string;
|
|
53
|
+
author_name: string;
|
|
54
|
+
author_email: string;
|
|
55
|
+
}
|
|
56
|
+
interface ContributorInfo {
|
|
57
|
+
name: string;
|
|
58
|
+
count: number;
|
|
59
|
+
hash: string;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
declare const metadata: PackageIndexes;
|
|
63
|
+
declare const functions: VueUseFunction[];
|
|
64
|
+
declare const packages: Record<string, VueUsePackage>;
|
|
65
|
+
declare const categories: string[];
|
|
66
|
+
declare const functionNames: string[];
|
|
67
|
+
declare const categoryNames: string[];
|
|
68
|
+
declare const coreCategoryNames: string[];
|
|
69
|
+
declare const addonCategoryNames: string[];
|
|
70
|
+
declare const getFunction: (name: string) => VueUseFunction | undefined;
|
|
71
|
+
|
|
72
|
+
declare function getCategories(functions: VueUseFunction[]): string[];
|
|
73
|
+
declare function uniq<T extends any[]>(a: T): any[];
|
|
74
|
+
|
|
75
|
+
export { CommitInfo, ContributorInfo, PackageIndexes, PackageManifest, VueUseFunction, VueUsePackage, addonCategoryNames, categories, categoryNames, coreCategoryNames, functionNames, functions, getCategories, getFunction, metadata, packages, uniq };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vueuse/metadata",
|
|
3
|
+
"version": "8.9.4",
|
|
4
|
+
"description": "Metadata for VueUse functions",
|
|
5
|
+
"author": "Anthony Fu <https://github.com/antfu>",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"funding": "https://github.com/sponsors/antfu",
|
|
8
|
+
"homepage": "https://github.com/vueuse/vueuse/tree/main/packages/metadata#readme",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/vueuse/vueuse.git",
|
|
12
|
+
"directory": "packages/metadata"
|
|
13
|
+
},
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/vueuse/vueuse/issues"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"vue",
|
|
19
|
+
"vue-use"
|
|
20
|
+
],
|
|
21
|
+
"sideEffects": false,
|
|
22
|
+
"exports": {
|
|
23
|
+
".": {
|
|
24
|
+
"types": "./index.d.ts",
|
|
25
|
+
"require": "./index.cjs",
|
|
26
|
+
"import": "./index.mjs"
|
|
27
|
+
},
|
|
28
|
+
"./*": "./*"
|
|
29
|
+
},
|
|
30
|
+
"main": "./index.cjs",
|
|
31
|
+
"module": "./index.mjs",
|
|
32
|
+
"types": "./index.d.ts",
|
|
33
|
+
"files": [
|
|
34
|
+
"index.*"
|
|
35
|
+
],
|
|
36
|
+
"scripts": {
|
|
37
|
+
"update": "esno scripts/update.ts"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "compute-scroll-into-view",
|
|
3
|
+
"description": "The engine that powers scroll-into-view-if-needed",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"author": "Cody Olsen",
|
|
6
|
+
"homepage": "https://scroll-into-view-if-needed.netlify.com",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/stipsan/compute-scroll-into-view.git"
|
|
10
|
+
},
|
|
11
|
+
"version": "1.0.17",
|
|
12
|
+
"main": "dist/index.js",
|
|
13
|
+
"module": "dist/index.module.js",
|
|
14
|
+
"files": [
|
|
15
|
+
"dist",
|
|
16
|
+
"typings",
|
|
17
|
+
"umd/compute-scroll-into-view.min.js",
|
|
18
|
+
"umd/compute-scroll-into-view.min.js.map"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"prebuild": "rimraf 'dist' 'umd'",
|
|
22
|
+
"build": "npm run build:dist && npm run build:umd",
|
|
23
|
+
"build:dist": "microbundle -f cjs,es",
|
|
24
|
+
"build:umd": "microbundle -f umd -o umd",
|
|
25
|
+
"dev": "concurrently 'npm run typecheck -- --watch' 'npm run build:dist -- --watch' 'npm run build:umd -- --watch'",
|
|
26
|
+
"prepublishOnly": "unset npm_config_cafile && npm run build",
|
|
27
|
+
"test": "jest -c integration/jest.config.js",
|
|
28
|
+
"typecheck": "tsc --noEmit"
|
|
29
|
+
},
|
|
30
|
+
"sideEffects": false,
|
|
31
|
+
"typings": "typings/index.d.ts",
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"concurrently": "5.3.0",
|
|
34
|
+
"husky": "5.1.0",
|
|
35
|
+
"jest": "26.6.3",
|
|
36
|
+
"jest-junit": "12.0.0",
|
|
37
|
+
"jest-puppeteer": "4.4.0",
|
|
38
|
+
"lint-staged": "10.5.4",
|
|
39
|
+
"microbundle": "^0.13.0",
|
|
40
|
+
"prettier": "2.2.1",
|
|
41
|
+
"prettier-package-json": "2.1.3",
|
|
42
|
+
"puppeteer": "5.5.0",
|
|
43
|
+
"rimraf": "3.0.2",
|
|
44
|
+
"serve": "11.3.2",
|
|
45
|
+
"typescript": "4.1.5"
|
|
46
|
+
},
|
|
47
|
+
"keywords": [
|
|
48
|
+
"if-needed",
|
|
49
|
+
"scroll",
|
|
50
|
+
"scroll-into-view",
|
|
51
|
+
"scroll-into-view-if-needed",
|
|
52
|
+
"scrollIntoView",
|
|
53
|
+
"scrollIntoViewIfNeeded",
|
|
54
|
+
"scrollMode",
|
|
55
|
+
"typescript"
|
|
56
|
+
],
|
|
57
|
+
"browserify": {
|
|
58
|
+
"transform": [
|
|
59
|
+
"loose-envify"
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
"bundlesize": [
|
|
63
|
+
{
|
|
64
|
+
"path": "./umd/compute-scroll-into-view.min.js",
|
|
65
|
+
"maxSize": "3 kB",
|
|
66
|
+
"compression": "none"
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"husky": {
|
|
70
|
+
"hooks": {
|
|
71
|
+
"pre-commit": "lint-staged"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"lint-staged": {
|
|
75
|
+
"*.{js,ts,tsx,json,md}": "prettier --write",
|
|
76
|
+
"**/package.json": "prettier-package-json --write"
|
|
77
|
+
},
|
|
78
|
+
"prettier": {
|
|
79
|
+
"semi": false,
|
|
80
|
+
"singleQuote": true,
|
|
81
|
+
"trailingComma": "es5"
|
|
82
|
+
},
|
|
83
|
+
"release": {
|
|
84
|
+
"prepare": [
|
|
85
|
+
"@semantic-release/npm"
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
"source": "src/index.ts",
|
|
89
|
+
"umd:main": "umd/compute-scroll-into-view.min.js"
|
|
90
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare type ScrollLogicalPosition = 'start' | 'center' | 'end' | 'nearest';
|
|
2
|
+
declare type ScrollMode = 'always' | 'if-needed';
|
|
3
|
+
declare type SkipOverflowHiddenElements = boolean;
|
|
4
|
+
interface Options {
|
|
5
|
+
block?: ScrollLogicalPosition;
|
|
6
|
+
inline?: ScrollLogicalPosition;
|
|
7
|
+
scrollMode?: ScrollMode;
|
|
8
|
+
boundary?: CustomScrollBoundary;
|
|
9
|
+
skipOverflowHiddenElements?: SkipOverflowHiddenElements;
|
|
10
|
+
}
|
|
11
|
+
declare type CustomScrollBoundaryCallback = (parent: Element) => boolean;
|
|
12
|
+
declare 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;
|