vue-jsx-vapor 2.3.5 → 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.
Files changed (72) hide show
  1. package/dist/api.cjs +2 -2
  2. package/dist/api.d.cts +3 -3
  3. package/dist/api.d.ts +3 -3
  4. package/dist/astro.cjs +4 -5
  5. package/dist/astro.d.cts +6 -8
  6. package/dist/astro.d.ts +6 -8
  7. package/dist/astro.js +2 -2
  8. package/dist/{chunk-BCwAaXi7.cjs → chunk-CUT6urMc.cjs} +0 -1
  9. package/dist/{core-B29W1zp3.cjs → core-BEqRwfoK.cjs} +1 -2
  10. package/dist/esbuild.cjs +4 -5
  11. package/dist/esbuild.d.cts +3 -3
  12. package/dist/esbuild.d.ts +3 -3
  13. package/dist/esbuild.js +2 -2
  14. package/dist/index.cjs +56 -12
  15. package/dist/index.d.cts +34 -2
  16. package/dist/index.d.ts +34 -2
  17. package/dist/index.js +53 -10
  18. package/dist/jsx-runtime.cjs +5 -6
  19. package/dist/jsx-runtime.d.cts +1171 -1178
  20. package/dist/jsx-runtime.d.ts +1171 -1178
  21. package/dist/nuxt.cjs +7 -8
  22. package/dist/nuxt.d.cts +4 -5
  23. package/dist/nuxt.d.ts +4 -5
  24. package/dist/nuxt.js +4 -4
  25. package/dist/options-BRfDD5qB.d.cts +18 -0
  26. package/dist/options-CeDGvYqS.d.ts +18 -0
  27. package/dist/options.d.cts +1 -2
  28. package/dist/options.d.ts +1 -2
  29. package/dist/{raw-Dr3UcxgN.cjs → raw-BY1njZIx.cjs} +3 -4
  30. package/dist/{raw-C8eD8f6a.js → raw-DecHkpC5.js} +1 -1
  31. package/dist/raw.cjs +3 -3
  32. package/dist/raw.d.cts +1 -1
  33. package/dist/raw.d.ts +1 -1
  34. package/dist/raw.js +1 -1
  35. package/dist/rolldown.cjs +5 -6
  36. package/dist/rolldown.d.cts +3 -3
  37. package/dist/rolldown.d.ts +3 -3
  38. package/dist/rolldown.js +2 -2
  39. package/dist/rollup.cjs +4 -5
  40. package/dist/rollup.d.cts +3 -3
  41. package/dist/rollup.d.ts +3 -3
  42. package/dist/rollup.js +2 -2
  43. package/dist/rspack.cjs +4 -5
  44. package/dist/rspack.d.cts +1 -1
  45. package/dist/rspack.d.ts +1 -1
  46. package/dist/rspack.js +2 -2
  47. package/dist/{unplugin-BMMTjSOs.js → unplugin-DeYNxSzL.js} +1 -1
  48. package/dist/{unplugin-ChZxAtQ0.cjs → unplugin-JV7CydWf.cjs} +2 -3
  49. package/dist/unplugin.cjs +6 -6
  50. package/dist/unplugin.d.cts +4 -3
  51. package/dist/unplugin.d.ts +4 -3
  52. package/dist/unplugin.js +2 -2
  53. package/dist/vite-C2WptbyG.js +7 -0
  54. package/dist/{vite-D_zoULH4.cjs → vite-CVR2C-Wy.cjs} +1 -2
  55. package/dist/vite.cjs +5 -5
  56. package/dist/vite.d.cts +3 -3
  57. package/dist/vite.d.ts +3 -3
  58. package/dist/vite.js +3 -3
  59. package/dist/volar.cjs +3 -4
  60. package/dist/volar.d.cts +1 -1
  61. package/dist/volar.d.ts +1 -1
  62. package/dist/volar.js +1 -1
  63. package/dist/{webpack-BXmoWpIv.cjs → webpack-DWlp7dxs.cjs} +1 -2
  64. package/dist/{webpack-CeYJ9dJv.js → webpack-mKQ7x4tg.js} +1 -1
  65. package/dist/webpack.cjs +5 -5
  66. package/dist/webpack.d.cts +3 -3
  67. package/dist/webpack.d.ts +3 -3
  68. package/dist/webpack.js +3 -3
  69. package/package.json +39 -94
  70. package/dist/options.d-BAyccQwr.d.ts +0 -20
  71. package/dist/options.d-CA70vgwp.d.cts +0 -20
  72. package/dist/vite-BSUI3W42.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-BCwAaXi7.cjs');
