@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.
- 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,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
|
+
}
|