vue-jsx-vapor 3.2.13 → 3.2.15

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 (61) hide show
  1. package/dist/api.cjs +4 -3
  2. package/dist/api.d.cts +1 -1
  3. package/dist/api.d.ts +2 -2
  4. package/dist/api.js +3 -2
  5. package/dist/astro.cjs +6 -6
  6. package/dist/astro.d.ts +1 -1
  7. package/dist/astro.js +4 -1
  8. package/dist/bun.cjs +7 -6
  9. package/dist/bun.d.ts +1 -1
  10. package/dist/bun.js +4 -1
  11. package/dist/{chunk-CKQMccvm.cjs → chunk-C0xms8kb.cjs} +18 -12
  12. package/dist/{core-CLUbTQ_0.cjs → core-CM75Ciyx.cjs} +9 -7
  13. package/dist/{core-DKEYkI8D.js → core-F-TBUTIG.js} +3 -1
  14. package/dist/esbuild.cjs +7 -6
  15. package/dist/esbuild.d.cts +2 -2
  16. package/dist/esbuild.d.ts +3 -3
  17. package/dist/esbuild.js +4 -1
  18. package/dist/{index-BQ2Sdoa1.d.cts → index-C3myqMEa.d.cts} +2 -2
  19. package/dist/index-tJRhRcrS.d.ts +7 -0
  20. package/dist/index.cjs +8 -8
  21. package/dist/index.js +3 -2
  22. package/dist/nuxt.cjs +8 -8
  23. package/dist/nuxt.d.cts +2 -2
  24. package/dist/nuxt.d.ts +3 -3
  25. package/dist/nuxt.js +4 -1
  26. package/dist/raw.cjs +7 -8
  27. package/dist/raw.d.ts +1 -1
  28. package/dist/raw.js +4 -2
  29. package/dist/rolldown.cjs +9 -8
  30. package/dist/rolldown.d.cts +2 -2
  31. package/dist/rolldown.d.ts +3 -3
  32. package/dist/rolldown.js +4 -1
  33. package/dist/rollup.cjs +7 -6
  34. package/dist/rollup.d.cts +2 -2
  35. package/dist/rollup.d.ts +3 -3
  36. package/dist/rollup.js +4 -1
  37. package/dist/rsbuild.cjs +6 -6
  38. package/dist/rsbuild.d.cts +1 -0
  39. package/dist/rsbuild.d.ts +1 -1
  40. package/dist/rsbuild.js +4 -1
  41. package/dist/rspack.cjs +7 -6
  42. package/dist/rspack.d.ts +1 -1
  43. package/dist/rspack.js +4 -1
  44. package/dist/unplugin.cjs +7 -7
  45. package/dist/unplugin.d.cts +1 -2
  46. package/dist/unplugin.d.ts +2 -3
  47. package/dist/unplugin.js +4 -1
  48. package/dist/vite.cjs +7 -6
  49. package/dist/vite.d.cts +2 -2
  50. package/dist/vite.d.ts +3 -3
  51. package/dist/vite.js +4 -1
  52. package/dist/volar.cjs +15 -11
  53. package/dist/volar.d.ts +1 -1
  54. package/dist/volar.js +12 -5
  55. package/dist/webpack.cjs +7 -6
  56. package/dist/webpack.d.cts +2 -2
  57. package/dist/webpack.d.ts +3 -3
  58. package/dist/webpack.js +4 -1
  59. package/package.json +6 -6
  60. package/dist/index-CD9-wM0b.d.ts +0 -7
  61. /package/dist/{options-DNxVVwqH.d.ts → options-CJzUa6Vm.d.ts} +0 -0
package/dist/api.cjs CHANGED
@@ -1,3 +1,4 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_core = require("./core-CLUbTQ_0.cjs");
3
- exports.transformVueJsxVapor = require_core.transformVueJsxVapor;
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+ const require_core = require('./core-CM75Ciyx.cjs');
3
+
4
+ exports.transformVueJsxVapor = require_core.transformVueJsxVapor;
package/dist/api.d.cts CHANGED
@@ -1,3 +1,3 @@
1
1
  import { t as Options } from "./options-BGVfa0WB.cjs";
2
- import { t as transformVueJsxVapor } from "./index-BQ2Sdoa1.cjs";
2
+ import { t as transformVueJsxVapor } from "./index-C3myqMEa.cjs";
3
3
  export { Options, transformVueJsxVapor };
package/dist/api.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { t as Options } from "./options-DNxVVwqH.js";
2
- import { t as transformVueJsxVapor } from "./index-CD9-wM0b.js";
1
+ import { t as Options } from "./options-CJzUa6Vm.js";
2
+ import { t as transformVueJsxVapor } from "./index-tJRhRcrS.js";
3
3
  export { Options, transformVueJsxVapor };
package/dist/api.js CHANGED
@@ -1,2 +1,3 @@
1
- import { t as transformVueJsxVapor } from "./core-DKEYkI8D.js";
2
- export { transformVueJsxVapor };
1
+ import { t as transformVueJsxVapor } from "./core-F-TBUTIG.js";
2
+
3
+ export { transformVueJsxVapor };
package/dist/astro.cjs CHANGED
@@ -1,8 +1,7 @@
1
- Object.defineProperties(exports, {
2
- __esModule: { value: true },
3
- [Symbol.toStringTag]: { value: "Module" }
4
- });
5
- const require_unplugin = require("./unplugin.cjs");
1
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
+ require('./core-CM75Ciyx.cjs');
3
+ const require_unplugin = require('./unplugin.cjs');
4
+
6
5
  //#region src/astro.ts
7
6
  var astro_default = (options) => ({
8
7
  name: "vue-jsx-vapor",
@@ -11,5 +10,6 @@ var astro_default = (options) => ({
11
10
  astro.config.vite.plugins.push(require_unplugin.default.vite(options));
12
11
  } }
13
12
  });
13
+
14
14
  //#endregion
15
- exports.default = astro_default;
15
+ exports.default = astro_default;
package/dist/astro.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { t as Options } from "./options-DNxVVwqH.js";
1
+ import { t as Options } from "./options-CJzUa6Vm.js";
2
2
 
3
3
  //#region src/astro.d.ts
