!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@xysfe/actui/es/assets/utils/assign.js"),require("@xysfe/actui/es/Validator/index.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/assign.js","@xysfe/actui/es/Validator/index.js"],t):"object"==typeof exports?exports["assets/mixins/dynamic-form.js"]=t(require("@xysfe/actui/es/assets/utils/assign.js"),require("@xysfe/actui/es/Validator/index.js")):e["assets/mixins/dynamic-form.js"]=t(e["@xysfe/actui/es/assets/utils/assign.js"],e["@xysfe/actui/es/Validator/index.js"])}("undefined"!=typeof self?self:this,function(e,t){return function(e){function t(r){if(n[r])return n[r].exports;var s=n[r]={i:r,l:!1,exports:{}};return e[r].call(s.exports,s,s.exports,t),s.l=!0,s.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="../es",t(t.s=728)}({118:function(e,t,n){e.exports={default:n(119),__esModule:!0}},119:function(e,t,n){var r=n(2),s=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return s.stringify.apply(s,arguments)}},2:function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},271:function(e,n){e.exports=t},590:function(e,t,n){"use strict";var r=n(118),s=n.n(r),i=n(79),a=n.n(i),o=n(271),u=n.n(o);t.a={data:function(){return{pageData:{}}},props:{content:{type:Object,default:function(){return{}}}},watch:{content:{deep:!0,immediate:!0,handler:function(e){this.refresh(e)}}},methods:{refresh:function(e){this.pageData=JSON.parse(s()(a()({},e)))},errTips:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";this.pageData.form[e].isShowTips=!0,this.pageData.form[e].isEmpty=t,this.pageData.form[e].errTips=n,this.refresh(this.pageData)},getMobile:function(){if(this.pageData.form&&this.pageData.form.length)for(var e=0;e<this.pageData.form.length;++e){var t=this.pageData.form[e];if("mobile"===t.key)return this.checkInput(t,t.value)?[e,t.value,!0]:[e,t.value,!1]}return[-1,"",!1]},checkFormInput:function(){var e=this,t=this.pageData,n={};if(!t.form||t.form.length<=0)return[!0,n];var r="",s=!1,i=!0;return t.form.map(function(t,a){(t.validateType&&t.validateType.includes("required")||t.value)&&(t.isEmpty=!1,t.isShowTips=!1,t.tips="",t.value=t.value?t.value:"",r="",s=!1,e.checkInput(t,t.value)||(r=a),""===t.value.replace(/^\s+|\s+$/g,"")&&(s=!0,r=a),""!==r&&(i=!1,t.isEmpty=s,t.isShowTips=!0)),n[t.key]=t.value}),this.refresh(t),[i,n]},checkInput:function(e,t){return!0===(new u.a).data(t).add(e.validateType).start()},returnData:function(e,t,n){return{ret:e,errmsg:t,data:n}}}}},728:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(590),s=n(8),i=Object(s.a)(r.a,void 0,void 0,!1,null,null,null);i.options.__file="src\\mixins\\dynamic-form.vue",t.default=i.exports},79:function(t,n){t.exports=e},8:function(e,t,n){"use strict";function r(e,t,n,r,s,i,a,o){e=e||{};var u=typeof e.default;"object"!==u&&"function"!==u||(e=e.default);var f="function"==typeof e?e.options:e;t&&(f.render=t,f.staticRenderFns=n,f._compiled=!0),r&&(f.functional=!0),i&&(f._scopeId=i);var c;if(a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),s&&s.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},f._ssrRegister=c):s&&(c=o?function(){s.call(this,this.$root.$options.shadowRoot)}:s),c)if(f.functional){f._injectStyles=c;var p=f.render;f.render=function(e,t){return c.call(t),p(e,t)}}else{var l=f.beforeCreate;f.beforeCreate=l?[].concat(l,c):[c]}return{exports:e,options:f}}t.a=r}})});