|
|
@@ -71,13 +71,34 @@ export function render(_ctx) {
|
|
|
`;
|
|
|
|
|
|
exports[`compile > directives > v-on > event modifier 1`] = `
|
|
|
-"import { template as _template, children as _children, on as _on, withModifiers as _withModifiers } from 'vue/vapor';
|
|
|
+"import { template as _template, children as _children, on as _on, withModifiers as _withModifiers, withKeys as _withKeys } from 'vue/vapor';
|
|
|
|
|
|
export function render(_ctx) {
|
|
|
- const t0 = _template(\\"<div></div>\\")
|
|
|
+ const t0 = _template(\\"<a></a><form></form><a></a><div></div><div></div><a></a><div></div><input><input><input><input><input><input><input><input><input><input><input><input><input><input><input>\\")
|
|
|
const n0 = t0()
|
|
|
- const { 0: [n1],} = _children(n0)
|
|
|
- _on(n1, \\"click\\", _withModifiers(handleClick, [\\"prevent\\", \\"stop\\"]))
|
|
|
+ const { 0: [n1], 1: [n2], 2: [n3], 3: [n4], 4: [n5], 5: [n6], 6: [n7], 7: [n8], 8: [n9], 9: [n10], 10: [n11], 11: [n12], 12: [n13], 13: [n14], 14: [n15], 15: [n16], 16: [n17], 17: [n18], 18: [n19], 19: [n20], 20: [n21], 21: [n22],} = _children(n0)
|
|
|
+ _on(n1, \\"click\\", _withModifiers(handleEvent, [\\"stop\\"]))
|
|
|
+ _on(n2, \\"submit\\", _withModifiers(handleEvent, [\\"prevent\\"]))
|
|
|
+ _on(n3, \\"click\\", _withModifiers(handleEvent, [\\"stop\\", \\"prevent\\"]))
|
|
|
+ _on(n4, \\"click\\", _withModifiers(handleEvent, [\\"self\\"]))
|
|
|
+ _on(n5, \\"click\\", handleEvent, { capture: true })
|
|
|
+ _on(n6, \\"click\\", handleEvent, { once: true })
|
|
|
+ _on(n7, \\"scroll\\", handleEvent, { passive: true })
|
|
|
+ _on(n8, \\"contextmenu\\", _withModifiers(handleEvent, [\\"right\\"]))
|
|
|
+ _on(n9, \\"click\\", _withModifiers(handleEvent, [\\"left\\"]))
|
|
|
+ _on(n10, \\"mouseup\\", _withModifiers(handleEvent, [\\"middle\\"]))
|
|
|
+ _on(n11, \\"contextmenu\\", _withModifiers(handleEvent, [\\"right\\"]))
|
|
|
+ _on(n12, \\"keyup\\", _withKeys(handleEvent, [\\"enter\\"]))
|
|
|
+ _on(n13, \\"keyup\\", _withKeys(handleEvent, [\\"tab\\"]))
|
|
|
+ _on(n14, \\"keyup\\", _withKeys(handleEvent, [\\"delete\\"]))
|
|
|
+ _on(n15, \\"keyup\\", _withKeys(handleEvent, [\\"esc\\"]))
|
|
|
+ _on(n16, \\"keyup\\", _withKeys(handleEvent, [\\"space\\"]))
|
|
|
+ _on(n17, \\"keyup\\", _withKeys(handleEvent, [\\"up\\"]))
|
|
|
+ _on(n18, \\"keyup\\", _withKeys(handleEvent, [\\"down\\"]))
|
|
|
+ _on(n19, \\"keyup\\", _withKeys(handleEvent, [\\"left\\"]))
|
|
|
+ _on(n20, \\"keyup\\", _withModifiers(submit, [\\"middle\\"]))
|
|
|
+ _on(n21, \\"keyup\\", _withModifiers(submit, [\\"middle\\", \\"self\\"]))
|
|
|
+ _on(n22, \\"keyup\\", _withKeys(_withModifiers(handleEvent, [\\"self\\"]), [\\"enter\\"]))
|
|
|
return n0
|
|
|
}"
|
|
|
`;
|