@histoire/vendors 0.17.16 → 1.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/b-floating-vue.d.ts +3 -3
- package/dist/client/b-floating-vue.js +2176 -2149
- package/dist/client/b-iconify.d.ts +1 -1
- package/dist/client/b-iconify.js +751 -825
- package/dist/client/b-pinia.d.ts +1 -1
- package/dist/client/b-pinia.js +130 -68
- package/dist/client/b-scroll.d.ts +2 -2
- package/dist/client/b-scroll.js +5 -52
- package/dist/client/b-vue-router.d.ts +1 -1
- package/dist/client/b-vue-router.js +385 -237
- package/dist/client/b-vue-use.d.ts +1 -1
- package/dist/client/b-vue-use.js +3898 -2871
- package/dist/client/b-vue.d.ts +1 -1
- package/dist/client/b-vue.js +1 -1
- package/dist/client/index.js +162 -20
- package/dist/client/node_modules/@babel/helper-string-parser/package.json +31 -0
- package/dist/client/node_modules/@babel/helper-validator-identifier/package.json +31 -0
- package/dist/client/node_modules/@babel/parser/package.json +10 -6
- package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +47 -31
- package/dist/client/node_modules/@babel/types/lib/index-legacy.d.ts +2776 -0
- package/dist/client/node_modules/@babel/types/lib/index.d.ts +3275 -0
- package/dist/client/node_modules/@babel/types/package.json +39 -0
- package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.ts +525 -0
- package/dist/client/node_modules/@floating-ui/core/package.json +32 -39
- package/dist/client/node_modules/@floating-ui/dom/package.json +23 -24
- package/dist/client/node_modules/@floating-ui/dom/src/autoUpdate.d.ts +31 -0
- package/dist/client/node_modules/@floating-ui/dom/src/index.d.ts +11 -7
- package/dist/client/node_modules/@floating-ui/dom/src/platform.d.ts +1 -1
- package/dist/client/node_modules/@floating-ui/dom/src/types.d.ts +121 -20
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getBoundingClientRect.d.ts +1 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getClippingRect.d.ts +12 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getCssDimensions.d.ts +4 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDimensions.d.ts +1 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getNearestOverflowAncestor.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getOverflowAncestors.d.ts +3 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getScale.d.ts +7 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getViewportRect.d.ts +2 -2
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getWindowScrollBarX.d.ts +1 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/is.d.ts +3 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/unwrapElement.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/userAgent.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/window.d.ts +1 -2
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.ts +103 -0
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.ts +47 -0
- package/dist/client/node_modules/@floating-ui/utils/dom/floating-ui.utils.dom.d.ts +47 -0
- package/dist/client/node_modules/@floating-ui/utils/dom/package.json +6 -0
- package/dist/client/node_modules/@floating-ui/utils/package.json +70 -0
- package/dist/client/node_modules/@iconify/types/package.json +23 -0
- package/dist/client/node_modules/@iconify/types/provider.d.ts +44 -0
- package/dist/client/node_modules/@iconify/types/types.d.ts +272 -0
- package/dist/client/node_modules/@iconify/vue/dist/iconify.d.ts +72 -330
- package/dist/client/node_modules/@iconify/vue/dist/offline.d.ts +28 -268
- package/dist/client/node_modules/@iconify/vue/package.json +64 -60
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/scopes.d.ts +49 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/sourcemap-codec.d.ts +2 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/strings.d.ts +15 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/vlq.d.ts +6 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/package.json +3 -2
- package/dist/client/node_modules/@types/web-bluetooth/index.d.ts +33 -14
- package/dist/client/node_modules/@types/web-bluetooth/package.json +12 -12
- package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +218 -125
- package/dist/client/node_modules/@vue/compiler-core/package.json +20 -5
- package/dist/client/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +6 -3
- package/dist/client/node_modules/@vue/compiler-dom/package.json +17 -3
- package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +35 -25
- package/dist/client/node_modules/@vue/compiler-sfc/package.json +27 -18
- package/dist/client/node_modules/@vue/compiler-ssr/dist/compiler-ssr.d.ts +2 -2
- package/dist/client/node_modules/@vue/compiler-ssr/package.json +3 -3
- package/dist/client/node_modules/@vue/devtools-api/package.json +1 -1
- package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +268 -166
- package/dist/client/node_modules/@vue/reactivity/package.json +16 -2
- package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +728 -529
- package/dist/client/node_modules/@vue/runtime-core/package.json +17 -3
- package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +195 -86
- package/dist/client/node_modules/@vue/runtime-dom/package.json +22 -4
- package/dist/client/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +4 -8
- package/dist/client/node_modules/@vue/server-renderer/package.json +18 -4
- package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +45 -30
- package/dist/client/node_modules/@vue/shared/package.json +15 -1
- package/dist/client/node_modules/@vueuse/core/index.d.ts +2040 -633
- package/dist/client/node_modules/@vueuse/core/package.json +10 -12
- package/dist/client/node_modules/@vueuse/metadata/index.d.ts +7 -5
- package/dist/client/node_modules/@vueuse/metadata/package.json +4 -4
- package/dist/client/node_modules/@vueuse/shared/index.d.ts +410 -273
- package/dist/client/node_modules/@vueuse/shared/package.json +5 -6
- package/dist/client/node_modules/compute-scroll-into-view/dist/index.d.ts +75 -0
- package/dist/client/node_modules/compute-scroll-into-view/package.json +35 -45
- package/dist/client/node_modules/entities/lib/decode.d.ts +211 -0
- package/dist/client/node_modules/entities/lib/decode_codepoint.d.ts +19 -0
- package/dist/client/node_modules/entities/lib/encode.d.ts +22 -0
- package/dist/client/node_modules/entities/lib/escape.d.ts +43 -0
- package/dist/client/node_modules/entities/lib/esm/decode.d.ts +211 -0
- package/dist/client/node_modules/entities/lib/esm/decode_codepoint.d.ts +19 -0
- package/dist/client/node_modules/entities/lib/esm/encode.d.ts +22 -0
- package/dist/client/node_modules/entities/lib/esm/escape.d.ts +43 -0
- package/dist/client/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +3 -0
- package/dist/client/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +3 -0
- package/dist/client/node_modules/entities/lib/esm/generated/encode-html.d.ts +8 -0
- package/dist/client/node_modules/entities/lib/esm/index.d.ts +96 -0
- package/dist/client/node_modules/entities/lib/esm/package.json +1 -0
- package/dist/client/node_modules/entities/lib/generated/decode-data-html.d.ts +3 -0
- package/dist/client/node_modules/entities/lib/generated/decode-data-xml.d.ts +3 -0
- package/dist/client/node_modules/entities/lib/generated/encode-html.d.ts +8 -0
- package/dist/client/node_modules/entities/lib/index.d.ts +96 -0
- package/dist/client/node_modules/entities/package.json +90 -0
- package/dist/client/node_modules/floating-vue/dist/components/Dropdown.d.ts +398 -0
- package/dist/client/node_modules/floating-vue/dist/components/Menu.d.ts +398 -0
- package/dist/client/node_modules/floating-vue/dist/components/Popper.d.ts +225 -105
- package/dist/client/node_modules/floating-vue/dist/components/Popper.vue.d.ts +471 -364
- package/dist/client/node_modules/floating-vue/dist/components/PopperContent.vue.d.ts +14 -25
- package/dist/client/node_modules/floating-vue/dist/components/PopperWrapper.vue.d.ts +392 -6
- package/dist/client/node_modules/floating-vue/dist/components/Tooltip.d.ts +398 -0
- package/dist/client/node_modules/floating-vue/dist/components/TooltipDirective.vue.d.ts +49 -10
- package/dist/client/node_modules/floating-vue/dist/config.d.ts +1 -1
- package/dist/client/node_modules/floating-vue/dist/index.d.ts +2071 -247
- package/dist/client/node_modules/floating-vue/dist/util/events.d.ts +2 -0
- package/dist/client/node_modules/floating-vue/dist/util/popper.d.ts +1 -1
- package/dist/client/node_modules/floating-vue/package.json +42 -33
- package/dist/client/node_modules/magic-string/dist/magic-string.cjs.d.ts +250 -229
- package/dist/client/node_modules/magic-string/package.json +24 -26
- package/dist/client/node_modules/nanoid/package.json +1 -1
- package/dist/client/node_modules/picocolors/package.json +2 -2
- package/dist/client/node_modules/picocolors/types.d.ts +51 -0
- package/dist/client/node_modules/pinia/dist/pinia.d.ts +116 -37
- package/dist/client/node_modules/pinia/package.json +7 -11
- package/dist/client/node_modules/postcss/lib/at-rule.d.ts +25 -22
- package/dist/client/node_modules/postcss/lib/comment.d.ts +10 -9
- package/dist/client/node_modules/postcss/lib/container.d.ts +47 -54
- package/dist/client/node_modules/postcss/lib/css-syntax-error.d.ts +1 -1
- package/dist/client/node_modules/postcss/lib/declaration.d.ts +20 -17
- package/dist/client/node_modules/postcss/lib/document.d.ts +4 -4
- package/dist/client/node_modules/postcss/lib/input.d.ts +14 -0
- package/dist/client/node_modules/postcss/lib/list.d.ts +5 -2
- package/dist/client/node_modules/postcss/lib/node.d.ts +19 -14
- package/dist/client/node_modules/postcss/lib/postcss.d.ts +25 -8
- package/dist/client/node_modules/postcss/lib/processor.d.ts +1 -1
- package/dist/client/node_modules/postcss/lib/result.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/root.d.ts +4 -4
- package/dist/client/node_modules/postcss/lib/rule.d.ts +27 -18
- package/dist/client/node_modules/postcss/package.json +4 -4
- package/dist/client/node_modules/scroll-into-view-if-needed/dist/index.d.ts +79 -0
- package/dist/client/node_modules/scroll-into-view-if-needed/package.json +28 -67
- package/dist/client/node_modules/source-map-js/lib/source-map-consumer.d.ts +1 -0
- package/dist/client/node_modules/source-map-js/lib/source-map-generator.d.ts +1 -0
- package/dist/client/node_modules/source-map-js/lib/source-node.d.ts +1 -0
- package/dist/client/node_modules/source-map-js/package.json +1 -1
- package/dist/client/node_modules/source-map-js/source-map.d.ts +88 -99
- package/dist/client/node_modules/vue/dist/vue.d.ts +0 -4
- package/dist/client/node_modules/vue/jsx-runtime/index.d.ts +2 -1
- package/dist/client/node_modules/vue/jsx.d.ts +2 -1
- package/dist/client/node_modules/vue/package.json +13 -14
- package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/package.json +1 -1
- package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +410 -81
- package/dist/client/node_modules/vue-router/package.json +66 -37
- package/dist/client/node_modules/vue-router/vue-router-auto-routes.d.ts +4 -0
- package/dist/client/node_modules/vue-router/vue-router-auto.d.ts +4 -0
- package/dist/client/vue.runtime.esm-bundler.js +6458 -4714
- package/floating-vue.d.ts +1 -0
- package/iconify.d.ts +1 -0
- package/package.json +20 -20
- package/pinia.d.ts +1 -0
- package/rollup.config.mjs +11 -9
- package/scroll.d.ts +1 -0
- package/src/client/b-floating-vue.ts +2 -0
- package/src/client/b-scroll.ts +2 -0
- package/tsconfig.json +17 -17
- package/vue-router.d.ts +1 -0
- package/vue-use.d.ts +1 -0
- package/vue.d.ts +1 -0
- package/dist/client/index2.js +0 -168
- package/dist/client/node_modules/@floating-ui/core/index.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/core/src/_babel.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/core/src/computeCoordsFromPlacement.d.ts +0 -4
- package/dist/client/node_modules/@floating-ui/core/src/computePosition.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/detectOverflow.d.ts +0 -9
- package/dist/client/node_modules/@floating-ui/core/src/enums.d.ts +0 -4
- package/dist/client/node_modules/@floating-ui/core/src/index.d.ts +0 -11
- package/dist/client/node_modules/@floating-ui/core/src/middleware/arrow.d.ts +0 -6
- package/dist/client/node_modules/@floating-ui/core/src/middleware/autoPlacement.d.ts +0 -9
- package/dist/client/node_modules/@floating-ui/core/src/middleware/flip.d.ts +0 -10
- package/dist/client/node_modules/@floating-ui/core/src/middleware/hide.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/middleware/inline.d.ts +0 -5
- package/dist/client/node_modules/@floating-ui/core/src/middleware/offset.d.ts +0 -21
- package/dist/client/node_modules/@floating-ui/core/src/middleware/shift.d.ts +0 -32
- package/dist/client/node_modules/@floating-ui/core/src/middleware/size.d.ts +0 -6
- package/dist/client/node_modules/@floating-ui/core/src/types.d.ts +0 -148
- package/dist/client/node_modules/@floating-ui/core/src/utils/expandPaddingObject.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getAlignment.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getAlignmentSides.d.ts +0 -5
- package/dist/client/node_modules/@floating-ui/core/src/utils/getBasePlacement.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getCrossAxis.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getExpandedPlacements.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getLengthFromAxis.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getMainAxisFromPlacement.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getOppositeAlignmentPlacement.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getOppositePlacement.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/core/src/utils/getPaddingObject.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/math.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/rectToClientRect.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/within.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/contains.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getClippingClientRect.d.ts +0 -6
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getScrollParent.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getScrollParents.d.ts +0 -1
- package/dist/client/node_modules/@vue/reactivity-transform/dist/reactivity-transform.d.ts +0 -43
- package/dist/client/node_modules/@vue/reactivity-transform/package.json +0 -41
- package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/package.json +0 -47
- package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/lib/index.d.ts +0 -22
- package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/lib/v2/index.d.ts +0 -33
- package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/lib/v2.7/index.d.ts +0 -38
- package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/lib/v3/index.d.ts +0 -22
- package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/package.json +0 -47
- package/dist/client/node_modules/compute-scroll-into-view/typings/index.d.ts +0 -19
- package/dist/client/node_modules/floating-vue/dist/components/Dropdown.vue.d.ts +0 -25
- package/dist/client/node_modules/floating-vue/dist/components/Menu.vue.d.ts +0 -25
- package/dist/client/node_modules/floating-vue/dist/components/Tooltip.vue.d.ts +0 -25
- package/dist/client/node_modules/floating-vue/src/global-shim.d.ts +0 -1
- package/dist/client/node_modules/floating-vue/src/vue-shim.d.ts +0 -5
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/index.d.ts +0 -22
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2/index.d.ts +0 -33
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2.7/index.d.ts +0 -38
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v3/index.d.ts +0 -22
- package/dist/client/node_modules/scroll-into-view-if-needed/typings/index.d.ts +0 -13
- package/dist/client/node_modules/scroll-into-view-if-needed/typings/types.d.ts +0 -19
- package/dist/client/node_modules/vue/macros-global.d.ts +0 -19
- package/dist/client/node_modules/vue/macros.d.ts +0 -112
- package/dist/client/node_modules/vue/ref-macros.d.ts +0 -2
- /package/dist/client/node_modules/{@vueuse/core/node_modules/vue-demi → vue-demi}/lib/index.d.ts +0 -0
- /package/dist/client/node_modules/{@vueuse/core/node_modules/vue-demi → vue-demi}/lib/v2/index.d.ts +0 -0
- /package/dist/client/node_modules/{@vueuse/core/node_modules/vue-demi → vue-demi}/lib/v2.7/index.d.ts +0 -0
- /package/dist/client/node_modules/{@vueuse/core/node_modules/vue-demi → vue-demi}/lib/v3/index.d.ts +0 -0
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import type { PluginFunction, PluginObject } from 'vue'
|
|
3
|
-
declare const isVue2: boolean
|
|
4
|
-
declare const isVue3: boolean
|
|
5
|
-
declare const Vue2: typeof Vue | undefined
|
|
6
|
-
declare const version: string
|
|
7
|
-
declare const install: (vue?: typeof Vue) => void
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated To avoid bringing in all the tree-shakable modules, this API has been deprecated. Use `Vue2` or named exports instead.
|
|
10
|
-
* Refer to https://github.com/vueuse/vue-demi/issues/41
|
|
11
|
-
*/
|
|
12
|
-
declare const V: typeof Vue
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* DebuggerEvent is a Vue 3 development only feature. This type cannot exist in Vue 2.
|
|
16
|
-
*/
|
|
17
|
-
export declare type DebuggerEvent = never
|
|
18
|
-
|
|
19
|
-
// accept no generic because Vue 3 doesn't accept any
|
|
20
|
-
// https://github.com/vuejs/vue-next/pull/2758/
|
|
21
|
-
export declare type Plugin = PluginObject<any> | PluginFunction<any>
|
|
22
|
-
export type { VNode } from 'vue'
|
|
23
|
-
export * from '@vue/composition-api'
|
|
24
|
-
export {
|
|
25
|
-
V as Vue,
|
|
26
|
-
Vue2,
|
|
27
|
-
isVue2,
|
|
28
|
-
isVue3,
|
|
29
|
-
version,
|
|
30
|
-
install,
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export declare function hasInjectionContext(): boolean
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import type { PluginFunction, PluginObject, VueConstructor, Directive, InjectionKey, Component } from 'vue'
|
|
3
|
-
|
|
4
|
-
declare const isVue2: boolean
|
|
5
|
-
declare const isVue3: boolean
|
|
6
|
-
declare const Vue2: typeof Vue | undefined
|
|
7
|
-
declare const version: string
|
|
8
|
-
declare const install: (vue?: typeof Vue) => void
|
|
9
|
-
export declare function warn(msg: string, vm?: Component | null): void
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated To avoid bringing in all the tree-shakable modules, this API has been deprecated. Use `Vue2` or named exports instead.
|
|
12
|
-
* Refer to https://github.com/vueuse/vue-demi/issues/41
|
|
13
|
-
*/
|
|
14
|
-
declare const V: typeof Vue
|
|
15
|
-
|
|
16
|
-
// accept no generic because Vue 3 doesn't accept any
|
|
17
|
-
// https://github.com/vuejs/vue-next/pull/2758/
|
|
18
|
-
export declare type Plugin = PluginObject<any> | PluginFunction<any>
|
|
19
|
-
export type { VNode } from 'vue'
|
|
20
|
-
export * from 'vue'
|
|
21
|
-
export { V as Vue, Vue2, isVue2, isVue3, version, install }
|
|
22
|
-
|
|
23
|
-
// #region createApp polyfill
|
|
24
|
-
export interface App<T = any> {
|
|
25
|
-
config: VueConstructor['config']
|
|
26
|
-
use: VueConstructor['use']
|
|
27
|
-
mixin: VueConstructor['mixin']
|
|
28
|
-
component: VueConstructor['component']
|
|
29
|
-
directive(name: string): Directive | undefined
|
|
30
|
-
directive(name: string, directive: Directive): this
|
|
31
|
-
provide<T>(key: InjectionKey<T> | string, value: T): this
|
|
32
|
-
mount: Vue['$mount']
|
|
33
|
-
unmount: Vue['$destroy']
|
|
34
|
-
}
|
|
35
|
-
export declare function createApp(rootComponent: any, rootProps?: any): App
|
|
36
|
-
// #endregion
|
|
37
|
-
|
|
38
|
-
export declare function hasInjectionContext(): boolean
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as Vue from 'vue'
|
|
2
|
-
declare const isVue2: boolean
|
|
3
|
-
declare const isVue3: boolean
|
|
4
|
-
declare const Vue2: any
|
|
5
|
-
declare const install: (vue?: any) => void
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated To avoid bringing in all the tree-shakable modules, this API has been deprecated. Use `Vue2` or named exports instead.
|
|
8
|
-
* Refer to https://github.com/vueuse/vue-demi/issues/41
|
|
9
|
-
*/
|
|
10
|
-
declare const V: typeof Vue
|
|
11
|
-
|
|
12
|
-
export function set<T>(target: any, key: any, val: T): T
|
|
13
|
-
export function del(target: any, key: any): void
|
|
14
|
-
|
|
15
|
-
export * from 'vue'
|
|
16
|
-
export {
|
|
17
|
-
V as Vue,
|
|
18
|
-
Vue2,
|
|
19
|
-
isVue2,
|
|
20
|
-
isVue3,
|
|
21
|
-
install,
|
|
22
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CustomScrollBehaviorCallback, Options as BaseOptions, ScrollBehavior } from './types';
|
|
2
|
-
export interface StandardBehaviorOptions extends BaseOptions {
|
|
3
|
-
behavior?: ScrollBehavior;
|
|
4
|
-
}
|
|
5
|
-
export interface CustomBehaviorOptions<T> extends BaseOptions {
|
|
6
|
-
behavior: CustomScrollBehaviorCallback<T>;
|
|
7
|
-
}
|
|
8
|
-
export interface Options<T = any> extends BaseOptions {
|
|
9
|
-
behavior?: ScrollBehavior | CustomScrollBehaviorCallback<T>;
|
|
10
|
-
}
|
|
11
|
-
declare function scrollIntoView<T>(target: Element, options: CustomBehaviorOptions<T>): T;
|
|
12
|
-
declare function scrollIntoView(target: Element, options?: Options | boolean): void;
|
|
13
|
-
export default scrollIntoView;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export type ScrollBehavior = 'auto' | 'smooth';
|
|
2
|
-
export type ScrollLogicalPosition = 'start' | 'center' | 'end' | 'nearest';
|
|
3
|
-
export type ScrollMode = 'always' | 'if-needed';
|
|
4
|
-
export type SkipOverflowHiddenElements = boolean;
|
|
5
|
-
export interface Options {
|
|
6
|
-
block?: ScrollLogicalPosition;
|
|
7
|
-
inline?: ScrollLogicalPosition;
|
|
8
|
-
scrollMode?: ScrollMode;
|
|
9
|
-
boundary?: CustomScrollBoundary;
|
|
10
|
-
skipOverflowHiddenElements?: SkipOverflowHiddenElements;
|
|
11
|
-
}
|
|
12
|
-
export type CustomScrollBoundaryCallback = (parent: Element) => boolean;
|
|
13
|
-
export type CustomScrollBoundary = Element | CustomScrollBoundaryCallback | null;
|
|
14
|
-
export interface CustomScrollAction {
|
|
15
|
-
el: Element;
|
|
16
|
-
top: number;
|
|
17
|
-
left: number;
|
|
18
|
-
}
|
|
19
|
-
export type CustomScrollBehaviorCallback<T> = (actions: CustomScrollAction[]) => T;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
$ as _$,
|
|
3
|
-
$$ as _$$,
|
|
4
|
-
$ref as _$ref,
|
|
5
|
-
$shallowRef as _$shallowRef,
|
|
6
|
-
$computed as _$computed,
|
|
7
|
-
$customRef as _$customRef,
|
|
8
|
-
$toRef as _$toRef
|
|
9
|
-
} from './macros'
|
|
10
|
-
|
|
11
|
-
declare global {
|
|
12
|
-
const $: typeof _$
|
|
13
|
-
const $$: typeof _$$
|
|
14
|
-
const $ref: typeof _$ref
|
|
15
|
-
const $shallowRef: typeof _$shallowRef
|
|
16
|
-
const $computed: typeof _$computed
|
|
17
|
-
const $customRef: typeof _$customRef
|
|
18
|
-
const $toRef: typeof _$toRef
|
|
19
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Ref,
|
|
3
|
-
UnwrapRef,
|
|
4
|
-
ComputedRef,
|
|
5
|
-
WritableComputedOptions,
|
|
6
|
-
DebuggerOptions,
|
|
7
|
-
WritableComputedRef,
|
|
8
|
-
CustomRefFactory
|
|
9
|
-
} from '@vue/runtime-dom'
|
|
10
|
-
|
|
11
|
-
export declare const RefType: unique symbol
|
|
12
|
-
|
|
13
|
-
export declare const enum RefTypes {
|
|
14
|
-
Ref = 1,
|
|
15
|
-
ComputedRef = 2,
|
|
16
|
-
WritableComputedRef = 3
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
type RefValue<T> = T extends null | undefined ? T : ReactiveVariable<T>
|
|
20
|
-
|
|
21
|
-
type ReactiveVariable<T> = T & { [RefType]?: RefTypes.Ref }
|
|
22
|
-
|
|
23
|
-
type ComputedRefValue<T> = T extends null | undefined ? T : ComputedVariable<T>
|
|
24
|
-
|
|
25
|
-
type ComputedVariable<T> = T & { [RefType]?: RefTypes.ComputedRef }
|
|
26
|
-
|
|
27
|
-
type WritableComputedRefValue<T> = T extends null | undefined
|
|
28
|
-
? T
|
|
29
|
-
: WritableComputedVariable<T>
|
|
30
|
-
|
|
31
|
-
type WritableComputedVariable<T> = T & {
|
|
32
|
-
[RefType]?: RefTypes.WritableComputedRef
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
type NormalObject<T extends object> = T & { [RefType]?: never }
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Vue ref transform macro for binding refs as reactive variables.
|
|
39
|
-
*/
|
|
40
|
-
export declare function $<T>(arg: ComputedRef<T>): ComputedRefValue<T>
|
|
41
|
-
export declare function $<T>(
|
|
42
|
-
arg: WritableComputedRef<T>
|
|
43
|
-
): WritableComputedRefValue<T>
|
|
44
|
-
export declare function $<T>(arg: Ref<T>): RefValue<T>
|
|
45
|
-
export declare function $<T extends object>(arg?: T): DestructureRefs<T>
|
|
46
|
-
|
|
47
|
-
type DestructureRefs<T extends object> = {
|
|
48
|
-
[K in keyof T]: T[K] extends ComputedRef<infer V>
|
|
49
|
-
? ComputedRefValue<V>
|
|
50
|
-
: T[K] extends WritableComputedRef<infer V>
|
|
51
|
-
? WritableComputedRefValue<V>
|
|
52
|
-
: T[K] extends Ref<infer V>
|
|
53
|
-
? RefValue<V>
|
|
54
|
-
: T[K]
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* Vue ref transform macro for accessing underlying refs of reactive variables.
|
|
59
|
-
*/
|
|
60
|
-
export declare function $$<T extends object>(arg: NormalObject<T>): ToRawRefs<T>
|
|
61
|
-
export declare function $$<T>(value: RefValue<T>): Ref<T>
|
|
62
|
-
export declare function $$<T>(value: ComputedRefValue<T>): ComputedRef<T>
|
|
63
|
-
export declare function $$<T>(
|
|
64
|
-
value: WritableComputedRefValue<T>
|
|
65
|
-
): WritableComputedRef<T>
|
|
66
|
-
|
|
67
|
-
type ToRawRefs<T extends object> = {
|
|
68
|
-
[K in keyof T]: T[K] extends RefValue<infer V>
|
|
69
|
-
? Ref<V>
|
|
70
|
-
: T[K] extends ComputedRefValue<infer V>
|
|
71
|
-
? ComputedRef<V>
|
|
72
|
-
: T[K] extends WritableComputedRefValue<infer V>
|
|
73
|
-
? WritableComputedRef<V>
|
|
74
|
-
: T[K] extends object
|
|
75
|
-
? T[K] extends
|
|
76
|
-
| Function
|
|
77
|
-
| Map<any, any>
|
|
78
|
-
| Set<any>
|
|
79
|
-
| WeakMap<any, any>
|
|
80
|
-
| WeakSet<any>
|
|
81
|
-
? T[K]
|
|
82
|
-
: ToRawRefs<T[K]>
|
|
83
|
-
: T[K]
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export declare function $ref<T>(): RefValue<T | undefined>
|
|
87
|
-
export declare function $ref<T>(arg: T | Ref<T>): RefValue<UnwrapRef<T>>
|
|
88
|
-
|
|
89
|
-
export declare function $shallowRef<T>(): RefValue<T | undefined>
|
|
90
|
-
export declare function $shallowRef<T>(arg: T): RefValue<T>
|
|
91
|
-
|
|
92
|
-
export declare function $toRef<T extends object, K extends keyof T>(
|
|
93
|
-
object: T,
|
|
94
|
-
key: K
|
|
95
|
-
): RefValue<T[K]>
|
|
96
|
-
|
|
97
|
-
export declare function $toRef<T extends object, K extends keyof T>(
|
|
98
|
-
object: T,
|
|
99
|
-
key: K,
|
|
100
|
-
defaultValue: T[K]
|
|
101
|
-
): RefValue<Exclude<T[K], undefined>>
|
|
102
|
-
|
|
103
|
-
export declare function $customRef<T>(factory: CustomRefFactory<T>): RefValue<T>
|
|
104
|
-
|
|
105
|
-
export declare function $computed<T>(
|
|
106
|
-
getter: () => T,
|
|
107
|
-
debuggerOptions?: DebuggerOptions
|
|
108
|
-
): ComputedRefValue<T>
|
|
109
|
-
export declare function $computed<T>(
|
|
110
|
-
options: WritableComputedOptions<T>,
|
|
111
|
-
debuggerOptions?: DebuggerOptions
|
|
112
|
-
): WritableComputedRefValue<T>
|
/package/dist/client/node_modules/{@vueuse/core/node_modules/vue-demi → vue-demi}/lib/index.d.ts
RENAMED
|
File without changes
|
/package/dist/client/node_modules/{@vueuse/core/node_modules/vue-demi → vue-demi}/lib/v2/index.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/client/node_modules/{@vueuse/core/node_modules/vue-demi → vue-demi}/lib/v3/index.d.ts
RENAMED
|
File without changes
|