4
- require('./core-B29W1zp3.cjs');
5
- require('./raw-Dr3UcxgN.cjs');
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-ChZxAtQ0.cjs');
8
- const require_vite = require('./vite-D_zoULH4.cjs');
9
- const require_webpack = require('./webpack-BXmoWpIv.cjs');
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.d-CA70vgwp.cjs";
2
- import { NuxtModule } from "@nuxt/schema";
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.d-BAyccQwr.js";
2
- import { NuxtModule } from "@nuxt/schema";
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-C8eD8f6a.js";
2
+ import "./raw-DecHkpC5.js";
3
3
  import "./options-HYvLzmlg.js";
4
- import "./unplugin-BMMTjSOs.js";
5
- import { vite_default } from "./vite-BSUI3W42.js";
6
- import { webpack_default } from "./webpack-CeYJ9dJv.js";
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 };
@@ -1,3 +1,2 @@
1
- import { Options } from "./options.d-CA70vgwp.cjs";
2
-
1
+ import { Options } from "./options-BRfDD5qB.cjs";
3
2
  export { Options };
package/dist/options.d.ts CHANGED
@@ -1,3 +1,2 @@
1
- import { Options } from "./options.d-BAyccQwr.js";
2
-
1
+ import { Options } from "./options-CeDGvYqS.js";
3
2
  export { Options };
@@ -1,6 +1,5 @@
1
- "use strict";
2
- const require_chunk = require('./chunk-BCwAaXi7.cjs');
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 effectScope,\n insert,\n isFragment,\n remove,\n renderEffect,\n VaporFragment\n} from \"vue\";\nexport { shallowRef as useRef } from \"vue\";\nfunction createFragment(nodes, anchor = document.createTextNode(\"\")) {\n const frag = new VaporFragment(nodes);\n frag.anchor = anchor;\n return frag;\n}\nfunction normalizeValue(value, anchor) {\n if (value instanceof Node || isFragment(value)) {\n anchor && (anchor.textContent = \"\");\n return value;\n } else if (Array.isArray(value)) {\n anchor && (anchor.textContent = \"\");\n return createFragment(\n value.map((i) => normalizeValue(i)),\n anchor\n );\n } else {\n const result = value == null || typeof value === \"boolean\" ? \"\" : String(value);\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 = normalizeValue(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 if (scopes[index]) scopes[index].stop();\n scopes[index] = effectScope();\n nodes[index] = scopes[index].run(\n () => resolveValue(nodes[index], value(), anchor)\n );\n });\n } else {\n nodes[index] = resolveValue(nodes[index], value, anchor);\n }\n }\n return nodes;\n}\nexport function setNodes(anchor, ...values) {\n const resolvedValues = resolveValues(values, anchor);\n anchor.parentNode && insert(resolvedValues, anchor.parentNode, anchor);\n}\nexport function createNodes(...values) {\n return resolveValues(values);\n}\n";
115
+ var runtime_default = "import {\n EffectScope,\n insert,\n isFragment,\n isVaporComponent,\n 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 effectScope,\n insert,\n isFragment,\n remove,\n renderEffect,\n VaporFragment\n} from \"vue\";\nexport { shallowRef as useRef } from \"vue\";\nfunction createFragment(nodes, anchor = document.createTextNode(\"\")) {\n const frag = new VaporFragment(nodes);\n frag.anchor = anchor;\n return frag;\n}\nfunction normalizeValue(value, anchor) {\n if (value instanceof Node || isFragment(value)) {\n anchor && (anchor.textContent = \"\");\n return value;\n } else if (Array.isArray(value)) {\n anchor && (anchor.textContent = \"\");\n return createFragment(\n value.map((i) => normalizeValue(i)),\n anchor\n );\n } else {\n const result = value == null || typeof value === \"boolean\" ? \"\" : String(value);\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 = normalizeValue(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 if (scopes[index]) scopes[index].stop();\n scopes[index] = effectScope();\n nodes[index] = scopes[index].run(\n () => resolveValue(nodes[index], value(), anchor)\n );\n });\n } else {\n nodes[index] = resolveValue(nodes[index], value, anchor);\n }\n }\n return nodes;\n}\nexport function setNodes(anchor, ...values) {\n const resolvedValues = resolveValues(values, anchor);\n anchor.parentNode && insert(resolvedValues, anchor.parentNode, anchor);\n}\nexport function createNodes(...values) {\n return resolveValues(values);\n}\n";
114
+ var runtime_default = "import {\n EffectScope,\n insert,\n isFragment,\n isVaporComponent,\n 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-B29W1zp3.cjs');
3
- const require_raw = require('./raw-Dr3UcxgN.cjs');
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
@@ -1,4 +1,4 @@
1
- import { Options } from "./options.d-CA70vgwp.cjs";
1
+ import { Options } from "./options-BRfDD5qB.cjs";
2
2
  import { UnpluginOptions } from "unplugin";
