@@ -4,7 +4,7 @@ exports[`compile > bindings 1`] = `
4
4
"import { renderEffect as _renderEffect , setText as _setText , template as _template } from 'vue/vapor';
5
5
const t0 = _template("<div ></div >")
6
6
7
- export function render(_ctx) {
7
+ export function render(_ctx, $props ) {
8
8
const n0 = t0 ()
9
9
_renderEffect (() => _setText (n0 , " count is " , _ctx .count , " ." ))
10
10
return n0
@@ -56,7 +56,7 @@ exports[`compile > directives > custom directive > basic 1`] = `
56
56
"import { withDirectives as _withDirectives , template as _template } from 'vue/vapor';
57
57
const t0 = _template("<div ></div >")
58
58
59
- export function render(_ctx) {
59
+ export function render(_ctx, $props ) {
60
60
const n0 = t0 ()
61
61
_withDirectives (n0 , [[_ctx .vExample ]])
62
62
return n0
@@ -67,7 +67,7 @@ exports[`compile > directives > custom directive > binding value 1`] = `
67
67
"import { withDirectives as _withDirectives , template as _template } from 'vue/vapor';
68
68
const t0 = _template("<div ></div >")
69
69
70
- export function render(_ctx) {
70
+ export function render(_ctx, $props ) {
71
71
const n0 = t0 ()
72
72
_withDirectives (n0 , [[_ctx .vExample , () => _ctx .msg ]])
73
73
return n0
@@ -78,7 +78,7 @@ exports[`compile > directives > custom directive > dynamic parameters 1`] = `
78
78
"import { withDirectives as _withDirectives , template as _template } from 'vue/vapor';
79
79
const t0 = _template("<div ></div >")
80
80
81
- export function render(_ctx) {
81
+ export function render(_ctx, $props ) {
82
82
const n0 = t0 ()
83
83
_withDirectives (n0 , [[_ctx .vExample , () => _ctx .msg , _ctx .foo ]])
84
84
return n0
@@ -89,7 +89,7 @@ exports[`compile > directives > custom directive > modifiers 1`] = `
89
89
"import { withDirectives as _withDirectives , template as _template } from 'vue/vapor';
90
90
const t0 = _template("<div ></div >")
91
91
92
- export function render(_ctx) {
92
+ export function render(_ctx, $props ) {
93
93
const n0 = t0 ()
94
94
_withDirectives (n0 , [[_ctx .vExample , () => _ctx .msg , void 0 , { bar: true }]])
95
95
return n0
@@ -100,7 +100,7 @@ exports[`compile > directives > custom directive > modifiers w/o binding 1`] = `
100
100
"import { withDirectives as _withDirectives , template as _template } from 'vue/vapor';
101
101
const t0 = _template("<div ></div >")
102
102
103
- export function render(_ctx) {
103
+ export function render(_ctx, $props ) {
104
104
const n0 = t0 ()
105
105
_withDirectives (n0 , [[_ctx .vExample , void 0 , void 0 , { " foo-bar" : true }]])
106
106
return n0
@@ -111,7 +111,7 @@ exports[`compile > directives > custom directive > static parameters 1`] = `
111
111
"import { withDirectives as _withDirectives , template as _template } from 'vue/vapor';
112
112
const t0 = _template("<div ></div >")
113
113
114
- export function render(_ctx) {
114
+ export function render(_ctx, $props ) {
115
115
const n0 = t0 ()
116
116
_withDirectives (n0 , [[_ctx .vExample , () => _ctx .msg , " foo" ]])
117
117
return n0
@@ -122,7 +122,7 @@ exports[`compile > directives > custom directive > static parameters and modifie
122
122
"import { withDirectives as _withDirectives , template as _template } from 'vue/vapor';
123
123
const t0 = _template("<div ></div >")
124
124
125
- export function render(_ctx) {
125
+ export function render(_ctx, $props ) {
126
126
const n0 = t0 ()
127
127
_withDirectives (n0 , [[_ctx .vExample , () => _ctx .msg , " foo" , { bar: true }]])
128
128
return n0
@@ -143,7 +143,7 @@ exports[`compile > directives > v-pre > basic 1`] = `
143
143
"import { template as _template } from 'vue/vapor';
144
144
const t0 = _template("<div :id=\\"foo\\"><Comp></Comp>{{ bar }}</div>")
145
145
146
- export function render(_ctx) {
146
+ export function render(_ctx, $props ) {
147
147
const n0 = t0 ()
148
148
return n0
149
149
} "
@@ -154,7 +154,7 @@ exports[`compile > directives > v-pre > should not affect siblings after it 1`]
154
154
const t0 = _template("<div :id=\\"foo\\"><Comp></Comp>{{ bar }}</div>")
155
155
const t1 = _template("<div></div>")
156
156
157
- export function render(_ctx) {
157
+ export function render(_ctx, $props ) {
158
158
const _component_Comp = _resolveComponent (" Comp" )
159
159
const n0 = t0 ()
160
160
const n3 = t1 ()
@@ -190,14 +190,14 @@ export function render(_ctx) {
190
190
`;
191
191
192
192
exports[`compile > expression parsing > interpolation 1`] = `
193
- " (() => {
193
+ " ((_ctx ) => {
194
194
const n0 = _createTextNode (() => [a + b .value ])
195
195
return n0
196
196
} )()"
197
197
`;
198
198
199
199
exports[`compile > expression parsing > v-bind 1`] = `
200
- "(() => {
200
+ "((_ctx ) => {
201
201
const n0 = t0 ()
202
202
_renderEffect (() => _setDynamicProps (n0 , { [key .value + 1 ]: _unref (foo )[key .value + 1 ]() }))
203
203
return n0
0 commit comments