4
4
  declare const _default: (options: Options) => {
package/dist/astro.js CHANGED
@@ -1,4 +1,6 @@
1
+ import "./core-F-TBUTIG.js";
1
2
  import unplugin from "./unplugin.js";
3
+
2
4
  //#region src/astro.ts
3
5
  var astro_default = (options) => ({
4
6
  name: "vue-jsx-vapor",
@@ -7,5 +9,6 @@ var astro_default = (options) => ({
7
9
  astro.config.vite.plugins.push(unplugin.vite(options));
8
10
  } }
9
11
  });
12
+
10
13
  //#endregion
11
- export { astro_default as default };
14
+ export { astro_default as default };
package/dist/bun.cjs CHANGED
@@ -1,8 +1,9 @@
1
- Object.defineProperties(exports, {
2
- __esModule: { value: true },
3
- [Symbol.toStringTag]: { value: "Module" }
4
- });
1
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
+ require('./core-CM75Ciyx.cjs');
3
+ const require_unplugin = require('./unplugin.cjs');
4
+
5
5
  //#region src/bun.ts
6
- var bun_default = require("./unplugin.cjs").default.bun;
6
+ var bun_default = require_unplugin.default.bun;
7
+
7
8
  //#endregion
8
- exports.default = bun_default;
9
+ exports.default = bun_default;
package/dist/bun.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { t as Options } from "./options-DNxVVwqH.js";
1
+ import { t as Options } from "./options-CJzUa6Vm.js";
2
2
 
3
3
  //#region src/bun.d.ts
4
4
  declare const _default: (options?: Options | undefined) => BunPlugin;
package/dist/bun.js CHANGED
@@ -1,5 +1,8 @@
1
+ import "./core-F-TBUTIG.js";
1
2
  import unplugin from "./unplugin.js";
3
+
2
4
  //#region src/bun.ts
3
5
  var bun_default = unplugin.bun;
6
+
4
7
  //#endregion
5
- export { bun_default as default };
8
+ export { bun_default as default };
@@ -6,12 +6,16 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __getProtoOf = Object.getPrototypeOf;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
8
  var __copyProps = (to, from, except, desc) => {
9
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
10
- key = keys[i];
11
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
12
- get: ((k) => from[k]).bind(null, key),
13
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
14
- });
9
+ if (from && typeof from === "object" || typeof from === "function") {
10
+ for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
+ key = keys[i];
12
+ if (!__hasOwnProp.call(to, key) && key !== except) {
13
+ __defProp(to, key, {
14
+ get: ((k) => from[k]).bind(null, key),
15
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
+ });
17
+ }
18
+ }
15
19
  }
16
20
  return to;
17
21
  };
@@ -19,10 +23,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
19
23
  value: mod,
20
24
  enumerable: true
21
25
  }) : target, mod));
26
+
22
27
  //#endregion
23
- Object.defineProperty(exports, "__toESM", {
24
- enumerable: true,
25
- get: function() {
26
- return __toESM;
27
- }
28
- });
28
+
29
+ Object.defineProperty(exports, '__toESM', {
30
+ enumerable: true,
31
+ get: function () {
32
+ return __toESM;
33
+ }
34
+ });
@@ -1,5 +1,6 @@
1
- require("./chunk-CKQMccvm.cjs");
1
+ const require_chunk = require('./chunk-C0xms8kb.cjs');
2
2
  let _vue_jsx_vapor_compiler_rs = require("@vue-jsx-vapor/compiler-rs");
3
+
3
4
  //#region src/core/index.ts
4
5
  function transformVueJsxVapor(code, id, options, needSourceMap = false, needHMR = false, ssr = false) {
5
6
  return (0, _vue_jsx_vapor_compiler_rs.transform)(code, {
@@ -11,10 +12,11 @@ function transformVueJsxVapor(code, id, options, needSourceMap = false, needHMR
11
12
  ...options?.compiler
12
13
  });
13
14
  }
15
+
14
16
  //#endregion
15
- Object.defineProperty(exports, "transformVueJsxVapor", {
16
- enumerable: true,
17
- get: function() {
18
- return transformVueJsxVapor;
19
- }
20
- });
17
+ Object.defineProperty(exports, 'transformVueJsxVapor', {
18
+ enumerable: true,
19
+ get: function () {
20
+ return transformVueJsxVapor;
21
+ }
22
+ });
@@ -1,4 +1,5 @@
1
1
  import { transform } from "@vue-jsx-vapor/compiler-rs";
2
+
2
3
  //#region src/core/index.ts
3
4
  function transformVueJsxVapor(code, id, options, needSourceMap = false, needHMR = false, ssr = false) {
4
5
  return transform(code, {
@@ -10,5 +11,6 @@ function transformVueJsxVapor(code, id, options, needSourceMap = false, needHMR
10
11
  ...options?.compiler
11
12
  });
12
13
  }
14
+
13
15
  //#endregion
14
- export { transformVueJsxVapor as t };
16
+ export { transformVueJsxVapor as t };
package/dist/esbuild.cjs CHANGED
@@ -1,8 +1,9 @@
1
- Object.defineProperties(exports, {
2
- __esModule: { value: true },
3
- [Symbol.toStringTag]: { value: "Module" }
4
- });
1
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
+ require('./core-CM75Ciyx.cjs');
3
+ const require_unplugin = require('./unplugin.cjs');
4
+
5
5
  //#region src/esbuild.ts
6
- var esbuild_default = require("./unplugin.cjs").default.esbuild;
6
+ var esbuild_default = require_unplugin.default.esbuild;
7
+
7
8
  //#endregion
8
- exports.default = esbuild_default;
9
+ exports.default = esbuild_default;
@@ -1,6 +1,6 @@
1
1
  import { t as Options } from "./options-BGVfa0WB.cjs";
2
- import * as _$unplugin from "unplugin";
2
+ import * as unplugin from "unplugin";
3
3
 
4
4
  //#region src/esbuild.d.ts
5
- declare const _default: (options?: Options | undefined) => _$unplugin.EsbuildPlugin;
5
+ declare const _default: (options?: Options | undefined) => unplugin.EsbuildPlugin;
6
6
  export = _default;
package/dist/esbuild.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { t as Options } from "./options-DNxVVwqH.js";
2
- import * as _$unplugin from "unplugin";
1
+ import { t as Options } from "./options-CJzUa6Vm.js";
2
+ import * as unplugin from "unplugin";
3
3
 
4
4
  //#region src/esbuild.d.ts
5
- declare const _default: (options?: Options | undefined) => _$unplugin.EsbuildPlugin;
5
+ declare const _default: (options?: Options | undefined) => unplugin.EsbuildPlugin;
6
6
  //#endregion
7
7
  export { _default as default };
package/dist/esbuild.js CHANGED
@@ -1,5 +1,8 @@
1
+ import "./core-F-TBUTIG.js";
1
2
  import unplugin from "./unplugin.js";
3
+
2
4
  //#region src/esbuild.ts
3
5
  var esbuild_default = unplugin.esbuild;
6
+
4
7
  //#endregion
5
- export { esbuild_default as default };
8
+ export { esbuild_default as default };
@@ -1,7 +1,7 @@
1
1
  import { t as Options } from "./options-BGVfa0WB.cjs";
2
- import * as _$_vue_jsx_vapor_compiler_rs0 from "@vue-jsx-vapor/compiler-rs";
2
+ import * as _vue_jsx_vapor_compiler_rs0 from "@vue-jsx-vapor/compiler-rs";
3
3
 
4
4
  //#region src/core/index.d.ts
5
- declare function transformVueJsxVapor(code: string, id: string, options?: Options, needSourceMap?: boolean, needHMR?: boolean, ssr?: boolean): _$_vue_jsx_vapor_compiler_rs0.TransformReturn;
5
+ declare function transformVueJsxVapor(code: string, id: string, options?: Options, needSourceMap?: boolean, needHMR?: boolean, ssr?: boolean): _vue_jsx_vapor_compiler_rs0.TransformReturn;
6
6
  //#endregion
7
7
  export { transformVueJsxVapor as t };
@@ -0,0 +1,7 @@
1
+ import { t as Options } from "./options-CJzUa6Vm.js";
2
+ import * as _vue_jsx_vapor_compiler_rs0 from "@vue-jsx-vapor/compiler-rs";
3
+
4
+ //#region src/core/index.d.ts
5
+ declare function transformVueJsxVapor(code: string, id: string, options?: Options, needSourceMap?: boolean, needHMR?: boolean, ssr?: boolean): _vue_jsx_vapor_compiler_rs0.TransformReturn;
6
+ //#endregion
7
+ export { transformVueJsxVapor as t };
package/dist/index.cjs CHANGED
@@ -1,10 +1,10 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+
3
+
2
4
  var _vue_jsx_vapor_runtime = require("@vue-jsx-vapor/runtime");
3
- Object.keys(_vue_jsx_vapor_runtime).forEach(function(k) {
4
- if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
5
- enumerable: true,
6
- get: function() {
7
- return _vue_jsx_vapor_runtime[k];
8
- }
9
- });
5
+ Object.keys(_vue_jsx_vapor_runtime).forEach(function (k) {
6
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
7
+ enumerable: true,
8
+ get: function () { return _vue_jsx_vapor_runtime[k]; }
9
+ });
10
10
  });
