(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/thorui/tui-textarea/tui-textarea"],{158:function(e,t,n){"use strict";n.r(t);var i=n(159),u=n(161);for(var r in u)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return u[e]}))}(r);n(164);var a,l=n(32),o=Object(l["default"])(u["default"],i["render"],i["staticRenderFns"],!1,null,null,null,!1,i["components"],a);o.options.__file="components/thorui/tui-textarea/tui-textarea.vue",t["default"]=o.exports},159:function(e,t,n){"use strict";n.r(t);var i=n(160);n.d(t,"render",(function(){return i["render"]})),n.d(t,"staticRenderFns",(function(){return i["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return i["recyclableRender"]})),n.d(t,"components",(function(){return i["components"]}))},160:function(e,t,n){"use strict";var i;n.r(t),n.d(t,"render",(function(){return u})),n.d(t,"staticRenderFns",(function(){return a})),n.d(t,"recyclableRender",(function(){return r})),n.d(t,"components",(function(){return i}));var u=function(){var e=this,t=e.$createElement;e._self._c},r=!1,a=[];u._withStripped=!0},161:function(e,t,n){"use strict";n.r(t);var i=n(162),u=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(r);t["default"]=u.a},162:function(e,t,n){"use strict";(function(e){var i=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=i(n(163)),r={name:"tui-textarea",emits:["input","update:modelValue","focus","blur","confirm","click","linechange","keyboardheightchange"],behaviors:["wx://form-field-group"],options:{addGlobalClass:!0,virtualHost:!0},props:{required:{type:Boolean,default:!1},requiredColor:{type:String,default:"#EB0909"},requiredTop:{type:String,default:"32rpx"},label:{type:String,default:""},labelSize:{type:Number,default:32},labelColor:{type:String,default:"#333"},labelWidth:{type:Number,default:140},focus:{type:Boolean,default:!1},autoHeight:{type:Boolean,default:!1},fixed:{type:Boolean,default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},name:{type:String,default:""},value:{type:[Number,String],default:""},disabled:{type:Boolean,default:!1},maxlength:{type:[Number,String],default:140},cursorSpacing:{type:Number,default:0},showConfirmBar:{type:Boolean,default:!0},cursor:{type:Number,default:-1},selectionStart:{type:Number,default:-1},selectionEnd:{type:Number,default:-1},adjustPosition:{type:Boolean,default:!0},disableDefaultPadding:{type:Boolean,default:!0},holdKeyboard:{type:Boolean,default:!1},height:{type:String,default:"200rpx"},minHeight:{type:String,default:"200rpx"},flexStart:{type:Boolean,default:!1},size:{type:Number,default:32},color:{type:String,default:"#333"},textareaBorder:{type:Boolean,default:!1},borderTop:{type:Boolean,default:!0},borderBottom:{type:Boolean,default:!0},lineLeft:{type:Boolean,default:!1},trim:{type:Boolean,default:!0},textRight:{type:Boolean,default:!1},padding:{type:String,default:"26rpx 30rpx"},backgroundColor:{type:String,default:"#FFFFFF"},marginTop:{type:Number,default:0},isCounter:{type:Boolean,default:!1},counterColor:{type:String,default:"#999"},counterSize:{type:Number,default:28}},data:function(){return{placeholderStyl:"",count:0,focused:!1,inputVal:""}},watch:{focus:function(e){var t=this;this.$nextTick((function(){t.focused=e}))},placeholderStyle:function(){this.fieldPlaceholderStyle()},value:function(e){this.inputVal=e||"",this.count=this.getCount(this.inputVal.length)}},created:function(){this.inputVal=this.value||"",this.count=this.getCount(this.inputVal.length),this.fieldPlaceholderStyle()},mounted:function(){var e=this;this.$nextTick((function(){e.focused=e.focus}))},methods:{getCount:function(e){var t=Number(this.maxlength);return e>t&&-1!==t?t:e},fieldPlaceholderStyle:function(){if(this.placeholderStyle)this.placeholderStyl=this.placeholderStyle;else{var t=e.upx2px(this.size);this.placeholderStyl="fontSize:".concat(t,"px")}},onInput:function(e){var t=e.detail.value;this.trim&&(t=this.trimStr(t));var n=t.length,i=Number(this.maxlength);n>i&&-1!==i&&((0,u.default)("lenth"),t=t.substring(0,i-1)),this.count=n,this.$emit("input",t)},onFocus:function(e){this.$emit("focus",e)},onBlur:function(e){this.$emit("blur",e)},onConfirm:function(e){this.$emit("confirm",e.detail.value)},fieldClick:function(){this.$emit("click",{name:this.name})},onLinechange:function(e){this.$emit("linechange",e.detail)},onKeyboardheightchange:function(e){this.$emit("keyboardheightchange",e.detail)},trimStr:function(e){return e.replace(/^\s+|\s+$/g,"")}}};t.default=r}).call(this,n(2)["default"])},164:function(e,t,n){"use strict";n.r(t);var i=n(165),u=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(r);t["default"]=u.a},165:function(e,t,n){}}]);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/components/thorui/tui-textarea/tui-textarea.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/thorui/tui-textarea/tui-textarea-create-component',
    {
        'components/thorui/tui-textarea/tui-textarea-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('2')['createComponent'](__webpack_require__(158))
        })
    },
    [['components/thorui/tui-textarea/tui-textarea-create-component']]
]);
