@histoire/vendors 0.10.2 → 0.10.5
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/node_modules/@babel/parser/package.json +1 -1
- package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/lib/v2.7/index.d.ts +3 -19
- package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/package.json +1 -1
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2.7/index.d.ts +3 -19
- package/dist/client/node_modules/pinia/node_modules/vue-demi/package.json +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import Vue from 'vue'
|
|
2
|
-
import type { PluginFunction, PluginObject, VueConstructor,
|
|
2
|
+
import type { PluginFunction, PluginObject, VueConstructor, Directive, InjectionKey, Component } from 'vue'
|
|
3
3
|
|
|
4
4
|
declare const isVue2: boolean
|
|
5
5
|
declare const isVue3: boolean
|
|
6
6
|
declare const Vue2: typeof Vue | undefined
|
|
7
7
|
declare const version: string
|
|
8
8
|
declare const install: (vue?: typeof Vue) => void
|
|
9
|
+
export declare function warn(msg: string, vm?: Component | null): void
|
|
9
10
|
/**
|
|
10
11
|
* @deprecated To avoid bringing in all the tree-shakable modules, this API has been deprecated. Use `Vue2` or named exports instead.
|
|
11
12
|
* Refer to https://github.com/vueuse/vue-demi/issues/41
|
|
@@ -20,23 +21,6 @@ export * from 'vue'
|
|
|
20
21
|
export { V as Vue, Vue2, isVue2, isVue3, version, install }
|
|
21
22
|
|
|
22
23
|
// #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
24
|
export interface App<T = any> {
|
|
41
25
|
config: VueConstructor['config']
|
|
42
26
|
use: VueConstructor['use']
|
|
@@ -44,7 +28,7 @@ export interface App<T = any> {
|
|
|
44
28
|
component: VueConstructor['component']
|
|
45
29
|
directive(name: string): Directive | undefined
|
|
46
30
|
directive(name: string, directive: Directive): this
|
|
47
|
-
provide<T>(key: InjectionKey<T> |
|
|
31
|
+
provide<T>(key: InjectionKey<T> | string, value: T): this
|
|
48
32
|
mount: Vue['$mount']
|
|
49
33
|
unmount: Vue['$destroy']
|
|
50
34
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import Vue from 'vue'
|
|
2
|
-
import type { PluginFunction, PluginObject, VueConstructor,
|
|
2
|
+
import type { PluginFunction, PluginObject, VueConstructor, Directive, InjectionKey, Component } from 'vue'
|
|
3
3
|
|
|
4
4
|
declare const isVue2: boolean
|
|
5
5
|
declare const isVue3: boolean
|
|
6
6
|
declare const Vue2: typeof Vue | undefined
|
|
7
7
|
declare const version: string
|
|
8
8
|
declare const install: (vue?: typeof Vue) => void
|
|
9
|
+
export declare function warn(msg: string, vm?: Component | null): void
|
|
9
10
|
/**
|
|
10
11
|
* @deprecated To avoid bringing in all the tree-shakable modules, this API has been deprecated. Use `Vue2` or named exports instead.
|
|
11
12
|
* Refer to https://github.com/vueuse/vue-demi/issues/41
|
|
@@ -20,23 +21,6 @@ export * from 'vue'
|
|
|
20
21
|
export { V as Vue, Vue2, isVue2, isVue3, version, install }
|
|
21
22
|
|
|
22
23
|
// #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
24
|
export interface App<T = any> {
|
|
41
25
|
config: VueConstructor['config']
|
|
42
26
|
use: VueConstructor['use']
|
|
@@ -44,7 +28,7 @@ export interface App<T = any> {
|
|
|
44
28
|
component: VueConstructor['component']
|
|
45
29
|
directive(name: string): Directive | undefined
|
|
46
30
|
directive(name: string, directive: Directive): this
|
|
47
|
-
provide<T>(key: InjectionKey<T> |
|
|
31
|
+
provide<T>(key: InjectionKey<T> | string, value: T): this
|
|
48
32
|
mount: Vue['$mount']
|
|
49
33
|
unmount: Vue['$destroy']
|
|
50
34
|
}
|