package/dist/index.js CHANGED
@@ -1,2 +1,3 @@
1
- export * from "@vue-jsx-vapor/runtime";
2
- export {};
1
+ export * from "@vue-jsx-vapor/runtime"
2
+
3
+ export { };
package/dist/nuxt.cjs CHANGED
@@ -1,12 +1,11 @@
1
- Object.defineProperties(exports, {
2
- __esModule: { value: true },
3
- [Symbol.toStringTag]: { value: "Module" }
4
- });
5
- require("./chunk-CKQMccvm.cjs");
6
- const require_vite = require("./vite.cjs");
7
- const require_webpack = require("./webpack.cjs");
1
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
+ const require_chunk = require('./chunk-C0xms8kb.cjs');
3
+ require('./core-CM75Ciyx.cjs');
4
+ const require_vite = require('./vite.cjs');
5
+ const require_webpack = require('./webpack.cjs');
8
6
  let _nuxt_kit = require("@nuxt/kit");
9
7
  require("@nuxt/schema");
8
+
10
9
  //#region src/nuxt.ts
11
10
  var nuxt_default = (0, _nuxt_kit.defineNuxtModule)({
12
11
  meta: {
@@ -18,5 +17,6 @@ var nuxt_default = (0, _nuxt_kit.defineNuxtModule)({
18
17
  (0, _nuxt_kit.addWebpackPlugin)(() => require_webpack.default(options));
19
18
  }
20
19
  });
20
+
21
21
  //#endregion
22
- exports.default = nuxt_default;
22
+ exports.default = nuxt_default;
package/dist/nuxt.d.cts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { t as Options } from "./options-BGVfa0WB.cjs";
2
- import * as _$_nuxt_schema0 from "@nuxt/schema";
2
+ import * as _nuxt_schema0 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>;
6
+ declare const _default: _nuxt_schema0.NuxtModule<ModuleOptions, ModuleOptions, false>;
7
7
  //#endregion
8
8
  export { ModuleOptions, _default as default };
package/dist/nuxt.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import { t as Options } from "./options-DNxVVwqH.js";
2
- import * as _$_nuxt_schema0 from "@nuxt/schema";
1
+ import { t as Options } from "./options-CJzUa6Vm.js";
2
+ import * as _nuxt_schema0 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>;
6
+ declare const _default: _nuxt_schema0.NuxtModule<ModuleOptions, ModuleOptions, false>;
7
7
  //#endregion
8
8
  export { ModuleOptions, _default as default };
package/dist/nuxt.js CHANGED
@@ -1,7 +1,9 @@
1
+ import "./core-F-TBUTIG.js";
1
2
  import vite_default from "./vite.js";
2
3
  import webpack_default from "./webpack.js";
3
4
  import { addVitePlugin, addWebpackPlugin, defineNuxtModule } from "@nuxt/kit";
4
5
  import "@nuxt/schema";
6
+
5
7
  //#region src/nuxt.ts
6
8
  var nuxt_default = defineNuxtModule({
7
9
  meta: {
@@ -13,5 +15,6 @@ var nuxt_default = defineNuxtModule({
13
15
  addWebpackPlugin(() => webpack_default(options));
14
16
  }
15
17
  });
18
+
16
19
  //#endregion
17
- export { nuxt_default as default };
20
+ export { nuxt_default as default };
package/dist/raw.cjs CHANGED
@@ -1,14 +1,12 @@
1
- Object.defineProperties(exports, {
2
- __esModule: { value: true },
3
- [Symbol.toStringTag]: { value: "Module" }
4
- });
5
- const require_chunk = require("./chunk-CKQMccvm.cjs");
6
- const require_core = require("./core-CLUbTQ_0.cjs");
1
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
+ const require_chunk = require('./chunk-C0xms8kb.cjs');
3
+ const require_core = require('./core-CM75Ciyx.cjs');
7
4
  let _vue_jsx_vapor_macros_raw = require("@vue-jsx-vapor/macros/raw");
8
- _vue_jsx_vapor_macros_raw = require_chunk.__toESM(_vue_jsx_vapor_macros_raw, 1);
5
+ _vue_jsx_vapor_macros_raw = require_chunk.__toESM(_vue_jsx_vapor_macros_raw);
9
6
  let _vue_jsx_vapor_runtime_raw = require("@vue-jsx-vapor/runtime/raw");
10
7
  let pathe = require("pathe");
11
8
  let unplugin_utils = require("unplugin-utils");
9
+
12
10
  //#region src/raw.ts
13
11
  const plugin = (options = {}) => {
14
12
  let root = "";
@@ -60,5 +58,6 @@ const plugin = (options = {}) => {
60
58
  }
61
59
  }];
62
60
  };
61
+
63
62
  //#endregion
64
- exports.default = plugin;
63
+ exports.default = plugin;
package/dist/raw.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { t as Options } from "./options-DNxVVwqH.js";
1
+ import { t as Options } from "./options-CJzUa6Vm.js";
2
2
  import { UnpluginOptions } from "unplugin";
3
3
 
4
4
  //#region src/raw.d.ts
package/dist/raw.js CHANGED
@@ -1,8 +1,9 @@
1
- import { t as transformVueJsxVapor } from "./core-DKEYkI8D.js";
1
+ import { t as transformVueJsxVapor } from "./core-F-TBUTIG.js";
2
2
  import macros from "@vue-jsx-vapor/macros/raw";
3
3
  import { propsHelperCode, propsHelperId, ssrHelperCode, ssrHelperId, vaporHelperCode, vaporHelperId, vdomHelperCode, vdomHelperId } from "@vue-jsx-vapor/runtime/raw";
4
4
  import { relative } from "pathe";
5
5
  import { normalizePath } from "unplugin-utils";
6
+
6
7
  //#region src/raw.ts
7
8
  const plugin = (options = {}) => {
8
9
  let root = "";
@@ -54,5 +55,6 @@ const plugin = (options = {}) => {
54
55
  }
55
56
  }];
56
57
  };