3
3
 
4
4
  //#region src/raw.d.ts
package/dist/raw.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Options } from "./options.d-BAyccQwr.js";
1
+ import { Options } from "./options-CeDGvYqS.js";
2
2
  import { UnpluginOptions } from "unplugin";
3
3
 
4
4
  //#region src/raw.d.ts
package/dist/raw.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import "./core-BDE4GLH8.js";
2
- import { raw_default } from "./raw-C8eD8f6a.js";
2
+ import { raw_default } from "./raw-DecHkpC5.js";
3
3
 
4
4
  export { raw_default as default };
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-BCwAaXi7.cjs');
4
- require('./core-B29W1zp3.cjs');
5
- require('./raw-Dr3UcxgN.cjs');
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-ChZxAtQ0.cjs');
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;
@@ -1,8 +1,8 @@
1
- import { Options } from "./options.d-CA70vgwp.cjs";
2
- import { Plugin } from "rollup";
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 };
@@ -1,8 +1,8 @@
1
- import { Options } from "./options.d-BAyccQwr.js";
2
- import { Plugin } from "rollup";
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-C8eD8f6a.js";
2
+ import "./raw-DecHkpC5.js";
3
3
  import "./options-HYvLzmlg.js";
4
- import { unpluginFactory } from "./unplugin-BMMTjSOs.js";
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-B29W1zp3.cjs');
4
- require('./raw-Dr3UcxgN.cjs');
2
+ require('./core-BEqRwfoK.cjs');
3
+ require('./raw-BY1njZIx.cjs');
5
4
  require('./options-CulFO0WS.cjs');
6
- const require_unplugin = require('./unplugin-ChZxAtQ0.cjs');
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.d-CA70vgwp.cjs";
2
- import { Plugin } from "rollup";
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.d-BAyccQwr.js";
2
- import { Plugin } from "rollup";
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-C8eD8f6a.js";
2
+ import "./raw-DecHkpC5.js";
3
3
  import "./options-HYvLzmlg.js";
4
- import { unplugin_default } from "./unplugin-BMMTjSOs.js";
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-B29W1zp3.cjs');
4
- require('./raw-Dr3UcxgN.cjs');
2
+ require('./core-BEqRwfoK.cjs');
3
+ require('./raw-BY1njZIx.cjs');
5
4
  require('./options-CulFO0WS.cjs');
6
- const require_unplugin = require('./unplugin-ChZxAtQ0.cjs');
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
@@ -1,4 +1,4 @@
1
- import { Options } from "./options.d-CA70vgwp.cjs";
1
+ import { Options } from "./options-BRfDD5qB.cjs";
2
2
 
3
3
  //#region src/rspack.d.ts
4
4
  declare const _default: (options?: Options | undefined) => RspackPluginInstance;
package/dist/rspack.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Options } from "./options.d-BAyccQwr.js";
1
+ import { Options } from "./options-CeDGvYqS.js";
2
2
 
3
3
  //#region src/rspack.d.ts
4
4
  declare const _default: (options?: Options | undefined) => RspackPluginInstance;
package/dist/rspack.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import "./core-BDE4GLH8.js";
2
- import "./raw-C8eD8f6a.js";
2
+ import "./raw-DecHkpC5.js";
3
3
  import "./options-HYvLzmlg.js";
4
- import { unplugin_default } from "./unplugin-BMMTjSOs.js";
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,4 +1,4 @@
1
- import { raw_default } from "./raw-C8eD8f6a.js";
1
+ import { raw_default } from "./raw-DecHkpC5.js";
2
2
  import { createUnplugin } from "unplugin";
3
3
  import { createFilter, transformWithEsbuild } from "vite";
4
4
 
@@ -1,6 +1,5 @@
1
- "use strict";
2
- const require_chunk = require('./chunk-BCwAaXi7.cjs');
3
- const require_raw = require('./raw-Dr3UcxgN.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-B29W1zp3.cjs');
3
- require('./raw-Dr3UcxgN.cjs');
2
+ require('./core-BEqRwfoK.cjs');
3
+ require('./raw-BY1njZIx.cjs');
4
4
  require('./options-CulFO0WS.cjs');
