@histoire/vendors 1.0.0-alpha.5 → 1.0.0-beta.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.
Files changed (95) hide show
  1. package/dist/client/b-floating-vue.js +29 -20
  2. package/dist/client/b-vue-router.js +2615 -3624
  3. package/dist/client/b-vue-use.js +87 -77
  4. package/dist/client/b-vue.js +1 -1
  5. package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.mts +528 -0
  6. package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.mts +103 -0
  7. package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.mts +47 -0
  8. package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts +50 -0
  9. package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts +9 -0
  10. package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts +16 -0
  11. package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts +7 -0
  12. package/dist/client/node_modules/@types/web-bluetooth/index.d.ts +93 -21
  13. package/dist/client/node_modules/@types/web-bluetooth/package.json +9 -3
  14. package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +20 -11
  15. package/dist/client/node_modules/@vue/compiler-core/package.json +6 -6
  16. package/dist/client/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +12 -12
  17. package/dist/client/node_modules/@vue/compiler-dom/package.json +3 -3
  18. package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +3 -2
  19. package/dist/client/node_modules/@vue/compiler-sfc/package.json +14 -14
  20. package/dist/client/node_modules/@vue/compiler-ssr/package.json +3 -3
  21. package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +24 -25
  22. package/dist/client/node_modules/@vue/reactivity/package.json +2 -2
  23. package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +48 -41
  24. package/dist/client/node_modules/@vue/runtime-core/package.json +3 -3
  25. package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +680 -645
  26. package/dist/client/node_modules/@vue/runtime-dom/package.json +5 -5
  27. package/dist/client/node_modules/@vue/server-renderer/package.json +4 -4
  28. package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +7 -1
  29. package/dist/client/node_modules/@vue/shared/package.json +1 -1
  30. package/dist/client/node_modules/@vueuse/core/index.d.mts +6221 -0
  31. package/dist/client/node_modules/@vueuse/core/index.d.ts +131 -103
  32. package/dist/client/node_modules/@vueuse/core/metadata.d.mts +1 -0
  33. package/dist/client/node_modules/@vueuse/core/package.json +4 -4
  34. package/dist/client/node_modules/@vueuse/metadata/index.d.mts +78 -0
  35. package/dist/client/node_modules/@vueuse/metadata/package.json +1 -1
  36. package/dist/client/node_modules/@vueuse/shared/index.d.mts +1260 -0
  37. package/dist/client/node_modules/@vueuse/shared/index.d.ts +30 -13
  38. package/dist/client/node_modules/@vueuse/shared/package.json +1 -1
  39. package/dist/client/node_modules/entities/decode.d.ts +3 -0
  40. package/dist/client/node_modules/entities/{lib/esm/decode_codepoint.d.ts → dist/commonjs/decode-codepoint.d.ts} +2 -2
  41. package/dist/client/node_modules/entities/{lib → dist/commonjs}/decode.d.ts +18 -26
  42. package/dist/client/node_modules/entities/{lib/esm → dist/commonjs}/encode.d.ts +2 -2
  43. package/dist/client/node_modules/entities/{lib/esm → dist/commonjs}/escape.d.ts +9 -6
  44. package/dist/client/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +2 -0
  45. package/dist/client/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +2 -0
  46. package/dist/client/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +3 -0
  47. package/dist/client/node_modules/entities/{lib/esm → dist/commonjs}/index.d.ts +9 -9
  48. package/dist/client/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts +17 -0
  49. package/dist/client/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts +2 -0
  50. package/dist/client/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts +32 -0
  51. package/dist/client/node_modules/entities/dist/commonjs/package.json +3 -0
  52. package/dist/client/node_modules/entities/{lib/decode_codepoint.d.ts → dist/esm/decode-codepoint.d.ts} +2 -2
  53. package/dist/client/node_modules/entities/{lib → dist}/esm/decode.d.ts +18 -26
  54. package/dist/client/node_modules/entities/{lib → dist/esm}/encode.d.ts +2 -2
  55. package/dist/client/node_modules/entities/{lib → dist/esm}/escape.d.ts +9 -6
  56. package/dist/client/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +2 -0
  57. package/dist/client/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +2 -0
  58. package/dist/client/node_modules/entities/dist/esm/generated/encode-html.d.ts +3 -0
  59. package/dist/client/node_modules/entities/{lib → dist/esm}/index.d.ts +9 -9
  60. package/dist/client/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts +17 -0
  61. package/dist/client/node_modules/entities/dist/esm/internal/decode-shared.d.ts +2 -0
  62. package/dist/client/node_modules/entities/dist/esm/internal/encode-shared.d.ts +32 -0
  63. package/dist/client/node_modules/entities/dist/esm/package.json +3 -0
  64. package/dist/client/node_modules/entities/escape.d.ts +3 -0
  65. package/dist/client/node_modules/entities/package.json +92 -69
  66. package/dist/client/node_modules/magic-string/dist/magic-string.es.d.mts +289 -0
  67. package/dist/client/node_modules/postcss/lib/postcss.d.mts +69 -0
  68. package/dist/client/node_modules/vue/compiler-sfc/index.d.mts +1 -0
  69. package/dist/client/node_modules/vue/dist/vue.d.mts +7 -0
  70. package/dist/client/node_modules/vue/jsx-runtime/index.d.ts +2 -2
  71. package/dist/client/node_modules/vue/jsx.d.ts +1 -1
  72. package/dist/client/node_modules/vue/package.json +6 -6
  73. package/dist/client/node_modules/vue/server-renderer/index.d.mts +1 -0
  74. package/dist/client/node_modules/vue-router/dist/experimental/index.d.mts +38 -0
  75. package/dist/client/node_modules/vue-router/dist/router-CWoNjPRp.d.mts +1973 -0
  76. package/dist/client/node_modules/vue-router/dist/vue-router.d.mts +361 -0
  77. package/dist/client/node_modules/vue-router/package.json +43 -39
  78. package/dist/client/node_modules/vue-router/vue-router-auto-resolver.d.mts +22 -0
  79. package/dist/client/node_modules/vue-router/vue-router-auto.d.ts +1 -4
  80. package/dist/client/vue.runtime.esm-bundler.js +2987 -2699
  81. package/package.json +2 -2
  82. package/rollup.config.mjs +1 -1
  83. package/dist/client/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +0 -3
  84. package/dist/client/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +0 -3
  85. package/dist/client/node_modules/entities/lib/esm/generated/encode-html.d.ts +0 -8
  86. package/dist/client/node_modules/entities/lib/esm/package.json +0 -1
  87. package/dist/client/node_modules/entities/lib/generated/decode-data-html.d.ts +0 -3
  88. package/dist/client/node_modules/entities/lib/generated/decode-data-xml.d.ts +0 -3
  89. package/dist/client/node_modules/entities/lib/generated/encode-html.d.ts +0 -8
  90. package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +0 -1836
  91. /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/lib/index.d.ts +0 -0
  92. /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/lib/v2/index.d.ts +0 -0
  93. /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/lib/v2.7/index.d.ts +0 -0
  94. /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/lib/v3/index.d.ts +0 -0
  95. /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/package.json +0 -0