58
+
57
59
  //#endregion
58
- export { plugin as default };
60
+ export { plugin as default };
package/dist/rolldown.cjs CHANGED
@@ -1,10 +1,11 @@
1
- Object.defineProperties(exports, {
2
- __esModule: { value: true },
3
- [Symbol.toStringTag]: { value: "Module" }
4
- });
5
- require("./chunk-CKQMccvm.cjs");
6
- const require_unplugin = require("./unplugin.cjs");
1
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
+ const require_chunk = require('./chunk-C0xms8kb.cjs');
3
+ require('./core-CM75Ciyx.cjs');
4
+ const require_unplugin = require('./unplugin.cjs');
5
+ let unplugin = require("unplugin");
6
+
7
7
  //#region src/rolldown.ts
8
- var rolldown_default = (0, require("unplugin").createRollupPlugin)(require_unplugin.unpluginFactory);
8
+ var rolldown_default = (0, unplugin.createRollupPlugin)(require_unplugin.unpluginFactory);
9
+
9
10
  //#endregion
10
- exports.default = rolldown_default;
11
+ exports.default = rolldown_default;
@@ -1,6 +1,6 @@
1
1
  import { t as Options } from "./options-BGVfa0WB.cjs";
2
- import * as _$unplugin from "unplugin";
2
+ import * as unplugin from "unplugin";
3
3
 
4
4
  //#region src/rolldown.d.ts
5
- declare const _default: (options?: Options | undefined) => _$unplugin.RollupPlugin<any> | _$unplugin.RollupPlugin<any>[];
5
+ declare const _default: (options?: Options | undefined) => unplugin.RollupPlugin<any> | unplugin.RollupPlugin<any>[];
6
6
  export = _default;
@@ -1,7 +1,7 @@
1
- import { t as Options } from "./options-DNxVVwqH.js";
2
- import * as _$unplugin from "unplugin";
1
+ import { t as Options } from "./options-CJzUa6Vm.js";
2
+ import * as unplugin from "unplugin";
3
3
 
4
4
  //#region src/rolldown.d.ts
5
- declare const _default: (options?: Options | undefined) => _$unplugin.RollupPlugin<any> | _$unplugin.RollupPlugin<any>[];
5
+ declare const _default: (options?: Options | undefined) => unplugin.RollupPlugin<any> | unplugin.RollupPlugin<any>[];
6
6
  //#endregion
7
7
  export { _default as default };
package/dist/rolldown.js CHANGED
@@ -1,6 +1,9 @@
1
+ import "./core-F-TBUTIG.js";
1
2
  import { unpluginFactory } from "./unplugin.js";
2
3
  import { createRollupPlugin } from "unplugin";
4
+
3
5
  //#region src/rolldown.ts
4
6
  var rolldown_default = createRollupPlugin(unpluginFactory);
7
+
5
8
  //#endregion
6
- export { rolldown_default as default };
9
+ export { rolldown_default as default };
package/dist/rollup.cjs CHANGED
@@ -1,8 +1,9 @@
1
- Object.defineProperties(exports, {
2
- __esModule: { value: true },
3
- [Symbol.toStringTag]: { value: "Module" }
4
- });
1
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
+ require('./core-CM75Ciyx.cjs');
3
+ const require_unplugin = require('./unplugin.cjs');
4
+
5
5
  //#region src/rollup.ts
6
- var rollup_default = require("./unplugin.cjs").default.rollup;
6
+ var rollup_default = require_unplugin.default.rollup;
7
+
7
8
  //#endregion
8
- exports.default = rollup_default;
9
+ exports.default = rollup_default;
package/dist/rollup.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { t as Options } from "./options-BGVfa0WB.cjs";
2
- import * as _$unplugin from "unplugin";
2
+ import * as unplugin from "unplugin";
3
3
 
4
4
  //#region src/rollup.d.ts
5
- declare const _default: (options?: Options | undefined) => _$unplugin.RollupPlugin<any>[];
5
+ declare const _default: (options?: Options | undefined) => unplugin.RollupPlugin<any>[];
6
6
  export = _default;
package/dist/rollup.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { t as Options } from "./options-DNxVVwqH.js";
2
- import * as _$unplugin from "unplugin";
1
+ import { t as Options } from "./options-CJzUa6Vm.js";
2
+ import * as unplugin from "unplugin";
3
3
 
