1 |
- {"version":3,"sources":["../../../src/components/VTextField/index.js"],"names":[],"mappings":";;;;;;;;;;;AACA;;;;AACA;;;;AACA;;;;AACA;;;;AAEA;AACA;AACA,IAAM,UAAU;AACd,gBAAY,IADE;AAGd,kBAAc,oBAHA;AAKd,WAAO;AACL,kBAAU,OADL;AAEL,mBAAW;AAFN,KALO;AAUd,UAVc,kBAUN,CAVM,QAU2B;AAAA,YAA5B,KAA4B,QAA5B,KAA4B;AAAA,YAArB,IAAqB,QAArB,IAAqB;AAAA,YAAf,KAAe,QAAf,KAAe;AAAA,YAAR,MAAQ,QAAR,MAAQ;;AACvC,4CAAqB,IAArB;AAEA,YAAM,WAAW,sCAAa,OAAb,EAAsB,CAAtB,CAAjB;AAEA,YAAI,MAAM,QAAV,EAAoB;AAClB,oCAAU,yBAAV,EAAqC,sBAArC,EAA6D,OAA7D,EAAsE,MAAtE;AACD;AAED,YAAI,MAAM,SAAV,EAAqB;AACnB,oCAAU,2BAAV,EAAuC,cAAvC,EAAuD,OAAvD,EAAgE,MAAhE;AACD;AAED,YAAI,MAAM,QAAN,IAAkB,MAAM,SAA5B,EAAuC;AACrC,iBAAK,KAAL,CAAW,OAAX,GAAqB,MAAM,QAA3B;AACA,mBAAO,EAAE,mBAAF,EAAa,IAAb,EAAmB,QAAnB,CAAP;AACD,SAHD,MAGO;AACL,mBAAO,EAAE,oBAAF,EAAc,IAAd,EAAoB,QAApB,CAAP;AACD;AACF;AA7Ba,CAAhB;QAgCoB,U,GAAX,O;kBACM,O","sourcesContent":["import VTextField from './VTextField'\nimport VTextarea from '../VTextarea/VTextarea'\nimport rebuildSlots from '../../util/rebuildFunctionalSlots'\nimport dedupeModelListeners from '../../util/dedupeModelListeners'\nimport { deprecate } from '../../util/console'\n\n// TODO: remove this in v2.0\n/* @vue/component */\nconst wrapper = {\n functional: true,\n\n $_wrapperFor: VTextField,\n\n props: {\n textarea: Boolean,\n multiLine: Boolean\n },\n\n render (h, { props, data, slots, parent }) {\n dedupeModelListeners(data)\n\n const children = rebuildSlots(slots(), h)\n\n if (props.textarea) {\n deprecate('<v-text-field textarea>', '<v-textarea outline>', wrapper, parent)\n }\n\n if (props.multiLine) {\n deprecate('<v-text-field multi-line>', '<v-textarea>', wrapper, parent)\n }\n\n if (props.textarea || props.multiLine) {\n data.attrs.outline = props.textarea\n return h(VTextarea, data, children)\n } else {\n return h(VTextField, data, children)\n }\n }\n}\n\nexport { wrapper as VTextField }\nexport default wrapper\n"],"sourceRoot":""}
|