@histoire/vendors 0.11.8 → 0.11.9

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 (34) hide show
  1. package/dist/client/b-pinia.js +32 -28
  2. package/dist/client/b-scroll.js +5 -15
  3. package/dist/client/b-vue-router.js +13 -3
  4. package/dist/client/b-vue-use.js +1 -1
  5. package/dist/client/b-vue.js +1 -1
  6. package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +12 -9
  7. package/dist/client/node_modules/@vue/compiler-core/package.json +2 -2
  8. package/dist/client/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +12 -12
  9. package/dist/client/node_modules/@vue/compiler-dom/package.json +3 -3
  10. package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +4 -8
  11. package/dist/client/node_modules/@vue/compiler-sfc/package.json +6 -6
  12. package/dist/client/node_modules/@vue/compiler-ssr/package.json +3 -3
  13. package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +7 -4
  14. package/dist/client/node_modules/@vue/reactivity/package.json +2 -2
  15. package/dist/client/node_modules/@vue/reactivity-transform/dist/reactivity-transform.d.ts +10 -0
  16. package/dist/client/node_modules/@vue/reactivity-transform/package.json +3 -3
  17. package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +44 -40
  18. package/dist/client/node_modules/@vue/runtime-core/package.json +3 -3
  19. package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +9 -5
  20. package/dist/client/node_modules/@vue/runtime-dom/package.json +3 -3
  21. package/dist/client/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +2 -1
  22. package/dist/client/node_modules/@vue/server-renderer/package.json +4 -4
  23. package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +1 -6
  24. package/dist/client/node_modules/@vue/shared/package.json +1 -1
  25. package/dist/client/node_modules/pinia/dist/pinia.d.ts +11 -11
  26. package/dist/client/node_modules/pinia/package.json +4 -4
  27. package/dist/client/node_modules/scroll-into-view-if-needed/package.json +82 -107
  28. package/dist/client/node_modules/scroll-into-view-if-needed/typings/types.d.ts +7 -7
  29. package/dist/client/node_modules/vue/macros.d.ts +4 -2
  30. package/dist/client/node_modules/vue/package.json +6 -6
  31. package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +3 -3
  32. package/dist/client/node_modules/vue-router/package.json +12 -12
  33. package/dist/client/vue.runtime.esm-bundler.js +11324 -11250
  34. package/package.json +1 -1
@@ -29,6 +29,7 @@ import { normalizeProps } from '@vue/shared';
29
29
  import { normalizeStyle } from '@vue/shared';
30
30
  import { onScopeDispose } from '@vue/reactivity';
31
31
  import { proxyRefs } from '@vue/reactivity';
32
+ import { Raw } from '@vue/reactivity';
32
33
  import { reactive } from '@vue/reactivity';
33
34
  import { ReactiveEffect } from '@vue/reactivity';
34
35
  import { ReactiveEffectOptions } from '@vue/reactivity';