5
- const require_unplugin = require('./unplugin-ChZxAtQ0.cjs');
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;
@@ -1,9 +1,10 @@
1
- import { Options } from "./options.d-CA70vgwp.cjs";
2
- import { UnpluginFactory, UnpluginInstance } from "unplugin";
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 };
@@ -1,9 +1,10 @@
1
- import { Options } from "./options.d-BAyccQwr.js";
2
- import { UnpluginFactory, UnpluginInstance } from "unplugin";
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-C8eD8f6a.js";
2
+ import "./raw-DecHkpC5.js";
3
3
  import "./options-HYvLzmlg.js";
4
- import { unplugin, unpluginFactory, unplugin_default } from "./unplugin-BMMTjSOs.js";
4
+ import { unplugin, unpluginFactory, unplugin_default } from "./unplugin-DeYNxSzL.js";
5
5
 
6
6
  export { unplugin_default as default, unplugin, unpluginFactory };
@@ -0,0 +1,7 @@
1
+ import { unplugin_default } from "./unplugin-DeYNxSzL.js";
2
+
3
+ //#region src/vite.ts
4
+ var vite_default = unplugin_default.vite;
5
+
6
+ //#endregion
7
+ export { vite_default };
@@ -1,5 +1,4 @@
1
- "use strict";
2
- const require_unplugin = require('./unplugin-ChZxAtQ0.cjs');
1
+ const require_unplugin = require('./unplugin-JV7CydWf.cjs');
3
2
 
4
3
  //#region src/vite.ts
5
4
  var vite_default = require_unplugin.unplugin_default.vite;
package/dist/vite.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
- require('./core-B29W1zp3.cjs');
3
- require('./raw-Dr3UcxgN.cjs');
2
+ require('./core-BEqRwfoK.cjs');
3
+ require('./raw-BY1njZIx.cjs');
4
4
  require('./options-CulFO0WS.cjs');
5
- require('./unplugin-ChZxAtQ0.cjs');
6
- const require_vite = require('./vite-D_zoULH4.cjs');
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.d-CA70vgwp.cjs";
2
- import { Plugin } from "vite";
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.d-BAyccQwr.js";
2
- import { Plugin } from "vite";
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-C8eD8f6a.js";
2
+ import "./raw-DecHkpC5.js";
3
3
  import "./options-HYvLzmlg.js";
4
- import "./unplugin-BMMTjSOs.js";
5
- import { vite_default } from "./vite-BSUI3W42.js";
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-BCwAaXi7.cjs');
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
@@ -1,4 +1,4 @@
1
- import { Options } from "./options.d-CA70vgwp.cjs";
1
+ import { Options } from "./options-BRfDD5qB.cjs";
2
2
  import { PluginReturn } from "ts-macro";
3
3
 
4
4
  //#region src/volar.d.ts
package/dist/volar.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Options } from "./options.d-BAyccQwr.js";
1
+ import { Options } from "./options-CeDGvYqS.js";
2
2
  import { PluginReturn } from "ts-macro";
3
3
 
4
4
  //#region src/volar.d.ts
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;
@@ -1,5 +1,4 @@
1
- "use strict";
2
- const require_unplugin = require('./unplugin-ChZxAtQ0.cjs');
1
+ const require_unplugin = require('./unplugin-JV7CydWf.cjs');
3
2
 
4
3
  //#region src/webpack.ts
5
4
  var webpack_default = require_unplugin.unplugin_default.webpack;
@@ -1,4 +1,4 @@
1
- import { unplugin_default } from "./unplugin-BMMTjSOs.js";
1
+ import { unplugin_default } from "./unplugin-DeYNxSzL.js";
2
2
 
3
3
  //#region src/webpack.ts
4
4
  var webpack_default = unplugin_default.webpack;
package/dist/webpack.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
- require('./core-B29W1zp3.cjs');
3
- require('./raw-Dr3UcxgN.cjs');
2
+ require('./core-BEqRwfoK.cjs');
3
+ require('./raw-BY1njZIx.cjs');
4
4
  require('./options-CulFO0WS.cjs');
5
- require('./unplugin-ChZxAtQ0.cjs');
6
- const require_webpack = require('./webpack-BXmoWpIv.cjs');
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;
@@ -1,8 +1,8 @@
1
- import { Options } from "./options.d-CA70vgwp.cjs";
2
- import { WebpackPluginInstance } from "webpack";
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.d-BAyccQwr.js";
2
- import { WebpackPluginInstance } from "webpack";
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 };