@histoire/vendors 1.0.0-alpha.5 → 1.0.0-beta.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/build/floating-ui-frames.mjs +28 -0
- package/dist/client/b-floating-vue.js +35 -22
- package/dist/client/b-vue-router.js +2615 -3624
- package/dist/client/b-vue-use.js +87 -77
- package/dist/client/b-vue.js +1 -1
- package/dist/client/node_modules/@babel/helper-string-parser/package.json +1 -1
- package/dist/client/node_modules/@babel/helper-validator-identifier/package.json +1 -1
- package/dist/client/node_modules/@babel/parser/package.json +7 -7
- package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +24 -26
- package/dist/client/node_modules/@babel/types/lib/index-legacy.d.ts +183 -183
- package/dist/client/node_modules/@babel/types/lib/index.d.ts +203 -208
- package/dist/client/node_modules/@babel/types/package.json +6 -6
- package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.mts +535 -0
- package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.ts +75 -68
- package/dist/client/node_modules/@floating-ui/core/package.json +3 -3
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.mts +105 -0
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.ts +5 -3
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.mts +47 -0
- package/dist/client/node_modules/@floating-ui/utils/package.json +2 -2
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/package.json +2 -1
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/range-mappings.d.mts +5 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts +50 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts +11 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts +16 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts +9 -0
- package/dist/client/node_modules/@types/web-bluetooth/index.d.ts +93 -21
- package/dist/client/node_modules/@types/web-bluetooth/package.json +9 -3
- package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +20 -11
- package/dist/client/node_modules/@vue/compiler-core/package.json +6 -6
- package/dist/client/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +12 -12
- package/dist/client/node_modules/@vue/compiler-dom/package.json +3 -3
- package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +3 -2
- package/dist/client/node_modules/@vue/compiler-sfc/package.json +14 -14
- package/dist/client/node_modules/@vue/compiler-ssr/package.json +3 -3
- package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +24 -25
- package/dist/client/node_modules/@vue/reactivity/package.json +2 -2
- package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +48 -41
- package/dist/client/node_modules/@vue/runtime-core/package.json +3 -3
- package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +680 -645
- package/dist/client/node_modules/@vue/runtime-dom/package.json +5 -5
- package/dist/client/node_modules/@vue/server-renderer/package.json +4 -4
- package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +7 -1
- package/dist/client/node_modules/@vue/shared/package.json +1 -1
- package/dist/client/node_modules/@vueuse/core/index.d.mts +6221 -0
- package/dist/client/node_modules/@vueuse/core/index.d.ts +131 -103
- package/dist/client/node_modules/@vueuse/core/metadata.d.mts +1 -0
- package/dist/client/node_modules/@vueuse/core/package.json +4 -4
- package/dist/client/node_modules/@vueuse/metadata/index.d.mts +78 -0
- package/dist/client/node_modules/@vueuse/metadata/package.json +1 -1
- package/dist/client/node_modules/@vueuse/shared/index.d.mts +1260 -0
- package/dist/client/node_modules/@vueuse/shared/index.d.ts +30 -13
- package/dist/client/node_modules/@vueuse/shared/package.json +1 -1
- package/dist/client/node_modules/csstype/index.d.ts +2326 -782
- package/dist/client/node_modules/csstype/package.json +26 -26
- package/dist/client/node_modules/entities/decode.d.ts +3 -0
- package/dist/client/node_modules/entities/{lib/esm/decode_codepoint.d.ts → dist/commonjs/decode-codepoint.d.ts} +2 -2
- package/dist/client/node_modules/entities/{lib → dist/commonjs}/decode.d.ts +20 -26
- package/dist/client/node_modules/entities/{lib/esm → dist/commonjs}/encode.d.ts +2 -2
- package/dist/client/node_modules/entities/{lib/esm → dist/commonjs}/escape.d.ts +9 -6
- package/dist/client/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +2 -0
- package/dist/client/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +2 -0
- package/dist/client/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +3 -0
- package/dist/client/node_modules/entities/{lib/esm → dist/commonjs}/index.d.ts +9 -9
- package/dist/client/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts +17 -0
- package/dist/client/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts +2 -0
- package/dist/client/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts +32 -0
- package/dist/client/node_modules/entities/dist/commonjs/package.json +3 -0
- package/dist/client/node_modules/entities/{lib/decode_codepoint.d.ts → dist/esm/decode-codepoint.d.ts} +2 -2
- package/dist/client/node_modules/entities/{lib → dist}/esm/decode.d.ts +20 -26
- package/dist/client/node_modules/entities/{lib → dist/esm}/encode.d.ts +2 -2
- package/dist/client/node_modules/entities/{lib → dist/esm}/escape.d.ts +9 -6
- package/dist/client/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +2 -0
- package/dist/client/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +2 -0
- package/dist/client/node_modules/entities/dist/esm/generated/encode-html.d.ts +3 -0
- package/dist/client/node_modules/entities/{lib → dist/esm}/index.d.ts +9 -9
- package/dist/client/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts +17 -0
- package/dist/client/node_modules/entities/dist/esm/internal/decode-shared.d.ts +2 -0
- package/dist/client/node_modules/entities/dist/esm/internal/encode-shared.d.ts +32 -0
- package/dist/client/node_modules/entities/dist/esm/package.json +3 -0
- package/dist/client/node_modules/entities/escape.d.ts +3 -0
- package/dist/client/node_modules/entities/package.json +99 -69
- package/dist/client/node_modules/magic-string/dist/magic-string.es.d.mts +289 -0
- package/dist/client/node_modules/nanoid/package.json +3 -3
- package/dist/client/node_modules/postcss/lib/at-rule.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/comment.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/container.d.ts +17 -26
- package/dist/client/node_modules/postcss/lib/css-syntax-error.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/declaration.d.ts +4 -5
- package/dist/client/node_modules/postcss/lib/document.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/fromJSON.d.ts +1 -1
- package/dist/client/node_modules/postcss/lib/input.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/lazy-result.d.ts +3 -4
- package/dist/client/node_modules/postcss/lib/list.d.ts +1 -1
- package/dist/client/node_modules/postcss/lib/no-work-result.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/node.d.ts +2 -3
- package/dist/client/node_modules/postcss/lib/parse.d.ts +1 -1
- package/dist/client/node_modules/postcss/lib/postcss.d.mts +66 -0
- package/dist/client/node_modules/postcss/lib/postcss.d.ts +10 -4
- package/dist/client/node_modules/postcss/lib/previous-map.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/processor.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/result.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/root.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/rule.d.ts +12 -12
- package/dist/client/node_modules/postcss/lib/stringifier.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/stringify.d.ts +1 -1
- package/dist/client/node_modules/postcss/lib/warning.d.ts +0 -1
- package/dist/client/node_modules/postcss/package.json +45 -45
- package/dist/client/node_modules/source-map-js/package.json +14 -7
- package/dist/client/node_modules/source-map-js/source-map.d.ts +177 -63
- package/dist/client/node_modules/vue/compiler-sfc/index.d.mts +1 -0
- package/dist/client/node_modules/vue/dist/vue.d.mts +7 -0
- package/dist/client/node_modules/vue/jsx-runtime/index.d.ts +2 -2
- package/dist/client/node_modules/vue/jsx.d.ts +1 -1
- package/dist/client/node_modules/vue/package.json +6 -6
- package/dist/client/node_modules/vue/server-renderer/index.d.mts +1 -0
- package/dist/client/node_modules/vue-router/dist/experimental/index.d.mts +38 -0
- package/dist/client/node_modules/vue-router/dist/router-CWoNjPRp.d.mts +1973 -0
- package/dist/client/node_modules/vue-router/dist/vue-router.d.mts +361 -0
- package/dist/client/node_modules/vue-router/package.json +43 -39
- package/dist/client/node_modules/vue-router/vue-router-auto-resolver.d.mts +22 -0
- package/dist/client/node_modules/vue-router/vue-router-auto.d.ts +1 -4
- package/dist/client/vue.runtime.esm-bundler.js +2987 -2699
- package/package.json +4 -3
- package/rollup.config.mjs +12 -2
- package/tsconfig.json +3 -1
- package/dist/client/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +0 -3
- package/dist/client/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +0 -3
- package/dist/client/node_modules/entities/lib/esm/generated/encode-html.d.ts +0 -8
- package/dist/client/node_modules/entities/lib/esm/package.json +0 -1
- package/dist/client/node_modules/entities/lib/generated/decode-data-html.d.ts +0 -3
- package/dist/client/node_modules/entities/lib/generated/decode-data-xml.d.ts +0 -3
- package/dist/client/node_modules/entities/lib/generated/encode-html.d.ts +0 -8
- package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +0 -1836
- /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/lib/index.d.ts +0 -0
- /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/lib/v2/index.d.ts +0 -0
- /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/lib/v2.7/index.d.ts +0 -0
- /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/lib/v3/index.d.ts +0 -0
- /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/package.json +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/reactivity",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.26",
|
|
4
4
|
"description": "@vue/reactivity",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/reactivity.esm-bundler.js",
|
|
@@ -50,6 +50,6 @@
|
|
|
50
50
|
},
|
|
51
51
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/reactivity#readme",
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@vue/shared": "3.5.
|
|
53
|
+
"@vue/shared": "3.5.26"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { computed as computed$1, Ref, OnCleanup, WatchStopHandle, ShallowUnwrapRef, UnwrapNestedRefs, DebuggerEvent, ComputedGetter, WritableComputedOptions, WatchCallback, ReactiveEffect, DebuggerOptions,
|
|
1
|
+
import { computed as computed$1, Ref, OnCleanup, WatchStopHandle, ShallowUnwrapRef, UnwrapNestedRefs, DebuggerEvent, ComputedGetter, WritableComputedOptions, WatchCallback, ReactiveEffect, DebuggerOptions, WatchSource, WatchHandle, ReactiveMarker, WatchEffect, ShallowRef, WatchErrorCodes, reactive } from '@vue/reactivity';
|
|
2
2
|
export { ComputedGetter, ComputedRef, ComputedSetter, CustomRefFactory, DebuggerEvent, DebuggerEventExtraInfo, DebuggerOptions, DeepReadonly, EffectScheduler, EffectScope, MaybeRef, MaybeRefOrGetter, Raw, Reactive, ReactiveEffect, ReactiveEffectOptions, ReactiveEffectRunner, ReactiveFlags, Ref, ShallowReactive, ShallowRef, ShallowUnwrapRef, ToRef, ToRefs, TrackOpTypes, TriggerOpTypes, UnwrapNestedRefs, UnwrapRef, WatchCallback, WatchEffect, WatchHandle, WatchSource, WatchStopHandle, WritableComputedOptions, WritableComputedRef, customRef, effect, effectScope, getCurrentScope, getCurrentWatcher, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onScopeDispose, onWatcherCleanup, proxyRefs, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, toValue, triggerRef, unref } from '@vue/reactivity';
|
|
3
3
|
import { IfAny, Prettify, LooseRequired, UnionToIntersection, OverloadParameters, IsKeyValues } from '@vue/shared';
|
|
4
4
|
export { camelize, capitalize, normalizeClass, normalizeProps, normalizeStyle, toDisplayString, toHandlerKey } from '@vue/shared';
|
|
@@ -58,7 +58,8 @@ interface SchedulerJob extends Function {
|
|
|
58
58
|
i?: ComponentInternalInstance;
|
|
59
59
|
}
|
|
60
60
|
type SchedulerJobs = SchedulerJob | SchedulerJob[];
|
|
61
|
-
export declare function nextTick
|
|
61
|
+
export declare function nextTick(): Promise<void>;
|
|
62
|
+
export declare function nextTick<T, R>(this: T, fn: (this: T) => R | Promise<R>): Promise<R>;
|
|
62
63
|
export declare function queuePostFlushCb(cb: SchedulerJobs): void;
|
|
63
64
|
|
|
64
65
|
export type ComponentPropsOptions<P = Data> = ComponentObjectPropsOptions<P> | string[];
|
|
@@ -129,7 +130,9 @@ type InferPropType<T, NullAsAny = true> = [T] extends [null] ? NullAsAny extends
|
|
|
129
130
|
* To extract accepted props from the parent, use {@link ExtractPublicPropTypes}.
|
|
130
131
|
*/
|
|
131
132
|
export type ExtractPropTypes<O> = {
|
|
132
|
-
[K in keyof Pick<O, RequiredKeys<O>>]:
|
|
133
|
+
[K in keyof Pick<O, RequiredKeys<O>>]: O[K] extends {
|
|
134
|
+
default: any;
|
|
135
|
+
} ? Exclude<InferPropType<O[K]>, undefined> : InferPropType<O[K]>;
|
|
133
136
|
} & {
|
|
134
137
|
[K in keyof Pick<O, OptionalKeys<O>>]?: InferPropType<O[K]>;
|
|
135
138
|
};
|
|
@@ -193,7 +196,7 @@ export declare function defineProps<TypeProps>(): DefineProps<LooseRequired<Type
|
|
|
193
196
|
export type DefineProps<T, BKeys extends keyof T> = Readonly<T> & {
|
|
194
197
|
readonly [K in BKeys]-?: boolean;
|
|
195
198
|
};
|
|
196
|
-
type BooleanKey<T, K extends keyof T = keyof T> = K extends any ?
|
|
199
|
+
type BooleanKey<T, K extends keyof T = keyof T> = K extends any ? T[K] extends boolean | undefined ? T[K] extends never | undefined ? never : K : never : never;
|
|
197
200
|
/**
|
|
198
201
|
* Vue `<script setup>` compiler macro for declaring a component's emitted
|
|
199
202
|
* events. The expected argument is the same as the component `emits` option.
|
|
@@ -329,7 +332,7 @@ type MappedOmit<T, K extends keyof any> = {
|
|
|
329
332
|
type InferDefaults<T> = {
|
|
330
333
|
[K in keyof T]?: InferDefault<T, T[K]>;
|
|
331
334
|
};
|
|
332
|
-
type NativeType = null | number | string | boolean | symbol | Function;
|
|
335
|
+
type NativeType = null | undefined | number | string | boolean | symbol | Function;
|
|
333
336
|
type InferDefault<P, T> = ((props: P) => T & {}) | (T extends NativeType ? T : never);
|
|
334
337
|
type PropsWithDefaults<T, Defaults extends InferDefaults<T>, BKeys extends keyof T> = T extends unknown ? Readonly<MappedOmit<T, keyof Defaults>> & {
|
|
335
338
|
readonly [K in keyof Defaults as K extends keyof T ? K : never]-?: K extends keyof T ? Defaults[K] extends undefined ? IfAny<Defaults[K], NotUndefined<T[K]>, T[K]> : NotUndefined<T[K]> : never;
|
|
@@ -394,17 +397,17 @@ return withDirectives(h(comp), [
|
|
|
394
397
|
])
|
|
395
398
|
*/
|
|
396
399
|
|
|
397
|
-
export interface DirectiveBinding<Value = any, Modifiers extends string = string, Arg
|
|
400
|
+
export interface DirectiveBinding<Value = any, Modifiers extends string = string, Arg = any> {
|
|
398
401
|
instance: ComponentPublicInstance | Record<string, any> | null;
|
|
399
402
|
value: Value;
|
|
400
403
|
oldValue: Value | null;
|
|
401
404
|
arg?: Arg;
|
|
402
405
|
modifiers: DirectiveModifiers<Modifiers>;
|
|
403
|
-
dir: ObjectDirective<any, Value>;
|
|
406
|
+
dir: ObjectDirective<any, Value, Modifiers, Arg>;
|
|
404
407
|
}
|
|
405
|
-
export type DirectiveHook<HostElement = any, Prev = VNode<any, HostElement> | null, Value = any, Modifiers extends string = string, Arg
|
|
406
|
-
type SSRDirectiveHook<Value = any, Modifiers extends string = string, Arg
|
|
407
|
-
export interface ObjectDirective<HostElement = any, Value = any, Modifiers extends string = string, Arg
|
|
408
|
+
export type DirectiveHook<HostElement = any, Prev = VNode<any, HostElement> | null, Value = any, Modifiers extends string = string, Arg = any> = (el: HostElement, binding: DirectiveBinding<Value, Modifiers, Arg>, vnode: VNode<any, HostElement>, prevVNode: Prev) => void;
|
|
409
|
+
type SSRDirectiveHook<Value = any, Modifiers extends string = string, Arg = any> = (binding: DirectiveBinding<Value, Modifiers, Arg>, vnode: VNode) => Data | undefined;
|
|
410
|
+
export interface ObjectDirective<HostElement = any, Value = any, Modifiers extends string = string, Arg = any> {
|
|
408
411
|
created?: DirectiveHook<HostElement, null, Value, Modifiers, Arg>;
|
|
409
412
|
beforeMount?: DirectiveHook<HostElement, null, Value, Modifiers, Arg>;
|
|
410
413
|
mounted?: DirectiveHook<HostElement, null, Value, Modifiers, Arg>;
|
|
@@ -415,10 +418,10 @@ export interface ObjectDirective<HostElement = any, Value = any, Modifiers exten
|
|
|
415
418
|
getSSRProps?: SSRDirectiveHook<Value, Modifiers, Arg>;
|
|
416
419
|
deep?: boolean;
|
|
417
420
|
}
|
|
418
|
-
export type FunctionDirective<HostElement = any, V = any, Modifiers extends string = string, Arg
|
|
419
|
-
export type Directive<HostElement = any, Value = any, Modifiers extends string = string, Arg
|
|
420
|
-
type DirectiveModifiers<K extends string = string> = Record<K, boolean
|
|
421
|
-
export type DirectiveArguments = Array<[Directive | undefined] | [Directive | undefined, any] | [Directive | undefined, any,
|
|
421
|
+
export type FunctionDirective<HostElement = any, V = any, Modifiers extends string = string, Arg = any> = DirectiveHook<HostElement, any, V, Modifiers, Arg>;
|
|
422
|
+
export type Directive<HostElement = any, Value = any, Modifiers extends string = string, Arg = any> = ObjectDirective<HostElement, Value, Modifiers, Arg> | FunctionDirective<HostElement, Value, Modifiers, Arg>;
|
|
423
|
+
export type DirectiveModifiers<K extends string = string> = Partial<Record<K, boolean>>;
|
|
424
|
+
export type DirectiveArguments = Array<[Directive | undefined] | [Directive | undefined, any] | [Directive | undefined, any, any] | [Directive | undefined, any, any, DirectiveModifiers]>;
|
|
422
425
|
/**
|
|
423
426
|
* Adds directives to a VNode.
|
|
424
427
|
*/
|
|
@@ -872,20 +875,20 @@ interface LegacyOptions<Props, D, C extends ComputedOptions, M extends MethodOpt
|
|
|
872
875
|
filters?: Record<string, Function>;
|
|
873
876
|
mixins?: Mixin[];
|
|
874
877
|
extends?: Extends;
|
|
875
|
-
beforeCreate?():
|
|
876
|
-
created?():
|
|
877
|
-
beforeMount?():
|
|
878
|
-
mounted?():
|
|
879
|
-
beforeUpdate?():
|
|
880
|
-
updated?():
|
|
881
|
-
activated?():
|
|
882
|
-
deactivated?():
|
|
878
|
+
beforeCreate?(): any;
|
|
879
|
+
created?(): any;
|
|
880
|
+
beforeMount?(): any;
|
|
881
|
+
mounted?(): any;
|
|
882
|
+
beforeUpdate?(): any;
|
|
883
|
+
updated?(): any;
|
|
884
|
+
activated?(): any;
|
|
885
|
+
deactivated?(): any;
|
|
883
886
|
/** @deprecated use `beforeUnmount` instead */
|
|
884
|
-
beforeDestroy?():
|
|
885
|
-
beforeUnmount?():
|
|
887
|
+
beforeDestroy?(): any;
|
|
888
|
+
beforeUnmount?(): any;
|
|
886
889
|
/** @deprecated use `unmounted` instead */
|
|
887
|
-
destroyed?():
|
|
888
|
-
unmounted?():
|
|
890
|
+
destroyed?(): any;
|
|
891
|
+
unmounted?(): any;
|
|
889
892
|
renderTracked?: DebuggerHook;
|
|
890
893
|
renderTriggered?: DebuggerHook;
|
|
891
894
|
errorCaptured?: ErrorCapturedHook;
|
|
@@ -898,8 +901,8 @@ interface LegacyOptions<Props, D, C extends ComputedOptions, M extends MethodOpt
|
|
|
898
901
|
* #3468
|
|
899
902
|
*
|
|
900
903
|
* type-only, used to assist Mixin's type inference,
|
|
901
|
-
*
|
|
902
|
-
* with the `__differentiator`,
|
|
904
|
+
* TypeScript will try to simplify the inferred `Mixin` type,
|
|
905
|
+
* with the `__differentiator`, TypeScript won't be able to combine different mixins,
|
|
903
906
|
* because the `__differentiator` will be different
|
|
904
907
|
*/
|
|
905
908
|
__differentiator?: keyof D | keyof C | keyof M;
|
|
@@ -946,7 +949,7 @@ export type ComponentOptionsWithoutProps<Props = {}, RawBindings = {}, D = {}, C
|
|
|
946
949
|
* @private for language-tools use only
|
|
947
950
|
*/
|
|
948
951
|
__typeEmits?: TE;
|
|
949
|
-
} & ThisType<CreateComponentPublicInstanceWithMixins<PE, RawBindings, D, C, M, Mixin, Extends, ResolvedEmits, EE, {}, false, I, S, LC, Directives,
|
|
952
|
+
} & ThisType<CreateComponentPublicInstanceWithMixins<PE, RawBindings, D, C, M, Mixin, Extends, ResolvedEmits, EE, {}, false, I, S, LC, Directives, string>>;
|
|
950
953
|
/**
|
|
951
954
|
* @deprecated
|
|
952
955
|
*/
|
|
@@ -954,7 +957,7 @@ export type ComponentOptionsWithArrayProps<PropNames extends string = string, Ra
|
|
|
954
957
|
[key in PropNames]?: any;
|
|
955
958
|
} & EmitsToProps<E>>>> = ComponentOptionsBase<Props, RawBindings, D, C, M, Mixin, Extends, E, EE, {}, I, II, S, LC, Directives, Exposed, Provide> & {
|
|
956
959
|
props: PropNames[];
|
|
957
|
-
} & ThisType<CreateComponentPublicInstanceWithMixins<Props, RawBindings, D, C, M, Mixin, Extends, E, Props, {}, false, I, S, LC, Directives,
|
|
960
|
+
} & ThisType<CreateComponentPublicInstanceWithMixins<Props, RawBindings, D, C, M, Mixin, Extends, E, Props, {}, false, I, S, LC, Directives, string>>;
|
|
958
961
|
/**
|
|
959
962
|
* @deprecated
|
|
960
963
|
*/
|
|
@@ -1012,18 +1015,18 @@ export declare function defineComponent<TypeProps, RuntimePropsOptions extends C
|
|
|
1012
1015
|
*/
|
|
1013
1016
|
__typeEl?: TypeEl;
|
|
1014
1017
|
} & ComponentOptionsBase<ToResolvedProps<InferredProps, ResolvedEmits>, SetupBindings, Data, Computed, Methods, Mixin, Extends, RuntimeEmitsOptions, RuntimeEmitsKeys, {}, // Defaults
|
|
1015
|
-
InjectOptions, InjectKeys, Slots, LocalComponents, Directives, Exposed, Provide> & ThisType<CreateComponentPublicInstanceWithMixins<ToResolvedProps<InferredProps, ResolvedEmits>, SetupBindings, Data, Computed, Methods, Mixin, Extends, ResolvedEmits, {}, {}, false, InjectOptions, Slots, LocalComponents, Directives,
|
|
1018
|
+
InjectOptions, InjectKeys, Slots, LocalComponents, Directives, Exposed, Provide> & ThisType<CreateComponentPublicInstanceWithMixins<ToResolvedProps<InferredProps, ResolvedEmits>, SetupBindings, Data, Computed, Methods, Mixin, Extends, ResolvedEmits, {}, {}, false, InjectOptions, Slots, LocalComponents, Directives, string>>): DefineComponent<InferredProps, SetupBindings, Data, Computed, Methods, Mixin, Extends, ResolvedEmits, RuntimeEmitsKeys, PublicProps, ToResolvedProps<InferredProps, ResolvedEmits>, ExtractDefaultPropTypes<RuntimePropsOptions>, Slots, LocalComponents, Directives, Exposed, Provide, unknown extends TypeProps ? true : false, TypeRefs, TypeEl>;
|
|
1016
1019
|
|
|
1017
1020
|
export interface App<HostElement = any> {
|
|
1018
1021
|
version: string;
|
|
1019
1022
|
config: AppConfig;
|
|
1020
|
-
use<Options extends unknown[]>(plugin: Plugin<Options>, ...options: Options): this;
|
|
1021
|
-
use<Options>(plugin: Plugin<Options>, options: Options): this;
|
|
1023
|
+
use<Options extends unknown[]>(plugin: Plugin<Options>, ...options: NoInfer<Options>): this;
|
|
1024
|
+
use<Options>(plugin: Plugin<Options>, options: NoInfer<Options>): this;
|
|
1022
1025
|
mixin(mixin: ComponentOptions): this;
|
|
1023
1026
|
component(name: string): Component | undefined;
|
|
1024
1027
|
component<T extends Component | DefineComponent>(name: string, component: T): this;
|
|
1025
|
-
directive<HostElement = any, Value = any, Modifiers extends string = string, Arg
|
|
1026
|
-
directive<HostElement = any, Value = any, Modifiers extends string = string, Arg
|
|
1028
|
+
directive<HostElement = any, Value = any, Modifiers extends string = string, Arg = any>(name: string): Directive<HostElement, Value, Modifiers, Arg> | undefined;
|
|
1029
|
+
directive<HostElement = any, Value = any, Modifiers extends string = string, Arg = any>(name: string, directive: Directive<HostElement, Value, Modifiers, Arg>): this;
|
|
1027
1030
|
mount(rootContainer: HostElement | string,
|
|
1028
1031
|
/**
|
|
1029
1032
|
* @internal
|
|
@@ -1105,7 +1108,7 @@ export type ObjectPlugin<Options = any[]> = {
|
|
|
1105
1108
|
install: PluginInstallFunction<Options>;
|
|
1106
1109
|
};
|
|
1107
1110
|
export type FunctionPlugin<Options = any[]> = PluginInstallFunction<Options> & Partial<ObjectPlugin<Options>>;
|
|
1108
|
-
export type Plugin<Options = any[]> = FunctionPlugin<
|
|
1111
|
+
export type Plugin<Options = any[], P extends unknown[] = Options extends unknown[] ? Options : [Options]> = FunctionPlugin<P> | ObjectPlugin<P>;
|
|
1109
1112
|
export type CreateAppFunction<HostElement> = (rootComponent: Component, rootProps?: Data | null) => App<HostElement>;
|
|
1110
1113
|
|
|
1111
1114
|
type TeleportVNode = VNode<RendererNode, RendererElement, TeleportProps>;
|
|
@@ -1218,6 +1221,7 @@ export interface VNode<HostNode = RendererNode, HostElement = RendererElement, E
|
|
|
1218
1221
|
dirs: DirectiveBinding[] | null;
|
|
1219
1222
|
transition: TransitionHooks<HostElement> | null;
|
|
1220
1223
|
el: HostNode | null;
|
|
1224
|
+
placeholder: HostNode | null;
|
|
1221
1225
|
anchor: HostNode | null;
|
|
1222
1226
|
target: HostElement | null;
|
|
1223
1227
|
targetStart: HostNode | null;
|
|
@@ -1317,7 +1321,9 @@ type Data = Record<string, unknown>;
|
|
|
1317
1321
|
*/
|
|
1318
1322
|
export type ComponentInstance<T> = T extends {
|
|
1319
1323
|
new (): ComponentPublicInstance;
|
|
1320
|
-
} ? InstanceType<T> : T extends FunctionalComponent<infer Props, infer Emits> ? ComponentPublicInstance<Props, {}, {}, {}, {}, ShortEmitsToObject<Emits>> : T extends Component<infer
|
|
1324
|
+
} ? InstanceType<T> : T extends FunctionalComponent<infer Props, infer Emits> ? ComponentPublicInstance<Props, {}, {}, {}, {}, ShortEmitsToObject<Emits>> : T extends Component<infer PropsOrInstance, infer RawBindings, infer D, infer C, infer M> ? PropsOrInstance extends {
|
|
1325
|
+
$props: unknown;
|
|
1326
|
+
} ? PropsOrInstance : ComponentPublicInstance<unknown extends PropsOrInstance ? {} : PropsOrInstance, unknown extends RawBindings ? {} : RawBindings, unknown extends D ? {} : D, C, M> : never;
|
|
1321
1327
|
/**
|
|
1322
1328
|
* For extending allowed non-declared props on components in TSX
|
|
1323
1329
|
*/
|
|
@@ -1406,7 +1412,7 @@ export type ConcreteComponent<Props = {}, RawBindings = any, D = any, C extends
|
|
|
1406
1412
|
* A type used in public APIs where a component type is expected.
|
|
1407
1413
|
* The constructor type is an artificial type returned by defineComponent().
|
|
1408
1414
|
*/
|
|
1409
|
-
export type Component<
|
|
1415
|
+
export type Component<PropsOrInstance = any, RawBindings = any, D = any, C extends ComputedOptions = ComputedOptions, M extends MethodOptions = MethodOptions, E extends EmitsOptions | Record<string, any[]> = {}, S extends Record<string, any> = any> = ConcreteComponent<PropsOrInstance, RawBindings, D, C, M, E, S> | ComponentPublicInstanceConstructor<PropsOrInstance>;
|
|
1410
1416
|
|
|
1411
1417
|
export type SetupContext<E = EmitsOptions, S extends SlotsType = {}> = E extends any ? {
|
|
1412
1418
|
attrs: Data;
|
|
@@ -1518,14 +1524,14 @@ export interface AsyncComponentOptions<T = any> {
|
|
|
1518
1524
|
hydrate?: HydrationStrategy;
|
|
1519
1525
|
onError?: (error: Error, retry: () => void, fail: () => void, attempts: number) => any;
|
|
1520
1526
|
}
|
|
1521
|
-
/*! #__NO_SIDE_EFFECTS__ */
|
|
1522
1527
|
export declare function defineAsyncComponent<T extends Component = {
|
|
1523
1528
|
new (): ComponentPublicInstance;
|
|
1524
1529
|
}>(source: AsyncComponentLoader<T> | AsyncComponentOptions<T>): T;
|
|
1525
1530
|
|
|
1526
1531
|
export declare function useModel<M extends PropertyKey, T extends Record<string, any>, K extends keyof T, G = T[K], S = T[K]>(props: T, name: K, options?: DefineModelOptions<T[K], G, S>): ModelRef<T[K], M, G, S>;
|
|
1527
1532
|
|
|
1528
|
-
export
|
|
1533
|
+
export type TemplateRef<T = unknown> = Readonly<ShallowRef<T | null>>;
|
|
1534
|
+
export declare function useTemplateRef<T = unknown, Keys extends string = string>(key: Keys): TemplateRef<T>;
|
|
1529
1535
|
|
|
1530
1536
|
export declare function useId(): string;
|
|
1531
1537
|
|
|
@@ -1798,7 +1804,8 @@ declare module '@vue/reactivity' {
|
|
|
1798
1804
|
|
|
1799
1805
|
export declare const DeprecationTypes: typeof DeprecationTypes$1;
|
|
1800
1806
|
|
|
1801
|
-
export {
|
|
1807
|
+
export { createBaseVNode as createElementVNode, };
|
|
1808
|
+
export type { WatchEffectOptions as WatchOptionsBase };
|
|
1802
1809
|
// Note: this file is auto concatenated to the end of the bundled d.ts during
|
|
1803
1810
|
// build.
|
|
1804
1811
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/runtime-core",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.26",
|
|
4
4
|
"description": "@vue/runtime-core",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/runtime-core.esm-bundler.js",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-core#readme",
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@vue/shared": "3.5.
|
|
50
|
-
"@vue/reactivity": "3.5.
|
|
49
|
+
"@vue/shared": "3.5.26",
|
|
50
|
+
"@vue/reactivity": "3.5.26"
|
|
51
51
|
}
|
|
52
52
|
}
|