vue-jsx-vapor 2.4.1 → 2.4.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 (69) hide show
  1. package/dist/api.d.cts +1 -2
  2. package/dist/api.d.ts +1 -2
  3. package/dist/astro.cjs +2 -3
  4. package/dist/astro.d.cts +3 -2
  5. package/dist/astro.d.ts +3 -2
  6. package/dist/astro.js +2 -3
  7. package/dist/esbuild.cjs +2 -3
  8. package/dist/esbuild.d.cts +3 -4
  9. package/dist/esbuild.d.ts +3 -4
  10. package/dist/esbuild.js +2 -3
  11. package/dist/index.cjs +10 -11
  12. package/dist/index.d.cts +3 -4
  13. package/dist/index.d.ts +3 -4
  14. package/dist/index.js +11 -12
  15. package/dist/nuxt.cjs +4 -5
  16. package/dist/nuxt.d.cts +1 -2
  17. package/dist/nuxt.d.ts +3 -4
  18. package/dist/nuxt.js +4 -5
  19. package/dist/{options-BRfDD5qB.d.cts → options-CUo88eyQ.d.ts} +4 -2
  20. package/dist/{options-CeDGvYqS.d.ts → options-DKC5DMaU.d.cts} +4 -2
  21. package/dist/options.d.cts +1 -1
  22. package/dist/options.d.ts +1 -1
  23. package/dist/{raw-DecHkpC5.js → raw-VH0PoGzC.js} +2 -2
  24. package/dist/{raw-BY1njZIx.cjs → raw-uTw6gsXR.cjs} +2 -2
  25. package/dist/raw.cjs +1 -1
  26. package/dist/raw.d.cts +1 -2
  27. package/dist/raw.d.ts +1 -2
  28. package/dist/raw.js +1 -1
  29. package/dist/rolldown.cjs +2 -3
  30. package/dist/rolldown.d.cts +3 -4
  31. package/dist/rolldown.d.ts +3 -4
  32. package/dist/rolldown.js +2 -3
  33. package/dist/rollup.cjs +2 -3
  34. package/dist/rollup.d.cts +3 -4
  35. package/dist/rollup.d.ts +3 -4
  36. package/dist/rollup.js +2 -3
  37. package/dist/rspack.cjs +2 -3
  38. package/dist/rspack.d.cts +1 -2
  39. package/dist/rspack.d.ts +1 -2
  40. package/dist/rspack.js +2 -3
  41. package/dist/unplugin-b-OOl5Oa.js +12 -0
  42. package/dist/{unplugin-JV7CydWf.cjs → unplugin-oQzm1mwM.cjs} +2 -22
  43. package/dist/unplugin.cjs +2 -3
  44. package/dist/unplugin.d.cts +3 -4
  45. package/dist/unplugin.d.ts +3 -4
  46. package/dist/unplugin.js +2 -3
  47. package/dist/{vite-CVR2C-Wy.cjs → vite-CI0weIMr.cjs} +1 -1
  48. package/dist/vite-DTXDaFaY.js +7 -0
  49. package/dist/vite.cjs +3 -4
  50. package/dist/vite.d.cts +3 -4
  51. package/dist/vite.d.ts +3 -4
  52. package/dist/vite.js +3 -4
  53. package/dist/volar.d.cts +1 -2
  54. package/dist/volar.d.ts +1 -2
  55. package/dist/{webpack-DWlp7dxs.cjs → webpack-BsqVuFup.cjs} +1 -1
  56. package/dist/{webpack-mKQ7x4tg.js → webpack-DKzUUZiK.js} +1 -1
  57. package/dist/webpack.cjs +3 -4
  58. package/dist/webpack.d.cts +3 -4
  59. package/dist/webpack.d.ts +1 -2
  60. package/dist/webpack.js +3 -4
  61. package/jsx-runtime/index.d.cts +0 -2
  62. package/jsx-runtime/index.d.ts +0 -2
  63. package/package.json +14 -14
  64. package/dist/options-HYvLzmlg.js +0 -0
  65. package/dist/options.cjs +0 -1
  66. package/dist/options.js +0 -1
  67. package/dist/unplugin-DeYNxSzL.js +0 -32
  68. package/dist/vite-C2WptbyG.js +0 -7
  69. /package/dist/{options-CulFO0WS.cjs → options.d.cjs} +0 -0
package/dist/api.d.cts CHANGED
@@ -1,8 +1,7 @@
1
- import { Options } from "./options-BRfDD5qB.cjs";
1
+ import { Options } from "./options-DKC5DMaU.cjs";
2
2
  import * as _babel_core14 from "@babel/core";
3
3
 
4
4
  //#region src/core/index.d.ts
5
5
  declare function transformVueJsxVapor(code: string, id: string, options?: Options, needSourceMap?: boolean): _babel_core14.BabelFileResult | null;
6
-
7
6
  //#endregion
8
7
  export { Options, transformVueJsxVapor };
package/dist/api.d.ts CHANGED
@@ -1,8 +1,7 @@
1
- import { Options } from "./options-CeDGvYqS.js";
1
+ import { Options } from "./options-CUo88eyQ.js";
2
2
  import * as _babel_core14 from "@babel/core";
3
3
 
4
4
  //#region src/core/index.d.ts
5
5
  declare function transformVueJsxVapor(code: string, id: string, options?: Options, needSourceMap?: boolean): _babel_core14.BabelFileResult | null;
6
-
7
6
  //#endregion
8
7
  export { Options, transformVueJsxVapor };
package/dist/astro.cjs CHANGED
@@ -1,8 +1,7 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
  require('./core-BEqRwfoK.cjs');
3
- require('./raw-BY1njZIx.cjs');
4
- require('./options-CulFO0WS.cjs');
5
- const require_unplugin = require('./unplugin-JV7CydWf.cjs');
3
+ require('./raw-uTw6gsXR.cjs');
4
+ const require_unplugin = require('./unplugin-oQzm1mwM.cjs');
6
5
 
7
6
  //#region src/astro.ts