4
4
  //#region src/rollup.d.ts
5
- declare const _default: (options?: Options | undefined) => _$unplugin.RollupPlugin<any>[];
5
+ declare const _default: (options?: Options | undefined) => unplugin.RollupPlugin<any>[];
6
6
  //#endregion
7
7
  export { _default as default };
package/dist/rollup.js CHANGED
@@ -1,5 +1,8 @@
1
+ import "./core-F-TBUTIG.js";
1
2
  import unplugin from "./unplugin.js";
3
+
2
4
  //#region src/rollup.ts
3
5
  var rollup_default = unplugin.rollup;
6
+
4
7
  //#endregion
5
- export { rollup_default as default };
8
+ export { rollup_default as default };
package/dist/rsbuild.cjs CHANGED
@@ -1,8 +1,7 @@
1
- Object.defineProperties(exports, {
2
- __esModule: { value: true },
3
- [Symbol.toStringTag]: { value: "Module" }
4
- });
5
- const require_unplugin = require("./unplugin.cjs");
1
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
+ require('./core-CM75Ciyx.cjs');
3
+ const require_unplugin = require('./unplugin.cjs');
4
+
6
5
  //#region src/rsbuild.ts
7
6
  var rsbuild_default = (options = {}) => ({
8
7
  name: "rsbuild:vue-jsx-vapor",
@@ -12,5 +11,6 @@ var rsbuild_default = (options = {}) => ({
12
11
  });
13
12
  }
14
13
  });
14
+
15
15
  //#endregion
16
- exports.default = rsbuild_default;
16
+ exports.default = rsbuild_default;
@@ -1,4 +1,5 @@
1
1
  import { t as Options } from "./options-BGVfa0WB.cjs";
2
+
2
3
  //#region src/rsbuild.d.ts
