33exports [` _Fragment already imported: _Fragment already imported 1` ] = `
44"import { createVNode as _createVNode , createTextVNode as _createTextVNode , Fragment as _Fragment2 } from \\ "vue\\ ";
55import { Fragment as _Fragment } from 'vue';
6-
76const Root1 = () => _createVNode(_Fragment2, null, [_createTextVNode(\\ "root1\\ ")]);
8-
97const Root2 = () => _createVNode(_Fragment, null, [_createTextVNode(\\ "root2\\ ")]);"
108` ;
119
1210exports [` MereProps Order: MereProps Order 1` ] = `
1311"import { createVNode as _createVNode , mergeProps as _mergeProps , createTextVNode as _createTextVNode } from \\ "vue\\ ";
14-
1512_createVNode(\\ "button\\ ", _mergeProps({
1613 \\" loading\\ " : true
1714} , x, {
@@ -21,7 +18,6 @@ _createVNode(\\"button\\", _mergeProps({
2118
2219exports [` Merge class/ style attributes into array: Merge class/ style attributes into array 1` ] = `
2320"import { createVNode as _createVNode } from \\ "vue\\ ";
24-
2521_createVNode(\\ "div\\ ", {
2622 \\" class\\ " : [\\" a\\ " , b ],
2723 \\" style\\ " : [\\" color: red\\ " , s ]
@@ -35,19 +31,16 @@ createVNode('div', null, ['Without JSX should work']);"
3531
3632exports [` Without props: Without props 1` ] = `
3733"import { createVNode as _createVNode , createTextVNode as _createTextVNode } from \\ "vue\\ ";
38-
3934_createVNode(\\ "a\\ ", null, [_createTextVNode(\\ "a\\ ")]);"
4035` ;
4136
4237exports [` custom directive: custom directive 1` ] = `
4338"import { withDirectives as _withDirectives , createVNode as _createVNode , resolveDirective as _resolveDirective , resolveComponent as _resolveComponent } from \\ "vue\\ ";
44-
4539_withDirectives(_createVNode(_resolveComponent(\\ "A\\ "), null, null, 512), [[_resolveDirective(\\ "cus\\ "), x]]);"
4640` ;
4741
4842exports [` custom directive: custom directive 2` ] = `
4943"import { withDirectives as _withDirectives , createVNode as _createVNode , resolveDirective as _resolveDirective , resolveComponent as _resolveComponent , Fragment as _Fragment } from \\ "vue\\ ";
50-
5144_createVNode(_Fragment, null, [_withDirectives(_createVNode(_resolveComponent(\\ "A\\ "), null, null, 512), [[_resolveDirective(\\ "xxx\\ "), x]]), _withDirectives(_createVNode(_resolveComponent(\\ "A\\ "), null, null, 512), [[_resolveDirective(\\ "xxx\\ "), x]]), _withDirectives(_createVNode(_resolveComponent(\\ "A\\ "), null, null, 512), [[_resolveDirective(\\ "xxx\\ "), x, 'y']]), _withDirectives(_createVNode(_resolveComponent(\\ "A\\ "), null, null, 512), [[_resolveDirective(\\ "xxx\\ "), x, 'y', {
5245 a : true ,
5346 b : true
@@ -65,7 +58,6 @@ _createVNode(_Fragment, null, [_withDirectives(_createVNode(_resolveComponent(\\
6558
6659exports [` disable object slot syntax with defaultSlot: defaultSlot 1` ] = `
6760"import { createVNode as _createVNode , resolveComponent as _resolveComponent } from \\ "vue\\ ";
68-
6961_createVNode(_resolveComponent(\\ "Badge\\ "), null, {
7062 default : () => [slots .default ()],
7163 _ : 1
@@ -74,7 +66,6 @@ _createVNode(_resolveComponent(\\"Badge\\"), null, {
7466
7567exports [` dynamic type in input: dynamic type in input 1` ] = `
7668"import { withDirectives as _withDirectives , createVNode as _createVNode , vModelDynamic as _vModelDynamic } from \\ "vue\\ ";
77-
7869_withDirectives(_createVNode(\\ "input\\ ", {
7970 \\" type\\ " : type ,
8071 \\" onUpdate:modelValue\\ " : $event => test = $event
@@ -83,7 +74,6 @@ _withDirectives(_createVNode(\\"input\\", {
8374
8475exports [` input[type="checkbox"]: input[type="checkbox"] 1` ] = `
8576"import { withDirectives as _withDirectives , createVNode as _createVNode , vModelCheckbox as _vModelCheckbox } from \\ "vue\\ ";
86-
8777_withDirectives(_createVNode(\\ "input\\ ", {
8878 \\" type\\ " : \\" checkbox\\ " ,
8979 \\" onUpdate:modelValue\\ " : $event => test = $event
@@ -92,7 +82,6 @@ _withDirectives(_createVNode(\\"input\\", {
9282
9383exports [` input[type="radio"]: input[type="radio"] 1` ] = `
9484"import { withDirectives as _withDirectives , createVNode as _createVNode , vModelRadio as _vModelRadio , Fragment as _Fragment } from \\ "vue\\ ";
95-
9685_createVNode(_Fragment, null, [_withDirectives(_createVNode(\\ "input\\ ", {
9786 \\" type\\ " : \\" radio\\ " ,
9887 \\" value\\ " : \\" 1\\ " ,
@@ -108,7 +97,6 @@ _createVNode(_Fragment, null, [_withDirectives(_createVNode(\\"input\\", {
10897
10998exports [` input[type="text"] .lazy modifier: input[type="text"] .lazy modifier 1` ] = `
11099"import { withDirectives as _withDirectives , createVNode as _createVNode , vModelText as _vModelText } from \\ "vue\\ ";
111-
112100_withDirectives(_createVNode(\\ "input\\ ", {
113101 \\" onUpdate:modelValue\\ " : $event => test = $event
114102} , null, 8, [\\ "onUpdate:modelValue\\ "]), [[_vModelText, test, void 0, {
@@ -118,35 +106,30 @@ _withDirectives(_createVNode(\\"input\\", {
118106
119107exports [` input[type="text"]: input[type="text"] 1` ] = `
120108"import { withDirectives as _withDirectives , createVNode as _createVNode , vModelText as _vModelText } from \\ "vue\\ ";
121-
122109_withDirectives(_createVNode(\\ "input\\ ", {
123110 \\" onUpdate:modelValue\\ " : $event => test = $event
124111} , null, 8, [\\ "onUpdate:modelValue\\ "]), [[_vModelText, test]]);"
125112` ;
126113
127114exports [` isCustomElement: isCustomElement 1` ] = `
128115"import { createVNode as _createVNode , createTextVNode as _createTextVNode } from \\ "vue\\ ";
129-
130116_createVNode(\\ "foo\\ ", null, [_createVNode(\\ "span\\ ", null, [_createTextVNode(\\ "foo\\ ")])]);"
131117` ;
132118
133119exports [` named import specifier \` Keep Alive\` : named import specifier \` Keep Alive\` 1` ] = `
134120"import { createVNode as _createVNode , createTextVNode as _createTextVNode } from \\ "vue\\ ";
135121import { KeepAlive } from 'vue';
136-
137122_createVNode(KeepAlive, null, [_createTextVNode(\\ "123\\ ")]);"
138123` ;
139124
140125exports [` namespace specifier \` Keep Alive\` : namespace specifier \` Keep Alive\` 1` ] = `
141126"import { createVNode as _createVNode , createTextVNode as _createTextVNode } from \\ "vue\\ ";
142127import * as Vue from 'vue';
143-
144128_createVNode(Vue.KeepAlive, null, [_createTextVNode(\\ "123\\ ")]);"
145129` ;
146130
147131exports [` override props multiple: multiple 1` ] = `
148132"import { createVNode as _createVNode , resolveComponent as _resolveComponent } from \\ "vue\\ ";
149-
150133_createVNode(_resolveComponent(\\ "A\\ "), {
151134 \\" loading\\ " : true ,
152135 ... a ,
@@ -161,13 +144,11 @@ _createVNode(_resolveComponent(\\"A\\"), {
161144
162145exports [` override props single: single 1` ] = `
163146"import { createVNode as _createVNode } from \\ "vue\\ ";
164-
165147_createVNode(\\ "div\\ ", a, null);"
166148` ;
167149
168150exports [` passing object slots via JSX children multiple expressions: multiple expressions 1` ] = `
169151"import { createVNode as _createVNode , resolveComponent as _resolveComponent } from \\ "vue\\ ";
170-
171152_createVNode(_resolveComponent(\\ "A\\ "), null, {
172153 default : () => [foo , bar ],
173154 _ : 1
@@ -176,23 +157,18 @@ _createVNode(_resolveComponent(\\"A\\"), null, {
176157
177158exports [` passing object slots via JSX children single expression, function expression: single expression, function expression 1` ] = `
178159"import { createVNode as _createVNode , resolveComponent as _resolveComponent } from \\ "vue\\ ";
179-
180160_createVNode(_resolveComponent(\\ "A\\ "), null, {
181161 default : () => \\" foo\\ "
182162} );"
183163` ;
184164
185165exports [` passing object slots via JSX children single expression, non-literal value: runtime check: single expression, non-literal value: runtime check 1` ] = `
186166"let _slot;
187-
188167import { createVNode as _createVNode , isVNode as _isVNode , resolveComponent as _resolveComponent } from \\ "vue\\ ";
189-
190168function _isSlot(s) {
191169 return typeof s === ' function' || Object .prototype .toString .call (s ) === ' [object Object]' && ! _isVNode (s );
192170}
193-
194171const foo = () => 1;
195-
196172_createVNode(_resolveComponent(\\ "A\\ "), null, _isSlot(_slot = foo()) ? _slot : {
197173 default : () => [_slot ],
198174 _ : 1
@@ -202,27 +178,22 @@ _createVNode(_resolveComponent(\\"A\\"), null, _isSlot(_slot = foo()) ? _slot :
202178exports [` reassign variable as component: reassign variable as component 1` ] = `
203179"import { isVNode as _isVNode , createVNode as _createVNode } from \\ "vue\\ ";
204180import { defineComponent } from 'vue';
205-
206181function _isSlot(s) {
207182 return typeof s === ' function' || Object .prototype .toString .call (s ) === ' [object Object]' && ! _isVNode (s );
208183}
209-
210184let a = 1;
211185const A = defineComponent({
212186 setup (_ , {
213187 slots
214188 }) {
215189 return () => _createVNode(\\"span \\", null , [slots .default ()]);
216190 }
217-
218191} );
219192const _a2 = 2;
220193a = _a2;
221-
222194const _a = function () {
223195 return a ;
224196} ();
225-
226197a = _createVNode(A, null, _isSlot(a) ? a : {
227198 default : () => [_a ],
228199 _ : 2
@@ -231,7 +202,6 @@ a = _createVNode(A, null, _isSlot(a) ? a : {
231202
232203exports [` select: select 1` ] = `
233204"import { withDirectives as _withDirectives , vModelSelect as _vModelSelect , createVNode as _createVNode , createTextVNode as _createTextVNode } from \\ "vue\\ ";
234-
235205_withDirectives(_createVNode(\\ "select\\ ", {
236206 \\" onUpdate:modelValue\\ " : $event => test = $event
237207} , [_createVNode(\\ "option\\ ", {
@@ -251,35 +221,30 @@ custom(\\"div\\", null, [_createTextVNode(\\"pragma\\")]);"
251221exports [` should keep \` import * as Vue from "vue"\` : should keep \` import * as Vue from "vue"\` 1` ] = `
252222"import { createVNode as _createVNode , createTextVNode as _createTextVNode } from \\ "vue\\ ";
253223import * as Vue from 'vue';
254-
255224_createVNode(\\ "div\\ ", null, [_createTextVNode(\\ "Vue\\ ")]);"
256225` ;
257226
258227exports [` single no need for a mergeProps call: single no need for a mergeProps call 1` ] = `
259228"import { createVNode as _createVNode , createTextVNode as _createTextVNode } from \\ "vue\\ ";
260-
261229_createVNode(\\ "div\\ ", x, [_createTextVNode(\\ "single\\ ")], 16);"
262230` ;
263231
264232exports [` specifiers should be merged into a single importDeclaration: specifiers should be merged into a single importDeclaration 1` ] = `
265233"import { createVNode as _createVNode } from \\ "vue\\ ";
266234import { createVNode , Fragment as _Fragment } from 'vue';
267235import { vShow } from 'vue';
268-
269236_createVNode(_Fragment, null, null);"
270237` ;
271238
272239exports [` textarea: textarea 1` ] = `
273240"import { withDirectives as _withDirectives , createVNode as _createVNode , vModelText as _vModelText } from \\ "vue\\ ";
274-
275241_withDirectives(_createVNode(\\ "textarea\\ ", {
276242 \\" onUpdate:modelValue\\ " : $event => test = $event
277243} , null, 8, [\\ "onUpdate:modelValue\\ "]), [[_vModelText, test]]);"
278244` ;
279245
280246exports [` use "@jsx" comment specify pragma: use "@jsx" comment specify pragma 1` ] = `
281247"import { createTextVNode as _createTextVNode } from \\ "vue\\ ";
282-
283248/* @jsx custom */
284249custom(\\ "div\\ ", {
285250 \\" id\\ " : \\" custom\\ "
@@ -288,7 +253,6 @@ custom(\\"div\\", {
288253
289254exports [` use "model" as the prop name: use "model" as the prop name 1` ] = `
290255"import { createVNode as _createVNode , resolveComponent as _resolveComponent } from \\ "vue\\ ";
291-
292256_createVNode(_resolveComponent(\\ "C\\ "), {
293257 \\" model\\ " : foo ,
294258 \\" onUpdate:model\\ " : $event => foo = $event
@@ -297,20 +261,16 @@ _createVNode(_resolveComponent(\\"C\\"), {
297261
298262exports [` using v-slots without children should not be spread: using v-slots without children should not be spread 1` ] = `
299263"import { createVNode as _createVNode , resolveDirective as _resolveDirective , resolveComponent as _resolveComponent } from \\ "vue\\ ";
300-
301264_createVNode(_resolveComponent(\\ "A\\ "), null, slots);"
302265` ;
303266
304267exports [` v-model target value support variable: v-model target value support variable 1` ] = `
305268"import { createVNode as _createVNode , resolveComponent as _resolveComponent , Fragment as _Fragment } from \\ "vue\\ ";
306269const foo = 'foo';
307-
308270const a = () => 'a';
309-
310271const b = {
311272 c : ' c'
312273} ;
313-
314274_createVNode(_Fragment, null, [_createVNode(_resolveComponent(\\ "A\\ "), {
315275 [foo ]: xx ,
316276 [\\" onUpdate\\ " + foo ]: $event => xx = $event
@@ -349,21 +309,18 @@ _createVNode(_Fragment, null, [_createVNode(_resolveComponent(\\"A\\"), {
349309
350310exports [` v-show: v-show 1` ] = `
351311"import { withDirectives as _withDirectives , createVNode as _createVNode , vShow as _vShow , createTextVNode as _createTextVNode } from \\ "vue\\ ";
352-
353312_withDirectives(_createVNode(\\ "div\\ ", null, [_createTextVNode(\\ "vShow\\ ")], 512), [[_vShow, x]]);"
354313` ;
355314
356315exports [` vHtml: vHtml 1` ] = `
357316"import { createVNode as _createVNode } from \\ "vue\\ ";
358-
359317_createVNode(\\ "h1\\ ", {
360318 \\" innerHTML\\ " : \\" <div>foo</div>\\ "
361319} , null, 8, [\\ "innerHTML\\ "]);"
362320` ;
363321
364322exports [` vModels: vModels 1` ] = `
365323"import { createVNode as _createVNode , resolveComponent as _resolveComponent } from \\ "vue\\ ";
366-
367324_createVNode(_resolveComponent(\\ "C\\ "), {
368325 \\" modelValue\\ " : foo ,
369326 \\" modelModifiers\\ " : {
@@ -381,7 +338,6 @@ _createVNode(_resolveComponent(\\"C\\"), {
381338
382339exports [` vText: vText 1` ] = `
383340"import { createVNode as _createVNode } from \\ "vue\\ ";
384-
385341_createVNode(\\ "div\\ ", {
386342 \\" textContent\\ " : text
387343} , null, 8, [\\ "textContent\\ "]);"
0 commit comments