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.
- package/dist/api.cjs +4 -3
- package/dist/api.d.cts +1 -1
- package/dist/api.d.ts +2 -2
- package/dist/api.js +3 -2
- package/dist/astro.cjs +6 -6
- package/dist/astro.d.ts +1 -1
- package/dist/astro.js +4 -1
- package/dist/bun.cjs +7 -6
- package/dist/bun.d.ts +1 -1
- package/dist/bun.js +4 -1
- package/dist/{chunk-CKQMccvm.cjs → chunk-C0xms8kb.cjs} +18 -12
- package/dist/{core-CLUbTQ_0.cjs → core-CM75Ciyx.cjs} +9 -7
- package/dist/{core-DKEYkI8D.js → core-F-TBUTIG.js} +3 -1
- package/dist/esbuild.cjs +7 -6
- package/dist/esbuild.d.cts +2 -2
- package/dist/esbuild.d.ts +3 -3
- package/dist/esbuild.js +4 -1
- package/dist/{index-BQ2Sdoa1.d.cts → index-C3myqMEa.d.cts} +2 -2
- package/dist/index-tJRhRcrS.d.ts +7 -0
- package/dist/index.cjs +8 -8
- package/dist/index.js +3 -2
- package/dist/nuxt.cjs +8 -8
- package/dist/nuxt.d.cts +2 -2
- package/dist/nuxt.d.ts +3 -3
- package/dist/nuxt.js +4 -1
- package/dist/raw.cjs +7 -8
- package/dist/raw.d.ts +1 -1
- package/dist/raw.js +4 -2
- package/dist/rolldown.cjs +9 -8
- package/dist/rolldown.d.cts +2 -2
- package/dist/rolldown.d.ts +3 -3
- package/dist/rolldown.js +4 -1
- package/dist/rollup.cjs +7 -6
- package/dist/rollup.d.cts +2 -2
- package/dist/rollup.d.ts +3 -3
- package/dist/rollup.js +4 -1
- package/dist/rsbuild.cjs +6 -6
- package/dist/rsbuild.d.cts +1 -0
- package/dist/rsbuild.d.ts +1 -1
- package/dist/rsbuild.js +4 -1
- package/dist/rspack.cjs +7 -6
- package/dist/rspack.d.ts +1 -1
- package/dist/rspack.js +4 -1
- package/dist/unplugin.cjs +7 -7
- package/dist/unplugin.d.cts +1 -2
- package/dist/unplugin.d.ts +2 -3
- package/dist/unplugin.js +4 -1
- package/dist/vite.cjs +7 -6
- package/dist/vite.d.cts +2 -2
- package/dist/vite.d.ts +3 -3
- package/dist/vite.js +4 -1
- package/dist/volar.cjs +15 -11
- package/dist/volar.d.ts +1 -1
- package/dist/volar.js +12 -5
- package/dist/webpack.cjs +7 -6
- package/dist/webpack.d.cts +2 -2
- package/dist/webpack.d.ts +3 -3
- package/dist/webpack.js +4 -1
- package/package.json +6 -6
- package/dist/index-CD9-wM0b.d.ts +0 -7
- /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:
|
|
2
|
-
const require_core = require(
|
|
3
|
-
|
|
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
package/dist/api.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as Options } from "./options-
|
|
2
|
-
import { t as transformVueJsxVapor } from "./index-
|
|
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-
|
|
2
|
-
|
|
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
|
-
|
|
3
|
-
|
|
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
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
|
-
|
|
3
|
-
|
|
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 =
|
|
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
package/dist/bun.js
CHANGED
|
@@ -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")
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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(
|
|
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,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
-
|
|
3
|
-
|
|
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 =
|
|
6
|
+
var esbuild_default = require_unplugin.default.esbuild;
|
|
7
|
+
|
|
7
8
|
//#endregion
|
|
8
|
-
exports.default = esbuild_default;
|
|
9
|
+
exports.default = esbuild_default;
|
package/dist/esbuild.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Options } from "./options-BGVfa0WB.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as unplugin from "unplugin";
|
|
3
3
|
|
|
4
4
|
//#region src/esbuild.d.ts
|
|
5
|
-
declare const _default: (options?: Options | undefined) =>
|
|
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-
|
|
2
|
-
import * as
|
|
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) =>
|
|
5
|
+
declare const _default: (options?: Options | undefined) => unplugin.EsbuildPlugin;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { _default as default };
|
package/dist/esbuild.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as Options } from "./options-BGVfa0WB.cjs";
|
|
2
|
-
import * as
|
|
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):
|
|
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:
|
|
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
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
-
|
|
1
|
+
export * from "@vue-jsx-vapor/runtime"
|
|
2
|
+
|
|
3
|
+
export { };
|
package/dist/nuxt.cjs
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
Object.defineProperties(exports, {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
require(
|
|
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
|
|
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:
|
|
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-
|
|
2
|
-
import * as
|
|
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:
|
|
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
|
-
|
|
3
|
-
|
|
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
|
|
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
package/dist/raw.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { t as transformVueJsxVapor } from "./core-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
require("
|
|
6
|
-
|
|
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,
|
|
8
|
+
var rolldown_default = (0, unplugin.createRollupPlugin)(require_unplugin.unpluginFactory);
|
|
9
|
+
|
|
9
10
|
//#endregion
|
|
10
|
-
exports.default = rolldown_default;
|
|
11
|
+
exports.default = rolldown_default;
|
package/dist/rolldown.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Options } from "./options-BGVfa0WB.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as unplugin from "unplugin";
|
|
3
3
|
|
|
4
4
|
//#region src/rolldown.d.ts
|
|
5
|
-
declare const _default: (options?: Options | undefined) =>
|
|
5
|
+
declare const _default: (options?: Options | undefined) => unplugin.RollupPlugin<any> | unplugin.RollupPlugin<any>[];
|
|
6
6
|
export = _default;
|
package/dist/rolldown.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as Options } from "./options-
|
|
2
|
-
import * as
|
|
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) =>
|
|
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
|
-
|
|
3
|
-
|
|
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 =
|
|
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
|
|
2
|
+
import * as unplugin from "unplugin";
|
|
3
3
|
|
|
4
4
|
//#region src/rollup.d.ts
|
|
5
|
-
declare const _default: (options?: Options | undefined) =>
|
|
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-
|
|
2
|
-
import * as
|
|
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) =>
|
|
5
|
+
declare const _default: (options?: Options | undefined) => unplugin.RollupPlugin<any>[];
|
|
6
6
|
//#endregion
|
|
7
7
|
export { _default as default };
|
package/dist/rollup.js
CHANGED
package/dist/rsbuild.cjs
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
Object.defineProperties(exports, {
|
|
2
|
-
|
|
3
|
-
|
|
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;
|
package/dist/rsbuild.d.cts
CHANGED
package/dist/rsbuild.d.ts
CHANGED
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
|
-
|
|
3
|
-
|
|
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 =
|
|
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
package/dist/rspack.js
CHANGED
package/dist/unplugin.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
Object.defineProperties(exports, {
|
|
2
|
-
|
|
3
|
-
|
|
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;
|
package/dist/unplugin.d.cts
CHANGED
|
@@ -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:
|
|
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.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { t as Options } from "./options-
|
|
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:
|
|
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
|
-
|
|
3
|
-
|
|
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 =
|
|
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
|
|
2
|
+
import * as vite from "vite";
|
|
3
3
|
|
|
4
4
|
//#region src/vite.d.ts
|
|
5
|
-
declare const _default: (options?: Options | undefined) =>
|
|
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-
|
|
2
|
-
import * as
|
|
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) =>
|
|
5
|
+
declare const _default: (options?: Options | undefined) => vite.Plugin<any>[];
|
|
6
6
|
//#endregion
|
|
7
7
|
export { _default as default };
|
package/dist/vite.js
CHANGED
package/dist/volar.cjs
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
Object.defineProperties(exports, {
|
|
2
|
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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=
|
|
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
|
-
|
|
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
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
|
-
|
|
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
|
-
|
|
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=
|
|
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
|
-
|
|
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
|
-
|
|
3
|
-
|
|
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 =
|
|
6
|
+
var webpack_default = require_unplugin.default.webpack;
|
|
7
|
+
|
|
7
8
|
//#endregion
|
|
8
|
-
exports.default = webpack_default;
|
|
9
|
+
exports.default = webpack_default;
|
package/dist/webpack.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Options } from "./options-BGVfa0WB.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as unplugin from "unplugin";
|
|
3
3
|
|
|
4
4
|
//#region src/webpack.d.ts
|
|
5
|
-
declare const _default: (options?: Options | undefined) =>
|
|
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-
|
|
2
|
-
import * as
|
|
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) =>
|
|
5
|
+
declare const _default: (options?: Options | undefined) => unplugin.WebpackPluginInstance;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { _default as default };
|
package/dist/webpack.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-jsx-vapor",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.2.
|
|
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.
|
|
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.
|
|
180
|
-
"@vue-jsx-vapor/
|
|
181
|
-
"@vue-jsx-vapor/
|
|
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.
|
|
187
|
+
"vue": "3.6.0-beta.12"
|
|
188
188
|
},
|
|
189
189
|
"scripts": {
|
|
190
190
|
"build": "tsdown",
|
package/dist/index-CD9-wM0b.d.ts
DELETED
|
@@ -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 };
|
|
File without changes
|