@vue-jsx-vapor/runtime 2.6.1 → 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.
Files changed (39) hide show
  1. package/dist/block.d.ts +1 -1
  2. package/dist/{component-BHAqMOe7.cjs → component-CYhpM6xy.cjs} +10 -1
  3. package/dist/{component-DAbq6g1p.js → component-CpEIVhMJ.js} +10 -1
  4. package/dist/{component-CG7Pcj6B.d.ts → component-f-HDpT45.d.cts} +3 -3
  5. package/dist/component.cjs +1 -1
  6. package/dist/component.d.cts +1 -1
  7. package/dist/component.d.ts +1 -1
  8. package/dist/component.js +1 -1
  9. package/dist/{h-76H4kJgw.js → h-D8Dfh6Ov.js} +1 -1
  10. package/dist/{h-yXUW23HD.cjs → h-Dk0b-awG.cjs} +1 -1
  11. package/dist/{h-mLWlHa8R.d.cts → h-JmVbnDXf.d.cts} +8 -8
  12. package/dist/{h-DutSRaoO.d.ts → h-ZvZ1VCbf.d.ts} +9 -9
  13. package/dist/h.cjs +2 -2
  14. package/dist/h.d.cts +1 -1
  15. package/dist/h.d.ts +2 -2
  16. package/dist/h.js +2 -2
  17. package/dist/helpers.d.ts +1 -1
  18. package/dist/index.cjs +4 -2
  19. package/dist/index.d.cts +5 -4
  20. package/dist/index.d.ts +8 -7
  21. package/dist/index.js +4 -3
  22. package/dist/{jsx-CRoDhX85.d.ts → jsx-Beo7WcCj.d.ts} +632 -632
  23. package/dist/{jsx-EFPAy-wt.d.cts → jsx-Dx2zpbtl.d.cts} +634 -634
  24. package/dist/jsx.d.cts +1 -1
  25. package/dist/jsx.d.ts +1 -1
  26. package/dist/node.d.ts +1 -1
  27. package/dist/vue-BvYJtxhH.d.ts +134 -0
  28. package/dist/vue-CLfSEbpD.js +13 -0
  29. package/dist/vue-CPpwobxQ.d.cts +134 -0
  30. package/dist/vue-DN14pNs9.cjs +19 -0
  31. package/dist/vue.cjs +3 -0
  32. package/dist/vue.d.cts +2 -0
  33. package/dist/vue.d.ts +2 -0
  34. package/dist/vue.js +3 -0
  35. package/package.json +1 -1
  36. /package/dist/{block-pPxpKsmV.d.ts → block-u07aeibz.d.ts} +0 -0
  37. /package/dist/{component-BkffHjyR.d.cts → component-DKpccT17.d.ts} +0 -0
  38. /package/dist/{helpers-BvOzWbq1.d.ts → helpers-B9BMZz0T.d.ts} +0 -0
  39. /package/dist/{node-DLEa8Cxk.d.ts → node-C2jZYT0Y.d.ts} +0 -0
package/dist/block.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { NodeArrayChildren, NodeChild, isBlock, normalizeNode } from "./block-pPxpKsmV.js";
1
+ import { NodeArrayChildren, NodeChild, isBlock, normalizeNode } from "./block-u07aeibz.js";
2
2
  export { NodeArrayChildren, NodeChild, isBlock, normalizeNode };
@@ -7,7 +7,16 @@ const vue = require_chunk.__toESM(require("vue"));
7
7
  const createComponent = (type, ...args) => {
8
8
  return createProxyComponent(vue.createComponent, type, ...args);
9
9
  };
