@@ -26,11 +26,13 @@ exports[`compiler: transform <slot> outlets > default slot outlet with props 1`]
26
26
"import { createSlot as _createSlot } from 'vue/vapor';
27
27
28
28
export function render(_ctx) {
29
- const n0 = _createSlot (" default" , [{
30
- foo : () => (" bar" ),
31
- baz : () => (_ctx .qux ),
32
- fooBar : () => (_ctx .foo - _ctx .bar )
33
- }])
29
+ const n0 = _createSlot (" default" , [
30
+ {
31
+ foo : () => (" bar" ),
32
+ baz : () => (_ctx .qux ),
33
+ fooBar : () => (_ctx .foo - _ctx .bar )
34
+ }
35
+ ])
34
36
return n0
35
37
} "
36
38
`;
@@ -88,10 +90,12 @@ exports[`compiler: transform <slot> outlets > statically named slot outlet with
88
90
"import { createSlot as _createSlot } from 'vue/vapor';
89
91
90
92
export function render(_ctx) {
91
- const n0 = _createSlot (" foo" , [{
92
- foo : () => (" bar" ),
93
- baz : () => (_ctx .qux )
94
- }])
93
+ const n0 = _createSlot (" foo" , [
94
+ {
95
+ foo : () => (" bar" ),
96
+ baz : () => (_ctx .qux )
97
+ }
98
+ ])
95
99
return n0
96
100
} "
97
101
`;
@@ -100,11 +104,11 @@ exports[`compiler: transform <slot> outlets > statically named slot outlet with
100
104
"import { createSlot as _createSlot } from 'vue/vapor';
101
105
102
106
export function render(_ctx) {
103
- const n0 = _createSlot (" foo" , [{
104
- foo : () => (" bar" )
105
- }, () => (_ctx .obj ), {
106
- baz : () => (_ctx .qux )
107
- } ])
107
+ const n0 = _createSlot (" foo" , [
108
+ { foo : () => (" bar" ) },
109
+ () => (_ctx .obj ),
110
+ { baz : () => (_ctx .qux ) }
111
+ ])
108
112
return n0
109
113
} "
110
114
`;
@@ -114,11 +118,11 @@ exports[`compiler: transform <slot> outlets > statically named slot outlet with
114
118
import { createSlot as _createSlot } from 'vue/vapor';
115
119
116
120
export function render(_ctx) {
117
- const n0 = _createSlot (" default" , [{
118
- onClick : () => _ctx .foo
119
- }, () => (_toHandlers (_ctx .bar )), {
120
- baz : () => (_ctx .qux )
121
- } ])
121
+ const n0 = _createSlot (" default" , [
122
+ { onClick : () => _ctx .foo },
123
+ () => (_toHandlers (_ctx .bar )),
124
+ { baz : () => (_ctx .qux ) }
125
+ ])
122
126
return n0
123
127
} "
124
128
`;
0 commit comments