@@ -47,9 +47,9 @@ export type ShallowReactive<T> = T & {
47
47
  [ShallowReactiveMarker]?: true;
48
48
  };
49
49
  /**
50
- * Shallow version of {@link reactive()}.
50
+ * Shallow version of {@link reactive}.
51
51
  *
52
- * Unlike {@link reactive()}, there is no deep conversion: only root-level
52
+ * Unlike {@link reactive}, there is no deep conversion: only root-level
53
53
  * properties are reactive for a shallow reactive object. Property values are
54
54
  * stored and exposed as-is - this also means properties with ref values will
55
55
  * not be automatically unwrapped.
@@ -87,7 +87,7 @@ export type DeepReadonly<T> = T extends Builtin ? T : T extends Map<infer K, inf
87
87
  * the original.
88
88
  *
89
89
  * A readonly proxy is deep: any nested property accessed will be readonly as
90
- * well. It also has the same ref-unwrapping behavior as {@link reactive()},
90
+ * well. It also has the same ref-unwrapping behavior as {@link reactive},
91
91
  * except the unwrapped values will also be made readonly.
92
92
  *
93
93
  * @example
@@ -113,9 +113,9 @@ export type DeepReadonly<T> = T extends Builtin ? T : T extends Map<infer K, inf
113
113
  */
