!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/common/input.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/common/input.js"],e):"object"==typeof exports?exports["assets/common/dynamicform.js"]=e(require("@xysfe/actui/es/assets/common/input.js")):t["assets/common/dynamicform.js"]=e(t["@xysfe/actui/es/assets/common/input.js"])}("undefined"!=typeof self?self:this,function(t){return function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=899)}({549:function(e,n){e.exports=t},672:function(t,e,n){"use strict";var o=n(549),r=n.n(o);e.a={name:"ActDynamicForm",components:{ActInput:r.a},props:{form:{type:Array,default:function(){return[]}},verifyColor:{type:String,default:"#f9433d"}},data:function(){return{seconds:0}},mounted:function(){this.$on("startcountdown",this.startCountDown)},methods:{getInfoCode:function(t){this.seconds||this.$emit("getcode",{index:t})},getInputType:function(t){return t.inputType?t.inputType:"text"},getErrTips:function(t){return t.isShowTips&&t.tips?t.tips:t.isShowTips?t.isEmpty?t.emptyTips:t.errTips:""},startCountDown:function(){this.seconds=60,this.clearTimer(),this.freshTime()},freshTime:function(){var t=this;this.timer=setInterval(function(){t.seconds>0?t.seconds--:t.clearTimer()},1e3)},clearTimer:function(){this.timer&&clearInterval(this.timer)}}}},8:function(t,e,n){"use strict";function o(t,e,n,o,r,s,i,c){t=t||{};var u=typeof t.default;"object"!==u&&"function"!==u||(t=t.default);var a="function"==typeof t?t.options:t;e&&(a.render=e,a.staticRenderFns=n,a._compiled=!0),o&&(a.functional=!0),s&&(a._scopeId=s);var f;if(i?(f=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},a._ssrRegister=f):r&&(f=c?function(){r.call(this,this.$root.$options.shadowRoot)}:r),f)if(a.functional){a._injectStyles=f;var l=a.render;a.render=function(t,e){return f.call(e),l(t,e)}}else{var p=a.beforeCreate;a.beforeCreate=p?[].concat(p,f):[f]}return{exports:t,options:a}}e.a=o},899:function(t,e,n){"use strict";function o(t){c||n(900)}Object.defineProperty(e,"__esModule",{value:!0});var r=n(672),s=n(901),i=n(8),c=!1,u=o,a=Object(i.a)(r.a,s.a,s.b,!1,u,"data-v-5a09a7fc",null);a.options.__file="src\\components\\common\\dynamicform.vue",e.default=a.exports},900:function(t,e){},901:function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return r});var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",t._l(t.form,function(e,o){return n("div",{key:o},[n("act-input",{staticClass:"act-form-input",attrs:{tipscolor:t.verifyColor,tips:t.getErrTips(e),type:t.getInputType(e),placeholder:e.placeholder},scopedSlots:t._u(["verifycode"!==e.key?{key:"left",fn:function(){return[n("div",{staticClass:"act-form-left"},[t._v("\n          "+t._s(e.label)+"\n        ")])]},proxy:!0}:{key:"right",fn:function(){return[t.seconds?n("div",{staticClass:"act-mobile-word",style:{color:t.verifyColor}},[t._v("\n          剩余"+t._s(t.seconds)+"秒\n        ")]):n("div",{staticClass:"act-mobile-word",style:{color:t.verifyColor},on:{click:function(e){return t.getInfoCode(o)}}},[t._v("\n          "+t._s(e.label?e.label:"发送验证码")+"\n        ")])]},proxy:!0}],null,!0),model:{value:e.value,callback:function(n){t.$set(e,"value","string"==typeof n?n.trim():n)},expression:"item.value"}})],1)}),0)},r=[];o._withStripped=!0}})});