From d1ccdf99fb96c70b8f561647c48edf06b5d7c102 Mon Sep 17 00:00:00 2001 From: smallchill Date: Sat, 29 Apr 2023 22:03:55 +0800 Subject: [PATCH] =?UTF-8?q?:tada:=203.6.0.RELEASE=20vue3=E7=89=88=E5=89=8D?= =?UTF-8?q?=E7=AB=AF=E6=AD=A3=E5=BC=8F=E5=8F=91=E5=B8=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 +- package.json | 2 +- public/cdn/avue/2.10.10/avue.min.js | 9 ++ public/cdn/avue/2.10.10/index.css | 1 + public/cdn/avue/2.9.5/avue.min.js | 9 -- public/cdn/avue/2.9.5/index.css | 1 - public/index.html | 4 +- src/api/user.js | 22 +++-- src/config/website.js | 2 +- src/lang/en.js | 135 +++++++++++++++------------ src/lang/zh.js | 139 ++++++++++++++++------------ src/mock/menu.js | 9 -- src/page/index/index.vue | 16 ++-- src/store/modules/user.js | 29 ++++-- src/util/auth.js | 25 +++-- src/views/wel/index.vue | 24 ++++- 16 files changed, 258 insertions(+), 179 deletions(-) create mode 100644 public/cdn/avue/2.10.10/avue.min.js create mode 100755 public/cdn/avue/2.10.10/index.css delete mode 100644 public/cdn/avue/2.9.5/avue.min.js delete mode 100755 public/cdn/avue/2.9.5/index.css diff --git a/README.md b/README.md index 0e8669c..5e8446e 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@

- Downloads + Downloads Build Status Build Status Coverage Status - Downloads + Downloads Downloads @@ -45,12 +45,13 @@ * Sword-基于React:[https://sword.bladex.vip](https://sword.bladex.vip) ## 数据大屏 -* Caster-数据大屏展示系统:[https://caster.bladex.vip](https://caster.bladex.vip) +* 数据大屏展示系统:[https://data.bladex.vip](https://data.bladex.vip) ## 技术文档 * [SpringBlade开发手册一览](https://gitee.com/smallc/SpringBlade/wikis/SpringBlade开发手册) * [SpringBlade常见问题集锦](https://sns.bladex.vip/article-14966.html) * [SpringBlade基于Kuboard部署K8S](https://kuboard.cn/learning/k8s-practice/spring-blade/) +* [SpringBlade基于Rainbond部署](https://www.rainbond.com/docs/micro-service/example/blade) ## 项目地址 * 核心框架项目地址:[https://gitee.com/smallc/blade-tool](https://gitee.com/smallc/blade-tool) @@ -58,7 +59,8 @@ * 后端Github地址:[https://github.com/chillzhuang/SpringBlade](https://github.com/chillzhuang/SpringBlade) * 后端SpringBoot版:[https://gitee.com/smallc/SpringBlade/tree/boot/](https://gitee.com/smallc/SpringBlade/tree/boot/) * 前端框架Sword(基于React):[https://gitee.com/smallc/Sword](https://gitee.com/smallc/Sword) -* 前端框架Saber(基于Vue):[https://gitee.com/smallc/Saber](https://gitee.com/smallc/Saber) +* 前端框架Saber(基于Vue2):[https://gitee.com/smallc/Saber](https://gitee.com/smallc/Saber) +* 前端框架Saber3(基于Vue3):[https://gitee.com/smallc/Saber3](https://gitee.com/smallc/Saber/tree/3.x/) # 开源协议 Apache Licence 2.0 ([英文原文](http://www.apache.org/licenses/LICENSE-2.0.html)) diff --git a/package.json b/package.json index 160c688..1b2d1df 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "saber-admin", - "version": "3.5.0", + "version": "3.6.0", "private": true, "scripts": { "serve": "vue-cli-service serve", diff --git a/public/cdn/avue/2.10.10/avue.min.js b/public/cdn/avue/2.10.10/avue.min.js new file mode 100644 index 0000000..a4e3b67 --- /dev/null +++ b/public/cdn/avue/2.10.10/avue.min.js @@ -0,0 +1,9 @@ +/*! + * Avue.js v2.10.10 + * (c) 2017-2023 Smallwei + * Released under the MIT License. + * + */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("vue"),require("axios")):"function"==typeof define&&define.amd?define("AVUE",["vue","axios"],e):"object"==typeof exports?exports.AVUE=e(require("vue"),require("axios")):t.AVUE=e(t.Vue,t.axios)}(this,(function(__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__6__){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=9)}([function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"q",(function(){return isMediaType})),__webpack_require__.d(__webpack_exports__,"v",(function(){return uuid})),__webpack_require__.d(__webpack_exports__,"n",(function(){return getFixed})),__webpack_require__.d(__webpack_exports__,"l",(function(){return getAsVal})),__webpack_require__.d(__webpack_exports__,"t",(function(){return setAsVal})),__webpack_require__.d(__webpack_exports__,"r",(function(){return loadScript})),__webpack_require__.d(__webpack_exports__,"g",(function(){return downFile})),__webpack_require__.d(__webpack_exports__,"c",(function(){return createObj})),__webpack_require__.d(__webpack_exports__,"d",(function(){return dataURLtoFile})),__webpack_require__.d(__webpack_exports__,"k",(function(){return findObject})),__webpack_require__.d(__webpack_exports__,"s",(function(){return randomId})),__webpack_require__.d(__webpack_exports__,"p",(function(){return isJson})),__webpack_require__.d(__webpack_exports__,"e",(function(){return deepClone})),__webpack_require__.d(__webpack_exports__,"u",(function(){return setPx})),__webpack_require__.d(__webpack_exports__,"f",(function(){return detailDataType})),__webpack_require__.d(__webpack_exports__,"m",(function(){return getDicValue})),__webpack_require__.d(__webpack_exports__,"h",(function(){return filterParams})),__webpack_require__.d(__webpack_exports__,"i",(function(){return findArray})),__webpack_require__.d(__webpack_exports__,"j",(function(){return findNode})),__webpack_require__.d(__webpack_exports__,"o",(function(){return getPasswordChar})),__webpack_require__.d(__webpack_exports__,"a",(function(){return arraySort})),__webpack_require__.d(__webpack_exports__,"b",(function(){return clearVal})),__webpack_require__.d(__webpack_exports__,"w",(function(){return vaildData}));var _validate__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2),global_variable__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1);function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var isMediaType=function(t,e){if(!Object(_validate__WEBPACK_IMPORTED_MODULE_0__.a)(t))return global_variable__WEBPACK_IMPORTED_MODULE_1__.n.audio.test(t)||"audio"==e?"audio":global_variable__WEBPACK_IMPORTED_MODULE_1__.n.video.test(t)||"video"==e?"video":global_variable__WEBPACK_IMPORTED_MODULE_1__.n.img.test(t)||"img"==e?"img":void 0},uuid=function(){for(var t=[],e=0;e<36;e++)t[e]="0123456789abcdef".substr(Math.floor(16*Math.random()),1);t[14]="4",t[19]="0123456789abcdef".substr(3&t[19]|8,1),t[8]=t[13]=t[18]=t[23]="-";var n=t.join("");return n};function getFixed(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return Number(t.toFixed(e))}function getAsVal(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=deepClone(t);return Object(_validate__WEBPACK_IMPORTED_MODULE_0__.a)(e)||e.split(".").forEach((function(t){n=Object(_validate__WEBPACK_IMPORTED_MODULE_0__.a)(n[t])?"":n[t]})),n}function setAsVal(obj){var bind=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",value=arguments.length>2?arguments[2]:void 0,result,type=getObjType(value);return result=Object(_validate__WEBPACK_IMPORTED_MODULE_0__.a)(value)?"array"===type?"obj.".concat(bind,"=[]"):"object"===type?"obj.".concat(bind,"={}"):["number","boolean"].includes(type)?"obj.".concat(bind,"=undefined"):"obj.".concat(bind,"=''"):"string"==type?"obj.".concat(bind,"='").concat(value,"'"):"obj.".concat(bind,"=").concat(value),eval(result),obj}var loadScript=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"js",e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=!1;return new Promise((function(o){for(var r,a="head"==n?document.getElementsByTagName("head")[0]:document.body,s=0;s=2){var r="";n.forEach((function(t){r="".concat(r).concat("{",'"').concat(t,'":')})),r="".concat(r,'""');for(var a=0;a0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"prop";return(t=findNode(e,{value:i},n))||e.forEach((function(e){e.column?t||(t=findNode(e.column,{value:i},n)):e.children&&global_variable__WEBPACK_IMPORTED_MODULE_1__.c.includes(e.type)&&(t||(t=findNode(e.children.column,{value:i},n)))})),t}function randomId(){for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",e=t.length,n="",i=0;i<16;i++)n+=t.charAt(Math.floor(Math.random()*e));return n}var getObjType=function(t){var e=Object.prototype.toString;return t instanceof Element?"element":{"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regExp","[object Undefined]":"undefined","[object Null]":"null","[object Object]":"object"}[e.call(t)]},isJson=function(t){return Array.isArray(t)?t[0]instanceof Object:t instanceof Object},deepClone=function t(e){var n,i=getObjType(e);if("array"===i)n=[];else{if("object"!==i)return e;n={}}if("array"===i)for(var o=0,r=e.length;o1&&void 0!==arguments[1]?arguments[1]:"";return Object(_validate__WEBPACK_IMPORTED_MODULE_0__.a)(t)&&(t=e),Object(_validate__WEBPACK_IMPORTED_MODULE_0__.a)(t)?"":(-1===(t+="").indexOf("%")&&(t+="px"),t)},detailDataType=function(t,e){return Object(_validate__WEBPACK_IMPORTED_MODULE_0__.a)(t)?t:"number"===e?Number(t):"string"===e?t+"":t},getDicValue=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=Array.isArray(e);e=i?e:[e];var o=[],r=n[global_variable__WEBPACK_IMPORTED_MODULE_1__.f.label]||global_variable__WEBPACK_IMPORTED_MODULE_1__.f.label,a=n[global_variable__WEBPACK_IMPORTED_MODULE_1__.f.groups]||global_variable__WEBPACK_IMPORTED_MODULE_1__.f.groups,s=deepClone(t);return s.forEach((function(t){t[a]&&(s=s.concat(t[a]),delete t[a])})),e.forEach((function(t){var e=findNode(s,n,t)||{};o.push(e[r]||t)})),i?o:o.join("")},filterParams=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["","$"],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=n?deepClone(t):t;for(var o in i)e.includes("")&&Object(_validate__WEBPACK_IMPORTED_MODULE_0__.a)(i[o])&&delete i[o],e.includes("$")&&-1!==o.indexOf("$")&&delete i[o];return i},findArray=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:global_variable__WEBPACK_IMPORTED_MODULE_1__.f.value,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return i?t.findIndex((function(t){return t[n]==e})):t.find((function(t){return t[n]==e}))},findNode=function t(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,o=n.value||global_variable__WEBPACK_IMPORTED_MODULE_1__.f.value,r=n.children||global_variable__WEBPACK_IMPORTED_MODULE_1__.f.children,a=0;a0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,n=t.toString().length;t="";for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return t.filter((function(t){return!Object(_validate__WEBPACK_IMPORTED_MODULE_0__.a)(t[e])})).sort((function(t,e){return n(t,e)})).concat(t.filter((function(t){return Object(_validate__WEBPACK_IMPORTED_MODULE_0__.a)(t[e])})))},clearVal=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t?(e.forEach((function(e){if(!n.includes(e))if(e.includes("$"))delete t[e];else if(!Object(_validate__WEBPACK_IMPORTED_MODULE_0__.a)(t[e])){var i=getObjType(t[e]);"array"===i?t[e]=[]:"object"===i?t[e]={}:["number","boolean"].includes(i)?t[e]=void 0:t[e]=""}})),t):{}},vaildData=function(t,e){return"boolean"==typeof t?t:Object(_validate__WEBPACK_IMPORTED_MODULE_0__.a)(t)?e:t}},function(t,e,n){"use strict";n.d(e,"j",(function(){return i})),n.d(e,"f",(function(){return o})),n.d(e,"e",(function(){return r})),n.d(e,"d",(function(){return a})),n.d(e,"c",(function(){return s})),n.d(e,"i",(function(){return l})),n.d(e,"a",(function(){return c})),n.d(e,"k",(function(){return u})),n.d(e,"l",(function(){return d})),n.d(e,"b",(function(){return p})),n.d(e,"m",(function(){return h})),n.d(e,"g",(function(){return f})),n.d(e,"h",(function(){return m})),n.d(e,"n",(function(){return v}));var i="avue-",o={rowKey:"id",rowParentKey:"parentId",nodeKey:"id",label:"label",value:"value",desc:"desc",groups:"groups",title:"title",leaf:"leaf",children:"children",hasChildren:"hasChildren",labelText:"名称",disabled:"disabled"},r={name:"name",url:"url",fileName:"file",res:""},a=["dates","date","datetime","datetimerange","daterange","time","timerange","week","month","monthrange","year"],s=["table","dynamic"],l=["tree","number","icon","color","table","map"],c=["img","array","url"],u=["cascader","tree","select"],d=["slider"],p=c.concat(["upload","dynamic","map","checkbox","cascader","timerange","monthrange","daterange","datetimerange","dates"]),h=a.concat(["select","checkbox","radio","cascader","tree","color","icon","table","map"]),f=" | ",m=",",v={img:/\.(gif|jpg|jpeg|png|webp|svg|GIF|JPG|JPEG|PNG|WEBP|SVG)/,video:/\.(swf|avi|flv|mpg|rm|mov|wav|asf|3gp|mkv|rmvb|ogg|mp4)/,audio:/\.(mp3|wav|MP3|WAV)/}},function(t,e,n){"use strict";function i(t){if(t instanceof Date||"boolean"==typeof t||"number"==typeof t)return!1;if(!(t instanceof Array)){if(t instanceof Object){for(var e in t)return!1;return!0}return"null"===t||null==t||"undefined"===t||void 0===t||""===t}return 0===t.length}n.d(e,"a",(function(){return i}))},function(t,e,n){t.exports=function(){"use strict";var t=6e4,e=36e5,n="millisecond",i="second",o="minute",r="hour",a="day",s="week",l="month",c="quarter",u="year",d="date",p="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},v=function(t,e,n){var i=String(t);return!i||i.length>=e?t:""+Array(e+1-i.length).join(n)+t},b={s:v,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),i=Math.floor(n/60),o=n%60;return(e<=0?"+":"-")+v(i,2,"0")+":"+v(o,2,"0")},m:function t(e,n){if(e.date()1)return t(a[0])}else{var s=e.name;y[s]=e,o=s}return!i&&o&&(g=o),o||!i&&g},w=function(t,e){if(_(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new C(n)},k=b;k.l=x,k.i=_,k.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var C=function(){function m(t){this.$L=x(t.locale,null,!0),this.parse(t)}var v=m.prototype;return v.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(k.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var i=e.match(h);if(i){var o=i[2]-1||0,r=(i[7]||"0").substring(0,3);return n?new Date(Date.UTC(i[1],o,i[3]||1,i[4]||0,i[5]||0,i[6]||0,r)):new Date(i[1],o,i[3]||1,i[4]||0,i[5]||0,i[6]||0,r)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},v.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},v.$utils=function(){return k},v.isValid=function(){return!(this.$d.toString()===p)},v.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},v.isAfter=function(t,e){return w(t)1?s.options.decimal+e[1]:"",s.options.useGrouping){for(o="",r=0,a=n.length;rs.endVal,s.frameVal=s.startVal,s.initialized=!0,0):(s.error="[CountUp] startVal ("+e+") or endVal ("+n+") is not a number",1)):(s.error="[CountUp] target is null or undefined",1)))},s.printValue=function(t){var e=s.options.formattingFn(t);"INPUT"===s.d.tagName?this.d.value=e:"text"===s.d.tagName||"tspan"===s.d.tagName?this.d.textContent=e:this.d.innerHTML=e},s.count=function(t){s.startTime||(s.startTime=t),s.timestamp=t;var e=t-s.startTime;s.remaining=s.duration-e,s.options.useEasing?s.countDown?s.frameVal=s.startVal-s.options.easingFn(e,0,s.startVal-s.endVal,s.duration):s.frameVal=s.options.easingFn(e,s.startVal,s.endVal-s.startVal,s.duration):s.countDown?s.frameVal=s.startVal-(s.startVal-s.endVal)*(e/s.duration):s.frameVal=s.startVal+(s.endVal-s.startVal)*(e/s.duration),s.countDown?s.frameVal=s.frameVals.endVal?s.endVal:s.frameVal,s.frameVal=Math.round(s.frameVal*s.dec)/s.dec,s.printValue(s.frameVal),es.endVal,s.rAF=requestAnimationFrame(s.count))}},s.initialize()&&s.printValue(s.startVal)}})?i.call(e,n,e,t):i)||(t.exports=o)},function(t,e){t.exports=__WEBPACK_EXTERNAL_MODULE__6__},function(t,e,n){var i,o; +/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress + * @license MIT */void 0===(o="function"==typeof(i=function(){var t,e,n={version:"0.2.0"},i=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'

'};function o(t,e,n){return tn?n:t}function r(t){return 100*(-1+t)}n.configure=function(t){var e,n;for(e in t)void 0!==(n=t[e])&&t.hasOwnProperty(e)&&(i[e]=n);return this},n.status=null,n.set=function(t){var e=n.isStarted();t=o(t,i.minimum,1),n.status=1===t?null:t;var l=n.render(!e),c=l.querySelector(i.barSelector),u=i.speed,d=i.easing;return l.offsetWidth,a((function(e){""===i.positionUsing&&(i.positionUsing=n.getPositioningCSS()),s(c,function(t,e,n){var o;return(o="translate3d"===i.positionUsing?{transform:"translate3d("+r(t)+"%,0,0)"}:"translate"===i.positionUsing?{transform:"translate("+r(t)+"%,0)"}:{"margin-left":r(t)+"%"}).transition="all "+e+"ms "+n,o}(t,u,d)),1===t?(s(l,{transition:"none",opacity:1}),l.offsetWidth,setTimeout((function(){s(l,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),e()}),u)}),u)):setTimeout(e,u)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var t=function(){setTimeout((function(){n.status&&(n.trickle(),t())}),i.trickleSpeed)};return i.trickle&&t(),this},n.done=function(t){return t||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(t){var e=n.status;return e?("number"!=typeof t&&(t=(1-e)*o(Math.random()*e,.1,.95)),e=o(e+t,0,.994),n.set(e)):n.start()},n.trickle=function(){return n.inc(Math.random()*i.trickleRate)},t=0,e=0,n.promise=function(i){return i&&"resolved"!==i.state()?(0===e&&n.start(),t++,e++,i.always((function(){0==--e?(t=0,n.done()):n.set((t-e)/t)})),this):this},n.render=function(t){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var e=document.createElement("div");e.id="nprogress",e.innerHTML=i.template;var o,a=e.querySelector(i.barSelector),l=t?"-100":r(n.status||0),u=document.querySelector(i.parent);return s(a,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),i.showSpinner||(o=e.querySelector(i.spinnerSelector))&&p(o),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(e),e},n.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(i.parent),"nprogress-custom-parent");var t=document.getElementById("nprogress");t&&p(t)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var t=document.body.style,e="WebkitTransform"in t?"Webkit":"MozTransform"in t?"Moz":"msTransform"in t?"ms":"OTransform"in t?"O":"";return e+"Perspective"in t?"translate3d":e+"Transform"in t?"translate":"margin"};var a=function(){var t=[];function e(){var n=t.shift();n&&n(e)}return function(n){t.push(n),1==t.length&&e()}}(),s=function(){var t=["Webkit","O","Moz","ms"],e={};function n(n){return n=n.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(t,e){return e.toUpperCase()})),e[n]||(e[n]=function(e){var n=document.body.style;if(e in n)return e;for(var i,o=t.length,r=e.charAt(0).toUpperCase()+e.slice(1);o--;)if((i=t[o]+r)in n)return i;return e}(n))}function i(t,e,i){e=n(e),t.style[e]=i}return function(t,e){var n,o,r=arguments;if(2==r.length)for(n in e)void 0!==(o=e[n])&&e.hasOwnProperty(n)&&i(t,n,o);else i(t,r[1],r[2])}}();function l(t,e){return("string"==typeof t?t:d(t)).indexOf(" "+e+" ")>=0}function c(t,e){var n=d(t),i=n+e;l(n,e)||(t.className=i.substring(1))}function u(t,e){var n,i=d(t);l(t,e)&&(n=i.replace(" "+e+" "," "),t.className=n.substring(1,n.length-1))}function d(t){return(" "+(t.className||"")+" ").replace(/\s+/gi," ")}function p(t){t&&t.parentNode&&t.parentNode.removeChild(t)}return n})?i.call(e,n,e,t):i)||(t.exports=o)},function(t,e,n){window,t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=6)}([function(t,e,n){var i=n(2);"string"==typeof i&&(i=[[t.i,i,""]]),n(4)(i,{hmr:!0,transform:void 0,insertInto:void 0}),i.locals&&(t.exports=i.locals)},function(t,e,n){"use strict";var i=n(0);n.n(i).a},function(t,e,n){(t.exports=n(3)(!1)).push([t.i,'\n.vue-cropper[data-v-6dae58fd] {\n position: relative;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n user-select: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n direction: ltr;\n touch-action: none;\n text-align: left;\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC");\n}\n.cropper-box[data-v-6dae58fd],\n.cropper-box-canvas[data-v-6dae58fd],\n.cropper-drag-box[data-v-6dae58fd],\n.cropper-crop-box[data-v-6dae58fd],\n.cropper-face[data-v-6dae58fd] {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n user-select: none;\n}\n.cropper-box-canvas img[data-v-6dae58fd] {\n position: relative;\n text-align: left;\n user-select: none;\n transform: none;\n max-width: none;\n max-height: none;\n}\n.cropper-box[data-v-6dae58fd] {\n overflow: hidden;\n}\n.cropper-move[data-v-6dae58fd] {\n cursor: move;\n}\n.cropper-crop[data-v-6dae58fd] {\n cursor: crosshair;\n}\n.cropper-modal[data-v-6dae58fd] {\n background: rgba(0, 0, 0, 0.5);\n}\n.cropper-crop-box[data-v-6dae58fd] {\n /*border: 2px solid #39f;*/\n}\n.cropper-view-box[data-v-6dae58fd] {\n display: block;\n overflow: hidden;\n width: 100%;\n height: 100%;\n outline: 1px solid #39f;\n outline-color: rgba(51, 153, 255, 0.75);\n user-select: none;\n}\n.cropper-view-box img[data-v-6dae58fd] {\n user-select: none;\n text-align: left;\n max-width: none;\n max-height: none;\n}\n.cropper-face[data-v-6dae58fd] {\n top: 0;\n left: 0;\n background-color: #fff;\n opacity: 0.1;\n}\n.crop-info[data-v-6dae58fd] {\n position: absolute;\n left: 0px;\n min-width: 65px;\n text-align: center;\n color: white;\n line-height: 20px;\n background-color: rgba(0, 0, 0, 0.8);\n font-size: 12px;\n}\n.crop-line[data-v-6dae58fd] {\n position: absolute;\n display: block;\n width: 100%;\n height: 100%;\n opacity: 0.1;\n}\n.line-w[data-v-6dae58fd] {\n top: -3px;\n left: 0;\n height: 5px;\n cursor: n-resize;\n}\n.line-a[data-v-6dae58fd] {\n top: 0;\n left: -3px;\n width: 5px;\n cursor: w-resize;\n}\n.line-s[data-v-6dae58fd] {\n bottom: -3px;\n left: 0;\n height: 5px;\n cursor: s-resize;\n}\n.line-d[data-v-6dae58fd] {\n top: 0;\n right: -3px;\n width: 5px;\n cursor: e-resize;\n}\n.crop-point[data-v-6dae58fd] {\n position: absolute;\n width: 8px;\n height: 8px;\n opacity: 0.75;\n background-color: #39f;\n border-radius: 100%;\n}\n.point1[data-v-6dae58fd] {\n top: -4px;\n left: -4px;\n cursor: nw-resize;\n}\n.point2[data-v-6dae58fd] {\n top: -5px;\n left: 50%;\n margin-left: -3px;\n cursor: n-resize;\n}\n.point3[data-v-6dae58fd] {\n top: -4px;\n right: -4px;\n cursor: ne-resize;\n}\n.point4[data-v-6dae58fd] {\n top: 50%;\n left: -4px;\n margin-top: -3px;\n cursor: w-resize;\n}\n.point5[data-v-6dae58fd] {\n top: 50%;\n right: -4px;\n margin-top: -3px;\n cursor: e-resize;\n}\n.point6[data-v-6dae58fd] {\n bottom: -5px;\n left: -4px;\n cursor: sw-resize;\n}\n.point7[data-v-6dae58fd] {\n bottom: -5px;\n left: 50%;\n margin-left: -3px;\n cursor: s-resize;\n}\n.point8[data-v-6dae58fd] {\n bottom: -5px;\n right: -4px;\n cursor: se-resize;\n}\n@media screen and (max-width: 500px) {\n.crop-point[data-v-6dae58fd] {\n position: absolute;\n width: 20px;\n height: 20px;\n opacity: 0.45;\n background-color: #39f;\n border-radius: 100%;\n}\n.point1[data-v-6dae58fd] {\n top: -10px;\n left: -10px;\n}\n.point2[data-v-6dae58fd],\n .point4[data-v-6dae58fd],\n .point5[data-v-6dae58fd],\n .point7[data-v-6dae58fd] {\n display: none;\n}\n.point3[data-v-6dae58fd] {\n top: -10px;\n right: -10px;\n}\n.point4[data-v-6dae58fd] {\n top: 0;\n left: 0;\n}\n.point6[data-v-6dae58fd] {\n bottom: -10px;\n left: -10px;\n}\n.point8[data-v-6dae58fd] {\n bottom: -10px;\n right: -10px;\n}\n}\n',""])},function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var o=function(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}(i),r=i.sources.map((function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"}));return[n].concat(r).concat([o]).join("\n")}return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},o=0;o=0&&l.splice(e,1)}function f(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var i=n.nc;i&&(t.attrs.nonce=i)}return m(e,t.attrs),p(t,e),e}function m(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}function v(t,e){var n,i,o,r;if(e.transform&&t.css){if(!(r="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=r}if(e.singleton){var l=s++;n=a||(a=f(e)),i=g.bind(null,n,l,!1),o=g.bind(null,n,l,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",m(e,t.attrs),p(t,e),e}(e),i=function(t,e,n){var i=n.css,o=n.sourceMap,r=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||r)&&(i=c(i)),o&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([i],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,e),o=function(){h(n),n.href&&URL.revokeObjectURL(n.href)}):(n=f(e),i=function(t,e){var n=e.css,i=e.media;if(i&&t.setAttribute("media",i),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,n),o=function(){h(n)});return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else o()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=o()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=d(t,e);return u(n,e),function(t){for(var o=[],r=0;r=8&&(s=n+i)),s)for(d=u.getUint16(s,o),c=0;c21?"-21px":"0px",t.width=this.cropW>0?this.cropW:0,t.height=this.cropH>0?this.cropH:0,this.infoTrue){var e=1;this.high&&!this.full&&(e=window.devicePixelRatio),1!==this.enlarge&!this.full&&(e=Math.abs(Number(this.enlarge))),t.width=t.width*e,t.height=t.height*e,this.full&&(t.width=t.width/this.scale,t.height=t.height/this.scale)}return t.width=t.width.toFixed(0),t.height=t.height.toFixed(0),t},isIE:function(){return navigator.userAgent,!!window.ActiveXObject||"ActiveXObject"in window},passive:function(){return this.isIE?null:{passive:!1}}},watch:{img:function(){this.checkedImg()},imgs:function(t){""!==t&&this.reload()},cropW:function(){this.showPreview()},cropH:function(){this.showPreview()},cropOffsertX:function(){this.showPreview()},cropOffsertY:function(){this.showPreview()},scale:function(t,e){this.showPreview()},x:function(){this.showPreview()},y:function(){this.showPreview()},autoCrop:function(t){t&&this.goAutoCrop()},autoCropWidth:function(){this.autoCrop&&this.goAutoCrop()},autoCropHeight:function(){this.autoCrop&&this.goAutoCrop()},mode:function(){this.checkedImg()},rotate:function(){this.showPreview(),(this.autoCrop||this.cropW>0||this.cropH>0)&&this.goAutoCrop(this.cropW,this.cropH)}},methods:{getVersion:function(t){for(var e=navigator.userAgent.split(" "),n="",i=new RegExp(t,"i"),o=0;o=81)e=-1;else if(this.getVersion("safari")[0]>=605){var r=this.getVersion("version");r[0]>13&&r[1]>1&&(e=-1)}else{var a=navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/);if(a){var s=a[1];((s=s.split("_"))[0]>13||s[0]>=13&&s[1]>=4)&&(e=-1)}}var l=document.createElement("canvas"),c=l.getContext("2d");switch(c.save(),e){case 2:l.width=n,l.height=i,c.translate(n,0),c.scale(-1,1);break;case 3:l.width=n,l.height=i,c.translate(n/2,i/2),c.rotate(180*Math.PI/180),c.translate(-n/2,-i/2);break;case 4:l.width=n,l.height=i,c.translate(0,i),c.scale(1,-1);break;case 5:l.height=n,l.width=i,c.rotate(.5*Math.PI),c.scale(1,-1);break;case 6:l.width=i,l.height=n,c.translate(i/2,n/2),c.rotate(90*Math.PI/180),c.translate(-n/2,-i/2);break;case 7:l.height=n,l.width=i,c.rotate(.5*Math.PI),c.translate(n,-i),c.scale(-1,1);break;case 8:l.height=n,l.width=i,c.translate(i/2,n/2),c.rotate(-90*Math.PI/180),c.translate(-n/2,-i/2);break;default:l.width=n,l.height=i}c.drawImage(t,0,0,n,i),c.restore(),l.toBlob((function(t){var e=URL.createObjectURL(t);URL.revokeObjectURL(o.imgs),o.imgs=e}),"image/"+this.outputType,1)},checkedImg:function(){var t=this;if(null===this.img||""===this.img)return this.imgs="",void this.clearCrop();this.loading=!0,this.scale=1,this.rotate=0,this.clearCrop();var e=new Image;if(e.onload=function(){if(""===t.img)return t.$emit("imgLoad","error"),t.$emit("img-load","error"),!1;var n=e.width,i=e.height;r.getData(e).then((function(o){t.orientation=o.orientation||1;var r=Number(t.maxImgSize);!t.orientation&&nr&&(i=i/n*r,n=r),i>r&&(n=n/i*r,i=r),t.checkOrientationImage(e,t.orientation,n,i))}))},e.onerror=function(){t.$emit("imgLoad","error"),t.$emit("img-load","error")},"data"!==this.img.substr(0,4)&&(e.crossOrigin=""),this.isIE){var n=new XMLHttpRequest;n.onload=function(){var t=URL.createObjectURL(this.response);e.src=t},n.open("GET",this.img,!0),n.responseType="blob",n.send()}else e.src=this.img},startMove:function(t){if(t.preventDefault(),this.move&&!this.crop){if(!this.canMove)return!1;this.moveX=("clientX"in t?t.clientX:t.touches[0].clientX)-this.x,this.moveY=("clientY"in t?t.clientY:t.touches[0].clientY)-this.y,t.touches?(window.addEventListener("touchmove",this.moveImg),window.addEventListener("touchend",this.leaveImg),2==t.touches.length&&(this.touches=t.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale))):(window.addEventListener("mousemove",this.moveImg),window.addEventListener("mouseup",this.leaveImg)),this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})}else this.cropping=!0,window.addEventListener("mousemove",this.createCrop),window.addEventListener("mouseup",this.endCrop),window.addEventListener("touchmove",this.createCrop),window.addEventListener("touchend",this.endCrop),this.cropOffsertX=t.offsetX?t.offsetX:t.touches[0].pageX-this.$refs.cropper.offsetLeft,this.cropOffsertY=t.offsetY?t.offsetY:t.touches[0].pageY-this.$refs.cropper.offsetTop,this.cropX="clientX"in t?t.clientX:t.touches[0].clientX,this.cropY="clientY"in t?t.clientY:t.touches[0].clientY,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.cropW=0,this.cropH=0},touchScale:function(t){var e=this;t.preventDefault();var n=this.scale,i=this.touches[0].clientX,o=this.touches[0].clientY,r=t.touches[0].clientX,a=t.touches[0].clientY,s=this.touches[1].clientX,l=this.touches[1].clientY,c=t.touches[1].clientX,u=t.touches[1].clientY,d=Math.sqrt(Math.pow(i-s,2)+Math.pow(o-l,2)),p=Math.sqrt(Math.pow(r-c,2)+Math.pow(a-u,2))-d,h=1,f=(h=(h=h/this.trueWidth>h/this.trueHeight?h/this.trueHeight:h/this.trueWidth)>.1?.1:h)*p;if(!this.touchNow){if(this.touchNow=!0,p>0?n+=Math.abs(f):p<0&&n>Math.abs(f)&&(n-=Math.abs(f)),this.touches=t.touches,setTimeout((function(){e.touchNow=!1}),8),!this.checkoutImgAxis(this.x,this.y,n))return!1;this.scale=n}},cancelTouchScale:function(t){window.removeEventListener("touchmove",this.touchScale)},moveImg:function(t){var e=this;if(t.preventDefault(),t.touches&&2===t.touches.length)return this.touches=t.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale),window.removeEventListener("touchmove",this.moveImg),!1;var n,i,o="clientX"in t?t.clientX:t.touches[0].clientX,r="clientY"in t?t.clientY:t.touches[0].clientY;n=o-this.moveX,i=r-this.moveY,this.$nextTick((function(){if(e.centerBox){var t,o,r,a,s=e.getImgAxis(n,i,e.scale),l=e.getCropAxis(),c=e.trueHeight*e.scale,u=e.trueWidth*e.scale;switch(e.rotate){case 1:case-1:case 3:case-3:t=e.cropOffsertX-e.trueWidth*(1-e.scale)/2+(c-u)/2,o=e.cropOffsertY-e.trueHeight*(1-e.scale)/2+(u-c)/2,r=t-c+e.cropW,a=o-u+e.cropH;break;default:t=e.cropOffsertX-e.trueWidth*(1-e.scale)/2,o=e.cropOffsertY-e.trueHeight*(1-e.scale)/2,r=t-u+e.cropW,a=o-c+e.cropH}s.x1>=l.x1&&(n=t),s.y1>=l.y1&&(i=o),s.x2<=l.x2&&(n=r),s.y2<=l.y2&&(i=a)}e.x=n,e.y=i,e.$emit("imgMoving",{moving:!0,axis:e.getImgAxis()}),e.$emit("img-moving",{moving:!0,axis:e.getImgAxis()})}))},leaveImg:function(t){window.removeEventListener("mousemove",this.moveImg),window.removeEventListener("touchmove",this.moveImg),window.removeEventListener("mouseup",this.leaveImg),window.removeEventListener("touchend",this.leaveImg),this.$emit("imgMoving",{moving:!1,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!1,axis:this.getImgAxis()})},scaleImg:function(){this.canScale&&window.addEventListener(this.support,this.changeSize,this.passive)},cancelScale:function(){this.canScale&&window.removeEventListener(this.support,this.changeSize)},changeSize:function(t){var e=this;t.preventDefault();var n=this.scale,i=t.deltaY||t.wheelDelta;i=navigator.userAgent.indexOf("Firefox")>0?30*i:i,this.isIE&&(i=-i);var o=this.coe,r=(o=o/this.trueWidth>o/this.trueHeight?o/this.trueHeight:o/this.trueWidth)*i;r<0?n+=Math.abs(r):n>Math.abs(r)&&(n-=Math.abs(r));var a=r<0?"add":"reduce";if(a!==this.coeStatus&&(this.coeStatus=a,this.coe=.2),this.scaling||(this.scalingSet=setTimeout((function(){e.scaling=!1,e.coe=e.coe+=.01}),50)),this.scaling=!0,!this.checkoutImgAxis(this.x,this.y,n))return!1;this.scale=n},changeScale:function(t){var e=this.scale;t=t||1;var n=20;if((t*=n=n/this.trueWidth>n/this.trueHeight?n/this.trueHeight:n/this.trueWidth)>0?e+=Math.abs(t):e>Math.abs(t)&&(e-=Math.abs(t)),!this.checkoutImgAxis(this.x,this.y,e))return!1;this.scale=e},createCrop:function(t){var e=this;t.preventDefault();var n="clientX"in t?t.clientX:t.touches?t.touches[0].clientX:0,i="clientY"in t?t.clientY:t.touches?t.touches[0].clientY:0;this.$nextTick((function(){var t=n-e.cropX,o=i-e.cropY;if(t>0?(e.cropW=t+e.cropChangeX>e.w?e.w-e.cropChangeX:t,e.cropOffsertX=e.cropChangeX):(e.cropW=e.w-e.cropChangeX+Math.abs(t)>e.w?e.cropChangeX:Math.abs(t),e.cropOffsertX=e.cropChangeX+t>0?e.cropChangeX+t:0),e.fixed){var r=e.cropW/e.fixedNumber[0]*e.fixedNumber[1];r+e.cropOffsertY>e.h?(e.cropH=e.h-e.cropOffsertY,e.cropW=e.cropH/e.fixedNumber[1]*e.fixedNumber[0],e.cropOffsertX=t>0?e.cropChangeX:e.cropChangeX-e.cropW):e.cropH=r,e.cropOffsertY=e.cropOffsertY}else o>0?(e.cropH=o+e.cropChangeY>e.h?e.h-e.cropChangeY:o,e.cropOffsertY=e.cropChangeY):(e.cropH=e.h-e.cropChangeY+Math.abs(o)>e.h?e.cropChangeY:Math.abs(o),e.cropOffsertY=e.cropChangeY+o>0?e.cropChangeY+o:0)}))},changeCropSize:function(t,e,n,i,o){t.preventDefault(),window.addEventListener("mousemove",this.changeCropNow),window.addEventListener("mouseup",this.changeCropEnd),window.addEventListener("touchmove",this.changeCropNow),window.addEventListener("touchend",this.changeCropEnd),this.canChangeX=e,this.canChangeY=n,this.changeCropTypeX=i,this.changeCropTypeY=o,this.cropX="clientX"in t?t.clientX:t.touches[0].clientX,this.cropY="clientY"in t?t.clientY:t.touches[0].clientY,this.cropOldW=this.cropW,this.cropOldH=this.cropH,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.fixed&&this.canChangeX&&this.canChangeY&&(this.canChangeY=0),this.$emit("change-crop-size",{width:this.cropW,height:this.cropH})},changeCropNow:function(t){var e=this;t.preventDefault();var n="clientX"in t?t.clientX:t.touches?t.touches[0].clientX:0,i="clientY"in t?t.clientY:t.touches?t.touches[0].clientY:0,o=this.w,r=this.h,a=0,s=0;if(this.centerBox){var l=this.getImgAxis(),c=l.x2,u=l.y2;a=l.x1>0?l.x1:0,s=l.y1>0?l.y1:0,o>c&&(o=c),r>u&&(r=u)}this.$nextTick((function(){var t=n-e.cropX,l=i-e.cropY;if(e.canChangeX&&(1===e.changeCropTypeX?e.cropOldW-t>0?(e.cropW=o-e.cropChangeX-t<=o-a?e.cropOldW-t:e.cropOldW+e.cropChangeX-a,e.cropOffsertX=o-e.cropChangeX-t<=o-a?e.cropChangeX+t:a):(e.cropW=Math.abs(t)+e.cropChangeX<=o?Math.abs(t)-e.cropOldW:o-e.cropOldW-e.cropChangeX,e.cropOffsertX=e.cropChangeX+e.cropOldW):2===e.changeCropTypeX&&(e.cropOldW+t>0?(e.cropW=e.cropOldW+t+e.cropOffsertX<=o?e.cropOldW+t:o-e.cropOffsertX,e.cropOffsertX=e.cropChangeX):(e.cropW=o-e.cropChangeX+Math.abs(t+e.cropOldW)<=o-a?Math.abs(t+e.cropOldW):e.cropChangeX-a,e.cropOffsertX=o-e.cropChangeX+Math.abs(t+e.cropOldW)<=o-a?e.cropChangeX-Math.abs(t+e.cropOldW):a))),e.canChangeY&&(1===e.changeCropTypeY?e.cropOldH-l>0?(e.cropH=r-e.cropChangeY-l<=r-s?e.cropOldH-l:e.cropOldH+e.cropChangeY-s,e.cropOffsertY=r-e.cropChangeY-l<=r-s?e.cropChangeY+l:s):(e.cropH=Math.abs(l)+e.cropChangeY<=r?Math.abs(l)-e.cropOldH:r-e.cropOldH-e.cropChangeY,e.cropOffsertY=e.cropChangeY+e.cropOldH):2===e.changeCropTypeY&&(e.cropOldH+l>0?(e.cropH=e.cropOldH+l+e.cropOffsertY<=r?e.cropOldH+l:r-e.cropOffsertY,e.cropOffsertY=e.cropChangeY):(e.cropH=r-e.cropChangeY+Math.abs(l+e.cropOldH)<=r-s?Math.abs(l+e.cropOldH):e.cropChangeY-s,e.cropOffsertY=r-e.cropChangeY+Math.abs(l+e.cropOldH)<=r-s?e.cropChangeY-Math.abs(l+e.cropOldH):s))),e.canChangeX&&e.fixed){var c=e.cropW/e.fixedNumber[0]*e.fixedNumber[1];c+e.cropOffsertY>r?(e.cropH=r-e.cropOffsertY,e.cropW=e.cropH/e.fixedNumber[1]*e.fixedNumber[0]):e.cropH=c}if(e.canChangeY&&e.fixed){var u=e.cropH/e.fixedNumber[1]*e.fixedNumber[0];u+e.cropOffsertX>o?(e.cropW=o-e.cropOffsertX,e.cropH=e.cropW/e.fixedNumber[0]*e.fixedNumber[1]):e.cropW=u}e.$emit("crop-sizing",{cropW:e.cropW,cropH:e.cropH})}))},checkCropLimitSize:function(){this.cropW,this.cropH;var t=this.limitMinSize,e=new Array;return e=Array.isArray[t]?t:[t,t],[parseFloat(e[0]),parseFloat(e[1])]},changeCropEnd:function(t){window.removeEventListener("mousemove",this.changeCropNow),window.removeEventListener("mouseup",this.changeCropEnd),window.removeEventListener("touchmove",this.changeCropNow),window.removeEventListener("touchend",this.changeCropEnd)},endCrop:function(){0===this.cropW&&0===this.cropH&&(this.cropping=!1),window.removeEventListener("mousemove",this.createCrop),window.removeEventListener("mouseup",this.endCrop),window.removeEventListener("touchmove",this.createCrop),window.removeEventListener("touchend",this.endCrop)},startCrop:function(){this.crop=!0},stopCrop:function(){this.crop=!1},clearCrop:function(){this.cropping=!1,this.cropW=0,this.cropH=0},cropMove:function(t){if(t.preventDefault(),!this.canMoveBox)return this.crop=!1,this.startMove(t),!1;if(t.touches&&2===t.touches.length)return this.crop=!1,this.startMove(t),this.leaveCrop(),!1;window.addEventListener("mousemove",this.moveCrop),window.addEventListener("mouseup",this.leaveCrop),window.addEventListener("touchmove",this.moveCrop),window.addEventListener("touchend",this.leaveCrop);var e,n,i="clientX"in t?t.clientX:t.touches[0].clientX,o="clientY"in t?t.clientY:t.touches[0].clientY;e=i-this.cropOffsertX,n=o-this.cropOffsertY,this.cropX=e,this.cropY=n,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})},moveCrop:function(t,e){var n=this,i=0,o=0;t&&(t.preventDefault(),i="clientX"in t?t.clientX:t.touches[0].clientX,o="clientY"in t?t.clientY:t.touches[0].clientY),this.$nextTick((function(){var t,r,a=i-n.cropX,s=o-n.cropY;if(e&&(a=n.cropOffsertX,s=n.cropOffsertY),t=a<=0?0:a+n.cropW>n.w?n.w-n.cropW:a,r=s<=0?0:s+n.cropH>n.h?n.h-n.cropH:s,n.centerBox){var l=n.getImgAxis();t<=l.x1&&(t=l.x1),t+n.cropW>l.x2&&(t=l.x2-n.cropW),r<=l.y1&&(r=l.y1),r+n.cropH>l.y2&&(r=l.y2-n.cropH)}n.cropOffsertX=t,n.cropOffsertY=r,n.$emit("cropMoving",{moving:!0,axis:n.getCropAxis()}),n.$emit("crop-moving",{moving:!0,axis:n.getCropAxis()})}))},getImgAxis:function(t,e,n){t=t||this.x,e=e||this.y,n=n||this.scale;var i={x1:0,x2:0,y1:0,y2:0},o=this.trueWidth*n,r=this.trueHeight*n;switch(this.rotate){case 0:i.x1=t+this.trueWidth*(1-n)/2,i.x2=i.x1+this.trueWidth*n,i.y1=e+this.trueHeight*(1-n)/2,i.y2=i.y1+this.trueHeight*n;break;case 1:case-1:case 3:case-3:i.x1=t+this.trueWidth*(1-n)/2+(o-r)/2,i.x2=i.x1+this.trueHeight*n,i.y1=e+this.trueHeight*(1-n)/2+(r-o)/2,i.y2=i.y1+this.trueWidth*n;break;default:i.x1=t+this.trueWidth*(1-n)/2,i.x2=i.x1+this.trueWidth*n,i.y1=e+this.trueHeight*(1-n)/2,i.y2=i.y1+this.trueHeight*n}return i},getCropAxis:function(){var t={x1:0,x2:0,y1:0,y2:0};return t.x1=this.cropOffsertX,t.x2=t.x1+this.cropW,t.y1=this.cropOffsertY,t.y2=t.y1+this.cropH,t},leaveCrop:function(t){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.$emit("cropMoving",{moving:!1,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!1,axis:this.getCropAxis()})},getCropChecked:function(t){var e=this,n=document.createElement("canvas"),i=new Image,o=this.rotate,r=this.trueWidth,a=this.trueHeight,s=this.cropOffsertX,l=this.cropOffsertY;function c(t,e){n.width=Math.round(t),n.height=Math.round(e)}i.onload=function(){if(0!==e.cropW){var u=n.getContext("2d"),d=1;e.high&!e.full&&(d=window.devicePixelRatio),1!==e.enlarge&!e.full&&(d=Math.abs(Number(e.enlarge)));var p=e.cropW*d,h=e.cropH*d,f=r*e.scale*d,m=a*e.scale*d,v=(e.x-s+e.trueWidth*(1-e.scale)/2)*d,b=(e.y-l+e.trueHeight*(1-e.scale)/2)*d;switch(c(p,h),u.save(),o){case 0:e.full?(c(p/e.scale,h/e.scale),u.drawImage(i,v/e.scale,b/e.scale,f/e.scale,m/e.scale)):u.drawImage(i,v,b,f,m);break;case 1:case-3:e.full?(c(p/e.scale,h/e.scale),v=v/e.scale+(f/e.scale-m/e.scale)/2,b=b/e.scale+(m/e.scale-f/e.scale)/2,u.rotate(90*o*Math.PI/180),u.drawImage(i,b,-v-m/e.scale,f/e.scale,m/e.scale)):(v+=(f-m)/2,b+=(m-f)/2,u.rotate(90*o*Math.PI/180),u.drawImage(i,b,-v-m,f,m));break;case 2:case-2:e.full?(c(p/e.scale,h/e.scale),u.rotate(90*o*Math.PI/180),v/=e.scale,b/=e.scale,u.drawImage(i,-v-f/e.scale,-b-m/e.scale,f/e.scale,m/e.scale)):(u.rotate(90*o*Math.PI/180),u.drawImage(i,-v-f,-b-m,f,m));break;case 3:case-1:e.full?(c(p/e.scale,h/e.scale),v=v/e.scale+(f/e.scale-m/e.scale)/2,b=b/e.scale+(m/e.scale-f/e.scale)/2,u.rotate(90*o*Math.PI/180),u.drawImage(i,-b-f/e.scale,v,f/e.scale,m/e.scale)):(v+=(f-m)/2,b+=(m-f)/2,u.rotate(90*o*Math.PI/180),u.drawImage(i,-b-f,v,f,m));break;default:e.full?(c(p/e.scale,h/e.scale),u.drawImage(i,v/e.scale,b/e.scale,f/e.scale,m/e.scale)):u.drawImage(i,v,b,f,m)}u.restore()}else{var g=r*e.scale,y=a*e.scale,_=n.getContext("2d");switch(_.save(),o){case 0:c(g,y),_.drawImage(i,0,0,g,y);break;case 1:case-3:c(y,g),_.rotate(90*o*Math.PI/180),_.drawImage(i,0,-y,g,y);break;case 2:case-2:c(g,y),_.rotate(90*o*Math.PI/180),_.drawImage(i,-g,-y,g,y);break;case 3:case-1:c(y,g),_.rotate(90*o*Math.PI/180),_.drawImage(i,-g,0,g,y);break;default:c(g,y),_.drawImage(i,0,0,g,y)}_.restore()}t(n)},"data"!==this.img.substr(0,4)&&(i.crossOrigin="Anonymous"),i.src=this.imgs},getCropData:function(t){var e=this;this.getCropChecked((function(n){t(n.toDataURL("image/"+e.outputType,e.outputSize))}))},getCropBlob:function(t){var e=this;this.getCropChecked((function(n){n.toBlob((function(e){return t(e)}),"image/"+e.outputType,e.outputSize)}))},showPreview:function(){var t=this;if(!this.isCanShow)return!1;this.isCanShow=!1,setTimeout((function(){t.isCanShow=!0}),16);var e=this.cropW,n=this.cropH,i=this.scale,o={};o.div={width:"".concat(e,"px"),height:"".concat(n,"px")};var r=(this.x-this.cropOffsertX)/i,a=(this.y-this.cropOffsertY)/i;o.w=e,o.h=n,o.url=this.imgs,o.img={width:"".concat(this.trueWidth,"px"),height:"".concat(this.trueHeight,"px"),transform:"scale(".concat(i,")translate3d(").concat(r,"px, ").concat(a,"px, ").concat(0,"px)rotateZ(").concat(90*this.rotate,"deg)")},o.html='\n
\n
\n \n
\n
'),this.$emit("realTime",o),this.$emit("real-time",o)},reload:function(){var t=this,e=new Image;e.onload=function(){t.w=parseFloat(window.getComputedStyle(t.$refs.cropper).width),t.h=parseFloat(window.getComputedStyle(t.$refs.cropper).height),t.trueWidth=e.width,t.trueHeight=e.height,t.original?t.scale=1:t.scale=t.checkedMode(),t.$nextTick((function(){t.x=-(t.trueWidth-t.trueWidth*t.scale)/2+(t.w-t.trueWidth*t.scale)/2,t.y=-(t.trueHeight-t.trueHeight*t.scale)/2+(t.h-t.trueHeight*t.scale)/2,t.loading=!1,t.autoCrop&&t.goAutoCrop(),t.$emit("img-load","success"),t.$emit("imgLoad","success"),setTimeout((function(){t.showPreview()}),20)}))},e.onerror=function(){t.$emit("imgLoad","error"),t.$emit("img-load","error")},e.src=this.imgs},checkedMode:function(){var t=1,e=(this.trueWidth,this.trueHeight),n=this.mode.split(" ");switch(n[0]){case"contain":this.trueWidth>this.w&&(t=this.w/this.trueWidth),this.trueHeight*t>this.h&&(t=this.h/this.trueHeight);break;case"cover":(e*=t=this.w/this.trueWidth)0,r=(o?this.trueHeight:this.trueWidth)*this.scale,a=(o?this.trueWidth:this.trueHeight)*this.scale;n=rn?n:s,l=l>i?i:l,this.fixed&&(l=s/this.fixedNumber[0]*this.fixedNumber[1]),l>this.h&&(s=(l=this.h)/this.fixedNumber[1]*this.fixedNumber[0]),this.changeCrop(s,l)}},changeCrop:function(t,e){var n=this;if(this.centerBox){var i=this.getImgAxis();t>i.x2-i.x1&&(e=(t=i.x2-i.x1)/this.fixedNumber[0]*this.fixedNumber[1]),e>i.y2-i.y1&&(t=(e=i.y2-i.y1)/this.fixedNumber[1]*this.fixedNumber[0])}this.cropW=t,this.cropH=e,this.checkCropLimitSize(),this.$nextTick((function(){n.cropOffsertX=(n.w-n.cropW)/2,n.cropOffsertY=(n.h-n.cropH)/2,n.centerBox&&n.moveCrop(null,!0)}))},refresh:function(){var t=this;this.img,this.imgs="",this.scale=1,this.crop=!1,this.rotate=0,this.w=0,this.h=0,this.trueWidth=0,this.trueHeight=0,this.clearCrop(),this.$nextTick((function(){t.checkedImg()}))},rotateLeft:function(){this.rotate=this.rotate<=-3?0:this.rotate-1},rotateRight:function(){this.rotate=this.rotate>=3?0:this.rotate+1},rotateClear:function(){this.rotate=0},checkoutImgAxis:function(t,e,n){t=t||this.x,e=e||this.y,n=n||this.scale;var i=!0;if(this.centerBox){var o=this.getImgAxis(t,e,n),r=this.getCropAxis();o.x1>=r.x1&&(i=!1),o.x2<=r.x2&&(i=!1),o.y1>=r.y1&&(i=!1),o.y2<=r.y2&&(i=!1)}return i}},mounted:function(){this.support="onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll";var t=this,e=navigator.userAgent;this.isIOS=!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),HTMLCanvasElement.prototype.toBlob||Object.defineProperty(HTMLCanvasElement.prototype,"toBlob",{value:function(e,n,i){for(var o=atob(this.toDataURL(n,i).split(",")[1]),r=o.length,a=new Uint8Array(r),s=0;s=0&&(t="bottom"),t}},mounted:function(){this.target?this.container=document.querySelector(this.target):this.container=document,this.container.addEventListener("scroll",this.handleScroll,!1),this.container.addEventListener("resize",this.handleScroll,!1)},methods:{getScroll:function(t,e){var n=e?"scrollTop":"scrollLeft",i=t[e?"pageYOffset":"pageXOffset"];return"number"!=typeof i&&(i=document.documentElement[n]),i},getOffset:function(t){var e=t.getBoundingClientRect(),n=this.getScroll(this.container,!0),i=this.getScroll(this.container),o=document.body,r=o.clientTop||0,a=o.clientLeft||0;return{top:e.top+n-r,left:e.left+i-a}},handleScroll:function(){var t=this.affix,e=this.getScroll(this.container,!0),n=this.getOffset(this.$el),i=this.container.innerHeight,o=this.$el.getElementsByTagName("div")[0].offsetHeight;n.top-this.offsetTope&&"top"==this.offsetType&&t&&(this.slot=!1,this.slotStyle={},this.affix=!1,this.styles=null,this.$emit("on-change",!1)),n.top+this.offsetBottom+o>e+i&&"bottom"==this.offsetType&&!t?(this.affix=!0,this.styles={bottom:"".concat(this.offsetBottom,"px"),left:"".concat(n.left,"px"),width:"".concat(this.$el.offsetWidth,"px")},this.$emit("on-change",!0)):n.top+this.offsetBottom+ot.length)&&(e=t.length);for(var n=0,i=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:"default",e="";switch(t){case"default":e="#35495E";break;case"primary":e="#3488ff";break;case"success":e="#43B883";break;case"warning":e="#e6a23c";break;case"danger":e="#f56c6c"}return e}_.capsule=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"primary";console.log("%c ".concat(t," %c ").concat(e," %c"),"background:#35495E; padding: 1px; border-radius: 3px 0 0 3px; color: #fff;","background:".concat(x(n),"; padding: 1px; border-radius: 0 3px 3px 0; color: #fff;"),"background:transparent")},_.colorful=function(t){var e;(e=console).log.apply(e,["%c".concat(t.map((function(t){return t.text||""})).join("%c"))].concat(g(t.map((function(t){return"color: ".concat(x(t.type),";")})))))},_.default=function(t){_.colorful([{text:t}])},_.primary=function(t){_.colorful([{text:t,type:"primary"}])},_.success=function(t){_.colorful([{text:t,type:"success"}])},_.warning=function(t){_.colorful([{text:t,type:"warning"}])},_.danger=function(t){_.colorful([{text:t,type:"danger"}])};var w=_,k={AliOSS:{url:"https://cdn.staticfile.org/ali-oss/6.17.1/aliyun-oss-sdk.min.js",title:"阿里云云图片上传,需引入OSS的sdk",github:"https://github.com/ali-sdk/ali-oss/"},Map:{url:"https://webapi.amap.com/maps?v=1.4.11&key=xxxxx&plugin=AMap.PlaceSearch,https://webapi.amap.com/ui/1.0/main.js?v=1.0.11",title:"地图组件,需引入高德SDK"},MapUi:{url:"https://webapi.amap.com/ui/1.0/main.js?v=1.0.11",title:"地图组件,需引入高德UISDK"},Sortable:{url:"https://cdn.staticfile.org/Sortable/1.10.0-rc2/Sortable.min.js",title:"拖拽,需引入sortableJs",github:"https://github.com/SortableJS/Sortable"},Screenshot:{url:"https://cdn.staticfile.org/html2canvas/0.5.0-beta4/html2canvas.min.js",title:"需引入html2canvas依赖包",github:"https://github.com/niklasvh/html2canvas/"},CryptoJS:{url:"https://avuejs.com/cdn/CryptoJS.js",title:"七牛云图片上传,需引入CryptoJS"},hljs:{url:"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.6/highlight.min.js",title:"需引入hljs框架包",github:"https://github.com/highlightjs/highlight.js"},"file-saver":{url:"https://cdn.staticfile.org/FileSaver.js/2014-11-29/FileSaver.min.js",title:"需引入文件操作包",github:"https://github.com/eligrey/FileSaver.js"},xlsx:{url:"https://cdn.staticfile.org/xlsx/0.18.2/xlsx.full.min.js",title:"需引入excel操作包",github:"https://github.com/protobi/js-xlsx"},mock:{url:"https://cdn.staticfile.org/Mock.js/1.0.1-beta3/mock-min.js",title:"需要引入mock模拟数据包",github:"https://github.com/Colingo/mock"}},C={logs:function(t){var e=k[t];w.capsule(t,e.title,"warning"),w.warning("CDN:"+(e.url||"-")),w.warning("GITHUB:"+(e.github||"-"))}},S=function(){function t(t,e){var n=e.value;t.style.display=!1===n?"none":""}return{bind:function(e,n){t(e,n)},update:function(e,n){t(e,n)}}}(),O=n(0),T=n(2);function $(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function P(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,i=e.value||a.f.value,o=e.children||a.f.children;return t.forEach((function(t){t[i]=Object(O.f)(t[i],n),t[o]&&B(t[o],e,n)})),t}var D=function(t){var e=t.url,n=t.query,i=t.method,o=t.props,r=t.formatter,a=t.headers,s=t.value,l=t.column,c=void 0===l?{}:l,u=t.form,d=void 0===u?{}:u,p=t.dataType;e=c.dicUrl||e,i=(c.dicMethod||i||"get").toLowerCase(),a=c.dicHeaders||a||{},n=c.dicQuery||n||{},r=c.dicFormatter||r,o=c.props||o||{},(e.match(/[^\{\}]+(?=\})/g)||[]).forEach((function(t){var n="key"===t?s:d[t];Object(T.a)(n)&&(n=""),e=e.replace("{{".concat(t,"}}"),n)}));var h=function(t){var e={};return Object.keys(t).forEach((function(n){var i=t[n];if("string"==typeof i&&i.match(/\{{|}}/g)){var o=i.replace(/\{{|}}/g,"");e[n]="key"==o?s:d[o]}else e[n]=i;Object(T.a)(e[n])&&(e[n]="")})),e};return new Promise((function(t){e||t([]);var s,l=function(e){var n=[];e=e.data||{},n="function"==typeof r?r(e,d):function(t,e,n){var i,o=e.bind||"";if(""===o.split(".")[0]){var r=t.data;i=r?Array.isArray(r)?r:[r]:t}return i=Object(O.l)(i,o),n&&(i=B(i,e,n)),i}(e,o,p),t(n)};window.axios(Object.assign({url:e,method:i,headers:h(a)},(s=h(n),"get"==i?{params:s}:{data:s}))).then((function(t){l(t)})).catch((function(){return[t([])]}))}))},E={methods:{getSlotName:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"D",n=arguments.length>2?arguments[2]:void 0,i={F:"Form",H:"Header",E:"Error",L:"Label",S:"Search",T:"Type",D:""},o=t.prop+i[e];return n?n[o]:o},getSlotList:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return n=n.map((function(t){return t.prop})),Object.keys(e).filter((function(e){var i=!1;return n.includes(e)||t.forEach((function(t){e.includes(t)&&(i=!0)})),i}))}}},M=function(){return{mixins:[E],props:{defaults:{type:Object,default:function(){return{}}},option:{type:Object,required:!0,default:function(){return{}}}},watch:{defaults:{handler:function(t){this.objectOption=t},deep:!0},objectOption:{handler:function(t){this.$emit("update:defaults",t)},deep:!0},propOption:{handler:function(t){var e={};t.forEach((function(t){e[t.prop]=t})),this.$set(this,"objectOption",e)},deep:!0},option:{handler:function(){this.init(!1)},deep:!0}},data:function(){return{DIC:{},cascaderDIC:{},tableOption:{},isMobile:"",objectOption:{}}},created:function(){this.init()},computed:{resultOption:function(){return Object.assign(this.deepClone(this.tableOption),{column:this.propOption})},rowKey:function(){return this.tableOption.rowKey||a.f.rowKey},formRules:function(){var t={};return this.propOption.forEach((function(e){e.rules&&!1!==e.display&&(t[e.prop]=e.rules)})),t},isMediumSize:function(){return this.controlSize},controlSize:function(){return this.tableOption.size||this.$AVUE.size}},methods:{init:function(t){this.tableOption=this.option,this.getIsMobile(),this.handleLocalDic(),!1!==t&&this.handleLoadDic()},dicInit:function(t){"cascader"===t?this.handleLoadCascaderDic():this.handleLoadDic()},getIsMobile:function(){this.isMobile=document.body.clientWidth<=768},updateDic:function(t,e){var n=this,i=this.findObject(this.propOption,t);this.validatenull(e)&&this.validatenull(t)?this.handleLoadDic():this.validatenull(e)&&!this.validatenull(i.dicUrl)?D({column:i}).then((function(e){n.$set(n.DIC,t,e)})):this.$set(this.DIC,t,e)},handleLocalDic:function(){!function(t,e){var n={},i=t.dicData||{};t.column.forEach((function(t){t.dicData&&(n[t.prop]=B(t.dicData,t.props,t.dataType))}));var o=P(P({},i),n);Object.keys(o).forEach((function(t){e.$set(e.DIC,t,o[t])}))}(this.resultOption,this)},handleLoadDic:function(){var t,e;t=this.resultOption,e=this,new Promise((function(n){var i=[],o={},r=[],a=[];(t.column||[]).forEach((function(t){var n=t.dicUrl,o=t.prop,a=t.parentProp;r=r.concat(t.cascader||[]);var s=!1===t.dicFlag||!0===t.lazy||r.includes(o);!n||a||s||i.push(new Promise((function(i){D({url:n,name:o,method:t.dicMethod,headers:t.dicHeaders,formatter:t.dicFormatter,props:t.props,dataType:t.dataType,query:t.dicQuery}).then((function(t){e.$set(e.DIC,o,t),i(t)}))})))})),Promise.all(i).then((function(t){a.forEach((function(e,n){o[e]=t[n]})),n(o)}))}))},handleLoadCascaderDic:function(){var t,e;t=this.propOption,e=this,new Promise((function(n){var i=[],o={},r=t.filter((function(t){return t.parentProp}));e.data.forEach((function(t,n){e.cascaderDIC[n]||e.$set(e.cascaderDIC,n,{}),r.forEach((function(o){!0!==o.hide&&!1!==o.dicFlag&&i.push(new Promise((function(i){if(t[o.parentProp])D({url:o.dicUrl,props:o.props,method:o.dicMethod,headers:o.dicHeaders,formatter:o.dicFormatter,query:o.dicQuery,dataType:o.dataType,form:t,value:t[o.parentProp]}).then((function(t){var r={prop:o.prop,data:t,index:n};e.$set(e.cascaderDIC[n],r.prop,r.data),i(r)}));else{var r={prop:o.prop,data:[],index:n};e.$set(e.cascaderDIC[n],r.prop,r.data),i(r)}})))}))})),Promise.all(i).then((function(t){t.forEach((function(t){o[t.index]||(o[t.index]={}),o[t.index][t.prop]=t.data})),n(o)}))}))}}}},j={menuWidth:220,menuFixed:"right",menuXsWidth:100,menuAlign:"center",menuHeaderAlign:"center",headerAlign:"left",cancelBtnIcon:"el-icon-circle-close",viewBtnIcon:"el-icon-view",editBtnIcon:"el-icon-edit",copyBtnIcon:"el-icon-document-add",addBtnIcon:"el-icon-plus",printBtnIcon:"el-icon-printer",excelBtnIcon:"el-icon-download",delBtnIcon:"el-icon-delete",searchBtnIcon:"el-icon-search",emptyBtnIcon:"el-icon-delete",saveBtnIcon:"el-icon-circle-plus-outline",updateBtnIcon:"el-icon-circle-check",columnBtnIcon:"el-icon-s-operation",filterBtnIcon:"el-icon-tickets",refreshBtnIcon:"el-icon-refresh",viewBtn:!1,editBtn:!0,copyBtn:!1,cancelBtn:!0,addBtn:!0,addRowBtn:!1,printBtn:!1,excelBtn:!1,delBtn:!0,cellBtn:!1,dateBtn:!1,updateBtn:!0,saveBtn:!0,refreshBtn:!0,columnBtn:!0,filterBtn:!1,queryBtn:!0,menuBtn:!1,searchBtn:!0,clearBtn:!0,selectClearBtn:!0,searchShow:!0,tip:!0,dialogWidth:"60%",dialogDrag:!1,formFullscreen:!1,pageBackground:!0,page:!0,menu:!0,indexLabel:"#",indexWidth:50,indexFixed:"left",selectionWidth:50,selectionFixed:"left",expandWidth:60,expandFixed:"left",filterMultiple:!0,calcHeight:300,width:"100%",searchGutter:20,searchLabelWidth:80,searchSpan:6,dropRowClass:".el-table__body-wrapper > table > tbody",dropColClass:".el-table__header-wrapper tr",ghostClass:"avue-crud__ghost"},I=l(s({name:"crud",inject:["crud"],data:function(){return{config:j,defaultPage:{single:!1,total:0,pagerCount:7,currentPage:1,pageSize:10,pageSizes:[10,20,30,40,50,100],layout:"total, sizes, prev, pager, next, jumper",background:!0}}},created:function(){this.crud.isMobile&&(this.defaultPage.layout="total, sizes, prev, pager, next"),this.pageInit(),this.crud.$emit("on-load",this.defaultPage)},watch:{"crud.page":{handler:function(){this.pageInit()},deep:!0},pageFlag:function(){this.crud.getTableHeight()},"defaultPage.total":function(t){this.defaultPage.total===(this.defaultPage.currentPage-1)*this.defaultPage.pageSize&&0!=this.defaultPage.total&&(this.defaultPage.currentPage=this.defaultPage.currentPage-1,this.currentChange(this.defaultPage.currentPage))}},computed:{pageFlag:function(){return 0!=this.defaultPage.total}},methods:{pageInit:function(){this.defaultPage=Object.assign(this.defaultPage,this.crud.page),this.updateValue()},updateValue:function(){this.crud.$emit("update:page",this.defaultPage)},nextClick:function(t){this.crud.$emit("next-click",t)},prevClick:function(t){this.crud.$emit("prev-click",t)},sizeChange:function(t){this.defaultPage.currentPage=1,this.defaultPage.pageSize=t,this.updateValue(),this.crud.$emit("on-load",this.defaultPage),this.crud.$emit("size-change",t)},currentChange:function(t){this.updateValue(),this.crud.$emit("on-load",this.defaultPage),this.crud.$emit("current-change",t)}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return t.pageFlag&&t.vaildData(t.crud.tableOption.page,!0)?e("el-card",{class:t.b("pagination"),attrs:{shadow:t.crud.isCard}},[t._t("page"),t._v(" "),e("el-pagination",{attrs:{small:"mini"==t.crud.size,disabled:t.defaultPage.disabled,"hide-on-single-page":t.defaultPage.single,"pager-count":t.defaultPage.pagerCount,"current-page":t.defaultPage.currentPage,background:t.defaultPage.background,"page-size":t.defaultPage.pageSize,"page-sizes":t.defaultPage.pageSizes,layout:t.defaultPage.layout,total:t.defaultPage.total},on:{"update:currentPage":function(e){return t.$set(t.defaultPage,"currentPage",e)},"update:current-page":function(e){return t.$set(t.defaultPage,"currentPage",e)},"size-change":t.sizeChange,"prev-click":t.prevClick,"next-click":t.nextClick,"current-change":t.currentChange}})],2):t._e()}),[],!1,null,null,null).exports,L=n(4),N=n.n(L);function z(t){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var F=Object.prototype.hasOwnProperty;function H(t,e){return F.call(t,e)}var K=/(%|)\{([0-9a-zA-Z_]+)\}/g,R=(N.a,function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length,n=new Array(e>1?e-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:[];return t.forEach((function(e){var n=e.cascader;if(!Object(T.a)(n)){var i=e.prop;n.forEach((function(e){var n=Object(O.k)(t,e);n&&(n.parentProp=i)}))}})),t},J=0,Q=function(t){var e=t.type,n=t.searchRange,i=e;if(t.searchType)return t.searchType;if(["radio","checkbox","switch"].includes(e))i="select";else if(a.d.includes(e)){i=n?e.includes("range")?e:e+"range":e.replace("range","")}else["textarea"].includes(e)&&(i="input");return i},Z=function(t,e){var n=t||"input";return Object(T.a)(e)?(a.a.includes(t)?n="array":["time","timerange"].includes(t)?n="time":a.d.includes(t)?n="date":["password","textarea","search"].includes(t)?n="input":a.i.includes(t)&&(n="input-"+t),a.j+n):e},tt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e={};return t.forEach((function(t){a.b.includes(t.type)&&!1!==t.emitPath||a.k.includes(t.type)&&t.multiple||"array"===t.dataType?e[t.prop]=[]:a.l.includes(t.type)&&1==t.range?e[t.prop]=[0,0]:["rate","slider","number"].includes(t.type)||"number"===t.dataType?e[t.prop]=void 0:e[t.prop]="",t.bind&&(e=Object(O.c)(e,t.bind)),Object(T.a)(t.value)||(e[t.prop]=t.value)})),{tableForm:e}},et=function(t){var e=t.placeholder,n=t.label;return Object(T.a)(e)?a.m.includes(t.type)?"".concat(Y("tip.select")," ").concat(n):"".concat(Y("tip.input")," ").concat(n):e},nt=l(s({name:"crud__search",inject:["crud"],mixins:[q,E],data:function(){return{show:!1,searchIndex:2,searchShow:!0}},props:{search:Object},watch:{"crud.propOption":{handler:function(){this.dataFormat()},deep:!0},show:function(){this.crud.getTableHeight()},searchShow:function(){this.crud.getTableHeight()}},created:function(){this.initFun(),this.dataFormat()},computed:{searchForm:{get:function(){return this.crud.search},set:function(t){this.crud.$emit("update:search",t)}},option:function(){var t=this,e=this.crud.option;this.searchIndex=e.searchIndex||2;var n,i;return n=e,(i=t.deepClone(n)).column=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];n=t.deepClone(n);var i=[],o=0;return(n=n.sort((function(t,e){return(e.searchOrder||0)-(t.searchOrder||0)}))).forEach((function(n){if(n.search){var r=othis.searchIndex},searchLen:function(){var t=0;return this.crud.propOption.forEach((function(e){e.search&&t++})),t},searchFlag:function(){return!!this.crud.$scopedSlots.search||0!==this.searchLen}},methods:{initFun:function(){var t=this;["searchReset","searchChange"].forEach((function(e){return t.crud[e]=t[e]}))},getSlotName:function(t){return t.replace("Search","")},searchChange:function(t,e){t=Object(O.h)(t),this.crud.propOption.forEach((function(e){e.searchProp&&(t[e.searchProp]=t[e.prop],delete t[e.prop])})),this.crud.$emit("search-change",t,e)},resetChange:function(){this.crud.$emit("search-reset",this.searchForm)},searchReset:function(){this.$refs.form.resetForm()},handleSearchShow:function(){this.searchShow=!this.searchShow},dataFormat:function(){var t=this.crud.option;this.searchShow=this.vaildData(t.searchShow,j.searchShow)}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return t.searchFlag?e("el-card",{directives:[{name:"show",rawName:"v-show",value:t.searchShow&&t.searchFlag,expression:"searchShow && searchFlag"}],class:t.b(),attrs:{shadow:t.crud.isCard}},[t._t("search",null,{row:t.searchForm,search:t.searchForm,size:t.crud.controlSize}),t._v(" "),e("avue-form",{ref:"form",attrs:{option:t.option},on:{submit:t.searchChange,"reset-change":t.resetChange},scopedSlots:t._u([{key:"menuForm",fn:function(n){return[t._t("searchMenu",null,null,Object.assign(n,{search:t.searchForm,row:t.searchForm})),t._v(" "),t.isSearchIcon?[!1===t.show?e("el-button",{attrs:{type:"text",icon:"el-icon-arrow-down"},on:{click:function(e){t.show=!0}}},[t._v(t._s(t.t("crud.open")))]):t._e(),t._v(" "),!0===t.show?e("el-button",{attrs:{type:"text",icon:"el-icon-arrow-up"},on:{click:function(e){t.show=!1}}},[t._v(t._s(t.t("crud.shrink")))]):t._e()]:t._e()]}},t._l(t.crud.searchSlot,(function(e){return{key:t.getSlotName(e),fn:function(n){return[t._t(e,null,null,Object.assign(n,{search:t.searchForm,row:t.searchForm}))]}}}))],null,!0),model:{value:t.searchForm,callback:function(e){t.searchForm=e},expression:"searchForm"}})],2):t._e()}),[],!1,null,null,null).exports,it=n(3),ot=n.n(it),rt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=t[e.prop],r=e.type,s=e.separator;if(e.bind&&(o=Object(O.l)(t,e.bind)),o=o,!Object(T.a)(o)){var l=a.k.includes(e.type)&&e.multiple,c=a.b.includes(e.type);if(!l&&!c||Array.isArray(o)||e.dataType||(e.dataType="string"),e.dataType&&(l||c?(Array.isArray(o)||(o=o.split(s||a.h)),o.forEach((function(t){t=Object(O.f)(t,e.dataType)}))):o=Object(O.f)(o,e.dataType)),"password"===r)o=Object(O.o)(o,"*");else if(a.d.includes(r)&&e.format){var u=e.format.replace("dd","DD").replace("yyyy","YYYY"),d=ot()().format("YYYY-MM-DD");if(-1!==r.indexOf("range")){var p=o[0]||"",h=o[1]||"";"timerange"===r&&p.length<=8&&h.length<8&&(p="".concat(d," ").concat(p),h="".concat(d," ").concat(h)),o=[ot()(p).format(u),ot()(h).format(u)].join(e.separator||"~")}else"time"===r&&o.length<=8&&(o="".concat(d," ").concat(o)),o=ot()(o).format(u)}o=Object(O.m)(i,o,e.props||n.props)}return"function"==typeof e.formatter?o=e.formatter(t,t[e.prop],o,e):Array.isArray(o)&&(o=o.join(s||a.g)),o},at=l({name:"form-temp",mixins:[E],props:{value:{},uploadBefore:Function,uploadDelete:Function,uploadAfter:Function,uploadPreview:Function,uploadError:Function,uploadExceed:Function,columnSlot:{type:Array,default:function(){return[]}},tableData:{type:Object,default:function(){return{}}},clearable:{type:Boolean},enter:{type:Boolean,default:!1},type:{type:String},propsHttp:{type:Object,default:function(){return{}}},props:{type:Object},dic:{type:Array},placeholder:{type:String},size:{type:String},disabled:{type:Boolean},readonly:{type:Boolean},column:{type:Object,default:function(){return{}}}},computed:{params:function(){return this.column.params||{}},event:function(){return this.column.event||{}},text:{get:function(){return this.value},set:function(t){this.$emit("input",t),this.$emit("change",t)}}},methods:{getComponent:Z,getPlaceholder:et,enterChange:function(){"function"==typeof this.column.enter?this.column.enter({value:this.text,column:this.column}):this.enter&&this.$emit("enter")}}},(function(){var t=this,e=t._self._c;return e(t.getComponent(t.column.type,t.column.component),t._g(t._b({ref:"temp",tag:"component",attrs:{column:Object.assign(t.column,t.params),dic:t.dic,disabled:t.column.disabled||t.disabled,readonly:t.column.readonly||t.readonly,placeholder:t.getPlaceholder(t.column),props:t.column.props||t.props,propsHttp:t.column.propsHttp||t.propsHttp,size:t.column.size||t.size,"table-data":t.tableData,type:t.type||t.column.type,"column-slot":t.columnSlot},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.enterChange.apply(null,arguments)}},scopedSlots:t._u([t._l(t.getSlotName(t.column,"T",t.$scopedSlots)?[t.column]:[],(function(e){return{key:"default",fn:function(n){return[t._t(t.getSlotName(e,"T"),null,null,n)]}}})),t._l(t.columnSlot,(function(e){return{key:e,fn:function(n){return[t._t(e,null,null,n)]}}}))],null,!0),model:{value:t.text,callback:function(e){t.text=e},expression:"text"}},"component",Object.assign(t.column,t.$uploadFun(t.column)),!1),t.event),[t.params.html?e("span",{domProps:{innerHTML:t._s(t.params.html)}}):t._e()])}),[],!1,null,null,null).exports,st=l({name:"icon-temp",props:{small:Boolean,text:{type:String,default:""}}},(function(){var t=this._self._c;return t("span",{staticClass:"avue-icon",class:{"avue-icon--small":this.small}},[this.text.includes("#")?t("svg",{attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":this.text}})]):t("i",{class:this.text})])}),[],!1,null,null,null).exports;function lt(t){return function(t){if(Array.isArray(t))return ct(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return ct(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ct(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ct(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n0?e("column-dynamic",{key:n.label,attrs:{columnOption:n},scopedSlots:t._u([t._l(t.crud.mainSlot,(function(e){return{key:e,fn:function(n){return[t._t(e,null,null,n)]}}}))],null,!0)}):e("column-slot",{attrs:{column:n,"column-option":t.columnOption.children},scopedSlots:t._u([t._l(t.crud.mainSlot,(function(e){return{key:e,fn:function(n){return[t._t(e,null,null,n)]}}}))],null,!0)})]}))],2):t._e()}),[],!1,null,null,null);function ht(t){return function(t){if(Array.isArray(t))return ft(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return ft(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ft(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ft(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n0?e("column-dynamic",{key:n.label,attrs:{columnOption:n},scopedSlots:t._u([t._l(t.crud.mainSlot,(function(e){return{key:e,fn:function(n){return[t._t(e,null,null,n)]}}}))],null,!0)}):e("column-slot",{attrs:{column:n,"column-option":t.columnOption},scopedSlots:t._u([t._l(t.crud.mainSlot,(function(e){return{key:e,fn:function(n){return[t._t(e,null,null,n)]}}}))],null,!0)})]})),t._v(" "),t._t("footer")],2)}),[],!1,null,null,null).exports,vt=l(s({name:"crud",mixins:[q],directives:{permission:S},inject:["crud"],data:function(){return{dateCreate:!1,pickerOptions:{shortcuts:[{text:"今日",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.getTime()),t.$emit("pick",[n,e])}},{text:"昨日",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.getTime()-864e5),t.$emit("pick",[n,e])}},{text:"最近一周",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.getTime()-6048e5),t.$emit("pick",[n,e])}},{text:"最近一个月",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.getTime()-2592e6),t.$emit("pick",[n,e])}},{text:"最近三个月",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.getTime()-7776e6),t.$emit("pick",[n,e])}}]},config:j}},created:function(){this.initFun()},methods:{dateChange:function(t){this.dateCreate?this.crud.$emit("date-change",t):this.dateCreate=!0},initFun:function(){this.vaildData=O.w,this.crud.rowExcel=this.rowExcel,this.crud.rowPrint=this.rowPrint},rowExcel:function(){this.crud.$refs.dialogExcel.handleShow()},rowPrint:function(){this.$Print(this.crud.$refs.table)}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:t.b("menu")},[t.vaildData(t.crud.tableOption.menuLeft,!0)?e("div",{class:t.b("left")},[t.vaildData(t.crud.tableOption.addBtn,t.config.addBtn)?e("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("addBtn"),expression:"crud.getPermission('addBtn')"}],attrs:{type:"primary",icon:t.crud.getBtnIcon("addBtn"),size:t.crud.isMediumSize},on:{click:t.crud.rowAdd}},[t.crud.isIconMenu?t._e():[t._v("\n "+t._s(t.crud.menuIcon("addBtn"))+"\n ")]],2):t._e(),t._v(" "),t.vaildData(t.crud.tableOption.addRowBtn,t.config.addRowBtn)?e("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("addRowBtn"),expression:"crud.getPermission('addRowBtn')"}],attrs:{type:"primary",icon:t.crud.getBtnIcon("addBtn"),size:t.crud.isMediumSize},on:{click:t.crud.rowCellAdd}},[t.crud.isIconMenu?t._e():[t._v("\n "+t._s(t.crud.menuIcon("addBtn"))+"\n ")]],2):t._e(),t._v(" "),t._t("menuLeft",null,{size:t.crud.isMediumSize})],2):t._e(),t._v(" "),t.vaildData(t.crud.tableOption.menuRight,!0)?e("div",{class:t.b("right")},[t.vaildData(t.crud.tableOption.dateBtn,t.config.dateBtn)?e("avue-date",{staticStyle:{display:"inline-block","margin-right":"20px"},attrs:{type:"datetimerange","value-format":"yyyy-MM-dd HH:mm:ss",format:"yyyy-MM-dd HH:mm:ss",pickerOptions:t.pickerOptions,size:t.crud.isMediumSize},on:{change:t.dateChange}}):t._e(),t._v(" "),t._t("menuRight",null,{size:t.crud.isMediumSize}),t._v(" "),t.vaildData(t.crud.tableOption.excelBtn,t.config.excelBtn)?e("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("excelBtn"),expression:"crud.getPermission('excelBtn')"}],attrs:{icon:t.crud.getBtnIcon("excelBtn"),circle:"",size:t.crud.isMediumSize},on:{click:t.rowExcel}}):t._e(),t._v(" "),t.vaildData(t.crud.tableOption.printBtn,t.config.printBtn)?e("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("printBtn"),expression:"crud.getPermission('printBtn')"}],attrs:{icon:t.crud.getBtnIcon("printBtn"),circle:"",size:t.crud.isMediumSize},on:{click:t.rowPrint}}):t._e(),t._v(" "),t.vaildData(t.crud.tableOption.refreshBtn,t.config.refreshBtn)?e("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("refreshBtn"),expression:"crud.getPermission('refreshBtn')"}],attrs:{icon:t.crud.getBtnIcon("refreshBtn"),circle:"",size:t.crud.isMediumSize},on:{click:t.crud.refreshChange}}):t._e(),t._v(" "),t.vaildData(t.crud.tableOption.columnBtn,t.config.columnBtn)?e("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("columnBtn"),expression:"crud.getPermission('columnBtn')"}],attrs:{icon:t.crud.getBtnIcon("columnBtn"),circle:"",size:t.crud.isMediumSize},on:{click:function(e){return t.crud.$refs.dialogColumn.handleShow()}}}):t._e(),t._v(" "),(t.crud.$refs.headerSearch||{}).searchFlag&&t.vaildData(t.crud.tableOption.searchShowBtn,!0)?e("el-button",{attrs:{icon:t.crud.getBtnIcon("searchBtn"),circle:"",size:t.crud.isMediumSize},on:{click:function(e){return t.crud.$refs.headerSearch.handleSearchShow()}}}):t._e(),t._v(" "),t.vaildData(t.crud.tableOption.filterBtn,t.config.filterBtn)?e("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("filterBtn"),expression:"crud.getPermission('filterBtn')"}],attrs:{icon:t.crud.getBtnIcon("filterBtn"),circle:"",size:t.crud.isMediumSize},on:{click:function(e){return t.crud.$refs.dialogFilter.handleShow()}}}):t._e()],2):t._e()])}),[],!1,null,null,null).exports,bt=l(s({name:"crud",mixins:[q],inject:["crud"],data:function(){return{data:[],columnBox:!1}},computed:{defaultColumn:function(){return[{label:this.t("crud.column.hide"),prop:"hide"},{label:this.t("crud.column.fixed"),prop:"fixed"},{label:this.t("crud.column.filters"),prop:"filters"},{label:this.t("crud.column.sortable"),prop:"sortable"},{label:this.t("crud.column.index"),prop:"index",hide:!0},{label:this.t("crud.column.width"),prop:"width",hide:!0}]}},methods:{handleShow:function(){var t=this;this.data=[],this.crud.propOption.forEach((function(e){0!=e.showColumn&&t.data.push(e)})),this.columnBox=!0,this.$nextTick((function(){return t.rowDrop()}))},handleChange:function(t){["hide","filters"].includes(t)&&this.crud.refreshTable()},rowDrop:function(){var t=this,e=this.$refs.table.$el.querySelectorAll(j.dropRowClass)[0];this.crud.tableDrop("column",e,(function(e){var n=e.oldIndex,i=e.newIndex;t.crud.headerSort(n,i),t.crud.refreshTable((function(){return t.rowDrop()}))}))}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return t.columnBox?e("div",[e("el-drawer",{staticClass:"avue-dialog",class:[t.b("dialog"),t.b("column")],attrs:{"lock-scroll":"","modal-append-to-body":t.$AVUE.modalAppendToBody,"append-to-body":t.$AVUE.appendToBody,title:t.t("crud.showTitle"),size:t.crud.isMobile?"100%":"40%",visible:t.columnBox},on:{"update:visible":function(e){t.columnBox=e}}},[e("el-table",{ref:"table",attrs:{data:t.data,height:"100%",size:"small",border:""}},[e("el-table-column",{key:"label",attrs:{align:"center",width:"100","header-align":"center",prop:"label",label:t.t("crud.column.name")}}),t._v(" "),t._l(t.defaultColumn,(function(n,i){return[!0!==n.hide?e("el-table-column",{key:i,attrs:{label:n.label,prop:n.prop,align:"center","header-align":"center"},scopedSlots:t._u([{key:"default",fn:function({row:i}){return[e("el-checkbox",{on:{change:function(e){return t.handleChange(n.prop)}},model:{value:t.crud.objectOption[i.prop][n.prop],callback:function(e){t.$set(t.crud.objectOption[i.prop],n.prop,e)},expression:"crud.objectOption[row.prop][item.prop]"}})]}}],null,!0)}):t._e()]}))],2)],1)],1):t._e()}),[],!1,null,null,null).exports,gt=l(s({name:"crud",mixins:[q],inject:["crud"],data:function(){return{box:!1,columnObj:{},symbolDic:[{label:"=",value:"="},{label:"≠",value:"≠"},{label:"like",value:"like"},{label:">",value:">"},{label:"≥",value:"≥"},{label:"<",value:"<"},{label:"≤",value:"≤"},{label:"∈",value:"∈"}],list:[],columnOption:{}}},methods:{handleShow:function(){this.getColumnOption(),this.box=!0},getColumnOption:function(){var t=[];this.deepClone(this.crud.propOption).forEach((function(e){!1!==e.showColumn&&t.push(Object.assign(e,{value:e.prop}))})),this.columnOption=t,this.columnObj=this.columnOption[0]},handleDelete:function(t){this.list.splice(t,1)},handleClear:function(){this.list=[]},handleValueClear:function(){this.list.forEach((function(t,e){return t.value=""}))},handleSubmit:function(){var t=[];this.list.forEach((function(e){t.push([e.text,e.symbol,e.value])})),this.crud.$emit("filter",t),this.box=!1},handleChange:function(t){this.list[t].value=""},handleAdd:function(){var t=this.columnObj.prop;this.list.push({text:t,value:"",symbol:this.symbolDic[0].value})}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return t.box?e("div",[e("el-drawer",{staticClass:"avue-dialog",class:[t.b("dialog"),t.b("filter")],attrs:{"lock-scroll":"","modal-append-to-body":t.$AVUE.modalAppendToBody,"append-to-body":t.$AVUE.appendToBody,title:t.t("crud.filterTitle"),size:t.crud.isMobile?"100%":"60%",visible:t.box},on:{"update:visible":function(e){t.box=e}}},[e("el-row",{attrs:{span:24}},[e("div",{class:t.b("filter-menu")},[e("el-button-group",[e("el-button",{attrs:{type:"primary",size:t.crud.isMediumSize},on:{click:t.handleAdd}},[t._v(t._s(t.t("crud.filter.addBtn")))]),t._v(" "),e("el-button",{attrs:{type:"primary",size:t.crud.isMediumSize},on:{click:t.handleClear}},[t._v(t._s(t.t("crud.filter.resetBtn")))]),t._v(" "),e("el-button",{attrs:{type:"primary",size:t.crud.isMediumSize},on:{click:t.handleValueClear}},[t._v(t._s(t.t("crud.filter.clearBtn")))])],1)],1),t._v(" "),t._l(t.list,(function(n,i){return e("el-col",{key:i,class:t.b("filter-item"),attrs:{md:12,xs:24,sm:12}},[e("avue-select",{class:t.b("filter-label"),attrs:{dic:t.columnOption,clearable:!1,size:t.crud.isMediumSize},on:{change:function(e){return t.handleChange(i)}},model:{value:n.text,callback:function(e){t.$set(n,"text",e)},expression:"column.text"}}),t._v(" "),e("avue-select",{class:t.b("filter-symbol"),attrs:{dic:t.symbolDic,clearable:!1,size:t.crud.isMediumSize},model:{value:n.symbol,callback:function(e){t.$set(n,"symbol",e)},expression:"column.symbol"}}),t._v(" "),e("avue-input",{class:t.b("filter-value"),attrs:{size:t.crud.isMediumSize},model:{value:n.value,callback:function(e){t.$set(n,"value",e)},expression:"column.value"}}),t._v(" "),e("el-button",{class:t.b("filter-icon"),attrs:{type:"danger",size:"mini",circle:"",icon:"el-icon-minus"},on:{click:function(e){return t.handleDelete(i)}}})],1)})),t._v(" "),e("el-col",{staticClass:"avue-form__menu avue-form__menu--right",attrs:{span:24}},[e("el-button",{attrs:{type:"primary",size:t.crud.isMediumSize},on:{click:t.handleSubmit}},[t._v(t._s(t.t("crud.filter.submitBtn")))]),t._v(" "),e("el-button",{attrs:{size:t.crud.isMediumSize},on:{click:function(e){t.box=!1}}},[t._v(t._s(t.t("crud.filter.cancelBtn")))])],1)],2)],1)],1):t._e()}),[],!1,null,null,null).exports,yt=l(s({name:"crud",mixins:[q],inject:["crud"],data:function(){return{disabled:!1,config:j,boxType:"",fullscreen:!1,size:null,boxVisible:!1}},props:{value:{type:Object,default:function(){return{}}}},computed:{option:function(){var t=this,e=this.deepClone(this.crud.tableOption);return e.boxType=this.boxType,e.column=this.deepClone(this.crud.propOption),e.menuBtn=!1,this.isAdd?(e.submitBtn=e.saveBtn,e.submitText=this.crud.menuIcon("saveBtn"),e.submitIcon=this.crud.getBtnIcon("saveBtn")):this.isEdit?(e.submitBtn=e.updateBtn,e.submitText=this.crud.menuIcon("updateBtn"),e.submitIcon=this.crud.getBtnIcon("updateBtn")):this.isView&&(e.detail=!0),e.emptyBtn=e.cancelBtn,e.emptyText=this.crud.menuIcon("cancelBtn"),e.emptyIcon=this.crud.getBtnIcon("cancelBtn"),this.crud.isGroup||(e.dicFlag=!1,e.dicData=this.crud.DIC),this.validatenull(e.dicFlag)||e.column.forEach((function(n){n.boxType=t.boxType,n.dicFlag=n.dicFlag||e.dicFlag})),e},isView:function(){return"view"===this.boxType},isAdd:function(){return"add"===this.boxType},isEdit:function(){return"edit"===this.boxType},direction:function(){return this.crud.tableOption.dialogDirection},width:function(){return this.vaildData(this.crud.tableOption.dialogWidth+"",this.crud.isMobile?"100%":j.dialogWidth+"")},dialogType:function(){return this.isDrawer?"elDrawer":"elDialog"},dialogTop:function(){return this.isDrawer||this.fullscreen?"0":this.crud.tableOption.dialogTop},isDrawer:function(){return"drawer"===this.crud.tableOption.dialogType},params:function(){return this.isDrawer?{size:this.fullscreen?"100%":this.width,direction:this.crud.tableOption.dialogDirection}:{width:this.width,fullscreen:this.fullscreen}},dialogTitle:function(){var t="".concat(this.boxType);if(!this.validatenull(this.boxType))return this.crud.tableOption[t+"Title"]||this.t("crud.".concat(t,"Title"))},dialogMenuPosition:function(){return this.crud.option.dialogMenuPosition||"right"}},methods:{submit:function(){this.$refs.tableForm.submit()},reset:function(){this.$refs.tableForm.resetForm(!1)},getSlotName:function(t){return t.replace("Form","")},initFun:function(){var t=this;["clearValidate","validate","resetForm","validateField"].forEach((function(e){t.crud[e]=t.$refs.tableForm[e]}))},handleChange:function(){this.crud.setVal()},handleTabClick:function(t,e){this.crud.$emit("tab-click",t,e)},handleFullScreen:function(){this.isDrawer&&(this.validatenull(this.size)?this.size="100%":this.size=""),this.fullscreen?this.fullscreen=!1:this.fullscreen=!0},handleError:function(t){this.crud.$emit("error",t)},handleSubmit:function(t,e){this.isAdd?this.rowSave(e):this.isEdit&&this.rowUpdate(e)},rowSave:function(t){this.crud.$emit("row-save",Object(O.h)(this.crud.tableForm,["$"]),this.closeDialog,t)},rowUpdate:function(t){this.crud.$emit("row-update",Object(O.h)(this.crud.tableForm,["$"]),this.crud.tableIndex,this.closeDialog,t)},closeDialog:function(t){var e=this;(t=this.deepClone(t))&&function(){if(e.isEdit){var n=e.crud.findData(t[e.crud.rowKey]),i=n.parentList,o=n.index;if(i){var r=i.splice(o,1)[0];t[e.crud.childrenKey]=r[e.crud.childrenKey],i.splice(o,0,t)}}else if(e.isAdd){var a=e.crud.findData(t[e.crud.rowParentKey]).item;a?(a[e.crud.childrenKey]||e.$set(a,e.crud.childrenKey,[]),e.crud.tableOption.lazy&&e.$set(a,e.crud.hasChildrenKey,!0),a[e.crud.childrenKey].push(t)):e.crud.list.push(t)}}(),this.hide()},hide:function(t){var e=this,n=function(){t&&t(),e.crud.tableIndex=-1,e.crud.tableForm={},e.crud.setVal(),e.boxVisible=!1};"function"==typeof this.crud.beforeClose?this.crud.beforeClose(n,this.boxType):n()},show:function(t){var e=this;this.boxType=t;var n=function(){e.fullscreen=e.crud.tableOption.dialogFullscreen,e.boxVisible=!0,e.$nextTick((function(){e.initFun()}))};"function"==typeof this.crud.beforeOpen?this.crud.beforeOpen(n,this.boxType):n()}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return t.boxVisible?e("div",[e(t.dialogType,t._b({directives:[{name:"dialogDrag",rawName:"v-dialogDrag",value:t.vaildData(t.crud.tableOption.dialogDrag,t.config.dialogDrag),expression:"vaildData(crud.tableOption.dialogDrag,config.dialogDrag)"}],tag:"component",class:["avue-dialog",t.b("dialog"),{"avue-dialog--fullscreen":t.fullscreen}],attrs:{"lock-scroll":"","destroy-on-close":t.crud.tableOption.dialogDestroy,wrapperClosable:t.crud.tableOption.dialogClickModal,direction:t.direction,"custom-class":t.crud.tableOption.dialogCustomClass,"modal-append-to-body":t.vaildData(t.crud.tableOption.dialogModalAppendToBody,t.$AVUE.modalAppendToBody),"append-to-body":t.vaildData(t.crud.tableOption.appendToBody,t.$AVUE.appendToBody),top:t.dialogTop,title:t.dialogTitle,"close-on-press-escape":t.crud.tableOption.dialogEscape,"close-on-click-modal":t.vaildData(t.crud.tableOption.dialogClickModal,!1),modal:t.crud.tableOption.dialogModal,"show-close":t.crud.tableOption.dialogCloseBtn,visible:t.boxVisible,"before-close":t.hide},on:{"update:visible":function(e){t.boxVisible=e}}},"component",t.params,!1),[e("div",{class:t.b("dialog__header"),attrs:{slot:"title"},slot:"title"},[e("span",{staticClass:"el-dialog__title"},[t._v(t._s(t.dialogTitle))]),t._v(" "),e("div",{class:t.b("dialog__menu")},[e("i",{staticClass:"el-dialog__close",class:t.fullscreen?"el-icon-news":"el-icon-full-screen",on:{click:t.handleFullScreen}})])]),t._v(" "),e("avue-form",t._b({ref:"tableForm",attrs:{status:t.disabled,option:t.option},on:{"update:status":function(e){t.disabled=e},change:t.handleChange,submit:t.handleSubmit,"reset-change":t.hide,"tab-click":t.handleTabClick,error:t.handleError},scopedSlots:t._u([t._l(t.crud.formSlot,(function(e){return{key:t.getSlotName(e),fn:function(n){return[t._t(e,null,null,Object.assign(n,{type:t.boxType}))]}}}))],null,!0),model:{value:t.crud.tableForm,callback:function(e){t.$set(t.crud,"tableForm",e)},expression:"crud.tableForm"}},"avue-form",t.$uploadFun({},t.crud),!1)),t._v(" "),e("span",{staticClass:"avue-dialog__footer",class:"avue-dialog__footer--"+t.dialogMenuPosition},[t.vaildData(t.option.submitBtn,!0)&&!t.isView?e("el-button",{attrs:{loading:t.disabled,size:t.crud.controlSize,icon:t.option.submitIcon,type:"primary"},on:{click:t.submit}},[t._v(t._s(t.option.submitText))]):t._e(),t._v(" "),t.vaildData(t.option.emptyBtn,!0)&&!t.isView?e("el-button",{attrs:{disabled:t.disabled,size:t.crud.controlSize,icon:t.option.emptyIcon},on:{click:t.reset}},[t._v(t._s(t.option.emptyText))]):t._e(),t._v(" "),t._t("menuForm",null,{disabled:t.disabled,size:t.crud.controlSize,type:t.boxType})],2)],1)],1):t._e()}),[],!1,null,null,null).exports,_t=l({name:"crud",mixins:[q],inject:["crud"],data:function(){return{option:{},columnOption:{},box:!1,form:{name:this.crud.tableOption.title}}},methods:{handleShow:function(){this.getColumnOption(),this.getOption(),this.box=!0},handleSubmit:function(){this.$Export.excel({title:this.form.name,columns:this.getColumn(),data:this.handleSum()}),this.box=!1},handleSum:function(){var t=this,e=this.crud.tableOption,n=this.crud.propOption,i=this.form.type?this.crud.list:this.crud.tableSelect,o=[];return this.form.params.includes("data")&&i.forEach((function(i){var r=t.deepClone(i);n.forEach((function(n){var i=n.parentProp?(t.crud.cascaderDIC[row.$index]||{})[n.prop]:t.crud.DIC[n.prop];r[n.prop]=rt(r,n,e,i)})),o.push(r)})),this.form.params.includes("sum")&&e.showSummary&&o.push(this.crud.sumsList),o},getOption:function(){var t,e=this;this.option={submitBtn:!1,emptyBtn:!1,column:[{label:"文件名",prop:"name",span:24},{label:"选择数据",prop:"type",span:24,type:"select",dicData:[{label:"当前数据(当前页全部的数据)",value:!0},{label:"选中的数据(当前页选中的数据)",disabled:1!=this.crud.tableOption.selection,value:!1}]},{label:"选择字段",prop:"prop",type:"tree",multiple:!0,checkStrictly:!0,span:24,props:{value:"prop"},dicData:this.columnOption},{label:"参数设置",prop:"params",type:"checkbox",span:24,value:["header","data"].concat((t=[],e.crud.isHeader&&t.push("headers"),e.crud.isShowSummary&&t.push("sum"),t)),dicData:[{label:"表头",disabled:!0,value:"header"},{label:"数据源",value:"data"}].concat(function(){var t=[];return t.push({label:"复杂表头",value:"headers",disabled:!e.crud.isHeader}),t.push({label:"合计统计",value:"sum",disabled:!e.crud.isShowSummary}),t}())}]},this.form.type=0==this.crud.selectLen},getColumnOption:function(){var t=this.deepClone(this.crud.columnOption),e=[];!function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];n.forEach((function(i,o){var r=i.children;r&&!Array.isArray(r)?delete i.children:!1===i.showColumn?n.splice(o,1):(i.prop=i.prop||Object(O.v)(),e.push(i.prop),i.children&&t(r))}))}(t),this.columnOption=t,this.form.prop=e},getColumn:function(){var t=this.deepClone(this.columnOption),e=this.$refs.form.getPropRef("prop").$refs.temp.getHalfList();if(!this.form.params)return[];if(this.form.params.includes("headers")){return function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];n.forEach((function(i,o){e.includes(i.prop)?i.children&&t(i.children):n.splice(o,1)}))}(t),t}var n=[];return function t(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];i.forEach((function(i,o){i.children?t(i.children):e.includes(i.prop)&&n.push(i)}))}(t),n}}},(function(){var t=this,e=t._self._c;return t.box?e("div",[e("el-dialog",{staticClass:"avue-dialog",attrs:{title:t.t("crud.excelBtn"),"lock-scroll":"","modal-append-to-body":t.$AVUE.modalAppendToBody,"append-to-body":t.$AVUE.appendToBody,visible:t.box,width:t.crud.isMobile?"100%":"30%"},on:{"update:visible":function(e){t.box=e}}},[e("avue-form",{ref:"form",attrs:{option:t.option},model:{value:t.form,callback:function(e){t.form=e},expression:"form"}}),t._v(" "),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{attrs:{type:"primary",size:t.crud.isMediumSize},on:{click:t.handleSubmit}},[t._v(t._s(t.t("crud.filter.submitBtn")))]),t._v(" "),e("el-button",{attrs:{size:t.crud.isMediumSize},on:{click:function(e){t.box=!1}}},[t._v(t._s(t.t("crud.filter.cancelBtn")))])],1)],1)],1):t._e()}),[],!1,null,null,null).exports,xt=l(s({name:"crud",data:function(){return{config:j}},mixins:[q],inject:["crud"],directives:{permission:S},computed:{menuType:function(){return this.crud.tableOption.menuType||this.$AVUE.menuType||"button"},isIconMenu:function(){return"icon"===this.menuType},isTextMenu:function(){return"text"===this.menuType},isMenu:function(){return"menu"===this.menuType}},methods:{menuText:function(t){return["text","menu"].includes(this.menuType)?"text":t}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return t.vaildData(t.crud.tableOption.menu,t.config.menu)&&t.crud.getPermission("menu")?e("el-table-column",{key:"menu",class:t.b("btn"),attrs:{prop:"menu",fixed:t.vaildData(t.crud.tableOption.menuFixed,t.config.menuFixed),label:t.crud.tableOption.menuTitle||t.t("crud.menu"),align:t.crud.tableOption.menuAlign||t.config.menuAlign,"header-align":t.crud.tableOption.menuHeaderAlign||t.config.menuHeaderAlign,width:t.crud.isMobile?t.crud.tableOption.menuXsWidth||t.config.menuXsWidth:t.crud.tableOption.menuWidth||t.config.menuWidth},scopedSlots:t._u([{key:"header",fn:function(n){return[t.crud.getSlotName({prop:"menu"},"H",t.crud.$scopedSlots)?t._t("menuHeader",null,{size:t.crud.isMediumSize},n):e("span",[t._v(t._s(t.crud.tableOption.menuTitle||t.t("crud.menu")))])]}},{key:"default",fn:function({row:n,$index:i}){return[t.isMenu?e("el-dropdown",{attrs:{size:t.crud.isMediumSize}},[e("el-button",{attrs:{type:"text",size:t.crud.isMediumSize}},[t._v("\n "+t._s(t.crud.tableOption.menuBtnTitle||t.t("crud.menuBtn"))+"\n "),e("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t._v(" "),e("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t.vaildData(t.crud.tableOption.viewBtn,t.config.viewBtn)?e("el-dropdown-item",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("viewBtn",n,i),expression:"crud.getPermission('viewBtn',row,$index)"}],attrs:{icon:t.crud.getBtnIcon("viewBtn")},nativeOn:{click:function(e){return t.crud.rowView(n,i)}}},[t._v(t._s(t.crud.menuIcon("viewBtn")))]):t._e(),t._v(" "),t.vaildData(t.crud.tableOption.editBtn,t.config.editBtn)?e("el-dropdown-item",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("editBtn",n,i),expression:"crud.getPermission('editBtn',row,$index)"}],attrs:{icon:t.crud.getBtnIcon("editBtn")},nativeOn:{click:function(e){return t.crud.rowEdit(n,i)}}},[t._v(t._s(t.crud.menuIcon("editBtn")))]):t._e(),t._v(" "),t.vaildData(t.crud.tableOption.copyBtn,t.config.copyBtn)?e("el-dropdown-item",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("copyBtn",n,i),expression:"crud.getPermission('copyBtn',row,$index)"}],attrs:{icon:t.crud.getBtnIcon("copyBtn")},nativeOn:{click:function(e){return t.crud.rowCopy(n)}}},[t._v(t._s(t.crud.menuIcon("copyBtn")))]):t._e(),t._v(" "),t.vaildData(t.crud.tableOption.delBtn,t.config.delBtn)?e("el-dropdown-item",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("delBtn",n,i),expression:"crud.getPermission('delBtn',row,$index)"}],attrs:{icon:t.crud.getBtnIcon("delBtn")},nativeOn:{click:function(e){return t.crud.rowDel(n,i)}}},[t._v(t._s(t.crud.menuIcon("delBtn")))]):t._e(),t._v(" "),t._t("menuBtn",null,{row:n,type:t.menuText("primary"),disabled:t.crud.btnDisabled,size:t.crud.isMediumSize,index:i})],2)],1):["button","text","icon"].includes(t.menuType)?[t.vaildData(t.crud.tableOption.cellBtn,t.config.cellBtn)?[t.vaildData(t.crud.tableOption.editBtn,t.config.editBtn)&&!n.$cellEdit?e("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("editBtn",n,i),expression:"crud.getPermission('editBtn',row,$index)"}],attrs:{type:t.menuText("primary"),icon:t.crud.getBtnIcon("editBtn"),size:t.crud.isMediumSize,disabled:t.crud.btnDisabledList[i]},on:{click:function(e){return e.stopPropagation(),t.crud.rowCell(n,i)}}},[t.isIconMenu?t._e():[t._v("\n "+t._s(t.crud.menuIcon("editBtn"))+"\n ")]],2):t.vaildData(t.crud.tableOption.saveBtn,t.config.saveBtn)&&n.$cellEdit?e("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("saveBtn",n,i),expression:"crud.getPermission('saveBtn',row,$index)"}],attrs:{type:t.menuText("primary"),icon:t.crud.getBtnIcon("saveBtn"),size:t.crud.isMediumSize,disabled:t.crud.btnDisabledList[i]},on:{click:function(e){return e.stopPropagation(),t.crud.rowCell(n,i)}}},[t.isIconMenu?t._e():[t._v("\n "+t._s(t.crud.menuIcon("saveBtn"))+"\n ")]],2):t._e(),t._v(" "),n.$cellEdit?e("el-button",{attrs:{type:t.menuText("danger"),icon:t.crud.getBtnIcon("cancelBtn"),size:t.crud.isMediumSize,disabled:t.crud.btnDisabledList[i]},on:{click:function(e){return e.stopPropagation(),t.crud.rowCancel(n,i)}}},[t.isIconMenu?t._e():[t._v("\n "+t._s(t.crud.menuIcon("cancelBtn"))+"\n ")]],2):t._e()]:t._e(),t._v(" "),t.vaildData(t.crud.tableOption.viewBtn,t.config.viewBtn)?e("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("viewBtn",n,i),expression:"crud.getPermission('viewBtn',row,$index)"}],attrs:{type:t.menuText("success"),icon:t.crud.getBtnIcon("viewBtn"),size:t.crud.isMediumSize,disabled:t.btnDisabled},on:{click:function(e){return e.stopPropagation(),t.crud.rowView(n,i)}}},[t.isIconMenu?t._e():[t._v("\n "+t._s(t.crud.menuIcon("viewBtn"))+"\n ")]],2):t._e(),t._v(" "),t.vaildData(t.crud.tableOption.editBtn,t.config.editBtn)&&!t.crud.tableOption.cellBtn?e("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("editBtn",n,i),expression:"crud.getPermission('editBtn',row,$index)"}],attrs:{type:t.menuText("primary"),icon:t.crud.getBtnIcon("editBtn"),size:t.crud.isMediumSize,disabled:t.btnDisabled},on:{click:function(e){return e.stopPropagation(),t.crud.rowEdit(n,i)}}},[t.isIconMenu?t._e():[t._v("\n "+t._s(t.crud.menuIcon("editBtn"))+"\n ")]],2):t._e(),t._v(" "),t.vaildData(t.crud.tableOption.copyBtn,t.config.copyBtn)?e("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("copyBtn",n,i),expression:"crud.getPermission('copyBtn',row,$index)"}],attrs:{type:t.menuText("primary"),icon:t.crud.getBtnIcon("copyBtn"),size:t.crud.isMediumSize,disabled:t.btnDisabled},on:{click:function(e){return e.stopPropagation(),t.crud.rowCopy(n)}}},[t.isIconMenu?t._e():[t._v("\n "+t._s(t.crud.menuIcon("copyBtn"))+"\n ")]],2):t._e(),t._v(" "),t.vaildData(t.crud.tableOption.delBtn,t.config.delBtn)&&!n.$cellEdit?e("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("delBtn",n,i),expression:"crud.getPermission('delBtn',row,$index)"}],attrs:{type:t.menuText("danger"),icon:t.crud.getBtnIcon("delBtn"),size:t.crud.isMediumSize,disabled:t.btnDisabled},on:{click:function(e){return e.stopPropagation(),t.crud.rowDel(n,i)}}},[t.isIconMenu?t._e():[t._v("\n "+t._s(t.crud.menuIcon("delBtn"))+"\n ")]],2):t._e()]:t._e(),t._v(" "),t._t("menu",null,{row:n,type:t.menuText("primary"),disabled:t.crud.btnDisabled,size:t.crud.isMediumSize,index:i})]}}],null,!0)}):t._e()}),[],!1,null,null,null).exports,wt=l(s({name:"crud",data:function(){return{config:j}},mixins:[q],inject:["crud"],mounted:function(){this.setSort()},methods:{indexMethod:function(t){return t+1+((this.crud.page.currentPage||1)-1)*(this.crud.page.pageSize||10)},setSort:function(){this.rowDrop(),this.columnDrop()},rowDrop:function(){var t=this,e=this.crud.$refs.table.$el.querySelectorAll(this.config.dropRowClass)[0];this.crud.tableDrop("row",e,(function(e){var n=e.oldIndex,i=e.newIndex,o=t.crud.list.splice(n,1)[0];t.crud.list.splice(i,0,o),t.crud.$emit("sortable-change",n,i),t.crud.refreshTable((function(){return t.rowDrop()}))}))},columnDrop:function(){var t=this,e=this.crud.$refs.table.$el.querySelector(this.config.dropColClass),n=0;["selection","index","expand"].forEach((function(e){t.crud.tableOption[e]&&(n+=1)})),this.crud.tableDrop("column",e,(function(e){t.crud.headerSort(e.oldIndex-n,e.newIndex-n),t.columnDrop()}))}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("el-table-column",{attrs:{width:"1px"}}),t._v(" "),t.crud.tableOption.expand?e("el-table-column",{key:"expand",attrs:{type:"expand",width:t.crud.tableOption.expandWidth||t.config.expandWidth,fixed:t.vaildData(t.crud.tableOption.expandFixed,t.config.expandFixed),align:"center"},scopedSlots:t._u([{key:"default",fn:function({row:e}){return[t._t("expand",null,{row:e,index:e.$index})]}}],null,!0)}):t._e(),t._v(" "),t.crud.tableOption.selection?e("el-table-column",{key:"selection",attrs:{fixed:t.vaildData(t.crud.tableOption.selectionFixed,t.config.selectionFixed),type:"selection",selectable:t.crud.tableOption.selectable,"reserve-selection":t.vaildData(t.crud.tableOption.reserveSelection),width:t.crud.tableOption.selectionWidth||t.config.selectionWidth,align:"center"}}):t._e(),t._v(" "),t.vaildData(t.crud.tableOption.index)?e("el-table-column",{key:"index",attrs:{fixed:t.vaildData(t.crud.tableOption.indexFixed,t.config.indexFixed),label:t.crud.tableOption.indexLabel||t.config.indexLabel,type:"index",width:t.crud.tableOption.indexWidth||t.config.indexWidth,index:t.indexMethod,align:"center"}}):t._e()],1)}),[],!1,null,null,null).exports;function kt(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return Ct(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ct(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,r=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw r}}}}function Ct(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:[];Array.isArray(n)&&n.forEach((function(n){Array.isArray(n.children)?e(n.children):t.push(n)}))}(this.columnOption),t=G(t)},isShowSummary:function(){return this.option.showSummary},isHeader:function(){var t=!1;return this.columnOption.forEach((function(e){e.children&&(t=!0)})),t},isTree:function(){var t=!1;return this.data.forEach((function(e){e.children&&(t=!0)})),t},isCard:function(){return this.option.card?"always":"never"},expandLevel:function(){return this.parentOption.expandLevel||0},expandAll:function(){return this.parentOption.expandAll||!1},parentOption:function(){return this.tableOption||{}},columnOption:function(){return this.tableOption.column||[]},sumColumnList:function(){return this.tableOption.sumColumnList||[]},selectLen:function(){return this.tableSelect?this.tableSelect.length:0}},watch:{value:{handler:function(){this.tableForm=this.value},immediate:!0,deep:!0},list:{handler:function(){this.cellForm.list=this.list},deep:!0},data:{handler:function(){this.dataInit()},deep:!0}},props:{spanMethod:Function,summaryMethod:Function,rowStyle:Function,cellStyle:Function,beforeClose:Function,beforeOpen:Function,rowClassName:Function,cellClassName:Function,headerCellClassName:Function,uploadBefore:Function,uploadAfter:Function,uploadDelete:Function,uploadPreview:Function,uploadError:Function,uploadExceed:Function,permission:{type:[Function,Object],default:function(){return{}}},value:{type:Object,default:function(){return{}}},search:{type:Object,default:function(){return{}}},page:{type:Object,default:function(){return{}}},tableLoading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},data:{type:Array,required:!0,default:function(){return[]}}},methods:{handleValidate:function(t,e,n){this.listError[t]||this.$set(this.listError,t,{valid:!1,msg:""}),this.listError[t].valid=!e,this.listError[t].msg=n},getPermission:function(t,e,n){return"function"==typeof this.permission?this.permission(t,e,n):!!this.validatenull(this.permission[t])||this.permission[t]},getTableHeight:function(){var t=this;this.isAutoHeight?this.$nextTick((function(){var e=t.$refs.table,n=t.$refs.tablePage;if(e){var i=e.$el,o=n.$el.offsetHeight||20;t.tableHeight=document.documentElement.clientHeight-i.offsetTop-o-t.calcHeight}})):this.tableHeight=this.tableOption.height},doLayout:function(){this.$refs.table.doLayout()},refreshTable:function(t){this.reload=Math.random(),this.$nextTick((function(){t&&t()}))},treeLoad:function(t,e,n){this.$emit("tree-load",t,e,(function(e){t.children=e,n(e)}))},menuIcon:function(t){return this.vaildData(this.tableOption[t+"Text"],this.t("crud."+t))},getBtnIcon:function(t){var e=t+"Icon";return this.tableOption[e]||j[e]},validateField:function(t){return this.$refs.dialogForm.$refs.tableForm.validateField(t)},clearSelection:function(){this.$refs.table.clearSelection(),this.$emit("selection-clear",this.deepClone(this.tableSelect))},toggleAllSelection:function(){this.$refs.table.toggleAllSelection()},toggleRowSelection:function(t,e){this.$refs.table.toggleRowSelection(t,e)},toggleRowExpansion:function(t,e){this.$refs.table.toggleRowExpansion(t,e)},setCurrentRow:function(t){this.$refs.table.setCurrentRow(t)},dataInit:function(){var t=this;this.list=this.data,this.list.forEach((function(e,n){e.$cellEdit&&!t.cascaderFormList[n]&&(t.cascaderFormList[n]=t.deepClone(e)),t.$set(e,"$cellEdit",e.$cellEdit||!1),t.$set(e,"$index",n)}))},headerDragend:function(t,e,n,i){this.objectOption[n.property]&&this.$set(this.objectOption[n.property],"width",t),this.$emit("header-dragend",t,e,n,i)},headerSort:function(t,e){var n=this.columnOption,i=n.splice(t,1)[0];n.splice(e,0,i),this.refreshTable()},clearFilter:function(t){this.$refs.table.clearFilter(t)},expandChange:function(t,e){this.$emit("expand-change",t,e)},currentRowChange:function(t,e){this.$emit("current-row-change",t,e)},refreshChange:function(){this.$emit("refresh-change")},toggleSelection:function(t){var e=this;t?t.forEach((function(t){e.$refs.table.toggleRowSelection(t)})):this.$refs.table.clearSelection()},selectionChange:function(t){this.tableSelect=t,this.$emit("selection-change",this.tableSelect)},select:function(t,e){this.$emit("select",t,e)},selectAll:function(t){this.$emit("select-all",t)},filterChange:function(t){this.$emit("filter-change",t)},sortChange:function(t){this.$emit("sort-change",t)},rowDblclick:function(t,e){this.$emit("row-dblclick",t,e)},rowClick:function(t,e,n){this.$emit("row-click",t,e,n)},clearSort:function(){this.$refs.table.clearSort()},cellMouseEnter:function(t,e,n,i){this.$emit("cell-mouse-enter",t,e,n,i)},cellMouseLeave:function(t,e,n,i){this.$emit("cell-mouse-leave",t,e,n,i)},cellClick:function(t,e,n,i){this.$emit("cell-click",t,e,n,i)},headerClick:function(t,e){this.$emit("header-click",t,e)},rowContextmenu:function(t,e,n){this.$emit("row-contextmenu",t,e,n)},headerContextmenu:function(t,e){this.$emit("header-contextmenu",t,e)},cellDblclick:function(t,e,n,i){this.$emit("cell-dblclick",t,e,n,i)},rowCellAdd:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.list.length,n=tt(this.propOption).tableForm;t=this.deepClone(Object.assign({$cellEdit:!0,$index:e},n,t)),this.list.push(t)},rowCancel:function(t,e){this.validatenull(t[this.rowKey])?(this.list.splice(e,1),delete this.cascaderDIC[e]):(this.cascaderFormList[e].$cellEdit=!1,this.$set(this.cascaderDIC,e,this.cascaderDicList[e]),this.$set(this.list,e,this.cascaderFormList[e])),delete this.cascaderDicList[e],delete this.cascaderFormList[e],this.cascaderIndexList.splice(this.cascaderIndexList.indexOf(e),1)},rowCell:function(t,e){t.$cellEdit?this.rowCellUpdate(t,e):this.rowCellEdit(t,e)},rowCellUpdate:function(t,e){var n=this;t=this.deepClone(t);var i=function(){n.btnDisabledList[e]=!1,n.btnDisabled=!1,n.list[e].$cellEdit=!1,n.cascaderIndexList.splice(n.cascaderIndexList.indexOf(e),1),delete n.cascaderFormList[e]},o=function(){n.btnDisabledList[e]=!1,n.btnDisabled=!1};this.validateCellField(e)&&(this.btnDisabledList[e]=!0,this.btnDisabled=!0,this.validatenull(t[this.rowKey])?this.$emit("row-save",t,i,o):this.$emit("row-update",t,e,i,o))},rowCellEdit:function(t,e){t.$cellEdit=!0,this.cascaderFormList[e]=this.deepClone(t),this.cascaderDicList[e]=this.deepClone(this.cascaderDIC[e])},validateCellForm:function(t){var e=this;return new Promise((function(t){e.$refs.cellForm.validate((function(e,n){t(n)}))}))},validateCellField:function(t){var e,n=!0,i=kt(this.$refs.cellForm.fields);try{for(i.s();!(e=i.n()).done;){var o=e.value;if(o.prop.split(".")[1]==t&&this.$refs.cellForm.validateField(o.prop,(function(t){t&&(n=!1)})),!n)break}}catch(t){i.e(t)}finally{i.f()}return n},rowAdd:function(){this.$refs.dialogForm.show("add")},rowSave:function(){return this.$refs.dialogForm.$refs.tableForm.submit()},rowUpdate:function(){return this.$refs.dialogForm.$refs.tableForm.submit()},closeDialog:function(){return this.$refs.dialogForm.closeDialog()},getPropRef:function(t){return this.$refs.dialogForm.$refs.tableForm.getPropRef(t)},setVal:function(){this.$emit("input",this.tableForm),this.$emit("change",this.tableForm)},rowEdit:function(t,e){this.tableForm=this.deepClone(t),this.tableIndex=e,this.setVal(),this.$refs.dialogForm.show("edit")},rowCopy:function(t){this.tableForm=this.deepClone(t),delete this.tableForm[this.rowKey],this.tableIndex=-1,this.setVal(),this.$refs.dialogForm.show("add")},rowView:function(t,e){this.tableForm=this.deepClone(t),this.tableIndex=e,this.setVal(),this.$refs.dialogForm.show("view")},rowDel:function(t,e){var n=this;this.$emit("row-del",t,e,(function(){var e=n.findData(t[n.rowKey]),i=e.parentList,o=e.index;i&&i.splice(o,1)}))},tableSpanMethod:function(t){if("function"==typeof this.spanMethod)return this.spanMethod(t)},tableSummaryMethod:function(t){var e=this,n={};if("function"==typeof this.summaryMethod)return this.summaryMethod(t);var i=t.columns,o=t.data,r=[];return i.length>0&&i.forEach((function(t,i){var a=e.sumColumnList.find((function(e){return e.name===t.property}));if(a){var s=a.decimals||2,l=a.label||"";switch(a.type){case"count":r[i]=l+o.length;break;case"avg":var c=o.map((function(e){return Number(e[t.property])})),u=1;r[i]=c.reduce((function(t,e){var n=Number(e);return isNaN(n)?t:(t*(u-1)+e)/u++}),0),r[i]=l+r[i].toFixed(s);break;case"sum":var d=o.map((function(e){return Number(e[t.property])}));r[i]=d.reduce((function(t,e){var n=Number(e);return isNaN(n)?t:t+e}),0),r[i]=l+r[i].toFixed(s)}n[t.property]=r[i]}else r[i]=""})),this.sumsList=n,r},tableDrop:function(t,e,n){if(!0!==this.isSortable){if("row"==t&&!this.isRowSort)return;if("column"==t&&!this.isColumnSort)return}window.Sortable?window.Sortable.create(e,{ghostClass:j.ghostClass,chosenClass:j.ghostClass,animation:500,delay:0,onEnd:function(t){return n(t)}}):C.logs("Sortable")},findData:function(t){var e=this,n={};return function i(o,r){o.forEach((function(a,s){a[e.rowKey]==t&&(n={item:a,index:s,parentList:o,parent:r}),a[e.childrenKey]&&i(a[e.childrenKey],a)}))}(this.list),n}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:t.b({card:!t.option.card})},[t.tableOption.title?e(t.tableOption.titleSize||"h2",{tag:"component",style:t.tableOption.titleStyle},[t._v(t._s(t.tableOption.title))]):t._e(),t._v(" "),e("header-search",{ref:"headerSearch",scopedSlots:t._u([{key:"search",fn:function(e){return[t._t("search",null,null,e)]}},{key:"searchMenu",fn:function(e){return[t._t("searchMenu",null,null,e)]}},t._l(t.searchSlot,(function(e){return{key:e,fn:function(n){return[t._t(e,null,null,n)]}}}))],null,!0)}),t._v(" "),e("el-card",{attrs:{shadow:t.isCard}},[t.vaildData(t.tableOption.header,!0)?e("header-menu",{ref:"headerMenu",scopedSlots:t._u([{key:"menuLeft",fn:function(e){return[t._t("menuLeft",null,null,e)]}},{key:"menuRight",fn:function(e){return[t._t("menuRight",null,null,e)]}}],null,!0)}):t._e(),t._v(" "),t.vaildData(t.tableOption.tip,t.config.tip)&&t.tableOption.selection?e("el-tag",{staticClass:"avue-crud__tip"},[e("span",{staticClass:"avue-crud__tip-name"},[t._v("\n "+t._s(t.t("crud.tipStartTitle"))+"\n "),e("span",{staticClass:"avue-crud__tip-count"},[t._v(t._s(t.selectLen))]),t._v("\n "+t._s(t.t("crud.tipEndTitle"))+"\n ")]),t._v(" "),t.vaildData(t.tableOption.selectClearBtn,t.config.selectClearBtn)&&t.tableOption.selection?e("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.getPermission("selectClearBtn"),expression:"getPermission('selectClearBtn')"}],attrs:{type:"text",size:"small"},on:{click:t.clearSelection}},[t._v(t._s(t.t("crud.emptyBtn")))]):t._e(),t._v(" "),t._t("tip")],2):t._e(),t._v(" "),t._t("header"),t._v(" "),e("el-form",{ref:"cellForm",attrs:{model:t.cellForm,"show-message":!1},on:{validate:t.handleValidate}},[e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.tableLoading,expression:"tableLoading"}],key:t.reload,ref:"table",class:{"avue-crud--indeterminate":t.vaildData(t.tableOption.indeterminate,!1)},attrs:{data:t.cellForm.list,"row-key":t.rowKey,size:t.$AVUE.tableSize||t.controlSize,lazy:t.vaildData(t.tableOption.lazy,!1),load:t.treeLoad,"tree-props":t.treeProps,"expand-row-keys":t.tableOption.expandRowKeys,"default-expand-all":t.tableOption.defaultExpandAll,"highlight-current-row":t.tableOption.highlightCurrentRow,"show-summary":t.tableOption.showSummary,"summary-method":t.tableSummaryMethod,"span-method":t.tableSpanMethod,stripe:t.tableOption.stripe,"show-header":t.tableOption.showHeader,"default-sort":t.tableOption.defaultSort,"row-class-name":t.rowClassName,"cell-class-name":t.cellClassName,"row-style":t.rowStyle,"cell-style":t.cellStyle,fit:t.tableOption.fit,"header-cell-class-name":t.headerCellClassName,"max-height":t.isAutoHeight?t.tableHeight:t.tableOption.maxHeight,height:t.tableHeight,width:t.setPx(t.tableOption.width,t.config.width),border:t.tableOption.border},on:{"current-change":t.currentRowChange,"expand-change":t.expandChange,"header-dragend":t.headerDragend,"row-click":t.rowClick,"row-dblclick":t.rowDblclick,"cell-mouse-enter":t.cellMouseEnter,"cell-mouse-leave":t.cellMouseLeave,"cell-click":t.cellClick,"header-click":t.headerClick,"row-contextmenu":t.rowContextmenu,"header-contextmenu":t.headerContextmenu,"cell-dblclick":t.cellDblclick,"filter-change":t.filterChange,"selection-change":t.selectionChange,select:t.select,"select-all":t.selectAll,"sort-change":t.sortChange}},[e("template",{slot:"empty"},[e("div",{class:t.b("empty")},[t.$slots.empty?t._t("empty"):e("el-empty",{attrs:{"image-size":100,description:t.tableOption.emptyText}})],2)]),t._v(" "),e("column",{attrs:{columnOption:t.columnOption},scopedSlots:t._u([t._l(t.mainSlot,(function(e){return{key:e,fn:function(n){return[t._t(e,null,null,n)]}}}))],null,!0)},[e("column-default",{ref:"columnDefault",attrs:{slot:"header"},slot:"header",scopedSlots:t._u([{key:"expand",fn:function({row:e,index:n}){return[t._t("expand",null,{row:e,index:n})]}}],null,!0)}),t._v(" "),t._v(" "),e("column-menu",{attrs:{slot:"footer"},slot:"footer",scopedSlots:t._u([{key:"menuHeader",fn:function(e){return[t._t("menuHeader",null,null,e)]}},{key:"menu",fn:function(e){return[t._t("menu",null,null,e)]}},{key:"menuBtn",fn:function(e){return[t._t("menuBtn",null,null,e)]}}],null,!0)})],1)],2)],1),t._v(" "),t._t("footer")],2),t._v(" "),e("table-page",{ref:"tablePage"},[e("template",{slot:"page"},[t._t("page")],2)],2),t._v(" "),e("dialog-form",{ref:"dialogForm",scopedSlots:t._u([t._l(t.formSlot,(function(e){return{key:e,fn:function(n){return[t._t(e,null,null,n)]}}})),{key:"menuForm",fn:function(e){return[t._t("menuForm",null,null,e)]}}],null,!0)}),t._v(" "),e("dialog-column",{ref:"dialogColumn"}),t._v(" "),e("dialog-excel",{ref:"dialogExcel"}),t._v(" "),e("dialog-filter",{ref:"dialogFilter"})],1)}),[],!1,null,null,null).exports,Ot={img:"img",title:"title",info:"info"},Tt=l(s({name:"card",props:{props:{type:Object,default:function(){return Ot}},option:{type:Object,default:function(){return{}}},data:{type:Array,default:function(){return[]}}},data:function(){return{propsDefault:Ot}},computed:{imgKey:function(){return this.option.props.img||this.propsDefault.img},titleKey:function(){return this.option.props.title||this.propsDefault.title},infoKey:function(){return this.option.props.info||this.propsDefault.info},span:function(){return this.option.span||8},gutter:function(){return this.option.gutter||20}},methods:{rowAdd:function(){this.$emit("row-add")},rowClick:function(t,e){this.$emit("row-click",t,e)}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:t.b()},[e("el-row",{attrs:{span:24,gutter:t.gutter}},[t.vaildData(t.option.addBtn,!0)?e("el-col",{attrs:{span:t.span}},[e("div",{class:t.b("item",{add:!0}),on:{click:function(e){return t.rowAdd()}}},[e("i",{staticClass:"el-icon-plus"}),t._v(" "),e("span",[t._v("添加")])])]):t._e(),t._v(" "),t._l(t.data,(function(n,i){return e("el-col",{key:i,attrs:{span:t.span}},[e("div",{class:t.b("item"),on:{click:function(e){return t.rowClick(n,i)}}},[e("div",{class:t.b("body")},[e("div",{class:t.b("avatar")},[e("img",{attrs:{src:n[t.imgKey],alt:""}})]),t._v(" "),e("div",{class:t.b("detail")},[e("div",{class:t.b("title")},[t._v(t._s(n[t.titleKey]))]),t._v(" "),e("div",{class:t.b("info")},[t._v(t._s(n[t.infoKey]))])])]),t._v(" "),e("div",{class:t.b("menu")},[t._t("menu",null,{index:i,row:n})],2)])])}))],2)],1)}),[],!1,null,null,null).exports,$t=l(s({name:"code",props:{height:{type:Number,default:200},syntax:{type:String,default:"javascript"}},computed:{styleName:function(){return{height:this.setPx(this.height)}}},mounted:function(){window.hljs?window.hljs&&"function"==typeof window.hljs.highlightBlock&&window.hljs.highlightBlock(this.$refs.container):C.logs("hljs")}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:t.b()},[e("el-scrollbar",{style:t.styleName},[e("pre",[t._v(" "),e("code",{ref:"container",class:t.syntax},[t._v("\n "),t._t("default"),t._v("\n ")],2),t._v("\n ")])])],1)}),[],!1,null,null,null).exports;function Pt(t){return(Pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var At=l(s({name:"chat",mixins:[q],data:function(){return{upload:{box:!1,src:"",type:"",title:""},visible:!1,imgSrc:"",videoSrc:"",audioSrc:"",keys:"",show:!1}},props:{beforeOpen:Function,tools:{type:Object,default:function(){return{img:!0,video:!0,file:!0}}},placeholder:{type:String,default:"请输入..."},width:{type:[String,Number],default:320},height:{type:[String,Number],default:520},value:{type:String},notice:{type:Boolean,default:!0},audio:{type:Array,default:function(){return["https://www.helloweba.net/demo/notifysound/notify.ogg","https://www.helloweba.net/demo/notifysound/notify.mp3","https://www.helloweba.net/demo/notifysound/notify.wav"]}},config:{type:Object,default:function(){return{}}},keylist:{type:Array,default:function(){return[]}},list:{type:Array,default:function(){return[]}}},computed:{msg:{get:function(){return this.value},set:function(t){this.$emit("input",t),this.$emit("change",t)}},heightStyleName:function(){return{height:this.setPx(this.height)}},widthStyleName:function(){return{width:this.setPx(this.width)}},msgActive:function(){return!this.validatenull(this.msg.replace(/[\r\n]/g,""))}},methods:{uploadSubmit:function(){var t=this;this.$refs.form.validate((function(e){e&&(t.upload.box=!1,t.$emit("submit",t.getDetail(t.upload)))}))},handleUpload:function(t){this.upload.type=t,this.upload.src="","img"===t?this.upload.title="图片上传":"video"===t?this.upload.title="视频上传":"file"===t&&(this.upload.title="文件上传"),this.upload.box=!0},handleClose:function(t){this.imgSrc=void 0,this.videoSrc=void 0,this.audioSrc=void 0,t()},addKey:function(){""!==this.keys&&(this.$emit("keyadd",this.keys),this.keys=""),this.visible=!1},sendKey:function(t){this.$emit("keysend",t)},getAudio:function(){this.$refs.chatAudio.play()},getNotification:function(t){var e=this,n=Notification||window.Notification;if(n){var i=function(){var n=new Notification(e.config.name,{body:t,icon:e.config.img});n.onshow=function(){e.getAudio(),setTimeout((function(){n.close()}),2500)},n.onclick=function(t){n.close()}},o=n.permission;"granted"===o?i():"denied"===o?console.log("用户拒绝了你!!!"):n.requestPermission((function(t){"granted"===t?i():console.log("用户无情残忍的拒绝了你!!!")}))}},pushMsg:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=!0===e.mine,i=e.text||{},o=e.date,r={date:o||ot()().format("YYYY-MM-DD HH:mm:ss"),text:"object"!=Pt(i)?{text:i}:i,mine:n,img:n?this.config.myImg:this.config.img,name:n?this.config.myName:this.config.name};this.list.push(r),setTimeout((function(){t.setScroll()}),50)},setScroll:function(t){var e=this;this.$nextTick((function(){e.$refs.main.scrollTop=t||e.$refs.main.scrollHeight}))},handleSend:function(){this.msgActive&&this.$emit("submit")},handleItemMsg:function(t){this.$emit("submit",t.ask)},handleDetail:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=e;return setTimeout((function(){(t.$refs.content||[]).forEach((function(e){for(var n=function(n){var i=e.children[n];0!=i.getAttribute("data-flag")&&(i.setAttribute("data-flag",0),i.onclick=function(){t.handleEvent(i.dataset)},"IMG"===i.tagName?(i.className="web__msg--img",i.src=i.getAttribute("data-src")):"VIDEO"===i.tagName?(i.className="web__msg--video",i.src=i.getAttribute("data-src")):"AUDIO"===i.tagName?(i.className="web__msg--audio",i.controls="controls",i.src=i.getAttribute("data-src")):"FILE"===i.tagName?(i.className="web__msg--file",i.innerHTML="

File

".concat(i.getAttribute("data-name"),"")):"MAP"===i.tagName&&(i.className="web__msg--file web__msg--map",i.innerHTML="

Map

".concat(i.getAttribute("data-longitude")," , ").concat(i.getAttribute("data-latitude"),"
").concat(i.getAttribute("data-address"),"
")),t.setScroll())},i=0;i0&&void 0!==arguments[0]?arguments[0]:{},e=t.type,n=t.src,i=t.name,o=t.longitude,r=t.latitude,a=t.address;return"img"===e?''):"video"===e?''):"audio"===e?''):"file"===e?''):"map"===e?''):void 0},handleEvent:function(t){var e=this,n=function(){"IMG"===t.type?(e.imgSrc=t.src,e.show=!0):"VIDEO"===t.type?(e.videoSrc=t.src,e.show=!0):"AUDIO"===t.type?(e.audioSrc=t.src,e.show=!0):"FILE"===t.type&&window.open(t.src)};"function"==typeof this.beforeOpen?this.beforeOpen(t,n):n()},rootSendMsg:function(t){this.pushMsg({text:t}),this.notice&&this.getNotification(t.text||t)}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:t.b(),style:t.heightStyleName,on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleSend.apply(null,arguments)}}},[e("audio",{ref:"chatAudio"},[e("source",{attrs:{src:t.audio[0],type:"audio/ogg"}}),t._v(" "),e("source",{attrs:{src:t.audio[1],type:"audio/mpeg"}}),t._v(" "),e("source",{attrs:{src:t.audio[2],type:"audio/wav"}})]),t._v(" "),e("div",{staticClass:"web__logo"},[e("img",{staticClass:"web__logo-img",attrs:{src:t.config.img,alt:""}}),t._v(" "),e("div",{staticClass:"web__logo-info"},[e("p",{staticClass:"web__logo-name"},[t._v(t._s(t.config.name))]),t._v(" "),e("p",{staticClass:"web__logo-dept"},[t._v(t._s(t.config.dept))])]),t._v(" "),t._t("header")],2),t._v(" "),e("div",{staticClass:"web__content"},[e("div",{style:t.widthStyleName},[e("div",{ref:"main",staticClass:"web__main"},t._l(t.list,(function(n,i){return e("div",{key:i,staticClass:"web__main-item",class:{"web__main-item--mine":n.mine}},[e("div",{staticClass:"web__main-user"},[e("img",{attrs:{src:n.img}}),t._v(" "),e("cite",[t._v("\n "+t._s(n.name)+"\n "),e("i",[t._v(t._s(n.date))])])]),t._v(" "),e("div",{staticClass:"web__main-text"},[e("div",{staticClass:"web__main-arrow"}),t._v(" "),e("span",{ref:"content",refInFor:!0,domProps:{innerHTML:t._s(t.handleDetail(n.text.text))}}),t._v(" "),t.validatenull(n.text.list)?t._e():e("ul",{staticClass:"web__main-list"},t._l(n.text.list,(function(n,i){return e("li",{key:i,on:{click:function(e){return t.handleItemMsg(n)}}},[t._v(t._s(n.text))])})),0)])])})),0),t._v(" "),e("div",{staticClass:"web__footer",style:t.widthStyleName},[e("div",{staticClass:"web__tools"},[t.tools.img?e("i",{staticClass:"el-icon-picture-outline",on:{click:function(e){return t.handleUpload("img")}}}):t._e(),t._v(" "),t.tools.video?e("i",{staticClass:"el-icon-video-camera",on:{click:function(e){return t.handleUpload("video")}}}):t._e(),t._v(" "),t.tools.file?e("i",{staticClass:"el-icon-folder-opened",on:{click:function(e){return t.handleUpload("file")}}}):t._e()]),t._v(" "),e("div",{staticClass:"web__msg"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.msg,expression:"msg"}],staticClass:"web__msg-input",attrs:{rows:"2",placeholder:t.placeholder},domProps:{value:t.msg},on:{input:function(e){e.target.composing||(t.msg=e.target.value)}}}),t._v(" "),e("div",{staticClass:"web__msg-menu"},[e("el-dropdown",{staticClass:"web__msg-submit",attrs:{"split-button":"",type:"primary",size:"mini",trigger:"click"},on:{click:t.handleSend}},[t._v("\n 发送\n "),e("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[e("el-dropdown-item",[e("el-popover",{attrs:{placement:"top",width:"160"},model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},[e("el-input",{staticStyle:{"margin-bottom":"10px"},attrs:{size:"mini",rows:3,"show-word-limit":"",maxlength:"100",placeholder:"请输入快捷回复语",type:"textarea"},model:{value:t.keys,callback:function(e){t.keys=e},expression:"keys"}}),t._v(" "),e("div",{staticStyle:{"text-align":"right",margin:"0"}},[e("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(e){t.visible=!1}}},[t._v(t._s(t.t("common.cancelBtn")))]),t._v(" "),e("el-button",{attrs:{type:"primary",size:"mini"},on:{click:t.addKey}},[t._v(t._s(t.t("common.submitBtn")))])],1),t._v(" "),e("el-button",{attrs:{slot:"reference",type:"text",icon:"el-icon-plus"},slot:"reference"})],1)],1),t._v(" "),e("el-scrollbar",{staticStyle:{height:"100px"}},t._l(t.keylist,(function(n,i){return e("el-dropdown-item",{key:i,nativeOn:{click:function(e){return t.sendKey(n)}}},[e("el-tooltip",{attrs:{effect:"dark",content:n,placement:"top"}},[e("span",[t._v(" "+t._s(n.substr(0,10))+t._s(n.length>10?"...":""))])])],1)})),1)],1)],1)],1)])])]),t._v(" "),t._t("default")],2),t._v(" "),t.upload.box?e("div",[e("el-dialog",{attrs:{title:t.upload.title,"modal-append-to-body":t.$AVUE.modalAppendToBody,"append-to-body":t.$AVUE.appendToBody,visible:t.upload.box,width:"30%"},on:{"update:visible":function(e){return t.$set(t.upload,"box",e)}}},[e("el-form",{ref:"form",attrs:{model:t.upload}},[e("el-form-item",{attrs:{prop:"src",rules:[{required:!0,message:"地址不能为空"}]}},[e("el-input",{staticStyle:{"margin-bottom":"10px"},attrs:{size:"mini",rows:4,"show-word-limit":"",maxlength:"100",placeholder:"请输入地址",type:"textarea"},model:{value:t.upload.src,callback:function(e){t.$set(t.upload,"src",e)},expression:"upload.src"}})],1)],1),t._v(" "),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{attrs:{size:"small"},on:{click:function(e){t.upload.box=!1}}},[t._v(t._s(t.t("common.cancelBtn")))]),t._v(" "),e("el-button",{attrs:{type:"primary",size:"small"},on:{click:t.uploadSubmit}},[t._v(t._s(t.t("common.submitBtn")))])],1)],1)],1):t._e(),t._v(" "),t.show?e("div",[e("el-dialog",{staticClass:"web__dialog",attrs:{visible:t.show,width:"40%","modal-append-to-body":t.$AVUE.modalAppendToBody,"append-to-body":t.$AVUE.appendToBody,"before-close":t.handleClose},on:{"update:visible":function(e){t.show=e}}},[t.imgSrc?e("img",{staticStyle:{width:"100%","object-fit":"cover"},attrs:{src:t.imgSrc}}):t._e(),t._v(" "),t.videoSrc?e("video",{staticStyle:{width:"100%","object-fit":"cover"},attrs:{src:t.videoSrc,controls:"controls"}}):t._e(),t._v(" "),t.audioSrc?e("audio",{staticStyle:{width:"100%","object-fit":"cover"},attrs:{src:t.audioSrc,controls:"controls"}}):t._e()])],1):t._e()])}),[],!1,null,null,null).exports,Bt={avatar:"avatar",author:"author",body:"body"},Dt=l(s({name:"comment",props:{reverse:{type:Boolean,default:!1},data:{type:Object,default:function(){return{}}},props:{type:Object,default:function(){return Bt}},option:{type:Object,default:function(){return{}}}},computed:{avatarKey:function(){return this.props.avatar||Bt.avatar},authorKey:function(){return this.props.author||Bt.author},bodyKey:function(){return this.props.body||Bt.body},avatar:function(){return this.data[this.avatarKey]},author:function(){return this.data[this.authorKey]},body:function(){return this.data[this.bodyKey]}},mounted:function(){}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:t.b({reverse:t.reverse})},[e("img",{class:t.b("avatar"),attrs:{src:t.avatar,alt:""}}),t._v(" "),e("div",{class:t.b("main")},[e("div",{class:t.b("header")},[t.author?e("div",{class:t.b("author"),domProps:{textContent:t._s(t.author)}}):t._e(),t._v(" "),t._t("default")],2),t._v(" "),t.body?e("div",{class:t.b("body"),domProps:{innerHTML:t._s(t.body)}}):t._e()])])}),[],!1,null,null,null).exports;function Et(t){return(Et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Mt,jt=function(t,e,n,i){if(i){if(window.Mock){var o=(window.Mock||{}).Random,r={};return Object.keys(t).forEach((function(i){var s,l,c,u,d,p=t[i];if(p.mock&&"object"===Et(p.mock)){var h=p.mock;switch(h.dic="string"==typeof p.dicData?e[p.dicData]:p.dicData||[],h.props=p.props||{},h.columnType=p.type,h.multiple=p.multiple,h.type){case"name":r[p.prop]=h.en?o.name(!0):o.cname();break;case"number":r[p.prop]=a(h);break;case"datetime":r[p.prop]=(d=(u=h).format,u.now?o.now(d):o.datetime(d));break;case"word":r[p.prop]=(l=(s=h).min,c=s.max,o.csentence(l,c));break;case"url":r[p.prop]=function(t){var e=t.header,n=(t.footer,o.url()),i=n.indexOf("://");return n=!1===e?n.substring(i+3):"http://"+n.substring(i+3)}(h);break;case"county":r[p.prop]=o.county(!0);break;case"dic":r[p.prop]=function(t){var e=t.dic,n=t.props,i=t.columnType,o=t.multiple,r=n.value||"value",s=e.length;if(["checkbox"].includes(i)||o){for(var l=a({min:1,max:s}),c=[],u=0;u1&&void 0!==arguments[1]?arguments[1]:12,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];n&&(J=0);var i=24;return(J=J+(t.span||e)+(t.offset||0))===i?J=0:J>i?J=0+(t.span||e)+(t.offset||0):t.row&&J!==i&&(t.count=i-J,J=0),t}(e,t.itemSpanDefault,0===n))})),e.column=G(e.column),e.column=e.column.sort((function(t,e){return(e.order||0)-(t.order||0)}))})),n},menuPosition:function(){return this.parentOption.menuPosition?this.parentOption.menuPosition:"center"},boxType:function(){return this.parentOption.boxType},isPrint:function(){return this.vaildData(this.parentOption.printBtn,!1)},tabsActive:function(){return this.vaildData(this.tableOption.tabsActive+"","1")},isMock:function(){return this.vaildData(this.parentOption.mockBtn,!1)}},mounted:function(){var t=this;setTimeout((function(){t.dataFormat()}))},methods:{getComponent:Z,getPlaceholder:et,getDisabled:function(t){return this.vaildDetail(t)||this.isDetail||this.vaildDisabled(t)||this.allDisabled},getSpan:function(t){return t.span||this.parentOption.span||this.itemSpanDefault},isGroupShow:function(t,e){return!this.isTabs||(e==this.activeName||0==e)},dataFormat:function(){var t=this,e=tt(this.propOption).tableForm,n=this.value,i={};Object.entries(Object.assign(e,n)).forEach((function(e){var o=e[0],r=e[1];t.validatenull(n[o])?i[o]=r:i[o]=n[o]})),this.$set(this,"form",i),this.setLabel(),this.setControl(),this.setVal(),setTimeout((function(){t.formCreate=!0,t.clearValidate()}))},setControl:function(){var t=this;this.propOption.forEach((function(e){var n=e.prop,i=e.bind,o=e.control;t.form;if(!t.formBind[n]){var r=[];if(i){var a=t.$watch("form."+n,(function(e,n){e!=n&&Object(O.t)(t.form,i,e)})),s=t.$watch("form."+i,(function(e,i){e!=i&&t.$set(t.form,n,e)}));r.push(a),r.push(s),t.$set(t.form,n,Object(O.l)(t.form,i))}if(o){var l=function(){var n=o(t.form[e.prop],t.form)||{};Object.keys(n).forEach((function(e){var i=Object.assign(t.objectOption[e]||{},n[e]);t.$set(t.objectOption,e,i),n[e].dicData&&(t.DIC[e]=n[e].dicData)}))},c=t.$watch("form."+n,(function(t,e){l()}));r.push(c),l()}t.formBind[n]=r}}))},setForm:function(){var t=this;Object.keys(this.value).forEach((function(e){t.$set(t.form,e,t.value[e])}))},setVal:function(){this.$emit("input",this.form),this.$emit("change",this.form)},setLabel:function(){var t=this;!0===this.tableOption.filterNull&&(this.form=Object(O.h)(this.form,[""],!1)),1==this.tableOption.filterDic?this.form=Object(O.h)(this.form,["$"],!1):this.propOption.forEach((function(e){var n,i=t.DIC[e.prop];t.validatenull(i)||((n=rt(t.form,e,t.tableOption,i))?t.$set(t.form,"$".concat(e.prop),n):t.$delete(t.form,"$".concat(e.prop)))}))},handleGroupClick:function(t){this.$emit("tab-click",t)},handleTabClick:function(t,e){this.$emit("tab-click",t,e)},getLabelWidth:function(t,e){var n;return n=this.validatenull(t.labelWidth)?this.validatenull(e.labelWidth)?this.parentOption.labelWidth:e.labelWidth:t.labelWidth,this.setPx(n,this.labelWidth)},validateField:function(t){return this.$refs.form.validateField(t)},validTip:function(t){return!t.tip||"upload"===t.type},getPropRef:function(t){return this.$refs[t][0]},handleChange:function(t,e){var n=this;this.$nextTick((function(){var i=e.cascader,o=i.join(",");i.forEach((function(r){var s=r,l=n.form[e.prop],c=n.findObject(t,s);n.validatenull(c)||(n.formList.includes(o)&&i.forEach((function(t){n.form[t]="",n.$set(n.DIC,t,[])})),n.validatenull(i)||n.validatenull(l)||n.validatenull(c)||D({column:c,value:l,form:n.form}).then((function(t){n.formList.includes(o)||n.formList.push(o);var e=t||[];n.$set(n.DIC,s,e),n.validatenull(e)||n.validatenull(e)||n.validatenull(c.cascaderIndex)||!n.validatenull(n.form[s])||(n.form[s]=e[c.cascaderIndex][(c.props||{}).value||a.f.value])})))}))}))},handlePrint:function(){this.$Print(this.$el)},propChange:function(t,e){e.cascader&&this.handleChange(t,e)},handleMock:function(){var t=this;this.isMock&&(this.columnOption.forEach((function(e){var n=jt(e.column,t.DIC,t.form,t.isMock);t.validatenull(n)||Object.keys(n).forEach((function(e){t.form[e]=n[e]}))})),this.$nextTick((function(){t.clearValidate(),t.$emit("mock-change",t.form)})))},vaildDetail:function(t){var e;if(this.detail)return!1;if(this.validatenull(t.detail)){if(this.isAdd)e="addDetail";else if(this.isEdit)e="editDetail";else if(this.isView)return!1}else e="detail";return!!e&&this.vaildData(t[e],!1)},vaildDisabled:function(t){var e;if(this.disabled)return!0;if(this.validatenull(t.disabled)){if(this.isAdd)e="addDisabled";else if(this.isEdit)e="editDisabled";else if(this.isView)return!0}else e="disabled";return!!e&&this.vaildData(t[e],!1)},vaildDisplay:function(t){var e;return this.validatenull(t.display)?this.isAdd?e="addDisplay":this.isEdit?e="editDisplay":this.isView&&(e="viewDisplay"):e="display",!e||this.vaildData(t[e],!0)},clearValidate:function(t){this.$refs.form.clearValidate(t)},validateCellForm:function(){var t=this;return new Promise((function(e){t.$refs.form.validate((function(t,n){e(n)}))}))},validate:function(t){var e=this;this.$refs.form.validate((function(n,i){var o=[],r=[],a={};e.dynamicOption.forEach((function(t){var n="form"===t.children.type;r.push(t.prop),n?e.validatenull(e.$refs[t.prop][0].$refs.temp.$refs.main)||e.$refs[t.prop][0].$refs.temp.$refs.main.forEach((function(t){o.push(t.validateCellForm())})):o.push(e.$refs[t.prop][0].$refs.temp.$refs.main.validateCellForm())})),Promise.all(o).then((function(n){n.forEach((function(t,n){e.validatenull(t)||(a[r[n]]=t)}));var o=Object.assign(a,i);e.validatenull(o)?(e.show(),t(!0,e.hide)):t(!1,e.hide,o)}))}))},resetForm:function(){var t=this,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(e){var n=this.propOption.map((function(t){return t.prop}));this.form=Object(O.b)(this.form,n,(this.tableOption.filterParams||[]).concat([this.rowKey]))}this.$nextTick((function(){t.clearValidate(),t.$emit("reset-change")}))},resetFields:function(){this.$refs.form.resetFields()},show:function(){this.allDisabled=!0},hide:function(){this.allDisabled=!1},submit:function(){var t=this;this.validate((function(e,n){e?t.$emit("submit",Object(O.h)(t.form,["$"]),t.hide):t.$emit("error",n)}))}},beforeDestroy:function(){var t=this;Object.keys(this.formBind).forEach((function(e){t.formBind[e].forEach((function(t){t()}))}))}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:[t.b(),{"avue--detail":t.isDetail}],style:{width:t.setPx(t.parentOption.formWidth,"100%")}},[e("el-form",{ref:"form",attrs:{"status-icon":t.parentOption.statusIcon,model:t.form,"label-suffix":t.labelSuffix,size:t.$AVUE.formSize||t.controlSize,"label-position":t.parentOption.labelPosition,"label-width":t.setPx(t.parentOption.labelWidth,t.labelWidth)},nativeOn:{submit:function(t){t.preventDefault()}}},[e("el-row",{class:{"avue-form__tabs":t.isTabs},attrs:{span:24}},[t._l(t.columnOption,(function(n,i){return e("avue-group",{key:n.prop,attrs:{tabs:t.isTabs,arrow:n.arrow,collapse:n.collapse,display:t.vaildDisplay(n),icon:n.icon,index:i,header:!t.isTabs,active:t.activeName,label:n.label},on:{change:t.handleGroupClick}},[t.isTabs&&1==i?e("el-tabs",{class:t.b("tabs"),attrs:{slot:"tabs",type:t.tabsType},on:{"tab-click":t.handleTabClick},slot:"tabs",model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[t._l(t.columnOption,(function(n,i){return[t.vaildDisplay(n)&&0!=i?e("el-tab-pane",{key:i,attrs:{name:i+""}},[e("span",{attrs:{slot:"label"},slot:"label"},[t.getSlotName(n,"H",t.$scopedSlots)?t._t(t.getSlotName(n,"H"),null,{column:t.column}):[e("i",{class:n.icon},[t._v(" ")]),t._v("\n "+t._s(n.label)+"\n ")]],2)]):t._e()]}))],2):t._e(),t._v(" "),t.getSlotName(n,"H",t.$scopedSlots)?e("template",{slot:"header"},[t._t(t.getSlotName(n,"H"),null,{column:n})],2):t._e(),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.isGroupShow(n,i),expression:"isGroupShow(item,index)"}],class:t.b("group",{flex:t.vaildData(n.flex,!0)})},[t._l(n.column,(function(i,o){return[t.vaildDisplay(i)?e("el-col",{key:o,class:[t.b("row"),{"avue--detail avue--detail__column":t.vaildDetail(i)},i.className],style:{paddingLeft:t.gutter,paddingRight:t.gutter},attrs:{span:t.getSpan(i),md:t.getSpan(i),sm:i.smSpan||n.smSpan||12,xs:i.xsSpan||n.xmSpan||24,offset:i.offset||n.offset,push:i.push||n.push,pull:i.pull||n.pull}},[e("el-form-item",{class:t.b("item--"+(i.labelPosition||n.labelPosition||"")),attrs:{prop:i.prop,label:i.label,rules:i.rules,"label-position":i.labelPosition||n.labelPosition||t.parentOption.labelPosition,"label-width":t.getLabelWidth(i,n)},scopedSlots:t._u([{key:"error",fn:function(e){return t.getSlotName(i,"E",t.$scopedSlots)?[t._t(t.getSlotName(i,"E"),null,null,Object.assign(e,{column:i,value:t.form[i.prop],readonly:t.readonly||i.readonly,disabled:t.getDisabled(i),size:i.size||t.controlSize,dic:t.DIC[i.prop]}))]:void 0}}],null,!0)},[t.getSlotName(i,"L",t.$scopedSlots)?e("template",{slot:"label"},[t._t(t.getSlotName(i,"L"),null,{column:i,value:t.form[i.prop],readonly:i.readonly||t.readonly,disabled:t.getDisabled(i),size:i.size||t.controlSize,dic:t.DIC[i.prop]})],2):i.labelTip?e("template",{slot:"label"},[e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:i.labelTipPlacement||"top-start"}},[e("div",{attrs:{slot:"content"},domProps:{innerHTML:t._s(i.labelTip)},slot:"content"}),t._v(" "),e("i",{staticClass:"el-icon-info"})]),t._v(" "),e("span",[t._v(" "+t._s(i.label)+t._s(t.labelSuffix))])],1):t._e(),t._v(" "),t._v(" "),e(t.validTip(i)?"div":"elTooltip",{tag:"component",attrs:{disabled:t.validTip(i),content:t.vaildData(i.tip,t.getPlaceholder(i)),placement:i.tipPlacement}},[t.$scopedSlots[i.prop]?t._t(i.prop,null,{value:t.form[i.prop],column:i,label:t.form["$"+i.prop],size:i.size||t.controlSize,readonly:t.readonly||i.readonly,disabled:t.getDisabled(i),dic:t.DIC[i.prop]}):e("form-temp",t._b({ref:i.prop,refInFor:!0,attrs:{column:i,dic:t.DIC[i.prop],props:t.parentOption.props,propsHttp:t.parentOption.propsHttp,disabled:t.getDisabled(i),readonly:i.readonly||t.readonly,enter:t.parentOption.enter,size:t.size,"column-slot":t.columnSlot},on:{enter:t.submit,change:function(e){return t.propChange(n.column,i)}},scopedSlots:t._u([t._l(t.getSlotName(i,"T",t.$scopedSlots)?[i]:[],(function(e){return{key:t.getSlotName(i,"T"),fn:function(n){return[t._t(t.getSlotName(e,"T"),null,null,n)]}}})),t._l(t.columnSlot,(function(e){return{key:e,fn:function(n){return[t._t(e,null,null,n)]}}}))],null,!0),model:{value:t.form[i.prop],callback:function(e){t.$set(t.form,i.prop,e)},expression:"form[column.prop]"}},"form-temp",t.$uploadFun(i),!1))],2)],2)],1):t._e(),t._v(" "),t.vaildDisplay(i)&&i.row&&24!==i.span&&i.count?e("div",{key:"line"+o,class:t.b("line"),style:{width:i.count/24*100+"%"}}):t._e()]})),t._v(" "),t.isDetail||t.isMenu?t._e():e("form-menu",{scopedSlots:t._u([{key:"menuForm",fn:function(e){return[t._t("menuForm",null,null,e)]}}],null,!0)})],2)],2)})),t._v(" "),!t.isDetail&&t.isMenu?e("form-menu",{scopedSlots:t._u([{key:"menuForm",fn:function(e){return[t._t("menuForm",null,null,e)]}}],null,!0)}):t._e()],2)],1)],1)}),[],!1,null,null,null).exports,Nt=function(){return{mixins:[E],data:function(){return{stringMode:!1,name:"",text:void 0,propsHttpDefault:a.e,propsDefault:a.f}},props:{blur:Function,focus:Function,change:Function,click:Function,typeformat:Function,control:Function,separator:{type:String,default:a.h},params:{type:Object,default:function(){return{}}},listType:{type:String},tableData:{type:Object},value:{},column:{type:Object,default:function(){return{}}},label:{type:String,default:""},readonly:{type:Boolean,default:!1},size:{type:String,default:""},tip:{type:String,default:""},disabled:{type:Boolean,default:!1},dataType:{type:String},clearable:{type:Boolean,default:!0},type:{type:String,default:""},dicUrl:{type:String,default:""},dicMethod:{type:String,default:""},dicFormatter:Function,dicQuery:{type:Object,default:function(){return{}}},dic:{type:Array,default:function(){return[]}},placeholder:{type:String,default:""},rules:{type:Array},min:{type:Number},max:{type:Number},multiple:{type:Boolean,default:!1},button:{type:Boolean,default:!1},group:{type:Boolean,default:!1},row:{type:Boolean,default:!1},prop:{type:String,default:""},border:{type:Boolean,default:!1},popperClass:{type:String},propsHttp:{type:Object,default:function(){return a.e}},props:{type:Object,default:function(){return a.f}}},watch:{text:{handler:function(t){this.handleChange(t)}},value:{handler:function(){this.initVal()}}},computed:{clearableVal:function(){return!this.disabled&&this.clearable},componentName:function(){return"".concat("el","-").concat(this.name).concat(this.button?"-button":"")},required:function(){return!this.validatenull(this.rules)},isArray:function(){return"array"===this.dataType},isString:function(){return"string"===this.dataType},isNumber:function(){return"number"===this.dataType},nameKey:function(){return this.propsHttp.name||this.propsHttpDefault.name},urlKey:function(){return this.propsHttp.url||this.propsHttpDefault.url},resKey:function(){return this.propsHttp.res||this.propsHttpDefault.res},groupsKey:function(){return this.props.groups||this.propsDefault.groups},valueKey:function(){return this.props.value||this.propsDefault.value},descKey:function(){return this.props.desc||this.propsDefault.desc},leafKey:function(){return this.props.leaf||this.propsDefault.leaf},labelKey:function(){return this.props.label||this.propsDefault.label},childrenKey:function(){return this.props.children||this.propsDefault.children},disabledKey:function(){return this.props.disabled||this.propsDefault.disabled},idKey:function(){return this.props.id||this.propsDefault.id}},created:function(){this.initVal()}}},zt=function(){return{methods:{bindEvent:function(t,e){var n=Object(O.j)(this.dic,this.props,this.text);e=Object.assign(e,{column:this.column,dic:this.dic,item:n},this.tableData),"function"==typeof this[t]&&("change"==t?1!=this.column.cell&&this[t](e):this[t](e)),this.$emit(t,e)},initVal:function(){var t,e,n,i,o,r,s,l,c,u,d;this.stringMode="string"==typeof this.value,this.text=(t=this.value,n=(e=this).type,i=e.multiple,o=e.dataType,r=e.separator,s=void 0===r?a.h:r,l=e.alone,c=e.emitPath,u=e.range,d=t,a.k.includes(n)&&1==i||a.b.includes(n)&&!1!==c||a.l.includes(n)&&1==u?(Array.isArray(d)||(d=Object(T.a)(d)?[]:(d+"").split(s)||[]),d.forEach((function(t,e){d[e]=Object(O.f)(t,o)})),a.a.includes(n)&&Object(T.a)(d)&&l&&(d=[""])):d=Object(O.f)(d,o),d)},getLabelText:function(t){return this.validatenull(t)?"":"function"==typeof this.typeformat?this.typeformat(t,this.labelKey,this.valueKey):t[this.labelKey]},handleFocus:function(t){this.bindEvent("focus",{value:this.value,event:t})},handleBlur:function(t){this.bindEvent("blur",{value:this.value,event:t})},handleClick:function(t){this.bindEvent("click",{value:this.value,event:t})},handleChange:function(t){var e=t;(this.isString||this.isNumber||this.stringMode||"picture-img"===this.listType)&&Array.isArray(t)&&(e=t.join(this.separator)),this.bindEvent("change",{value:e}),this.$emit("input",e)}}}},Ft=l(s({name:"checkbox",props:{all:{type:Boolean,default:!1}},mixins:[Nt(),zt(),q],data:function(){return{checkAll:!1,isIndeterminate:!1,name:"checkbox"}},watch:{dic:function(){this.handleCheckChange()},text:{handler:function(t){this.handleCheckChange()}}},created:function(){},mounted:function(){},methods:{handleCheckAll:function(t){var e=this;this.all&&(this.text=t?this.dic.map((function(t){return t[e.valueKey]})):[],this.isIndeterminate=!1)},handleCheckChange:function(){var t=this.text;if(this.all){var e=t.length,n=this.dic.length;this.checkAll=e===n,this.isIndeterminate=e>0&&e0&&void 0!==arguments[0]?arguments[0]:0;return 0==t?"info":1==t?"":2==t?"warning":3==t?"danger":4==t?"success":void 0}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:t.b()},[t._l(t.data,(function(n,i){return e("div",{key:i,class:t.b("item"),on:{click:function(e){return t.click(n)}}},[n[t.imgKey]?e("div",{class:t.b("img")},[e("img",{attrs:{src:n[t.imgKey],alt:""}})]):t._e(),t._v(" "),e("div",{class:t.b("content")},[e("div",{class:t.b("title")},[e("span",{class:t.b("name")},[t._v(t._s(n[t.titleKey]))]),t._v(" "),n[t.tagKey]?e("span",{class:t.b("tag")},[e("el-tag",{attrs:{size:"small",type:t.getType(n[t.statusKey])}},[t._v(t._s(n[t.tagKey]))])],1):t._e()]),t._v(" "),e("div",{class:t.b("subtitle")},[t._v(t._s(n[t.subtitleKey]))])])])})),t._v(" "),t.finish?t._e():e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],class:t.b("more"),on:{click:t.handleClick}},[t._v("\n 加载更多\n ")])],2)}),[],!1,null,null,null).exports,Xt=l(s({name:"license",props:{id:{type:String,default:""},option:{type:Object,default:function(){return{}}}},watch:{option:{handler:function(){this.init()},deep:!0}},data:function(){return{base64:"",draw:!1,canvas:"",context:""}},computed:{img:function(){return this.option.img},list:function(){return this.option.list||[]}},mounted:function(){this.canvas=document.getElementById("canvas"+this.id),this.context=this.canvas.getContext("2d"),this.init()},methods:{init:function(){var t=this;this.draw=!1;var e=new Image;e.src=this.img,e.onload=function(){var n=t.option.width||e.width,i=t.option.width?e.height/e.width*t.option.width:e.height;t.$refs.canvas.width=n,t.$refs.canvas.height=i,t.context.clearRect(0,0,n,i),t.context.drawImage(e,0,0,n,i),t.list.forEach((function(e,n){var i=function(){n==t.list.length-1&&setTimeout((function(){t.draw=!0}),0)};if(e.img){var o=new Image;o.src=e.img,o.onload=function(){var n=e.width||o.width,r=e.width?o.height/o.width*e.width:o.height;t.context.drawImage(o,e.left,e.top,n,r),i()}}else e.bold?t.context.font="bold ".concat(e.size,"px ").concat(e.style):t.context.font="".concat(e.size,"px ").concat(e.style),t.context.fillStyle=e.color,t.context.fillText(e.text,e.left,e.top),t.context.stroke(),i()}))}},getFile:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(new Date).getTime();return new Promise((function(n){var i=setInterval((function(){if(t.draw){var o=t.canvas.toDataURL("image/jpeg",1),r=t.dataURLtoFile(o,e);clearInterval(i),n(r)}}),1e3)}))},downFile:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(new Date).getTime();Object(O.g)(this.base64,t)},getBase64:function(){var t=this;return new Promise((function(e){var n=setInterval((function(){if(t.draw){var i=t.canvas.toDataURL("image/jpeg",1);t.base64=i,clearInterval(n),e(i)}}),100)}))},getPdf:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(new Date).getTime(),e=this.canvas.width,n=this.canvas.height,i=e/592.28*841.89,o=n,r=0,a=595.28,s=592.28/e*n,l=this.canvas.toDataURL("image/jpeg",1),c=new window.jsPDF("","pt","a4");if(o0;)c.addImage(l,"JPEG",0,r,a,s),r-=841.89,(o-=i)>0&&c.addPage();c.save("".concat(t,".pdf"))}}}),(function(){var t=this._self._c;this._self._setupProxy;return t("div",{class:this.b(),staticStyle:{position:"relative"}},[t("canvas",{ref:"canvas",attrs:{id:"canvas"+this.id}}),this._v(" "),this._t("default")],2)}),[],!1,null,null,null).exports,qt=l(s({name:"progress",props:{showText:{type:Boolean},width:{type:[Number,String]},strokeWidth:{type:[Number,String]},type:{type:String},color:{type:String},percentage:{type:[Number]}}}),(function(){var t=this._self._c;this._self._setupProxy;return t("div",{class:this.b()},[t("el-progress",{attrs:{type:this.type,color:this.color,width:this.width,"text-inside":"","show-text":this.showText,"stroke-width":this.strokeWidth,percentage:this.percentage}})],1)}),[],!1,null,null,null).exports,Gt=l(s({name:"time",mixins:[Nt(),zt(),q],props:{editable:Boolean,startPlaceholder:String,endPlaceholder:String,rangeSeparator:String,defaultValue:[String,Array],pickerOptions:Object,valueFormat:String,arrowControl:Boolean,type:String,format:String},watch:{text:function(){Array.isArray(this.text)&&this.validatenull(this.text)&&(this.text=this.text.join(","))}},computed:{componentName:function(){var t=this.pickerOptions||{};return t.start||t.end||t.step?"elTimeSelect":"elTimePicker"},isRange:function(){return"timerange"===this.type}},methods:{}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:t.b()},[e(t.componentName,{tag:"component",attrs:{"popper-class":t.popperClass,"is-range":t.isRange,size:t.size,editable:t.editable,"default-value":t.defaultValue,"range-separator":t.rangeSeparator,"arrow-control":t.arrowControl,"start-placeholder":t.startPlaceholder||t.t("time.start"),"end-placeholder":t.endPlaceholder||t.t("time.end"),format:t.format,readonly:t.readonly,clearable:t.clearableVal,"picker-options":t.pickerOptions,"value-format":t.valueFormat,placeholder:t.placeholder,disabled:t.disabled},on:{change:t.handleChange},nativeOn:{click:function(e){return t.handleClick.apply(null,arguments)}},model:{value:t.text,callback:function(e){t.text=e},expression:"text"}})],1)}),[],!1,null,null,null).exports;function Jt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Qt=l(s({name:"input",mixins:[Nt(),zt()],props:(Mt={maxlength:"",minlength:"",showPassword:{type:Boolean,default:!0},showWordLimit:{type:Boolean,default:!1},target:{type:String,default:" _blank"},prefixIcon:{type:String},suffixIcon:{type:String},prependClick:{type:Function,default:function(){}},prepend:{type:String},appendClick:{type:Function,default:function(){}},append:{type:String}},Jt(Mt,"minlength",{type:Number}),Jt(Mt,"maxlength",{type:Number}),Jt(Mt,"rows",Number),Jt(Mt,"minRows",{type:Number,default:5}),Jt(Mt,"maxRows",{type:Number,default:10}),Jt(Mt,"autocomplete",{type:String}),Mt),computed:{isSearch:function(){return"search"==this.type},typeParam:function(){return"textarea"===this.type?"textarea":"password"===this.type?"password":"text"}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("el-input",{class:t.b(),attrs:{size:t.size,clearable:t.clearableVal,type:t.typeParam,maxlength:t.maxlength,minlength:t.minlength,"show-password":"password"==t.typeParam&&t.showPassword,rows:t.rows,autosize:{minRows:t.minRows,maxRows:t.maxRows},"prefix-icon":t.prefixIcon,"suffix-icon":t.suffixIcon,readonly:t.readonly,placeholder:t.placeholder,"show-word-limit":t.showWordLimit,disabled:t.disabled,autocomplete:t.autocomplete},on:{keyup:function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.isSearch&&t.appendClick()},focus:t.handleFocus,blur:t.handleBlur},nativeOn:{click:function(e){return t.handleClick.apply(null,arguments)}},model:{value:t.text,callback:function(e){t.text=e},expression:"text"}},[t.prepend?e("template",{slot:"prepend"},[e("span",{on:{click:function(e){return t.prependClick()}}},[t._v(t._s(t.prepend))])]):t._e(),t._v(" "),t.append?e("template",{slot:"append"},[e("span",{on:{click:function(e){return t.appendClick()}}},[t._v(t._s(t.append))])]):t.isSearch?e("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:function(e){return t.appendClick()}},slot:"append"}):t._e()],2)}),[],!1,null,null,null).exports,Zt=l(s({name:"radio",mixins:[Nt(),zt()],data:function(){return{name:"radio"}},props:{value:{}},watch:{},created:function(){},mounted:function(){},methods:{}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:t.b()},[e("el-radio-group",{attrs:{size:t.size,disabled:t.disabled},nativeOn:{click:function(e){return t.handleClick.apply(null,arguments)}},model:{value:t.text,callback:function(e){t.text=e},expression:"text"}},t._l(t.dic,(function(n,i){return e(t.componentName,{key:i,tag:"component",attrs:{label:n[t.valueKey],border:t.border,readonly:t.readonly,disabled:n[t.disabledKey]}},[t._v(t._s(n[t.labelKey]))])})),1)],1)}),[],!1,null,null,null).exports,te=l(s({name:"select",mixins:[Nt(),zt()],data:function(){return{checked:!1,indeterminate:!1,created:!1,netDic:[],loading:!1}},props:{loadingText:{type:String},noMatchText:{type:String},noDataText:{type:String},drag:{type:Boolean,default:!1},remote:{type:Boolean,default:!1},tags:{type:Boolean,default:!1},limit:{type:Number,default:0},filterable:{type:Boolean,default:!1},allowCreate:{type:Boolean,default:!1},defaultFirstOption:{type:Boolean,default:!1},all:{type:Boolean,default:!1},popperAppendToBody:{type:Boolean,default:!0}},watch:{text:function(t){this.validatenull(t)||this.remote&&!this.created&&(this.created=!0,this.handleRemoteMethod(this.multiple?this.text.join(a.h):this.text)),this.multiple&&(0==this.text.length?(this.checked=!1,this.indeterminate=!1):this.text.length==this.netDic.length?(this.checked=!0,this.indeterminate=!1):(this.checked=!1,this.indeterminate=!0))},dic:{handler:function(t){this.netDic=t},immediate:!0}},mounted:function(){this.drag&&this.setSort()},methods:{setSort:function(){var t=this;if(window.Sortable){var e=this.$refs.main.$el.querySelectorAll(".el-select__tags > span")[0];window.Sortable.create(e,{animation:100,onEnd:function(e){var n=t.value.splice(e.oldIndex,1)[0];t.value.splice(e.newIndex,0,n)}})}else C.logs("Sortable")},handleRemoteMethod:function(t){var e=this;this.loading=!0,D({column:this.column,value:t}).then((function(t){e.loading=!1,e.netDic=t}))},checkChange:function(t){var e=this;this.text=[],this.checked=t,this.indeterminate=!1,t&&(this.text=this.netDic.map((function(t){return t[e.valueKey]})))}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("el-select",{ref:"main",class:t.b(),attrs:{size:t.size,loading:t.loading,"loading-text":t.loadingText,multiple:t.multiple,filterable:!!t.remote||t.filterable,remote:t.remote,readonly:t.readonly,"no-match-text":t.noMatchText,"no-data-text":t.noDataText,"remote-method":t.remote?t.handleRemoteMethod:void 0,"popper-class":t.popperClass,"popper-append-to-body":t.popperAppendToBody,"collapse-tags":t.tags,clearable:t.clearableVal,placeholder:t.placeholder,"multiple-limit":t.limit,"allow-create":t.allowCreate,"default-first-option":t.defaultFirstOption,disabled:t.disabled},on:{focus:t.handleFocus,blur:t.handleBlur},nativeOn:{click:function(e){return t.handleClick.apply(null,arguments)}},model:{value:t.text,callback:function(e){t.text=e},expression:"text"}},[t.group?t._l(t.netDic,(function(n,i){return e("el-option-group",{key:i,attrs:{label:t.getLabelText(n)}},t._l(n[t.groupsKey],(function(n,i){return e("el-option",{key:i,attrs:{disabled:n[t.disabledKey],label:t.getLabelText(n),value:n[t.valueKey]}},[t.$scopedSlots.default?t._t("default",null,{label:t.labelKey,value:t.valueKey,item:n}):[e("span",[t._v(t._s(t.getLabelText(n)))]),t._v(" "),n[t.descKey]?e("span",{class:t.b("desc")},[t._v(t._s(n[t.descKey]))]):t._e()]],2)})),1)})):[t.all&&t.multiple?e("el-checkbox",{class:t.b("check"),attrs:{value:t.checked,checked:t.checked,disabled:t.disabled,indeterminate:t.indeterminate},on:{change:t.checkChange}},[t._v("全选")]):t._e(),t._v(" "),t._l(t.netDic,(function(n,i){return e("el-option",{key:i,attrs:{disabled:n[t.disabledKey],label:t.getLabelText(n),value:n[t.valueKey]}},[t.$scopedSlots.default?t._t("default",null,{label:t.labelKey,value:t.valueKey,item:n}):[e("span",[t._v(t._s(t.getLabelText(n)))]),t._v(" "),n[t.descKey]?e("span",{class:t.b("desc")},[t._v(t._s(n[t.descKey]))]):t._e()]],2)}))]],2)}),[],!1,null,null,null).exports,ee=l(s({name:"cascader",mixins:[Nt(),zt()],props:{checkStrictly:{type:Boolean,default:!1},emitPath:{type:Boolean,default:!0},tags:{type:Boolean,default:!1},expandTrigger:{type:String,default:"hover"},showAllLevels:{type:Boolean,default:!0},lazy:{type:Boolean,default:!1},lazyLoad:Function,filterable:{type:Boolean,default:!1},separator:{type:String}},data:function(){return{}},computed:{allProps:function(){var t=this;return{label:this.labelKey,value:this.valueKey,children:this.childrenKey,checkStrictly:this.checkStrictly,multiple:this.multiple,emitPath:this.emitPath,lazy:this.lazy,lazyLoad:function(e,n){t.lazyLoad&&t.lazyLoad(e,(function(i){!function e(n,i,o){n.forEach((function(n){n[t.valueKey]==i?n[t.childrenKey]=o:n[t.childrenKey]&&e(n[t.childrenKey])}))}(t.dic,e[t.valueKey],i),n(i)}))},expandTrigger:this.expandTrigger}}},created:function(){},mounted:function(){},methods:{}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("el-cascader",{attrs:{options:t.dic,placeholder:t.placeholder,props:t.allProps,size:t.size,clearable:t.clearableVal,"show-all-levels":t.showAllLevels,filterable:t.filterable,"popper-class":t.popperClass,separator:t.separator,disabled:t.disabled,"collapse-tags":t.tags},on:{focus:t.handleFocus,blur:t.handleBlur},nativeOn:{click:function(e){return t.handleClick.apply(null,arguments)}},scopedSlots:t._u([{key:"default",fn:function({data:n,node:i}){return[t.$scopedSlots.default?t._t("default",null,{data:n,node:i}):e("span",[t._v(t._s(n[t.labelKey]))])]}}],null,!0),model:{value:t.text,callback:function(e){t.text=e},expression:"text"}})}),[],!1,null,null,null).exports,ne=l(s({name:"input-color",mixins:[Nt(),zt()],props:{prefixIcon:{type:String},suffixIcon:{type:String},colorFormat:String,predefine:{type:Array,default:function(){return["#ff4500","#ff8c00","#ffd700","#90ee90","#00ced1","#1e90ff","#c71585","rgba(255, 69, 0, 0.68)","rgb(255, 120, 0)","hsv(51, 100, 98)","hsva(120, 40, 94, 0.5)","hsl(181, 100%, 37%)","hsla(209, 100%, 56%, 0.73)"]}},showAlpha:{type:Boolean,default:!0}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:t.b()},[e("el-input",{ref:"main",attrs:{"prefix-icon":t.prefixIcon,"suffix-icon":t.suffixIcon,placeholder:t.placeholder,size:t.size,readonly:t.readonly,clearable:t.clearableVal,disabled:t.disabled},nativeOn:{click:function(e){return t.handleClick.apply(null,arguments)}},model:{value:t.text,callback:function(e){t.text=e},expression:"text"}},[e("template",{slot:"append"},[e("el-color-picker",{attrs:{size:"mini","popper-class":t.popperClass,"color-format":t.colorFormat,disabled:t.disabled,"show-alpha":t.showAlpha,predefine:t.predefine},model:{value:t.text,callback:function(e){t.text=e},expression:"text"}})],1)],2)],1)}),[],!1,null,null,null).exports,ie=l(s({name:"input-number",mixins:[Nt(),zt()],data:function(){return{}},props:{controls:{type:Boolean,default:!0},step:{type:Number,default:1},controlsPosition:{type:String,default:"right"},precision:{type:Number},min:{type:Number,default:-1/0},max:{type:Number,default:1/0}},created:function(){},mounted:function(){},methods:{}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("el-input-number",{class:t.b(),attrs:{precision:t.precision,placeholder:t.placeholder,size:t.size,min:t.min,max:t.max,step:t.step,clearable:t.clearableVal,readonly:t.readonly,"controls-position":t.controlsPosition,controls:t.controls,label:t.placeholder,disabled:t.disabled},on:{focus:t.handleFocus,blur:t.handleBlur},nativeOn:{click:function(e){return t.handleClick.apply(null,arguments)}},model:{value:t.text,callback:function(e){t.text=t._n(e)},expression:"text"}})}),[],!1,null,null,null).exports;function oe(t){return function(t){if(Array.isArray(t))return re(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return re(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return re(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function re(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n21)return null;var e=new RegExp("(\\d{"+t+"})(\\.|$)"),n=(Array(t-1).join(0)+Math.pow(10,t)*Math.random()).match(e)[1];this.data=n}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:t.b()},t._l(t.list,(function(n,i){return e("span",{key:i,class:t.b("item"),style:t.styleName},[t._v("\n "+t._s(n)+"\n ")])})),0)}),[],!1,null,null,null).exports,de=l(s({name:"switch",mixins:[Nt(),zt()],props:{value:{},activeIconClass:String,inactiveIconClass:String,activeColor:String,inactiveColor:String,len:Number},data:function(){return{}},watch:{},created:function(){},mounted:function(){},computed:{active:function(){return this.dic[1]||{}},inactive:function(){return this.dic[0]||{}}},methods:{}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("el-switch",{attrs:{"active-text":t.active[t.labelKey],"active-value":t.active[t.valueKey],"inactive-value":t.inactive[t.valueKey],"inactive-text":t.inactive[t.labelKey],"active-icon-class":t.activeIconClass,"inactive-icon-class":t.inactiveIconClass,"active-color":t.activeColor,"inactive-color":t.inactiveColor,width:t.len,disabled:t.disabled,readonly:t.readonly,size:t.size},nativeOn:{click:function(e){return t.handleClick.apply(null,arguments)}},model:{value:t.text,callback:function(e){t.text=e},expression:"text"}})}),[],!1,null,null,null).exports,pe=l(s({name:"rate",mixins:[Nt(),zt()],props:{allowHalf:Boolean,lowThreshold:Number,highThreshold:Number,disabledVoidColor:String,disabledVoidIconClass:String,value:{type:Number,default:0},colors:{type:Array},max:{type:Number,default:5},iconClasses:{type:Array},texts:{type:Array},scoreTemplate:String,showScore:{type:Boolean,default:!1},showText:{type:Boolean,default:!1},voidIconClass:{type:String}},data:function(){return{}},watch:{},created:function(){},mounted:function(){},methods:{}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("el-rate",{attrs:{max:t.max,"low-threshold":t.lowThreshold,"high-threshold":t.highThreshold,"disabled-void-color":t.disabledVoidColor,"disabled-void-icon-class":t.disabledVoidIconClass,"allow-half":t.allowHalf,readonly:t.readonly,texts:t.texts,"show-score":t.showScore,"score-template":t.scoreTemplate,"show-text":t.showText,"icon-classes":t.iconClasses,"void-icon-class":t.voidIconClass,disabled:t.disabled,colors:t.colors},nativeOn:{click:function(e){return t.handleClick.apply(null,arguments)}},model:{value:t.text,callback:function(e){t.text=e},expression:"text"}})}),[],!1,null,null,null).exports;function he(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fe(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};he(this,t),this.CONTAINERID=Object(O.s)(),this.drawCanvas=this.drawCanvas.bind(this),this.parentObserver=this.parentObserver.bind(this),this.Repaint=this.Repaint.bind(this),this.isOberserve=!1,this.init(e),this.drawCanvas(),this.parentObserver()}var e,n,i;return e=t,(n=[{key:"init",value:function(t){this.option=Object.assign({width:400,height:200,text:"avueJS",fontSize:"30px",fontStyle:"黑体",textAlign:"center",color:"rgba(100,100,100,0.15)",degree:-20},t)}},{key:"drawCanvas",value:function(){this.isOberserve=!0;var t=document.createElement("div"),e=document.createElement("canvas"),n=e.getContext("2d");t.id=this.CONTAINERID,e.width=this.option.width,e.height=this.option.height,n.font="".concat(this.option.fontSize," ").concat(this.option.fontStyle),n.textAlign=this.option.textAlign,n.fillStyle=this.option.color,n.translate(e.width/2,e.height/2),n.rotate(this.option.degree*Math.PI/180),n.fillText(this.option.text,0,0);var i,o=e.toDataURL("image/png"),r=this.option.id;r&&(i=document.getElementById(r)),this.styleStr="\n position:".concat(r?"absolute":"fixed",";\n top:0;\n left:0;\n width:").concat(r?i.offsetWidth+"px":"100%",";\n height:").concat(r?i.offsetHeight+"px":"100%",";\n z-index:9999;\n pointer-events:none;\n background-repeat:repeat;\n background-image:url('").concat(o,"')"),t.setAttribute("style",this.styleStr),r?document.getElementById(r).appendChild(t):document.body.appendChild(t),this.wmObserver(t),this.isOberserve=!1}},{key:"wmObserver",value:function(t){var e=this,n=new MutationObserver((function(t){if(!e.isOberserve){var i=t[0].target;i.setAttribute("style",e.styleStr),i.setAttribute("id",e.CONTAINERID),n.takeRecords()}}));n.observe(t,{attributes:!0,childList:!0,characterData:!0})}},{key:"parentObserver",value:function(){var t=this;new MutationObserver((function(){if(!t.isOberserve){var e=document.querySelector("#".concat(t.CONTAINERID));e?e.getAttribute("style")!==t.styleStr&&e.setAttribute("style",t.styleStr):t.drawCanvas()}})).observe(document.querySelector("#".concat(this.CONTAINERID)).parentNode,{childList:!0})}},{key:"Repaint",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.remove(),this.init(t),this.drawCanvas()}},{key:"remove",value:function(){this.isOberserve=!0;var t=document.querySelector("#".concat(this.CONTAINERID));t.parentNode.removeChild(t)}}])&&fe(e.prototype,n),i&&fe(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}(),ge=200,ye=200,_e={text:"avueJS",fontFamily:"microsoft yahei",color:"#999",fontSize:16,opacity:100,bottom:10,right:10,ratio:1};function xe(t,e){var n=new FileReader;n.readAsDataURL(t),n.onload=function(t){e(t.target.result)}}var we=function(t,e,n){var i=function(t){var e,n,i,o,r,a;i=t.length,n=0,e="";for(;n>2),e+=ke.charAt((3&o)<<4),e+="==";break}if(r=t.charCodeAt(n++),n==i){e+=ke.charAt(o>>2),e+=ke.charAt((3&o)<<4|(240&r)>>4),e+=ke.charAt((15&r)<<2),e+="=";break}a=t.charCodeAt(n++),e+=ke.charAt(o>>2),e+=ke.charAt((3&o)<<4|(240&r)>>4),e+=ke.charAt((15&r)<<2|(192&a)>>6),e+=ke.charAt(63&a)}return e}(function(t){var e,n,i,o;for(e="",i=t.length,n=0;n=1&&o<=127?e+=t.charAt(n):o>2047?(e+=String.fromCharCode(224|o>>12&15),e+=String.fromCharCode(128|o>>6&63),e+=String.fromCharCode(128|o>>0&63)):(e+=String.fromCharCode(192|o>>6&31),e+=String.fromCharCode(128|o>>0&63));return e}(JSON.stringify(n))),o=CryptoJS.HmacSHA1(i,e).toString(CryptoJS.enc.Base64);return t+":"+Ce(o)+":"+i};var ke="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";new Array(-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1);var Ce=function(t){return t=(t=t.replace(/\+/g,"-")).replace(/\//g,"_")};function Se(t){return(Se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Oe(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.match(/(^http:\/\/|^https:\/\/|^\/\/|data:image\/)/)?e:t+e}var Te=l(s({name:"upload",mixins:[Nt(),zt(),q],data:function(){return{res:"",loading:!1,menu:!1,reload:Math.random()}},props:{qiniu:Object,ali:Object,data:{type:Object,default:function(){return{}}},showFileList:{type:Boolean,default:!0},fileText:String,fileType:{type:String},oss:{type:String},limit:{type:Number},headers:{type:Object,default:function(){return{}}},accept:{type:[String,Array],default:""},canvasOption:{type:Object,default:function(){return{}}},cropperOption:{type:Object,default:function(){return{}}},fileSize:{type:Number},dragFile:{type:Boolean,default:!1},drag:{type:Boolean,default:!1},loadText:{type:String,default:"Loading..."},action:{type:String,default:""},uploadBefore:Function,uploadAfter:Function,uploadDelete:Function,uploadPreview:Function,uploadError:Function,uploadExceed:Function,httpRequest:Function},computed:{isObject:function(){return"object"===Se(this.text[0])||"object"==this.dataType},acceptList:function(){return Array.isArray(this.accept)?this.accept.join(","):this.accept},homeUrl:function(){return this.propsHttp.home||""},fileName:function(){return this.propsHttp.fileName||"file"},isAliOss:function(){return"ali"===this.oss},isQiniuOss:function(){return"qiniu"===this.oss},isPictureImg:function(){return"picture-img"===this.listType},imgUrl:function(){if(!this.validatenull(this.text))return Oe(this.homeUrl,this.text[0])},fileList:function(){var t=this,e=[];return(this.text||[]).forEach((function(n,i){if(n){var o=t.isObject?n[t.labelKey]:n.substring(n.lastIndexOf("/")+1),r=t.isObject?n[t.valueKey]:n;r=Oe(t.homeUrl,r),e.push({uid:i+"",status:"done",type:t.isMediaType(r),name:o,url:r})}})),e}},mounted:function(){this.drag&&this.setSort()},methods:{isMediaType:function(t){return Object(O.q)(t,this.fileType)},setSort:function(){var t=this;if(window.Sortable){var e=this.$el.querySelectorAll(".avue-upload > ul")[0];window.Sortable.create(e,{animation:100,onEnd:function(e){var n=t.text.splice(e.oldIndex,1)[0];t.text.splice(e.newIndex,0,n),t.reload=Math.random(),t.$nextTick((function(){return t.setSort()}))}})}else C.logs("Sortable")},handleSuccess:function(t){if(this.isPictureImg)this.text.splice(0,1,t[this.urlKey]);else if(this.isObject){var e={};e[this.labelKey]=t[this.nameKey],e[this.valueKey]=t[this.urlKey],this.text.push(e)}else this.text.push(t[this.urlKey])},handleRemove:function(t,e){var n=this;this.beforeRemove(t).then((function(){n.delete(t)}))},handleError:function(t){this.uploadError&&this.uploadError(t,this.column)},delete:function(t){var e=this;(this.text||[]).forEach((function(n,i){var o=e.isObject?n[e.valueKey]:n;Oe(e.homeUrl,o)===t.url&&e.text.splice(i,1)}))},show:function(t){this.loading=!1,this.res=t||this.res,this.handleSuccess(this.res)},hide:function(t){this.loading=!1,t&&this.handleError(t)},handleFileChange:function(t,e){e.splice(e.length-1,1)},httpUpload:function(t){var e=this;if("function"!=typeof this.httpRequest){this.loading=!0;var n=t.file,i=n.size/1024;if(!this.validatenull(i)&&i>this.fileSize)this.hide("文件太大不符合");else{var o=Object.assign(this.headers,{"Content-Type":"multipart/form-data"}),r={},a={},s=new FormData,l=function(){var t=function(t){var i=e.action;for(var l in e.data)s.append(l,e.data[l]);var c=t||n;if(s.append(e.fileName,c),e.isQiniuOss){if(!window.CryptoJS)return C.logs("CryptoJS"),void e.hide();r=e.qiniu||e.$AVUE.qiniu;var u=we(r.AK,r.SK,{scope:r.scope,deadline:(new Date).getTime()+3600*r.deadline});s.append("token",u),i=r.bucket}else if(e.isAliOss){if(!window.OSS)return C.logs("AliOSS"),void e.hide();r=e.ali||e.$AVUE.ali,a=new OSS(r)}(e.isAliOss?a.put(c.name,c,{headers:e.headers}):e.$axios.post(i,s,{headers:o})).then((function(t){e.res={},e.isQiniuOss&&(t.data.key=r.url+t.data.key),e.res=Object(O.l)(e.isAliOss?t:t.data,e.resKey),"function"==typeof e.uploadAfter?e.uploadAfter(e.res,e.show,e.hide,e.column):e.show()})).catch((function(t){e.hide(t)}))};"function"==typeof e.uploadBefore?e.uploadBefore(n,t,e.hide,e.column):t()};if("img"==Object(O.q)(n.name)){var c=function(){e.validatenull(e.canvasOption)?l():function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,i=e.text,o=e.fontFamily,r=e.color,a=e.fontSize,s=e.opacity,l=e.bottom,c=e.right,u=e.ratio;function d(){_e.text=i||_e.text,_e.fontFamily=o||_e.fontFamily,_e.color=r||_e.color,_e.fontSize=a||_e.fontSize,_e.opacity=s||_e.opacity,_e.bottom=l||_e.bottom,_e.right=c||_e.right,_e.ratio=u||_e.ratio}function p(e){var i=new Image;i.src=e,i.onload=function(){var e=i.width,o=i.height;h(e,o),ve.drawImage(i,0,0,e,o),f(e,o);var r=document.getElementById("canvas").toDataURL(t.type,_e.ratio),a=Object(O.d)(r,t.name);n&&n(a)}}function h(t,e){null===(me=document.getElementById("canvas"))&&((me=document.createElement("canvas")).id="canvas",me.className="avue-canvas",document.body.appendChild(me)),ve=me.getContext("2d"),me.width=t,me.height=e}function f(t,e){var n=_e.text,i=m(n,t,e);ve.font=i.fontSize+"px "+_e.fontFamily,ve.fillStyle=_e.color,ve.globalAlpha=_e.opacity/100,ve.fillText(n,i.x,i.y)}function m(t,e,n){var i,o,r=_e.fontSize/ge*e;return o=_e.bottom?ye-_e.bottom:_e.top,i=_e.right?ge-_e.right:_e.left,ve.font=_e.fontSize+"px "+_e.fontFamily,{x:i=(i-=Number(ve.measureText(t).width))/ge*e,y:o=o/ye*n,fontSize:r}}d(),xe(t,p)}(n,e.canvasOption,(function(t){n=t,l()}))};this.validatenull(this.cropperOption)?c():xe(n,(function(t){var i=Object.assign(e.cropperOption,{img:t,type:"file",callback:function(t){n=t,c()},cancel:function(){e.loading=!1}});e.$ImageCropper(i)}))}else l()}}else this.httpRequest(t)},handleExceed:function(t,e){this.uploadExceed&&this.uploadExceed(this.limit,t,e,this.column)},handlePreview:function(t){var e=this,n=function(){var n=e.fileList.findIndex((function(e){return e.url===t.url}));e.$ImagePreview(e.fileList,n)};"function"==typeof this.uploadPreview?this.uploadPreview(t,this.column,n):n()},handleDelete:function(t){var e=this;this.beforeRemove(t).then((function(){e.text=[],e.menu=!1}))},beforeRemove:function(t){return"function"==typeof this.uploadDelete?this.uploadDelete(t,this.column):Promise.resolve()}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{directives:[{name:"loading",rawName:"v-loading.lock",value:t.loading,expression:"loading",modifiers:{lock:!0}}],class:t.b(),attrs:{"element-loading-text":t.loadText}},[e("el-upload",{key:t.reload,class:t.b({list:"picture-img"==t.listType,upload:t.disabled}),attrs:{action:t.action,"on-remove":t.handleRemove,accept:t.acceptList,"before-remove":t.beforeRemove,multiple:t.multiple,"on-preview":t.handlePreview,limit:t.limit,"http-request":t.httpUpload,readonly:t.readonly,drag:t.dragFile,"show-file-list":!t.isPictureImg&&t.showFileList,"list-type":t.listType,"on-change":t.handleFileChange,"on-exceed":t.handleExceed,disabled:t.disabled,"file-list":t.fileList},nativeOn:{click:function(e){return t.handleClick.apply(null,arguments)}},scopedSlots:t._u([{key:"file",fn:function({file:n}){return[t.$scopedSlots.default?t._t("default",null,{file:n}):"picture-card"===t.listType?e("span",[t.isMediaType(n.url)?e(n.type,{tag:"component",staticClass:"el-upload-list__item-thumbnail",attrs:{src:n.url}}):e("i",{staticClass:"el-icon-document",class:t.b("avatar"),attrs:{src:n.url}}),t._v(" "),e("span",{staticClass:"el-upload-list__item-actions"},[e("span",{staticClass:"el-upload-list__item-preview"},[e("i",{staticClass:"el-icon-zoom-in",on:{click:function(e){return e.stopPropagation(),t.handlePreview(n)}}})]),t._v(" "),e("span",{staticClass:"el-upload-list__item-delete"},[t.disabled?t._e():e("i",{staticClass:"el-icon-delete",on:{click:function(e){return e.stopPropagation(),t.handleRemove(n)}}})])])],1):"picture"===t.listType?e("span",{on:{click:function(e){return e.stopPropagation(),t.handlePreview(n)}}},[e(n.type,{tag:"component",staticClass:"el-upload-list__item-thumbnail",attrs:{src:n.url}}),t._v(" "),e("a",{staticClass:"el-upload-list__item-name"},[e("i",{staticClass:"el-icon-document"}),t._v("\n "+t._s(n.name)+"\n ")]),t._v(" "),e("i",{staticClass:"el-icon-close",on:{click:function(e){return e.stopPropagation(),t.handleRemove(n)}}})],1):e("span",{on:{click:function(e){return e.stopPropagation(),t.handlePreview(n)}}},[e("a",{staticClass:"el-upload-list__item-name"},[e("i",{staticClass:"el-icon-document"}),t._v("\n "+t._s(n.name)+"\n ")]),t._v(" "),t.disabled?t._e():e("i",{staticClass:"el-icon-close",on:{click:function(e){return e.stopPropagation(),t.handleRemove(n)}}})])]}}],null,!0)},["picture-card"==t.listType?[e("i",{staticClass:"el-icon-plus"})]:"picture-img"==t.listType?[t.$scopedSlots.default?t._t("default",null,{file:{url:t.imgUrl}}):[t.isMediaType(t.imgUrl)?e(t.isMediaType(t.imgUrl),{tag:"component",class:t.b("avatar"),attrs:{src:t.imgUrl},on:{mouseover:function(e){t.menu=!0}}}):t.imgUrl?e("i",{staticClass:"el-icon-document",class:t.b("avatar"),attrs:{src:t.imgUrl},on:{mouseover:function(e){t.menu=!0}}}):e("i",{staticClass:"el-icon-plus",class:t.b("avatar")}),t._v(" "),t.menu?e("div",{staticClass:"el-upload-list__item-actions",class:t.b("menu"),on:{mouseover:function(e){t.menu=!0},mouseout:function(e){t.menu=!1},click:function(t){return t.stopPropagation(),(()=>!1).apply(null,arguments)}}},[e("i",{staticClass:"el-icon-zoom-in",on:{click:function(e){return e.stopPropagation(),t.handlePreview({url:t.imgUrl})}}}),t._v(" "),t.disabled?t._e():e("i",{staticClass:"el-icon-delete",on:{click:function(e){return e.stopPropagation(),t.handleDelete(t.imgUrl)}}})]):t._e()]]:t.dragFile?[e("i",{staticClass:"el-icon-upload"}),t._v(" "),e("div",{staticClass:"el-upload__text"},[e("em",[t._v(t._s(t.fileText||t.t("upload.upload")))])])]:[e("el-button",{attrs:{icon:"el-icon-upload",size:t.size,type:"primary"}},[t._v(t._s(t.fileText||t.t("upload.upload")))])],t._v(" "),e("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},domProps:{innerHTML:t._s(t.tip)},slot:"tip"})],2)],1)}),[],!1,null,null,null).exports;var $e=l(s({name:"sign",props:{width:{type:Number,default:600},height:{type:Number,default:400}},data:function(){return{disabled:!1,linex:[],liney:[],linen:[],canvas:{},context:{}}},computed:{styleName:function(){return{width:this.setPx(this.width),height:this.setPx(this.height)}}},mounted:function(){this.init()},methods:{getStar:function(t,e,n){var i=this.canvas,o=this.context,r=i.width/2,a=i.height/2;o.lineWidth=7,o.strokeStyle="#f00",o.beginPath(),o.arc(r,a,110,0,2*Math.PI),o.stroke(),function(t,e,n,i,o,r){t.save(),t.fillStyle=o,t.translate(e,n),t.rotate(Math.PI+r),t.beginPath();for(var a=Math.sin(0),s=Math.cos(0),l=Math.PI/5*4,c=0;c<5;c++){a=Math.sin(c*l),s=Math.cos(c*l);t.lineTo(a*i,s*i)}t.closePath(),t.stroke(),t.fill(),t.restore()}(o,r,a,20,"#f00",0),o.font="18px 黑体",o.textBaseline="middle",o.textAlign="center",o.lineWidth=1,o.strokeStyle="#f00",o.strokeText(t,r,a+50),o.font="14px 黑体",o.textBaseline="middle",o.textAlign="center",o.lineWidth=1,o.strokeStyle="#f00",o.strokeText(n,r,a+80),o.translate(r,a),o.font="22px 黑体";for(var s,l=e.length,c=4*Math.PI/(3*(l-1)),u=e.split(""),d=0;d',a=[],s=1;s<10;s++)a.push(s.toString());a.push("0");for(var l,c=e.keys||[["`"].concat(a).concat(["-","=","Delete"]),["Tab","q","w","e","r","t","y","u","i","o","p","[","]","\\"],["Caps","a","s","d","f","g","h","j","k","l",";","'","Enter"],["Shift","z","x","c","v","b","n","m",",",".","/","Shift"],["Space"]],u=[],d=[],p=0;p");continue;case"/":u[p].push("?");continue}u[p].push(l[h].toUpperCase())}}for(var f=0;f';for(var m=0;m'+l[m]+"";r+=""}r+="",n.innerHTML=r;var v=!1;if(c.forEach((function(t){t.includes("Shift")&&(v=!0)})),v)document.querySelectorAll(e.el+" .akeyboard-keyboard-keys-Shift").forEach((function(t){t.onclick=function(){if(this.isShift){t.isShift=!1,t.innerHTML="Shift",this.classList.remove("keyboard-keyboard-keys-focus");for(var n,i=document.querySelectorAll(e.el+" .akeyboard-keyboard-innerKeys"),o=0;o')}var e,n,i;return e=t,(n=[{key:"inputOn",value:function(t,e,n,i){if("string"==typeof t)if("string"==typeof e)for(var o=document.querySelector(t),r=document.querySelectorAll(this.obj.el+" .akeyboard-keyboard-keys"),a=0;a0&&i[r[a].innerHTML]?r[a].onclick=i[r[a].innerHTML]:r[a].onclick=function(){o[e]+=this.innerText,n(this.innerText,o[e])}:r[a].onclick=function(){o[e]+=" ",n("Space",o[e])}:r[a].onclick=function(){o[e]+="\n",n("Enter",o[e])}:r[a].onclick=function(){o[e]+=" ",n("Tab",o[e])}:r[a].onclick=function(){o[e]=o[e].substr(0,o[e].length-1),n("Delete",o[e])});else console.error('aKeyboard: The type parameter needs to be a string ');else console.error('aKeyboard: The inputEle parameter needs to be a string ')}},{key:"onclick",value:function(t,e){if("string"==typeof t)if("function"==typeof e){var n=document.querySelector(this.obj.el+" .akeyboard-keyboard-keys-"+t);n?n.onclick=e:console.error("Can not find key: "+t)}else console.error('aKeyboard: The fn parameter needs to be a function ');else console.error('aKeyboard: The btn parameter needs to be a string ')}}])&&Be(e.prototype,n),i&&Be(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Ee(t){return(Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Me(t,e){for(var n=0;n';r+='
';for(var a=1;a<10;a++)r+='
'+a+"
",a%3==0&&(r+='
');r+='
0
Delete
Enter
',r+="",n.innerHTML=r}else console.error('aKeyboard: The obj parameter needs to be an object ')}var e,n,i;return e=t,(n=[{key:"inputOn",value:function(t,e,n,i){if("string"==typeof t)if("string"==typeof e)for(var o=document.querySelector(t),r=document.querySelectorAll(this.obj.el+" .akeyboard-keyboard-keys"),a=0;a0&&i[r[a].innerHTML]?r[a].onclick=i[r[a].innerHTML]:r[a].onclick=function(){o[e]+=this.innerText,n(this.innerText,o[e])}:r[a].onclick=function(){o[e]+="\n",n("Enter",o[e])}:r[a].onclick=function(){o[e]=o[e].substr(0,o[e].length-1),n("Delete",o[e])};else console.error('aKeyboard: The type parameter needs to be a string ');else console.error('aKeyboard: The inputEle parameter needs to be a string ')}},{key:"onclick",value:function(t,e){if("string"==typeof t)if("function"==typeof e){var n=document.querySelector(this.obj.el+" .akeyboard-keyboard-keys-"+t);n?n.onclick=e:console.error("Can not find key: "+t)}else console.error('aKeyboard: The fn parameter needs to be a function ');else console.error('aKeyboard: The btn parameter needs to be a string ')}}])&&Me(e.prototype,n),i&&Me(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();var Ie=l(s({name:"keyboard",props:{ele:{type:String,required:!0},keys:Array,theme:{type:String,default:"default",validator:function(t){return["default","dark","green","classic"].includes(t)}},type:{type:String,default:"default",validator:function(t){return["default","number","mobile"].includes(t)}},fixedBottomCenter:{type:Boolean,default:!1},rebind:{type:Boolean,default:!0}},watch:{ele:function(){this.init()}},data:function(){return{customClick:{}}},computed:{className:function(){return"avue-keyboard--".concat(this.theme)}},mounted:function(){this.init()},methods:{init:function(){var t=this;if(this.ele){var e,n={el:"#keyboard",style:{},keys:this.keys,fixedBottomCenter:this.fixedBottomCenter};"default"==this.type?e=new De(n):"number"==this.type?e=new je(n):"mobile"==this.type&&(e=new MobileKeyBoard(n));var i=0==this.ele.indexOf("#")?this.ele.substring(1):this.ele;e.inputOn("#".concat(i),"value",(function(e,n){t.$emit("click",e,n)}),this.rebind?this.customClick:null),this.keyboard=e}},bindClick:function(t,e){this.keyboard.onclick(t,e),this.customClick[t]=e}}}),(function(){var t=this._self._c;this._self._setupProxy;return t("div",{class:[this.b(),this.className]},[t("div",{attrs:{id:"keyboard"}})])}),[],!1,null,null,null).exports,Le=l(s({name:"tree",mixins:[q],directives:{permission:S},props:{indent:Number,filterNodeMethod:Function,checkOnClickNode:Boolean,beforeClose:Function,beforeOpen:Function,permission:{type:[Function,Object],default:function(){return{}}},iconClass:{type:String},loading:{type:Boolean,default:!1},expandOnClickNode:{type:Boolean,default:!1},option:{type:Object,default:function(){return{}}},data:{type:Array,default:function(){return[]}},value:{type:Object,default:function(){return{}}}},data:function(){return{filterValue:"",client:{x:0,y:0,show:!1},box:!1,type:"",node:{},form:{}}},computed:{styleName:function(){return{top:this.setPx(this.client.y-10),left:this.setPx(this.client.x-10)}},treeProps:function(){return Object.assign(this.props,{isLeaf:this.leafKey})},menu:function(){return this.vaildData(this.option.menu,!0)},title:function(){return this.option.title||this.t("crud.addTitle")},treeLoad:function(){return this.option.treeLoad},checkStrictly:function(){return this.option.checkStrictly},accordion:function(){return this.option.accordion},multiple:function(){return this.option.multiple},lazy:function(){return this.option.lazy},addText:function(){return this.addFlag?this.menuIcon("addBtn"):this.menuIcon("updateBtn")},addFlag:function(){return["add","parentAdd"].includes(this.type)},size:function(){return this.option.size||"small"},props:function(){return this.option.props||{}},leafKey:function(){return this.props.leaf||a.f.leaf},valueKey:function(){return this.props.value||a.f.value},labelKey:function(){return this.props.label||a.f.label},childrenKey:function(){return this.props.children||a.f.children},nodeKey:function(){return this.option.nodeKey||a.f.nodeKey},defaultExpandAll:function(){return this.option.defaultExpandAll},defaultExpandedKeys:function(){return this.option.defaultExpandedKeys},formOption:function(){return Object.assign(this.option.formOption||{},{submitText:this.addText})}},mounted:function(){var t=this;document.addEventListener("click",(function(e){t.$el.contains(e.target)||(t.client.show=!1)})),this.initFun()},watch:{filterValue:function(t){this.$refs.tree.filter(t)},value:function(t){this.form=t},form:function(t){this.$emit("input",t),this.$emit("change",t)}},methods:{menuIcon:function(t){return this.vaildData(this.option[t+"Text"],this.t("crud."+t))},getPermission:function(t){return"function"==typeof this.permission?this.permission(t,this.node.data||{}):!!this.validatenull(this.permission[t])||this.permission[t]},initFun:function(){var t=this;["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"].forEach((function(e){t[e]=t.$refs.tree[e]}))},nodeContextmenu:function(t,e,n){this.node=n,this.client.x=t.clientX,this.client.y=t.clientY,this.client.show=!0},handleCheckChange:function(t,e,n){this.$emit("check-change",t,e,n)},handleSubmit:function(t,e){this.addFlag?this.save(t,e):this.update(t,e)},nodeClick:function(t,e,n){this.client.show=!1,this.$emit("node-click",t,e,n)},filterNode:function(t,e){return"function"==typeof this.filterNodeMethod?this.filterNodeMethod(t,e):!t||-1!==e[this.labelKey].indexOf(t)},hide:function(t){var e=this,n=function(){t&&t(),e.node={},e.form={},e.box=!1};"function"==typeof this.beforeClose?this.beforeClose(n,this.type):n()},save:function(t,e){var n=this;this.$emit("save",this.node,t,(function(t){t=t||n.form,"add"===n.type?n.$refs.tree.append(t,n.node.data[n.valueKey]):"parentAdd"===n.type&&n.$refs.tree.append(t),n.hide(),e()}),e)},update:function(t,e){var n=this;this.$emit("update",this.node,t,(function(t){var i=(t=t||n.form)[n.valueKey];n.node.data=n.form;var o=n.findData(i),r=o.parentList,a=o.index;if(r){var s=r.splice(a,1)[0];t[n.childrenKey]=s[n.childrenKey],r.splice(a,0,t)}n.hide(),e()}),e)},rowEdit:function(t){this.type="edit",this.form=this.node.data,this.show()},parentAdd:function(){this.type="parentAdd",this.show()},rowAdd:function(){this.type="add",this.show()},show:function(){var t=this,e=function(){t.client.show=!1,t.box=!0};"function"==typeof this.beforeOpen?this.beforeOpen(e,this.type):e()},rowRemove:function(){var t=this;this.client.show=!1;this.$emit("del",this.node,(function(){t.$refs.tree.remove(t.node.data[t.valueKey])}))},findData:function(t){var e=this,n={};return function i(o,r){o.forEach((function(a,s){a[e.valueKey]==t&&(n={item:a,index:s,parentList:o,parent:r}),a[e.childrenKey]&&i(a[e.childrenKey],a)}))}(this.data),n}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:t.b()},[t.vaildData(t.option.filter,!0)?e("div",{class:t.b("filter")},[e("el-input",{attrs:{placeholder:t.vaildData(t.option.filterText,t.t("tip.input")),size:t.size},model:{value:t.filterValue,callback:function(e){t.filterValue=e},expression:"filterValue"}}),t._v(" "),t.vaildData(t.option.addBtn,!0)?e("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.getPermission("addBtn"),expression:"getPermission('addBtn')"}],attrs:{size:t.size,icon:"el-icon-plus"},on:{click:t.parentAdd}}):t._t("addBtn")],2):t._e(),t._v(" "),e("el-scrollbar",{class:t.b("content")},[e("el-tree",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"tree",attrs:{data:t.data,lazy:t.lazy,load:t.treeLoad,props:t.treeProps,"icon-class":t.iconClass,indent:t.indent,"highlight-current":!t.multiple,"show-checkbox":t.multiple,accordion:t.accordion,"node-key":t.valueKey,"check-strictly":t.checkStrictly,"check-on-click-node":t.checkOnClickNode,"filter-node-method":t.filterNode,"expand-on-click-node":t.expandOnClickNode,"default-expand-all":t.defaultExpandAll,"default-expanded-keys":t.defaultExpandedKeys},on:{"check-change":t.handleCheckChange,"node-click":t.nodeClick,"node-contextmenu":t.nodeContextmenu},scopedSlots:t._u([{key:"default",fn:function({node:n,data:i}){return t.$scopedSlots.default?t._t("default",null,{node:n,data:i}):e("span",{staticClass:"el-tree-node__label"},[e("span",[t._v(t._s(n.label))])])}}],null,!0)})],1),t._v(" "),t.client.show&&t.menu?e("div",{staticClass:"el-cascader-panel is-bordered",class:t.b("menu"),style:t.styleName,on:{click:function(e){t.client.show=!1}}},[t.vaildData(t.option.addBtn,!0)?e("div",{directives:[{name:"permission",rawName:"v-permission",value:t.getPermission("addBtn"),expression:"getPermission('addBtn')"}],class:t.b("item"),on:{click:t.rowAdd}},[t._v(t._s(t.menuIcon("addBtn")))]):t._e(),t._v(" "),t.vaildData(t.option.editBtn,!0)?e("div",{directives:[{name:"permission",rawName:"v-permission",value:t.getPermission("editBtn"),expression:"getPermission('editBtn')"}],class:t.b("item"),on:{click:t.rowEdit}},[t._v(t._s(t.menuIcon("editBtn")))]):t._e(),t._v(" "),t.vaildData(t.option.delBtn,!0)?e("div",{directives:[{name:"permission",rawName:"v-permission",value:t.getPermission("delBtn"),expression:"getPermission('delBtn')"}],class:t.b("item"),on:{click:t.rowRemove}},[t._v(t._s(t.menuIcon("delBtn")))]):t._e(),t._v(" "),t._t("menu",null,{node:t.node})],2):t._e(),t._v(" "),t.box?e("div",[e("el-dialog",{staticClass:"avue-dialog avue-dialog--none",class:t.b("dialog"),attrs:{title:t.node[t.labelKey]||t.title,visible:t.box,"modal-append-to-body":t.$AVUE.modalAppendToBody,"append-to-body":t.$AVUE.appendToBody,"before-close":t.hide,width:t.vaildData(t.option.dialogWidth,"50%")},on:{"update:visible":function(e){t.box=e}}},[e("avue-form",{ref:"form",attrs:{option:t.formOption},on:{submit:t.handleSubmit},model:{value:t.form,callback:function(e){t.form=e},expression:"form"}})],1)],1):t._e()],1)}),[],!1,null,null,null).exports,Ne=l(s({name:"title",mixins:[Nt(),zt()],props:{styles:{type:Object,default:function(){return{}}}},mounted:function(){},methods:{}}),(function(){var t=this._self._c;this._self._setupProxy;return t("div",{class:this.b()},[t("p",{style:this.styles},[this._v(this._s(this.text))])])}),[],!1,null,null,null).exports,ze=l(s({name:"search",mixins:[M()],props:{value:{}},watch:{value:{handler:function(t){this.setVal(t)},deep:!0}},computed:{form:{get:function(){return this.value},set:function(t){this.setVal(t)}},props:function(){return this.parentOption.props||{}},labelKey:function(){return a.f.label},valueKey:function(){return a.f.value},mainSlot:function(){var t=this,e=[];return this.propOption.forEach((function(n){t.$scopedSlots[n.prop]&&e.push(n.prop)})),e},isCard:function(){return this.parentOption.card},parentOption:function(){return this.tableOption},propOption:function(){return this.columnOption},columnOption:function(){return this.parentOption.column}},created:function(){this.dataFormat()},methods:{setVal:function(t){this.$emit("input",t),this.$emit("change",t)},getKey:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return t[e[n]||this.props[n]||n]},dataFormat:function(){var t=this;this.propOption.forEach((function(e){var n=e.prop;t.validatenull(t.form[n])&&t.$set(t.form,n,!1===e.multiple?"":[])}))},getActive:function(t,e){var n=this.getKey(t,e.props,this.valueKey);return!1===e.multiple?this.form[e.prop]===n:this.form[e.prop].includes(n)},handleClick:function(t,e){var n=this.getKey(e,t.props,this.valueKey);if(!1===t.multiple)this.form[t.prop]=n;else{var i=this.form[t.prop].indexOf(n);-1===i?this.form[t.prop].push(n):this.form[t.prop].splice(i,1)}}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("el-row",{class:[t.b(),{"avue--card":t.isCard}],attrs:{span:24}},t._l(t.columnOption,(function(n,i){return e("el-col",{key:n.prop,class:t.b("item"),attrs:{span:n.span||24}},[e("p",{class:t.b("title")},[t._v(t._s(n.label)+":")]),t._v(" "),e("div",{class:t.b("content")},[t.mainSlot.includes(n.prop)?t._t(n.prop,null,{dic:t.DIC[n.prop]}):t._l(t.DIC[n.prop],(function(i){return e("span",{key:t.getKey(i,n.props,t.valueKey),class:[t.b("tags"),{"avue-search__tags--active":t.getActive(i,n)}],on:{click:function(e){return t.handleClick(n,i)}}},[t._v(t._s(t.getKey(i,n.props,t.labelKey)))])}))],2)])})),1)}),[],!1,null,null,null).exports;var Fe=l(s({name:"skeleton",props:{loading:{type:Boolean,default:!0},avatar:Boolean,active:{type:Boolean,default:!0},block:Boolean,number:{type:Number,default:1},rows:{type:Number,default:3}},computed:{styleName:function(){return this.block?{width:"100%"}:{}},className:function(){var t=this.active;return function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},"".concat("avue-skeleton","__loading"),t)}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:t.b()},t._l(t.number,(function(n,i){return t.loading?e("div",{key:i,class:t.b("item")},[e("div",{class:t.b("header")},[t.avatar?e("span",{class:[t.b("avatar"),t.className]}):t._e()]),t._v(" "),e("div",{class:t.b("content")},[e("h3",{class:[t.b("title"),t.className]}),t._v(" "),e("div",{class:t.b("list")},t._l(t.rows,(function(n,i){return e("li",{key:i,class:[t.b("li"),t.className],style:t.styleName})})),0)])]):e("div",[t._t("default")],2)})),0)}),[],!1,null,null,null).exports,He=l(s({name:"tabs",props:{option:{type:Object,required:!0,default:function(){return{}}}},data:function(){return{active:"0"}},watch:{active:function(){this.$emit("change",this.tabsObj)}},computed:{tabsObj:function(){return this.columnOption[this.active]},parentOption:function(){return this.option},columnOption:function(){return this.parentOption.column||[]}},methods:{changeTabs:function(t){this.active=t+""}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:t.b()},[e("el-tabs",{attrs:{"tab-position":t.parentOption.position,type:t.parentOption.type},model:{value:t.active,callback:function(e){t.active=e},expression:"active"}},t._l(t.columnOption,(function(n,i){return e("el-tab-pane",{key:i,attrs:{name:i+"",disabled:n.disabled}},[e("span",{attrs:{slot:"label"},slot:"label"},[e("i",{class:n.icon}),t._v(" \n "+t._s(n.label)+"\n ")])])})),1)],1)}),[],!1,null,null,null).exports,Ke=l(s({name:"dynamic",mixins:[Nt(),zt()],data:function(){return{reload:Math.random(),hoverList:[]}},props:{uploadBefore:Function,uploadAfter:Function,uploadDelete:Function,uploadPreview:Function,uploadError:Function,uploadExceed:Function,max:Number,columnSlot:{type:Array,default:function(){return[]}},children:{type:Object,default:function(){return{}}}},computed:{textLen:function(){return this.text.length},maxFlag:function(){return!this.max||!(this.text.length==this.max)},showIndex:function(){return this.vaildData(this.children.index,!0)},showType:function(){return this.children.type||"crud"},isForm:function(){return"form"===this.showType},isCrud:function(){return"crud"===this.showType},selectionChange:function(){return this.children.selectionChange},sortableChange:function(){return this.children.sortableChange},rowAdd:function(){return this.children.rowAdd},rowDel:function(){return this.children.rowDel},viewBtn:function(){return!1===this.children.viewBtn},addBtn:function(){return!1===this.children.addBtn},delBtn:function(){return!1===this.children.delBtn},valueOption:function(){var t={};return this.columnOption.forEach((function(e){e.value&&(t[e.prop]=e.value)})),t},rulesOption:function(){var t={};return this.columnOption.forEach((function(e){e.rules&&(t[e.prop]=e.rules)})),t},columnOption:function(){return this.children.column||[]},option:function(){var t,e=this;return Object.assign({border:!0,header:!1,menu:!1,size:this.size,disabled:this.disabled,readonly:this.readonly,emptyBtn:!1,submitBtn:!1},function(){var t=e.deepClone(e.children);return delete t.column,t}(),(t=[{label:e.children.indexLabel||"#",prop:"_index",display:e.showIndex,hide:!e.showIndex,fixed:!0,align:"center",headerAlign:"center",span:24,width:50}],e.columnOption.forEach((function(n){t.push(Object.assign(n,{cell:e.vaildData(n.cell,e.isCrud)}))})),{column:t}))}},mounted:function(){this.initData()},watch:{text:function(){this.initData()}},methods:{handleSelectionChange:function(t){this.selectionChange&&this.selectionChange(t)},handleSortableChange:function(t,e,n,i){this.sortableChange&&this.sortableChange(t,e,n,i)},cellMouseenter:function(t){var e=t.$index;this.mouseoverRow(e)},cellMouseLeave:function(t,e,n,i){var o=t.$index;this.mouseoutRow(o)},initData:function(){this.text.forEach((function(t,e){t=Object.assign(t,{$cellEdit:!0,$index:e})}))},mouseoverRow:function(t){this.delBtn||(this.flagList(),this.$set(this.hoverList,t,!0))},mouseoutRow:function(t){this.delBtn||(this.flagList(),this.$set(this.hoverList,t,!1))},flagList:function(){this.hoverList.forEach((function(t,e){!1}))},delRow:function(t){var e=this,n=function(){var n=e.deepClone(e.text);n.splice(t,1),e.text=n,e.reload=Math.random()};"function"==typeof this.rowDel?this.rowDel(this.text[t],n):n()},addRow:function(){var t=this,e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e=Object.assign(t.valueOption,e,{$index:t.textLen}),t.isCrud?t.$refs.main.rowCellAdd(e):t.isForm&&t.text.push(e)};"function"==typeof this.rowAdd?this.rowAdd(e):e()}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{key:t.reload,class:t.b()},[t.isForm?[e("div",{class:t.b("header")},[t.readonly||t.disabled||t.addBtn?t._e():e("el-button",{attrs:{size:"mini",circle:"",disabled:t.disabled,type:"primary",icon:"el-icon-plus"},on:{click:t.addRow}})],1),t._v(" "),e("div",t._l(t.text,(function(n,i){return e("div",{key:i,class:t.b("row"),on:{mouseenter:function(e){return t.cellMouseenter({$index:i})},mouseleave:function(e){return t.cellMouseLeave({$index:i})}}},[t.readonly||t.disabled||t.delBtn||!t.hoverList[i]?t._e():e("el-button",{class:t.b("menu"),attrs:{type:"danger",size:"mini",disabled:t.disabled,icon:"el-icon-delete",circle:""},on:{click:function(e){return t.delRow(n.$index)}}}),t._v(" "),e("avue-form",t._b({key:i,ref:"main",refInFor:!0,attrs:{option:t.deepClone(t.option)},scopedSlots:t._u([{key:"_index",fn:function({}){return e("div",{},[e("span",[t._v(t._s(n.$index+1))])])}},t._l(t.columnSlot,(function(e){return{key:e,fn:function(n){return[t._t(e,null,null,Object.assign(n,{row:t.text[i]}))]}}}))],null,!0),model:{value:t.text[i],callback:function(e){t.$set(t.text,i,e)},expression:"text[index]"}},"avue-form",t.$uploadFun({},this),!1))],1)})),0)]:t.isCrud?e("avue-crud",t._b({ref:"main",attrs:{option:t.option,disabled:t.disabled,data:t.text},on:{"cell-mouse-enter":t.cellMouseenter,"cell-mouse-leave":t.cellMouseLeave,"selection-change":t.handleSelectionChange,"sortable-change":t.handleSortableChange},scopedSlots:t._u([{key:"_indexHeader",fn:function(n){return[t.addBtn||t.readonly||!t.maxFlag?t._e():e("el-button",{attrs:{type:"primary",size:"mini",disabled:t.disabled,icon:"el-icon-plus",circle:""},on:{click:function(e){return t.addRow()}}})]}},{key:"_index",fn:function(n){return[t.readonly||t.disabled||t.delBtn||!t.hoverList[n.row.$index]?e("div",[t._v(t._s(n.row.$index+1))]):e("el-button",{attrs:{type:"danger",size:"mini",disabled:t.disabled,icon:"el-icon-delete",circle:""},on:{click:function(e){return t.delRow(n.row.$index)}}})]}},t._l(t.columnSlot,(function(e){return{key:t.getSlotName({prop:e},"F"),fn:function(n){return[t._t(e,null,null,n)]}}}))],null,!0)},"avue-crud",t.$uploadFun({},this),!1)):t._e()],2)}),[],!1,null,null,null).exports;function Re(t,e){for(var n=0;n=this.limit},textLen:function(){return this.text.length},isImg:function(){return"img"===this.type},isUrl:function(){return"url"===this.type}},props:{fileType:String,alone:Boolean,type:String,limit:Number},methods:{isMediaType:function(t){return Object(O.q)(t,this.fileType)},add:function(t){this.text.splice(t+1,0,"")},remove:function(t){this.text.splice(t,1)},openImg:function(t){var e=this,n=this.text.map((function(t){return{thumbUrl:t,url:t,type:e.fileType}}));this.$ImagePreview(n,t)}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:t.b()},[t.validatenull(t.text)?e("el-button",{attrs:{type:"primary",icon:"el-icon-plus",circle:"",size:t.size,disabled:t.disabled},on:{click:function(e){return t.add()}}}):t._e(),t._v(" "),t._l(t.text,(function(n,i){return e("div",{key:i,class:t.b("item")},[e("div",{class:t.b("input")},[e("el-tooltip",{attrs:{placement:"bottom",disabled:!t.isImg&&!t.isUrl||t.validatenull(n)}},[e("div",{attrs:{slot:"content"},slot:"content"},[t.isImg?e(t.isMediaType(n),{tag:"component",staticStyle:{width:"200px"},attrs:{src:n,controls:"controls"},on:{click:function(e){return t.openImg(i)}}}):t.isUrl?e("el-link",{attrs:{type:"primary",href:n,target:t.target}},[t._v(t._s(n))]):t._e()],1),t._v(" "),e("el-input",{attrs:{size:t.size,placeholder:t.placeholder,disabled:t.disabled},model:{value:t.text[i],callback:function(e){t.$set(t.text,i,e)},expression:"text[index]"}})],1),t._v(" "),t.disabled||t.readonly||t.alone?t._e():[t.isLimit?t._e():e("el-button",{attrs:{type:"primary",icon:"el-icon-plus",circle:"",size:t.size,disabled:t.disabled},on:{click:function(e){return t.add(i)}}}),t._v(" "),e("el-button",{attrs:{type:"danger",icon:"el-icon-minus",circle:"",size:t.size,disabled:t.disabled},on:{click:function(e){return t.remove(i)}}})]],2)])}))],2)}),[],!1,null,null,null).exports,u,m,b,St,$t,Tt,At,Dt,Lt,Ft,Ht,h,Kt,Wt,Vt,Yt,Xt,qt,Gt,Qt,Zt,te,ee,ne,ie,ae,le,se,ce,de,pe,Te,Pe,Ie,Le,Ne,ze,He,Ke,Ve,ue,l(s({name:"text-ellipsis",props:{text:String,height:Number,width:Number,isLimitHeight:{type:Boolean,default:!0},useTooltip:{type:Boolean,default:!1},placement:String},data:function(){return{keyIndex:0,oversize:!1,isHide:!1}},watch:{isLimitHeight:function(){this.init()},text:function(){this.init()},height:function(){this.init()}},mounted:function(){this.init()},methods:{init:function(){this.oversize=!1,this.keyIndex+=1,this.$refs.more.style.display="none",this.isLimitHeight&&this.limitShow()},limitShow:function(){var t=this;this.$nextTick((function(){var e=t.$refs.text,n=t.$el,i=t.$refs.more,o=1e3;if(e)if(n.offsetHeight>t.height){i.style.display="inline-block";for(var r=t.text;n.offsetHeight>t.height&&o>0;)n.offsetHeight>3*t.height?e.innerText=r=r.substring(0,Math.floor(r.length/2)):e.innerText=r=r.substring(0,r.length-1),o--;t.$emit("hide"),t.isHide=!0}else t.$emit("show"),t.isHide=!1}))}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:t.b(),style:{width:t.setPx(t.width,"100%")}},[t._t("before"),t._v(" "),e("el-tooltip",{attrs:{content:t.text,disabled:!(t.useTooltip&&t.isHide),placement:t.placement}},[e("span",[e("span",{key:t.keyIndex,ref:"text",class:t.b("text")},[t._v(t._s(t.text))])])]),t._v(" "),e("span",{ref:"more",class:t.b("more")},[t._t("more")],2),t._v(" "),t._t("after")],2)}),[],!1,null,null,null).exports,Fe,$e,Ue],Xe=[l(s({name:"data-tabs",data:function(){return{}},computed:{animation:function(){return this.option.animation},decimals:function(){return this.option.decimals||0},span:function(){return this.option.span||8},data:function(){return this.option.data||[]}},props:{option:{type:Object,default:function(){}}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"avue-data-tabs"},[e("el-row",{attrs:{span:24}},t._l(t.data,(function(n,i){return e("el-col",{key:i,attrs:{md:t.span,xs:24,sm:12}},[e("div",{staticClass:"item",style:{background:n.color}},[e("a",{attrs:{href:n.href,target:n.target},on:{click:function(t){n.click&&n.click(n)}}},[e("div",{staticClass:"item-header"},[e("p",[t._v(t._s(n.title))]),t._v(" "),e("span",[t._v(t._s(n.subtitle))])]),t._v(" "),e("div",{staticClass:"item-body"},[e("avue-count-up",{staticClass:"h2",attrs:{decimals:n.decimals||t.decimals,animation:n.animation||t.animation,end:n.count}})],1),t._v(" "),e("div",{staticClass:"item-footer"},[e("span",[t._v(t._s(n.allcount))]),t._v(" "),e("p",[t._v(t._s(n.text))])]),t._v(" "),e("p",{staticClass:"item-tip"},[t._v(t._s(n.key))])])])])})),1)],1)}),[],!1,null,null,null).exports,l(s({name:"data-cardtext",data:function(){return{}},computed:{icon:function(){return this.option.icon},color:function(){return this.option.color||"#333"},span:function(){return this.option.span||8},data:function(){return this.option.data||[]}},props:{option:{type:Object,default:function(){}}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"avue-data-cardText"},[e("el-row",{attrs:{span:24}},t._l(t.data,(function(n,i){return e("el-col",{key:i,attrs:{md:t.span,xs:24,sm:12}},[e("div",{staticClass:"item"},[e("a",{attrs:{href:n.href,target:n.target},on:{click:function(t){n.click&&n.click(n)}}},[e("div",{staticClass:"item-header"},[t._v("\n "+t._s(n.title)+"\n ")]),t._v(" "),e("div",{staticClass:"item-content"},[t._v(t._s(n.content))]),t._v(" "),e("div",{staticClass:"item-footer"},[e("span",[t._v(t._s(n.name))]),t._v(" "),e("span",[t._v(t._s(n.date))])])])])])})),1)],1)}),[],!1,null,null,null).exports,l(s({name:"data-box",data:function(){return{}},props:{option:{type:Object,default:function(){}}},computed:{animation:function(){return this.option.animation},decimals:function(){return this.option.decimals||0},span:function(){return this.option.span||8},data:function(){return this.option.data||[]}},created:function(){},mounted:function(){},watch:{},methods:{}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"data-box"},[e("el-row",{attrs:{span:24}},t._l(t.data,(function(n,i){return e("el-col",{key:i,attrs:{md:t.span,xs:24,sm:12}},[e("div",{staticClass:"item"},[e("a",{attrs:{href:n.href,target:n.target},on:{click:function(t){n.click&&n.click(n)}}},[e("div",{staticClass:"item-icon",style:{backgroundColor:n.color}},[e("i",{class:n.icon})]),t._v(" "),e("div",{staticClass:"item-info"},[e("avue-count-up",{staticClass:"title",style:{color:n.color},attrs:{animation:n.animation||t.animation,decimals:n.decimals||t.decimals,end:n.count}}),t._v(" "),e("div",{staticClass:"info"},[t._v(t._s(n.title))])],1)])])])})),1)],1)}),[],!1,null,null,null).exports,l(s({name:"data-progress",data:function(){return{}},props:{option:{type:Object,default:function(){}}},computed:{animation:function(){return this.option.animation},decimals:function(){return this.option.decimals||0},span:function(){return this.option.span||8},data:function(){return this.option.data||[]}},created:function(){},mounted:function(){},watch:{},methods:{}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"data-progress"},[e("el-row",{attrs:{span:24}},t._l(t.data,(function(n,i){return e("el-col",{key:i,attrs:{md:t.span,xs:24,sm:12}},[e("div",{staticClass:"item"},[e("a",{attrs:{href:n.href,target:n.target},on:{click:function(t){n.click&&n.click(n)}}},[e("div",{staticClass:"item-header"},[e("avue-count-up",{staticClass:"item-count",attrs:{animation:n.animation||t.animation,decimals:n.decimals||t.decimals,end:n.count}}),t._v(" "),e("div",{staticClass:"item-title",domProps:{textContent:t._s(n.title)}})],1),t._v(" "),e("el-progress",{attrs:{"stroke-width":15,percentage:n.count,color:n.color,"show-text":!1}})],1)])])})),1)],1)}),[],!1,null,null,null).exports,l(s({name:"data-icons",data:function(){return{}},computed:{animation:function(){return this.option.animation},decimals:function(){return this.option.decimals||0},span:function(){return this.option.span||4},data:function(){return this.option.data},color:function(){return this.option.color||"rgb(63, 161, 255)"},discount:function(){return this.option.discount||!1}},props:{option:{type:Object,default:function(){}}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"data-icons"},[e("el-row",{attrs:{span:24}},[t._l(t.data,(function(n,i){return[e("el-col",{key:i,attrs:{xs:12,sm:6,md:t.span}},[e("div",{staticClass:"item",class:[{"item--easy":t.discount}]},[e("a",{attrs:{href:n.href,target:n.target},on:{click:function(t){n.click&&n.click(n)}}},[e("div",{staticClass:"item-icon",style:{color:t.color}},[e("i",{class:n.icon})]),t._v(" "),e("div",{staticClass:"item-info"},[e("span",[t._v(t._s(n.title))]),t._v(" "),e("avue-count-up",{staticClass:"count",style:{color:t.color},attrs:{animation:n.animation||t.animation,decimals:n.decimals||t.decimals,end:n.count}})],1)])])])]}))],2)],1)}),[],!1,null,null,null).exports,l(s({name:"data-card",data:function(){return{}},props:{option:{type:Object,default:function(){}}},computed:{span:function(){return this.option.span||6},data:function(){return this.option.data||[]},colorText:function(){return this.option.colorText||"#fff"},bgText:function(){return this.option.bgText||"#2e323f"},borderColor:function(){return this.option.borderColor||"#2e323f"}},created:function(){},mounted:function(){},watch:{},methods:{}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"data-card"},[e("el-row",{attrs:{span:24}},t._l(t.data,(function(n,i){return e("el-col",{key:i,attrs:{md:t.span,xs:24,sm:12}},[e("div",{staticClass:"item"},[e("a",{attrs:{href:n.href,target:n.target},on:{click:function(t){n.click&&n.click(n)}}},[e("img",{staticClass:"item-img",attrs:{src:n.src}}),t._v(" "),e("div",{staticClass:"item-text",style:{backgroundColor:t.bgText}},[e("h3",{style:{color:t.colorText}},[t._v(t._s(n.name))]),t._v(" "),e("p",{style:{color:t.colorText}},[t._v(t._s(n.text))])])])])])})),1)],1)}),[],!1,null,null,null).exports,l(s({name:"data-display",data:function(){return{}},computed:{animation:function(){return this.option.animation},decimals:function(){return this.option.decimals||0},span:function(){return this.option.span||6},data:function(){return this.option.data||[]},color:function(){return this.option.color||"rgb(63, 161, 255)"}},props:{option:{type:Object,default:function(){}}},created:function(){},methods:{}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"avue-data-display"},[e("el-row",{attrs:{span:24}},t._l(t.data,(function(n,i){return e("el-col",{key:i,attrs:{md:t.span,xs:12,sm:12}},[e("div",{staticClass:"item",style:{color:t.color}},[e("a",{attrs:{href:n.href,target:n.target},on:{click:function(t){n.click&&n.click(n)}}},[e("avue-count-up",{staticClass:"count",attrs:{animation:n.animation||t.animation,decimals:n.decimals||t.decimals,end:n.count}}),t._v(" "),e("span",{staticClass:"splitLine"}),t._v(" "),e("div",{staticClass:"title"},[t._v(t._s(n.title))])],1)])])})),1)],1)}),[],!1,null,null,null).exports,l(s({name:"data-imgtext",data:function(){return{}},computed:{span:function(){return this.option.span||6},data:function(){return this.option.data||[]},color:function(){return this.option.color||"rgb(63, 161, 255)"}},props:{option:{type:Object,default:function(){}}},created:function(){},methods:{}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"avue-data-imgtext"},[e("el-row",{attrs:{span:24}},t._l(t.data,(function(n,i){return e("el-col",{key:i,attrs:{md:t.span,xs:24,sm:12}},[e("div",{staticClass:"item",style:{color:t.color}},[e("a",{attrs:{href:n.href,target:n.target},on:{click:function(t){n.click&&n.click(n)}}},[e("div",{staticClass:"item-header"},[e("img",{attrs:{src:n.imgsrc,alt:""}})]),t._v(" "),e("div",{staticClass:"item-content"},[e("span",[t._v(t._s(n.title))]),t._v(" "),e("p",[t._v(t._s(n.content))])]),t._v(" "),e("div",{staticClass:"item-footer"},[e("div",{staticClass:"time"},[e("span",[t._v(t._s(n.time))])]),t._v(" "),e("div",{staticClass:"imgs"},[e("ul",t._l(n.headimg,(function(t,n){return e("li",{key:n},[e("el-tooltip",{attrs:{effect:"dark",content:t.name,placement:"top-start"}},[e("img",{attrs:{src:t.src,alt:""}})])],1)})),0)])])])])])})),1)],1)}),[],!1,null,null,null).exports,l(s({name:"data-operatext",data:function(){return{}},computed:{span:function(){return this.option.span||6},data:function(){return this.option.data||[]}},props:{option:{type:Object,default:function(){}}},created:function(){},methods:{}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"avue-data-operatext"},[e("el-row",{attrs:{span:24}},t._l(t.data,(function(n,i){return e("el-col",{key:i,attrs:{md:t.span,xs:24,sm:12}},[e("div",{staticClass:"item"},[e("a",{attrs:{href:n.href},on:{click:function(t){n.click&&n.click(n)}}},[e("div",{staticClass:"item-header",style:{backgroundColor:n.color,backgroundImage:`url(${n.colorImg})`}},[e("span",{staticClass:"item-title"},[t._v(t._s(n.title))]),t._v(" "),e("span",{staticClass:"item-subtitle"},[t._v(t._s(n.subtitle))])]),t._v(" "),e("div",{staticClass:"item-content"},[e("div",{staticClass:"item-img"},[e("img",{attrs:{src:n.img,alt:""}})]),t._v(" "),e("div",{staticClass:"item-list"},t._l(n.list,(function(n,i){return e("div",{key:i,staticClass:"item-row"},[e("span",{staticClass:"item-label"},[t._v(t._s(n.label))]),t._v(" "),e("span",{staticClass:"item-value"},[t._v(t._s(n.value))])])})),0)])])])])})),1)],1)}),[],!1,null,null,null).exports,l(s({name:"data-rotate",data:function(){return{}},props:{option:{type:Object,default:function(){}}},computed:{animation:function(){return this.option.animation},decimals:function(){return this.option.decimals||0},span:function(){return this.option.span||8},data:function(){return this.option.data||[]}},created:function(){},mounted:function(){},watch:{},methods:{}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"avue-data-rotate"},[e("el-row",{attrs:{span:24}},t._l(t.data,(function(n,i){return e("el-col",{key:i,attrs:{md:t.span,xs:24,sm:12}},[e("div",{staticClass:"item",style:{backgroundColor:n.color}},[e("div",{staticClass:"item-box"},[e("avue-count-up",{staticClass:"item-count",attrs:{decimals:n.decimals||t.decimals,animation:n.animation||t.animation,end:n.count}}),t._v(" "),e("span",{staticClass:"item-title"},[t._v(t._s(n.title))]),t._v(" "),e("i",{staticClass:"item-icon",class:n.icon})],1),t._v(" "),e("a",{attrs:{href:n.href},on:{click:function(t){n.click&&n.click(n)}}},[e("p",{staticClass:"item-more"},[t._v("更多"),e("i",{staticClass:"el-icon-arrow-right"})])])])])})),1)],1)}),[],!1,null,null,null).exports,l(s({name:"data-pay",props:{option:{type:Object,default:function(){}}},computed:{animation:function(){return this.option.animation},decimals:function(){return this.option.decimals||0},span:function(){return this.option.span||6},data:function(){return this.option.data||[]}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:t.b()},[e("el-row",{attrs:{span:24}},t._l(t.data,(function(n,i){return e("el-col",{key:i,attrs:{md:t.span,xs:24,sm:12}},[e("div",{staticClass:"item"},[e("div",{staticClass:"top",style:{backgroundColor:n.color}}),t._v(" "),e("div",{staticClass:"header"},[e("p",{staticClass:"title"},[t._v(t._s(n.title))]),t._v(" "),e("img",{staticClass:"img",attrs:{src:n.src,alt:""}}),t._v(" "),n.subtitle?[e("p",{staticClass:"subtitle",style:{color:n.color}},[t._v(t._s(n.subtitle))])]:t._e(),t._v(" "),n.money||n.dismoney?[e("p",{staticClass:"money",style:{color:n.color}},[e("span",[t._v("¥")]),t._v(" "),e("avue-count-up",{staticClass:"b",attrs:{decimals:n.decimals||t.decimals,animation:n.animation||t.animation,end:n.dismoney}}),t._v(" "),e("s",[t._v(t._s(n.money))]),t._v(" "),e("em",[t._v(t._s(n.tip))])],1)]:t._e(),t._v(" "),e("div",{staticClass:"line"}),t._v(" "),e("a",{staticClass:"btn",style:{backgroundColor:n.color},attrs:{href:n.href},on:{click:function(t){n.click&&n.click(n)}}},[t._v(t._s(n.subtext))])],2),t._v(" "),e("div",{staticClass:"list"},t._l(n.list,(function(i,o){return e("div",{staticClass:"list-item"},[i.check?e("i",{staticClass:"list-item-icon list-item--check",style:{color:n.color}},[t._v("√")]):e("i",{staticClass:"list-item-icon list-item--no"},[t._v("x")]),t._v(" "),e("a",{attrs:{href:i.href?i.href:"javascript:void(0);"}},[e("el-tooltip",{attrs:{effect:"dark",disabled:!i.tip,placement:"top"}},[e("div",{attrs:{slot:"content"},domProps:{innerHTML:t._s(i.tip)},slot:"content"}),t._v(" "),e("span",{class:{"list-item--link":i.href}},[t._v(t._s(i.title))])])],1)])})),0)])])})),1)],1)}),[],!1,null,null,null).exports,l(s({name:"data-price",data:function(){return{}},computed:{span:function(){return this.option.span||6},data:function(){return this.option.data}},props:{option:{type:Object,default:function(){}}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"data-price"},[e("el-row",{attrs:{span:24}},[t._l(t.data,(function(n,i){return[e("el-col",{key:i,attrs:{xs:12,sm:6,md:t.span}},[e("div",{staticClass:"item item--active"},[e("a",{attrs:{href:n.href,target:n.target},on:{click:function(t){n.click&&n.click(n)}}},[e("div",{staticClass:"title"},[t._v("\n "+t._s(n.title)+"\n ")]),t._v(" "),e("div",{staticClass:"body"},[e("span",{staticClass:"price"},[t._v(t._s(n.price))]),t._v(" "),e("span",{staticClass:"append"},[t._v(t._s(n.append))])]),t._v(" "),e("div",{staticClass:"list"},t._l(n.list,(function(n,i){return e("p",{key:i},[t._v("\n "+t._s(n)+"\n ")])})),0)])])])]}))],2)],1)}),[],!1,null,null,null).exports,l(s({name:"data-panel",data:function(){return{}},computed:{decimals:function(){return this.option.decimals||0},animation:function(){return this.option.animation},span:function(){return this.option.span||6},data:function(){return this.option.data||[]}},props:{option:{type:Object,default:function(){}}},created:function(){},methods:{}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"avue-data-panel"},[e("el-row",{attrs:{span:24}},t._l(t.data,(function(n,i){return e("el-col",{key:i,attrs:{md:t.span,xs:24,sm:12}},[e("a",{attrs:{href:n.href},on:{click:function(t){n.click&&n.click(n)}}},[e("div",{staticClass:"item"},[e("div",{staticClass:"item-icon"},[e("i",{class:n.icon,style:{color:n.color}})]),t._v(" "),e("div",{staticClass:"item-info"},[e("div",{staticClass:"item-title"},[t._v(t._s(n.title))]),t._v(" "),e("avue-count-up",{staticClass:"item-count",attrs:{animation:n.animation||t.animation,decimals:n.decimals||t.decimals,end:n.count}})],1)])])])})),1)],1)}),[],!1,null,null,null).exports];function qe(t){return function(t){if(Array.isArray(t))return Ge(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Ge(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ge(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ge(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);nt.length)&&(e=t.length);for(var n=0,i=new Array(e);n0){var l=this.getHeader(s.children,e,n+1,r.length-1);this.pushColSpanPlaceHolder(r,l-1),o+=l}else o++}return o},pushRowSpanPlaceHolder:function(t,e){for(var n=0;n0&&a>r?(n.push({s:{r:i,c:a-r-1},e:{r:i,c:a-1}}),r=0):r=0;for(var s=t[0].length,l=0;l0&&u>c?(n.push({s:{r:u-c-1,c:l},e:{r:u-1,c:l}}),c=0):c=0;return n},aoa_to_sheet:function(t,e){for(var n={},i={s:{c:1e7,r:1e7},e:{c:0,r:0}},o=0;o!==t.length;++o)for(var r=0;r!==t[o].length;++r){i.s.r>o&&(i.s.r=o),i.s.c>r&&(i.s.c=r),i.e.r"},getHtml:function(){for(var t=document.querySelectorAll("input"),e=document.querySelectorAll("textarea"),n=document.querySelectorAll("select"),i=0;i1}},methods:{getName:function(t){return t.substring(t.lastIndexOf("/")+1)},handlePrint:function(){this.$Print("#avue-image-preview__".concat(this.index))},handlePrev:function(){this.$refs.carousel.prev(),this.index=this.$refs.carousel.activeIndex,this.stopItem()},handleNext:function(){this.$refs.carousel.next(),this.index=this.$refs.carousel.activeIndex,this.stopItem()},stopItem:function(){this.left=0,this.top=0,this.$refs.item.forEach((function(t){t.pause&&t.pause()}))},isMediaType:function(t){t.url,t.type;return Object(O.q)(t.url,t.type)},subScale:function(){.2!=this.scale&&(this.scale=parseFloat((this.scale-.2).toFixed(2)))},addScale:function(){this.scale=parseFloat((this.scale+.2).toFixed(2))},handleChange:function(){this.scale=1,this.rotate=0},move:function(t){var e=this,n=t.clientX,i=t.clientY;document.onmousemove=function(t){var o=t.clientX-n,r=t.clientY-i;n=t.clientX,i=t.clientY,e.left=e.left+2*o,e.top=e.top+2*r},document.onmouseup=function(t){document.onmousemove=null,document.onmouseup=null}},handleClick:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];"function"==typeof this.ops.click?this.ops.click(t,e):n&&window.open(t.url)},close:function(){this.isShow=!1,"function"==typeof this.ops.beforeClose&&this.ops.beforeClose(this.datas,this.index),this.$destroy(),this.$el.remove()}}}),(function(){var t=this,e=t._self._c;t._self._setupProxy;return t.isShow?e("div",{class:t.b()},[t.ops.modal?e("div",{class:t.b("mask"),on:{click:t.close}}):t._e(),t._v(" "),e("span",{staticClass:"el-image-viewer__btn el-image-viewer__close",on:{click:t.close}},[e("i",{staticClass:"el-icon-circle-close"})]),t._v(" "),t.isRrrow?e("span",{staticClass:"el-image-viewer__btn el-image-viewer__prev",on:{click:function(e){return t.handlePrev()}}},[e("i",{staticClass:"el-icon-arrow-left"})]):t._e(),t._v(" "),t.isRrrow?e("span",{staticClass:"el-image-viewer__btn el-image-viewer__next",on:{click:function(e){return t.handleNext()}}},[e("i",{staticClass:"el-icon-arrow-right"})]):t._e(),t._v(" "),e("div",{ref:"box",class:t.b("box")},[e("el-carousel",{ref:"carousel",attrs:{"show-indicators":!1,"initial-index":t.index,"initial-swipe":t.index,interval:0,arrow:"never","indicator-position":"none"},on:{change:t.handleChange}},t._l(t.datas,(function(n,i){return e("el-carousel-item",{key:i,nativeOn:{click:function(e){if(e.target!==e.currentTarget)return null;t.ops.closeOnClickModal&&t.close()}}},[t.isMediaType(n)?e(t.isMediaType(n),{ref:"item",refInFor:!0,tag:"component",style:[t.styleName,t.styleBoxName],attrs:{id:"avue-image-preview__"+i,src:n.url,controls:"controls",ondragstart:"return false"},on:{click:function(e){return t.handleClick(n,i)},mousedown:t.move}}):e("div",{class:t.b("file"),attrs:{id:"avue-image-preview__"+i},on:{click:function(e){return t.handleClick(n,i,!0)}}},[e("span",[e("i",{staticClass:"el-icon-document"}),t._v(" "),e("p",[t._v(t._s(n.name||t.getName(n.url)))])])])],1)})),1)],1),t._v(" "),e("div",{staticClass:"el-image-viewer__btn el-image-viewer__actions"},[e("div",{staticClass:"el-image-viewer__actions__inner"},[e("i",{staticClass:"el-icon-zoom-out",on:{click:t.subScale}}),t._v(" "),e("i",{staticClass:"el-icon-zoom-in",on:{click:t.addScale}}),t._v(" "),e("i",{staticClass:"el-image-viewer__actions__divider"}),t._v(" "),e("i",{staticClass:"el-icon-printer",on:{click:t.handlePrint}}),t._v(" "),e("i",{staticClass:"el-image-viewer__actions__divider"}),t._v(" "),e("i",{staticClass:"el-icon-refresh-left",on:{click:function(e){t.rotate=t.rotate-90}}}),t._v(" "),e("i",{staticClass:"el-icon-refresh-right",on:{click:function(e){t.rotate=t.rotate+90}}})])])]):t._e()}),[],!1,null,null,null).exports,pn=l({name:"CropperImage",mixins:[q],components:{VueCropper:n(8).VueCropper},data:function(){return{visible:!1,previews:{},option:{}}},methods:{show:function(){this.visible=!0},changeScale:function(t){t=t||1,this.$refs.cropper.changeScale(t)},rotateLeft:function(){this.$refs.cropper.rotateLeft()},rotateRight:function(){this.$refs.cropper.rotateRight()},realTime:function(t){this.previews=t},submit:function(){var t=this;this.visible=!1,this.$refs.cropper.getCropData((function(e){var n=e;"file"===t.option.type&&(n=Object(O.d)(e,"".concat((new Date).getTime(),".").concat(t.option.outputType))),t.option.callback&&t.option.callback(n)}))},cancel:function(t){t&&t(),this.visible=!1,this.option.cancel&&this.option.cancel(),"function"==typeof this.option.beforeClose&&this.option.beforeClose(),this.$destroy(),this.$el.remove()}}},(function(){var t=this,e=t._self._c;return e("el-dialog",{staticClass:"avue-dialog avue-cropper",attrs:{visible:t.visible,"before-close":t.cancel,"close-on-press-escape":!1,"close-on-click-modal":!1,"modal-append-to-body":t.$AVUE.modalAppendToBody,"append-to-body":t.$AVUE.appendToBody,width:"1000px"},on:{"update:visible":function(e){t.visible=e}}},[e("div",{staticClass:"cropper-content"},[e("div",{staticClass:"cropper-box"},[e("div",{staticClass:"cropper"},[e("vue-cropper",{ref:"cropper",attrs:{img:t.option.img,outputSize:t.option.outputSize,outputType:t.option.outputType,info:t.option.info,canScale:t.option.canScale,autoCrop:t.option.autoCrop,autoCropWidth:t.option.autoCropWidth,autoCropHeight:t.option.autoCropHeight,fixed:t.option.fixed,fixedNumber:t.option.fixedNumber,full:t.option.full,fixedBox:t.option.fixedBox,canMove:t.option.canMove,canMoveBox:t.option.canMoveBox,original:t.option.original,centerBox:t.option.centerBox,height:t.option.height,infoTrue:t.option.infoTrue,maxImgSize:t.option.maxImgSize,enlarge:t.option.enlarge,mode:t.option.mode},on:{realTime:t.realTime}})],1),t._v(" "),e("div",{staticClass:"footer-btn"},[e("el-button",{attrs:{size:"mini",type:"danger",icon:"el-icon-zoom-in"},on:{click:function(e){return t.changeScale(1)}}}),t._v(" "),e("el-button",{attrs:{size:"mini",type:"danger",icon:"el-icon-zoom-out"},on:{click:function(e){return t.changeScale(-1)}}}),t._v(" "),e("el-button",{attrs:{size:"mini",icon:"el-icon-back",type:"danger"},on:{click:t.rotateLeft}}),t._v(" "),e("el-button",{attrs:{size:"mini",type:"danger",icon:"el-icon-right"},on:{click:t.rotateRight}})],1)]),t._v(" "),e("div",{staticClass:"show-preview"},[e("div",{staticClass:"preview",style:t.previews.div},[e("img",{style:t.previews.img,attrs:{src:t.previews.url}})])])]),t._v(" "),e("span",{staticClass:"avue-dialog__footer"},[e("el-button",{attrs:{size:"small",type:"primary"},on:{click:t.submit}},[t._v(t._s(t.t("common.submitBtn")))]),t._v(" "),e("el-button",{attrs:{size:"small"},on:{click:function(e){return t.cancel()}}},[t._v(t._s(t.t("common.cancelBtn")))])],1)])}),[],!1,null,null,null).exports,hn=l({data:function(){return{opt:{},disabled:!1,callback:null,visible:!1,dialog:{closeOnClickModal:!1},isDrawer:!1,option:{submitText:"提交",emptyText:"关闭",submitIcon:"el-icon-check",emptyIcon:"el-icon-close",column:[]},data:{}}},computed:{dialogType:function(){return this.isDrawer?"elDrawer":"elDialog"},menuPosition:function(){return this.opt.menuPosition||"center"}},methods:{submit:function(){this.$refs.form.submit()},reset:function(){this.$refs.form.resetForm()},beforeClose:function(t){t(),this.close()},show:function(t){this.opt=t,this.callback=t.callback;var e=this.deepClone(t);["callback","option","data"].forEach((function(t){return delete e[t]})),this.dialog=Object.assign(this.dialog,e),this.dialog.size=this.dialog.width,this.isDrawer="drawer"===this.dialog.type,this.option=Object.assign(this.option,t.option),this.data=t.data,this.visible=!0},close:function(){var t=this,e=function(){t.visible=!1,t.$destroy(),t.$el.remove()};"function"==typeof this.dialog.beforeClose?this.dialog.beforeClose(e):e()},handleSubmit:function(t,e){this.callback&&this.callback({data:t,close:this.close,done:e})}}},(function(){var t=this,e=t._self._c;return e(t.dialogType,t._b({tag:"component",staticClass:"avue-dialog",attrs:{visible:t.visible,"destroy-on-close":"",beforeClose:t.beforeClose},on:{"update:visible":function(e){t.visible=e}}},"component",t.dialog,!1),[e("avue-form",{ref:"form",attrs:{option:{...t.deepClone(t.option),menuBtn:!1},status:t.disabled},on:{"update:status":function(e){t.disabled=e},submit:t.handleSubmit,"reset-change":t.close},model:{value:t.data,callback:function(e){t.data=e},expression:"data"}}),t._v(" "),t.vaildData(t.option.menuBtn,!0)?e("span",{staticClass:"avue-dialog__footer",class:"avue-dialog__footer--"+t.menuPosition},[t.vaildData(t.option.submitBtn,!0)?e("el-button",{attrs:{size:t.$AVUE.size,icon:t.option.submitIcon,loading:t.disabled,type:"primary"},on:{click:t.submit}},[t._v(t._s(t.option.submitText))]):t._e(),t._v(" "),t.vaildData(t.option.emptyBtn,!0)?e("el-button",{attrs:{disabled:t.disabled,size:t.$AVUE.size,icon:t.option.emptyIcon},on:{click:t.reset}},[t._v(t._s(t.option.emptyText))]):t._e()],1):t._e()],1)}),[],!1,null,null,null).exports,fn=function(){this.$root={}};fn.prototype.initMounted=function(){var t;this.$root=((t=new(window.Vue.extend(hn))).vm=t.$mount(),document.body.appendChild(t.vm.$el),t.dom=t.vm.$el,t.vm)},fn.prototype.show=function(t){this.initMounted(),this.$root.show(t)};var mn={$ImagePreview:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=window.Vue.extend(dn),o={datas:t,index:e,ops:Object.assign({closeOnClickModal:!1,beforeClose:null,click:null,modal:!0},n)},r=new i({data:o});return r.vm=r.$mount(),document.body.appendChild(r.vm.$el),r.vm.isShow=!0,r.dom=r.vm.$el,r.vm},$ImageCropper:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=window.Vue.extend(pn),n=Object.assign({outputSize:1,outputType:"jpeg",info:!0,canScale:!0,autoCrop:!0,fixed:!1,full:!1,fixedBox:!1,canMove:!0,canMoveBox:!0,original:!1,centerBox:!1,height:!0,infoTrue:!1,enlarge:1},t),i=new e({data:{option:n}});return i.vm=i.$mount(),document.body.appendChild(i.vm.$el),i.vm.show(),i.dom=i.vm.$el,i.vm},$DialogForm:new fn,$Export:rn,$Print:ln,$Clipboard:function(t){var e=t.text;return new Promise((function(t,n){var i=document.body,o="rtl"==document.documentElement.getAttribute("dir"),r=document.createElement("textarea");r.style.fontSize="12pt",r.style.border="0",r.style.padding="0",r.style.margin="0",r.style.position="absolute",r.style[o?"right":"left"]="-9999px";var a=window.pageYOffset||document.documentElement.scrollTop;r.style.top="".concat(a,"px"),r.setAttribute("readonly",""),r.value=e,i.appendChild(r),function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var i=window.getSelection(),o=document.createRange();o.selectNodeContents(t),i.removeAllRanges(),i.addRange(o),e=i.toString()}}(r);try{document.execCommand("copy"),t()}catch(t){!1,n()}}))},$Log:w,$NProgress:un,$Screenshot:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(window.html2canvas)return window.html2canvas(t,e);C.logs("Screenshot")},deepClone:O.e,dataURLtoFile:O.d,isJson:O.p,setPx:O.u,vaildData:O.w,findArray:O.i,findNode:O.j,validatenull:T.a,downFile:O.g,loadScript:O.r,watermark:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new be(t)},findObject:O.k,randomId:O.s},vn={dialogDrag:tn,contextmenu:en},bn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"dark"===e.theme&&(document.documentElement.className="avue-theme--dark");var n={size:e.size||"small",calcHeight:e.calcHeight||0,menuType:e.menuType||"text",modalAppendToBody:Object(O.w)(e.modalAppendToBody,!0),appendToBody:Object(O.w)(e.appendToBody,!0),canvas:Object.assign({text:"avuejs.com",fontFamily:"microsoft yahei",color:"#999",fontSize:16,opacity:100,bottom:10,right:10,ratio:1},e.canvas),qiniu:Object.assign({AK:"",SK:"",scope:"",url:"",bucket:"https://upload.qiniup.com",deadline:1},e.qiniu||{}),ali:Object.assign({region:"",endpoint:"",stsToken:"",accessKeyId:"",accessKeySecret:"",bucket:""},e.ali||{})};t.prototype.$AVUE=Object.assign(e,n),Je.forEach((function(e){t.component(e.name,e)})),Object.keys(mn).forEach((function(e){t.prototype[e]=mn[e]})),Object.keys(vn).forEach((function(e){t.directive(e,vn[e])})),X.use(e.locale),X.i18n(e.i18n),t.prototype.$axios=e.axios||window.axios||Ze.a,window.axios=t.prototype.$axios,window.Vue=t,t.prototype.$uploadFun=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;e=e||this;var n=["uploadPreview","uploadBefore","uploadAfter","uploadDelete","uploadError","uploadExceed"],i={};return"upload"===t.type?n.forEach((function(n){t[n]||(i[n]=e[n])})):n.forEach((function(t){i[t]=e[t]})),i}};"undefined"!=typeof window&&window.Vue&&bn(window.Vue);e.default={version:"2.10.10",locale:X,install:bn}}]).default})); \ No newline at end of file diff --git a/public/cdn/avue/2.10.10/index.css b/public/cdn/avue/2.10.10/index.css new file mode 100755 index 0000000..60408fb --- /dev/null +++ b/public/cdn/avue/2.10.10/index.css @@ -0,0 +1 @@ +@charset "UTF-8";.avue-article__body,.avue-comment__body{font-family:Segoe UI,Lucida Grande,Helvetica,Arial,Microsoft YaHei,FreeSans,Arimo,Droid Sans,wenquanyi micro hei,Hiragino Sans GB,Hiragino Sans GB W3,FontAwesome,sans-serif}.avue-affix{position:fixed;z-index:10}.avue-article__title{margin-bottom:15px;font-size:32px;line-height:32px;font-weight:400}.avue-article__meta{display:block;margin-bottom:20px;font-size:12px;color:#999}.avue-article__lead{color:#666;font-size:14px;line-height:22px;border:1px solid #dedede;border-radius:2px;background:#f9f9f9;padding:10px}.avue-article__body{padding-top:10px;background:#fff;color:#333;font-size:14px}.avue-article blockquote{margin:0;font-family:Georgia,Times New Roman,Times,Kai,Kaiti SC,KaiTi,BiauKai,FontAwesome,serif;padding:1px 0 1px 15px;border-left:4px solid #ddd}.avue-avatar{font-size:14px;font-variant:tabular-nums;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;list-style:none;display:inline-block;text-align:center;background:#ccc;color:#fff;white-space:nowrap;position:relative;overflow:hidden;vertical-align:middle;width:32px;height:32px;line-height:32px;border-radius:50%}.avue-avatar__images{width:100%;height:100%}.avue-avatar__icon{font-size:18px}.avue-avatar__string{position:absolute;left:50%;-webkit-transform-origin:0 center;transform-origin:0 center}.avue-avatar--lg{width:40px;height:40px;line-height:40px;border-radius:50%;font-size:24px}.avue-avatar--sm{width:24px;height:24px;line-height:24px;border-radius:50%;font-size:14px}.avue-avatar--square{border-radius:4px}.avue-skeleton__avatar{width:40px;height:40px;line-height:40px;display:inline-block;border-radius:50%;background:#f2f2f2}.avue-skeleton__header{display:table-cell;vertical-align:top;padding-right:16px}.avue-skeleton__content{display:table-cell;vertical-align:top;width:100%}.avue-skeleton__title{margin-top:16px;height:16px;width:40%;background:#f2f2f2}.avue-skeleton__item{padding-top:16px;padding-bottom:16px;border-bottom:1px solid #e8e8e8}.avue-crud--card .el-card__body,.is-always-shadow+.avue-crud__pagination{padding:0}.avue-skeleton__item:last-child{border-bottom:none}.avue-skeleton__li{margin-bottom:10px;height:16px;background:#f2f2f2;list-style:none;width:100%}.avue-skeleton__li:last-child{width:50%}.avue-skeleton__loading{background:-webkit-gradient(linear,left top,right top,color-stop(25%,#f2f2f2),color-stop(37%,#e6e6e6),color-stop(63%,#f2f2f2));background:linear-gradient(90deg,#f2f2f2 25%,#e6e6e6 37%,#f2f2f2 63%);-webkit-animation:avue-skeleton-loading 1.4s ease infinite;animation:avue-skeleton-loading 1.4s ease infinite;background-size:400% 100%}@-webkit-keyframes avue-skeleton-loading{0%{background-position:100% 50%}100%{background-position:0 50%}}@keyframes avue-skeleton-loading{0%{background-position:100% 50%}100%{background-position:0 50%}}.avue-crud{margin:0 auto;width:100%}.avue-crud .el-card+.el-card{margin-top:8px}.avue-crud--card .el-card{border:none}.avue-crud--card .el-card+.el-card{margin-top:0}.avue-crud .el-table .el-form-item{margin-bottom:0;display:inline-block;width:100%}.avue-crud .el-table .el-form-item__label{position:absolute;left:2px}.avue-crud .el-table .el-form-item__content{line-height:inherit;font-size:inherit}.avue-crud .el-table .el-form-item__error{width:100%;text-align:left;position:relative}.avue-crud .el-dropdown+.el-button{margin-left:10px}.avue-crud .el-checkbox:last-of-type{margin-right:0}.avue-crud .el-range-editor--mini{height:28px}.avue-crud__img{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.avue-crud__img>*{height:50px;margin-right:5px;-o-object-fit:contain;object-fit:contain;font-size:50px}.avue-crud__column .el-checkbox{margin-bottom:10px;cursor:move}.avue-crud__menu{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;position:relative;width:100%;min-height:40px;height:auto;overflow:hidden;margin-bottom:5px;background-color:#fff}.avue-crud__search .el-form-item--medium.el-form-item{margin-bottom:22px}.avue-crud__search .el-form-item--mini.el-form-item,.avue-crud__search .el-form-item--small.el-form-item{margin-bottom:14px}.avue-crud .el-table--mini .avue-crud__color{width:20px;height:20px}.avue-crud .el-table--mini .avue-crud__icon{font-size:20px}.avue-crud .el-table--small .avue-crud__color{width:30px;height:30px}.avue-crud .el-table--small .avue-crud__icon{font-size:30px}.avue-crud th{word-break:break-word;color:rgba(0,0,0,.85);background-color:#fafafa}.avue-crud table td{line-height:26px}.avue-crud--indeterminate .is-indeterminate .el-checkbox__inner{background-color:#fff;border-color:#dcdfe6}.avue-crud .el-table th{word-break:break-word;color:rgba(0,0,0,.85);background-color:#fafafa}.avue-crud__color{margin:0 auto;width:40px;height:40px;border-radius:5px;display:block}.avue-crud__icon{font-size:45px}.avue-crud__icon--small{font-size:20px;width:20px;height:20px}.avue-crud__ghost{cursor:move;opacity:.4}.avue-crud__pagination{position:relative;padding:25px 0 20px 20px;text-align:right}.avue-crud__pagination .el-pagination{display:inline-block}.avue-crud__tip,.avue-crud__title{display:-webkit-box;display:-ms-flexbox}.avue-crud__form{padding:0 8px}.avue-crud__empty{padding:20px 0}.avue-crud__empty .el-empty__description{margin-top:0}.avue-crud__header{margin-bottom:10px}.avue-crud__header>.el-button{padding:12px 25px}.avue-crud__title{font-weight:700;margin-bottom:20px;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-size:22px}.avue-crud__tip{margin:0 0 8px;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:12px}.avue-crud__dialog__header,.avue-crud__filter-item{display:-ms-flexbox;-webkit-box-align:center;display:-webkit-box}.avue-crud__tip-name{margin-right:10px}.avue-crud__tip-count{font-size:16px;font-weight:600}.avue-crud__tip .el-button{margin-bottom:0}.avue-crud__filter-item{margin-bottom:12px;display:flex;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.avue-crud__filter-menu{padding:0 5px;margin-bottom:20px}.avue-crud__filter-label{margin:0 5px;width:120px!important}.avue-crud__filter-symbol{margin:0 5px;width:80px!important}.avue-crud__filter-value{margin:0 5px;width:150px!important}.avue-crud__filter-value .el-date-editor.el-input,.avue-crud__filter-value .el-date-editor.el-input__inner{width:100%}.avue-crud__filter-icon{margin-left:10px}.avue-crud__dialog .el-drawer__header .avue-crud__dialog__menu{padding-right:0}.avue-crud__dialog__header{display:flex;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.avue-crud__dialog__menu{padding-right:20px}.avue-crud__dialog__menu i{color:#909399;font-size:15px}.avue-crud__dialog__menu i:hover{color:#409EFF}.avue-crud__dialog .el-dialog__body,.avue-crud__dialog .el-drawer__body{padding:20px 20px 5px 10px}.avue-crud__dialog .el-drawer__close-btn{margin-top:2px;font-size:18px}.avue-crud__dialog .el-scrollbar__wrap{overflow-x:hidden}.avue-crud__dialog .avue-form__menu{padding-top:15px}.avue-card__item{margin-bottom:16px;border:1px solid #e8e8e8;background-color:#fff;-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";cursor:pointer;height:200px}.avue-card__item:hover{border-color:rgba(0,0,0,.09);-webkit-box-shadow:0 2px 8px rgba(0,0,0,.09);box-shadow:0 2px 8px rgba(0,0,0,.09)}.avue-card__item--add{border:1px dashed #d9d9d9;width:100%;color:rgba(0,0,0,.45);background-color:#fff;border-radius:2px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:16px}.avue-card__item--add i{margin-right:10px}.avue-card__item--add:hover{color:#40a9ff;background-color:#fff;border-color:#40a9ff}.avue-card__body{display:-webkit-box;display:-ms-flexbox;display:flex;padding:24px}.avue-card__detail{-webkit-box-flex:1;-ms-flex:1;flex:1}.avue-card__avatar{width:48px;height:48px;border-radius:48px;overflow:hidden;margin-right:12px}.avue-card__avatar img{width:100%;height:100%}.avue-card__title{color:rgba(0,0,0,.85);margin-bottom:12px;font-size:16px}.avue-card__title:hover{color:#1890ff}.avue-card__info,.avue-card__menu{display:-webkit-box;color:rgba(0,0,0,.45)}.avue-card__info{-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;height:64px}.avue-card__menu{display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around;height:50px;background:#f7f9fa;text-align:center;line-height:50px}.avue-card__menu:hover{color:#1890ff}.avue-comment{margin-bottom:30px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.avue-comment--reverse{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.avue-comment--reverse .avue-comment__main:after,.avue-comment--reverse .avue-comment__main:before{left:auto;right:-8px;border-width:8px 0 8px 8px}.avue-comment--reverse .avue-comment__main:before{border-left-color:#dedede}.avue-comment--reverse .avue-comment__main:after{border-left-color:#f8f8f8;margin-right:1px;margin-left:auto}.avue-comment__avatar{width:48px;height:48px;border-radius:50%;border:1px solid transparent;-webkit-box-sizing:border-box;box-sizing:border-box;vertical-align:middle}.avue-comment__header{padding:5px 15px;background:#f8f8f8;border-bottom:1px solid #eee;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.avue-comment__author{font-weight:700;font-size:14px;color:#999}.avue-comment__main{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0 20px;position:relative;border:1px solid #dedede;border-radius:2px}.avue-comment__main:after,.avue-comment__main:before{position:absolute;top:10px;left:-8px;right:100%;width:0;height:0;display:block;content:" ";border-color:transparent;border-style:solid solid outset;border-width:8px 8px 8px 0;pointer-events:none}.avue-comment__main:before{border-right-color:#dedede;z-index:1}.avue-comment__main:after{border-right-color:#f8f8f8;margin-left:1px;z-index:2}.avue-comment__body{padding:15px;overflow:hidden;background:#fff;color:#333;font-size:14px}.avue-comment blockquote{margin:0;font-family:Georgia,Times New Roman,Times,Kai,Kaiti SC,KaiTi,BiauKai,FontAwesome,serif;padding:1px 0 1px 15px;border-left:4px solid #ddd}.avue-chat{-webkit-box-shadow:1px 2px 10px #eee;box-shadow:1px 2px 10px #eee;position:relative;background-color:#fcfcfc}.avue-chat li,.avue-chat ul{padding:0;margin:0}.avue-chat li{list-style:none;cursor:pointer}.avue-chat .web__content{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.avue-chat .web__main{height:calc(100% - 200px);padding:15px 15px 20px;overflow-x:hidden;overflow-y:auto;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-chat .web__logo{background-color:#409eff;display:-webkit-box;display:-ms-flexbox;display:flex;padding:15px 12px;margin:0 auto;vertical-align:middle}.avue-chat .web__logo-img{margin-top:3px;width:35px;height:35px;border-radius:100%;-webkit-box-shadow:0 3px 3px 0 rgba(0,0,0,.1);box-shadow:0 3px 3px 0 rgba(0,0,0,.1)}.avue-chat .web__logo-info{margin-left:10px}.avue-chat .web__logo-name{position:relative;margin-top:5px;font-size:13px}.avue-chat .web__logo-dept{margin-top:1px;font-size:12px}.avue-chat .web__logo-dept,.avue-chat .web__logo-name{color:#fff;margin:0;padding:0;width:175px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.avue-chat .web__main-item{position:relative;font-size:0;margin-bottom:10px;padding-left:60px;min-height:68px}.avue-chat .web__main-text,.avue-chat .web__main-user{display:inline-block;vertical-align:top;font-size:14px}.avue-chat .web__main-user{position:absolute;left:3px}.avue-chat .web__main-user img{width:40px;height:40px;border-radius:100%}.avue-chat .web__main-user cite{position:absolute;left:60px;top:-2px;width:500px;line-height:24px;font-size:12px;white-space:nowrap;color:#999;text-align:left;font-style:normal}.avue-chat .web__main-user cite i{padding-left:15px;font-style:normal}.avue-chat .web__main-text{position:relative;line-height:22px;margin-top:25px;padding:8px 15px;background-color:#f3f3f3;border-radius:3px;border:1px solid #f0f0f0;color:#000;word-break:break-all}.avue-chat .web__main-arrow{top:6px;left:-8px;position:absolute;display:block;width:0;height:0;border-color:transparent #ebeef5 transparent transparent;border-style:solid;border-width:8px 8px 8px 0}.avue-chat .web__main-arrow::after{content:" ";top:-7px;left:1px;position:absolute;display:block;width:0;height:0;border-color:transparent #fff transparent transparent;border-style:solid;border-width:7px 7px 7px 0}.avue-chat .web__main-item--mine .web__main-text .web__main-arrow{left:auto;right:-5px;border-color:transparent transparent transparent #409eff;border-style:solid;border-width:8px 0 8px 8px}.avue-chat .web__main-item--mine .web__main-text .web__main-arrow::after{left:auto;right:-2px;border-color:transparent transparent transparent #409eff;border-style:solid;border-width:7px 0 7px 7px}.avue-chat .web__main-list{margin:10px 0}.avue-chat .web__main-list li{height:30px;color:#409eff;line-height:30px}.avue-chat .web__main-item--mine{text-align:right;padding-left:0;padding-right:60px}.avue-chat .web__main-item--mine .web__main-user{left:auto;right:3px}.avue-chat .web__main-item--mine .web__main-user cite{left:auto;right:60px;text-align:right}.avue-chat .web__main-item--mine .web__main-user cite i{padding-left:0;padding-right:15px}.avue-chat .web__main-item--mine .web__main-text{margin-left:0;text-align:left;background-color:#409eff;color:#fff}.avue-chat .web__footer{-webkit-box-shadow:0 -1px 0 0 rgba(0,0,0,.04),0 -2px 0 0 rgba(0,0,0,.01);box-shadow:0 -1px 0 0 rgba(0,0,0,.04),0 -2px 0 0 rgba(0,0,0,.01);position:absolute;left:0;bottom:0;width:100%;background-color:#fff}.avue-chat .web__msg{padding:10px;height:auto;overflow:hidden}.avue-chat .web__msg--file,.avue-chat .web__msg--img,.avue-chat .web__msg--video{position:relative;max-width:250px;min-width:200px;width:100%;margin:10px 0;border:1px solid #eee;overflow:hidden;border-radius:5px;cursor:pointer;display:block}.avue-chat .web__msg--file span,.avue-img--center{display:-webkit-box;display:-ms-flexbox;-webkit-box-align:center}.avue-chat .web__msg--file{height:140px;background-color:#fff}.avue-chat .web__msg--file span{-webkit-box-sizing:border-box;box-sizing:border-box;padding:3px 5px;color:#333;display:flex;-ms-flex-align:center;align-items:center;width:100%;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:calc(100% - 80px);overflow:hidden;font-size:13px;text-align:center}.avue-chat .web__msg--file h2{margin:0;width:100%;text-align:center;line-height:80px;background-color:#409EFF;color:#fff}.avue-chat .web__msg--map{height:160px}.avue-chat .web__msg-input{display:block;width:100%;height:60px;overflow-x:hidden;overflow-y:auto;-webkit-box-sizing:border-box;box-sizing:border-box;resize:none;outline:0;background-color:#fff;border:0;word-break:break-all;font-size:13px;line-height:17px;-webkit-appearance:none}.avue-chat .web__tools,.avue-form,.avue-form__menu{-webkit-box-sizing:border-box}.avue-chat .web__msg-submit{float:right;display:block;outline:0;cursor:pointer;text-align:center}.avue-chat .web__tools{padding:8px 10px 0;box-sizing:border-box}.avue-chat .web__tools i{margin-right:12px;font-size:20px;color:#888a91}.avue-chat .web__tools i:hover{color:#76b1f9}.avue-draggable{padding:10px;position:absolute;cursor:move;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.avue-draggable__focus{opacity:0;position:absolute!important;top:0;left:0;z-index:-1024}.avue-draggable__mask{width:100%;height:100%;border:0;position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.avue-draggable--active{cursor:move;border:1px dashed #09f;background-color:rgba(115,170,229,.5)}.avue-draggable--move{opacity:.6;background-color:rgba(115,170,229,.5)}.avue-draggable--click{cursor:pointer}.avue-draggable__line--left{position:absolute;border-top:1px dashed #09f;width:10000px;height:0;top:0;-webkit-transform:translateX(-100%);transform:translateX(-100%)}.avue-draggable__line--top{position:absolute;border-left:1px dashed #09f;width:0;height:10000px;left:0;-webkit-transform:translateY(-100%);transform:translateY(-100%)}.avue-draggable__line--label{top:-5px;left:-8px;position:absolute;padding:5px;-webkit-transform:translate(-100%,-100%);transform:translate(-100%,-100%);color:#09f;font-size:18px;white-space:nowrap;cursor:move}.avue-draggable__menu,.avue-image-preview .el-image-viewer__close i,.avue-image-preview__file a{color:#fff}.avue-draggable__menu{position:absolute;top:0;left:0;background-color:#409EFF;font-size:25px;z-index:9999;cursor:pointer}.avue-draggable__range{position:absolute;width:10px;height:10px;border-radius:100%;z-index:9999;background-color:#09f}.avue-draggable__range--left,.avue-draggable__range--right{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.avue-draggable__range--left:hover,.avue-draggable__range--right:hover{cursor:ew-resize}.avue-draggable__range--left{left:-6px}.avue-draggable__range--right{right:-6px}.avue-draggable__range--bottom,.avue-draggable__range--top{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.avue-draggable__range--bottom:hover,.avue-draggable__range--top:hover{cursor:ns-resize}.avue-draggable__range--top{top:-6px}.avue-draggable__range--bottom{bottom:-6px}.avue-draggable__range--bottom-right:hover,.avue-draggable__range--top-left:hover{cursor:nwse-resize}.avue-draggable__range--bottom-left:hover,.avue-draggable__range--top-right:hover{cursor:nesw-resize}.avue-draggable__range--top-right{top:-6px;right:-6px}.avue-draggable__range--top-left{top:-6px;left:-6px}.avue-draggable__range--bottom-right{bottom:-6px;right:-6px}.avue-draggable__range--bottom-left{bottom:-6px;left:-6px}.avue-img--center{display:flex;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.avue-img--fullscreen .el-dialog__body{height:100%}.avue-image-preview{position:fixed;top:0;left:0;width:100%;height:100%;-webkit-transition:all .5s;transition:all .5s;z-index:9998}.avue-image-preview .el-image-viewer__btn{z-index:1024}.avue-image-preview img{-webkit-transition:all .5s;transition:all .5s;cursor:pointer}.avue-image-preview__file{text-align:center}.avue-image-preview__file i{cursor:pointer;font-size:80px}.avue-image-preview__mask{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5)}.avue-image-preview__box{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.avue-image-preview__box .el-carousel{width:90%;height:100%}.avue-image-preview__box .el-carousel__container{height:100%}.avue-image-preview__box .el-carousel__item{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.avue-cropper .cropper-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.avue-cropper .cropper-content .cropper-box{-webkit-box-flex:1;-ms-flex:1;flex:1;width:100%}.avue-cropper .cropper-content .cropper-box .cropper{width:auto;height:300px}.avue-cropper .cropper-content .show-preview{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.avue-cropper .cropper-content .show-preview .preview{overflow:hidden;border:1px solid #67c23a;background:#ccc}.avue-cropper .cropper-content .footer-btn{margin-top:30px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding-right:10px}.avue-input-tree .el-tag__close{display:none!important}.avue-input-tree__item{width:100%}.avue-input-tree__filter{padding:0 10px;margin:5px 0 0}.avue-input-tree__select{padding:10px 0}.avue-input-tree__desc{margin-right:12px;float:right;color:#8492a6;font-size:13px}.avue-input-table__crud .avue-crud__pagination{padding:10px 0 2px 10px;margin:0}.amap-icon img,.amap-marker-content img{width:25px;height:34px}.avue-input-map__marker{position:absolute;top:-20px;right:-118px;color:#fff;padding:4px 10px;-webkit-box-shadow:1px 1px 1px rgba(10,10,10,.2);box-shadow:1px 1px 1px rgba(10,10,10,.2);white-space:nowrap;font-size:12px;font-family:"";background-color:#25a5f7;border-radius:3px}.avue-input-map__content-input{margin-bottom:10px}.avue-input-map__content-box{position:relative}.avue-input-map__content-container{width:100%;height:450px}.avue-input-map__content-result{display:block!important;position:absolute;top:0;right:-8px;width:250px;height:450px;overflow-y:auto}.avue-input-icon{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:distribute;justify-content:space-around}.avue-input-icon__item{text-align:center;width:60px;padding:10px 20px 0;-webkit-transition:all .2s;transition:all .2s}.avue-input-icon__item p{font-size:12px;margin-top:5px}.avue-input-icon__item:hover{-webkit-transform:scale(1.4);transform:scale(1.4)}.avue-input-icon__item--active{-webkit-transform:scale(1.4);transform:scale(1.4);color:#409EFF}.avue-input-icon__list{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.avue-input-icon__filter{text-align:right}.avue-input-icon__filter .el-input{width:250px}.avue-upload--upload .el-upload,.avue-upload--upload .el-upload__tip{display:none}.avue-upload--upload .el-upload--picture-img{display:inline-block}.avue-upload--upload .el-upload-list{margin-top:-6px}.avue-upload--list .el-upload{background-color:#fbfdff;border:1px dashed #c0ccda;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}.avue-upload--list .el-upload:hover{border-color:#409eff}.avue-upload__dialog .el-dialog__header{display:none}.avue-upload__dialog .el-dialog__body{padding:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.avue-upload__menu{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.5);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;z-index:1024}.avue-form,.avue-form__group .el-col{position:relative}.avue-upload__menu i{color:#fff;margin:0 8px;font-size:20px}.avue-upload__avatar{font-size:28px;color:#8c939d;width:148px;height:148px;line-height:148px;text-align:center;display:block}.avue-form{margin:0 auto;box-sizing:border-box}.avue-form__item--top{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.avue-form__item--top .el-form-item__label{width:100%!important;text-align:left!important}.avue-form__item--top .el-form-item__content{margin-left:0!important}.avue-form__item--left .el-form-item__label{text-align:left!important}.avue-form__menu{padding:5px 10px 0;box-sizing:border-box}.avue-form__menu--center{text-align:center}.avue-form__menu--center .el-button{margin:0 5px}.avue-form__menu--left{text-align:left}.avue-form__menu--right{text-align:right}.avue-form__tabs{padding:0 10px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-form__group{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap;height:auto}.avue-form__group--flex{display:-webkit-box;display:-ms-flexbox;display:flex}.avue-form__line{display:inline-block;height:100%}.avue-form__row--block{width:100%;display:block}.avue-flow__node,.avue-flow__node-body{display:-webkit-box;display:-ms-flexbox}.avue-form__row--cursor{cursor:pointer}.avue-form__option{position:absolute;right:0;top:-10px;z-index:999}.avue-flow,.avue-flow__node,.avue-tree{position:relative}.avue-form__option i{color:#666}.avue-form__option i+i{margin-left:10px}.avue-flow .avue-draggable{padding:0}.avue-flow__node{display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:200px;height:80px;border-radius:5px;-webkit-box-shadow:"#66a6e0 0px 0px 12px 0px";box-shadow:"#66a6e0 0px 0px 12px 0px";border:1px solid #eee;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.avue-flow__node--active{border-width:2px;border-color:#f56c6c}.avue-flow__node-drag{margin:0 5px;display:inline-block}.avue-checkbox .el-checkbox+.el-checkbox,.avue-crud .avue-crud__left .el-button+.el-button,.avue-crud .avue-crud__right .el-button+.el-button,.avue-form .avue-crud__left .el-button+.el-button,.avue-form .avue-crud__right .el-button+.el-button,.avue-radio .el-radio+.el-radio{margin-left:0}.avue-checkbox .el-checkbox,.avue-radio .el-radio{margin-right:10px}.avue-flow__node-header{-webkit-box-flex:1;-ms-flex:1;flex:1;background-color:#66a6e0}.avue-flow__node-body{display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-flex:1.5;-ms-flex:1.5;flex:1.5;text-align:center;background:#fff}.avue-date__group{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.avue-date__radio .el-radio-button:last-child .el-radio-button__inner{border-radius:0;border-right:0}.avue-date__date{width:300px}.avue-date__date .el-date-editor{border-top-left-radius:0;border-bottom-left-radius:0}.avue-select .sortable-ghost{opacity:.8;color:#fff!important;background:#409EFF!important}.avue-select .el-tag{cursor:pointer}.avue-select__desc{float:right;color:#8492a6;font-size:13px}.el-select-dropdown .avue-select__check{-webkit-box-sizing:border-box;box-sizing:border-box;text-align:right;width:100%;padding:3px 20px 3px 0}.avue-group{width:100%}.avue-group .el-collapse,.avue-group .el-collapse-item__wrap{border-color:#fff}.avue-group .el-collapse-item__header{height:inherit;border:none;border-bottom:1px solid #eee;margin-bottom:20px}.avue-group .el-collapse-item__content,.avue-group .van-collapse-item__content{padding-bottom:0}.avue-group .van-collapse-item__content{padding:0 2px}.avue-group .van-hairline--top-bottom::after,.avue-group .van-hairline-unset--top-bottom::after,.avue-group--arrow .el-collapse-item__arrow,.avue-group--arrow .van-icon-arrow{display:none}.avue-group .van-collapse-item__title{padding:0 10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.avue-group .van-collapse-item__title::after{left:0!important}.avue-group--none{margin:0!important;border:none!important}.avue-group--header .el-collapse-item__header,.avue-group--header .van-collapse-item__title{display:none}.avue-group--collapse .el-collapse-item__arrow,.avue-group--collapse .el-collapse-item__header{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.avue-group__header,.avue-tree__filter{display:-webkit-box;display:-ms-flexbox}.avue-group__item{margin-bottom:10px;background-color:#fff;border-bottom:1px solid #eee;border-radius:5px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-group__item:last-child{border-bottom:none}.avue-group__header{width:100%;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:50px;line-height:50px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-group__icon{margin-right:8px;font-size:20px;color:rgba(0,0,0,.85)}.avue-group__title{font-size:16px;font-weight:500;color:rgba(0,0,0,.85)}.avue-tree{height:100%}.avue-tree__menu{width:200px;position:fixed;z-index:1024;-ms-flex-wrap:wrap;flex-wrap:wrap;background-color:#fff}.avue-tree__item,.avue-video{position:relative;overflow:hidden}.avue-tree__dialog .el-dialog__body{padding:30px 20px 0}.avue-tree__item{height:34px;line-height:34px;outline:0;padding:0 10px;white-space:nowrap;text-overflow:ellipsis;width:100%;color:#666}.avue-tree__item:hover{cursor:pointer;color:#409eff}.avue-tree__filter{margin-bottom:5px;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.avue-tree__content{padding:5px 0;height:calc(100% - 32px)}.avue-title p{font-weight:700;font-size:18px;margin:5px 10px}.avue-sign{padding:5px}.avue-sign__canvas{border:1px solid #ccc}.avue-search{padding:0 20px}.avue-search__item{padding:20px 0 10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;border-bottom:1px dashed #e8e8e8}.avue-search__item:last-child{border-bottom:none}.avue-search__tags{padding:0 12px;margin-right:24px;margin-bottom:12px;font-size:14px;color:rgba(0,0,0,.65);cursor:pointer;white-space:nowrap;display:inline-block}.avue-search__tags:hover{color:#1890ff}.avue-search__tags--active{color:#fff;background-color:#1890ff;border-radius:5px}.avue-search__tags--active:hover{opacity:.85;color:#fff}.avue-search__title{margin:0;padding:0 20px;width:120px;font-size:14px;text-align:right;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-search__content{width:calc(100% - 190px);display:inline-block}.avue-search__content .el-tag{margin-right:10px;margin-bottom:10px}.avue-video{width:500px}.avue-video__border span{position:absolute;width:30px;height:30px;border-width:4px;color:#0073eb;border-style:solid}.avue-video__border span:nth-child(1){left:15px;top:15px;border-right:0;border-bottom:0}.avue-video__border span:nth-child(2){right:15px;top:15px;border-left:0;border-bottom:0}.avue-video__border span:nth-child(3){bottom:15px;left:15px;border-right:0;border-top:0}.avue-video__border span:nth-child(4){bottom:15px;right:15px;border-left:0;border-top:0}.avue-video__img{width:100px;position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.avue-video__main{width:100%}.avue-dynamic__item{margin-bottom:10px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.avue-dynamic__header{padding-left:40px}.avue-dynamic__row{position:relative;border-top:1px dashed #eee;padding-top:13px}.avue-dynamic__row:first-child{border-top:0}.avue-dynamic__menu{position:absolute;right:0;z-index:1024}.avue-dynamic__input{margin-right:8px;width:100%}.avue-dynamic__button{margin-bottom:0!important}.avue-rate{margin-top:6px}.avue-verify__item{padding:5px 10px;display:inline-block;margin:0 4px;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #e1e1e1;font-size:64px;text-align:center}.avue-text-ellipsis__more{padding:0 2px}.avue-login .el-form-item{margin-bottom:18px}.avue-login .el-input-group__append{padding:0;overflow:hidden}.avue-login__send{min-width:150px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-login__send:hover{color:#C0C4CC!important;border-color:#EBEEF5!important;background-color:#F5F7FA!important}.avue-login__submit{width:100%}.avue-keyboard--default .akeyboard-keyboard{height:100%;width:100%;background:#f0f0f0;border-radius:5px;padding:9px 5px 5px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-keyboard--default .akeyboard-keyboard-innerKeys{text-align:center}.avue-keyboard--default .akeyboard-keyboard-keys{height:40px;min-width:40px;padding:0 10px;border-radius:5px;background:#fff;display:inline-block;line-height:40px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;margin:4px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.avue-keyboard--default .akeyboard-keyboard-keys:hover,.avue-keyboard--default .keyboard-keyboard-keys-focus{background:#1e9fff;color:#fff}.avue-keyboard--default .akeyboard-keyboard-keys-Delete,.avue-keyboard--default .akeyboard-keyboard-keys-Tab{width:80px}.avue-keyboard--default .akeyboard-keyboard-keys-Caps{width:77px}.avue-keyboard--default .akeyboard-keyboard-keys-Enter{width:90px}.avue-keyboard--default .akeyboard-keyboard-keys-Shift{width:106px}.avue-keyboard--default .akeyboard-keyboard-keys-Space{width:350px}.avue-keyboard--default .akeyboard-keyboard-fixedBottomCenter{width:100%!important;height:auto!important;position:fixed;bottom:0;left:0;border-radius:0!important}.avue-keyboard--default .akeyboard-numberKeyboard{height:100%;width:100%;background:#f0f0f0;border-radius:5px;padding:10px 5px 5px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-keyboard--default .akeyboard-numberKeyboard-keys-Enter{height:40px;width:100px}.avue-keyboard--default .akeyboard-mobileKeyboard{height:100%;width:100%;background:#f0f0f0;border-radius:5px;padding:11px 5px 5px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-keyboard--default .akeyboard-mobileKeyboard-keys,.avue-keyboard--green .akeyboard-keyboard-keys{padding:0 10px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;text-align:center;cursor:pointer}.avue-keyboard--default .akeyboard-mobileKeyboard-keys{height:25px;min-width:25px;border-radius:3px;background:#fff;display:inline-block;line-height:25px;-webkit-box-sizing:border-box;box-sizing:border-box;margin:3px 2px 2px;user-select:none;font-size:10px}.avue-keyboard--default .akeyboard-mobileKeyboard-keys:hover{background:#1e9fff!important;color:#fff}.avue-keyboard--default .akeyboard-mobileKeyboard-keys-⇦,.avue-keyboard--default .akeyboard-mobileKeyboard-keys-⇧{width:25px;background-color:#999faf}.avue-keyboard--default .akeyboard-mobileKeyboard-keys-Space{height:28px;width:100px;line-height:28px;margin-left:55px}.avue-keyboard--default .akeyboard-mobileKeyboard-keys-Enter{height:28px;width:55px;line-height:28px;background:#1e9fff!important;color:#fff}.avue-keyboard--default .akeyboard-mobileKeyboard-keys-focus{background:#1e9fff!important;color:#fff}.avue-keyboard--green .akeyboard-keyboard{height:100%;width:100%;background:#030;border-radius:5px;padding:9px 5px 5px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-keyboard--green .akeyboard-keyboard-innerKeys{text-align:center}.avue-keyboard--green .akeyboard-keyboard-keys{height:40px;min-width:40px;border-radius:5px;background:#cc9;display:inline-block;line-height:40px;-webkit-box-sizing:border-box;box-sizing:border-box;margin:4px;user-select:none}.avue-keyboard--green .akeyboard-keyboard-keys:hover,.avue-keyboard--green .keyboard-keyboard-keys-focus{background:#693;color:#fff}.avue-keyboard--green .akeyboard-keyboard-keys-Delete,.avue-keyboard--green .akeyboard-keyboard-keys-Tab{width:80px}.avue-keyboard--green .akeyboard-keyboard-keys-Caps{width:77px}.avue-keyboard--green .akeyboard-keyboard-keys-Enter{width:90px}.avue-keyboard--green .akeyboard-keyboard-keys-Shift{width:106px}.avue-keyboard--green .akeyboard-keyboard-keys-Space{width:350px}.avue-keyboard--green .akeyboard-keyboard-fixedBottomCenter{width:100%!important;height:auto!important;position:fixed;bottom:0;left:0;border-radius:0!important}.avue-keyboard--green .akeyboard-numberKeyboard{height:100%;width:100%;background:#030;border-radius:5px;padding:10px 5px 5px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-keyboard--green .akeyboard-numberKeyboard-keys-Enter{height:40px;width:100px}.avue-keyboard--green .akeyboard-mobileKeyboard{height:100%;width:100%;background:#030;border-radius:5px;padding:11px 5px 5px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-keyboard--green .akeyboard-mobileKeyboard-keys{height:25px;min-width:25px;padding:0 10px;border-radius:3px;background:#cc9;display:inline-block;line-height:25px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;margin:3px 2px 2px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:10px}.avue-keyboard--green .akeyboard-mobileKeyboard-keys:hover{background:#693!important;color:#fff}.avue-keyboard--green .akeyboard-mobileKeyboard-keys-⇦,.avue-keyboard--green .akeyboard-mobileKeyboard-keys-⇧{width:25px;background-color:#999faf}.avue-keyboard--green .akeyboard-mobileKeyboard-keys-Space{height:28px;width:100px;line-height:28px;margin-left:55px}.avue-keyboard--green .akeyboard-mobileKeyboard-keys-Enter{height:28px;width:55px;line-height:28px;background:#693!important;color:#fff}.avue-keyboard--green .akeyboard-mobileKeyboard-keys-focus{background:#693!important;color:#fff}.avue-keyboard--dark .akeyboard-keyboard{height:100%;width:100%;background:#000;color:#fff;border-radius:5px;padding:9px 5px 5px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-keyboard--dark .akeyboard-keyboard-innerKeys{text-align:center}.avue-keyboard--dark .akeyboard-keyboard-keys{height:40px;min-width:40px;padding:0 10px;border-radius:5px;background:#393d49;color:#fff;display:inline-block;line-height:40px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;margin:4px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.avue-keyboard--dark .akeyboard-keyboard-keys:hover,.avue-keyboard--dark .keyboard-keyboard-keys-focus{background:#1e9fff}.avue-keyboard--dark .akeyboard-keyboard-keys-Delete,.avue-keyboard--dark .akeyboard-keyboard-keys-Tab{width:80px}.avue-keyboard--dark .akeyboard-keyboard-keys-Caps{width:77px}.avue-keyboard--dark .akeyboard-keyboard-keys-Enter{width:90px}.avue-keyboard--dark .akeyboard-keyboard-keys-Shift{width:106px}.avue-keyboard--dark .akeyboard-keyboard-keys-Space{width:350px}.avue-keyboard--dark .akeyboard-keyboard-fixedBottomCenter{width:100%!important;height:auto!important;position:fixed;bottom:0;left:0;border-radius:0!important}.avue-keyboard--dark .akeyboard-numberKeyboard{height:100%;width:100%;background:#000;border-radius:5px;padding:10px 5px 5px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-keyboard--dark .akeyboard-numberKeyboard-keys-Enter{height:40px;width:100px}.avue-keyboard--dark .akeyboard-mobileKeyboard{height:100%;width:100%;background:#000;border-radius:5px;padding:11px 5px 5px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-keyboard--dark .akeyboard-mobileKeyboard-keys{height:25px;min-width:25px;padding:0 10px;border-radius:3px;background:#393d49;color:#fff;display:inline-block;line-height:25px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;margin:3px 2px 2px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:10px}.avue-keyboard--dark .akeyboard-mobileKeyboard-keys:hover{background:#1e9fff!important;color:#fff}.avue-keyboard--dark .akeyboard-mobileKeyboard-keys-⇦,.avue-keyboard--dark .akeyboard-mobileKeyboard-keys-⇧{width:25px;background-color:#999faf}.avue-keyboard--dark .akeyboard-mobileKeyboard-keys-Space{height:28px;width:100px;line-height:28px;margin-left:55px}.avue-keyboard--dark .akeyboard-mobileKeyboard-keys-Enter{height:28px;width:55px;line-height:28px;background:#1e9fff!important;color:#fff}.avue-keyboard--dark .akeyboard-mobileKeyboard-keys-focus{background:#1e9fff!important;color:#fff}.avue-keyboard--classic .akeyboard-keyboard{height:100%;width:100%;background:#2f4056;border-radius:5px;padding:9px 5px 5px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-keyboard--classic .akeyboard-keyboard-innerKeys{text-align:center}.avue-keyboard--classic .akeyboard-keyboard-keys{height:40px;min-width:40px;padding:0 10px;border-radius:5px;background:#fff;display:inline-block;line-height:40px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;margin:4px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.avue-keyboard--classic .akeyboard-keyboard-keys:hover,.avue-keyboard--classic .keyboard-keyboard-keys-focus{background:#c2c2c2;color:#fff}.avue-keyboard--classic .akeyboard-keyboard-keys-Delete,.avue-keyboard--classic .akeyboard-keyboard-keys-Tab{width:80px}.avue-keyboard--classic .akeyboard-keyboard-keys-Caps{width:77px}.avue-keyboard--classic .akeyboard-keyboard-keys-Enter{width:90px}.avue-keyboard--classic .akeyboard-keyboard-keys-Shift{width:106px}.avue-keyboard--classic .akeyboard-keyboard-keys-Space{width:350px}.avue-keyboard--classic .akeyboard-keyboard-fixedBottomCenter{width:100%!important;height:auto!important;position:fixed;bottom:0;left:0;border-radius:0!important}.avue-keyboard--classic .akeyboard-numberKeyboard{height:100%;width:100%;background:#2f4056;border-radius:5px;padding:10px 5px 5px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-keyboard--classic .akeyboard-numberKeyboard-keys-Enter{height:40px;width:100px}.avue-keyboard--classic .akeyboard-mobileKeyboard{height:100%;width:100%;background:#2f4056;border-radius:5px;padding:11px 5px 5px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-keyboard--classic .akeyboard-mobileKeyboard-keys{height:25px;min-width:25px;padding:0 10px;border-radius:3px;background:#fff;display:inline-block;line-height:25px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;margin:3px 2px 2px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:10px}.avue-data-operatext .item,.avue-data-operatext .item-row,.avue-data-tabs .item,.data-box .item,.data-card .item-text{-webkit-box-sizing:border-box}.avue-keyboard--classic .akeyboard-mobileKeyboard-keys:hover{background:#c2c2c2!important;color:#fff}.avue-keyboard--classic .akeyboard-mobileKeyboard-keys-⇦,.avue-keyboard--classic .akeyboard-mobileKeyboard-keys-⇧{width:25px;background-color:#999faf}.avue-keyboard--classic .akeyboard-mobileKeyboard-keys-Space{height:28px;width:100px;line-height:28px;margin-left:55px}.avue-keyboard--classic .akeyboard-mobileKeyboard-keys-Enter{height:28px;width:55px;line-height:28px;background:#c2c2c2!important;color:#fff}.avue-keyboard--classic .akeyboard-mobileKeyboard-keys-focus{background:#c2c2c2!important;color:#fff}.avue-notice__item{padding:12px 24px;border-bottom:1px solid #e8eaec;cursor:pointer;-webkit-transition:background-color .2s ease-in-out;transition:background-color .2s ease-in-out;text-align:left;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.avue-notice__content{-webkit-box-flex:1;-ms-flex:1;flex:1}.avue-notice__img{width:38px;height:38px;border-radius:100%;margin-top:5px;margin-right:10px;overflow:hidden}.avue-notice__img img{width:100%;height:100%}.avue-notice__name{line-height:25px}.avue-notice__title{font-size:14px;font-weight:400;line-height:22px;color:#515a6e;margin-bottom:4px}.avue-notice__tag{float:right;margin-top:2px}.avue-notice__subtitle{font-size:12px;color:#808695}.avue-notice__more{cursor:pointer;color:#2d8cf0;text-align:center;padding:10px 0}.avue-array__item{margin-bottom:5px}.avue-array__input{display:-webkit-box;display:-ms-flexbox;display:flex}.avue-array__input .el-input{-webkit-box-flex:1;-ms-flex:auto;flex:auto}.avue-array__input .el-button{margin-left:5px}.avue-data-tabs .item{position:relative;margin:15px;padding:12px;height:160px;border-radius:4px;box-sizing:border-box;overflow:hidden;color:#fff}.avue-data-tabs .item a{color:#fff}.avue-data-tabs .item-header{position:relative}.avue-data-tabs .item-header>p{color:#fff;margin:0;font-size:14px}.avue-data-tabs .item-header>span{position:absolute;right:0;top:0;padding:2px 8px;border-radius:4px;font-size:12px;background:rgba(255,255,255,.3)}.avue-data-tabs .item-body .h2{color:#fff;margin:0;font-size:32px;line-height:60px;font-weight:700}.avue-data-tabs .item-footer{padding-top:8px;line-height:20px}.avue-data-tabs .item-footer>span{font-size:10px}.avue-data-tabs .item-footer>p{color:#fff;margin:0;font-size:12px}.avue-data-tabs .item-tip{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:absolute;width:80px;height:80px;bottom:10px;right:10px;border:2px solid #fff;border-radius:100%;font-size:48px;-webkit-transform:rotate(-40deg);transform:rotate(-40deg);opacity:.1}.avue-data-cardText .item{padding:20px 25px;margin:10px 20px;background:#F8F8F8;border-radius:6px;-webkit-box-shadow:2px 2px 20px #ccc;box-shadow:2px 2px 20px #ccc}.data-box .item,.data-card .item{border-radius:5px;position:relative}.avue-data-cardText .item-header{color:#000;font-weight:700}.avue-data-cardText .item-content{margin-top:8PX;font-size:14px;line-height:22px;color:#333}.avue-data-cardText .item-footer{margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-size:12px;color:#999}.data-box .item{margin:0 auto 10px;width:96%;height:100px;overflow:hidden;box-sizing:border-box}.data-box .item:hover .item-text{top:0}.data-box .item a{display:-webkit-box;display:-ms-flexbox;display:flex}.data-box .item-icon{width:100px;height:100px;color:#fff;text-align:center;line-height:100px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;display:-webkit-box;display:-ms-flexbox;display:flex}.data-box .item-icon i{font-size:48px!important}.data-box .item-info{border-radius:0 5px 5px 0;border:1px solid #eee;border-left:none;background-color:#fff;-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.data-box .item-info .title{font-size:30px;line-height:40px;text-align:center}.data-box .item-info .info{color:#999;font-size:14px;text-align:center}.data-progress .item{margin:10px}.data-progress .item-header{margin-bottom:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.data-progress .item-count{line-height:26px;font-size:26px;color:#666}.data-progress .item-title{color:#999;font-size:14px}.data-icons .item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:90%;margin:10px 15px}.data-icons .item-icon{margin-top:3px;margin-right:0!important;text-align:center}.data-icons .item-icon>i{font-size:46px!important}.data-icons .item-info{text-align:center;padding:10px 0}.data-icons .item-info>span{display:block;padding:5px 0;color:#999;font-size:12px}.data-icons .item-info .count{font-size:20px;line-height:25px}.data-icons .item--easy{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.data-icons .item--easy>.item-icon{margin:0}.data-icons .item--easy>.item-info{margin-top:-15px}.data-icons .item--easy>.item-info>span{font-size:14px}.data-card .item{margin:0 auto 50px;width:230px;height:340px;overflow:hidden;border-color:#fff;border-width:1px;border-style:solid}.data-card .item:hover .item-text{top:0}.data-card .item-img{width:100%;border-radius:5px 5px 0 0}.data-card .item-text{position:absolute;top:150px;padding:20px 15px;width:100%;height:340px;overflow:auto;box-sizing:border-box;border-radius:0 0 5px 5px;opacity:.9;-webkit-transition:top .4s;transition:top .4s}.data-card .item-text>p{font-size:12px;line-height:25px;text-indent:2em}.avue-data-display .item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin:5px 0;text-align:center}.avue-data-display .count{display:block;margin:8px 0 15px;font-weight:700;font-size:32px;color:#15A0FF}.avue-data-display .title{line-height:32px;color:#999}.avue-data-display .splitLine{display:block;margin:0 auto;width:24px;height:1px;background:#9B9B9B}.avue-data-imgtext .item{position:relative;height:340px;width:240px;margin:10px auto 50px;border-radius:5px;-webkit-box-shadow:2px 2px 20px #ccc;box-shadow:2px 2px 20px #ccc}.avue-data-imgtext .item-header img{width:100%;height:170px;background:red;border-radius:5px 5px 0 0}.avue-data-imgtext .item-content{padding:10px 15px;color:#333!important}.avue-data-imgtext .item-content span{font-size:20px}.avue-data-imgtext .item-content:hover span{color:#1890ff}.avue-data-imgtext .item-content p{font-size:14px;height:60px;margin:6px 0;overflow:hidden}.avue-data-imgtext .item-footer{padding:10px 15px;position:relative}.avue-data-imgtext .item-footer img{height:20px;width:20px;border-radius:50%}.avue-data-imgtext .item-footer div{display:inline-block}.avue-data-imgtext .item-footer div li,.avue-data-imgtext .item-footer div ul{padding:0;margin:0 0 0 -8px;list-style:none;display:inline-block;border:2px solid #fff;border-radius:50%}.avue-data-imgtext .item-footer div:nth-child(1){font-size:14px;color:#ccc!important}.avue-data-imgtext .item-footer div:nth-child(2){position:absolute;right:15px}.avue-data-operatext .item{margin:5px 10px;box-sizing:border-box;position:relative;border-radius:3px;background:#fff;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.1);box-shadow:0 1px 1px rgba(0,0,0,.1)}.avue-data-operatext .item a{color:#333}.avue-data-operatext .item-header{padding:20px 20px 60px;border-top-right-radius:3px;border-top-left-radius:3px;color:#fff;background-position:center center}.avue-data-operatext .item-title{margin-top:0;margin-bottom:5px;font-size:25px;font-weight:300;text-shadow:0 1px 1px rgba(0,0,0,.2);display:block}.avue-data-operatext .item-subtitle{font-size:14px;font-weight:400}.avue-data-operatext .item-content{border-top:1px solid #f4f4f4;padding:10px 10px 20px;background-color:#fff;border-radius:0 0 3px 3px}.avue-data-operatext .item-img{margin:-60px auto 5px;width:90px;height:90px;border-radius:100%;overflow:hidden;border:4px solid #fff}.avue-data-operatext .item-img img{width:100%;height:100%}.avue-data-operatext .item-list{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.avue-data-operatext .item-row{box-sizing:border-box;width:33.33%;text-align:center}.avue-data-operatext .item-label{margin-bottom:5px;display:block;font-weight:600;font-size:16px}.avue-data-operatext .item-value{display:block;font-weight:300;text-transform:uppercase}.avue-data-rotate .item{margin:5px 10px;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;color:#fff;border-radius:3px}.avue-data-rotate .item-box{padding:10px 20px}.avue-data-rotate .item-count{margin-bottom:5px;font-size:38px;white-space:nowrap;font-weight:300;display:block}.avue-data-rotate .item-title{font-size:15px}.avue-data-rotate .item-icon{-webkit-transition:all .3s linear;transition:all .3s linear;position:absolute;top:20px;right:20px;font-size:65px;color:rgba(0,0,0,.15)}.avue-data-rotate .item-icon:hover{font-size:70px}.avue-data-rotate .item-more{position:relative;text-align:center;padding:3px 0;color:#fff;color:rgba(255,255,255,.8);display:block;z-index:10;font-size:14px;letter-spacing:2px;background:rgba(0,0,0,.1);text-decoration:none}.avue-data-pay .item{margin:0 auto;padding-bottom:16px;width:80%;position:relative;border-radius:4px;background-color:#fff;min-height:670px;-webkit-box-shadow:1px 2px 10px #eee;box-shadow:1px 2px 10px #eee}.avue-data-pay .top{width:100%;height:6px;position:absolute;top:0;left:0;border-radius:4px 4px 0 0}.avue-data-pay .header{margin-bottom:40px;text-align:center}.avue-data-pay .title{text-align:center;padding:20px 0 10px;font-size:20px;font-weight:200}.avue-data-pay .money span{margin-right:5px;font-size:14px}.avue-data-pay .money .b{margin-right:2px;font-size:20px;font-weight:700}.avue-data-pay .money s{margin-right:3px;font-size:12px}.avue-data-pay .money em{font-size:14px;font-style:normal}.avue-data-pay .img{width:50px}.avue-data-pay .line{width:60%;height:1px;background:hsla(0deg,0%,59%,.1);margin:20px auto}.avue-data-pay .btn{display:block;width:120px;height:32px;line-height:32px;margin:0 auto;text-align:center;border-radius:32px;color:#fff;cursor:pointer;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.avue-data-pay .list-item{list-style:none;padding-left:20px;margin-bottom:12px;color:#666;font-size:14px}.avue-data-pay .list-item a{color:#666}.avue-data-pay .list-item-icon{color:#515a6e;margin-right:8px}.avue-data-pay .list-item--link{font-size:12px;color:#2d8cf0}.avue-data-pay .list-item--no,.avue-data-pay .list-item--no+span{color:#c5c8ce}.data-price .item{margin:0 20px;text-align:center;-webkit-box-shadow:2px 3px 15px #eee;box-shadow:2px 3px 15px #eee}.data-price .item:hover{border:1px solid #00a680}.data-price .item:hover .body{color:#fff;background-color:#00a680}.data-price .item:hover .body::after{border-top-color:#00a680}.data-price .item:hover .list{color:#00a680}.data-price .item:hover .price{color:#fff}.data-price .item .title{height:80px;line-height:80px;font-size:18px;color:#333}.data-price .item .price{padding:0 8px;margin:0 0 50px;line-height:120px;height:120px;font-size:42px;color:#6b6b6b}.data-price .item .append{font-size:16px}.data-price .item .body{position:relative;padding:0;margin:0 0 50px;background-color:#f4f4f4;line-height:120px;height:120px;font-size:42px;color:#6b6b6b}.data-price .item .body::before{content:"¥";font-size:16px;font-weight:400}.data-price .item .body::after{content:"";position:absolute;display:block;width:0;height:0;bottom:-15px;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);border-color:#f4f4f4 transparent transparent;border-style:solid;border-width:20px 30px 0}.data-price .item .list{padding-bottom:30px;color:#666;font-size:14px}.avue-data-panel .item{padding:0 30px;margin:0 20px;cursor:pointer;height:108px;font-size:12px;position:relative;overflow:hidden;color:#666;background:#fff;-webkit-box-shadow:4px 4px 40px rgba(0,0,0,.05);box-shadow:4px 4px 40px rgba(0,0,0,.05);border-color:rgba(0,0,0,.05);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.avue--detail .avue-checkbox__all,.avue--detail .el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap>.el-form-item__label:before,.avue--detail .el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before,.avue--detail .el-input-number__decrease,.avue--detail .el-input-number__increase,.avue--detail .el-input__prefix,.avue--detail .el-input__suffix,.avue-canvas{display:none}.avue-data-panel .item-icon{font-size:52px}.avue-data-panel .item-info{text-align:center}.avue-data-panel .item-title{line-height:18px;color:rgba(0,0,0,.45);font-size:16px;margin-bottom:12px}.avue-data-panel .item-count{font-size:20px}[class^=avue-data-] a,[class^=data-] a{text-decoration:none}body{font-family:Chinese Quote,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}*{outline:0}.avue-ghost{opacity:.5;background:#c8ebfb}.avue--disabled{color:#ccc}.avue--detail .hover-row td{background-color:#fff!important}.avue--detail .avue-group__header{border-bottom:1px solid #eee;padding-left:10px}.avue--detail .el-collapse-item__header{margin-bottom:0}.avue--detail .el-input.is-disabled .el-input__inner,.avue--detail .el-range-editor.is-disabled,.avue--detail .el-range-editor.is-disabled input,.avue--detail .el-textarea.is-disabled .el-textarea__inner{color:#606266;background-color:#fff;padding-left:0}.avue--detail .el-input-group__append,.avue--detail .el-input-group__prepend{background-color:transparent;border:none}.avue--detail .el-input__inner,.avue--detail .el-textarea__inner{border:none}.avue--detail .el-input__inner::-webkit-input-placeholder,.avue--detail .el-textarea__inner::-webkit-input-placeholder{color:transparent!important}.avue--detail .el-input__inner::-moz-placeholder,.avue--detail .el-textarea__inner::-moz-placeholder{color:transparent!important}.avue--detail .el-input__inner::-ms-input-placeholder,.avue--detail .el-textarea__inner::-ms-input-placeholder{color:transparent!important}.avue--detail .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:#409EFF;border-color:#409EFF}.avue--detail .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner::after{border-color:#fff}.avue--detail .el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:#409EFF;border-color:#409EFF}.avue--detail .el-radio__input.is-disabled.is-checked .el-radio__inner::after{background-color:#fff}.avue--detail .el-checkbox__input.is-disabled+span.el-checkbox__label,.avue--detail .el-radio__input.is-disabled+span.el-radio__label{color:#606266}.avue--detail .el-row{border-top:1px solid #ebeef5;border-left:1px solid #ebeef5}.avue--detail .el-col{margin:0!important;padding:0!important;border-bottom:1px solid #ebeef5;border-right:1px solid #ebeef5}.avue--detail .el-form-item--medium.el-form-item,.avue--detail .el-form-item--mini.el-form-item,.avue--detail .el-form-item--small.el-form-item{margin:0;background:#fafafa}.avue--detail .el-form-item__content,.avue--detail .el-form-item__label{padding:2px 0}.avue--detail .el-form-item__label{padding-right:20px;color:#909399;-webkit-box-sizing:border-box;box-sizing:border-box}.avue--detail .el-tag{margin-left:0!important;margin-right:6px!important}.avue--detail .avue-crud .el-form-item__content{border:none}.avue--detail .el-form-item__content{border-left:1px solid #ebeef5;padding-left:20px;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#fff}.avue--detail__column .el-form-item{background-color:#fff}.avue--detail__column .el-form-item__label{padding-right:12px}.avue--detail__column .el-form-item__content{padding-left:0;border-left:none}.avue-grid{position:absolute;top:0;left:0;width:100%;height:100%;background-size:20px 20px,20px 20px;background-image:linear-gradient(rgba(0,0,0,.1) 1px,transparent 0),linear-gradient(90deg,rgba(0,0,0,.1) 1px,transparent 0)}.avue-mask{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(55,55,55,.6);height:100%;z-index:1000}.avue--card{-webkit-box-shadow:2px 1px 8px rgba(0,0,0,.15);box-shadow:2px 1px 8px rgba(0,0,0,.15);border-radius:5px}.avue-icon{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.avue-icon i,.avue-icon svg{width:20px;height:20px;font-size:20px}.avue-icon--small i,.avue-icon--small svg{font-size:15px;width:15px;height:15px}.avue-dialog{overflow:visible}.avue-dialog .el-dialog{min-height:180px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;position:absolute;top:0;left:50%;-webkit-transform:translate(-50%,0);transform:translate(-50%,0);border-radius:2px;max-height:calc(100% - 200px);max-width:calc(100% - 100px)}.avue-dialog .el-dialog__header{padding:16px 24px;min-height:20px;border-bottom:1px solid #f0f0f0}.avue-dialog .el-dialog__title,.avue-dialog .el-drawer__header{color:rgba(0,0,0,.85);font-weight:500;word-wrap:break-word}.avue-dialog .el-dialog__body{padding:30px 20px 20px;margin-bottom:50px}.avue-dialog .el-dialog .el-dialog__body{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow:hidden;overflow-y:auto}.avue-dialog .el-drawer{position:absolute;right:0;top:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.avue-dialog .el-drawer__header{margin:0;min-height:20px;padding:16px 10px 16px 24px;border-bottom:1px solid #f0f0f0}.avue-dialog .el-drawer,.avue-dialog .el-drawer__body{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow:auto}.avue-dialog__footer{display:block;padding:10px 16px;-webkit-box-sizing:border-box;box-sizing:border-box;border-top:1px solid #f0f0f0;width:100%;position:absolute;left:0;bottom:0;background-color:#fff;text-align:right}.avue-dialog__footer--left{text-align:left}.avue-dialog__footer--center{text-align:center}.avue-dialog--fullscreen .el-dialog{left:0;top:0;-webkit-transform:translate(0,0);transform:translate(0,0);width:100%!important;height:100%;max-width:100%;max-height:100%}.avue-crud .el-tooltip__popper,.avue-form .el-tooltip__popper,.el-tooltip__popper{max-width:60%}.avue-dialog--top .el-dialog{top:15%}.avue-dialog--none .el-dialog__body{margin-bottom:0}.avue-queue--block{display:inline-block}.avue-opacity{opacity:0}.avue-opacity--active{opacity:1}.fade-enter-active,.fade-leave-active{-webkit-transition:opacity .3s;transition:opacity .3s}.fade-enter,.fade-leave-to{opacity:0}.avue-crud .avue-input-number,.avue-crud .el-cascader,.avue-crud .el-date-editor.el-input,.avue-crud .el-date-editor.el-input__inner,.avue-crud .el-select,.avue-form .avue-input-number,.avue-form .el-cascader,.avue-form .el-date-editor.el-input,.avue-form .el-date-editor.el-input__inner,.avue-form .el-select{width:100%!important}.avue-crud .el-input-number .el-input__inner,.avue-form .el-input-number .el-input__inner{text-align:left}.avue-crud .avue-crud__left .el-button,.avue-crud .avue-crud__right .el-button,.avue-form .avue-crud__left .el-button,.avue-form .avue-crud__right .el-button{margin-right:5px;margin-bottom:0}.avue-crud .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content,.avue-form .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{color:#409EFF}.avue-crud .el-tree-node__label,.avue-form .el-tree-node__label{margin-left:8px}.avue-crud .el-input__inner,.avue-form .el-input__inner{height:38px;line-height:38px}.avue-crud .el-range-editor--small,.avue-form .el-range-editor--small{height:32px;line-height:32px}.avue-crud .el-range-editor--mini,.avue-form .el-range-editor--mini{height:28px;line-height:28px}.avue-crud .el-input--small input,.avue-form .el-input--small input{height:32px;line-height:32px}.avue-crud .el-input--mini input,.avue-form .el-input--mini input{height:28px;line-height:28px}.avue-crud .el-table--medium td,.avue-form .el-table--medium td{padding:7px 0!important}.avue-crud .el-dropdown-menu__item,.avue-form .el-dropdown-menu__item{line-height:25px}.avue-crud .el-table-filter__list,.avue-form .el-table-filter__list{width:100%;height:300px;overflow-y:auto}.el-form-item--mini .el-color-picker--mini,.el-form-item--mini .el-color-picker--mini .el-color-picker__trigger{width:23px;height:23px}.el-dropdown-menu .el-button--text{width:100%!important}.el-pagination__editor.el-input .el-input__inner{line-height:28px}.el-drawer .el-drawer__body{height:100%}.el-drawer .avue-form{padding:20px}.el-checkbox:last-of-type{margin-right:8px}.el-table colgroup.gutter,.el-table th.gutter{display:table-cell!important}.el-input-number .el-input__suffix{display:none}.el-input-number__decrease,.el-input-number__increase{background-color:transparent}.el-tree-node.is-current>.el-tree-node__content{color:#409eff;background-color:#F5F7FA}.el-select-dropdown .el-scrollbar .el-scrollbar__view .el-select-dropdown__item{height:auto;padding:0}.el-select-dropdown .el-scrollbar .el-scrollbar__view .el-select-dropdown__item>span{padding:0 20px}.el-select-dropdown .el-tree-node__label,.el-select-dropdown__item.selected{font-weight:400}.el-form-item.is-error .avue-dynamic{border:1px solid #F56C6C;border-radius:3px}.el-dropdown-menu__item{padding-top:3px!important;padding-bottom:3px!important}.el-upload--picture-card .el-upload-dragger,.el-upload--picture-img .el-upload-dragger{width:inherit;height:inherit;background-color:inherit}.avue-theme--dark body{background:#000}.avue-theme--dark .el-pagination.is-background .btn-next,.avue-theme--dark .el-pagination.is-background .btn-prev,.avue-theme--dark .el-pagination.is-background .el-pager li{background-color:#151518;color:#525256;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #313135}.avue-theme--dark .el-pagination.is-background .el-pager li:not(.disabled).active{background-color:#151518;border-color:#409EFF}.avue-theme--dark .el-cascader-menu{border-right:solid 1px #313135}.avue-theme--dark .el-select-dropdown.is-multiple .el-select-dropdown__item.selected,.avue-theme--dark .el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover{background-color:#151518}.avue-theme--dark .el-cascader__dropdown,.avue-theme--dark .el-input__inner,.avue-theme--dark .el-range-input,.avue-theme--dark .el-select-dropdown{background-color:#151518;color:#999;border:1px solid #313135}.avue-theme--dark .el-cascader__dropdown:hover,.avue-theme--dark .el-input__inner:hover,.avue-theme--dark .el-range-input:hover,.avue-theme--dark .el-select-dropdown:hover{border-color:#409EFF}.avue-theme--dark .el-cascader__dropdown::-webkit-input-placeholder,.avue-theme--dark .el-input__inner::-webkit-input-placeholder,.avue-theme--dark .el-range-input::-webkit-input-placeholder,.avue-theme--dark .el-select-dropdown::-webkit-input-placeholder{color:#525256}.avue-theme--dark .el-cascader__dropdown::-moz-placeholder,.avue-theme--dark .el-input__inner::-moz-placeholder,.avue-theme--dark .el-range-input::-moz-placeholder,.avue-theme--dark .el-select-dropdown::-moz-placeholder{color:#525256}.avue-theme--dark .el-cascader__dropdown:-moz-placeholder,.avue-theme--dark .el-input__inner:-moz-placeholder,.avue-theme--dark .el-range-input:-moz-placeholder,.avue-theme--dark .el-select-dropdown:-moz-placeholder{color:#525256}.avue-theme--dark .el-cascader__dropdown:-ms-input-placeholder,.avue-theme--dark .el-input__inner:-ms-input-placeholder,.avue-theme--dark .el-range-input:-ms-input-placeholder,.avue-theme--dark .el-select-dropdown:-ms-input-placeholder{color:#525256}.avue-theme--dark .el-form-item__label{color:#9a9a9f}.avue-theme--dark .el-switch__core{background:#151518;border-color:#151518}.avue-theme--dark .avue-group__item{background-color:#000}.avue-theme--dark .el-table--border,.avue-theme--dark .el-table--group{border-color:#313135}.avue-theme--dark .el-table__body tr.current-row>td,.avue-theme--dark .el-table__body tr.hover-row>td{background-color:#151518}.avue-theme--dark .el-table--border td,.avue-theme--dark .el-table--border th,.avue-theme--dark .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed{border-color:#999}.avue-theme--dark .avue-crud .el-table th,.avue-theme--dark .el-table,.avue-theme--dark .el-table th,.avue-theme--dark .el-table tr,.avue-theme--dark .el-table__fixed-footer-wrapper tbody td,.avue-theme--dark .el-table__footer-wrapper tbody td,.avue-theme--dark .el-table__header-wrapper tbody td{background-color:#151518;color:#999;border-color:#999}@media screen and (max-width:992px){.avue-crud .avue-crud__menu{display:block}.avue-crud .avue-crud__left,.avue-crud .avue-crud__right{margin:5px 0;width:100%}.avue-crud .avue-crud__right{text-align:right}.avue-crud .el-button+.el-button{margin-left:0}}#nprogress{pointer-events:none}#nprogress .bar{background:#29d;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;-webkit-box-shadow:0 0 10px #29d,0 0 5px #29d;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;-webkit-transform:rotate(3deg) translate(0,-4px);transform:rotate(3deg) translate(0,-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;-webkit-box-sizing:border-box;box-sizing:border-box;border:2px solid transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(360deg)}}@keyframes nprogress-spinner{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}} \ No newline at end of file diff --git a/public/cdn/avue/2.9.5/avue.min.js b/public/cdn/avue/2.9.5/avue.min.js deleted file mode 100644 index 26ce0dd..0000000 --- a/public/cdn/avue/2.9.5/avue.min.js +++ /dev/null @@ -1,9 +0,0 @@ -/*! - * Avue.js v2.9.5 - * (c) 2017-2022 Smallwei - * Released under the MIT License. - * - */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("vue"),require("axios"),require("element-ui")):"function"==typeof define&&define.amd?define("AVUE",["vue","axios","element-ui"],e):"object"==typeof exports?exports.AVUE=e(require("vue"),require("axios"),require("element-ui")):t.AVUE=e(t.Vue,t.axios,t.ELEMENT)}(this,(function(__WEBPACK_EXTERNAL_MODULE__9__,__WEBPACK_EXTERNAL_MODULE__20__,__WEBPACK_EXTERNAL_MODULE__22__){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=24)}([function(t,e,n){"use strict";function i(t,e,n,i,o,a,r,l){var s,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),r?(s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},c._ssrRegister=s):o&&(s=l?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),s)if(c.functional){c._injectStyles=s;var u=c.render;c.render=function(t,e){return s.call(e),u(t,e)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,s):[s]}return{exports:t,options:c}}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";var i=function(t,e,n){return e?t+n+e:t},o=function t(e,n){if("string"==typeof n)return i(e,n,"--");if(Array.isArray(n))return n.map((function(n){return t(e,n)}));var o={};return Object.keys(n||{}).forEach((function(t){o[e+"--"+t]=n[t]})),o},a={methods:{b:function(t,e){var n=this.$options.name;return t&&"string"!=typeof t&&(e=t,t=""),t=i(n,t,"__"),e?[t,o(t,e)]:t}}},r=n(3);e.a=function(t){return t.name=r.i+(t.name||""),t.mixins=t.mixins||[],t.mixins.push(a),t}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"o",(function(){return getFixed})),__webpack_require__.d(__webpack_exports__,"n",(function(){return getAsVal})),__webpack_require__.d(__webpack_exports__,"u",(function(){return setAsVal})),__webpack_require__.d(__webpack_exports__,"s",(function(){return loadScript})),__webpack_require__.d(__webpack_exports__,"h",(function(){return downFile})),__webpack_require__.d(__webpack_exports__,"x",(function(){return strCorNum})),__webpack_require__.d(__webpack_exports__,"c",(function(){return createObj})),__webpack_require__.d(__webpack_exports__,"d",(function(){return dataURLtoFile})),__webpack_require__.d(__webpack_exports__,"m",(function(){return findObject})),__webpack_require__.d(__webpack_exports__,"t",(function(){return randomId})),__webpack_require__.d(__webpack_exports__,"r",(function(){return isJson})),__webpack_require__.d(__webpack_exports__,"e",(function(){return deepClone})),__webpack_require__.d(__webpack_exports__,"w",(function(){return sortArrys})),__webpack_require__.d(__webpack_exports__,"v",(function(){return setPx})),__webpack_require__.d(__webpack_exports__,"f",(function(){return detailDataType})),__webpack_require__.d(__webpack_exports__,"g",(function(){return detailDic})),__webpack_require__.d(__webpack_exports__,"l",(function(){return findByValue})),__webpack_require__.d(__webpack_exports__,"j",(function(){return filterNullParams})),__webpack_require__.d(__webpack_exports__,"i",(function(){return filterDicParams})),__webpack_require__.d(__webpack_exports__,"p",(function(){return getObjValue})),__webpack_require__.d(__webpack_exports__,"k",(function(){return findArray})),__webpack_require__.d(__webpack_exports__,"q",(function(){return getPasswordChar})),__webpack_require__.d(__webpack_exports__,"a",(function(){return arraySort})),__webpack_require__.d(__webpack_exports__,"b",(function(){return clearVal})),__webpack_require__.d(__webpack_exports__,"y",(function(){return vaildData}));var _validate__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(5),global_variable__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(3);function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function getFixed(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return Number(t.toFixed(e))}function getAsVal(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=deepClone(t);return Object(_validate__WEBPACK_IMPORTED_MODULE_0__.a)(e)||e.split(".").forEach((function(t){n=Object(_validate__WEBPACK_IMPORTED_MODULE_0__.a)(n[t])?"":n[t]})),n}function setAsVal(obj){var bind=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",value=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return eval("obj.".concat(bind,"=").concat(value)),obj}var loadScript=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"js",e=arguments.length>1?arguments[1]:void 0,n=!1;return new Promise((function(i){var o,a=document.getElementsByTagName("head")[0];(a.children.forEach((function(t){-1!==(t.src||"").indexOf(e)&&(n=!0,i())})),n)||("js"===t?((o=document.createElement("script")).type="text/javascript",o.src=e):"css"===t&&((o=document.createElement("link")).rel="stylesheet",o.type="text/css",o.href=e),a.appendChild(o),o.onload=function(){i()})}))};function downFile(t,e){"object"==_typeof(t)&&t instanceof Blob&&(t=URL.createObjectURL(t));var n,i=document.createElement("a");i.href=t,i.download=e||"",window.MouseEvent?n=new MouseEvent("click"):(n=document.createEvent("MouseEvents")).initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),i.dispatchEvent(n)}function strCorNum(t){return t.forEach((function(e,n){t[n]=Number(e)})),t}function extend(){var t,e,n,i,o=arguments[0]||{},a=!1,r=Array.prototype.slice.call(arguments),l=1,s=!1;for("boolean"==typeof o&&(a=o,l++,o=arguments[1]);l=2){var a="";n.forEach((function(t){a="".concat(a).concat("{",'"').concat(t,'":')})),a="".concat(a,'""');for(var r=0;r2&&void 0!==arguments[2]?arguments[2]:"prop",i=-1,o=function(){var e;return t.forEach((function(t){t.column?e="group":t.children&&(e="tree")})),e}();return"group"===o?t.forEach((function(t){var o=findArray(t.column,e,n,!0);-1!==o&&(i=o)})):i="tree"===o?findLabelNode(t,e,{value:n},!0):findArray(t,e,n,!0),i}function randomId(){for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",e=t.length,n="",i=0;i<16;i++)n+=t.charAt(Math.floor(Math.random()*e));return n}var getObjType=function(t){var e=Object.prototype.toString;return t instanceof Element?"element":{"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regExp","[object Undefined]":"undefined","[object Null]":"null","[object Object]":"object"}[e.call(t)]},isJson=function(t){return Array.isArray(t)?t[0]instanceof Object:t instanceof Object},deepClone=function t(e){var n,i=getObjType(e);if("array"===i)n=[];else{if("object"!==i)return e;n={}}if("array"===i)for(var o=0,a=e.length;on[e]?-1:t[e]1&&void 0!==arguments[1]?arguments[1]:"";return Object(_validate__WEBPACK_IMPORTED_MODULE_0__.a)(t)&&(t=e),Object(_validate__WEBPACK_IMPORTED_MODULE_0__.a)(t)?"":(-1===(t+="").indexOf("%")&&(t+="px"),t)},detailDataType=function(t,e){return Object(_validate__WEBPACK_IMPORTED_MODULE_0__.a)(t)?t:"number"===e?Number(t):"string"===e?t+"":t},getUrlParams=function(t){var e={url:"",params:{}},n=t.split("?");e.url=n[0];var i=n[1];i&&i.split("&").forEach((function(t){var n=t.split("="),i=n[0],o=n[1];e.params[i]=o}));return e},detailDic=function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,o=n.value||global_variable__WEBPACK_IMPORTED_MODULE_1__.e.value,a=n.children||global_variable__WEBPACK_IMPORTED_MODULE_1__.e.children;return e.forEach((function(e){e[o]=detailDataType(e[o],i),e[a]&&t(e[a],n,i)})),e},findByValue=function(t,e,n){if(Object(_validate__WEBPACK_IMPORTED_MODULE_0__.a)(t))return e;var i="",o=e instanceof Array,a=o?e:[e];n=n||global_variable__WEBPACK_IMPORTED_MODULE_1__.e,i=[];for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=deepClone(t),i=e[global_variable__WEBPACK_IMPORTED_MODULE_1__.e.groups]||global_variable__WEBPACK_IMPORTED_MODULE_1__.e.groups;return t.forEach((function(t){t[i]&&(n=n.concat(t[i]))})),n},findLabelNode=function(t,e,n,i){var o;i||(t=detailDicGroup(t,n));return function t(a){for(var r=n.label||global_variable__WEBPACK_IMPORTED_MODULE_1__.e.label,l=n.value||global_variable__WEBPACK_IMPORTED_MODULE_1__.e.value,s=n.children||global_variable__WEBPACK_IMPORTED_MODULE_1__.e.children,c=0;c1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=e.split("."),o=t;return""===i[0]&&"object"!==n?getDeepData(t):(""!==i[0]&&i.forEach((function(t){o=o[t]})),o)},findArray=function(t,e,n,i){n=n||global_variable__WEBPACK_IMPORTED_MODULE_1__.e.value;for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,n=t.toString().length;t="";for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return t.filter((function(t){return!Object(_validate__WEBPACK_IMPORTED_MODULE_0__.a)(t[e])})).sort((function(t,e){return n(t,e)})).concat(t.filter((function(t){return Object(_validate__WEBPACK_IMPORTED_MODULE_0__.a)(t[e])})))},clearVal=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t?(Object.keys(t).forEach((function(n){if(!e.includes(n))if(n.includes("$"))delete t[n];else if(!Object(_validate__WEBPACK_IMPORTED_MODULE_0__.a)(t[n])){var i=getObjType(t[n]);"array"===i?t[n]=[]:"object"===i?t[n]={}:["number","boolean"].includes(i)?t[n]=void 0:t[n]=""}})),t):{}},vaildData=function(t,e){return"boolean"==typeof t?t:Object(_validate__WEBPACK_IMPORTED_MODULE_0__.a)(t)?e:t}},function(t,e,n){"use strict";n.d(e,"i",(function(){return i})),n.d(e,"e",(function(){return o})),n.d(e,"d",(function(){return a})),n.d(e,"c",(function(){return r})),n.d(e,"h",(function(){return l})),n.d(e,"a",(function(){return s})),n.d(e,"j",(function(){return c})),n.d(e,"k",(function(){return u})),n.d(e,"b",(function(){return d})),n.d(e,"l",(function(){return p})),n.d(e,"f",(function(){return h})),n.d(e,"g",(function(){return f})),n.d(e,"m",(function(){return m}));var i="avue-",o={rowKey:"id",rowParentKey:"parentId",nodeKey:"id",label:"label",value:"value",desc:"desc",groups:"groups",title:"title",leaf:"leaf",children:"children",hasChildren:"hasChildren",labelText:"名称",disabled:"disabled"},a={name:"name",url:"url",fileName:"file",res:""},r=["dates","date","datetime","datetimerange","daterange","time","timerange","week","month","monthrange","year"],l=["tree","number","icon","color","table","map"],s=["img","array","url"],c=["cascader","tree","select"],u=["slider"],d=s.concat(["upload","dynamic","map","checkbox","cascader","dynamic","timerange","monthrange","daterange","datetimerange","dates"]),p=r.concat(["select","checkbox","radio","cascader","tree","color","icon","table","map"]),h=" | ",f=",",m={img:/\.(gif|jpg|jpeg|png|GIF|JPG|PNG)/,video:/\.(swf|avi|flv|mpg|rm|mov|wav|asf|3gp|mkv|rmvb|ogg|mp4)/}},function(t,e,n){"use strict";var i=n(11);e.a={methods:{t:function(){for(var t=arguments.length,e=new Array(t),n=0;n0&&void 0!==arguments[0]?arguments[0]:[];return t.forEach((function(e){var n=e.cascader;if(!Object(i.a)(n)){var o=e.prop;n.forEach((function(e){var n=Object(a.m)(t,e);-1!==n&&(n.parentProp=o)}))}})),t},s=0,c=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:12,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];n&&(s=0);var i=24;return(s=s+(t.span||e)+(t.offset||0))===i?s=0:s>i?s=0+(t.span||e)+(t.offset||0):t.row&&s!==i&&(t.count=i-s,s=0),t},u=function(t,e){var n=e.type,r=e.multiple,l=e.dataType,s=e.separator,c=void 0===s?o.g:s,u=e.alone,d=e.emitPath,p=e.range,h=t;return o.j.includes(n)&&1==r||o.b.includes(n)&&!1!==d||o.k.includes(n)&&1==p?(Array.isArray(h)||(h=Object(i.a)(h)?[]:(h+"").split(c)||[]),h.forEach((function(t,e){h[e]=Object(a.f)(t,l)})),o.a.includes(n)&&Object(i.a)(h)&&u&&(h=[""])):h=Object(a.f)(h,l),h},d=function(t){var e=t.type,n=t.searchRange,i=e;if(t.searchType)return t.searchType;if(["radio","checkbox","switch"].includes(e))i="select";else if(o.c.includes(e)){i=n?e.includes("range")?e:e+"range":e.replace("range","")}else["textarea"].includes(e)&&(i="input");return i},p=function(t,e){var n=t||"input";return Object(i.a)(e)?(o.a.includes(t)?n="array":["time","timerange"].includes(t)?n="time":o.c.includes(t)?n="date":["password","textarea","search"].includes(t)?n="input":o.h.includes(t)&&(n="input-"+t),o.i+n):e},h=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e={};return t.forEach((function(t){o.b.includes(t.type)&&!1!==t.emitPath||o.j.includes(t.type)&&t.multiple||"array"===t.dataType?e[t.prop]=[]:o.k.includes(t.type)&&1==t.range?e[t.prop]=[0,0]:["rate","slider","number"].includes(t.type)||"number"===t.dataType?e[t.prop]=void 0:e[t.prop]="",t.bind&&(e=Object(a.c)(e,t.bind)),Object(i.a)(t.value)||(e[t.prop]=t.value)})),{tableForm:e}},f=function(t){var e=t.placeholder,n=t.label;return Object(i.a)(e)?o.l.includes(t.type)?"".concat(Object(r.b)("tip.select")," ").concat(n):"".concat(Object(r.b)("tip.input")," ").concat(n):e}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return l})),n.d(e,"d",(function(){return s}));var i=n(5),o=n(2),a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return new Promise((function(n,o){var a=[],r=[],l={};t.forEach((function(t){t.parentProp&&a.push(t)})),e.forEach((function(t,e){a.forEach((function(n){!0!==n.hide&&!1!==n.dicFlag&&r.push(new Promise((function(o){Object(i.a)(t[n.parentProp])?o({prop:n.prop,data:[],index:e}):n.dicUrl&&s({url:"".concat(n.dicUrl.replace("{{key}}",t[n.parentProp])),props:n.props,method:n.dicMethod,formatter:n.dicFormatter,query:n.dicQuery,form:t}).then((function(t){o({prop:n.prop,data:t,index:e})}))})))}))})),Promise.all(r).then((function(t){t.forEach((function(t){Object(i.a)(l[t.index])&&(l[t.index]={}),l[t.index][t.prop]=t.data})),n(l)}))}))},r=function(t){var e=[];return new Promise((function(n,i){var a,r,l,c=function(t){var e=t.column||[],n=[],i={},o=[];return e.forEach((function(t){var e=t.dicData,a=t.dicUrl,r=t.prop,l=t.parentProp;o=o.concat(t.cascader||[]),Array.isArray(e)&&(i[r]=e),!1===t.dicFlag||!0===t.lazy||o.includes(r)||a&&!l&&n.push({url:a,name:r,method:t.dicMethod,formatter:t.dicFormatter,props:t.props,dataType:t.dataType,resKey:(t.props||{}).res,query:t.dicQuery||{}})})),{ajaxdic:n,locationdic:i}}(t);e=c.ajaxdic,(a=e,r={},l=[],new Promise((function(t){a.forEach((function(t){l.push(new Promise((function(e){s(Object.assign(t,{url:"".concat(t.url.replace("{{key}}",""))})).then((function(n){n=Object(o.g)(n,t.props,t.dataType),e(n)})).catch((function(){e([])}))})))})),Promise.all(l).then((function(e){a.forEach((function(t,n){r[t.name]=e[n]})),t(r)}))}))).then((function(t){n(t)})).catch((function(t){i(t)}))}))},l=function(t){var e={},n=t.dicData||{};return t.column.forEach((function(t){t.dicData&&(e[t.prop]=Object(o.g)(t.dicData,t.props,t.dataType))})),Object.assign(n,e)};var s=function(t){var e=t.url,n=t.query,i=t.method,a=t.resKey,r=t.props,l=t.formatter,s=t.value,c=void 0===s?"":s,u=t.column,d=t.form,p=void 0===d?{}:d;u&&(e=u.dicUrl,i=u.dicMethod,n=u.dicQuery||{},l=u.dicFormatter,r=u.props);var h={};return((e=e||"").match(/[^\{\}]+(?=\})/g)||[]).forEach((function(t){var n="{{".concat(t,"}}"),i=p[t];e="key"===t?e.replace(n,c):e.replace(n,i)})),"post"===i&&Object.keys(n).forEach((function(t){var e=n[t];if("string"==typeof e)if(e.match(/\{{|}}/g)){var i=p[e.replace(/\{{|}}/g,"")];h[t]=i}else h[t]=e;else h[t]=e})),r&&(a=(r||{}).res||a),new Promise((function(t){var r=function(e){var n=[];n="function"==typeof l?l(e.data):Object(o.p)(e.data,a),t(n)};"post"===i?window.axios.post(e,h).then((function(t){r(t)})).catch((function(){return[t([])]})):window.axios.get(e,{params:n}).then((function(t){r(t)})).catch((function(){return[t([])]}))}))}},function(t,e){t.exports=__WEBPACK_EXTERNAL_MODULE__9__},function(t,e,n){t.exports=function(){"use strict";var t=6e4,e=36e5,n="millisecond",i="second",o="minute",a="hour",r="day",l="week",s="month",c="quarter",u="year",d="date",p="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},b=function(t,e,n){var i=String(t);return!i||i.length>=e?t:""+Array(e+1-i.length).join(n)+t},v={s:b,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),i=Math.floor(n/60),o=n%60;return(e<=0?"+":"-")+b(i,2,"0")+":"+b(o,2,"0")},m:function t(e,n){if(e.date()0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length,n=new Array(e>1?e-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"D",n=arguments.length>2?arguments[2]:void 0,i={F:"Form",H:"Header",E:"Error",L:"Label",S:"Search",T:"Type",D:""},o=t.prop+i[e];return n?n[o]:o},getSlotList:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return n=n.map((function(t){return t.prop})),Object.keys(e).filter((function(e){var i=!1;return n.includes(e)||t.forEach((function(t){e.includes(t)&&(i=!0)})),i}))}}}},function(t,e,n){"use strict";var i=n(8),o=n(3),a=n(12);e.a=function(){return{mixins:[a.a],props:{defaults:{type:Object,default:function(){return{}}},option:{type:Object,required:!0,default:function(){return{}}}},watch:{defaults:{handler:function(t){this.objectOption=t},deep:!0},objectOption:{handler:function(t){this.$emit("update:defaults",t)},deep:!0},propOption:{handler:function(t){var e=this;this.objectOption={},t.forEach((function(t){return e.objectOption[t.prop]=t}))},deep:!0},option:{handler:function(){this.init(!1)},deep:!0}},data:function(){return{DIC:{},cascaderDIC:{},tableOption:{},isMobile:"",objectOption:{}}},created:function(){this.init()},computed:{resultOption:function(){return Object.assign(this.deepClone(this.tableOption),{column:this.propOption})},rowKey:function(){return this.tableOption.rowKey||o.e.rowKey},formRules:function(){var t={};return this.propOption.forEach((function(e){e.rules&&!1!==e.display&&(t[e.prop]=e.rules)})),t},isMediumSize:function(){return this.controlSize},controlSize:function(){return this.tableOption.size||this.$AVUE.size}},methods:{init:function(t){this.tableOption=this.option,this.getIsMobile(),this.handleLocalDic(),!1!==t&&this.handleLoadDic()},dicInit:function(t){"cascader"===t?this.handleLoadCascaderDic():this.handleLoadDic()},getIsMobile:function(){this.isMobile=window.document.body.clientWidth<=768},updateDic:function(t,e){var n=this,o=this.findObject(this.propOption,t);this.validatenull(e)&&this.validatenull(t)?this.handleLoadDic():this.validatenull(e)&&!this.validatenull(o.dicUrl)?Object(i.d)({column:o}).then((function(e){n.$set(n.DIC,t,e)})):this.$set(this.DIC,t,e)},handleSetDic:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.keys(n).forEach((function(i){e.$set(t,i,n[i])}))},handleLocalDic:function(){this.handleSetDic(this.DIC,Object(i.c)(this.resultOption))},handleLoadDic:function(){var t=this;Object(i.b)(this.resultOption).then((function(e){return t.handleSetDic(t.DIC,e)}))},handleLoadCascaderDic:function(){var t=this;Object(i.a)(this.propOption,this.data).then((function(e){return t.handleSetDic(t.cascaderDIC,e)}))}}}}},function(t,e,n){"use strict";var i,o=n(7);function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var r={name:"form-temp",mixins:[n(12).a],props:(i={value:{},uploadBefore:Function,uploadDelete:Function,uploadAfter:Function,uploadPreview:Function,uploadError:Function,uploadExceed:Function,columnSlot:{type:Array,default:function(){return[]}},props:{type:Object},clearable:{type:Boolean},enter:{type:Boolean,default:!1},type:{type:String},propsHttp:{type:Object,default:function(){return{}}}},a(i,"props",{type:Object}),a(i,"dic",{type:Array}),a(i,"placeholder",{type:String}),a(i,"size",{type:String}),a(i,"disabled",{type:Boolean}),a(i,"readonly",{type:Boolean}),a(i,"column",{type:Object,default:function(){return{}}}),i),data:function(){return{first:!1,text:void 0}},computed:{params:function(){return this.column.params||{}},event:function(){return this.column.event||{}}},watch:{text:{handler:function(t){this.first||!this.validatenull(t)?(this.first=!0,this.$emit("input",t),this.$emit("change",t)):this.first=!0}},value:{handler:function(t){this.text=t},immediate:!0}},methods:{getComponent:o.e,getPlaceholder:o.f,enterChange:function(){var t=this.column.enter;this.validatenull(t)?this.enter&&this.$emit("enter"):"function"==typeof t&&this.column.enter(this.text,this.column)}}},l=n(0),s=Object(l.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.getComponent(t.column.type,t.column.component),t._g(t._b({ref:"temp",tag:"component",attrs:{column:Object.assign(t.column,t.params),dic:t.dic,disabled:t.column.disabled||t.disabled,readonly:t.column.readonly||t.readonly,placeholder:t.getPlaceholder(t.column),props:t.column.props||t.props,propsHttp:t.column.propsHttp||t.propsHttp,size:t.column.size||t.size,type:t.type||t.column.type,"column-slot":t.columnSlot},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.enterChange.apply(null,arguments)}},scopedSlots:t._u([t._l(t.getSlotName(t.column,"T",t.$scopedSlots)?[t.column]:[],(function(e){return{key:"default",fn:function(n){return[t._t(t.getSlotName(e,"T"),null,null,n)]}}})),t._l(t.columnSlot,(function(e){return{key:e,fn:function(n){return[t._t(e,null,null,n)]}}}))],null,!0),model:{value:t.text,callback:function(e){t.text=e},expression:"text"}},"component",Object.assign(t.column,t.$uploadFun(t.column)),!1),t.event),[t.params.html?n("span",{domProps:{innerHTML:t._s(t.params.html)}}):t._e()])}),[],!1,null,null,null);e.a=s.exports},function(t,e,n){"use strict";function i(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:"default",e="";switch(t){case"default":e="#35495E";break;case"primary":e="#3488ff";break;case"success":e="#43B883";break;case"warning":e="#e6a23c";break;case"danger":e="#f56c6c"}return e}a.capsule=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"primary";console.log("%c ".concat(t," %c ").concat(e," %c"),"background:#35495E; padding: 1px; border-radius: 3px 0 0 3px; color: #fff;","background:".concat(r(n),"; padding: 1px; border-radius: 0 3px 3px 0; color: #fff;"),"background:transparent")},a.colorful=function(t){var e;(e=console).log.apply(e,["%c".concat(t.map((function(t){return t.text||""})).join("%c"))].concat(i(t.map((function(t){return"color: ".concat(r(t.type),";")})))))},a.default=function(t){a.colorful([{text:t}])},a.primary=function(t){a.colorful([{text:t,type:"primary"}])},a.success=function(t){a.colorful([{text:t,type:"success"}])},a.warning=function(t){a.colorful([{text:t,type:"warning"}])},a.danger=function(t){a.colorful([{text:t,type:"danger"}])},window.$Log=a,e.a=a},function(module,__webpack_exports__,__webpack_require__){"use strict";var core_detail__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(17),core_create__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1),common_common_init__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(13),common_components_form_index__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(14),global_variable__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(3),core_dataformat__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(7),core_dic__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(8),utils_util__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(2),utils_mock__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(19),_menu__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(23);function _toConsumableArray(t){return _arrayWithoutHoles(t)||_iterableToArray(t)||_unsupportedIterableToArray(t)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(t,e){if(t){if("string"==typeof t)return _arrayLikeToArray(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(t,e):void 0}}function _iterableToArray(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function _arrayWithoutHoles(t){if(Array.isArray(t))return _arrayLikeToArray(t)}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],r=t[e.prop],s=e.type,c=e.separator;if(e.bind&&(r=Object(o.n)(t,e.bind)),Object(i.a)(r))r="";else{var u=a.j.includes(e.type)&&e.multiple,d=a.b.includes(e.type);if((["string","number"].includes(e.dataType)||u||d)&&!Array.isArray(r)&&(r=(r+"").split(c||a.g),"number"===e.dataType&&(r=Object(o.x)(r))),a.a.includes(s))r=Array.isArray(r)?r.join(c||a.f):r.split(c||a.g).join(c||a.f);else if("password"===s)r=Object(o.q)(r,"*");else if(a.c.includes(s)&&e.format){var p=e.format.replace("dd","DD").replace("yyyy","YYYY"),h=l()().format("YYYY-MM-DD");if(-1!==s.indexOf("range")){var f=r[0]||"",m=r[1]||"";"timerange"===s&&f.length<=8&&m.length<8&&(f="".concat(h," ").concat(f),m="".concat(h," ").concat(m)),r=[l()(f).format(p),l()(m).format(p)].join(e.separator||"~")}else"time"===s&&r.length<=8&&(r="".concat(h," ").concat(r)),r=l()(r).format(p)}r=Object(o.l)(n,r,e.props)}return e.formatter&&"function"==typeof e.formatter&&(r=e.formatter(t,t[e.prop],r,e)),r}},function(t,e,n){var i,o;void 0===(o="function"==typeof(i=function(t,e,n){return function(t,e,n,i,o,a){function r(t){return"number"==typeof t&&!isNaN(t)}var l=this;if(l.version=function(){return"1.9.3"},l.options={useEasing:!0,useGrouping:!0,separator:",",decimal:".",easingFn:function(t,e,n,i){return n*(1-Math.pow(2,-10*t/i))*1024/1023+e},formattingFn:function(t){var e,n,i,o,a,r,s=t<0;if(t=Math.abs(t).toFixed(l.decimals),n=(e=(t+="").split("."))[0],i=e.length>1?l.options.decimal+e[1]:"",l.options.useGrouping){for(o="",a=0,r=n.length;al.endVal,l.frameVal=l.startVal,l.initialized=!0,0):(l.error="[CountUp] startVal ("+e+") or endVal ("+n+") is not a number",1)):(l.error="[CountUp] target is null or undefined",1)))},l.printValue=function(t){var e=l.options.formattingFn(t);"INPUT"===l.d.tagName?this.d.value=e:"text"===l.d.tagName||"tspan"===l.d.tagName?this.d.textContent=e:this.d.innerHTML=e},l.count=function(t){l.startTime||(l.startTime=t),l.timestamp=t;var e=t-l.startTime;l.remaining=l.duration-e,l.options.useEasing?l.countDown?l.frameVal=l.startVal-l.options.easingFn(e,0,l.startVal-l.endVal,l.duration):l.frameVal=l.options.easingFn(e,l.startVal,l.endVal-l.startVal,l.duration):l.countDown?l.frameVal=l.startVal-(l.startVal-l.endVal)*(e/l.duration):l.frameVal=l.startVal+(l.endVal-l.startVal)*(e/l.duration),l.countDown?l.frameVal=l.frameVall.endVal?l.endVal:l.frameVal,l.frameVal=Math.round(l.frameVal*l.dec)/l.dec,l.printValue(l.frameVal),el.endVal,l.rAF=requestAnimationFrame(l.count))}},l.initialize()&&l.printValue(l.startVal)}})?i.call(e,n,e,t):i)||(t.exports=o)},function(t,e,n){"use strict";var i=n(6);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}e.a=function(t,e,n,a){if(a){if(window.Mock){var r=(window.Mock||{}).Random,l={};return Object.keys(t).forEach((function(i){var a,c,u,d,p,h=t[i];if(h.mock&&"object"===o(h.mock)){var f=h.mock;switch(f.dic="string"==typeof h.dicData?e[h.dicData]:h.dicData||[],f.props=h.props||{},f.columnType=h.type,f.multiple=h.multiple,f.type){case"name":l[h.prop]=f.en?r.name(!0):r.cname();break;case"number":l[h.prop]=s(f);break;case"datetime":l[h.prop]=(p=(d=f).format,d.now?r.now(p):r.datetime(p));break;case"word":l[h.prop]=(c=(a=f).min,u=a.max,r.csentence(c,u));break;case"url":l[h.prop]=function(t){var e=t.header,n=(t.footer,r.url()),i=n.indexOf("://");return n=!1===e?n.substring(i+3):"http://"+n.substring(i+3)}(f);break;case"county":l[h.prop]=r.county(!0);break;case"dic":l[h.prop]=function(t){var e=t.dic,n=t.props,i=t.columnType,o=t.multiple,a=n.value||"value",r=e.length;if(["checkbox"].includes(i)||o){for(var l=s({min:1,max:r}),c=[],u=0;u
'};function o(t,e,n){return tn?n:t}function a(t){return 100*(-1+t)}n.configure=function(t){var e,n;for(e in t)void 0!==(n=t[e])&&t.hasOwnProperty(e)&&(i[e]=n);return this},n.status=null,n.set=function(t){var e=n.isStarted();t=o(t,i.minimum,1),n.status=1===t?null:t;var s=n.render(!e),c=s.querySelector(i.barSelector),u=i.speed,d=i.easing;return s.offsetWidth,r((function(e){""===i.positionUsing&&(i.positionUsing=n.getPositioningCSS()),l(c,function(t,e,n){var o;return(o="translate3d"===i.positionUsing?{transform:"translate3d("+a(t)+"%,0,0)"}:"translate"===i.positionUsing?{transform:"translate("+a(t)+"%,0)"}:{"margin-left":a(t)+"%"}).transition="all "+e+"ms "+n,o}(t,u,d)),1===t?(l(s,{transition:"none",opacity:1}),s.offsetWidth,setTimeout((function(){l(s,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),e()}),u)}),u)):setTimeout(e,u)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var t=function(){setTimeout((function(){n.status&&(n.trickle(),t())}),i.trickleSpeed)};return i.trickle&&t(),this},n.done=function(t){return t||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(t){var e=n.status;return e?("number"!=typeof t&&(t=(1-e)*o(Math.random()*e,.1,.95)),e=o(e+t,0,.994),n.set(e)):n.start()},n.trickle=function(){return n.inc(Math.random()*i.trickleRate)},t=0,e=0,n.promise=function(i){return i&&"resolved"!==i.state()?(0===e&&n.start(),t++,e++,i.always((function(){0==--e?(t=0,n.done()):n.set((t-e)/t)})),this):this},n.render=function(t){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var e=document.createElement("div");e.id="nprogress",e.innerHTML=i.template;var o,r=e.querySelector(i.barSelector),s=t?"-100":a(n.status||0),u=document.querySelector(i.parent);return l(r,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),i.showSpinner||(o=e.querySelector(i.spinnerSelector))&&p(o),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(e),e},n.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(i.parent),"nprogress-custom-parent");var t=document.getElementById("nprogress");t&&p(t)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var t=document.body.style,e="WebkitTransform"in t?"Webkit":"MozTransform"in t?"Moz":"msTransform"in t?"ms":"OTransform"in t?"O":"";return e+"Perspective"in t?"translate3d":e+"Transform"in t?"translate":"margin"};var r=function(){var t=[];function e(){var n=t.shift();n&&n(e)}return function(n){t.push(n),1==t.length&&e()}}(),l=function(){var t=["Webkit","O","Moz","ms"],e={};function n(n){return n=n.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(t,e){return e.toUpperCase()})),e[n]||(e[n]=function(e){var n=document.body.style;if(e in n)return e;for(var i,o=t.length,a=e.charAt(0).toUpperCase()+e.slice(1);o--;)if((i=t[o]+a)in n)return i;return e}(n))}function i(t,e,i){e=n(e),t.style[e]=i}return function(t,e){var n,o,a=arguments;if(2==a.length)for(n in e)void 0!==(o=e[n])&&e.hasOwnProperty(n)&&i(t,n,o);else i(t,a[1],a[2])}}();function s(t,e){return("string"==typeof t?t:d(t)).indexOf(" "+e+" ")>=0}function c(t,e){var n=d(t),i=n+e;s(n,e)||(t.className=i.substring(1))}function u(t,e){var n,i=d(t);s(t,e)&&(n=i.replace(" "+e+" "," "),t.className=n.substring(1,n.length-1))}function d(t){return(" "+(t.className||"")+" ").replace(/\s+/gi," ")}function p(t){t&&t.parentNode&&t.parentNode.removeChild(t)}return n})?i.call(e,n,e,t):i)||(t.exports=o)},function(t,e){t.exports=__WEBPACK_EXTERNAL_MODULE__22__},function(t,e,n){"use strict";var i={inject:["formSafe"],mixins:[n(4).a],computed:{menuSpan:function(){return this.formSafe.parentOption.menuSpan||24},styleName:function(){return 24!==this.menuSpan?{padding:0}:{}}}},o=n(0),a=Object(o.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.vaildData(t.formSafe.parentOption.menuBtn,!0)?n("el-col",{class:[t.formSafe.b("menu",[t.formSafe.menuPosition]),"no-print"],style:t.styleName,attrs:{span:t.menuSpan,md:t.menuSpan,sm:12,xs:24}},[n("el-form-item",{attrs:{"label-width":"0px"}},[t.formSafe.isMock?n("el-button",{attrs:{type:"primary",size:t.formSafe.controlSize,icon:"el-icon-edit-outline",loading:t.formSafe.allDisabled},on:{click:t.formSafe.handleMock}},[t._v(t._s(t.vaildData(t.formSafe.parentOption.mockText,t.t("form.mockBtn"))))]):t._e(),t._v(" "),t.formSafe.isPrint?n("el-button",{attrs:{type:"primary",size:t.formSafe.controlSize,icon:"el-icon-printer",loading:t.formSafe.allDisabled},on:{click:t.formSafe.handlePrint}},[t._v(t._s(t.vaildData(t.formSafe.parentOption.printText,t.t("form.printBtn"))))]):t._e(),t._v(" "),t.vaildData(t.formSafe.parentOption.submitBtn,!0)?n("el-button",{attrs:{type:"primary",size:t.formSafe.controlSize,icon:t.formSafe.parentOption.submitIcon||"el-icon-check",loading:t.formSafe.allDisabled},on:{click:t.formSafe.submit}},[t._v(t._s(t.vaildData(t.formSafe.parentOption.submitText,t.t("form.submitBtn"))))]):t._e(),t._v(" "),t.vaildData(t.formSafe.parentOption.emptyBtn,!0)?n("el-button",{attrs:{icon:t.formSafe.parentOption.emptyIcon||"el-icon-delete",size:t.formSafe.controlSize,loading:t.formSafe.allDisabled},on:{click:t.formSafe.resetForm}},[t._v(t._s(t.vaildData(t.formSafe.parentOption.emptyText,t.t("form.emptyBtn"))))]):t._e(),t._v(" "),t._t("menuForm",null,{disabled:t.formSafe.allDisabled,size:t.formSafe.controlSize})],2)],1):t._e()}),[],!1,null,null,null);e.a=a.exports},function(t,e,n){t.exports=n(25)},function(t,e,n){"use strict";n.r(e);var i=n(1);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.prototype.hasOwnProperty;var a,r=Object(i.a)({name:"affix",props:{id:String,offsetTop:{type:Number,default:0},offsetBottom:{type:Number}},data:function(){return{affix:!1,styles:{},slot:!1,slotStyle:{}}},computed:{parent:function(){return this.validatenull(this.id)?window:(t=this.id,("object"===("undefined"==typeof HTMLElement?"undefined":o(HTMLElement))?t instanceof HTMLElement:t&&"object"===o(t)&&1===t.nodeType&&"string"==typeof t.nodeName)?this.id:window.document.getElementById(this.id));var t},offsetType:function(){var t="top";return this.offsetBottom>=0&&(t="bottom"),t}},mounted:function(){this.parent.addEventListener("scroll",this.handleScroll,!1),this.parent.addEventListener("resize",this.handleScroll,!1)},beforeDestroy:function(){this.parent.removeEventListener("scroll",this.handleScroll,!1),this.parent.removeEventListener("resize",this.handleScroll,!1)},methods:{getScroll:function(t,e){var n=e?"scrollTop":"scrollLeft",i=t[e?"pageYOffset":"pageXOffset"];return"number"!=typeof i&&(i=window.document.documentElement[n]),i},getOffset:function(t){var e=t.getBoundingClientRect(),n=this.getScroll(this.parent,!0),i=this.getScroll(this.parent),o=window.document.body,a=o.clientTop||0,r=o.clientLeft||0;return{top:e.top+n-a,left:e.left+i-r}},handleScroll:function(){var t=this.affix,e=this.getScroll(this.parent,!0),n=this.getOffset(this.$el),i=this.parent.innerHeight,o=this.$el.getElementsByTagName("div")[0].offsetHeight;n.top-this.offsetTope&&"top"==this.offsetType&&t&&(this.slot=!1,this.slotStyle={},this.affix=!1,this.styles=null,this.$emit("on-change",!1)),n.top+this.offsetBottom+o>e+i&&"bottom"==this.offsetType&&!t?(this.affix=!0,this.styles={bottom:"".concat(this.offsetBottom,"px"),left:"".concat(n.left,"px"),width:"".concat(this.$el.offsetWidth,"px")},this.$emit("on-change",!0)):n.top+this.offsetBottom+o table > tbody",dropColClass:".el-table__header-wrapper tr",ghostClass:"avue-crud__ghost"},C=Object(i.a)({name:"crud",inject:["crud"],props:{page:{type:Object,default:function(){return{}}}},data:function(){return{config:S,defaultPage:{total:0,pagerCount:7,currentPage:1,pageSize:10,pageSizes:[10,20,30,40,50,100],layout:"total, sizes, prev, pager, next, jumper",background:!0}}},created:function(){this.pageInit(),this.crud.$emit("on-load",this.defaultPage)},watch:{page:{handler:function(){this.pageInit()},deep:!0},pageFlag:function(){this.crud.getTableHeight()},"defaultPage.total":function(t){this.defaultPage.total===(this.defaultPage.currentPage-1)*this.defaultPage.pageSize&&0!=this.defaultPage.total&&(this.defaultPage.currentPage=this.defaultPage.currentPage-1,this.crud.$emit("on-load",this.defaultPage),this.crud.$emit("current-change",this.defaultPage.currentPage),this.updateValue())}},computed:{pageFlag:function(){return 0!=this.defaultPage.total}},methods:{pageInit:function(){this.defaultPage=Object.assign(this.defaultPage,this.page,{total:Number(this.page.total||this.defaultPage.total),pagerCount:Number(this.page.pagerCount||this.defaultPage.pagerCount),currentPage:Number(this.page.currentPage||this.defaultPage.currentPage),pageSize:Number(this.page.pageSize||this.defaultPage.pageSize)}),this.updateValue()},updateValue:function(){this.crud.$emit("update:page",this.defaultPage)},nextClick:function(t){this.crud.$emit("next-click",t)},prevClick:function(t){this.crud.$emit("prev-click",t)},sizeChange:function(t){this.defaultPage.currentPage=1,this.defaultPage.pageSize=t,this.updateValue(),this.crud.$emit("on-load",this.defaultPage),this.crud.$emit("size-change",t)},currentChange:function(t){this.updateValue(),this.crud.$emit("on-load",this.defaultPage),this.crud.$emit("current-change",t)}}}),j=Object(l.a)(C,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.pageFlag&&t.vaildData(t.crud.tableOption.page,!0)?n("el-card",{class:t.b("pagination"),attrs:{shadow:t.crud.isCard}},[t._t("page"),t._v(" "),n("el-pagination",{attrs:{small:t.crud.isMobile,disabled:t.defaultPage.disabled,"hide-on-single-page":t.vaildData(t.crud.tableOption.simplePage,t.config.simplePage),"pager-count":t.defaultPage.pagerCount,"current-page":t.defaultPage.currentPage,background:t.vaildData(t.defaultPage.background,t.config.pageBackground),"page-size":t.defaultPage.pageSize,"page-sizes":t.defaultPage.pageSizes,layout:t.defaultPage.layout,total:t.defaultPage.total},on:{"update:currentPage":function(e){return t.$set(t.defaultPage,"currentPage",e)},"update:current-page":function(e){return t.$set(t.defaultPage,"currentPage",e)},"size-change":t.sizeChange,"prev-click":t.prevClick,"next-click":t.nextClick,"current-change":t.currentChange}})],2):t._e()}),[],!1,null,null,null).exports,E=n(12),$=n(4),D=n(7),P=n(2),T=Object(i.a)({name:"crud__search",inject:["crud"],mixins:[$.a,E.a],data:function(){return{show:!1,searchIndex:2,searchShow:!0,searchForm:{}}},props:{search:Object},watch:{"crud.propOption":{handler:function(){this.dataFormat()},deep:!0},show:function(){this.crud.getTableHeight()},searchShow:function(){this.crud.getTableHeight()},search:{handler:function(){this.searchForm=Object.assign(this.searchForm,this.search)},immediate:!0,deep:!0}},created:function(){this.initFun(),this.dataFormat()},computed:{option:function(){var t=this,e=this.crud.option;this.searchIndex=e.searchIndex||2;var n,i;return n=e,(i=t.deepClone(n)).column=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=[],o=0;return(n=n.sort((function(t,e){return(e.searchOrder||0)-(t.searchOrder||0)}))).forEach((function(n){if(n.search){var a=othis.searchIndex},searchLen:function(){var t=0;return this.crud.propOption.forEach((function(e){e.search&&t++})),t},searchFlag:function(){return!!this.crud.$scopedSlots.search||0!==this.searchLen}},methods:{initFun:function(){var t=this;["searchReset","searchChange"].forEach((function(e){return t.crud[e]=t[e]}))},getSlotName:function(t){return t.replace("Search","")},handleChange:function(){this.crud.$emit("update:search",this.searchForm)},searchChange:function(t,e){this.crud.$emit("search-change",Object(P.i)(this.deepClone(t)),e)},resetChange:function(){this.crud.$emit("search-reset",this.searchForm)},searchReset:function(){this.$refs.form.resetForm()},handleSearchShow:function(){this.searchShow=!this.searchShow},dataFormat:function(){var t=this.crud.option;this.searchShow=this.vaildData(t.searchShow,S.searchShow)}}}),B=Object(l.a)(T,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-card",{directives:[{name:"show",rawName:"v-show",value:t.searchShow&&t.searchFlag,expression:"searchShow && searchFlag"}],class:t.b(),attrs:{shadow:t.crud.isCard}},[t._t("search",null,{row:t.searchForm,search:t.searchForm,size:t.crud.controlSize}),t._v(" "),t.searchShow?n("avue-form",{ref:"form",attrs:{option:t.option},on:{submit:t.searchChange,change:t.handleChange,"reset-change":t.resetChange},scopedSlots:t._u([{key:"menuForm",fn:function(e){return[t._t("searchMenu",null,null,Object.assign(e,{search:t.searchForm,row:t.searchForm})),t._v(" "),t.isSearchIcon?[!1===t.show?n("el-button",{attrs:{type:"text",icon:"el-icon-arrow-down"},on:{click:function(e){t.show=!0}}},[t._v(t._s(t.t("crud.open")))]):t._e(),t._v(" "),!0===t.show?n("el-button",{attrs:{type:"text",icon:"el-icon-arrow-up"},on:{click:function(e){t.show=!1}}},[t._v(t._s(t.t("crud.shrink")))]):t._e()]:t._e()]}},t._l(t.crud.searchSlot,(function(e){return{key:t.getSlotName(e),fn:function(n){return[t._t(e,null,null,Object.assign(n,{search:t.searchForm,row:t.searchForm}))]}}}))],null,!0),model:{value:t.searchForm,callback:function(e){t.searchForm=e},expression:"searchForm"}}):t._e()],2)}),[],!1,null,null,null).exports,A=n(17),M=n(3),L=n(8),I=n(14);function F(t){return(F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function N(t){return function(t){if(Array.isArray(t))return z(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return z(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return z(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:M.g;return this.validatenull(t)?[]:Array.isArray(t)?t:t.split(e)},handleDetail:function(t,e){var n=t[e.prop],i=e.parentProp?(this.crud.cascaderDIC[t.$index]||{})[e.prop]:this.crud.DIC[e.prop];return n=Object(A.a)(t,e,this.crud.tableOption,i),this.validatenull(i)||!0===this.crud.tableOption.filterDic||(t["$"+e.prop]=n),n},getImgList:function(t,e){var n=(e.propsHttp||{}).home||"",i=(e.props||{}).value||M.e.value,o=this.handleDetail(t,e);if(this.validatenull(o))return[];if("picture-img"==e.listType)return[n+o];var a=this.corArray(this.deepClone(o),e.separator);return a.forEach((function(t,e){a[e]=n+("object"===F(t)?t[i]:t)})),a}}},H=Object(l.a)(R,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.getColumnProp(t.column,"hide")?n("el-table-column",{key:t.column.prop,attrs:{prop:t.column.prop,label:t.column.label,"filter-placement":"bottom-end",filters:t.getColumnProp(t.column,"filters"),"filter-method":t.getColumnProp(t.column,"filterMethod")?t.handleFiltersMethod:void 0,"filter-multiple":t.vaildData(t.column.filterMultiple,!0),"show-overflow-tooltip":t.column.overHidden,"min-width":t.column.minWidth,sortable:t.getColumnProp(t.column,"sortable"),"render-header":t.column.renderHeader,align:t.column.align||t.crud.tableOption.align,"header-align":t.column.headerAlign||t.crud.tableOption.headerAlign,width:t.getColumnProp(t.column,"width"),fixed:t.getColumnProp(t.column,"fixed")},scopedSlots:t._u([{key:"header",fn:function(e){var i=e.$index;return[t.crud.getSlotName(t.column,"H",t.crud.$scopedSlots)?t._t(t.crud.getSlotName(t.column,"H"),null,null,{column:t.column,$index:i}):n("span",[t._v(t._s(t.column.label))])]}},{key:"default",fn:function(e){var i=e.row,o=e.$index;return[i.$cellEdit&&t.column.cell?n("el-form-item",{attrs:{prop:t.crud.isTree?"":"list."+o+"."+t.column.prop,label:t.vaildLabel(t.column,i," "),"label-width":t.vaildLabel(t.column,i,"1px"),rules:t.column.rules}},[n("el-tooltip",{attrs:{content:(t.crud.listError["list."+o+"."+t.column.prop]||{}).msg,disabled:!(t.crud.listError["list."+o+"."+t.column.prop]||{}).valid,placement:"top"}},[t.crud.getSlotName(t.column,"F",t.crud.$scopedSlots)?t._t(t.crud.getSlotName(t.column,"F"),null,null,{row:i,dic:t.crud.DIC[t.column.prop],size:t.crud.isMediumSize,index:o,disabled:t.crud.btnDisabledList[o],label:t.handleDetail(i,t.column),$cell:i.$cellEdit}):n("form-temp",t._b({attrs:{column:t.column,size:t.crud.isMediumSize,dic:(t.crud.cascaderDIC[o]||{})[t.column.prop]||t.crud.DIC[t.column.prop],props:t.column.props||t.crud.tableOption.props,readonly:t.column.readonly,disabled:t.crud.disabled||t.crud.tableOption.disabled||t.column.disabled||t.crud.btnDisabledList[o],clearable:t.vaildData(t.column.clearable,!1),"column-slot":t.crud.mainSlot},on:{change:function(e){return t.columnChange(o,i,t.column)}},scopedSlots:t._u([t._l(t.crud.mainSlot,(function(e){return{key:e,fn:function(n){return[t._t(e,null,null,n)]}}}))],null,!0),model:{value:i[t.column.prop],callback:function(e){t.$set(i,t.column.prop,e)},expression:"row[column.prop]"}},"form-temp",t.$uploadFun(t.column,t.crud),!1))],2)],1):t.crud.$scopedSlots[t.column.prop]?t._t(t.column.prop,null,{row:i,index:o,dic:t.crud.DIC[t.column.prop],size:t.crud.isMediumSize,label:t.handleDetail(i,t.column)}):[["img","upload"].includes(t.column.type)?n("span",[n("div",{staticClass:"avue-crud__img"},t._l(t.getImgList(i,t.column),(function(e,o){return n(t.getIsVideo(e),{key:o,tag:"component",attrs:{src:e},on:{click:function(e){e.stopPropagation(),t.openImg(t.getImgList(i,t.column),o)}}})})),1)]):"url"===t.column.type?n("span",t._l(t.corArray(i[t.column.prop],t.column.separator),(function(e,i){return n("el-link",{key:i,attrs:{type:"primary",href:e,target:t.column.target||"_blank"}},[t._v(t._s(e))])})),1):"rate"===t.column.type?n("span",[n("avue-rate",{attrs:{disabled:""},model:{value:i[t.column.prop],callback:function(e){t.$set(i,t.column.prop,e)},expression:"row[column.prop]"}})],1):"color"===t.column.type?n("i",{staticClass:"avue-crud__color",style:{backgroundColor:i[t.column.prop]}}):"icon"===t.column.type?n("i",{staticClass:"avue-crud__icon",class:i[t.column.prop]}):t.column.html?n("span",{domProps:{innerHTML:t._s(t.handleDetail(i,t.column))}}):n("span",{domProps:{textContent:t._s(t.handleDetail(i,t.column))}})]]}}],null,!0)}):t._e()}),[],!1,null,null,null).exports,V={name:"column-dynamic",components:{columnSlot:H},inject:["dynamic","crud"],props:{columnOption:Object},created:function(){var t=this,e=["getColumnProp","handleFiltersMethod","handleFilters"];Object.keys(this.dynamic).forEach((function(n){e.includes(n)&&(t[n]=t.dynamic[n])}))}},U=Object(l.a)(V,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.getColumnProp(t.columnOption,"hide")?n("el-table-column",{key:t.columnOption.prop,attrs:{prop:t.columnOption.prop,label:t.columnOption.label,"filter-placement":"bottom-end",filters:t.getColumnProp(t.columnOption,"filters"),"filter-method":t.getColumnProp(t.columnOption,"filterMethod")?t.handleFiltersMethod:void 0,"filter-multiple":t.vaildData(t.columnOption.filterMultiple,!0),"show-overflow-tooltip":t.columnOption.overHidden,"min-width":t.columnOption.minWidth,sortable:t.getColumnProp(t.columnOption,"sortable"),"render-header":t.columnOption.renderHeader,align:t.columnOption.align||t.crud.tableOption.align,"header-align":t.columnOption.headerAlign||t.crud.tableOption.headerAlign,width:t.getColumnProp(t.columnOption,"width"),fixed:t.getColumnProp(t.columnOption,"fixed")}},[t._l(t.columnOption.children,(function(e){return[e.children&&e.children.length>0?n("column-dynamic",{key:e.label,attrs:{columnOption:e},scopedSlots:t._u([t._l(t.crud.mainSlot,(function(e){return{key:e,fn:function(n){return[t._t(e,null,null,n)]}}}))],null,!0)}):n("column-slot",{attrs:{column:e,"column-option":t.columnOption.children},scopedSlots:t._u([t._l(t.crud.mainSlot,(function(e){return{key:e,fn:function(n){return[t._t(e,null,null,n)]}}}))],null,!0)})]}))],2):t._e()}),[],!1,null,null,null).exports;function W(t){return function(t){if(Array.isArray(t))return q(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return q(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return q(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function q(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n0?n("column-dynamic",{key:e.label,attrs:{columnOption:e},scopedSlots:t._u([t._l(t.crud.mainSlot,(function(e){return{key:e,fn:function(n){return[t._t(e,null,null,n)]}}}))],null,!0)}):n("column-slot",{attrs:{column:e,"column-option":t.columnOption},scopedSlots:t._u([t._l(t.crud.mainSlot,(function(e){return{key:e,fn:function(n){return[t._t(e,null,null,n)]}}}))],null,!0)})]})),t._v(" "),t._t("footer")],2)}),[],!1,null,null,null).exports,G=Object(i.a)({name:"crud",mixins:[$.a],directives:{permission:k},inject:["crud"],data:function(){return{dateCreate:!1,pickerOptions:{shortcuts:[{text:"今日",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.getTime()),t.$emit("pick",[n,e])}},{text:"昨日",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.getTime()-864e5),t.$emit("pick",[n,e])}},{text:"最近一周",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.getTime()-6048e5),t.$emit("pick",[n,e])}},{text:"最近一个月",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.getTime()-2592e6),t.$emit("pick",[n,e])}},{text:"最近三个月",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.getTime()-7776e6),t.$emit("pick",[n,e])}}]},config:S}},created:function(){this.initFun()},methods:{dateChange:function(t){this.dateCreate?this.crud.$emit("date-change",t):this.dateCreate=!0},initFun:function(){this.vaildData=P.y,this.crud.rowExcel=this.rowExcel,this.crud.rowPrint=this.rowPrint},rowExcel:function(){this.crud.$refs.dialogExcel.handleShow()},rowPrint:function(){this.$Print(this.crud.$refs.table)}}}),J=Object(l.a)(G,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.b("menu")},[n("div",{class:t.b("left")},[t.vaildData(t.crud.tableOption.addBtn,t.config.addBtn)?n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("addBtn"),expression:"crud.getPermission('addBtn')"}],attrs:{type:"primary",icon:t.crud.getBtnIcon("addBtn"),size:t.crud.isMediumSize},on:{click:t.crud.rowAdd}},[t.crud.isIconMenu?t._e():[t._v("\n "+t._s(t.crud.menuIcon("addBtn"))+"\n ")]],2):t._e(),t._v(" "),t.vaildData(t.crud.tableOption.addRowBtn,t.config.addRowBtn)?n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("addRowBtn"),expression:"crud.getPermission('addRowBtn')"}],attrs:{type:"primary",icon:t.crud.getBtnIcon("addBtn"),size:t.crud.isMediumSize},on:{click:t.crud.rowCellAdd}},[t.crud.isIconMenu?t._e():[t._v("\n "+t._s(t.crud.menuIcon("addBtn"))+"\n ")]],2):t._e(),t._v(" "),t._t("menuLeft",null,{size:t.crud.isMediumSize})],2),t._v(" "),n("div",{class:t.b("right")},[t.vaildData(t.crud.tableOption.dateBtn,t.config.dateBtn)?n("avue-date",{staticStyle:{display:"inline-block","margin-right":"20px"},attrs:{type:"datetimerange","value-format":"yyyy-MM-dd HH:mm:ss",format:"yyyy-MM-dd HH:mm:ss",pickerOptions:t.pickerOptions,size:t.crud.isMediumSize},on:{change:t.dateChange}}):t._e(),t._v(" "),t._t("menuRight",null,{size:t.crud.isMediumSize}),t._v(" "),t.vaildData(t.crud.tableOption.excelBtn,t.config.excelBtn)?n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("excelBtn"),expression:"crud.getPermission('excelBtn')"}],attrs:{icon:t.crud.getBtnIcon("excelBtn"),circle:"",size:t.crud.isMediumSize},on:{click:t.rowExcel}}):t._e(),t._v(" "),t.vaildData(t.crud.tableOption.printBtn,t.config.printBtn)?n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("printBtn"),expression:"crud.getPermission('printBtn')"}],attrs:{icon:t.crud.getBtnIcon("printBtn"),circle:"",size:t.crud.isMediumSize},on:{click:t.rowPrint}}):t._e(),t._v(" "),t.vaildData(t.crud.tableOption.refreshBtn,t.config.refreshBtn)?n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("refreshBtn"),expression:"crud.getPermission('refreshBtn')"}],attrs:{icon:t.crud.getBtnIcon("refreshBtn"),circle:"",size:t.crud.isMediumSize},on:{click:t.crud.refreshChange}}):t._e(),t._v(" "),t.vaildData(t.crud.tableOption.columnBtn,t.config.columnBtn)?n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("columnBtn"),expression:"crud.getPermission('columnBtn')"}],attrs:{icon:t.crud.getBtnIcon("columnBtn"),circle:"",size:t.crud.isMediumSize},on:{click:function(e){t.crud.$refs.dialogColumn.columnBox=!0}}}):t._e(),t._v(" "),(t.crud.$refs.headerSearch||{}).searchFlag&&t.vaildData(t.crud.tableOption.searchShowBtn,!0)?n("el-button",{attrs:{icon:t.crud.getBtnIcon("searchBtn"),circle:"",size:t.crud.isMediumSize},on:{click:function(e){return t.crud.$refs.headerSearch.handleSearchShow()}}}):t._e(),t._v(" "),t.vaildData(t.crud.tableOption.filterBtn,t.config.filterBtn)?n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("filterBtn"),expression:"crud.getPermission('filterBtn')"}],attrs:{icon:t.crud.getBtnIcon("filterBtn"),circle:"",size:t.crud.isMediumSize},on:{click:function(e){t.crud.$refs.dialogFilter.box=!0}}}):t._e()],2)])}),[],!1,null,null,null).exports,Q=Object(i.a)({name:"crud",mixins:[$.a],inject:["crud"],data:function(){return{columnBox:!1,bindList:{}}},computed:{defaultColumn:function(){return[{label:this.t("crud.column.hide"),prop:"hide"},{label:this.t("crud.column.fixed"),prop:"fixed"},{label:this.t("crud.column.filters"),prop:"filters"},{label:this.t("crud.column.sortable"),prop:"sortable"},{label:this.t("crud.column.index"),prop:"index",hide:!0},{label:this.t("crud.column.width"),prop:"width",hide:!0}]},list:function(){var t=[];return this.crud.propOption.forEach((function(e){0!=e.showColumn&&t.push(e)})),t}},methods:{init:function(){var t=this;this.crud.propOption.forEach((function(e){!0!==t.bindList[e.prop]&&(t.defaultColumn.forEach((function(n){["hide","filters"].includes(n.prop)&&t.$watch("crud.objectOption.".concat(e.prop,".").concat(n.prop),(function(){return t.crud.refreshTable()}))})),t.bindList[e.prop]=!0)})),this.rowDrop()},rowDrop:function(){var t=this,e=this.$refs.table.$el.querySelectorAll(S.dropRowClass)[0];this.crud.tableDrop("column",e,(function(e){var n=e.oldIndex,i=e.newIndex;t.crud.headerSort(n,i),t.crud.refreshTable((function(){return t.rowDrop()}))}))}}}),Z=Object(l.a)(Q,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-drawer",{staticClass:"avue-dialog",class:[t.b("dialog"),t.b("column")],attrs:{"lock-scroll":"","modal-append-to-body":!1,"append-to-body":"",title:t.t("crud.showTitle"),size:t.crud.isMobile?"100%":"40%",visible:t.columnBox},on:{opened:t.init,"update:visible":function(e){t.columnBox=e}}},[n("el-table",{key:Math.random(),ref:"table",attrs:{data:t.list,height:"100%",size:"small",border:""}},[n("el-table-column",{key:"label",attrs:{align:"center",width:"100","header-align":"center",prop:"label",label:t.t("crud.column.name")}}),t._v(" "),t._l(t.defaultColumn,(function(e,i){return[1!=e.hide?n("el-table-column",{key:e.prop,attrs:{prop:e.prop,align:"center","header-align":"center",label:e.label},scopedSlots:t._u([{key:"default",fn:function(i){var o=i.row;return[n("el-checkbox",{model:{value:t.crud.objectOption[o.prop][e.prop],callback:function(n){t.$set(t.crud.objectOption[o.prop],e.prop,n)},expression:"crud.objectOption[row.prop][item.prop]"}})]}}],null,!0)}):t._e()]}))],2)],1)}),[],!1,null,null,null).exports,tt=Object(i.a)({name:"crud",mixins:[$.a],inject:["crud"],components:{formTemp:I.a},data:function(){return{box:!1,formDefault:{},list:[],columnList:[],dateList:D.dateList,columnProps:{value:"prop"}}},computed:{symbolDic:function(){return[{label:"=",value:"="},{label:"≠",value:"≠"},{label:"like",value:"like"},{label:">",value:">"},{label:"≥",value:"≥"},{label:"<",value:"<"},{label:"≤",value:"≤"},{label:"∈",value:"∈"}]},result:function(){var t=this,e=[];return this.list.forEach((function(n){t.validatenull(n.value)||e.push([n.text,n.symbol,n.value])})),e},columnObj:function(){return this.columnOption[0]},columnOption:function(){return this.crud.propOption.filter((function(t){return!1!==t.filter&&!1!==t.showColumn}))}},created:function(){this.getSearchType=D.g,this.formDefault=Object(D.d)(this.columnOption).tableForm},methods:{getColumnByIndex:function(t,e){var n=this.deepClone(t);return n.type=Object(D.g)(n),n.multiple=["checkbox"].includes(t.type),n},handleDelete:function(t){this.list.splice(t,1),this.columnList.splice(t,1)},handleClear:function(){this.list=[],this.columnList=[]},handleValueClear:function(){var t=this;this.list.forEach((function(e,n){t.$set(t.list[n],"value",t.formDefault[e.text])}))},handleGetColumn:function(t){return this.columnOption.find((function(e){return e.prop===t}))},handleSubmit:function(){this.list.push({}),this.list.splice(this.list.length-1,1),this.crud.$emit("filter",this.result),this.box=!1},handleChange:function(t,e){var n=this.handleGetColumn(t);this.columnList[e]=n,this.list[e].value=this.formDefault[t]},handleAdd:function(){this.list.length;var t=this.columnObj.prop,e=this.handleGetColumn(t);this.columnList.push(e),this.list.push({text:t,value:this.formDefault[t],symbol:this.symbolDic[0].value})}}}),et=Object(l.a)(tt,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-drawer",{staticClass:"avue-dialog",class:[t.b("dialog"),t.b("filter")],attrs:{"lock-scroll":"","modal-append-to-body":!1,"append-to-body":"",title:t.t("crud.filterTitle"),size:t.crud.isMobile?"100%":"60%",visible:t.box},on:{"update:visible":function(e){t.box=e}}},[n("el-row",{attrs:{span:24}},[n("div",{class:t.b("filter-menu")},[n("el-button-group",[n("el-button",{attrs:{type:"primary",size:t.crud.isMediumSize},on:{click:t.handleAdd}},[t._v(t._s(t.t("crud.filter.addBtn")))]),t._v(" "),n("el-button",{attrs:{type:"primary",size:t.crud.isMediumSize},on:{click:t.handleClear}},[t._v(t._s(t.t("crud.filter.resetBtn")))]),t._v(" "),n("el-button",{attrs:{type:"primary",size:t.crud.isMediumSize},on:{click:t.handleValueClear}},[t._v(t._s(t.t("crud.filter.clearBtn")))])],1)],1),t._v(" "),t._l(t.list,(function(e,i){return n("el-col",{key:i,class:t.b("filter-item"),attrs:{md:12,xs:24,sm:12}},[n("avue-select",{class:t.b("filter-label"),attrs:{dic:t.columnOption,props:t.columnProps,clearable:!1,size:t.crud.isMediumSize},on:{change:function(n){return t.handleChange(e.text,i)}},model:{value:e.text,callback:function(n){t.$set(e,"text",n)},expression:"column.text"}}),t._v(" "),n("avue-select",{class:t.b("filter-symbol"),attrs:{dic:t.symbolDic,clearable:!1,size:t.crud.isMediumSize},model:{value:e.symbol,callback:function(n){t.$set(e,"symbol",n)},expression:"column.symbol"}}),t._v(" "),n("form-temp",{class:t.b("filter-value"),attrs:{column:t.getColumnByIndex(t.columnList[i]),size:t.crud.isMediumSize,dic:t.crud.DIC[t.columnList[i].prop],props:t.columnList[i].props||t.crud.tableOption.props},model:{value:e.value,callback:function(n){t.$set(e,"value",n)},expression:"column.value"}}),t._v(" "),n("el-button",{class:t.b("filter-icon"),attrs:{type:"danger",size:"mini",circle:"",icon:"el-icon-minus"},on:{click:function(e){return t.handleDelete(i)}}})],1)})),t._v(" "),n("el-col",{staticClass:"avue-form__menu avue-form__menu--right",attrs:{span:24}},[n("el-button",{attrs:{type:"primary",size:t.crud.isMediumSize},on:{click:t.handleSubmit}},[t._v(t._s(t.t("crud.filter.submitBtn")))]),t._v(" "),n("el-button",{attrs:{size:t.crud.isMediumSize},on:{click:function(e){t.box=!1}}},[t._v(t._s(t.t("crud.filter.cancelBtn")))])],1)],2)],1)}),[],!1,null,null,null).exports,nt=Object(i.a)({name:"crud",mixins:[$.a],inject:["crud"],data:function(){return{disabled:!1,config:S,boxType:"",fullscreen:!1,size:null,boxVisible:!1}},props:{value:{type:Object,default:function(){return{}}}},computed:{option:function(){var t=this,e=this.deepClone(this.crud.tableOption);return e.boxType=this.boxType,e.column=this.deepClone(this.crud.propOption),e.menuBtn=!1,this.isAdd?(e.submitBtn=e.saveBtn,e.submitText=this.crud.menuIcon("saveBtn"),e.submitIcon=this.crud.getBtnIcon("saveBtn")):this.isEdit?(e.submitBtn=e.updateBtn,e.submitText=this.crud.menuIcon("updateBtn"),e.submitIcon=this.crud.getBtnIcon("updateBtn")):this.isView&&(e.detail=!0),e.emptyBtn=e.cancelBtn,e.emptyText=this.crud.menuIcon("cancelBtn"),e.emptyIcon=this.crud.getBtnIcon("cancelBtn"),this.crud.isGroup||(e.dicFlag=!1,e.dicData=this.crud.DIC),this.validatenull(e.dicFlag)||e.column.forEach((function(n){n.boxType=t.boxType,n.dicFlag=n.dicFlag||e.dicFlag})),e},isView:function(){return"view"===this.boxType},isAdd:function(){return"add"===this.boxType},isEdit:function(){return"edit"===this.boxType},direction:function(){return this.crud.tableOption.dialogDirection},width:function(){return this.vaildData(this.crud.tableOption.dialogWidth+"",this.crud.isMobile?"100%":S.dialogWidth+"")},dialogType:function(){return this.isDrawer?"elDrawer":"elDialog"},dialogTop:function(){return this.isDrawer||this.fullscreen?"0":this.crud.tableOption.dialogTop},isDrawer:function(){return"drawer"===this.crud.tableOption.dialogType},isSize:function(){var t=this.size?this.size:this.width;return this.isDrawer?{size:t}:{}},dialogTitle:function(){var t="".concat(this.boxType);if(!this.validatenull(this.boxType))return this.crud.tableOption[t+"Title"]||this.t("crud.".concat(t,"Title"))},dialogMenuPosition:function(){return this.crud.option.dialogMenuPosition||"right"}},methods:{submit:function(){this.$refs.tableForm.submit()},reset:function(){this.$refs.tableForm.resetForm()},getSlotName:function(t){return t.replace("Form","")},handleOpened:function(){var t=this;this.$nextTick((function(){["clearValidate","validate","resetForm"].forEach((function(e){t.crud[e]=t.$refs.tableForm[e]}))}))},handleChange:function(){this.crud.$emit("input",this.crud.tableForm),this.crud.$emit("change",this.crud.tableForm)},handleTabClick:function(t,e){this.crud.$emit("tab-click",t,e)},handleFullScreen:function(){this.isDrawer&&(this.validatenull(this.size)?this.size="100%":this.size=""),this.fullscreen?this.fullscreen=!1:this.fullscreen=!0},handleError:function(t){this.crud.$emit("error",t)},handleSubmit:function(t,e){this.isAdd?this.rowSave(e):this.isEdit&&this.rowUpdate(e)},rowSave:function(t){this.crud.$emit("row-save",Object(P.i)(this.deepClone(this.crud.tableForm)),this.closeDialog,t)},rowUpdate:function(t){this.crud.$emit("row-update",Object(P.i)(this.deepClone(this.crud.tableForm)),this.crud.tableIndex,this.closeDialog,t)},closeDialog:function(t){var e=this;(t=this.deepClone(t))&&function(){if(e.isEdit){var n=e.crud.findData(t[e.crud.rowKey]),i=n.parentList,o=n.index;i&&(i.splice(o,1),i.splice(o,0,t))}else if(e.isAdd){var a=e.crud.findData(t[e.crud.rowParentKey]).item;a?(a[e.crud.childrenKey]||(a[e.crud.childrenKey]=[],a[e.crud.hasChildrenKey]=!0),a[e.crud.childrenKey].push(t)):e.crud.list.push(t)}}(),this.hide()},hide:function(t){var e=this,n=function(){t&&t(),e.crud.tableIndex=-1,e.boxVisible=!1,Object.keys(e.crud.tableForm).forEach((function(t){e.$delete(e.crud.tableForm,t)}))};"function"==typeof this.crud.beforeClose?this.crud.beforeClose(n,this.boxType):n()},show:function(t){var e=this;this.boxType=t;var n=function(){e.fullscreen=e.crud.tableOption.dialogFullscreen,e.boxVisible=!0};"function"==typeof this.crud.beforeOpen?this.crud.beforeOpen(n,this.boxType):n()}}}),it=Object(l.a)(nt,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.dialogType,t._b({directives:[{name:"dialogDrag",rawName:"v-dialogDrag",value:t.vaildData(t.crud.tableOption.dialogDrag,t.config.dialogDrag),expression:"vaildData(crud.tableOption.dialogDrag,config.dialogDrag)"}],tag:"component",class:["avue-dialog",t.b("dialog"),{"avue-dialog--fullscreen":t.fullscreen}],attrs:{"lock-scroll":"","destroy-on-close":t.crud.tableOption.dialogDestroy,wrapperClosable:t.crud.tableOption.dialogClickModal,direction:t.direction,"custom-class":t.crud.tableOption.dialogCustomClass,"modal-append-to-body":"","append-to-body":"",top:t.dialogTop,title:t.dialogTitle,"close-on-press-escape":t.crud.tableOption.dialogEscape,"close-on-click-modal":t.vaildData(t.crud.tableOption.dialogClickModal,!1),modal:t.crud.tableOption.dialogModal,"show-close":t.crud.tableOption.dialogCloseBtn,visible:t.boxVisible,width:t.setPx(t.width),"before-close":t.hide},on:{"update:visible":function(e){t.boxVisible=e},opened:t.handleOpened}},"component",t.isSize,!1),[n("div",{class:t.b("dialog__header"),attrs:{slot:"title"},slot:"title"},[n("span",{staticClass:"el-dialog__title"},[t._v(t._s(t.dialogTitle))]),t._v(" "),n("div",{class:t.b("dialog__menu")},[n("i",{staticClass:"el-dialog__close",class:t.fullscreen?"el-icon-news":"el-icon-full-screen",on:{click:t.handleFullScreen}})])]),t._v(" "),t.boxVisible?n("avue-form",t._b({ref:"tableForm",attrs:{status:t.disabled,option:t.option},on:{"update:status":function(e){t.disabled=e},change:t.handleChange,submit:t.handleSubmit,"reset-change":t.hide,"tab-click":t.handleTabClick,error:t.handleError},scopedSlots:t._u([t._l(t.crud.formSlot,(function(e){return{key:t.getSlotName(e),fn:function(n){return[t._t(e,null,null,Object.assign(n,{type:t.boxType}))]}}}))],null,!0),model:{value:t.crud.tableForm,callback:function(e){t.$set(t.crud,"tableForm",e)},expression:"crud.tableForm"}},"avue-form",t.$uploadFun({},t.crud),!1)):t._e(),t._v(" "),n("span",{staticClass:"avue-dialog__footer",class:"avue-dialog__footer--"+t.dialogMenuPosition},[t.vaildData(t.option.submitBtn,!0)&&!t.isView?n("el-button",{attrs:{disabled:t.disabled,size:t.crud.controlSize,icon:t.option.submitIcon,type:"primary"},on:{click:t.submit}},[t._v(t._s(t.option.submitText))]):t._e(),t._v(" "),t.vaildData(t.option.emptyBtn,!0)&&!t.isView?n("el-button",{attrs:{disabled:t.disabled,size:t.crud.controlSize,icon:t.option.emptyIcon},on:{click:t.reset}},[t._v(t._s(t.option.emptyText))]):t._e(),t._v(" "),t._t("menuForm",null,{disabled:t.disabled,size:t.crud.controlSize,type:t.boxType})],2)],1)}),[],!1,null,null,null).exports,ot={name:"crud",mixins:[$.a],inject:["crud"],data:function(){return{box:!1,form:{name:this.crud.tableOption.title}}},computed:{columnOption:function(){var t=this.deepClone(this.crud.columnOption);return t.forEach((function(t){var e=t.children;e&&!Array.isArray(e)&&delete t.children})),t},columnList:function(){if(!this.form.params)return[];if(this.form.params.includes("headers"))return this.crud.propOption;var t=[];return function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];n.forEach((function(n,i){n.children?e(n.children):t.push(n)}))}(this.columnOption),t},columns:function(){var t=this,e=this.deepClone(this.columnOption);if(!this.form.params)return[];if(this.form.params.includes("headers")){return function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];n.forEach((function(i,o){i.children?e(i.children):t.form.prop.includes(i.prop)||n.splice(o,1)}))}(e),e}var n=[];return function e(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];i.forEach((function(i,o){i.children?e(i.children):t.form.prop.includes(i.prop)&&n.push(i)}))}(e),n},option:function(){var t,e=this;return{submitBtn:!1,emptyBtn:!1,column:[{label:"文件名",prop:"name",span:24},{label:"选择数据",prop:"type",span:24,type:"select",value:0,dicData:[{label:"当前数据(当前页全部的数据)",value:0},{label:"选中的数据(当前页选中的数据)",value:1}]},{label:"选择字段",prop:"prop",type:"tree",multiple:!0,checkStrictly:!0,span:24,props:{value:"prop"},dicData:this.columnOption},{label:"参数设置",prop:"params",type:"checkbox",span:24,value:["header","data"].concat((t=[],e.crud.isHeader&&t.push("headers"),e.crud.isShowSummary&&t.push("sum"),t)),dicData:[{label:"表头",disabled:!0,value:"header"},{label:"数据源",value:"data"}].concat(function(){var t=[];return t.push({label:"复杂表头",value:"headers",disabled:!e.crud.isHeader}),t.push({label:"合计统计",value:"sum",disabled:!e.crud.isShowSummary}),t}())}]}}},watch:{columnList:function(){this.form.prop=this.columnList.map((function(t){return t.prop}))}},methods:{handleShow:function(){this.box=!0},handleSubmit:function(){this.$Export.excel({title:this.form.name,columns:this.columns,data:this.handleSum()}),this.box=!1},handleSum:function(){var t=this,e=this.crud.tableOption,n=this.crud.propOption,i=0==this.form.type?this.crud.list:this.crud.tableSelect,o=[];return this.form.params.includes("data")&&i.forEach((function(e){var i=t.deepClone(e);n.forEach((function(e){e.bind&&(i[e.prop]=Object(P.n)(i,e.bind)),t.validatenull(i["$"+e.prop])||(i[e.prop]=i["$"+e.prop])})),o.push(i)})),this.form.params.includes("sum")&&e.showSummary&&o.push(this.crud.sumsList),o}}},at=Object(l.a)(ot,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-dialog",{staticClass:"avue-dialog",attrs:{title:t.t("crud.excelBtn"),"lock-scroll":"","modal-append-to-body":!1,"append-to-body":"",visible:t.box,width:t.crud.isMobile?"100%":"30%"},on:{"update:visible":function(e){t.box=e}}},[n("avue-form",{attrs:{option:t.option},model:{value:t.form,callback:function(e){t.form=e},expression:"form"}}),t._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary",size:t.crud.isMediumSize},on:{click:t.handleSubmit}},[t._v(t._s(t.t("crud.filter.submitBtn")))]),t._v(" "),n("el-button",{attrs:{size:t.crud.isMediumSize},on:{click:function(e){t.box=!1}}},[t._v(t._s(t.t("crud.filter.cancelBtn")))])],1)],1)}),[],!1,null,null,null).exports,rt=Object(i.a)({name:"crud",data:function(){return{config:S}},mixins:[$.a],inject:["crud"],directives:{permission:k},computed:{menuType:function(){return this.crud.tableOption.menuType||this.$AVUE.menuType||"button"},isIconMenu:function(){return"icon"===this.menuType},isTextMenu:function(){return"text"===this.menuType},isMenu:function(){return"menu"===this.menuType}},methods:{menuText:function(t){return["text","menu"].includes(this.menuType)?"text":t}}}),lt=Object(l.a)(rt,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.vaildData(t.crud.tableOption.menu,t.config.menu)&&t.crud.getPermission("menu")?n("el-table-column",{key:"menu",class:t.b("btn"),attrs:{prop:"menu",fixed:t.vaildData(t.crud.tableOption.menuFixed,t.config.menuFixed),label:t.crud.tableOption.menuTitle||t.t("crud.menu"),align:t.crud.tableOption.menuAlign||t.config.menuAlign,"header-align":t.crud.tableOption.menuHeaderAlign||t.config.menuHeaderAlign,width:t.crud.isMobile?t.crud.tableOption.menuXsWidth||t.config.menuXsWidth:t.crud.tableOption.menuWidth||t.config.menuWidth},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row,o=e.$index;return[t.isMenu?n("el-dropdown",{attrs:{size:t.crud.isMediumSize}},[n("el-button",{attrs:{type:"text",size:t.crud.isMediumSize}},[t._v("\n "+t._s(t.crud.tableOption.menuBtnTitle||t.t("crud.menuBtn"))+"\n "),n("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t._v(" "),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t.vaildData(t.crud.tableOption.viewBtn,t.config.viewBtn)?n("el-dropdown-item",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("viewBtn",i,o),expression:"crud.getPermission('viewBtn',row,$index)"}],attrs:{icon:t.crud.getBtnIcon("viewBtn")},nativeOn:{click:function(e){return t.crud.rowView(i,o)}}},[t._v(t._s(t.crud.menuIcon("viewBtn")))]):t._e(),t._v(" "),t.vaildData(t.crud.tableOption.editBtn,t.config.editBtn)?n("el-dropdown-item",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("editBtn",i,o),expression:"crud.getPermission('editBtn',row,$index)"}],attrs:{icon:t.crud.getBtnIcon("editBtn")},nativeOn:{click:function(e){return t.crud.rowEdit(i,o)}}},[t._v(t._s(t.crud.menuIcon("editBtn")))]):t._e(),t._v(" "),t.vaildData(t.crud.tableOption.copyBtn,t.config.copyBtn)?n("el-dropdown-item",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("copyBtn",i,o),expression:"crud.getPermission('copyBtn',row,$index)"}],attrs:{icon:t.crud.getBtnIcon("copyBtn")},nativeOn:{click:function(e){return t.crud.rowCopy(i)}}},[t._v(t._s(t.crud.menuIcon("copyBtn")))]):t._e(),t._v(" "),t.vaildData(t.crud.tableOption.delBtn,t.config.delBtn)?n("el-dropdown-item",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("delBtn",i,o),expression:"crud.getPermission('delBtn',row,$index)"}],attrs:{icon:t.crud.getBtnIcon("delBtn")},nativeOn:{click:function(e){return t.crud.rowDel(i,o)}}},[t._v(t._s(t.crud.menuIcon("delBtn")))]):t._e(),t._v(" "),t._t("menuBtn",null,{row:i,type:t.menuText("primary"),disabled:t.crud.btnDisabled,size:t.crud.isMediumSize,index:o})],2)],1):["button","text","icon"].includes(t.menuType)?[t.vaildData(t.crud.tableOption.cellBtn,t.config.cellBtn)?[t.vaildData(t.crud.tableOption.editBtn,t.config.editBtn)&&!i.$cellEdit?n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("editBtn",i,o),expression:"crud.getPermission('editBtn',row,$index)"}],attrs:{type:t.menuText("primary"),icon:t.crud.getBtnIcon("editBtn"),size:t.crud.isMediumSize,disabled:t.crud.btnDisabledList[o]},on:{click:function(e){return e.stopPropagation(),t.crud.rowCell(i,o)}}},[t.isIconMenu?t._e():[t._v("\n "+t._s(t.crud.menuIcon("editBtn"))+"\n ")]],2):t.vaildData(t.crud.tableOption.saveBtn,t.config.saveBtn)&&i.$cellEdit?n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("saveBtn",i,o),expression:"crud.getPermission('saveBtn',row,$index)"}],attrs:{type:t.menuText("primary"),icon:t.crud.getBtnIcon("saveBtn"),size:t.crud.isMediumSize,disabled:t.crud.btnDisabledList[o]},on:{click:function(e){return e.stopPropagation(),t.crud.rowCell(i,o)}}},[t.isIconMenu?t._e():[t._v("\n "+t._s(t.crud.menuIcon("saveBtn"))+"\n ")]],2):t._e(),t._v(" "),i.$cellEdit?n("el-button",{attrs:{type:t.menuText("danger"),icon:t.crud.getBtnIcon("cancelBtn"),size:t.crud.isMediumSize,disabled:t.crud.btnDisabledList[o]},on:{click:function(e){return e.stopPropagation(),t.crud.rowCancel(i,o)}}},[t.isIconMenu?t._e():[t._v("\n "+t._s(t.crud.menuIcon("cancelBtn"))+"\n ")]],2):t._e()]:t._e(),t._v(" "),t.vaildData(t.crud.tableOption.viewBtn,t.config.viewBtn)?n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("viewBtn",i,o),expression:"crud.getPermission('viewBtn',row,$index)"}],attrs:{type:t.menuText("success"),icon:t.crud.getBtnIcon("viewBtn"),size:t.crud.isMediumSize,disabled:t.btnDisabled},on:{click:function(e){return e.stopPropagation(),t.crud.rowView(i,o)}}},[t.isIconMenu?t._e():[t._v("\n "+t._s(t.crud.menuIcon("viewBtn"))+"\n ")]],2):t._e(),t._v(" "),t.vaildData(t.crud.tableOption.editBtn,t.config.editBtn)&&!t.crud.tableOption.cellBtn?n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("editBtn",i,o),expression:"crud.getPermission('editBtn',row,$index)"}],attrs:{type:t.menuText("primary"),icon:t.crud.getBtnIcon("editBtn"),size:t.crud.isMediumSize,disabled:t.btnDisabled},on:{click:function(e){return e.stopPropagation(),t.crud.rowEdit(i,o)}}},[t.isIconMenu?t._e():[t._v("\n "+t._s(t.crud.menuIcon("editBtn"))+"\n ")]],2):t._e(),t._v(" "),t.vaildData(t.crud.tableOption.copyBtn,t.config.copyBtn)?n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("copyBtn",i,o),expression:"crud.getPermission('copyBtn',row,$index)"}],attrs:{type:t.menuText("primary"),icon:t.crud.getBtnIcon("copyBtn"),size:t.crud.isMediumSize,disabled:t.btnDisabled},on:{click:function(e){return e.stopPropagation(),t.crud.rowCopy(i)}}},[t.isIconMenu?t._e():[t._v("\n "+t._s(t.crud.menuIcon("copyBtn"))+"\n ")]],2):t._e(),t._v(" "),t.vaildData(t.crud.tableOption.delBtn,t.config.delBtn)&&!i.$cellEdit?n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.crud.getPermission("delBtn",i,o),expression:"crud.getPermission('delBtn',row,$index)"}],attrs:{type:t.menuText("danger"),icon:t.crud.getBtnIcon("delBtn"),size:t.crud.isMediumSize,disabled:t.btnDisabled},on:{click:function(e){return e.stopPropagation(),t.crud.rowDel(i,o)}}},[t.isIconMenu?t._e():[t._v("\n "+t._s(t.crud.menuIcon("delBtn"))+"\n ")]],2):t._e()]:t._e(),t._v(" "),t._t("menu",null,{row:i,type:t.menuText("primary"),disabled:t.crud.btnDisabled,size:t.crud.isMediumSize,index:o})]}}],null,!0)}):t._e()}),[],!1,null,null,null).exports,st=Object(i.a)({name:"crud",data:function(){return{config:S}},mixins:[$.a],inject:["crud"],methods:{indexMethod:function(t){return t+1+((this.crud.page.currentPage||1)-1)*(this.crud.page.pageSize||10)},setSort:function(){this.rowDrop(),this.columnDrop()},rowDrop:function(){var t=this,e=this.crud.$refs.table.$el.querySelectorAll(this.config.dropRowClass)[0];this.crud.tableDrop("row",e,(function(e){var n=e.oldIndex,i=e.newIndex,o=t.crud.list.splice(n,1)[0];t.crud.list.splice(i,0,o),t.crud.$emit("sortable-change",n,i),t.crud.refreshTable((function(){return t.rowDrop()}))}))},columnDrop:function(){var t=this,e=this.crud.$refs.table.$el.querySelector(this.config.dropColClass);this.crud.tableDrop("column",e,(function(e){t.crud.headerSort(e.oldIndex,e.newIndex),t.columnDrop()}))}}}),ct=Object(l.a)(st,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-table-column",{attrs:{width:"1px"}}),t._v(" "),t.crud.tableOption.expand?n("el-table-column",{key:"expand",attrs:{type:"expand",width:t.crud.tableOption.expandWidth||t.config.expandWidth,fixed:t.vaildData(t.crud.tableOption.expandFixed,t.config.expandFixed),align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[t._t("expand",null,{row:n,index:n.$index})]}}],null,!0)}):t._e(),t._v(" "),t.crud.tableOption.selection?n("el-table-column",{key:"selection",attrs:{fixed:t.vaildData(t.crud.tableOption.selectionFixed,t.config.selectionFixed),type:"selection",selectable:t.crud.tableOption.selectable,"reserve-selection":t.vaildData(t.crud.tableOption.reserveSelection),width:t.crud.tableOption.selectionWidth||t.config.selectionWidth,align:"center"}}):t._e(),t._v(" "),t.vaildData(t.crud.tableOption.index)?n("el-table-column",{key:"index",attrs:{fixed:t.vaildData(t.crud.tableOption.indexFixed,t.config.indexFixed),label:t.crud.tableOption.indexLabel||t.config.indexLabel,type:"index",width:t.crud.tableOption.indexWidth||t.config.indexWidth,index:t.indexMethod,align:"center"}}):t._e()],1)}),[],!1,null,null,null).exports;function ut(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return dt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return dt(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,r=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return r=t.done,t},e:function(t){l=!0,a=t},f:function(){try{r||null==n.return||n.return()}finally{if(l)throw a}}}}function dt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:[];Array.isArray(n)&&n.forEach((function(n){t.push(n),n.children&&e(n.children)}))}(this.columnOption),t=Object(D.a)(t)},isShowSummary:function(){return this.option.showSummary},isHeader:function(){var t=!1;return this.columnOption.forEach((function(e){e.children&&(t=!0)})),t},isTree:function(){var t=!1;return this.data.forEach((function(e){e.children&&(t=!0)})),t},isCard:function(){return this.option.card?"always":"never"},expandLevel:function(){return this.parentOption.expandLevel||0},expandAll:function(){return this.parentOption.expandAll||!1},parentOption:function(){return this.tableOption||{}},columnOption:function(){return this.tableOption.column||[]},sumColumnList:function(){return this.tableOption.sumColumnList||[]},selectLen:function(){return this.tableSelect?this.tableSelect.length:0}},watch:{value:{handler:function(){this.tableForm=this.value},immediate:!0,deep:!0},list:{handler:function(){this.cellForm.list=this.list},deep:!0},data:{handler:function(){this.dataInit()},deep:!0}},props:{sortBy:Function,sortOrders:Array,sortMethod:Function,spanMethod:Function,summaryMethod:Function,rowStyle:Function,cellStyle:Function,beforeClose:Function,beforeOpen:Function,rowClassName:Function,cellClassName:Function,headerCellClassName:Function,uploadBefore:Function,uploadAfter:Function,uploadDelete:Function,uploadPreview:Function,uploadError:Function,uploadExceed:Function,permission:{type:[Function,Object],default:function(){return{}}},value:{type:Object,default:function(){return{}}},search:{type:Object,default:function(){return{}}},page:{type:Object,default:function(){return{}}},tableLoading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},data:{type:Array,required:!0,default:function(){return[]}}},methods:{handleValidate:function(t,e,n){this.listError[t]||this.$set(this.listError,t,{valid:!1,msg:""}),this.listError[t].valid=!e,this.listError[t].msg=n},getPermission:function(t,e,n){return"function"==typeof this.permission?this.permission(t,e,n):!!this.validatenull(this.permission[t])||this.permission[t]},getTableHeight:function(){var t=this;this.isAutoHeight?this.$nextTick((function(){var e=t.$refs.table,n=t.$refs.tablePage;if(e){var i=e.$el,o=n.$el.offsetHeight||20;t.tableHeight=document.documentElement.clientHeight-i.offsetTop-o-t.calcHeight}})):this.tableHeight=this.tableOption.height,this.refreshTable()},doLayout:function(){this.$refs.table.doLayout()},refreshTable:function(t){var e=this;this.reload=Math.random(),this.$nextTick((function(){e.$refs.columnDefault.setSort(),t&&t()}))},treeLoad:function(t,e,n){this.$emit("tree-load",t,e,(function(e){t.children=e,n(e)}))},menuIcon:function(t){return this.vaildData(this.tableOption[t+"Text"],this.t("crud."+t))},getBtnIcon:function(t){var e=t+"Icon";return this.tableOption[e]||S[e]},validateField:function(t){return this.$refs.dialogForm.$refs.tableForm.validateField(t)},handleGetRowKeys:function(t){return t[this.rowKey]},selectClear:function(){this.$refs.table.clearSelection()},toggleRowSelection:function(t,e){this.$refs.table.toggleRowSelection(t,e)},toggleRowExpansion:function(t,e){this.$refs.table.toggleRowExpansion(t,e)},setCurrentRow:function(t){this.$refs.table.setCurrentRow(t)},dataInit:function(){var t=this;this.list=this.data,this.list.forEach((function(e,n){e.$cellEdit&&!t.formCascaderList[n]&&(t.formCascaderList[n]=t.deepClone(e)),t.$set(e,"$index",n)}))},headerDragend:function(t,e,n,i){this.objectOption[n.property].width=t,this.$emit("header-dragend",t,e,n,i)},headerSort:function(t,e){var n=this.columnOption,i=n.splice(t,1)[0];n.splice(e,0,i),this.refreshTable()},expandChange:function(t,e){this.$emit("expand-change",t,e)},currentRowChange:function(t,e){this.$emit("current-row-change",t,e)},refreshChange:function(){this.$emit("refresh-change")},toggleSelection:function(t){var e=this;t?t.forEach((function(t){e.$refs.table.toggleRowSelection(t)})):this.$refs.table.clearSelection()},selectionChange:function(t){this.tableSelect=t,this.$emit("selection-change",this.tableSelect)},select:function(t,e){this.$emit("select",t,e)},selectAll:function(t){this.$emit("select-all",t)},filterChange:function(t){this.$emit("filter-change",t)},sortChange:function(t){this.$emit("sort-change",t)},rowDblclick:function(t,e){this.$emit("row-dblclick",t,e)},rowClick:function(t,e,n){this.$emit("row-click",t,e,n)},clearSort:function(){this.$refs.table.clearSort()},cellMouseEnter:function(t,e,n,i){this.$emit("cell-mouse-enter",t,e,n,i)},cellMouseLeave:function(t,e,n,i){this.$emit("cell-mouse-leave",t,e,n,i)},cellClick:function(t,e,n,i){this.$emit("cell-click",t,e,n,i)},headerClick:function(t,e){this.$emit("header-click",t,e)},rowContextmenu:function(t,e,n){this.$emit("row-contextmenu",t,e,n)},headerContextmenu:function(t,e){this.$emit("header-contextmenu",t,e)},cellDblclick:function(t,e,n,i){this.$emit("cell-dblclick",t,e,n,i)},rowCell:function(t,e){t.$cellEdit?this.rowCellUpdate(t,e):this.rowCellEdit(t,e)},rowCellAdd:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.list.length,i=Object(D.d)(this.propOption).tableForm;e=this.deepClone(Object.assign({$cellEdit:!0,$index:n},i,e)),this.list.push(e),this.formIndexList.push(n),setTimeout((function(){return t.$refs.columnDefault.setSort()}))},rowCancel:function(t,e){this.validatenull(t[this.rowKey])?this.list.splice(e,1):(this.formCascaderList[e].$cellEdit=!1,this.$set(this.list,e,this.formCascaderList[e]),delete this.formCascaderList[e],this.$set(this.cascaderDIC,e,this.cascaderDicList[e]),this.formIndexList.splice(this.formIndexList.indexOf(e),1))},rowCellEdit:function(t,e){var n=this;t.$cellEdit=!0,this.$set(this.list,e,t),this.formCascaderList[e]=this.deepClone(t),this.cascaderDicList[e]=this.deepClone(this.cascaderDIC[e]),setTimeout((function(){n.formIndexList.push(e)}),1e3)},validateCellForm:function(t){var e=this;return new Promise((function(t){e.$refs.cellForm.validate((function(e,n){t(n)}))}))},validateCellField:function(t){var e,n=!0,i=ut(this.$refs.cellForm.fields);try{for(i.s();!(e=i.n()).done;){var o=e.value;if(o.prop.split(".")[1]==t&&this.$refs.cellForm.validateField(o.prop,(function(t){t&&(n=!1)})),!n)break}}catch(t){i.e(t)}finally{i.f()}return n},rowCellUpdate:function(t,e){var n=this;t=this.deepClone(t);var i=function(){n.btnDisabledList[e]=!1,n.btnDisabled=!1,t.$cellEdit=!1,n.$set(n.list,e,t),delete n.formCascaderList[e]},o=function(){n.btnDisabledList[e]=!1,n.btnDisabled=!1};this.validateCellField(e)&&(this.btnDisabledList[e]=!0,this.btnDisabled=!0,this.validatenull(t[this.rowKey])?this.$emit("row-save",t,i,o):this.$emit("row-update",t,e,i,o))},rowAdd:function(){this.$refs.dialogForm.show("add")},rowSave:function(){return this.$refs.dialogForm.$refs.tableForm.submit()},rowUpdate:function(){return this.$refs.dialogForm.$refs.tableForm.submit()},closeDialog:function(){return this.$refs.dialogForm.closeDialog()},rowClone:function(t){var e={};return Object.keys(t).forEach((function(n){["_parent","children"].includes(n)||(e[n]=t[n])})),e},getPropRef:function(t){return this.$refs.dialogForm.$refs.tableForm.getPropRef(t)},rowEdit:function(t,e){this.tableForm=this.rowClone(t),this.tableIndex=e,this.$emit("input",this.tableForm),this.$refs.dialogForm.show("edit")},rowCopy:function(t){this.tableForm=this.rowClone(t),delete this.tableForm[this.rowKey],this.tableIndex=-1,this.$emit("input",this.tableForm),this.$refs.dialogForm.show("add")},rowView:function(t,e){this.tableForm=this.rowClone(t),this.tableIndex=e,this.$emit("input",this.tableForm),this.$refs.dialogForm.show("view")},rowDel:function(t,e){var n=this;this.$emit("row-del",t,e,(function(){var e=n.findData(t[n.rowKey]),i=e.parentList,o=e.index;i&&i.splice(o,1)}))},tableSpanMethod:function(t){if("function"==typeof this.spanMethod)return this.spanMethod(t)},tableSummaryMethod:function(t){var e=this,n={};if("function"==typeof this.summaryMethod)return this.summaryMethod(t);var i=t.columns,o=t.data,a=[];return i.length>0&&i.forEach((function(t,i){var r=e.sumColumnList.find((function(e){return e.name===t.property}));if(r){var l=r.decimals||2,s=r.label||"";switch(r.type){case"count":a[i]=s+o.length;break;case"avg":var c=o.map((function(e){return Number(e[t.property])})),u=1;a[i]=c.reduce((function(t,e){var n=Number(e);return isNaN(n)?t:(t*(u-1)+e)/u++}),0),a[i]=s+a[i].toFixed(l);break;case"sum":var d=o.map((function(e){return Number(e[t.property])}));a[i]=d.reduce((function(t,e){var n=Number(e);return isNaN(n)?t:t+e}),0),a[i]=s+a[i].toFixed(l)}n[t.property]=a[i]}else a[i]=""})),this.sumsList=n,a},tableDrop:function(t,e,n){if(!0!==this.isSortable){if("row"==t&&!this.isRowSort)return;if("column"==t&&!this.isColumnSort)return}window.Sortable?window.Sortable.create(e,{ghostClass:S.ghostClass,chosenClass:S.ghostClass,animation:500,delay:0,onEnd:function(t){return n(t)}}):x.a.logs("Sortable")},findData:function(t){var e=this,n={};return function i(o,a){o.forEach((function(r,l){r[e.rowKey]==t&&(n={item:r,index:l,parentList:o,parent:a}),r[e.childrenKey]&&i(r[e.childrenKey],r)}))}(this.list),n}}}),ht=Object(l.a)(pt,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.b({card:!t.option.card})},[t.tableOption.title?n(t.tableOption.titleSize||"h2",{tag:"component",style:t.tableOption.titleStyle},[t._v(t._s(t.tableOption.title))]):t._e(),t._v(" "),n("header-search",{ref:"headerSearch",attrs:{search:t.search},scopedSlots:t._u([{key:"search",fn:function(e){return[t._t("search",null,null,e)]}},{key:"searchMenu",fn:function(e){return[t._t("searchMenu",null,null,e)]}},t._l(t.searchSlot,(function(e){return{key:e,fn:function(n){return[t._t(e,null,null,n)]}}}))],null,!0)}),t._v(" "),n("el-card",{attrs:{shadow:t.isCard}},[t.vaildData(t.tableOption.header,!0)?n("header-menu",{ref:"headerMenu",scopedSlots:t._u([{key:"menuLeft",fn:function(e){return[t._t("menuLeft",null,null,e)]}},{key:"menuRight",fn:function(e){return[t._t("menuRight",null,null,e)]}}],null,!0)}):t._e(),t._v(" "),t.vaildData(t.tableOption.tip,t.config.tip)&&t.tableOption.selection?n("el-tag",{staticClass:"avue-crud__tip"},[n("span",{staticClass:"avue-crud__tip-name"},[t._v("\n "+t._s(t.t("crud.tipStartTitle"))+"\n "),n("span",{staticClass:"avue-crud__tip-count"},[t._v(t._s(t.selectLen))]),t._v("\n "+t._s(t.t("crud.tipEndTitle"))+"\n ")]),t._v(" "),t.vaildData(t.tableOption.selectClearBtn,t.config.selectClearBtn)&&t.tableOption.selection?n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:t.getPermission("selectClearBtn"),expression:"getPermission('selectClearBtn')"}],attrs:{type:"text",size:"small"},on:{click:t.selectClear}},[t._v(t._s(t.t("crud.emptyBtn")))]):t._e(),t._v(" "),t._t("tip")],2):t._e(),t._v(" "),t._t("header"),t._v(" "),n("el-form",{ref:"cellForm",attrs:{model:t.cellForm,"show-message":!1},on:{validate:t.handleValidate}},[n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.tableLoading,expression:"tableLoading"}],key:t.reload,ref:"table",class:{"avue-crud--indeterminate":t.vaildData(t.tableOption.indeterminate,!1)},attrs:{data:t.cellForm.list,"row-key":t.handleGetRowKeys,size:t.$AVUE.tableSize||t.controlSize,lazy:t.vaildData(t.tableOption.lazy,!1),load:t.treeLoad,"tree-props":t.treeProps,"expand-row-keys":t.tableOption.expandRowKeys,"default-expand-all":t.tableOption.defaultExpandAll,"highlight-current-row":t.tableOption.highlightCurrentRow,"show-summary":t.tableOption.showSummary,"summary-method":t.tableSummaryMethod,"span-method":t.tableSpanMethod,stripe:t.tableOption.stripe,"show-header":t.tableOption.showHeader,"default-sort":t.tableOption.defaultSort,"row-class-name":t.rowClassName,"cell-class-name":t.cellClassName,"row-style":t.rowStyle,"cell-style":t.cellStyle,"sort-method":t.sortMethod,"sort-orders":t.sortOrders,"sort-by":t.sortBy,fit:t.tableOption.fit,"header-cell-class-name":t.headerCellClassName,"max-height":t.isAutoHeight?t.tableHeight:t.tableOption.maxHeight,height:t.tableHeight,width:t.setPx(t.tableOption.width,t.config.width),border:t.tableOption.border},on:{"current-change":t.currentRowChange,"expand-change":t.expandChange,"header-dragend":t.headerDragend,"row-click":t.rowClick,"row-dblclick":t.rowDblclick,"cell-mouse-enter":t.cellMouseEnter,"cell-mouse-leave":t.cellMouseLeave,"cell-click":t.cellClick,"header-click":t.headerClick,"row-contextmenu":t.rowContextmenu,"header-contextmenu":t.headerContextmenu,"cell-dblclick":t.cellDblclick,"filter-change":t.filterChange,"selection-change":t.selectionChange,select:t.select,"select-all":t.selectAll,"sort-change":t.sortChange}},[n("template",{slot:"empty"},[n("div",{class:t.b("empty")},[t.$slots.empty?t._t("empty"):n("el-empty",{attrs:{"image-size":100,description:t.tableOption.emptyText}})],2)]),t._v(" "),n("column",{attrs:{columnOption:t.columnOption},scopedSlots:t._u([t._l(t.mainSlot,(function(e){return{key:e,fn:function(n){return[t._t(e,null,null,n)]}}}))],null,!0)},[n("column-default",{ref:"columnDefault",attrs:{slot:"header"},slot:"header",scopedSlots:t._u([{key:"expand",fn:function(e){var n=e.row,i=e.index;return[t._t("expand",null,{row:n,index:i})]}}],null,!0)}),t._v(" "),t._v(" "),n("column-menu",{attrs:{slot:"footer"},slot:"footer",scopedSlots:t._u([{key:"menu",fn:function(e){return[t._t("menu",null,null,e)]}},{key:"menuBtn",fn:function(e){return[t._t("menuBtn",null,null,e)]}}],null,!0)})],1)],2)],1),t._v(" "),t._t("footer")],2),t._v(" "),n("table-page",{ref:"tablePage",attrs:{page:t.page}},[n("template",{slot:"page"},[t._t("page")],2)],2),t._v(" "),n("dialog-form",{ref:"dialogForm",scopedSlots:t._u([t._l(t.formSlot,(function(e){return{key:e,fn:function(n){return[t._t(e,null,null,n)]}}})),{key:"menuForm",fn:function(e){return[t._t("menuForm",null,null,e)]}}],null,!0)}),t._v(" "),n("dialog-column",{ref:"dialogColumn"}),t._v(" "),n("dialog-excel",{ref:"dialogExcel"}),t._v(" "),n("dialog-filter",{ref:"dialogFilter"})],1)}),[],!1,null,null,null).exports,ft={img:"img",title:"title",info:"info"},mt=Object(i.a)({name:"card",props:{props:{type:Object,default:function(){return ft}},option:{type:Object,default:function(){return{}}},data:{type:Array,default:function(){return[]}}},data:function(){return{propsDefault:ft}},computed:{imgKey:function(){return this.option.props.img||this.propsDefault.img},titleKey:function(){return this.option.props.title||this.propsDefault.title},infoKey:function(){return this.option.props.info||this.propsDefault.info},span:function(){return this.option.span||8},gutter:function(){return this.option.gutter||20}},methods:{rowAdd:function(){this.$emit("row-add")},rowClick:function(t,e){this.$emit("row-click",t,e)}}}),bt=Object(l.a)(mt,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.b()},[n("el-row",{attrs:{span:24,gutter:t.gutter}},[t.vaildData(t.option.addBtn,!0)?n("el-col",{attrs:{span:t.span}},[n("div",{class:t.b("item",{add:!0}),on:{click:function(e){return t.rowAdd()}}},[n("i",{staticClass:"el-icon-plus"}),t._v(" "),n("span",[t._v("添加")])])]):t._e(),t._v(" "),t._l(t.data,(function(e,i){return n("el-col",{key:i,attrs:{span:t.span}},[n("div",{class:t.b("item"),on:{click:function(n){return t.rowClick(e,i)}}},[n("div",{class:t.b("body")},[n("div",{class:t.b("avatar")},[n("img",{attrs:{src:e[t.imgKey],alt:""}})]),t._v(" "),n("div",{class:t.b("detail")},[n("div",{class:t.b("title")},[t._v(t._s(e[t.titleKey]))]),t._v(" "),n("div",{class:t.b("info")},[t._v(t._s(e[t.infoKey]))])])]),t._v(" "),n("div",{class:t.b("menu")},[t._t("menu",null,{index:i,row:e})],2)])])}))],2)],1)}),[],!1,null,null,null).exports,vt=Object(i.a)({name:"code",props:{height:{type:Number,default:200},syntax:{type:String,default:"javascript"}},computed:{styleName:function(){return{height:this.setPx(this.height)}}},mounted:function(){window.hljs?window.hljs&&"function"==typeof window.hljs.highlightBlock&&window.hljs.highlightBlock(this.$refs.container):x.a.logs("hljs")}}),yt=Object(l.a)(vt,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.b()},[n("el-scrollbar",{style:t.styleName},[n("pre",[t._v(" "),n("code",{ref:"container",class:t.syntax},[t._v("\n "),t._t("default"),t._v("\n ")],2),t._v("\n ")])])],1)}),[],!1,null,null,null).exports,gt=n(10),_t=n.n(gt);function xt(t){return(xt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var wt=Object(i.a)({name:"chat",data:function(){return{upload:{box:!1,src:"",type:"",title:""},visible:!1,imgSrc:"",videoSrc:"",audioSrc:"",keys:"",show:!1,msg:""}},props:{beforeOpen:Function,tools:{type:Object,default:function(){return{img:!0,video:!0,file:!0}}},placeholder:{type:String,default:"请输入..."},width:{type:[String,Number],default:320},height:{type:[String,Number],default:520},value:{type:String},notice:{type:Boolean,default:!0},audio:{type:Array,default:function(){return["https://www.helloweba.net/demo/notifysound/notify.ogg","https://www.helloweba.net/demo/notifysound/notify.mp3","https://www.helloweba.net/demo/notifysound/notify.wav"]}},config:{type:Object,default:function(){return{}}},keylist:{type:Array,default:function(){return[]}},list:{type:Array,default:function(){return[]}}},watch:{"upload.box":function(t){var e=this;t&&this.$nextTick((function(){e.$refs.form.clearValidate()}))},value:{handler:function(){this.msg=this.value},immediate:!0},msg:{handler:function(){this.$emit("input",this.msg)},immediate:!0}},computed:{heightStyleName:function(){return{height:this.setPx(this.height)}},widthStyleName:function(){return{width:this.setPx(this.width)}},msgActive:function(){return!this.validatenull(this.msg.replace(/[\r\n]/g,""))}},methods:{uploadSubmit:function(){var t=this;this.$refs.form.validate((function(e){e&&(t.upload.box=!1,t.$emit("submit",t.getDetail(t.upload)))}))},handleUpload:function(t){this.upload.type=t,this.upload.src="","img"===t?this.upload.title="图片上传":"video"===t?this.upload.title="视频上传":"file"===t&&(this.upload.title="文件上传"),this.upload.box=!0},handleClose:function(t){this.imgSrc=void 0,this.videoSrc=void 0,this.audioSrc=void 0,t()},addKey:function(){""!==this.keys&&(this.$emit("keyadd",this.keys),this.keys=""),this.visible=!1},sendKey:function(t){this.$emit("keysend",t)},getAudio:function(){this.$refs.chatAudio.play()},getNotification:function(t){var e=this,n=Notification||window.Notification;if(n){var i=function(){var n=new Notification(e.config.name,{body:t,icon:e.config.img});n.onshow=function(){e.getAudio(),setTimeout((function(){n.close()}),2500)},n.onclick=function(t){n.close()}},o=n.permission;"granted"===o?i():"denied"===o?console.log("用户拒绝了你!!!"):n.requestPermission((function(t){"granted"===t?i():console.log("用户无情残忍的拒绝了你!!!")}))}},pushMsg:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=!0===e.mine,i=e.text||{},o=e.date,a={date:o||_t()().format("YYYY-MM-DD HH:mm:ss"),text:"object"!=xt(i)?{text:i}:i,mine:n,img:n?this.config.myImg:this.config.img,name:n?this.config.myName:this.config.name};this.list.push(a),setTimeout((function(){t.setScroll()}),50)},setScroll:function(t){var e=this;this.$nextTick((function(){e.$refs.main.scrollTop=t||e.$refs.main.scrollHeight}))},handleSend:function(){this.msgActive&&this.$emit("submit")},handleItemMsg:function(t){this.$emit("submit",t.ask)},handleDetail:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=e;return setTimeout((function(){t.$refs.content.forEach((function(e){for(var n=function(n){var i=e.children[n];0!=i.getAttribute("data-flag")&&(i.setAttribute("data-flag",0),i.onclick=function(){t.handleEvent(i.dataset)},"IMG"===i.tagName?(i.className="web__msg--img",i.src=i.getAttribute("data-src")):"VIDEO"===i.tagName?(i.className="web__msg--video",i.src=i.getAttribute("data-src")):"AUDIO"===i.tagName?(i.className="web__msg--audio",i.controls="controls",i.src=i.getAttribute("data-src")):"FILE"===i.tagName?(i.className="web__msg--file",i.innerHTML="

File

".concat(i.getAttribute("data-name"),"")):"MAP"===i.tagName&&(i.className="web__msg--file web__msg--map",i.innerHTML="

Map

".concat(i.getAttribute("data-longitude")," , ").concat(i.getAttribute("data-latitude"),"
").concat(i.getAttribute("data-address"),"
")),t.setScroll())},i=0;i0&&void 0!==arguments[0]?arguments[0]:{},e=t.type,n=t.src,i=t.name,o=t.longitude,a=t.latitude,r=t.address;return"img"===e?''):"video"===e?''):"audio"===e?''):"file"===e?''):"map"===e?''):void 0},handleEvent:function(t){var e=this,n=function(){"IMG"===t.type?(e.imgSrc=t.src,e.show=!0):"VIDEO"===t.type?(e.videoSrc=t.src,e.show=!0):"AUDIO"===t.type?(e.audioSrc=t.src,e.show=!0):"FILE"===t.type&&window.open(t.src)};"function"==typeof this.beforeOpen?this.beforeOpen(t,n):n()},rootSendMsg:function(t){this.pushMsg({text:t}),this.notice&&this.getNotification(t.text||t)}}}),kt=Object(l.a)(wt,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.b(),style:t.heightStyleName,on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleSend.apply(null,arguments)}}},[n("audio",{ref:"chatAudio"},[n("source",{attrs:{src:t.audio[0],type:"audio/ogg"}}),t._v(" "),n("source",{attrs:{src:t.audio[1],type:"audio/mpeg"}}),t._v(" "),n("source",{attrs:{src:t.audio[2],type:"audio/wav"}})]),t._v(" "),n("div",{staticClass:"web__logo"},[n("img",{staticClass:"web__logo-img",attrs:{src:t.config.img,alt:""}}),t._v(" "),n("div",{staticClass:"web__logo-info"},[n("p",{staticClass:"web__logo-name"},[t._v(t._s(t.config.name))]),t._v(" "),n("p",{staticClass:"web__logo-dept"},[t._v(t._s(t.config.dept))])]),t._v(" "),t._t("header")],2),t._v(" "),n("div",{staticClass:"web__content"},[n("div",{style:t.widthStyleName},[n("div",{ref:"main",staticClass:"web__main"},t._l(t.list,(function(e,i){return n("div",{key:i,staticClass:"web__main-item",class:{"web__main-item--mine":e.mine}},[n("div",{staticClass:"web__main-user"},[n("img",{attrs:{src:e.img}}),t._v(" "),n("cite",[t._v("\n "+t._s(e.name)+"\n "),n("i",[t._v(t._s(e.date))])])]),t._v(" "),n("div",{staticClass:"web__main-text"},[n("div",{staticClass:"web__main-arrow"}),t._v(" "),n("span",{ref:"content",refInFor:!0,domProps:{innerHTML:t._s(t.handleDetail(e.text.text))}}),t._v(" "),t.validatenull(e.text.list)?t._e():n("ul",{staticClass:" web__main-list"},t._l(e.text.list,(function(e,i){return n("li",{key:i,on:{click:function(n){return t.handleItemMsg(e)}}},[t._v(t._s(e.text))])})),0)])])})),0),t._v(" "),n("div",{staticClass:"web__footer",style:t.widthStyleName},[n("div",{staticClass:"web__tools"},[t.tools.img?n("i",{staticClass:"el-icon-picture-outline",on:{click:function(e){return t.handleUpload("img")}}}):t._e(),t._v(" "),t.tools.video?n("i",{staticClass:"el-icon-video-camera",on:{click:function(e){return t.handleUpload("video")}}}):t._e(),t._v(" "),t.tools.file?n("i",{staticClass:"el-icon-folder-opened",on:{click:function(e){return t.handleUpload("file")}}}):t._e()]),t._v(" "),n("div",{staticClass:"web__msg"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.msg,expression:"msg"}],staticClass:"web__msg-input",attrs:{rows:"2",placeholder:t.placeholder},domProps:{value:t.msg},on:{input:function(e){e.target.composing||(t.msg=e.target.value)}}}),t._v(" "),n("div",{staticClass:"web__msg-menu"},[n("el-dropdown",{staticClass:"web__msg-submit",attrs:{"split-button":"",type:"primary",size:"mini",trigger:"click"},on:{click:t.handleSend}},[t._v("\n 发送\n "),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n("el-dropdown-item",[n("el-popover",{attrs:{placement:"top",width:"160"},model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},[n("el-input",{staticStyle:{"margin-bottom":"10px"},attrs:{size:"mini",rows:3,"show-word-limit":"",maxlength:"100",placeholder:"请输入快捷回复语",type:"textarea"},model:{value:t.keys,callback:function(e){t.keys=e},expression:"keys"}}),t._v(" "),n("div",{staticStyle:{"text-align":"right",margin:"0"}},[n("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(e){t.visible=!1}}},[t._v("取消")]),t._v(" "),n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:t.addKey}},[t._v("确定")])],1),t._v(" "),n("el-button",{attrs:{slot:"reference",type:"text",icon:"el-icon-plus"},slot:"reference"})],1)],1),t._v(" "),n("el-scrollbar",{staticStyle:{height:"100px"}},t._l(t.keylist,(function(e,i){return n("el-dropdown-item",{key:i,nativeOn:{click:function(n){return t.sendKey(e)}}},[n("el-tooltip",{attrs:{effect:"dark",content:e,placement:"top"}},[n("span",[t._v(" "+t._s(e.substr(0,10))+t._s(e.length>10?"...":""))])])],1)})),1)],1)],1)],1)])])]),t._v(" "),t._t("default")],2),t._v(" "),n("el-dialog",{attrs:{title:t.upload.title,"append-to-body":"",visible:t.upload.box,width:"30%"},on:{"update:visible":function(e){return t.$set(t.upload,"box",e)}}},[n("el-form",{ref:"form",attrs:{model:t.upload}},[n("el-form-item",{attrs:{prop:"src",rules:[{required:!0,message:"地址不能为空"}]}},[n("el-input",{staticStyle:{"margin-bottom":"10px"},attrs:{size:"mini",rows:4,"show-word-limit":"",maxlength:"100",placeholder:"请输入地址",type:"textarea"},model:{value:t.upload.src,callback:function(e){t.$set(t.upload,"src",e)},expression:"upload.src"}})],1)],1),t._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{size:"small"},on:{click:function(e){t.upload.box=!1}}},[t._v("取 消")]),t._v(" "),n("el-button",{attrs:{type:"primary",size:"small"},on:{click:t.uploadSubmit}},[t._v("确 定")])],1)],1),t._v(" "),n("el-dialog",{staticClass:"web__dialog",attrs:{visible:t.show,width:"40%","append-to-body":"","before-close":t.handleClose},on:{"update:visible":function(e){t.show=e}}},[t.imgSrc?n("img",{staticStyle:{width:"100%","object-fit":"cover"},attrs:{src:t.imgSrc}}):t._e(),t._v(" "),t.videoSrc?n("video",{staticStyle:{width:"100%","object-fit":"cover"},attrs:{src:t.videoSrc,controls:"controls"}}):t._e(),t._v(" "),t.audioSrc?n("audio",{staticStyle:{width:"100%","object-fit":"cover"},attrs:{src:t.audioSrc,controls:"controls"}}):t._e()])],1)}),[],!1,null,null,null).exports,Ot={avatar:"avatar",author:"author",body:"body"},St=Object(i.a)({name:"comment",props:{reverse:{type:Boolean,default:!1},data:{type:Object,default:function(){return{}}},props:{type:Object,default:function(){return Ot}},option:{type:Object,default:function(){return{}}}},computed:{avatarKey:function(){return this.props.avatar||Ot.avatar},authorKey:function(){return this.props.author||Ot.author},bodyKey:function(){return this.props.body||Ot.body},avatar:function(){return this.data[this.avatarKey]},author:function(){return this.data[this.authorKey]},body:function(){return this.data[this.bodyKey]}},mounted:function(){}}),Ct=Object(l.a)(St,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.b({reverse:t.reverse})},[n("img",{class:t.b("avatar"),attrs:{src:t.avatar,alt:""}}),t._v(" "),n("div",{class:t.b("main")},[n("div",{class:t.b("header")},[t.author?n("div",{class:t.b("author"),domProps:{textContent:t._s(t.author)}}):t._e(),t._v(" "),t._t("default")],2),t._v(" "),t.body?n("div",{class:t.b("body"),domProps:{innerHTML:t._s(t.body)}}):t._e()])])}),[],!1,null,null,null).exports,jt=n(16).a,Et=Object(l.a)(jt,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:[t.b(),{"avue--detail":t.isDetail}],style:{width:t.setPx(t.parentOption.formWidth,"100%")}},[n("el-form",{ref:"form",attrs:{"status-icon":t.parentOption.statusIcon,model:t.form,"label-suffix":t.labelSuffix,size:t.$AVUE.formSize||t.controlSize,"label-position":t.parentOption.labelPosition,"label-width":t.setPx(t.parentOption.labelWidth,t.labelWidth)},nativeOn:{submit:function(t){t.preventDefault()}}},[n("el-row",{class:{"avue-form__tabs":t.isTabs},attrs:{span:24}},[t._l(t.columnOption,(function(e,i){return n("avue-group",{key:e.prop,attrs:{tabs:t.isTabs,arrow:e.arrow,collapse:e.collapse,display:t.vaildDisplay(e),icon:e.icon,index:i,header:!t.isTabs,active:t.activeName,label:e.label},on:{change:t.handleGroupClick}},[t.isTabs&&1==i?n("el-tabs",{class:t.b("tabs"),attrs:{slot:"tabs",type:t.tabsType},on:{"tab-click":t.handleTabClick},slot:"tabs",model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[t._l(t.columnOption,(function(e,i){return[t.vaildDisplay(e)&&0!=i?n("el-tab-pane",{key:i,attrs:{name:i+""}},[n("span",{attrs:{slot:"label"},slot:"label"},[t.getSlotName(e,"H",t.$scopedSlots)?t._t(t.getSlotName(e,"H"),null,{column:t.column}):[n("i",{class:e.icon},[t._v(" ")]),t._v("\n "+t._s(e.label)+"\n ")]],2)]):t._e()]}))],2):t._e(),t._v(" "),t.getSlotName(e,"H",t.$scopedSlots)?n("template",{slot:"header"},[t._t(t.getSlotName(e,"H"),null,{column:e})],2):t._e(),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.isGroupShow(e,i),expression:"isGroupShow(item,index)"}],class:t.b("group",{flex:t.vaildData(e.flex,!0)})},[t._l(e.column,(function(i,o){return[t.vaildDisplay(i)?n("el-col",{key:o,class:[t.b("row"),{"avue--detail avue--detail__column":t.vaildDetail(i)},i.className],style:{paddingLeft:t.gutter,paddingRight:t.gutter},attrs:{span:t.getSpan(i),md:t.getSpan(i),sm:i.smSpan||e.smSpan||12,xs:i.xsSpan||e.xmSpan||24,offset:i.offset||e.offset||0}},[n("el-form-item",{class:t.b("item--"+(i.labelPosition||e.labelPosition||"")),attrs:{prop:i.prop,label:i.label,rules:i.rules,"label-position":i.labelPosition||e.labelPosition||t.parentOption.labelPosition,"label-width":t.getLabelWidth(i,e)},scopedSlots:t._u([{key:"error",fn:function(e){return t.getSlotName(i,"E",t.$scopedSlots)?[t._t(t.getSlotName(i,"E"),null,null,Object.assign(e,{column:i,value:t.form[i.prop],readonly:t.readonly||i.readonly,disabled:t.getDisabled(i),size:i.size||t.controlSize,dic:t.DIC[i.prop]}))]:void 0}}],null,!0)},[t.getSlotName(i,"L",t.$scopedSlots)?n("template",{slot:"label"},[t._t(t.getSlotName(i,"L"),null,{column:i,value:t.form[i.prop],readonly:i.readonly||t.readonly,disabled:t.getDisabled(i),size:i.size||t.controlSize,dic:t.DIC[i.prop]})],2):i.labelTip?n("template",{slot:"label"},[n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:i.labelTipPlacement||"top-start"}},[n("div",{attrs:{slot:"content"},domProps:{innerHTML:t._s(i.labelTip)},slot:"content"}),t._v(" "),n("i",{staticClass:"el-icon-info"})]),t._v(" "),n("span",[t._v(" "+t._s(i.label)+t._s(t.labelSuffix))])],1):t._e(),t._v(" "),t._v(" "),n(t.validTip(i)?"div":"elTooltip",{tag:"component",attrs:{disabled:t.validTip(i),content:t.vaildData(i.tip,t.getPlaceholder(i)),placement:i.tipPlacement}},[t.$scopedSlots[i.prop]?t._t(i.prop,null,{value:t.form[i.prop],column:i,label:t.form["$"+i.prop],size:i.size||t.controlSize,readonly:t.readonly||i.readonly,disabled:t.getDisabled(i),dic:t.DIC[i.prop]}):n("form-temp",t._b({ref:i.prop,refInFor:!0,attrs:{column:i,dic:t.DIC[i.prop],props:t.parentOption.props,propsHttp:t.parentOption.propsHttp,disabled:t.getDisabled(i),readonly:i.readonly||t.readonly,enter:t.parentOption.enter,size:t.parentOption.size,"column-slot":t.columnSlot},on:{enter:t.submit,change:function(n){return t.propChange(e.column,i)}},scopedSlots:t._u([t._l(t.getSlotName(i,"T",t.$scopedSlots)?[i]:[],(function(e){return{key:t.getSlotName(i,"T"),fn:function(n){return[t._t(t.getSlotName(e,"T"),null,null,n)]}}})),t._l(t.columnSlot,(function(e){return{key:e,fn:function(n){return[t._t(e,null,null,n)]}}}))],null,!0),model:{value:t.form[i.prop],callback:function(e){t.$set(t.form,i.prop,e)},expression:"form[column.prop]"}},"form-temp",t.$uploadFun(i),!1))],2)],2)],1):t._e(),t._v(" "),t.vaildDisplay(i)&&i.row&&24!==i.span&&i.count?n("div",{key:"line"+o,class:t.b("line"),style:{width:i.count/24*100+"%"}}):t._e()]})),t._v(" "),t.isDetail||t.isMenu?t._e():n("form-menu",{scopedSlots:t._u([{key:"menuForm",fn:function(e){return[t._t("menuForm",null,null,e)]}}],null,!0)})],2)],2)})),t._v(" "),!t.isDetail&&t.isMenu?n("form-menu",{scopedSlots:t._u([{key:"menuForm",fn:function(e){return[t._t("menuForm",null,null,e)]}}],null,!0)}):t._e()],2)],1)],1)}),[],!1,null,null,null).exports,$t=function(){return{mixins:[E.a],data:function(){return{stringMode:!1,name:"",text:void 0,propsHttpDefault:M.d,propsDefault:M.e}},props:{blur:Function,focus:Function,change:Function,click:Function,typeformat:Function,control:Function,separator:{type:String,default:M.g},params:{type:Object,default:function(){return{}}},listType:{type:String},value:{},column:{type:Object,default:function(){return{}}},label:{type:String,default:""},readonly:{type:Boolean,default:!1},size:{type:String,default:""},tip:{type:String,default:""},disabled:{type:Boolean,default:!1},dataType:{type:String},clearable:{type:Boolean,default:!0},type:{type:String,default:""},dicUrl:{type:String,default:""},dicMethod:{type:String,default:""},dicFormatter:Function,dicQuery:{type:Object,default:function(){return{}}},dic:{type:Array,default:function(){return[]}},placeholder:{type:String,default:""},rules:{type:Array},min:{type:Number},max:{type:Number},multiple:{type:Boolean,default:!1},button:{type:Boolean,default:!1},group:{type:Boolean,default:!1},row:{type:Boolean,default:!1},prop:{type:String,default:""},border:{type:Boolean,default:!1},popperClass:{type:String},propsHttp:{type:Object,default:function(){return M.d}},props:{type:Object,default:function(){return M.e}}},watch:{text:{handler:function(t){this.handleChange(t)}},value:{handler:function(){this.initVal()}}},computed:{clearableVal:function(){return!this.disabled&&this.clearable},componentName:function(){return"".concat("el","-").concat(this.name).concat(this.button?"-button":"")},required:function(){return!this.validatenull(this.rules)},isArray:function(){return"array"===this.dataType},isString:function(){return"string"===this.dataType},isNumber:function(){return"number"===this.dataType},nameKey:function(){return this.propsHttp.name||this.propsHttpDefault.name},urlKey:function(){return this.propsHttp.url||this.propsHttpDefault.url},resKey:function(){return this.propsHttp.res||this.propsHttpDefault.res},groupsKey:function(){return this.props.groups||this.propsDefault.groups},valueKey:function(){return this.props.value||this.propsDefault.value},descKey:function(){return this.props.desc||this.propsDefault.desc},leafKey:function(){return this.props.leaf||this.propsDefault.leaf},labelKey:function(){return this.props.label||this.propsDefault.label},childrenKey:function(){return this.props.children||this.propsDefault.children},disabledKey:function(){return this.props.disabled||this.propsDefault.disabled},idKey:function(){return this.props.id||this.propsDefault.id}},created:function(){this.initVal()}}};function Dt(t,e,n){"function"==typeof t[e]&&t[e]({value:t.value,column:t.column}),t.$emit(e,t.value,n)}var Pt,Tt=function(){return{methods:{initVal:function(){this.stringMode="string"==typeof this.value,this.text=Object(D.h)(this.value,this.column)},getLabelText:function(t){return this.validatenull(t)?"":"function"==typeof this.typeformat?this.typeformat(t,this.labelKey,this.valueKey):t[this.labelKey]},handleFocus:function(t){Dt(this,"focus",t)},handleBlur:function(t){Dt(this,"blur",t)},handleClick:function(t){Dt(this,"click",t)},handleChange:function(t){var e=t;(this.isString||this.isNumber||this.stringMode||"picture-img"===this.listType)&&Array.isArray(t)&&(e=t.join(this.separator||M.g)),"function"==typeof this.change&&!0!==this.column.cell&&this.change({value:e,column:this.column}),this.$emit("input",e),this.$emit("change",e)}}}},Bt=Object(i.a)({name:"checkbox",props:{all:{type:Boolean,default:!1}},mixins:[$t(),Tt()],data:function(){return{checkAll:!1,isIndeterminate:!1,name:"checkbox"}},watch:{dic:function(){this.handleCheckChange(this.text)},text:{handler:function(t){this.handleChange(t),this.handleCheckChange(t)},immediate:!0}},created:function(){},mounted:function(){},methods:{handleCheckAll:function(t){var e=this;this.all&&(this.text=t?this.dic.map((function(t){return t[e.valueKey]})):[],this.isIndeterminate=!1)},handleCheckChange:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(this.all){var e=t.length,n=this.dic.length;this.checkAll=e===n,this.isIndeterminate=e>0&&e0&&void 0!==arguments[0]?arguments[0]:0;return 0==t?"info":1==t?"":2==t?"warning":3==t?"danger":4==t?"success":void 0}}}),qt=Object(l.a)(Wt,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.b()},[t._l(t.data,(function(e,i){return n("div",{key:i,class:t.b("item"),on:{click:function(n){return t.click(e)}}},[e[t.imgKey]?n("div",{class:t.b("img")},[n("img",{attrs:{src:e[t.imgKey],alt:""}})]):t._e(),t._v(" "),n("div",{class:t.b("content")},[n("div",{class:t.b("title")},[n("span",{class:t.b("name")},[t._v(t._s(e[t.titleKey]))]),t._v(" "),e[t.tagKey]?n("span",{class:t.b("tag")},[n("el-tag",{attrs:{size:"small",type:t.getType(e[t.statusKey])}},[t._v(t._s(e[t.tagKey]))])],1):t._e()]),t._v(" "),n("div",{class:t.b("subtitle")},[t._v(t._s(e[t.subtitleKey]))])])])})),t._v(" "),t.finish?t._e():n("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],class:t.b("more"),on:{click:t.handleClick}},[t._v("\n 加载更多\n ")])],2)}),[],!1,null,null,null).exports,Yt=Object(i.a)({name:"license",props:{id:{type:String,default:""},option:{type:Object,default:function(){return{}}}},watch:{option:{handler:function(){this.init()},deep:!0}},data:function(){return{base64:"",draw:!1,canvas:"",context:""}},computed:{img:function(){return this.option.img},list:function(){return this.option.list||[]}},mounted:function(){this.canvas=document.getElementById("canvas"+this.id),this.context=this.canvas.getContext("2d"),this.init()},methods:{init:function(){var t=this;this.draw=!1;var e=new Image;e.src=this.img,e.onload=function(){var n=t.option.width||e.width,i=t.option.width?e.height/e.width*t.option.width:e.height;t.$refs.canvas.width=n,t.$refs.canvas.height=i,t.context.clearRect(0,0,n,i),t.context.drawImage(e,0,0,n,i),t.list.forEach((function(e,n){var i=function(){n==t.list.length-1&&setTimeout((function(){t.draw=!0}),0)};if(e.img){var o=new Image;o.src=e.img,o.onload=function(){var n=e.width||o.width,a=e.width?o.height/o.width*e.width:o.height;t.context.drawImage(o,e.left,e.top,n,a),i()}}else e.bold?t.context.font="bold ".concat(e.size,"px ").concat(e.style):t.context.font="".concat(e.size,"px ").concat(e.style),t.context.fillStyle=e.color,t.context.fillText(e.text,e.left,e.top),t.context.stroke(),i()}))}},getFile:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(new Date).getTime();return new Promise((function(n){var i=setInterval((function(){if(t.draw){var o=t.canvas.toDataURL("image/jpeg",1),a=t.dataURLtoFile(o,e);clearInterval(i),n(a)}}),1e3)}))},downFile:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(new Date).getTime();Object(P.h)(this.base64,t)},getBase64:function(){var t=this;return new Promise((function(e){var n=setInterval((function(){if(t.draw){var i=t.canvas.toDataURL("image/jpeg",1);t.base64=i,clearInterval(n),e(i)}}),100)}))},getPdf:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(new Date).getTime(),e=this.canvas.width,n=this.canvas.height,i=e/592.28*841.89,o=n,a=0,r=595.28,l=592.28/e*n,s=this.canvas.toDataURL("image/jpeg",1),c=new window.jsPDF("","pt","a4");if(o0;)c.addImage(s,"JPEG",0,a,r,l),a-=841.89,(o-=i)>0&&c.addPage();c.save("".concat(t,".pdf"))}}}),Xt=Object(l.a)(Yt,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{class:this.b(),staticStyle:{position:"relative"}},[e("canvas",{ref:"canvas",attrs:{id:"canvas"+this.id}}),this._v(" "),this._t("default")],2)}),[],!1,null,null,null).exports,Gt=Object(i.a)({name:"progress",props:{showText:{type:Boolean},width:{type:[Number,String]},strokeWidth:{type:[Number,String]},type:{type:String},color:{type:String},percentage:{type:[Number]}}}),Jt=Object(l.a)(Gt,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{class:this.b()},[e("el-progress",{attrs:{type:this.type,color:this.color,width:this.width,"text-inside":"","show-text":this.showText,"stroke-width":this.strokeWidth,percentage:this.percentage}})],1)}),[],!1,null,null,null).exports,Qt=Object(i.a)({name:"time",mixins:[$t(),Tt(),$.a],data:function(){return{}},props:{editable:{type:Boolean,default:!0},startPlaceholder:{type:String,default:"开始时间"},endPlaceholder:{type:String,default:"结束时间"},rangeSeparator:{type:String},value:{required:!0},defaultValue:{type:[String,Array]},valueFormat:{default:""},arrowControl:{type:Boolean,default:!1},type:{default:""},format:{default:""}},watch:{text:function(){Array.isArray(this.text)&&this.validatenull(this.text)&&(this.text=this.text.join(","))}},created:function(){},mounted:function(){},computed:{isRange:function(){return"timerange"===this.type}},methods:{}}),Zt=Object(l.a)(Qt,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.b()},[n("el-time-picker",{attrs:{"popper-class":t.popperClass,"is-range":t.isRange,size:t.size,editable:t.editable,"default-value":t.defaultValue,"range-separator":t.rangeSeparator,"arrow-control":t.arrowControl,"start-placeholder":t.startPlaceholder,"end-placeholder":t.endPlaceholder,format:t.format,readonly:t.readonly,clearable:t.clearableVal,"value-format":t.valueFormat,placeholder:t.placeholder,disabled:t.disabled},on:{change:t.handleChange},nativeOn:{click:function(e){return t.handleClick.apply(null,arguments)}},model:{value:t.text,callback:function(e){t.text=e},expression:"text"}})],1)}),[],!1,null,null,null).exports,te=n(5);function ee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ne,ie=Object(i.a)({name:"input",mixins:[$t(),Tt()],data:function(){return{}},props:(Pt={value:{},maxlength:"",minlength:"",showPassword:{type:Boolean,default:!0},showWordLimit:{type:Boolean,default:!1},target:{type:String,default:" _blank"},prefixIcon:{type:String},suffixIcon:{type:String},prependClick:{type:Function,default:function(){}},prepend:{type:String},appendClick:{type:Function,default:function(){}},append:{type:String}},ee(Pt,"minlength",{type:Number}),ee(Pt,"maxlength",{type:Number}),ee(Pt,"minRows",{type:Number,default:5}),ee(Pt,"maxRows",{type:Number,default:10}),ee(Pt,"autocomplete",{type:String}),Pt),computed:{isSearch:function(){return"search"==this.type},typeParam:function(){return"textarea"===this.type?"textarea":"password"===this.type?"password":"text"}}}),oe=Object(l.a)(ie,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-input",{class:t.b(),attrs:{size:t.size,clearable:t.clearableVal,type:t.typeParam,maxlength:t.maxlength,minlength:t.minlength,"show-password":"password"==t.typeParam&&t.showPassword,autosize:{minRows:t.minRows,maxRows:t.maxRows},"prefix-icon":t.prefixIcon,"suffix-icon":t.suffixIcon,readonly:t.readonly,placeholder:t.placeholder,"show-word-limit":t.showWordLimit,disabled:t.disabled,autocomplete:t.autocomplete},on:{keyup:function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.isSearch&&t.appendClick()},focus:t.handleFocus,blur:t.handleBlur},nativeOn:{click:function(e){return t.handleClick.apply(null,arguments)}},model:{value:t.text,callback:function(e){t.text=e},expression:"text"}},[t.prepend?n("template",{slot:"prepend"},[n("span",{on:{click:function(e){return t.prependClick()}}},[t._v(t._s(t.prepend))])]):t._e(),t._v(" "),t.append?n("template",{slot:"append"},[n("span",{on:{click:function(e){return t.appendClick()}}},[t._v(t._s(t.append))])]):t.isSearch?n("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:function(e){return t.appendClick()}},slot:"append"}):t._e()],2)}),[],!1,null,null,null).exports,ae=Object(i.a)({name:"radio",mixins:[$t(),Tt()],data:function(){return{name:"radio"}},props:{value:{}},watch:{},created:function(){},mounted:function(){},methods:{}}),re=Object(l.a)(ae,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.b()},[n("el-radio-group",{attrs:{size:t.size,disabled:t.disabled},on:{change:t.handleChange},nativeOn:{click:function(e){return t.handleClick.apply(null,arguments)}},model:{value:t.text,callback:function(e){t.text=e},expression:"text"}},t._l(t.dic,(function(e,i){return n(t.componentName,{key:i,tag:"component",attrs:{label:e[t.valueKey],border:t.border,readonly:t.readonly,disabled:e[t.disabledKey]}},[t._v(t._s(e[t.labelKey]))])})),1)],1)}),[],!1,null,null,null).exports,le=Object(i.a)({name:"select",mixins:[$t(),Tt()],data:function(){return{checkAll:!1,created:!1,netDic:[],loading:!1}},props:{value:{},loadingText:{type:String},noMatchText:{type:String},noDataText:{type:String},drag:{type:Boolean,default:!1},remote:{type:Boolean,default:!1},tags:{type:Boolean,default:!1},limit:{type:Number,default:0},filterable:{type:Boolean,default:!1},allowCreate:{type:Boolean,default:!1},defaultFirstOption:{type:Boolean,default:!1},all:{type:Boolean,default:!1}},watch:{value:function(t){this.validatenull(t)||this.remote&&!this.created&&(this.created=!0,this.handleRemoteMethod(this.multiple?this.text.join(M.g):this.text))},dic:{handler:function(t){this.netDic=t},immediate:!0}},mounted:function(){this.drag&&this.setSort()},methods:{setSort:function(){var t=this;if(window.Sortable){var e=this.$refs.main.$el.querySelectorAll(".el-select__tags > span")[0];window.Sortable.create(e,{animation:100,onEnd:function(e){var n=t.value.splice(e.oldIndex,1)[0];t.value.splice(e.newIndex,0,n)}})}else x.a.logs("Sortable")},handleRemoteMethod:function(t){var e=this;this.loading=!0,Object(L.d)({column:this.column,value:t}).then((function(t){e.loading=!1,e.netDic=t}))},selectAll:function(){var t=this;this.text=[],this.checkAll?this.netDic.map((function(e){t.text.push(e[t.valueKey])})):this.text=[]},changeSelect:function(t){this.checkAll=t.length===this.netDic.length}}}),se=Object(l.a)(le,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-select",{ref:"main",class:t.b(),attrs:{size:t.size,loading:t.loading,"loading-text":t.loadingText,multiple:t.multiple,filterable:!!t.remote||t.filterable,remote:t.remote,readonly:t.readonly,"no-match-text":t.noMatchText,"no-data-text":t.noDataText,"remote-method":t.handleRemoteMethod,"popper-class":t.popperClass,"collapse-tags":t.tags,clearable:t.clearableVal,placeholder:t.placeholder,"multiple-limit":t.limit,"allow-create":t.allowCreate,"default-first-option":t.defaultFirstOption,disabled:t.disabled},on:{focus:t.handleFocus,blur:t.handleBlur,change:t.changeSelect},nativeOn:{click:function(e){return t.handleClick.apply(null,arguments)}},model:{value:t.text,callback:function(e){t.text=e},expression:"text"}},[t.group?t._l(t.netDic,(function(e,i){return n("el-option-group",{key:i,attrs:{label:t.getLabelText(e)}},t._l(e[t.groupsKey],(function(e,i){return n("el-option",{key:i,attrs:{disabled:e[t.disabledKey],label:t.getLabelText(e),value:e[t.valueKey]}},[t.$scopedSlots.default?t._t("default",null,{label:t.labelKey,value:t.valueKey,item:e}):[n("span",[t._v(t._s(t.getLabelText(e)))]),t._v(" "),e[t.descKey]?n("span",{class:t.b("desc")},[t._v(t._s(e[t.descKey]))]):t._e()]],2)})),1)})):[t.all&&t.multiple?n("el-checkbox",{class:t.b("check"),on:{change:t.selectAll},model:{value:t.checkAll,callback:function(e){t.checkAll=e},expression:"checkAll"}},[t._v("全选")]):t._e(),t._v(" "),t._l(t.netDic,(function(e,i){return n("el-option",{key:i,attrs:{disabled:e[t.disabledKey],label:t.getLabelText(e),value:e[t.valueKey]}},[t.$scopedSlots.default?t._t("default",null,{label:t.labelKey,value:t.valueKey,item:e}):[n("span",[t._v(t._s(t.getLabelText(e)))]),t._v(" "),e[t.descKey]?n("span",{class:t.b("desc")},[t._v(t._s(e[t.descKey]))]):t._e()]],2)}))]],2)}),[],!1,null,null,null).exports;function ce(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ue=Object(i.a)({name:"cascader",mixins:[$t(),Tt()],props:(ne={checkStrictly:{type:Boolean,default:!1},emitPath:{type:Boolean,default:!0},tags:{type:Boolean,default:!1},expandTrigger:{type:String,default:"hover"},showAllLevels:{type:Boolean,default:!0},lazy:{type:Boolean,default:!1},lazyLoad:Function,filterable:{type:Boolean,default:!1}},ce(ne,"expandTrigger",{type:String,default:"click"}),ce(ne,"separator",{type:String}),ne),data:function(){return{}},watch:{},computed:{allProps:function(){var t=this;return{label:this.labelKey,value:this.valueKey,children:this.childrenKey,checkStrictly:this.checkStrictly,multiple:this.multiple,emitPath:this.emitPath,lazy:this.lazy,lazyLoad:function(e,n){t.lazyLoad&&t.lazyLoad(e,(function(i){!function e(n,i,o){n.forEach((function(n){n[t.valueKey]==i?n[t.childrenKey]=o:n[t.childrenKey]&&e(n[t.childrenKey])}))}(t.dic,e[t.valueKey],i),n(i)}))},expandTrigger:this.expandTrigger}}},created:function(){},mounted:function(){},methods:{}}),de=Object(l.a)(ue,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-cascader",{attrs:{options:t.dic,placeholder:t.placeholder,props:t.allProps,size:t.size,clearable:t.clearableVal,"show-all-levels":t.showAllLevels,filterable:t.filterable,"popper-class":t.popperClass,separator:t.separator,disabled:t.disabled,"collapse-tags":t.tags},on:{focus:t.handleFocus,blur:t.handleBlur},nativeOn:{click:function(e){return t.handleClick.apply(null,arguments)}},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.data,o=e.node;return[t.$scopedSlots.default?t._t("default",null,{data:i,node:o}):n("span",[t._v(t._s(i[t.labelKey]))])]}}],null,!0),model:{value:t.text,callback:function(e){t.text=e},expression:"text"}})}),[],!1,null,null,null).exports,pe=Object(i.a)({name:"input-color",mixins:[$t(),Tt()],props:{colorFormat:String,showAlpha:{type:Boolean,default:!0},iconList:{type:Array,default:function(){return[]}}},data:function(){return{predefineColors:["#ff4500","#ff8c00","#ffd700","#90ee90","#00ced1","#1e90ff","#c71585","rgba(255, 69, 0, 0.68)","rgb(255, 120, 0)","hsv(51, 100, 98)","hsva(120, 40, 94, 0.5)","hsl(181, 100%, 37%)","hsla(209, 100%, 56%, 0.73)","#c7158577"]}},methods:{}}),he=Object(l.a)(pe,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.b()},[n("el-input",{ref:"main",attrs:{placeholder:t.placeholder,size:t.size,readonly:t.readonly,clearable:t.clearableVal,disabled:t.disabled},on:{change:t.handleChange},nativeOn:{click:function(e){return t.handleClick.apply(null,arguments)}},model:{value:t.text,callback:function(e){t.text=e},expression:"text"}},[n("template",{slot:"append"},[n("el-color-picker",{attrs:{size:"mini","popper-class":t.popperClass,"color-format":t.colorFormat,disabled:t.disabled,"show-alpha":t.showAlpha,predefine:t.predefineColors},on:{change:t.handleChange},model:{value:t.text,callback:function(e){t.text=e},expression:"text"}})],1)],2)],1)}),[],!1,null,null,null).exports,fe=Object(i.a)({name:"input-number",mixins:[$t(),Tt()],data:function(){return{}},props:{controls:{type:Boolean,default:!0},step:{type:Number,default:1},controlsPosition:{type:String,default:"right"},precision:{type:Number},minRows:{type:Number,default:-1/0},maxRows:{type:Number,default:1/0}},created:function(){},mounted:function(){},methods:{}}),me=Object(l.a)(fe,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("el-input-number",{class:t.b(),attrs:{precision:t.precision,placeholder:t.placeholder,size:t.size,min:t.minRows,max:t.maxRows,step:t.step,clearable:t.clearableVal,readonly:t.readonly,"controls-position":t.controlsPosition,controls:t.controls,label:t.placeholder,disabled:t.disabled},on:{focus:t.handleFocus,blur:t.handleBlur},nativeOn:{click:function(e){return t.handleClick.apply(null,arguments)}},model:{value:t.text,callback:function(e){t.text=t._n(e)},expression:"text"}})}),[],!1,null,null,null).exports,be=Object(i.a)({name:"input-tree",mixins:[$t(),Tt()],data:function(){return{node:[],filterValue:"",box:!1,created:!1,netDic:[],loading:!1}},props:{nodeClick:Function,treeLoad:Function,checked:Function,value:{},loadingText:{type:String},lazy:{type:Boolean,default:!1},leafOnly:{type:Boolean,default:!1},tags:{type:Boolean,default:!1},limit:{type:Number,default:0},expandOnClickNode:{type:Boolean,default:!0},filter:{type:Boolean,default:!0},filterText:{type:String,default:"输入关键字进行过滤"},checkStrictly:{type:Boolean,default:!1},accordion:{type:Boolean,default:!1},parent:{type:Boolean,default:!0},iconClass:{type:String},defaultExpandAll:{type:Boolean,default:!1}},watch:{text:{handler:function(t){this.validatenull(t)&&this.clearHandle(),this.init()}},value:function(t){this.validatenull(t)||this.lazy&&!this.created&&(this.created=!0,this.handleRemoteMethod(this.multiple?this.text.join(","):this.text))},dic:{handler:function(t){this.netDic=t},immediate:!0},netDic:{handler:function(){this.init()},immediate:!0},filterValue:function(t){this.$refs.tree.filter(t)}},computed:{treeProps:function(){return Object.assign(this.props,{isLeaf:this.leafKey})},dicList:function(){var t=this.netDic;return function t(e,n){e.forEach((function(e){var i=e.children;i&&t(i,e),n&&(e.$parent=n)}))}(t),t},keysList:function(){var t=this;if(this.validatenull(this.text))return[];return Array.isArray(this.text)?this.text:(this.text+"").split(this.separator).map((function(e){return Object(P.f)(e,t.dataType)}))},labelShow:function(){var t=this,e=[],n=this.deepClone(this.node);return e=this.typeformat?n.map((function(e){return t.getLabelText(e)})):n.map((function(e){return e[t.labelKey]})),this.multiple?e:e.join("")}},methods:{handleClear:function(){this.multiple?this.text=[]:this.text="",this.node=[]},handleTreeLoad:function(t,e){var n=this;this.treeLoad&&this.treeLoad(t,(function(i){!function t(e,i,o){e.forEach((function(e){e[n.valueKey]==i?e[n.childrenKey]=o:e[n.childrenKey]&&t(e[n.childrenKey])}))}(n.netDic,t.key,i),e(i)}))},initScroll:function(t){var e=this;setTimeout((function(){e.$nextTick((function(){document.querySelectorAll(".el-scrollbar .el-select-dropdown__wrap").forEach((function(t){t.scrollTop=0}))}))}),0),this.handleClick(t)},filterNode:function(t,e){return!t||-1!==e[this.labelKey].toLowerCase().indexOf(t.toLowerCase())},checkChange:function(t,e,n,i){var o=this;this.text=[],this.$refs.tree.getCheckedNodes(this.leafOnly,!1).forEach((function(t){return o.text.push(t[o.valueKey])})),"function"==typeof this.checked&&this.checked(t,e,n,i)},getHalfList:function(){var t=this,e=this.$refs.tree.getCheckedNodes(!1,!0);return e=e.map((function(e){return e[t.valueKey]}))},init:function(){var t=this;this.$nextTick((function(){if(t.node=[],t.multiple){t.$refs.tree.getCheckedNodes(t.leafOnly,!1).forEach((function(e){t.node.push(e)}))}else{var e=t.$refs.tree.getNode(t.vaildData(t.text,""));if(e){var n=e.data;t.$refs.tree.setCurrentKey(n[t.valueKey]),t.node.push(n)}}})),this.disabledParentNode(this.dic,this.parent)},disabledParentNode:function(t,e){var n=this;t.forEach((function(t){var i=t[n.childrenKey];n.validatenull(i)||(e||(t.disabled=!0),n.disabledParentNode(i,e))}))},clearHandle:function(){this.filterValue="",this.$refs.tree.setCurrentKey(null),this.$refs.tree.setCheckedKeys([])},handleNodeClick:function(t,e,n){t.disabled||("function"==typeof this.nodeClick&&this.nodeClick(t,e,n),this.multiple||(this.validatenull(t[this.childrenKey])&&!this.multiple||this.parent)&&(this.text=t[this.valueKey],this.$refs.main.blur()))},handleRemoteMethod:function(t){var e=this;this.loading=!0,Object(L.d)({column:this.column,value:t}).then((function(t){e.loading=!1,e.netDic=t}))}}}),ve=Object(l.a)(be,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-select",{ref:"main",class:t.b(),attrs:{size:t.size,loading:t.loading,"loading-text":t.loadingText,multiple:t.multiple,"multiple-limit":t.limit,"collapse-tags":t.tags,value:t.labelShow,clearable:t.clearableVal,placeholder:t.placeholder,disabled:t.disabled},on:{focus:t.handleFocus,blur:t.handleBlur,clear:t.handleClear},nativeOn:{click:function(e){return t.initScroll.apply(null,arguments)}}},[t.filter?n("div",{staticStyle:{padding:"0 10px",margin:"5px 0 0 0"}},[n("el-input",{attrs:{size:"mini",placeholder:t.filterText},model:{value:t.filterValue,callback:function(e){t.filterValue=e},expression:"filterValue"}})],1):t._e(),t._v(" "),n("el-option",{attrs:{value:t.text}},[n("el-tree",{ref:"tree",staticClass:"tree-option",staticStyle:{padding:"10px 0"},attrs:{data:t.dicList,lazy:t.lazy,load:t.handleTreeLoad,"node-key":t.valueKey,accordion:t.accordion,"icon-class":t.iconClass,"show-checkbox":t.multiple,"expand-on-click-node":t.expandOnClickNode,props:t.treeProps,"check-strictly":t.checkStrictly,"highlight-current":!t.multiple,"current-node-key":t.multiple?"":t.text,"filter-node-method":t.filterNode,"default-checked-keys":t.keysList,"default-expand-all":t.defaultExpandAll},on:{check:t.checkChange,"node-click":function(e){return e.target!==e.currentTarget?null:t.handleNodeClick.apply(null,arguments)}},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.data;return n("div",{staticStyle:{width:"100%","padding-right":"10px"}},[t.$scopedSlots.default?t._t("default",null,{label:t.labelKey,value:t.valueKey,item:i}):[n("span",{class:{"avue--disabled":i[t.disabledKey]}},[t._v(t._s(i[t.labelKey]))]),t._v(" "),i[t.descKey]?n("span",{class:t.b("desc")},[t._v(t._s(i[t.descKey]))]):t._e()]],2)}}],null,!0)})],1)],1)}),[],!1,null,null,null).exports,ye=Object(i.a)({name:"input-map",mixins:[$t(),Tt()],props:{dialogWidth:{type:String,default:"80%"}},data:function(){return{formattedAddress:"",address:"",poi:{},marker:null,map:null,box:!1}},watch:{poi:function(t){this.formattedAddress=t.formattedAddress},value:function(t){this.validatenull(t)&&(this.poi={})},text:function(t){this.validatenull(t)||(this.poi={longitude:t[0],latitude:t[1],formattedAddress:t[2]},this.address=t[2])},box:{handler:function(){var t=this;this.box&&this.$nextTick((function(){return t.init((function(){t.longitude&&t.latitude&&(t.addMarker(t.longitude,t.latitude),t.getAddress(t.longitude,t.latitude))}))}))},immediate:!0}},computed:{longitude:function(){return this.text[0]},latitude:function(){return this.text[1]},title:function(){return this.disabled||this.readonly?"查看":"选择"}},methods:{clear:function(){this.poi={},this.clearMarker()},handleSubmit:function(){this.setVal(),this.box=!1},handleClear:function(){this.text=[],this.poi={},this.handleChange(this.text)},setVal:function(){this.text=[this.poi.longitude,this.poi.latitude,this.poi.formattedAddress],this.handleChange(this.text)},handleShow:function(){this.$refs.main.blur(),this.box=!0},addMarker:function(t,e){this.clearMarker(),this.marker=new window.AMap.Marker({position:[t,e]}),this.marker.setMap(this.map)},clearMarker:function(){this.marker&&(this.marker.setMap(null),this.marker=null)},getAddress:function(t,e){var n=this;new window.AMap.service("AMap.Geocoder",(function(){new window.AMap.Geocoder({}).getAddress([t,e],(function(i,o){if("complete"===i&&"OK"===o.info){var a=o.regeocode;n.poi=Object.assign(a,{longitude:t,latitude:e});var r=document.createElement("div"),l=document.createElement("img");l.src="//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-default.png",r.appendChild(l);var s=document.createElement("span");s.className="avue-input-map__marker",s.innerHTML=n.poi.formattedAddress,r.appendChild(s),n.marker.setContent(r)}}))}))},handleClose:function(){window.poiPicker.clearSearchResults()},addClick:function(){var t=this;this.map.on("click",(function(e){if(!t.disabled&&!t.readonly){var n=e.lnglat,i=n.P||n.Q,o=n.R;t.addMarker(o,i),t.getAddress(o,i)}}))},init:function(t){var e=this;window.AMap?(this.map=new window.AMap.Map("map__container",Object.assign({zoom:13,center:function(){if(e.longitude&&e.latitude)return[e.longitude,e.latitude]}()},this.params)),this.initPoip(),this.addClick(),t()):x.a.logs("Map")},initPoip:function(){var t=this;window.AMapUI?window.AMapUI.loadUI(["misc/PoiPicker"],(function(e){var n=new e({input:"map__input",placeSearchOptions:{map:t.map,pageSize:10},searchResultsContainer:"map__result"});t.poiPickerReady(n)})):x.a.logs("MapUi")},poiPickerReady:function(t){var e=this;window.poiPicker=t,t.on("poiPicked",(function(n){e.clearMarker();var i=n.source,o=n.item;e.poi=Object.assign(o,{formattedAddress:o.name,longitude:o.location.R,latitude:o.location.P||o.location.Q}),"search"!==i&&t.searchByKeyword(o.name)}))}}}),ge=Object(l.a)(ye,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.b()},[n("el-input",{ref:"main",attrs:{size:t.size,clearable:t.clearableVal,disabled:t.disabled,placeholder:t.placeholder},on:{clear:t.handleClear,focus:t.handleShow},nativeOn:{click:function(e){return t.handleClick.apply(null,arguments)}},model:{value:t.address,callback:function(e){t.address=e},expression:"address"}}),t._v(" "),n("el-dialog",{staticClass:"avue-dialog avue-dialog--none",attrs:{width:t.dialogWidth,"append-to-body":"",title:t.placeholder,visible:t.box},on:{close:t.handleClose,"update:visible":function(e){t.box=e}}},[t.box?n("div",{class:t.b("content")},[n("el-input",{class:t.b("content-input"),attrs:{id:"map__input",size:t.size,readonly:t.disabled,clearable:"",placeholder:"输入关键字选取地点"},on:{clear:t.clear},model:{value:t.formattedAddress,callback:function(e){t.formattedAddress=e},expression:"formattedAddress"}}),t._v(" "),n("div",{class:t.b("content-box")},[n("div",{class:t.b("content-container"),attrs:{id:"map__container",tabindex:"0"}}),t._v(" "),n("div",{class:t.b("content-result"),attrs:{id:"map__result"}})])],1):t._e(),t._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t.disabled||t.readonly?t._e():n("el-button",{attrs:{type:"primary",size:t.size,icon:"el-icon-check"},on:{click:t.handleSubmit}},[t._v("确 定")])],1)])],1)}),[],!1,null,null,null).exports,_e=Object(i.a)({name:"input-icon",mixins:[$t(),Tt()],props:{dialogWidth:{type:String,default:"80%"},iconList:{type:Array,default:function(){return[]}}},data:function(){return{box:!1,tabs:{}}},computed:{list:function(){var t=(this.tabs.list||[]).map((function(t){return t.value?t:{value:t}}));return t},option:function(){return{column:this.iconList}}},created:function(){this.tabs=this.iconList[0]||{}},methods:{handleTabs:function(t){this.tabs=t},handleSubmit:function(t){this.box=!1,this.text=t,this.handleChange(t)},handleShow:function(){this.$refs.main.blur(),this.disabled||this.readonly||(this.box=!0)}}}),xe=Object(l.a)(_e,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.b()},[n("el-input",{ref:"main",attrs:{placeholder:t.placeholder,size:t.size,clearable:t.clearableVal,disabled:t.disabled},on:{change:t.handleChange,focus:t.handleShow},nativeOn:{click:function(e){return t.handleClick.apply(null,arguments)}},model:{value:t.text,callback:function(e){t.text=e},expression:"text"}},[n("span",{attrs:{slot:"append"},on:{click:t.handleShow},slot:"append"},[0===(t.text||"").indexOf("#")?n("svg",{staticClass:"avue-crud__icon--small",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":t.text}})]):n("i",{staticClass:"avue-crud__icon--small",class:t.text})])]),t._v(" "),n("el-dialog",{staticClass:"avue-dialog avue-dialog--none",attrs:{title:t.placeholder,"append-to-body":"",visible:t.box,width:t.dialogWidth},on:{"update:visible":function(e){t.box=e}}},[n("avue-tabs",{attrs:{option:t.option},on:{change:t.handleTabs}}),t._v(" "),n("div",{class:t.b("list")},t._l(t.list,(function(e,i){return n("div",{key:i,class:t.b("item",{active:t.text===e}),on:{click:function(n){return t.handleSubmit(e.value)}}},[0===e.value.indexOf("#")?n("svg",{class:t.b("icon-symbol"),attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":e.value}})]):n("i",{class:[t.b("icon"),e.value]}),t._v(" "),n("p",[t._v(t._s(e.label||e.value))])])})),0)],1)],1)}),[],!1,null,null,null).exports,we=Object(i.a)({name:"input-table",mixins:[$t(),Tt()],data:function(){return{object:{},active:{},page:{},loading:!1,box:!1,created:!1,data:[]}},props:{formatter:Function,onLoad:Function,dialogWidth:{type:String,default:"80%"}},watch:{value:function(t){this.validatenull(t)&&(this.active={},this.object={})},text:function(t){var e=this;this.created||this.validatenull(t)||"function"==typeof this.onLoad&&this.onLoad({value:this.text},(function(t){e.active=t,e.object=t,e.created=!0}))}},computed:{title:function(){return this.disabled||this.readonly?"查看":"选择"},labelShow:function(){return"function"==typeof this.formatter?this.formatter(this.object):this.object[this.labelKey]||""},option:function(){return Object.assign({menu:!1,header:!1,size:"mini",headerAlign:"center",align:"center",highlightCurrentRow:!0},this.column.children)}},methods:{handleClear:function(){this.active={},this.setVal()},handleShow:function(){this.$refs.main.blur(),this.disabled||this.readonly||(this.page={currentPage:1,total:0},this.data=[],this.box=!0)},setVal:function(){this.object=this.active,this.text=this.active[this.valueKey]||"",this.handleChange(this.text),this.box=!1},handleCurrentRowChange:function(t){this.active=t},handleSearchChange:function(t,e){var n=this;this.onLoad({page:this.page,data:t},(function(t){n.page.total=t.total,n.data=t.data})),e&&e()},onList:function(t){var e=this;this.loading=!0,"function"==typeof this.onLoad&&this.onLoad({page:this.page},(function(t){e.page.total=t.total,e.data=t.data,e.loading=!1;var n=e.data.find((function(t){return t[e.valueKey]==e.object[e.valueKey]}));setTimeout((function(){return e.$refs.crud.setCurrentRow(n)}))}))}}}),ke=Object(l.a)(we,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.b()},[n("el-input",{ref:"main",attrs:{size:t.size,value:t.labelShow,clearable:t.clearableVal,placeholder:t.placeholder,disabled:t.disabled},on:{clear:t.handleClear,focus:t.handleShow},nativeOn:{click:function(e){return t.handleClick.apply(null,arguments)}}}),t._v(" "),n("el-dialog",{staticClass:"avue-dialog avue-dialog--none",attrs:{width:t.dialogWidth,"append-to-body":"",title:t.placeholder,visible:t.box},on:{"update:visible":function(e){t.box=e}}},[t.box?n("avue-crud",{ref:"crud",class:t.b("crud"),attrs:{option:t.option,data:t.data,"table-loading":t.loading,page:t.page},on:{"on-load":t.onList,"search-change":t.handleSearchChange,"search-reset":t.handleSearchChange,"current-row-change":t.handleCurrentRowChange,"update:page":function(e){t.page=e}}}):t._e(),t._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary",size:t.size,icon:"el-icon-check"},on:{click:t.setVal}},[t._v("确 定")])],1)],1)],1)}),[],!1,null,null,null).exports,Oe=Object(i.a)({name:"verify",props:{size:{type:[Number,String],default:50},value:[Number,String],len:{type:[Number,String],default:6}},computed:{styleName:function(){return{padding:"".concat(this.setPx(this.size/7)," ").concat(this.setPx(this.size/4)),fontSize:this.setPx(this.size)}},list:function(){return this.data.split("")}},watch:{value:{handler:function(t){this.validatenull(t)?this.randomn():this.data=t+""},immediate:!0},data:{handler:function(t){this.$emit("input",t)},immediate:!0}},data:function(){return{data:0}},methods:{randomn:function(){var t=this.len;if(t>21)return null;var e=new RegExp("(\\d{"+t+"})(\\.|$)"),n=(Array(t-1).join(0)+Math.pow(10,t)*Math.random()).match(e)[1];this.data=n}}}),Se=Object(l.a)(Oe,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.b()},t._l(t.list,(function(e,i){return n("span",{key:i,class:t.b("item"),style:t.styleName},[t._v("\n "+t._s(e)+"\n ")])})),0)}),[],!1,null,null,null).exports,Ce=Object(i.a)({name:"switch",mixins:[$t(),Tt()],props:{value:{},activeIconClass:String,inactiveIconClass:String,activeColor:String,inactiveColor:String,len:Number},data:function(){return{}},watch:{},created:function(){},mounted:function(){},computed:{active:function(){return this.dic[1]||{}},inactive:function(){return this.dic[0]||{}}},methods:{}}),je=Object(l.a)(Ce,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("el-switch",{attrs:{"active-text":t.active[t.labelKey],"active-value":t.active[t.valueKey],"inactive-value":t.inactive[t.valueKey],"inactive-text":t.inactive[t.labelKey],"active-icon-class":t.activeIconClass,"inactive-icon-class":t.inactiveIconClass,"active-color":t.activeColor,"inactive-color":t.inactiveColor,width:t.len,disabled:t.disabled,readonly:t.readonly,size:t.size},nativeOn:{click:function(e){return t.handleClick.apply(null,arguments)}},model:{value:t.text,callback:function(e){t.text=e},expression:"text"}})}),[],!1,null,null,null).exports,Ee=Object(i.a)({name:"rate",mixins:[$t(),Tt()],props:{value:{type:Number,default:0},colors:{type:Array},max:{type:Number,default:5},iconClasses:{type:Array},texts:{type:Array},showText:{type:Boolean,default:!1},voidIconClass:{type:String}},data:function(){return{}},watch:{},created:function(){},mounted:function(){},methods:{}}),$e=Object(l.a)(Ee,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("el-rate",{staticStyle:{"margin-top":"10px"},attrs:{max:t.max,readonly:t.readonly,texts:t.texts,"show-text":t.showText,"icon-classes":t.iconClasses,"void-icon-class":t.voidIconClass,disabled:t.disabled,colors:t.colors},on:{change:t.handleChange},nativeOn:{click:function(e){return t.handleClick.apply(null,arguments)}},model:{value:t.text,callback:function(e){t.text=e},expression:"text"}})}),[],!1,null,null,null).exports;function De(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pe(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};De(this,t),this.CONTAINERID=Object(P.t)(),this.drawCanvas=this.drawCanvas.bind(this),this.parentObserver=this.parentObserver.bind(this),this.Repaint=this.Repaint.bind(this),this.isOberserve=!1,this.init(e),this.drawCanvas(),this.parentObserver()}var e,n,i;return e=t,(n=[{key:"init",value:function(t){this.option=Object.assign({width:400,height:200,text:"avueJS",fontSize:"30px",fontStyle:"黑体",textAlign:"center",color:"rgba(100,100,100,0.15)",degree:-20},t)}},{key:"drawCanvas",value:function(){this.isOberserve=!0;var t=document.createElement("div"),e=document.createElement("canvas"),n=e.getContext("2d");t.id=this.CONTAINERID,e.width=this.option.width,e.height=this.option.height,n.font="".concat(this.option.fontSize," ").concat(this.option.fontStyle),n.textAlign=this.option.textAlign,n.fillStyle=this.option.color,n.translate(e.width/2,e.height/2),n.rotate(this.option.degree*Math.PI/180),n.fillText(this.option.text,0,0);var i,o=e.toDataURL("image/png"),a=this.option.id;a&&(i=document.getElementById(a)),this.styleStr="\n position:".concat(a?"absolute":"fixed",";\n top:0;\n left:0;\n width:").concat(a?i.offsetWidth+"px":"100%",";\n height:").concat(a?i.offsetHeight+"px":"100%",";\n z-index:9999;\n pointer-events:none;\n background-repeat:repeat;\n background-image:url('").concat(o,"')"),t.setAttribute("style",this.styleStr),a?document.getElementById(a).appendChild(t):document.body.appendChild(t),this.wmObserver(t),this.isOberserve=!1}},{key:"wmObserver",value:function(t){var e=this,n=new MutationObserver((function(t){if(!e.isOberserve){var i=t[0].target;i.setAttribute("style",e.styleStr),i.setAttribute("id",e.CONTAINERID),n.takeRecords()}}));n.observe(t,{attributes:!0,childList:!0,characterData:!0})}},{key:"parentObserver",value:function(){var t=this;new MutationObserver((function(){if(!t.isOberserve){var e=document.querySelector("#".concat(t.CONTAINERID));e?e.getAttribute("style")!==t.styleStr&&e.setAttribute("style",t.styleStr):t.drawCanvas()}})).observe(document.querySelector("#".concat(this.CONTAINERID)).parentNode,{childList:!0})}},{key:"Repaint",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.remove(),this.init(t),this.drawCanvas()}},{key:"remove",value:function(){this.isOberserve=!0;var t=document.querySelector("#".concat(this.CONTAINERID));t.parentNode.removeChild(t)}}])&&Pe(e.prototype,n),i&&Pe(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}(),Me=200,Le=200,Ie={text:"avueJS",fontFamily:"microsoft yahei",color:"#999",fontSize:16,opacity:100,bottom:10,right:10,ratio:1};function Fe(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise((function(n,i){var o=e.text,a=e.fontFamily,r=e.color,l=e.fontSize,s=e.opacity,c=e.bottom,u=e.right,d=e.ratio;Ie.text=o||Ie.text,Ie.fontFamily=a||Ie.fontFamily,Ie.color=r||Ie.color,Ie.fontSize=l||Ie.fontSize,Ie.opacity=s||Ie.opacity,Ie.bottom=c||Ie.bottom,Ie.right=u||Ie.right,Ie.ratio=d||Ie.ratio,function(t,e){var n=new FileReader;n.readAsDataURL(t),n.onload=function(t){e(t.target.result)}}(t,(function(e){var i=new Image;i.src=e,i.onload=function(){var e=i.width,o=i.height;!function(t,e){null===(Te=document.getElementById("canvas"))&&((Te=document.createElement("canvas")).id="canvas",Te.className="avue-canvas",document.body.appendChild(Te));Be=Te.getContext("2d"),Te.width=t,Te.height=e}(e,o),Be.drawImage(i,0,0,e,o),function(t,e){var n=Ie.text,i=function(t,e,n){var i,o,a=Ie.fontSize/Me*e;o=Ie.bottom?Le-Ie.bottom:Ie.top;i=Ie.right?Me-Ie.right:Ie.left;Be.font=Ie.fontSize+"px "+Ie.fontFamily;var r=Number(Be.measureText(t).width);return{x:i=(i=i-r)/Me*e,y:o=o/Le*n,fontSize:a}}(n,t,e);Be.font=i.fontSize+"px "+Ie.fontFamily,Be.fillStyle=Ie.color,Be.globalAlpha=Ie.opacity/100,Be.fillText(n,i.x,i.y)}(e,o),n(Object(P.d)(document.getElementById("canvas").toDataURL(t.type,Ie.ratio),t.name))}}))}))}var Ne=function(t,e,n){var i=function(t){var e,n,i,o,a,r;i=t.length,n=0,e="";for(;n>2),e+=ze.charAt((3&o)<<4),e+="==";break}if(a=t.charCodeAt(n++),n==i){e+=ze.charAt(o>>2),e+=ze.charAt((3&o)<<4|(240&a)>>4),e+=ze.charAt((15&a)<<2),e+="=";break}r=t.charCodeAt(n++),e+=ze.charAt(o>>2),e+=ze.charAt((3&o)<<4|(240&a)>>4),e+=ze.charAt((15&a)<<2|(192&r)>>6),e+=ze.charAt(63&r)}return e}(function(t){var e,n,i,o;for(e="",i=t.length,n=0;n=1&&o<=127?e+=t.charAt(n):o>2047?(e+=String.fromCharCode(224|o>>12&15),e+=String.fromCharCode(128|o>>6&63),e+=String.fromCharCode(128|o>>0&63)):(e+=String.fromCharCode(192|o>>6&31),e+=String.fromCharCode(128|o>>0&63));return e}(JSON.stringify(n))),o=CryptoJS.HmacSHA1(i,e).toString(CryptoJS.enc.Base64);return t+":"+Ke(o)+":"+i};var ze="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";new Array(-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1);var Ke=function(t){return t=(t=t.replace(/\+/g,"-")).replace(/\//g,"_")};function Re(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.match(/(^http:\/\/|^https:\/\/|^\/\/|data:image\/)/)?e:t+e}var He=Object(i.a)({name:"upload",mixins:[$t(),Tt(),$.a],data:function(){return{res:"",loading:!1,text:[],file:{},menu:!1,reload:Math.random()}},props:{data:{type:Object,default:function(){return{}}},onRemove:Function,showFileList:{type:Boolean,default:!0},oss:{type:String},limit:{type:Number,default:10},headers:{type:Object,default:function(){return{}}},accept:{type:[String,Array],default:""},canvasOption:{type:Object,default:function(){return{}}},fileSize:{type:Number},dragFile:{type:Boolean,default:!1},drag:{type:Boolean,default:!1},loadText:{type:String,default:"文件上传中,请稍等"},action:{type:String,default:""},uploadBefore:Function,uploadAfter:Function,uploadDelete:Function,uploadPreview:Function,uploadError:Function,uploadExceed:Function,httpRequest:Function},computed:{isMultiple:function(){return this.isArray||this.isString||this.stringMode},acceptList:function(){return Array.isArray(this.accept)?this.accept.join(","):this.accept},homeUrl:function(){return this.propsHttp.home||""},getIsVideo:function(){return M.m.video.test(this.imgUrl)?"video":"img"},fileName:function(){return this.propsHttp.fileName||"file"},isAliOss:function(){return"ali"===this.oss},isQiniuOss:function(){return"qiniu"===this.oss},isPictureImg:function(){return"picture-img"===this.listType},imgUrl:function(){if(!this.validatenull(this.text))return Re(this.homeUrl,this.text[0])},fileList:function(){var t=this,e=[];return(this.text||[]).forEach((function(n,i){if(n){var o;if(t.isMultiple){var a=n.lastIndexOf("/");o=n.substring(a+1)}e.push({uid:i+"",status:"done",isImage:n.isImage,name:t.isMultiple?o:n[t.labelKey],url:Re(t.homeUrl,t.isMultiple?n:n[t.valueKey])})}})),e}},mounted:function(){this.drag&&this.setSort()},methods:{setSort:function(){var t=this;if(window.Sortable){var e=this.$el.querySelectorAll(".avue-upload > ul")[0];window.Sortable.create(e,{animation:100,onEnd:function(e){var n=t.text.splice(e.oldIndex,1)[0];t.text.splice(e.newIndex,0,n),t.reload=Math.random(),t.$nextTick((function(){return t.setSort()}))}})}else x.a.logs("Sortable")},handleSuccess:function(t){if(this.isPictureImg)this.text.splice(0,1,t[this.urlKey]);else if(this.isMultiple)this.text.push(t[this.urlKey]);else{var e={};e[this.labelKey]=t[this.nameKey],e[this.valueKey]=t[this.urlKey],this.text.push(e)}},handleRemove:function(t,e){this.onRemove&&this.onRemove(t,e),this.delete(t)},handleError:function(t){this.uploadError&&this.uploadError(t,this.column)},delete:function(t){var e=this;(this.text||[]).forEach((function(n,i){(e.isMultiple?n:n[e.valueKey])===t.url.replace(e.homeUrl,"")&&e.text.splice(i,1)}))},show:function(t){this.loading=!1,this.handleSuccess(t||this.res)},hide:function(t){this.loading=!1,this.handleError(t)},handleFileChange:function(t,e){e.splice(e.length-1,1)},httpUpload:function(t){var e=this;if("function"!=typeof this.httpRequest){this.loading=!0;var n=t.file,i=n.size/1024;if(this.file=t.file,!this.validatenull(i)&&i>this.fileSize)this.hide("文件太大不符合");else{var o=Object.assign(this.headers,{"Content-Type":"multipart/form-data"}),a={},r={},l=new FormData,s=function(){var t=function(t){var i=e.action;for(var s in e.data)l.append(s,e.data[s]);var c=t||n;if(l.append(e.fileName,c),e.isQiniuOss){if(!window.CryptoJS)return x.a.logs("CryptoJS"),void e.hide();a=e.$AVUE.qiniu;var u=Ne(a.AK,a.SK,{scope:a.scope,deadline:(new Date).getTime()+3600*a.deadline});l.append("token",u),i=a.bucket}else if(e.isAliOss){if(!window.OSS)return x.a.logs("AliOSS"),void e.hide();a=e.$AVUE.ali,r=new OSS(a)}(e.isAliOss?r.put(c.name,c,{headers:e.headers}):e.$axios.post(i,l,{headers:o})).then((function(t){e.res={},e.isQiniuOss&&(t.data.key=a.url+t.data.key),e.isAliOss?e.res=Object(P.n)(t,e.resKey):e.res=Object(P.n)(t.data,e.resKey),"function"==typeof e.uploadAfter?e.uploadAfter(e.res,e.show,(function(){e.loading=!1}),e.column):e.show(e.res)})).catch((function(t){"function"==typeof e.uploadAfter?e.uploadAfter(t,e.hide,(function(){e.loading=!1}),e.column):e.hide(t)}))};"function"==typeof e.uploadBefore?e.uploadBefore(e.file,t,(function(){e.loading=!1}),e.column):t()};this.validatenull(this.canvasOption)?s():Fe(n,this.canvasOption).then((function(t){n=t,s()}))}}else this.httpRequest(t)},handleExceed:function(t,e){this.uploadExceed&&this.uploadExceed(this.limit,t,e,this.column)},handlePreview:function(t){var e=this,n=function(){var n=e.fileList.findIndex((function(e){return e.url===t.url}));e.$ImagePreview(e.fileList,n)};"function"==typeof this.uploadPreview?this.uploadPreview(t,this.column,n):n()},handleDelete:function(t){var e=this;this.beforeRemove(t).then((function(){e.text=[],e.menu=!1})).catch((function(){}))},beforeRemove:function(t){return"function"==typeof this.uploadDelete?this.uploadDelete(t,this.column):Promise.resolve()}}}),Ve=Object(l.a)(He,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"loading",rawName:"v-loading.lock",value:t.loading,expression:"loading",modifiers:{lock:!0}}],class:t.b(),attrs:{"element-loading-text":t.loadText}},[n("el-upload",{key:t.reload,class:t.b({list:"picture-img"==t.listType,upload:t.disabled}),attrs:{action:t.action,"on-remove":t.handleRemove,accept:t.acceptList,"before-remove":t.beforeRemove,multiple:t.multiple,"on-preview":t.handlePreview,limit:t.limit,"http-request":t.httpUpload,readonly:t.readonly,drag:t.dragFile,"show-file-list":!t.isPictureImg&&t.showFileList,"list-type":t.listType,"on-change":t.handleFileChange,"on-exceed":t.handleExceed,disabled:t.disabled,"file-list":t.fileList},nativeOn:{click:function(e){return t.handleClick.apply(null,arguments)}},scopedSlots:t._u([{key:"file",fn:function(e){return t.$scopedSlots.default?[t._t("default",null,null,e)]:void 0}}],null,!0)},["picture-card"==t.listType?[n("i",{staticClass:"el-icon-plus"})]:"picture-img"==t.listType?[t.$scopedSlots.default?t._t("default",null,{file:{url:t.imgUrl}}):[t.imgUrl?n(t.getIsVideo,{tag:"component",class:t.b("avatar"),attrs:{src:t.imgUrl},on:{mouseover:function(e){t.menu=!0}}}):n("i",{staticClass:"el-icon-plus",class:t.b("icon")}),t._v(" "),t.menu?n("div",{staticClass:"el-upload-list__item-actions",class:t.b("menu"),on:{mouseover:function(e){t.menu=!0},mouseout:function(e){t.menu=!1},click:function(t){return t.stopPropagation(),function(){return!1}.apply(null,arguments)}}},[n("i",{staticClass:"el-icon-zoom-in",on:{click:function(e){return e.stopPropagation(),t.handlePreview({url:t.imgUrl})}}}),t._v(" "),t.disabled?t._e():n("i",{staticClass:"el-icon-delete",on:{click:function(e){return e.stopPropagation(),t.handleDelete(t.imgUrl)}}})]):t._e()]]:t.dragFile?[n("i",{staticClass:"el-icon-upload"}),t._v(" "),n("div",{staticClass:"el-upload__text"},[t._v("\n "+t._s(t.t("upload.tip"))+"\n "),n("em",[t._v(t._s(t.t("upload.upload")))])])]:[n("el-button",{attrs:{size:"small",type:"primary"}},[t._v(t._s(t.t("upload.upload")))])],t._v(" "),n("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[t._v(t._s(t.tip))])],2)],1)}),[],!1,null,null,null).exports;var Ue=Object(i.a)({name:"sign",props:{width:{type:Number,default:600},height:{type:Number,default:400}},data:function(){return{disabled:!1,linex:[],liney:[],linen:[],canvas:{},context:{}}},computed:{styleName:function(){return{width:this.setPx(this.width),height:this.setPx(this.height)}}},mounted:function(){this.init()},methods:{getStar:function(t,e,n){var i=this.canvas,o=this.context,a=i.width/2,r=i.height/2;o.lineWidth=7,o.strokeStyle="#f00",o.beginPath(),o.arc(a,r,110,0,2*Math.PI),o.stroke(),function(t,e,n,i,o,a){t.save(),t.fillStyle=o,t.translate(e,n),t.rotate(Math.PI+a),t.beginPath();for(var r=Math.sin(0),l=Math.cos(0),s=Math.PI/5*4,c=0;c<5;c++){r=Math.sin(c*s),l=Math.cos(c*s);t.lineTo(r*i,l*i)}t.closePath(),t.stroke(),t.fill(),t.restore()}(o,a,r,20,"#f00",0),o.font="18px 黑体",o.textBaseline="middle",o.textAlign="center",o.lineWidth=1,o.strokeStyle="#f00",o.strokeText(t,a,r+50),o.font="14px 黑体",o.textBaseline="middle",o.textAlign="center",o.lineWidth=1,o.strokeStyle="#f00",o.strokeText(n,a,r+80),o.translate(a,r),o.font="22px 黑体";for(var l,s=e.length,c=4*Math.PI/(3*(s-1)),u=e.split(""),d=0;d',r=[],l=1;l<10;l++)r.push(l.toString());r.push("0");for(var s,c=e.keys||[["`"].concat(r).concat(["-","=","Delete"]),["Tab","q","w","e","r","t","y","u","i","o","p","[","]","\\"],["Caps","a","s","d","f","g","h","j","k","l",";","'","Enter"],["Shift","z","x","c","v","b","n","m",",",".","/","Shift"],["Space"]],u=[],d=[],p=0;p");continue;case"/":u[p].push("?");continue}u[p].push(s[h].toUpperCase())}}for(var f=0;f';for(var m=0;m'+s[m]+"";a+=""}a+="",n.innerHTML=a;var b=!1;if(c.forEach((function(t){t.includes("Shift")&&(b=!0)})),b)document.querySelectorAll(e.el+" .akeyboard-keyboard-keys-Shift").forEach((function(t){t.onclick=function(){if(this.isShift){t.isShift=!1,t.innerHTML="Shift",this.classList.remove("keyboard-keyboard-keys-focus");for(var n,i=document.querySelectorAll(e.el+" .akeyboard-keyboard-innerKeys"),o=0;o')}var e,n,i;return e=t,(n=[{key:"inputOn",value:function(t,e,n,i){if("string"==typeof t)if("string"==typeof e)for(var o=document.querySelector(t),a=document.querySelectorAll(this.obj.el+" .akeyboard-keyboard-keys"),r=0;r0&&i[a[r].innerHTML]?a[r].onclick=i[a[r].innerHTML]:a[r].onclick=function(){o[e]+=this.innerText,n(this.innerText,o[e])}:a[r].onclick=function(){o[e]+=" ",n("Space",o[e])}:a[r].onclick=function(){o[e]+="\n",n("Enter",o[e])}:a[r].onclick=function(){o[e]+=" ",n("Tab",o[e])}:a[r].onclick=function(){o[e]=o[e].substr(0,o[e].length-1),n("Delete",o[e])});else console.error('aKeyboard: The type parameter needs to be a string ');else console.error('aKeyboard: The inputEle parameter needs to be a string ')}},{key:"onclick",value:function(t,e){if("string"==typeof t)if("function"==typeof e){var n=document.querySelector(this.obj.el+" .akeyboard-keyboard-keys-"+t);n?n.onclick=e:console.error("Can not find key: "+t)}else console.error('aKeyboard: The fn parameter needs to be a function ');else console.error('aKeyboard: The btn parameter needs to be a string ')}}])&&Ge(e.prototype,n),i&&Ge(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Qe(t){return(Qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ze(t,e){for(var n=0;n';a+='
';for(var r=1;r<10;r++)a+='
'+r+"
",r%3==0&&(a+='
');a+='
0
Delete
Enter
',a+="",n.innerHTML=a}else console.error('aKeyboard: The obj parameter needs to be an object ')}var e,n,i;return e=t,(n=[{key:"inputOn",value:function(t,e,n,i){if("string"==typeof t)if("string"==typeof e)for(var o=document.querySelector(t),a=document.querySelectorAll(this.obj.el+" .akeyboard-keyboard-keys"),r=0;r0&&i[a[r].innerHTML]?a[r].onclick=i[a[r].innerHTML]:a[r].onclick=function(){o[e]+=this.innerText,n(this.innerText,o[e])}:a[r].onclick=function(){o[e]+="\n",n("Enter",o[e])}:a[r].onclick=function(){o[e]=o[e].substr(0,o[e].length-1),n("Delete",o[e])};else console.error('aKeyboard: The type parameter needs to be a string ');else console.error('aKeyboard: The inputEle parameter needs to be a string ')}},{key:"onclick",value:function(t,e){if("string"==typeof t)if("function"==typeof e){var n=document.querySelector(this.obj.el+" .akeyboard-keyboard-keys-"+t);n?n.onclick=e:console.error("Can not find key: "+t)}else console.error('aKeyboard: The fn parameter needs to be a function ');else console.error('aKeyboard: The btn parameter needs to be a string ')}}])&&Ze(e.prototype,n),i&&Ze(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();var en=Object(i.a)({name:"keyboard",props:{ele:{type:String,required:!0},keys:Array,theme:{type:String,default:"default",validator:function(t){return["default","dark","green","classic"].includes(t)}},type:{type:String,default:"default",validator:function(t){return["default","number","mobile"].includes(t)}},fixedBottomCenter:{type:Boolean,default:!1},rebind:{type:Boolean,default:!0}},watch:{ele:function(){this.init()}},data:function(){return{customClick:{}}},computed:{className:function(){return"avue-keyboard--".concat(this.theme)}},mounted:function(){this.init()},methods:{init:function(){var t=this;if(this.ele){var e,n={el:"#keyboard",style:{},keys:this.keys,fixedBottomCenter:this.fixedBottomCenter};"default"==this.type?e=new Je(n):"number"==this.type?e=new tn(n):"mobile"==this.type&&(e=new MobileKeyBoard(n));var i=0==this.ele.indexOf("#")?this.ele.substring(1):this.ele;e.inputOn("#".concat(i),"value",(function(e,n){t.$emit("click",e,n)}),this.rebind?this.customClick:null),this.keyboard=e}},bindClick:function(t,e){this.keyboard.onclick(t,e),this.customClick[t]=e}}}),nn=Object(l.a)(en,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{class:[this.b(),this.className]},[e("div",{attrs:{id:"keyboard"}})])}),[],!1,null,null,null).exports;function on(t){return function(t){if(Array.isArray(t))return an(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return an(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return an(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function an(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return t[e[n]||(this.parentOption.props||{})[n]||n]},dataformat:function(){var t=this;this.columnOption.forEach((function(e){var n=e.prop;t.validatenull(t.form[n])&&(!1===e.multiple?t.$set(t.form,n,""):t.$set(t.form,n,[]))}))},getActive:function(t,e){var n=this.getKey(t,e.props,"value");return!1===e.multiple?this.form[e.prop]===n:this.form[e.prop].includes(n)},handleClick:function(t,e){var n=this.getKey(e,t.props,"value");if(!1===t.multiple)this.form[t.prop]=n;else{var i=this.form[t.prop].indexOf(n);-1===i?this.form[t.prop].push(n):this.form[t.prop].splice(i,1)}this.$emit("change",this.form),this.$emit("input",this.form)}}}),dn=Object(l.a)(un,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-row",{class:[t.b(),{"avue--card":t.isCard}],attrs:{span:24}},t._l(t.columnOption,(function(e,i){return n("el-col",{key:e.prop,class:t.b("item"),attrs:{span:e.span||24}},[n("p",{class:t.b("title")},[t._v(t._s(e.label)+":")]),t._v(" "),n("div",{class:t.b("content")},[e.slot?t._t(e.prop,null,{dic:t.DIC[e.prop]}):t._l(t.DIC[e.prop],(function(i){return n("span",{key:t.getKey(i,e.props,"value"),class:[t.b("tags"),{"avue-search__tags--active":t.getActive(i,e)}],on:{click:function(n){return t.handleClick(e,i)}}},[t._v(t._s(t.getKey(i,e.props,"label")))])}))],2)])})),1)}),[],!1,null,null,null).exports;var pn=Object(i.a)({name:"skeleton",props:{loading:{type:Boolean,default:!0},avatar:Boolean,active:{type:Boolean,default:!0},block:Boolean,number:{type:Number,default:1},rows:{type:Number,default:3}},computed:{styleName:function(){return this.block?{width:"100%"}:{}},className:function(){var t,e,n,i=this.active;return t={},e="".concat("avue-skeleton","__loading"),n=i,e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}}}),hn=Object(l.a)(pn,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.b()},t._l(t.number,(function(e,i){return t.loading?n("div",{key:i,class:t.b("item")},[n("div",{class:t.b("header")},[t.avatar?n("span",{class:[t.b("avatar"),t.className]}):t._e()]),t._v(" "),n("div",{class:t.b("content")},[n("h3",{class:[t.b("title"),t.className]}),t._v(" "),n("div",{class:t.b("list")},t._l(t.rows,(function(e,i){return n("li",{key:i,class:[t.b("li"),t.className],style:t.styleName})})),0)])]):n("div",[t._t("default")],2)})),0)}),[],!1,null,null,null).exports,fn=Object(i.a)({name:"tabs",props:{option:{type:Object,required:!0,default:function(){return{}}}},data:function(){return{active:"0"}},watch:{active:function(){this.$emit("change",this.tabsObj)}},computed:{tabsObj:function(){return this.columnOption[this.active]},parentOption:function(){return this.option},columnOption:function(){return this.parentOption.column||[]}},methods:{changeTabs:function(t){this.active=t+""}}}),mn=Object(l.a)(fn,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.b()},[n("el-tabs",{attrs:{"tab-position":t.parentOption.position,type:t.parentOption.type},model:{value:t.active,callback:function(e){t.active=e},expression:"active"}},t._l(t.columnOption,(function(e,i){return n("el-tab-pane",{key:i,attrs:{name:i+"",disabled:e.disabled}},[n("span",{attrs:{slot:"label"},slot:"label"},[n("i",{class:e.icon}),t._v(" \n "+t._s(e.label)+"\n ")])])})),1)],1)}),[],!1,null,null,null).exports,bn=Object(i.a)({name:"dynamic",mixins:[$t(),Tt()],data:function(){return{hoverList:[]}},props:{columnSlot:{type:Array,default:function(){return[]}},children:{type:Object,default:function(){return{}}}},computed:{showIndex:function(){return this.vaildData(this.children.index,!0)},showType:function(){return this.children.type||"crud"},isForm:function(){return"form"===this.showType},isCrud:function(){return"crud"===this.showType},selectionChange:function(){return this.children.selectionChange},sortableChange:function(){return this.children.sortableChange},rowAdd:function(){return this.children.rowAdd},rowDel:function(){return this.children.rowDel},viewBtn:function(){return!1===this.children.viewBtn},addBtn:function(){return!1===this.children.addBtn},delBtn:function(){return!1===this.children.delBtn},valueOption:function(){var t={};return this.columnOption.forEach((function(e){e.value&&(t[e.prop]=e.value)})),t},rulesOption:function(){var t={};return this.columnOption.forEach((function(e){e.rules&&(t[e.prop]=e.rules)})),t},columnOption:function(){return this.children.column||[]},option:function(){var t,e=this;return Object.assign({border:!0,header:!1,menu:!1,size:this.size,disabled:this.disabled,readonly:this.readonly,emptyBtn:!1,submitBtn:!1},function(){var t=e.deepClone(e.children);return delete t.column,t}(),(t=[{label:e.children.indexLabel||"#",prop:"_index",display:e.showIndex,detail:!0,fixed:!0,align:"center",headerAlign:"center",span:24,width:50}],e.columnOption.forEach((function(n){t.push(Object.assign(n,{cell:e.vaildData(n.cell,!0)}))})),{column:t}))}},mounted:function(){this.initData()},watch:{textLen:function(){return this.text.length},text:function(){this.initData()}},methods:{handleSelectionChange:function(t){this.selectionChange&&this.selectionChange(t)},handleSortableChange:function(t,e,n,i){this.sortableChange&&this.sortableChange(t,e,n,i)},cellMouseenter:function(t){var e=t.$index;this.mouseoverRow(e)},cellMouseLeave:function(t,e,n,i){var o=t.$index;this.mouseoutRow(o)},initData:function(){this.text.forEach((function(t,e){t=Object.assign(t,{$cellEdit:!0,$index:e})}))},mouseoverRow:function(t){this.delBtn||(this.flagList(),this.$set(this.hoverList,t,!0))},mouseoutRow:function(t){this.delBtn||(this.flagList(),this.$set(this.hoverList,t,!1))},flagList:function(){this.hoverList.forEach((function(t,e){!1}))},delRow:function(t){var e=this,n=function(){var n=e.deepClone(e.text);n.splice(t,1),e.text=n};"function"==typeof this.rowDel?this.rowDel(this.text[t],n):n()},addRow:function(){var t=this,e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e=Object.assign(t.valueOption,e,{$index:t.textLen}),t.isCrud?t.$refs.main.rowCellAdd(e):t.isForm&&t.text.push(e)};"function"==typeof this.rowAdd?this.rowAdd(e):e()}}}),vn=Object(l.a)(bn,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.b()},[t.isForm?[n("div",{class:t.b("header")},[t.readonly||t.disabled||t.addBtn?t._e():n("el-button",{attrs:{size:"mini",circle:"",disabled:t.disabled,type:"primary",icon:"el-icon-plus"},on:{click:t.addRow}})],1),t._v(" "),n("div",t._l(t.text,(function(e,i){return n("div",{key:i,class:t.b("row"),on:{mouseenter:function(e){return t.cellMouseenter({$index:i})},mouseleave:function(e){return t.cellMouseLeave({$index:i})}}},[t.readonly||t.disabled||t.delBtn||!t.hoverList[i]?t._e():n("el-button",{class:t.b("menu"),attrs:{type:"danger",size:"mini",disabled:t.disabled,icon:"el-icon-delete",circle:""},on:{click:function(n){return t.delRow(e.$index)}}}),t._v(" "),n("avue-form",{key:i,ref:"main",refInFor:!0,attrs:{option:t.option},scopedSlots:t._u([{key:"_index",fn:function(i){return n("div",{},[n("span",[t._v(t._s(e.$index+1))])])}},t._l(t.columnSlot,(function(e){return{key:e,fn:function(n){return[t._t(e,null,null,Object.assign(n,{row:t.text[i]}))]}}}))],null,!0),model:{value:t.text[i],callback:function(e){t.$set(t.text,i,e)},expression:"text[index]"}})],1)})),0)]:t.isCrud?n("avue-crud",{ref:"main",attrs:{option:t.option,disabled:t.disabled,data:t.text},on:{"cell-mouse-enter":t.cellMouseenter,"cell-mouse-leave":t.cellMouseLeave,"selection-change":t.handleSelectionChange,"sortable-change":t.handleSortableChange},scopedSlots:t._u([{key:"_indexHeader",fn:function(e){return[t.addBtn||t.readonly?t._e():n("el-button",{attrs:{type:"primary",size:"mini",disabled:t.disabled,icon:"el-icon-plus",circle:""},on:{click:function(e){return t.addRow()}}})]}},{key:"_index",fn:function(e){return[t.readonly||t.disabled||t.delBtn||!t.hoverList[e.row.$index]?n("div",[t._v(t._s(e.row.$index+1))]):n("el-button",{attrs:{type:"danger",size:"mini",disabled:t.disabled,icon:"el-icon-delete",circle:""},on:{click:function(n){return t.delRow(e.row.$index)}}})]}},t._l(t.columnSlot,(function(e){return{key:t.getSlotName({prop:e},"F"),fn:function(n){return[t._t(e,null,null,n)]}}}))],null,!0)}):t._e()],2)}),[],!1,null,null,null).exports,yn=Object(i.a)({name:"queue",props:{enter:{type:String,default:"fadeInLeft"},leave:{type:String,default:"fadeOutRight"},block:{type:Boolean,default:!1},delay:{type:Number,default:0}},data:function(){return{isFixed:0,animate:[]}},mounted:function(){var t=this;this.$nextTick((function(){addEventListener("scroll",t.handleAnimate),t.handleAnimate()}))},methods:{handleAnimate:function(){var t=this;(pageYOffset||document.documentElement.scrollTop||document.body.scrollTop)+document.documentElement.clientHeight>this.$refs.queue.offsetTop?setTimeout((function(){t.animate=[t.enter,"avue-opacity--active"]}),this.delay):this.animate=["avue-opacity"]}},destroyed:function(){removeEventListener("scroll",this.handleAnimate)}}),gn=Object(l.a)(yn,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{class:[this.b(),{"avue-queue--block":this.block}]},[e("div",{ref:"queue",staticClass:"animated",class:this.animate},[this._t("default")],2)])}),[],!1,null,null,null).exports;function _n(t,e){for(var n=0;nt.height){i.style.display="inline-block";for(var a=t.text;n.offsetHeight>t.height&&o>0;)n.offsetHeight>3*t.height?e.innerText=a=a.substring(0,Math.floor(a.length/2)):e.innerText=a=a.substring(0,a.length-1),o--;t.$emit("hide"),t.isHide=!0}else t.$emit("show"),t.isHide=!1}))}}}),$n=[jn,s,m,y,_,ht,yt,bt,kt,Ct,Et,At,Lt,p,Ft,Rt,Vt,qt,Xt,Jt,Zt,oe,re,se,de,he,me,ve,xe,ge,ke,je,$e,Ve,Ye,nn,ln,cn,dn,mn,gn,vn,kn,Se,Object(l.a)(En,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.b(),style:{width:t.setPx(t.width,"100%")}},[t._t("before"),t._v(" "),n("el-tooltip",{attrs:{content:t.text,disabled:!(t.useTooltip&&t.isHide),placement:t.placement}},[n("span",[n("span",{key:t.keyIndex,ref:"text",class:t.b("text")},[t._v(t._s(t.text))])])]),t._v(" "),n("span",{ref:"more",class:t.b("more")},[t._t("more")],2),t._v(" "),t._t("after")],2)}),[],!1,null,null,null).exports,hn,We,Sn],Dn=Object(i.a)({name:"data-tabs",data:function(){return{}},computed:{animation:function(){return this.option.animation},decimals:function(){return this.option.decimals||0},span:function(){return this.option.span||8},data:function(){return this.option.data||[]}},props:{option:{type:Object,default:function(){}}}}),Pn=Object(l.a)(Dn,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"avue-data-tabs"},[n("el-row",{attrs:{span:24}},t._l(t.data,(function(e,i){return n("el-col",{key:i,attrs:{md:t.span,xs:24,sm:12}},[n("div",{staticClass:"item",style:{background:e.color}},[n("a",{attrs:{href:e.href?e.href:"javascript:void(0);",target:e.target},on:{click:function(t){e.click&&e.click(e)}}},[n("div",{staticClass:"item-header"},[n("p",[t._v(t._s(e.title))]),t._v(" "),n("span",[t._v(t._s(e.subtitle))])]),t._v(" "),n("div",{staticClass:"item-body"},[n("avue-count-up",{staticClass:"h2",attrs:{decimals:e.decimals||t.decimals,animation:e.animation||t.animation,end:e.count}})],1),t._v(" "),n("div",{staticClass:"item-footer"},[n("span",[t._v(t._s(e.allcount))]),t._v(" "),n("p",[t._v(t._s(e.text))])]),t._v(" "),n("p",{staticClass:"item-tip"},[t._v(t._s(e.key))])])])])})),1)],1)}),[],!1,null,null,null).exports,Tn=Object(i.a)({name:"data-cardtext",data:function(){return{}},computed:{icon:function(){return this.option.icon},color:function(){return this.option.color||"#333"},span:function(){return this.option.span||8},data:function(){return this.option.data||[]}},props:{option:{type:Object,default:function(){}}}}),Bn=Object(l.a)(Tn,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"avue-data-cardText"},[n("el-row",{attrs:{span:24}},t._l(t.data,(function(e,i){return n("el-col",{key:i,attrs:{md:t.span,xs:24,sm:12}},[n("div",{staticClass:"item"},[n("a",{attrs:{href:e.href||"javascript:void(0);",target:e.target},on:{click:function(t){e.click&&e.click(e)}}},[n("div",{staticClass:"item-header"},[n("i",{class:e.icon||"el-icon-bell",style:{color:e.color||"red"}}),t._v(" "),n("a",{},[t._v(t._s(e.title))])]),t._v(" "),n("div",{staticClass:"item-content"},[t._v(t._s(e.content))]),t._v(" "),n("div",{staticClass:"item-footer"},[n("span",[t._v(t._s(e.name))]),t._v(" "),n("span",[t._v(t._s(e.date))])])])])])})),1)],1)}),[],!1,null,null,null).exports,An=Object(i.a)({name:"data-box",data:function(){return{}},props:{option:{type:Object,default:function(){}}},computed:{animation:function(){return this.option.animation},decimals:function(){return this.option.decimals||0},span:function(){return this.option.span||8},data:function(){return this.option.data||[]}},created:function(){},mounted:function(){},watch:{},methods:{}}),Mn=Object(l.a)(An,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"data-box"},[n("el-row",{attrs:{span:24}},t._l(t.data,(function(e,i){return n("el-col",{key:i,attrs:{md:t.span,xs:24,sm:12}},[n("div",{staticClass:"item"},[n("a",{attrs:{href:e.href?e.href:"javascript:void(0);",target:e.target},on:{click:function(t){e.click&&e.click(e)}}},[n("div",{staticClass:"item-icon",style:{backgroundColor:e.color}},[n("i",{class:e.icon})]),t._v(" "),n("div",{staticClass:"item-info"},[n("avue-count-up",{staticClass:"title",style:{color:e.color},attrs:{animation:e.animation||t.animation,decimals:e.decimals||t.decimals,end:e.count}}),t._v(" "),n("div",{staticClass:"info"},[t._v(t._s(e.title))])],1)])])])})),1)],1)}),[],!1,null,null,null).exports,Ln=Object(i.a)({name:"data-progress",data:function(){return{}},props:{option:{type:Object,default:function(){}}},computed:{animation:function(){return this.option.animation},decimals:function(){return this.option.decimals||0},span:function(){return this.option.span||8},data:function(){return this.option.data||[]}},created:function(){},mounted:function(){},watch:{},methods:{}}),In=Object(l.a)(Ln,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"data-progress"},[n("el-row",{attrs:{span:24}},t._l(t.data,(function(e,i){return n("el-col",{key:i,attrs:{md:t.span,xs:24,sm:12}},[n("div",{staticClass:"item"},[n("a",{attrs:{href:e.href?e.href:"javascript:void(0);",target:e.target},on:{click:function(t){e.click&&e.click(e)}}},[n("div",{staticClass:"item-header"},[n("avue-count-up",{staticClass:"item-count",attrs:{animation:e.animation||t.animation,decimals:e.decimals||t.decimals,end:e.count}}),t._v(" "),n("div",{staticClass:"item-title",domProps:{textContent:t._s(e.title)}})],1),t._v(" "),n("el-progress",{attrs:{"stroke-width":15,percentage:e.count,color:e.color,"show-text":!1}})],1)])])})),1)],1)}),[],!1,null,null,null).exports,Fn=Object(i.a)({name:"data-icons",data:function(){return{}},computed:{animation:function(){return this.option.animation},decimals:function(){return this.option.decimals||0},span:function(){return this.option.span||4},data:function(){return this.option.data},color:function(){return this.option.color||"rgb(63, 161, 255)"},discount:function(){return this.option.discount||!1}},props:{option:{type:Object,default:function(){}}}}),Nn=Object(l.a)(Fn,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"data-icons"},[n("el-row",{attrs:{span:24}},[t._l(t.data,(function(e,i){return[n("el-col",{key:i,attrs:{xs:12,sm:6,md:t.span}},[n("div",{staticClass:"item",class:[{"item--easy":t.discount}]},[n("a",{attrs:{href:e.href?e.href:"javascript:void(0);",target:e.target},on:{click:function(t){e.click&&e.click(e)}}},[n("div",{staticClass:"item-icon",style:{color:t.color}},[n("i",{class:e.icon})]),t._v(" "),n("div",{staticClass:"item-info"},[n("span",[t._v(t._s(e.title))]),t._v(" "),n("avue-count-up",{staticClass:"count",style:{color:t.color},attrs:{animation:e.animation||t.animation,decimals:e.decimals||t.decimals,end:e.count}})],1)])])])]}))],2)],1)}),[],!1,null,null,null).exports,zn=Object(i.a)({name:"data-card",data:function(){return{}},props:{option:{type:Object,default:function(){}}},computed:{span:function(){return this.option.span||6},data:function(){return this.option.data||[]},colorText:function(){return this.option.colorText||"#fff"},bgText:function(){return this.option.bgText||"#2e323f"},borderColor:function(){return this.option.borderColor||"#2e323f"}},created:function(){},mounted:function(){},watch:{},methods:{}}),Kn=Object(l.a)(zn,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"data-card"},[n("el-row",{attrs:{span:24}},t._l(t.data,(function(e,i){return n("el-col",{key:i,attrs:{md:t.span,xs:24,sm:12}},[n("div",{staticClass:"item"},[n("a",{attrs:{href:e.href?e.href:"javascript:void(0);",target:e.target},on:{click:function(t){e.click&&e.click(e)}}},[n("img",{staticClass:"item-img",attrs:{src:e.src}}),t._v(" "),n("div",{staticClass:"item-text",style:{backgroundColor:t.bgText}},[n("h3",{style:{color:t.colorText}},[t._v(t._s(e.name))]),t._v(" "),n("p",{style:{color:t.colorText}},[t._v(t._s(e.text))])])])])])})),1)],1)}),[],!1,null,null,null).exports,Rn=Object(i.a)({name:"data-display",data:function(){return{}},computed:{animation:function(){return this.option.animation},decimals:function(){return this.option.decimals||0},span:function(){return this.option.span||6},data:function(){return this.option.data||[]},color:function(){return this.option.color||"rgb(63, 161, 255)"}},props:{option:{type:Object,default:function(){}}},created:function(){},methods:{}}),Hn=Object(l.a)(Rn,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"avue-data-display"},[n("el-row",{attrs:{span:24}},t._l(t.data,(function(e,i){return n("el-col",{key:i,attrs:{md:t.span,xs:12,sm:12}},[n("div",{staticClass:"item",style:{color:t.color}},[n("a",{attrs:{href:e.href?e.href:"javascript:void(0);",target:e.target},on:{click:function(t){e.click&&e.click(e)}}},[n("avue-count-up",{staticClass:"count",attrs:{animation:e.animation||t.animation,decimals:e.decimals||t.decimals,end:e.count}}),t._v(" "),n("span",{staticClass:"splitLine"}),t._v(" "),n("div",{staticClass:"title"},[t._v(t._s(e.title))])],1)])])})),1)],1)}),[],!1,null,null,null).exports,Vn=Object(i.a)({name:"data-imgtext",data:function(){return{}},computed:{span:function(){return this.option.span||6},data:function(){return this.option.data||[]},color:function(){return this.option.color||"rgb(63, 161, 255)"}},props:{option:{type:Object,default:function(){}}},created:function(){},methods:{}}),Un=Object(l.a)(Vn,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"avue-data-imgtext"},[n("el-row",{attrs:{span:24}},t._l(t.data,(function(e,i){return n("el-col",{key:i,attrs:{md:t.span,xs:24,sm:12}},[n("div",{staticClass:"item",style:{color:t.color}},[n("a",{attrs:{href:e.href?e.href:"javascript:void(0);",target:e.target},on:{click:function(t){e.click&&e.click(e)}}},[n("div",{staticClass:"item-header"},[n("img",{attrs:{src:e.imgsrc,alt:""}})]),t._v(" "),n("div",{staticClass:"item-content"},[n("span",[t._v(t._s(e.title))]),t._v(" "),n("p",[t._v(t._s(e.content))])]),t._v(" "),n("div",{staticClass:"item-footer"},[n("div",{staticClass:"time"},[n("span",[t._v(t._s(e.time))])]),t._v(" "),n("div",{staticClass:"imgs"},[n("ul",t._l(e.headimg,(function(t,e){return n("li",{key:e},[n("el-tooltip",{attrs:{effect:"dark",content:t.name,placement:"top-start"}},[n("img",{attrs:{src:t.src,alt:""}})])],1)})),0)])])])])])})),1)],1)}),[],!1,null,null,null).exports,Wn=Object(i.a)({name:"data-operatext",data:function(){return{}},computed:{span:function(){return this.option.span||6},data:function(){return this.option.data||[]}},props:{option:{type:Object,default:function(){}}},created:function(){},methods:{}}),qn=Object(l.a)(Wn,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"avue-data-operatext"},[n("el-row",{attrs:{span:24}},t._l(t.data,(function(e,i){return n("el-col",{key:i,attrs:{md:t.span,xs:24,sm:12}},[n("div",{staticClass:"item"},[n("a",{attrs:{href:e.href?e.href:"javascript:void(0);"},on:{click:function(t){e.click&&e.click(e)}}},[n("div",{staticClass:"item-header",style:{backgroundColor:e.color,backgroundImage:"url("+e.colorImg+")"}},[n("span",{staticClass:"item-title"},[t._v(t._s(e.title))]),t._v(" "),n("span",{staticClass:"item-subtitle"},[t._v(t._s(e.subtitle))])]),t._v(" "),n("div",{staticClass:"item-content"},[n("div",{staticClass:"item-img"},[n("img",{attrs:{src:e.img,alt:""}})]),t._v(" "),n("div",{staticClass:"item-list"},t._l(e.list,(function(e,i){return n("div",{key:i,staticClass:"item-row"},[n("span",{staticClass:"item-label"},[t._v(t._s(e.label))]),t._v(" "),n("span",{staticClass:"item-value"},[t._v(t._s(e.value))])])})),0)])])])])})),1)],1)}),[],!1,null,null,null).exports,Yn=Object(i.a)({name:"data-rotate",data:function(){return{}},props:{option:{type:Object,default:function(){}}},computed:{animation:function(){return this.option.animation},decimals:function(){return this.option.decimals||0},span:function(){return this.option.span||8},data:function(){return this.option.data||[]}},created:function(){},mounted:function(){},watch:{},methods:{}}),Xn=Object(l.a)(Yn,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"avue-data-rotate"},[n("el-row",{attrs:{span:24}},t._l(t.data,(function(e,i){return n("el-col",{key:i,attrs:{md:t.span,xs:24,sm:12}},[n("div",{staticClass:"item",style:{backgroundColor:e.color}},[n("div",{staticClass:"item-box"},[n("avue-count-up",{staticClass:"item-count",attrs:{decimals:e.decimals||t.decimals,animation:e.animation||t.animation,end:e.count}}),t._v(" "),n("span",{staticClass:"item-title"},[t._v(t._s(e.title))]),t._v(" "),n("i",{staticClass:"item-icon",class:e.icon})],1),t._v(" "),n("a",{attrs:{href:e.href?e.href:"javascript:void(0);"},on:{click:function(t){e.click&&e.click(e)}}},[n("p",{staticClass:"item-more"},[t._v("更多"),n("i",{staticClass:"el-icon-arrow-right"})])])])])})),1)],1)}),[],!1,null,null,null).exports,Gn=Object(i.a)({name:"data-pay",props:{option:{type:Object,default:function(){}}},computed:{animation:function(){return this.option.animation},decimals:function(){return this.option.decimals||0},span:function(){return this.option.span||6},data:function(){return this.option.data||[]}}}),Jn=Object(l.a)(Gn,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.b()},[n("el-row",{attrs:{span:24}},t._l(t.data,(function(e,i){return n("el-col",{key:i,attrs:{md:t.span,xs:24,sm:12}},[n("div",{staticClass:"item"},[n("div",{staticClass:"top",style:{backgroundColor:e.color}}),t._v(" "),n("div",{staticClass:"header"},[n("p",{staticClass:"title"},[t._v(t._s(e.title))]),t._v(" "),n("img",{staticClass:"img",attrs:{src:e.src,alt:""}}),t._v(" "),e.subtitle?[n("p",{staticClass:"subtitle",style:{color:e.color}},[t._v(t._s(e.subtitle))])]:t._e(),t._v(" "),e.money||e.dismoney?[n("p",{staticClass:"money",style:{color:e.color}},[n("span",[t._v("¥")]),t._v(" "),n("avue-count-up",{staticClass:"b",attrs:{decimals:e.decimals||t.decimals,animation:e.animation||t.animation,end:e.dismoney}}),t._v(" "),n("s",[t._v(t._s(e.money))]),t._v(" "),n("em",[t._v(t._s(e.tip))])],1)]:t._e(),t._v(" "),n("div",{staticClass:"line"}),t._v(" "),n("a",{staticClass:"btn",style:{backgroundColor:e.color},attrs:{href:e.href?e.href:"javascript:void(0);"},on:{click:function(t){e.click&&e.click(e)}}},[t._v(t._s(e.subtext))])],2),t._v(" "),n("div",{staticClass:"list"},t._l(e.list,(function(i,o){return n("div",{staticClass:"list-item"},[i.check?n("i",{staticClass:"list-item-icon list-item--check",style:{color:e.color}},[t._v("√")]):n("i",{staticClass:"list-item-icon list-item--no"},[t._v("x")]),t._v(" "),n("a",{attrs:{href:i.href?i.href:"javascript:void(0);"}},[n("el-tooltip",{attrs:{effect:"dark",disabled:!i.tip,placement:"top"}},[n("div",{attrs:{slot:"content"},domProps:{innerHTML:t._s(i.tip)},slot:"content"}),t._v(" "),n("span",{class:{"list-item--link":i.href}},[t._v(t._s(i.title))])])],1)])})),0)])])})),1)],1)}),[],!1,null,null,null).exports,Qn=Object(i.a)({name:"data-price",data:function(){return{}},computed:{span:function(){return this.option.span||6},data:function(){return this.option.data}},props:{option:{type:Object,default:function(){}}}}),Zn=Object(l.a)(Qn,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"data-price"},[n("el-row",{attrs:{span:24}},[t._l(t.data,(function(e,i){return[n("el-col",{key:i,attrs:{xs:12,sm:6,md:t.span}},[n("div",{staticClass:"item item--active"},[n("a",{attrs:{href:e.href?e.href:"javascript:void(0);",target:e.target},on:{click:function(t){e.click&&e.click(e)}}},[n("div",{staticClass:"title"},[t._v("\n "+t._s(e.title)+"\n ")]),t._v(" "),n("div",{staticClass:"body"},[n("span",{staticClass:"price"},[t._v(t._s(e.price))]),t._v(" "),n("span",{staticClass:"append"},[t._v(t._s(e.append))])]),t._v(" "),n("div",{staticClass:"list"},t._l(e.list,(function(e,i){return n("p",{key:i},[t._v("\n "+t._s(e)+"\n ")])})),0)])])])]}))],2)],1)}),[],!1,null,null,null).exports,ti=Object(i.a)({name:"data-panel",data:function(){return{}},computed:{decimals:function(){return this.option.decimals||0},animation:function(){return this.option.animation},span:function(){return this.option.span||6},data:function(){return this.option.data||[]}},props:{option:{type:Object,default:function(){}}},created:function(){},methods:{}}),ei=[Pn,Bn,Mn,In,Nn,Kn,Hn,Un,qn,Xn,Jn,Zn,Object(l.a)(ti,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"avue-data-panel"},[n("el-row",{attrs:{span:24}},t._l(t.data,(function(e,i){return n("el-col",{key:i,attrs:{md:t.span,xs:24,sm:12}},[n("a",{attrs:{href:e.href?e.href:"javascript:void(0);"},on:{click:function(t){e.click&&e.click(e)}}},[n("div",{staticClass:"item"},[n("div",{staticClass:"item-icon"},[n("i",{class:e.icon,style:{color:e.color}})]),t._v(" "),n("div",{staticClass:"item-info"},[n("div",{staticClass:"item-title"},[t._v(t._s(e.title))]),t._v(" "),n("avue-count-up",{staticClass:"item-count",attrs:{animation:e.animation||t.animation,decimals:e.decimals||t.decimals,end:e.count}})],1)])])])})),1)],1)}),[],!1,null,null,null).exports];function ni(t){return function(t){if(Array.isArray(t))return ii(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return ii(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ii(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ii(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);nt.length)&&(e=t.length);for(var n=0,i=new Array(e);n0){var s=this.getHeader(l.children,e,n+1,a.length-1);this.pushColSpanPlaceHolder(a,s-1),o+=s}else o++}return o},pushRowSpanPlaceHolder:function(t,e){for(var n=0;n0&&r>a?(n.push({s:{r:i,c:r-a-1},e:{r:i,c:r-1}}),a=0):a=0;for(var l=t[0].length,s=0;s0&&u>c?(n.push({s:{r:u-c-1,c:s},e:{r:u-1,c:s}}),c=0):c=0;return n},aoa_to_sheet:function(t,e){for(var n={},i={s:{c:1e7,r:1e7},e:{c:0,r:0}},o=0;o!==t.length;++o)for(var a=0;a!==t[o].length;++a){i.s.r>o&&(i.s.r=o),i.s.c>a&&(i.s.c=a),i.e.r"},getHtml:function(){for(var t=document.querySelectorAll("input"),e=document.querySelectorAll("textarea"),n=document.querySelectorAll("select"),i=0;i0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=xi.a.extend(gi),o={datas:t,index:e,ops:Object.assign({closeOnClickModal:!1,beforeClose:null,modal:!0},n)},a=new i({data:o});return a.vm=a.$mount(),document.body.appendChild(a.vm.$el),a.vm.isShow=!0,a.dom=a.vm.$el,a.vm},$DialogForm:Si,$Export:ui,$Print:mi,$Clipboard:function(t){var e=t.text;return new Promise((function(t,n){var i=document.body,o="rtl"==document.documentElement.getAttribute("dir"),a=document.createElement("textarea");a.style.fontSize="12pt",a.style.border="0",a.style.padding="0",a.style.margin="0",a.style.position="absolute",a.style[o?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;a.style.top="".concat(r,"px"),a.setAttribute("readonly",""),a.value=e,i.appendChild(a),function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var i=window.getSelection(),o=document.createRange();o.selectNodeContents(t),i.removeAllRanges(),i.addRange(o),e=i.toString()}}(a);try{document.execCommand("copy"),t()}catch(t){!1,n()}}))},$Log:di.a,$NProgress:vi,$Screenshot:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(window.html2canvas)return window.html2canvas(t,e);x.a.logs("Screenshot")},deepClone:P.e,dataURLtoFile:P.d,isJson:P.r,setPx:P.v,vaildData:P.y,sortArrys:P.w,findArray:P.k,validatenull:te.a,downFile:P.h,loadScript:P.s,watermark:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Ae(t)},findObject:P.m,randomId:P.t},$i={dialogDrag:li},Di=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(ji.a){"dark"===e.theme&&(document.documentElement.className="avue-theme--dark");var n={size:e.size||"small",calcHeight:e.calcHeight||0,menuType:e.menuType||"text",canvas:Object.assign({text:"avuejs.com",fontFamily:"microsoft yahei",color:"#999",fontSize:16,opacity:100,bottom:10,right:10,ratio:1},e.canvas),qiniu:Object.assign({AK:"",SK:"",scope:"",url:"",bucket:"https://upload.qiniup.com",deadline:1},e.qiniu||{}),ali:Object.assign({region:"",endpoint:"",stsToken:"",accessKeyId:"",accessKeySecret:"",bucket:""},e.ali||{})};t.prototype.$AVUE=Object.assign(e,n),oi.forEach((function(e){t.component(e.name,e)})),Object.keys(Ei).forEach((function(e){t.prototype[e]=Ei[e]})),Object.keys($i).forEach((function(e){t.directive(e,$i[e])})),pi.a.use(e.locale),pi.a.i18n(e.i18n),t.prototype.$axios=e.axios||window.axios||ri.a,window.axios=t.prototype.$axios,t.prototype.$uploadFun=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;e=e||this;var n=["uploadPreview","uploadBefore","uploadAfter","uploadDelete","uploadError","uploadExceed"],i={};return"upload"===t.type?n.forEach((function(n){t[n]||(i[n]=e[n])})):n.forEach((function(t){i[t]=e[t]})),i}}else x.a.logs("element-ui")};"undefined"!=typeof window&&window.Vue&&Di(window.Vue);var Pi=Object.assign({version:"2.9.5",locale:pi.a.locale,install:Di},oi);e.default=Pi}]).default})); \ No newline at end of file diff --git a/public/cdn/avue/2.9.5/index.css b/public/cdn/avue/2.9.5/index.css deleted file mode 100755 index afa3c3b..0000000 --- a/public/cdn/avue/2.9.5/index.css +++ /dev/null @@ -1 +0,0 @@ -@charset "UTF-8";.avue-article__body,.avue-comment__body{font-family:Segoe UI,Lucida Grande,Helvetica,Arial,Microsoft YaHei,FreeSans,Arimo,Droid Sans,wenquanyi micro hei,Hiragino Sans GB,Hiragino Sans GB W3,FontAwesome,sans-serif}.avue-avatar,.avue-card__item,.avue-comment__avatar{-webkit-box-sizing:border-box}.avue-affix{position:fixed;z-index:10}.avue-sign{padding:5px}.avue-sign__canvas{border:1px solid #ccc}.avue-carousel--fullscreen{height:100%}.avue-carousel--fullscreen .el-carousel,.avue-carousel--fullscreen .el-carousel__container{height:90%}.avue-carousel__item{position:relative;width:100%;height:100%}.avue-carousel__item a{width:100%;height:100%;display:block}.avue-carousel__img{height:100%;background-size:cover;background-position:center center}.avue-carousel__title{z-index:1024;position:absolute;left:0;bottom:0;width:100%;height:50px;line-height:50px;font-size:16px;text-align:center;color:#fff;background-color:rgba(0,0,0,.6)}.avue-article__title{margin-bottom:15px;font-size:32px;line-height:32px;font-weight:400}.avue-article__meta{display:block;margin-bottom:20px;font-size:12px;color:#999}.avue-article__lead{color:#666;font-size:14px;line-height:22px;border:1px solid #dedede;border-radius:2px;background:#f9f9f9;padding:10px}.avue-article__body{padding-top:10px;background:#fff;color:#333;font-size:14px}.avue-article blockquote{margin:0;font-family:Georgia,Times New Roman,Times,Kai,Kaiti SC,KaiTi,BiauKai,FontAwesome,serif;padding:1px 0 1px 15px;border-left:4px solid #ddd}.avue-avatar{font-size:14px;font-variant:tabular-nums;box-sizing:border-box;margin:0;padding:0;list-style:none;display:inline-block;text-align:center;background:#ccc;color:#fff;white-space:nowrap;position:relative;overflow:hidden;vertical-align:middle;width:32px;height:32px;line-height:32px;border-radius:50%}.avue-avatar__images{width:100%;height:100%}.avue-avatar__icon{font-size:18px}.avue-avatar__string{position:absolute;left:50%;-webkit-transform-origin:0 center;transform-origin:0 center}.avue-avatar--lg{width:40px;height:40px;line-height:40px;border-radius:50%;font-size:24px}.avue-avatar--sm{width:24px;height:24px;line-height:24px;border-radius:50%;font-size:14px}.avue-avatar--square{border-radius:4px}.avue-skeleton__avatar{width:40px;height:40px;line-height:40px;display:inline-block;border-radius:50%;background:#f2f2f2}.avue-skeleton__header{display:table-cell;vertical-align:top;padding-right:16px}.avue-skeleton__content{display:table-cell;vertical-align:top;width:100%}.avue-skeleton__title{margin-top:16px;height:16px;width:40%;background:#f2f2f2}.avue-skeleton__item{padding-top:16px;padding-bottom:16px;border-bottom:1px solid #e8e8e8}.avue-crud--card .el-card__body,.is-always-shadow+.avue-crud__pagination{padding:0}.avue-skeleton__item:last-child{border-bottom:none}.avue-skeleton__li{margin-bottom:10px;height:16px;background:#f2f2f2;list-style:none;width:100%}.avue-skeleton__li:last-child{width:50%}.avue-skeleton__loading{background:-webkit-gradient(linear,left top,right top,color-stop(25%,#f2f2f2),color-stop(37%,#e6e6e6),color-stop(63%,#f2f2f2));background:linear-gradient(90deg,#f2f2f2 25%,#e6e6e6 37%,#f2f2f2 63%);-webkit-animation:avue-skeleton-loading 1.4s ease infinite;animation:avue-skeleton-loading 1.4s ease infinite;background-size:400% 100%}@-webkit-keyframes avue-skeleton-loading{0%{background-position:100% 50%}100%{background-position:0 50%}}@keyframes avue-skeleton-loading{0%{background-position:100% 50%}100%{background-position:0 50%}}.avue-crud{margin:0 auto;width:100%}.avue-crud .el-card+.el-card{margin-top:8px}.avue-crud--card .el-card{border:none}.avue-crud--card .el-card+.el-card{margin-top:0}.avue-crud .el-table .el-form-item{margin-bottom:0;display:inline-block;width:100%}.avue-crud .el-table .el-form-item__label{position:absolute;left:2px}.avue-crud .el-table .el-form-item__content{line-height:inherit;font-size:inherit}.avue-crud .el-table .el-form-item__error{width:100%;text-align:left;position:relative}.avue-crud .el-dropdown+.el-button{margin-left:10px}.avue-crud .el-checkbox:last-of-type{margin-right:0}.avue-crud .el-range-editor--mini{height:28px}.avue-crud__img{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.avue-crud__img img,.avue-crud__img video{height:40px;margin-left:5px;-o-object-fit:contain;object-fit:contain}.avue-crud__column .el-checkbox{margin-bottom:10px;cursor:move}.avue-crud__menu{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;position:relative;width:100%;min-height:40px;height:auto;overflow:hidden;margin-bottom:5px;background-color:#fff}.avue-crud__search .el-form-item--medium.el-form-item{margin-bottom:22px}.avue-crud__search .el-form-item--mini.el-form-item,.avue-crud__search .el-form-item--small.el-form-item{margin-bottom:14px}.avue-crud .el-table--mini .avue-crud__color{width:20px;height:20px}.avue-crud .el-table--mini .avue-crud__icon{font-size:20px}.avue-crud .el-table--small .avue-crud__color{width:30px;height:30px}.avue-crud .el-table--small .avue-crud__icon{font-size:30px}.avue-crud th{word-break:break-word;color:rgba(0,0,0,.85);background-color:#fafafa}.avue-crud table td{line-height:26px}.avue-crud--indeterminate .is-indeterminate .el-checkbox__inner{background-color:#fff;border-color:#dcdfe6}.avue-crud .el-table th{word-break:break-word;color:rgba(0,0,0,.85);background-color:#fafafa}.avue-crud__color{margin:0 auto;width:40px;height:40px;border-radius:5px;display:block}.avue-crud__icon{font-size:45px}.avue-crud__icon--small{font-size:20px;width:20px;height:20px}.avue-crud__ghost{cursor:move;opacity:.4}.avue-crud__pagination{position:relative;padding:25px 0 20px 20px;text-align:right}.avue-crud__pagination .el-pagination{display:inline-block}.avue-crud__tip,.avue-crud__title{display:-ms-flexbox;-webkit-box-align:center}.avue-crud__form{padding:0 8px}.avue-crud__empty{padding:60px 0}.avue-crud__header{margin-bottom:10px}.avue-crud__header>.el-button{padding:12px 25px}.avue-crud__title{font-weight:700;margin-bottom:20px;display:-webkit-box;display:flex;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-size:22px}.avue-crud__tip{margin:0 0 8px;display:-webkit-box;display:flex;-ms-flex-align:center;align-items:center;font-size:12px}.avue-crud__tip-name{margin-right:10px}.avue-crud__tip-count{font-size:16px;font-weight:600}.avue-crud__tip .el-button{margin-bottom:0}.avue-crud__filter-item{margin-bottom:12px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.avue-crud__filter-menu{padding:0 5px;margin-bottom:20px}.avue-crud__filter-label{margin:0 5px;width:120px!important}.avue-crud__filter-symbol{margin:0 5px;width:80px!important}.avue-crud__filter-value{margin:0 5px;width:150px!important}.avue-crud__filter-value .el-date-editor.el-input,.avue-crud__filter-value .el-date-editor.el-input__inner{width:100%}.avue-crud__filter-icon{margin-left:10px}.avue-crud__dialog__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.avue-crud__dialog__menu{padding-right:20px}.avue-crud__dialog__menu i{color:#909399;font-size:15px}.avue-crud__dialog__menu i:hover{color:#409EFF}.avue-crud__dialog .el-dialog__body{padding:20px 20px 5px 10px}.avue-crud__dialog .el-scrollbar__wrap{overflow-x:hidden}.avue-crud__dialog .avue-form__menu{padding-top:15px}.avue-card__item{margin-bottom:16px;border:1px solid #e8e8e8;background-color:#fff;box-sizing:border-box;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";cursor:pointer;height:200px}.avue-card__item:hover{border-color:rgba(0,0,0,.09);-webkit-box-shadow:0 2px 8px rgba(0,0,0,.09);box-shadow:0 2px 8px rgba(0,0,0,.09)}.avue-card__item--add{border:1px dashed #d9d9d9;width:100%;color:rgba(0,0,0,.45);background-color:#fff;border-radius:2px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:16px}.avue-card__item--add i{margin-right:10px}.avue-card__item--add:hover{color:#40a9ff;background-color:#fff;border-color:#40a9ff}.avue-card__body{display:-webkit-box;display:-ms-flexbox;display:flex;padding:24px}.avue-card__detail{-webkit-box-flex:1;-ms-flex:1;flex:1}.avue-card__avatar{width:48px;height:48px;border-radius:48px;overflow:hidden;margin-right:12px}.avue-card__avatar img{width:100%;height:100%}.avue-card__title{color:rgba(0,0,0,.85);margin-bottom:12px;font-size:16px}.avue-card__title:hover{color:#1890ff}.avue-card__info,.avue-card__menu{display:-webkit-box;color:rgba(0,0,0,.45)}.avue-card__info{-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;height:64px}.avue-card__menu{display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around;height:50px;background:#f7f9fa;text-align:center;line-height:50px}.avue-card__menu:hover{color:#1890ff}.avue-comment{margin-bottom:30px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.avue-comment--reverse{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.avue-comment--reverse .avue-comment__main:after,.avue-comment--reverse .avue-comment__main:before{left:auto;right:-8px;border-width:8px 0 8px 8px}.avue-comment--reverse .avue-comment__main:before{border-left-color:#dedede}.avue-comment--reverse .avue-comment__main:after{border-left-color:#f8f8f8;margin-right:1px;margin-left:auto}.avue-comment__avatar{width:48px;height:48px;border-radius:50%;border:1px solid transparent;box-sizing:border-box;vertical-align:middle}.avue-comment__header{padding:5px 15px;background:#f8f8f8;border-bottom:1px solid #eee;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.avue-comment__author{font-weight:700;font-size:14px;color:#999}.avue-comment__main{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0 20px;position:relative;border:1px solid #dedede;border-radius:2px}.avue-comment__main:after,.avue-comment__main:before{position:absolute;top:10px;left:-8px;right:100%;width:0;height:0;display:block;content:" ";border-color:transparent;border-style:solid solid outset;border-width:8px 8px 8px 0;pointer-events:none}.avue-comment__main:before{border-right-color:#dedede;z-index:1}.avue-comment__main:after{border-right-color:#f8f8f8;margin-left:1px;z-index:2}.avue-comment__body{padding:15px;overflow:hidden;background:#fff;color:#333;font-size:14px}.avue-comment blockquote{margin:0;font-family:Georgia,Times New Roman,Times,Kai,Kaiti SC,KaiTi,BiauKai,FontAwesome,serif;padding:1px 0 1px 15px;border-left:4px solid #ddd}.avue-chat{-webkit-box-shadow:1px 2px 10px #eee;box-shadow:1px 2px 10px #eee;position:relative;background-color:#fcfcfc}.avue-chat li,.avue-chat ul{padding:0;margin:0}.avue-chat li{list-style:none;cursor:pointer}.avue-chat .web__content{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.avue-chat .web__main{height:calc(100% - 200px);padding:15px 15px 20px;overflow-x:hidden;overflow-y:auto;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-chat .web__logo{background-color:#409eff;display:-webkit-box;display:-ms-flexbox;display:flex;padding:15px 12px;margin:0 auto;vertical-align:middle}.avue-chat .web__logo-img{margin-top:3px;width:35px;height:35px;border-radius:100%;-webkit-box-shadow:0 3px 3px 0 rgba(0,0,0,.1);box-shadow:0 3px 3px 0 rgba(0,0,0,.1)}.avue-chat .web__logo-info{margin-left:10px}.avue-chat .web__logo-name{position:relative;margin-top:5px;font-size:13px}.avue-chat .web__logo-dept{margin-top:1px;font-size:12px}.avue-chat .web__logo-dept,.avue-chat .web__logo-name{color:#fff;margin:0;padding:0;width:175px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.avue-chat .web__main-item{position:relative;font-size:0;margin-bottom:10px;padding-left:60px;min-height:68px}.avue-chat .web__main-text,.avue-chat .web__main-user{display:inline-block;vertical-align:top;font-size:14px}.avue-chat .web__main-user{position:absolute;left:3px}.avue-chat .web__main-user img{width:40px;height:40px;border-radius:100%}.avue-chat .web__main-user cite{position:absolute;left:60px;top:-2px;width:500px;line-height:24px;font-size:12px;white-space:nowrap;color:#999;text-align:left;font-style:normal}.avue-chat .web__main-user cite i{padding-left:15px;font-style:normal}.avue-chat .web__main-text{position:relative;line-height:22px;margin-top:25px;padding:8px 15px;background-color:#f3f3f3;border-radius:3px;border:1px solid #f0f0f0;color:#000;word-break:break-all}.avue-chat .web__main-arrow{top:6px;left:-8px;position:absolute;display:block;width:0;height:0;border-color:transparent #ebeef5 transparent transparent;border-style:solid;border-width:8px 8px 8px 0}.avue-chat .web__main-arrow::after{content:" ";top:-7px;left:1px;position:absolute;display:block;width:0;height:0;border-color:transparent #fff transparent transparent;border-style:solid;border-width:7px 7px 7px 0}.avue-chat .web__main-item--mine .web__main-text .web__main-arrow{left:auto;right:-5px;border-color:transparent transparent transparent #409eff;border-style:solid;border-width:8px 0 8px 8px}.avue-chat .web__main-item--mine .web__main-text .web__main-arrow::after{left:auto;right:-2px;border-color:transparent transparent transparent #409eff;border-style:solid;border-width:7px 0 7px 7px}.avue-chat .web__main-list{margin:10px 0}.avue-chat .web__main-list li{height:30px;color:#409eff;line-height:30px}.avue-chat .web__main-item--mine{text-align:right;padding-left:0;padding-right:60px}.avue-chat .web__main-item--mine .web__main-user{left:auto;right:3px}.avue-chat .web__main-item--mine .web__main-user cite{left:auto;right:60px;text-align:right}.avue-chat .web__main-item--mine .web__main-user cite i{padding-left:0;padding-right:15px}.avue-chat .web__main-item--mine .web__main-text{margin-left:0;text-align:left;background-color:#409eff;color:#fff}.avue-chat .web__footer{-webkit-box-shadow:0 -1px 0 0 rgba(0,0,0,.04),0 -2px 0 0 rgba(0,0,0,.01);box-shadow:0 -1px 0 0 rgba(0,0,0,.04),0 -2px 0 0 rgba(0,0,0,.01);position:absolute;left:0;bottom:0;width:100%;background-color:#fff}.avue-chat .web__msg{padding:10px;height:auto;overflow:hidden}.avue-chat .web__msg--file,.avue-chat .web__msg--img,.avue-chat .web__msg--video{position:relative;max-width:250px;min-width:200px;width:100%;margin:10px 0;border:1px solid #eee;overflow:hidden;border-radius:5px;cursor:pointer;display:block}.avue-chat .web__msg--file span,.avue-image-preview__box,.avue-img--center{display:-webkit-box;display:-ms-flexbox;-webkit-box-align:center}.avue-chat .web__msg--file{height:140px;background-color:#fff}.avue-chat .web__msg--file span{-webkit-box-sizing:border-box;box-sizing:border-box;padding:3px 5px;color:#333;display:flex;-ms-flex-align:center;align-items:center;width:100%;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:calc(100% - 80px);overflow:hidden;font-size:13px;text-align:center}.avue-chat .web__msg--file h2{margin:0;width:100%;text-align:center;line-height:80px;background-color:#409EFF;color:#fff}.avue-chat .web__msg--map{height:160px}.avue-chat .web__msg-input{display:block;width:100%;height:60px;overflow-x:hidden;overflow-y:auto;-webkit-box-sizing:border-box;box-sizing:border-box;resize:none;outline:0;background-color:#fff;border:0;word-break:break-all;font-size:13px;line-height:17px;-webkit-appearance:none}.avue-chat .web__tools,.avue-form,.avue-form__menu{-webkit-box-sizing:border-box}.avue-chat .web__msg-submit{float:right;display:block;outline:0;cursor:pointer;text-align:center}.avue-chat .web__tools{padding:8px 10px 0;box-sizing:border-box}.avue-chat .web__tools i{margin-right:12px;font-size:20px;color:#888a91}.avue-chat .web__tools i:hover{color:#76b1f9}.avue-draggable{padding:10px;position:absolute;cursor:move;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.avue-draggable__focus{opacity:0;position:absolute!important;top:0;left:0;z-index:-1024}.avue-draggable__mask{width:100%;height:100%;border:0;position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.avue-draggable--active{cursor:move;border:1px dashed #09f;background-color:rgba(115,170,229,.5)}.avue-draggable--move{opacity:.6;background-color:rgba(115,170,229,.5)}.avue-draggable--click{cursor:pointer}.avue-draggable__line--left{position:absolute;border-top:1px dashed #09f;width:10000px;height:0;top:0;-webkit-transform:translateX(-100%);transform:translateX(-100%)}.avue-draggable__line--top{position:absolute;border-left:1px dashed #09f;width:0;height:10000px;left:0;-webkit-transform:translateY(-100%);transform:translateY(-100%)}.avue-draggable__line--label{top:-5px;left:-8px;position:absolute;padding:5px;-webkit-transform:translate(-100%,-100%);transform:translate(-100%,-100%);color:#09f;font-size:18px;white-space:nowrap;cursor:move}.avue-draggable__menu,.avue-image-preview .el-image-viewer__close i,.avue-image-preview__file a{color:#fff}.avue-draggable__menu{position:absolute;top:0;left:0;background-color:#409EFF;font-size:25px;z-index:9999;cursor:pointer}.avue-draggable__range{position:absolute;width:10px;height:10px;border-radius:100%;z-index:9999;background-color:#09f}.avue-draggable__range--left,.avue-draggable__range--right{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.avue-draggable__range--left:hover,.avue-draggable__range--right:hover{cursor:ew-resize}.avue-draggable__range--left{left:-6px}.avue-draggable__range--right{right:-6px}.avue-draggable__range--bottom,.avue-draggable__range--top{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.avue-draggable__range--bottom:hover,.avue-draggable__range--top:hover{cursor:ns-resize}.avue-draggable__range--top{top:-6px}.avue-draggable__range--bottom{bottom:-6px}.avue-draggable__range--bottom-right:hover,.avue-draggable__range--top-left:hover{cursor:nwse-resize}.avue-draggable__range--bottom-left:hover,.avue-draggable__range--top-right:hover{cursor:nesw-resize}.avue-draggable__range--top-right{top:-6px;right:-6px}.avue-draggable__range--top-left{top:-6px;left:-6px}.avue-draggable__range--bottom-right{bottom:-6px;right:-6px}.avue-draggable__range--bottom-left{bottom:-6px;left:-6px}.avue-img--center{display:flex;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.avue-img--fullscreen .el-dialog__body{height:100%}.avue-image-preview{position:fixed;top:0;left:0;width:100%;height:100%;-webkit-transition:all .5s;transition:all .5s;z-index:9998}.avue-image-preview .el-image-viewer__btn{z-index:1024}.avue-image-preview img{-webkit-transition:all .5s;transition:all .5s;cursor:pointer}.avue-image-preview__file{text-align:center}.avue-image-preview__file i{font-size:80px}.avue-image-preview__mask{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5)}.avue-image-preview__box{width:100%;height:100%;display:flex;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.avue-image-preview__box .el-carousel{width:90%;height:100%}.avue-image-preview__box .el-carousel__container{height:100%}.avue-image-preview__box .el-carousel__item{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.avue-input-tree .el-tag__close{display:none!important}.avue-input-tree__desc{float:right;color:#8492a6;font-size:13px}.avue-input-table__crud .avue-crud__pagination{padding:10px 0 2px 10px;margin:0}.amap-icon img,.amap-marker-content img{width:25px;height:34px}.avue-input-map__marker{position:absolute;top:-20px;right:-118px;color:#fff;padding:4px 10px;-webkit-box-shadow:1px 1px 1px rgba(10,10,10,.2);box-shadow:1px 1px 1px rgba(10,10,10,.2);white-space:nowrap;font-size:12px;font-family:"";background-color:#25a5f7;border-radius:3px}.avue-input-map__content-input{margin-bottom:10px}.avue-input-map__content-box{position:relative}.avue-input-map__content-container{width:100%;height:450px}.avue-input-map__content-result{display:block!important;position:absolute;top:0;right:-8px;width:250px;height:450px;overflow-y:auto}.avue-input-icon{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:distribute;justify-content:space-around}.avue-input-icon__item{text-align:center;width:60px;padding:10px 20px 0;-webkit-transition:all .2s;transition:all .2s}.avue-input-icon__item p{font-size:12px;margin-top:5px}.avue-input-icon__item:hover{-webkit-transform:scale(1.4);transform:scale(1.4)}.avue-input-icon__item--active{-webkit-transform:scale(1.4);transform:scale(1.4);color:#409EFF}.avue-input-icon__list{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.avue-input-icon__icon{font-size:32px!important}.avue-input-icon__icon-symbol{width:32px;height:32px;margin:0 auto;fill:currentColor;overflow:hidden}.avue-upload--upload .el-upload,.avue-upload--upload .el-upload__tip{display:none}.avue-upload--upload .el-upload--picture-img{display:inline-block}.avue-upload--upload .el-upload-list{margin-top:-6px}.avue-upload--list .el-upload{border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}.avue-upload--list .el-upload:hover{border-color:#409eff}.avue-upload__dialog .el-dialog__header{display:none}.avue-upload__dialog .el-dialog__body{padding:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.avue-upload__menu{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.5);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;z-index:1024}.avue-form,.avue-form__group .el-col{position:relative}.avue-upload__menu i{color:#fff;margin:0 8px;font-size:20px}.avue-upload__icon{font-size:28px;color:#8c939d;width:178px;height:178px;line-height:178px;text-align:center}.avue-upload__avatar{width:178px;height:178px;display:block}.avue-form{margin:0 auto;box-sizing:border-box}.avue-form__item--top{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.avue-form__item--top .el-form-item__label{width:100%!important;text-align:left!important}.avue-form__item--top .el-form-item__content{margin-left:0!important}.avue-form__item--left .el-form-item__label{text-align:left!important}.avue-empty,.avue-flow__node-body,.avue-form__menu--center{text-align:center}.avue-form__menu{padding:5px 10px 0;box-sizing:border-box}.avue-form__menu--center .el-button{margin:0 5px}.avue-form__menu--left{text-align:left}.avue-form__menu--right{text-align:right}.avue-form__tabs{padding:0 10px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-form__group{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap;height:auto}.avue-form__group--flex{display:-webkit-box;display:-ms-flexbox;display:flex}.avue-form__line{display:inline-block;height:100%}.avue-form__row--block{width:100%;display:block}.avue-flow__node,.avue-flow__node-body{display:-webkit-box;display:-ms-flexbox}.avue-form__row--cursor{cursor:pointer}.avue-form__option{position:absolute;right:0;top:-10px;z-index:999}.avue-flow,.avue-flow__node,.avue-tree{position:relative}.avue-form__option i{color:#666}.avue-form__option i+i{margin-left:10px}.el-drawer .avue-form{padding:0 20px}.avue-flow .avue-draggable{padding:0}.avue-flow__node{display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:200px;height:80px;border-radius:5px;-webkit-box-shadow:'#66a6e0 0px 0px 12px 0px';box-shadow:'#66a6e0 0px 0px 12px 0px';border:1px solid #eee;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.avue-flow__node--active{border-width:2px;border-color:#f56c6c}.avue-flow__node-drag{margin:0 5px;display:inline-block}.avue-flow__node-header{-webkit-box-flex:1;-ms-flex:1;flex:1;background-color:#66a6e0}.avue-flow__node-body{display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-flex:1.5;-ms-flex:1.5;flex:1.5;background:#fff}.avue-date__group{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.avue-date__radio .el-radio-button:last-child .el-radio-button__inner{border-radius:0;border-right:0}.avue-date__date{width:300px}.avue-date__date .el-date-editor{border-top-left-radius:0;border-bottom-left-radius:0}.avue-empty{margin:0 8px;font-size:14px;line-height:22px}.avue-checkbox .el-checkbox+.el-checkbox,.avue-crud .avue-crud__left .el-button+.el-button,.avue-crud .avue-crud__right .el-button+.el-button,.avue-form .avue-crud__left .el-button+.el-button,.avue-form .avue-crud__right .el-button+.el-button,.avue-radio .el-radio+.el-radio{margin-left:0}.avue-checkbox .el-checkbox,.avue-radio .el-radio{margin-right:10px}.avue-empty__image{height:100px;margin-bottom:8px}.avue-empty__image img{height:100%;vertical-align:middle;border-style:none}.avue-empty__desc{color:rgba(0,0,0,.65)}.avue-select .sortable-ghost{opacity:.8;color:#fff!important;background:#409EFF!important}.avue-select .el-tag{cursor:pointer}.avue-select__desc{float:right;color:#8492a6;font-size:13px}.el-select-dropdown .avue-select__check{-webkit-box-sizing:border-box;box-sizing:border-box;text-align:right;width:100%;padding:3px 20px 3px 0}.avue-group{width:100%}.avue-group .el-collapse,.avue-group .el-collapse-item__wrap{border-color:#fff}.avue-group .el-collapse-item__header{height:inherit;border:none;border-bottom:1px solid #eee;margin-bottom:20px}.avue-group .el-collapse-item__content,.avue-group .van-collapse-item__content{padding-bottom:0}.avue-group .van-collapse-item__content{padding:0 2px}.avue-group .van-hairline--top-bottom::after,.avue-group .van-hairline-unset--top-bottom::after,.avue-group--arrow .el-collapse-item__arrow,.avue-group--arrow .van-icon-arrow{display:none}.avue-group .van-collapse-item__title{padding:0 10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.avue-group .van-collapse-item__title::after{left:0!important}.avue-group--none{margin:0!important;border:none!important}.avue-group--header .el-collapse-item__header,.avue-group--header .van-collapse-item__title{display:none}.avue-group--collapse .el-collapse-item__arrow,.avue-group--collapse .el-collapse-item__header{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.avue-group__header,.avue-tree__filter{display:-webkit-box;display:-ms-flexbox}.avue-group__item{margin-bottom:10px;background-color:#fff;border-bottom:1px solid #eee;border-radius:5px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-group__item:last-child{border-bottom:none}.avue-group__header{width:100%;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:50px;line-height:50px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-group__icon{margin-right:8px;font-size:20px;color:rgba(0,0,0,.85)}.avue-group__title{font-size:16px;font-weight:500;color:rgba(0,0,0,.85)}.avue-tree__menu{width:200px;position:fixed;z-index:1024;-ms-flex-wrap:wrap;flex-wrap:wrap;background-color:#fff}.avue-tree__item,.avue-video{position:relative;overflow:hidden}.avue-tree__dialog .el-dialog__body{padding:30px 20px 0}.avue-tree__item{height:34px;line-height:34px;outline:0;padding:0 10px;white-space:nowrap;text-overflow:ellipsis;width:100%;color:#666}.avue-tree__item:hover{cursor:pointer;color:#409eff}.avue-tree__filter{margin-bottom:5px;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.avue-tree__content{padding:5px 0;height:calc(100% - 32px)}.avue-title p{font-weight:700;font-size:18px;margin:5px 10px}.avue-search{padding:0 20px}.avue-search__item{padding:20px 0 10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;border-bottom:1px dashed #e8e8e8}.avue-search__item:last-child{border-bottom:none}.avue-search__tags{padding:0 12px;margin-right:24px;margin-bottom:12px;font-size:14px;color:rgba(0,0,0,.65);cursor:pointer;white-space:nowrap;display:inline-block}.avue-search__tags:hover{color:#1890ff}.avue-search__tags--active{color:#fff;background-color:#1890ff;border-radius:5px}.avue-search__tags--active:hover{opacity:.85;color:#fff}.avue-search__title{margin:0;padding:0 20px;width:120px;font-size:14px;text-align:right;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-search__content{width:calc(100% - 190px);display:inline-block}.avue-dynamic__item,.avue-notice__item{display:-webkit-box;display:-ms-flexbox}.avue-search__content .el-tag{margin-right:10px;margin-bottom:10px}.avue-video{width:500px}.avue-video__border span{position:absolute;width:30px;height:30px;border-width:4px;color:#0073eb;border-style:solid}.avue-video__border span:nth-child(1){left:15px;top:15px;border-right:0;border-bottom:0}.avue-video__border span:nth-child(2){right:15px;top:15px;border-left:0;border-bottom:0}.avue-video__border span:nth-child(3){bottom:15px;left:15px;border-right:0;border-top:0}.avue-video__border span:nth-child(4){bottom:15px;right:15px;border-left:0;border-top:0}.avue-video__img{width:100px;position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.avue-video__main{width:100%}.avue-dynamic__item{margin-bottom:10px;width:100%;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.avue-dynamic__header{padding-left:40px}.avue-dynamic__row{position:relative;border-top:1px dashed #eee;padding-top:13px}.avue-dynamic__row:first-child{border-top:0}.avue-dynamic__menu{position:absolute;right:0;z-index:1024}.avue-dynamic__input{margin-right:8px;width:100%}.avue-dynamic__button{margin-bottom:0!important}.avue-verify__item{padding:5px 10px;display:inline-block;margin:0 4px;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #e1e1e1;font-size:64px;text-align:center}.avue-text-ellipsis__more{padding:0 2px}.avue-login .el-form-item{margin-bottom:18px}.avue-login .el-input-group__append{padding:0;overflow:hidden}.avue-login__send{min-width:150px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-login__send:hover{color:#C0C4CC!important;border-color:#EBEEF5!important;background-color:#F5F7FA!important}.avue-login__submit{width:100%}.avue-keyboard--default .akeyboard-keyboard{height:100%;width:100%;background:#f0f0f0;border-radius:5px;padding:9px 5px 5px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-keyboard--default .akeyboard-keyboard-innerKeys{text-align:center}.avue-keyboard--default .akeyboard-keyboard-keys{height:40px;min-width:40px;padding:0 10px;border-radius:5px;background:#fff;display:inline-block;line-height:40px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;margin:4px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.avue-keyboard--default .akeyboard-keyboard-keys:hover,.avue-keyboard--default .keyboard-keyboard-keys-focus{background:#1e9fff;color:#fff}.avue-keyboard--default .akeyboard-keyboard-keys-Delete,.avue-keyboard--default .akeyboard-keyboard-keys-Tab{width:80px}.avue-keyboard--default .akeyboard-keyboard-keys-Caps{width:77px}.avue-keyboard--default .akeyboard-keyboard-keys-Enter{width:90px}.avue-keyboard--default .akeyboard-keyboard-keys-Shift{width:106px}.avue-keyboard--default .akeyboard-keyboard-keys-Space{width:350px}.avue-keyboard--default .akeyboard-keyboard-fixedBottomCenter{width:100%!important;height:auto!important;position:fixed;bottom:0;left:0;border-radius:0!important}.avue-keyboard--default .akeyboard-numberKeyboard{height:100%;width:100%;background:#f0f0f0;border-radius:5px;padding:10px 5px 5px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-keyboard--default .akeyboard-numberKeyboard-keys-Enter{height:40px;width:100px}.avue-keyboard--default .akeyboard-mobileKeyboard{height:100%;width:100%;background:#f0f0f0;border-radius:5px;padding:11px 5px 5px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-keyboard--default .akeyboard-mobileKeyboard-keys{height:25px;min-width:25px;padding:0 10px;border-radius:3px;background:#fff;display:inline-block;line-height:25px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;margin:3px 2px 2px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:10px}.avue-keyboard--default .akeyboard-mobileKeyboard-keys:hover{background:#1e9fff!important;color:#fff}.avue-keyboard--default .akeyboard-mobileKeyboard-keys-⇦,.avue-keyboard--default .akeyboard-mobileKeyboard-keys-⇧{width:25px;background-color:#999faf}.avue-keyboard--default .akeyboard-mobileKeyboard-keys-Space{height:28px;width:100px;line-height:28px;margin-left:55px}.avue-keyboard--default .akeyboard-mobileKeyboard-keys-Enter{height:28px;width:55px;line-height:28px;background:#1e9fff!important;color:#fff}.avue-keyboard--default .akeyboard-mobileKeyboard-keys-focus{background:#1e9fff!important;color:#fff}.avue-keyboard--green .akeyboard-keyboard{height:100%;width:100%;background:#030;border-radius:5px;padding:9px 5px 5px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-keyboard--green .akeyboard-keyboard-innerKeys{text-align:center}.avue-keyboard--green .akeyboard-keyboard-keys{height:40px;min-width:40px;padding:0 10px;border-radius:5px;background:#cc9;display:inline-block;line-height:40px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;margin:4px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.avue-keyboard--green .akeyboard-keyboard-keys:hover,.avue-keyboard--green .keyboard-keyboard-keys-focus{background:#693;color:#fff}.avue-keyboard--green .akeyboard-keyboard-keys-Delete,.avue-keyboard--green .akeyboard-keyboard-keys-Tab{width:80px}.avue-keyboard--green .akeyboard-keyboard-keys-Caps{width:77px}.avue-keyboard--green .akeyboard-keyboard-keys-Enter{width:90px}.avue-keyboard--green .akeyboard-keyboard-keys-Shift{width:106px}.avue-keyboard--green .akeyboard-keyboard-keys-Space{width:350px}.avue-keyboard--green .akeyboard-keyboard-fixedBottomCenter{width:100%!important;height:auto!important;position:fixed;bottom:0;left:0;border-radius:0!important}.avue-keyboard--green .akeyboard-numberKeyboard{height:100%;width:100%;background:#030;border-radius:5px;padding:10px 5px 5px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-keyboard--green .akeyboard-numberKeyboard-keys-Enter{height:40px;width:100px}.avue-keyboard--green .akeyboard-mobileKeyboard{height:100%;width:100%;background:#030;border-radius:5px;padding:11px 5px 5px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-keyboard--green .akeyboard-mobileKeyboard-keys{height:25px;min-width:25px;padding:0 10px;border-radius:3px;background:#cc9;display:inline-block;line-height:25px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;margin:3px 2px 2px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:10px}.avue-keyboard--green .akeyboard-mobileKeyboard-keys:hover{background:#693!important;color:#fff}.avue-keyboard--green .akeyboard-mobileKeyboard-keys-⇦,.avue-keyboard--green .akeyboard-mobileKeyboard-keys-⇧{width:25px;background-color:#999faf}.avue-keyboard--green .akeyboard-mobileKeyboard-keys-Space{height:28px;width:100px;line-height:28px;margin-left:55px}.avue-keyboard--green .akeyboard-mobileKeyboard-keys-Enter{height:28px;width:55px;line-height:28px;background:#693!important;color:#fff}.avue-keyboard--green .akeyboard-mobileKeyboard-keys-focus{background:#693!important;color:#fff}.avue-keyboard--dark .akeyboard-keyboard{height:100%;width:100%;background:#000;color:#fff;border-radius:5px;padding:9px 5px 5px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-keyboard--dark .akeyboard-keyboard-keys,.avue-keyboard--dark .akeyboard-mobileKeyboard-keys{background:#393d49;color:#fff;-moz-user-select:none;display:inline-block;text-align:center;cursor:pointer}.avue-keyboard--dark .akeyboard-keyboard-innerKeys{text-align:center}.avue-keyboard--dark .akeyboard-keyboard-keys{height:40px;min-width:40px;padding:0 10px;border-radius:5px;line-height:40px;-webkit-box-sizing:border-box;box-sizing:border-box;margin:4px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.avue-keyboard--dark .akeyboard-keyboard-keys:hover,.avue-keyboard--dark .keyboard-keyboard-keys-focus{background:#1e9fff}.avue-keyboard--dark .akeyboard-keyboard-keys-Delete,.avue-keyboard--dark .akeyboard-keyboard-keys-Tab{width:80px}.avue-keyboard--dark .akeyboard-keyboard-keys-Caps{width:77px}.avue-keyboard--dark .akeyboard-keyboard-keys-Enter{width:90px}.avue-keyboard--dark .akeyboard-keyboard-keys-Shift{width:106px}.avue-keyboard--dark .akeyboard-keyboard-keys-Space{width:350px}.avue-keyboard--dark .akeyboard-keyboard-fixedBottomCenter{width:100%!important;height:auto!important;position:fixed;bottom:0;left:0;border-radius:0!important}.avue-keyboard--dark .akeyboard-numberKeyboard{height:100%;width:100%;background:#000;border-radius:5px;padding:10px 5px 5px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-keyboard--dark .akeyboard-numberKeyboard-keys-Enter{height:40px;width:100px}.avue-keyboard--dark .akeyboard-mobileKeyboard{height:100%;width:100%;background:#000;border-radius:5px;padding:11px 5px 5px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-keyboard--dark .akeyboard-mobileKeyboard-keys{height:25px;min-width:25px;padding:0 10px;border-radius:3px;line-height:25px;-webkit-box-sizing:border-box;box-sizing:border-box;margin:3px 2px 2px;-webkit-user-select:none;-ms-user-select:none;user-select:none;font-size:10px}.avue-keyboard--dark .akeyboard-mobileKeyboard-keys:hover{background:#1e9fff!important;color:#fff}.avue-keyboard--dark .akeyboard-mobileKeyboard-keys-⇦,.avue-keyboard--dark .akeyboard-mobileKeyboard-keys-⇧{width:25px;background-color:#999faf}.avue-keyboard--dark .akeyboard-mobileKeyboard-keys-Space{height:28px;width:100px;line-height:28px;margin-left:55px}.avue-keyboard--dark .akeyboard-mobileKeyboard-keys-Enter{height:28px;width:55px;line-height:28px;background:#1e9fff!important;color:#fff}.avue-keyboard--dark .akeyboard-mobileKeyboard-keys-focus{background:#1e9fff!important;color:#fff}.avue-keyboard--classic .akeyboard-keyboard{height:100%;width:100%;background:#2f4056;border-radius:5px;padding:9px 5px 5px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-keyboard--classic .akeyboard-keyboard-innerKeys{text-align:center}.avue-keyboard--classic .akeyboard-keyboard-keys{height:40px;min-width:40px;padding:0 10px;border-radius:5px;background:#fff;display:inline-block;line-height:40px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;margin:4px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.avue-keyboard--classic .akeyboard-keyboard-keys:hover,.avue-keyboard--classic .keyboard-keyboard-keys-focus{background:#c2c2c2;color:#fff}.avue-keyboard--classic .akeyboard-keyboard-keys-Delete,.avue-keyboard--classic .akeyboard-keyboard-keys-Tab{width:80px}.avue-keyboard--classic .akeyboard-keyboard-keys-Caps{width:77px}.avue-keyboard--classic .akeyboard-keyboard-keys-Enter{width:90px}.avue-keyboard--classic .akeyboard-keyboard-keys-Shift{width:106px}.avue-keyboard--classic .akeyboard-keyboard-keys-Space{width:350px}.avue-keyboard--classic .akeyboard-keyboard-fixedBottomCenter{width:100%!important;height:auto!important;position:fixed;bottom:0;left:0;border-radius:0!important}.avue-keyboard--classic .akeyboard-numberKeyboard{height:100%;width:100%;background:#2f4056;border-radius:5px;padding:10px 5px 5px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-keyboard--classic .akeyboard-numberKeyboard-keys-Enter{height:40px;width:100px}.avue-keyboard--classic .akeyboard-mobileKeyboard{height:100%;width:100%;background:#2f4056;border-radius:5px;padding:11px 5px 5px;-webkit-box-sizing:border-box;box-sizing:border-box}.avue-keyboard--classic .akeyboard-mobileKeyboard-keys{height:25px;min-width:25px;padding:0 10px;border-radius:3px;background:#fff;display:inline-block;line-height:25px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;margin:3px 2px 2px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:10px}.avue-data-operatext .item,.avue-data-operatext .item-row,.avue-data-tabs .item,.data-box .item,.data-card .item-text{-webkit-box-sizing:border-box}.avue-keyboard--classic .akeyboard-mobileKeyboard-keys:hover{background:#c2c2c2!important;color:#fff}.avue-keyboard--classic .akeyboard-mobileKeyboard-keys-⇦,.avue-keyboard--classic .akeyboard-mobileKeyboard-keys-⇧{width:25px;background-color:#999faf}.avue-keyboard--classic .akeyboard-mobileKeyboard-keys-Space{height:28px;width:100px;line-height:28px;margin-left:55px}.avue-keyboard--classic .akeyboard-mobileKeyboard-keys-Enter{height:28px;width:55px;line-height:28px;background:#c2c2c2!important;color:#fff}.avue-keyboard--classic .akeyboard-mobileKeyboard-keys-focus{background:#c2c2c2!important;color:#fff}.avue-notice__item{padding:12px 24px;border-bottom:1px solid #e8eaec;cursor:pointer;-webkit-transition:background-color .2s ease-in-out;transition:background-color .2s ease-in-out;text-align:left;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.avue-notice__content{-webkit-box-flex:1;-ms-flex:1;flex:1}.avue-notice__img{width:38px;height:38px;border-radius:100%;margin-top:5px;margin-right:10px;overflow:hidden}.avue-notice__img img{width:100%;height:100%}.avue-notice__name{line-height:25px}.avue-notice__title{font-size:14px;font-weight:400;line-height:22px;color:#515a6e;margin-bottom:4px}.avue-notice__tag{float:right;margin-top:2px}.avue-notice__subtitle{font-size:12px;color:#808695}.avue-notice__more{cursor:pointer;color:#2d8cf0;text-align:center;padding:10px 0}.avue-array__item{margin-bottom:5px}.avue-array__input{display:-webkit-box;display:-ms-flexbox;display:flex}.avue-array__input .el-input{-webkit-box-flex:1;-ms-flex:auto;flex:auto}.avue-array__input .el-button{margin-left:5px}.avue-data-tabs .item{position:relative;margin:15px;padding:12px;height:160px;border-radius:4px;box-sizing:border-box;overflow:hidden;color:#fff}.avue-data-tabs .item a{color:#fff}.avue-data-tabs .item-header{position:relative}.avue-data-tabs .item-header>p{color:#fff;margin:0;font-size:14px}.avue-data-tabs .item-header>span{position:absolute;right:0;top:0;padding:2px 8px;border-radius:4px;font-size:12px;background:rgba(255,255,255,.3)}.avue-data-tabs .item-body .h2{color:#fff;margin:0;font-size:32px;line-height:60px;font-weight:700}.avue-data-tabs .item-footer{padding-top:8px;line-height:20px}.avue-data-tabs .item-footer>span{font-size:10px}.avue-data-tabs .item-footer>p{color:#fff;margin:0;font-size:12px}.avue-data-tabs .item-tip{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:absolute;width:80px;height:80px;bottom:10px;right:10px;border:2px solid #fff;border-radius:100%;font-size:48px;-webkit-transform:rotate(-40deg);transform:rotate(-40deg);opacity:.1}.avue-data-cardText .item{padding:20px 25px;margin:10px 20px;background:#F8F8F8;border-radius:6px;-webkit-box-shadow:2px 2px 20px #ccc;box-shadow:2px 2px 20px #ccc}.avue-data-cardText .item-header{position:relative}.avue-data-cardText .item-header i{font-size:26px;color:#009688}.avue-data-cardText .item-header a{font-size:16px;margin-left:6px;position:absolute;bottom:4px}.avue-data-cardText .item-content{margin-top:8PX;font-size:14px;line-height:22px;color:#333}.avue-data-cardText .item-footer{position:relative}.avue-data-cardText .item-footer span:nth-child(1){color:#777;font-size:12px;text-overflow:ellipsis;word-break:break-all}.avue-data-cardText .item-footer span:nth-child(2){color:#CCC;font-size:12px;line-height:24px;position:absolute;right:0}.data-box .item{position:relative;margin:0 auto 10px;width:96%;height:100px;overflow:hidden;border-radius:5px;box-sizing:border-box}.data-box .item:hover .item-text{top:0}.data-box .item a{display:-webkit-box;display:-ms-flexbox;display:flex}.data-box .item-icon{width:100px;height:100px;color:#fff;text-align:center;line-height:100px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;display:-webkit-box;display:-ms-flexbox;display:flex}.data-box .item-icon i{font-size:48px!important}.data-box .item-info{border-radius:0 5px 5px 0;border:1px solid #eee;border-left:none;background-color:#fff;-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.data-box .item-info .title{font-size:30px;line-height:40px;text-align:center}.data-box .item-info .info{color:#999;font-size:14px;text-align:center}.data-progress .item{margin:10px}.data-progress .item-header{margin-bottom:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.data-progress .item-count{line-height:26px;font-size:26px;color:#666}.data-progress .item-title{color:#999;font-size:14px}.data-icons .item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:90%;margin:10px 15px}.data-icons .item-icon{margin-top:3px;margin-right:0!important;text-align:center}.data-icons .item-icon>i{font-size:46px!important}.data-icons .item-info{text-align:center;padding:10px 0}.data-icons .item-info>span{display:block;padding:5px 0;color:#999;font-size:12px}.data-icons .item-info .count{font-size:20px;line-height:25px}.data-icons .item--easy{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.data-icons .item--easy>.item-icon{margin:0}.data-icons .item--easy>.item-info{margin-top:-15px}.data-icons .item--easy>.item-info>span{font-size:14px}.data-card .item{position:relative;margin:0 auto 50px;width:230px;height:340px;overflow:hidden;border-radius:5px;border-color:#fff;border-width:1px;border-style:solid}.data-card .item:hover .item-text{top:0}.data-card .item-img{width:100%;border-radius:5px 5px 0 0}.data-card .item-text{position:absolute;top:150px;padding:20px 15px;width:100%;height:340px;overflow:auto;box-sizing:border-box;border-radius:0 0 5px 5px;opacity:.9;-webkit-transition:top .4s;transition:top .4s}.data-card .item-text>p{font-size:12px;line-height:25px;text-indent:2em}.avue-data-display .item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin:5px 0;text-align:center}.avue-data-display .count{display:block;margin:8px 0 15px;font-weight:700;font-size:32px;color:#15A0FF}.avue-data-display .title{line-height:32px;color:#999}.avue-data-display .splitLine{display:block;margin:0 auto;width:24px;height:1px;background:#9B9B9B}.avue-data-imgtext .item{position:relative;height:340px;width:240px;margin:10px auto 50px;border-radius:5px;-webkit-box-shadow:2px 2px 20px #ccc;box-shadow:2px 2px 20px #ccc}.avue-data-imgtext .item-header img{width:100%;height:170px;background:red;border-radius:5px 5px 0 0}.avue-data-imgtext .item-content{padding:10px 15px;color:#333!important}.avue-data-imgtext .item-content span{font-size:20px}.avue-data-imgtext .item-content:hover span{color:#1890ff}.avue-data-imgtext .item-content p{font-size:14px;height:60px;margin:6px 0;overflow:hidden}.avue-data-imgtext .item-footer{padding:10px 15px;position:relative}.avue-data-imgtext .item-footer img{height:20px;width:20px;border-radius:50%}.avue-data-imgtext .item-footer div{display:inline-block}.avue-data-imgtext .item-footer div li,.avue-data-imgtext .item-footer div ul{padding:0;margin:0 0 0 -8px;list-style:none;display:inline-block;border:2px solid #fff;border-radius:50%}.avue-data-imgtext .item-footer div:nth-child(1){font-size:14px;color:#ccc!important}.avue-data-imgtext .item-footer div:nth-child(2){position:absolute;right:15px}.avue-data-operatext .item{margin:5px 10px;box-sizing:border-box;position:relative;border-radius:3px;background:#fff;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.1);box-shadow:0 1px 1px rgba(0,0,0,.1)}.avue-data-operatext .item a{color:#333}.avue-data-operatext .item-header{padding:20px 20px 60px;border-top-right-radius:3px;border-top-left-radius:3px;color:#fff;background-position:center center}.avue-data-operatext .item-title{margin-top:0;margin-bottom:5px;font-size:25px;font-weight:300;text-shadow:0 1px 1px rgba(0,0,0,.2);display:block}.avue-data-operatext .item-subtitle{font-size:14px;font-weight:400}.avue-data-operatext .item-content{border-top:1px solid #f4f4f4;padding:10px 10px 20px;background-color:#fff;border-radius:0 0 3px 3px}.avue-data-operatext .item-img{margin:-60px auto 5px;width:90px;height:90px;border-radius:100%;overflow:hidden;border:4px solid #fff}.avue-data-operatext .item-img img{width:100%;height:100%}.avue-data-operatext .item-list{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.avue-data-operatext .item-row{box-sizing:border-box;width:33.33%;text-align:center}.avue-data-operatext .item-label{margin-bottom:5px;display:block;font-weight:600;font-size:16px}.avue-data-operatext .item-value{display:block;font-weight:300;text-transform:uppercase}.avue-data-rotate .item{margin:5px 10px;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;color:#fff;border-radius:3px}.avue-data-rotate .item-box{padding:10px 20px}.avue-data-rotate .item-count{margin-bottom:5px;font-size:38px;white-space:nowrap;font-weight:300;display:block}.avue-data-rotate .item-title{font-size:15px}.avue-data-rotate .item-icon{-webkit-transition:all .3s linear;transition:all .3s linear;position:absolute;top:20px;right:20px;font-size:65px;color:rgba(0,0,0,.15)}.avue-data-rotate .item-icon:hover{font-size:70px}.avue-data-rotate .item-more{position:relative;text-align:center;padding:3px 0;color:#fff;color:rgba(255,255,255,.8);display:block;z-index:10;font-size:14px;letter-spacing:2px;background:rgba(0,0,0,.1);text-decoration:none}.avue-data-pay .item{margin:0 auto;padding-bottom:16px;width:80%;position:relative;border-radius:4px;background-color:#fff;min-height:670px;-webkit-box-shadow:1px 2px 10px #eee;box-shadow:1px 2px 10px #eee}.avue-data-pay .top{width:100%;height:6px;position:absolute;top:0;left:0;border-radius:4px 4px 0 0}.avue-data-pay .header{margin-bottom:40px;text-align:center}.avue-data-pay .title{text-align:center;padding:20px 0 10px;font-size:20px;font-weight:200}.avue-data-pay .money span{margin-right:5px;font-size:14px}.avue-data-pay .money .b{margin-right:2px;font-size:20px;font-weight:700}.data-price .item .body::before,.el-select-dropdown .el-tree-node__label,.el-select-dropdown__item.selected{font-weight:400}.avue-data-pay .money s{margin-right:3px;font-size:12px}.avue-data-pay .money em{font-size:14px;font-style:normal}.avue-data-pay .img{width:50px}.avue-data-pay .line{width:60%;height:1px;background:rgba(150,150,150,.1);margin:20px auto}.avue-data-pay .btn{display:block;width:120px;height:32px;line-height:32px;margin:0 auto;text-align:center;border-radius:32px;color:#fff;cursor:pointer;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.avue-data-pay .list-item{list-style:none;padding-left:20px;margin-bottom:12px;color:#666;font-size:14px}.avue-data-pay .list-item a{color:#666}.avue-data-pay .list-item-icon{color:#515a6e;margin-right:8px}.avue-data-pay .list-item--link{font-size:12px;color:#2d8cf0}.avue-data-pay .list-item--no,.avue-data-pay .list-item--no+span{color:#c5c8ce}.data-price .item{margin:0 20px;text-align:center;-webkit-box-shadow:2px 3px 15px #eee;box-shadow:2px 3px 15px #eee}.data-price .item:hover{border:1px solid #00a680}.data-price .item:hover .body{color:#fff;background-color:#00a680}.data-price .item:hover .body::after{border-top-color:#00a680}.data-price .item:hover .list{color:#00a680}.data-price .item:hover .price{color:#fff}.data-price .item .title{height:80px;line-height:80px;font-size:18px;color:#333}.data-price .item .price{padding:0 8px;margin:0 0 50px;line-height:120px;height:120px;font-size:42px;color:#6b6b6b}.data-price .item .append{font-size:16px}.data-price .item .body{position:relative;padding:0;margin:0 0 50px;background-color:#f4f4f4;line-height:120px;height:120px;font-size:42px;color:#6b6b6b}.data-price .item .body::before{content:"¥";font-size:16px}.data-price .item .body::after{content:'';position:absolute;display:block;width:0;height:0;bottom:-15px;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);border-color:#f4f4f4 transparent transparent;border-style:solid;border-width:20px 30px 0}.data-price .item .list{padding-bottom:30px;color:#666;font-size:14px}.avue-data-panel .item{padding:0 30px;margin:0 20px;cursor:pointer;height:108px;font-size:12px;position:relative;overflow:hidden;color:#666;background:#fff;-webkit-box-shadow:4px 4px 40px rgba(0,0,0,.05);box-shadow:4px 4px 40px rgba(0,0,0,.05);border-color:rgba(0,0,0,.05);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.avue--detail .avue-checkbox__all,.avue--detail .el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap>.el-form-item__label:before,.avue--detail .el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before,.avue--detail .el-input-number__decrease,.avue--detail .el-input-number__increase,.avue--detail .el-input__prefix,.avue--detail .el-input__suffix,.avue-canvas{display:none}.avue-data-panel .item-icon{font-size:52px}.avue-data-panel .item-info{text-align:center}.avue-data-panel .item-title{line-height:18px;color:rgba(0,0,0,.45);font-size:16px;margin-bottom:12px}.avue-data-panel .item-count{font-size:20px}[class^=avue-data-] a,[class^=data-] a{text-decoration:none}body{font-family:Chinese Quote,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}*{outline:0}.avue-ghost{opacity:.5;background:#c8ebfb}.avue--disabled{color:#ccc}.avue--detail .hover-row td{background-color:#fff!important}.avue--detail .avue-group__header{padding-left:10px}.avue--detail .el-collapse-item__header{margin-bottom:0}.avue--detail .el-input.is-disabled .el-input__inner,.avue--detail .el-range-editor.is-disabled,.avue--detail .el-range-editor.is-disabled input,.avue--detail .el-textarea.is-disabled .el-textarea__inner{color:#606266;background-color:#fff;padding-left:0}.avue--detail .el-input-group__append,.avue--detail .el-input-group__prepend{background-color:transparent;border:none}.avue--detail .el-input__inner,.avue--detail .el-textarea__inner{border:none}.avue--detail .el-input__inner::-webkit-input-placeholder,.avue--detail .el-textarea__inner::-webkit-input-placeholder{color:transparent!important}.avue--detail .el-input__inner::-moz-placeholder,.avue--detail .el-textarea__inner::-moz-placeholder{color:transparent!important}.avue--detail .el-input__inner::-ms-input-placeholder,.avue--detail .el-textarea__inner::-ms-input-placeholder{color:transparent!important}.avue--detail .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:#409EFF;border-color:#409EFF}.avue--detail .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner::after{border-color:#fff}.avue--detail .el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:#409EFF;border-color:#409EFF}.avue--detail .el-radio__input.is-disabled.is-checked .el-radio__inner::after{background-color:#fff}.avue--detail .el-checkbox__input.is-disabled+span.el-checkbox__label,.avue--detail .el-radio__input.is-disabled+span.el-radio__label{color:#606266}.avue--detail .el-row{border-top:1px solid #ebeef5;border-left:1px solid #ebeef5}.avue--detail .el-col{padding:0!important;border-bottom:1px solid #ebeef5;border-right:1px solid #ebeef5}.avue--detail .el-form-item--medium.el-form-item,.avue--detail .el-form-item--mini.el-form-item,.avue--detail .el-form-item--small.el-form-item{margin:0;background:#fafafa}.avue--detail .el-form-item__content,.avue--detail .el-form-item__label{padding:2px 0}.avue--detail .el-form-item__label{padding-right:20px;color:#909399;-webkit-box-sizing:border-box;box-sizing:border-box}.avue--detail .el-tag{margin-left:0!important;margin-right:6px!important}.avue--detail .el-form-item__content{border-left:1px solid #ebeef5;padding-left:20px;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#fff}.avue--detail__column .el-form-item{background-color:#fff}.avue--detail__column .el-form-item__label{padding-right:12px}.avue--detail__column .el-form-item__content{padding-left:0;border-left:none}.avue-grid{position:absolute;top:0;left:0;width:100%;height:100%;background-size:20px 20px,20px 20px;background-image:linear-gradient(rgba(0,0,0,.1) 1px,transparent 0),linear-gradient(90deg,rgba(0,0,0,.1) 1px,transparent 0)}.avue-mask{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(55,55,55,.6);height:100%;z-index:1000}.avue--card{-webkit-box-shadow:2px 1px 8px rgba(0,0,0,.15);box-shadow:2px 1px 8px rgba(0,0,0,.15);border-radius:5px}.avue-dialog{overflow:visible}.avue-dialog .el-dialog{min-height:180px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;position:absolute;top:0;left:50%;-webkit-transform:translate(-50%,0);transform:translate(-50%,0);border-radius:2px;max-height:calc(100% - 200px);max-width:calc(100% - 100px)}.avue-dialog .el-dialog__header{padding:16px 24px;min-height:20px;border-bottom:1px solid #f0f0f0}.avue-dialog .el-dialog__title,.avue-dialog .el-drawer__header{color:rgba(0,0,0,.85);font-weight:500;word-wrap:break-word}.avue-dialog .el-dialog__body{padding:30px 20px 20px;margin-bottom:50px}.avue-dialog .el-dialog .el-dialog__body{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow:hidden;overflow-y:auto}.avue-dialog .el-drawer{position:absolute;right:0;top:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.avue-dialog .el-drawer__header{margin:0;min-height:20px;padding:16px 10px 16px 24px;border-bottom:1px solid #f0f0f0}.avue-dialog .el-drawer,.avue-dialog .el-drawer__body{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow:auto}.avue-dialog .el-drawer__body{padding:30px 10px 60px 30px}.avue-dialog__footer{display:block;padding:10px 16px;-webkit-box-sizing:border-box;box-sizing:border-box;border-top:1px solid #f0f0f0;width:100%;position:absolute;left:0;bottom:0;background-color:#fff;text-align:right}.avue-dialog__footer--left{text-align:left}.avue-dialog__footer--center{text-align:center}.avue-dialog--fullscreen .el-dialog{left:0;top:0;-webkit-transform:translate(0,0);transform:translate(0,0);width:100%!important;height:100%;max-width:100%;max-height:100%}.avue-crud .el-tooltip__popper,.avue-form .el-tooltip__popper,.el-tooltip__popper{max-width:60%}.avue-dialog--top .el-dialog{top:15%}.avue-dialog--none .el-dialog__body{margin-bottom:0}.avue-queue--block{display:inline-block}.avue-opacity{opacity:0}.avue-opacity--active{opacity:1}.fade-enter-active,.fade-leave-active{-webkit-transition:opacity .3s;transition:opacity .3s}.fade-enter,.fade-leave-to{opacity:0}.avue-crud .avue-input-number,.avue-crud .el-cascader,.avue-crud .el-date-editor.el-input,.avue-crud .el-date-editor.el-input__inner,.avue-crud .el-select,.avue-form .avue-input-number,.avue-form .el-cascader,.avue-form .el-date-editor.el-input,.avue-form .el-date-editor.el-input__inner,.avue-form .el-select{width:100%!important}.avue-crud .el-input-number .el-input__inner,.avue-form .el-input-number .el-input__inner{text-align:left}.avue-crud .avue-crud__left .el-button,.avue-crud .avue-crud__right .el-button,.avue-form .avue-crud__left .el-button,.avue-form .avue-crud__right .el-button{margin-right:5px;margin-bottom:0}.avue-crud .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content,.avue-form .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{color:#409EFF}.avue-crud .el-tree-node__label,.avue-form .el-tree-node__label{margin-left:8px}.avue-crud .el-input__inner,.avue-form .el-input__inner{height:38px;line-height:38px}.avue-crud .el-range-editor--small,.avue-form .el-range-editor--small{height:32px;line-height:32px}.avue-crud .el-range-editor--mini,.avue-form .el-range-editor--mini{height:28px;line-height:28px}.avue-crud .el-input--small input,.avue-form .el-input--small input{height:32px;line-height:32px}.avue-crud .el-input--mini input,.avue-form .el-input--mini input{height:28px;line-height:28px}.avue-crud .el-table--medium td,.avue-form .el-table--medium td{padding:7px 0!important}.avue-crud .el-dropdown-menu__item,.avue-form .el-dropdown-menu__item{line-height:25px}.avue-crud .el-table-filter__list,.avue-form .el-table-filter__list{width:100%;height:300px;overflow-y:auto}.el-form-item--mini .el-color-picker--mini,.el-form-item--mini .el-color-picker--mini .el-color-picker__trigger{width:23px;height:23px}.el-dropdown-menu .el-button--text{width:100%!important}.el-pagination__editor.el-input .el-input__inner{line-height:28px}.el-drawer__body{height:100%}.el-checkbox:last-of-type{margin-right:8px}.el-table colgroup.gutter,.el-table th.gutter{display:table-cell!important}.el-input-number .el-input__suffix{display:none}.el-input-number__decrease,.el-input-number__increase{background-color:transparent}.el-tree-node.is-current>.el-tree-node__content{color:#409eff;background-color:#F5F7FA}.el-select-dropdown .el-scrollbar .el-scrollbar__view .el-select-dropdown__item{height:auto;padding:0}.el-select-dropdown .el-scrollbar .el-scrollbar__view .el-select-dropdown__item>span{padding:0 20px}.el-select-dropdown ul li>>>.el-tree .el-tree-node__content{height:auto;padding:0 20px}.el-select-dropdown .el-tree>>>.is-current .el-tree-node__label{color:#409EFF;font-weight:700}.el-select-dropdown .el-tree>>>.is-current .el-tree-node__children .el-tree-node__label{color:#606266;font-weight:400}.el-form-item.is-error .avue-dynamic{border:1px solid #F56C6C;border-radius:3px}.el-dropdown-menu__item{padding-top:3px!important;padding-bottom:3px!important}.el-upload--picture-card .el-upload-dragger,.el-upload--picture-img .el-upload-dragger{width:inherit;height:inherit;background-color:inherit}.avue-theme--dark body{background:#000}.avue-theme--dark .el-pagination.is-background .btn-next,.avue-theme--dark .el-pagination.is-background .btn-prev,.avue-theme--dark .el-pagination.is-background .el-pager li{background-color:#151518;color:#525256;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #313135}.avue-theme--dark .el-pagination.is-background .el-pager li:not(.disabled).active{background-color:#151518;border-color:#409EFF}.avue-theme--dark .el-cascader-menu{border-right:solid 1px #313135}.avue-theme--dark .el-select-dropdown.is-multiple .el-select-dropdown__item.selected,.avue-theme--dark .el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover{background-color:#151518}.avue-theme--dark .el-cascader__dropdown,.avue-theme--dark .el-input__inner,.avue-theme--dark .el-range-input,.avue-theme--dark .el-select-dropdown{background-color:#151518;color:#999;border:1px solid #313135}.avue-theme--dark .el-cascader__dropdown:hover,.avue-theme--dark .el-input__inner:hover,.avue-theme--dark .el-range-input:hover,.avue-theme--dark .el-select-dropdown:hover{border-color:#409EFF}.avue-theme--dark .el-cascader__dropdown::-webkit-input-placeholder,.avue-theme--dark .el-input__inner::-webkit-input-placeholder,.avue-theme--dark .el-range-input::-webkit-input-placeholder,.avue-theme--dark .el-select-dropdown::-webkit-input-placeholder{color:#525256}.avue-theme--dark .el-cascader__dropdown::-moz-placeholder,.avue-theme--dark .el-input__inner::-moz-placeholder,.avue-theme--dark .el-range-input::-moz-placeholder,.avue-theme--dark .el-select-dropdown::-moz-placeholder{color:#525256}.avue-theme--dark .el-cascader__dropdown:-moz-placeholder,.avue-theme--dark .el-input__inner:-moz-placeholder,.avue-theme--dark .el-range-input:-moz-placeholder,.avue-theme--dark .el-select-dropdown:-moz-placeholder{color:#525256}.avue-theme--dark .el-cascader__dropdown:-ms-input-placeholder,.avue-theme--dark .el-input__inner:-ms-input-placeholder,.avue-theme--dark .el-range-input:-ms-input-placeholder,.avue-theme--dark .el-select-dropdown:-ms-input-placeholder{color:#525256}.avue-theme--dark .el-form-item__label{color:#9a9a9f}.avue-theme--dark .el-switch__core{background:#151518;border-color:#151518}.avue-theme--dark .avue-group__item{background-color:#000}.avue-theme--dark .el-table--border,.avue-theme--dark .el-table--group{border-color:#313135}.avue-theme--dark .el-table__body tr.current-row>td,.avue-theme--dark .el-table__body tr.hover-row>td{background-color:#151518}.avue-theme--dark .el-table--border td,.avue-theme--dark .el-table--border th,.avue-theme--dark .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed{border-color:#999}.avue-theme--dark .avue-crud .el-table th,.avue-theme--dark .el-table,.avue-theme--dark .el-table th,.avue-theme--dark .el-table tr,.avue-theme--dark .el-table__fixed-footer-wrapper tbody td,.avue-theme--dark .el-table__footer-wrapper tbody td,.avue-theme--dark .el-table__header-wrapper tbody td{background-color:#151518;color:#999;border-color:#999}@media screen and (max-width:992px){.el-dialog__footer{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.el-button+.el-button{margin-left:0}.avue-upload__avatar,.avue-upload__icon,.el-upload--picture-card,.el-upload-list--picture-card .el-upload-list__item{width:100px;height:100px;line-height:100px}.avue-crud .el-form-item,.avue-crud__title .avue-date__radio,.avue-crud__title .avue-date__radio .el-radio-group .el-radio-button__inner,.avue-crud__title .avue-date__radio .el-radio-group label{width:100%}.avue-tip{display:none}.avue-crud__menu,.avue-crud__title{display:block!important}.avue-crud .el-form-item__label{-webkit-box-flex:1;-ms-flex:1;flex:1}.avue-crud .el-form-item__content{-webkit-box-flex:5;-ms-flex:5;flex:5}.avue-crud__searchMenu{text-align:center}.avue-crud__title p{margin-bottom:20px}.avue-crud__title .avue-date__group{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.avue-crud__title .avue-date__date{display:none}.avue-crud__title .avue-date__radio .el-radio-group{display:-webkit-box;display:-ms-flexbox;display:flex}.avue-crud__title .avue-date__radio .el-radio-button:last-child .el-radio-button__inner{border-radius:0 4px 4px 0;border-right:1px solid #dcdfe6}}#nprogress{pointer-events:none}#nprogress .bar{background:#29d;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;-webkit-box-shadow:0 0 10px #29d,0 0 5px #29d;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;-webkit-transform:rotate(3deg) translate(0,-4px);transform:rotate(3deg) translate(0,-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;-webkit-box-sizing:border-box;box-sizing:border-box;border:2px solid transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(360deg)}}@keyframes nprogress-spinner{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}} \ No newline at end of file diff --git a/public/index.html b/public/index.html index a8171fd..8a11249 100644 --- a/public/index.html +++ b/public/index.html @@ -12,7 +12,7 @@ - + Saber企业级开发平台