114
114
  export declare function readonly<T extends object>(target: T): DeepReadonly<UnwrapNestedRefs<T>>;
115
115
  /**
116
- * Shallow version of {@link readonly()}.
116
+ * Shallow version of {@link readonly}.
117
117
  *
118
- * Unlike {@link readonly()}, there is no deep conversion: only root-level
118
+ * Unlike {@link readonly}, there is no deep conversion: only root-level
119
119
  * properties are made readonly. Property values are stored and exposed as-is -
120
120
  * this also means properties with ref values will not be automatically
121
121
  * unwrapped.
@@ -144,8 +144,8 @@ export declare function readonly<T extends object>(target: T): DeepReadonly<Unwr
144
144
  */
145
145
  export declare function shallowReadonly<T extends object>(target: T): Readonly<T>;
146
146
  /**
147
- * Checks if an object is a proxy created by {@link reactive()} or
148
- * {@link shallowReactive()} (or {@link ref()} in some cases).
147
+ * Checks if an object is a proxy created by {@link reactive} or
148
+ * {@link shallowReactive} (or {@link ref} in some cases).
149
149
  *
150
150
  * @example
151
151
  * ```js
@@ -167,7 +167,7 @@ export declare function isReactive(value: unknown): boolean;
167
167
  * readonly object can change, but they can't be assigned directly via the
168
168
  * passed object.
169
169
  *
170
- * The proxies created by {@link readonly()} and {@link shallowReadonly()} are
170
+ * The proxies created by {@link readonly} and {@link shallowReadonly} are
171
171
  * both considered readonly, as is a computed ref without a set function.
172
172
  *
173
173
  * @param value - The value to check.
@@ -177,7 +177,7 @@ export declare function isReadonly(value: unknown): boolean;
177
177
  export declare function isShallow(value: unknown): boolean;
178
178
  /**
179
179
  * Checks if an object is a proxy created by {@link reactive},
180
- * {@link readonly}, {@link shallowReactive} or {@link shallowReadonly()}.
180
+ * {@link readonly}, {@link shallowReactive} or {@link shallowReadonly}.
181
181
  *
182
182
  * @param value - The value to check.
183
183
  * @see {@link https://vuejs.org/api/reactivity-utilities.html#isproxy}
@@ -187,8 +187,8 @@ export declare function isProxy(value: any): boolean;
187
187
  * Returns the raw, original object of a Vue-created proxy.
188
188
  *
189
189
  * `toRaw()` can return the original object from proxies created by
190
- * {@link reactive()}, {@link readonly()}, {@link shallowReactive()} or
191
- * {@link shallowReadonly()}.
190
+ * {@link reactive}, {@link readonly}, {@link shallowReactive} or
191
+ * {@link shallowReadonly}.
192
192
  *
193
193
  * This is an escape hatch that can be used to temporarily read without
194
194
  * incurring proxy access / tracking overhead or write without triggering
@@ -225,7 +225,7 @@ export type Raw<T> = T & {
225
225
  * ```
226
226
  *
227
227
  * **Warning:** `markRaw()` together with the shallow APIs such as
228
- * {@link shallowReactive()} allow you to selectively opt-out of the default
228
+ * {@link shallowReactive} allow you to selectively opt-out of the default
229
229
  * deep reactive/readonly conversion and embed raw, non-proxied objects in your
230
230
  * state graph.
231
231
  *
@@ -271,6 +271,10 @@ export interface ReactiveEffectOptions extends DebuggerOptions {
271
271
  allowRecurse?: boolean;
272
272
  onStop?: () => void;
273
273
  }
274
+ export interface ReactiveEffectRunner<T = any> {
275
+ (): T;
276
+ effect: ReactiveEffect;
277
+ }
274
278
  export declare enum EffectFlags {
275
279
  /**
276
280
  * ReactiveEffect only
@@ -281,7 +285,8 @@ export declare enum EffectFlags {
281
285
  NOTIFIED = 8,
282
286
  DIRTY = 16,
283
287
  ALLOW_RECURSE = 32,
284
- PAUSED = 64
288
+ PAUSED = 64,
289
+ EVALUATED = 128
285
290
  }
286
291
  /**
287
292
  * Subscriber is a type that tracks (or subscribes to) a list of deps.
@@ -302,14 +307,6 @@ export declare class ReactiveEffect<T = any> implements Subscriber, ReactiveEffe
302
307
  trigger(): void;
303
308
  get dirty(): boolean;
304
309
  }
305
- export interface ReactiveEffectRunner<T = any> {
306
- (): T;
307
- effect: ReactiveEffect;
308
- }
309
- export interface ReactiveEffectRunner<T = any> {
310
- (): T;
311
- effect: ReactiveEffect;
312
- }
313
310
  export declare function effect<T = any>(fn: () => T, options?: ReactiveEffectOptions): ReactiveEffectRunner<T>;
314
311
  /**
315
312
  * Stops the effect associated with the given runner.
@@ -447,7 +444,7 @@ export type ShallowRef<T = any, S = T> = Ref<T, S> & {
447
444
  [ShallowRefMarker]?: true;
448
445
  };
449
446
  /**
450
- * Shallow version of {@link ref()}.
447
+ * Shallow version of {@link ref}.
451
448
  *
452
449
  * @example
453
450
  * ```js
@@ -512,7 +509,7 @@ export type MaybeRefOrGetter<T = any> = MaybeRef<T> | ComputedRef<T> | (() => T)
512
509
  export declare function unref<T>(ref: MaybeRef<T> | ComputedRef<T>): T;
513
510
  /**
514
511
  * Normalizes values / refs / getters to values.
515
- * This is similar to {@link unref()}, except that it also normalizes getters.
512
+ * This is similar to {@link unref}, except that it also normalizes getters.
516
513
  * If the argument is a getter, it will be invoked and its return value will
517
514
  * be returned.
518
515
  *
@@ -554,7 +551,7 @@ export type ToRefs<T = any> = {
554
551
  /**
555
552
  * Converts a reactive object to a plain object where each property of the
556
553
  * resulting object is a ref pointing to the corresponding property of the
557
- * original object. Each individual ref is created using {@link toRef()}.
554
+ * original object. Each individual ref is created using {@link toRef}.
558
555
  *
559
556
  * @param object - Reactive object to be made into an object of linked refs.
560
557
  * @see {@link https://vuejs.org/api/reactivity-utilities.html#torefs}
@@ -672,6 +669,7 @@ export declare class EffectScope {
672
669
  */