10
- const createComponentWithFallback = (type, ...args) => createProxyComponent(vue.createComponentWithFallback, type, ...args);
10
+ const createComponentWithFallback = (type, ...args) => {
11
+ const slots = args[1];
12
+ if (typeof type === "string" && slots && slots.default && typeof slots.default === "function") {
13
+ const defaultSlot = slots.default;
14
+ slots.default = () => {
15
+ return createProxyComponent(vue.createComponentWithFallback, defaultSlot, null, null);
16
+ };
17
+ }
18
+ return createProxyComponent(vue.createComponentWithFallback, type, ...args);
19
+ };
11
20
  const createProxyComponent = (createComponent$1, type, props, ...args) => {
12
21
  if (type === vue.Fragment) {
13
22
  type = (_, { slots }) => slots.default();
@@ -6,7 +6,16 @@ import { Fragment, createComponent, createComponentWithFallback } from "vue";
6
6
  const createComponent$1 = (type, ...args) => {
7
7
  return createProxyComponent(createComponent, type, ...args);
8
8
  };
9
- const createComponentWithFallback$1 = (type, ...args) => createProxyComponent(createComponentWithFallback, type, ...args);
9
+ const createComponentWithFallback$1 = (type, ...args) => {
10
+ const slots = args[1];
11
+ if (typeof type === "string" && slots && slots.default && typeof slots.default === "function") {
12
+ const defaultSlot = slots.default;
13
+ slots.default = () => {
14
+ return createProxyComponent(createComponentWithFallback, defaultSlot, null, null);
15
+ };
16
+ }
17
+ return createProxyComponent(createComponentWithFallback, type, ...args);
18
+ };
10
19
  const createProxyComponent = (createComponent$2, type, props, ...args) => {
11
20
  if (type === Fragment) {
12
21
  type = (_, { slots }) => slots.default();
@@ -1,9 +1,9 @@
1
- import * as vue0 from "vue";
1
+ import * as vue1 from "vue";
2
2
  import { Fragment, VaporComponent, createComponent, createComponentWithFallback } from "vue";
3
3
 
4
4
  //#region src/component.d.ts
5
5
  type Tail<T extends any[]> = T extends [any, ...infer R] ? R : never;
6
- declare const createComponent$1: (type: VaporComponent | typeof Fragment, ...args: Tail<Parameters<typeof createComponent>>) => vue0.VaporComponentInstance | HTMLElement;
7
- declare const createComponentWithFallback$1: (type: VaporComponent | typeof Fragment, ...args: Tail<Parameters<typeof createComponentWithFallback>>) => vue0.VaporComponentInstance | HTMLElement;
6
+ declare const createComponent$1: (type: VaporComponent | typeof Fragment, ...args: Tail<Parameters<typeof createComponent>>) => vue1.VaporComponentInstance | HTMLElement;
7
+ declare const createComponentWithFallback$1: (type: VaporComponent | typeof Fragment, ...args: Tail<Parameters<typeof createComponentWithFallback>>) => vue1.VaporComponentInstance | HTMLElement;
8
8
  //#endregion
9
9
  export { createComponent$1 as createComponent, createComponentWithFallback$1 as createComponentWithFallback };
@@ -1,6 +1,6 @@
1
1
  require('./block-Ce05UNsp.cjs');
2
2
  require('./helpers-z4TWV9SY.cjs');
3
- const require_component = require('./component-BHAqMOe7.cjs');
3
+ const require_component = require('./component-CYhpM6xy.cjs');
4
4
 
5
5
  exports.createComponent = require_component.createComponent;
6
6
  exports.createComponentWithFallback = require_component.createComponentWithFallback;
@@ -1,2 +1,2 @@
1
- import { createComponent, createComponentWithFallback } from "./component-BkffHjyR.cjs";
1
+ import { createComponent, createComponentWithFallback } from "./component-f-HDpT45.cjs";
2
2
  export { createComponent, createComponentWithFallback };
@@ -1,2 +1,2 @@
1
- import { createComponent, createComponentWithFallback } from "./component-CG7Pcj6B.js";
1
+ import { createComponent, createComponentWithFallback } from "./component-DKpccT17.js";
2
2
  export { createComponent, createComponentWithFallback };
package/dist/component.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./block-CyA0ggJw.js";
2
2
  import "./helpers-C0DfvsA-.js";
3
- import { createComponent, createComponentWithFallback } from "./component-DAbq6g1p.js";
3
+ import { createComponent, createComponentWithFallback } from "./component-CpEIVhMJ.js";
4
4
 
5
5
  export { createComponent, createComponentWithFallback };
@@ -1,5 +1,5 @@
1
1
  import { isBlock } from "./block-CyA0ggJw.js";
2
- import { createComponentWithFallback } from "./component-DAbq6g1p.js";
2
+ import { createComponentWithFallback } from "./component-CpEIVhMJ.js";
3
3
 
4
4
  //#region src/h.ts
5
5
  function h(type, propsOrChildren, children) {
@@ -1,5 +1,5 @@
1
1
  const require_block = require('./block-Ce05UNsp.cjs');
2
- const require_component = require('./component-BHAqMOe7.cjs');
2
+ const require_component = require('./component-CYhpM6xy.cjs');
3
3
 
4
4
  //#region src/h.ts
5
5
  function h(type, propsOrChildren, children) {
@@ -12,12 +12,12 @@ interface Constructor<P = any> {
12
12
  }
13
13
  type HTMLElementEventHandler = { [K in keyof HTMLElementEventMap as `on${Capitalize<K>}`]?: (ev: HTMLElementEventMap[K]) => any };
14
14
  type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N;
15
- type RawProps = Record<string, any>;
16
- type ResolveProps<T> = T extends null | undefined ? T : () => T | T;
15
+ type RawProps$1 = Record<string, any>;
16
+ type ResolveProps<T> = T extends null | undefined ? T : (() => T) | T;
17
17
  declare function h<K extends keyof HTMLElementTagNameMap>(type: K, children?: NodeChild): Block;
18
- declare function h<K extends keyof HTMLElementTagNameMap>(type: K, props?: ResolveProps<RawProps & HTMLElementEventHandler> | null, children?: NodeChild | RawSlots): Block;
18
+ declare function h<K extends keyof HTMLElementTagNameMap>(type: K, props?: ResolveProps<RawProps$1 & HTMLElementEventHandler> | null, children?: NodeChild | RawSlots): Block;
19
19
  declare function h(type: string, children?: NodeChild): Block;
20
- declare function h(type: string, props?: ResolveProps<RawProps> | null, children?: NodeChild | RawSlots): Block;
20
+ declare function h(type: string, props?: ResolveProps<RawProps$1> | null, children?: NodeChild | RawSlots): Block;
21
21
  declare function h(type: typeof Text | typeof Comment, children?: string | number | boolean): Block;
22
22
  declare function h(type: typeof Text | typeof Comment, props?: null, children?: string | number | boolean): Block;
23
23
  declare function h(type: typeof Fragment, children?: NodeArrayChildren): Block;
@@ -25,12 +25,12 @@ declare function h(type: typeof Fragment, props?: ResolveProps<{
25
25
  key?: PropertyKey;
26
26
  ref?: VNodeRef;
27
27
  }> | null, children?: NodeArrayChildren): Block;
28
- declare function h(type: typeof Teleport, props: RawProps & TeleportProps, children: NodeChild | RawSlots): Block;
28
+ declare function h(type: typeof Teleport, props: RawProps$1 & TeleportProps, children: NodeChild | RawSlots): Block;
29
29
  declare function h(type: typeof Suspense, children?: NodeChild): Block;
30
- declare function h(type: typeof Suspense, props?: ResolveProps<RawProps & SuspenseProps> | null, children?: NodeChild | RawSlots): Block;
30
+ declare function h(type: typeof Suspense, props?: ResolveProps<RawProps$1 & SuspenseProps> | null, children?: NodeChild | RawSlots): Block;
31
31
  declare function h(type: FunctionalComponent, children?: NodeChild): Block;
32
- declare function h<P, E extends EmitsOptions = {}, S extends Record<string, any> = any>(type: FunctionalComponent<P, E, S>, props?: ResolveProps<(RawProps & P) | ({} extends P ? null : never)>, children?: NodeChild | IfAny<S, RawSlots, S>): Block;
32
+ declare function h<P, E extends EmitsOptions = {}, S extends Record<string, any> = any>(type: FunctionalComponent<P, E, S>, props?: ResolveProps<(RawProps$1 & P) | ({} extends P ? null : never)>, children?: NodeChild | IfAny<S, RawSlots, S>): Block;
33
33
  declare function h(type: string | ConcreteComponent | Component | ComponentOptions | Constructor | DefineComponent, children?: NodeChild): Block;
34
- declare function h<P>(type: string | ConcreteComponent<P> | Component<P> | ComponentOptions<P> | Constructor<P> | DefineComponent<P>, props?: ResolveProps<(RawProps & P) | ({} extends P ? null : never)>, children?: NodeChild | RawSlots): Block;
34
+ declare function h<P>(type: string | ConcreteComponent<P> | Component<P> | ComponentOptions<P> | Constructor<P> | DefineComponent<P>, props?: ResolveProps<(RawProps$1 & P) | ({} extends P ? null : never)>, children?: NodeChild | RawSlots): Block;
35
35
  //#endregion
36
36
  export { h };
@@ -1,4 +1,4 @@
1
- import { NodeArrayChildren, NodeChild } from "./block-pPxpKsmV.js";
1
+ import { NodeArrayChildren, NodeChild } from "./block-u07aeibz.js";
2
2
  import { Block, Component, ComponentOptions, ConcreteComponent, DefineComponent, EmitsOptions, Fragment, FunctionalComponent, RawSlots, Suspense, SuspenseProps, Teleport, TeleportProps, VNodeRef } from "vue";
3
3
 
4
4
  //#region src/h.d.ts
@@ -12,12 +12,12 @@ interface Constructor<P = any> {
12
12
  }
13
13
  type HTMLElementEventHandler = { [K in keyof HTMLElementEventMap as `on${Capitalize<K>}`]?: (ev: HTMLElementEventMap[K]) => any };
14
14
  type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N;
15
- type RawProps = Record<string, any>;
16
- type ResolveProps<T> = T extends null | undefined ? T : () => T | T;
15
+ type RawProps$1 = Record<string, any>;
16
+ type ResolveProps<T> = T extends null | undefined ? T : (() => T) | T;
17
17
  declare function h<K extends keyof HTMLElementTagNameMap>(type: K, children?: NodeChild): Block;
18
- declare function h<K extends keyof HTMLElementTagNameMap>(type: K, props?: ResolveProps<RawProps & HTMLElementEventHandler> | null, children?: NodeChild | RawSlots): Block;
18
+ declare function h<K extends keyof HTMLElementTagNameMap>(type: K, props?: ResolveProps<RawProps$1 & HTMLElementEventHandler> | null, children?: NodeChild | RawSlots): Block;
19
19
  declare function h(type: string, children?: NodeChild): Block;
20
- declare function h(type: string, props?: ResolveProps<RawProps> | null, children?: NodeChild | RawSlots): Block;
20
+ declare function h(type: string, props?: ResolveProps<RawProps$1> | null, children?: NodeChild | RawSlots): Block;
21
21
  declare function h(type: typeof Text | typeof Comment, children?: string | number | boolean): Block;
22
22
  declare function h(type: typeof Text | typeof Comment, props?: null, children?: string | number | boolean): Block;
23
23
  declare function h(type: typeof Fragment, children?: NodeArrayChildren): Block;
@@ -25,12 +25,12 @@ declare function h(type: typeof Fragment, props?: ResolveProps<{
25
25
  key?: PropertyKey;
26
26
  ref?: VNodeRef;
27
27
  }> | null, children?: NodeArrayChildren): Block;
28
- declare function h(type: typeof Teleport, props: RawProps & TeleportProps, children: NodeChild | RawSlots): Block;
28
+ declare function h(type: typeof Teleport, props: RawProps$1 & TeleportProps, children: NodeChild | RawSlots): Block;
29
29
  declare function h(type: typeof Suspense, children?: NodeChild): Block;
30
- declare function h(type: typeof Suspense, props?: ResolveProps<RawProps & SuspenseProps> | null, children?: NodeChild | RawSlots): Block;
30
+ declare function h(type: typeof Suspense, props?: ResolveProps<RawProps$1 & SuspenseProps> | null, children?: NodeChild | RawSlots): Block;
31
31
  declare function h(type: FunctionalComponent, children?: NodeChild): Block;
32
- declare function h<P, E extends EmitsOptions = {}, S extends Record<string, any> = any>(type: FunctionalComponent<P, E, S>, props?: ResolveProps<(RawProps & P) | ({} extends P ? null : never)>, children?: NodeChild | IfAny<S, RawSlots, S>): Block;
32
+ declare function h<P, E extends EmitsOptions = {}, S extends Record<string, any> = any>(type: FunctionalComponent<P, E, S>, props?: ResolveProps<(RawProps$1 & P) | ({} extends P ? null : never)>, children?: NodeChild | IfAny<S, RawSlots, S>): Block;
33
33
  declare function h(type: string | ConcreteComponent | Component | ComponentOptions | Constructor | DefineComponent, children?: NodeChild): Block;
34
- declare function h<P>(type: string | ConcreteComponent<P> | Component<P> | ComponentOptions<P> | Constructor<P> | DefineComponent<P>, props?: ResolveProps<(RawProps & P) | ({} extends P ? null : never)>, children?: NodeChild | RawSlots): Block;
34
+ declare function h<P>(type: string | ConcreteComponent<P> | Component<P> | ComponentOptions<P> | Constructor<P> | DefineComponent<P>, props?: ResolveProps<(RawProps$1 & P) | ({} extends P ? null : never)>, children?: NodeChild | RawSlots): Block;
35
35
  //#endregion
36
36
  export { h };
package/dist/h.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  require('./block-Ce05UNsp.cjs');
2
2
  require('./helpers-z4TWV9SY.cjs');
3
- require('./component-BHAqMOe7.cjs');
4
- const require_h = require('./h-yXUW23HD.cjs');
3
+ require('./component-CYhpM6xy.cjs');
4
+ const require_h = require('./h-Dk0b-awG.cjs');
5
5
 
6
6
  exports.h = require_h.h;
package/dist/h.d.cts CHANGED
@@ -1,3 +1,3 @@
1
1
  import "./block-C2Eqyw1w.cjs";
2
- import { h } from "./h-mLWlHa8R.cjs";
2
+ import { h } from "./h-JmVbnDXf.cjs";
3
3
  export { h };
package/dist/h.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import "./block-pPxpKsmV.js";
2
- import { h } from "./h-DutSRaoO.js";
1
+ import "./block-u07aeibz.js";
2
+ import { h } from "./h-ZvZ1VCbf.js";
3
3
  export { h };
package/dist/h.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./block-CyA0ggJw.js";
2
2
  import "./helpers-C0DfvsA-.js";
3
- import "./component-DAbq6g1p.js";
4
- import { h } from "./h-76H4kJgw.js";
3
+ import "./component-CpEIVhMJ.js";
4
+ import { h } from "./h-D8Dfh6Ov.js";
5
5
 
6
6
  export { h };
package/dist/helpers.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { getCurrentInstance, useFullProps, useProps } from "./helpers-BvOzWbq1.js";
1
+ import { getCurrentInstance, useFullProps, useProps } from "./helpers-B9BMZz0T.js";
2
2
  export { getCurrentInstance, useFullProps, useProps };
package/dist/index.cjs CHANGED
@@ -1,15 +1,17 @@
1
1
  const require_chunk = require('./chunk-CUT6urMc.cjs');
2
2
  const require_block = require('./block-Ce05UNsp.cjs');
3
3
  const require_helpers = require('./helpers-z4TWV9SY.cjs');
4
- const require_component = require('./component-BHAqMOe7.cjs');
5
- const require_h = require('./h-yXUW23HD.cjs');
4
+ const require_component = require('./component-CYhpM6xy.cjs');
5
+ const require_h = require('./h-Dk0b-awG.cjs');
6
6
  require('./jsx-CTAfwhvm.cjs');
7
7
  const require_node = require('./node-BLet7XpW.cjs');
8
+ const require_vue = require('./vue-DN14pNs9.cjs');
8
9
  const vue = require_chunk.__toESM(require("vue"));
9
10
 
10
11
  exports.createComponent = require_component.createComponent;
11
12
  exports.createComponentWithFallback = require_component.createComponentWithFallback;
12
13
  exports.createNodes = require_node.createNodes;
14
+ exports.defineVaporComponent = require_vue.defineVaporComponent;
13
15
  exports.getCurrentInstance = require_helpers.getCurrentInstance;
14
16
  exports.h = require_h.h;
15
17
  exports.isBlock = require_block.isBlock;
package/dist/index.d.cts CHANGED
@@ -1,8 +1,9 @@
1
1
  import { NodeArrayChildren, NodeChild, isBlock, normalizeNode } from "./block-C2Eqyw1w.cjs";
2
- import { createComponent, createComponentWithFallback } from "./component-BkffHjyR.cjs";
3
- import { h } from "./h-mLWlHa8R.cjs";
2
+ import { createComponent, createComponentWithFallback } from "./component-f-HDpT45.cjs";
3
+ import { h } from "./h-JmVbnDXf.cjs";
4
4
  import { getCurrentInstance, useFullProps, useProps } from "./helpers-DeLHxsS2.cjs";
5
- 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-EFPAy-wt.cjs";
5
+ 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";
6
6
  import { createNodes, setNodes } from "./node-w0ksMVPx.cjs";
7
+ import { DefineVaporComponent, DefineVaporSetupFnComponent, FunctionalVaporComponent, ObjectVaporComponent, RenderReturn, TypeEmitsToOptions, VaporComponent, VaporComponentInstance, VaporComponentInstanceConstructor, VaporPublicProps, defineVaporComponent } from "./vue-CPpwobxQ.cjs";
7
8
  import { shallowRef as useRef } from "vue";
8
- 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, NodeArrayChildren, NodeChild, 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, createComponent, createComponentWithFallback, createNodes, getCurrentInstance, h, isBlock, normalizeNode, setNodes, useFullProps, useProps, useRef };
9
+ export { AbstractView, AnchorHTMLAttributes, AnimationEvent, AnimationEventHandler, AreaHTMLAttributes, AriaAttributes, AudioHTMLAttributes, BaseEventHandler, BaseHTMLAttributes, BaseSyntheticEvent, BlockquoteHTMLAttributes, ButtonHTMLAttributes, CSSProperties, CanvasHTMLAttributes, ChangeEvent, ChangeEventHandler, ClipboardEvent, ClipboardEventHandler, ColHTMLAttributes, ColgroupHTMLAttributes, CompositionEvent, CompositionEventHandler, DataHTMLAttributes, DefineVaporComponent, DefineVaporSetupFnComponent, DelHTMLAttributes, DetailsHTMLAttributes, DialogHTMLAttributes, DragEvent, DragEventHandler, EmbedHTMLAttributes, EventHandler, EventHandlers, Events, FieldsetHTMLAttributes, FocusEvent, FocusEventHandler, FormEvent, FormEventHandler, FormHTMLAttributes, FunctionalVaporComponent, HTMLAttributes, HtmlHTMLAttributes, IframeHTMLAttributes, ImgHTMLAttributes, InputHTMLAttributes, InputTypeHTMLAttribute, InsHTMLAttributes, IntrinsicElementAttributes, KeyboardEvent, KeyboardEventHandler, KeygenHTMLAttributes, LabelHTMLAttributes, LiHTMLAttributes, LinkHTMLAttributes, MapHTMLAttributes, MediaHTMLAttributes, MenuHTMLAttributes, MetaHTMLAttributes, MeterHTMLAttributes, ModifierKey, MouseEvent, MouseEventHandler, NativeElements, NodeArrayChildren, NodeChild, ObjectHTMLAttributes, ObjectVaporComponent, OlHTMLAttributes, OptgroupHTMLAttributes, OptionHTMLAttributes, OutputHTMLAttributes, ParamHTMLAttributes, ProgressHTMLAttributes, QuoteHTMLAttributes, RenderReturn, ReservedProps, SVGAttributes, ScriptHTMLAttributes, SelectHTMLAttributes, SourceHTMLAttributes, StyleHTMLAttributes, StyleValue, SyntheticEvent, TableHTMLAttributes, TdHTMLAttributes, TextareaHTMLAttributes, ThHTMLAttributes, TimeHTMLAttributes, TrackHTMLAttributes, TransitionEvent, TransitionEventHandler, TypeEmitsToOptions, UIEvent, UIEventHandler, VaporComponent, VaporComponentInstance, VaporComponentInstanceConstructor, VaporPublicProps, VideoHTMLAttributes, WebViewHTMLAttributes, WheelEvent, WheelEventHandler, createComponent, createComponentWithFallback, createNodes, defineVaporComponent, getCurrentInstance, h, isBlock, normalizeNode, setNodes, useFullProps, useProps, useRef };
package/dist/index.d.ts CHANGED
@@ -1,8 +1,9 @@
1
- import { NodeArrayChildren, NodeChild, isBlock, normalizeNode } from "./block-pPxpKsmV.js";
2
- import { createComponent, createComponentWithFallback } from "./component-CG7Pcj6B.js";
3
- import { h } from "./h-DutSRaoO.js";
4
- import { getCurrentInstance, useFullProps, useProps } from "./helpers-BvOzWbq1.js";
5
- 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-CRoDhX85.js";
6
- import { createNodes, setNodes } from "./node-DLEa8Cxk.js";
1
+ import { NodeArrayChildren, NodeChild, isBlock, normalizeNode } from "./block-u07aeibz.js";
2
+ import { createComponent, createComponentWithFallback } from "./component-DKpccT17.js";
3
+ import { h } from "./h-ZvZ1VCbf.js";
4
+ import { getCurrentInstance, useFullProps, useProps } from "./helpers-B9BMZz0T.js";
5
+ 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";
6
+ import { createNodes, setNodes } from "./node-C2jZYT0Y.js";
7
+ import { DefineVaporComponent, DefineVaporSetupFnComponent, FunctionalVaporComponent, ObjectVaporComponent, RenderReturn, TypeEmitsToOptions, VaporComponent, VaporComponentInstance, VaporComponentInstanceConstructor, VaporPublicProps, defineVaporComponent } from "./vue-BvYJtxhH.js";
7
8
  import { shallowRef as useRef } from "vue";
8
- 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, NodeArrayChildren, NodeChild, 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, createComponent, createComponentWithFallback, createNodes, getCurrentInstance, h, isBlock, normalizeNode, setNodes, useFullProps, useProps, useRef };
9
+ export { AbstractView, AnchorHTMLAttributes, AnimationEvent, AnimationEventHandler, AreaHTMLAttributes, AriaAttributes, AudioHTMLAttributes, BaseEventHandler, BaseHTMLAttributes, BaseSyntheticEvent, BlockquoteHTMLAttributes, ButtonHTMLAttributes, CSSProperties, CanvasHTMLAttributes, ChangeEvent, ChangeEventHandler, ClipboardEvent, ClipboardEventHandler, ColHTMLAttributes, ColgroupHTMLAttributes, CompositionEvent, CompositionEventHandler, DataHTMLAttributes, DefineVaporComponent, DefineVaporSetupFnComponent, DelHTMLAttributes, DetailsHTMLAttributes, DialogHTMLAttributes, DragEvent, DragEventHandler, EmbedHTMLAttributes, EventHandler, EventHandlers, Events, FieldsetHTMLAttributes, FocusEvent, FocusEventHandler, FormEvent, FormEventHandler, FormHTMLAttributes, FunctionalVaporComponent, HTMLAttributes, HtmlHTMLAttributes, IframeHTMLAttributes, ImgHTMLAttributes, InputHTMLAttributes, InputTypeHTMLAttribute, InsHTMLAttributes, IntrinsicElementAttributes, KeyboardEvent, KeyboardEventHandler, KeygenHTMLAttributes, LabelHTMLAttributes, LiHTMLAttributes, LinkHTMLAttributes, MapHTMLAttributes, MediaHTMLAttributes, MenuHTMLAttributes, MetaHTMLAttributes, MeterHTMLAttributes, ModifierKey, MouseEvent, MouseEventHandler, NativeElements, NodeArrayChildren, NodeChild, ObjectHTMLAttributes, ObjectVaporComponent, OlHTMLAttributes, OptgroupHTMLAttributes, OptionHTMLAttributes, OutputHTMLAttributes, ParamHTMLAttributes, ProgressHTMLAttributes, QuoteHTMLAttributes, RenderReturn, ReservedProps, SVGAttributes, ScriptHTMLAttributes, SelectHTMLAttributes, SourceHTMLAttributes, StyleHTMLAttributes, StyleValue, SyntheticEvent, TableHTMLAttributes, TdHTMLAttributes, TextareaHTMLAttributes, ThHTMLAttributes, TimeHTMLAttributes, TrackHTMLAttributes, TransitionEvent, TransitionEventHandler, TypeEmitsToOptions, UIEvent, UIEventHandler, VaporComponent, VaporComponentInstance, VaporComponentInstanceConstructor, VaporPublicProps, VideoHTMLAttributes, WebViewHTMLAttributes, WheelEvent, WheelEventHandler, createComponent, createComponentWithFallback, createNodes, defineVaporComponent, getCurrentInstance, h, isBlock, normalizeNode, setNodes, useFullProps, useProps, useRef };
package/dist/index.js CHANGED
@@ -1,9 +1,10 @@
1
1
  import { isBlock, normalizeNode } from "./block-CyA0ggJw.js";
2
2
  import { getCurrentInstance, useFullProps, useProps } from "./helpers-C0DfvsA-.js";
3
- import { createComponent, createComponentWithFallback } from "./component-DAbq6g1p.js";
4
- import { h } from "./h-76H4kJgw.js";
3
+ import { createComponent, createComponentWithFallback } from "./component-CpEIVhMJ.js";
4
+ import { h } from "./h-D8Dfh6Ov.js";
5
5
  import "./jsx-D6bpAbiF.js";
6
6
  import { createNodes, setNodes } from "./node-Bd0fT44y.js";
7
+ import { defineVaporComponent } from "./vue-CLfSEbpD.js";
7
8
  import { shallowRef as useRef } from "vue";
8
9
 
9
- export { createComponent, createComponentWithFallback, createNodes, getCurrentInstance, h, isBlock, normalizeNode, setNodes, useFullProps, useProps, useRef };
10
+ export { createComponent, createComponentWithFallback, createNodes, defineVaporComponent, getCurrentInstance, h, isBlock, normalizeNode, setNodes, useFullProps, useProps, useRef };