@vue/runtime-core 3.2.37 → 3.2.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/runtime-core.cjs.js +316 -293
- package/dist/runtime-core.cjs.prod.js +255 -238
- package/dist/runtime-core.d.ts +6 -4
- package/dist/runtime-core.esm-bundler.js +320 -299
- package/package.json +3 -3
package/dist/runtime-core.d.ts
CHANGED
|
@@ -262,6 +262,7 @@ export declare type CompatVue = Pick<App, 'version' | 'component' | 'directive'>
|
|
|
262
262
|
declare interface CompiledSlotDescriptor {
|
|
263
263
|
name: string;
|
|
264
264
|
fn: Slot;
|
|
265
|
+
key?: string;
|
|
265
266
|
}
|
|
266
267
|
|
|
267
268
|
/**
|
|
@@ -661,13 +662,13 @@ export declare type DefineComponent<PropsOrPropOptions = {}, RawBindings = {}, D
|
|
|
661
662
|
|
|
662
663
|
export declare function defineComponent<Props, RawBindings = object>(setup: (props: Readonly<Props>, ctx: SetupContext) => RawBindings | RenderFunction): DefineComponent<Props, RawBindings>;
|
|
663
664
|
|
|
664
|
-
export declare function defineComponent<Props = {}, RawBindings = {}, D = {}, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions =
|
|
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>;
|
|
665
666
|
|
|
666
|
-
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 =
|
|
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<{
|
|
667
668
|
[key in PropNames]?: any;
|
|
668
669
|
}>, RawBindings, D, C, M, Mixin, Extends, E, EE>;
|
|
669
670
|
|
|
670
|
-
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 =
|
|
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>;
|
|
671
672
|
|
|
672
673
|
/**
|
|
673
674
|
* Vue `<script setup>` compiler macro for declaring a component's emitted
|
|
@@ -1566,6 +1567,7 @@ export declare interface RuntimeCompilerOptions {
|
|
|
1566
1567
|
|
|
1567
1568
|
declare interface SchedulerJob extends Function {
|
|
1568
1569
|
id?: number;
|
|
1570
|
+
pre?: boolean;
|
|
1569
1571
|
active?: boolean;
|
|
1570
1572
|
computed?: boolean;
|
|
1571
1573
|
/**
|
|
@@ -1758,7 +1760,7 @@ export { toHandlerKey }
|
|
|
1758
1760
|
* For prefixing keys in v-on="obj" with "on"
|
|
1759
1761
|
* @private
|
|
1760
1762
|
*/
|
|
1761
|
-
export declare function toHandlers(obj: Record<string, any
|
|
1763
|
+
export declare function toHandlers(obj: Record<string, any>, preserveCaseIfNecessary?: boolean): Record<string, any>;
|
|
1762
1764
|
|
|
1763
1765
|
export { toRaw }
|
|
1764
1766
|
|