8
7
  var astro_default = (options) => ({
package/dist/astro.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { Options } from "./options-BRfDD5qB.cjs";
1
+ import { Options } from "./options-DKC5DMaU.cjs";
2
2
 
3
3
  //#region src/astro.d.ts
4
4
  declare const _default: (options: Options) => {
@@ -6,5 +6,6 @@ declare const _default: (options: Options) => {
6
6
  hooks: {
7
7
  'astro:config:setup': (astro: any) => void;
8
8
  };
9
- }; //#endregion
9
+ };
10
+ //#endregion
10
11
  export { _default as default };
package/dist/astro.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Options } from "./options-CeDGvYqS.js";
1
+ import { Options } from "./options-CUo88eyQ.js";
2
2
 
3
3
  //#region src/astro.d.ts
4
4
  declare const _default: (options: Options) => {
@@ -6,5 +6,6 @@ declare const _default: (options: Options) => {
6
6
  hooks: {
7
7
  'astro:config:setup': (astro: any) => void;
8
8
  };
9
- }; //#endregion
9
+ };
10
+ //#endregion
10
11
  export { _default as default };
package/dist/astro.js CHANGED
@@ -1,7 +1,6 @@
1
1
  import "./core-BDE4GLH8.js";
2
- import "./raw-DecHkpC5.js";
3
- import "./options-HYvLzmlg.js";
4
- import { unplugin_default } from "./unplugin-DeYNxSzL.js";
2
+ import "./raw-VH0PoGzC.js";
3
+ import { unplugin_default } from "./unplugin-b-OOl5Oa.js";
5
4
 
6
5
  //#region src/astro.ts
7
6
  var astro_default = (options) => ({
package/dist/esbuild.cjs CHANGED
@@ -1,8 +1,7 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
  require('./core-BEqRwfoK.cjs');
3
- require('./raw-BY1njZIx.cjs');
4
- require('./options-CulFO0WS.cjs');
5
- const require_unplugin = require('./unplugin-JV7CydWf.cjs');
3
+ require('./raw-uTw6gsXR.cjs');
4
+ const require_unplugin = require('./unplugin-oQzm1mwM.cjs');
6
5
 
7
6
  //#region src/esbuild.ts
8
7
  var esbuild_default = require_unplugin.unplugin_default.esbuild;
@@ -1,8 +1,7 @@
1
- import { Options } from "./options-BRfDD5qB.cjs";
2
- import * as esbuild3 from "esbuild";
1
+ import { Options } from "./options-DKC5DMaU.cjs";
2
+ import * as esbuild2 from "esbuild";
3
3
 
4
4
  //#region src/esbuild.d.ts
5
- declare const _default: (options?: Options | undefined) => esbuild3.Plugin;
6
-
5
+ declare const _default: (options?: Options | undefined) => esbuild2.Plugin;
7
6
  //#endregion
8
7
  export { _default as default };
package/dist/esbuild.d.ts CHANGED
@@ -1,8 +1,7 @@
1
- import { Options } from "./options-CeDGvYqS.js";
2
- import * as esbuild10 from "esbuild";
1
+ import { Options } from "./options-CUo88eyQ.js";
2
+ import * as esbuild4 from "esbuild";
3
3
 
4
4
  //#region src/esbuild.d.ts
5
- declare const _default: (options?: Options | undefined) => esbuild10.Plugin;
6
-
5
+ declare const _default: (options?: Options | undefined) => esbuild4.Plugin;
7
6
  //#endregion
8
7
  export { _default as default };
package/dist/esbuild.js CHANGED
@@ -1,7 +1,6 @@
1
1
  import "./core-BDE4GLH8.js";
2
- import "./raw-DecHkpC5.js";
3
- import "./options-HYvLzmlg.js";
4
- import { unplugin_default } from "./unplugin-DeYNxSzL.js";
2
+ import "./raw-VH0PoGzC.js";
3
+ import { unplugin_default } from "./unplugin-b-OOl5Oa.js";
5
4
 
6
5
  //#region src/esbuild.ts
7
6
  var esbuild_default = unplugin_default.esbuild;
package/dist/index.cjs CHANGED
@@ -62,20 +62,20 @@ function normalizeNode(node, anchor) {
62
62
  } else return document.createTextNode(result);
63
63
  }
64
64
  }
65
- function resolveValue(current, value, anchor) {
66
- const node = normalizeNode(value, anchor);
65
+ function resolveValue(current, value, _anchor) {
66
+ const node = normalizeNode(value, _anchor);
67
67
  if (current) {
68
68
  if ((0, vue.isFragment)(current)) {
69
- const { anchor: anchor$1 } = current;
70
- if (anchor$1 && anchor$1.parentNode) {
71
- (0, vue.remove)(current.nodes, anchor$1.parentNode);
72
- (0, vue.insert)(node, anchor$1.parentNode, anchor$1);
73
- anchor$1.remove();
69
+ const { anchor } = current;
70
+ if (anchor && anchor.parentNode) {
71
+ (0, vue.remove)(current.nodes, anchor.parentNode);
72
+ (0, vue.insert)(node, anchor.parentNode, anchor);
73
+ !_anchor && anchor.parentNode.removeChild(anchor);
74
74
  }
75
75
  } else if (current instanceof Node) {
76
76
  if ((0, vue.isFragment)(node) && current.parentNode) {
77
77
  (0, vue.insert)(node, current.parentNode, current);
78
- current.remove();
78
+ current.parentNode.removeChild(current);
79
79
  } else if (node instanceof Node) {
80
80
  if (current.nodeType === 3 && node.nodeType === 3) {
81
81
  current.textContent = node.textContent;
@@ -88,19 +88,18 @@ function resolveValue(current, value, anchor) {
88
88
  }
89
89
  function resolveValues(values = [], _anchor) {
90
90
  const nodes = [];
91
+ const frag = createFragment(nodes, _anchor);
91
92
  const scopes = [];
92
93
  for (const [index, value] of values.entries()) {
93
94
  const anchor = index === values.length - 1 ? _anchor : void 0;
94
95
  if (typeof value === "function") (0, vue.renderEffect)(() => {
95
- (0, vue.pauseTracking)();
96
96
  if (scopes[index]) scopes[index].stop();
97
97
  scopes[index] = new vue.EffectScope();
98
98
  nodes[index] = scopes[index].run(() => resolveValue(nodes[index], value(), anchor));
99
- (0, vue.resetTracking)();
100
99
  });
101
100
  else nodes[index] = resolveValue(nodes[index], value, anchor);
102
101
  }
103
- return nodes;
102
+ return frag;
104
103
  }
105
104
  function setNodes(anchor, ...values) {
106
105
  const resolvedValues = resolveValues(values, anchor);
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as Vue from "vue";
2
- import { Block, GenericComponentInstance, shallowRef as useRef } from "vue";
2
+ import { GenericComponentInstance, VaporFragment, shallowRef as useRef } from "vue";
3
3
 
4
4
  //#region src/core/runtime.d.ts
5
5
  declare function getCurrentInstance(): GenericComponentInstance | null;
@@ -33,8 +33,7 @@ declare function useProps(): {
33
33
  declare function useFullProps(): Vue.ShallowUnwrapRef<{
34
34
  [x: string]: Vue.Ref<unknown, unknown>;
35
35
  }>;
36
- declare function setNodes(anchor: Element, ...values: any[]): void;
37
- declare function createNodes(...values: any[]): Block[];
38
-
36
+ declare function setNodes(anchor: Node, ...values: any[]): void;
37
+ declare function createNodes(...values: any[]): VaporFragment;
39
38
  //#endregion
40
39
  export { createNodes, getCurrentInstance, setNodes, useFullProps, useProps, useRef };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as Vue from "vue";
2
- import { Block, GenericComponentInstance, shallowRef as useRef } from "vue";
2
+ import { GenericComponentInstance, VaporFragment, shallowRef as useRef } from "vue";
3
3
 
4
4
  //#region src/core/runtime.d.ts
5
5
  declare function getCurrentInstance(): GenericComponentInstance | null;
@@ -33,8 +33,7 @@ declare function useProps(): {
33
33
  declare function useFullProps(): Vue.ShallowUnwrapRef<{
34
34
  [x: string]: Vue.Ref<unknown, unknown>;
35
35
  }>;
36
- declare function setNodes(anchor: Element, ...values: any[]): void;
37
- declare function createNodes(...values: any[]): Block[];
38
-
36
+ declare function setNodes(anchor: Node, ...values: any[]): void;
37
+ declare function createNodes(...values: any[]): VaporFragment;
39
38
  //#endregion
40
39
  export { createNodes, getCurrentInstance, setNodes, useFullProps, useProps, useRef };
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as Vue from "vue";
2
- import { EffectScope, VaporFragment, insert, isFragment, isVaporComponent, pauseTracking, proxyRefs, remove, renderEffect, resetTracking, shallowRef as useRef, toRefs, useAttrs } from "vue";
2
+ import { EffectScope, VaporFragment, insert, isFragment, isVaporComponent, proxyRefs, remove, renderEffect, shallowRef as useRef, toRefs, useAttrs } from "vue";
3
3
 
4
4
  //#region src/core/runtime.ts
5
5
  function getCurrentInstance() {
@@ -62,20 +62,20 @@ function normalizeNode(node, anchor) {
62
62
  } else return document.createTextNode(result);
63
63
  }
64
64
  }
65
- function resolveValue(current, value, anchor) {
66
- const node = normalizeNode(value, anchor);
65
+ function resolveValue(current, value, _anchor) {
66
+ const node = normalizeNode(value, _anchor);
67
67
  if (current) {
68
68
  if (isFragment(current)) {
69
- const { anchor: anchor$1 } = current;
70
- if (anchor$1 && anchor$1.parentNode) {
71
- remove(current.nodes, anchor$1.parentNode);
72
- insert(node, anchor$1.parentNode, anchor$1);
73
- anchor$1.remove();
69
+ const { anchor } = current;
70
+ if (anchor && anchor.parentNode) {
71
+ remove(current.nodes, anchor.parentNode);
72
+ insert(node, anchor.parentNode, anchor);
73
+ !_anchor && anchor.parentNode.removeChild(anchor);
74
74
  }
75
75
  } else if (current instanceof Node) {
76
76
  if (isFragment(node) && current.parentNode) {
77
77
  insert(node, current.parentNode, current);
78
- current.remove();
78
+ current.parentNode.removeChild(current);
79
79
  } else if (node instanceof Node) {
80
80
  if (current.nodeType === 3 && node.nodeType === 3) {
81
81
  current.textContent = node.textContent;
@@ -88,19 +88,18 @@ function resolveValue(current, value, anchor) {
88
88
  }
89
89
  function resolveValues(values = [], _anchor) {
90
90
  const nodes = [];
91
+ const frag = createFragment(nodes, _anchor);
91
92
  const scopes = [];
92
93
  for (const [index, value] of values.entries()) {
93
94
  const anchor = index === values.length - 1 ? _anchor : void 0;
94
95
  if (typeof value === "function") renderEffect(() => {
95
- pauseTracking();
96
96
  if (scopes[index]) scopes[index].stop();
97
97
  scopes[index] = new EffectScope();
98
98
  nodes[index] = scopes[index].run(() => resolveValue(nodes[index], value(), anchor));
99
- resetTracking();
100
99
  });
101
100
  else nodes[index] = resolveValue(nodes[index], value, anchor);
102
101
  }
103
- return nodes;
102
+ return frag;
104
103
  }
105
104
  function setNodes(anchor, ...values) {
106
105
  const resolvedValues = resolveValues(values, anchor);
package/dist/nuxt.cjs CHANGED
@@ -1,11 +1,10 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
  const require_chunk = require('./chunk-CUT6urMc.cjs');
3
3
  require('./core-BEqRwfoK.cjs');
4
- require('./raw-BY1njZIx.cjs');
5
- require('./options-CulFO0WS.cjs');
6
- require('./unplugin-JV7CydWf.cjs');
7
- const require_vite = require('./vite-CVR2C-Wy.cjs');
8
- const require_webpack = require('./webpack-DWlp7dxs.cjs');
4
+ require('./raw-uTw6gsXR.cjs');
5
+ require('./unplugin-oQzm1mwM.cjs');
6
+ const require_vite = require('./vite-CI0weIMr.cjs');
7
+ const require_webpack = require('./webpack-BsqVuFup.cjs');
9
8
  const __nuxt_kit = require_chunk.__toESM(require("@nuxt/kit"));
10
9
  require("@nuxt/schema");
11
10
 
package/dist/nuxt.d.cts CHANGED
@@ -1,9 +1,8 @@
1
- import { Options } from "./options-BRfDD5qB.cjs";
1
+ import { Options } from "./options-DKC5DMaU.cjs";
2
2
  import * as _nuxt_schema0 from "@nuxt/schema";
3
3
 
4
4
  //#region src/nuxt.d.ts
5
5
  interface ModuleOptions extends Options {}
6
6
  declare const _default: _nuxt_schema0.NuxtModule<ModuleOptions, ModuleOptions, false>;
7
-
8
7
  //#endregion
9
8
  export { ModuleOptions, _default as default };
package/dist/nuxt.d.ts CHANGED
@@ -1,9 +1,8 @@
1
- import { Options } from "./options-CeDGvYqS.js";
2
- import * as _nuxt_schema0 from "@nuxt/schema";
1
+ import { Options } from "./options-CUo88eyQ.js";
2
+ import * as _nuxt_schema7 from "@nuxt/schema";
3
3
 
4
4
  //#region src/nuxt.d.ts
5
5
  interface ModuleOptions extends Options {}
6
- declare const _default: _nuxt_schema0.NuxtModule<ModuleOptions, ModuleOptions, false>;
7
-
6
+ declare const _default: _nuxt_schema7.NuxtModule<ModuleOptions, ModuleOptions, false>;
8
7
  //#endregion
9
8
  export { ModuleOptions, _default as default };
package/dist/nuxt.js CHANGED
@@ -1,9 +1,8 @@
1
1
  import "./core-BDE4GLH8.js";
2
- import "./raw-DecHkpC5.js";
3
- import "./options-HYvLzmlg.js";
4
- import "./unplugin-DeYNxSzL.js";
5
- import { vite_default } from "./vite-C2WptbyG.js";
6
- import { webpack_default } from "./webpack-mKQ7x4tg.js";
2
+ import "./raw-VH0PoGzC.js";
3
+ import "./unplugin-b-OOl5Oa.js";
4
+ import { vite_default } from "./vite-DTXDaFaY.js";
5
+ import { webpack_default } from "./webpack-DKzUUZiK.js";
7
6
  import { addVitePlugin, addWebpackPlugin, defineNuxtModule } from "@nuxt/kit";
8
7
  import "@nuxt/schema";
9
8
 
@@ -1,9 +1,10 @@
1
+ import { FilterPattern } from "unplugin-utils";
1
2
  import { CompilerOptions } from "@vue-jsx-vapor/compiler";
2
3
  import { Options } from "@vue-jsx-vapor/macros";
3
- import { FilterPattern } from "unplugin-utils";
4
4
 
5
5
  //#region src/options.d.ts
6
6
  interface Options$1 {
7
+ // define your plugin options here
7
8
  include?: FilterPattern;
8
9
  exclude?: FilterPattern;
9
10
  interop?: boolean;
@@ -14,5 +15,6 @@ interface Options$1 {
14
15
  } | boolean;
15
16
  /** @default false */
16
17
  macros?: Options | boolean;
17
- } //#endregion
18
+ }
19
+ //#endregion
18
20
  export { Options$1 as Options };
@@ -1,9 +1,10 @@
1
- import { FilterPattern } from "unplugin-utils";
2
1
  import { CompilerOptions } from "@vue-jsx-vapor/compiler";
3
2
  import { Options } from "@vue-jsx-vapor/macros";
3
+ import { FilterPattern } from "unplugin-utils";
4
4
 
5
5
  //#region src/options.d.ts
6
6
  interface Options$1 {
7
+ // define your plugin options here
7
8
  include?: FilterPattern;
8
9
  exclude?: FilterPattern;
9
10
  interop?: boolean;
@@ -14,5 +15,6 @@ interface Options$1 {
14
15
  } | boolean;
15
16
  /** @default false */
16
17
  macros?: Options | boolean;
17
- } //#endregion
18
+ }
19
+ //#endregion
18
20
  export { Options$1 as Options };
@@ -1,2 +1,2 @@
1
- import { Options } from "./options-BRfDD5qB.cjs";
1
+ import { Options } from "./options-DKC5DMaU.cjs";
2
2
  export { Options };
package/dist/options.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { Options } from "./options-CeDGvYqS.js";
1
+ import { Options } from "./options-CUo88eyQ.js";
2
2
  export { Options };
@@ -20,7 +20,7 @@ function ssrRegisterHelper(comp, filename) {
20
20
  const setup = comp.setup;
21
21
  comp.setup = (props, ctx) => {
22
22
  const ssrContext = useSSRContext();
23
- (ssrContext.modules || (ssrContext.modules = new Set())).add(filename);
23
+ (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add(filename);
24
24
  if (setup) return setup(props, ctx);
25
25
  };
26
26
  }
@@ -111,7 +111,7 @@ function isDefineComponentCall(node, names) {
111
111
 
112
112
  //#endregion
113
113
  //#region src/core/runtime.ts?raw
114
- var runtime_default = "import {\n EffectScope,\n insert,\n isFragment,\n isVaporComponent,\n pauseTracking,\n proxyRefs,\n remove,\n renderEffect,\n resetTracking,\n toRefs,\n useAttrs,\n VaporFragment\n} from \"vue\";\nimport * as Vue from \"vue\";\nexport { shallowRef as useRef } from \"vue\";\nexport function getCurrentInstance() {\n return Vue.currentInstance || Vue.getCurrentInstance();\n}\nexport function useProps() {\n const i = getCurrentInstance();\n return i.props;\n}\nexport function useFullProps() {\n return proxyRefs({\n ...toRefs(useProps()),\n ...toRefs(useAttrs())\n });\n}\nfunction createFragment(nodes, anchor = document.createTextNode(\"\")) {\n const frag = new VaporFragment(nodes);\n frag.anchor = anchor;\n return frag;\n}\nfunction normalizeNode(node, anchor) {\n if (node instanceof Node || isFragment(node)) {\n anchor && (anchor.textContent = \"\");\n return node;\n } else if (isVaporComponent(node)) {\n anchor && (anchor.textContent = \"\");\n return createFragment(node, anchor);\n } else if (Array.isArray(node)) {\n anchor && (anchor.textContent = \"\");\n return createFragment(\n node.map((i) => normalizeNode(i)),\n anchor\n );\n } else {\n const result = node == null || typeof node === \"boolean\" ? \"\" : String(node);\n if (anchor) {\n anchor.textContent = result;\n return anchor;\n } else {\n return document.createTextNode(result);\n }\n }\n}\nfunction resolveValue(current, value, anchor) {\n const node = normalizeNode(value, anchor);\n if (current) {\n if (isFragment(current)) {\n const { anchor: anchor2 } = current;\n if (anchor2 && anchor2.parentNode) {\n remove(current.nodes, anchor2.parentNode);\n insert(node, anchor2.parentNode, anchor2);\n anchor2.remove();\n }\n } else if (current instanceof Node) {\n if (isFragment(node) && current.parentNode) {\n insert(node, current.parentNode, current);\n current.remove();\n } else if (node instanceof Node) {\n if (current.nodeType === 3 && node.nodeType === 3) {\n current.textContent = node.textContent;\n return current;\n } else if (current.parentNode) {\n current.parentNode.replaceChild(node, current);\n }\n }\n }\n }\n return node;\n}\nfunction resolveValues(values = [], _anchor) {\n const nodes = [];\n const scopes = [];\n for (const [index, value] of values.entries()) {\n const anchor = index === values.length - 1 ? _anchor : void 0;\n if (typeof value === \"function\") {\n renderEffect(() => {\n pauseTracking();\n if (scopes[index]) scopes[index].stop();\n scopes[index] = new EffectScope();\n nodes[index] = scopes[index].run(\n () => resolveValue(nodes[index], value(), anchor)\n );\n resetTracking();\n });\n } else {\n nodes[index] = resolveValue(nodes[index], value, anchor);\n }\n }\n return nodes;\n}\nexport function setNodes(anchor, ...values) {\n const resolvedValues = resolveValues(values, anchor);\n anchor.parentNode && insert(resolvedValues, anchor.parentNode, anchor);\n}\nexport function createNodes(...values) {\n return resolveValues(values);\n}\n";
114
+ var runtime_default = "import {\n EffectScope,\n insert,\n isFragment,\n isVaporComponent,\n proxyRefs,\n remove,\n renderEffect,\n toRefs,\n useAttrs,\n VaporFragment\n} from \"vue\";\nimport * as Vue from \"vue\";\nexport { shallowRef as useRef } from \"vue\";\nexport function getCurrentInstance() {\n return Vue.currentInstance || Vue.getCurrentInstance();\n}\nexport function useProps() {\n const i = getCurrentInstance();\n return i.props;\n}\nexport function useFullProps() {\n return proxyRefs({\n ...toRefs(useProps()),\n ...toRefs(useAttrs())\n });\n}\nfunction createFragment(nodes, anchor = document.createTextNode(\"\")) {\n const frag = new VaporFragment(nodes);\n frag.anchor = anchor;\n return frag;\n}\nfunction normalizeNode(node, anchor) {\n if (node instanceof Node || isFragment(node)) {\n anchor && (anchor.textContent = \"\");\n return node;\n } else if (isVaporComponent(node)) {\n anchor && (anchor.textContent = \"\");\n return createFragment(node, anchor);\n } else if (Array.isArray(node)) {\n anchor && (anchor.textContent = \"\");\n return createFragment(\n node.map((i) => normalizeNode(i)),\n anchor\n );\n } else {\n const result = node == null || typeof node === \"boolean\" ? \"\" : String(node);\n if (anchor) {\n anchor.textContent = result;\n return anchor;\n } else {\n return document.createTextNode(result);\n }\n }\n}\nfunction resolveValue(current, value, _anchor) {\n const node = normalizeNode(value, _anchor);\n if (current) {\n if (isFragment(current)) {\n const { anchor } = current;\n if (anchor && anchor.parentNode) {\n remove(current.nodes, anchor.parentNode);\n insert(node, anchor.parentNode, anchor);\n !_anchor && anchor.parentNode.removeChild(anchor);\n }\n } else if (current instanceof Node) {\n if (isFragment(node) && current.parentNode) {\n insert(node, current.parentNode, current);\n current.parentNode.removeChild(current);\n } else if (node instanceof Node) {\n if (current.nodeType === 3 && node.nodeType === 3) {\n current.textContent = node.textContent;\n return current;\n } else if (current.parentNode) {\n current.parentNode.replaceChild(node, current);\n }\n }\n }\n }\n return node;\n}\nfunction resolveValues(values = [], _anchor) {\n const nodes = [];\n const frag = createFragment(nodes, _anchor);\n const scopes = [];\n for (const [index, value] of values.entries()) {\n const anchor = index === values.length - 1 ? _anchor : void 0;\n if (typeof value === \"function\") {\n renderEffect(() => {\n if (scopes[index]) scopes[index].stop();\n scopes[index] = new EffectScope();\n nodes[index] = scopes[index].run(\n () => resolveValue(nodes[index], value(), anchor)\n );\n });\n } else {\n nodes[index] = resolveValue(nodes[index], value, anchor);\n }\n }\n return frag;\n}\nexport function setNodes(anchor, ...values) {\n const resolvedValues = resolveValues(values, anchor);\n anchor.parentNode && insert(resolvedValues, anchor.parentNode, anchor);\n}\nexport function createNodes(...values) {\n return resolveValues(values);\n}\n";
115
115
 
116
116
  //#endregion
117
117
  //#region src/core/vue-jsx.ts
@@ -21,7 +21,7 @@ function ssrRegisterHelper(comp, filename) {
21
21
  const setup = comp.setup;
22
22
  comp.setup = (props, ctx) => {
23
23
  const ssrContext = useSSRContext();
24
- (ssrContext.modules || (ssrContext.modules = new Set())).add(filename);
24
+ (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add(filename);
25
25
  if (setup) return setup(props, ctx);
26
26
  };
27
27
  }
@@ -112,7 +112,7 @@ function isDefineComponentCall(node, names) {
112
112
 
113
113
  //#endregion
114
114
  //#region src/core/runtime.ts?raw
115
- var runtime_default = "import {\n EffectScope,\n insert,\n isFragment,\n isVaporComponent,\n pauseTracking,\n proxyRefs,\n remove,\n renderEffect,\n resetTracking,\n toRefs,\n useAttrs,\n VaporFragment\n} from \"vue\";\nimport * as Vue from \"vue\";\nexport { shallowRef as useRef } from \"vue\";\nexport function getCurrentInstance() {\n return Vue.currentInstance || Vue.getCurrentInstance();\n}\nexport function useProps() {\n const i = getCurrentInstance();\n return i.props;\n}\nexport function useFullProps() {\n return proxyRefs({\n ...toRefs(useProps()),\n ...toRefs(useAttrs())\n });\n}\nfunction createFragment(nodes, anchor = document.createTextNode(\"\")) {\n const frag = new VaporFragment(nodes);\n frag.anchor = anchor;\n return frag;\n}\nfunction normalizeNode(node, anchor) {\n if (node instanceof Node || isFragment(node)) {\n anchor && (anchor.textContent = \"\");\n return node;\n } else if (isVaporComponent(node)) {\n anchor && (anchor.textContent = \"\");\n return createFragment(node, anchor);\n } else if (Array.isArray(node)) {\n anchor && (anchor.textContent = \"\");\n return createFragment(\n node.map((i) => normalizeNode(i)),\n anchor\n );\n } else {\n const result = node == null || typeof node === \"boolean\" ? \"\" : String(node);\n if (anchor) {\n anchor.textContent = result;\n return anchor;\n } else {\n return document.createTextNode(result);\n }\n }\n}\nfunction resolveValue(current, value, anchor) {\n const node = normalizeNode(value, anchor);\n if (current) {\n if (isFragment(current)) {\n const { anchor: anchor2 } = current;\n if (anchor2 && anchor2.parentNode) {\n remove(current.nodes, anchor2.parentNode);\n insert(node, anchor2.parentNode, anchor2);\n anchor2.remove();\n }\n } else if (current instanceof Node) {\n if (isFragment(node) && current.parentNode) {\n insert(node, current.parentNode, current);\n current.remove();\n } else if (node instanceof Node) {\n if (current.nodeType === 3 && node.nodeType === 3) {\n current.textContent = node.textContent;\n return current;\n } else if (current.parentNode) {\n current.parentNode.replaceChild(node, current);\n }\n }\n }\n }\n return node;\n}\nfunction resolveValues(values = [], _anchor) {\n const nodes = [];\n const scopes = [];\n for (const [index, value] of values.entries()) {\n const anchor = index === values.length - 1 ? _anchor : void 0;\n if (typeof value === \"function\") {\n renderEffect(() => {\n pauseTracking();\n if (scopes[index]) scopes[index].stop();\n scopes[index] = new EffectScope();\n nodes[index] = scopes[index].run(\n () => resolveValue(nodes[index], value(), anchor)\n );\n resetTracking();\n });\n } else {\n nodes[index] = resolveValue(nodes[index], value, anchor);\n }\n }\n return nodes;\n}\nexport function setNodes(anchor, ...values) {\n const resolvedValues = resolveValues(values, anchor);\n anchor.parentNode && insert(resolvedValues, anchor.parentNode, anchor);\n}\nexport function createNodes(...values) {\n return resolveValues(values);\n}\n";
115
+ var runtime_default = "import {\n EffectScope,\n insert,\n isFragment,\n isVaporComponent,\n proxyRefs,\n remove,\n renderEffect,\n toRefs,\n useAttrs,\n VaporFragment\n} from \"vue\";\nimport * as Vue from \"vue\";\nexport { shallowRef as useRef } from \"vue\";\nexport function getCurrentInstance() {\n return Vue.currentInstance || Vue.getCurrentInstance();\n}\nexport function useProps() {\n const i = getCurrentInstance();\n return i.props;\n}\nexport function useFullProps() {\n return proxyRefs({\n ...toRefs(useProps()),\n ...toRefs(useAttrs())\n });\n}\nfunction createFragment(nodes, anchor = document.createTextNode(\"\")) {\n const frag = new VaporFragment(nodes);\n frag.anchor = anchor;\n return frag;\n}\nfunction normalizeNode(node, anchor) {\n if (node instanceof Node || isFragment(node)) {\n anchor && (anchor.textContent = \"\");\n return node;\n } else if (isVaporComponent(node)) {\n anchor && (anchor.textContent = \"\");\n return createFragment(node, anchor);\n } else if (Array.isArray(node)) {\n anchor && (anchor.textContent = \"\");\n return createFragment(\n node.map((i) => normalizeNode(i)),\n anchor\n );\n } else {\n const result = node == null || typeof node === \"boolean\" ? \"\" : String(node);\n if (anchor) {\n anchor.textContent = result;\n return anchor;\n } else {\n return document.createTextNode(result);\n }\n }\n}\nfunction resolveValue(current, value, _anchor) {\n const node = normalizeNode(value, _anchor);\n if (current) {\n if (isFragment(current)) {\n const { anchor } = current;\n if (anchor && anchor.parentNode) {\n remove(current.nodes, anchor.parentNode);\n insert(node, anchor.parentNode, anchor);\n !_anchor && anchor.parentNode.removeChild(anchor);\n }\n } else if (current instanceof Node) {\n if (isFragment(node) && current.parentNode) {\n insert(node, current.parentNode, current);\n current.parentNode.removeChild(current);\n } else if (node instanceof Node) {\n if (current.nodeType === 3 && node.nodeType === 3) {\n current.textContent = node.textContent;\n return current;\n } else if (current.parentNode) {\n current.parentNode.replaceChild(node, current);\n }\n }\n }\n }\n return node;\n}\nfunction resolveValues(values = [], _anchor) {\n const nodes = [];\n const frag = createFragment(nodes, _anchor);\n const scopes = [];\n for (const [index, value] of values.entries()) {\n const anchor = index === values.length - 1 ? _anchor : void 0;\n if (typeof value === \"function\") {\n renderEffect(() => {\n if (scopes[index]) scopes[index].stop();\n scopes[index] = new EffectScope();\n nodes[index] = scopes[index].run(\n () => resolveValue(nodes[index], value(), anchor)\n );\n });\n } else {\n nodes[index] = resolveValue(nodes[index], value, anchor);\n }\n }\n return frag;\n}\nexport function setNodes(anchor, ...values) {\n const resolvedValues = resolveValues(values, anchor);\n anchor.parentNode && insert(resolvedValues, anchor.parentNode, anchor);\n}\nexport function createNodes(...values) {\n return resolveValues(values);\n}\n";
116
116
 
117
117
  //#endregion
118
118
  //#region src/core/vue-jsx.ts
package/dist/raw.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
  require('./core-BEqRwfoK.cjs');
3
- const require_raw = require('./raw-BY1njZIx.cjs');
3
+ const require_raw = require('./raw-uTw6gsXR.cjs');
4
4
 
5
5
  exports.default = require_raw.raw_default;
package/dist/raw.d.cts CHANGED
@@ -1,8 +1,7 @@
1
- import { Options } from "./options-BRfDD5qB.cjs";
1
+ import { Options } from "./options-DKC5DMaU.cjs";
2
2
  import { UnpluginOptions } from "unplugin";
3
3
 
4
4
  //#region src/raw.d.ts
5
5
  declare const plugin: (options?: Options) => UnpluginOptions[];
6
-
7
6
  //#endregion
8
7
  export { plugin as default };
package/dist/raw.d.ts CHANGED
@@ -1,8 +1,7 @@
1
- import { Options } from "./options-CeDGvYqS.js";
1
+ import { Options } from "./options-CUo88eyQ.js";
2
2
  import { UnpluginOptions } from "unplugin";
3
3
 
4
4
  //#region src/raw.d.ts
5
5
  declare const plugin: (options?: Options) => UnpluginOptions[];
6
-
7
6
  //#endregion
8
7
  export { plugin as default };
package/dist/raw.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import "./core-BDE4GLH8.js";
2
- import { raw_default } from "./raw-DecHkpC5.js";
2
+ import { raw_default } from "./raw-VH0PoGzC.js";
3
3
 
4
4
  export { raw_default as default };
package/dist/rolldown.cjs CHANGED
@@ -1,9 +1,8 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
  const require_chunk = require('./chunk-CUT6urMc.cjs');
3
3
  require('./core-BEqRwfoK.cjs');
4
- require('./raw-BY1njZIx.cjs');
5
- require('./options-CulFO0WS.cjs');
6
- const require_unplugin = require('./unplugin-JV7CydWf.cjs');
4
+ require('./raw-uTw6gsXR.cjs');
5
+ const require_unplugin = require('./unplugin-oQzm1mwM.cjs');
7
6
  const unplugin = require_chunk.__toESM(require("unplugin"));
8
7
 
9
8
  //#region src/rolldown.ts
@@ -1,8 +1,7 @@
1
- import { Options } from "./options-BRfDD5qB.cjs";
2
- import * as rollup7 from "rollup";
1
+ import { Options } from "./options-DKC5DMaU.cjs";
2
+ import * as rollup4 from "rollup";
3
3
 
4
4
  //#region src/rolldown.d.ts
5
- declare const _default: (options?: Options | undefined) => rollup7.Plugin<any> | rollup7.Plugin<any>[];
6
-
5
+ declare const _default: (options?: Options | undefined) => rollup4.Plugin<any> | rollup4.Plugin<any>[];
7
6
  //#endregion
8
7
  export { _default as default };
@@ -1,8 +1,7 @@
1
- import { Options } from "./options-CeDGvYqS.js";
2
- import * as rollup2 from "rollup";
1
+ import { Options } from "./options-CUo88eyQ.js";
2
+ import * as rollup1 from "rollup";
3
3
 
4
4
  //#region src/rolldown.d.ts
5
- declare const _default: (options?: Options | undefined) => rollup2.Plugin<any> | rollup2.Plugin<any>[];
6
-
5
+ declare const _default: (options?: Options | undefined) => rollup1.Plugin<any> | rollup1.Plugin<any>[];
7
6
  //#endregion
8
7
  export { _default as default };
package/dist/rolldown.js CHANGED
@@ -1,7 +1,6 @@
1
1
  import "./core-BDE4GLH8.js";
2
- import "./raw-DecHkpC5.js";
3
- import "./options-HYvLzmlg.js";
4
- import { unpluginFactory } from "./unplugin-DeYNxSzL.js";
2
+ import "./raw-VH0PoGzC.js";
3
+ import { unpluginFactory } from "./unplugin-b-OOl5Oa.js";
5
4
  import { createRollupPlugin } from "unplugin";
6
5
 
7
6
  //#region src/rolldown.ts
package/dist/rollup.cjs CHANGED
@@ -1,8 +1,7 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
  require('./core-BEqRwfoK.cjs');
3
- require('./raw-BY1njZIx.cjs');
4
- require('./options-CulFO0WS.cjs');
5
- const require_unplugin = require('./unplugin-JV7CydWf.cjs');
3
+ require('./raw-uTw6gsXR.cjs');
4
+ const require_unplugin = require('./unplugin-oQzm1mwM.cjs');
6
5
 
7
6
  //#region src/rollup.ts
8
7
  var rollup_default = require_unplugin.unplugin_default.rollup;
package/dist/rollup.d.cts CHANGED
@@ -1,8 +1,7 @@
1
- import { Options } from "./options-BRfDD5qB.cjs";
2
- import * as rollup5 from "rollup";
1
+ import { Options } from "./options-DKC5DMaU.cjs";
2
+ import * as rollup9 from "rollup";
3
3
 
4
4
  //#region src/rollup.d.ts
5
- declare const _default: (options?: Options | undefined) => rollup5.Plugin<any>[];
6
-
5
+ declare const _default: (options?: Options | undefined) => rollup9.Plugin<any>[];
7
6
  //#endregion
8
7
  export { _default as default };
package/dist/rollup.d.ts CHANGED
@@ -1,8 +1,7 @@
1
- import { Options } from "./options-CeDGvYqS.js";
2
- import * as rollup8 from "rollup";
1
+ import { Options } from "./options-CUo88eyQ.js";
2
+ import * as rollup6 from "rollup";
3
3
 
4
4
  //#region src/rollup.d.ts
5
- declare const _default: (options?: Options | undefined) => rollup8.Plugin<any>[];
6
-
5
+ declare const _default: (options?: Options | undefined) => rollup6.Plugin<any>[];
7
6
  //#endregion
8
7
  export { _default as default };
package/dist/rollup.js CHANGED
@@ -1,7 +1,6 @@
1
1
  import "./core-BDE4GLH8.js";
2
- import "./raw-DecHkpC5.js";
3
- import "./options-HYvLzmlg.js";
4
- import { unplugin_default } from "./unplugin-DeYNxSzL.js";
2
+ import "./raw-VH0PoGzC.js";
3
+ import { unplugin_default } from "./unplugin-b-OOl5Oa.js";
5
4
 
6
5
  //#region src/rollup.ts
7
6
  var rollup_default = unplugin_default.rollup;
package/dist/rspack.cjs CHANGED
@@ -1,8 +1,7 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
  require('./core-BEqRwfoK.cjs');
3
- require('./raw-BY1njZIx.cjs');
4
- require('./options-CulFO0WS.cjs');
5
- const require_unplugin = require('./unplugin-JV7CydWf.cjs');
3
+ require('./raw-uTw6gsXR.cjs');
4
+ const require_unplugin = require('./unplugin-oQzm1mwM.cjs');
6
5
 
7
6
  //#region src/rspack.ts
8
7
  var rspack_default = require_unplugin.unplugin_default.rspack;
package/dist/rspack.d.cts CHANGED
@@ -1,7 +1,6 @@
1
- import { Options } from "./options-BRfDD5qB.cjs";
1
+ import { Options } from "./options-DKC5DMaU.cjs";
2
2
 
3
3
  //#region src/rspack.d.ts
4
4
  declare const _default: (options?: Options | undefined) => RspackPluginInstance;
5
-
6
5
  //#endregion
7
6
  export { _default as default };
package/dist/rspack.d.ts CHANGED
@@ -1,7 +1,6 @@
1
- import { Options } from "./options-CeDGvYqS.js";
1
+ import { Options } from "./options-CUo88eyQ.js";
2
2
 
3
3
  //#region src/rspack.d.ts
4
4
  declare const _default: (options?: Options | undefined) => RspackPluginInstance;
5
-
6
5
  //#endregion
7
6
  export { _default as default };
package/dist/rspack.js CHANGED
@@ -1,7 +1,6 @@
1
1
  import "./core-BDE4GLH8.js";
2
- import "./raw-DecHkpC5.js";
3
- import "./options-HYvLzmlg.js";
4
- import { unplugin_default } from "./unplugin-DeYNxSzL.js";
2
+ import "./raw-VH0PoGzC.js";
3
+ import { unplugin_default } from "./unplugin-b-OOl5Oa.js";
5
4
 
6
5
  //#region src/rspack.ts
7
6
  var rspack_default = unplugin_default.rspack;
@@ -0,0 +1,12 @@
1
+ import { raw_default } from "./raw-VH0PoGzC.js";
2
+ import { createUnplugin } from "unplugin";
3
+
4
+ //#region src/unplugin.ts
5
+ const unpluginFactory = (options = {}) => {
6
+ return raw_default(options);
7
+ };
8
+ const unplugin = /* @__PURE__ */ createUnplugin(unpluginFactory);
9
+ var unplugin_default = unplugin;
10
+
11
+ //#endregion
12
+ export { unplugin, unpluginFactory, unplugin_default };
@@ -1,30 +1,10 @@
1
1
  const require_chunk = require('./chunk-CUT6urMc.cjs');
2
- const require_raw = require('./raw-BY1njZIx.cjs');
2
+ const require_raw = require('./raw-uTw6gsXR.cjs');
3
3
  const unplugin = require_chunk.__toESM(require("unplugin"));
4
- const vite = require_chunk.__toESM(require("vite"));
5
4
 
6
5
  //#region src/unplugin.ts
7
6
  const unpluginFactory = (options = {}) => {
8
- return [...require_raw.raw_default(options), options.interop ? { name: "interop" } : {
9
- name: "unplugin-esbuild",
10
- transformInclude: (0, vite.createFilter)(options?.include || /\.[jt]sx$/, options?.exclude),
11
- transform(code, id) {
12
- return (0, vite.transformWithEsbuild)(code, id, {
13
- target: "esnext",
14
- charset: "utf8",
15
- minify: false,
16
- minifyIdentifiers: false,
17
- minifySyntax: false,
18
- minifyWhitespace: false,
19
- treeShaking: false,
20
- keepNames: false,
21
- supported: {
22
- "dynamic-import": true,
23
- "import-meta": true
24
- }
25
- });
26
- }
27
- }];
7
+ return require_raw.raw_default(options);
28
8
  };
29
9
  const unplugin$1 = /* @__PURE__ */ (0, unplugin.createUnplugin)(unpluginFactory);
30
10
  var unplugin_default = unplugin$1;
package/dist/unplugin.cjs CHANGED
@@ -1,8 +1,7 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
  require('./core-BEqRwfoK.cjs');
3
- require('./raw-BY1njZIx.cjs');
4
- require('./options-CulFO0WS.cjs');
5
- const require_unplugin = require('./unplugin-JV7CydWf.cjs');
3
+ require('./raw-uTw6gsXR.cjs');
4
+ const require_unplugin = require('./unplugin-oQzm1mwM.cjs');
6
5
 
7
6
  exports.default = require_unplugin.unplugin_default;
8
7
  exports.unplugin = require_unplugin.unplugin;
@@ -1,10 +1,9 @@
1
- import { Options } from "./options-BRfDD5qB.cjs";
2
- import * as unplugin1 from "unplugin";
1
+ import { Options } from "./options-DKC5DMaU.cjs";
2
+ import * as unplugin7 from "unplugin";
3
3
  import { UnpluginFactory } from "unplugin";
4
4
 
5
5
  //#region src/unplugin.d.ts
6
6
  declare const unpluginFactory: UnpluginFactory<Options | undefined, true>;
7
- declare const unplugin: unplugin1.UnpluginInstance<Options | undefined, true>;
8
-
7
+ declare const unplugin: unplugin7.UnpluginInstance<Options | undefined, true>;
9
8
  //#endregion
10
9
  export { Options, unplugin as default, unplugin, unpluginFactory };
@@ -1,10 +1,9 @@
1
- import { Options } from "./options-CeDGvYqS.js";
2
- import * as unplugin4 from "unplugin";
1
+ import { Options } from "./options-CUo88eyQ.js";
2
+ import * as unplugin9 from "unplugin";
3
3
  import { UnpluginFactory } from "unplugin";
4
4
 
5
5
  //#region src/unplugin.d.ts
6
6
  declare const unpluginFactory: UnpluginFactory<Options | undefined, true>;
7
- declare const unplugin: unplugin4.UnpluginInstance<Options | undefined, true>;
8
-
7
+ declare const unplugin: unplugin9.UnpluginInstance<Options | undefined, true>;
9
8
  //#endregion
10
9
  export { Options, unplugin as default, unplugin, unpluginFactory };
package/dist/unplugin.js CHANGED
@@ -1,6 +1,5 @@
1
1
  import "./core-BDE4GLH8.js";
2
- import "./raw-DecHkpC5.js";
3
- import "./options-HYvLzmlg.js";
4
- import { unplugin, unpluginFactory, unplugin_default } from "./unplugin-DeYNxSzL.js";
2
+ import "./raw-VH0PoGzC.js";
3
+ import { unplugin, unpluginFactory, unplugin_default } from "./unplugin-b-OOl5Oa.js";
5
4
 
6
5
  export { unplugin_default as default, unplugin, unpluginFactory };
@@ -1,4 +1,4 @@
1
- const require_unplugin = require('./unplugin-JV7CydWf.cjs');
1
+ const require_unplugin = require('./unplugin-oQzm1mwM.cjs');
2
2
 
3
3
  //#region src/vite.ts
4
4
  var vite_default = require_unplugin.unplugin_default.vite;
@@ -0,0 +1,7 @@
1
+ import { unplugin_default } from "./unplugin-b-OOl5Oa.js";
2
+
3
+ //#region src/vite.ts
4
+ var vite_default = unplugin_default.vite;
5
+
6
+ //#endregion
7
+ export { vite_default };
package/dist/vite.cjs CHANGED
@@ -1,8 +1,7 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
  require('./core-BEqRwfoK.cjs');
3
- require('./raw-BY1njZIx.cjs');
4
- require('./options-CulFO0WS.cjs');
5
- require('./unplugin-JV7CydWf.cjs');
6
- const require_vite = require('./vite-CVR2C-Wy.cjs');
3
+ require('./raw-uTw6gsXR.cjs');
4
+ require('./unplugin-oQzm1mwM.cjs');
5
+ const require_vite = require('./vite-CI0weIMr.cjs');
7
6
 
8
7
  exports.default = require_vite.vite_default;
package/dist/vite.d.cts CHANGED
@@ -1,8 +1,7 @@
1
- import { Options } from "./options-BRfDD5qB.cjs";
2
- import * as vite13 from "vite";
1
+ import { Options } from "./options-DKC5DMaU.cjs";
2
+ import * as vite11 from "vite";
3
3
 
4
4
  //#region src/vite.d.ts
5
- declare const _default: (options?: Options | undefined) => vite13.Plugin<any>[];
6
-
5
+ declare const _default: (options?: Options | undefined) => vite11.Plugin<any>[];
7
6
  //#endregion
8
7
  export { _default as default };
package/dist/vite.d.ts CHANGED
@@ -1,8 +1,7 @@
1
- import { Options } from "./options-CeDGvYqS.js";
2
- import * as vite6 from "vite";
1
+ import { Options } from "./options-CUo88eyQ.js";
2
+ import * as vite11 from "vite";
3
3
 
4
4
  //#region src/vite.d.ts
5
- declare const _default: (options?: Options | undefined) => vite6.Plugin<any>[];
6
-
5
+ declare const _default: (options?: Options | undefined) => vite11.Plugin<any>[];
7
6
  //#endregion
8
7
  export { _default as default };
package/dist/vite.js CHANGED
@@ -1,7 +1,6 @@
1
1
  import "./core-BDE4GLH8.js";
2
- import "./raw-DecHkpC5.js";
3
- import "./options-HYvLzmlg.js";
4
- import "./unplugin-DeYNxSzL.js";
5
- import { vite_default } from "./vite-C2WptbyG.js";
2
+ import "./raw-VH0PoGzC.js";
3
+ import "./unplugin-b-OOl5Oa.js";
4
+ import { vite_default } from "./vite-DTXDaFaY.js";
6
5
 
7
6
  export { vite_default as default };
package/dist/volar.d.cts CHANGED
@@ -1,8 +1,7 @@
1
- import { Options } from "./options-BRfDD5qB.cjs";
1
+ import { Options } from "./options-DKC5DMaU.cjs";
2
2
  import { PluginReturn } from "ts-macro";
3
3
 
4
4
  //#region src/volar.d.ts
5
5
  declare const plugin: PluginReturn<Options | undefined, true>;
6
-
7
6
  //#endregion
8
7
  export { plugin as default };
package/dist/volar.d.ts CHANGED
@@ -1,8 +1,7 @@
1
- import { Options } from "./options-CeDGvYqS.js";
1
+ import { Options } from "./options-CUo88eyQ.js";
2
2
  import { PluginReturn } from "ts-macro";
3
3
 
4
4
  //#region src/volar.d.ts
5
5
  declare const plugin: PluginReturn<Options | undefined, true>;
6
-
7
6
  //#endregion
8
7
  export { plugin as default };
@@ -1,4 +1,4 @@
1
- const require_unplugin = require('./unplugin-JV7CydWf.cjs');
1
+ const require_unplugin = require('./unplugin-oQzm1mwM.cjs');
2
2
 
3
3
  //#region src/webpack.ts
4
4
  var webpack_default = require_unplugin.unplugin_default.webpack;
@@ -1,4 +1,4 @@
1
- import { unplugin_default } from "./unplugin-DeYNxSzL.js";
1
+ import { unplugin_default } from "./unplugin-b-OOl5Oa.js";
2
2
 
3
3
  //#region src/webpack.ts
4
4
  var webpack_default = unplugin_default.webpack;
package/dist/webpack.cjs CHANGED
@@ -1,8 +1,7 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
  require('./core-BEqRwfoK.cjs');
3
- require('./raw-BY1njZIx.cjs');
4
- require('./options-CulFO0WS.cjs');
5
- require('./unplugin-JV7CydWf.cjs');
6
- const require_webpack = require('./webpack-DWlp7dxs.cjs');
3
+ require('./raw-uTw6gsXR.cjs');
4
+ require('./unplugin-oQzm1mwM.cjs');
5
+ const require_webpack = require('./webpack-BsqVuFup.cjs');
7
6
 
8
7
  exports.default = require_webpack.webpack_default;
@@ -1,8 +1,7 @@
1
- import { Options } from "./options-BRfDD5qB.cjs";
2
- import * as webpack11 from "webpack";
1
+ import { Options } from "./options-DKC5DMaU.cjs";
2
+ import * as webpack13 from "webpack";
3
3
 
4
4
  //#region src/webpack.d.ts
5
- declare const _default: (options?: Options | undefined) => webpack11.WebpackPluginInstance;
6
-
5
+ declare const _default: (options?: Options | undefined) => webpack13.WebpackPluginInstance;
7
6
  //#endregion
8
7
  export { _default as default };
package/dist/webpack.d.ts CHANGED
@@ -1,8 +1,7 @@
1
- import { Options } from "./options-CeDGvYqS.js";
1
+ import { Options } from "./options-CUo88eyQ.js";
2
2
  import * as webpack13 from "webpack";
3
3
 
4
4
  //#region src/webpack.d.ts
5
5
  declare const _default: (options?: Options | undefined) => webpack13.WebpackPluginInstance;
6
-
7
6
  //#endregion
8
7
  export { _default as default };
package/dist/webpack.js CHANGED
@@ -1,7 +1,6 @@
1
1
  import "./core-BDE4GLH8.js";
2
- import "./raw-DecHkpC5.js";
3
- import "./options-HYvLzmlg.js";
4
- import "./unplugin-DeYNxSzL.js";
5
- import { webpack_default } from "./webpack-mKQ7x4tg.js";
2
+ import "./raw-VH0PoGzC.js";
3
+ import "./unplugin-b-OOl5Oa.js";
4
+ import { webpack_default } from "./webpack-DKzUUZiK.js";
6
5
 
7
6
  export { webpack_default as default };
@@ -1327,7 +1327,6 @@ interface TransitionEvent<T = Element> extends SyntheticEvent<T, globalThis.Tran
1327
1327
  pseudoElement: string;
1328
1328
  }
1329
1329
  type TransitionEventHandler<T = Element> = EventHandler<TransitionEvent<T>>;
1330
-
1331
1330
  //#endregion
1332
1331
  //#region src/jsx-runtime.d.ts
1333
1332
  declare function jsx(type: any, props: any, key: any): ReturnType<typeof h>;
@@ -1350,6 +1349,5 @@ declare global {
1350
1349
  interface IntrinsicAttributes extends ReservedProps, AllowedComponentProps, ComponentCustomProps {}
1351
1350
  }
1352
1351
  }
1353
-
1354
1352
  //#endregion
1355
1353
  export { Fragment, jsx, jsx as jsxDEV, jsx as jsxs };
@@ -1327,7 +1327,6 @@ interface TransitionEvent<T = Element> extends SyntheticEvent<T, globalThis.Tran
1327
1327
  pseudoElement: string;
1328
1328
  }
1329
1329
  type TransitionEventHandler<T = Element> = EventHandler<TransitionEvent<T>>;
1330
-
1331
1330
  //#endregion
1332
1331
  //#region src/jsx-runtime.d.ts
1333
1332
  declare function jsx(type: any, props: any, key: any): ReturnType<typeof h>;
@@ -1350,6 +1349,5 @@ declare global {
1350
1349
  interface IntrinsicAttributes extends ReservedProps, AllowedComponentProps, ComponentCustomProps {}
1351
1350
  }
1352
1351
  }
1353
-
1354
1352
  //#endregion
1355
1353
  export { Fragment, jsx, jsx as jsxDEV, jsx as jsxs };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-jsx-vapor",
3
- "version": "2.4.1",
3
+ "version": "2.4.3",
4
4
  "description": "Convert Vue JSX to Vapor",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -152,27 +152,27 @@
152
152
  }
153
153
  },
154
154
  "dependencies": {
155
- "@babel/core": "^7.26.8",
156
- "@babel/plugin-transform-typescript": "^7.26.8",
157
- "@types/hash-sum": "^1.0.2",
158
- "@vue-macros/jsx-directive": "^3.0.0-beta.12",
159
- "@vue-macros/volar": "^3.0.0-beta.12",
155
+ "@babel/core": "^7.27.3",
156
+ "@babel/plugin-transform-typescript": "^7.27.1",
157
+ "@vue-macros/jsx-directive": "^3.0.0-beta.13",
158
+ "@vue-macros/volar": "^3.0.0-beta.13",
160
159
  "@vue/babel-plugin-jsx": "^1.4.0",
161
160
  "hash-sum": "^2.0.0",
162
161
  "pathe": "^2.0.3",
163
- "ts-macro": "^0.1.29",
164
- "unplugin": "^2.2.2",
162
+ "ts-macro": "^0.1.31",
163
+ "unplugin": "^2.3.5",
165
164
  "unplugin-utils": "^0.2.4",
166
- "@vue-jsx-vapor/compiler": "2.4.1",
167
- "@vue-jsx-vapor/macros": "2.4.1",
168
- "@vue-jsx-vapor/babel": "2.4.1"
165
+ "@vue-jsx-vapor/babel": "2.4.3",
166
+ "@vue-jsx-vapor/compiler": "2.4.3",
167
+ "@vue-jsx-vapor/macros": "2.4.3"
169
168
  },
170
169
  "devDependencies": {
171
- "@nuxt/kit": "^3.16.0",
172
- "@nuxt/schema": "^3.16.0",
170
+ "@nuxt/kit": "^3.17.4",
171
+ "@nuxt/schema": "^3.17.4",
173
172
  "@types/babel__core": "^7.20.5",
173
+ "@types/hash-sum": "^1.0.2",
174
174
  "csstype": "^3.1.3",
175
- "vue": "https://pkg.pr.new/vue@46e707d"
175
+ "vue": "https://pkg.pr.new/vue@280bc48"
176
176
  },
177
177
  "scripts": {
178
178
  "build": "tsdown",
File without changes
package/dist/options.cjs DELETED
@@ -1 +0,0 @@
1
- require('./options-CulFO0WS.cjs');
package/dist/options.js DELETED
@@ -1 +0,0 @@
1
- import "./options-HYvLzmlg.js";
@@ -1,32 +0,0 @@
1
- import { raw_default } from "./raw-DecHkpC5.js";
2
- import { createUnplugin } from "unplugin";
3
- import { createFilter, transformWithEsbuild } from "vite";
4
-
5
- //#region src/unplugin.ts
6
- const unpluginFactory = (options = {}) => {
7
- return [...raw_default(options), options.interop ? { name: "interop" } : {
8
- name: "unplugin-esbuild",
9
- transformInclude: createFilter(options?.include || /\.[jt]sx$/, options?.exclude),
10
- transform(code, id) {
11
- return transformWithEsbuild(code, id, {
12
- target: "esnext",
13
- charset: "utf8",
14
- minify: false,
15
- minifyIdentifiers: false,
16
- minifySyntax: false,
17
- minifyWhitespace: false,
18
- treeShaking: false,
19
- keepNames: false,
20
- supported: {
21
- "dynamic-import": true,
22
- "import-meta": true
23
- }
24
- });
25
- }
26
- }];
27
- };
28
- const unplugin = /* @__PURE__ */ createUnplugin(unpluginFactory);
29
- var unplugin_default = unplugin;
30
-
31
- //#endregion
32
- export { unplugin, unpluginFactory, unplugin_default };
@@ -1,7 +0,0 @@
1
- import { unplugin_default } from "./unplugin-DeYNxSzL.js";
2
-
3
- //#region src/vite.ts
4
- var vite_default = unplugin_default.vite;
5
-
6
- //#endregion
7
- export { vite_default };
File without changes