@vue-jsx-vapor/runtime 2.6.2 → 2.6.3
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/block.d.ts +1 -1
- package/dist/{component-CG7Pcj6B.d.ts → component-f-HDpT45.d.cts} +3 -3
- package/dist/component.d.cts +1 -1
- package/dist/component.d.ts +1 -1
- package/dist/{h-CciLjiMS.d.cts → h-JmVbnDXf.d.cts} +7 -7
- package/dist/{h-D6bW_i_y.d.ts → h-ZvZ1VCbf.d.ts} +8 -8
- package/dist/h.d.cts +1 -1
- package/dist/h.d.ts +2 -2
- package/dist/helpers.d.ts +1 -1
- package/dist/index.cjs +2 -0
- package/dist/index.d.cts +5 -4
- package/dist/index.d.ts +8 -7
- package/dist/index.js +2 -1
- package/dist/{jsx-CRoDhX85.d.ts → jsx-Beo7WcCj.d.ts} +632 -632
- package/dist/{jsx-EFPAy-wt.d.cts → jsx-Dx2zpbtl.d.cts} +634 -634
- package/dist/jsx.d.cts +1 -1
- package/dist/jsx.d.ts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/vue-BvYJtxhH.d.ts +134 -0
- package/dist/vue-CLfSEbpD.js +13 -0
- package/dist/vue-CPpwobxQ.d.cts +134 -0
- package/dist/vue-DN14pNs9.cjs +19 -0
- package/dist/vue.cjs +3 -0
- package/dist/vue.d.cts +2 -0
- package/dist/vue.d.ts +2 -0
- package/dist/vue.js +3 -0
- package/package.json +1 -1
- /package/dist/{block-pPxpKsmV.d.ts → block-u07aeibz.d.ts} +0 -0
- /package/dist/{component-BkffHjyR.d.cts → component-DKpccT17.d.ts} +0 -0
- /package/dist/{helpers-BvOzWbq1.d.ts → helpers-B9BMZz0T.d.ts} +0 -0
- /package/dist/{node-DLEa8Cxk.d.ts → node-C2jZYT0Y.d.ts} +0 -0
package/dist/jsx.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AbstractView, AnchorHTMLAttributes, AnimationEvent, AnimationEventHandler, AreaHTMLAttributes, AriaAttributes, AudioHTMLAttributes, BaseEventHandler, BaseHTMLAttributes, BaseSyntheticEvent, BlockquoteHTMLAttributes, ButtonHTMLAttributes, CSSProperties, CanvasHTMLAttributes, ChangeEvent, ChangeEventHandler, ClipboardEvent, ClipboardEventHandler, ColHTMLAttributes, ColgroupHTMLAttributes, CompositionEvent, CompositionEventHandler, DataHTMLAttributes, DelHTMLAttributes, DetailsHTMLAttributes, DialogHTMLAttributes, DragEvent, DragEventHandler, EmbedHTMLAttributes, EventHandler, EventHandlers, Events, FieldsetHTMLAttributes, FocusEvent, FocusEventHandler, FormEvent, FormEventHandler, FormHTMLAttributes, HTMLAttributes, HtmlHTMLAttributes, IframeHTMLAttributes, ImgHTMLAttributes, InputHTMLAttributes, InputTypeHTMLAttribute, InsHTMLAttributes, IntrinsicElementAttributes, KeyboardEvent, KeyboardEventHandler, KeygenHTMLAttributes, LabelHTMLAttributes, LiHTMLAttributes, LinkHTMLAttributes, MapHTMLAttributes, MediaHTMLAttributes, MenuHTMLAttributes, MetaHTMLAttributes, MeterHTMLAttributes, ModifierKey, MouseEvent, MouseEventHandler, NativeElements, ObjectHTMLAttributes, OlHTMLAttributes, OptgroupHTMLAttributes, OptionHTMLAttributes, OutputHTMLAttributes, ParamHTMLAttributes, ProgressHTMLAttributes, QuoteHTMLAttributes, ReservedProps, SVGAttributes, ScriptHTMLAttributes, SelectHTMLAttributes, SourceHTMLAttributes, StyleHTMLAttributes, StyleValue, SyntheticEvent, TableHTMLAttributes, TdHTMLAttributes, TextareaHTMLAttributes, ThHTMLAttributes, TimeHTMLAttributes, TrackHTMLAttributes, TransitionEvent, TransitionEventHandler, UIEvent, UIEventHandler, VideoHTMLAttributes, WebViewHTMLAttributes, WheelEvent, WheelEventHandler } from "./jsx-
|
|
1
|
+
import { AbstractView, AnchorHTMLAttributes, AnimationEvent, AnimationEventHandler, AreaHTMLAttributes, AriaAttributes, AudioHTMLAttributes, BaseEventHandler, BaseHTMLAttributes, BaseSyntheticEvent, BlockquoteHTMLAttributes, ButtonHTMLAttributes, CSSProperties, CanvasHTMLAttributes, ChangeEvent, ChangeEventHandler, ClipboardEvent, ClipboardEventHandler, ColHTMLAttributes, ColgroupHTMLAttributes, CompositionEvent, CompositionEventHandler, DataHTMLAttributes, DelHTMLAttributes, DetailsHTMLAttributes, DialogHTMLAttributes, DragEvent, DragEventHandler, EmbedHTMLAttributes, EventHandler, EventHandlers, Events, FieldsetHTMLAttributes, FocusEvent, FocusEventHandler, FormEvent, FormEventHandler, FormHTMLAttributes, HTMLAttributes, HtmlHTMLAttributes, IframeHTMLAttributes, ImgHTMLAttributes, InputHTMLAttributes, InputTypeHTMLAttribute, InsHTMLAttributes, IntrinsicElementAttributes, KeyboardEvent, KeyboardEventHandler, KeygenHTMLAttributes, LabelHTMLAttributes, LiHTMLAttributes, LinkHTMLAttributes, MapHTMLAttributes, MediaHTMLAttributes, MenuHTMLAttributes, MetaHTMLAttributes, MeterHTMLAttributes, ModifierKey, MouseEvent, MouseEventHandler, NativeElements, ObjectHTMLAttributes, OlHTMLAttributes, OptgroupHTMLAttributes, OptionHTMLAttributes, OutputHTMLAttributes, ParamHTMLAttributes, ProgressHTMLAttributes, QuoteHTMLAttributes, ReservedProps, SVGAttributes, ScriptHTMLAttributes, SelectHTMLAttributes, SourceHTMLAttributes, StyleHTMLAttributes, StyleValue, SyntheticEvent, TableHTMLAttributes, TdHTMLAttributes, TextareaHTMLAttributes, ThHTMLAttributes, TimeHTMLAttributes, TrackHTMLAttributes, TransitionEvent, TransitionEventHandler, UIEvent, UIEventHandler, VideoHTMLAttributes, WebViewHTMLAttributes, WheelEvent, WheelEventHandler } from "./jsx-Dx2zpbtl.cjs";
|
|
2
2
|
export { AbstractView, AnchorHTMLAttributes, AnimationEvent, AnimationEventHandler, AreaHTMLAttributes, AriaAttributes, AudioHTMLAttributes, BaseEventHandler, BaseHTMLAttributes, BaseSyntheticEvent, BlockquoteHTMLAttributes, ButtonHTMLAttributes, CSSProperties, CanvasHTMLAttributes, ChangeEvent, ChangeEventHandler, ClipboardEvent, ClipboardEventHandler, ColHTMLAttributes, ColgroupHTMLAttributes, CompositionEvent, CompositionEventHandler, DataHTMLAttributes, DelHTMLAttributes, DetailsHTMLAttributes, DialogHTMLAttributes, DragEvent, DragEventHandler, EmbedHTMLAttributes, EventHandler, EventHandlers, Events, FieldsetHTMLAttributes, FocusEvent, FocusEventHandler, FormEvent, FormEventHandler, FormHTMLAttributes, HTMLAttributes, HtmlHTMLAttributes, IframeHTMLAttributes, ImgHTMLAttributes, InputHTMLAttributes, InputTypeHTMLAttribute, InsHTMLAttributes, IntrinsicElementAttributes, KeyboardEvent, KeyboardEventHandler, KeygenHTMLAttributes, LabelHTMLAttributes, LiHTMLAttributes, LinkHTMLAttributes, MapHTMLAttributes, MediaHTMLAttributes, MenuHTMLAttributes, MetaHTMLAttributes, MeterHTMLAttributes, ModifierKey, MouseEvent, MouseEventHandler, NativeElements, ObjectHTMLAttributes, OlHTMLAttributes, OptgroupHTMLAttributes, OptionHTMLAttributes, OutputHTMLAttributes, ParamHTMLAttributes, ProgressHTMLAttributes, QuoteHTMLAttributes, ReservedProps, SVGAttributes, ScriptHTMLAttributes, SelectHTMLAttributes, SourceHTMLAttributes, StyleHTMLAttributes, StyleValue, SyntheticEvent, TableHTMLAttributes, TdHTMLAttributes, TextareaHTMLAttributes, ThHTMLAttributes, TimeHTMLAttributes, TrackHTMLAttributes, TransitionEvent, TransitionEventHandler, UIEvent, UIEventHandler, VideoHTMLAttributes, WebViewHTMLAttributes, WheelEvent, WheelEventHandler };
|
package/dist/jsx.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AbstractView, AnchorHTMLAttributes, AnimationEvent, AnimationEventHandler, AreaHTMLAttributes, AriaAttributes, AudioHTMLAttributes, BaseEventHandler, BaseHTMLAttributes, BaseSyntheticEvent, BlockquoteHTMLAttributes, ButtonHTMLAttributes, CSSProperties, CanvasHTMLAttributes, ChangeEvent, ChangeEventHandler, ClipboardEvent, ClipboardEventHandler, ColHTMLAttributes, ColgroupHTMLAttributes, CompositionEvent, CompositionEventHandler, DataHTMLAttributes, DelHTMLAttributes, DetailsHTMLAttributes, DialogHTMLAttributes, DragEvent, DragEventHandler, EmbedHTMLAttributes, EventHandler, EventHandlers, Events, FieldsetHTMLAttributes, FocusEvent, FocusEventHandler, FormEvent, FormEventHandler, FormHTMLAttributes, HTMLAttributes, HtmlHTMLAttributes, IframeHTMLAttributes, ImgHTMLAttributes, InputHTMLAttributes, InputTypeHTMLAttribute, InsHTMLAttributes, IntrinsicElementAttributes, KeyboardEvent, KeyboardEventHandler, KeygenHTMLAttributes, LabelHTMLAttributes, LiHTMLAttributes, LinkHTMLAttributes, MapHTMLAttributes, MediaHTMLAttributes, MenuHTMLAttributes, MetaHTMLAttributes, MeterHTMLAttributes, ModifierKey, MouseEvent, MouseEventHandler, NativeElements, ObjectHTMLAttributes, OlHTMLAttributes, OptgroupHTMLAttributes, OptionHTMLAttributes, OutputHTMLAttributes, ParamHTMLAttributes, ProgressHTMLAttributes, QuoteHTMLAttributes, ReservedProps, SVGAttributes, ScriptHTMLAttributes, SelectHTMLAttributes, SourceHTMLAttributes, StyleHTMLAttributes, StyleValue, SyntheticEvent, TableHTMLAttributes, TdHTMLAttributes, TextareaHTMLAttributes, ThHTMLAttributes, TimeHTMLAttributes, TrackHTMLAttributes, TransitionEvent, TransitionEventHandler, UIEvent, UIEventHandler, VideoHTMLAttributes, WebViewHTMLAttributes, WheelEvent, WheelEventHandler } from "./jsx-
|
|
1
|
+
import { AbstractView, AnchorHTMLAttributes, AnimationEvent, AnimationEventHandler, AreaHTMLAttributes, AriaAttributes, AudioHTMLAttributes, BaseEventHandler, BaseHTMLAttributes, BaseSyntheticEvent, BlockquoteHTMLAttributes, ButtonHTMLAttributes, CSSProperties, CanvasHTMLAttributes, ChangeEvent, ChangeEventHandler, ClipboardEvent, ClipboardEventHandler, ColHTMLAttributes, ColgroupHTMLAttributes, CompositionEvent, CompositionEventHandler, DataHTMLAttributes, DelHTMLAttributes, DetailsHTMLAttributes, DialogHTMLAttributes, DragEvent, DragEventHandler, EmbedHTMLAttributes, EventHandler, EventHandlers, Events, FieldsetHTMLAttributes, FocusEvent, FocusEventHandler, FormEvent, FormEventHandler, FormHTMLAttributes, HTMLAttributes, HtmlHTMLAttributes, IframeHTMLAttributes, ImgHTMLAttributes, InputHTMLAttributes, InputTypeHTMLAttribute, InsHTMLAttributes, IntrinsicElementAttributes, KeyboardEvent, KeyboardEventHandler, KeygenHTMLAttributes, LabelHTMLAttributes, LiHTMLAttributes, LinkHTMLAttributes, MapHTMLAttributes, MediaHTMLAttributes, MenuHTMLAttributes, MetaHTMLAttributes, MeterHTMLAttributes, ModifierKey, MouseEvent, MouseEventHandler, NativeElements, ObjectHTMLAttributes, OlHTMLAttributes, OptgroupHTMLAttributes, OptionHTMLAttributes, OutputHTMLAttributes, ParamHTMLAttributes, ProgressHTMLAttributes, QuoteHTMLAttributes, ReservedProps, SVGAttributes, ScriptHTMLAttributes, SelectHTMLAttributes, SourceHTMLAttributes, StyleHTMLAttributes, StyleValue, SyntheticEvent, TableHTMLAttributes, TdHTMLAttributes, TextareaHTMLAttributes, ThHTMLAttributes, TimeHTMLAttributes, TrackHTMLAttributes, TransitionEvent, TransitionEventHandler, UIEvent, UIEventHandler, VideoHTMLAttributes, WebViewHTMLAttributes, WheelEvent, WheelEventHandler } from "./jsx-Beo7WcCj.js";
|
|
2
2
|
export { AbstractView, AnchorHTMLAttributes, AnimationEvent, AnimationEventHandler, AreaHTMLAttributes, AriaAttributes, AudioHTMLAttributes, BaseEventHandler, BaseHTMLAttributes, BaseSyntheticEvent, BlockquoteHTMLAttributes, ButtonHTMLAttributes, CSSProperties, CanvasHTMLAttributes, ChangeEvent, ChangeEventHandler, ClipboardEvent, ClipboardEventHandler, ColHTMLAttributes, ColgroupHTMLAttributes, CompositionEvent, CompositionEventHandler, DataHTMLAttributes, DelHTMLAttributes, DetailsHTMLAttributes, DialogHTMLAttributes, DragEvent, DragEventHandler, EmbedHTMLAttributes, EventHandler, EventHandlers, Events, FieldsetHTMLAttributes, FocusEvent, FocusEventHandler, FormEvent, FormEventHandler, FormHTMLAttributes, HTMLAttributes, HtmlHTMLAttributes, IframeHTMLAttributes, ImgHTMLAttributes, InputHTMLAttributes, InputTypeHTMLAttribute, InsHTMLAttributes, IntrinsicElementAttributes, KeyboardEvent, KeyboardEventHandler, KeygenHTMLAttributes, LabelHTMLAttributes, LiHTMLAttributes, LinkHTMLAttributes, MapHTMLAttributes, MediaHTMLAttributes, MenuHTMLAttributes, MetaHTMLAttributes, MeterHTMLAttributes, ModifierKey, MouseEvent, MouseEventHandler, NativeElements, ObjectHTMLAttributes, OlHTMLAttributes, OptgroupHTMLAttributes, OptionHTMLAttributes, OutputHTMLAttributes, ParamHTMLAttributes, ProgressHTMLAttributes, QuoteHTMLAttributes, ReservedProps, SVGAttributes, ScriptHTMLAttributes, SelectHTMLAttributes, SourceHTMLAttributes, StyleHTMLAttributes, StyleValue, SyntheticEvent, TableHTMLAttributes, TdHTMLAttributes, TextareaHTMLAttributes, ThHTMLAttributes, TimeHTMLAttributes, TrackHTMLAttributes, TransitionEvent, TransitionEventHandler, UIEvent, UIEventHandler, VideoHTMLAttributes, WebViewHTMLAttributes, WheelEvent, WheelEventHandler };
|
package/dist/node.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { createNodes, setNodes } from "./node-
|
|
1
|
+
import { createNodes, setNodes } from "./node-C2jZYT0Y.js";
|
|
2
2
|
export { createNodes, setNodes };
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { AllowedComponentProps, Block, ComponentCustomProps, ComponentInternalOptions, ComponentObjectPropsOptions, ComponentPropsOptions, ComponentTypeEmits, EffectScope, EmitFn, EmitsOptions, EmitsToProps, ExtractDefaultPropTypes, ExtractPropTypes, GenericAppContext, GenericComponentInstance, LifecycleHook, NormalizedPropsOptions, ObjectEmitsOptions, RawProps, RawSlots, ReservedProps, ShallowRef, ShallowUnwrapRef, SharedInternalOptions, StaticSlots, SuspenseBoundary, VNode } from "vue";
|
|
2
|
+
|
|
3
|
+
//#region src/vue.d.ts
|
|
4
|
+
type Prettify<T> = { [K in keyof T]: T[K] } & {};
|
|
5
|
+
type OverloadParameters<T extends (...args: any[]) => any> = Parameters<OverloadUnion<T>>;
|
|
6
|
+
type OverloadProps<TOverload> = Pick<TOverload, keyof TOverload>;
|
|
7
|
+
type OverloadUnionRecursive<TOverload, TPartialOverload = unknown> = TOverload extends ((...args: infer TArgs) => infer TReturn) ? TPartialOverload extends TOverload ? never : OverloadUnionRecursive<TPartialOverload & TOverload, TPartialOverload & ((...args: TArgs) => TReturn) & OverloadProps<TOverload>> | ((...args: TArgs) => TReturn) : never;
|
|
8
|
+
type OverloadUnion<TOverload extends (...args: any[]) => any> = Exclude<OverloadUnionRecursive<(() => never) & TOverload>, TOverload extends (() => never) ? never : () => never>;
|
|
9
|
+
type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N;
|
|
10
|
+
type IsKeyValues<T, K = string> = IfAny<T, false, T extends object ? (keyof T extends K ? true : false) : false>;
|
|
11
|
+
declare class VaporComponentInstance<Props extends Record<string, any> = {}, Emits extends EmitsOptions = {}, Slots extends StaticSlots = StaticSlots, Exposed extends Record<string, any> = Record<string, any>, TypeBlock extends Block = Block, TypeRefs extends Record<string, any> = Record<string, any>> implements GenericComponentInstance {
|
|
12
|
+
vapor: true;
|
|
13
|
+
uid: number;
|
|
14
|
+
type: VaporComponent$1;
|
|
15
|
+
root: GenericComponentInstance | null;
|
|
16
|
+
parent: GenericComponentInstance | null;
|
|
17
|
+
appContext: GenericAppContext;
|
|
18
|
+
block: TypeBlock;
|
|
19
|
+
scope: EffectScope;
|
|
20
|
+
rawProps: RawProps;
|
|
21
|
+
rawSlots: RawSlots;
|
|
22
|
+
props: Readonly<Props>;
|
|
23
|
+
attrs: Record<string, any>;
|
|
24
|
+
propsDefaults: Record<string, any> | null;
|
|
25
|
+
slots: Slots;
|
|
26
|
+
rawPropsRef?: ShallowRef<any>;
|
|
27
|
+
rawSlotsRef?: ShallowRef<any>;
|
|
28
|
+
emit: EmitFn<Emits>;
|
|
29
|
+
emitted: Record<string, boolean> | null;
|
|
30
|
+
expose: (<T extends Record<string, any> = Exposed>(exposed: T) => void) & string[];
|
|
31
|
+
exposed: Record<string, any> extends Exposed ? Exposed | null : Exposed;
|
|
32
|
+
exposeProxy: Record<string, any> extends Exposed ? Exposed | null : ShallowUnwrapRef<Exposed>;
|
|
33
|
+
refs: TypeRefs;
|
|
34
|
+
provides: Record<string, any>;
|
|
35
|
+
ids: [string, number, number];
|
|
36
|
+
suspense: SuspenseBoundary | null;
|
|
37
|
+
hasFallthrough: boolean;
|
|
38
|
+
isMounted: boolean;
|
|
39
|
+
isUnmounted: boolean;
|
|
40
|
+
isDeactivated: boolean;
|
|
41
|
+
isUpdating: boolean;
|
|
42
|
+
bc?: LifecycleHook;
|
|
43
|
+
c?: LifecycleHook;
|
|
44
|
+
bm?: LifecycleHook;
|
|
45
|
+
m?: LifecycleHook;
|
|
46
|
+
bu?: LifecycleHook;
|
|
47
|
+
u?: LifecycleHook;
|
|
48
|
+
um?: LifecycleHook;
|
|
49
|
+
bum?: LifecycleHook;
|
|
50
|
+
da?: LifecycleHook;
|
|
51
|
+
a?: LifecycleHook;
|
|
52
|
+
rtg?: LifecycleHook;
|
|
53
|
+
rtc?: LifecycleHook;
|
|
54
|
+
ec?: LifecycleHook;
|
|
55
|
+
sp?: LifecycleHook<() => Promise<unknown>>;
|
|
56
|
+
setupState?: Exposed extends Block ? undefined : ShallowUnwrapRef<Exposed>;
|
|
57
|
+
devtoolsRawSetupState?: any;
|
|
58
|
+
hmrRerender?: () => void;
|
|
59
|
+
hmrReload?: (newComp: VaporComponent$1) => void;
|
|
60
|
+
propsOptions?: NormalizedPropsOptions;
|
|
61
|
+
emitsOptions?: ObjectEmitsOptions | null;
|
|
62
|
+
isSingleRoot?: boolean;
|
|
63
|
+
constructor(comp: VaporComponent$1, rawProps?: RawProps | null, rawSlots?: RawSlots | null, appContext?: GenericAppContext);
|
|
64
|
+
/**
|
|
65
|
+
* Expose `getKeysFromRawProps` on the instance so it can be used in code
|
|
66
|
+
* paths where it's needed, e.g. `useModel`
|
|
67
|
+
*/
|
|
68
|
+
rawKeys(): string[];
|
|
69
|
+
}
|
|
70
|
+
interface ObjectVaporComponent<Props = ComponentPropsOptions, Emits extends EmitsOptions = {}, RuntimeEmitsKeys extends string = string, Slots extends StaticSlots = StaticSlots, Exposed extends Record<string, any> = Record<string, any>, TypeBlock extends Block = Block, InferredProps = (ComponentObjectPropsOptions extends Props ? {} : ExtractPropTypes<Props>)> extends ComponentInternalOptions, SharedInternalOptions {
|
|
71
|
+
inheritAttrs?: boolean;
|
|
72
|
+
props?: Props;
|
|
73
|
+
emits?: Emits | RuntimeEmitsKeys[];
|
|
74
|
+
slots?: Slots;
|
|
75
|
+
setup?: VaporSetupFn<InferredProps, Emits, Slots, Exposed, TypeBlock>;
|
|
76
|
+
render?: (ctx: Exposed extends Block ? undefined : ShallowUnwrapRef<Exposed>, props: Readonly<InferredProps>, emit: EmitFn<Emits>, attrs: any, slots: Slots) => RenderReturn<TypeBlock>;
|
|
77
|
+
name?: string;
|
|
78
|
+
vapor?: boolean;
|
|
79
|
+
}
|
|
80
|
+
type VaporComponent$1 = FunctionalVaporComponent | ObjectVaporComponent | DefineVaporComponent;
|
|
81
|
+
type FunctionalVaporComponent = VaporSetupFn & Omit<ObjectVaporComponent, 'setup'> & {
|
|
82
|
+
displayName?: string;
|
|
83
|
+
} & SharedInternalOptions;
|
|
84
|
+
type VaporSetupFn<Props = {}, Emits extends EmitsOptions = {}, Slots extends StaticSlots = StaticSlots, Exposed extends Record<string, any> = Record<string, any>, TypeBlock extends Block = Block> = (props: Readonly<Props>, ctx: {
|
|
85
|
+
emit: EmitFn<Emits>;
|
|
86
|
+
slots: Slots;
|
|
87
|
+
attrs: Record<string, any>;
|
|
88
|
+
expose: <T extends Record<string, any> = Exposed>(exposed: T) => void;
|
|
89
|
+
}) => TypeBlock | Exposed | Promise<Exposed> | void;
|
|
90
|
+
type TypeEmitsToOptions<T extends ComponentTypeEmits> = { [K in keyof T & string]: T[K] extends [...args: infer Args] ? (...args: Args) => any : () => any } & (T extends ((...args: any[]) => any) ? ParametersToFns<OverloadParameters<T>> : {});
|
|
91
|
+
type ParametersToFns<T extends any[]> = { [K in T[0]]: IsStringLiteral<K> extends true ? (...args: T extends [e: infer E, ...args: infer P] ? K extends E ? P : never : never) => any : never };
|
|
92
|
+
type IsStringLiteral<T> = T extends string ? string extends T ? false : true : false;
|
|
93
|
+
type VaporComponentInstanceConstructor<T extends VaporComponentInstance> = {
|
|
94
|
+
__isFragment?: never;
|
|
95
|
+
__isTeleport?: never;
|
|
96
|
+
__isSuspense?: never;
|
|
97
|
+
new (props?: T['props']): T;
|
|
98
|
+
};
|
|
99
|
+
type VaporPublicProps = ReservedProps & AllowedComponentProps & ComponentCustomProps;
|
|
100
|
+
type RenderReturn<T extends Block = Block> = VNode | T | RenderReturn<T>[];
|
|
101
|
+
type DefineVaporComponent<RuntimePropsOptions = {}, RuntimePropsKeys extends string = string, Emits extends EmitsOptions = {}, RuntimeEmitsKeys extends string = string, Slots extends StaticSlots = StaticSlots, Exposed extends Record<string, any> = Record<string, any>, TypeBlock extends Block = Block, TypeRefs extends Record<string, unknown> = {}, MakeDefaultsOptional extends boolean = true, InferredProps = (string extends RuntimePropsKeys ? ComponentObjectPropsOptions extends RuntimePropsOptions ? {} : ExtractPropTypes<RuntimePropsOptions> : { [key in RuntimePropsKeys]?: any }), PublicProps = VaporPublicProps, ResolvedProps = InferredProps & EmitsToProps<Emits>, Defaults = ExtractDefaultPropTypes<RuntimePropsOptions>> = VaporComponentInstanceConstructor<VaporComponentInstance<MakeDefaultsOptional extends true ? keyof Defaults extends never ? Prettify<ResolvedProps> & PublicProps : Partial<Defaults> & Omit<Prettify<ResolvedProps> & PublicProps, keyof Defaults> : Prettify<ResolvedProps> & PublicProps, Emits, Slots, Exposed, TypeBlock, TypeRefs>> & ObjectVaporComponent<RuntimePropsOptions | RuntimePropsKeys[], Emits, RuntimeEmitsKeys, Slots, Exposed>;
|
|
102
|
+
type DefineVaporSetupFnComponent<Props extends Record<string, any> = {}, Emits extends EmitsOptions = {}, Slots extends StaticSlots = StaticSlots, Exposed extends Record<string, any> = Record<string, any>, TypeBlock extends Block = Block, ResolvedProps extends Record<string, any> = Props & EmitsToProps<Emits> & VaporPublicProps> = new (props?: ResolvedProps) => VaporComponentInstance<ResolvedProps, Emits, Slots, Exposed, TypeBlock>;
|
|
103
|
+
declare function defineVaporComponent<Props extends Record<string, any>, Emits extends EmitsOptions = {}, RuntimeEmitsKeys extends string = string, Slots extends StaticSlots = StaticSlots, Exposed extends Record<string, any> = Record<string, any>, TypeBlock extends Block = Block>(setup: (props: Props, ctx: {
|
|
104
|
+
emit: EmitFn<Emits>;
|
|
105
|
+
slots: Slots;
|
|
106
|
+
attrs: Record<string, any>;
|
|
107
|
+
expose: (exposed: Exposed) => void;
|
|
108
|
+
}) => RenderReturn<TypeBlock>, extraOptions?: ObjectVaporComponent<(keyof Props)[], Emits, RuntimeEmitsKeys, Slots, Exposed> & ThisType<void>): DefineVaporSetupFnComponent<Props, Emits, Slots, Exposed, TypeBlock>;
|
|
109
|
+
declare function defineVaporComponent<Props extends Record<string, any>, Emits extends EmitsOptions = {}, RuntimeEmitsKeys extends string = string, Slots extends StaticSlots = StaticSlots, Exposed extends Record<string, any> = Record<string, any>, TypeBlock extends Block = Block>(setup: (props: Props, ctx: {
|
|
110
|
+
emit: EmitFn<Emits>;
|
|
111
|
+
slots: Slots;
|
|
112
|
+
attrs: Record<string, any>;
|
|
113
|
+
expose: (exposed: Exposed) => void;
|
|
114
|
+
}) => RenderReturn<TypeBlock>, extraOptions?: ObjectVaporComponent<ComponentObjectPropsOptions<Props>, Emits, RuntimeEmitsKeys, Slots, Exposed> & ThisType<void>): DefineVaporSetupFnComponent<Props, Emits, Slots, Exposed, TypeBlock>;
|
|
115
|
+
declare function defineVaporComponent<TypeProps, RuntimePropsOptions extends ComponentObjectPropsOptions = ComponentObjectPropsOptions, RuntimePropsKeys extends string = string, TypeEmits extends ComponentTypeEmits = {}, RuntimeEmitsOptions extends EmitsOptions = {}, RuntimeEmitsKeys extends string = string, Slots extends StaticSlots = StaticSlots, Exposed extends Record<string, any> = Record<string, any>, ResolvedEmits extends EmitsOptions = ({} extends RuntimeEmitsOptions ? TypeEmitsToOptions<TypeEmits> : RuntimeEmitsOptions), InferredProps = (IsKeyValues<TypeProps> extends true ? TypeProps : string extends RuntimePropsKeys ? ComponentObjectPropsOptions extends RuntimePropsOptions ? {} : ExtractPropTypes<RuntimePropsOptions> : { [key in RuntimePropsKeys]?: any }), TypeRefs extends Record<string, unknown> = {}, TypeBlock extends Block = Block>(options: ObjectVaporComponent<RuntimePropsOptions | RuntimePropsKeys[], ResolvedEmits, RuntimeEmitsKeys, Slots, Exposed, TypeBlock, InferredProps> & {
|
|
116
|
+
/**
|
|
117
|
+
* @private
|
|
118
|
+
*/
|
|
119
|
+
__typeProps?: TypeProps;
|
|
120
|
+
/**
|
|
121
|
+
* @private
|
|
122
|
+
*/
|
|
123
|
+
__typeEmits?: TypeEmits;
|
|
124
|
+
/**
|
|
125
|
+
* @private
|
|
126
|
+
*/
|
|
127
|
+
__typeRefs?: TypeRefs;
|
|
128
|
+
/**
|
|
129
|
+
* @private
|
|
130
|
+
*/
|
|
131
|
+
__typeEl?: TypeBlock;
|
|
132
|
+
} & ThisType<void>): DefineVaporComponent<RuntimePropsOptions, RuntimePropsKeys, ResolvedEmits, RuntimeEmitsKeys, Slots, Exposed extends Block ? Record<string, any> : Exposed, TypeBlock, TypeRefs, unknown extends TypeProps ? true : false, InferredProps>;
|
|
133
|
+
//#endregion
|
|
134
|
+
export { DefineVaporComponent, DefineVaporSetupFnComponent, FunctionalVaporComponent, ObjectVaporComponent, RenderReturn, TypeEmitsToOptions, VaporComponent$1 as VaporComponent, VaporComponentInstance, VaporComponentInstanceConstructor, VaporPublicProps, defineVaporComponent };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region src/vue.ts
|
|
2
|
+
/*! #__NO_SIDE_EFFECTS__ */
|
|
3
|
+
function defineVaporComponent(comp, extraOptions) {
|
|
4
|
+
if (typeof comp === "function") return /* @__PURE__ */ (() => Object.assign({ name: comp.name }, extraOptions, {
|
|
5
|
+
setup: comp,
|
|
6
|
+
__vapor: true
|
|
7
|
+
}))();
|
|
8
|
+
comp.__vapor = true;
|
|
9
|
+
return comp;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { defineVaporComponent };
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { AllowedComponentProps, Block, ComponentCustomProps, ComponentInternalOptions, ComponentObjectPropsOptions, ComponentPropsOptions, ComponentTypeEmits, EffectScope, EmitFn, EmitsOptions, EmitsToProps, ExtractDefaultPropTypes, ExtractPropTypes, GenericAppContext, GenericComponentInstance, LifecycleHook, NormalizedPropsOptions, ObjectEmitsOptions, RawProps, RawSlots, ReservedProps, ShallowRef, ShallowUnwrapRef, SharedInternalOptions, StaticSlots, SuspenseBoundary, VNode } from "vue";
|
|
2
|
+
|
|
3
|
+
//#region src/vue.d.ts
|
|
4
|
+
type Prettify<T> = { [K in keyof T]: T[K] } & {};
|
|
5
|
+
type OverloadParameters<T extends (...args: any[]) => any> = Parameters<OverloadUnion<T>>;
|
|
6
|
+
type OverloadProps<TOverload> = Pick<TOverload, keyof TOverload>;
|
|
7
|
+
type OverloadUnionRecursive<TOverload, TPartialOverload = unknown> = TOverload extends ((...args: infer TArgs) => infer TReturn) ? TPartialOverload extends TOverload ? never : OverloadUnionRecursive<TPartialOverload & TOverload, TPartialOverload & ((...args: TArgs) => TReturn) & OverloadProps<TOverload>> | ((...args: TArgs) => TReturn) : never;
|
|
8
|
+
type OverloadUnion<TOverload extends (...args: any[]) => any> = Exclude<OverloadUnionRecursive<(() => never) & TOverload>, TOverload extends (() => never) ? never : () => never>;
|
|
9
|
+
type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N;
|
|
10
|
+
type IsKeyValues<T, K = string> = IfAny<T, false, T extends object ? (keyof T extends K ? true : false) : false>;
|
|
11
|
+
declare class VaporComponentInstance<Props extends Record<string, any> = {}, Emits extends EmitsOptions = {}, Slots extends StaticSlots = StaticSlots, Exposed extends Record<string, any> = Record<string, any>, TypeBlock extends Block = Block, TypeRefs extends Record<string, any> = Record<string, any>> implements GenericComponentInstance {
|
|
12
|
+
vapor: true;
|
|
13
|
+
uid: number;
|
|
14
|
+
type: VaporComponent$1;
|
|
15
|
+
root: GenericComponentInstance | null;
|
|
16
|
+
parent: GenericComponentInstance | null;
|
|
17
|
+
appContext: GenericAppContext;
|
|
18
|
+
block: TypeBlock;
|
|
19
|
+
scope: EffectScope;
|
|
20
|
+
rawProps: RawProps;
|
|
21
|
+
rawSlots: RawSlots;
|
|
22
|
+
props: Readonly<Props>;
|
|
23
|
+
attrs: Record<string, any>;
|
|
24
|
+
propsDefaults: Record<string, any> | null;
|
|
25
|
+
slots: Slots;
|
|
26
|
+
rawPropsRef?: ShallowRef<any>;
|
|
27
|
+
rawSlotsRef?: ShallowRef<any>;
|
|
28
|
+
emit: EmitFn<Emits>;
|
|
29
|
+
emitted: Record<string, boolean> | null;
|
|
30
|
+
expose: (<T extends Record<string, any> = Exposed>(exposed: T) => void) & string[];
|
|
31
|
+
exposed: Record<string, any> extends Exposed ? Exposed | null : Exposed;
|
|
32
|
+
exposeProxy: Record<string, any> extends Exposed ? Exposed | null : ShallowUnwrapRef<Exposed>;
|
|
33
|
+
refs: TypeRefs;
|
|
34
|
+
provides: Record<string, any>;
|
|
35
|
+
ids: [string, number, number];
|
|
36
|
+
suspense: SuspenseBoundary | null;
|
|
37
|
+
hasFallthrough: boolean;
|
|
38
|
+
isMounted: boolean;
|
|
39
|
+
isUnmounted: boolean;
|
|
40
|
+
isDeactivated: boolean;
|
|
41
|
+
isUpdating: boolean;
|
|
42
|
+
bc?: LifecycleHook;
|
|
43
|
+
c?: LifecycleHook;
|
|
44
|
+
bm?: LifecycleHook;
|
|
45
|
+
m?: LifecycleHook;
|
|
46
|
+
bu?: LifecycleHook;
|
|
47
|
+
u?: LifecycleHook;
|
|
48
|
+
um?: LifecycleHook;
|
|
49
|
+
bum?: LifecycleHook;
|
|
50
|
+
da?: LifecycleHook;
|
|
51
|
+
a?: LifecycleHook;
|
|
52
|
+
rtg?: LifecycleHook;
|
|
53
|
+
rtc?: LifecycleHook;
|
|
54
|
+
ec?: LifecycleHook;
|
|
55
|
+
sp?: LifecycleHook<() => Promise<unknown>>;
|
|
56
|
+
setupState?: Exposed extends Block ? undefined : ShallowUnwrapRef<Exposed>;
|
|
57
|
+
devtoolsRawSetupState?: any;
|
|
58
|
+
hmrRerender?: () => void;
|
|
59
|
+
hmrReload?: (newComp: VaporComponent$1) => void;
|
|
60
|
+
propsOptions?: NormalizedPropsOptions;
|
|
61
|
+
emitsOptions?: ObjectEmitsOptions | null;
|
|
62
|
+
isSingleRoot?: boolean;
|
|
63
|
+
constructor(comp: VaporComponent$1, rawProps?: RawProps | null, rawSlots?: RawSlots | null, appContext?: GenericAppContext);
|
|
64
|
+
/**
|
|
65
|
+
* Expose `getKeysFromRawProps` on the instance so it can be used in code
|
|
66
|
+
* paths where it's needed, e.g. `useModel`
|
|
67
|
+
*/
|
|
68
|
+
rawKeys(): string[];
|
|
69
|
+
}
|
|
70
|
+
interface ObjectVaporComponent<Props = ComponentPropsOptions, Emits extends EmitsOptions = {}, RuntimeEmitsKeys extends string = string, Slots extends StaticSlots = StaticSlots, Exposed extends Record<string, any> = Record<string, any>, TypeBlock extends Block = Block, InferredProps = (ComponentObjectPropsOptions extends Props ? {} : ExtractPropTypes<Props>)> extends ComponentInternalOptions, SharedInternalOptions {
|
|
71
|
+
inheritAttrs?: boolean;
|
|
72
|
+
props?: Props;
|
|
73
|
+
emits?: Emits | RuntimeEmitsKeys[];
|
|
74
|
+
slots?: Slots;
|
|
75
|
+
setup?: VaporSetupFn<InferredProps, Emits, Slots, Exposed, TypeBlock>;
|
|
76
|
+
render?: (ctx: Exposed extends Block ? undefined : ShallowUnwrapRef<Exposed>, props: Readonly<InferredProps>, emit: EmitFn<Emits>, attrs: any, slots: Slots) => RenderReturn<TypeBlock>;
|
|
77
|
+
name?: string;
|
|
78
|
+
vapor?: boolean;
|
|
79
|
+
}
|
|
80
|
+
type VaporComponent$1 = FunctionalVaporComponent | ObjectVaporComponent | DefineVaporComponent;
|
|
81
|
+
type FunctionalVaporComponent = VaporSetupFn & Omit<ObjectVaporComponent, 'setup'> & {
|
|
82
|
+
displayName?: string;
|
|
83
|
+
} & SharedInternalOptions;
|
|
84
|
+
type VaporSetupFn<Props = {}, Emits extends EmitsOptions = {}, Slots extends StaticSlots = StaticSlots, Exposed extends Record<string, any> = Record<string, any>, TypeBlock extends Block = Block> = (props: Readonly<Props>, ctx: {
|
|
85
|
+
emit: EmitFn<Emits>;
|
|
86
|
+
slots: Slots;
|
|
87
|
+
attrs: Record<string, any>;
|
|
88
|
+
expose: <T extends Record<string, any> = Exposed>(exposed: T) => void;
|
|
89
|
+
}) => TypeBlock | Exposed | Promise<Exposed> | void;
|
|
90
|
+
type TypeEmitsToOptions<T extends ComponentTypeEmits> = { [K in keyof T & string]: T[K] extends [...args: infer Args] ? (...args: Args) => any : () => any } & (T extends ((...args: any[]) => any) ? ParametersToFns<OverloadParameters<T>> : {});
|
|
91
|
+
type ParametersToFns<T extends any[]> = { [K in T[0]]: IsStringLiteral<K> extends true ? (...args: T extends [e: infer E, ...args: infer P] ? K extends E ? P : never : never) => any : never };
|
|
92
|
+
type IsStringLiteral<T> = T extends string ? string extends T ? false : true : false;
|
|
93
|
+
type VaporComponentInstanceConstructor<T extends VaporComponentInstance> = {
|
|
94
|
+
__isFragment?: never;
|
|
95
|
+
__isTeleport?: never;
|
|
96
|
+
__isSuspense?: never;
|
|
97
|
+
new (props?: T['props']): T;
|
|
98
|
+
};
|
|
99
|
+
type VaporPublicProps = ReservedProps & AllowedComponentProps & ComponentCustomProps;
|
|
100
|
+
type RenderReturn<T extends Block = Block> = VNode | T | RenderReturn<T>[];
|
|
101
|
+
type DefineVaporComponent<RuntimePropsOptions = {}, RuntimePropsKeys extends string = string, Emits extends EmitsOptions = {}, RuntimeEmitsKeys extends string = string, Slots extends StaticSlots = StaticSlots, Exposed extends Record<string, any> = Record<string, any>, TypeBlock extends Block = Block, TypeRefs extends Record<string, unknown> = {}, MakeDefaultsOptional extends boolean = true, InferredProps = (string extends RuntimePropsKeys ? ComponentObjectPropsOptions extends RuntimePropsOptions ? {} : ExtractPropTypes<RuntimePropsOptions> : { [key in RuntimePropsKeys]?: any }), PublicProps = VaporPublicProps, ResolvedProps = InferredProps & EmitsToProps<Emits>, Defaults = ExtractDefaultPropTypes<RuntimePropsOptions>> = VaporComponentInstanceConstructor<VaporComponentInstance<MakeDefaultsOptional extends true ? keyof Defaults extends never ? Prettify<ResolvedProps> & PublicProps : Partial<Defaults> & Omit<Prettify<ResolvedProps> & PublicProps, keyof Defaults> : Prettify<ResolvedProps> & PublicProps, Emits, Slots, Exposed, TypeBlock, TypeRefs>> & ObjectVaporComponent<RuntimePropsOptions | RuntimePropsKeys[], Emits, RuntimeEmitsKeys, Slots, Exposed>;
|
|
102
|
+
type DefineVaporSetupFnComponent<Props extends Record<string, any> = {}, Emits extends EmitsOptions = {}, Slots extends StaticSlots = StaticSlots, Exposed extends Record<string, any> = Record<string, any>, TypeBlock extends Block = Block, ResolvedProps extends Record<string, any> = Props & EmitsToProps<Emits> & VaporPublicProps> = new (props?: ResolvedProps) => VaporComponentInstance<ResolvedProps, Emits, Slots, Exposed, TypeBlock>;
|
|
103
|
+
declare function defineVaporComponent<Props extends Record<string, any>, Emits extends EmitsOptions = {}, RuntimeEmitsKeys extends string = string, Slots extends StaticSlots = StaticSlots, Exposed extends Record<string, any> = Record<string, any>, TypeBlock extends Block = Block>(setup: (props: Props, ctx: {
|
|
104
|
+
emit: EmitFn<Emits>;
|
|
105
|
+
slots: Slots;
|
|
106
|
+
attrs: Record<string, any>;
|
|
107
|
+
expose: (exposed: Exposed) => void;
|
|
108
|
+
}) => RenderReturn<TypeBlock>, extraOptions?: ObjectVaporComponent<(keyof Props)[], Emits, RuntimeEmitsKeys, Slots, Exposed> & ThisType<void>): DefineVaporSetupFnComponent<Props, Emits, Slots, Exposed, TypeBlock>;
|
|
109
|
+
declare function defineVaporComponent<Props extends Record<string, any>, Emits extends EmitsOptions = {}, RuntimeEmitsKeys extends string = string, Slots extends StaticSlots = StaticSlots, Exposed extends Record<string, any> = Record<string, any>, TypeBlock extends Block = Block>(setup: (props: Props, ctx: {
|
|
110
|
+
emit: EmitFn<Emits>;
|
|
111
|
+
slots: Slots;
|
|
112
|
+
attrs: Record<string, any>;
|
|
113
|
+
expose: (exposed: Exposed) => void;
|
|
114
|
+
}) => RenderReturn<TypeBlock>, extraOptions?: ObjectVaporComponent<ComponentObjectPropsOptions<Props>, Emits, RuntimeEmitsKeys, Slots, Exposed> & ThisType<void>): DefineVaporSetupFnComponent<Props, Emits, Slots, Exposed, TypeBlock>;
|
|
115
|
+
declare function defineVaporComponent<TypeProps, RuntimePropsOptions extends ComponentObjectPropsOptions = ComponentObjectPropsOptions, RuntimePropsKeys extends string = string, TypeEmits extends ComponentTypeEmits = {}, RuntimeEmitsOptions extends EmitsOptions = {}, RuntimeEmitsKeys extends string = string, Slots extends StaticSlots = StaticSlots, Exposed extends Record<string, any> = Record<string, any>, ResolvedEmits extends EmitsOptions = ({} extends RuntimeEmitsOptions ? TypeEmitsToOptions<TypeEmits> : RuntimeEmitsOptions), InferredProps = (IsKeyValues<TypeProps> extends true ? TypeProps : string extends RuntimePropsKeys ? ComponentObjectPropsOptions extends RuntimePropsOptions ? {} : ExtractPropTypes<RuntimePropsOptions> : { [key in RuntimePropsKeys]?: any }), TypeRefs extends Record<string, unknown> = {}, TypeBlock extends Block = Block>(options: ObjectVaporComponent<RuntimePropsOptions | RuntimePropsKeys[], ResolvedEmits, RuntimeEmitsKeys, Slots, Exposed, TypeBlock, InferredProps> & {
|
|
116
|
+
/**
|
|
117
|
+
* @private
|
|
118
|
+
*/
|
|
119
|
+
__typeProps?: TypeProps;
|
|
120
|
+
/**
|
|
121
|
+
* @private
|
|
122
|
+
*/
|
|
123
|
+
__typeEmits?: TypeEmits;
|
|
124
|
+
/**
|
|
125
|
+
* @private
|
|
126
|
+
*/
|
|
127
|
+
__typeRefs?: TypeRefs;
|
|
128
|
+
/**
|
|
129
|
+
* @private
|
|
130
|
+
*/
|
|
131
|
+
__typeEl?: TypeBlock;
|
|
132
|
+
} & ThisType<void>): DefineVaporComponent<RuntimePropsOptions, RuntimePropsKeys, ResolvedEmits, RuntimeEmitsKeys, Slots, Exposed extends Block ? Record<string, any> : Exposed, TypeBlock, TypeRefs, unknown extends TypeProps ? true : false, InferredProps>;
|
|
133
|
+
//#endregion
|
|
134
|
+
export { DefineVaporComponent, DefineVaporSetupFnComponent, FunctionalVaporComponent, ObjectVaporComponent, RenderReturn, TypeEmitsToOptions, VaporComponent$1 as VaporComponent, VaporComponentInstance, VaporComponentInstanceConstructor, VaporPublicProps, defineVaporComponent };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/vue.ts
|
|
3
|
+
/*! #__NO_SIDE_EFFECTS__ */
|
|
4
|
+
function defineVaporComponent(comp, extraOptions) {
|
|
5
|
+
if (typeof comp === "function") return /* @__PURE__ */ (() => Object.assign({ name: comp.name }, extraOptions, {
|
|
6
|
+
setup: comp,
|
|
7
|
+
__vapor: true
|
|
8
|
+
}))();
|
|
9
|
+
comp.__vapor = true;
|
|
10
|
+
return comp;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
Object.defineProperty(exports, 'defineVaporComponent', {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () {
|
|
17
|
+
return defineVaporComponent;
|
|
18
|
+
}
|
|
19
|
+
});
|
package/dist/vue.cjs
ADDED
package/dist/vue.d.cts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { DefineVaporComponent, DefineVaporSetupFnComponent, FunctionalVaporComponent, ObjectVaporComponent, RenderReturn, TypeEmitsToOptions, VaporComponent, VaporComponentInstance, VaporComponentInstanceConstructor, VaporPublicProps, defineVaporComponent } from "./vue-CPpwobxQ.cjs";
|
|
2
|
+
export { DefineVaporComponent, DefineVaporSetupFnComponent, FunctionalVaporComponent, ObjectVaporComponent, RenderReturn, TypeEmitsToOptions, VaporComponent, VaporComponentInstance, VaporComponentInstanceConstructor, VaporPublicProps, defineVaporComponent };
|
package/dist/vue.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { DefineVaporComponent, DefineVaporSetupFnComponent, FunctionalVaporComponent, ObjectVaporComponent, RenderReturn, TypeEmitsToOptions, VaporComponent, VaporComponentInstance, VaporComponentInstanceConstructor, VaporPublicProps, defineVaporComponent } from "./vue-BvYJtxhH.js";
|
|
2
|
+
export { DefineVaporComponent, DefineVaporSetupFnComponent, FunctionalVaporComponent, ObjectVaporComponent, RenderReturn, TypeEmitsToOptions, VaporComponent, VaporComponentInstance, VaporComponentInstanceConstructor, VaporPublicProps, defineVaporComponent };
|
package/dist/vue.js
ADDED
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|