@@ -101,7 +102,7 @@ export declare interface AppConfig {
101
102
  readonly isNativeTag?: (tag: string) => boolean;
102
103
  performance: boolean;
103
104
  optionMergeStrategies: Record<string, OptionMergeFunction>;
104
- globalProperties: Record<string, any>;
105
+ globalProperties: ComponentCustomProperties & Record<string, any>;
105
106
  errorHandler?: (err: unknown, instance: ComponentPublicInstance | null, info: string) => void;
106
107
  warnHandler?: (msg: string, instance: ComponentPublicInstance | null, trace: string) => void;
107
108
  /**
@@ -324,7 +325,7 @@ export declare interface ComponentCustomProperties {
324
325
  export declare interface ComponentCustomProps {
325
326
  }
326
327
 
327
- declare type ComponentInjectOptions = string[] | ObjectInjectOptions;
328
+ export declare type ComponentInjectOptions = string[] | ObjectInjectOptions;
328
329
 
329
330
  /**
330
331
  * We expose a subset of properties on the internal instance as they are
@@ -365,14 +366,8 @@ export declare interface ComponentInternalInstance {
365
366
  /* Excluded from this release type: propsOptions */
366
367
  /* Excluded from this release type: emitsOptions */
367
368
  /* Excluded from this release type: inheritAttrs */
368
- /**
369
- * is custom element?
370
- */
371
- isCE?: boolean;
372
- /**
373
- * custom element specific HMR method
374
- */
375
- ceReload?: (newStyles?: string[]) => void;
369
+ /* Excluded from this release type: isCE */
370
+ /* Excluded from this release type: ceReload */
376
371
  proxy: ComponentPublicInstance | null;
377
372
  exposed: Record<string, any> | null;
378
373
  exposeProxy: Record<string, any> | null;
@@ -410,14 +405,9 @@ export declare interface ComponentInternalInstance {
410
405
  /* Excluded from this release type: da */
411
406
  /* Excluded from this release type: ec */
412
407
  /* Excluded from this release type: sp */
413
- /**
414
- * For caching bound $forceUpdate on public proxy access
415
- */
416
- f?: () => void;
417
- /**
418
- * For caching bound $nextTick on public proxy access
419
- */
420
- n?: () => Promise<void>;
408
+ /* Excluded from this release type: f */
409
+ /* Excluded from this release type: n */
410
+ /* Excluded from this release type: ut */
421
411
  }
422
412
 
423
413
  declare interface ComponentInternalOptions {
@@ -444,7 +434,7 @@ export declare type ComponentObjectPropsOptions<P = Data> = {
444
434
 
445
435
  export declare type ComponentOptions<Props = {}, RawBindings = any, D = any, C extends ComputedOptions = any, M extends MethodOptions = any, Mixin extends ComponentOptionsMixin = any, Extends extends ComponentOptionsMixin = any, E extends EmitsOptions = any> = ComponentOptionsBase<Props, RawBindings, D, C, M, Mixin, Extends, E> & ThisType<CreateComponentPublicInstance<{}, RawBindings, D, C, M, Mixin, Extends, E, Readonly<Props>>>;
446
436
 
447
- export declare interface ComponentOptionsBase<Props, RawBindings, D, C extends ComputedOptions, M extends MethodOptions, Mixin extends ComponentOptionsMixin, Extends extends ComponentOptionsMixin, E extends EmitsOptions, EE extends string = string, Defaults = {}> extends LegacyOptions<Props, D, C, M, Mixin, Extends>, ComponentInternalOptions, ComponentCustomOptions {
437
+ export declare interface ComponentOptionsBase<Props, RawBindings, D, C extends ComputedOptions, M extends MethodOptions, Mixin extends ComponentOptionsMixin, Extends extends ComponentOptionsMixin, E extends EmitsOptions, EE extends string = string, Defaults = {}, I extends ComponentInjectOptions = {}, II extends string = string> extends LegacyOptions<Props, D, C, M, Mixin, Extends, I, II>, ComponentInternalOptions, ComponentCustomOptions {
448
438
  setup?: (this: void, props: Readonly<LooseRequired<Props & UnionToIntersection<ExtractOptionProp<Mixin>> & UnionToIntersection<ExtractOptionProp<Extends>>>>, ctx: SetupContext<E>) => Promise<RawBindings> | RawBindings | RenderFunction | void;
449
439
  name?: string;
450
440
  template?: string | object;
@@ -469,19 +459,19 @@ export declare interface ComponentOptionsBase<Props, RawBindings, D, C extends C
469
459
 
470
460
  export declare type ComponentOptionsMixin = ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>;
471
461
 
472
- export declare type ComponentOptionsWithArrayProps<PropNames extends string = string, RawBindings = {}, D = {}, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = EmitsOptions, EE extends string = string, Props = Readonly<{
462
+ export declare type ComponentOptionsWithArrayProps<PropNames extends string = string, RawBindings = {}, D = {}, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = EmitsOptions, EE extends string = string, I extends ComponentInjectOptions = {}, II extends string = string, Props = Readonly<{
473
463
  [key in PropNames]?: any;
474
- }> & EmitsToProps<E>> = ComponentOptionsBase<Props, RawBindings, D, C, M, Mixin, Extends, E, EE, {}> & {
464
+ }> & EmitsToProps<E>> = ComponentOptionsBase<Props, RawBindings, D, C, M, Mixin, Extends, E, EE, {}, I, II> & {
475
465
  props: PropNames[];
476
- } & ThisType<CreateComponentPublicInstance<Props, RawBindings, D, C, M, Mixin, Extends, E>>;
466
+ } & ThisType<CreateComponentPublicInstance<Props, RawBindings, D, C, M, Mixin, Extends, E, Props, {}, false, I>>;
477
467
 
478
- export declare type ComponentOptionsWithObjectProps<PropsOptions = ComponentObjectPropsOptions, RawBindings = {}, D = {}, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = EmitsOptions, EE extends string = string, Props = Readonly<ExtractPropTypes<PropsOptions>> & EmitsToProps<E>, Defaults = ExtractDefaultPropTypes<PropsOptions>> = ComponentOptionsBase<Props, RawBindings, D, C, M, Mixin, Extends, E, EE, Defaults> & {
468
+ export declare type ComponentOptionsWithObjectProps<PropsOptions = ComponentObjectPropsOptions, RawBindings = {}, D = {}, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = EmitsOptions, EE extends string = string, I extends ComponentInjectOptions = {}, II extends string = string, Props = Readonly<ExtractPropTypes<PropsOptions>> & EmitsToProps<E>, Defaults = ExtractDefaultPropTypes<PropsOptions>> = ComponentOptionsBase<Props, RawBindings, D, C, M, Mixin, Extends, E, EE, Defaults, I, II> & {
479
469
  props: PropsOptions & ThisType<void>;
480
- } & ThisType<CreateComponentPublicInstance<Props, RawBindings, D, C, M, Mixin, Extends, E, Props, Defaults, false>>;
470
+ } & ThisType<CreateComponentPublicInstance<Props, RawBindings, D, C, M, Mixin, Extends, E, Props, Defaults, false, I>>;
481
471
 
482
- export declare type ComponentOptionsWithoutProps<Props = {}, RawBindings = {}, D = {}, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = EmitsOptions, EE extends string = string, PE = Props & EmitsToProps<E>> = ComponentOptionsBase<PE, RawBindings, D, C, M, Mixin, Extends, E, EE, {}> & {
472
+ export declare type ComponentOptionsWithoutProps<Props = {}, RawBindings = {}, D = {}, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = EmitsOptions, EE extends string = string, I extends ComponentInjectOptions = {}, II extends string = string, PE = Props & EmitsToProps<E>> = ComponentOptionsBase<PE, RawBindings, D, C, M, Mixin, Extends, E, EE, {}, I, II> & {
483
473
  props?: undefined;
484
- } & ThisType<CreateComponentPublicInstance<PE, RawBindings, D, C, M, Mixin, Extends, E>>;
474
+ } & ThisType<CreateComponentPublicInstance<PE, RawBindings, D, C, M, Mixin, Extends, E, PE, {}, false, I>>;
485
475
 
486
476
  export declare type ComponentPropsOptions<P = Data> = ComponentObjectPropsOptions<P> | string[];
487
477
 
@@ -490,7 +480,7 @@ export declare type ComponentProvideOptions = ObjectProvideOptions | Function;
490
480
  export declare type ComponentPublicInstance<P = {}, // props type extracted from props option
491
481
  B = {}, // raw bindings returned from setup()
492
482
  D = {}, // return from data()
493
- C extends ComputedOptions = {}, M extends MethodOptions = {}, E extends EmitsOptions = {}, PublicProps = P, Defaults = {}, MakeDefaultsOptional extends boolean = false, Options = ComponentOptionsBase<any, any, any, any, any, any, any, any, any>> = {
483
+ C extends ComputedOptions = {}, M extends MethodOptions = {}, E extends EmitsOptions = {}, PublicProps = P, Defaults = {}, MakeDefaultsOptional extends boolean = false, Options = ComponentOptionsBase<any, any, any, any, any, any, any, any, any>, I extends ComponentInjectOptions = {}> = {
494
484
  $: ComponentInternalInstance;
495
485
  $data: D;
496
486
  $props: MakeDefaultsOptional extends true ? Partial<Defaults> & Omit<P & PublicProps, keyof Defaults> : P & PublicProps;
@@ -504,8 +494,8 @@ C extends ComputedOptions = {}, M extends MethodOptions = {}, E extends EmitsOpt
504
494
  $options: Options & MergedComponentOptionsOverride;
505
495
  $forceUpdate: () => void;
506
496
  $nextTick: typeof nextTick;
507
- $watch(source: string | Function, cb: Function, options?: WatchOptions): WatchStopHandle;
508
- } & P & ShallowUnwrapRef<B> & UnwrapNestedRefs<D> & ExtractComputedReturns<C> & M & ComponentCustomProperties;
497
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R]) => any : (...args: any) => any, options?: WatchOptions): WatchStopHandle;
498
+ } & P & ShallowUnwrapRef<B> & UnwrapNestedRefs<D> & ExtractComputedReturns<C> & M & ComponentCustomProperties & InjectToObject<I>;
509
499
 
510
500
  declare type ComponentPublicInstanceConstructor<T extends ComponentPublicInstance<Props, RawBindings, D, C, M> = ComponentPublicInstance<any>, Props = any, RawBindings = any, D = any, C extends ComputedOptions = ComputedOptions, M extends MethodOptions = MethodOptions> = {
511
501
  __isFragment?: never;
@@ -567,7 +557,7 @@ declare function createCompatVue(createApp: CreateAppFunction<Element>, createSi
567
557
 
568
558
  declare function createComponentInstance(vnode: VNode, parent: ComponentInternalInstance | null, suspense: SuspenseBoundary | null): ComponentInternalInstance;
569
559
 
570
- export declare type CreateComponentPublicInstance<P = {}, B = {}, D = {}, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = {}, PublicProps = P, Defaults = {}, MakeDefaultsOptional extends boolean = false, PublicMixin = IntersectionMixin<Mixin> & IntersectionMixin<Extends>, PublicP = UnwrapMixinsType<PublicMixin, 'P'> & EnsureNonVoid<P>, PublicB = UnwrapMixinsType<PublicMixin, 'B'> & EnsureNonVoid<B>, PublicD = UnwrapMixinsType<PublicMixin, 'D'> & EnsureNonVoid<D>, PublicC extends ComputedOptions = UnwrapMixinsType<PublicMixin, 'C'> & EnsureNonVoid<C>, PublicM extends MethodOptions = UnwrapMixinsType<PublicMixin, 'M'> & EnsureNonVoid<M>, PublicDefaults = UnwrapMixinsType<PublicMixin, 'Defaults'> & EnsureNonVoid<Defaults>> = ComponentPublicInstance<PublicP, PublicB, PublicD, PublicC, PublicM, E, PublicProps, PublicDefaults, MakeDefaultsOptional, ComponentOptionsBase<P, B, D, C, M, Mixin, Extends, E, string, Defaults>>;
560
+ export declare type CreateComponentPublicInstance<P = {}, B = {}, D = {}, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = {}, PublicProps = P, Defaults = {}, MakeDefaultsOptional extends boolean = false, I extends ComponentInjectOptions = {}, PublicMixin = IntersectionMixin<Mixin> & IntersectionMixin<Extends>, PublicP = UnwrapMixinsType<PublicMixin, 'P'> & EnsureNonVoid<P>, PublicB = UnwrapMixinsType<PublicMixin, 'B'> & EnsureNonVoid<B>, PublicD = UnwrapMixinsType<PublicMixin, 'D'> & EnsureNonVoid<D>, PublicC extends ComputedOptions = UnwrapMixinsType<PublicMixin, 'C'> & EnsureNonVoid<C>, PublicM extends MethodOptions = UnwrapMixinsType<PublicMixin, 'M'> & EnsureNonVoid<M>, PublicDefaults = UnwrapMixinsType<PublicMixin, 'Defaults'> & EnsureNonVoid<Defaults>> = ComponentPublicInstance<PublicP, PublicB, PublicD, PublicC, PublicM, E, PublicProps, PublicDefaults, MakeDefaultsOptional, ComponentOptionsBase<P, B, D, C, M, Mixin, Extends, E, string, Defaults>, I>;
571
561
 
572
562
  /**
573
563
  * @private
@@ -662,13 +652,13 @@ export declare type DefineComponent<PropsOrPropOptions = {}, RawBindings = {}, D
662
652
 
663
653
  export declare function defineComponent<Props, RawBindings = object>(setup: (props: Readonly<Props>, ctx: SetupContext) => RawBindings | RenderFunction): DefineComponent<Props, RawBindings>;
664
654
 
665
- export declare function defineComponent<Props = {}, RawBindings = {}, D = {}, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = {}, EE extends string = string>(options: ComponentOptionsWithoutProps<Props, RawBindings, D, C, M, Mixin, Extends, E, EE>): DefineComponent<Props, RawBindings, D, C, M, Mixin, Extends, E, EE>;
655
+ export declare function defineComponent<Props = {}, RawBindings = {}, D = {}, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = {}, EE extends string = string, I extends ComponentInjectOptions = {}, II extends string = string>(options: ComponentOptionsWithoutProps<Props, RawBindings, D, C, M, Mixin, Extends, E, EE, I, II>): DefineComponent<Props, RawBindings, D, C, M, Mixin, Extends, E, EE>;
666
656
 
667
- export declare function defineComponent<PropNames extends string, RawBindings, D, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = {}, EE extends string = string>(options: ComponentOptionsWithArrayProps<PropNames, RawBindings, D, C, M, Mixin, Extends, E, EE>): DefineComponent<Readonly<{
657
+ export declare function defineComponent<PropNames extends string, RawBindings, D, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = {}, EE extends string = string, I extends ComponentInjectOptions = {}, II extends string = string>(options: ComponentOptionsWithArrayProps<PropNames, RawBindings, D, C, M, Mixin, Extends, E, EE, I, II>): DefineComponent<Readonly<{
668
658
  [key in PropNames]?: any;
669
659
  }>, RawBindings, D, C, M, Mixin, Extends, E, EE>;
670
660
 
671
- export declare function defineComponent<PropsOptions extends Readonly<ComponentPropsOptions>, RawBindings, D, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = {}, EE extends string = string>(options: ComponentOptionsWithObjectProps<PropsOptions, RawBindings, D, C, M, Mixin, Extends, E, EE>): DefineComponent<PropsOptions, RawBindings, D, C, M, Mixin, Extends, E, EE>;
661
+ export declare function defineComponent<PropsOptions extends Readonly<ComponentPropsOptions>, RawBindings, D, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = {}, EE extends string = string, I extends ComponentInjectOptions = {}, II extends string = string>(options: ComponentOptionsWithObjectProps<PropsOptions, RawBindings, D, C, M, Mixin, Extends, E, EE, I, II>): DefineComponent<PropsOptions, RawBindings, D, C, M, Mixin, Extends, E, EE>;
672
662
 
673
663
  /**
674
664
  * Vue `<script setup>` compiler macro for declaring a component's emitted
@@ -805,11 +795,16 @@ declare interface DevtoolsHook {
805
795
  once: (event: string, handler: Function) => void;
806
796
  off: (event: string, handler: Function) => void;
807
797
  appRecords: AppRecord[];
798
+ /**
799
+ * Added at https://github.com/vuejs/devtools/commit/f2ad51eea789006ab66942e5a27c0f0986a257f9
800
+ * Returns wether the arg was buffered or not
801
+ */
802
+ cleanupBuffer?: (matchArg: unknown) => boolean;
808
803
  }
809
804
 
810
805
  export declare type Directive<T = any, V = any> = ObjectDirective<T, V> | FunctionDirective<T, V>;
811
806
 
812
- export declare type DirectiveArguments = Array<[Directive] | [Directive, any] | [Directive, any, string] | [Directive, any, string, DirectiveModifiers]>;
807
+ export declare type DirectiveArguments = Array<[Directive | undefined] | [Directive | undefined, any] | [Directive | undefined, any, string] | [Directive | undefined, any, string, DirectiveModifiers]>;
813
808
 
814
809
  export declare interface DirectiveBinding<V = any> {
815
810
  instance: ComponentPublicInstance | null;
@@ -935,7 +930,7 @@ export declare function h(type: typeof Fragment, children?: VNodeArrayChildren):
935
930
 
936
931
  export declare function h(type: typeof Fragment, props?: RawProps | null, children?: VNodeArrayChildren): VNode;
937
932
 
938
- export declare function h(type: typeof Teleport, props: RawProps & TeleportProps, children: RawChildren): VNode;
933
+ export declare function h(type: typeof Teleport, props: RawProps & TeleportProps, children: RawChildren | RawSlots): VNode;
939
934
 
940
935
  export declare function h(type: typeof Suspense, children?: RawChildren): VNode;
941
936
 
@@ -949,7 +944,7 @@ export declare function h<P>(type: ConcreteComponent | string, children?: RawChi
949
944
 
950
945
  export declare function h<P>(type: ConcreteComponent<P> | string, props?: (RawProps & P) | ({} extends P ? null : never), children?: RawChildren): VNode;
951
946
 
952
- export declare function h(type: Component, props: null, children?: RawChildren | RawSlots): VNode;
947
+ export declare function h<P>(type: Component<P>, props?: (RawProps & P) | null, children?: RawChildren | RawSlots): VNode;
953
948
 
954
949
  export declare function h<P>(type: ComponentOptions<P>, props?: (RawProps & P) | ({} extends P ? null : never), children?: RawChildren | RawSlots): VNode;
955
950
 
@@ -1010,6 +1005,12 @@ export declare function inject<T>(key: InjectionKey<T> | string, defaultValue: T
1010
1005
  export declare interface InjectionKey<T> extends Symbol {
1011
1006
  }
1012
1007
 
1008
+ declare type InjectToObject<T extends ComponentInjectOptions> = T extends string[] ? {
1009
+ [K in T[number]]?: unknown;
1010
+ } : T extends ObjectInjectOptions ? {
1011
+ [K in keyof T]?: unknown;
1012
+ } : never;
1013
+
1013
1014
  /* Excluded from this release type: InternalRenderFunction */
1014
1015
 
1015
1016
  declare type InternalSlots = {
@@ -1078,7 +1079,7 @@ export declare type LegacyConfig = {
1078
1079
  productionTip?: boolean;
1079
1080
  };
1080
1081
 
1081
- declare interface LegacyOptions<Props, D, C extends ComputedOptions, M extends MethodOptions, Mixin extends ComponentOptionsMixin, Extends extends ComponentOptionsMixin> {
1082
+ declare interface LegacyOptions<Props, D, C extends ComputedOptions, M extends MethodOptions, Mixin extends ComponentOptionsMixin, Extends extends ComponentOptionsMixin, I extends ComponentInjectOptions, II extends string> {
1082
1083
  compatConfig?: CompatConfig;
1083
1084
  [key: string]: any;
1084
1085
  data?: (this: CreateComponentPublicInstance<Props, {}, {}, {}, MethodOptions, Mixin, Extends>, vm: CreateComponentPublicInstance<Props, {}, {}, {}, MethodOptions, Mixin, Extends>) => D;
@@ -1086,7 +1087,7 @@ declare interface LegacyOptions<Props, D, C extends ComputedOptions, M extends M
1086
1087
  methods?: M;
1087
1088
  watch?: ComponentWatchOptions;
1088
1089
  provide?: ComponentProvideOptions;
1089
- inject?: ComponentInjectOptions;
1090
+ inject?: I | II[];
1090
1091
  filters?: Record<string, Function>;
1091
1092
  mixins?: Mixin[];
1092
1093
  extends?: Extends;
@@ -1375,7 +1376,7 @@ declare interface PropOptions<T = any, D = T> {
1375
1376
  }
1376
1377
 
1377
1378
  declare type PropsWithDefaults<Base, Defaults> = Base & {
1378
- [K in keyof Defaults]: K extends keyof Base ? NotUndefined<Base[K]> : never;
1379
+ [K in keyof Defaults]: K extends keyof Base ? Defaults[K] extends undefined ? Base[K] : NotUndefined<Base[K]> : never;
1379
1380
  };
1380
1381
 
1381
1382
  export declare type PropType<T> = PropConstructor<T> | PropConstructor<T>[];
@@ -1394,6 +1395,8 @@ export declare function pushScopeId(id: string | null): void;
1394
1395
 
1395
1396
  export declare function queuePostFlushCb(cb: SchedulerJobs): void;
1396
1397
 
1398
+ export { Raw }
1399
+
1397
1400
  declare type RawChildren = string | number | boolean | VNode | VNodeArrayChildren | (() => any);
1398
1401
 
1399
1402
  declare type RawProps = VNodeProps & {
@@ -1861,6 +1864,7 @@ export declare interface VNode<HostNode = RendererNode, HostElement = RendererEl
1861
1864
  /* Excluded from this release type: dynamicProps */
1862
1865
  /* Excluded from this release type: dynamicChildren */
1863
1866
  appContext: AppContext | null;
1867
+ /* Excluded from this release type: ctx */
1864
1868
  /* Excluded from this release type: memo */
1865
1869
  /* Excluded from this release type: isCompatRoot */
1866
1870
  /* Excluded from this release type: ce */
@@ -1902,7 +1906,7 @@ export declare type VNodeProps = {
1902
1906
 
1903
1907
  export declare type VNodeRef = string | Ref | ((ref: Element | ComponentPublicInstance | null, refs: Record<string, any>) => void);
1904
1908
 
1905
- export declare type VNodeTypes = string | VNode | Component | typeof Text_2 | typeof Static | typeof Comment_2 | typeof Fragment | typeof TeleportImpl | typeof SuspenseImpl;
1909
+ export declare type VNodeTypes = string | VNode | Component | typeof Text_2 | typeof Static | typeof Comment_2 | typeof Fragment | typeof Teleport | typeof TeleportImpl | typeof Suspense | typeof SuspenseImpl;
1906
1910
 
1907
1911
  declare type VNodeUpdateHook = (vnode: VNode, oldVNode: VNode) => void;
1908
1912
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/runtime-core",
3
- "version": "3.2.40",
3
+ "version": "3.2.45",
4
4
  "description": "@vue/runtime-core",
5
5
  "main": "index.js",
6
6
  "module": "dist/runtime-core.esm-bundler.js",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-core#readme",
34
34
  "dependencies": {
35
- "@vue/shared": "3.2.40",
36
- "@vue/reactivity": "3.2.40"
35
+ "@vue/shared": "3.2.45",
36
+ "@vue/reactivity": "3.2.45"
37
37
  }
38
38
  }
@@ -1,4 +1,5 @@
1
1
  import { BaseTransitionProps } from '@vue/runtime-core';
2
+ import { ComponentInjectOptions } from '@vue/runtime-core';
2
3
  import { ComponentInternalInstance } from '@vue/runtime-core';
3
4
  import { ComponentOptionsMixin } from '@vue/runtime-core';
4
5
  import { ComponentOptionsWithArrayProps } from '@vue/runtime-core';
@@ -21,6 +22,8 @@ import { SetupContext } from '@vue/runtime-core';
21
22
 
22
23
  declare const ANIMATION = "animation";
23
24
 
25
+ declare type AnimationTypes = typeof TRANSITION | typeof ANIMATION;
26
+
24
27
  declare type AssignerFn = (value: any) => void;
25
28
 
26
29
  declare const BaseClass: {
@@ -34,17 +37,17 @@ export declare const createSSRApp: CreateAppFunction<Element>;
34
37
 
35
38
  export declare function defineCustomElement<Props, RawBindings = object>(setup: (props: Readonly<Props>, ctx: SetupContext) => RawBindings | RenderFunction): VueElementConstructor<Props>;
36
39
 
37
- export declare function defineCustomElement<Props = {}, RawBindings = {}, D = {}, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = EmitsOptions, EE extends string = string>(options: ComponentOptionsWithoutProps<Props, RawBindings, D, C, M, Mixin, Extends, E, EE> & {
40
+ export declare function defineCustomElement<Props = {}, RawBindings = {}, D = {}, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = EmitsOptions, EE extends string = string, I extends ComponentInjectOptions = {}, II extends string = string>(options: ComponentOptionsWithoutProps<Props, RawBindings, D, C, M, Mixin, Extends, E, EE, I, II> & {
38
41
  styles?: string[];
39
42
  }): VueElementConstructor<Props>;
40
43
 
41
- export declare function defineCustomElement<PropNames extends string, RawBindings, D, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = Record<string, any>, EE extends string = string>(options: ComponentOptionsWithArrayProps<PropNames, RawBindings, D, C, M, Mixin, Extends, E, EE> & {
44
+ export declare function defineCustomElement<PropNames extends string, RawBindings, D, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = Record<string, any>, EE extends string = string, I extends ComponentInjectOptions = {}, II extends string = string>(options: ComponentOptionsWithArrayProps<PropNames, RawBindings, D, C, M, Mixin, Extends, E, EE, I, II> & {
42
45
  styles?: string[];
43
46
  }): VueElementConstructor<{
44
47
  [K in PropNames]: any;
45
48
  }>;
46
49
 
47
- export declare function defineCustomElement<PropsOptions extends Readonly<ComponentPropsOptions>, RawBindings, D, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = Record<string, any>, EE extends string = string>(options: ComponentOptionsWithObjectProps<PropsOptions, RawBindings, D, C, M, Mixin, Extends, E, EE> & {
50
+ export declare function defineCustomElement<PropsOptions extends Readonly<ComponentPropsOptions>, RawBindings, D, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = Record<string, any>, EE extends string = string, I extends ComponentInjectOptions = {}, II extends string = string>(options: ComponentOptionsWithObjectProps<PropsOptions, RawBindings, D, C, M, Mixin, Extends, E, EE, I, II> & {
48
51
  styles?: string[];
49
52
  }): VueElementConstructor<ExtractPropTypes<PropsOptions>>;
50
53
 
@@ -83,7 +86,7 @@ export declare type TransitionGroupProps = Omit<TransitionProps, 'mode'> & {
83
86
 
84
87
  export declare interface TransitionProps extends BaseTransitionProps<Element> {
85
88
  name?: string;
86
- type?: typeof TRANSITION | typeof ANIMATION;
89
+ type?: AnimationTypes;
87
90
  css?: boolean;
88
91
  duration?: number | {
89
92
  enter: number;
@@ -139,6 +142,7 @@ export declare class VueElement extends BaseClass {
139
142
  * resolve inner component definition (handle possible async component)
140
143
  */
141
144
  private _resolveDef;
145
+ private _resolveProps;
142
146
  protected _setAttr(key: string): void;
143
147
  /* Excluded from this release type: _getProp */
144
148
  /* Excluded from this release type: _setProp */
@@ -1469,7 +1473,7 @@ export interface Events {
1469
1473
  }
1470
1474
 
1471
1475
  type EventHandlers<E> = {
1472
- [K in keyof E]?: E[K] extends Function ? E[K] : (payload: E[K]) => void
1476
+ [K in keyof E]?: E[K] extends (...args: any) => any ? E[K] : (payload: E[K]) => void
1473
1477
  }
1474
1478
 
1475
1479
  // use namespace import to avoid collision with generated types which use
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/runtime-dom",
3
- "version": "3.2.40",
3
+ "version": "3.2.45",
4
4
  "description": "@vue/runtime-dom",
5
5
  "main": "index.js",
6
6
  "module": "dist/runtime-dom.esm-bundler.js",
@@ -35,8 +35,8 @@
35
35
  },
36
36
  "homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-dom#readme",
37
37
  "dependencies": {
38
- "@vue/shared": "3.2.40",
39
- "@vue/runtime-core": "3.2.40",
38
+ "@vue/shared": "3.2.45",
39
+ "@vue/runtime-core": "3.2.45",
40
40
  "csstype": "^2.6.8"
41
41
  }
42
42
  }
@@ -46,7 +46,8 @@ declare type SSRBufferItem = string | SSRBuffer | Promise<SSRBuffer>;
46
46
  export declare type SSRContext = {
47
47
  [key: string]: any;
48
48
  teleports?: Record<string, string>;
49
- __teleportBuffers?: Record<string, SSRBuffer>;
49
+ /* Excluded from this release type: __teleportBuffers */
50
+ /* Excluded from this release type: __watcherHandles */
50
51
  };
51
52
 
52
53
  export declare function ssrGetDirectiveProps(instance: ComponentPublicInstance, dir: Directive, value?: any, arg?: string, modifiers?: Record<string, boolean>): Record<string, any>;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/server-renderer",
3
- "version": "3.2.40",
3
+ "version": "3.2.45",
4
4
  "description": "@vue/server-renderer",
5
5
  "main": "index.js",
6
6
  "module": "dist/server-renderer.esm-bundler.js",
@@ -32,10 +32,10 @@
32
32
  },
33
33
  "homepage": "https://github.com/vuejs/core/tree/main/packages/server-renderer#readme",
34
34
  "peerDependencies": {
35
- "vue": "3.2.40"
35
+ "vue": "3.2.45"
36
36
  },
37
37
  "dependencies": {
38
- "@vue/shared": "3.2.40",
39
- "@vue/compiler-ssr": "3.2.40"
38
+ "@vue/shared": "3.2.45",
39
+ "@vue/compiler-ssr": "3.2.45"
40
40
  }
41
41
  }
@@ -92,11 +92,6 @@ export declare const isMap: (val: unknown) => val is Map<any, any>;
92
92
 
93
93
  export declare const isModelListener: (key: string) => boolean;
94
94
 
95
- /**
96
- * CSS properties that accept plain numbers
97
- */
98
- export declare const isNoUnitNumericStyleProp: (key: string) => boolean;
99
-
100
95
  export declare const isObject: (val: unknown) => val is Record<any, any>;
101
96
 
102
97
  export declare const isOn: (key: string) => boolean;
@@ -134,7 +129,7 @@ export declare function looseEqual(a: any, b: any): boolean;
134
129
  export declare function looseIndexOf(arr: any[], val: any): number;
135
130
 
136
131
  export declare type LooseRequired<T> = {
137
- [P in string & keyof T]: T[P];
132
+ [P in keyof (T & Required<T>)]: T[P];
138
133
  };
139
134
 
140
135
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/shared",
3
- "version": "3.2.40",
3
+ "version": "3.2.45",
4
4
  "description": "internal utils shared across @vue packages",
5
5
  "main": "index.js",
6
6
  "module": "dist/shared.esm-bundler.js",
@@ -573,7 +573,7 @@ export declare const setActivePinia: (pinia: Pinia | undefined) => Pinia | undef
573
573
  *
574
574
  * @param suffix - new suffix
575
575
  */
576
- export declare function setMapStoreSuffix(suffix: MapStoresCustomization extends Record<'suffix', string> ? MapStoresCustomization['suffix'] : string): void;
576
+ export declare function setMapStoreSuffix(suffix: MapStoresCustomization extends Record<'suffix', infer Suffix> ? Suffix : string): void;
577
577
 
578
578
  /**
579
579
  * Tells Pinia to skip the hydration process of a given object. This is useful in setup stores (only) when you return a
@@ -640,7 +640,7 @@ export declare type StoreGetters<SS> = SS extends Store<string, StateTree, infer
640
640
  * For internal use **only**.
641
641
  */
642
642
  export declare type _StoreObject<S> = S extends StoreDefinition<infer Ids, infer State, infer Getters, infer Actions> ? {
643
- [Id in `${Ids}${MapStoresCustomization extends Record<'suffix', string> ? MapStoresCustomization['suffix'] : 'Store'}`]: () => Store<Id extends `${infer RealId}${MapStoresCustomization extends Record<'suffix', string> ? MapStoresCustomization['suffix'] : 'Store'}` ? RealId : string, State, Getters, Actions>;
643
+ [Id in `${Ids}${MapStoresCustomization extends Record<'suffix', infer Suffix> ? Suffix : 'Store'}`]: () => Store<Id extends `${infer RealId}${MapStoresCustomization extends Record<'suffix', infer Suffix> ? Suffix : 'Store'}` ? RealId : string, State, Getters, Actions>;
644
644
  } : {};
645
645
 
646
646
  /**
@@ -821,6 +821,9 @@ export declare interface _StoreWithState<Id extends string, S extends StateTree,
821
821
  * Stops the associated effect scope of the store and remove it from the store
822
822
  * registry. Plugins can override this method to cleanup any added effects.
823
823
  * e.g. devtools plugin stops displaying disposed stores from devtools.
824
+ * Note this doesn't delete the state of the store, you have to do it manually with
825
+ * `delete pinia.state.value[store.$id]` if you want to. If you don't and the
826
+ * store is used again, it will reuse the previous state.
824
827
  */
825
828
  $dispose(): void;
826
829
  /* Excluded from this release type: _r */
@@ -858,6 +861,12 @@ export declare interface _SubscriptionCallbackMutationBase {
858
861
  * `id` of the store doing the mutation.
859
862
  */
860
863
  storeId: string;
864
+ /**
865
+ * 🔴 DEV ONLY, DO NOT use for production code. Different mutation calls. Comes from
866
+ * https://vuejs.org/guide/extras/reactivity-in-depth.html#reactivity-debugging and allows to track mutations in
867
+ * devtools and plugins **during development only**.
868
+ */
869
+ events?: DebuggerEvent[] | DebuggerEvent;
861
870
  }
862
871
 
863
872
  /**
@@ -867,9 +876,6 @@ export declare interface _SubscriptionCallbackMutationBase {
867
876
  */
868
877
  export declare interface SubscriptionCallbackMutationDirect extends _SubscriptionCallbackMutationBase {
869
878
  type: MutationType.direct;
870
- /**
871
- * DEV ONLY. Different mutation calls.
872
- */
873
879
  events: DebuggerEvent;
874
880
  }
875
881
 
@@ -879,9 +885,6 @@ export declare interface SubscriptionCallbackMutationDirect extends _Subscriptio
879
885
  */
880
886
  export declare interface SubscriptionCallbackMutationPatchFunction extends _SubscriptionCallbackMutationBase {
881
887
  type: MutationType.patchFunction;
882
- /**
883
- * DEV ONLY. Array of all the mutations done inside of the callback.
884
- */
885
888
  events: DebuggerEvent[];
886
889
  }
887
890
 
@@ -891,9 +894,6 @@ export declare interface SubscriptionCallbackMutationPatchFunction extends _Subs
891
894
  */
892
895
  export declare interface SubscriptionCallbackMutationPatchObject<S> extends _SubscriptionCallbackMutationBase {
893
896
  type: MutationType.patchObject;
894
- /**
895
- * DEV ONLY. Array for patch calls.
896
- */
897
897
  events: DebuggerEvent[];
898
898
  /**
899
899
  * Object passed to `store.$patch()`.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinia",
3
- "version": "2.0.22",
3
+ "version": "2.0.27",
4
4
  "description": "Intuitive, type safe and flexible Store for Vue",
5
5
  "main": "index.js",
6
6
  "module": "dist/pinia.mjs",
@@ -62,11 +62,11 @@
62
62
  ],
63
63
  "license": "MIT",
64
64
  "devDependencies": {
65
- "@microsoft/api-extractor": "7.28.6",
66
- "@vue/test-utils": "^2.0.2"
65
+ "@microsoft/api-extractor": "7.33.6",
66
+ "@vue/test-utils": "^2.2.4"
67
67
  },
68
68
  "dependencies": {
69
- "@vue/devtools-api": "^6.2.1",
69
+ "@vue/devtools-api": "^6.4.5",
70
70
  "vue-demi": "*"
71
71
  },
72
72
  "peerDependencies": {