11// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22
33exports [` compiler: transition > basic 1` ] = `
4- "import { VaporTransition as _VaporTransition , applyVShow as _applyVShow , withVaporCtx as _withVaporCtx , createComponent as _createComponent , template as _template } from 'vue';
4+ "import { VaporTransition as _VaporTransition , applyVShow as _applyVShow , createComponent as _createComponent , template as _template } from 'vue';
55const t0 = _template("<h1 >foo</h1 >")
66
77export function render(_ctx) {
88 const n1 = _createComponent (_VaporTransition , { persisted : () => (" " ) }, {
9- " default" : _withVaporCtx ( () => {
9+ " default" : () => {
1010 const n0 = t0 ()
1111 _applyVShow (n0 , () => (_ctx .show ))
1212 return n0
13- })
13+ }
1414 }, true )
1515 return n1
1616} "
1717` ;
1818
1919exports [` compiler: transition > inject persisted when child has v-show 1` ] = `
20- "import { VaporTransition as _VaporTransition , applyVShow as _applyVShow , withVaporCtx as _withVaporCtx , createComponent as _createComponent , template as _template } from 'vue';
20+ "import { VaporTransition as _VaporTransition , applyVShow as _applyVShow , createComponent as _createComponent , template as _template } from 'vue';
2121const t0 = _template("<div ></div >")
2222
2323export function render(_ctx) {
2424 const n1 = _createComponent (_VaporTransition , { persisted : () => (" " ) }, {
25- " default" : _withVaporCtx ( () => {
25+ " default" : () => {
2626 const n0 = t0 ()
2727 _applyVShow (n0 , () => (_ctx .ok ))
2828 return n0
29- })
29+ }
3030 }, true )
3131 return n1
3232} "
3333` ;
3434
3535exports [` compiler: transition > the v-if/else-if/else branches in Transition should ignore comments 1` ] = `
36- "import { VaporTransition as _VaporTransition , setInsertionState as _setInsertionState , createIf as _createIf , withVaporCtx as _withVaporCtx , createComponent as _createComponent , template as _template } from 'vue';
36+ "import { VaporTransition as _VaporTransition , setInsertionState as _setInsertionState , createIf as _createIf , createComponent as _createComponent , template as _template } from 'vue';
3737const t0 = _template("<div >hey</div >")
3838const t1 = _template("<p ></p >")
3939const t2 = _template("<div ></div >")
4040
4141export function render(_ctx) {
4242 const n16 = _createComponent (_VaporTransition , null , {
43- " default" : _withVaporCtx ( () => {
43+ " default" : () => {
4444 const n0 = _createIf (() => (_ctx .a ), () => {
4545 const n2 = t0 ()
4646 n2 .$key = 2
@@ -63,14 +63,14 @@ export function render(_ctx) {
6363 return n14
6464 }))
6565 return [n0 , n3 , n7 ]
66- })
66+ }
6767 }, true )
6868 return n16
6969} "
7070` ;
7171
7272exports [` compiler: transition > v-show + appear 1` ] = `
73- "import { VaporTransition as _VaporTransition , applyVShow as _applyVShow , withVaporCtx as _withVaporCtx , createComponent as _createComponent , template as _template } from 'vue';
73+ "import { VaporTransition as _VaporTransition , applyVShow as _applyVShow , createComponent as _createComponent , template as _template } from 'vue';
7474const t0 = _template("<h1 >foo</h1 >")
7575
7676export function render(_ctx) {
@@ -79,49 +79,49 @@ export function render(_ctx) {
7979 appear : () => (" " ),
8080 persisted : () => (" " )
8181 }, {
82- " default" : _withVaporCtx ( () => {
82+ " default" : () => {
8383 const n0 = t0 ()
8484 deferredApplyVShows .push (() => _applyVShow (n0 , () => (_ctx .show )))
8585 return n0
86- })
86+ }
8787 }, true )
8888 deferredApplyVShows .forEach (fn => fn ())
8989 return n1
9090} "
9191` ;
9292
9393exports [` compiler: transition > work with dynamic keyed children 1` ] = `
94- "import { VaporTransition as _VaporTransition , createKeyedFragment as _createKeyedFragment , withVaporCtx as _withVaporCtx , createComponent as _createComponent , template as _template } from 'vue';
94+ "import { VaporTransition as _VaporTransition , createKeyedFragment as _createKeyedFragment , createComponent as _createComponent , template as _template } from 'vue';
9595const t0 = _template("<h1 >foo</h1 >")
9696
9797export function render(_ctx) {
9898 const n1 = _createComponent (_VaporTransition , null , {
99- " default" : _withVaporCtx ( () => {
99+ " default" : () => {
100100 return _createKeyedFragment (() => _ctx .key , () => {
101101 const n0 = t0 ()
102102 n0 .$key = _ctx .key
103103 return n0
104104 })
105- })
105+ }
106106 }, true )
107107 return n1
108108} "
109109` ;
110110
111111exports [` compiler: transition > work with v-if 1` ] = `
112- "import { VaporTransition as _VaporTransition , createIf as _createIf , withVaporCtx as _withVaporCtx , createComponent as _createComponent , template as _template } from 'vue';
112+ "import { VaporTransition as _VaporTransition , createIf as _createIf , createComponent as _createComponent , template as _template } from 'vue';
113113const t0 = _template("<h1 >foo</h1 >")
114114
115115export function render(_ctx) {
116116 const n3 = _createComponent (_VaporTransition , null , {
117- " default" : _withVaporCtx ( () => {
117+ " default" : () => {
118118 const n0 = _createIf (() => (_ctx .show ), () => {
119119 const n2 = t0 ()
120120 n2 .$key = 2
121121 return n2
122122 })
123123 return n0
124- })
124+ }
125125 }, true )
126126 return n3
127127} "
0 commit comments