vue-jsx-vapor 2.3.6 → 2.4.0
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 -2
- package/dist/api.d.cts +3 -3
- package/dist/api.d.ts +3 -3
- package/dist/astro.cjs +4 -5
- package/dist/astro.d.cts +6 -8
- package/dist/astro.d.ts +6 -8
- package/dist/astro.js +2 -2
- package/dist/{chunk-BCwAaXi7.cjs → chunk-CUT6urMc.cjs} +0 -1
- package/dist/{core-B29W1zp3.cjs → core-BEqRwfoK.cjs} +1 -2
- package/dist/esbuild.cjs +4 -5
- package/dist/esbuild.d.cts +3 -3
- package/dist/esbuild.d.ts +3 -3
- package/dist/esbuild.js +2 -2
- package/dist/index.cjs +46 -5
- package/dist/index.d.cts +34 -2
- package/dist/index.d.ts +34 -2
- package/dist/index.js +43 -3
- package/dist/jsx-runtime.cjs +5 -6
- package/dist/jsx-runtime.d.cts +1171 -1178
- package/dist/jsx-runtime.d.ts +1171 -1178
- package/dist/nuxt.cjs +7 -8
- package/dist/nuxt.d.cts +4 -5
- package/dist/nuxt.d.ts +4 -5
- package/dist/nuxt.js +4 -4
- package/dist/options-BRfDD5qB.d.cts +18 -0
- package/dist/options-CeDGvYqS.d.ts +18 -0
- package/dist/options.d.cts +1 -2
- package/dist/options.d.ts +1 -2
- package/dist/{raw-CPEhZ9Wr.cjs → raw-BY1njZIx.cjs} +3 -4
- package/dist/{raw-D5n6wETp.js → raw-DecHkpC5.js} +1 -1
- package/dist/raw.cjs +3 -3
- package/dist/raw.d.cts +1 -1
- package/dist/raw.d.ts +1 -1
- package/dist/raw.js +1 -1
- package/dist/rolldown.cjs +5 -6
- package/dist/rolldown.d.cts +3 -3
- package/dist/rolldown.d.ts +3 -3
- package/dist/rolldown.js +2 -2
- package/dist/rollup.cjs +4 -5
- package/dist/rollup.d.cts +3 -3
- package/dist/rollup.d.ts +3 -3
- package/dist/rollup.js +2 -2
- package/dist/rspack.cjs +4 -5
- package/dist/rspack.d.cts +1 -1
- package/dist/rspack.d.ts +1 -1
- package/dist/rspack.js +2 -2
- package/dist/{unplugin-O-j6KrDW.js → unplugin-DeYNxSzL.js} +1 -1
- package/dist/{unplugin-BE5nHMyo.cjs → unplugin-JV7CydWf.cjs} +2 -3
- package/dist/unplugin.cjs +6 -6
- package/dist/unplugin.d.cts +4 -3
- package/dist/unplugin.d.ts +4 -3
- package/dist/unplugin.js +2 -2
- package/dist/vite-C2WptbyG.js +7 -0
- package/dist/{vite-CnMq6-74.cjs → vite-CVR2C-Wy.cjs} +1 -2
- package/dist/vite.cjs +5 -5
- package/dist/vite.d.cts +3 -3
- package/dist/vite.d.ts +3 -3
- package/dist/vite.js +3 -3
- package/dist/volar.cjs +3 -4
- package/dist/volar.d.cts +1 -1
- package/dist/volar.d.ts +1 -1
- package/dist/volar.js +1 -1
- package/dist/{webpack-DjBty3ZC.cjs → webpack-DWlp7dxs.cjs} +1 -2
- package/dist/{webpack-BnYgbUqF.js → webpack-mKQ7x4tg.js} +1 -1
- package/dist/webpack.cjs +5 -5
- package/dist/webpack.d.cts +3 -3
- package/dist/webpack.d.ts +3 -3
- package/dist/webpack.js +3 -3
- package/package.json +35 -91
- package/dist/options.d-BAyccQwr.d.ts +0 -20
- package/dist/options.d-CA70vgwp.d.cts +0 -20
- package/dist/vite-B8-AEirI.js +0 -7
package/dist/nuxt.cjs
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
|
-
const require_chunk = require('./chunk-
|
|
4
|
-
require('./core-
|
|
5
|
-
require('./raw-
|
|
2
|
+
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
3
|
+
require('./core-BEqRwfoK.cjs');
|
|
4
|
+
require('./raw-BY1njZIx.cjs');
|
|
6
5
|
require('./options-CulFO0WS.cjs');
|
|
7
|
-
require('./unplugin-
|
|
8
|
-
const require_vite = require('./vite-
|
|
9
|
-
const require_webpack = require('./webpack-
|
|
6
|
+
require('./unplugin-JV7CydWf.cjs');
|
|
7
|
+
const require_vite = require('./vite-CVR2C-Wy.cjs');
|
|
8
|
+
const require_webpack = require('./webpack-DWlp7dxs.cjs');
|
|
10
9
|
const __nuxt_kit = require_chunk.__toESM(require("@nuxt/kit"));
|
|
11
10
|
require("@nuxt/schema");
|
|
12
11
|
|
|
@@ -23,4 +22,4 @@ var nuxt_default = (0, __nuxt_kit.defineNuxtModule)({
|
|
|
23
22
|
});
|
|
24
23
|
|
|
25
24
|
//#endregion
|
|
26
|
-
exports.default = nuxt_default
|
|
25
|
+
exports.default = nuxt_default;
|
package/dist/nuxt.d.cts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { Options } from "./options
|
|
2
|
-
import
|
|
1
|
+
import { Options } from "./options-BRfDD5qB.cjs";
|
|
2
|
+
import * as _nuxt_schema6 from "@nuxt/schema";
|
|
3
3
|
|
|
4
4
|
//#region src/nuxt.d.ts
|
|
5
|
-
interface ModuleOptions extends Options {
|
|
6
|
-
|
|
7
|
-
declare const _default: NuxtModule<ModuleOptions, ModuleOptions, false>;
|
|
5
|
+
interface ModuleOptions extends Options {}
|
|
6
|
+
declare const _default: _nuxt_schema6.NuxtModule<ModuleOptions, ModuleOptions, false>;
|
|
8
7
|
|
|
9
8
|
//#endregion
|
|
10
9
|
export { ModuleOptions, _default as default };
|
package/dist/nuxt.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { Options } from "./options
|
|
2
|
-
import
|
|
1
|
+
import { Options } from "./options-CeDGvYqS.js";
|
|
2
|
+
import * as _nuxt_schema16 from "@nuxt/schema";
|
|
3
3
|
|
|
4
4
|
//#region src/nuxt.d.ts
|
|
5
|
-
interface ModuleOptions extends Options {
|
|
6
|
-
|
|
7
|
-
declare const _default: NuxtModule<ModuleOptions, ModuleOptions, false>;
|
|
5
|
+
interface ModuleOptions extends Options {}
|
|
6
|
+
declare const _default: _nuxt_schema16.NuxtModule<ModuleOptions, ModuleOptions, false>;
|
|
8
7
|
|
|
9
8
|
//#endregion
|
|
10
9
|
export { ModuleOptions, _default as default };
|
package/dist/nuxt.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./core-BDE4GLH8.js";
|
|
2
|
-
import "./raw-
|
|
2
|
+
import "./raw-DecHkpC5.js";
|
|
3
3
|
import "./options-HYvLzmlg.js";
|
|
4
|
-
import "./unplugin-
|
|
5
|
-
import { vite_default } from "./vite-
|
|
6
|
-
import { webpack_default } from "./webpack-
|
|
4
|
+
import "./unplugin-DeYNxSzL.js";
|
|
5
|
+
import { vite_default } from "./vite-C2WptbyG.js";
|
|
6
|
+
import { webpack_default } from "./webpack-mKQ7x4tg.js";
|
|
7
7
|
import { addVitePlugin, addWebpackPlugin, defineNuxtModule } from "@nuxt/kit";
|
|
8
8
|
import "@nuxt/schema";
|
|
9
9
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CompilerOptions } from "@vue-jsx-vapor/compiler";
|
|
2
|
+
import { Options } from "@vue-jsx-vapor/macros";
|
|
3
|
+
import { FilterPattern } from "unplugin-utils";
|
|
4
|
+
|
|
5
|
+
//#region src/options.d.ts
|
|
6
|
+
interface Options$1 {
|
|
7
|
+
include?: FilterPattern;
|
|
8
|
+
exclude?: FilterPattern;
|
|
9
|
+
interop?: boolean;
|
|
10
|
+
compile?: CompilerOptions;
|
|
11
|
+
/** @default true */
|
|
12
|
+
ref?: {
|
|
13
|
+
alias?: string[];
|
|
14
|
+
} | boolean;
|
|
15
|
+
/** @default false */
|
|
16
|
+
macros?: Options | boolean;
|
|
17
|
+
} //#endregion
|
|
18
|
+
export { Options$1 as Options };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FilterPattern } from "unplugin-utils";
|
|
2
|
+
import { CompilerOptions } from "@vue-jsx-vapor/compiler";
|
|
3
|
+
import { Options } from "@vue-jsx-vapor/macros";
|
|
4
|
+
|
|
5
|
+
//#region src/options.d.ts
|
|
6
|
+
interface Options$1 {
|
|
7
|
+
include?: FilterPattern;
|
|
8
|
+
exclude?: FilterPattern;
|
|
9
|
+
interop?: boolean;
|
|
10
|
+
compile?: CompilerOptions;
|
|
11
|
+
/** @default true */
|
|
12
|
+
ref?: {
|
|
13
|
+
alias?: string[];
|
|
14
|
+
} | boolean;
|
|
15
|
+
/** @default false */
|
|
16
|
+
macros?: Options | boolean;
|
|
17
|
+
} //#endregion
|
|
18
|
+
export { Options$1 as Options };
|
package/dist/options.d.cts
CHANGED
package/dist/options.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
3
|
-
const require_core = require('./core-B29W1zp3.cjs');
|
|
1
|
+
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
+
const require_core = require('./core-BEqRwfoK.cjs');
|
|
4
3
|
const __babel_core = require_chunk.__toESM(require("@babel/core"));
|
|
5
4
|
const __babel_plugin_transform_typescript = require_chunk.__toESM(require("@babel/plugin-transform-typescript"));
|
|
6
5
|
const __vue_jsx_vapor_macros_raw = require_chunk.__toESM(require("@vue-jsx-vapor/macros/raw"));
|
|
@@ -113,7 +112,7 @@ function isDefineComponentCall(node, names) {
|
|
|
113
112
|
|
|
114
113
|
//#endregion
|
|
115
114
|
//#region src/core/runtime.ts?raw
|
|
116
|
-
var runtime_default = "import {\n
|
|
115
|
+
var runtime_default = "import {\n EffectScope,\n insert,\n isFragment,\n isVaporComponent,\n pauseTracking,\n proxyRefs,\n remove,\n renderEffect,\n resetTracking,\n toRefs,\n useAttrs,\n VaporFragment\n} from \"vue\";\nimport * as Vue from \"vue\";\nexport { shallowRef as useRef } from \"vue\";\nexport function getCurrentInstance() {\n return Vue.currentInstance || Vue.getCurrentInstance();\n}\nexport function useProps() {\n const i = getCurrentInstance();\n return i.props;\n}\nexport function useFullProps() {\n return proxyRefs({\n ...toRefs(useProps()),\n ...toRefs(useAttrs())\n });\n}\nfunction createFragment(nodes, anchor = document.createTextNode(\"\")) {\n const frag = new VaporFragment(nodes);\n frag.anchor = anchor;\n return frag;\n}\nfunction normalizeNode(node, anchor) {\n if (node instanceof Node || isFragment(node)) {\n anchor && (anchor.textContent = \"\");\n return node;\n } else if (isVaporComponent(node)) {\n anchor && (anchor.textContent = \"\");\n return createFragment(node, anchor);\n } else if (Array.isArray(node)) {\n anchor && (anchor.textContent = \"\");\n return createFragment(\n node.map((i) => normalizeNode(i)),\n anchor\n );\n } else {\n const result = node == null || typeof node === \"boolean\" ? \"\" : String(node);\n if (anchor) {\n anchor.textContent = result;\n return anchor;\n } else {\n return document.createTextNode(result);\n }\n }\n}\nfunction resolveValue(current, value, anchor) {\n const node = normalizeNode(value, anchor);\n if (current) {\n if (isFragment(current)) {\n const { anchor: anchor2 } = current;\n if (anchor2 && anchor2.parentNode) {\n remove(current.nodes, anchor2.parentNode);\n insert(node, anchor2.parentNode, anchor2);\n anchor2.remove();\n }\n } else if (current instanceof Node) {\n if (isFragment(node) && current.parentNode) {\n insert(node, current.parentNode, current);\n current.remove();\n } else if (node instanceof Node) {\n if (current.nodeType === 3 && node.nodeType === 3) {\n current.textContent = node.textContent;\n return current;\n } else if (current.parentNode) {\n current.parentNode.replaceChild(node, current);\n }\n }\n }\n }\n return node;\n}\nfunction resolveValues(values = [], _anchor) {\n const nodes = [];\n const scopes = [];\n for (const [index, value] of values.entries()) {\n const anchor = index === values.length - 1 ? _anchor : void 0;\n if (typeof value === \"function\") {\n renderEffect(() => {\n pauseTracking();\n if (scopes[index]) scopes[index].stop();\n scopes[index] = new EffectScope();\n nodes[index] = scopes[index].run(\n () => resolveValue(nodes[index], value(), anchor)\n );\n resetTracking();\n });\n } else {\n nodes[index] = resolveValue(nodes[index], value, anchor);\n }\n }\n return nodes;\n}\nexport function setNodes(anchor, ...values) {\n const resolvedValues = resolveValues(values, anchor);\n anchor.parentNode && insert(resolvedValues, anchor.parentNode, anchor);\n}\nexport function createNodes(...values) {\n return resolveValues(values);\n}\n";
|
|
117
116
|
|
|
118
117
|
//#endregion
|
|
119
118
|
//#region src/core/vue-jsx.ts
|
|
@@ -111,7 +111,7 @@ function isDefineComponentCall(node, names) {
|
|
|
111
111
|
|
|
112
112
|
//#endregion
|
|
113
113
|
//#region src/core/runtime.ts?raw
|
|
114
|
-
var runtime_default = "import {\n
|
|
114
|
+
var runtime_default = "import {\n EffectScope,\n insert,\n isFragment,\n isVaporComponent,\n pauseTracking,\n proxyRefs,\n remove,\n renderEffect,\n resetTracking,\n toRefs,\n useAttrs,\n VaporFragment\n} from \"vue\";\nimport * as Vue from \"vue\";\nexport { shallowRef as useRef } from \"vue\";\nexport function getCurrentInstance() {\n return Vue.currentInstance || Vue.getCurrentInstance();\n}\nexport function useProps() {\n const i = getCurrentInstance();\n return i.props;\n}\nexport function useFullProps() {\n return proxyRefs({\n ...toRefs(useProps()),\n ...toRefs(useAttrs())\n });\n}\nfunction createFragment(nodes, anchor = document.createTextNode(\"\")) {\n const frag = new VaporFragment(nodes);\n frag.anchor = anchor;\n return frag;\n}\nfunction normalizeNode(node, anchor) {\n if (node instanceof Node || isFragment(node)) {\n anchor && (anchor.textContent = \"\");\n return node;\n } else if (isVaporComponent(node)) {\n anchor && (anchor.textContent = \"\");\n return createFragment(node, anchor);\n } else if (Array.isArray(node)) {\n anchor && (anchor.textContent = \"\");\n return createFragment(\n node.map((i) => normalizeNode(i)),\n anchor\n );\n } else {\n const result = node == null || typeof node === \"boolean\" ? \"\" : String(node);\n if (anchor) {\n anchor.textContent = result;\n return anchor;\n } else {\n return document.createTextNode(result);\n }\n }\n}\nfunction resolveValue(current, value, anchor) {\n const node = normalizeNode(value, anchor);\n if (current) {\n if (isFragment(current)) {\n const { anchor: anchor2 } = current;\n if (anchor2 && anchor2.parentNode) {\n remove(current.nodes, anchor2.parentNode);\n insert(node, anchor2.parentNode, anchor2);\n anchor2.remove();\n }\n } else if (current instanceof Node) {\n if (isFragment(node) && current.parentNode) {\n insert(node, current.parentNode, current);\n current.remove();\n } else if (node instanceof Node) {\n if (current.nodeType === 3 && node.nodeType === 3) {\n current.textContent = node.textContent;\n return current;\n } else if (current.parentNode) {\n current.parentNode.replaceChild(node, current);\n }\n }\n }\n }\n return node;\n}\nfunction resolveValues(values = [], _anchor) {\n const nodes = [];\n const scopes = [];\n for (const [index, value] of values.entries()) {\n const anchor = index === values.length - 1 ? _anchor : void 0;\n if (typeof value === \"function\") {\n renderEffect(() => {\n pauseTracking();\n if (scopes[index]) scopes[index].stop();\n scopes[index] = new EffectScope();\n nodes[index] = scopes[index].run(\n () => resolveValue(nodes[index], value(), anchor)\n );\n resetTracking();\n });\n } else {\n nodes[index] = resolveValue(nodes[index], value, anchor);\n }\n }\n return nodes;\n}\nexport function setNodes(anchor, ...values) {\n const resolvedValues = resolveValues(values, anchor);\n anchor.parentNode && insert(resolvedValues, anchor.parentNode, anchor);\n}\nexport function createNodes(...values) {\n return resolveValues(values);\n}\n";
|
|
115
115
|
|
|
116
116
|
//#endregion
|
|
117
117
|
//#region src/core/vue-jsx.ts
|
package/dist/raw.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
require('./core-
|
|
3
|
-
const require_raw = require('./raw-
|
|
2
|
+
require('./core-BEqRwfoK.cjs');
|
|
3
|
+
const require_raw = require('./raw-BY1njZIx.cjs');
|
|
4
4
|
|
|
5
|
-
exports.default = require_raw.raw_default
|
|
5
|
+
exports.default = require_raw.raw_default;
|
package/dist/raw.d.cts
CHANGED
package/dist/raw.d.ts
CHANGED
package/dist/raw.js
CHANGED
package/dist/rolldown.cjs
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
|
-
const require_chunk = require('./chunk-
|
|
4
|
-
require('./core-
|
|
5
|
-
require('./raw-
|
|
2
|
+
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
3
|
+
require('./core-BEqRwfoK.cjs');
|
|
4
|
+
require('./raw-BY1njZIx.cjs');
|
|
6
5
|
require('./options-CulFO0WS.cjs');
|
|
7
|
-
const require_unplugin = require('./unplugin-
|
|
6
|
+
const require_unplugin = require('./unplugin-JV7CydWf.cjs');
|
|
8
7
|
const unplugin = require_chunk.__toESM(require("unplugin"));
|
|
9
8
|
|
|
10
9
|
//#region src/rolldown.ts
|
|
11
10
|
var rolldown_default = (0, unplugin.createRollupPlugin)(require_unplugin.unpluginFactory);
|
|
12
11
|
|
|
13
12
|
//#endregion
|
|
14
|
-
exports.default = rolldown_default
|
|
13
|
+
exports.default = rolldown_default;
|
package/dist/rolldown.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Options } from "./options
|
|
2
|
-
import
|
|
1
|
+
import { Options } from "./options-BRfDD5qB.cjs";
|
|
2
|
+
import * as rollup15 from "rollup";
|
|
3
3
|
|
|
4
4
|
//#region src/rolldown.d.ts
|
|
5
|
-
declare const _default: (options?: Options | undefined) => Plugin<any> | Plugin<any>[];
|
|
5
|
+
declare const _default: (options?: Options | undefined) => rollup15.Plugin<any> | rollup15.Plugin<any>[];
|
|
6
6
|
|
|
7
7
|
//#endregion
|
|
8
8
|
export { _default as default };
|
package/dist/rolldown.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Options } from "./options
|
|
2
|
-
import
|
|
1
|
+
import { Options } from "./options-CeDGvYqS.js";
|
|
2
|
+
import * as rollup3 from "rollup";
|
|
3
3
|
|
|
4
4
|
//#region src/rolldown.d.ts
|
|
5
|
-
declare const _default: (options?: Options | undefined) => Plugin<any> | Plugin<any>[];
|
|
5
|
+
declare const _default: (options?: Options | undefined) => rollup3.Plugin<any> | rollup3.Plugin<any>[];
|
|
6
6
|
|
|
7
7
|
//#endregion
|
|
8
8
|
export { _default as default };
|
package/dist/rolldown.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./core-BDE4GLH8.js";
|
|
2
|
-
import "./raw-
|
|
2
|
+
import "./raw-DecHkpC5.js";
|
|
3
3
|
import "./options-HYvLzmlg.js";
|
|
4
|
-
import { unpluginFactory } from "./unplugin-
|
|
4
|
+
import { unpluginFactory } from "./unplugin-DeYNxSzL.js";
|
|
5
5
|
import { createRollupPlugin } from "unplugin";
|
|
6
6
|
|
|
7
7
|
//#region src/rolldown.ts
|
package/dist/rollup.cjs
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
|
-
require('./core-
|
|
4
|
-
require('./raw-
|
|
2
|
+
require('./core-BEqRwfoK.cjs');
|
|
3
|
+
require('./raw-BY1njZIx.cjs');
|
|
5
4
|
require('./options-CulFO0WS.cjs');
|
|
6
|
-
const require_unplugin = require('./unplugin-
|
|
5
|
+
const require_unplugin = require('./unplugin-JV7CydWf.cjs');
|
|
7
6
|
|
|
8
7
|
//#region src/rollup.ts
|
|
9
8
|
var rollup_default = require_unplugin.unplugin_default.rollup;
|
|
10
9
|
|
|
11
10
|
//#endregion
|
|
12
|
-
exports.default = rollup_default
|
|
11
|
+
exports.default = rollup_default;
|
package/dist/rollup.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Options } from "./options
|
|
2
|
-
import
|
|
1
|
+
import { Options } from "./options-BRfDD5qB.cjs";
|
|
2
|
+
import * as rollup18 from "rollup";
|
|
3
3
|
|
|
4
4
|
//#region src/rollup.d.ts
|
|
5
|
-
declare const _default: (options?: Options | undefined) => Plugin<any>[];
|
|
5
|
+
declare const _default: (options?: Options | undefined) => rollup18.Plugin<any>[];
|
|
6
6
|
|
|
7
7
|
//#endregion
|
|
8
8
|
export { _default as default };
|
package/dist/rollup.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Options } from "./options
|
|
2
|
-
import
|
|
1
|
+
import { Options } from "./options-CeDGvYqS.js";
|
|
2
|
+
import * as rollup6 from "rollup";
|
|
3
3
|
|
|
4
4
|
//#region src/rollup.d.ts
|
|
5
|
-
declare const _default: (options?: Options | undefined) => Plugin<any>[];
|
|
5
|
+
declare const _default: (options?: Options | undefined) => rollup6.Plugin<any>[];
|
|
6
6
|
|
|
7
7
|
//#endregion
|
|
8
8
|
export { _default as default };
|
package/dist/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./core-BDE4GLH8.js";
|
|
2
|
-
import "./raw-
|
|
2
|
+
import "./raw-DecHkpC5.js";
|
|
3
3
|
import "./options-HYvLzmlg.js";
|
|
4
|
-
import { unplugin_default } from "./unplugin-
|
|
4
|
+
import { unplugin_default } from "./unplugin-DeYNxSzL.js";
|
|
5
5
|
|
|
6
6
|
//#region src/rollup.ts
|
|
7
7
|
var rollup_default = unplugin_default.rollup;
|
package/dist/rspack.cjs
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
|
-
require('./core-
|
|
4
|
-
require('./raw-
|
|
2
|
+
require('./core-BEqRwfoK.cjs');
|
|
3
|
+
require('./raw-BY1njZIx.cjs');
|
|
5
4
|
require('./options-CulFO0WS.cjs');
|
|
6
|
-
const require_unplugin = require('./unplugin-
|
|
5
|
+
const require_unplugin = require('./unplugin-JV7CydWf.cjs');
|
|
7
6
|
|
|
8
7
|
//#region src/rspack.ts
|
|
9
8
|
var rspack_default = require_unplugin.unplugin_default.rspack;
|
|
10
9
|
|
|
11
10
|
//#endregion
|
|
12
|
-
exports.default = rspack_default
|
|
11
|
+
exports.default = rspack_default;
|
package/dist/rspack.d.cts
CHANGED
package/dist/rspack.d.ts
CHANGED
package/dist/rspack.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./core-BDE4GLH8.js";
|
|
2
|
-
import "./raw-
|
|
2
|
+
import "./raw-DecHkpC5.js";
|
|
3
3
|
import "./options-HYvLzmlg.js";
|
|
4
|
-
import { unplugin_default } from "./unplugin-
|
|
4
|
+
import { unplugin_default } from "./unplugin-DeYNxSzL.js";
|
|
5
5
|
|
|
6
6
|
//#region src/rspack.ts
|
|
7
7
|
var rspack_default = unplugin_default.rspack;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
3
|
-
const require_raw = require('./raw-CPEhZ9Wr.cjs');
|
|
1
|
+
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
+
const require_raw = require('./raw-BY1njZIx.cjs');
|
|
4
3
|
const unplugin = require_chunk.__toESM(require("unplugin"));
|
|
5
4
|
const vite = require_chunk.__toESM(require("vite"));
|
|
6
5
|
|
package/dist/unplugin.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
require('./core-
|
|
3
|
-
require('./raw-
|
|
2
|
+
require('./core-BEqRwfoK.cjs');
|
|
3
|
+
require('./raw-BY1njZIx.cjs');
|
|
4
4
|
require('./options-CulFO0WS.cjs');
|
|
5
|
-
const require_unplugin = require('./unplugin-
|
|
5
|
+
const require_unplugin = require('./unplugin-JV7CydWf.cjs');
|
|
6
6
|
|
|
7
|
-
exports.default = require_unplugin.unplugin_default
|
|
8
|
-
exports.unplugin = require_unplugin.unplugin
|
|
9
|
-
exports.unpluginFactory = require_unplugin.unpluginFactory
|
|
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,9 +1,10 @@
|
|
|
1
|
-
import { Options } from "./options
|
|
2
|
-
import
|
|
1
|
+
import { Options } from "./options-BRfDD5qB.cjs";
|
|
2
|
+
import * as unplugin11 from "unplugin";
|
|
3
|
+
import { UnpluginFactory } from "unplugin";
|
|
3
4
|
|
|
4
5
|
//#region src/unplugin.d.ts
|
|
5
6
|
declare const unpluginFactory: UnpluginFactory<Options | undefined, true>;
|
|
6
|
-
declare const unplugin: UnpluginInstance<Options | undefined, true>;
|
|
7
|
+
declare const unplugin: unplugin11.UnpluginInstance<Options | undefined, true>;
|
|
7
8
|
|
|
8
9
|
//#endregion
|
|
9
10
|
export { Options, unplugin as default, unplugin, unpluginFactory };
|
package/dist/unplugin.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { Options } from "./options
|
|
2
|
-
import
|
|
1
|
+
import { Options } from "./options-CeDGvYqS.js";
|
|
2
|
+
import * as unplugin18 from "unplugin";
|
|
3
|
+
import { UnpluginFactory } from "unplugin";
|
|
3
4
|
|
|
4
5
|
//#region src/unplugin.d.ts
|
|
5
6
|
declare const unpluginFactory: UnpluginFactory<Options | undefined, true>;
|
|
6
|
-
declare const unplugin: UnpluginInstance<Options | undefined, true>;
|
|
7
|
+
declare const unplugin: unplugin18.UnpluginInstance<Options | undefined, true>;
|
|
7
8
|
|
|
8
9
|
//#endregion
|
|
9
10
|
export { Options, unplugin as default, unplugin, unpluginFactory };
|
package/dist/unplugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./core-BDE4GLH8.js";
|
|
2
|
-
import "./raw-
|
|
2
|
+
import "./raw-DecHkpC5.js";
|
|
3
3
|
import "./options-HYvLzmlg.js";
|
|
4
|
-
import { unplugin, unpluginFactory, unplugin_default } from "./unplugin-
|
|
4
|
+
import { unplugin, unpluginFactory, unplugin_default } from "./unplugin-DeYNxSzL.js";
|
|
5
5
|
|
|
6
6
|
export { unplugin_default as default, unplugin, unpluginFactory };
|
package/dist/vite.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
require('./core-
|
|
3
|
-
require('./raw-
|
|
2
|
+
require('./core-BEqRwfoK.cjs');
|
|
3
|
+
require('./raw-BY1njZIx.cjs');
|
|
4
4
|
require('./options-CulFO0WS.cjs');
|
|
5
|
-
require('./unplugin-
|
|
6
|
-
const require_vite = require('./vite-
|
|
5
|
+
require('./unplugin-JV7CydWf.cjs');
|
|
6
|
+
const require_vite = require('./vite-CVR2C-Wy.cjs');
|
|
7
7
|
|
|
8
|
-
exports.default = require_vite.vite_default
|
|
8
|
+
exports.default = require_vite.vite_default;
|
package/dist/vite.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Options } from "./options
|
|
2
|
-
import
|
|
1
|
+
import { Options } from "./options-BRfDD5qB.cjs";
|
|
2
|
+
import * as vite10 from "vite";
|
|
3
3
|
|
|
4
4
|
//#region src/vite.d.ts
|
|
5
|
-
declare const _default: (options?: Options | undefined) => Plugin<any>[];
|
|
5
|
+
declare const _default: (options?: Options | undefined) => vite10.Plugin<any>[];
|
|
6
6
|
|
|
7
7
|
//#endregion
|
|
8
8
|
export { _default as default };
|
package/dist/vite.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Options } from "./options
|
|
2
|
-
import
|
|
1
|
+
import { Options } from "./options-CeDGvYqS.js";
|
|
2
|
+
import * as vite15 from "vite";
|
|
3
3
|
|
|
4
4
|
//#region src/vite.d.ts
|
|
5
|
-
declare const _default: (options?: Options | undefined) => Plugin<any>[];
|
|
5
|
+
declare const _default: (options?: Options | undefined) => vite15.Plugin<any>[];
|
|
6
6
|
|
|
7
7
|
//#endregion
|
|
8
8
|
export { _default as default };
|
package/dist/vite.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./core-BDE4GLH8.js";
|
|
2
|
-
import "./raw-
|
|
2
|
+
import "./raw-DecHkpC5.js";
|
|
3
3
|
import "./options-HYvLzmlg.js";
|
|
4
|
-
import "./unplugin-
|
|
5
|
-
import { vite_default } from "./vite-
|
|
4
|
+
import "./unplugin-DeYNxSzL.js";
|
|
5
|
+
import { vite_default } from "./vite-C2WptbyG.js";
|
|
6
6
|
|
|
7
7
|
export { vite_default as default };
|
package/dist/volar.cjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
|
-
const require_chunk = require('./chunk-
|
|
2
|
+
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
4
3
|
const __vue_jsx_vapor_macros_volar = require_chunk.__toESM(require("@vue-jsx-vapor/macros/volar"));
|
|
5
4
|
const __vue_macros_volar_jsx_directive = require_chunk.__toESM(require("@vue-macros/volar/jsx-directive"));
|
|
6
5
|
const __vue_macros_volar_jsx_ref = require_chunk.__toESM(require("@vue-macros/volar/jsx-ref"));
|
|
@@ -11,10 +10,10 @@ const plugin = (0, ts_macro.createPlugin)((ctx, options) => {
|
|
|
11
10
|
return [
|
|
12
11
|
(0, __vue_macros_volar_jsx_directive.default)()(ctx),
|
|
13
12
|
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) : []
|
|
13
|
+
options?.macros === false ? [] : options?.macros ? (0, __vue_jsx_vapor_macros_volar.default)(options.macros === true ? void 0 : options.macros)(ctx) : []
|
|
15
14
|
].flat();
|
|
16
15
|
});
|
|
17
16
|
var volar_default = plugin;
|
|
18
17
|
|
|
19
18
|
//#endregion
|
|
20
|
-
exports.default = volar_default
|
|
19
|
+
exports.default = volar_default;
|
package/dist/volar.d.cts
CHANGED
package/dist/volar.d.ts
CHANGED
package/dist/volar.js
CHANGED
|
@@ -8,7 +8,7 @@ const plugin = createPlugin((ctx, options) => {
|
|
|
8
8
|
return [
|
|
9
9
|
jsxDirective()(ctx),
|
|
10
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) : []
|
|
11
|
+
options?.macros === false ? [] : options?.macros ? jsxMacros(options.macros === true ? void 0 : options.macros)(ctx) : []
|
|
12
12
|
].flat();
|
|
13
13
|
});
|
|
14
14
|
var volar_default = plugin;
|
package/dist/webpack.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
require('./core-
|
|
3
|
-
require('./raw-
|
|
2
|
+
require('./core-BEqRwfoK.cjs');
|
|
3
|
+
require('./raw-BY1njZIx.cjs');
|
|
4
4
|
require('./options-CulFO0WS.cjs');
|
|
5
|
-
require('./unplugin-
|
|
6
|
-
const require_webpack = require('./webpack-
|
|
5
|
+
require('./unplugin-JV7CydWf.cjs');
|
|
6
|
+
const require_webpack = require('./webpack-DWlp7dxs.cjs');
|
|
7
7
|
|
|
8
|
-
exports.default = require_webpack.webpack_default
|
|
8
|
+
exports.default = require_webpack.webpack_default;
|
package/dist/webpack.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Options } from "./options
|
|
2
|
-
import
|
|
1
|
+
import { Options } from "./options-BRfDD5qB.cjs";
|
|
2
|
+
import * as webpack13 from "webpack";
|
|
3
3
|
|
|
4
4
|
//#region src/webpack.d.ts
|
|
5
|
-
declare const _default: (options?: Options | undefined) => WebpackPluginInstance;
|
|
5
|
+
declare const _default: (options?: Options | undefined) => webpack13.WebpackPluginInstance;
|
|
6
6
|
|
|
7
7
|
//#endregion
|
|
8
8
|
export { _default as default };
|
package/dist/webpack.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Options } from "./options
|
|
2
|
-
import
|
|
1
|
+
import { Options } from "./options-CeDGvYqS.js";
|
|
2
|
+
import * as webpack13 from "webpack";
|
|
3
3
|
|
|
4
4
|
//#region src/webpack.d.ts
|
|
5
|
-
declare const _default: (options?: Options | undefined) => WebpackPluginInstance;
|
|
5
|
+
declare const _default: (options?: Options | undefined) => webpack13.WebpackPluginInstance;
|
|
6
6
|
|
|
7
7
|
//#endregion
|
|
8
8
|
export { _default as default };
|