@vue-jsx-vapor/runtime 3.0.0 → 3.0.2

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 CHANGED
@@ -1,2 +1,2 @@
1
- import { i as normalizeNode, n as NodeChild, r as isBlock, t as NodeArrayChildren } from "./block-CDDvZR6x.js";
1
+ import { i as normalizeNode, n as NodeChild, r as isBlock, t as NodeArrayChildren } from "./block-DzOQpwy5.js";
2
2
  export { NodeArrayChildren, NodeChild, isBlock, normalizeNode };
@@ -1,5 +1,5 @@
1
1
  import { n as normalizeNode } from "./block-BZYKbYTH.js";
2
- import { t as getCurrentInstance } from "./helpers-BSrUwxJS.js";
2
+ import { t as getCurrentInstance$1 } from "./helpers-C6cGsX4q.js";
3
3
  import { Fragment, createComponent, createComponentWithFallback } from "vue";
4
4
 
5
5
  //#region src/component.ts
@@ -21,7 +21,7 @@ const createProxyComponent = (createComponent$2, type, props, ...args) => {
21
21
  type = (_, { slots }) => slots.default ? slots.default() : [];
22
22
  props = null;
23
23
  }
24
- const i = getCurrentInstance();
24
+ const i = getCurrentInstance$1();
25
25
  if (typeof type === "function") type = new Proxy(type, {
26
26
  apply(target, ctx, args$1) {
27
27
  if (typeof target.__setup === "function") target.__setup.apply(ctx, args$1);
@@ -1,2 +1,2 @@
1
- import { n as createComponentWithFallback, t as createComponent } from "./component-B9KOho-L.js";
1
+ import { n as createComponentWithFallback, t as createComponent } from "./component-YLvTjTHV.js";
2
2
  export { createComponent, createComponentWithFallback };
package/dist/component.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./block-BZYKbYTH.js";
2
- import "./helpers-BSrUwxJS.js";
3
- import { n as createComponentWithFallback, t as createComponent } from "./component-9t-R5fIy.js";
2
+ import "./helpers-C6cGsX4q.js";
3
+ import { n as createComponentWithFallback, t as createComponent } from "./component-BwobbDXG.js";
4
4
 
5
5
  export { createComponent, createComponentWithFallback };
@@ -1,4 +1,4 @@
1
- import { n as NodeChild, t as NodeArrayChildren } from "./block-CDDvZR6x.js";
1
+ import { n as NodeChild, t as NodeArrayChildren } from "./block-DzOQpwy5.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
@@ -1,5 +1,5 @@
1
1
  import { t as isBlock } from "./block-BZYKbYTH.js";
2
- import { n as createComponentWithFallback } from "./component-9t-R5fIy.js";
2
+ import { n as createComponentWithFallback } from "./component-BwobbDXG.js";
3
3
 
4
4
  //#region src/h.ts
5
5
  function h(type, propsOrChildren, children) {
package/dist/h.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import "./block-CDDvZR6x.js";
2
- import { t as h } from "./h-DTX_eMGD.js";
1
+ import "./block-DzOQpwy5.js";
2
+ import { t as h } from "./h-CRAb05GU.js";
3
3
  export { h };
package/dist/h.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./block-BZYKbYTH.js";
2
- import "./helpers-BSrUwxJS.js";
3
- import "./component-9t-R5fIy.js";
4
- import { t as h } from "./h-DWXdYIAv.js";
2
+ import "./helpers-C6cGsX4q.js";
3
+ import "./component-BwobbDXG.js";
4
+ import { t as h } from "./h-H2pnsSY9.js";
5
5
 
6
6
  export { h };
@@ -2,7 +2,7 @@ import * as Vue from "vue";
2
2
  import { GenericComponentInstance } from "vue";
3
3
 
4
4
  //#region src/helpers.d.ts
5
- declare function getCurrentInstance(): GenericComponentInstance | null;
5
+ declare function getCurrentInstance$1(): GenericComponentInstance | null;
6
6
  /**
7
7
  * Returns the props of the current component instance.
8
8
  *
@@ -34,4 +34,4 @@ declare function useFullProps(): Vue.ShallowUnwrapRef<{
34
34
  [x: string]: Vue.Ref<unknown, unknown>;
35
35
  }>;
36
36
  //#endregion
37
- export { useFullProps as n, useProps as r, getCurrentInstance as t };
37
+ export { useFullProps as n, useProps as r, getCurrentInstance$1 as t };
@@ -2,7 +2,7 @@ import * as Vue from "vue";
2
2
  import { proxyRefs, toRefs, useAttrs } from "vue";
3
3
 
4
4
  //#region src/helpers.ts
5
- function getCurrentInstance() {
5
+ function getCurrentInstance$1() {
6
6
  return Vue.currentInstance || Vue.getCurrentInstance();
7
7
  }
8
8
  /**
@@ -18,7 +18,7 @@ function getCurrentInstance() {
18
18
  * ```
19
19
  */
20
20
  function useProps() {
21
- return getCurrentInstance().props;
21
+ return getCurrentInstance$1().props;
22
22
  }
23
23
  /**
24
24
  * Returns the merged props and attrs of the current component.\
@@ -40,4 +40,4 @@ function useFullProps() {
40
40
  }
41
41
 
42
42
  //#endregion
43
- export { useFullProps as n, useProps as r, getCurrentInstance as t };
43
+ export { useFullProps as n, useProps as r, getCurrentInstance$1 as t };
package/dist/helpers.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { n as useFullProps, r as useProps, t as getCurrentInstance } from "./helpers-4D9tv0FR.js";
1
+ import { n as useFullProps, r as useProps, t as getCurrentInstance } from "./helpers-B37sqEig.js";
2
2
  export { getCurrentInstance, useFullProps, useProps };
package/dist/helpers.js CHANGED
@@ -1,3 +1,3 @@
1
- import { n as useFullProps, r as useProps, t as getCurrentInstance } from "./helpers-BSrUwxJS.js";
1
+ import { n as useFullProps, r as useProps, t as getCurrentInstance } from "./helpers-C6cGsX4q.js";
2
2
 
3
3
  export { getCurrentInstance, useFullProps, useProps };
package/dist/index.cjs CHANGED
@@ -6,6 +6,7 @@ const require_h = require('./h-BSBmQ5xG.cjs');
6
6
  require('./jsx-CTAfwhvm.cjs');
7
7
  const require_node = require('./node-B6xwqC0_.cjs');
8
8
  const require_vue = require('./vue-DN14pNs9.cjs');
9
+ const require_vdom = require('./vdom-CI8nGTUQ.cjs');
9
10
  let vue = require("vue");
10
11
  vue = require_chunk.__toESM(vue);
11
12
 
@@ -25,4 +26,5 @@ Object.defineProperty(exports, 'useRef', {
25
26
  get: function () {
26
27
  return vue.shallowRef;
27
28
  }
28
- });
29
+ });
30
+ exports.useVdomCache = require_vdom.useVdomCache;
package/dist/index.d.cts CHANGED
@@ -2,8 +2,9 @@ import { i as normalizeNode, n as NodeChild, r as isBlock, t as NodeArrayChildre
2
2
  import { n as createComponentWithFallback, t as createComponent } from "./component-C13Oo-p0.cjs";
3
3
  import { t as h } from "./h-BiyYwTqr.cjs";
4
4
  import { n as useFullProps, r as useProps, t as getCurrentInstance } from "./helpers-CABYlIBX.cjs";
5
- import { $ as MapHTMLAttributes, A as EventHandler, At as TransitionEvent, B as HtmlHTMLAttributes, C as DataHTMLAttributes, Ct as SyntheticEvent, D as DragEvent, Dt as ThHTMLAttributes, E as DialogHTMLAttributes, Et as TextareaHTMLAttributes, F as FocusEventHandler, Ft as WebViewHTMLAttributes, G as InsHTMLAttributes, H as ImgHTMLAttributes, I as FormEvent, It as WheelEvent, J as KeyboardEventHandler, K as IntrinsicElementAttributes, L as FormEventHandler, Lt as WheelEventHandler, M as Events, Mt as UIEvent, N as FieldsetHTMLAttributes, Nt as UIEventHandler, O as DragEventHandler, Ot as TimeHTMLAttributes, P as FocusEvent, Pt as VideoHTMLAttributes, Q as LinkHTMLAttributes, R as FormHTMLAttributes, S as CompositionEventHandler, St as StyleValue, T as DetailsHTMLAttributes, Tt as TdHTMLAttributes, U as InputHTMLAttributes, V as IframeHTMLAttributes, W as InputTypeHTMLAttribute, X as LabelHTMLAttributes, Y as KeygenHTMLAttributes, Z as LiHTMLAttributes, _ as ClipboardEvent, _t as SVGAttributes, a as AreaHTMLAttributes, at as MouseEvent, b as ColgroupHTMLAttributes, bt as SourceHTMLAttributes, c as BaseEventHandler, ct as ObjectHTMLAttributes, d as BlockquoteHTMLAttributes, dt as OptionHTMLAttributes, et as MediaHTMLAttributes, f as ButtonHTMLAttributes, ft as OutputHTMLAttributes, g as ChangeEventHandler, gt as ReservedProps, h as ChangeEvent, ht as QuoteHTMLAttributes, i as AnimationEventHandler, it as ModifierKey, j as EventHandlers, jt as TransitionEventHandler, k as EmbedHTMLAttributes, kt as TrackHTMLAttributes, l as BaseHTMLAttributes, lt as OlHTMLAttributes, m as CanvasHTMLAttributes, mt as ProgressHTMLAttributes, n as AnchorHTMLAttributes, nt as MetaHTMLAttributes, o as AriaAttributes, ot as MouseEventHandler, p as CSSProperties, pt as ParamHTMLAttributes, q as KeyboardEvent, r as AnimationEvent, rt as MeterHTMLAttributes, s as AudioHTMLAttributes, st as NativeElements, t as AbstractView, tt as MenuHTMLAttributes, u as BaseSyntheticEvent, ut as OptgroupHTMLAttributes, v as ClipboardEventHandler, vt as ScriptHTMLAttributes, w as DelHTMLAttributes, wt as TableHTMLAttributes, x as CompositionEvent, xt as StyleHTMLAttributes, y as ColHTMLAttributes, yt as SelectHTMLAttributes, z as HTMLAttributes } from "./jsx-fC1dHUHK.cjs";
5
+ import { $ as MapHTMLAttributes, A as EventHandler, At as TransitionEvent, B as HtmlHTMLAttributes, C as DataHTMLAttributes, Ct as SyntheticEvent, D as DragEvent, Dt as ThHTMLAttributes, E as DialogHTMLAttributes, Et as TextareaHTMLAttributes, F as FocusEventHandler, Ft as WebViewHTMLAttributes, G as InsHTMLAttributes, H as ImgHTMLAttributes, I as FormEvent, It as WheelEvent, J as KeyboardEventHandler, K as IntrinsicElementAttributes, L as FormEventHandler, Lt as WheelEventHandler, M as Events, Mt as UIEvent, N as FieldsetHTMLAttributes, Nt as UIEventHandler, O as DragEventHandler, Ot as TimeHTMLAttributes, P as FocusEvent, Pt as VideoHTMLAttributes, Q as LinkHTMLAttributes, R as FormHTMLAttributes, S as CompositionEventHandler, St as StyleValue, T as DetailsHTMLAttributes, Tt as TdHTMLAttributes, U as InputHTMLAttributes, V as IframeHTMLAttributes, W as InputTypeHTMLAttribute, X as LabelHTMLAttributes, Y as KeygenHTMLAttributes, Z as LiHTMLAttributes, _ as ClipboardEvent, _t as SVGAttributes, a as AreaHTMLAttributes, at as MouseEvent, b as ColgroupHTMLAttributes, bt as SourceHTMLAttributes, c as BaseEventHandler, ct as ObjectHTMLAttributes, d as BlockquoteHTMLAttributes, dt as OptionHTMLAttributes, et as MediaHTMLAttributes, f as ButtonHTMLAttributes, ft as OutputHTMLAttributes, g as ChangeEventHandler, gt as ReservedProps, h as ChangeEvent, ht as QuoteHTMLAttributes, i as AnimationEventHandler, it as ModifierKey, j as EventHandlers, jt as TransitionEventHandler, k as EmbedHTMLAttributes, kt as TrackHTMLAttributes, l as BaseHTMLAttributes, lt as OlHTMLAttributes, m as CanvasHTMLAttributes, mt as ProgressHTMLAttributes, n as AnchorHTMLAttributes, nt as MetaHTMLAttributes, o as AriaAttributes, ot as MouseEventHandler, p as CSSProperties, pt as ParamHTMLAttributes, q as KeyboardEvent, r as AnimationEvent, rt as MeterHTMLAttributes, s as AudioHTMLAttributes, st as NativeElements, t as AbstractView, tt as MenuHTMLAttributes, u as BaseSyntheticEvent, ut as OptgroupHTMLAttributes, v as ClipboardEventHandler, vt as ScriptHTMLAttributes, w as DelHTMLAttributes, wt as TableHTMLAttributes, x as CompositionEvent, xt as StyleHTMLAttributes, y as ColHTMLAttributes, yt as SelectHTMLAttributes, z as HTMLAttributes } from "./jsx-DyFytwAs.cjs";
6
6
  import { n as setNodes, t as createNodes } from "./node-Dj7u02ol.cjs";
7
7
  import { a as RenderReturn, c as VaporComponentInstance, d as defineVaporComponent, i as ObjectVaporComponent, l as VaporComponentInstanceConstructor, n as DefineVaporSetupFnComponent, o as TypeEmitsToOptions, r as FunctionalVaporComponent, s as VaporComponent, t as DefineVaporComponent, u as VaporPublicProps } from "./vue-B5aczwqa.cjs";
8
+ import { t as useVdomCache } from "./vdom-C1t-F-eP.cjs";
8
9
  import { shallowRef as useRef } from "vue";
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 };
10
+ 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, useVdomCache };
package/dist/index.d.ts CHANGED
@@ -1,9 +1,10 @@
1
- import { i as normalizeNode, n as NodeChild, r as isBlock, t as NodeArrayChildren } from "./block-CDDvZR6x.js";
2
- import { n as createComponentWithFallback, t as createComponent } from "./component-B9KOho-L.js";
3
- import { t as h } from "./h-DTX_eMGD.js";
4
- import { n as useFullProps, r as useProps, t as getCurrentInstance } from "./helpers-4D9tv0FR.js";
5
- import { $ as MapHTMLAttributes, A as EventHandler, At as TransitionEvent, B as HtmlHTMLAttributes, C as DataHTMLAttributes, Ct as SyntheticEvent, D as DragEvent, Dt as ThHTMLAttributes, E as DialogHTMLAttributes, Et as TextareaHTMLAttributes, F as FocusEventHandler, Ft as WebViewHTMLAttributes, G as InsHTMLAttributes, H as ImgHTMLAttributes, I as FormEvent, It as WheelEvent, J as KeyboardEventHandler, K as IntrinsicElementAttributes, L as FormEventHandler, Lt as WheelEventHandler, M as Events, Mt as UIEvent, N as FieldsetHTMLAttributes, Nt as UIEventHandler, O as DragEventHandler, Ot as TimeHTMLAttributes, P as FocusEvent, Pt as VideoHTMLAttributes, Q as LinkHTMLAttributes, R as FormHTMLAttributes, S as CompositionEventHandler, St as StyleValue, T as DetailsHTMLAttributes, Tt as TdHTMLAttributes, U as InputHTMLAttributes, V as IframeHTMLAttributes, W as InputTypeHTMLAttribute, X as LabelHTMLAttributes, Y as KeygenHTMLAttributes, Z as LiHTMLAttributes, _ as ClipboardEvent, _t as SVGAttributes, a as AreaHTMLAttributes, at as MouseEvent, b as ColgroupHTMLAttributes, bt as SourceHTMLAttributes, c as BaseEventHandler, ct as ObjectHTMLAttributes, d as BlockquoteHTMLAttributes, dt as OptionHTMLAttributes, et as MediaHTMLAttributes, f as ButtonHTMLAttributes, ft as OutputHTMLAttributes, g as ChangeEventHandler, gt as ReservedProps, h as ChangeEvent, ht as QuoteHTMLAttributes, i as AnimationEventHandler, it as ModifierKey, j as EventHandlers, jt as TransitionEventHandler, k as EmbedHTMLAttributes, kt as TrackHTMLAttributes, l as BaseHTMLAttributes, lt as OlHTMLAttributes, m as CanvasHTMLAttributes, mt as ProgressHTMLAttributes, n as AnchorHTMLAttributes, nt as MetaHTMLAttributes, o as AriaAttributes, ot as MouseEventHandler, p as CSSProperties, pt as ParamHTMLAttributes, q as KeyboardEvent, r as AnimationEvent, rt as MeterHTMLAttributes, s as AudioHTMLAttributes, st as NativeElements, t as AbstractView, tt as MenuHTMLAttributes, u as BaseSyntheticEvent, ut as OptgroupHTMLAttributes, v as ClipboardEventHandler, vt as ScriptHTMLAttributes, w as DelHTMLAttributes, wt as TableHTMLAttributes, x as CompositionEvent, xt as StyleHTMLAttributes, y as ColHTMLAttributes, yt as SelectHTMLAttributes, z as HTMLAttributes } from "./jsx-BVa2SJ5I.js";
6
- import { n as setNodes, t as createNodes } from "./node-CHgp_X1O.js";
7
- import { a as RenderReturn, c as VaporComponentInstance, d as defineVaporComponent, i as ObjectVaporComponent, l as VaporComponentInstanceConstructor, n as DefineVaporSetupFnComponent, o as TypeEmitsToOptions, r as FunctionalVaporComponent, s as VaporComponent, t as DefineVaporComponent, u as VaporPublicProps } from "./vue-C3xG3k3W.js";
1
+ import { i as normalizeNode, n as NodeChild, r as isBlock, t as NodeArrayChildren } from "./block-DzOQpwy5.js";
2
+ import { n as createComponentWithFallback, t as createComponent } from "./component-YLvTjTHV.js";
3
+ import { t as h } from "./h-CRAb05GU.js";
4
+ import { n as useFullProps, r as useProps, t as getCurrentInstance } from "./helpers-B37sqEig.js";
5
+ import { $ as MapHTMLAttributes, A as EventHandler, At as TransitionEvent, B as HtmlHTMLAttributes, C as DataHTMLAttributes, Ct as SyntheticEvent, D as DragEvent, Dt as ThHTMLAttributes, E as DialogHTMLAttributes, Et as TextareaHTMLAttributes, F as FocusEventHandler, Ft as WebViewHTMLAttributes, G as InsHTMLAttributes, H as ImgHTMLAttributes, I as FormEvent, It as WheelEvent, J as KeyboardEventHandler, K as IntrinsicElementAttributes, L as FormEventHandler, Lt as WheelEventHandler, M as Events, Mt as UIEvent, N as FieldsetHTMLAttributes, Nt as UIEventHandler, O as DragEventHandler, Ot as TimeHTMLAttributes, P as FocusEvent, Pt as VideoHTMLAttributes, Q as LinkHTMLAttributes, R as FormHTMLAttributes, S as CompositionEventHandler, St as StyleValue, T as DetailsHTMLAttributes, Tt as TdHTMLAttributes, U as InputHTMLAttributes, V as IframeHTMLAttributes, W as InputTypeHTMLAttribute, X as LabelHTMLAttributes, Y as KeygenHTMLAttributes, Z as LiHTMLAttributes, _ as ClipboardEvent, _t as SVGAttributes, a as AreaHTMLAttributes, at as MouseEvent, b as ColgroupHTMLAttributes, bt as SourceHTMLAttributes, c as BaseEventHandler, ct as ObjectHTMLAttributes, d as BlockquoteHTMLAttributes, dt as OptionHTMLAttributes, et as MediaHTMLAttributes, f as ButtonHTMLAttributes, ft as OutputHTMLAttributes, g as ChangeEventHandler, gt as ReservedProps, h as ChangeEvent, ht as QuoteHTMLAttributes, i as AnimationEventHandler, it as ModifierKey, j as EventHandlers, jt as TransitionEventHandler, k as EmbedHTMLAttributes, kt as TrackHTMLAttributes, l as BaseHTMLAttributes, lt as OlHTMLAttributes, m as CanvasHTMLAttributes, mt as ProgressHTMLAttributes, n as AnchorHTMLAttributes, nt as MetaHTMLAttributes, o as AriaAttributes, ot as MouseEventHandler, p as CSSProperties, pt as ParamHTMLAttributes, q as KeyboardEvent, r as AnimationEvent, rt as MeterHTMLAttributes, s as AudioHTMLAttributes, st as NativeElements, t as AbstractView, tt as MenuHTMLAttributes, u as BaseSyntheticEvent, ut as OptgroupHTMLAttributes, v as ClipboardEventHandler, vt as ScriptHTMLAttributes, w as DelHTMLAttributes, wt as TableHTMLAttributes, x as CompositionEvent, xt as StyleHTMLAttributes, y as ColHTMLAttributes, yt as SelectHTMLAttributes, z as HTMLAttributes } from "./jsx-BPKSHIm5.js";
6
+ import { n as setNodes, t as createNodes } from "./node-6h8YP74l.js";
7
+ import { a as RenderReturn, c as VaporComponentInstance, d as defineVaporComponent, i as ObjectVaporComponent, l as VaporComponentInstanceConstructor, n as DefineVaporSetupFnComponent, o as TypeEmitsToOptions, r as FunctionalVaporComponent, s as VaporComponent, t as DefineVaporComponent, u as VaporPublicProps } from "./vue-DFs5XXCh.js";
8
+ import { t as useVdomCache } from "./vdom-CBgMLCQr.js";
8
9
  import { shallowRef as useRef } from "vue";
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 };
10
+ 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, useVdomCache };
package/dist/index.js CHANGED
@@ -1,10 +1,11 @@
1
1
  import { n as normalizeNode, t as isBlock } from "./block-BZYKbYTH.js";
2
- import { n as useFullProps, r as useProps, t as getCurrentInstance } from "./helpers-BSrUwxJS.js";
3
- import { n as createComponentWithFallback, t as createComponent } from "./component-9t-R5fIy.js";
4
- import { t as h } from "./h-DWXdYIAv.js";
2
+ import { n as useFullProps, r as useProps, t as getCurrentInstance } from "./helpers-C6cGsX4q.js";
3
+ import { n as createComponentWithFallback, t as createComponent } from "./component-BwobbDXG.js";
4
+ import { t as h } from "./h-H2pnsSY9.js";
5
5
  import "./jsx-C5yte_hi.js";
6
6
  import { n as setNodes, t as createNodes } from "./node-C-c1h4g5.js";
7
7
  import { t as defineVaporComponent } from "./vue-BJLej53a.js";
8
+ import { t as useVdomCache } from "./vdom-CO5AZsJa.js";
8
9
  import { shallowRef as useRef } from "vue";
9
10
 
10
- export { createComponent, createComponentWithFallback, createNodes, defineVaporComponent, getCurrentInstance, h, isBlock, normalizeNode, setNodes, useFullProps, useProps, useRef };
11
+ export { createComponent, createComponentWithFallback, createNodes, defineVaporComponent, getCurrentInstance, h, isBlock, normalizeNode, setNodes, useFullProps, useProps, useRef, useVdomCache };
@@ -1,4 +1,4 @@
1
- import * as vue1 from "vue";
1
+ import * as vue0 from "vue";
2
2
  import * as CSS from "csstype";
3
3
 
4
4
  //#region src/jsx.d.ts
@@ -1191,7 +1191,7 @@ interface Events<T = Element> {
1191
1191
  onTransitionstart: TransitionEventHandler<T>;
1192
1192
  }
1193
1193
  type EventHandlers<E> = { [K in keyof E]?: E[K] extends ((...args: any) => any) ? E[K] : (payload: E[K]) => void };
1194
- type _ReservedProps = vue1.ReservedProps;
1194
+ type _ReservedProps = vue0.ReservedProps;
1195
1195
  interface ReservedProps$1 extends _ReservedProps {}
1196
1196
  type NativeElements = { [K in keyof IntrinsicElementAttributes]: IntrinsicElementAttributes[K] & ReservedProps$1 };
1197
1197
  interface BaseSyntheticEvent<E = object, C = unknown, T = unknown> {
@@ -1,4 +1,4 @@
1
- import * as vue1 from "vue";
1
+ import * as vue0 from "vue";
2
2
  import * as CSS from "csstype";
3
3
 
4
4
  //#region src/jsx.d.ts
@@ -1191,7 +1191,7 @@ interface Events<T = Element> {
1191
1191
  onTransitionstart: TransitionEventHandler<T>;
1192
1192
  }
1193
1193
  type EventHandlers<E> = { [K in keyof E]?: E[K] extends ((...args: any) => any) ? E[K] : (payload: E[K]) => void };
1194
- type _ReservedProps = vue1.ReservedProps;
1194
+ type _ReservedProps = vue0.ReservedProps;
1195
1195
  interface ReservedProps$1 extends _ReservedProps {}
1196
1196
  type NativeElements = { [K in keyof IntrinsicElementAttributes]: IntrinsicElementAttributes[K] & ReservedProps$1 };
1197
1197
  interface BaseSyntheticEvent<E = object, C = unknown, T = unknown> {
package/dist/jsx.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as MapHTMLAttributes, A as EventHandler, At as TransitionEvent, B as HtmlHTMLAttributes, C as DataHTMLAttributes, Ct as SyntheticEvent, D as DragEvent, Dt as ThHTMLAttributes, E as DialogHTMLAttributes, Et as TextareaHTMLAttributes, F as FocusEventHandler, Ft as WebViewHTMLAttributes, G as InsHTMLAttributes, H as ImgHTMLAttributes, I as FormEvent, It as WheelEvent, J as KeyboardEventHandler, K as IntrinsicElementAttributes, L as FormEventHandler, Lt as WheelEventHandler, M as Events, Mt as UIEvent, N as FieldsetHTMLAttributes, Nt as UIEventHandler, O as DragEventHandler, Ot as TimeHTMLAttributes, P as FocusEvent, Pt as VideoHTMLAttributes, Q as LinkHTMLAttributes, R as FormHTMLAttributes, S as CompositionEventHandler, St as StyleValue, T as DetailsHTMLAttributes, Tt as TdHTMLAttributes, U as InputHTMLAttributes, V as IframeHTMLAttributes, W as InputTypeHTMLAttribute, X as LabelHTMLAttributes, Y as KeygenHTMLAttributes, Z as LiHTMLAttributes, _ as ClipboardEvent, _t as SVGAttributes, a as AreaHTMLAttributes, at as MouseEvent, b as ColgroupHTMLAttributes, bt as SourceHTMLAttributes, c as BaseEventHandler, ct as ObjectHTMLAttributes, d as BlockquoteHTMLAttributes, dt as OptionHTMLAttributes, et as MediaHTMLAttributes, f as ButtonHTMLAttributes, ft as OutputHTMLAttributes, g as ChangeEventHandler, gt as ReservedProps, h as ChangeEvent, ht as QuoteHTMLAttributes, i as AnimationEventHandler, it as ModifierKey, j as EventHandlers, jt as TransitionEventHandler, k as EmbedHTMLAttributes, kt as TrackHTMLAttributes, l as BaseHTMLAttributes, lt as OlHTMLAttributes, m as CanvasHTMLAttributes, mt as ProgressHTMLAttributes, n as AnchorHTMLAttributes, nt as MetaHTMLAttributes, o as AriaAttributes, ot as MouseEventHandler, p as CSSProperties, pt as ParamHTMLAttributes, q as KeyboardEvent, r as AnimationEvent, rt as MeterHTMLAttributes, s as AudioHTMLAttributes, st as NativeElements, t as AbstractView, tt as MenuHTMLAttributes, u as BaseSyntheticEvent, ut as OptgroupHTMLAttributes, v as ClipboardEventHandler, vt as ScriptHTMLAttributes, w as DelHTMLAttributes, wt as TableHTMLAttributes, x as CompositionEvent, xt as StyleHTMLAttributes, y as ColHTMLAttributes, yt as SelectHTMLAttributes, z as HTMLAttributes } from "./jsx-fC1dHUHK.cjs";
1
+ import { $ as MapHTMLAttributes, A as EventHandler, At as TransitionEvent, B as HtmlHTMLAttributes, C as DataHTMLAttributes, Ct as SyntheticEvent, D as DragEvent, Dt as ThHTMLAttributes, E as DialogHTMLAttributes, Et as TextareaHTMLAttributes, F as FocusEventHandler, Ft as WebViewHTMLAttributes, G as InsHTMLAttributes, H as ImgHTMLAttributes, I as FormEvent, It as WheelEvent, J as KeyboardEventHandler, K as IntrinsicElementAttributes, L as FormEventHandler, Lt as WheelEventHandler, M as Events, Mt as UIEvent, N as FieldsetHTMLAttributes, Nt as UIEventHandler, O as DragEventHandler, Ot as TimeHTMLAttributes, P as FocusEvent, Pt as VideoHTMLAttributes, Q as LinkHTMLAttributes, R as FormHTMLAttributes, S as CompositionEventHandler, St as StyleValue, T as DetailsHTMLAttributes, Tt as TdHTMLAttributes, U as InputHTMLAttributes, V as IframeHTMLAttributes, W as InputTypeHTMLAttribute, X as LabelHTMLAttributes, Y as KeygenHTMLAttributes, Z as LiHTMLAttributes, _ as ClipboardEvent, _t as SVGAttributes, a as AreaHTMLAttributes, at as MouseEvent, b as ColgroupHTMLAttributes, bt as SourceHTMLAttributes, c as BaseEventHandler, ct as ObjectHTMLAttributes, d as BlockquoteHTMLAttributes, dt as OptionHTMLAttributes, et as MediaHTMLAttributes, f as ButtonHTMLAttributes, ft as OutputHTMLAttributes, g as ChangeEventHandler, gt as ReservedProps, h as ChangeEvent, ht as QuoteHTMLAttributes, i as AnimationEventHandler, it as ModifierKey, j as EventHandlers, jt as TransitionEventHandler, k as EmbedHTMLAttributes, kt as TrackHTMLAttributes, l as BaseHTMLAttributes, lt as OlHTMLAttributes, m as CanvasHTMLAttributes, mt as ProgressHTMLAttributes, n as AnchorHTMLAttributes, nt as MetaHTMLAttributes, o as AriaAttributes, ot as MouseEventHandler, p as CSSProperties, pt as ParamHTMLAttributes, q as KeyboardEvent, r as AnimationEvent, rt as MeterHTMLAttributes, s as AudioHTMLAttributes, st as NativeElements, t as AbstractView, tt as MenuHTMLAttributes, u as BaseSyntheticEvent, ut as OptgroupHTMLAttributes, v as ClipboardEventHandler, vt as ScriptHTMLAttributes, w as DelHTMLAttributes, wt as TableHTMLAttributes, x as CompositionEvent, xt as StyleHTMLAttributes, y as ColHTMLAttributes, yt as SelectHTMLAttributes, z as HTMLAttributes } from "./jsx-DyFytwAs.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 { $ as MapHTMLAttributes, A as EventHandler, At as TransitionEvent, B as HtmlHTMLAttributes, C as DataHTMLAttributes, Ct as SyntheticEvent, D as DragEvent, Dt as ThHTMLAttributes, E as DialogHTMLAttributes, Et as TextareaHTMLAttributes, F as FocusEventHandler, Ft as WebViewHTMLAttributes, G as InsHTMLAttributes, H as ImgHTMLAttributes, I as FormEvent, It as WheelEvent, J as KeyboardEventHandler, K as IntrinsicElementAttributes, L as FormEventHandler, Lt as WheelEventHandler, M as Events, Mt as UIEvent, N as FieldsetHTMLAttributes, Nt as UIEventHandler, O as DragEventHandler, Ot as TimeHTMLAttributes, P as FocusEvent, Pt as VideoHTMLAttributes, Q as LinkHTMLAttributes, R as FormHTMLAttributes, S as CompositionEventHandler, St as StyleValue, T as DetailsHTMLAttributes, Tt as TdHTMLAttributes, U as InputHTMLAttributes, V as IframeHTMLAttributes, W as InputTypeHTMLAttribute, X as LabelHTMLAttributes, Y as KeygenHTMLAttributes, Z as LiHTMLAttributes, _ as ClipboardEvent, _t as SVGAttributes, a as AreaHTMLAttributes, at as MouseEvent, b as ColgroupHTMLAttributes, bt as SourceHTMLAttributes, c as BaseEventHandler, ct as ObjectHTMLAttributes, d as BlockquoteHTMLAttributes, dt as OptionHTMLAttributes, et as MediaHTMLAttributes, f as ButtonHTMLAttributes, ft as OutputHTMLAttributes, g as ChangeEventHandler, gt as ReservedProps, h as ChangeEvent, ht as QuoteHTMLAttributes, i as AnimationEventHandler, it as ModifierKey, j as EventHandlers, jt as TransitionEventHandler, k as EmbedHTMLAttributes, kt as TrackHTMLAttributes, l as BaseHTMLAttributes, lt as OlHTMLAttributes, m as CanvasHTMLAttributes, mt as ProgressHTMLAttributes, n as AnchorHTMLAttributes, nt as MetaHTMLAttributes, o as AriaAttributes, ot as MouseEventHandler, p as CSSProperties, pt as ParamHTMLAttributes, q as KeyboardEvent, r as AnimationEvent, rt as MeterHTMLAttributes, s as AudioHTMLAttributes, st as NativeElements, t as AbstractView, tt as MenuHTMLAttributes, u as BaseSyntheticEvent, ut as OptgroupHTMLAttributes, v as ClipboardEventHandler, vt as ScriptHTMLAttributes, w as DelHTMLAttributes, wt as TableHTMLAttributes, x as CompositionEvent, xt as StyleHTMLAttributes, y as ColHTMLAttributes, yt as SelectHTMLAttributes, z as HTMLAttributes } from "./jsx-BVa2SJ5I.js";
1
+ import { $ as MapHTMLAttributes, A as EventHandler, At as TransitionEvent, B as HtmlHTMLAttributes, C as DataHTMLAttributes, Ct as SyntheticEvent, D as DragEvent, Dt as ThHTMLAttributes, E as DialogHTMLAttributes, Et as TextareaHTMLAttributes, F as FocusEventHandler, Ft as WebViewHTMLAttributes, G as InsHTMLAttributes, H as ImgHTMLAttributes, I as FormEvent, It as WheelEvent, J as KeyboardEventHandler, K as IntrinsicElementAttributes, L as FormEventHandler, Lt as WheelEventHandler, M as Events, Mt as UIEvent, N as FieldsetHTMLAttributes, Nt as UIEventHandler, O as DragEventHandler, Ot as TimeHTMLAttributes, P as FocusEvent, Pt as VideoHTMLAttributes, Q as LinkHTMLAttributes, R as FormHTMLAttributes, S as CompositionEventHandler, St as StyleValue, T as DetailsHTMLAttributes, Tt as TdHTMLAttributes, U as InputHTMLAttributes, V as IframeHTMLAttributes, W as InputTypeHTMLAttribute, X as LabelHTMLAttributes, Y as KeygenHTMLAttributes, Z as LiHTMLAttributes, _ as ClipboardEvent, _t as SVGAttributes, a as AreaHTMLAttributes, at as MouseEvent, b as ColgroupHTMLAttributes, bt as SourceHTMLAttributes, c as BaseEventHandler, ct as ObjectHTMLAttributes, d as BlockquoteHTMLAttributes, dt as OptionHTMLAttributes, et as MediaHTMLAttributes, f as ButtonHTMLAttributes, ft as OutputHTMLAttributes, g as ChangeEventHandler, gt as ReservedProps, h as ChangeEvent, ht as QuoteHTMLAttributes, i as AnimationEventHandler, it as ModifierKey, j as EventHandlers, jt as TransitionEventHandler, k as EmbedHTMLAttributes, kt as TrackHTMLAttributes, l as BaseHTMLAttributes, lt as OlHTMLAttributes, m as CanvasHTMLAttributes, mt as ProgressHTMLAttributes, n as AnchorHTMLAttributes, nt as MetaHTMLAttributes, o as AriaAttributes, ot as MouseEventHandler, p as CSSProperties, pt as ParamHTMLAttributes, q as KeyboardEvent, r as AnimationEvent, rt as MeterHTMLAttributes, s as AudioHTMLAttributes, st as NativeElements, t as AbstractView, tt as MenuHTMLAttributes, u as BaseSyntheticEvent, ut as OptgroupHTMLAttributes, v as ClipboardEventHandler, vt as ScriptHTMLAttributes, w as DelHTMLAttributes, wt as TableHTMLAttributes, x as CompositionEvent, xt as StyleHTMLAttributes, y as ColHTMLAttributes, yt as SelectHTMLAttributes, z as HTMLAttributes } from "./jsx-BPKSHIm5.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 { n as setNodes, t as createNodes } from "./node-CHgp_X1O.js";
1
+ import { n as setNodes, t as createNodes } from "./node-6h8YP74l.js";
2
2
  export { createNodes, setNodes };
@@ -0,0 +1,4 @@
1
+ //#region src/vdom.d.ts
2
+ declare function useVdomCache(): never[];
3
+ //#endregion
4
+ export { useVdomCache as t };
@@ -0,0 +1,4 @@
1
+ //#region src/vdom.d.ts
2
+ declare function useVdomCache(): never[];
3
+ //#endregion
4
+ export { useVdomCache as t };
@@ -0,0 +1,22 @@
1
+ const require_chunk = require('./chunk-CUT6urMc.cjs');
2
+ let vue = require("vue");
3
+ vue = require_chunk.__toESM(vue);
4
+
5
+ //#region src/vdom.ts
6
+ const cacheMap = /* @__PURE__ */ new WeakMap();
7
+ function useVdomCache() {
8
+ const i = (0, vue.getCurrentInstance)();
9
+ if (i) {
10
+ !cacheMap.has(i) && cacheMap.set(i, []);
11
+ const caches = cacheMap.get(i);
12
+ return caches[caches.length] = [];
13
+ } else return [];
14
+ }
15
+
16
+ //#endregion
17
+ Object.defineProperty(exports, 'useVdomCache', {
18
+ enumerable: true,
19
+ get: function () {
20
+ return useVdomCache;
21
+ }
22
+ });
@@ -0,0 +1,15 @@
1
+ import { getCurrentInstance } from "vue";
2
+
3
+ //#region src/vdom.ts
4
+ const cacheMap = /* @__PURE__ */ new WeakMap();
5
+ function useVdomCache() {
6
+ const i = getCurrentInstance();
7
+ if (i) {
8
+ !cacheMap.has(i) && cacheMap.set(i, []);
9
+ const caches = cacheMap.get(i);
10
+ return caches[caches.length] = [];
11
+ } else return [];
12
+ }
13
+
14
+ //#endregion
15
+ export { useVdomCache as t };
package/dist/vdom.cjs ADDED
@@ -0,0 +1,3 @@
1
+ const require_vdom = require('./vdom-CI8nGTUQ.cjs');
2
+
3
+ exports.useVdomCache = require_vdom.useVdomCache;
@@ -0,0 +1,2 @@
1
+ import { t as useVdomCache } from "./vdom-C1t-F-eP.cjs";
2
+ export { useVdomCache };
package/dist/vdom.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ import { t as useVdomCache } from "./vdom-CBgMLCQr.js";
2
+ export { useVdomCache };
package/dist/vdom.js ADDED
@@ -0,0 +1,3 @@
1
+ import { t as useVdomCache } from "./vdom-CO5AZsJa.js";
2
+
3
+ export { useVdomCache };
package/dist/vue.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as RenderReturn, c as VaporComponentInstance, d as defineVaporComponent, i as ObjectVaporComponent, l as VaporComponentInstanceConstructor, n as DefineVaporSetupFnComponent, o as TypeEmitsToOptions, r as FunctionalVaporComponent, s as VaporComponent, t as DefineVaporComponent, u as VaporPublicProps } from "./vue-C3xG3k3W.js";
1
+ import { a as RenderReturn, c as VaporComponentInstance, d as defineVaporComponent, i as ObjectVaporComponent, l as VaporComponentInstanceConstructor, n as DefineVaporSetupFnComponent, o as TypeEmitsToOptions, r as FunctionalVaporComponent, s as VaporComponent, t as DefineVaporComponent, u as VaporPublicProps } from "./vue-DFs5XXCh.js";
2
2
  export { DefineVaporComponent, DefineVaporSetupFnComponent, FunctionalVaporComponent, ObjectVaporComponent, RenderReturn, TypeEmitsToOptions, VaporComponent, VaporComponentInstance, VaporComponentInstanceConstructor, VaporPublicProps, defineVaporComponent };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue-jsx-vapor/runtime",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "description": "Vue JSX Vapor Runtime",
5
5
  "type": "module",
6
6
  "keywords": [
File without changes
File without changes