673
670
  resume(): void;
674
671
  run<T>(fn: () => T): T | undefined;
672
+ prevScope: EffectScope | undefined;
675
673
  stop(fromParent?: boolean): void;
676
674
  }
677
675
  /**
@@ -750,5 +748,6 @@ export declare function getCurrentWatcher(): ReactiveEffect<any> | undefined;
750
748
  */
751
749
  export declare function onWatcherCleanup(cleanupFn: () => void, failSilently?: boolean, owner?: ReactiveEffect | undefined): void;
752
750
  export declare function watch(source: WatchSource | WatchSource[] | WatchEffect | object, cb?: WatchCallback | null, options?: WatchOptions): WatchHandle;
753
- export declare function traverse(value: unknown, depth?: number, seen?: Set<unknown>): unknown;
751
+ export declare function traverse(value: unknown, depth?: number, seen?: Map<unknown, number>): unknown;
752
+
754
753
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/reactivity",
3
- "version": "3.5.13",
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.13"
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, WatchEffect, WatchHandle, WatchSource, ReactiveMarker, ShallowRef, WatchErrorCodes, reactive } from '@vue/reactivity';
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<T = void, R = void>(this: T, fn?: (this: T) => R): Promise<Awaited<R>>;
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>>]: InferPropType<O[K]>;
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 ? [T[K]] extends [boolean | undefined] ? K : never : never;
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 extends string = string> {
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 extends string = string> = (el: HostElement, binding: DirectiveBinding<Value, Modifiers, Arg>, vnode: VNode<any, HostElement>, prevVNode: Prev) => void;
406
- type SSRDirectiveHook<Value = any, Modifiers extends string = string, Arg extends string = string> = (binding: DirectiveBinding<Value, Modifiers, Arg>, vnode: VNode) => Data | undefined;
407
- export interface ObjectDirective<HostElement = any, Value = any, Modifiers extends string = string, Arg extends string = string> {
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 extends string = string> = DirectiveHook<HostElement, any, V, Modifiers, Arg>;
419
- export type Directive<HostElement = any, Value = any, Modifiers extends string = string, Arg extends string = string> = ObjectDirective<HostElement, Value, Modifiers, Arg> | FunctionDirective<HostElement, Value, Modifiers, Arg>;
420
- type DirectiveModifiers<K extends string = string> = Record<K, boolean>;
421
- export type DirectiveArguments = Array<[Directive | undefined] | [Directive | undefined, any] | [Directive | undefined, any, string] | [Directive | undefined, any, string | undefined, DirectiveModifiers]>;
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?(): void;
876
- created?(): void;
877
- beforeMount?(): void;
878
- mounted?(): void;
879
- beforeUpdate?(): void;
880
- updated?(): void;
881
- activated?(): void;
882
- deactivated?(): void;
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?(): void;
885
- beforeUnmount?(): void;
887
+ beforeDestroy?(): any;
888
+ beforeUnmount?(): any;
886
889
  /** @deprecated use `unmounted` instead */
887
- destroyed?(): void;
888
- unmounted?(): void;
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
- * typescript will try to simplify the inferred `Mixin` type,
902
- * with the `__differentiator`, typescript won't be able to combine different mixins,
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, Exposed>>;
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, Exposed>>;
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, Exposed>>): 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>;
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 extends string = string>(name: string): Directive<HostElement, Value, Modifiers, Arg> | undefined;
1026
- directive<HostElement = any, Value = any, Modifiers extends string = string, Arg extends string = string>(name: string, directive: Directive<HostElement, Value, Modifiers, Arg>): this;
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<Options> | ObjectPlugin<Options>;
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 Props, infer RawBindings, infer D, infer C, infer M> ? ComponentPublicInstance<unknown extends Props ? {} : Props, unknown extends RawBindings ? {} : RawBindings, unknown extends D ? {} : D, C, M> : never;
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<Props = 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<Props, RawBindings, D, C, M, E, S> | ComponentPublicInstanceConstructor<Props>;
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 declare function useTemplateRef<T = unknown, Keys extends string = string>(key: Keys): Readonly<ShallowRef<T | null>>;
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 { type WatchEffectOptions as WatchOptionsBase, createBaseVNode as createElementVNode, };
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.13",
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.13",
50
- "@vue/reactivity": "3.5.13"
49
+ "@vue/shared": "3.5.26",
50
+ "@vue/reactivity": "3.5.26"
51
51
  }
52
52
  }