(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/thorui/tui-input/tui-input"],{108:function(e,t,n){"use strict";n.r(t);var i=n(109),u=n(111);for(var r in u)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return u[e]}))}(r);n(113);var o,l=n(32),a=Object(l["default"])(u["default"],i["render"],i["staticRenderFns"],!1,null,"e795a7dc",null,!1,i["components"],o);a.options.__file="components/thorui/tui-input/tui-input.vue",t["default"]=a.exports},109:function(e,t,n){"use strict";n.r(t);var i=n(110);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"]}))},110:function(e,t,n){"use strict";var i;n.r(t),n.d(t,"render",(function(){return u})),n.d(t,"staticRenderFns",(function(){return o})),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,o=[];u._withStripped=!0},111:function(e,t,n){"use strict";n.r(t);var i=n(112),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},112:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={name:"tui-input",emits:["input","update:modelValue","focus","blur","confirm","click","keyboardheightchange"],behaviors:["wx://form-field-group"],options:{addGlobalClass:!0,virtualHost:!0},props:{required:{type:Boolean,default:!1},requiredColor:{type:String,default:"#EB0909"},label:{type:String,default:""},labelSize:{type:Number,default:32},labelColor:{type:String,default:"#333"},labelWidth:{type:Number,default:140},clearable:{type:Boolean,default:!1},clearSize:{type:Number,default:15},clearColor:{type:String,default:"#bfbfbf"},focus:{type:Boolean,default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},name:{type:String,default:""},value:{type:[Number,String],default:""},modelModifiers:{default:function(){return{}}},type:{type:String,default:"text"},password:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},maxlength:{type:[Number,String],default:140},min:{type:[Number,String],default:"NaN"},max:{type:[Number,String],default:"NaN"},cursorSpacing:{type:Number,default:0},confirmType:{type:String,default:"done"},confirmHold:{type:Boolean,default:!1},cursor:{type:Number,default:-1},selectionStart:{type:Number,default:-1},selectionEnd:{type:Number,default:-1},adjustPosition:{type:Boolean,default:!0},holdKeyboard:{type:Boolean,default:!1},autoBlur:{type:Boolean,default:!1},size:{type:[Number,String],default:32},color:{type:String,default:"#333"},inputBorder:{type:Boolean,default:!1},isFillet:{type:Boolean,default:!1},borderTop:{type:Boolean,default:!1},borderBottom:{type:Boolean,default:!0},lineLeft:{type:Boolean,default:!0},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}},data:function(){return{placeholderStyl:"",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}},created:function(){this.inputVal=this.value,this.fieldPlaceholderStyle()},mounted:function(){var e=this;this.$nextTick((function(){setTimeout((function(){e.focused=e.focus}),120)}))},methods:{fieldPlaceholderStyle:function(){if(this.placeholderStyle)this.placeholderStyl=this.placeholderStyle;else{var t=e.upx2px(this.size);this.placeholderStyl="font-size:".concat(t,"px")}},onInput:function(e){var t=this,n=e.detail.value;if(this.trim&&(n=this.trimStr(n)),this.inputVal=n,this.modelModifiers.number||"digit"===this.type||"number"===this.type){var i=Number(n);if("number"===typeof i){var u=Number(this.min),r=Number(this.max);"number"===typeof u&&i<u?i=u:"number"===typeof r&&r<i&&(i=r)}n=isNaN(i)?n:i}this.$nextTick((function(){""!==e.detail.value&&(t.inputVal=n)})),this.$emit("input",n)},onFocus:function(e){this.$emit("focus",e)},onBlur:function(e){this.$emit("blur",e)},onConfirm:function(e){this.$emit("confirm",e)},onClear:function(t){this.disabled||(e.hideKeyboard(),this.inputVal="",this.$emit("input",""))},fieldClick:function(){this.$emit("click",{name:this.name})},onKeyboardheightchange:function(e){this.$emit("keyboardheightchange",e.detail)},trimStr:function(e){return e.replace(/^\s+|\s+$/g,"")}}};t.default=n}).call(this,n(2)["default"])},113:function(e,t,n){"use strict";n.r(t);var i=n(114),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},114:function(e,t,n){}}]);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/components/thorui/tui-input/tui-input.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/thorui/tui-input/tui-input-create-component',
    {
        'components/thorui/tui-input/tui-input-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('2')['createComponent'](__webpack_require__(108))
        })
    },
    [['components/thorui/tui-input/tui-input-create-component']]
]);
