vue-jsx-vapor 2.3.0 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.cjs +2 -5
- package/dist/api.d.cts +6 -7
- package/dist/api.d.ts +6 -7
- package/dist/api.js +3 -6
- package/dist/astro.cjs +14 -18
- package/dist/astro.d.cts +4 -5
- package/dist/astro.d.ts +4 -5
- package/dist/astro.js +13 -17
- package/dist/chunk-BCwAaXi7.cjs +31 -0
- package/dist/core-B29W1zp3.cjs +32 -0
- package/dist/core-BDE4GLH8.js +25 -0
- package/dist/esbuild.cjs +12 -14
- package/dist/esbuild.d.cts +6 -7
- package/dist/esbuild.d.ts +6 -7
- package/dist/esbuild.js +8 -10
- package/dist/index.cjs +66 -78
- package/dist/index.d.cts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +59 -80
- package/dist/jsx-runtime.cjs +14 -13
- package/dist/jsx-runtime.d.cts +24 -23
- package/dist/jsx-runtime.d.ts +24 -23
- package/dist/jsx-runtime.js +9 -13
- package/dist/nuxt.cjs +23 -26
- package/dist/nuxt.d.cts +6 -7
- package/dist/nuxt.d.ts +6 -7
- package/dist/nuxt.js +19 -23
- package/dist/options-HYvLzmlg.js +0 -0
- package/dist/options.cjs +1 -1
- package/dist/options.d-BAyccQwr.d.ts +20 -0
- package/dist/options.d-CA70vgwp.d.cts +20 -0
- package/dist/options.d.cts +2 -17
- package/dist/options.d.ts +2 -17
- package/dist/options.js +1 -1
- package/dist/raw-C8eD8f6a.js +214 -0
- package/dist/raw-Dr3UcxgN.cjs +221 -0
- package/dist/raw.cjs +4 -8
- package/dist/raw.d.cts +5 -6
- package/dist/raw.d.ts +5 -6
- package/dist/raw.js +4 -7
- package/dist/rolldown.cjs +14 -15
- package/dist/rolldown.d.cts +6 -7
- package/dist/rolldown.d.ts +6 -7
- package/dist/rolldown.js +9 -11
- package/dist/rollup.cjs +12 -14
- package/dist/rollup.d.cts +6 -7
- package/dist/rollup.d.ts +6 -7
- package/dist/rollup.js +8 -10
- package/dist/rspack.cjs +12 -14
- package/dist/rspack.d.cts +4 -5
- package/dist/rspack.d.ts +4 -5
- package/dist/rspack.js +8 -10
- package/dist/unplugin-BMMTjSOs.js +32 -0
- package/dist/unplugin-ChZxAtQ0.cjs +51 -0
- package/dist/unplugin.cjs +9 -13
- package/dist/unplugin.d.cts +6 -8
- package/dist/unplugin.d.ts +6 -8
- package/dist/unplugin.js +6 -13
- package/dist/vite-BSUI3W42.js +7 -0
- package/dist/vite-D_zoULH4.cjs +13 -0
- package/dist/vite.cjs +8 -12
- package/dist/vite.d.cts +6 -7
- package/dist/vite.d.ts +6 -7
- package/dist/vite.js +7 -10
- package/dist/volar.cjs +18 -18
- package/dist/volar.d.cts +5 -6
- package/dist/volar.d.ts +5 -6
- package/dist/volar.js +12 -13
- package/dist/webpack-BXmoWpIv.cjs +13 -0
- package/dist/webpack-CeYJ9dJv.js +7 -0
- package/dist/webpack.cjs +8 -12
- package/dist/webpack.d.cts +6 -7
- package/dist/webpack.d.ts +6 -7
- package/dist/webpack.js +7 -10
- package/package.json +9 -9
- package/dist/chunk-4HP6QVER.js +0 -10
- package/dist/chunk-F7CI4ATH.cjs +0 -43
- package/dist/chunk-G2KD2VHX.js +0 -43
- package/dist/chunk-GODVM7NB.cjs +0 -1
- package/dist/chunk-GY6DSRCV.cjs +0 -22
- package/dist/chunk-HNBQ42EP.js +0 -10
- package/dist/chunk-M4VKLZSB.cjs +0 -10
- package/dist/chunk-QBIU4H54.cjs +0 -10
- package/dist/chunk-SAJ6WS2A.js +0 -22
- package/dist/chunk-T3F6TYMY.js +0 -265
- package/dist/chunk-VSS2IZIS.cjs +0 -265
- /package/dist/{chunk-JNAGPWSX.js → options-CulFO0WS.cjs} +0 -0
package/dist/rollup.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import "./
|
|
5
|
-
import "./chunk-T3F6TYMY.js";
|
|
6
|
-
import "./chunk-SAJ6WS2A.js";
|
|
1
|
+
import "./core-BDE4GLH8.js";
|
|
2
|
+
import "./raw-C8eD8f6a.js";
|
|
3
|
+
import "./options-HYvLzmlg.js";
|
|
4
|
+
import { unplugin_default } from "./unplugin-BMMTjSOs.js";
|
|
7
5
|
|
|
8
|
-
|
|
6
|
+
//#region src/rollup.ts
|
|
9
7
|
var rollup_default = unplugin_default.rollup;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
8
|
+
|
|
9
|
+
//#endregion
|
|
10
|
+
export { rollup_default as default };
|
package/dist/rspack.cjs
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
require('./
|
|
5
|
-
require('./
|
|
6
|
-
require('./
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var rspack_default =
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
exports.default = rspack_default
|
|
13
|
-
|
|
14
|
-
module.exports = exports.default;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
|
+
require('./core-B29W1zp3.cjs');
|
|
4
|
+
require('./raw-Dr3UcxgN.cjs');
|
|
5
|
+
require('./options-CulFO0WS.cjs');
|
|
6
|
+
const require_unplugin = require('./unplugin-ChZxAtQ0.cjs');
|
|
7
|
+
|
|
8
|
+
//#region src/rspack.ts
|
|
9
|
+
var rspack_default = require_unplugin.unplugin_default.rspack;
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
exports.default = rspack_default
|
package/dist/rspack.d.cts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { Options } from
|
|
2
|
-
import '@vue-jsx-vapor/compiler';
|
|
3
|
-
import '@vue-jsx-vapor/macros';
|
|
4
|
-
import 'unplugin-utils';
|
|
1
|
+
import { Options } from "./options.d-CA70vgwp.cjs";
|
|
5
2
|
|
|
3
|
+
//#region src/rspack.d.ts
|
|
6
4
|
declare const _default: (options?: Options | undefined) => RspackPluginInstance;
|
|
7
5
|
|
|
8
|
-
|
|
6
|
+
//#endregion
|
|
7
|
+
export { _default as default };
|
package/dist/rspack.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { Options } from
|
|
2
|
-
import '@vue-jsx-vapor/compiler';
|
|
3
|
-
import '@vue-jsx-vapor/macros';
|
|
4
|
-
import 'unplugin-utils';
|
|
1
|
+
import { Options } from "./options.d-BAyccQwr.js";
|
|
5
2
|
|
|
3
|
+
//#region src/rspack.d.ts
|
|
6
4
|
declare const _default: (options?: Options | undefined) => RspackPluginInstance;
|
|
7
5
|
|
|
8
|
-
|
|
6
|
+
//#endregion
|
|
7
|
+
export { _default as default };
|
package/dist/rspack.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import "./
|
|
5
|
-
import "./chunk-T3F6TYMY.js";
|
|
6
|
-
import "./chunk-SAJ6WS2A.js";
|
|
1
|
+
import "./core-BDE4GLH8.js";
|
|
2
|
+
import "./raw-C8eD8f6a.js";
|
|
3
|
+
import "./options-HYvLzmlg.js";
|
|
4
|
+
import { unplugin_default } from "./unplugin-BMMTjSOs.js";
|
|
7
5
|
|
|
8
|
-
|
|
6
|
+
//#region src/rspack.ts
|
|
9
7
|
var rspack_default = unplugin_default.rspack;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
8
|
+
|
|
9
|
+
//#endregion
|
|
10
|
+
export { rspack_default as default };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { raw_default } from "./raw-C8eD8f6a.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 };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const require_chunk = require('./chunk-BCwAaXi7.cjs');
|
|
3
|
+
const require_raw = require('./raw-Dr3UcxgN.cjs');
|
|
4
|
+
const unplugin = require_chunk.__toESM(require("unplugin"));
|
|
5
|
+
const vite = require_chunk.__toESM(require("vite"));
|
|
6
|
+
|
|
7
|
+
//#region src/unplugin.ts
|
|
8
|
+
const unpluginFactory = (options = {}) => {
|
|
9
|
+
return [...require_raw.raw_default(options), options.interop ? { name: "interop" } : {
|
|
10
|
+
name: "unplugin-esbuild",
|
|
11
|
+
transformInclude: (0, vite.createFilter)(options?.include || /\.[jt]sx$/, options?.exclude),
|
|
12
|
+
transform(code, id) {
|
|
13
|
+
return (0, vite.transformWithEsbuild)(code, id, {
|
|
14
|
+
target: "esnext",
|
|
15
|
+
charset: "utf8",
|
|
16
|
+
minify: false,
|
|
17
|
+
minifyIdentifiers: false,
|
|
18
|
+
minifySyntax: false,
|
|
19
|
+
minifyWhitespace: false,
|
|
20
|
+
treeShaking: false,
|
|
21
|
+
keepNames: false,
|
|
22
|
+
supported: {
|
|
23
|
+
"dynamic-import": true,
|
|
24
|
+
"import-meta": true
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
}];
|
|
29
|
+
};
|
|
30
|
+
const unplugin$1 = /* @__PURE__ */ (0, unplugin.createUnplugin)(unpluginFactory);
|
|
31
|
+
var unplugin_default = unplugin$1;
|
|
32
|
+
|
|
33
|
+
//#endregion
|
|
34
|
+
Object.defineProperty(exports, 'unplugin', {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
get: function () {
|
|
37
|
+
return unplugin$1;
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(exports, 'unpluginFactory', {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () {
|
|
43
|
+
return unpluginFactory;
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
Object.defineProperty(exports, 'unplugin_default', {
|
|
47
|
+
enumerable: true,
|
|
48
|
+
get: function () {
|
|
49
|
+
return unplugin_default;
|
|
50
|
+
}
|
|
51
|
+
});
|
package/dist/unplugin.cjs
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
exports.default = _chunkF7CI4ATHcjs.unplugin_default; exports.unplugin = _chunkF7CI4ATHcjs.unplugin; exports.unpluginFactory = _chunkF7CI4ATHcjs.unpluginFactory;
|
|
1
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
+
require('./core-B29W1zp3.cjs');
|
|
3
|
+
require('./raw-Dr3UcxgN.cjs');
|
|
4
|
+
require('./options-CulFO0WS.cjs');
|
|
5
|
+
const require_unplugin = require('./unplugin-ChZxAtQ0.cjs');
|
|
6
|
+
|
|
7
|
+
exports.default = require_unplugin.unplugin_default
|
|
8
|
+
exports.unplugin = require_unplugin.unplugin
|
|
9
|
+
exports.unpluginFactory = require_unplugin.unpluginFactory
|
package/dist/unplugin.d.cts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { UnpluginFactory } from
|
|
3
|
-
import { Options } from './options.cjs';
|
|
4
|
-
import '@vue-jsx-vapor/compiler';
|
|
5
|
-
import '@vue-jsx-vapor/macros';
|
|
6
|
-
import 'unplugin-utils';
|
|
1
|
+
import { Options } from "./options.d-CA70vgwp.cjs";
|
|
2
|
+
import { UnpluginFactory, UnpluginInstance } from "unplugin";
|
|
7
3
|
|
|
4
|
+
//#region src/unplugin.d.ts
|
|
8
5
|
declare const unpluginFactory: UnpluginFactory<Options | undefined, true>;
|
|
9
|
-
declare const unplugin:
|
|
6
|
+
declare const unplugin: UnpluginInstance<Options | undefined, true>;
|
|
10
7
|
|
|
11
|
-
|
|
8
|
+
//#endregion
|
|
9
|
+
export { Options, unplugin as default, unplugin, unpluginFactory };
|
package/dist/unplugin.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { UnpluginFactory } from
|
|
3
|
-
import { Options } from './options.js';
|
|
4
|
-
import '@vue-jsx-vapor/compiler';
|
|
5
|
-
import '@vue-jsx-vapor/macros';
|
|
6
|
-
import 'unplugin-utils';
|
|
1
|
+
import { Options } from "./options.d-BAyccQwr.js";
|
|
2
|
+
import { UnpluginFactory, UnpluginInstance } from "unplugin";
|
|
7
3
|
|
|
4
|
+
//#region src/unplugin.d.ts
|
|
8
5
|
declare const unpluginFactory: UnpluginFactory<Options | undefined, true>;
|
|
9
|
-
declare const unplugin:
|
|
6
|
+
declare const unplugin: UnpluginInstance<Options | undefined, true>;
|
|
10
7
|
|
|
11
|
-
|
|
8
|
+
//#endregion
|
|
9
|
+
export { Options, unplugin as default, unplugin, unpluginFactory };
|
package/dist/unplugin.js
CHANGED
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import "./chunk-T3F6TYMY.js";
|
|
8
|
-
import "./chunk-SAJ6WS2A.js";
|
|
9
|
-
export {
|
|
10
|
-
unplugin_default as default,
|
|
11
|
-
unplugin,
|
|
12
|
-
unpluginFactory
|
|
13
|
-
};
|
|
1
|
+
import "./core-BDE4GLH8.js";
|
|
2
|
+
import "./raw-C8eD8f6a.js";
|
|
3
|
+
import "./options-HYvLzmlg.js";
|
|
4
|
+
import { unplugin, unpluginFactory, unplugin_default } from "./unplugin-BMMTjSOs.js";
|
|
5
|
+
|
|
6
|
+
export { unplugin_default as default, unplugin, unpluginFactory };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const require_unplugin = require('./unplugin-ChZxAtQ0.cjs');
|
|
3
|
+
|
|
4
|
+
//#region src/vite.ts
|
|
5
|
+
var vite_default = require_unplugin.unplugin_default.vite;
|
|
6
|
+
|
|
7
|
+
//#endregion
|
|
8
|
+
Object.defineProperty(exports, 'vite_default', {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () {
|
|
11
|
+
return vite_default;
|
|
12
|
+
}
|
|
13
|
+
});
|
package/dist/vite.cjs
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
require('./
|
|
5
|
-
require('./
|
|
6
|
-
require('./
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
exports.default = _chunkM4VKLZSBcjs.vite_default;
|
|
11
|
-
|
|
12
|
-
module.exports = exports.default;
|
|
1
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
+
require('./core-B29W1zp3.cjs');
|
|
3
|
+
require('./raw-Dr3UcxgN.cjs');
|
|
4
|
+
require('./options-CulFO0WS.cjs');
|
|
5
|
+
require('./unplugin-ChZxAtQ0.cjs');
|
|
6
|
+
const require_vite = require('./vite-D_zoULH4.cjs');
|
|
7
|
+
|
|
8
|
+
exports.default = require_vite.vite_default
|
package/dist/vite.d.cts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import '@vue-jsx-vapor/compiler';
|
|
4
|
-
import '@vue-jsx-vapor/macros';
|
|
5
|
-
import 'unplugin-utils';
|
|
1
|
+
import { Options } from "./options.d-CA70vgwp.cjs";
|
|
2
|
+
import { Plugin } from "vite";
|
|
6
3
|
|
|
7
|
-
|
|
4
|
+
//#region src/vite.d.ts
|
|
5
|
+
declare const _default: (options?: Options | undefined) => Plugin<any>[];
|
|
8
6
|
|
|
9
|
-
|
|
7
|
+
//#endregion
|
|
8
|
+
export { _default as default };
|
package/dist/vite.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import '@vue-jsx-vapor/compiler';
|
|
4
|
-
import '@vue-jsx-vapor/macros';
|
|
5
|
-
import 'unplugin-utils';
|
|
1
|
+
import { Options } from "./options.d-BAyccQwr.js";
|
|
2
|
+
import { Plugin } from "vite";
|
|
6
3
|
|
|
7
|
-
|
|
4
|
+
//#region src/vite.d.ts
|
|
5
|
+
declare const _default: (options?: Options | undefined) => Plugin<any>[];
|
|
8
6
|
|
|
9
|
-
|
|
7
|
+
//#endregion
|
|
8
|
+
export { _default as default };
|
package/dist/vite.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import "./
|
|
5
|
-
import "./
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export {
|
|
9
|
-
vite_default as default
|
|
10
|
-
};
|
|
1
|
+
import "./core-BDE4GLH8.js";
|
|
2
|
+
import "./raw-C8eD8f6a.js";
|
|
3
|
+
import "./options-HYvLzmlg.js";
|
|
4
|
+
import "./unplugin-BMMTjSOs.js";
|
|
5
|
+
import { vite_default } from "./vite-BSUI3W42.js";
|
|
6
|
+
|
|
7
|
+
export { vite_default as default };
|
package/dist/volar.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
return [
|
|
9
|
-
_jsxdirective2.default.call(void 0, )(ctx),
|
|
10
|
-
_optionalChain([options, 'optionalAccess', _ => _.ref]) === false ? [] : _jsxref2.default.call(void 0, _optionalChain([options, 'optionalAccess', _2 => _2.ref]) === true ? void 0 : _optionalChain([options, 'optionalAccess', _3 => _3.ref]))(ctx),
|
|
11
|
-
_optionalChain([options, 'optionalAccess', _4 => _4.macros]) === false ? [] : _optionalChain([options, 'optionalAccess', _5 => _5.macros]) ? _volar2.default.call(void 0, options.macros ? void 0 : options.macros)(ctx) : []
|
|
12
|
-
].flat();
|
|
13
|
-
}
|
|
14
|
-
);
|
|
15
|
-
var volar_default = plugin;
|
|
16
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
|
+
const require_chunk = require('./chunk-BCwAaXi7.cjs');
|
|
4
|
+
const __vue_jsx_vapor_macros_volar = require_chunk.__toESM(require("@vue-jsx-vapor/macros/volar"));
|
|
5
|
+
const __vue_macros_volar_jsx_directive = require_chunk.__toESM(require("@vue-macros/volar/jsx-directive"));
|
|
6
|
+
const __vue_macros_volar_jsx_ref = require_chunk.__toESM(require("@vue-macros/volar/jsx-ref"));
|
|
7
|
+
const ts_macro = require_chunk.__toESM(require("ts-macro"));
|
|
17
8
|
|
|
18
|
-
|
|
9
|
+
//#region src/volar.ts
|
|
10
|
+
const plugin = (0, ts_macro.createPlugin)((ctx, options) => {
|
|
11
|
+
return [
|
|
12
|
+
(0, __vue_macros_volar_jsx_directive.default)()(ctx),
|
|
13
|
+
options?.ref === false ? [] : (0, __vue_macros_volar_jsx_ref.default)(options?.ref === true ? void 0 : options?.ref)(ctx),
|
|
14
|
+
options?.macros === false ? [] : options?.macros ? (0, __vue_jsx_vapor_macros_volar.default)(options.macros ? void 0 : options.macros)(ctx) : []
|
|
15
|
+
].flat();
|
|
16
|
+
});
|
|
17
|
+
var volar_default = plugin;
|
|
19
18
|
|
|
20
|
-
|
|
19
|
+
//#endregion
|
|
20
|
+
exports.default = volar_default
|
package/dist/volar.d.cts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import '@vue-jsx-vapor/compiler';
|
|
4
|
-
import '@vue-jsx-vapor/macros';
|
|
5
|
-
import 'unplugin-utils';
|
|
1
|
+
import { Options } from "./options.d-CA70vgwp.cjs";
|
|
2
|
+
import { PluginReturn } from "ts-macro";
|
|
6
3
|
|
|
4
|
+
//#region src/volar.d.ts
|
|
7
5
|
declare const plugin: PluginReturn<Options | undefined, true>;
|
|
8
6
|
|
|
9
|
-
|
|
7
|
+
//#endregion
|
|
8
|
+
export { plugin as default };
|
package/dist/volar.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import '@vue-jsx-vapor/compiler';
|
|
4
|
-
import '@vue-jsx-vapor/macros';
|
|
5
|
-
import 'unplugin-utils';
|
|
1
|
+
import { Options } from "./options.d-BAyccQwr.js";
|
|
2
|
+
import { PluginReturn } from "ts-macro";
|
|
6
3
|
|
|
4
|
+
//#region src/volar.d.ts
|
|
7
5
|
declare const plugin: PluginReturn<Options | undefined, true>;
|
|
8
6
|
|
|
9
|
-
|
|
7
|
+
//#endregion
|
|
8
|
+
export { plugin as default };
|
package/dist/volar.js
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
// src/volar.ts
|
|
2
1
|
import jsxMacros from "@vue-jsx-vapor/macros/volar";
|
|
3
2
|
import jsxDirective from "@vue-macros/volar/jsx-directive";
|
|
4
3
|
import jsxRef from "@vue-macros/volar/jsx-ref";
|
|
5
4
|
import { createPlugin } from "ts-macro";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
);
|
|
5
|
+
|
|
6
|
+
//#region src/volar.ts
|
|
7
|
+
const plugin = createPlugin((ctx, options) => {
|
|
8
|
+
return [
|
|
9
|
+
jsxDirective()(ctx),
|
|
10
|
+
options?.ref === false ? [] : jsxRef(options?.ref === true ? void 0 : options?.ref)(ctx),
|
|
11
|
+
options?.macros === false ? [] : options?.macros ? jsxMacros(options.macros ? void 0 : options.macros)(ctx) : []
|
|
12
|
+
].flat();
|
|
13
|
+
});
|
|
15
14
|
var volar_default = plugin;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
};
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
export { volar_default as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const require_unplugin = require('./unplugin-ChZxAtQ0.cjs');
|
|
3
|
+
|
|
4
|
+
//#region src/webpack.ts
|
|
5
|
+
var webpack_default = require_unplugin.unplugin_default.webpack;
|
|
6
|
+
|
|
7
|
+
//#endregion
|
|
8
|
+
Object.defineProperty(exports, 'webpack_default', {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () {
|
|
11
|
+
return webpack_default;
|
|
12
|
+
}
|
|
13
|
+
});
|
package/dist/webpack.cjs
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
require('./
|
|
5
|
-
require('./
|
|
6
|
-
require('./
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
exports.default = _chunkQBIU4H54cjs.webpack_default;
|
|
11
|
-
|
|
12
|
-
module.exports = exports.default;
|
|
1
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
+
require('./core-B29W1zp3.cjs');
|
|
3
|
+
require('./raw-Dr3UcxgN.cjs');
|
|
4
|
+
require('./options-CulFO0WS.cjs');
|
|
5
|
+
require('./unplugin-ChZxAtQ0.cjs');
|
|
6
|
+
const require_webpack = require('./webpack-BXmoWpIv.cjs');
|
|
7
|
+
|
|
8
|
+
exports.default = require_webpack.webpack_default
|
package/dist/webpack.d.cts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import '@vue-jsx-vapor/compiler';
|
|
4
|
-
import '@vue-jsx-vapor/macros';
|
|
5
|
-
import 'unplugin-utils';
|
|
1
|
+
import { Options } from "./options.d-CA70vgwp.cjs";
|
|
2
|
+
import { WebpackPluginInstance } from "webpack";
|
|
6
3
|
|
|
7
|
-
|
|
4
|
+
//#region src/webpack.d.ts
|
|
5
|
+
declare const _default: (options?: Options | undefined) => WebpackPluginInstance;
|
|
8
6
|
|
|
9
|
-
|
|
7
|
+
//#endregion
|
|
8
|
+
export { _default as default };
|
package/dist/webpack.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import '@vue-jsx-vapor/compiler';
|
|
4
|
-
import '@vue-jsx-vapor/macros';
|
|
5
|
-
import 'unplugin-utils';
|
|
1
|
+
import { Options } from "./options.d-BAyccQwr.js";
|
|
2
|
+
import { WebpackPluginInstance } from "webpack";
|
|
6
3
|
|
|
7
|
-
|
|
4
|
+
//#region src/webpack.d.ts
|
|
5
|
+
declare const _default: (options?: Options | undefined) => WebpackPluginInstance;
|
|
8
6
|
|
|
9
|
-
|
|
7
|
+
//#endregion
|
|
8
|
+
export { _default as default };
|
package/dist/webpack.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import "./
|
|
5
|
-
import "./
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export {
|
|
9
|
-
webpack_default as default
|
|
10
|
-
};
|
|
1
|
+
import "./core-BDE4GLH8.js";
|
|
2
|
+
import "./raw-C8eD8f6a.js";
|
|
3
|
+
import "./options-HYvLzmlg.js";
|
|
4
|
+
import "./unplugin-BMMTjSOs.js";
|
|
5
|
+
import { webpack_default } from "./webpack-CeYJ9dJv.js";
|
|
6
|
+
|
|
7
|
+
export { webpack_default as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-jsx-vapor",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"description": "Convert Vue JSX to Vapor",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -209,28 +209,28 @@
|
|
|
209
209
|
"@babel/core": "^7.26.8",
|
|
210
210
|
"@babel/plugin-transform-typescript": "^7.26.8",
|
|
211
211
|
"@types/hash-sum": "^1.0.2",
|
|
212
|
-
"@vue-macros/jsx-directive": "3.0.0-beta.
|
|
213
|
-
"@vue-macros/volar": "^3.0.0-beta.
|
|
212
|
+
"@vue-macros/jsx-directive": "^3.0.0-beta.10",
|
|
213
|
+
"@vue-macros/volar": "^3.0.0-beta.10",
|
|
214
214
|
"@vue/babel-plugin-jsx": "^1.4.0",
|
|
215
215
|
"hash-sum": "^2.0.0",
|
|
216
216
|
"pathe": "^2.0.3",
|
|
217
217
|
"ts-macro": "^0.1.25",
|
|
218
218
|
"unplugin": "^2.2.2",
|
|
219
219
|
"unplugin-utils": "^0.2.4",
|
|
220
|
-
"@vue-jsx-vapor/babel": "2.3.
|
|
221
|
-
"@vue-jsx-vapor/compiler": "2.3.
|
|
222
|
-
"@vue-jsx-vapor/macros": "2.3.
|
|
220
|
+
"@vue-jsx-vapor/babel": "2.3.2",
|
|
221
|
+
"@vue-jsx-vapor/compiler": "2.3.2",
|
|
222
|
+
"@vue-jsx-vapor/macros": "2.3.2"
|
|
223
223
|
},
|
|
224
224
|
"devDependencies": {
|
|
225
225
|
"@nuxt/kit": "^3.16.0",
|
|
226
226
|
"@nuxt/schema": "^3.16.0",
|
|
227
227
|
"@types/babel__core": "^7.20.5",
|
|
228
228
|
"csstype": "^3.1.3",
|
|
229
|
-
"vue": "https://pkg.pr.new/vue@
|
|
229
|
+
"vue": "https://pkg.pr.new/vue@42f38ca"
|
|
230
230
|
},
|
|
231
231
|
"scripts": {
|
|
232
|
-
"build": "
|
|
233
|
-
"dev": "DEV=true
|
|
232
|
+
"build": "tsdown",
|
|
233
|
+
"dev": "DEV=true tsdown",
|
|
234
234
|
"lint": "eslint .",
|
|
235
235
|
"play": "npm -C playground run dev",
|
|
236
236
|
"release": "bumpp && npm publish",
|