3
4
  declare const _default: (options?: Options) => {
4
5
  name: string;
package/dist/rsbuild.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { t as Options } from "./options-DNxVVwqH.js";
1
+ import { t as Options } from "./options-CJzUa6Vm.js";
2
2
  //#region src/rsbuild.d.ts
3
3
  declare const _default: (options?: Options) => {
4
4
  name: string;
package/dist/rsbuild.js CHANGED
@@ -1,4 +1,6 @@
1
+ import "./core-F-TBUTIG.js";
1
2
  import unplugin from "./unplugin.js";
3
+
2
4
  //#region src/rsbuild.ts
3
5
  var rsbuild_default = (options = {}) => ({
4
6
  name: "rsbuild:vue-jsx-vapor",
@@ -8,5 +10,6 @@ var rsbuild_default = (options = {}) => ({
8
10
  });
9
11
  }
10
12
  });
13
+
11
14
  //#endregion
12
- export { rsbuild_default as default };
15
+ export { rsbuild_default as default };
package/dist/rspack.cjs CHANGED
@@ -1,8 +1,9 @@
1
- Object.defineProperties(exports, {
2
- __esModule: { value: true },
3
- [Symbol.toStringTag]: { value: "Module" }
4
- });
1
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
+ require('./core-CM75Ciyx.cjs');
3
+ const require_unplugin = require('./unplugin.cjs');
4
+
5
5
  //#region src/rspack.ts
6
- var rspack_default = require("./unplugin.cjs").default.rspack;
6
+ var rspack_default = require_unplugin.default.rspack;
7
+
7
8
  //#endregion
8
- exports.default = rspack_default;
9
+ exports.default = rspack_default;
package/dist/rspack.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { t as Options } from "./options-DNxVVwqH.js";
1
+ import { t as Options } from "./options-CJzUa6Vm.js";
2
2
 
3
3
  //#region src/rspack.d.ts
4
4
  declare const _default: (options?: Options | undefined) => RspackPluginInstance;
package/dist/rspack.js CHANGED
@@ -1,5 +1,8 @@
1
+ import "./core-F-TBUTIG.js";
1
2
  import unplugin from "./unplugin.js";
3
+
2
4
  //#region src/rspack.ts
3
5
  var rspack_default = unplugin.rspack;
6
+
4
7
  //#endregion
5
- export { rspack_default as default };
8
+ export { rspack_default as default };
package/dist/unplugin.cjs CHANGED
@@ -1,16 +1,16 @@
1
- Object.defineProperties(exports, {
2
- __esModule: { value: true },
3
- [Symbol.toStringTag]: { value: "Module" }
4
- });
5
- require("./chunk-CKQMccvm.cjs");
6
- const require_raw = require("./raw.cjs");
1
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
+ const require_chunk = require('./chunk-C0xms8kb.cjs');
3
+ require('./core-CM75Ciyx.cjs');
4
+ const require_raw = require('./raw.cjs');
7
5
  let unplugin = require("unplugin");
6
+
8
7
  //#region src/unplugin.ts
9
8
  const unpluginFactory = (options = {}) => {
10
9
  return require_raw.default(options);
11
10
  };
12
11
  const unplugin$1 = /* @__PURE__ */ (0, unplugin.createUnplugin)(unpluginFactory);
12
+
13
13
  //#endregion
14
14
  exports.default = unplugin$1;
15
15
  exports.unplugin = unplugin$1;
16
- exports.unpluginFactory = unpluginFactory;
16
+ exports.unpluginFactory = unpluginFactory;
@@ -1,9 +1,8 @@
1
1
  import { t as Options } from "./options-BGVfa0WB.cjs";
2
- import * as _$unplugin from "unplugin";
3
2
  import { UnpluginFactory } from "unplugin";
4
3
 
5
4
  //#region src/unplugin.d.ts
6
5
  declare const unpluginFactory: UnpluginFactory<Options | undefined, true>;
7
- declare const unplugin: _$unplugin.UnpluginInstance<Options | undefined, true>;
6
+ declare const unplugin: unplugin.UnpluginInstance<Options | undefined, true>;
8
7
  //#endregion
9
8
  export { type Options, unplugin as default, unplugin, unpluginFactory };
@@ -1,9 +1,8 @@
1
- import { t as Options } from "./options-DNxVVwqH.js";
2
- import * as _$unplugin from "unplugin";
1
+ import { t as Options } from "./options-CJzUa6Vm.js";
3
2
  import { UnpluginFactory } from "unplugin";
4
3
 
5
4
  //#region src/unplugin.d.ts
6
5
  declare const unpluginFactory: UnpluginFactory<Options | undefined, true>;
7
- declare const unplugin: _$unplugin.UnpluginInstance<Options | undefined, true>;
6
+ declare const unplugin: unplugin.UnpluginInstance<Options | undefined, true>;
8
7
  //#endregion
9
8
  export { type Options, unplugin as default, unplugin, unpluginFactory };
package/dist/unplugin.js CHANGED
@@ -1,9 +1,12 @@
1
+ import "./core-F-TBUTIG.js";
1
2
  import plugin from "./raw.js";
2
3
  import { createUnplugin } from "unplugin";
4
+
3
5
  //#region src/unplugin.ts
4
6
  const unpluginFactory = (options = {}) => {
5
7
  return plugin(options);
6
8
  };
7
9
  const unplugin = /* @__PURE__ */ createUnplugin(unpluginFactory);
10
+
8
11
  //#endregion
9
- export { unplugin as default, unplugin, unpluginFactory };
12
+ export { unplugin as default, unplugin, unpluginFactory };
package/dist/vite.cjs CHANGED
@@ -1,8 +1,9 @@
1
- Object.defineProperties(exports, {
2
- __esModule: { value: true },
3
- [Symbol.toStringTag]: { value: "Module" }
4
- });
1
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
+ require('./core-CM75Ciyx.cjs');
3
+ const require_unplugin = require('./unplugin.cjs');
4
+
5
5
  //#region src/vite.ts
6
- var vite_default = require("./unplugin.cjs").default.vite;
6
+ var vite_default = require_unplugin.default.vite;
7
+
7
8
  //#endregion
8
- exports.default = vite_default;
9
+ exports.default = vite_default;
package/dist/vite.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { t as Options } from "./options-BGVfa0WB.cjs";
2
- import * as _$vite from "vite";
2
+ import * as vite from "vite";
3
3
 
4
4
  //#region src/vite.d.ts
5
- declare const _default: (options?: Options | undefined) => _$vite.Plugin<any>[];
5
+ declare const _default: (options?: Options | undefined) => vite.Plugin<any>[];
6
6
  export = _default;
package/dist/vite.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { t as Options } from "./options-DNxVVwqH.js";
2
- import * as _$vite from "vite";
1
+ import { t as Options } from "./options-CJzUa6Vm.js";
2
+ import * as vite from "vite";
3
3
 
4
4
  //#region src/vite.d.ts
5
- declare const _default: (options?: Options | undefined) => _$vite.Plugin<any>[];
5
+ declare const _default: (options?: Options | undefined) => vite.Plugin<any>[];
6
6
  //#endregion
7
7
  export { _default as default };
package/dist/vite.js CHANGED
@@ -1,5 +1,8 @@
1
+ import "./core-F-TBUTIG.js";
1
2
  import unplugin from "./unplugin.js";
3
+
2
4
  //#region src/vite.ts
3
5
  var vite_default = unplugin.vite;
6
+
4
7
  //#endregion
5
- export { vite_default as default };
8
+ export { vite_default as default };
package/dist/volar.cjs CHANGED
@@ -1,13 +1,11 @@
1
- Object.defineProperties(exports, {
2
- __esModule: { value: true },
3
- [Symbol.toStringTag]: { value: "Module" }
4
- });
5
- const require_chunk = require("./chunk-CKQMccvm.cjs");
1
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
+ const require_chunk = require('./chunk-C0xms8kb.cjs');
6
3
  let _vue_jsx_vapor_macros_volar = require("@vue-jsx-vapor/macros/volar");
7
- _vue_jsx_vapor_macros_volar = require_chunk.__toESM(_vue_jsx_vapor_macros_volar, 1);
4
+ _vue_jsx_vapor_macros_volar = require_chunk.__toESM(_vue_jsx_vapor_macros_volar);
8
5
  let ts_macro = require("ts-macro");
9
6
  let _vue_shared = require("@vue/shared");
10
- //#region ../../node_modules/.pnpm/@vue-macros+volar@3.1.2_patch_hash=0c8e80125adad1ff087195b3b3c1aad5bb1392f1c5dfe7d84145_fb122f36f9f0b536dde8a25d4a4f8184/node_modules/@vue-macros/volar/dist/jsx-directive-Cfx4Hdxx.js
7
+
8
+ //#region ../../node_modules/.pnpm/@vue-macros+volar@3.1.2_patch_hash=0c8e80125adad1ff087195b3b3c1aad5bb1392f1c5dfe7d84145_e4fe09060f8618e17e1f3fb3b66fec3c/node_modules/@vue-macros/volar/dist/jsx-directive-Cfx4Hdxx.js
11
9
  function resolveCtxMap(ctxNodeMap, options) {
12
10
  if (ctxNodeMap.size) options.codes.push(`
13
11
  type __VLS_IsAny<T> = 0 extends 1 & T ? true : false;
@@ -660,7 +658,7 @@ function getTagName(node, options) {
660
658
  if (!openingElement) return "";
661
659
  return openingElement.tagName.getText(options.ast);
662
660
  }
663
- var jsx_directive_default = (0, ts_macro.createPlugin)(({ ts, vueCompilerOptions }, options = vueCompilerOptions?.vueMacros?.jsxDirective === true ? {} : vueCompilerOptions?.vueMacros?.jsxDirective ?? {}) => {
661
+ const plugin$2 = (0, ts_macro.createPlugin)(({ ts, vueCompilerOptions }, options = vueCompilerOptions?.vueMacros?.jsxDirective === true ? {} : vueCompilerOptions?.vueMacros?.jsxDirective ?? {}) => {
664
662
  if (!options) return [];
665
663
  return {
666
664
  name: "vue-macros-jsx-directive",
@@ -675,8 +673,10 @@ var jsx_directive_default = (0, ts_macro.createPlugin)(({ ts, vueCompilerOptions
675
673
  }
676
674
  };
677
675
  });
676
+ var jsx_directive_default = plugin$2;
677
+
678
678
  //#endregion
679
- //#region ../../node_modules/.pnpm/@vue-macros+volar@3.1.2_patch_hash=0c8e80125adad1ff087195b3b3c1aad5bb1392f1c5dfe7d84145_fb122f36f9f0b536dde8a25d4a4f8184/node_modules/@vue-macros/volar/dist/jsx-ref-DZlb-F7c.js
679
+ //#region ../../node_modules/.pnpm/@vue-macros+volar@3.1.2_patch_hash=0c8e80125adad1ff087195b3b3c1aad5bb1392f1c5dfe7d84145_e4fe09060f8618e17e1f3fb3b66fec3c/node_modules/@vue-macros/volar/dist/jsx-ref-DZlb-F7c.js
680
680
  function transformRef({ nodes, codes, ts }) {
681
681
  for (const { name, initializer } of nodes) if (ts.isCallExpression(initializer)) codes.replaceRange(initializer.expression.end, initializer.expression.end, `<Parameters<typeof __VLS_ctx_${name.text}['expose']>[0] | null>`);
682
682
  }
@@ -700,7 +700,7 @@ function getRefNodes(ts, sourceFile, alias) {
700
700
  ts.forEachChild(sourceFile, walk);
701
701
  return result;
702
702
  }
703
- var jsx_ref_default = (0, ts_macro.createPlugin)(({ ts, vueCompilerOptions }, options = vueCompilerOptions?.vueMacros?.jsxRef === true ? {} : vueCompilerOptions?.vueMacros?.jsxRef ?? {}) => {
703
+ const plugin$1 = (0, ts_macro.createPlugin)(({ ts, vueCompilerOptions }, options = vueCompilerOptions?.vueMacros?.jsxRef === true ? {} : vueCompilerOptions?.vueMacros?.jsxRef ?? {}) => {
704
704
  if (!options) return [];
705
705
  const alias = options.alias || ["useRef"];
706
706
  return {
@@ -717,6 +717,8 @@ var jsx_ref_default = (0, ts_macro.createPlugin)(({ ts, vueCompilerOptions }, op
717
717
  }
718
718
  };
719
719
  });
720
+ var jsx_ref_default = plugin$1;
721
+
720
722
  //#endregion
721
723
  //#region src/volar/jsx-element.ts
722
724
  var jsx_element_default = (0, ts_macro.createPlugin)(({ ts }) => {
@@ -759,6 +761,7 @@ type __InferJsxElement<T> = T extends keyof HTMLElementTagNameMap
759
761
  function isConditionalExpression(ts, node) {
760
762
  return !!(node && (ts.isBinaryExpression(node) || ts.isConditionalExpression(node)) && node.parent && (ts.isJsxExpression(node.parent) || isConditionalExpression(ts, node.parent)));
761
763
  }
764
+
762
765
  //#endregion
763
766
  //#region src/volar.ts
764
767
  const plugin = (0, ts_macro.createPlugin)((ctx, options = ctx.vueCompilerOptions?.["vue-jsx-vapor"]) => {
@@ -769,6 +772,7 @@ const plugin = (0, ts_macro.createPlugin)((ctx, options = ctx.vueCompilerOptions
769
772
  options?.interop ? [] : jsx_element_default()(ctx)
770
773
  ].flat();
771
774
  });
775
+
772
776
  //#endregion
773
777
  exports.default = plugin;
774
- exports["module.exports"] = plugin;
778
+ exports["module.exports"] = plugin;
package/dist/volar.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { t as Options } from "./options-DNxVVwqH.js";
1
+ import { t as Options } from "./options-CJzUa6Vm.js";
2
2
  import { PluginReturn } from "ts-macro";
3
3
 
4
4
  //#region src/volar.d.ts
package/dist/volar.js CHANGED
@@ -1,7 +1,8 @@
1
1
  import jsxMacros from "@vue-jsx-vapor/macros/volar";
2
2
  import { allCodeFeatures, createPlugin } from "ts-macro";
3
3
  import { isHTMLTag, isSVGTag } from "@vue/shared";
4
- //#region ../../node_modules/.pnpm/@vue-macros+volar@3.1.2_patch_hash=0c8e80125adad1ff087195b3b3c1aad5bb1392f1c5dfe7d84145_fb122f36f9f0b536dde8a25d4a4f8184/node_modules/@vue-macros/volar/dist/jsx-directive-Cfx4Hdxx.js
4
+
5
+ //#region ../../node_modules/.pnpm/@vue-macros+volar@3.1.2_patch_hash=0c8e80125adad1ff087195b3b3c1aad5bb1392f1c5dfe7d84145_e4fe09060f8618e17e1f3fb3b66fec3c/node_modules/@vue-macros/volar/dist/jsx-directive-Cfx4Hdxx.js
5
6
  function resolveCtxMap(ctxNodeMap, options) {
6
7
  if (ctxNodeMap.size) options.codes.push(`
7
8
  type __VLS_IsAny<T> = 0 extends 1 & T ? true : false;
@@ -654,7 +655,7 @@ function getTagName(node, options) {
654
655
  if (!openingElement) return "";
655
656
  return openingElement.tagName.getText(options.ast);
656
657
  }
657
- var jsx_directive_default = createPlugin(({ ts, vueCompilerOptions }, options = vueCompilerOptions?.vueMacros?.jsxDirective === true ? {} : vueCompilerOptions?.vueMacros?.jsxDirective ?? {}) => {
658
+ const plugin$2 = createPlugin(({ ts, vueCompilerOptions }, options = vueCompilerOptions?.vueMacros?.jsxDirective === true ? {} : vueCompilerOptions?.vueMacros?.jsxDirective ?? {}) => {
658
659
  if (!options) return [];
659
660
  return {
660
661
  name: "vue-macros-jsx-directive",
@@ -669,8 +670,10 @@ var jsx_directive_default = createPlugin(({ ts, vueCompilerOptions }, options =
669
670
  }
670
671
  };
671
672
  });
673
+ var jsx_directive_default = plugin$2;
674
+
672
675
  //#endregion
673
- //#region ../../node_modules/.pnpm/@vue-macros+volar@3.1.2_patch_hash=0c8e80125adad1ff087195b3b3c1aad5bb1392f1c5dfe7d84145_fb122f36f9f0b536dde8a25d4a4f8184/node_modules/@vue-macros/volar/dist/jsx-ref-DZlb-F7c.js
676
+ //#region ../../node_modules/.pnpm/@vue-macros+volar@3.1.2_patch_hash=0c8e80125adad1ff087195b3b3c1aad5bb1392f1c5dfe7d84145_e4fe09060f8618e17e1f3fb3b66fec3c/node_modules/@vue-macros/volar/dist/jsx-ref-DZlb-F7c.js
674
677
  function transformRef({ nodes, codes, ts }) {
675
678
  for (const { name, initializer } of nodes) if (ts.isCallExpression(initializer)) codes.replaceRange(initializer.expression.end, initializer.expression.end, `<Parameters<typeof __VLS_ctx_${name.text}['expose']>[0] | null>`);
676
679
  }
@@ -694,7 +697,7 @@ function getRefNodes(ts, sourceFile, alias) {
694
697
  ts.forEachChild(sourceFile, walk);
695
698
  return result;
696
699
  }
697
- var jsx_ref_default = createPlugin(({ ts, vueCompilerOptions }, options = vueCompilerOptions?.vueMacros?.jsxRef === true ? {} : vueCompilerOptions?.vueMacros?.jsxRef ?? {}) => {
700
+ const plugin$1 = createPlugin(({ ts, vueCompilerOptions }, options = vueCompilerOptions?.vueMacros?.jsxRef === true ? {} : vueCompilerOptions?.vueMacros?.jsxRef ?? {}) => {
698
701
  if (!options) return [];
699
702
  const alias = options.alias || ["useRef"];
700
703
  return {
@@ -711,6 +714,8 @@ var jsx_ref_default = createPlugin(({ ts, vueCompilerOptions }, options = vueCom
711
714
  }
712
715
  };
713
716
  });
717
+ var jsx_ref_default = plugin$1;
718
+
714
719
  //#endregion
715
720
  //#region src/volar/jsx-element.ts
716
721
  var jsx_element_default = createPlugin(({ ts }) => {
@@ -753,6 +758,7 @@ type __InferJsxElement<T> = T extends keyof HTMLElementTagNameMap
753
758
  function isConditionalExpression(ts, node) {
754
759
  return !!(node && (ts.isBinaryExpression(node) || ts.isConditionalExpression(node)) && node.parent && (ts.isJsxExpression(node.parent) || isConditionalExpression(ts, node.parent)));
755
760
  }
761
+
756
762
  //#endregion
757
763
  //#region src/volar.ts
758
764
  const plugin = createPlugin((ctx, options = ctx.vueCompilerOptions?.["vue-jsx-vapor"]) => {
@@ -763,5 +769,6 @@ const plugin = createPlugin((ctx, options = ctx.vueCompilerOptions?.["vue-jsx-va
763
769
  options?.interop ? [] : jsx_element_default()(ctx)
764
770
  ].flat();
765
771
  });
772
+
766
773
  //#endregion
767
- export { plugin as default, plugin as "module.exports" };
774
+ export { plugin as default, plugin as "module.exports" };
package/dist/webpack.cjs CHANGED
@@ -1,8 +1,9 @@
1
- Object.defineProperties(exports, {
2
- __esModule: { value: true },
3
- [Symbol.toStringTag]: { value: "Module" }
4
- });
1
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
+ require('./core-CM75Ciyx.cjs');
3
+ const require_unplugin = require('./unplugin.cjs');
4
+
5
5
  //#region src/webpack.ts
6
- var webpack_default = require("./unplugin.cjs").default.webpack;
6
+ var webpack_default = require_unplugin.default.webpack;
7
+
7
8
  //#endregion
8
- exports.default = webpack_default;
9
+ exports.default = webpack_default;
@@ -1,6 +1,6 @@
1
1
  import { t as Options } from "./options-BGVfa0WB.cjs";
2
- import * as _$unplugin from "unplugin";
2
+ import * as unplugin from "unplugin";
3
3
 
4
4
  //#region src/webpack.d.ts
5
- declare const _default: (options?: Options | undefined) => _$unplugin.WebpackPluginInstance;
5
+ declare const _default: (options?: Options | undefined) => unplugin.WebpackPluginInstance;
6
6
  export = _default;
package/dist/webpack.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { t as Options } from "./options-DNxVVwqH.js";
2
- import * as _$unplugin from "unplugin";
1
+ import { t as Options } from "./options-CJzUa6Vm.js";
2
+ import * as unplugin from "unplugin";
3
3
 
4
4
  //#region src/webpack.d.ts
5
- declare const _default: (options?: Options | undefined) => _$unplugin.WebpackPluginInstance;
5
+ declare const _default: (options?: Options | undefined) => unplugin.WebpackPluginInstance;
6
6
  //#endregion
7
7
  export { _default as default };
package/dist/webpack.js CHANGED
@@ -1,5 +1,8 @@
1
+ import "./core-F-TBUTIG.js";
1
2
  import unplugin from "./unplugin.js";
3
+
2
4
  //#region src/webpack.ts
3
5
  var webpack_default = unplugin.webpack;
6
+
4
7
  //#endregion
5
- export { webpack_default as default };
8
+ export { webpack_default as default };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-jsx-vapor",
3
3
  "type": "module",
4
- "version": "3.2.13",
4
+ "version": "3.2.15",
5
5
  "description": "Vapor Mode of Vue JSX",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/vuejs/vue-jsx-vapor#readme",
@@ -171,20 +171,20 @@
171
171
  }
172
172
  },
173
173
  "dependencies": {
174
- "@vue/shared": "3.6.0-beta.8",
174
+ "@vue/shared": "3.6.0-beta.12",
175
175
  "pathe": "^2.0.3",
176
176
  "ts-macro": "^0.3.7",
177
177
  "unplugin": "^3.0.0",
178
178
  "unplugin-utils": "^0.3.1",
179
- "@vue-jsx-vapor/compiler-rs": "3.2.13",
180
- "@vue-jsx-vapor/macros": "3.2.13",
181
- "@vue-jsx-vapor/runtime": "3.2.13"
179
+ "@vue-jsx-vapor/compiler-rs": "3.2.15",
180
+ "@vue-jsx-vapor/runtime": "3.2.15",
181
+ "@vue-jsx-vapor/macros": "3.2.15"
182
182
  },
183
183
  "devDependencies": {
184
184
  "@nuxt/kit": "^3.21.4",
185
185
  "@nuxt/schema": "^3.21.4",
186
186
  "@vue-macros/volar": "^3.1.2",
187
- "vue": "3.6.0-beta.8"
187
+ "vue": "3.6.0-beta.12"
188
188
  },
189
189
  "scripts": {
190
190
  "build": "tsdown",
@@ -1,7 +0,0 @@
1
- import { t as Options } from "./options-DNxVVwqH.js";
2
- import * as _$_vue_jsx_vapor_compiler_rs0 from "@vue-jsx-vapor/compiler-rs";
3
-
4
- //#region src/core/index.d.ts
5
- declare function transformVueJsxVapor(code: string, id: string, options?: Options, needSourceMap?: boolean, needHMR?: boolean, ssr?: boolean): _$_vue_jsx_vapor_compiler_rs0.TransformReturn;
6
- //#endregion
7
- export { transformVueJsxVapor as t };