(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-64edf21a"],{"0af0":function(t,e,r){"use strict";var i=r("c4c7"),s=r.n(i);s.a},"0d2b":function(t,e,r){"use strict";var i=r("2a95");r("8237");function s(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}e["a"]={props:{options:{type:Array,default:function(){return[]}},value:{type:String|Number|Array,default:""},placeholder:{type:String,default:""},title:{type:String,default:""},type:{type:String,default:"text"},suffix:{type:String,default:""},prefix:{type:String,default:""},styleModel:{type:String,default:""},className:{type:String,default:""},field:{type:String,default:""},timerType:{type:String,default:"timerange"},timerFormat:{type:String,default:"HH:mm:ss"},info:{type:String,default:""},on:{type:Object,default:function(){return{}}},validate:{type:Object,default:function(){return{}}},errorsValidate:{type:Array,default:function(){return[]}}},data:function(){return{valueModel:this.value,errorMessage:"",exampleImage:{store_terminal_number:"/statics/system/yilianyunPrinter.png",store_config_export_siid:"/statics/system/kuadi100Dump.png"},exampleSize:{store_terminal_number:364,store_config_export_siid:364}}},watch:{errorsValidate:{handler:function(t){var e=this;if(t){var r=t.find((function(t){return t.field===e.field}));this.errorMessage=r?r.message:""}else this.errorMessage=""},deep:!0}},methods:{getClassName:function(){var t=["input-build-"+this.field];this.errorMessage&&t.push("ivu-form-item-error");var e=this.validate[this.field]?this.validate[this.field].filter((function(t){return!0===t.required})):[];return e.length&&t.push("ivu-form-item-required"),t},changeEvent:function(t,e){"change"===t&&this.$emit("changeValue",{field:this.field,value:this.valueModel}),this.on[t]&&this.on[t](e),this.validator(t)},validator:function(t){var e=this,r=this.validate[this.field]?this.validate[this.field].filter((function(e){return e.trigger===t})):[];if(r.length){var a=new i["a"](this.validate),o=s({},this.field,this.valueModel);a.validate(o,(function(t,r){if(t){var i=t.find((function(t){return t.field===e.field}));e.errorMessage=i?i.message:""}else e.errorMessage=""}))}}}}},"3c35":function(t,e){(function(e){t.exports=e}).call(this,{})},8237:function(module,exports,__webpack_require__){(function(process,global){var __WEBPACK_AMD_DEFINE_RESULT__; /** * [js-md5]{@link https://github.com/emn178/js-md5} * * @namespace md5 * @version 0.7.3 * @author Chen, Yi-Cyuan [emn178@gmail.com] * @copyright Chen, Yi-Cyuan 2014-2017 * @license MIT */(function(){"use strict";var ERROR="input is invalid type",WINDOW="object"===typeof window,root=WINDOW?window:{};root.JS_MD5_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"===typeof self,NODE_JS=!root.JS_MD5_NO_NODE_JS&&"object"===typeof process&&process.versions&&process.versions.node;NODE_JS?root=global:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_MD5_NO_COMMON_JS&&"object"===typeof module&&module.exports,AMD=__webpack_require__("3c35"),ARRAY_BUFFER=!root.JS_MD5_NO_ARRAY_BUFFER&&"undefined"!==typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[128,32768,8388608,-2147483648],SHIFT=[0,8,16,24],OUTPUT_TYPES=["hex","array","digest","buffer","arrayBuffer","base64"],BASE64_ENCODE_CHAR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),blocks=[],buffer8;if(ARRAY_BUFFER){var buffer=new ArrayBuffer(68);buffer8=new Uint8Array(buffer),blocks=new Uint32Array(buffer)}!root.JS_MD5_NO_NODE_JS&&Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),!ARRAY_BUFFER||!root.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(t){return"object"===typeof t&&t.buffer&&t.buffer.constructor===ArrayBuffer});var createOutputMethod=function(t){return function(e){return new Md5(!0).update(e)[t]()}},createMethod=function(){var t=createOutputMethod("hex");NODE_JS&&(t=nodeWrap(t)),t.create=function(){return new Md5},t.update=function(e){return t.create().update(e)};for(var e=0;e>2]|=t[a]<>6,l[s++]=128|63&i):i<55296||i>=57344?(l[s++]=224|i>>12,l[s++]=128|i>>6&63,l[s++]=128|63&i):(i=65536+((1023&i)<<10|1023&t.charCodeAt(++a)),l[s++]=240|i>>18,l[s++]=128|i>>12&63,l[s++]=128|i>>6&63,l[s++]=128|63&i);else for(s=this.start;a>2]|=i<>2]|=(192|i>>6)<>2]|=(128|63&i)<=57344?(n[s>>2]|=(224|i>>12)<>2]|=(128|i>>6&63)<>2]|=(128|63&i)<>2]|=(240|i>>18)<>2]|=(128|i>>12&63)<>2]|=(128|i>>6&63)<>2]|=(128|63&i)<=64?(this.start=s-64,this.hash(),this.hashed=!0):this.start=s}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Md5.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,e=this.lastByteIndex;t[e>>2]|=EXTRA[3&e],e>=56&&(this.hashed||this.hash(),t[0]=t[16],t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0),t[14]=this.bytes<<3,t[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},Md5.prototype.hash=function(){var t,e,r,i,s,a,o=this.blocks;this.first?(t=o[0]-680876937,t=(t<<7|t>>>25)-271733879<<0,i=(-1732584194^2004318071&t)+o[1]-117830708,i=(i<<12|i>>>20)+t<<0,r=(-271733879^i&(-271733879^t))+o[2]-1126478375,r=(r<<17|r>>>15)+i<<0,e=(t^r&(i^t))+o[3]-1316259209,e=(e<<22|e>>>10)+r<<0):(t=this.h0,e=this.h1,r=this.h2,i=this.h3,t+=(i^e&(r^i))+o[0]-680876936,t=(t<<7|t>>>25)+e<<0,i+=(r^t&(e^r))+o[1]-389564586,i=(i<<12|i>>>20)+t<<0,r+=(e^i&(t^e))+o[2]+606105819,r=(r<<17|r>>>15)+i<<0,e+=(t^r&(i^t))+o[3]-1044525330,e=(e<<22|e>>>10)+r<<0),t+=(i^e&(r^i))+o[4]-176418897,t=(t<<7|t>>>25)+e<<0,i+=(r^t&(e^r))+o[5]+1200080426,i=(i<<12|i>>>20)+t<<0,r+=(e^i&(t^e))+o[6]-1473231341,r=(r<<17|r>>>15)+i<<0,e+=(t^r&(i^t))+o[7]-45705983,e=(e<<22|e>>>10)+r<<0,t+=(i^e&(r^i))+o[8]+1770035416,t=(t<<7|t>>>25)+e<<0,i+=(r^t&(e^r))+o[9]-1958414417,i=(i<<12|i>>>20)+t<<0,r+=(e^i&(t^e))+o[10]-42063,r=(r<<17|r>>>15)+i<<0,e+=(t^r&(i^t))+o[11]-1990404162,e=(e<<22|e>>>10)+r<<0,t+=(i^e&(r^i))+o[12]+1804603682,t=(t<<7|t>>>25)+e<<0,i+=(r^t&(e^r))+o[13]-40341101,i=(i<<12|i>>>20)+t<<0,r+=(e^i&(t^e))+o[14]-1502002290,r=(r<<17|r>>>15)+i<<0,e+=(t^r&(i^t))+o[15]+1236535329,e=(e<<22|e>>>10)+r<<0,t+=(r^i&(e^r))+o[1]-165796510,t=(t<<5|t>>>27)+e<<0,i+=(e^r&(t^e))+o[6]-1069501632,i=(i<<9|i>>>23)+t<<0,r+=(t^e&(i^t))+o[11]+643717713,r=(r<<14|r>>>18)+i<<0,e+=(i^t&(r^i))+o[0]-373897302,e=(e<<20|e>>>12)+r<<0,t+=(r^i&(e^r))+o[5]-701558691,t=(t<<5|t>>>27)+e<<0,i+=(e^r&(t^e))+o[10]+38016083,i=(i<<9|i>>>23)+t<<0,r+=(t^e&(i^t))+o[15]-660478335,r=(r<<14|r>>>18)+i<<0,e+=(i^t&(r^i))+o[4]-405537848,e=(e<<20|e>>>12)+r<<0,t+=(r^i&(e^r))+o[9]+568446438,t=(t<<5|t>>>27)+e<<0,i+=(e^r&(t^e))+o[14]-1019803690,i=(i<<9|i>>>23)+t<<0,r+=(t^e&(i^t))+o[3]-187363961,r=(r<<14|r>>>18)+i<<0,e+=(i^t&(r^i))+o[8]+1163531501,e=(e<<20|e>>>12)+r<<0,t+=(r^i&(e^r))+o[13]-1444681467,t=(t<<5|t>>>27)+e<<0,i+=(e^r&(t^e))+o[2]-51403784,i=(i<<9|i>>>23)+t<<0,r+=(t^e&(i^t))+o[7]+1735328473,r=(r<<14|r>>>18)+i<<0,e+=(i^t&(r^i))+o[12]-1926607734,e=(e<<20|e>>>12)+r<<0,s=e^r,t+=(s^i)+o[5]-378558,t=(t<<4|t>>>28)+e<<0,i+=(s^t)+o[8]-2022574463,i=(i<<11|i>>>21)+t<<0,a=i^t,r+=(a^e)+o[11]+1839030562,r=(r<<16|r>>>16)+i<<0,e+=(a^r)+o[14]-35309556,e=(e<<23|e>>>9)+r<<0,s=e^r,t+=(s^i)+o[1]-1530992060,t=(t<<4|t>>>28)+e<<0,i+=(s^t)+o[4]+1272893353,i=(i<<11|i>>>21)+t<<0,a=i^t,r+=(a^e)+o[7]-155497632,r=(r<<16|r>>>16)+i<<0,e+=(a^r)+o[10]-1094730640,e=(e<<23|e>>>9)+r<<0,s=e^r,t+=(s^i)+o[13]+681279174,t=(t<<4|t>>>28)+e<<0,i+=(s^t)+o[0]-358537222,i=(i<<11|i>>>21)+t<<0,a=i^t,r+=(a^e)+o[3]-722521979,r=(r<<16|r>>>16)+i<<0,e+=(a^r)+o[6]+76029189,e=(e<<23|e>>>9)+r<<0,s=e^r,t+=(s^i)+o[9]-640364487,t=(t<<4|t>>>28)+e<<0,i+=(s^t)+o[12]-421815835,i=(i<<11|i>>>21)+t<<0,a=i^t,r+=(a^e)+o[15]+530742520,r=(r<<16|r>>>16)+i<<0,e+=(a^r)+o[2]-995338651,e=(e<<23|e>>>9)+r<<0,t+=(r^(e|~i))+o[0]-198630844,t=(t<<6|t>>>26)+e<<0,i+=(e^(t|~r))+o[7]+1126891415,i=(i<<10|i>>>22)+t<<0,r+=(t^(i|~e))+o[14]-1416354905,r=(r<<15|r>>>17)+i<<0,e+=(i^(r|~t))+o[5]-57434055,e=(e<<21|e>>>11)+r<<0,t+=(r^(e|~i))+o[12]+1700485571,t=(t<<6|t>>>26)+e<<0,i+=(e^(t|~r))+o[3]-1894986606,i=(i<<10|i>>>22)+t<<0,r+=(t^(i|~e))+o[10]-1051523,r=(r<<15|r>>>17)+i<<0,e+=(i^(r|~t))+o[1]-2054922799,e=(e<<21|e>>>11)+r<<0,t+=(r^(e|~i))+o[8]+1873313359,t=(t<<6|t>>>26)+e<<0,i+=(e^(t|~r))+o[15]-30611744,i=(i<<10|i>>>22)+t<<0,r+=(t^(i|~e))+o[6]-1560198380,r=(r<<15|r>>>17)+i<<0,e+=(i^(r|~t))+o[13]+1309151649,e=(e<<21|e>>>11)+r<<0,t+=(r^(e|~i))+o[4]-145523070,t=(t<<6|t>>>26)+e<<0,i+=(e^(t|~r))+o[11]-1120210379,i=(i<<10|i>>>22)+t<<0,r+=(t^(i|~e))+o[2]+718787259,r=(r<<15|r>>>17)+i<<0,e+=(i^(r|~t))+o[9]-343485551,e=(e<<21|e>>>11)+r<<0,this.first?(this.h0=t+1732584193<<0,this.h1=e-271733879<<0,this.h2=r-1732584194<<0,this.h3=i+271733878<<0,this.first=!1):(this.h0=this.h0+t<<0,this.h1=this.h1+e<<0,this.h2=this.h2+r<<0,this.h3=this.h3+i<<0)},Md5.prototype.hex=function(){this.finalize();var t=this.h0,e=this.h1,r=this.h2,i=this.h3;return HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[15&i]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]},Md5.prototype.toString=Md5.prototype.hex,Md5.prototype.digest=function(){this.finalize();var t=this.h0,e=this.h1,r=this.h2,i=this.h3;return[255&t,t>>8&255,t>>16&255,t>>24&255,255&e,e>>8&255,e>>16&255,e>>24&255,255&r,r>>8&255,r>>16&255,r>>24&255,255&i,i>>8&255,i>>16&255,i>>24&255]},Md5.prototype.array=Md5.prototype.digest,Md5.prototype.arrayBuffer=function(){this.finalize();var t=new ArrayBuffer(16),e=new Uint32Array(t);return e[0]=this.h0,e[1]=this.h1,e[2]=this.h2,e[3]=this.h3,t},Md5.prototype.buffer=Md5.prototype.arrayBuffer,Md5.prototype.base64=function(){for(var t,e,r,i="",s=this.array(),a=0;a<15;)t=s[a++],e=s[a++],r=s[a++],i+=BASE64_ENCODE_CHAR[t>>>2]+BASE64_ENCODE_CHAR[63&(t<<4|e>>>4)]+BASE64_ENCODE_CHAR[63&(e<<2|r>>>6)]+BASE64_ENCODE_CHAR[63&r];return t=s[a],i+=BASE64_ENCODE_CHAR[t>>>2]+BASE64_ENCODE_CHAR[t<<4&63]+"==",i};var exports=createMethod();COMMON_JS?module.exports=exports:(root.md5=exports,AMD&&(__WEBPACK_AMD_DEFINE_RESULT__=function(){return exports}.call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))})()}).call(this,__webpack_require__("f28c"),__webpack_require__("c8ba"))},c4c7:function(t,e,r){},fdc7d:function(t,e,r){"use strict";r.r(e);var i=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("FormItem",{staticClass:"input-build",class:t.getClassName(),attrs:{label:t.title}},[r("i-switch",{attrs:{size:"large","true-value":t.getSwitch(!0),"false-value":t.getSwitch(!1)},on:{"on-change":function(e){return t.changeEvent("change",e)}},model:{value:t.valueModel,callback:function(e){t.valueModel=e},expression:"valueModel"}},[r("span",{attrs:{slot:"open"},slot:"open"},[t._v(t._s(t.getSwitch(!0,!0)))]),r("span",{attrs:{slot:"close"},slot:"close"},[t._v(t._s(t.getSwitch(!1,!0)))])]),t.info?r("div",{staticClass:"info-wrapper"},[t._v(t._s(t.info)+"\n "),t.exampleImage[t.field]?r("Poptip",{attrs:{placement:"bottom",trigger:"hover",width:t.exampleSize[t.field],transfer:!0}},[r("a",[t._v("查看示例")]),r("div",{staticClass:"exampleImg",class:364==t.exampleSize[t.field]?"on":"",attrs:{slot:"content"},slot:"content"},[r("img",{attrs:{src:t.baseURL+t.exampleImage[t.field],alt:""}})])]):t._e()],1):t._e()],1),t._l(t.control,(function(e){return[e.value===t.valueModel?[r("use-component",{attrs:{validate:t.validate,errorsValidate:t.errorsValidate,rules:e.componentsModel},on:{changeValue:t.changeValue}})]:t._e()]}))],2)},s=[],a=r("0d2b"),o=r("8ec4"),n=r("d708"),l={name:"switchBuild",mixins:[a["a"],o["a"]],components:{useComponent:function(){return Promise.resolve().then(r.bind(null,"05f7"))}},props:{control:{type:Array,default:function(){return[]}}},data:function(){return{baseURL:n["a"].apiBaseURL.replace(/adminapi/,"")}},created:function(){this.valueModel=null===this.valueModel?0:this.valueModel},methods:{changeValue:function(t){this.$emit("changeValue",{field:t.field,value:t.value})},getSwitch:function(t,e){var r=null;return this.options.length?(this.options.map((function(i){t&&void 0!==i.trueValue?r=e?i.label:i.trueValue:t||void 0===i.falseValue||(r=e?i.label:i.falseValue)})),r):t?e?"开启":1:e?"关闭":0}}},u=l,f=(r("0af0"),r("2877")),h=Object(f["a"])(u,i,s,!1,null,"e18d2330",null);e["default"]=h.exports}}]);