|
|
@@ -1,5 +1,42 @@
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
+exports[`compiler: transform v-model input w/ dynamic v-bind 1`] = `
|
|
|
+"const _Vue = Vue
|
|
|
+
|
|
|
+return function render() {
|
|
|
+ with (this) {
|
|
|
+ const { vModelDynamic: _vModelDynamic, mergeProps: _mergeProps, createVNode: _createVNode, withDirectives: _withDirectives, createBlock: _createBlock, openBlock: _openBlock } = _Vue
|
|
|
+
|
|
|
+ return (_openBlock(), _withDirectives(_createBlock(\\"input\\", _mergeProps(obj, {
|
|
|
+ modelValue: model,
|
|
|
+ \\"onUpdate:modelValue\\": $event => (model = $event)
|
|
|
+ }), null, 16 /* FULL_PROPS */, [\\"modelValue\\", \\"onUpdate:modelValue\\"]), [
|
|
|
+ [_vModelDynamic, model]
|
|
|
+ ]))
|
|
|
+ }
|
|
|
+}"
|
|
|
+`;
|
|
|
+
|
|
|
+exports[`compiler: transform v-model input w/ dynamic v-bind 2`] = `
|
|
|
+"const _Vue = Vue
|
|
|
+
|
|
|
+return function render() {
|
|
|
+ with (this) {
|
|
|
+ const { vModelDynamic: _vModelDynamic, createVNode: _createVNode, withDirectives: _withDirectives, resolveDirective: _resolveDirective, createBlock: _createBlock, openBlock: _openBlock } = _Vue
|
|
|
+
|
|
|
+ const _directive_bind = _resolveDirective(\\"bind\\")
|
|
|
+
|
|
|
+ return (_openBlock(), _withDirectives(_createBlock(\\"input\\", {
|
|
|
+ modelValue: model,
|
|
|
+ \\"onUpdate:modelValue\\": $event => (model = $event)
|
|
|
+ }, null, 8 /* PROPS */, [\\"modelValue\\", \\"onUpdate:modelValue\\"]), [
|
|
|
+ [_directive_bind, val, key],
|
|
|
+ [_vModelDynamic, model]
|
|
|
+ ]))
|
|
|
+ }
|
|
|
+}"
|
|
|
+`;
|
|
|
+
|
|
|
exports[`compiler: transform v-model modifiers .lazy 1`] = `
|
|
|
"const _Vue = Vue
|
|
|
|